@umijs/deps
Version:
[](https://packagephobia.now.sh/result?p=@umijs/deps)
1 lines • 120 kB
JavaScript
module.exports=(()=>{var e={1037:e=>{"use strict";class LoadingLoaderError extends Error{constructor(e){super(e);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}e.exports=LoadingLoaderError},6791:(e,t,n)=>{var s=n(5747);var r=s.readFile.bind(s);var i=n(5966);function utf8BufferToString(e){var t=e.toString("utf-8");if(t.charCodeAt(0)===65279){return t.substr(1)}else{return t}}function splitQuery(e){var t=e.indexOf("?");if(t<0)return[e,""];return[e.substr(0,t),e.substr(t)]}function dirname(e){if(e==="/")return"/";var t=e.lastIndexOf("/");var n=e.lastIndexOf("\\");var s=e.indexOf("/");var r=e.indexOf("\\");var i=t>n?t:n;var o=t>n?s:r;if(i<0)return e;if(i===o)return e.substr(0,i+1);return e.substr(0,i)}function createLoaderObject(e){var t={path:null,query:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(t,"request",{enumerable:true,get:function(){return t.path+t.query},set:function(e){if(typeof e==="string"){var n=splitQuery(e);t.path=n[0];t.query=n[1];t.options=undefined;t.ident=undefined}else{if(!e.loader)throw new Error("request should be a string or object with loader and object ("+JSON.stringify(e)+")");t.path=e.loader;t.options=e.options;t.ident=e.ident;if(t.options===null)t.query="";else if(t.options===undefined)t.query="";else if(typeof t.options==="string")t.query="?"+t.options;else if(t.ident)t.query="??"+t.ident;else if(typeof t.options==="object"&&t.options.ident)t.query="??"+t.options.ident;else t.query="?"+JSON.stringify(t.options)}}});t.request=e;if(Object.preventExtensions){Object.preventExtensions(t)}return t}function runSyncOrAsync(e,t,n,s){var r=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.")}r=false;return c};var c=t.callback=function(){if(i){if(u)return;throw new Error("callback(): The callback was already called.")}i=true;r=false;try{s.apply(null,arguments)}catch(e){o=true;throw e}};try{var a=function LOADER_EXECUTION(){return e.apply(t,n)}();if(r){i=true;if(a===undefined)return s();if(a&&typeof a==="object"&&typeof a.then==="function"){return a.then(function(e){s(null,e)},s)}return s(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;s(e)}}function convertArgs(e,t){if(!t&&Buffer.isBuffer(e[0]))e[0]=utf8BufferToString(e[0]);else if(t&&typeof e[0]==="string")e[0]=new Buffer(e[0],"utf-8")}function iteratePitchingLoaders(e,t,n){if(t.loaderIndex>=t.loaders.length)return processResource(e,t,n);var s=t.loaders[t.loaderIndex];if(s.pitchExecuted){t.loaderIndex++;return iteratePitchingLoaders(e,t,n)}i(s,function(r){if(r){t.cacheable(false);return n(r)}var i=s.pitch;s.pitchExecuted=true;if(!i)return iteratePitchingLoaders(e,t,n);runSyncOrAsync(i,t,[t.remainingRequest,t.previousRequest,s.data={}],function(s){if(s)return n(s);var r=Array.prototype.slice.call(arguments,1);if(r.length>0){t.loaderIndex--;iterateNormalLoaders(e,t,r,n)}else{iteratePitchingLoaders(e,t,n)}})})}function processResource(e,t,n){t.loaderIndex=t.loaders.length-1;var s=t.resourcePath;if(s){t.addDependency(s);e.readResource(s,function(s,r){if(s)return n(s);e.resourceBuffer=r;iterateNormalLoaders(e,t,[r],n)})}else{iterateNormalLoaders(e,t,[null],n)}}function iterateNormalLoaders(e,t,n,s){if(t.loaderIndex<0)return s(null,n);var r=t.loaders[t.loaderIndex];if(r.normalExecuted){t.loaderIndex--;return iterateNormalLoaders(e,t,n,s)}var i=r.normal;r.normalExecuted=true;if(!i){return iterateNormalLoaders(e,t,n,s)}convertArgs(n,r.raw);runSyncOrAsync(i,t,n,function(n){if(n)return s(n);var r=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(e,t,r,s)})}t.getContext=function getContext(e){var t=splitQuery(e);return dirname(t[0])};t.runLoaders=function runLoaders(e,t){var n=e.resource||"";var s=e.loaders||[];var i=e.context||{};var o=e.readResource||r;var u=n&&splitQuery(n);var c=u?u[0]:undefined;var a=u?u[1]:undefined;var h=c?dirname(c):null;var l=true;var f=[];var d=[];s=s.map(createLoaderObject);i.context=h;i.loaderIndex=0;i.loaders=s;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){d.push(e)};i.getDependencies=function getDependencies(){return f.slice()};i.getContextDependencies=function getContextDependencies(){return d.slice()};i.clearDependencies=function clearDependencies(){f.length=0;d.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,n){if(e){return t(e,{cacheable:l,fileDependencies:f,contextDependencies:d})}t(null,{result:n,resourceBuffer:p.resourceBuffer,cacheable:l,fileDependencies:f,contextDependencies:d})})}},5966:(e,t,n)=>{var s=n(1037);e.exports=function loadLoader(e,t){if(typeof System==="object"&&typeof System.import==="function"){System.import(e.path).catch(t).then(function(n){e.normal=typeof n==="function"?n:n.default;e.pitch=n.pitch;e.raw=n.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new s("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()})}else{try{var n=require(e.path)}catch(n){if(n instanceof Error&&n.code==="EMFILE"){var r=loadLoader.bind(null,e,t);if(typeof setImmediate==="function"){return setImmediate(r)}else{return process.nextTick(r)}}return t(n)}if(typeof n!=="function"&&typeof n!=="object"){return t(new s("Module '"+e.path+"' is not a loader (export function or es6 module)"))}e.normal=typeof n==="function"?n:n.default;e.pitch=n.pitch;e.raw=n.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new s("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()}}},3222:(e,t,n)=>{"use strict";const s=n(3702).y;const r=n(3702).P;class CodeNode{constructor(e){this.generatedCode=e}clone(){return new CodeNode(this.generatedCode)}getGeneratedCode(){return this.generatedCode}getMappings(e){const t=s(this.generatedCode);const n=Array(t+1).join(";");if(t>0){e.unfinishedGeneratedLine=r(this.generatedCode);if(e.unfinishedGeneratedLine>0){return n+"A"}else{return n}}else{const t=e.unfinishedGeneratedLine;e.unfinishedGeneratedLine+=r(this.generatedCode);if(t===0&&e.unfinishedGeneratedLine>0){return"A"}else{return""}}}addGeneratedCode(e){this.generatedCode+=e}mapGeneratedCode(e){const t=e(this.generatedCode);return new CodeNode(t)}getNormalizedNodes(){return[this]}merge(e){if(e instanceof CodeNode){this.generatedCode+=e.generatedCode;return this}return false}}e.exports=CodeNode},9288:e=>{"use strict";class MappingsContext{constructor(){this.sourcesIndices=new Map;this.sourcesContent=new Map;this.hasSourceContent=false;this.currentOriginalLine=1;this.currentSource=0;this.unfinishedGeneratedLine=false}ensureSource(e,t){let n=this.sourcesIndices.get(e);if(typeof n==="number"){return n}n=this.sourcesIndices.size;this.sourcesIndices.set(e,n);this.sourcesContent.set(e,t);if(typeof t==="string")this.hasSourceContent=true;return n}getArrays(){const e=[];const t=[];for(const n of this.sourcesContent){e.push(n[0]);t.push(n[1])}return{sources:e,sourcesContent:t}}}e.exports=MappingsContext},6420:(e,t,n)=>{"use strict";const s=n(6278);const r=n(3702).y;const i=n(3702).P;const o=";AAAA";class SingleLineNode{constructor(e,t,n,s){this.generatedCode=e;this.originalSource=n;this.source=t;this.line=s||1;this._numberOfLines=r(this.generatedCode);this._endsWithNewLine=e[e.length-1]==="\n"}clone(){return new SingleLineNode(this.generatedCode,this.source,this.originalSource,this.line)}getGeneratedCode(){return this.generatedCode}getMappings(e){if(!this.generatedCode)return"";const t=this._numberOfLines;const n=e.ensureSource(this.source,this.originalSource);let r="A";if(e.unfinishedGeneratedLine)r=","+s.encode(e.unfinishedGeneratedLine);r+=s.encode(n-e.currentSource);r+=s.encode(this.line-e.currentOriginalLine);r+="A";e.currentSource=n;e.currentOriginalLine=this.line;const u=e.unfinishedGeneratedLine=i(this.generatedCode);r+=Array(t).join(o);if(u===0){r+=";"}else{if(t!==0)r+=o}return r}getNormalizedNodes(){return[this]}mapGeneratedCode(e){const t=e(this.generatedCode);return new SingleLineNode(t,this.source,this.originalSource,this.line)}merge(e){if(e instanceof SingleLineNode){return this.mergeSingleLineNode(e)}return false}mergeSingleLineNode(e){if(this.source===e.source&&this.originalSource===e.originalSource){if(this.line===e.line){this.generatedCode+=e.generatedCode;this._numberOfLines+=e._numberOfLines;this._endsWithNewLine=e._endsWithNewLine;return this}else if(this.line+1===e.line&&this._endsWithNewLine&&this._numberOfLines===1&&e._numberOfLines<=1){return new u(this.generatedCode+e.generatedCode,this.source,this.originalSource,this.line)}}return false}}e.exports=SingleLineNode;const u=n(5785)},1001:(e,t,n)=>{"use strict";const s=n(3222);const r=n(5785);const i=n(9288);const o=n(3702).y;class SourceListMap{constructor(e,t,n){if(Array.isArray(e)){this.children=e}else{this.children=[];if(e||t)this.add(e,t,n)}}add(e,t,n){if(typeof e==="string"){if(t){this.children.push(new r(e,t,n))}else if(this.children.length>0&&this.children[this.children.length-1]instanceof s){this.children[this.children.length-1].addGeneratedCode(e)}else{this.children.push(new s(e))}}else if(e.getMappings&&e.getGeneratedCode){this.children.push(e)}else if(e.children){e.children.forEach(function(e){this.children.push(e)},this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.add: Expected string, Node or SourceListMap")}}preprend(e,t,n){if(typeof e==="string"){if(t){this.children.unshift(new r(e,t,n))}else if(this.children.length>0&&this.children[this.children.length-1].preprendGeneratedCode){this.children[this.children.length-1].preprendGeneratedCode(e)}else{this.children.unshift(new s(e))}}else if(e.getMappings&&e.getGeneratedCode){this.children.unshift(e)}else if(e.children){e.children.slice().reverse().forEach(function(e){this.children.unshift(e)},this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.prerend: Expected string, Node or SourceListMap")}}mapGeneratedCode(e){const t=[];this.children.forEach(function(e){e.getNormalizedNodes().forEach(function(e){t.push(e)})});const n=[];t.forEach(function(t){t=t.mapGeneratedCode(e);if(n.length===0){n.push(t)}else{const e=n[n.length-1];const s=e.merge(t);if(s){n[n.length-1]=s}else{n.push(t)}}});return new SourceListMap(n)}toString(){return this.children.map(function(e){return e.getGeneratedCode()}).join("")}toStringWithSourceMap(e){const t=new i;const n=this.children.map(function(e){return e.getGeneratedCode()}).join("");const s=this.children.map(function(e){return e.getMappings(t)}).join("");const r=t.getArrays();return{source:n,map:{version:3,file:e&&e.file,sources:r.sources,sourcesContent:t.hasSourceContent?r.sourcesContent:undefined,mappings:s}}}}e.exports=SourceListMap},5785:(e,t,n)=>{"use strict";const s=n(6278);const r=n(3702).y;const i=n(3702).P;const o=";AACA";class SourceNode{constructor(e,t,n,s){this.generatedCode=e;this.originalSource=n;this.source=t;this.startingLine=s||1;this._numberOfLines=r(this.generatedCode);this._endsWithNewLine=e[e.length-1]==="\n"}clone(){return new SourceNode(this.generatedCode,this.source,this.originalSource,this.startingLine)}getGeneratedCode(){return this.generatedCode}addGeneratedCode(e){this.generatedCode+=e;this._numberOfLines+=r(e);this._endsWithNewLine=e[e.length-1]==="\n"}getMappings(e){if(!this.generatedCode)return"";const t=this._numberOfLines;const n=e.ensureSource(this.source,this.originalSource);let r="A";if(e.unfinishedGeneratedLine)r=","+s.encode(e.unfinishedGeneratedLine);r+=s.encode(n-e.currentSource);r+=s.encode(this.startingLine-e.currentOriginalLine);r+="A";e.currentSource=n;e.currentOriginalLine=this.startingLine+t-1;const u=e.unfinishedGeneratedLine=i(this.generatedCode);r+=Array(t).join(o);if(u===0){r+=";"}else{if(t!==0){r+=o}e.currentOriginalLine++}return r}mapGeneratedCode(e){throw new Error("Cannot map generated code on a SourceMap. Normalize to SingleLineNode first.")}getNormalizedNodes(){var e=[];var t=this.startingLine;var n=this.generatedCode;var s=0;var r=n.length;while(s<r){var i=n.indexOf("\n",s)+1;if(i===0)i=r;var o=n.substr(s,i-s);e.push(new u(o,this.source,this.originalSource,t));s=i;t++}return e}merge(e){if(e instanceof SourceNode){return this.mergeSourceNode(e)}else if(e instanceof u){return this.mergeSingleLineNode(e)}return false}mergeSourceNode(e){if(this.source===e.source&&this._endsWithNewLine&&this.startingLine+this._numberOfLines===e.startingLine){this.generatedCode+=e.generatedCode;this._numberOfLines+=e._numberOfLines;this._endsWithNewLine=e._endsWithNewLine;return this}return false}mergeSingleLineNode(e){if(this.source===e.source&&this._endsWithNewLine&&this.startingLine+this._numberOfLines===e.line&&e._numberOfLines<=1){this.addSingleLineNode(e);return this}return false}addSingleLineNode(e){this.generatedCode+=e.generatedCode;this._numberOfLines+=e._numberOfLines;this._endsWithNewLine=e._endsWithNewLine}}e.exports=SourceNode;const u=n(6420)},6278:(e,t)=>{var n={};var s={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){n[e]=t;s[t]=e});var r={};r.encode=function base64_encode(e){if(e in s){return s[e]}throw new TypeError("Must be between 0 and 63: "+e)};r.decode=function base64_decode(e){if(e in n){return n[e]}throw new TypeError("Not a valid base 64 digit: "+e)};var i=5;var o=1<<i;var u=o-1;var c=o;function toVLQSigned(e){return e<0?(-e<<1)+1:(e<<1)+0}function fromVLQSigned(e){var t=(e&1)===1;var n=e>>1;return t?-n:n}t.encode=function base64VLQ_encode(e){var t="";var n;var s=toVLQSigned(e);do{n=s&u;s>>>=i;if(s>0){n|=c}t+=r.encode(n)}while(s>0);return t};t.decode=function base64VLQ_decode(e,t){var n=0;var s=e.length;var o=0;var a=0;var h,l;do{if(n>=s){throw new Error("Expected more digits in base 64 VLQ value.")}l=r.decode(e.charAt(n++));h=!!(l&c);l&=u;o=o+(l<<a);a+=i}while(h);t.value=fromVLQSigned(o);t.rest=e.slice(n)}},1741:(e,t,n)=>{"use strict";const s=n(6278);const r=n(5785);const i=n(3222);const o=n(1001);e.exports=function fromStringWithSourceMap(e,t){const n=t.sources;const u=t.sourcesContent;const c=t.mappings.split(";");const a=e.split("\n");const h=[];let l=null;let f=1;let d=0;let p;function addCode(e){if(l&&l instanceof i){l.addGeneratedCode(e)}else if(l&&l instanceof r&&!e.trim()){l.addGeneratedCode(e);p++}else{l=new i(e);h.push(l)}}function addSource(e,t,n,s){if(l&&l instanceof r&&l.source===t&&p===s){l.addGeneratedCode(e);p++}else{l=new r(e,t,n,s);p=s+1;h.push(l)}}c.forEach(function(e,t){let n=a[t];if(typeof n==="undefined")return;if(t!==a.length-1)n+="\n";if(!e)return addCode(n);e={value:0,rest:e};let s=false;while(e.rest)s=processMapping(e,n,s)||s;if(!s)addCode(n)});if(c.length<a.length){let e=c.length;while(!a[e].trim()&&e<a.length-1){addCode(a[e]+"\n");e++}addCode(a.slice(e).join("\n"))}return new o(h);function processMapping(e,t,r){if(e.rest&&e.rest[0]!==","){s.decode(e.rest,e)}if(!e.rest)return false;if(e.rest[0]===","){e.rest=e.rest.substr(1);return false}s.decode(e.rest,e);const i=e.value+d;d=i;let o;if(e.rest&&e.rest[0]!==","){s.decode(e.rest,e);o=e.value+f;f=o}else{o=f}if(e.rest){const t=e.rest.indexOf(",");e.rest=t===-1?"":e.rest.substr(t)}if(!r){addSource(t,n?n[i]:null,u?u[i]:null,o);return true}}}},3702:(e,t)=>{"use strict";t.y=function getNumberOfLines(e){let t=-1;let n=-1;do{t++;n=e.indexOf("\n",n+1)}while(n>=0);return t};t.P=function getUnfinishedLine(e){const t=e.lastIndexOf("\n");if(t===-1)return e.length;else return e.length-t-1}},748:(e,t,n)=>{t.SourceListMap=n(1001);t.SourceNode=n(5785);t.SingleLineNode=n(6420);t.CodeNode=n(3222);t.MappingsContext=n(9288);t.fromStringWithSourceMap=n(1741)},1313:e=>{const t=(e,t,{generate:n,seed:s={}})=>{let r;if(n){const i=Array.from(e.entrypoints.entries());const o=i.reduce((e,[t,n])=>Object.assign(e,{[t]:n.getFiles()}),{});r=n(s,t,o)}else{r=t.reduce((e,t)=>Object.assign(e,{[t.name]:t.path}),s)}return r};const n=(e,{transformExtensions:t})=>{const n=e.replace(/\?.*/,"");const s=n.split(".");const r=s.pop();return t.test(r)?`${s.pop()}.${r}`:r};const s=(e,t,n)=>{const s=n[t.name]?n[t.name]:t.info.sourceFilename;if(s){return e.concat({path:t.name,name:s,isInitial:false,isChunk:false,isAsset:true,isModuleAsset:true})}const r=t.chunks&&t.chunks.length>0;if(r){return e}return e.concat({path:t.name,name:t.name,isInitial:false,isChunk:false,isAsset:true,isModuleAsset:false})};const r=(e,t,s)=>Array.of(...Array.from(t.files),...Array.from(t.auxiliaryFiles||[])).reduce((e,r)=>{let i=t.name?t.name:null;i=i?s.useEntryKeys&&!r.endsWith(".map")?i:`${i}.${n(r,s)}`:r;return e.concat({path:r,chunk:t,name:i,isInitial:t.isOnlyInitial(),isChunk:true,isAsset:false,isModuleAsset:false})},e);const i=e=>{const t=Object.assign({},e);t.name=e.name.replace(/\\/g,"/");t.path=e.path.replace(/\\/g,"/");return t};const o=(e,t)=>["filter","map","sort"].filter(e=>!!t[e]).reduce((e,n)=>e[n](t[n]),e).map(i);e.exports={generateManifest:t,reduceAssets:s,reduceChunk:r,transformFiles:o}},4775:(e,t,n)=>{const{mkdirSync:s,writeFileSync:r}=n(5747);const{basename:i,dirname:o,join:u}=n(5622);const{SyncWaterfallHook:c}=n(7153);const a=n(5952);const{RawSource:h}=a.sources||n(457);const{generateManifest:l,reduceAssets:f,reduceChunk:d,transformFiles:p}=n(1313);const _=new WeakMap;const m=e=>{let t=_.get(e);if(typeof t==="undefined"){t={afterEmit:new c(["manifest"]),beforeEmit:new c(["manifest"])};_.set(e,t)}return t};const g=({emitCountMap:e,manifestFileName:t},n,s)=>{const r=e.get(t)||0;e.set(t,r+1);if(s){s()}};const y=function emit({compiler:e,emitCountMap:t,manifestAssetId:n,manifestFileName:i,moduleAssets:c,options:a},_){const g=t.get(i)-1;const y=_.getStats().toJson({all:false,assets:true,cachedAssets:true,ids:true,publicPath:true});const S=a.publicPath!==null?a.publicPath:y.publicPath;const{basePath:v,removeKeyHash:M}=a;t.set(i,g);let w=Array.from(_.chunks).reduce((e,t)=>d(e,t,a),[]);w=y.assets.reduce((e,t)=>f(e,t,c),w);w=w.filter(({name:n,path:s})=>!s.includes("hot-update")&&typeof t.get(u(e.options.output.path,n))==="undefined");w=w.map(e=>{const t={name:v?v+e.name:e.name,path:S?S+e.path:e.path};t.name=M?t.name.replace(M,""):t.name;return Object.assign(e,t)});w=p(w,a);let b=l(_,w,a);const A=g===0;b=m(e).beforeEmit.call(b);if(A){const e=a.serialize(b);_.emitAsset(n,new h(e));if(a.writeToFileEmit){s(o(i),{recursive:true});r(i,e)}}m(e).afterEmit.call(b)};const S=({moduleAssets:e},t,n)=>{const{emitFile:s}=t;t.emitFile=((t,r,c)=>{if(n.userRequest&&!e[t]){Object.assign(e,{[t]:u(o(t),i(n.userRequest))})}return s.call(n,t,r,c)})};e.exports={beforeRunHook:g,emitHook:y,getCompilerHooks:m,normalModuleLoaderHook:S}},6674:(e,t,n)=>{const{relative:s,resolve:r}=n(5622);const i=n(5952);const o=n(7321);const{beforeRunHook:u,emitHook:c,getCompilerHooks:a,normalModuleLoaderHook:h}=n(4775);const l=new Map;const f={basePath:"",fileName:"manifest.json",filter:null,generate:void 0,map:null,publicPath:null,removeKeyHash:/([a-f0-9]{16,32}\.?)/gi,seed:void 0,serialize(e){return JSON.stringify(e,null,2)},sort:null,transformExtensions:/^(gz|map)$/i,useEntryKeys:false,writeToFileEmit:false};class WebpackManifestPlugin{constructor(e){this.options=Object.assign({},f,e)}apply(e){const t={};const n=r(e.options.output.path,this.options.fileName);const a=s(e.options.output.path,n);const f=u.bind(this,{emitCountMap:l,manifestFileName:n});const d=c.bind(this,{compiler:e,emitCountMap:l,manifestAssetId:a,manifestFileName:n,moduleAssets:t,options:this.options});const p=h.bind(this,{moduleAssets:t});const _={name:"WebpackManifestPlugin",stage:Infinity};e.hooks.compilation.tap(_,e=>{const t=!o.getCompilationHooks?e.hooks.normalModuleLoader:o.getCompilationHooks(e).loader;t.tap(_,p)});if(i.version.startsWith("4")){e.hooks.emit.tap(_,d)}else{e.hooks.thisCompilation.tap(_,e=>{e.hooks.processAssets.tap(_,()=>d(e))})}e.hooks.run.tap(_,f);e.hooks.watchRun.tap(_,f)}}e.exports={getCompilerHooks:a,WebpackManifestPlugin:WebpackManifestPlugin}},5799:(e,t,n)=>{"use strict";const s=n(6867);const r=n(58);class AsyncParallelBailHookCodeFactory extends r{content({onError:e,onResult:t,onDone:n}){let s="";s+=`var _results = new Array(${this.options.taps.length});\n`;s+="var _checkDone = function() {\n";s+="for(var i = 0; i < _results.length; i++) {\n";s+="var item = _results[i];\n";s+="if(item === undefined) return false;\n";s+="if(item.result !== undefined) {\n";s+=t("item.result");s+="return true;\n";s+="}\n";s+="if(item.error) {\n";s+=e("item.error");s+="return true;\n";s+="}\n";s+="}\n";s+="return false;\n";s+="}\n";s+=this.callTapsParallel({onError:(e,t,n,s)=>{let r="";r+=`if(${e} < _results.length && ((_results.length = ${e+1}), (_results[${e}] = { error: ${t} }), _checkDone())) {\n`;r+=s(true);r+="} else {\n";r+=n();r+="}\n";return r},onResult:(e,t,n,s)=>{let r="";r+=`if(${e} < _results.length && (${t} !== undefined && (_results.length = ${e+1}), (_results[${e}] = { result: ${t} }), _checkDone())) {\n`;r+=s(true);r+="} else {\n";r+=n();r+="}\n";return r},onTap:(e,t,n,s)=>{let r="";if(e>0){r+=`if(${e} >= _results.length) {\n`;r+=n();r+="} else {\n"}r+=t();if(e>0)r+="}\n";return r},onDone:n});return s}}const i=new AsyncParallelBailHookCodeFactory;const o=function(e){i.setup(this,e);return i.create(e)};function AsyncParallelBailHook(e=[],t=undefined){const n=new s(e,t);n.constructor=AsyncParallelBailHook;n.compile=o;n._call=undefined;n.call=undefined;return n}AsyncParallelBailHook.prototype=null;e.exports=AsyncParallelBailHook},8951:(e,t,n)=>{"use strict";const s=n(6867);const r=n(58);class AsyncParallelHookCodeFactory extends r{content({onError:e,onDone:t}){return this.callTapsParallel({onError:(t,n,s,r)=>e(n)+r(true),onDone:t})}}const i=new AsyncParallelHookCodeFactory;const o=function(e){i.setup(this,e);return i.create(e)};function AsyncParallelHook(e=[],t=undefined){const n=new s(e,t);n.constructor=AsyncParallelHook;n.compile=o;n._call=undefined;n.call=undefined;return n}AsyncParallelHook.prototype=null;e.exports=AsyncParallelHook},4446:(e,t,n)=>{"use strict";const s=n(6867);const r=n(58);class AsyncSeriesBailHookCodeFactory extends r{content({onError:e,onResult:t,resultReturns:n,onDone:s}){return this.callTapsSeries({onError:(t,n,s,r)=>e(n)+r(true),onResult:(e,n,s)=>`if(${n} !== undefined) {\n${t(n)}\n} else {\n${s()}}\n`,resultReturns:n,onDone:s})}}const i=new AsyncSeriesBailHookCodeFactory;const o=function(e){i.setup(this,e);return i.create(e)};function AsyncSeriesBailHook(e=[],t=undefined){const n=new s(e,t);n.constructor=AsyncSeriesBailHook;n.compile=o;n._call=undefined;n.call=undefined;return n}AsyncSeriesBailHook.prototype=null;e.exports=AsyncSeriesBailHook},9661:(e,t,n)=>{"use strict";const s=n(6867);const r=n(58);class AsyncSeriesHookCodeFactory extends r{content({onError:e,onDone:t}){return this.callTapsSeries({onError:(t,n,s,r)=>e(n)+r(true),onDone:t})}}const i=new AsyncSeriesHookCodeFactory;const o=function(e){i.setup(this,e);return i.create(e)};function AsyncSeriesHook(e=[],t=undefined){const n=new s(e,t);n.constructor=AsyncSeriesHook;n.compile=o;n._call=undefined;n.call=undefined;return n}AsyncSeriesHook.prototype=null;e.exports=AsyncSeriesHook},9006:(e,t,n)=>{"use strict";const s=n(6867);const r=n(58);class AsyncSeriesLoopHookCodeFactory extends r{content({onError:e,onDone:t}){return this.callTapsLooping({onError:(t,n,s,r)=>e(n)+r(true),onDone:t})}}const i=new AsyncSeriesLoopHookCodeFactory;const o=function(e){i.setup(this,e);return i.create(e)};function AsyncSeriesLoopHook(e=[],t=undefined){const n=new s(e,t);n.constructor=AsyncSeriesLoopHook;n.compile=o;n._call=undefined;n.call=undefined;return n}AsyncSeriesLoopHook.prototype=null;e.exports=AsyncSeriesLoopHook},5034:(e,t,n)=>{"use strict";const s=n(6867);const r=n(58);class AsyncSeriesWaterfallHookCodeFactory extends r{content({onError:e,onResult:t,onDone:n}){return this.callTapsSeries({onError:(t,n,s,r)=>e(n)+r(true),onResult:(e,t,n)=>{let s="";s+=`if(${t} !== undefined) {\n`;s+=`${this._args[0]} = ${t};\n`;s+=`}\n`;s+=n();return s},onDone:()=>t(this._args[0])})}}const i=new AsyncSeriesWaterfallHookCodeFactory;const o=function(e){i.setup(this,e);return i.create(e)};function AsyncSeriesWaterfallHook(e=[],t=undefined){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");const n=new s(e,t);n.constructor=AsyncSeriesWaterfallHook;n.compile=o;n._call=undefined;n.call=undefined;return n}AsyncSeriesWaterfallHook.prototype=null;e.exports=AsyncSeriesWaterfallHook},6867:(e,t,n)=>{"use strict";const s=n(1669);const r=s.deprecate(()=>{},"Hook.context is deprecated and will be removed");const i=function(...e){this.call=this._createCall("sync");return this.call(...e)};const o=function(...e){this.callAsync=this._createCall("async");return this.callAsync(...e)};const u=function(...e){this.promise=this._createCall("promise");return this.promise(...e)};class Hook{constructor(e=[],t=undefined){this._args=e;this.name=t;this.taps=[];this.interceptors=[];this._call=i;this.call=i;this._callAsync=o;this.callAsync=o;this._promise=u;this.promise=u;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(e){throw new Error("Abstract: should be overridden")}_createCall(e){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:e})}_tap(e,t,n){if(typeof t==="string"){t={name:t.trim()}}else if(typeof t!=="object"||t===null){throw new Error("Invalid tap options")}if(typeof t.name!=="string"||t.name===""){throw new Error("Missing name for tap")}if(typeof t.context!=="undefined"){r()}t=Object.assign({type:e,fn:n},t);t=this._runRegisterInterceptors(t);this._insert(t)}tap(e,t){this._tap("sync",e,t)}tapAsync(e,t){this._tap("async",e,t)}tapPromise(e,t){this._tap("promise",e,t)}_runRegisterInterceptors(e){for(const t of this.interceptors){if(t.register){const n=t.register(e);if(n!==undefined){e=n}}}return e}withOptions(e){const t=t=>Object.assign({},e,typeof t==="string"?{name:t}:t);return{name:this.name,tap:(e,n)=>this.tap(t(e),n),tapAsync:(e,n)=>this.tapAsync(t(e),n),tapPromise:(e,n)=>this.tapPromise(t(e),n),intercept:e=>this.intercept(e),isUsed:()=>this.isUsed(),withOptions:e=>this.withOptions(t(e))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(e){this._resetCompilation();this.interceptors.push(Object.assign({},e));if(e.register){for(let t=0;t<this.taps.length;t++){this.taps[t]=e.register(this.taps[t])}}}_resetCompilation(){this.call=this._call;this.callAsync=this._callAsync;this.promise=this._promise}_insert(e){this._resetCompilation();let t;if(typeof e.before==="string"){t=new Set([e.before])}else if(Array.isArray(e.before)){t=new Set(e.before)}let n=0;if(typeof e.stage==="number"){n=e.stage}let s=this.taps.length;while(s>0){s--;const e=this.taps[s];this.taps[s+1]=e;const r=e.stage||0;if(t){if(t.has(e.name)){t.delete(e.name);continue}if(t.size>0){continue}}if(r>n){continue}s++;break}this.taps[s]=e}}Object.setPrototypeOf(Hook.prototype,null);e.exports=Hook},58:e=>{"use strict";class HookCodeFactory{constructor(e){this.config=e;this.options=undefined;this._args=undefined}create(e){this.init(e);let t;switch(this.options.type){case"sync":t=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:e=>`throw ${e};\n`,onResult:e=>`return ${e};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":t=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:e=>`_callback(${e});\n`,onResult:e=>`_callback(null, ${e});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let e=false;const n=this.contentWithInterceptors({onError:t=>{e=true;return`_error(${t});\n`},onResult:e=>`_resolve(${e});\n`,onDone:()=>"_resolve();\n"});let s="";s+='"use strict";\n';s+=this.header();s+="return new Promise((function(_resolve, _reject) {\n";if(e){s+="var _sync = true;\n";s+="function _error(_err) {\n";s+="if(_sync)\n";s+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";s+="else\n";s+="_reject(_err);\n";s+="};\n"}s+=n;if(e){s+="_sync = false;\n"}s+="}));\n";t=new Function(this.args(),s);break}this.deinit();return t}setup(e,t){e._x=t.taps.map(e=>e.fn)}init(e){this.options=e;this._args=e.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(e){if(this.options.interceptors.length>0){const t=e.onError;const n=e.onResult;const s=e.onDone;let r="";for(let e=0;e<this.options.interceptors.length;e++){const t=this.options.interceptors[e];if(t.call){r+=`${this.getInterceptor(e)}.call(${this.args({before:t.context?"_context":undefined})});\n`}}r+=this.content(Object.assign(e,{onError:t&&(e=>{let n="";for(let t=0;t<this.options.interceptors.length;t++){const s=this.options.interceptors[t];if(s.error){n+=`${this.getInterceptor(t)}.error(${e});\n`}}n+=t(e);return n}),onResult:n&&(e=>{let t="";for(let n=0;n<this.options.interceptors.length;n++){const s=this.options.interceptors[n];if(s.result){t+=`${this.getInterceptor(n)}.result(${e});\n`}}t+=n(e);return t}),onDone:s&&(()=>{let e="";for(let t=0;t<this.options.interceptors.length;t++){const n=this.options.interceptors[t];if(n.done){e+=`${this.getInterceptor(t)}.done();\n`}}e+=s();return e})}));return r}else{return this.content(e)}}header(){let e="";if(this.needContext()){e+="var _context = {};\n"}else{e+="var _context;\n"}e+="var _x = this._x;\n";if(this.options.interceptors.length>0){e+="var _taps = this.taps;\n";e+="var _interceptors = this.interceptors;\n"}return e}needContext(){for(const e of this.options.taps)if(e.context)return true;return false}callTap(e,{onError:t,onResult:n,onDone:s,rethrowIfPossible:r}){let i="";let o=false;for(let t=0;t<this.options.interceptors.length;t++){const n=this.options.interceptors[t];if(n.tap){if(!o){i+=`var _tap${e} = ${this.getTap(e)};\n`;o=true}i+=`${this.getInterceptor(t)}.tap(${n.context?"_context, ":""}_tap${e});\n`}}i+=`var _fn${e} = ${this.getTapFn(e)};\n`;const u=this.options.taps[e];switch(u.type){case"sync":if(!r){i+=`var _hasError${e} = false;\n`;i+="try {\n"}if(n){i+=`var _result${e} = _fn${e}(${this.args({before:u.context?"_context":undefined})});\n`}else{i+=`_fn${e}(${this.args({before:u.context?"_context":undefined})});\n`}if(!r){i+="} catch(_err) {\n";i+=`_hasError${e} = true;\n`;i+=t("_err");i+="}\n";i+=`if(!_hasError${e}) {\n`}if(n){i+=n(`_result${e}`)}if(s){i+=s()}if(!r){i+="}\n"}break;case"async":let o="";if(n)o+=`(function(_err${e}, _result${e}) {\n`;else o+=`(function(_err${e}) {\n`;o+=`if(_err${e}) {\n`;o+=t(`_err${e}`);o+="} else {\n";if(n){o+=n(`_result${e}`)}if(s){o+=s()}o+="}\n";o+="})";i+=`_fn${e}(${this.args({before:u.context?"_context":undefined,after:o})});\n`;break;case"promise":i+=`var _hasResult${e} = false;\n`;i+=`var _promise${e} = _fn${e}(${this.args({before:u.context?"_context":undefined})});\n`;i+=`if (!_promise${e} || !_promise${e}.then)\n`;i+=` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${e} + ')');\n`;i+=`_promise${e}.then((function(_result${e}) {\n`;i+=`_hasResult${e} = true;\n`;if(n){i+=n(`_result${e}`)}if(s){i+=s()}i+=`}), function(_err${e}) {\n`;i+=`if(_hasResult${e}) throw _err${e};\n`;i+=t(`_err${e}`);i+="});\n";break}return i}callTapsSeries({onError:e,onResult:t,resultReturns:n,onDone:s,doneReturns:r,rethrowIfPossible:i}){if(this.options.taps.length===0)return s();const o=this.options.taps.findIndex(e=>e.type!=="sync");const u=n||r;let c="";let a=s;let h=0;for(let n=this.options.taps.length-1;n>=0;n--){const r=n;const l=a!==s&&(this.options.taps[r].type!=="sync"||h++>20);if(l){h=0;c+=`function _next${r}() {\n`;c+=a();c+=`}\n`;a=(()=>`${u?"return ":""}_next${r}();\n`)}const f=a;const d=e=>{if(e)return"";return s()};const p=this.callTap(r,{onError:t=>e(r,t,f,d),onResult:t&&(e=>{return t(r,e,f,d)}),onDone:!t&&f,rethrowIfPossible:i&&(o<0||r<o)});a=(()=>p)}c+=a();return c}callTapsLooping({onError:e,onDone:t,rethrowIfPossible:n}){if(this.options.taps.length===0)return t();const s=this.options.taps.every(e=>e.type==="sync");let r="";if(!s){r+="var _looper = (function() {\n";r+="var _loopAsync = false;\n"}r+="var _loop;\n";r+="do {\n";r+="_loop = false;\n";for(let e=0;e<this.options.interceptors.length;e++){const t=this.options.interceptors[e];if(t.loop){r+=`${this.getInterceptor(e)}.loop(${this.args({before:t.context?"_context":undefined})});\n`}}r+=this.callTapsSeries({onError:e,onResult:(e,t,n,r)=>{let i="";i+=`if(${t} !== undefined) {\n`;i+="_loop = true;\n";if(!s)i+="if(_loopAsync) _looper();\n";i+=r(true);i+=`} else {\n`;i+=n();i+=`}\n`;return i},onDone:t&&(()=>{let e="";e+="if(!_loop) {\n";e+=t();e+="}\n";return e}),rethrowIfPossible:n&&s});r+="} while(_loop);\n";if(!s){r+="_loopAsync = true;\n";r+="});\n";r+="_looper();\n"}return r}callTapsParallel({onError:e,onResult:t,onDone:n,rethrowIfPossible:s,onTap:r=((e,t)=>t())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:e,onResult:t,onDone:n,rethrowIfPossible:s})}let i="";i+="do {\n";i+=`var _counter = ${this.options.taps.length};\n`;if(n){i+="var _done = (function() {\n";i+=n();i+="});\n"}for(let o=0;o<this.options.taps.length;o++){const u=()=>{if(n)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const c=e=>{if(e||!n)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};i+="if(_counter <= 0) break;\n";i+=r(o,()=>this.callTap(o,{onError:t=>{let n="";n+="if(_counter > 0) {\n";n+=e(o,t,u,c);n+="}\n";return n},onResult:t&&(e=>{let n="";n+="if(_counter > 0) {\n";n+=t(o,e,u,c);n+="}\n";return n}),onDone:!t&&(()=>{return u()}),rethrowIfPossible:s}),u,c)}i+="} while(false);\n";return i}args({before:e,after:t}={}){let n=this._args;if(e)n=[e].concat(n);if(t)n=n.concat(t);if(n.length===0){return""}else{return n.join(", ")}}getTapFn(e){return`_x[${e}]`}getTap(e){return`_taps[${e}]`}getInterceptor(e){return`_interceptors[${e}]`}}e.exports=HookCodeFactory},9789:(e,t,n)=>{"use strict";const s=n(1669);const r=(e,t)=>t;class HookMap{constructor(e,t=undefined){this._map=new Map;this.name=t;this._factory=e;this._interceptors=[]}get(e){return this._map.get(e)}for(e){const t=this.get(e);if(t!==undefined){return t}let n=this._factory(e);const s=this._interceptors;for(let t=0;t<s.length;t++){n=s[t].factory(e,n)}this._map.set(e,n);return n}intercept(e){this._interceptors.push(Object.assign({factory:r},e))}}HookMap.prototype.tap=s.deprecate(function(e,t,n){return this.for(e).tap(t,n)},"HookMap#tap(key,…) is deprecated. Use HookMap#for(key).tap(…) instead.");HookMap.prototype.tapAsync=s.deprecate(function(e,t,n){return this.for(e).tapAsync(t,n)},"HookMap#tapAsync(key,…) is deprecated. Use HookMap#for(key).tapAsync(…) instead.");HookMap.prototype.tapPromise=s.deprecate(function(e,t,n){return this.for(e).tapPromise(t,n)},"HookMap#tapPromise(key,…) is deprecated. Use HookMap#for(key).tapPromise(…) instead.");e.exports=HookMap},9978:(e,t,n)=>{"use strict";const s=n(6867);class MultiHook{constructor(e,t=undefined){this.hooks=e;this.name=t}tap(e,t){for(const n of this.hooks){n.tap(e,t)}}tapAsync(e,t){for(const n of this.hooks){n.tapAsync(e,t)}}tapPromise(e,t){for(const n of this.hooks){n.tapPromise(e,t)}}isUsed(){for(const e of this.hooks){if(e.isUsed())return true}return false}intercept(e){for(const t of this.hooks){t.intercept(e)}}withOptions(e){return new MultiHook(this.hooks.map(t=>t.withOptions(e)),this.name)}}e.exports=MultiHook},6616:(e,t,n)=>{"use strict";const s=n(6867);const r=n(58);class SyncBailHookCodeFactory extends r{content({onError:e,onResult:t,resultReturns:n,onDone:s,rethrowIfPossible:r}){return this.callTapsSeries({onError:(t,n)=>e(n),onResult:(e,n,s)=>`if(${n} !== undefined) {\n${t(n)};\n} else {\n${s()}}\n`,resultReturns:n,onDone:s,rethrowIfPossible:r})}}const i=new SyncBailHookCodeFactory;const o=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const u=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const c=function(e){i.setup(this,e);return i.create(e)};function SyncBailHook(e=[],t=undefined){const n=new s(e,t);n.constructor=SyncBailHook;n.tapAsync=o;n.tapPromise=u;n.compile=c;return n}SyncBailHook.prototype=null;e.exports=SyncBailHook},5035:(e,t,n)=>{"use strict";const s=n(6867);const r=n(58);class SyncHookCodeFactory extends r{content({onError:e,onDone:t,rethrowIfPossible:n}){return this.callTapsSeries({onError:(t,n)=>e(n),onDone:t,rethrowIfPossible:n})}}const i=new SyncHookCodeFactory;const o=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const u=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const c=function(e){i.setup(this,e);return i.create(e)};function SyncHook(e=[],t=undefined){const n=new s(e,t);n.constructor=SyncHook;n.tapAsync=o;n.tapPromise=u;n.compile=c;return n}SyncHook.prototype=null;e.exports=SyncHook},428:(e,t,n)=>{"use strict";const s=n(6867);const r=n(58);class SyncLoopHookCodeFactory extends r{content({onError:e,onDone:t,rethrowIfPossible:n}){return this.callTapsLooping({onError:(t,n)=>e(n),onDone:t,rethrowIfPossible:n})}}const i=new SyncLoopHookCodeFactory;const o=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const u=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const c=function(e){i.setup(this,e);return i.create(e)};function SyncLoopHook(e=[],t=undefined){const n=new s(e,t);n.constructor=SyncLoopHook;n.tapAsync=o;n.tapPromise=u;n.compile=c;return n}SyncLoopHook.prototype=null;e.exports=SyncLoopHook},9605:(e,t,n)=>{"use strict";const s=n(6867);const r=n(58);class SyncWaterfallHookCodeFactory extends r{content({onError:e,onResult:t,resultReturns:n,rethrowIfPossible:s}){return this.callTapsSeries({onError:(t,n)=>e(n),onResult:(e,t,n)=>{let s="";s+=`if(${t} !== undefined) {\n`;s+=`${this._args[0]} = ${t};\n`;s+=`}\n`;s+=n();return s},onDone:()=>t(this._args[0]),doneReturns:n,rethrowIfPossible:s})}}const i=new SyncWaterfallHookCodeFactory;const o=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const u=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const c=function(e){i.setup(this,e);return i.create(e)};function SyncWaterfallHook(e=[],t=undefined){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");const n=new s(e,t);n.constructor=SyncWaterfallHook;n.tapAsync=o;n.tapPromise=u;n.compile=c;return n}SyncWaterfallHook.prototype=null;e.exports=SyncWaterfallHook},7153:(e,t,n)=>{"use strict";t.__esModule=true;t.SyncHook=n(5035);t.SyncBailHook=n(6616);t.SyncWaterfallHook=n(9605);t.SyncLoopHook=n(428);t.AsyncParallelHook=n(8951);t.AsyncParallelBailHook=n(5799);t.AsyncSeriesHook=n(9661);t.AsyncSeriesBailHook=n(4446);t.AsyncSeriesLoopHook=n(9006);t.AsyncSeriesWaterfallHook=n(5034);t.HookMap=n(9789);t.MultiHook=n(9978)},1716:(e,t,n)=>{"use strict";const s=n(1494);const r=e=>{if(typeof e!=="object"||!e)return e;const t=Object.assign({},e);if(e.mappings){t.mappings=Buffer.from(e.mappings,"utf-8")}if(e.sourcesContent){t.sourcesContent=e.sourcesContent.map(e=>e&&Buffer.from(e,"utf-8"))}return t};const i=e=>{if(typeof e!=="object"||!e)return e;const t=Object.assign({},e);if(e.mappings){t.mappings=e.mappings.toString("utf-8")}if(e.sourcesContent){t.sourcesContent=e.sourcesContent.map(e=>e&&e.toString("utf-8"))}return t};class CachedSource extends s{constructor(e,t){super();this._source=e;this._cachedSourceType=t?t.source:undefined;this._cachedSource=undefined;this._cachedBuffer=t?t.buffer:undefined;this._cachedSize=t?t.size:undefined;this._cachedMaps=t?t.maps:new Map;this._cachedHashUpdate=t?t.hash:undefined}getCachedData(){if(this._cachedSource){this.buffer()}const e=new Map;for(const t of this._cachedMaps){if(t[1].bufferedMap===undefined){t[1].bufferedMap=r(t[1].map)}e.set(t[0],{map:undefined,bufferedMap:t[1].bufferedMap})}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:e,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}else{return this._cachedSource=this.original().source()}}buffer(){if(typeof this._cachedBuffer!=="undefined")return this._cachedBuffer;if(typeof this._cachedSource!=="undefined"){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const e=this.source();if(Buffer.isBuffer(e)){return this._cachedBuffer=e}return this._cachedBuffer=Buffer.from(e,"utf-8")}size(){if(typeof this._cachedSize!=="undefined")return this._cachedSize;if(typeof this._cachedSource!=="undefined"){return this._cachedSize=Buffer.byteLength(this._cachedSource)}if(typeof this._cachedBuffer!=="undefined"){return this._cachedSize=this._cachedBuffer.length}return this._cachedSize=this.original().size()}sourceAndMap(e){const t=e?JSON.stringify(e):"{}";let n=this._cachedMaps.get(t);if(n&&n.map===undefined){n.map=i(n.bufferedMap)}if(typeof this._cachedSource!=="undefined"){if(n===undefined){const n=this.original().map(e);this._cachedMaps.set(t,{map:n,bufferedMap:undefined});return{source:this._cachedSource,map:n}}else{return{source:this._cachedSource,map:n.map}}}else if(n!==undefined){return{source:this._cachedSource=this.original().source(),map:n.map}}else{const n=this.original().sourceAndMap(e);this._cachedSource=n.source;this._cachedMaps.set(t,{map:n.map,bufferedMap:undefined});return n}}map(e){const t=e?JSON.stringify(e):"{}";let n=this._cachedMaps.get(t);if(n!==undefined){if(n.map===undefined){n.map=i(n.bufferedMap)}return n.map}const s=this.original().map(e);this._cachedMaps.set(t,{map:s,bufferedMap:undefined});return s}updateHash(e){if(this._cachedHashUpdate!==undefined){for(const t of this._cachedHashUpdate)e.update(t);return}const t=[];let n=undefined;const s={update:e=>{if(typeof e==="string"&&e.length<10240){if(n===undefined){n=e}else{n+=e;if(n>102400){t.push(Buffer.from(n));n=undefined}}}else{if(n!==undefined){t.push(Buffer.from(n));n=undefined}t.push(e)}}};this.original().updateHash(s);if(n!==undefined){t.push(Buffer.from(n))}for(const n of t)e.update(n);this._cachedHashUpdate=t}}e.exports=CachedSource},9826:(e,t,n)=>{"use strict";const s=n(1494);class CompatSource extends s{static from(e){return e instanceof s?e:new CompatSource(e)}constructor(e){super();this._sourceLike=e}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(e){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(e)}return super.map(e)}sourceAndMap(e){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(e)}return super.sourceAndMap(e)}updateHash(e){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(e)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}e.update(this.buffer())}}e.exports=CompatSource},5126:(e,t,n)=>{"use strict";const s=n(1494);const r=n(252);const{SourceNode:i,SourceMapConsumer:o}=n(2223);const{SourceListMap:u,fromStringWithSourceMap:c}=n(748);const{getSourceAndMap:a,getMap:h}=n(1793);const l=new WeakSet;class ConcatSource extends s{constructor(){super();this._children=[];for(let e=0;e<arguments.length;e++){const t=arguments[e];if(t instanceof ConcatSource){for(const e of t._children){this._children.push(e)}}else{this._children.push(t)}}this._isOptimized=arguments.length===0}getChildren(){if(!this._isOptimized)this._optimize();return this._children}add(e){if(e instanceof ConcatSource){for(const t of e._children){this._children.push(t)}}else{this._children.push(e)}this._isOptimized=false}addAllSkipOptimizing(e){for(const t of e){this._children.push(t)}}buffer(){if(!this._isOptimized)this._optimize();const e=[];for(const t of this._children){if(typeof t.buffer==="function"){e.push(t.buffer())}else{const n=t.source();if(Buffer.isBuffer(n)){e.push(n)}else{e.push(Buffer.from(n,"utf-8"))}}}return Buffer.concat(e)}source(){if(!this._isOptimized)this._optimize();let e="";for(const t of this._children){e+=t.source()}return e}size(){if(!this._isOptimized)this._optimize();let e=0;for(const t of this._children){e+=t.size()}return e}map(e){return h(this,e)}sourceAndMap(e){return a(this,e)}node(e){if(!this._isOptimized)this._optimize();const t=new i(null,null,null,this._children.map(function(t){if(typeof t.node==="function")return t.node(e);const n=t.sourceAndMap(e);if(n.map){return i.fromStringWithSourceMap(n.source,new o(n.map))}else{return n.source}}));return t}listMap(e){if(!this._isOptimized)this._optimize();const t=new u;for(const n of this._children){if(typeof n==="string"){t.add(n)}else if(typeof n.listMap==="function"){t.add(n.listMap(e))}else{const s=n.sourceAndMap(e);if(s.map){t.add(c(s.source,s.map))}else{t.add(s.source)}}}return t}updateHash(e){if(!this._isOptimized)this._optimize();e.update("ConcatSource");for(const t of this._children){t.updateHash(e)}}_optimize(){const e=[];let t=undefined;let n=undefined;const s=e=>{if(n===undefined){n=e}else if(Array.isArray(n)){n.push(e)}else{n=[typeof n==="string"?n:n.source(),e]}};const i=e=>{if(n===undefined){n=e}else if(Array.isArray(n)){n.push(e.source())}else{n=[typeof n==="string"?n:n.source(),e.source()]}};const o=()=>{if(Array.isArray(n)){const t=new r(n.join(""));l.add(t);e.push(t)}else if(typeof n==="string"){const t=new r(n);l.add(t);e.push(t)}else{e.push(n)}};for(const r of this._children){if(typeof r==="string"){if(t===undefined){t=r}else{t+=r}}else{if(t!==undefined){s(t);t=undefined}if(l.has(r)){i(r)}else{if(n!==undefined){o();n=undefined}e.push(r)}}}if(t!==undefined){s(t)}if(n!==undefined){o()}this._children=e;this._isOptimized=true}}e.exports=ConcatSource},7362:(e,t,n)=>{"use strict";const s=n(1494);const{SourceNode:r}=n(2223);const{SourceListMap:i}=n(748);const{getSourceAndMap:o,getMap:u}=n(1793);const c=/(?!$)[^\n\r;{}]*[\n\r;{}]*/g;function _splitCode(e){return e.match(c)||[]}class OriginalSource extends s{constructor(e,t){super();const n=Buffer.isBuffer(e);this._value=n?undefined:e;this._valueAsBuffer=n?e:undefined;this._name=t}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(e){return u(this,e)}sourceAndMap(e){return o(this,e)}node(e){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}const t=this._value;const n=this._name;const s=t.split("\n");const i=new r(null,null,null,s.map(function(t,i){let o=0;if(e&&e.columns===false){const e=t+(i!==s.length-1?"\n":"");return new r(i+1,0,n,e)}return new r(null,null,null,_splitCode(t+(i!==s.length-1?"\n":"")).map(function(e){if(/^\s*$/.test(e)){o+=e.length;return e}const t=new r(i+1,o,n,e);o+=e.length;return t}))}));i.setSourceContent(n,t);return i}listMap(e){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return new i(this._value,this._name,this._value)}updateHash(e){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}e.update("OriginalSource");e.update(this._valueAsBuffer);e.update(this._name||"")}}e.exports=OriginalSource},4516:(e,t,n)=>{"use strict";const s=n(1494);const r=n(252);const{SourceNode:i}=n(2223);const{getSourceAndMap:o,getMap:u}=n(1793);const c=/\n(?=.|\s)/g;class PrefixSource extends s{constructor(e,t){super();this._source=typeof t==="string"||Buffer.isBuffer(t)?new r(t,true):t;this._prefix=e}getPrefix(){return this._prefix}original(){return this._source}source(){const e=this._source.source();const t=this._prefix;return t+e.replace(c,"\n"+t)}map(e){return u(this,e)}sourceAndMa