UNPKG

next

Version:

The React Framework

1 lines • 61.3 kB
module.exports=(()=>{var e={480:e=>{"use strict";e.exports=JSON.parse('{"type":"object","additionalProperties":false,"properties":{"publicPath":{"anyOf":[{"type":"string"},{"instanceof":"Function"}]},"emit":{"type":"boolean"},"esModule":{"type":"boolean"},"layer":{"type":"string"},"modules":{"type":"object","additionalProperties":false,"properties":{"namedExport":{"description":"Enables/disables ES modules named export for locals (https://webpack.js.org/plugins/mini-css-extract-plugin/#namedexport).","type":"boolean"}}}}}')},736:e=>{"use strict";class LoadingLoaderError extends Error{constructor(e){super(e);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}e.exports=LoadingLoaderError},278:(e,t,r)=>{var n=r(747);var s=n.readFile.bind(n);var i=r(384);function utf8BufferToString(e){var t=e.toString("utf-8");if(t.charCodeAt(0)===65279){return t.substr(1)}else{return t}}function splitQuery(e){var t=e.indexOf("?");if(t<0)return[e,""];return[e.substr(0,t),e.substr(t)]}function dirname(e){if(e==="/")return"/";var t=e.lastIndexOf("/");var r=e.lastIndexOf("\\");var n=e.indexOf("/");var s=e.indexOf("\\");var i=t>r?t:r;var o=t>r?n:s;if(i<0)return e;if(i===o)return e.substr(0,i+1);return e.substr(0,i)}function createLoaderObject(e){var t={path:null,query:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(t,"request",{enumerable:true,get:function(){return t.path+t.query},set:function(e){if(typeof e==="string"){var r=splitQuery(e);t.path=r[0];t.query=r[1];t.options=undefined;t.ident=undefined}else{if(!e.loader)throw new Error("request should be a string or object with loader and object ("+JSON.stringify(e)+")");t.path=e.loader;t.options=e.options;t.ident=e.ident;if(t.options===null)t.query="";else if(t.options===undefined)t.query="";else if(typeof t.options==="string")t.query="?"+t.options;else if(t.ident)t.query="??"+t.ident;else if(typeof t.options==="object"&&t.options.ident)t.query="??"+t.options.ident;else t.query="?"+JSON.stringify(t.options)}}});t.request=e;if(Object.preventExtensions){Object.preventExtensions(t)}return t}function runSyncOrAsync(e,t,r,n){var s=true;var i=false;var o=false;var u=false;t.async=function async(){if(i){if(u)return;throw new Error("async(): The callback was already called.")}s=false;return c};var c=t.callback=function(){if(i){if(u)return;throw new Error("callback(): The callback was already called.")}i=true;s=false;try{n.apply(null,arguments)}catch(e){o=true;throw e}};try{var a=function LOADER_EXECUTION(){return e.apply(t,r)}();if(s){i=true;if(a===undefined)return n();if(a&&typeof a==="object"&&typeof a.then==="function"){return a.then(function(e){n(null,e)},n)}return n(null,a)}}catch(e){if(o)throw e;if(i){if(typeof e==="object"&&e.stack)console.error(e.stack);else console.error(e);return}i=true;u=true;n(e)}}function convertArgs(e,t){if(!t&&Buffer.isBuffer(e[0]))e[0]=utf8BufferToString(e[0]);else if(t&&typeof e[0]==="string")e[0]=new Buffer(e[0],"utf-8")}function iteratePitchingLoaders(e,t,r){if(t.loaderIndex>=t.loaders.length)return processResource(e,t,r);var n=t.loaders[t.loaderIndex];if(n.pitchExecuted){t.loaderIndex++;return iteratePitchingLoaders(e,t,r)}i(n,function(s){if(s){t.cacheable(false);return r(s)}var i=n.pitch;n.pitchExecuted=true;if(!i)return iteratePitchingLoaders(e,t,r);runSyncOrAsync(i,t,[t.remainingRequest,t.previousRequest,n.data={}],function(n){if(n)return r(n);var s=Array.prototype.slice.call(arguments,1);if(s.length>0){t.loaderIndex--;iterateNormalLoaders(e,t,s,r)}else{iteratePitchingLoaders(e,t,r)}})})}function processResource(e,t,r){t.loaderIndex=t.loaders.length-1;var n=t.resourcePath;if(n){t.addDependency(n);e.readResource(n,function(n,s){if(n)return r(n);e.resourceBuffer=s;iterateNormalLoaders(e,t,[s],r)})}else{iterateNormalLoaders(e,t,[null],r)}}function iterateNormalLoaders(e,t,r,n){if(t.loaderIndex<0)return n(null,r);var s=t.loaders[t.loaderIndex];if(s.normalExecuted){t.loaderIndex--;return iterateNormalLoaders(e,t,r,n)}var i=s.normal;s.normalExecuted=true;if(!i){return iterateNormalLoaders(e,t,r,n)}convertArgs(r,s.raw);runSyncOrAsync(i,t,r,function(r){if(r)return n(r);var s=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(e,t,s,n)})}t.getContext=function getContext(e){var t=splitQuery(e);return dirname(t[0])};t.runLoaders=function runLoaders(e,t){var r=e.resource||"";var n=e.loaders||[];var i=e.context||{};var o=e.readResource||s;var u=r&&splitQuery(r);var c=u?u[0]:undefined;var a=u?u[1]:undefined;var d=c?dirname(c):null;var l=true;var f=[];var h=[];n=n.map(createLoaderObject);i.context=d;i.loaderIndex=0;i.loaders=n;i.resourcePath=c;i.resourceQuery=a;i.async=null;i.callback=null;i.cacheable=function cacheable(e){if(e===false){l=false}};i.dependency=i.addDependency=function addDependency(e){f.push(e)};i.addContextDependency=function addContextDependency(e){h.push(e)};i.getDependencies=function getDependencies(){return f.slice()};i.getContextDependencies=function getContextDependencies(){return h.slice()};i.clearDependencies=function clearDependencies(){f.length=0;h.length=0;l=true};Object.defineProperty(i,"resource",{enumerable:true,get:function(){if(i.resourcePath===undefined)return undefined;return i.resourcePath+i.resourceQuery},set:function(e){var t=e&&splitQuery(e);i.resourcePath=t?t[0]:undefined;i.resourceQuery=t?t[1]:undefined}});Object.defineProperty(i,"request",{enumerable:true,get:function(){return i.loaders.map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"remainingRequest",{enumerable:true,get:function(){if(i.loaderIndex>=i.loaders.length-1&&!i.resource)return"";return i.loaders.slice(i.loaderIndex+1).map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"currentRequest",{enumerable:true,get:function(){return i.loaders.slice(i.loaderIndex).map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"previousRequest",{enumerable:true,get:function(){return i.loaders.slice(0,i.loaderIndex).map(function(e){return e.request}).join("!")}});Object.defineProperty(i,"query",{enumerable:true,get:function(){var e=i.loaders[i.loaderIndex];return e.options&&typeof e.options==="object"?e.options:e.query}});Object.defineProperty(i,"data",{enumerable:true,get:function(){return i.loaders[i.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(i)}var p={resourceBuffer:null,readResource:o};iteratePitchingLoaders(p,i,function(e,r){if(e){return t(e,{cacheable:l,fileDependencies:f,contextDependencies:h})}t(null,{result:r,resourceBuffer:p.resourceBuffer,cacheable:l,fileDependencies:f,contextDependencies:h})})}},384:(e,t,r)=>{var n=r(736);e.exports=function loadLoader(e,t){if(typeof System==="object"&&typeof System.import==="function"){System.import(e.path).catch(t).then(function(r){e.normal=typeof r==="function"?r:r.default;e.pitch=r.pitch;e.raw=r.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new n("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()})}else{try{var r=require(e.path)}catch(r){if(r instanceof Error&&r.code==="EMFILE"){var s=loadLoader.bind(null,e,t);if(typeof setImmediate==="function"){return setImmediate(s)}else{return process.nextTick(s)}}return t(r)}if(typeof r!=="function"&&typeof r!=="object"){return t(new n("Module '"+e.path+"' is not a loader (export function or es6 module)"))}e.normal=typeof r==="function"?r:r.default;e.pitch=r.pitch;e.raw=r.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new n("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()}}},506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.pitch=pitch;t.default=_default;var n=_interopRequireDefault(r(622));var s=_interopRequireDefault(r(443));var i=r(286);var o=r(958);var u=_interopRequireDefault(r(480));var c=_interopRequireWildcard(r(612));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function hotLoader(e,t){const r=t.locals?"":"module.hot.accept(undefined, cssReload);";return`${e}\n if(module.hot) {\n // ${Date.now()}\n var cssReload = require(${s.default.stringifyRequest(t.context,n.default.join(__dirname,"hmr/hotModuleReplacement.js"))})(module.id, ${JSON.stringify({...t.options,locals:!!t.locals})});\n module.hot.dispose(cssReload);\n ${r}\n }\n `}function pitch(e){const n=s.default.getOptions(this)||{};(0,i.validate)(u.default,n,{name:"Mini CSS Extract Plugin Loader",baseDataPath:"options"});const a=this.async();const d=this[c.pluginSymbol];if(!d){a(new Error("You forgot to add 'mini-css-extract-plugin' plugin (i.e. `{ plugins: [new MiniCssExtractPlugin()] }`), please read https://github.com/webpack-contrib/mini-css-extract-plugin#getting-started"));return}const l=this._compiler.webpack||r(619);const f=(e,r,s,i)=>{let u;const d=typeof n.esModule!=="undefined"?n.esModule:true;const f=d&&n.modules&&n.modules.namedExport;const h=e=>{if(!Array.isArray(e)&&e!=null){throw new Error(`Exported value was not extracted as an array: ${JSON.stringify(e)}`)}const t=new Map;const r=typeof n.emit!=="undefined"?n.emit:true;let o;for(const n of e){if(!n.identifier||!r){continue}const e=t.get(n.identifier)||0;const s=c.default.getCssDependency(l);this._module.addDependency(o=new s(n,n.context,e));t.set(n.identifier,e+1)}if(o&&s){o.assets=s;o.assetsInfo=i}};try{t=e.__esModule?e.default:e;if(f){Object.keys(e).forEach(t=>{if(t!=="default"){if(!u){u={}}u[t]=e[t]}})}else{u=t&&t.locals}let n;if(!Array.isArray(t)){n=[[null,t]]}else{n=t.map(([e,t,n,s])=>{let i=e;let u;if(r){const t=(0,o.findModuleById)(r,e);i=t.identifier();({context:u}=t)}else{u=this.rootContext}return{identifier:i,context:u,content:Buffer.from(t),media:n,sourceMap:s?Buffer.from(JSON.stringify(s)):undefined}})}h(n)}catch(e){return a(e)}const p=u?f?Object.keys(u).map(e=>`\nexport const ${e} = ${JSON.stringify(u[e])};`).join(""):`\n${d?"export default":"module.exports ="} ${JSON.stringify(u)};`:d?`\nexport {};`:"";let m=`// extracted by ${c.pluginName}`;m+=this.hot?hotLoader(p,{context:this.context,options:n,locals:u}):p;return a(null,m)};const h=typeof n.publicPath==="string"?n.publicPath==="auto"?"":n.publicPath===""||n.publicPath.endsWith("/")?n.publicPath:`${n.publicPath}/`:typeof n.publicPath==="function"?n.publicPath(this.resourcePath,this.rootContext):this._compilation.outputOptions.publicPath==="auto"?"":this._compilation.outputOptions.publicPath;if(d.experimentalUseImportModule){if(!this.importModule){a(new Error("You are using experimentalUseImportModule but 'this.importModule' is not available in loader context. You need to have at least webpack 5.33.2."));return}this.importModule(`${this.resourcePath}.webpack[javascript/auto]!=!${e}`,{layer:n.layer,publicPath:h},(e,t)=>{if(e){a(e);return}f(t)});return}const p=this.loaders.slice(this.loaderIndex+1);this.addDependency(this.resourcePath);const m="*";const g={filename:m,publicPath:h};const y=this._compilation.createChildCompiler(`${c.pluginName} ${e}`,g);const{NodeTemplatePlugin:_}=l.node;const w=l.node.NodeTargetPlugin?l.node.NodeTargetPlugin:r(743);new _(g).apply(y);(new w).apply(y);const{EntryOptionPlugin:M}=l;if(M){const{library:{EnableLibraryPlugin:t}}=l;new t("commonjs2").apply(y);M.applyEntryOption(y,this.context,{child:{library:{type:"commonjs2"},import:[`!!${e}`]}})}else{const{LibraryTemplatePlugin:t,SingleEntryPlugin:r}=l;new t(null,"commonjs2").apply(y);new r(this.context,`!!${e}`,c.pluginName).apply(y)}const{LimitChunkCountPlugin:b}=l.optimize;new b({maxChunks:1}).apply(y);const O=l.NormalModule?l.NormalModule:r(963);y.hooks.thisCompilation.tap(`${c.pluginName} loader`,t=>{const r=typeof O.getCompilationHooks!=="undefined"?O.getCompilationHooks(t).loader:t.hooks.normalModuleLoader;r.tap(`${c.pluginName} loader`,(t,r)=>{if(r.request===e){r.loaders=p.map(e=>{return{loader:e.path,options:e.options,ident:e.ident}})}})});let v;const x=y.webpack?false:typeof y.resolvers!=="undefined";if(x){y.hooks.afterCompile.tap(c.pluginName,e=>{v=e.assets[m]&&e.assets[m].source();e.chunks.forEach(t=>{t.files.forEach(t=>{delete e.assets[t]})})})}else{y.hooks.compilation.tap(c.pluginName,e=>{e.hooks.processAssets.tap(c.pluginName,()=>{v=e.assets[m]&&e.assets[m].source();e.chunks.forEach(t=>{t.files.forEach(t=>{e.deleteAsset(t)})})})})}y.runAsChild((t,r,n)=>{const s=Object.create(null);const i=new Map;for(const e of n.getAssets()){s[e.name]=e.source;i.set(e.name,e.info)}if(t){return a(t)}if(n.errors.length>0){return a(n.errors[0])}n.fileDependencies.forEach(e=>{this.addDependency(e)},this);n.contextDependencies.forEach(e=>{this.addContextDependency(e)},this);if(!v){return a(new Error("Didn't get a result from child compiler"))}let u;try{u=(0,o.evalModuleCode)(this,v,e)}catch(e){return a(e)}return f(u,n,s,i)})}function _default(){}},958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findModuleById=findModuleById;t.evalModuleCode=evalModuleCode;t.compareModulesByIdentifier=compareModulesByIdentifier;t.MODULE_TYPE=void 0;var n=_interopRequireDefault(r(282));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s="css/mini-extract";t.MODULE_TYPE=s;function findModuleById(e,t){const{modules:r,chunkGraph:n}=e;for(const e of r){const r=typeof n!=="undefined"?n.getModuleId(e):e.id;if(r===t){return e}}return null}function evalModuleCode(e,t,r){const s=new n.default(r,e);s.paths=n.default._nodeModulePaths(e.context);s.filename=r;s._compile(t,r);return s.exports}function compareIds(e,t){if(typeof e!==typeof t){return typeof e<typeof t?-1:1}if(e<t){return-1}if(e>t){return 1}return 0}function compareModulesByIdentifier(e,t){return compareIds(e.identifier(),t.identifier())}},104:(e,t,r)=>{"use strict";const n=r(391);const s=/at ([a-zA-Z0-9_.]*)/;function createMessage(e){return`Abstract method${e?" "+e:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const e=this.stack.split("\n")[3].match(s);this.message=e&&e[1]?createMessage(e[1]):createMessage()}class AbstractMethodError extends n{constructor(){super((new Message).message);this.name="AbstractMethodError"}}e.exports=AbstractMethodError},919:(e,t,r)=>{"use strict";const n=r(669);const s=r(834);const i=r(262).w;const o=r(973);const u=r(931);let c=1e3;const a="Chunk.entry was removed. Use hasRuntime()";const d="Chunk.initial was removed. Use canBeInitial/isOnlyInitial()";const l=(e,t)=>{if(e.id<t.id)return-1;if(t.id<e.id)return 1;return 0};const f=(e,t)=>{if(e.id<t.id)return-1;if(t.id<e.id)return 1;return 0};const h=(e,t)=>{if(e.identifier()>t.identifier())return 1;if(e.identifier()<t.identifier())return-1;return 0};const p=e=>{e.sort();let t="";for(const r of e){t+=r.identifier()+"#"}return t};const m=e=>Array.from(e);const g=e=>{let t=0;for(const r of e){t+=r.size()}return t};class Chunk{constructor(e){this.id=null;this.ids=null;this.debugId=c++;this.name=e;this.preventIntegration=false;this.entryModule=undefined;this._modules=new s(undefined,h);this.filenameTemplate=undefined;this._groups=new s(undefined,f);this.files=[];this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false;this.removedModules=undefined}get entry(){throw new Error(a)}set entry(e){throw new Error(a)}get initial(){throw new Error(d)}set initial(e){throw new Error(d)}hasRuntime(){for(const e of this._groups){if(e.isInitial()&&e instanceof u&&e.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const e of this._groups){if(e.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const e of this._groups){if(!e.isInitial())return false}return true}hasEntryModule(){return!!this.entryModule}addModule(e){if(!this._modules.has(e)){this._modules.add(e);return true}return false}removeModule(e){if(this._modules.delete(e)){e.removeChunk(this);return true}return false}setModules(e){this._modules=new s(e,h)}getNumberOfModules(){return this._modules.size}get modulesIterable(){return this._modules}addGroup(e){if(this._groups.has(e))return false;this._groups.add(e);return true}removeGroup(e){if(!this._groups.has(e))return false;this._groups.delete(e);return true}isInGroup(e){return this._groups.has(e)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){return this._groups}compareTo(e){if(this.name&&!e.name)return-1;if(!this.name&&e.name)return 1;if(this.name<e.name)return-1;if(this.name>e.name)return 1;if(this._modules.size>e._modules.size)return-1;if(this._modules.size<e._modules.size)return 1;this._modules.sort();e._modules.sort();const t=this._modules[Symbol.iterator]();const r=e._modules[Symbol.iterator]();while(true){const e=t.next();if(e.done)return 0;const n=r.next();const s=e.value.identifier();const i=n.value.identifier();if(s<i)return-1;if(s>i)return 1}}containsModule(e){return this._modules.has(e)}getModules(){return this._modules.getFromCache(m)}getModulesIdent(){return this._modules.getFromUnorderedCache(p)}remove(e){for(const e of Array.from(this._modules)){e.removeChunk(this)}for(const e of this._groups){e.removeChunk(this)}}moveModule(e,t){o.disconnectChunkAndModule(this,e);o.connectChunkAndModule(t,e);e.rewriteChunkInReasons(this,[t])}integrate(e,t){if(!this.canBeIntegrated(e)){return false}if(this.name&&e.name){if(this.hasEntryModule()===e.hasEntryModule()){if(this.name.length!==e.name.length){this.name=this.name.length<e.name.length?this.name:e.name}else{this.name=this.name<e.name?this.name:e.name}}else if(e.hasEntryModule()){this.name=e.name}}else if(e.name){this.name=e.name}for(const t of Array.from(e._modules)){e.moveModule(t,this)}e._modules.clear();if(e.entryModule){this.entryModule=e.entryModule}for(const t of e._groups){t.replaceChunk(e,this);this.addGroup(t)}e._groups.clear();return true}split(e){for(const t of this._groups){t.insertChunk(e,this);e.addGroup(t)}}isEmpty(){return this._modules.size===0}updateHash(e){e.update(`${this.id} `);e.update(this.ids?this.ids.join(","):"");e.update(`${this.name||""} `);for(const t of this._modules){e.update(t.hash)}}canBeIntegrated(e){if(this.preventIntegration||e.preventIntegration){return false}const t=(e,t)=>{const r=new Set(t.groupsIterable);for(const t of r){if(e.isInGroup(t))continue;if(t.isInitial())return false;for(const e of t.parentsIterable){r.add(e)}}return true};const r=this.hasRuntime();const n=e.hasRuntime();if(r!==n){if(r){return t(this,e)}else if(n){return t(e,this)}else{return false}}if(this.hasEntryModule()||e.hasEntryModule()){return false}return true}addMultiplierAndOverhead(e,t){const r=typeof t.chunkOverhead==="number"?t.chunkOverhead:1e4;const n=this.canBeInitial()?t.entryChunkMultiplicator||10:1;return e*n+r}modulesSize(){return this._modules.getFromUnorderedCache(g)}size(e={}){return this.addMultiplierAndOverhead(this.modulesSize(),e)}integratedSize(e,t){if(!this.canBeIntegrated(e)){return false}let r=this.modulesSize();for(const t of e._modules){if(!this._modules.has(t)){r+=t.size()}}return this.addMultiplierAndOverhead(r,t)}sortModules(e){this._modules.sortWith(e||l)}sortItems(){this.sortModules()}getAllAsyncChunks(){const e=new Set;const t=new Set;const r=i(Array.from(this.groupsIterable,e=>new Set(e.chunks)));for(const t of this.groupsIterable){for(const r of t.childrenIterable){e.add(r)}}for(const n of e){for(const e of n.chunks){if(!r.has(e)){t.add(e)}}for(const t of n.childrenIterable){e.add(t)}}return t}getChunkMaps(e){const t=Object.create(null);const r=Object.create(null);const n=Object.create(null);for(const s of this.getAllAsyncChunks()){t[s.id]=e?s.hash:s.renderedHash;for(const e of Object.keys(s.contentHash)){if(!r[e]){r[e]=Object.create(null)}r[e][s.id]=s.contentHash[e]}if(s.name){n[s.id]=s.name}}return{hash:t,contentHash:r,name:n}}getChildIdsByOrders(){const e=new Map;for(const t of this.groupsIterable){if(t.chunks[t.chunks.length-1]===this){for(const r of t.childrenIterable){if(typeof r.options==="object"){for(const t of Object.keys(r.options)){if(t.endsWith("Order")){const n=t.substr(0,t.length-"Order".length);let s=e.get(n);if(s===undefined)e.set(n,s=[]);s.push({order:r.options[t],group:r})}}}}}}const t=Object.create(null);for(const[r,n]of e){n.sort((e,t)=>{const r=t.order-e.order;if(r!==0)return r;if(e.group.compareTo){return e.group.compareTo(t.group)}return 0});t[r]=Array.from(n.reduce((e,t)=>{for(const r of t.group.chunks){e.add(r.id)}return e},new Set))}return t}getChildIdsByOrdersMap(e){const t=Object.create(null);const r=e=>{const r=e.getChildIdsByOrders();for(const n of Object.keys(r)){let s=t[n];if(s===undefined){t[n]=s=Object.create(null)}s[e.id]=r[n]}};if(e){const e=new Set;for(const t of this.groupsIterable){for(const r of t.chunks){e.add(r)}}for(const t of e){r(t)}}for(const e of this.getAllAsyncChunks()){r(e)}return t}getChunkModuleMaps(e){const t=Object.create(null);const r=Object.create(null);for(const n of this.getAllAsyncChunks()){let s;for(const i of n.modulesIterable){if(e(i)){if(s===undefined){s=[];t[n.id]=s}s.push(i.id);r[i.id]=i.renderedHash}}if(s!==undefined){s.sort()}}return{id:t,hash:r}}hasModuleInGraph(e,t){const r=new Set(this.groupsIterable);const n=new Set;for(const s of r){for(const r of s.chunks){if(!n.has(r)){n.add(r);if(!t||t(r)){for(const t of r.modulesIterable){if(e(t)){return true}}}}}for(const e of s.childrenIterable){r.add(e)}}return false}toString(){return`Chunk[${Array.from(this._modules).join()}]`}}Object.defineProperty(Chunk.prototype,"forEachModule",{configurable:false,value:n.deprecate(function(e){this._modules.forEach(e)},"Chunk.forEachModule: Use for(const module of chunk.modulesIterable) instead")});Object.defineProperty(Chunk.prototype,"mapModules",{configurable:false,value:n.deprecate(function(e){return Array.from(this._modules,e)},"Chunk.mapModules: Use Array.from(chunk.modulesIterable, fn) instead")});Object.defineProperty(Chunk.prototype,"chunks",{configurable:false,get(){throw new Error("Chunk.chunks: Use ChunkGroup.getChildren() instead")},set(){throw new Error("Chunk.chunks: Use ChunkGroup.add/removeChild() instead")}});Object.defineProperty(Chunk.prototype,"parents",{configurable:false,get(){throw new Error("Chunk.parents: Use ChunkGroup.getParents() instead")},set(){throw new Error("Chunk.parents: Use ChunkGroup.add/removeParent() instead")}});Object.defineProperty(Chunk.prototype,"blocks",{configurable:false,get(){throw new Error("Chunk.blocks: Use ChunkGroup.getBlocks() instead")},set(){throw new Error("Chunk.blocks: Use ChunkGroup.add/removeBlock() instead")}});Object.defineProperty(Chunk.prototype,"entrypoints",{configurable:false,get(){throw new Error("Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead")},set(){throw new Error("Chunk.entrypoints: Use Chunks.addGroup instead")}});e.exports=Chunk},911:(e,t,r)=>{"use strict";const n=r(834);const s=r(562);let i=5e3;const o=e=>Array.from(e);const u=(e,t)=>{if(e.id<t.id)return-1;if(t.id<e.id)return 1;return 0};const c=(e,t)=>{const r=e.module?e.module.identifier():"";const n=t.module?t.module.identifier():"";if(r<n)return-1;if(r>n)return 1;return s(e.loc,t.loc)};class ChunkGroup{constructor(e){if(typeof e==="string"){e={name:e}}else if(!e){e={name:undefined}}this.groupDebugId=i++;this.options=e;this._children=new n(undefined,u);this._parents=new n(undefined,u);this._blocks=new n;this.chunks=[];this.origins=[];this._moduleIndices=new Map;this._moduleIndices2=new Map}addOptions(e){for(const t of Object.keys(e)){if(this.options[t]===undefined){this.options[t]=e[t]}else if(this.options[t]!==e[t]){if(t.endsWith("Order")){this.options[t]=Math.max(this.options[t],e[t])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${t}`)}}}}get name(){return this.options.name}set name(e){this.options.name=e}get debugId(){return Array.from(this.chunks,e=>e.debugId).join("+")}get id(){return Array.from(this.chunks,e=>e.id).join("+")}unshiftChunk(e){const t=this.chunks.indexOf(e);if(t>0){this.chunks.splice(t,1);this.chunks.unshift(e)}else if(t<0){this.chunks.unshift(e);return true}return false}insertChunk(e,t){const r=this.chunks.indexOf(e);const n=this.chunks.indexOf(t);if(n<0){throw new Error("before chunk not found")}if(r>=0&&r>n){this.chunks.splice(r,1);this.chunks.splice(n,0,e)}else if(r<0){this.chunks.splice(n,0,e);return true}return false}pushChunk(e){const t=this.chunks.indexOf(e);if(t>=0){return false}this.chunks.push(e);return true}replaceChunk(e,t){const r=this.chunks.indexOf(e);if(r<0)return false;const n=this.chunks.indexOf(t);if(n<0){this.chunks[r]=t;return true}if(n<r){this.chunks.splice(r,1);return true}else if(n!==r){this.chunks[r]=t;this.chunks.splice(n,1);return true}}removeChunk(e){const t=this.chunks.indexOf(e);if(t>=0){this.chunks.splice(t,1);return true}return false}isInitial(){return false}addChild(e){if(this._children.has(e)){return false}this._children.add(e);return true}getChildren(){return this._children.getFromCache(o)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(e){if(!this._children.has(e)){return false}this._children.delete(e);e.removeParent(this);return true}addParent(e){if(!this._parents.has(e)){this._parents.add(e);return true}return false}getParents(){return this._parents.getFromCache(o)}setParents(e){this._parents.clear();for(const t of e){this._parents.add(t)}}getNumberOfParents(){return this._parents.size}hasParent(e){return this._parents.has(e)}get parentsIterable(){return this._parents}removeParent(e){if(this._parents.delete(e)){e.removeChunk(this);return true}return false}getBlocks(){return this._blocks.getFromCache(o)}getNumberOfBlocks(){return this._blocks.size}hasBlock(e){return this._blocks.has(e)}get blocksIterable(){return this._blocks}addBlock(e){if(!this._blocks.has(e)){this._blocks.add(e);return true}return false}addOrigin(e,t,r){this.origins.push({module:e,loc:t,request:r})}containsModule(e){for(const t of this.chunks){if(t.containsModule(e))return true}return false}getFiles(){const e=new Set;for(const t of this.chunks){for(const r of t.files){e.add(r)}}return Array.from(e)}remove(e){for(const e of this._parents){e._children.delete(this);for(const t of this._children){t.addParent(e);e.addChild(t)}}for(const e of this._children){e._parents.delete(this)}for(const e of this._blocks){e.chunkGroup=null}for(const e of this.chunks){e.removeGroup(this)}}sortItems(){this.origins.sort(c);this._parents.sort();this._children.sort()}compareTo(e){if(this.chunks.length>e.chunks.length)return-1;if(this.chunks.length<e.chunks.length)return 1;const t=this.chunks[Symbol.iterator]();const r=e.chunks[Symbol.iterator]();while(true){const e=t.next();const n=r.next();if(e.done)return 0;const s=e.value.compareTo(n.value);if(s!==0)return s}}getChildrenByOrders(){const e=new Map;for(const t of this._children){if(typeof t.options==="object"){for(const r of Object.keys(t.options)){if(r.endsWith("Order")){const n=r.substr(0,r.length-"Order".length);let s=e.get(n);if(s===undefined){e.set(n,s=[])}s.push({order:t.options[r],group:t})}}}}const t=Object.create(null);for(const[r,n]of e){n.sort((e,t)=>{const r=t.order-e.order;if(r!==0)return r;if(e.group.compareTo){return e.group.compareTo(t.group)}return 0});t[r]=n.map(e=>e.group)}return t}setModuleIndex(e,t){this._moduleIndices.set(e,t)}getModuleIndex(e){return this._moduleIndices.get(e)}setModuleIndex2(e,t){this._moduleIndices2.set(e,t)}getModuleIndex2(e){return this._moduleIndices2.get(e)}checkConstraints(){const e=this;for(const t of e._children){if(!t._parents.has(e)){throw new Error(`checkConstraints: child missing parent ${e.debugId} -> ${t.debugId}`)}}for(const t of e._parents){if(!t._children.has(e)){throw new Error(`checkConstraints: parent missing child ${t.debugId} <- ${e.debugId}`)}}}}e.exports=ChunkGroup},71:(e,t,r)=>{"use strict";const n=r(904);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.variables=[]}addBlock(e){this.blocks.push(e);e.parent=this}addVariable(e,t,r){for(let r of this.variables){if(r.name===e&&r.expression===t){return}}this.variables.push(new n(e,t,r))}addDependency(e){this.dependencies.push(e)}removeDependency(e){const t=this.dependencies.indexOf(e);if(t>=0){this.dependencies.splice(t,1)}}updateHash(e){for(const t of this.dependencies)t.updateHash(e);for(const t of this.blocks)t.updateHash(e);for(const t of this.variables)t.updateHash(e)}disconnect(){for(const e of this.dependencies)e.disconnect();for(const e of this.blocks)e.disconnect();for(const e of this.variables)e.disconnect()}unseal(){for(const e of this.blocks)e.unseal()}hasDependencies(e){if(e){for(const t of this.dependencies){if(e(t))return true}}else{if(this.dependencies.length>0){return true}}for(const t of this.blocks){if(t.hasDependencies(e))return true}for(const t of this.variables){if(t.hasDependencies(e))return true}return false}sortItems(){for(const e of this.blocks)e.sortItems()}}e.exports=DependenciesBlock},904:(e,t,r)=>{"use strict";const{RawSource:n,ReplaceSource:s}=r(665);class DependenciesBlockVariable{constructor(e,t,r){this.name=e;this.expression=t;this.dependencies=r||[]}updateHash(e){e.update(this.name);e.update(this.expression);for(const t of this.dependencies){t.updateHash(e)}}expressionSource(e,t){const r=new s(new n(this.expression));for(const n of this.dependencies){const s=e.get(n.constructor);if(!s){throw new Error(`No template for dependency: ${n.constructor.name}`)}s.apply(n,r,t,e)}return r}disconnect(){for(const e of this.dependencies){e.disconnect()}}hasDependencies(e){if(e){return this.dependencies.some(e)}return this.dependencies.length>0}}e.exports=DependenciesBlockVariable},931:(e,t,r)=>{"use strict";const n=r(911);class Entrypoint extends n{constructor(e){super(e);this.runtimeChunk=undefined}isInitial(){return true}setRuntimeChunk(e){this.runtimeChunk=e}getRuntimeChunk(){return this.runtimeChunk||this.chunks[0]}replaceChunk(e,t){if(this.runtimeChunk===e)this.runtimeChunk=t;return super.replaceChunk(e,t)}}e.exports=Entrypoint},140:(e,t)=>{"use strict";const r="LOADER_EXECUTION";const n="WEBPACK_OPTIONS";t.cutOffByFlag=((e,t)=>{e=e.split("\n");for(let r=0;r<e.length;r++){if(e[r].includes(t)){e.length=r}}return e.join("\n")});t.cutOffLoaderExecution=(e=>t.cutOffByFlag(e,r));t.cutOffWebpackOptions=(e=>t.cutOffByFlag(e,n));t.cutOffMultilineMessage=((e,t)=>{e=e.split("\n");t=t.split("\n");return e.reduce((e,r,n)=>r.includes(t[n])?e:e.concat(r),[]).join("\n")});t.cutOffMessage=((e,t)=>{const r=e.indexOf("\n");if(r===-1){return e===t?"":e}else{const n=e.substr(0,r);return n===t?e.substr(r+1):e}});t.cleanUp=((e,r)=>{e=t.cutOffLoaderExecution(e);e=t.cutOffMessage(e,r);return e});t.cleanUpWebpackOptions=((e,r)=>{e=t.cutOffWebpackOptions(e);e=t.cutOffMultilineMessage(e,r);return e})},204:(e,t,r)=>{"use strict";const{OriginalSource:n,RawSource:s}=r(665);const i=r(993);const o=r(386);const u=r(66);class ExternalModule extends i{constructor(e,t,r){super("javascript/dynamic",null);this.request=e;this.externalType=t;this.userRequest=r;this.external=true}libIdent(){return this.userRequest}chunkCondition(e){return e.hasEntryModule()}identifier(){return"external "+JSON.stringify(this.request)}readableIdentifier(){return"external "+JSON.stringify(this.request)}needRebuild(){return false}build(e,t,r,n,s){this.built=true;this.buildMeta={};this.buildInfo={};s()}getSourceForGlobalVariableExternal(e,t){if(!Array.isArray(e)){e=[e]}const r=e.map(e=>`[${JSON.stringify(e)}]`).join("");return`(function() { module.exports = ${t}${r}; }());`}getSourceForCommonJsExternal(e){if(!Array.isArray(e)){return`module.exports = require(${JSON.stringify(e)});`}const t=e[0];const r=e.slice(1).map(e=>`[${JSON.stringify(e)}]`).join("");return`module.exports = require(${JSON.stringify(t)})${r};`}checkExternalVariable(e,t){return`if(typeof ${e} === 'undefined') {${o.moduleCode(t)}}\n`}getSourceForAmdOrUmdExternal(e,t,r){const n=`__WEBPACK_EXTERNAL_MODULE_${u.toIdentifier(`${e}`)}__`;const s=t?this.checkExternalVariable(n,r):"";return`${s}module.exports = ${n};`}getSourceForDefaultCase(e,t){if(!Array.isArray(t)){t=[t]}const r=t[0];const n=e?this.checkExternalVariable(r,t.join(".")):"";const s=t.slice(1).map(e=>`[${JSON.stringify(e)}]`).join("");return`${n}module.exports = ${r}${s};`}getSourceString(e){const t=typeof this.request==="object"&&!Array.isArray(this.request)?this.request[this.externalType]:this.request;switch(this.externalType){case"this":case"window":case"self":return this.getSourceForGlobalVariableExternal(t,this.externalType);case"global":return this.getSourceForGlobalVariableExternal(t,e.outputOptions.globalObject);case"commonjs":case"commonjs2":return this.getSourceForCommonJsExternal(t);case"amd":case"amd-require":case"umd":case"umd2":case"system":return this.getSourceForAmdOrUmdExternal(this.id,this.optional,t);default:return this.getSourceForDefaultCase(this.optional,t)}}getSource(e){if(this.useSourceMap){return new n(e,this.identifier())}return new s(e)}source(e,t){return this.getSource(this.getSourceString(t))}size(){return 42}updateHash(e){e.update(this.externalType);e.update(JSON.stringify(this.request));e.update(JSON.stringify(Boolean(this.optional)));super.updateHash(e)}}e.exports=ExternalModule},876:(e,t,r)=>{"use strict";const n=r(204);class ExternalModuleFactoryPlugin{constructor(e,t){this.type=e;this.externals=t}apply(e){const t=this.type;e.hooks.factory.tap("ExternalModuleFactoryPlugin",e=>(r,s)=>{const i=r.context;const o=r.dependencies[0];const u=(s,i,u)=>{if(typeof i==="function"){u=i;i=undefined}if(s===false)return e(r,u);if(s===true)s=o.request;if(i===undefined&&/^[a-z0-9]+ /.test(s)){const e=s.indexOf(" ");i=s.substr(0,e);s=s.substr(e+1)}u(null,new n(s,i||t,o.request));return true};const c=(e,t)=>{if(typeof e==="string"){if(e===o.request){return u(o.request,t)}}else if(Array.isArray(e)){let r=0;const n=()=>{let s;const i=(e,r)=>{if(e)return t(e);if(!r){if(s){s=false;return}return n()}t(null,r)};do{s=true;if(r>=e.length)return t();c(e[r++],i)}while(!s);s=false};n();return}else if(e instanceof RegExp){if(e.test(o.request)){return u(o.request,t)}}else if(typeof e==="function"){e.call(null,i,o.request,(e,r,n)=>{if(e)return t(e);if(r!==undefined){u(r,n,t)}else{t()}});return}else if(typeof e==="object"&&Object.prototype.hasOwnProperty.call(e,o.request)){return u(e[o.request],t)}t()};c(this.externals,(e,t)=>{if(e)return s(e);if(!t)return u(false,s);return s(null,t)})})}}e.exports=ExternalModuleFactoryPlugin},705:(e,t,r)=>{"use strict";const n=r(876);class ExternalsPlugin{constructor(e,t){this.type=e;this.externals=t}apply(e){e.hooks.compile.tap("ExternalsPlugin",({normalModuleFactory:e})=>{new n(this.type,this.externals).apply(e)})}}e.exports=ExternalsPlugin},973:(e,t)=>{const r=(e,t)=>{if(e.pushChunk(t)){t.addGroup(e)}};const n=(e,t)=>{if(e.addChild(t)){t.addParent(e)}};const s=(e,t)=>{if(t.addChunk(e)){e.addModule(t)}};const i=(e,t)=>{e.removeModule(t);t.removeChunk(e)};const o=(e,t)=>{if(t.addBlock(e)){e.chunkGroup=t}};t.connectChunkGroupAndChunk=r;t.connectChunkGroupParentAndChild=n;t.connectChunkAndModule=s;t.disconnectChunkAndModule=i;t.connectDependenciesBlockAndChunkGroup=o},782:(e,t,r)=>{"use strict";const n=r(919);class HotUpdateChunk extends n{constructor(){super();this.removedModules=undefined}}e.exports=HotUpdateChunk},993:(e,t,r)=>{"use strict";const n=r(669);const s=r(71);const i=r(576);const o=r(834);const u=r(66);const c={};let a=1e3;const d=(e,t)=>{return e.id-t.id};const l=(e,t)=>{return e.debugId-t.debugId};class Module extends s{constructor(e,t=null){super();this.type=e;this.context=t;this.debugId=a++;this.hash=undefined;this.renderedHash=undefined;this.resolveOptions=c;this.factoryMeta={};this.warnings=[];this.errors=[];this.buildMeta=undefined;this.buildInfo=undefined;this.reasons=[];this._chunks=new o(undefined,d);this.id=null;this.index=null;this.index2=null;this.depth=null;this.issuer=null;this.profile=undefined;this.prefetched=false;this.built=false;this.used=null;this.usedExports=null;this.optimizationBailout=[];this._rewriteChunkInReasons=undefined;this.useSourceMap=false;this._source=null}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}disconnect(){this.hash=undefined;this.renderedHash=undefined;this.reasons.length=0;this._rewriteChunkInReasons=undefined;this._chunks.clear();this.id=null;this.index=null;this.index2=null;this.depth=null;this.issuer=null;this.profile=undefined;this.prefetched=false;this.built=false;this.used=null;this.usedExports=null;this.optimizationBailout.length=0;super.disconnect()}unseal(){this.id=null;this.index=null;this.index2=null;this.depth=null;this._chunks.clear();super.unseal()}setChunks(e){this._chunks=new o(e,d)}addChunk(e){if(this._chunks.has(e))return false;this._chunks.add(e);return true}removeChunk(e){if(this._chunks.delete(e)){e.removeModule(this);return true}return false}isInChunk(e){return this._chunks.has(e)}isEntryModule(){for(const e of this._chunks){if(e.entryModule===this)return true}return false}get optional(){return this.reasons.length>0&&this.reasons.every(e=>e.dependency&&e.dependency.optional)}getChunks(){return Array.from(this._chunks)}getNumberOfChunks(){return this._chunks.size}get chunksIterable(){return this._chunks}hasEqualsChunks(e){if(this._chunks.size!==e._chunks.size)return false;this._chunks.sortWith(l);e._chunks.sortWith(l);const t=this._chunks[Symbol.iterator]();const r=e._chunks[Symbol.iterator]();while(true){const e=t.next();const n=r.next();if(e.done)return true;if(e.value!==n.value)return false}}addReason(e,t,r){this.reasons.push(new i(e,t,r))}removeReason(e,t){for(let r=0;r<this.reasons.length;r++){let n=this.reasons[r];if(n.module===e&&n.dependency===t){this.reasons.splice(r,1);return true}}return false}hasReasonForChunk(e){if(this._rewriteChunkInReasons){for(const e of this._rewriteChunkInReasons){this._doRewriteChunkInReasons(e.oldChunk,e.newChunks)}this._rewriteChunkInReasons=undefined}for(let t=0;t<this.reasons.length;t++){if(this.reasons[t].hasChunk(e))return true}return false}hasReasons(){return this.reasons.length>0}rewriteChunkInReasons(e,t){if(this._rewriteChunkInReasons===undefined){this._rewriteChunkInReasons=[]}this._rewriteChunkInReasons.push({oldChunk:e,newChunks:t})}_doRewriteChunkInReasons(e,t){for(let r=0;r<this.reasons.length;r++){this.reasons[r].rewriteChunks(e,t)}}isUsed(e){if(!e)return this.used!==false;if(this.used===null||this.usedExports===null)return e;if(!this.used)return false;if(!this.usedExports)return false;if(this.usedExports===true)return e;let t=this.usedExports.indexOf(e);if(t<0)return false;if(this.isProvided(e)){if(this.buildMeta.exportsType==="namespace"){return u.numberToIdentifer(t)}if(this.buildMeta.exportsType==="named"&&!this.usedExports.includes("default")){return u.numberToIdentifer(t)}}return e}isProvided(e){if(!Array.isArray(this.buildMeta.providedExports))return null;return this.buildMeta.providedExports.includes(e)}toString(){return`Module[${this.id||this.debugId}]`}needRebuild(e,t){return true}updateHash(e){e.update(`${this.id}`);e.update(JSON.stringify(this.usedExports));super.updateHash(e)}sortItems(e){super.sortItems();if(e)this._chunks.sort();this.reasons.sort((e,t)=>{if(e.module===t.module)return 0;if(!e.module)return-1;if(!t.module)return 1;return d(e.module,t.module)});if(Array.isArray(this.usedExports)){this.usedExports.sort()}}unbuild(){this.dependencies.length=0;this.blocks.length=0;this.variables.length=0;this.buildMeta=undefined;this.buildInfo=undefined;this.disconnect()}get arguments(){throw new Error("Module.arguments was removed, there is no replacement.")}set arguments(e){throw new Error("Module.arguments was removed, there is no replacement.")}}Object.defineProperty(Module.prototype,"forEachChunk",{configurable:false,value:n.deprecate(function(e){this._chunks.forEach(e)},"Module.forEachChunk: Use for(const chunk of module.chunksIterable) instead")});Object.defineProperty(Module.prototype,"mapChunks",{configurable:false,value:n.deprecate(function(e){return Array.from(this._chunks,e)},"Module.mapChunks: Use Array.from(module.chunksIterable, fn) instead")});Object.defineProperty(Module.prototype,"entry",{configurable:false,get(){throw new Error("Module.entry was removed. Use Chunk.entryModule")},set(){throw new Error("Module.entry was removed. Use Chunk.entryModule")}});Object.defineProperty(Module.prototype,"meta",{configurable:false,get:n.deprecate(function(){return this.buildMeta},"Module.meta was renamed to Module.buildMeta"),set:n.deprecate(function(e){this.buildMeta=e},"Module.meta was renamed to Module.buildMeta")});Module.prototype.identifier=null;Module.prototype.readableIdentifier=null;Module.prototype.build=null;Module.prototype.source=null;Module.prototype.size=null;Module.prototype.nameForCondition=null;Module.prototype.chunkCondition=null;Module.prototype.updateCacheModule=null;e.exports=Module},72:(e,t,r)=>{"use strict";const n=r(391);const{cutOffLoaderExecution:s}=r(140);class ModuleBuildError extends n{constructor(e,t,{from:r=null}={}){let n="Module build failed";let i=undefined;if(r){n+=` (from ${r}):\n`}else{n+=": "}if(t!==null&&typeof t==="object"){if(typeof t.stack==="string"&&t.stack){const e=s(t.stack);if(!t.hideStack){n+=e}else{i=e;if(typeof t.message==="string"&&t.message){n+=t.message}else{n+=t}}}else if(typeof t.message==="string"&&t.message){n+=t.message}else{n+=t}}else{n=t}super(n);this.name="ModuleBuildError";this.details=i;this.module=e;this.error=t;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleBuildError},528:(e,t,r)=>{"use strict";const n=r(391);const{cleanUp:s}=r(140);class ModuleError extends n{constructor(e,t,{from:r=null}={}){let n="Module Error";if(r){n+=` (from ${r}):\n`}else{n+=": "}if(t&&typeof t==="object"&&t.message){n+=t.message}else if(t){n+=t}super(n);this.name="ModuleError";this.module=e;this.error=t;this.details=t&&typeof t==="object"&&t.stack?s(t.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleError},500:(e,t,r)=>{"use strict";const n=r(391);class ModuleParseError extends n{constructor(e,t,r,n){let s="Module parse failed: "+r.message;let i=undefined;if(n.length>=1){s+=`\nFile was processed with these loaders:${n.map(e=>`\n * ${e}`).join("")}`;s+="\nYou may need an additional loader to handle the result of these loaders."}else{s+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(r.loc&&typeof r.loc==="object"&&typeof r.loc.line==="number"){var o=r.loc.line;if(/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(t)){s+="\n(Source code omitted for this binary file)"}else{const e=t.split(/\r?\n/);const r=Math.max(0,o-3);const n=e.slice(r,o-1);const i=e[o-1];const u=e.slice(o,o+2);s+=n.map(e=>`\n| ${e}`).join("")+`\n> ${i}`+u.map(e=>`\n| ${e}`).join("")}i=r.loc}else{s+="\n"+r.stack}super(s);this.name="ModuleParseError";this.module=e;this.loc=i;this.error=r;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleParseError},576:e=>{"use strict";class ModuleReason{constructor(e,t,r){this.module=e;this.dependency=t;this.explanation=r;this._chunks=null}hasChunk(e){if(this._chunks){if(this._chunks.has(e))return true}else if(this.module&&this.module._chunks.has(e))return true;return false}rewriteChunks(e,t){if(!this._chunks){if(this.module){if(!this.module._chunks.has(e))return;this._chunks=new Set(this.module._chunks)}else{this._chunks=new Set}}if(this._chunks.has(e)){this._chunks.delete(e);for(let e=0;e<t.length;e++){this._chunks.add(t[e])}}}}e.exports=ModuleReason},372:(e,t,r)=>{"use strict";const n=r(391);const{cleanUp:s}=r(140);class ModuleWarning extends n{constructor(e,t,{from:r=null}={}){let n="Module Warning";if(r){n+=` (from ${r}):\n`}else{n+=": "}if(t&&typeof t==="object"&&t.message){n+=t.message}else if(t){n+=t}super(n);this.name="ModuleWarning";this.module=e;this.warning=t;this.details=t&&typeof t==="object"&&t.stack?s(t.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleWarning},963:(e,t,r)=>{"use strict";const n=r(282);const{CachedSource:s,LineToLineMappedSource:i,OriginalSource:o,RawSource:u,SourceMapSource:c}=r(665);const{getContext:a,runLoaders:d}=r(278);const l=r(391);const f=r(993);const h=r(500);const p=r(72);const m=r(528);const g=r(372);const y=r(660);const _=r(658).tR;const w=e=>{if(Buffer.isBuffer(e)){return e.toString("utf-8")}return e};const M=e=>{if(!Buffer.isBuffer(e)){return Buffer.from(e,"utf-8")}return e};class NonErrorEmittedError extends l{constructor(e){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+e;Error.captureStackTrace(this,this.constructor)}}class NormalModule extends f{constructor({type:e,request:t,userRequest:r,rawRequest:n,loaders:s,resource:i,matchResource:o,parser:u,generator:c,resolveOptions:d}){super(e,a(i));this.request=t;this.userRequest=r;this.rawRequest=n;this.binary=e.startsWith("webassembly");this.parser=u;this.generator=c;this.resource=i;this.matchResource=o;this.loaders=s;if(d!==undefined)this.resolveOptions=d;this.error=null;this._source=null;this._sourceSize=null;this._buildHash="";this.buildTimestamp=undefined;this._cachedSources=new Map;this.useSourceMap=false;this.lineToLine=false;this._lastSuccessfulBuildMeta={}}identifier(){return this.request}readableIdentifier(e){return e.shorten(this.userRequest)}libIdent(e){return _(e.context,this.userRequest)}nameForCondition(){const e=this.matchResource||this.resource;const t=e.indexOf("?");if(t>=0)return e.substr(0,t);return e}updateCacheModule(e){this.type=e.type;this.request=e.request;this.userRequest=e.userRequest;this.rawRequest=e.rawRequest;this.parser=e.parser;this.generator=e.generator;this.resource=e.resource;this.matchResource=e.matchResource;this.loaders=e.loaders;this.resolveOptions=e.resolveOptions}createSourceForAsset(e,t,r){if(!r){return new u(t)}if(typeof r==="string"){return new o(t,r)}return new c(t,e,r)}createLoaderContext(e,t,r,s){const i=r.runtimeTemplate.requestShortener;const o=()=>{const e=this.getCurrentLoader(u);if(!e)return"(not in loader scope)";return i.shorten(e.loader)};const u={version:2,emitWarning:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.warnings.push(new g(this,e,{from:o()}))},emitError:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.errors.push(new m(this,e,{from:o()}))},getLogger:e=>{const t=this.getCurrentLoader(u);return r.getLogger(()=>[t&&t.loader,e,this.identifier()].filter(Boolean).join("|"))},exec:(e,t)=>{const r=new n(t,this);r.paths=n._nodeModulePaths(this.context);r.filename=t;r._compile(e,t);return r.exports},resolve(t,r,n){e.resolve({},t,r,{},n)},getResolve(t){const r=t?e.withOptions(t):e;return(e,t,n)=>{if(n){r.resolve({},e,t,{},n)}else{return new Promise((n,s)=>{r.resolve({},e,t,{},(e,t)=>{if(e)s(e);else n(t)})})}}},emitFile:(e,t,r,n)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[e]=this.createSourceForAsset(e,t,r);this.buildInfo.assetsInfo.set(e,n)},rootContext:t.context,webpack:true,sourceMap:!!this.useSourceMap,mode:t.mode||"production",_module:this,_compilation:r,_compiler:r.compiler,fs:s};r.hooks.normalModuleLoader.call(u,this);if(t.loader){Object.assign(u,t.loader)}return u}getCurrentLoader(e,t=e.loaderIndex){if(this.loaders&&this.loaders.length&&t<this.loaders.length&&t>=0&&this.loaders[t]){return this.loaders[t]}return null}createSource(e,t,r){if(!this.identifier){return new u(e)}const n=this.identifier();if(this.lineToLine&&t){return new i(e,n,w(t))}if(this.useSourceMap&&r){return new c(e,n,r)}if(Buffer.isBuffer(e)){return new u(e)}return new o(e,n)}doBuild(e,t,r,n,s){const i=this.createLoaderContext(r,e,t,n);d({resource:this.resource,loaders:this.loaders,context:i,readResource:n.readFile.bind(n)},(e,r)=>{if(r){this.buildInfo.cacheable=r.cacheable;this.buildInfo.fileDependencies=new Set(r.fileDependencies);this.buildInfo.contextDependencies=new Set(r.contextDependencies)}if(e){if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}const r=this.getCurrentLoader(i);const n=new p(this,e,{from:r&&t.runtimeTemplate.requestShortener.shorten(r.loader)});return s(n)}const n=r.resourceBuffer;const o=r.result[0];const u=r.result.length>=1?r.result[1]:null;const c=r.result.length>=2?r.result[2]:null;if(!Buffer.isBuffer(o)&&typeof o!=="string"){const e=this.getCurrentLoader(i,0);const r=new Error(`Final loader (${e?t.runtimeTemplate.requestShortener.shorten(e.loader):"unknown"}) didn't return a Buffer or String`);const n=new p(this,r);return s(n)}this._source=this.createSource(this.binary?M(o):w(o),n,u);this._sourceSize=null;this._ast=typeof c==="object"&&c!==null&&c.webpackAST!==undefined?c.webpackAST:null;return s()})}markModuleAsErrored(e){this.buildMeta=Object.assign({},this._lastSuccessfulBuildMeta);this.error=e;this.errors.push(this.error);this._source=new u("throw new Error("+JSON.stringify(this.error.message)+");");this._sourceSize=null;this._ast=null}applyNoParseRule(e,t){i