12345678910111213141516171819202122232425262728 |
- (function(){var __webpack_modules__={25099:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.cloneNode=cloneNode;function cloneNode(v){return Object.assign({},v)}},88571:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});var $={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(E,"numberLiteralFromRaw",{enumerable:true,get:function get(){return N.numberLiteralFromRaw}});Object.defineProperty(E,"withLoc",{enumerable:true,get:function get(){return N.withLoc}});Object.defineProperty(E,"withRaw",{enumerable:true,get:function get(){return N.withRaw}});Object.defineProperty(E,"funcParam",{enumerable:true,get:function get(){return N.funcParam}});Object.defineProperty(E,"indexLiteral",{enumerable:true,get:function get(){return N.indexLiteral}});Object.defineProperty(E,"memIndexLiteral",{enumerable:true,get:function get(){return N.memIndexLiteral}});Object.defineProperty(E,"instruction",{enumerable:true,get:function get(){return N.instruction}});Object.defineProperty(E,"objectInstruction",{enumerable:true,get:function get(){return N.objectInstruction}});Object.defineProperty(E,"traverse",{enumerable:true,get:function get(){return q.traverse}});Object.defineProperty(E,"signatures",{enumerable:true,get:function get(){return G.signatures}});Object.defineProperty(E,"cloneNode",{enumerable:true,get:function get(){return ae.cloneNode}});Object.defineProperty(E,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return ce.moduleContextFromModuleAST}});var j=R(17059);Object.keys(j).forEach((function(v){if(v==="default"||v==="__esModule")return;if(Object.prototype.hasOwnProperty.call($,v))return;Object.defineProperty(E,v,{enumerable:true,get:function get(){return j[v]}})}));var N=R(8029);var q=R(40323);var G=R(27086);var ie=R(35355);Object.keys(ie).forEach((function(v){if(v==="default"||v==="__esModule")return;if(Object.prototype.hasOwnProperty.call($,v))return;Object.defineProperty(E,v,{enumerable:true,get:function get(){return ie[v]}})}));var ae=R(25099);var ce=R(6211)},8029:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.numberLiteralFromRaw=numberLiteralFromRaw;E.instruction=instruction;E.objectInstruction=objectInstruction;E.withLoc=withLoc;E.withRaw=withRaw;E.funcParam=funcParam;E.indexLiteral=indexLiteral;E.memIndexLiteral=memIndexLiteral;var $=R(98801);var j=R(17059);function numberLiteralFromRaw(v){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var R=v;if(typeof v==="string"){v=v.replace(/_/g,"")}if(typeof v==="number"){return(0,j.numberLiteral)(v,String(R))}else{switch(E){case"i32":{return(0,j.numberLiteral)((0,$.parse32I)(v),String(R))}case"u32":{return(0,j.numberLiteral)((0,$.parseU32)(v),String(R))}case"i64":{return(0,j.longNumberLiteral)((0,$.parse64I)(v),String(R))}case"f32":{return(0,j.floatLiteral)((0,$.parse32F)(v),(0,$.isNanLiteral)(v),(0,$.isInfLiteral)(v),String(R))}default:{return(0,j.floatLiteral)((0,$.parse64F)(v),(0,$.isNanLiteral)(v),(0,$.isInfLiteral)(v),String(R))}}}}function instruction(v){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,j.instr)(v,undefined,E,R)}function objectInstruction(v,E){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var $=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,j.instr)(v,E,R,$)}function withLoc(v,E,R){var $={start:R,end:E};v.loc=$;return v}function withRaw(v,E){v.raw=E;return v}function funcParam(v,E){return{id:E,valtype:v}}function indexLiteral(v){var E=numberLiteralFromRaw(v,"u32");return E}function memIndexLiteral(v){var E=numberLiteralFromRaw(v,"u32");return E}},3047:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.createPath=createPath;function _extends(){_extends=Object.assign||function(v){for(var E=1;E<arguments.length;E++){var R=arguments[E];for(var $ in R){if(Object.prototype.hasOwnProperty.call(R,$)){v[$]=R[$]}}}return v};return _extends.apply(this,arguments)}function findParent(v,E){var R=v.parentPath;if(R==null){throw new Error("node is root")}var $=R;while(E($)!==false){if($.parentPath==null){return null}$=$.parentPath}return $.node}function insertBefore(v,E){return insert(v,E)}function insertAfter(v,E){return insert(v,E,1)}function insert(v,E){var R=v.node,$=v.inList,j=v.parentPath,N=v.parentKey;var q=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;if(!$){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!(j!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var G=j.node[N];var ie=G.findIndex((function(v){return v===R}));G.splice(ie+q,0,E)}function remove(v){var E=v.node,R=v.parentKey,$=v.parentPath;if(!($!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var j=$.node;var N=j[R];if(Array.isArray(N)){j[R]=N.filter((function(v){return v!==E}))}else{delete j[R]}E._deleted=true}function stop(v){v.shouldStop=true}function replaceWith(v,E){var R=v.parentPath.node;var $=R[v.parentKey];if(Array.isArray($)){var j=$.findIndex((function(E){return E===v.node}));$.splice(j,1,E)}else{R[v.parentKey]=E}v.node._deleted=true;v.node=E}function bindNodeOperations(v,E){var R=Object.keys(v);var $={};R.forEach((function(R){$[R]=v[R].bind(null,E)}));return $}function createPathOperations(v){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},v)}function createPath(v){var E=_extends({},v);Object.assign(E,createPathOperations(E));return E}},17059:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.module=_module;E.moduleMetadata=moduleMetadata;E.moduleNameMetadata=moduleNameMetadata;E.functionNameMetadata=functionNameMetadata;E.localNameMetadata=localNameMetadata;E.binaryModule=binaryModule;E.quoteModule=quoteModule;E.sectionMetadata=sectionMetadata;E.producersSectionMetadata=producersSectionMetadata;E.producerMetadata=producerMetadata;E.producerMetadataVersionedName=producerMetadataVersionedName;E.loopInstruction=loopInstruction;E.instr=instr;E.ifInstruction=ifInstruction;E.stringLiteral=stringLiteral;E.numberLiteral=numberLiteral;E.longNumberLiteral=longNumberLiteral;E.floatLiteral=floatLiteral;E.elem=elem;E.indexInFuncSection=indexInFuncSection;E.valtypeLiteral=valtypeLiteral;E.typeInstruction=typeInstruction;E.start=start;E.globalType=globalType;E.leadingComment=leadingComment;E.blockComment=blockComment;E.data=data;E.global=global;E.table=table;E.memory=memory;E.funcImportDescr=funcImportDescr;E.moduleImport=moduleImport;E.moduleExportDescr=moduleExportDescr;E.moduleExport=moduleExport;E.limit=limit;E.signature=signature;E.program=program;E.identifier=identifier;E.blockInstruction=blockInstruction;E.callInstruction=callInstruction;E.callIndirectInstruction=callIndirectInstruction;E.byteArray=byteArray;E.func=func;E.internalBrUnless=internalBrUnless;E.internalGoto=internalGoto;E.internalCallExtern=internalCallExtern;E.internalEndAndReturn=internalEndAndReturn;E.assertInternalCallExtern=E.assertInternalGoto=E.assertInternalBrUnless=E.assertFunc=E.assertByteArray=E.assertCallIndirectInstruction=E.assertCallInstruction=E.assertBlockInstruction=E.assertIdentifier=E.assertProgram=E.assertSignature=E.assertLimit=E.assertModuleExport=E.assertModuleExportDescr=E.assertModuleImport=E.assertFuncImportDescr=E.assertMemory=E.assertTable=E.assertGlobal=E.assertData=E.assertBlockComment=E.assertLeadingComment=E.assertGlobalType=E.assertStart=E.assertTypeInstruction=E.assertValtypeLiteral=E.assertIndexInFuncSection=E.assertElem=E.assertFloatLiteral=E.assertLongNumberLiteral=E.assertNumberLiteral=E.assertStringLiteral=E.assertIfInstruction=E.assertInstr=E.assertLoopInstruction=E.assertProducerMetadataVersionedName=E.assertProducerMetadata=E.assertProducersSectionMetadata=E.assertSectionMetadata=E.assertQuoteModule=E.assertBinaryModule=E.assertLocalNameMetadata=E.assertFunctionNameMetadata=E.assertModuleNameMetadata=E.assertModuleMetadata=E.assertModule=E.isIntrinsic=E.isImportDescr=E.isNumericLiteral=E.isExpression=E.isInstruction=E.isBlock=E.isNode=E.isInternalEndAndReturn=E.isInternalCallExtern=E.isInternalGoto=E.isInternalBrUnless=E.isFunc=E.isByteArray=E.isCallIndirectInstruction=E.isCallInstruction=E.isBlockInstruction=E.isIdentifier=E.isProgram=E.isSignature=E.isLimit=E.isModuleExport=E.isModuleExportDescr=E.isModuleImport=E.isFuncImportDescr=E.isMemory=E.isTable=E.isGlobal=E.isData=E.isBlockComment=E.isLeadingComment=E.isGlobalType=E.isStart=E.isTypeInstruction=E.isValtypeLiteral=E.isIndexInFuncSection=E.isElem=E.isFloatLiteral=E.isLongNumberLiteral=E.isNumberLiteral=E.isStringLiteral=E.isIfInstruction=E.isInstr=E.isLoopInstruction=E.isProducerMetadataVersionedName=E.isProducerMetadata=E.isProducersSectionMetadata=E.isSectionMetadata=E.isQuoteModule=E.isBinaryModule=E.isLocalNameMetadata=E.isFunctionNameMetadata=E.isModuleNameMetadata=E.isModuleMetadata=E.isModule=void 0;E.nodeAndUnionTypes=E.unionTypesMap=E.assertInternalEndAndReturn=void 0;function _typeof(v){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}function isTypeOf(v){return function(E){return E.type===v}}function assertTypeOf(v){return function(E){return function(){if(!(E.type===v)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(v,E,R){if(v!==null&&v!==undefined){if(!(typeof v==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(v)||0))}}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Module",id:v,fields:E};if(typeof R!=="undefined"){$.metadata=R}return $}function moduleMetadata(v,E,R,$){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if($!==null&&$!==undefined){if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var j={type:"ModuleMetadata",sections:v};if(typeof E!=="undefined"&&E.length>0){j.functionNames=E}if(typeof R!=="undefined"&&R.length>0){j.localNames=R}if(typeof $!=="undefined"&&$.length>0){j.producers=$}return j}function moduleNameMetadata(v){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}var E={type:"ModuleNameMetadata",value:v};return E}function functionNameMetadata(v,E){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}if(!(typeof E==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(E)||0))}var R={type:"FunctionNameMetadata",value:v,index:E};return R}function localNameMetadata(v,E,R){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}if(!(typeof E==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(E)||0))}if(!(typeof R==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(R)||0))}var $={type:"LocalNameMetadata",value:v,localIndex:E,functionIndex:R};return $}function binaryModule(v,E){if(v!==null&&v!==undefined){if(!(typeof v==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(v)||0))}}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"BinaryModule",id:v,blob:E};return R}function quoteModule(v,E){if(v!==null&&v!==undefined){if(!(typeof v==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(v)||0))}}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"QuoteModule",id:v,string:E};return R}function sectionMetadata(v,E,R,$){if(!(typeof E==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(E)||0))}var j={type:"SectionMetadata",section:v,startOffset:E,size:R,vectorOfSize:$};return j}function producersSectionMetadata(v){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"ProducersSectionMetadata",producers:v};return E}function producerMetadata(v,E,R){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"ProducerMetadata",language:v,processedBy:E,sdk:R};return $}function producerMetadataVersionedName(v,E){if(!(typeof v==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(v)||0))}if(!(typeof E==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(E)||0))}var R={type:"ProducerMetadataVersionedName",name:v,version:E};return R}function loopInstruction(v,E,R){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"LoopInstruction",id:"loop",label:v,resulttype:E,instr:R};return $}function instr(v,E,R,$){if(!(typeof v==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(v)||0))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Instr",id:v,args:R};if(typeof E!=="undefined"){j.object=E}if(typeof $!=="undefined"&&Object.keys($).length!==0){j.namedArgs=$}return j}function ifInstruction(v,E,R,$,j){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"IfInstruction",id:"if",testLabel:v,test:E,result:R,consequent:$,alternate:j};return N}function stringLiteral(v){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}var E={type:"StringLiteral",value:v};return E}function numberLiteral(v,E){if(!(typeof v==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(v)||0))}if(!(typeof E==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(E)||0))}var R={type:"NumberLiteral",value:v,raw:E};return R}function longNumberLiteral(v,E){if(!(typeof E==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(E)||0))}var R={type:"LongNumberLiteral",value:v,raw:E};return R}function floatLiteral(v,E,R,$){if(!(typeof v==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(v)||0))}if(E!==null&&E!==undefined){if(!(typeof E==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(E)||0))}}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(R)||0))}}if(!(typeof $==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof($)||0))}var j={type:"FloatLiteral",value:v,raw:$};if(E===true){j.nan=true}if(R===true){j.inf=true}return j}function elem(v,E,R){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Elem",table:v,offset:E,funcs:R};return $}function indexInFuncSection(v){var E={type:"IndexInFuncSection",index:v};return E}function valtypeLiteral(v){var E={type:"ValtypeLiteral",name:v};return E}function typeInstruction(v,E){var R={type:"TypeInstruction",id:v,functype:E};return R}function start(v){var E={type:"Start",index:v};return E}function globalType(v,E){var R={type:"GlobalType",valtype:v,mutability:E};return R}function leadingComment(v){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}var E={type:"LeadingComment",value:v};return E}function blockComment(v){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}var E={type:"BlockComment",value:v};return E}function data(v,E,R){var $={type:"Data",memoryIndex:v,offset:E,init:R};return $}function global(v,E,R){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Global",globalType:v,init:E,name:R};return $}function table(v,E,R,$){if(!(E.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+E.type||0))}if($!==null&&$!==undefined){if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var j={type:"Table",elementType:v,limits:E,name:R};if(typeof $!=="undefined"&&$.length>0){j.elements=$}return j}function memory(v,E){var R={type:"Memory",limits:v,id:E};return R}function funcImportDescr(v,E){var R={type:"FuncImportDescr",id:v,signature:E};return R}function moduleImport(v,E,R){if(!(typeof v==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(v)||0))}if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}var $={type:"ModuleImport",module:v,name:E,descr:R};return $}function moduleExportDescr(v,E){var R={type:"ModuleExportDescr",exportType:v,id:E};return R}function moduleExport(v,E){if(!(typeof v==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(v)||0))}var R={type:"ModuleExport",name:v,descr:E};return R}function limit(v,E,R){if(!(typeof v==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(v)||0))}if(E!==null&&E!==undefined){if(!(typeof E==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(E)||0))}}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(R)||0))}}var $={type:"Limit",min:v};if(typeof E!=="undefined"){$.max=E}if(R===true){$.shared=true}return $}function signature(v,E){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Signature",params:v,results:E};return R}function program(v){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"Program",body:v};return E}function identifier(v,E){if(!(typeof v==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(v)||0))}if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(E)||0))}}var R={type:"Identifier",value:v};if(typeof E!=="undefined"){R.raw=E}return R}function blockInstruction(v,E,R){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"BlockInstruction",id:"block",label:v,instr:E,result:R};return $}function callInstruction(v,E,R){if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"CallInstruction",id:"call",index:v};if(typeof E!=="undefined"&&E.length>0){$.instrArgs=E}if(typeof R!=="undefined"){$.numeric=R}return $}function callIndirectInstruction(v,E){if(E!==null&&E!==undefined){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var R={type:"CallIndirectInstruction",id:"call_indirect",signature:v};if(typeof E!=="undefined"&&E.length>0){R.intrs=E}return R}function byteArray(v){if(!(_typeof(v)==="object"&&typeof v.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var E={type:"ByteArray",values:v};return E}function func(v,E,R,$,j){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if($!==null&&$!==undefined){if(!(typeof $==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof($)||0))}}var N={type:"Func",name:v,signature:E,body:R};if($===true){N.isExternal=true}if(typeof j!=="undefined"){N.metadata=j}return N}function internalBrUnless(v){if(!(typeof v==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(v)||0))}var E={type:"InternalBrUnless",target:v};return E}function internalGoto(v){if(!(typeof v==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(v)||0))}var E={type:"InternalGoto",target:v};return E}function internalCallExtern(v){if(!(typeof v==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(v)||0))}var E={type:"InternalCallExtern",target:v};return E}function internalEndAndReturn(){var v={type:"InternalEndAndReturn"};return v}var R=isTypeOf("Module");E.isModule=R;var $=isTypeOf("ModuleMetadata");E.isModuleMetadata=$;var j=isTypeOf("ModuleNameMetadata");E.isModuleNameMetadata=j;var N=isTypeOf("FunctionNameMetadata");E.isFunctionNameMetadata=N;var q=isTypeOf("LocalNameMetadata");E.isLocalNameMetadata=q;var G=isTypeOf("BinaryModule");E.isBinaryModule=G;var ie=isTypeOf("QuoteModule");E.isQuoteModule=ie;var ae=isTypeOf("SectionMetadata");E.isSectionMetadata=ae;var ce=isTypeOf("ProducersSectionMetadata");E.isProducersSectionMetadata=ce;var le=isTypeOf("ProducerMetadata");E.isProducerMetadata=le;var me=isTypeOf("ProducerMetadataVersionedName");E.isProducerMetadataVersionedName=me;var _e=isTypeOf("LoopInstruction");E.isLoopInstruction=_e;var Ie=isTypeOf("Instr");E.isInstr=Ie;var Me=isTypeOf("IfInstruction");E.isIfInstruction=Me;var Oe=isTypeOf("StringLiteral");E.isStringLiteral=Oe;var Te=isTypeOf("NumberLiteral");E.isNumberLiteral=Te;var Ne=isTypeOf("LongNumberLiteral");E.isLongNumberLiteral=Ne;var Be=isTypeOf("FloatLiteral");E.isFloatLiteral=Be;var Le=isTypeOf("Elem");E.isElem=Le;var qe=isTypeOf("IndexInFuncSection");E.isIndexInFuncSection=qe;var Ue=isTypeOf("ValtypeLiteral");E.isValtypeLiteral=Ue;var Ge=isTypeOf("TypeInstruction");E.isTypeInstruction=Ge;var He=isTypeOf("Start");E.isStart=He;var We=isTypeOf("GlobalType");E.isGlobalType=We;var Qe=isTypeOf("LeadingComment");E.isLeadingComment=Qe;var Je=isTypeOf("BlockComment");E.isBlockComment=Je;var Ve=isTypeOf("Data");E.isData=Ve;var Ke=isTypeOf("Global");E.isGlobal=Ke;var Xe=isTypeOf("Table");E.isTable=Xe;var Ye=isTypeOf("Memory");E.isMemory=Ye;var Ze=isTypeOf("FuncImportDescr");E.isFuncImportDescr=Ze;var et=isTypeOf("ModuleImport");E.isModuleImport=et;var tt=isTypeOf("ModuleExportDescr");E.isModuleExportDescr=tt;var nt=isTypeOf("ModuleExport");E.isModuleExport=nt;var st=isTypeOf("Limit");E.isLimit=st;var rt=isTypeOf("Signature");E.isSignature=rt;var ot=isTypeOf("Program");E.isProgram=ot;var it=isTypeOf("Identifier");E.isIdentifier=it;var at=isTypeOf("BlockInstruction");E.isBlockInstruction=at;var ct=isTypeOf("CallInstruction");E.isCallInstruction=ct;var lt=isTypeOf("CallIndirectInstruction");E.isCallIndirectInstruction=lt;var ut=isTypeOf("ByteArray");E.isByteArray=ut;var pt=isTypeOf("Func");E.isFunc=pt;var dt=isTypeOf("InternalBrUnless");E.isInternalBrUnless=dt;var ft=isTypeOf("InternalGoto");E.isInternalGoto=ft;var ht=isTypeOf("InternalCallExtern");E.isInternalCallExtern=ht;var mt=isTypeOf("InternalEndAndReturn");E.isInternalEndAndReturn=mt;var gt=function isNode(v){return R(v)||$(v)||j(v)||N(v)||q(v)||G(v)||ie(v)||ae(v)||ce(v)||le(v)||me(v)||_e(v)||Ie(v)||Me(v)||Oe(v)||Te(v)||Ne(v)||Be(v)||Le(v)||qe(v)||Ue(v)||Ge(v)||He(v)||We(v)||Qe(v)||Je(v)||Ve(v)||Ke(v)||Xe(v)||Ye(v)||Ze(v)||et(v)||tt(v)||nt(v)||st(v)||rt(v)||ot(v)||it(v)||at(v)||ct(v)||lt(v)||ut(v)||pt(v)||dt(v)||ft(v)||ht(v)||mt(v)};E.isNode=gt;var yt=function isBlock(v){return _e(v)||at(v)||pt(v)};E.isBlock=yt;var bt=function isInstruction(v){return _e(v)||Ie(v)||Me(v)||Ge(v)||at(v)||ct(v)||lt(v)};E.isInstruction=bt;var xt=function isExpression(v){return Ie(v)||Oe(v)||Te(v)||Ne(v)||Be(v)||Ue(v)||it(v)};E.isExpression=xt;var kt=function isNumericLiteral(v){return Te(v)||Ne(v)||Be(v)};E.isNumericLiteral=kt;var vt=function isImportDescr(v){return We(v)||Xe(v)||Ye(v)||Ze(v)};E.isImportDescr=vt;var wt=function isIntrinsic(v){return dt(v)||ft(v)||ht(v)||mt(v)};E.isIntrinsic=wt;var Ct=assertTypeOf("Module");E.assertModule=Ct;var At=assertTypeOf("ModuleMetadata");E.assertModuleMetadata=At;var Et=assertTypeOf("ModuleNameMetadata");E.assertModuleNameMetadata=Et;var _t=assertTypeOf("FunctionNameMetadata");E.assertFunctionNameMetadata=_t;var St=assertTypeOf("LocalNameMetadata");E.assertLocalNameMetadata=St;var It=assertTypeOf("BinaryModule");E.assertBinaryModule=It;var Mt=assertTypeOf("QuoteModule");E.assertQuoteModule=Mt;var Pt=assertTypeOf("SectionMetadata");E.assertSectionMetadata=Pt;var Dt=assertTypeOf("ProducersSectionMetadata");E.assertProducersSectionMetadata=Dt;var Ot=assertTypeOf("ProducerMetadata");E.assertProducerMetadata=Ot;var Rt=assertTypeOf("ProducerMetadataVersionedName");E.assertProducerMetadataVersionedName=Rt;var $t=assertTypeOf("LoopInstruction");E.assertLoopInstruction=$t;var Tt=assertTypeOf("Instr");E.assertInstr=Tt;var Ft=assertTypeOf("IfInstruction");E.assertIfInstruction=Ft;var jt=assertTypeOf("StringLiteral");E.assertStringLiteral=jt;var Nt=assertTypeOf("NumberLiteral");E.assertNumberLiteral=Nt;var Bt=assertTypeOf("LongNumberLiteral");E.assertLongNumberLiteral=Bt;var Lt=assertTypeOf("FloatLiteral");E.assertFloatLiteral=Lt;var qt=assertTypeOf("Elem");E.assertElem=qt;var zt=assertTypeOf("IndexInFuncSection");E.assertIndexInFuncSection=zt;var Ut=assertTypeOf("ValtypeLiteral");E.assertValtypeLiteral=Ut;var Gt=assertTypeOf("TypeInstruction");E.assertTypeInstruction=Gt;var Ht=assertTypeOf("Start");E.assertStart=Ht;var Wt=assertTypeOf("GlobalType");E.assertGlobalType=Wt;var Qt=assertTypeOf("LeadingComment");E.assertLeadingComment=Qt;var Jt=assertTypeOf("BlockComment");E.assertBlockComment=Jt;var Vt=assertTypeOf("Data");E.assertData=Vt;var Kt=assertTypeOf("Global");E.assertGlobal=Kt;var Xt=assertTypeOf("Table");E.assertTable=Xt;var Yt=assertTypeOf("Memory");E.assertMemory=Yt;var Zt=assertTypeOf("FuncImportDescr");E.assertFuncImportDescr=Zt;var en=assertTypeOf("ModuleImport");E.assertModuleImport=en;var tn=assertTypeOf("ModuleExportDescr");E.assertModuleExportDescr=tn;var nn=assertTypeOf("ModuleExport");E.assertModuleExport=nn;var sn=assertTypeOf("Limit");E.assertLimit=sn;var rn=assertTypeOf("Signature");E.assertSignature=rn;var on=assertTypeOf("Program");E.assertProgram=on;var an=assertTypeOf("Identifier");E.assertIdentifier=an;var cn=assertTypeOf("BlockInstruction");E.assertBlockInstruction=cn;var ln=assertTypeOf("CallInstruction");E.assertCallInstruction=ln;var un=assertTypeOf("CallIndirectInstruction");E.assertCallIndirectInstruction=un;var pn=assertTypeOf("ByteArray");E.assertByteArray=pn;var dn=assertTypeOf("Func");E.assertFunc=dn;var hn=assertTypeOf("InternalBrUnless");E.assertInternalBrUnless=hn;var mn=assertTypeOf("InternalGoto");E.assertInternalGoto=mn;var gn=assertTypeOf("InternalCallExtern");E.assertInternalCallExtern=gn;var yn=assertTypeOf("InternalEndAndReturn");E.assertInternalEndAndReturn=yn;var bn={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};E.unionTypesMap=bn;var xn=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];E.nodeAndUnionTypes=xn},27086:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.signatures=void 0;function sign(v,E){return[v,E]}var R="u32";var $="i32";var j="i64";var N="f32";var q="f64";var G=function vector(v){var E=[v];E.vector=true;return E};var ie={unreachable:sign([],[]),nop:sign([],[]),br:sign([R],[]),br_if:sign([R],[]),br_table:sign(G(R),[]),return:sign([],[]),call:sign([R],[]),call_indirect:sign([R],[])};var ae={drop:sign([],[]),select:sign([],[])};var ce={get_local:sign([R],[]),set_local:sign([R],[]),tee_local:sign([R],[]),get_global:sign([R],[]),set_global:sign([R],[])};var le={"i32.load":sign([R,R],[$]),"i64.load":sign([R,R],[]),"f32.load":sign([R,R],[]),"f64.load":sign([R,R],[]),"i32.load8_s":sign([R,R],[$]),"i32.load8_u":sign([R,R],[$]),"i32.load16_s":sign([R,R],[$]),"i32.load16_u":sign([R,R],[$]),"i64.load8_s":sign([R,R],[j]),"i64.load8_u":sign([R,R],[j]),"i64.load16_s":sign([R,R],[j]),"i64.load16_u":sign([R,R],[j]),"i64.load32_s":sign([R,R],[j]),"i64.load32_u":sign([R,R],[j]),"i32.store":sign([R,R],[]),"i64.store":sign([R,R],[]),"f32.store":sign([R,R],[]),"f64.store":sign([R,R],[]),"i32.store8":sign([R,R],[]),"i32.store16":sign([R,R],[]),"i64.store8":sign([R,R],[]),"i64.store16":sign([R,R],[]),"i64.store32":sign([R,R],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var me={"i32.const":sign([$],[$]),"i64.const":sign([j],[j]),"f32.const":sign([N],[N]),"f64.const":sign([q],[q]),"i32.eqz":sign([$],[$]),"i32.eq":sign([$,$],[$]),"i32.ne":sign([$,$],[$]),"i32.lt_s":sign([$,$],[$]),"i32.lt_u":sign([$,$],[$]),"i32.gt_s":sign([$,$],[$]),"i32.gt_u":sign([$,$],[$]),"i32.le_s":sign([$,$],[$]),"i32.le_u":sign([$,$],[$]),"i32.ge_s":sign([$,$],[$]),"i32.ge_u":sign([$,$],[$]),"i64.eqz":sign([j],[j]),"i64.eq":sign([j,j],[$]),"i64.ne":sign([j,j],[$]),"i64.lt_s":sign([j,j],[$]),"i64.lt_u":sign([j,j],[$]),"i64.gt_s":sign([j,j],[$]),"i64.gt_u":sign([j,j],[$]),"i64.le_s":sign([j,j],[$]),"i64.le_u":sign([j,j],[$]),"i64.ge_s":sign([j,j],[$]),"i64.ge_u":sign([j,j],[$]),"f32.eq":sign([N,N],[$]),"f32.ne":sign([N,N],[$]),"f32.lt":sign([N,N],[$]),"f32.gt":sign([N,N],[$]),"f32.le":sign([N,N],[$]),"f32.ge":sign([N,N],[$]),"f64.eq":sign([q,q],[$]),"f64.ne":sign([q,q],[$]),"f64.lt":sign([q,q],[$]),"f64.gt":sign([q,q],[$]),"f64.le":sign([q,q],[$]),"f64.ge":sign([q,q],[$]),"i32.clz":sign([$],[$]),"i32.ctz":sign([$],[$]),"i32.popcnt":sign([$],[$]),"i32.add":sign([$,$],[$]),"i32.sub":sign([$,$],[$]),"i32.mul":sign([$,$],[$]),"i32.div_s":sign([$,$],[$]),"i32.div_u":sign([$,$],[$]),"i32.rem_s":sign([$,$],[$]),"i32.rem_u":sign([$,$],[$]),"i32.and":sign([$,$],[$]),"i32.or":sign([$,$],[$]),"i32.xor":sign([$,$],[$]),"i32.shl":sign([$,$],[$]),"i32.shr_s":sign([$,$],[$]),"i32.shr_u":sign([$,$],[$]),"i32.rotl":sign([$,$],[$]),"i32.rotr":sign([$,$],[$]),"i64.clz":sign([j],[j]),"i64.ctz":sign([j],[j]),"i64.popcnt":sign([j],[j]),"i64.add":sign([j,j],[j]),"i64.sub":sign([j,j],[j]),"i64.mul":sign([j,j],[j]),"i64.div_s":sign([j,j],[j]),"i64.div_u":sign([j,j],[j]),"i64.rem_s":sign([j,j],[j]),"i64.rem_u":sign([j,j],[j]),"i64.and":sign([j,j],[j]),"i64.or":sign([j,j],[j]),"i64.xor":sign([j,j],[j]),"i64.shl":sign([j,j],[j]),"i64.shr_s":sign([j,j],[j]),"i64.shr_u":sign([j,j],[j]),"i64.rotl":sign([j,j],[j]),"i64.rotr":sign([j,j],[j]),"f32.abs":sign([N],[N]),"f32.neg":sign([N],[N]),"f32.ceil":sign([N],[N]),"f32.floor":sign([N],[N]),"f32.trunc":sign([N],[N]),"f32.nearest":sign([N],[N]),"f32.sqrt":sign([N],[N]),"f32.add":sign([N,N],[N]),"f32.sub":sign([N,N],[N]),"f32.mul":sign([N,N],[N]),"f32.div":sign([N,N],[N]),"f32.min":sign([N,N],[N]),"f32.max":sign([N,N],[N]),"f32.copysign":sign([N,N],[N]),"f64.abs":sign([q],[q]),"f64.neg":sign([q],[q]),"f64.ceil":sign([q],[q]),"f64.floor":sign([q],[q]),"f64.trunc":sign([q],[q]),"f64.nearest":sign([q],[q]),"f64.sqrt":sign([q],[q]),"f64.add":sign([q,q],[q]),"f64.sub":sign([q,q],[q]),"f64.mul":sign([q,q],[q]),"f64.div":sign([q,q],[q]),"f64.min":sign([q,q],[q]),"f64.max":sign([q,q],[q]),"f64.copysign":sign([q,q],[q]),"i32.wrap/i64":sign([j],[$]),"i32.trunc_s/f32":sign([N],[$]),"i32.trunc_u/f32":sign([N],[$]),"i32.trunc_s/f64":sign([N],[$]),"i32.trunc_u/f64":sign([q],[$]),"i64.extend_s/i32":sign([$],[j]),"i64.extend_u/i32":sign([$],[j]),"i64.trunc_s/f32":sign([N],[j]),"i64.trunc_u/f32":sign([N],[j]),"i64.trunc_s/f64":sign([q],[j]),"i64.trunc_u/f64":sign([q],[j]),"f32.convert_s/i32":sign([$],[N]),"f32.convert_u/i32":sign([$],[N]),"f32.convert_s/i64":sign([j],[N]),"f32.convert_u/i64":sign([j],[N]),"f32.demote/f64":sign([q],[N]),"f64.convert_s/i32":sign([$],[q]),"f64.convert_u/i32":sign([$],[q]),"f64.convert_s/i64":sign([j],[q]),"f64.convert_u/i64":sign([j],[q]),"f64.promote/f32":sign([N],[q]),"i32.reinterpret/f32":sign([N],[$]),"i64.reinterpret/f64":sign([q],[j]),"f32.reinterpret/i32":sign([$],[N]),"f64.reinterpret/i64":sign([j],[q])};var _e=Object.assign({},ie,ae,ce,le,me);E.signatures=_e},6211:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.moduleContextFromModuleAST=moduleContextFromModuleAST;E.ModuleContext=void 0;var $=R(17059);function _classCallCheck(v,E){if(!(v instanceof E)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(v,E){for(var R=0;R<E.length;R++){var $=E[R];$.enumerable=$.enumerable||false;$.configurable=true;if("value"in $)$.writable=true;Object.defineProperty(v,$.key,$)}}function _createClass(v,E,R){if(E)_defineProperties(v.prototype,E);if(R)_defineProperties(v,R);return v}function moduleContextFromModuleAST(v){var E=new j;if(!(v.type==="Module")){throw new Error('m.type === "Module"'+" error: "+(undefined||"unknown"))}v.fields.forEach((function(v){switch(v.type){case"Start":{E.setStart(v.index);break}case"TypeInstruction":{E.addType(v);break}case"Func":{E.addFunction(v);break}case"Global":{E.defineGlobal(v);break}case"ModuleImport":{switch(v.descr.type){case"GlobalType":{E.importGlobal(v.descr.valtype,v.descr.mutability);break}case"Memory":{E.addMemory(v.descr.limits.min,v.descr.limits.max);break}case"FuncImportDescr":{E.importFunction(v.descr);break}case"Table":{break}default:throw new Error("Unsupported ModuleImport of type "+JSON.stringify(v.descr.type))}break}case"Memory":{E.addMemory(v.limits.min,v.limits.max);break}}}));return E}var j=function(){function ModuleContext(){_classCallCheck(this,ModuleContext);this.funcs=[];this.funcsOffsetByIdentifier=[];this.types=[];this.globals=[];this.globalsOffsetByIdentifier=[];this.mems=[];this.locals=[];this.labels=[];this.return=[];this.debugName="unknown";this.start=null}_createClass(ModuleContext,[{key:"setStart",value:function setStart(v){this.start=v.value}},{key:"getStart",value:function getStart(){return this.start}},{key:"newContext",value:function newContext(v,E){this.locals=[];this.labels=[E];this.return=E;this.debugName=v}},{key:"addFunction",value:function addFunction(v){var E=v.signature||{},R=E.params,$=R===void 0?[]:R,j=E.results,N=j===void 0?[]:j;$=$.map((function(v){return v.valtype}));this.funcs.push({args:$,result:N});if(typeof v.name!=="undefined"){this.funcsOffsetByIdentifier[v.name.value]=this.funcs.length-1}}},{key:"importFunction",value:function importFunction(v){if((0,$.isSignature)(v.signature)){var E=v.signature,R=E.params,j=E.results;R=R.map((function(v){return v.valtype}));this.funcs.push({args:R,result:j})}else{if(!(0,$.isNumberLiteral)(v.signature)){throw new Error("isNumberLiteral(funcimport.signature)"+" error: "+(undefined||"unknown"))}var N=v.signature.value;if(!this.hasType(N)){throw new Error("this.hasType(typeId)"+" error: "+(undefined||"unknown"))}var q=this.getType(N);this.funcs.push({args:q.params.map((function(v){return v.valtype})),result:q.results})}if(typeof v.id!=="undefined"){this.funcsOffsetByIdentifier[v.id.value]=this.funcs.length-1}}},{key:"hasFunction",value:function hasFunction(v){return typeof this.getFunction(v)!=="undefined"}},{key:"getFunction",value:function getFunction(v){if(typeof v!=="number"){throw new Error("getFunction only supported for number index")}return this.funcs[v]}},{key:"getFunctionOffsetByIdentifier",value:function getFunctionOffsetByIdentifier(v){if(!(typeof v==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.funcsOffsetByIdentifier[v]}},{key:"addLabel",value:function addLabel(v){this.labels.unshift(v)}},{key:"hasLabel",value:function hasLabel(v){return this.labels.length>v&&v>=0}},{key:"getLabel",value:function getLabel(v){return this.labels[v]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(v){return typeof this.getLocal(v)!=="undefined"}},{key:"getLocal",value:function getLocal(v){return this.locals[v]}},{key:"addLocal",value:function addLocal(v){this.locals.push(v)}},{key:"addType",value:function addType(v){if(!(v.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(v.functype)}},{key:"hasType",value:function hasType(v){return this.types[v]!==undefined}},{key:"getType",value:function getType(v){return this.types[v]}},{key:"hasGlobal",value:function hasGlobal(v){return this.globals.length>v&&v>=0}},{key:"getGlobal",value:function getGlobal(v){return this.globals[v].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(v){if(!(typeof v==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[v]}},{key:"defineGlobal",value:function defineGlobal(v){var E=v.globalType.valtype;var R=v.globalType.mutability;this.globals.push({type:E,mutability:R});if(typeof v.name!=="undefined"){this.globalsOffsetByIdentifier[v.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(v,E){this.globals.push({type:v,mutability:E})}},{key:"isMutableGlobal",value:function isMutableGlobal(v){return this.globals[v].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(v){return this.globals[v].mutability==="const"}},{key:"hasMemory",value:function hasMemory(v){return this.mems.length>v&&v>=0}},{key:"addMemory",value:function addMemory(v,E){this.mems.push({min:v,max:E})}},{key:"getMemory",value:function getMemory(v){return this.mems[v]}}]);return ModuleContext}();E.ModuleContext=j},40323:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.traverse=traverse;var $=R(3047);var j=R(17059);function walk(v,E){var R=false;function innerWalk(v,E){if(R){return}var j=v.node;if(j===undefined){console.warn("traversing with an empty context");return}if(j._deleted===true){return}var N=(0,$.createPath)(v);E(j.type,N);if(N.shouldStop){R=true;return}Object.keys(j).forEach((function(v){var R=j[v];if(R===null||R===undefined){return}var $=Array.isArray(R)?R:[R];$.forEach((function($){if(typeof $.type==="string"){var j={node:$,parentKey:v,parentPath:N,shouldStop:false,inList:Array.isArray(R)};innerWalk(j,E)}}))}))}innerWalk(v,E)}var N=function noop(){};function traverse(v,E){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:N;var $=arguments.length>3&&arguments[3]!==undefined?arguments[3]:N;Object.keys(E).forEach((function(v){if(!j.nodeAndUnionTypes.includes(v)){throw new Error("Unexpected visitor ".concat(v))}}));var q={node:v,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(q,(function(v,N){if(typeof E[v]==="function"){R(v,N);E[v](N);$(v,N)}var q=j.unionTypesMap[v];if(!q){throw new Error("Unexpected node type ".concat(v))}q.forEach((function(v){if(typeof E[v]==="function"){R(v,N);E[v](N);$(v,N)}}))}))}},35355:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.isAnonymous=isAnonymous;E.getSectionMetadata=getSectionMetadata;E.getSectionMetadatas=getSectionMetadatas;E.sortSectionMetadata=sortSectionMetadata;E.orderedInsertNode=orderedInsertNode;E.assertHasLoc=assertHasLoc;E.getEndOfSection=getEndOfSection;E.shiftLoc=shiftLoc;E.shiftSection=shiftSection;E.signatureForOpcode=signatureForOpcode;E.getUniqueNameGenerator=getUniqueNameGenerator;E.getStartByteOffset=getStartByteOffset;E.getEndByteOffset=getEndByteOffset;E.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;E.getEndBlockByteOffset=getEndBlockByteOffset;E.getStartBlockByteOffset=getStartBlockByteOffset;var $=R(27086);var j=R(40323);var N=_interopRequireWildcard(R(56811));function _interopRequireWildcard(v){if(v&&v.__esModule){return v}else{var E={};if(v!=null){for(var R in v){if(Object.prototype.hasOwnProperty.call(v,R)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(v,R):{};if($.get||$.set){Object.defineProperty(E,R,$)}else{E[R]=v[R]}}}}E.default=v;return E}}function _sliceIterator(v,E){var R=[];var $=true;var j=false;var N=undefined;try{for(var q=v[Symbol.iterator](),G;!($=(G=q.next()).done);$=true){R.push(G.value);if(E&&R.length===E)break}}catch(v){j=true;N=v}finally{try{if(!$&&q["return"]!=null)q["return"]()}finally{if(j)throw N}}return R}function _slicedToArray(v,E){if(Array.isArray(v)){return v}else if(Symbol.iterator in Object(v)){return _sliceIterator(v,E)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(v){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}function isAnonymous(v){return v.raw===""}function getSectionMetadata(v,E){var R;(0,j.traverse)(v,{SectionMetadata:function(v){function SectionMetadata(E){return v.apply(this,arguments)}SectionMetadata.toString=function(){return v.toString()};return SectionMetadata}((function(v){var $=v.node;if($.section===E){R=$}}))});return R}function getSectionMetadatas(v,E){var R=[];(0,j.traverse)(v,{SectionMetadata:function(v){function SectionMetadata(E){return v.apply(this,arguments)}SectionMetadata.toString=function(){return v.toString()};return SectionMetadata}((function(v){var $=v.node;if($.section===E){R.push($)}}))});return R}function sortSectionMetadata(v){if(v.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}v.metadata.sections.sort((function(v,E){var R=N.default.sections[v.section];var $=N.default.sections[E.section];if(typeof R!=="number"||typeof $!=="number"){throw new Error("Section id not found")}return R-$}))}function orderedInsertNode(v,E){assertHasLoc(E);var R=false;if(E.type==="ModuleExport"){v.fields.push(E);return}v.fields=v.fields.reduce((function(v,$){var j=Infinity;if($.loc!=null){j=$.loc.end.column}if(R===false&&E.loc.start.column<j){R=true;v.push(E)}v.push($);return v}),[]);if(R===false){v.fields.push(E)}}function assertHasLoc(v){if(v.loc==null||v.loc.start==null||v.loc.end==null){throw new Error("Internal failure: node (".concat(JSON.stringify(v.type),") has no location information"))}}function getEndOfSection(v){assertHasLoc(v.size);return v.startOffset+v.size.value+(v.size.loc.end.column-v.size.loc.start.column)}function shiftLoc(v,E){v.loc.start.column+=E;v.loc.end.column+=E}function shiftSection(v,E,R){if(E.type!=="SectionMetadata"){throw new Error("Can not shift node "+JSON.stringify(E.type))}E.startOffset+=R;if(_typeof(E.size.loc)==="object"){shiftLoc(E.size,R)}if(_typeof(E.vectorOfSize)==="object"&&_typeof(E.vectorOfSize.loc)==="object"){shiftLoc(E.vectorOfSize,R)}var $=E.section;(0,j.traverse)(v,{Node:function Node(v){var E=v.node;var j=(0,N.getSectionForNode)(E);if(j===$&&_typeof(E.loc)==="object"){shiftLoc(E,R)}}})}function signatureForOpcode(v,E){var R=E;if(v!==undefined&&v!==""){R=v+"."+E}var j=$.signatures[R];if(j==undefined){return[v,v]}return j[0]}function getUniqueNameGenerator(){var v={};return function(){var E=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(E in v)){v[E]=0}else{v[E]=v[E]+1}return E+"_"+v[E]}}function getStartByteOffset(v){if(typeof v.loc==="undefined"||typeof v.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(v.id))}return v.loc.start.column}function getEndByteOffset(v){if(typeof v.loc==="undefined"||typeof v.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+v.type)}return v.loc.end.column}function getFunctionBeginingByteOffset(v){if(!(v.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var E=_slicedToArray(v.body,1),R=E[0];return getStartByteOffset(R)}function getEndBlockByteOffset(v){if(!(v.instr.length>0||v.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var E;if(v.instr){E=v.instr[v.instr.length-1]}if(v.body){E=v.body[v.body.length-1]}if(!(_typeof(E)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(E)}function getStartBlockByteOffset(v){if(!(v.instr.length>0||v.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var E;if(v.instr){var R=_slicedToArray(v.instr,1);E=R[0]}if(v.body){var $=_slicedToArray(v.body,1);E=$[0]}if(!(_typeof(E)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(E)}},67122:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E["default"]=parse;function parse(v){v=v.toUpperCase();var E=v.indexOf("P");var R,$;if(E!==-1){R=v.substring(0,E);$=parseInt(v.substring(E+1))}else{R=v;$=0}var j=R.indexOf(".");if(j!==-1){var N=parseInt(R.substring(0,j),16);var q=Math.sign(N);N=q*N;var G=R.length-j-1;var ie=parseInt(R.substring(j+1),16);var ae=G>0?ie/Math.pow(16,G):0;if(q===0){if(ae===0){R=q}else{if(Object.is(q,-0)){R=-ae}else{R=ae}}}else{R=q*(N+ae)}}else{R=parseInt(R,16)}return R*(E!==-1?Math.pow(2,$):1)}},5770:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.LinkError=E.CompileError=E.RuntimeError=void 0;function _typeof(v){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}function _classCallCheck(v,E){if(!(v instanceof E)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(v,E){if(E&&(_typeof(E)==="object"||typeof E==="function")){return E}if(!v){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return v}function _inherits(v,E){if(typeof E!=="function"&&E!==null){throw new TypeError("Super expression must either be null or a function")}v.prototype=Object.create(E&&E.prototype,{constructor:{value:v,enumerable:false,writable:true,configurable:true}});if(E)Object.setPrototypeOf?Object.setPrototypeOf(v,E):v.__proto__=E}var R=function(v){_inherits(RuntimeError,v);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);E.RuntimeError=R;var $=function(v){_inherits(CompileError,v);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);E.CompileError=$;var j=function(v){_inherits(LinkError,v);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);E.LinkError=j},44284:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.overrideBytesInBuffer=overrideBytesInBuffer;E.makeBuffer=makeBuffer;E.fromHexdump=fromHexdump;function _toConsumableArray(v){if(Array.isArray(v)){for(var E=0,R=new Array(v.length);E<v.length;E++){R[E]=v[E]}return R}else{return Array.from(v)}}function concatUint8Arrays(){for(var v=arguments.length,E=new Array(v),R=0;R<v;R++){E[R]=arguments[R]}var $=E.reduce((function(v,E){return v+E.length}),0);var j=new Uint8Array($);var N=0;for(var q=0;q<E.length;q++){var G=E[q];if(G instanceof Uint8Array===false){throw new Error("arr must be of type Uint8Array")}j.set(G,N);N+=G.length}return j}function overrideBytesInBuffer(v,E,R,$){var j=v.slice(0,E);var N=v.slice(R,v.length);if($.length===0){return concatUint8Arrays(j,N)}var q=Uint8Array.from($);return concatUint8Arrays(j,q,N)}function makeBuffer(){for(var v=arguments.length,E=new Array(v),R=0;R<v;R++){E[R]=arguments[R]}var $=[].concat.apply([],E);return new Uint8Array($).buffer}function fromHexdump(v){var E=v.split("\n");E=E.map((function(v){return v.trim()}));var R=E.reduce((function(v,E){var R=E.split(" ");R.shift();R=R.filter((function(v){return v!==""}));var $=R.map((function(v){return parseInt(v,16)}));v.push.apply(v,_toConsumableArray($));return v}),[]);return Buffer.from(R)}},98801:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.parse32F=parse32F;E.parse64F=parse64F;E.parse32I=parse32I;E.parseU32=parseU32;E.parse64I=parse64I;E.isInfLiteral=isInfLiteral;E.isNanLiteral=isNanLiteral;var $=_interopRequireDefault(R(85249));var j=_interopRequireDefault(R(67122));var N=R(5770);function _interopRequireDefault(v){return v&&v.__esModule?v:{default:v}}function parse32F(v){if(isHexLiteral(v)){return(0,j.default)(v)}if(isInfLiteral(v)){return v[0]==="-"?-1:1}if(isNanLiteral(v)){return(v[0]==="-"?-1:1)*(v.includes(":")?parseInt(v.substring(v.indexOf(":")+1),16):4194304)}return parseFloat(v)}function parse64F(v){if(isHexLiteral(v)){return(0,j.default)(v)}if(isInfLiteral(v)){return v[0]==="-"?-1:1}if(isNanLiteral(v)){return(v[0]==="-"?-1:1)*(v.includes(":")?parseInt(v.substring(v.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(v)){return(0,j.default)(v)}return parseFloat(v)}function parse32I(v){var E=0;if(isHexLiteral(v)){E=~~parseInt(v,16)}else if(isDecimalExponentLiteral(v)){throw new Error("This number literal format is yet to be implemented.")}else{E=parseInt(v,10)}return E}function parseU32(v){var E=parse32I(v);if(E<0){throw new N.CompileError("Illegal value for u32: "+v)}return E}function parse64I(v){var E;if(isHexLiteral(v)){E=$.default.fromString(v,false,16)}else if(isDecimalExponentLiteral(v)){throw new Error("This number literal format is yet to be implemented.")}else{E=$.default.fromString(v)}return{high:E.high,low:E.low}}var q=/^\+?-?nan/;var G=/^\+?-?inf/;function isInfLiteral(v){return G.test(v.toLowerCase())}function isNanLiteral(v){return q.test(v.toLowerCase())}function isDecimalExponentLiteral(v){return!isHexLiteral(v)&&v.toUpperCase().includes("E")}function isHexLiteral(v){return v.substring(0,2).toUpperCase()==="0X"||v.substring(0,3).toUpperCase()==="-0X"}},56811:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});Object.defineProperty(E,"getSectionForNode",{enumerable:true,get:function get(){return $.getSectionForNode}});E["default"]=void 0;var $=R(16862);var j="illegal";var N=[0,97,115,109];var q=[1,0,0,0];function invertMap(v){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(v){return v};var R={};var $=Object.keys(v);for(var j=0,N=$.length;j<N;j++){R[E(v[$[j]])]=$[j]}return R}function createSymbolObject(v,E){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;return{name:v,object:E,numberOfArgs:R}}function createSymbol(v){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:v,numberOfArgs:E}}var G={func:96,result:64};var ie={0:"Func",1:"Table",2:"Mem",3:"Global"};var ae=invertMap(ie);var ce={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var le=invertMap(ce);var me={112:"anyfunc"};var _e=Object.assign({},ce,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var Ie={0:"const",1:"var"};var Me=invertMap(Ie);var Oe={0:"func",1:"table",2:"mem",3:"global"};var Te={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var Ne={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:j,7:j,8:j,9:j,10:j,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:j,19:j,20:j,21:j,22:j,23:j,24:j,25:j,26:createSymbol("drop"),27:createSymbol("select"),28:j,29:j,30:j,31:j,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:j,38:j,39:j,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var Be=invertMap(Ne,(function(v){if(typeof v.object==="string"){return"".concat(v.object,".").concat(v.name)}return v.name}));var Le={symbolsByByte:Ne,sections:Te,magicModuleHeader:N,moduleVersion:q,types:G,valtypes:ce,exportTypes:ie,blockTypes:_e,tableTypes:me,globalTypes:Ie,importTypes:Oe,valtypesByString:le,globalTypesByString:Me,exportTypesByName:ae,symbolsByName:Be};E["default"]=Le},16862:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.getSectionForNode=getSectionForNode;function getSectionForNode(v){switch(v.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},28596:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.createEmptySection=createEmptySection;var $=R(72970);var j=R(44284);var N=_interopRequireDefault(R(56811));var q=_interopRequireWildcard(R(88571));function _interopRequireWildcard(v){if(v&&v.__esModule){return v}else{var E={};if(v!=null){for(var R in v){if(Object.prototype.hasOwnProperty.call(v,R)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(v,R):{};if($.get||$.set){Object.defineProperty(E,R,$)}else{E[R]=v[R]}}}}E.default=v;return E}}function _interopRequireDefault(v){return v&&v.__esModule?v:{default:v}}function _typeof(v){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}function findLastSection(v,E){var R=N.default.sections[E];var $=v.body[0].metadata.sections;var j;var q=0;for(var G=0,ie=$.length;G<ie;G++){var ae=$[G];if(ae.section==="custom"){continue}var ce=N.default.sections[ae.section];if(R>q&&R<ce){return j}q=ce;j=ae}return j}function createEmptySection(v,E,R){var N=findLastSection(v,R);var G,ie;if(N==null||N.section==="custom"){G=8;ie=G}else{G=N.startOffset+N.size.value+1;ie=G}G+=1;var ae={line:-1,column:G};var ce={line:-1,column:G+1};var le=q.withLoc(q.numberLiteralFromRaw(1),ce,ae);var me={line:-1,column:ce.column};var _e={line:-1,column:ce.column+1};var Ie=q.withLoc(q.numberLiteralFromRaw(0),_e,me);var Me=q.sectionMetadata(R,G,le,Ie);var Oe=(0,$.encodeNode)(Me);E=(0,j.overrideBytesInBuffer)(E,G-1,ie,Oe);if(_typeof(v.body[0].metadata)==="object"){v.body[0].metadata.sections.push(Me);q.sortSectionMetadata(v.body[0])}var Te=+Oe.length;var Ne=false;q.traverse(v,{SectionMetadata:function SectionMetadata(E){if(E.node.section===R){Ne=true;return}if(Ne===true){q.shiftSection(v,E.node,Te)}}});return{uint8Buffer:E,sectionMetadata:Me}}},68597:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});Object.defineProperty(E,"resizeSectionByteSize",{enumerable:true,get:function get(){return $.resizeSectionByteSize}});Object.defineProperty(E,"resizeSectionVecSize",{enumerable:true,get:function get(){return $.resizeSectionVecSize}});Object.defineProperty(E,"createEmptySection",{enumerable:true,get:function get(){return j.createEmptySection}});Object.defineProperty(E,"removeSections",{enumerable:true,get:function get(){return N.removeSections}});var $=R(28189);var j=R(28596);var N=R(80882)},80882:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.removeSections=removeSections;var $=R(88571);var j=R(44284);function removeSections(v,E,R){var N=(0,$.getSectionMetadatas)(v,R);if(N.length===0){throw new Error("Section metadata not found")}return N.reverse().reduce((function(E,N){var q=N.startOffset-1;var G=R==="start"?N.size.loc.end.column+1:N.startOffset+N.size.value+1;var ie=-(G-q);var ae=false;(0,$.traverse)(v,{SectionMetadata:function SectionMetadata(E){if(E.node.section===R){ae=true;return E.remove()}if(ae===true){(0,$.shiftSection)(v,E.node,ie)}}});var ce=[];return(0,j.overrideBytesInBuffer)(E,q,G,ce)}),E)}},28189:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.resizeSectionByteSize=resizeSectionByteSize;E.resizeSectionVecSize=resizeSectionVecSize;var $=R(72970);var j=R(88571);var N=R(44284);function resizeSectionByteSize(v,E,R,q){var G=(0,j.getSectionMetadata)(v,R);if(typeof G==="undefined"){throw new Error("Section metadata not found")}if(typeof G.size.loc==="undefined"){throw new Error("SectionMetadata "+R+" has no loc")}var ie=G.size.loc.start.column;var ae=G.size.loc.end.column;var ce=G.size.value+q;var le=(0,$.encodeU32)(ce);G.size.value=ce;var me=ae-ie;var _e=le.length;if(_e!==me){var Ie=_e-me;G.size.loc.end.column=ie+_e;q+=Ie;G.vectorOfSize.loc.start.column+=Ie;G.vectorOfSize.loc.end.column+=Ie}var Me=false;(0,j.traverse)(v,{SectionMetadata:function SectionMetadata(E){if(E.node.section===R){Me=true;return}if(Me===true){(0,j.shiftSection)(v,E.node,q)}}});return(0,N.overrideBytesInBuffer)(E,ie,ae,le)}function resizeSectionVecSize(v,E,R,q){var G=(0,j.getSectionMetadata)(v,R);if(typeof G==="undefined"){throw new Error("Section metadata not found")}if(typeof G.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+R+" has no loc")}if(G.vectorOfSize.value===-1){return E}var ie=G.vectorOfSize.loc.start.column;var ae=G.vectorOfSize.loc.end.column;var ce=G.vectorOfSize.value+q;var le=(0,$.encodeU32)(ce);G.vectorOfSize.value=ce;G.vectorOfSize.loc.end.column=ie+le.length;return(0,N.overrideBytesInBuffer)(E,ie,ae,le)}},16508:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.encodeF32=encodeF32;E.encodeF64=encodeF64;E.decodeF32=decodeF32;E.decodeF64=decodeF64;E.DOUBLE_PRECISION_MANTISSA=E.SINGLE_PRECISION_MANTISSA=E.NUMBER_OF_BYTE_F64=E.NUMBER_OF_BYTE_F32=void 0;var $=R(62734);var j=4;E.NUMBER_OF_BYTE_F32=j;var N=8;E.NUMBER_OF_BYTE_F64=N;var q=23;E.SINGLE_PRECISION_MANTISSA=q;var G=52;E.DOUBLE_PRECISION_MANTISSA=G;function encodeF32(v){var E=[];(0,$.write)(E,v,0,true,q,j);return E}function encodeF64(v){var E=[];(0,$.write)(E,v,0,true,G,N);return E}function decodeF32(v){var E=Buffer.from(v);return(0,$.read)(E,0,true,q,j)}function decodeF64(v){var E=Buffer.from(v);return(0,$.read)(E,0,true,G,N)}},60998:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.extract=extract;E.inject=inject;E.getSign=getSign;E.highOrder=highOrder;function extract(v,E,R,$){if(R<0||R>32){throw new Error("Bad value for bitLength.")}if($===undefined){$=0}else if($!==0&&$!==1){throw new Error("Bad value for defaultBit.")}var j=$*255;var N=0;var q=E+R;var G=Math.floor(E/8);var ie=E%8;var ae=Math.floor(q/8);var ce=q%8;if(ce!==0){N=get(ae)&(1<<ce)-1}while(ae>G){ae--;N=N<<8|get(ae)}N>>>=ie;return N;function get(E){var R=v[E];return R===undefined?j:R}}function inject(v,E,R,$){if(R<0||R>32){throw new Error("Bad value for bitLength.")}var j=Math.floor((E+R-1)/8);if(E<0||j>=v.length){throw new Error("Index out of range.")}var N=Math.floor(E/8);var q=E%8;while(R>0){if($&1){v[N]|=1<<q}else{v[N]&=~(1<<q)}$>>=1;R--;q=(q+1)%8;if(q===0){N++}}}function getSign(v){return v[v.length-1]>>>7}function highOrder(v,E){var R=E.length;var $=(v^1)*255;while(R>0&&E[R-1]===$){R--}if(R===0){return-1}var j=E[R-1];var N=R*8-1;for(var q=7;q>0;q--){if((j>>q&1)===v){break}N--}return N}},92514:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.alloc=alloc;E.free=free;E.resize=resize;E.readInt=readInt;E.readUInt=readUInt;E.writeInt64=writeInt64;E.writeUInt64=writeUInt64;var R=[];var $=20;var j=-0x8000000000000000;var N=0x7ffffffffffffc00;var q=0xfffffffffffff800;var G=4294967296;var ie=0x10000000000000000;function lowestBit(v){return v&-v}function isLossyToAdd(v,E){if(E===0){return false}var R=lowestBit(E);var $=v+R;if($===v){return true}if($-R!==v){return true}return false}function alloc(v){var E=R[v];if(E){R[v]=undefined}else{E=new Buffer(v)}E.fill(0);return E}function free(v){var E=v.length;if(E<$){R[E]=v}}function resize(v,E){if(E===v.length){return v}var R=alloc(E);v.copy(R);free(v);return R}function readInt(v){var E=v.length;var R=v[E-1]<128;var $=R?0:-1;var j=false;if(E<7){for(var N=E-1;N>=0;N--){$=$*256+v[N]}}else{for(var q=E-1;q>=0;q--){var G=v[q];$*=256;if(isLossyToAdd($,G)){j=true}$+=G}}return{value:$,lossy:j}}function readUInt(v){var E=v.length;var R=0;var $=false;if(E<7){for(var j=E-1;j>=0;j--){R=R*256+v[j]}}else{for(var N=E-1;N>=0;N--){var q=v[N];R*=256;if(isLossyToAdd(R,q)){$=true}R+=q}}return{value:R,lossy:$}}function writeInt64(v,E){if(v<j||v>N){throw new Error("Value out of range.")}if(v<0){v+=ie}writeUInt64(v,E)}function writeUInt64(v,E){if(v<0||v>q){throw new Error("Value out of range.")}var R=v%G;var $=Math.floor(v/G);E.writeUInt32LE(R,0);E.writeUInt32LE($,4)}},41695:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.decodeInt64=decodeInt64;E.decodeUInt64=decodeUInt64;E.decodeInt32=decodeInt32;E.decodeUInt32=decodeUInt32;E.encodeU32=encodeU32;E.encodeI32=encodeI32;E.encodeI64=encodeI64;E.MAX_NUMBER_OF_BYTE_U64=E.MAX_NUMBER_OF_BYTE_U32=void 0;var $=_interopRequireDefault(R(58897));function _interopRequireDefault(v){return v&&v.__esModule?v:{default:v}}var j=5;E.MAX_NUMBER_OF_BYTE_U32=j;var N=10;E.MAX_NUMBER_OF_BYTE_U64=N;function decodeInt64(v,E){return $.default.decodeInt64(v,E)}function decodeUInt64(v,E){return $.default.decodeUInt64(v,E)}function decodeInt32(v,E){return $.default.decodeInt32(v,E)}function decodeUInt32(v,E){return $.default.decodeUInt32(v,E)}function encodeU32(v){return $.default.encodeUInt32(v)}function encodeI32(v){return $.default.encodeInt32(v)}function encodeI64(v){return $.default.encodeInt64(v)}},58897:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E["default"]=void 0;var $=_interopRequireDefault(R(85249));var j=_interopRequireWildcard(R(60998));var N=_interopRequireWildcard(R(92514));function _interopRequireWildcard(v){if(v&&v.__esModule){return v}else{var E={};if(v!=null){for(var R in v){if(Object.prototype.hasOwnProperty.call(v,R)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(v,R):{};if($.get||$.set){Object.defineProperty(E,R,$)}else{E[R]=v[R]}}}}E.default=v;return E}}function _interopRequireDefault(v){return v&&v.__esModule?v:{default:v}}var q=-2147483648;var G=2147483647;var ie=4294967295;function signedBitCount(v){return j.highOrder(j.getSign(v)^1,v)+2}function unsignedBitCount(v){var E=j.highOrder(1,v)+1;return E?E:1}function encodeBufferCommon(v,E){var R;var $;if(E){R=j.getSign(v);$=signedBitCount(v)}else{R=0;$=unsignedBitCount(v)}var q=Math.ceil($/7);var G=N.alloc(q);for(var ie=0;ie<q;ie++){var ae=j.extract(v,ie*7,7,R);G[ie]=ae|128}G[q-1]&=127;return G}function encodedLength(v,E){var R=0;while(v[E+R]>=128){R++}R++;if(E+R>v.length){}return R}function decodeBufferCommon(v,E,R){E=E===undefined?0:E;var $=encodedLength(v,E);var q=$*7;var G=Math.ceil(q/8);var ie=N.alloc(G);var ae=0;while($>0){j.inject(ie,ae,7,v[E]);ae+=7;E++;$--}var ce;var le;if(R){var me=ie[G-1];var _e=ae%8;if(_e!==0){var Ie=32-_e;me=ie[G-1]=me<<Ie>>Ie&255}ce=me>>7;le=ce*255}else{ce=0;le=0}while(G>1&&ie[G-1]===le&&(!R||ie[G-2]>>7===ce)){G--}ie=N.resize(ie,G);return{value:ie,nextIndex:E}}function encodeIntBuffer(v){return encodeBufferCommon(v,true)}function decodeIntBuffer(v,E){return decodeBufferCommon(v,E,true)}function encodeInt32(v){var E=N.alloc(4);E.writeInt32LE(v,0);var R=encodeIntBuffer(E);N.free(E);return R}function decodeInt32(v,E){var R=decodeIntBuffer(v,E);var $=N.readInt(R.value);var j=$.value;N.free(R.value);if(j<q||j>G){throw new Error("integer too large")}return{value:j,nextIndex:R.nextIndex}}function encodeInt64(v){var E=N.alloc(8);N.writeInt64(v,E);var R=encodeIntBuffer(E);N.free(E);return R}function decodeInt64(v,E){var R=decodeIntBuffer(v,E);var j=$.default.fromBytesLE(R.value,false);N.free(R.value);return{value:j,nextIndex:R.nextIndex,lossy:false}}function encodeUIntBuffer(v){return encodeBufferCommon(v,false)}function decodeUIntBuffer(v,E){return decodeBufferCommon(v,E,false)}function encodeUInt32(v){var E=N.alloc(4);E.writeUInt32LE(v,0);var R=encodeUIntBuffer(E);N.free(E);return R}function decodeUInt32(v,E){var R=decodeUIntBuffer(v,E);var $=N.readUInt(R.value);var j=$.value;N.free(R.value);if(j>ie){throw new Error("integer too large")}return{value:j,nextIndex:R.nextIndex}}function encodeUInt64(v){var E=N.alloc(8);N.writeUInt64(v,E);var R=encodeUIntBuffer(E);N.free(E);return R}function decodeUInt64(v,E){var R=decodeUIntBuffer(v,E);var j=$.default.fromBytesLE(R.value,true);N.free(R.value);return{value:j,nextIndex:R.nextIndex,lossy:false}}var ae={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};E["default"]=ae},58387:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.decode=decode;function _toConsumableArray(v){if(Array.isArray(v)){for(var E=0,R=new Array(v.length);E<v.length;E++){R[E]=v[E]}return R}else{return Array.from(v)}}function _toArray(v){return Array.isArray(v)?v:Array.from(v)}function con(v){if((v&192)===128){return v&63}else{throw new Error("invalid UTF-8 encoding")}}function code(v,E){if(E<v||55296<=E&&E<57344||E>=65536){throw new Error("invalid UTF-8 encoding")}else{return E}}function decode(v){return _decode(v).map((function(v){return String.fromCharCode(v)})).join("")}function _decode(v){if(v.length===0){return[]}{var E=_toArray(v),R=E[0],$=E.slice(1);if(R<128){return[code(0,R)].concat(_toConsumableArray(_decode($)))}if(R<192){throw new Error("invalid UTF-8 encoding")}}{var j=_toArray(v),N=j[0],q=j[1],G=j.slice(2);if(N<224){return[code(128,((N&31)<<6)+con(q))].concat(_toConsumableArray(_decode(G)))}}{var ie=_toArray(v),ae=ie[0],ce=ie[1],le=ie[2],me=ie.slice(3);if(ae<240){return[code(2048,((ae&15)<<12)+(con(ce)<<6)+con(le))].concat(_toConsumableArray(_decode(me)))}}{var _e=_toArray(v),Ie=_e[0],Me=_e[1],Oe=_e[2],Te=_e[3],Ne=_e.slice(4);if(Ie<248){return[code(65536,(((Ie&7)<<18)+con(Me)<<12)+(con(Oe)<<6)+con(Te))].concat(_toConsumableArray(_decode(Ne)))}}throw new Error("invalid UTF-8 encoding")}},1520:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.encode=encode;function _toConsumableArray(v){if(Array.isArray(v)){for(var E=0,R=new Array(v.length);E<v.length;E++){R[E]=v[E]}return R}else{return Array.from(v)}}function _toArray(v){return Array.isArray(v)?v:Array.from(v)}function con(v){return 128|v&63}function encode(v){var E=v.split("").map((function(v){return v.charCodeAt(0)}));return _encode(E)}function _encode(v){if(v.length===0){return[]}var E=_toArray(v),R=E[0],$=E.slice(1);if(R<0){throw new Error("utf8")}if(R<128){return[R].concat(_toConsumableArray(_encode($)))}if(R<2048){return[192|R>>>6,con(R)].concat(_toConsumableArray(_encode($)))}if(R<65536){return[224|R>>>12,con(R>>>6),con(R)].concat(_toConsumableArray(_encode($)))}if(R<1114112){return[240|R>>>18,con(R>>>12),con(R>>>6),con(R)].concat(_toConsumableArray(_encode($)))}throw new Error("utf8")}},37202:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});Object.defineProperty(E,"decode",{enumerable:true,get:function get(){return $.decode}});Object.defineProperty(E,"encode",{enumerable:true,get:function get(){return j.encode}});var $=R(58387);var j=R(1520)},49506:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.applyOperations=applyOperations;var $=R(72970);var j=R(22239);var N=R(88571);var q=R(68597);var G=R(44284);var ie=R(56811);function _sliceIterator(v,E){var R=[];var $=true;var j=false;var N=undefined;try{for(var q=v[Symbol.iterator](),G;!($=(G=q.next()).done);$=true){R.push(G.value);if(E&&R.length===E)break}}catch(v){j=true;N=v}finally{try{if(!$&&q["return"]!=null)q["return"]()}finally{if(j)throw N}}return R}function _slicedToArray(v,E){if(Array.isArray(v)){return v}else if(Symbol.iterator in Object(v)){return _sliceIterator(v,E)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(v,E){(0,N.assertHasLoc)(v);v.loc.start.column+=E;v.loc.end.column+=E}function applyUpdate(v,E,R){var q=_slicedToArray(R,2),ae=q[0],ce=q[1];var le=0;(0,N.assertHasLoc)(ae);var me=(0,ie.getSectionForNode)(ce);var _e=(0,$.encodeNode)(ce);E=(0,G.overrideBytesInBuffer)(E,ae.loc.start.column,ae.loc.end.column,_e);if(me==="code"){(0,N.traverse)(v,{Func:function Func(v){var R=v.node;var q=R.body.find((function(v){return v===ce}))!==undefined;if(q===true){(0,N.assertHasLoc)(R);var ie=(0,$.encodeNode)(ae).length;var le=_e.length-ie;if(le!==0){var me=R.metadata.bodySize+le;var Ie=(0,j.encodeU32)(me);var Me=R.loc.start.column;var Oe=Me+1;E=(0,G.overrideBytesInBuffer)(E,Me,Oe,Ie)}}}})}var Ie=_e.length-(ae.loc.end.column-ae.loc.start.column);ce.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};ce.loc.start.column=ae.loc.start.column;ce.loc.end.column=ae.loc.start.column+_e.length;return{uint8Buffer:E,deltaBytes:Ie,deltaElements:le}}function applyDelete(v,E,R){var $=-1;(0,N.assertHasLoc)(R);var j=(0,ie.getSectionForNode)(R);if(j==="start"){var ae=(0,N.getSectionMetadata)(v,"start");E=(0,q.removeSections)(v,E,"start");var ce=-(ae.size.value+1);return{uint8Buffer:E,deltaBytes:ce,deltaElements:$}}var le=[];E=(0,G.overrideBytesInBuffer)(E,R.loc.start.column,R.loc.end.column,le);var me=-(R.loc.end.column-R.loc.start.column);return{uint8Buffer:E,deltaBytes:me,deltaElements:$}}function applyAdd(v,E,R){var j=+1;var ae=(0,ie.getSectionForNode)(R);var ce=(0,N.getSectionMetadata)(v,ae);if(typeof ce==="undefined"){var le=(0,q.createEmptySection)(v,E,ae);E=le.uint8Buffer;ce=le.sectionMetadata}if((0,N.isFunc)(R)){var me=R.body;if(me.length===0||me[me.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,N.isGlobal)(R)){var me=R.init;if(me.length===0||me[me.length-1].id!=="end"){throw new Error("expressions must be ended")}}var _e=(0,$.encodeNode)(R);var Ie=(0,N.getEndOfSection)(ce);var Me=Ie;var Oe=_e.length;E=(0,G.overrideBytesInBuffer)(E,Ie,Me,_e);R.loc={start:{line:-1,column:Ie},end:{line:-1,column:Ie+Oe}};if(R.type==="Func"){var Te=_e[0];R.metadata={bodySize:Te}}if(R.type!=="IndexInFuncSection"){(0,N.orderedInsertNode)(v.body[0],R)}return{uint8Buffer:E,deltaBytes:Oe,deltaElements:j}}function applyOperations(v,E,R){R.forEach((function($){var j;var N;switch($.kind){case"update":j=applyUpdate(v,E,[$.oldNode,$.node]);N=(0,ie.getSectionForNode)($.node);break;case"delete":j=applyDelete(v,E,$.node);N=(0,ie.getSectionForNode)($.node);break;case"add":j=applyAdd(v,E,$.node);N=(0,ie.getSectionForNode)($.node);break;default:throw new Error("Unknown operation")}if(j.deltaElements!==0&&N!=="start"){var G=j.uint8Buffer.length;j.uint8Buffer=(0,q.resizeSectionVecSize)(v,j.uint8Buffer,N,j.deltaElements);j.deltaBytes+=j.uint8Buffer.length-G}if(j.deltaBytes!==0&&N!=="start"){var ae=j.uint8Buffer.length;j.uint8Buffer=(0,q.resizeSectionByteSize)(v,j.uint8Buffer,N,j.deltaBytes);j.deltaBytes+=j.uint8Buffer.length-ae}if(j.deltaBytes!==0){R.forEach((function(v){switch(v.kind){case"update":shiftLocNodeByDelta(v.oldNode,j.deltaBytes);break;case"delete":shiftLocNodeByDelta(v.node,j.deltaBytes);break}}))}E=j.uint8Buffer}));return E}},21025:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.edit=edit;E.editWithAST=editWithAST;E.add=add;E.addWithAST=addWithAST;var $=R(52227);var j=R(88571);var N=R(25099);var q=R(62654);var G=_interopRequireWildcard(R(56811));var ie=R(49506);function _interopRequireWildcard(v){if(v&&v.__esModule){return v}else{var E={};if(v!=null){for(var R in v){if(Object.prototype.hasOwnProperty.call(v,R)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(v,R):{};if($.get||$.set){Object.defineProperty(E,R,$)}else{E[R]=v[R]}}}}E.default=v;return E}}function hashNode(v){return JSON.stringify(v)}function preprocess(v){var E=(0,q.shrinkPaddedLEB128)(new Uint8Array(v));return E.buffer}function sortBySectionOrder(v){var E=new Map;var R=true;var $=false;var j=undefined;try{for(var N=v[Symbol.iterator](),q;!(R=(q=N.next()).done);R=true){var ie=q.value;E.set(ie,E.size)}}catch(v){$=true;j=v}finally{try{if(!R&&N.return!=null){N.return()}}finally{if($){throw j}}}v.sort((function(v,R){var $=(0,G.getSectionForNode)(v);var j=(0,G.getSectionForNode)(R);var N=G.default.sections[$];var q=G.default.sections[j];if(typeof N!=="number"||typeof q!=="number"){throw new Error("Section id not found")}if(N===q){return E.get(v)-E.get(R)}return N-q}))}function edit(v,E){v=preprocess(v);var R=(0,$.decode)(v);return editWithAST(R,v,E)}function editWithAST(v,E,R){var $=[];var q=new Uint8Array(E);var G;function before(v,E){G=(0,N.cloneNode)(E.node)}function after(v,E){if(E.node._deleted===true){$.push({kind:"delete",node:E.node})}else if(hashNode(G)!==hashNode(E.node)){$.push({kind:"update",oldNode:G,node:E.node})}}(0,j.traverse)(v,R,before,after);q=(0,ie.applyOperations)(v,q,$);return q.buffer}function add(v,E){v=preprocess(v);var R=(0,$.decode)(v);return addWithAST(R,v,E)}function addWithAST(v,E,R){sortBySectionOrder(R);var $=new Uint8Array(E);var j=R.map((function(v){return{kind:"add",node:v}}));$=(0,ie.applyOperations)(v,$,j);return $.buffer}},22239:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.encodeVersion=encodeVersion;E.encodeHeader=encodeHeader;E.encodeU32=encodeU32;E.encodeI32=encodeI32;E.encodeI64=encodeI64;E.encodeVec=encodeVec;E.encodeValtype=encodeValtype;E.encodeMutability=encodeMutability;E.encodeUTF8Vec=encodeUTF8Vec;E.encodeLimits=encodeLimits;E.encodeModuleImport=encodeModuleImport;E.encodeSectionMetadata=encodeSectionMetadata;E.encodeCallInstruction=encodeCallInstruction;E.encodeCallIndirectInstruction=encodeCallIndirectInstruction;E.encodeModuleExport=encodeModuleExport;E.encodeTypeInstruction=encodeTypeInstruction;E.encodeInstr=encodeInstr;E.encodeStringLiteral=encodeStringLiteral;E.encodeGlobal=encodeGlobal;E.encodeFuncBody=encodeFuncBody;E.encodeIndexInFuncSection=encodeIndexInFuncSection;E.encodeElem=encodeElem;var $=_interopRequireWildcard(R(41695));var j=_interopRequireWildcard(R(16508));var N=_interopRequireWildcard(R(37202));var q=_interopRequireDefault(R(56811));var G=R(72970);function _interopRequireDefault(v){return v&&v.__esModule?v:{default:v}}function _interopRequireWildcard(v){if(v&&v.__esModule){return v}else{var E={};if(v!=null){for(var R in v){if(Object.prototype.hasOwnProperty.call(v,R)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(v,R):{};if($.get||$.set){Object.defineProperty(E,R,$)}else{E[R]=v[R]}}}}E.default=v;return E}}function _toConsumableArray(v){if(Array.isArray(v)){for(var E=0,R=new Array(v.length);E<v.length;E++){R[E]=v[E]}return R}else{return Array.from(v)}}function assertNotIdentifierNode(v){if(v.type==="Identifier"){throw new Error("Unsupported node Identifier")}}function encodeVersion(v){var E=q.default.moduleVersion;E[0]=v;return E}function encodeHeader(){return q.default.magicModuleHeader}function encodeU32(v){var E=new Uint8Array($.encodeU32(v));var R=_toConsumableArray(E);return R}function encodeI32(v){var E=new Uint8Array($.encodeI32(v));var R=_toConsumableArray(E);return R}function encodeI64(v){var E=new Uint8Array($.encodeI64(v));var R=_toConsumableArray(E);return R}function encodeVec(v){var E=encodeU32(v.length);return _toConsumableArray(E).concat(_toConsumableArray(v))}function encodeValtype(v){var E=q.default.valtypesByString[v];if(typeof E==="undefined"){throw new Error("Unknown valtype: "+v)}return parseInt(E,10)}function encodeMutability(v){var E=q.default.globalTypesByString[v];if(typeof E==="undefined"){throw new Error("Unknown mutability: "+v)}return parseInt(E,10)}function encodeUTF8Vec(v){return encodeVec(N.encode(v))}function encodeLimits(v){var E=[];if(typeof v.max==="number"){E.push(1);E.push.apply(E,_toConsumableArray(encodeU32(v.min)));E.push.apply(E,_toConsumableArray(encodeU32(v.max)))}else{E.push(0);E.push.apply(E,_toConsumableArray(encodeU32(v.min)))}return E}function encodeModuleImport(v){var E=[];E.push.apply(E,_toConsumableArray(encodeUTF8Vec(v.module)));E.push.apply(E,_toConsumableArray(encodeUTF8Vec(v.name)));switch(v.descr.type){case"GlobalType":{E.push(3);E.push(encodeValtype(v.descr.valtype));E.push(encodeMutability(v.descr.mutability));break}case"Memory":{E.push(2);E.push.apply(E,_toConsumableArray(encodeLimits(v.descr.limits)));break}case"Table":{E.push(1);E.push(112);E.push.apply(E,_toConsumableArray(encodeLimits(v.descr.limits)));break}case"FuncImportDescr":{E.push(0);assertNotIdentifierNode(v.descr.id);E.push.apply(E,_toConsumableArray(encodeU32(v.descr.id.value)));break}default:throw new Error("Unsupport operation: encode module import of type: "+v.descr.type)}return E}function encodeSectionMetadata(v){var E=[];var R=q.default.sections[v.section];if(typeof R==="undefined"){throw new Error("Unknown section: "+v.section)}if(v.section==="start"){throw new Error("Unsupported section encoding of type start")}E.push(R);E.push.apply(E,_toConsumableArray(encodeU32(v.size.value)));E.push.apply(E,_toConsumableArray(encodeU32(v.vectorOfSize.value)));return E}function encodeCallInstruction(v){var E=[];assertNotIdentifierNode(v.index);E.push(16);E.push.apply(E,_toConsumableArray(encodeU32(v.index.value)));return E}function encodeCallIndirectInstruction(v){var E=[];assertNotIdentifierNode(v.index);E.push(17);E.push.apply(E,_toConsumableArray(encodeU32(v.index.value)));E.push(0);return E}function encodeModuleExport(v){var E=[];assertNotIdentifierNode(v.descr.id);var R=q.default.exportTypesByName[v.descr.exportType];if(typeof R==="undefined"){throw new Error("Unknown export of type: "+v.descr.exportType)}var $=parseInt(R,10);E.push.apply(E,_toConsumableArray(encodeUTF8Vec(v.name)));E.push($);E.push.apply(E,_toConsumableArray(encodeU32(v.descr.id.value)));return E}function encodeTypeInstruction(v){var E=[96];var R=v.functype.params.map((function(v){return v.valtype})).map(encodeValtype);var $=v.functype.results.map(encodeValtype);E.push.apply(E,_toConsumableArray(encodeVec(R)));E.push.apply(E,_toConsumableArray(encodeVec($)));return E}function encodeInstr(v){var E=[];var R=v.id;if(typeof v.object==="string"){R="".concat(v.object,".").concat(String(v.id))}var $=q.default.symbolsByName[R];if(typeof $==="undefined"){throw new Error("encodeInstr: unknown instruction "+JSON.stringify(R))}var N=parseInt($,10);E.push(N);if(v.args){v.args.forEach((function(R){var $=encodeU32;if(v.object==="i32"){$=encodeI32}if(v.object==="i64"){$=encodeI64}if(v.object==="f32"){$=j.encodeF32}if(v.object==="f64"){$=j.encodeF64}if(R.type==="NumberLiteral"||R.type==="FloatLiteral"||R.type==="LongNumberLiteral"){E.push.apply(E,_toConsumableArray($(R.value)))}else{throw new Error("Unsupported instruction argument encoding "+JSON.stringify(R.type))}}))}return E}function encodeExpr(v){var E=[];v.forEach((function(v){var R=(0,G.encodeNode)(v);E.push.apply(E,_toConsumableArray(R))}));return E}function encodeStringLiteral(v){return encodeUTF8Vec(v.value)}function encodeGlobal(v){var E=[];var R=v.globalType,$=R.valtype,j=R.mutability;E.push(encodeValtype($));E.push(encodeMutability(j));E.push.apply(E,_toConsumableArray(encodeExpr(v.init)));return E}function encodeFuncBody(v){var E=[];E.push(-1);var R=encodeVec([]);E.push.apply(E,_toConsumableArray(R));var $=encodeExpr(v.body);E[0]=$.length+R.length;E.push.apply(E,_toConsumableArray($));return E}function encodeIndexInFuncSection(v){assertNotIdentifierNode(v.index);return encodeU32(v.index.value)}function encodeElem(v){var E=[];assertNotIdentifierNode(v.table);E.push.apply(E,_toConsumableArray(encodeU32(v.table.value)));E.push.apply(E,_toConsumableArray(encodeExpr(v.offset)));var R=v.funcs.reduce((function(v,E){return _toConsumableArray(v).concat(_toConsumableArray(encodeU32(E.value)))}),[]);E.push.apply(E,_toConsumableArray(encodeVec(R)));return E}},72970:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.encodeNode=encodeNode;E.encodeU32=void 0;var $=_interopRequireWildcard(R(22239));function _interopRequireWildcard(v){if(v&&v.__esModule){return v}else{var E={};if(v!=null){for(var R in v){if(Object.prototype.hasOwnProperty.call(v,R)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(v,R):{};if($.get||$.set){Object.defineProperty(E,R,$)}else{E[R]=v[R]}}}}E.default=v;return E}}function encodeNode(v){switch(v.type){case"ModuleImport":return $.encodeModuleImport(v);case"SectionMetadata":return $.encodeSectionMetadata(v);case"CallInstruction":return $.encodeCallInstruction(v);case"CallIndirectInstruction":return $.encodeCallIndirectInstruction(v);case"TypeInstruction":return $.encodeTypeInstruction(v);case"Instr":return $.encodeInstr(v);case"ModuleExport":return $.encodeModuleExport(v);case"Global":return $.encodeGlobal(v);case"Func":return $.encodeFuncBody(v);case"IndexInFuncSection":return $.encodeIndexInFuncSection(v);case"StringLiteral":return $.encodeStringLiteral(v);case"Elem":return $.encodeElem(v);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(v.type))}}var j=$.encodeU32;E.encodeU32=j},62654:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.shrinkPaddedLEB128=shrinkPaddedLEB128;var $=R(52227);var j=R(74657);function _typeof(v){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(v){return typeof v}}else{_typeof=function _typeof(v){return v&&typeof Symbol==="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v}}return _typeof(v)}function _classCallCheck(v,E){if(!(v instanceof E)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(v,E){if(E&&(_typeof(E)==="object"||typeof E==="function")){return E}if(!v){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return v}function _inherits(v,E){if(typeof E!=="function"&&E!==null){throw new TypeError("Super expression must either be null or a function")}v.prototype=Object.create(E&&E.prototype,{constructor:{value:v,enumerable:false,writable:true,configurable:true}});if(E)Object.setPrototypeOf?Object.setPrototypeOf(v,E):v.__proto__=E}var N=function(v){_inherits(OptimizerError,v);function OptimizerError(v,E){var R;_classCallCheck(this,OptimizerError);R=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+v+": "+E.message));R.stack=E.stack;return R}return OptimizerError}(Error);var q={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(v){try{var E=(0,$.decode)(v.buffer,q);return(0,j.shrinkPaddedLEB128)(E,v)}catch(v){throw new N("shrinkPaddedLEB128",v)}}},74657:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.shrinkPaddedLEB128=shrinkPaddedLEB128;var $=R(88571);var j=R(22239);var N=R(44284);function shiftFollowingSections(v,E,R){var j=E.section;var N=false;(0,$.traverse)(v,{SectionMetadata:function SectionMetadata(E){if(E.node.section===j){N=true;return}if(N===true){(0,$.shiftSection)(v,E.node,R)}}})}function shrinkPaddedLEB128(v,E){(0,$.traverse)(v,{SectionMetadata:function SectionMetadata(R){var $=R.node;{var q=(0,j.encodeU32)($.size.value);var G=q.length;var ie=$.size.loc.start.column;var ae=$.size.loc.end.column;var ce=ae-ie;if(G!==ce){var le=ce-G;E=(0,N.overrideBytesInBuffer)(E,ie,ae,q);shiftFollowingSections(v,$,-le)}}}});return E}},27069:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.decode=decode;var $=R(5770);var j=_interopRequireWildcard(R(16508));var N=_interopRequireWildcard(R(37202));var q=_interopRequireWildcard(R(88571));var G=R(41695);var ie=_interopRequireDefault(R(56811));function _interopRequireDefault(v){return v&&v.__esModule?v:{default:v}}function _interopRequireWildcard(v){if(v&&v.__esModule){return v}else{var E={};if(v!=null){for(var R in v){if(Object.prototype.hasOwnProperty.call(v,R)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(v,R):{};if($.get||$.set){Object.defineProperty(E,R,$)}else{E[R]=v[R]}}}}E.default=v;return E}}function _toConsumableArray(v){if(Array.isArray(v)){for(var E=0,R=new Array(v.length);E<v.length;E++){R[E]=v[E]}return R}else{return Array.from(v)}}function toHex(v){return"0x"+Number(v).toString(16)}function byteArrayEq(v,E){if(v.length!==E.length){return false}for(var R=0;R<v.length;R++){if(v[R]!==E[R]){return false}}return true}function decode(v,E){var R=new Uint8Array(v);var ae=q.getUniqueNameGenerator();var ce=0;function getPosition(){return{line:-1,column:ce}}function dump(v,R){if(E.dump===false)return;var $="\t\t\t\t\t\t\t\t\t\t";var j="";if(v.length<5){j=v.map(toHex).join(" ")}else{j="..."}console.log(toHex(ce)+":\t",j,$,";",R)}function dumpSep(v){if(E.dump===false)return;console.log(";",v)}var le={elementsInFuncSection:[],elementsInExportSection:[],elementsInCodeSection:[],memoriesInModule:[],typesInModule:[],functionsInModule:[],tablesInModule:[],globalsInModule:[]};function isEOF(){return ce>=R.length}function eatBytes(v){ce=ce+v}function readBytesAtOffset(v,E){var $=[];for(var j=0;j<E;j++){$.push(R[v+j])}return $}function readBytes(v){return readBytesAtOffset(ce,v)}function readF64(){var v=readBytes(j.NUMBER_OF_BYTE_F64);var E=j.decodeF64(v);if(Math.sign(E)*E===Infinity){return{value:Math.sign(E),inf:true,nextIndex:j.NUMBER_OF_BYTE_F64}}if(isNaN(E)){var R=v[v.length-1]>>7?-1:1;var $=0;for(var N=0;N<v.length-2;++N){$+=v[N]*Math.pow(256,N)}$+=v[v.length-2]%16*Math.pow(256,v.length-2);return{value:R*$,nan:true,nextIndex:j.NUMBER_OF_BYTE_F64}}return{value:E,nextIndex:j.NUMBER_OF_BYTE_F64}}function readF32(){var v=readBytes(j.NUMBER_OF_BYTE_F32);var E=j.decodeF32(v);if(Math.sign(E)*E===Infinity){return{value:Math.sign(E),inf:true,nextIndex:j.NUMBER_OF_BYTE_F32}}if(isNaN(E)){var R=v[v.length-1]>>7?-1:1;var $=0;for(var N=0;N<v.length-2;++N){$+=v[N]*Math.pow(256,N)}$+=v[v.length-2]%128*Math.pow(256,v.length-2);return{value:R*$,nan:true,nextIndex:j.NUMBER_OF_BYTE_F32}}return{value:E,nextIndex:j.NUMBER_OF_BYTE_F32}}function readUTF8String(){var v=readU32();var E=v.value;dump([E],"string length");var R=readBytesAtOffset(ce+v.nextIndex,E);var $=N.decode(R);return{value:$,nextIndex:E+v.nextIndex}}function readU32(){var v=readBytes(G.MAX_NUMBER_OF_BYTE_U32);var E=Buffer.from(v);return(0,G.decodeUInt32)(E)}function readVaruint32(){var v=readBytes(4);var E=Buffer.from(v);return(0,G.decodeUInt32)(E)}function readVaruint7(){var v=readBytes(1);var E=Buffer.from(v);return(0,G.decodeUInt32)(E)}function read32(){var v=readBytes(G.MAX_NUMBER_OF_BYTE_U32);var E=Buffer.from(v);return(0,G.decodeInt32)(E)}function read64(){var v=readBytes(G.MAX_NUMBER_OF_BYTE_U64);var E=Buffer.from(v);return(0,G.decodeInt64)(E)}function readU64(){var v=readBytes(G.MAX_NUMBER_OF_BYTE_U64);var E=Buffer.from(v);return(0,G.decodeUInt64)(E)}function readByte(){return readBytes(1)[0]}function parseModuleHeader(){if(isEOF()===true||ce+4>R.length){throw new Error("unexpected end")}var v=readBytes(4);if(byteArrayEq(ie.default.magicModuleHeader,v)===false){throw new $.CompileError("magic header not detected")}dump(v,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||ce+4>R.length){throw new Error("unexpected end")}var v=readBytes(4);if(byteArrayEq(ie.default.moduleVersion,v)===false){throw new $.CompileError("unknown binary version")}dump(v,"wasm version");eatBytes(4)}function parseVec(v){var E=readU32();var R=E.value;eatBytes(E.nextIndex);dump([R],"number");if(R===0){return[]}var j=[];for(var N=0;N<R;N++){var q=readByte();eatBytes(1);var G=v(q);dump([q],G);if(typeof G==="undefined"){throw new $.CompileError("Internal failure: parseVec could not cast the value")}j.push(G)}return j}function parseTypeSection(v){var E=[];dump([v],"num types");for(var R=0;R<v;R++){var $=getPosition();dumpSep("type "+R);var j=readByte();eatBytes(1);if(j==ie.default.types.func){dump([j],"func");var N=parseVec((function(v){return ie.default.valtypes[v]}));var G=N.map((function(v){return q.funcParam(v)}));var ae=parseVec((function(v){return ie.default.valtypes[v]}));E.push(function(){var v=getPosition();return q.withLoc(q.typeInstruction(undefined,q.signature(G,ae)),v,$)}());le.typesInModule.push({params:G,result:ae})}else{throw new Error("Unsupported type: "+toHex(j))}}return E}function parseImportSection(v){var E=[];for(var R=0;R<v;R++){dumpSep("import header "+R);var j=getPosition();var N=readUTF8String();eatBytes(N.nextIndex);dump([],"module name (".concat(N.value,")"));var G=readUTF8String();eatBytes(G.nextIndex);dump([],"name (".concat(G.value,")"));var ce=readByte();eatBytes(1);var me=ie.default.importTypes[ce];dump([ce],"import kind");if(typeof me==="undefined"){throw new $.CompileError("Unknown import description type: "+toHex(ce))}var _e=void 0;if(me==="func"){var Ie=readU32();var Me=Ie.value;eatBytes(Ie.nextIndex);dump([Me],"type index");var Oe=le.typesInModule[Me];if(typeof Oe==="undefined"){throw new $.CompileError("function signature not found (".concat(Me,")"))}var Te=ae("func");_e=q.funcImportDescr(Te,q.signature(Oe.params,Oe.result));le.functionsInModule.push({id:q.identifier(G.value),signature:Oe,isExternal:true})}else if(me==="global"){_e=parseGlobalType();var Ne=q.global(_e,[]);le.globalsInModule.push(Ne)}else if(me==="table"){_e=parseTableType(R)}else if(me==="mem"){var Be=parseMemoryType(0);le.memoriesInModule.push(Be);_e=Be}else{throw new $.CompileError("Unsupported import of type: "+me)}E.push(function(){var v=getPosition();return q.withLoc(q.moduleImport(N.value,G.value,_e),v,j)}())}return E}function parseFuncSection(v){dump([v],"num funcs");for(var E=0;E<v;E++){var R=readU32();var j=R.value;eatBytes(R.nextIndex);dump([j],"type index");var N=le.typesInModule[j];if(typeof N==="undefined"){throw new $.CompileError("function signature not found (".concat(j,")"))}var G=q.withRaw(q.identifier(ae("func")),"");le.functionsInModule.push({id:G,signature:N,isExternal:false})}}function parseExportSection(v){dump([v],"num exports");for(var E=0;E<v;E++){var R=getPosition();var j=readUTF8String();eatBytes(j.nextIndex);dump([],"export name (".concat(j.value,")"));var N=readByte();eatBytes(1);dump([N],"export kind");var G=readU32();var ae=G.value;eatBytes(G.nextIndex);dump([ae],"export index");var ce=void 0,me=void 0;if(ie.default.exportTypes[N]==="Func"){var _e=le.functionsInModule[ae];if(typeof _e==="undefined"){throw new $.CompileError("unknown function (".concat(ae,")"))}ce=q.numberLiteralFromRaw(ae,String(ae));me=_e.signature}else if(ie.default.exportTypes[N]==="Table"){var Ie=le.tablesInModule[ae];if(typeof Ie==="undefined"){throw new $.CompileError("unknown table ".concat(ae))}ce=q.numberLiteralFromRaw(ae,String(ae));me=null}else if(ie.default.exportTypes[N]==="Mem"){var Me=le.memoriesInModule[ae];if(typeof Me==="undefined"){throw new $.CompileError("unknown memory ".concat(ae))}ce=q.numberLiteralFromRaw(ae,String(ae));me=null}else if(ie.default.exportTypes[N]==="Global"){var Oe=le.globalsInModule[ae];if(typeof Oe==="undefined"){throw new $.CompileError("unknown global ".concat(ae))}ce=q.numberLiteralFromRaw(ae,String(ae));me=null}else{console.warn("Unsupported export type: "+toHex(N));return}var Te=getPosition();le.elementsInExportSection.push({name:j.value,type:ie.default.exportTypes[N],signature:me,id:ce,index:ae,endLoc:Te,startLoc:R})}}function parseCodeSection(v){dump([v],"number functions");for(var E=0;E<v;E++){var R=getPosition();dumpSep("function body "+E);var j=readU32();eatBytes(j.nextIndex);dump([j.value],"function body size");var N=[];var G=readU32();var ae=G.value;eatBytes(G.nextIndex);dump([ae],"num locals");var ce=[];for(var me=0;me<ae;me++){var _e=getPosition();var Ie=readU32();var Me=Ie.value;eatBytes(Ie.nextIndex);dump([Me],"num local");var Oe=readByte();eatBytes(1);var Te=ie.default.valtypes[Oe];var Ne=[];for(var Be=0;Be<Me;Be++){Ne.push(q.valtypeLiteral(Te))}var Le=function(){var v=getPosition();return q.withLoc(q.instruction("local",Ne),v,_e)}();ce.push(Le);dump([Oe],Te);if(typeof Te==="undefined"){throw new $.CompileError("Unexpected valtype: "+toHex(Oe))}}N.push.apply(N,ce);parseInstructionBlock(N);var qe=getPosition();le.elementsInCodeSection.push({code:N,locals:ce,endLoc:qe,startLoc:R,bodySize:j.value})}}function parseInstructionBlock(v){while(true){var E=getPosition();var R=false;var j=readByte();eatBytes(1);if(j===254){j=65024+readByte();eatBytes(1)}var N=ie.default.symbolsByByte[j];if(typeof N==="undefined"){throw new $.CompileError("Unexpected instruction: "+toHex(j))}if(typeof N.object==="string"){dump([j],"".concat(N.object,".").concat(N.name))}else{dump([j],N.name)}if(N.name==="end"){var G=function(){var v=getPosition();return q.withLoc(q.instruction(N.name),v,E)}();v.push(G);break}var ce=[];if(N.name==="loop"){var me=getPosition();var _e=readByte();eatBytes(1);var Ie=ie.default.blockTypes[_e];dump([_e],"blocktype");if(typeof Ie==="undefined"){throw new $.CompileError("Unexpected blocktype: "+toHex(_e))}var Me=[];parseInstructionBlock(Me);var Oe=q.withRaw(q.identifier(ae("loop")),"");var Te=function(){var v=getPosition();return q.withLoc(q.loopInstruction(Oe,Ie,Me),v,me)}();v.push(Te);R=true}else if(N.name==="if"){var Ne=getPosition();var Be=readByte();eatBytes(1);var Le=ie.default.blockTypes[Be];dump([Be],"blocktype");if(typeof Le==="undefined"){throw new $.CompileError("Unexpected blocktype: "+toHex(Be))}var qe=q.withRaw(q.identifier(ae("if")),"");var Ue=[];parseInstructionBlock(Ue);var Ge=0;for(Ge=0;Ge<Ue.length;++Ge){var He=Ue[Ge];if(He.type==="Instr"&&He.id==="else"){break}}var We=Ue.slice(0,Ge);var Qe=Ue.slice(Ge+1);var Je=[];var Ve=function(){var v=getPosition();return q.withLoc(q.ifInstruction(qe,Je,Le,We,Qe),v,Ne)}();v.push(Ve);R=true}else if(N.name==="block"){var Ke=getPosition();var Xe=readByte();eatBytes(1);var Ye=ie.default.blockTypes[Xe];dump([Xe],"blocktype");if(typeof Ye==="undefined"){throw new $.CompileError("Unexpected blocktype: "+toHex(Xe))}var Ze=[];parseInstructionBlock(Ze);var et=q.withRaw(q.identifier(ae("block")),"");var tt=function(){var v=getPosition();return q.withLoc(q.blockInstruction(et,Ze,Ye),v,Ke)}();v.push(tt);R=true}else if(N.name==="call"){var nt=readU32();var st=nt.value;eatBytes(nt.nextIndex);dump([st],"index");var rt=function(){var v=getPosition();return q.withLoc(q.callInstruction(q.indexLiteral(st)),v,E)}();v.push(rt);R=true}else if(N.name==="call_indirect"){var ot=getPosition();var it=readU32();var at=it.value;eatBytes(it.nextIndex);dump([at],"type index");var ct=le.typesInModule[at];if(typeof ct==="undefined"){throw new $.CompileError("call_indirect signature not found (".concat(at,")"))}var lt=q.callIndirectInstruction(q.signature(ct.params,ct.result),[]);var ut=readU32();var pt=ut.value;eatBytes(ut.nextIndex);if(pt!==0){throw new $.CompileError("zero flag expected")}v.push(function(){var v=getPosition();return q.withLoc(lt,v,ot)}());R=true}else if(N.name==="br_table"){var dt=readU32();var ft=dt.value;eatBytes(dt.nextIndex);dump([ft],"num indices");for(var ht=0;ht<=ft;ht++){var mt=readU32();var gt=mt.value;eatBytes(mt.nextIndex);dump([gt],"index");ce.push(q.numberLiteralFromRaw(mt.value.toString(),"u32"))}}else if(j>=40&&j<=64){if(N.name==="grow_memory"||N.name==="current_memory"){var yt=readU32();var bt=yt.value;eatBytes(yt.nextIndex);if(bt!==0){throw new Error("zero flag expected")}dump([bt],"index")}else{var xt=readU32();var kt=xt.value;eatBytes(xt.nextIndex);dump([kt],"align");var vt=readU32();var wt=vt.value;eatBytes(vt.nextIndex);dump([wt],"offset")}}else if(j>=65&&j<=68){if(N.object==="i32"){var Ct=read32();var At=Ct.value;eatBytes(Ct.nextIndex);dump([At],"i32 value");ce.push(q.numberLiteralFromRaw(At))}if(N.object==="u32"){var Et=readU32();var _t=Et.value;eatBytes(Et.nextIndex);dump([_t],"u32 value");ce.push(q.numberLiteralFromRaw(_t))}if(N.object==="i64"){var St=read64();var It=St.value;eatBytes(St.nextIndex);dump([Number(It.toString())],"i64 value");var Mt=It.high,Pt=It.low;var Dt={type:"LongNumberLiteral",value:{high:Mt,low:Pt}};ce.push(Dt)}if(N.object==="u64"){var Ot=readU64();var Rt=Ot.value;eatBytes(Ot.nextIndex);dump([Number(Rt.toString())],"u64 value");var $t=Rt.high,Tt=Rt.low;var Ft={type:"LongNumberLiteral",value:{high:$t,low:Tt}};ce.push(Ft)}if(N.object==="f32"){var jt=readF32();var Nt=jt.value;eatBytes(jt.nextIndex);dump([Nt],"f32 value");ce.push(q.floatLiteral(Nt,jt.nan,jt.inf,String(Nt)))}if(N.object==="f64"){var Bt=readF64();var Lt=Bt.value;eatBytes(Bt.nextIndex);dump([Lt],"f64 value");ce.push(q.floatLiteral(Lt,Bt.nan,Bt.inf,String(Lt)))}}else if(j>=65024&&j<=65279){var qt=readU32();var zt=qt.value;eatBytes(qt.nextIndex);dump([zt],"align");var Ut=readU32();var Gt=Ut.value;eatBytes(Ut.nextIndex);dump([Gt],"offset")}else{for(var Ht=0;Ht<N.numberOfArgs;Ht++){var Wt=readU32();eatBytes(Wt.nextIndex);dump([Wt.value],"argument "+Ht);ce.push(q.numberLiteralFromRaw(Wt.value))}}if(R===false){if(typeof N.object==="string"){var Qt=function(){var v=getPosition();return q.withLoc(q.objectInstruction(N.name,N.object,ce),v,E)}();v.push(Qt)}else{var Jt=function(){var v=getPosition();return q.withLoc(q.instruction(N.name,ce),v,E)}();v.push(Jt)}}}}function parseLimits(){var v=readByte();eatBytes(1);var E=v===3;dump([v],"limit type"+(E?" (shared)":""));var R,$;if(v===1||v===3){var j=readU32();R=parseInt(j.value);eatBytes(j.nextIndex);dump([R],"min");var N=readU32();$=parseInt(N.value);eatBytes(N.nextIndex);dump([$],"max")}if(v===0){var G=readU32();R=parseInt(G.value);eatBytes(G.nextIndex);dump([R],"min")}return q.limit(R,$,E)}function parseTableType(v){var E=q.withRaw(q.identifier(ae("table")),String(v));var R=readByte();eatBytes(1);dump([R],"element type");var j=ie.default.tableTypes[R];if(typeof j==="undefined"){throw new $.CompileError("Unknown element type in table: "+toHex(j))}var N=parseLimits();return q.table(j,N,E)}function parseGlobalType(){var v=readByte();eatBytes(1);var E=ie.default.valtypes[v];dump([v],E);if(typeof E==="undefined"){throw new $.CompileError("Unknown valtype: "+toHex(v))}var R=readByte();eatBytes(1);var j=ie.default.globalTypes[R];dump([R],"global type (".concat(j,")"));if(typeof j==="undefined"){throw new $.CompileError("Invalid mutability: "+toHex(R))}return q.globalType(E,j)}function parseNameSectionFunctions(){var v=[];var E=readU32();var R=E.value;eatBytes(E.nextIndex);for(var $=0;$<R;$++){var j=readU32();var N=j.value;eatBytes(j.nextIndex);var G=readUTF8String();eatBytes(G.nextIndex);v.push(q.functionNameMetadata(G.value,N))}return v}function parseNameSectionLocals(){var v=[];var E=readU32();var R=E.value;eatBytes(E.nextIndex);for(var $=0;$<R;$++){var j=readU32();var N=j.value;eatBytes(j.nextIndex);var G=readU32();var ie=G.value;eatBytes(G.nextIndex);for(var ae=0;ae<ie;ae++){var ce=readU32();var le=ce.value;eatBytes(ce.nextIndex);var me=readUTF8String();eatBytes(me.nextIndex);v.push(q.localNameMetadata(me.value,le,N))}}return v}function parseNameSection(v){var E=[];var R=ce;while(ce-R<v){var $=readVaruint7();eatBytes($.nextIndex);var j=readVaruint32();eatBytes(j.nextIndex);switch($.value){case 1:{E.push.apply(E,_toConsumableArray(parseNameSectionFunctions()));break}case 2:{E.push.apply(E,_toConsumableArray(parseNameSectionLocals()));break}default:{eatBytes(j.value)}}}return E}function parseProducersSection(){var v=q.producersSectionMetadata([]);var E=readVaruint32();eatBytes(E.nextIndex);dump([E.value],"num of producers");var R={language:[],"processed-by":[],sdk:[]};for(var $=0;$<E.value;$++){var j=readUTF8String();eatBytes(j.nextIndex);var N=readVaruint32();eatBytes(N.nextIndex);for(var G=0;G<N.value;G++){var ie=readUTF8String();eatBytes(ie.nextIndex);var ae=readUTF8String();eatBytes(ae.nextIndex);R[j.value].push(q.producerMetadataVersionedName(ie.value,ae.value))}v.producers.push(R[j.value])}return v}function parseGlobalSection(v){var E=[];dump([v],"num globals");for(var R=0;R<v;R++){var $=getPosition();var j=parseGlobalType();var N=[];parseInstructionBlock(N);var G=function(){var v=getPosition();return q.withLoc(q.global(j,N),v,$)}();E.push(G);le.globalsInModule.push(G)}return E}function parseElemSection(v){var E=[];dump([v],"num elements");for(var R=0;R<v;R++){var $=getPosition();var j=readU32();var N=j.value;eatBytes(j.nextIndex);dump([N],"table index");var G=[];parseInstructionBlock(G);var ie=readU32();var ae=ie.value;eatBytes(ie.nextIndex);dump([ae],"num indices");var ce=[];for(var le=0;le<ae;le++){var me=readU32();var _e=me.value;eatBytes(me.nextIndex);dump([_e],"index");ce.push(q.indexLiteral(_e))}var Ie=function(){var v=getPosition();return q.withLoc(q.elem(q.indexLiteral(N),G,ce),v,$)}();E.push(Ie)}return E}function parseMemoryType(v){var E=parseLimits();return q.memory(E,q.indexLiteral(v))}function parseTableSection(v){var E=[];dump([v],"num elements");for(var R=0;R<v;R++){var $=parseTableType(R);le.tablesInModule.push($);E.push($)}return E}function parseMemorySection(v){var E=[];dump([v],"num elements");for(var R=0;R<v;R++){var $=parseMemoryType(R);le.memoriesInModule.push($);E.push($)}return E}function parseStartSection(){var v=getPosition();var E=readU32();var R=E.value;eatBytes(E.nextIndex);dump([R],"index");return function(){var E=getPosition();return q.withLoc(q.start(q.indexLiteral(R)),E,v)}()}function parseDataSection(v){var E=[];dump([v],"num elements");for(var R=0;R<v;R++){var j=readU32();var N=j.value;eatBytes(j.nextIndex);dump([N],"memory index");var G=[];parseInstructionBlock(G);var ie=G.filter((function(v){return v.id!=="end"})).length!==1;if(ie){throw new $.CompileError("data section offset must be a single instruction")}var ae=parseVec((function(v){return v}));dump([],"init");E.push(q.data(q.memIndexLiteral(N),G[0],q.byteArray(ae)))}return E}function parseSection(v){var R=readByte();eatBytes(1);if(R>=v||v===ie.default.sections.custom){v=R+1}else{if(R!==ie.default.sections.custom)throw new $.CompileError("Unexpected section: "+toHex(R))}var j=v;var N=ce;var G=getPosition();var ae=readU32();var le=ae.value;eatBytes(ae.nextIndex);var me=function(){var v=getPosition();return q.withLoc(q.numberLiteralFromRaw(le),v,G)}();switch(R){case ie.default.sections.type:{dumpSep("section Type");dump([R],"section code");dump([le],"section size");var _e=getPosition();var Ie=readU32();var Me=Ie.value;eatBytes(Ie.nextIndex);var Oe=q.sectionMetadata("type",N,me,function(){var v=getPosition();return q.withLoc(q.numberLiteralFromRaw(Me),v,_e)}());var Te=parseTypeSection(Me);return{nodes:Te,metadata:Oe,nextSectionIndex:j}}case ie.default.sections.table:{dumpSep("section Table");dump([R],"section code");dump([le],"section size");var Ne=getPosition();var Be=readU32();var Le=Be.value;eatBytes(Be.nextIndex);dump([Le],"num tables");var qe=q.sectionMetadata("table",N,me,function(){var v=getPosition();return q.withLoc(q.numberLiteralFromRaw(Le),v,Ne)}());var Ue=parseTableSection(Le);return{nodes:Ue,metadata:qe,nextSectionIndex:j}}case ie.default.sections.import:{dumpSep("section Import");dump([R],"section code");dump([le],"section size");var Ge=getPosition();var He=readU32();var We=He.value;eatBytes(He.nextIndex);dump([We],"number of imports");var Qe=q.sectionMetadata("import",N,me,function(){var v=getPosition();return q.withLoc(q.numberLiteralFromRaw(We),v,Ge)}());var Je=parseImportSection(We);return{nodes:Je,metadata:Qe,nextSectionIndex:j}}case ie.default.sections.func:{dumpSep("section Function");dump([R],"section code");dump([le],"section size");var Ve=getPosition();var Ke=readU32();var Xe=Ke.value;eatBytes(Ke.nextIndex);var Ye=q.sectionMetadata("func",N,me,function(){var v=getPosition();return q.withLoc(q.numberLiteralFromRaw(Xe),v,Ve)}());parseFuncSection(Xe);var Ze=[];return{nodes:Ze,metadata:Ye,nextSectionIndex:j}}case ie.default.sections.export:{dumpSep("section Export");dump([R],"section code");dump([le],"section size");var et=getPosition();var tt=readU32();var nt=tt.value;eatBytes(tt.nextIndex);var st=q.sectionMetadata("export",N,me,function(){var v=getPosition();return q.withLoc(q.numberLiteralFromRaw(nt),v,et)}());parseExportSection(nt);var rt=[];return{nodes:rt,metadata:st,nextSectionIndex:j}}case ie.default.sections.code:{dumpSep("section Code");dump([R],"section code");dump([le],"section size");var ot=getPosition();var it=readU32();var at=it.value;eatBytes(it.nextIndex);var ct=q.sectionMetadata("code",N,me,function(){var v=getPosition();return q.withLoc(q.numberLiteralFromRaw(at),v,ot)}());if(E.ignoreCodeSection===true){var lt=le-it.nextIndex;eatBytes(lt)}else{parseCodeSection(at)}var ut=[];return{nodes:ut,metadata:ct,nextSectionIndex:j}}case ie.default.sections.start:{dumpSep("section Start");dump([R],"section code");dump([le],"section size");var pt=q.sectionMetadata("start",N,me);var dt=[parseStartSection()];return{nodes:dt,metadata:pt,nextSectionIndex:j}}case ie.default.sections.element:{dumpSep("section Element");dump([R],"section code");dump([le],"section size");var ft=getPosition();var ht=readU32();var mt=ht.value;eatBytes(ht.nextIndex);var gt=q.sectionMetadata("element",N,me,function(){var v=getPosition();return q.withLoc(q.numberLiteralFromRaw(mt),v,ft)}());var yt=parseElemSection(mt);return{nodes:yt,metadata:gt,nextSectionIndex:j}}case ie.default.sections.global:{dumpSep("section Global");dump([R],"section code");dump([le],"section size");var bt=getPosition();var xt=readU32();var kt=xt.value;eatBytes(xt.nextIndex);var vt=q.sectionMetadata("global",N,me,function(){var v=getPosition();return q.withLoc(q.numberLiteralFromRaw(kt),v,bt)}());var wt=parseGlobalSection(kt);return{nodes:wt,metadata:vt,nextSectionIndex:j}}case ie.default.sections.memory:{dumpSep("section Memory");dump([R],"section code");dump([le],"section size");var Ct=getPosition();var At=readU32();var Et=At.value;eatBytes(At.nextIndex);var _t=q.sectionMetadata("memory",N,me,function(){var v=getPosition();return q.withLoc(q.numberLiteralFromRaw(Et),v,Ct)}());var St=parseMemorySection(Et);return{nodes:St,metadata:_t,nextSectionIndex:j}}case ie.default.sections.data:{dumpSep("section Data");dump([R],"section code");dump([le],"section size");var It=q.sectionMetadata("data",N,me);var Mt=getPosition();var Pt=readU32();var Dt=Pt.value;eatBytes(Pt.nextIndex);It.vectorOfSize=function(){var v=getPosition();return q.withLoc(q.numberLiteralFromRaw(Dt),v,Mt)}();if(E.ignoreDataSection===true){var Ot=le-Pt.nextIndex;eatBytes(Ot);dumpSep("ignore data ("+le+" bytes)");return{nodes:[],metadata:It,nextSectionIndex:j}}else{var Rt=parseDataSection(Dt);return{nodes:Rt,metadata:It,nextSectionIndex:j}}}case ie.default.sections.custom:{dumpSep("section Custom");dump([R],"section code");dump([le],"section size");var $t=[q.sectionMetadata("custom",N,me)];var Tt=readUTF8String();eatBytes(Tt.nextIndex);dump([],"section name (".concat(Tt.value,")"));var Ft=le-Tt.nextIndex;if(Tt.value==="name"){var jt=ce;try{$t.push.apply($t,_toConsumableArray(parseNameSection(Ft)))}catch(v){console.warn('Failed to decode custom "name" section @'.concat(ce,"; ignoring (").concat(v.message,")."));eatBytes(ce-(jt+Ft))}}else if(Tt.value==="producers"){var Nt=ce;try{$t.push(parseProducersSection())}catch(v){console.warn('Failed to decode custom "producers" section @'.concat(ce,"; ignoring (").concat(v.message,")."));eatBytes(ce-(Nt+Ft))}}else{eatBytes(Ft);dumpSep("ignore custom "+JSON.stringify(Tt.value)+" section ("+Ft+" bytes)")}return{nodes:[],metadata:$t,nextSectionIndex:j}}}throw new $.CompileError("Unexpected section: "+toHex(R))}parseModuleHeader();parseVersion();var me=[];var _e=0;var Ie={sections:[],functionNames:[],localNames:[],producers:[]};while(ce<R.length){var Me=parseSection(_e),Oe=Me.nodes,Te=Me.metadata,Ne=Me.nextSectionIndex;me.push.apply(me,_toConsumableArray(Oe));var Be=Array.isArray(Te)?Te:[Te];Be.forEach((function(v){if(v.type==="FunctionNameMetadata"){Ie.functionNames.push(v)}else if(v.type==="LocalNameMetadata"){Ie.localNames.push(v)}else if(v.type==="ProducersSectionMetadata"){Ie.producers.push(v)}else{Ie.sections.push(v)}}));if(Ne){_e=Ne}}var Le=0;le.functionsInModule.forEach((function(v){var R=v.signature.params;var j=v.signature.result;var N=[];if(v.isExternal===true){return}var G=le.elementsInCodeSection[Le];if(E.ignoreCodeSection===false){if(typeof G==="undefined"){throw new $.CompileError("func "+toHex(Le)+" code not found")}N=G.code}Le++;var ie=q.func(v.id,q.signature(R,j),N);if(v.isExternal===true){ie.isExternal=v.isExternal}if(E.ignoreCodeSection===false){var ae=G.startLoc,ce=G.endLoc,_e=G.bodySize;ie=q.withLoc(ie,ce,ae);ie.metadata={bodySize:_e}}me.push(ie)}));le.elementsInExportSection.forEach((function(v){if(v.id!=null){me.push(q.withLoc(q.moduleExport(v.name,q.moduleExportDescr(v.type,v.id)),v.endLoc,v.startLoc))}}));dumpSep("end of program");var qe=q.module(null,me,q.moduleMetadata(Ie.sections,Ie.functionNames,Ie.localNames,Ie.producers));return q.program([qe])}},52227:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.decode=decode;var $=_interopRequireWildcard(R(27069));var j=_interopRequireWildcard(R(88571));function _interopRequireWildcard(v){if(v&&v.__esModule){return v}else{var E={};if(v!=null){for(var R in v){if(Object.prototype.hasOwnProperty.call(v,R)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(v,R):{};if($.get||$.set){Object.defineProperty(E,R,$)}else{E[R]=v[R]}}}}E.default=v;return E}}var N={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(v){var E=[];j.traverse(v,{FunctionNameMetadata:function FunctionNameMetadata(v){var R=v.node;E.push({name:R.value,index:R.index})}});if(E.length===0){return}j.traverse(v,{Func:function(v){function Func(E){return v.apply(this,arguments)}Func.toString=function(){return v.toString()};return Func}((function(v){var R=v.node;var $=R.name;var j=$.value;var N=Number(j.replace("func_",""));var q=E.find((function(v){return v.index===N}));if(q){var G=$.value;$.value=q.name;$.numeric=G;delete $.raw}})),ModuleExport:function(v){function ModuleExport(E){return v.apply(this,arguments)}ModuleExport.toString=function(){return v.toString()};return ModuleExport}((function(v){var R=v.node;if(R.descr.exportType==="Func"){var $=R.descr.id;var N=$.value;var q=E.find((function(v){return v.index===N}));if(q){R.descr.id=j.identifier(q.name)}}})),ModuleImport:function(v){function ModuleImport(E){return v.apply(this,arguments)}ModuleImport.toString=function(){return v.toString()};return ModuleImport}((function(v){var R=v.node;if(R.descr.type==="FuncImportDescr"){var $=R.descr.id;var N=Number($.replace("func_",""));var q=E.find((function(v){return v.index===N}));if(q){R.descr.id=j.identifier(q.name)}}})),CallInstruction:function(v){function CallInstruction(E){return v.apply(this,arguments)}CallInstruction.toString=function(){return v.toString()};return CallInstruction}((function(v){var R=v.node;var $=R.index.value;var N=E.find((function(v){return v.index===$}));if(N){var q=R.index;R.index=j.identifier(N.name);R.numeric=q;delete R.raw}}))})}function restoreLocalNames(v){var E=[];j.traverse(v,{LocalNameMetadata:function LocalNameMetadata(v){var R=v.node;E.push({name:R.value,localIndex:R.localIndex,functionIndex:R.functionIndex})}});if(E.length===0){return}j.traverse(v,{Func:function(v){function Func(E){return v.apply(this,arguments)}Func.toString=function(){return v.toString()};return Func}((function(v){var R=v.node;var $=R.signature;if($.type!=="Signature"){return}var j=R.name;var N=j.value;var q=Number(N.replace("func_",""));$.params.forEach((function(v,R){var $=E.find((function(v){return v.localIndex===R&&v.functionIndex===q}));if($&&$.name!==""){v.id=$.name}}))}))})}function restoreModuleName(v){j.traverse(v,{ModuleNameMetadata:function(v){function ModuleNameMetadata(E){return v.apply(this,arguments)}ModuleNameMetadata.toString=function(){return v.toString()};return ModuleNameMetadata}((function(E){j.traverse(v,{Module:function(v){function Module(E){return v.apply(this,arguments)}Module.toString=function(){return v.toString()};return Module}((function(v){var R=v.node;var $=E.node.value;if($===""){$=null}R.id=$}))})}))})}function decode(v,E){var R=Object.assign({},N,E);var j=$.decode(v,R);if(R.ignoreCustomNameSection===false){restoreFunctionNames(j);restoreLocalNames(j);restoreModuleName(j)}return j}},62734:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.read=read;E.write=write;function read(v,E,R,$,j){var N,q;var G=j*8-$-1;var ie=(1<<G)-1;var ae=ie>>1;var ce=-7;var le=R?j-1:0;var me=R?-1:1;var _e=v[E+le];le+=me;N=_e&(1<<-ce)-1;_e>>=-ce;ce+=G;for(;ce>0;N=N*256+v[E+le],le+=me,ce-=8){}q=N&(1<<-ce)-1;N>>=-ce;ce+=$;for(;ce>0;q=q*256+v[E+le],le+=me,ce-=8){}if(N===0){N=1-ae}else if(N===ie){return q?NaN:(_e?-1:1)*Infinity}else{q=q+Math.pow(2,$);N=N-ae}return(_e?-1:1)*q*Math.pow(2,N-$)}function write(v,E,R,$,j,N){var q,G,ie;var ae=N*8-j-1;var ce=(1<<ae)-1;var le=ce>>1;var me=j===23?Math.pow(2,-24)-Math.pow(2,-77):0;var _e=$?0:N-1;var Ie=$?1:-1;var Me=E<0||E===0&&1/E<0?1:0;E=Math.abs(E);if(isNaN(E)||E===Infinity){G=isNaN(E)?1:0;q=ce}else{q=Math.floor(Math.log(E)/Math.LN2);if(E*(ie=Math.pow(2,-q))<1){q--;ie*=2}if(q+le>=1){E+=me/ie}else{E+=me*Math.pow(2,1-le)}if(E*ie>=2){q++;ie/=2}if(q+le>=ce){G=0;q=ce}else if(q+le>=1){G=(E*ie-1)*Math.pow(2,j);q=q+le}else{G=E*Math.pow(2,le-1)*Math.pow(2,j);q=0}}for(;j>=8;v[R+_e]=G&255,_e+=Ie,G/=256,j-=8){}q=q<<j|G;ae+=j;for(;ae>0;v[R+_e]=q&255,_e+=Ie,q/=256,ae-=8){}v[R+_e-Ie]|=Me*128}},85249:function(v){v.exports=Long;var E=null;try{E=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(v){}function Long(v,E,R){this.low=v|0;this.high=E|0;this.unsigned=!!R}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(v){return(v&&v["__isLong__"])===true}Long.isLong=isLong;var R={};var $={};function fromInt(v,E){var j,N,q;if(E){v>>>=0;if(q=0<=v&&v<256){N=$[v];if(N)return N}j=fromBits(v,(v|0)<0?-1:0,true);if(q)$[v]=j;return j}else{v|=0;if(q=-128<=v&&v<128){N=R[v];if(N)return N}j=fromBits(v,v<0?-1:0,false);if(q)R[v]=j;return j}}Long.fromInt=fromInt;function fromNumber(v,E){if(isNaN(v))return E?me:le;if(E){if(v<0)return me;if(v>=ie)return Te}else{if(v<=-ae)return Ne;if(v+1>=ae)return Oe}if(v<0)return fromNumber(-v,E).neg();return fromBits(v%G|0,v/G|0,E)}Long.fromNumber=fromNumber;function fromBits(v,E,R){return new Long(v,E,R)}Long.fromBits=fromBits;var j=Math.pow;function fromString(v,E,R){if(v.length===0)throw Error("empty string");if(v==="NaN"||v==="Infinity"||v==="+Infinity"||v==="-Infinity")return le;if(typeof E==="number"){R=E,E=false}else{E=!!E}R=R||10;if(R<2||36<R)throw RangeError("radix");var $;if(($=v.indexOf("-"))>0)throw Error("interior hyphen");else if($===0){return fromString(v.substring(1),E,R).neg()}var N=fromNumber(j(R,8));var q=le;for(var G=0;G<v.length;G+=8){var ie=Math.min(8,v.length-G),ae=parseInt(v.substring(G,G+ie),R);if(ie<8){var ce=fromNumber(j(R,ie));q=q.mul(ce).add(fromNumber(ae))}else{q=q.mul(N);q=q.add(fromNumber(ae))}}q.unsigned=E;return q}Long.fromString=fromString;function fromValue(v,E){if(typeof v==="number")return fromNumber(v,E);if(typeof v==="string")return fromString(v,E);return fromBits(v.low,v.high,typeof E==="boolean"?E:v.unsigned)}Long.fromValue=fromValue;var N=1<<16;var q=1<<24;var G=N*N;var ie=G*G;var ae=ie/2;var ce=fromInt(q);var le=fromInt(0);Long.ZERO=le;var me=fromInt(0,true);Long.UZERO=me;var _e=fromInt(1);Long.ONE=_e;var Ie=fromInt(1,true);Long.UONE=Ie;var Me=fromInt(-1);Long.NEG_ONE=Me;var Oe=fromBits(4294967295|0,2147483647|0,false);Long.MAX_VALUE=Oe;var Te=fromBits(4294967295|0,4294967295|0,true);Long.MAX_UNSIGNED_VALUE=Te;var Ne=fromBits(0,2147483648|0,false);Long.MIN_VALUE=Ne;var Be=Long.prototype;Be.toInt=function toInt(){return this.unsigned?this.low>>>0:this.low};Be.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*G+(this.low>>>0);return this.high*G+(this.low>>>0)};Be.toString=function toString(v){v=v||10;if(v<2||36<v)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(Ne)){var E=fromNumber(v),R=this.div(E),$=R.mul(E).sub(this);return R.toString(v)+$.toInt().toString(v)}else return"-"+this.neg().toString(v)}var N=fromNumber(j(v,6),this.unsigned),q=this;var G="";while(true){var ie=q.div(N),ae=q.sub(ie.mul(N)).toInt()>>>0,ce=ae.toString(v);q=ie;if(q.isZero())return ce+G;else{while(ce.length<6)ce="0"+ce;G=""+ce+G}}};Be.getHighBits=function getHighBits(){return this.high};Be.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};Be.getLowBits=function getLowBits(){return this.low};Be.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};Be.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Ne)?64:this.neg().getNumBitsAbs();var v=this.high!=0?this.high:this.low;for(var E=31;E>0;E--)if((v&1<<E)!=0)break;return this.high!=0?E+33:E+1};Be.isZero=function isZero(){return this.high===0&&this.low===0};Be.eqz=Be.isZero;Be.isNegative=function isNegative(){return!this.unsigned&&this.high<0};Be.isPositive=function isPositive(){return this.unsigned||this.high>=0};Be.isOdd=function isOdd(){return(this.low&1)===1};Be.isEven=function isEven(){return(this.low&1)===0};Be.equals=function equals(v){if(!isLong(v))v=fromValue(v);if(this.unsigned!==v.unsigned&&this.high>>>31===1&&v.high>>>31===1)return false;return this.high===v.high&&this.low===v.low};Be.eq=Be.equals;Be.notEquals=function notEquals(v){return!this.eq(v)};Be.neq=Be.notEquals;Be.ne=Be.notEquals;Be.lessThan=function lessThan(v){return this.comp(v)<0};Be.lt=Be.lessThan;Be.lessThanOrEqual=function lessThanOrEqual(v){return this.comp(v)<=0};Be.lte=Be.lessThanOrEqual;Be.le=Be.lessThanOrEqual;Be.greaterThan=function greaterThan(v){return this.comp(v)>0};Be.gt=Be.greaterThan;Be.greaterThanOrEqual=function greaterThanOrEqual(v){return this.comp(v)>=0};Be.gte=Be.greaterThanOrEqual;Be.ge=Be.greaterThanOrEqual;Be.compare=function compare(v){if(!isLong(v))v=fromValue(v);if(this.eq(v))return 0;var E=this.isNegative(),R=v.isNegative();if(E&&!R)return-1;if(!E&&R)return 1;if(!this.unsigned)return this.sub(v).isNegative()?-1:1;return v.high>>>0>this.high>>>0||v.high===this.high&&v.low>>>0>this.low>>>0?-1:1};Be.comp=Be.compare;Be.negate=function negate(){if(!this.unsigned&&this.eq(Ne))return Ne;return this.not().add(_e)};Be.neg=Be.negate;Be.add=function add(v){if(!isLong(v))v=fromValue(v);var E=this.high>>>16;var R=this.high&65535;var $=this.low>>>16;var j=this.low&65535;var N=v.high>>>16;var q=v.high&65535;var G=v.low>>>16;var ie=v.low&65535;var ae=0,ce=0,le=0,me=0;me+=j+ie;le+=me>>>16;me&=65535;le+=$+G;ce+=le>>>16;le&=65535;ce+=R+q;ae+=ce>>>16;ce&=65535;ae+=E+N;ae&=65535;return fromBits(le<<16|me,ae<<16|ce,this.unsigned)};Be.subtract=function subtract(v){if(!isLong(v))v=fromValue(v);return this.add(v.neg())};Be.sub=Be.subtract;Be.multiply=function multiply(v){if(this.isZero())return le;if(!isLong(v))v=fromValue(v);if(E){var R=E["mul"](this.low,this.high,v.low,v.high);return fromBits(R,E["get_high"](),this.unsigned)}if(v.isZero())return le;if(this.eq(Ne))return v.isOdd()?Ne:le;if(v.eq(Ne))return this.isOdd()?Ne:le;if(this.isNegative()){if(v.isNegative())return this.neg().mul(v.neg());else return this.neg().mul(v).neg()}else if(v.isNegative())return this.mul(v.neg()).neg();if(this.lt(ce)&&v.lt(ce))return fromNumber(this.toNumber()*v.toNumber(),this.unsigned);var $=this.high>>>16;var j=this.high&65535;var N=this.low>>>16;var q=this.low&65535;var G=v.high>>>16;var ie=v.high&65535;var ae=v.low>>>16;var me=v.low&65535;var _e=0,Ie=0,Me=0,Oe=0;Oe+=q*me;Me+=Oe>>>16;Oe&=65535;Me+=N*me;Ie+=Me>>>16;Me&=65535;Me+=q*ae;Ie+=Me>>>16;Me&=65535;Ie+=j*me;_e+=Ie>>>16;Ie&=65535;Ie+=N*ae;_e+=Ie>>>16;Ie&=65535;Ie+=q*ie;_e+=Ie>>>16;Ie&=65535;_e+=$*me+j*ae+N*ie+q*G;_e&=65535;return fromBits(Me<<16|Oe,_e<<16|Ie,this.unsigned)};Be.mul=Be.multiply;Be.divide=function divide(v){if(!isLong(v))v=fromValue(v);if(v.isZero())throw Error("division by zero");if(E){if(!this.unsigned&&this.high===-2147483648&&v.low===-1&&v.high===-1){return this}var R=(this.unsigned?E["div_u"]:E["div_s"])(this.low,this.high,v.low,v.high);return fromBits(R,E["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?me:le;var $,N,q;if(!this.unsigned){if(this.eq(Ne)){if(v.eq(_e)||v.eq(Me))return Ne;else if(v.eq(Ne))return _e;else{var G=this.shr(1);$=G.div(v).shl(1);if($.eq(le)){return v.isNegative()?_e:Me}else{N=this.sub(v.mul($));q=$.add(N.div(v));return q}}}else if(v.eq(Ne))return this.unsigned?me:le;if(this.isNegative()){if(v.isNegative())return this.neg().div(v.neg());return this.neg().div(v).neg()}else if(v.isNegative())return this.div(v.neg()).neg();q=le}else{if(!v.unsigned)v=v.toUnsigned();if(v.gt(this))return me;if(v.gt(this.shru(1)))return Ie;q=me}N=this;while(N.gte(v)){$=Math.max(1,Math.floor(N.toNumber()/v.toNumber()));var ie=Math.ceil(Math.log($)/Math.LN2),ae=ie<=48?1:j(2,ie-48),ce=fromNumber($),Oe=ce.mul(v);while(Oe.isNegative()||Oe.gt(N)){$-=ae;ce=fromNumber($,this.unsigned);Oe=ce.mul(v)}if(ce.isZero())ce=_e;q=q.add(ce);N=N.sub(Oe)}return q};Be.div=Be.divide;Be.modulo=function modulo(v){if(!isLong(v))v=fromValue(v);if(E){var R=(this.unsigned?E["rem_u"]:E["rem_s"])(this.low,this.high,v.low,v.high);return fromBits(R,E["get_high"](),this.unsigned)}return this.sub(this.div(v).mul(v))};Be.mod=Be.modulo;Be.rem=Be.modulo;Be.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};Be.and=function and(v){if(!isLong(v))v=fromValue(v);return fromBits(this.low&v.low,this.high&v.high,this.unsigned)};Be.or=function or(v){if(!isLong(v))v=fromValue(v);return fromBits(this.low|v.low,this.high|v.high,this.unsigned)};Be.xor=function xor(v){if(!isLong(v))v=fromValue(v);return fromBits(this.low^v.low,this.high^v.high,this.unsigned)};Be.shiftLeft=function shiftLeft(v){if(isLong(v))v=v.toInt();if((v&=63)===0)return this;else if(v<32)return fromBits(this.low<<v,this.high<<v|this.low>>>32-v,this.unsigned);else return fromBits(0,this.low<<v-32,this.unsigned)};Be.shl=Be.shiftLeft;Be.shiftRight=function shiftRight(v){if(isLong(v))v=v.toInt();if((v&=63)===0)return this;else if(v<32)return fromBits(this.low>>>v|this.high<<32-v,this.high>>v,this.unsigned);else return fromBits(this.high>>v-32,this.high>=0?0:-1,this.unsigned)};Be.shr=Be.shiftRight;Be.shiftRightUnsigned=function shiftRightUnsigned(v){if(isLong(v))v=v.toInt();if((v&=63)===0)return this;if(v<32)return fromBits(this.low>>>v|this.high<<32-v,this.high>>>v,this.unsigned);if(v===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>v-32,0,this.unsigned)};Be.shru=Be.shiftRightUnsigned;Be.shr_u=Be.shiftRightUnsigned;Be.rotateLeft=function rotateLeft(v){var E;if(isLong(v))v=v.toInt();if((v&=63)===0)return this;if(v===32)return fromBits(this.high,this.low,this.unsigned);if(v<32){E=32-v;return fromBits(this.low<<v|this.high>>>E,this.high<<v|this.low>>>E,this.unsigned)}v-=32;E=32-v;return fromBits(this.high<<v|this.low>>>E,this.low<<v|this.high>>>E,this.unsigned)};Be.rotl=Be.rotateLeft;Be.rotateRight=function rotateRight(v){var E;if(isLong(v))v=v.toInt();if((v&=63)===0)return this;if(v===32)return fromBits(this.high,this.low,this.unsigned);if(v<32){E=32-v;return fromBits(this.high<<E|this.low>>>v,this.low<<E|this.high>>>v,this.unsigned)}v-=32;E=32-v;return fromBits(this.low<<E|this.high>>>v,this.high<<E|this.low>>>v,this.unsigned)};Be.rotr=Be.rotateRight;Be.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};Be.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};Be.toBytes=function toBytes(v){return v?this.toBytesLE():this.toBytesBE()};Be.toBytesLE=function toBytesLE(){var v=this.high,E=this.low;return[E&255,E>>>8&255,E>>>16&255,E>>>24,v&255,v>>>8&255,v>>>16&255,v>>>24]};Be.toBytesBE=function toBytesBE(){var v=this.high,E=this.low;return[v>>>24,v>>>16&255,v>>>8&255,v&255,E>>>24,E>>>16&255,E>>>8&255,E&255]};Long.fromBytes=function fromBytes(v,E,R){return R?Long.fromBytesLE(v,E):Long.fromBytesBE(v,E)};Long.fromBytesLE=function fromBytesLE(v,E){return new Long(v[0]|v[1]<<8|v[2]<<16|v[3]<<24,v[4]|v[5]<<8|v[6]<<16|v[7]<<24,E)};Long.fromBytesBE=function fromBytesBE(v,E){return new Long(v[4]<<24|v[5]<<16|v[6]<<8|v[7],v[0]<<24|v[1]<<16|v[2]<<8|v[3],E)}},19737:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.importAssertions=importAssertions;var $=_interopRequireWildcard(R(31988));function _getRequireWildcardCache(v){if(typeof WeakMap!=="function")return null;var E=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(v){return v?R:E})(v)}function _interopRequireWildcard(v,E){if(!E&&v&&v.__esModule){return v}if(v===null||typeof v!=="object"&&typeof v!=="function"){return{default:v}}var R=_getRequireWildcardCache(E);if(R&&R.has(v)){return R.get(v)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v){if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var q=j?Object.getOwnPropertyDescriptor(v,N):null;if(q&&(q.get||q.set)){Object.defineProperty($,N,q)}else{$[N]=v[N]}}}$.default=v;if(R){R.set(v,$)}return $}const j="{".charCodeAt(0);const N=" ".charCodeAt(0);const q="assert";const G=1,ie=2,ae=4;function importAssertions(v){const E=v.acorn||$;const{tokTypes:R,TokenType:ie}=E;return class extends v{constructor(...v){super(...v);this.assertToken=new ie(q)}_codeAt(v){return this.input.charCodeAt(v)}_eat(v){if(this.type!==v){this.unexpected()}this.next()}readToken(v){let E=0;for(;E<q.length;E++){if(this._codeAt(this.pos+E)!==q.charCodeAt(E)){return super.readToken(v)}}for(;;E++){if(this._codeAt(this.pos+E)===j){break}else if(this._codeAt(this.pos+E)===N){continue}else{return super.readToken(v)}}if(this.type.label==="{"){return super.readToken(v)}this.pos+=q.length;return this.finishToken(this.assertToken)}parseDynamicImport(v){this.next();v.source=this.parseMaybeAssign();if(this.eat(R.comma)){const E=this.parseObj(false);v.arguments=[E]}this._eat(R.parenR);return this.finishNode(v,"ImportExpression")}parseExport(v,E){this.next();if(this.eat(R.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){v.exported=this.parseIdent(true);this.checkExport(E,v.exported.name,this.lastTokStart)}else{v.exported=null}}this.expectContextual("from");if(this.type!==R.string){this.unexpected()}v.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const E=this.parseImportAssertions();if(E){v.assertions=E}}this.semicolon();return this.finishNode(v,"ExportAllDeclaration")}if(this.eat(R._default)){this.checkExport(E,"default",this.lastTokStart);var $;if(this.type===R._function||($=this.isAsyncFunction())){var j=this.startNode();this.next();if($){this.next()}v.declaration=this.parseFunction(j,G|ae,false,$)}else if(this.type===R._class){var N=this.startNode();v.declaration=this.parseClass(N,"nullableID")}else{v.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(v,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){v.declaration=this.parseStatement(null);if(v.declaration.type==="VariableDeclaration"){this.checkVariableExport(E,v.declaration.declarations)}else{this.checkExport(E,v.declaration.id.name,v.declaration.id.start)}v.specifiers=[];v.source=null}else{v.declaration=null;v.specifiers=this.parseExportSpecifiers(E);if(this.eatContextual("from")){if(this.type!==R.string){this.unexpected()}v.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const E=this.parseImportAssertions();if(E){v.assertions=E}}}else{for(var q=0,ie=v.specifiers;q<ie.length;q+=1){var ce=ie[q];this.checkUnreserved(ce.local);this.checkLocalExport(ce.local)}v.source=null}this.semicolon()}return this.finishNode(v,"ExportNamedDeclaration")}parseImport(v){this.next();if(this.type===R.string){v.specifiers=[];v.source=this.parseExprAtom()}else{v.specifiers=this.parseImportSpecifiers();this.expectContextual("from");v.source=this.type===R.string?this.parseExprAtom():this.unexpected()}if(this.type===this.assertToken){this.next();const E=this.parseImportAssertions();if(E){v.assertions=E}}this.semicolon();return this.finishNode(v,"ImportDeclaration")}parseImportAssertions(){this._eat(R.braceL);const v=this.parseAssertEntries();this._eat(R.braceR);return v}parseAssertEntries(){const v=[];const E=new Set;do{if(this.type===R.braceR){break}const $=this.startNode();let j;if(this.type===R.string){j=this.parseLiteral(this.value)}else{j=this.parseIdent(true)}this.next();$.key=j;if($.key.name!=="type"){this.raise(this.pos,"The only accepted import assertion is `type`")}if(E.has($.key.name)){this.raise(this.pos,"Duplicated key in assertions")}E.add($.key.name);if(this.type!==R.string){this.raise(this.pos,"Only string is supported as an assertion value")}$.value=this.parseLiteral(this.value);v.push(this.finishNode($,"ImportAttribute"))}while(this.eat(R.comma));return v}}}},86853:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});var $=R(36849);var j=R(12781);function evCommon(){var v=process.hrtime();var E=v[0]*1e6+Math.round(v[1]/1e3);return{ts:E,pid:process.pid,tid:process.pid}}var N=function(v){$.__extends(Tracer,v);function Tracer(E){if(E===void 0){E={}}var R=v.call(this)||this;R.noStream=false;R.events=[];if(typeof E!=="object"){throw new Error("Invalid options passed (must be an object)")}if(E.parent!=null&&typeof E.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(E.fields!=null&&typeof E.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(E.objectMode!=null&&(E.objectMode!==true&&E.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}R.noStream=E.noStream||false;R.parent=E.parent;if(R.parent){R.fields=Object.assign({},E.parent&&E.parent.fields)}else{R.fields={}}if(E.fields){Object.assign(R.fields,E.fields)}if(!R.fields.cat){R.fields.cat="default"}else if(Array.isArray(R.fields.cat)){R.fields.cat=R.fields.cat.join(",")}if(!R.fields.args){R.fields.args={}}if(R.parent){R._push=R.parent._push.bind(R.parent)}else{R._objectMode=Boolean(E.objectMode);var $={objectMode:R._objectMode};if(R._objectMode){R._push=R.push}else{R._push=R._pushString;$.encoding="utf8"}j.Readable.call(R,$)}return R}Tracer.prototype.flush=function(){if(this.noStream===true){for(var v=0,E=this.events;v<E.length;v++){var R=E[v];this._push(R)}this._flush()}};Tracer.prototype._read=function(v){};Tracer.prototype._pushString=function(v){var E="";if(!this.firstPush){this.push("[");this.firstPush=true}else{E=",\n"}this.push(E+JSON.stringify(v),"utf8")};Tracer.prototype._flush=function(){if(!this._objectMode){this.push("]")}};Tracer.prototype.child=function(v){return new Tracer({parent:this,fields:v})};Tracer.prototype.begin=function(v){return this.mkEventFunc("b")(v)};Tracer.prototype.end=function(v){return this.mkEventFunc("e")(v)};Tracer.prototype.completeEvent=function(v){return this.mkEventFunc("X")(v)};Tracer.prototype.instantEvent=function(v){return this.mkEventFunc("I")(v)};Tracer.prototype.mkEventFunc=function(v){var E=this;return function(R){var $=evCommon();$.ph=v;if(R){if(typeof R==="string"){$.name=R}else{for(var j=0,N=Object.keys(R);j<N.length;j++){var q=N[j];if(q==="cat"){$.cat=R.cat.join(",")}else{$[q]=R[q]}}}}if(!E.noStream){E._push($)}else{E.events.push($)}}};return Tracer}(j.Readable);E.Tracer=N},37486:function(v,E,R){"use strict";const $=R(77864);const j=R(4319);v.exports=class AliasFieldPlugin{constructor(v,E,R){this.source=v;this.field=E;this.target=R}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("AliasFieldPlugin",((R,N,q)=>{if(!R.descriptionFileData)return q();const G=j(v,R);if(!G)return q();const ie=$.getField(R.descriptionFileData,this.field);if(ie===null||typeof ie!=="object"){if(N.log)N.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return q()}const ae=Object.prototype.hasOwnProperty.call(ie,G)?ie[G]:G.startsWith("./")?ie[G.slice(2)]:undefined;if(ae===G)return q();if(ae===undefined)return q();if(ae===false){const v={...R,path:false};if(typeof N.yield==="function"){N.yield(v);return q(null,null)}return q(null,v)}const ce={...R,path:R.descriptionFileRoot,request:ae,fullySpecified:false};v.doResolve(E,ce,"aliased from description file "+R.descriptionFilePath+" with mapping '"+G+"' to '"+ae+"'",N,((v,E)=>{if(v)return q(v);if(E===undefined)return q(null,null);q(null,E)}))}))}}},4281:function(v,E,R){"use strict";const $=R(30363);const{PathType:j,getType:N}=R(41005);v.exports=class AliasPlugin{constructor(v,E,R){this.source=v;this.options=Array.isArray(E)?E:[E];this.target=R}apply(v){const E=v.ensureHook(this.target);const getAbsolutePathWithSlashEnding=E=>{const R=N(E);if(R===j.AbsolutePosix||R===j.AbsoluteWin){return v.join(E,"_").slice(0,-1)}return null};const isSubPath=(v,E)=>{const R=getAbsolutePathWithSlashEnding(E);if(!R)return false;return v.startsWith(R)};v.getHook(this.source).tapAsync("AliasPlugin",((R,j,N)=>{const q=R.request||R.path;if(!q)return N();$(this.options,((N,G)=>{let ie=false;if(q===N.name||!N.onlyModule&&(R.request?q.startsWith(`${N.name}/`):isSubPath(q,N.name))){const ae=q.substr(N.name.length);const resolveWithAlias=($,G)=>{if($===false){const v={...R,path:false};if(typeof j.yield==="function"){j.yield(v);return G(null,null)}return G(null,v)}if(q!==$&&!q.startsWith($+"/")){ie=true;const q=$+ae;const ce={...R,request:q,fullySpecified:false};return v.doResolve(E,ce,"aliased with mapping '"+N.name+"': '"+$+"' to '"+q+"'",j,((v,E)=>{if(v)return G(v);if(E)return G(null,E);return G()}))}return G()};const stoppingCallback=(v,E)=>{if(v)return G(v);if(E)return G(null,E);if(ie)return G(null,null);return G()};if(Array.isArray(N.alias)){return $(N.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(N.alias,stoppingCallback)}}return G()}),N)}))}}},7023:function(v){"use strict";v.exports=class AppendPlugin{constructor(v,E,R){this.source=v;this.appending=E;this.target=R}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("AppendPlugin",((R,$,j)=>{const N={...R,path:R.path+this.appending,relativePath:R.relativePath&&R.relativePath+this.appending};v.doResolve(E,N,this.appending,$,j)}))}}},46495:function(v,E,R){"use strict";const $=R(77282).nextTick;const dirname=v=>{let E=v.length-1;while(E>=0){const R=v.charCodeAt(E);if(R===47||R===92)break;E--}if(E<0)return"";return v.slice(0,E)};const runCallbacks=(v,E,R)=>{if(v.length===1){v[0](E,R);v.length=0;return}let $;for(const j of v){try{j(E,R)}catch(v){if(!$)$=v}}v.length=0;if($)throw $};class OperationMergerBackend{constructor(v,E,R){this._provider=v;this._syncProvider=E;this._providerContext=R;this._activeAsyncOperations=new Map;this.provide=this._provider?(E,R,$)=>{if(typeof R==="function"){$=R;R=undefined}if(R){return this._provider.call(this._providerContext,E,R,$)}if(typeof E!=="string"){$(new TypeError("path must be a string"));return}let j=this._activeAsyncOperations.get(E);if(j){j.push($);return}this._activeAsyncOperations.set(E,j=[$]);v(E,((v,R)=>{this._activeAsyncOperations.delete(E);runCallbacks(j,v,R)}))}:null;this.provideSync=this._syncProvider?(v,E)=>this._syncProvider.call(this._providerContext,v,E):null}purge(){}purgeParent(){}}const j=0;const N=1;const q=2;class CacheBackend{constructor(v,E,R,$){this._duration=v;this._provider=E;this._syncProvider=R;this._providerContext=$;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let v=0;v<10;v++)this._levels.push(new Set);for(let E=5e3;E<v;E+=500)this._levels.push(new Set);this._currentLevel=0;this._tickInterval=Math.floor(v/this._levels.length);this._mode=j;this._timeout=undefined;this._nextDecay=undefined;this.provide=E?this.provide.bind(this):null;this.provideSync=R?this.provideSync.bind(this):null}provide(v,E,R){if(typeof E==="function"){R=E;E=undefined}if(typeof v!=="string"){R(new TypeError("path must be a string"));return}if(E){return this._provider.call(this._providerContext,v,E,R)}if(this._mode===N){this._enterAsyncMode()}let j=this._data.get(v);if(j!==undefined){if(j.err)return $(R,j.err);return $(R,null,j.result)}let q=this._activeAsyncOperations.get(v);if(q!==undefined){q.push(R);return}this._activeAsyncOperations.set(v,q=[R]);this._provider.call(this._providerContext,v,((E,R)=>{this._activeAsyncOperations.delete(v);this._storeResult(v,E,R);this._enterAsyncMode();runCallbacks(q,E,R)}))}provideSync(v,E){if(typeof v!=="string"){throw new TypeError("path must be a string")}if(E){return this._syncProvider.call(this._providerContext,v,E)}if(this._mode===N){this._runDecays()}let R=this._data.get(v);if(R!==undefined){if(R.err)throw R.err;return R.result}const $=this._activeAsyncOperations.get(v);this._activeAsyncOperations.delete(v);let j;try{j=this._syncProvider.call(this._providerContext,v)}catch(E){this._storeResult(v,E,undefined);this._enterSyncModeWhenIdle();if($)runCallbacks($,E,undefined);throw E}this._storeResult(v,undefined,j);this._enterSyncModeWhenIdle();if($)runCallbacks($,undefined,j);return j}purge(v){if(!v){if(this._mode!==j){this._data.clear();for(const v of this._levels){v.clear()}this._enterIdleMode()}}else if(typeof v==="string"){for(let[E,R]of this._data){if(E.startsWith(v)){this._data.delete(E);R.level.delete(E)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[E,R]of this._data){for(const $ of v){if(E.startsWith($)){this._data.delete(E);R.level.delete(E);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(v){if(!v){this.purge()}else if(typeof v==="string"){this.purge(dirname(v))}else{const E=new Set;for(const R of v){E.add(dirname(R))}this.purge(E)}}_storeResult(v,E,R){if(this._data.has(v))return;const $=this._levels[this._currentLevel];this._data.set(v,{err:E,result:R,level:$});$.add(v)}_decayLevel(){const v=(this._currentLevel+1)%this._levels.length;const E=this._levels[v];this._currentLevel=v;for(let v of E){this._data.delete(v)}E.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==j){this._decayLevel()}}_enterAsyncMode(){let v=0;switch(this._mode){case q:return;case j:this._nextDecay=Date.now()+this._tickInterval;v=this._tickInterval;break;case N:this._runDecays();if(this._mode===j)return;v=Math.max(0,this._nextDecay-Date.now());break}this._mode=q;const E=setTimeout((()=>{this._mode=N;this._runDecays()}),v);if(E.unref)E.unref();this._timeout=E}_enterSyncModeWhenIdle(){if(this._mode===j){this._mode=N;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=j;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(v,E,R,$)=>{if(v>0){return new CacheBackend(v,E,R,$)}return new OperationMergerBackend(E,R,$)};v.exports=class CachedInputFileSystem{constructor(v,E){this.fileSystem=v;this._lstatBackend=createBackend(E,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const R=this._lstatBackend.provide;this.lstat=R;const $=this._lstatBackend.provideSync;this.lstatSync=$;this._statBackend=createBackend(E,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const j=this._statBackend.provide;this.stat=j;const N=this._statBackend.provideSync;this.statSync=N;this._readdirBackend=createBackend(E,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const q=this._readdirBackend.provide;this.readdir=q;const G=this._readdirBackend.provideSync;this.readdirSync=G;this._readFileBackend=createBackend(E,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const ie=this._readFileBackend.provide;this.readFile=ie;const ae=this._readFileBackend.provideSync;this.readFileSync=ae;this._readJsonBackend=createBackend(E,this.fileSystem.readJson||this.readFile&&((v,E)=>{this.readFile(v,((v,R)=>{if(v)return E(v);if(!R||R.length===0)return E(new Error("No file content"));let $;try{$=JSON.parse(R.toString("utf-8"))}catch(v){return E(v)}E(null,$)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(v=>{const E=this.readFileSync(v);const R=JSON.parse(E.toString("utf-8"));return R}),this.fileSystem);const ce=this._readJsonBackend.provide;this.readJson=ce;const le=this._readJsonBackend.provideSync;this.readJsonSync=le;this._readlinkBackend=createBackend(E,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const me=this._readlinkBackend.provide;this.readlink=me;const _e=this._readlinkBackend.provideSync;this.readlinkSync=_e}purge(v){this._statBackend.purge(v);this._lstatBackend.purge(v);this._readdirBackend.purgeParent(v);this._readFileBackend.purge(v);this._readlinkBackend.purge(v);this._readJsonBackend.purge(v)}}},70685:function(v,E,R){"use strict";const $=R(10711).basename;v.exports=class CloneBasenamePlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("CloneBasenamePlugin",((R,j,N)=>{const q=$(R.path);const G=v.join(R.path,q);const ie={...R,path:G,relativePath:R.relativePath&&v.join(R.relativePath,q)};v.doResolve(E,ie,"using path: "+G,j,N)}))}}},63419:function(v){"use strict";v.exports=class ConditionalPlugin{constructor(v,E,R,$,j){this.source=v;this.test=E;this.message=R;this.allowAlternatives=$;this.target=j}apply(v){const E=v.ensureHook(this.target);const{test:R,message:$,allowAlternatives:j}=this;const N=Object.keys(R);v.getHook(this.source).tapAsync("ConditionalPlugin",((q,G,ie)=>{for(const v of N){if(q[v]!==R[v])return ie()}v.doResolve(E,q,$,G,j?ie:(v,E)=>{if(v)return ie(v);if(E===undefined)return ie(null,null);ie(null,E)})}))}}},19946:function(v,E,R){"use strict";const $=R(77864);v.exports=class DescriptionFilePlugin{constructor(v,E,R,$){this.source=v;this.filenames=E;this.pathIsFile=R;this.target=$}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("DescriptionFilePlugin",((R,j,N)=>{const q=R.path;if(!q)return N();const G=this.pathIsFile?$.cdUp(q):q;if(!G)return N();$.loadDescriptionFile(v,G,this.filenames,R.descriptionFilePath?{path:R.descriptionFilePath,content:R.descriptionFileData,directory:R.descriptionFileRoot}:undefined,j,(($,ie)=>{if($)return N($);if(!ie){if(j.log)j.log(`No description file found in ${G} or above`);return N()}const ae="."+q.substr(ie.directory.length).replace(/\\/g,"/");const ce={...R,descriptionFilePath:ie.path,descriptionFileData:ie.content,descriptionFileRoot:ie.directory,relativePath:ae};v.doResolve(E,ce,"using description file: "+ie.path+" (relative path: "+ae+")",j,((v,E)=>{if(v)return N(v);if(E===undefined)return N(null,null);N(null,E)}))}))}))}}},77864:function(v,E,R){"use strict";const $=R(30363);function loadDescriptionFile(v,E,R,j,N,q){(function findDescriptionFile(){if(j&&j.directory===E){return q(null,j)}$(R,((R,$)=>{const j=v.join(E,R);if(v.fileSystem.readJson){v.fileSystem.readJson(j,((v,E)=>{if(v){if(typeof v.code!=="undefined"){if(N.missingDependencies){N.missingDependencies.add(j)}return $()}if(N.fileDependencies){N.fileDependencies.add(j)}return onJson(v)}if(N.fileDependencies){N.fileDependencies.add(j)}onJson(null,E)}))}else{v.fileSystem.readFile(j,((v,E)=>{if(v){if(N.missingDependencies){N.missingDependencies.add(j)}return $()}if(N.fileDependencies){N.fileDependencies.add(j)}let R;if(E){try{R=JSON.parse(E.toString())}catch(v){return onJson(v)}}else{return onJson(new Error("No content in file"))}onJson(null,R)}))}function onJson(v,R){if(v){if(N.log)N.log(j+" (directory description file): "+v);else v.message=j+" (directory description file): "+v;return $(v)}$(null,{content:R,directory:E,path:j})}}),((v,R)=>{if(v)return q(v);if(R){return q(null,R)}else{const v=cdUp(E);if(!v){return q()}else{E=v;return findDescriptionFile()}}}))})()}function getField(v,E){if(!v)return undefined;if(Array.isArray(E)){let R=v;for(let v=0;v<E.length;v++){if(R===null||typeof R!=="object"){R=null;break}R=R[E[v]]}return R}else{return v[E]}}function cdUp(v){if(v==="/")return null;const E=v.lastIndexOf("/"),R=v.lastIndexOf("\\");const $=E<0?R:R<0?E:E<R?R:E;if($<0)return null;return v.substr(0,$||1)}E.loadDescriptionFile=loadDescriptionFile;E.getField=getField;E.cdUp=cdUp},92027:function(v){"use strict";v.exports=class DirectoryExistsPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("DirectoryExistsPlugin",((R,$,j)=>{const N=v.fileSystem;const q=R.path;if(!q)return j();N.stat(q,((N,G)=>{if(N||!G){if($.missingDependencies)$.missingDependencies.add(q);if($.log)$.log(q+" doesn't exist");return j()}if(!G.isDirectory()){if($.missingDependencies)$.missingDependencies.add(q);if($.log)$.log(q+" is not a directory");return j()}if($.fileDependencies)$.fileDependencies.add(q);v.doResolve(E,R,`existing directory ${q}`,$,j)}))}))}}},58971:function(v,E,R){"use strict";const $=R(71017);const j=R(77864);const N=R(30363);const{processExportsField:q}=R(45463);const{parseIdentifier:G}=R(24692);const{checkImportsExportsFieldTarget:ie}=R(41005);v.exports=class ExportsFieldPlugin{constructor(v,E,R,$){this.source=v;this.target=$;this.conditionNames=E;this.fieldName=R;this.fieldProcessorCache=new WeakMap}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("ExportsFieldPlugin",((R,ae,ce)=>{if(!R.descriptionFilePath)return ce();if(R.relativePath!=="."||R.request===undefined)return ce();const le=R.query||R.fragment?(R.request==="."?"./":R.request)+R.query+R.fragment:R.request;const me=j.getField(R.descriptionFileData,this.fieldName);if(!me)return ce();if(R.directory){return ce(new Error(`Resolving to directories is not possible with the exports field (request was ${le}/)`))}let _e;try{let v=this.fieldProcessorCache.get(R.descriptionFileData);if(v===undefined){v=q(me);this.fieldProcessorCache.set(R.descriptionFileData,v)}_e=v(le,this.conditionNames)}catch(v){if(ae.log){ae.log(`Exports field in ${R.descriptionFilePath} can't be processed: ${v}`)}return ce(v)}if(_e.length===0){return ce(new Error(`Package path ${le} is not exported from package ${R.descriptionFileRoot} (see exports field in ${R.descriptionFilePath})`))}N(_e,((j,N)=>{const q=G(j);if(!q)return N();const[ce,le,me]=q;const _e=ie(ce);if(_e){return N(_e)}const Ie={...R,request:undefined,path:$.join(R.descriptionFileRoot,ce),relativePath:ce,query:le,fragment:me};v.doResolve(E,Ie,"using exports field: "+j,ae,N)}),((v,E)=>ce(v,E||null)))}))}}},21377:function(v,E,R){"use strict";const $=R(30363);v.exports=class ExtensionAliasPlugin{constructor(v,E,R){this.source=v;this.options=E;this.target=R}apply(v){const E=v.ensureHook(this.target);const{extension:R,alias:j}=this.options;v.getHook(this.source).tapAsync("ExtensionAliasPlugin",((N,q,G)=>{const ie=N.request;if(!ie||!ie.endsWith(R))return G();const resolve=($,j)=>{v.doResolve(E,{...N,request:`${ie.slice(0,-R.length)}${$}`,fullySpecified:true},`aliased from extension alias with mapping '${R}' to '${$}'`,q,j)};const stoppingCallback=(v,E)=>{if(v)return G(v);if(E)return G(null,E);return G(null,null)};if(typeof j==="string"){resolve(j,stoppingCallback)}else if(j.length>1){$(j,resolve,stoppingCallback)}else{resolve(j[0],stoppingCallback)}}))}}},49371:function(v){"use strict";v.exports=class FileExistsPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);const R=v.fileSystem;v.getHook(this.source).tapAsync("FileExistsPlugin",(($,j,N)=>{const q=$.path;if(!q)return N();R.stat(q,((R,G)=>{if(R||!G){if(j.missingDependencies)j.missingDependencies.add(q);if(j.log)j.log(q+" doesn't exist");return N()}if(!G.isFile()){if(j.missingDependencies)j.missingDependencies.add(q);if(j.log)j.log(q+" is not a file");return N()}if(j.fileDependencies)j.fileDependencies.add(q);v.doResolve(E,$,"existing file: "+q,j,N)}))}))}}},33954:function(v,E,R){"use strict";const $=R(71017);const j=R(77864);const N=R(30363);const{processImportsField:q}=R(45463);const{parseIdentifier:G}=R(24692);const{checkImportsExportsFieldTarget:ie}=R(41005);const ae=".".charCodeAt(0);v.exports=class ImportsFieldPlugin{constructor(v,E,R,$,j){this.source=v;this.targetFile=$;this.targetPackage=j;this.conditionNames=E;this.fieldName=R;this.fieldProcessorCache=new WeakMap}apply(v){const E=v.ensureHook(this.targetFile);const R=v.ensureHook(this.targetPackage);v.getHook(this.source).tapAsync("ImportsFieldPlugin",((ce,le,me)=>{if(!ce.descriptionFilePath||ce.request===undefined){return me()}const _e=ce.request+ce.query+ce.fragment;const Ie=j.getField(ce.descriptionFileData,this.fieldName);if(!Ie)return me();if(ce.directory){return me(new Error(`Resolving to directories is not possible with the imports field (request was ${_e}/)`))}let Me;try{let v=this.fieldProcessorCache.get(ce.descriptionFileData);if(v===undefined){v=q(Ie);this.fieldProcessorCache.set(ce.descriptionFileData,v)}Me=v(_e,this.conditionNames)}catch(v){if(le.log){le.log(`Imports field in ${ce.descriptionFilePath} can't be processed: ${v}`)}return me(v)}if(Me.length===0){return me(new Error(`Package import ${_e} is not imported from package ${ce.descriptionFileRoot} (see imports field in ${ce.descriptionFilePath})`))}N(Me,((j,N)=>{const q=G(j);if(!q)return N();const[me,_e,Ie]=q;const Me=ie(me);if(Me){return N(Me)}switch(me.charCodeAt(0)){case ae:{const R={...ce,request:undefined,path:$.join(ce.descriptionFileRoot,me),relativePath:me,query:_e,fragment:Ie};v.doResolve(E,R,"using imports field: "+j,le,N);break}default:{const E={...ce,request:me,relativePath:me,fullySpecified:true,query:_e,fragment:Ie};v.doResolve(R,E,"using imports field: "+j,le,N)}}}),((v,E)=>me(v,E||null)))}))}}},85573:function(v){"use strict";const E="@".charCodeAt(0);v.exports=class JoinRequestPartPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const R=v.ensureHook(this.target);v.getHook(this.source).tapAsync("JoinRequestPartPlugin",(($,j,N)=>{const q=$.request||"";let G=q.indexOf("/",3);if(G>=0&&q.charCodeAt(2)===E){G=q.indexOf("/",G+1)}let ie,ae,ce;if(G<0){ie=q;ae=".";ce=false}else{ie=q.slice(0,G);ae="."+q.slice(G);ce=$.fullySpecified}const le={...$,path:v.join($.path,ie),relativePath:$.relativePath&&v.join($.relativePath,ie),request:ae,fullySpecified:ce};v.doResolve(R,le,null,j,N)}))}}},4562:function(v){"use strict";v.exports=class JoinRequestPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("JoinRequestPlugin",((R,$,j)=>{const N={...R,path:v.join(R.path,R.request),relativePath:R.relativePath&&v.join(R.relativePath,R.request),request:undefined};v.doResolve(E,N,null,$,j)}))}}},46046:function(v){"use strict";v.exports=class LogInfoPlugin{constructor(v){this.source=v}apply(v){const E=this.source;v.getHook(this.source).tapAsync("LogInfoPlugin",((v,R,$)=>{if(!R.log)return $();const j=R.log;const N="["+E+"] ";if(v.path)j(N+"Resolving in directory: "+v.path);if(v.request)j(N+"Resolving request: "+v.request);if(v.module)j(N+"Request is an module request.");if(v.directory)j(N+"Request is a directory request.");if(v.query)j(N+"Resolving request query: "+v.query);if(v.fragment)j(N+"Resolving request fragment: "+v.fragment);if(v.descriptionFilePath)j(N+"Has description data from "+v.descriptionFilePath);if(v.relativePath)j(N+"Relative path from description file is: "+v.relativePath);$()}))}}},47644:function(v,E,R){"use strict";const $=R(71017);const j=R(77864);const N=Symbol("alreadyTriedMainField");v.exports=class MainFieldPlugin{constructor(v,E,R){this.source=v;this.options=E;this.target=R}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("MainFieldPlugin",((R,q,G)=>{if(R.path!==R.descriptionFileRoot||R[N]===R.descriptionFilePath||!R.descriptionFilePath)return G();const ie=$.basename(R.descriptionFilePath);let ae=j.getField(R.descriptionFileData,this.options.name);if(!ae||typeof ae!=="string"||ae==="."||ae==="./"){return G()}if(this.options.forceRelative&&!/^\.\.?\//.test(ae))ae="./"+ae;const ce={...R,request:ae,module:false,directory:ae.endsWith("/"),[N]:R.descriptionFilePath};return v.doResolve(E,ce,"use "+ae+" from "+this.options.name+" in "+ie,q,G)}))}}},63493:function(v,E,R){"use strict";const $=R(30363);const j=R(10711);v.exports=class ModulesInHierarchicalDirectoriesPlugin{constructor(v,E,R){this.source=v;this.directories=[].concat(E);this.target=R}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("ModulesInHierarchicalDirectoriesPlugin",((R,N,q)=>{const G=v.fileSystem;const ie=j(R.path).paths.map((E=>this.directories.map((R=>v.join(E,R))))).reduce(((v,E)=>{v.push.apply(v,E);return v}),[]);$(ie,(($,j)=>{G.stat($,((q,G)=>{if(!q&&G&&G.isDirectory()){const q={...R,path:$,request:"./"+R.request,module:false};const G="looking for modules in "+$;return v.doResolve(E,q,G,N,j)}if(N.log)N.log($+" doesn't exist or is not a directory");if(N.missingDependencies)N.missingDependencies.add($);return j()}))}),q)}))}}},68658:function(v){"use strict";v.exports=class ModulesInRootPlugin{constructor(v,E,R){this.source=v;this.path=E;this.target=R}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("ModulesInRootPlugin",((R,$,j)=>{const N={...R,path:this.path,request:"./"+R.request,module:false};v.doResolve(E,N,"looking for modules in "+this.path,$,j)}))}}},4250:function(v){"use strict";v.exports=class NextPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("NextPlugin",((R,$,j)=>{v.doResolve(E,R,null,$,j)}))}}},26599:function(v){"use strict";v.exports=class ParsePlugin{constructor(v,E,R){this.source=v;this.requestOptions=E;this.target=R}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("ParsePlugin",((R,$,j)=>{const N=v.parse(R.request);const q={...R,...N,...this.requestOptions};if(R.query&&!N.query){q.query=R.query}if(R.fragment&&!N.fragment){q.fragment=R.fragment}if(N&&$.log){if(N.module)$.log("Parsed request is a module");if(N.directory)$.log("Parsed request is a directory")}if(q.request&&!q.query&&q.fragment){const R=q.fragment.endsWith("/");const N={...q,directory:R,request:q.request+(q.directory?"/":"")+(R?q.fragment.slice(0,-1):q.fragment),fragment:""};v.doResolve(E,N,null,$,((R,N)=>{if(R)return j(R);if(N)return j(null,N);v.doResolve(E,q,null,$,j)}));return}v.doResolve(E,q,null,$,j)}))}}},83898:function(v){"use strict";v.exports=class PnpPlugin{constructor(v,E,R){this.source=v;this.pnpApi=E;this.target=R}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("PnpPlugin",((R,$,j)=>{const N=R.request;if(!N)return j();const q=`${R.path}/`;const G=/^(@[^/]+\/)?[^/]+/.exec(N);if(!G)return j();const ie=G[0];const ae=`.${N.slice(ie.length)}`;let ce;let le;try{ce=this.pnpApi.resolveToUnqualified(ie,q,{considerBuiltins:false});if($.fileDependencies){le=this.pnpApi.resolveToUnqualified("pnpapi",q,{considerBuiltins:false})}}catch(v){if(v.code==="MODULE_NOT_FOUND"&&v.pnpCode==="UNDECLARED_DEPENDENCY"){if($.log){$.log(`request is not managed by the pnpapi`);for(const E of v.message.split("\n").filter(Boolean))$.log(` ${E}`)}return j()}return j(v)}if(ce===ie)return j();if(le&&$.fileDependencies){$.fileDependencies.add(le)}const me={...R,path:ce,request:ae,ignoreSymlinks:true,fullySpecified:R.fullySpecified&&ae!=="."};v.doResolve(E,me,`resolved by pnp to ${ce}`,$,((v,E)=>{if(v)return j(v);if(E)return j(null,E);return j(null,null)}))}))}}},70899:function(v,E,R){"use strict";const{AsyncSeriesBailHook:$,AsyncSeriesHook:j,SyncHook:N}=R(79846);const q=R(76669);const{parseIdentifier:G}=R(24692);const{normalize:ie,cachedJoin:ae,getType:ce,PathType:le}=R(41005);function toCamelCase(v){return v.replace(/-([a-z])/g,(v=>v.substr(1).toUpperCase()))}class Resolver{static createStackEntry(v,E){return v.name+": ("+E.path+") "+(E.request||"")+(E.query||"")+(E.fragment||"")+(E.directory?" directory":"")+(E.module?" module":"")}constructor(v,E){this.fileSystem=v;this.options=E;this.hooks={resolveStep:new N(["hook","request"],"resolveStep"),noResolve:new N(["request","error"],"noResolve"),resolve:new $(["request","resolveContext"],"resolve"),result:new j(["result","resolveContext"],"result")}}ensureHook(v){if(typeof v!=="string"){return v}v=toCamelCase(v);if(/^before/.test(v)){return this.ensureHook(v[6].toLowerCase()+v.substr(7)).withOptions({stage:-10})}if(/^after/.test(v)){return this.ensureHook(v[5].toLowerCase()+v.substr(6)).withOptions({stage:10})}const E=this.hooks[v];if(!E){return this.hooks[v]=new $(["request","resolveContext"],v)}return E}getHook(v){if(typeof v!=="string"){return v}v=toCamelCase(v);if(/^before/.test(v)){return this.getHook(v[6].toLowerCase()+v.substr(7)).withOptions({stage:-10})}if(/^after/.test(v)){return this.getHook(v[5].toLowerCase()+v.substr(6)).withOptions({stage:10})}const E=this.hooks[v];if(!E){throw new Error(`Hook ${v} doesn't exist`)}return E}resolveSync(v,E,R){let $=undefined;let j=undefined;let N=false;this.resolve(v,E,R,{},((v,E)=>{$=v;j=E;N=true}));if(!N){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if($)throw $;if(j===undefined)throw new Error("No result");return j}resolve(v,E,R,$,j){if(!v||typeof v!=="object")return j(new Error("context argument is not an object"));if(typeof E!=="string")return j(new Error("path argument is not a string"));if(typeof R!=="string")return j(new Error("request argument is not a string"));if(!$)return j(new Error("resolveContext argument is not set"));const N={context:v,path:E,request:R};let q;let G=false;let ie;if(typeof $.yield==="function"){const v=$.yield;q=E=>{v(E);G=true};ie=v=>{if(v)q(v);j(null)}}const ae=`resolve '${R}' in '${E}'`;const finishResolved=v=>j(null,v.path===false?false:`${v.path.replace(/#/g,"\0#")}${v.query?v.query.replace(/#/g,"\0#"):""}${v.fragment||""}`,v);const finishWithoutResolve=v=>{const E=new Error("Can't "+ae);E.details=v.join("\n");this.hooks.noResolve.call(N,E);return j(E)};if($.log){const v=$.log;const E=[];return this.doResolve(this.hooks.resolve,N,ae,{log:R=>{v(R);E.push(R)},yield:q,fileDependencies:$.fileDependencies,contextDependencies:$.contextDependencies,missingDependencies:$.missingDependencies,stack:$.stack},((v,R)=>{if(v)return j(v);if(G||R&&q)return ie(R);if(R)return finishResolved(R);return finishWithoutResolve(E)}))}else{return this.doResolve(this.hooks.resolve,N,ae,{log:undefined,yield:q,fileDependencies:$.fileDependencies,contextDependencies:$.contextDependencies,missingDependencies:$.missingDependencies,stack:$.stack},((v,E)=>{if(v)return j(v);if(G||E&&q)return ie(E);if(E)return finishResolved(E);const R=[];return this.doResolve(this.hooks.resolve,N,ae,{log:v=>R.push(v),yield:q,stack:$.stack},((v,E)=>{if(v)return j(v);if(G||E&&q)return ie(E);return finishWithoutResolve(R)}))}))}}doResolve(v,E,R,$,j){const N=Resolver.createStackEntry(v,E);let G;if($.stack){G=new Set($.stack);if($.stack.has(N)){const v=new Error("Recursion in resolving\nStack:\n "+Array.from(G).join("\n "));v.recursion=true;if($.log)$.log("abort resolving because of recursion");return j(v)}G.add(N)}else{G=new Set([N])}this.hooks.resolveStep.call(v,E);if(v.isUsed()){const N=q({log:$.log,yield:$.yield,fileDependencies:$.fileDependencies,contextDependencies:$.contextDependencies,missingDependencies:$.missingDependencies,stack:G},R);return v.callAsync(E,N,((v,E)=>{if(v)return j(v);if(E)return j(null,E);j()}))}else{j()}}parse(v){const E={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const R=G(v);if(!R)return E;[E.request,E.query,E.fragment]=R;if(E.request.length>0){E.internal=this.isPrivate(v);E.module=this.isModule(E.request);E.directory=this.isDirectory(E.request);if(E.directory){E.request=E.request.substr(0,E.request.length-1)}}return E}isModule(v){return ce(v)===le.Normal}isPrivate(v){return ce(v)===le.Internal}isDirectory(v){return v.endsWith("/")}join(v,E){return ae(v,E)}normalize(v){return ie(v)}}v.exports=Resolver},87316:function(v,E,R){"use strict";const $=R(77282).versions;const j=R(70899);const{getType:N,PathType:q}=R(41005);const G=R(79749);const ie=R(37486);const ae=R(4281);const ce=R(7023);const le=R(63419);const me=R(19946);const _e=R(92027);const Ie=R(58971);const Me=R(21377);const Oe=R(49371);const Te=R(33954);const Ne=R(85573);const Be=R(4562);const Le=R(47644);const qe=R(63493);const Ue=R(68658);const Ge=R(4250);const He=R(26599);const We=R(83898);const Qe=R(88477);const Je=R(79918);const Ve=R(34176);const Ke=R(97510);const Xe=R(31219);const Ye=R(37090);const Ze=R(41790);const et=R(90143);function processPnpApiOption(v){if(v===undefined&&$.pnp){return R(35125)}return v||null}function normalizeAlias(v){return typeof v==="object"&&!Array.isArray(v)&&v!==null?Object.keys(v).map((E=>{const R={name:E,onlyModule:false,alias:v[E]};if(/\$$/.test(E)){R.onlyModule=true;R.name=E.substr(0,E.length-1)}return R})):v||[]}function createOptions(v){const E=new Set(v.mainFields||["main"]);const R=[];for(const v of E){if(typeof v==="string"){R.push({name:[v],forceRelative:true})}else if(Array.isArray(v)){R.push({name:v,forceRelative:true})}else{R.push({name:Array.isArray(v.name)?v.name:[v.name],forceRelative:v.forceRelative})}}return{alias:normalizeAlias(v.alias),fallback:normalizeAlias(v.fallback),aliasFields:new Set(v.aliasFields),cachePredicate:v.cachePredicate||function(){return true},cacheWithContext:typeof v.cacheWithContext!=="undefined"?v.cacheWithContext:true,exportsFields:new Set(v.exportsFields||["exports"]),importsFields:new Set(v.importsFields||["imports"]),conditionNames:new Set(v.conditionNames),descriptionFiles:Array.from(new Set(v.descriptionFiles||["package.json"])),enforceExtension:v.enforceExtension===undefined?v.extensions&&v.extensions.includes("")?true:false:v.enforceExtension,extensions:new Set(v.extensions||[".js",".json",".node"]),extensionAlias:v.extensionAlias?Object.keys(v.extensionAlias).map((E=>({extension:E,alias:v.extensionAlias[E]}))):[],fileSystem:v.useSyncFileSystemCalls?new G(v.fileSystem):v.fileSystem,unsafeCache:v.unsafeCache&&typeof v.unsafeCache!=="object"?{}:v.unsafeCache||false,symlinks:typeof v.symlinks!=="undefined"?v.symlinks:true,resolver:v.resolver,modules:mergeFilteredToArray(Array.isArray(v.modules)?v.modules:v.modules?[v.modules]:["node_modules"],(v=>{const E=N(v);return E===q.Normal||E===q.Relative})),mainFields:R,mainFiles:new Set(v.mainFiles||["index"]),plugins:v.plugins||[],pnpApi:processPnpApiOption(v.pnpApi),roots:new Set(v.roots||undefined),fullySpecified:v.fullySpecified||false,resolveToContext:v.resolveToContext||false,preferRelative:v.preferRelative||false,preferAbsolute:v.preferAbsolute||false,restrictions:new Set(v.restrictions)}}E.createResolver=function(v){const E=createOptions(v);const{alias:R,fallback:$,aliasFields:N,cachePredicate:q,cacheWithContext:G,conditionNames:tt,descriptionFiles:nt,enforceExtension:st,exportsFields:rt,extensionAlias:ot,importsFields:it,extensions:at,fileSystem:ct,fullySpecified:lt,mainFields:ut,mainFiles:pt,modules:dt,plugins:ft,pnpApi:ht,resolveToContext:mt,preferRelative:gt,preferAbsolute:yt,symlinks:bt,unsafeCache:xt,resolver:kt,restrictions:vt,roots:wt}=E;const Ct=ft.slice();const At=kt?kt:new j(ct,E);At.ensureHook("resolve");At.ensureHook("internalResolve");At.ensureHook("newInternalResolve");At.ensureHook("parsedResolve");At.ensureHook("describedResolve");At.ensureHook("rawResolve");At.ensureHook("normalResolve");At.ensureHook("internal");At.ensureHook("rawModule");At.ensureHook("module");At.ensureHook("resolveAsModule");At.ensureHook("undescribedResolveInPackage");At.ensureHook("resolveInPackage");At.ensureHook("resolveInExistingDirectory");At.ensureHook("relative");At.ensureHook("describedRelative");At.ensureHook("directory");At.ensureHook("undescribedExistingDirectory");At.ensureHook("existingDirectory");At.ensureHook("undescribedRawFile");At.ensureHook("rawFile");At.ensureHook("file");At.ensureHook("finalFile");At.ensureHook("existingFile");At.ensureHook("resolved");At.hooks.newInteralResolve=At.hooks.newInternalResolve;for(const{source:v,resolveOptions:E}of[{source:"resolve",resolveOptions:{fullySpecified:lt}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(xt){Ct.push(new Ze(v,q,xt,G,`new-${v}`));Ct.push(new He(`new-${v}`,E,"parsed-resolve"))}else{Ct.push(new He(v,E,"parsed-resolve"))}}Ct.push(new me("parsed-resolve",nt,false,"described-resolve"));Ct.push(new Ge("after-parsed-resolve","described-resolve"));Ct.push(new Ge("described-resolve","raw-resolve"));if($.length>0){Ct.push(new ae("described-resolve",$,"internal-resolve"))}if(R.length>0){Ct.push(new ae("raw-resolve",R,"internal-resolve"))}N.forEach((v=>{Ct.push(new ie("raw-resolve",v,"internal-resolve"))}));ot.forEach((v=>Ct.push(new Me("raw-resolve",v,"normal-resolve"))));Ct.push(new Ge("raw-resolve","normal-resolve"));if(gt){Ct.push(new Be("after-normal-resolve","relative"))}Ct.push(new le("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));Ct.push(new le("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(yt){Ct.push(new Be("after-normal-resolve","relative"))}if(wt.size>0){Ct.push(new Ve("after-normal-resolve",wt,"relative"))}if(!gt&&!yt){Ct.push(new Be("after-normal-resolve","relative"))}it.forEach((v=>{Ct.push(new Te("internal",tt,v,"relative","internal-resolve"))}));rt.forEach((v=>{Ct.push(new Ke("raw-module",v,"resolve-as-module"))}));dt.forEach((v=>{if(Array.isArray(v)){if(v.includes("node_modules")&&ht){Ct.push(new qe("raw-module",v.filter((v=>v!=="node_modules")),"module"));Ct.push(new We("raw-module",ht,"undescribed-resolve-in-package"))}else{Ct.push(new qe("raw-module",v,"module"))}}else{Ct.push(new Ue("raw-module",v,"module"))}}));Ct.push(new Ne("module","resolve-as-module"));if(!mt){Ct.push(new le("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}Ct.push(new _e("resolve-as-module","undescribed-resolve-in-package"));Ct.push(new me("undescribed-resolve-in-package",nt,false,"resolve-in-package"));Ct.push(new Ge("after-undescribed-resolve-in-package","resolve-in-package"));rt.forEach((v=>{Ct.push(new Ie("resolve-in-package",tt,v,"relative"))}));Ct.push(new Ge("resolve-in-package","resolve-in-existing-directory"));Ct.push(new Be("resolve-in-existing-directory","relative"));Ct.push(new me("relative",nt,true,"described-relative"));Ct.push(new Ge("after-relative","described-relative"));if(mt){Ct.push(new Ge("described-relative","directory"))}else{Ct.push(new le("described-relative",{directory:false},null,true,"raw-file"));Ct.push(new le("described-relative",{fullySpecified:false},"as directory",true,"directory"))}Ct.push(new _e("directory","undescribed-existing-directory"));if(mt){Ct.push(new Ge("undescribed-existing-directory","resolved"))}else{Ct.push(new me("undescribed-existing-directory",nt,false,"existing-directory"));pt.forEach((v=>{Ct.push(new et("undescribed-existing-directory",v,"undescribed-raw-file"))}));ut.forEach((v=>{Ct.push(new Le("existing-directory",v,"resolve-in-existing-directory"))}));pt.forEach((v=>{Ct.push(new et("existing-directory",v,"undescribed-raw-file"))}));Ct.push(new me("undescribed-raw-file",nt,true,"raw-file"));Ct.push(new Ge("after-undescribed-raw-file","raw-file"));Ct.push(new le("raw-file",{fullySpecified:true},null,false,"file"));if(!st){Ct.push(new Ye("raw-file","no extension","file"))}at.forEach((v=>{Ct.push(new ce("raw-file",v,"file"))}));if(R.length>0)Ct.push(new ae("file",R,"internal-resolve"));N.forEach((v=>{Ct.push(new ie("file",v,"internal-resolve"))}));Ct.push(new Ge("file","final-file"));Ct.push(new Oe("final-file","existing-file"));if(bt)Ct.push(new Xe("existing-file","existing-file"));Ct.push(new Ge("existing-file","resolved"))}if(vt.size>0){Ct.push(new Qe(At.hooks.resolved,vt))}Ct.push(new Je(At.hooks.resolved));for(const v of Ct){if(typeof v==="function"){v.call(At,At)}else{v.apply(At)}}return At};function mergeFilteredToArray(v,E){const R=[];const $=new Set(v);for(const v of $){if(E(v)){const E=R.length>0?R[R.length-1]:undefined;if(Array.isArray(E)){E.push(v)}else{R.push([v])}}else{R.push(v)}}return R}},88477:function(v){"use strict";const E="/".charCodeAt(0);const R="\\".charCodeAt(0);const isInside=(v,$)=>{if(!v.startsWith($))return false;if(v.length===$.length)return true;const j=v.charCodeAt($.length);return j===E||j===R};v.exports=class RestrictionsPlugin{constructor(v,E){this.source=v;this.restrictions=E}apply(v){v.getHook(this.source).tapAsync("RestrictionsPlugin",((v,E,R)=>{if(typeof v.path==="string"){const $=v.path;for(const v of this.restrictions){if(typeof v==="string"){if(!isInside($,v)){if(E.log){E.log(`${$} is not inside of the restriction ${v}`)}return R(null,null)}}else if(!v.test($)){if(E.log){E.log(`${$} doesn't match the restriction ${v}`)}return R(null,null)}}}R()}))}}},79918:function(v){"use strict";v.exports=class ResultPlugin{constructor(v){this.source=v}apply(v){this.source.tapAsync("ResultPlugin",((E,R,$)=>{const j={...E};if(R.log)R.log("reporting result "+j.path);v.hooks.result.callAsync(j,R,(v=>{if(v)return $(v);if(typeof R.yield==="function"){R.yield(j);$(null,null)}else{$(null,j)}}))}))}}},34176:function(v,E,R){"use strict";const $=R(30363);class RootsPlugin{constructor(v,E,R){this.roots=Array.from(E);this.source=v;this.target=R}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("RootsPlugin",((R,j,N)=>{const q=R.request;if(!q)return N();if(!q.startsWith("/"))return N();$(this.roots,(($,N)=>{const G=v.join($,q.slice(1));const ie={...R,path:G,relativePath:R.relativePath&&G};v.doResolve(E,ie,`root path ${$}`,j,N)}),N)}))}}v.exports=RootsPlugin},97510:function(v,E,R){"use strict";const $=R(77864);const j="/".charCodeAt(0);v.exports=class SelfReferencePlugin{constructor(v,E,R){this.source=v;this.target=R;this.fieldName=E}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("SelfReferencePlugin",((R,N,q)=>{if(!R.descriptionFilePath)return q();const G=R.request;if(!G)return q();const ie=$.getField(R.descriptionFileData,this.fieldName);if(!ie)return q();const ae=$.getField(R.descriptionFileData,"name");if(typeof ae!=="string")return q();if(G.startsWith(ae)&&(G.length===ae.length||G.charCodeAt(ae.length)===j)){const $=`.${G.slice(ae.length)}`;const j={...R,request:$,path:R.descriptionFileRoot,relativePath:"."};v.doResolve(E,j,"self reference",N,q)}else{return q()}}))}}},31219:function(v,E,R){"use strict";const $=R(30363);const j=R(10711);const{getType:N,PathType:q}=R(41005);v.exports=class SymlinkPlugin{constructor(v,E){this.source=v;this.target=E}apply(v){const E=v.ensureHook(this.target);const R=v.fileSystem;v.getHook(this.source).tapAsync("SymlinkPlugin",((G,ie,ae)=>{if(G.ignoreSymlinks)return ae();const ce=j(G.path);const le=ce.segments;const me=ce.paths;let _e=false;let Ie=-1;$(me,((v,E)=>{Ie++;if(ie.fileDependencies)ie.fileDependencies.add(v);R.readlink(v,((v,R)=>{if(!v&&R){le[Ie]=R;_e=true;const v=N(R.toString());if(v===q.AbsoluteWin||v===q.AbsolutePosix){return E(null,Ie)}}E()}))}),((R,$)=>{if(!_e)return ae();const j=typeof $==="number"?le.slice(0,$+1):le.slice();const N=j.reduceRight(((E,R)=>v.join(E,R)));const q={...G,path:N};v.doResolve(E,q,"resolved symlink to "+N,ie,ae)}))}))}}},79749:function(v){"use strict";function SyncAsyncFileSystemDecorator(v){this.fs=v;this.lstat=undefined;this.lstatSync=undefined;const E=v.lstatSync;if(E){this.lstat=(R,$,j)=>{let N;try{N=E.call(v,R)}catch(v){return(j||$)(v)}(j||$)(null,N)};this.lstatSync=(R,$)=>E.call(v,R,$)}this.stat=(E,R,$)=>{let j;try{j=$?v.statSync(E,R):v.statSync(E)}catch(v){return($||R)(v)}($||R)(null,j)};this.statSync=(E,R)=>v.statSync(E,R);this.readdir=(E,R,$)=>{let j;try{j=v.readdirSync(E)}catch(v){return($||R)(v)}($||R)(null,j)};this.readdirSync=(E,R)=>v.readdirSync(E,R);this.readFile=(E,R,$)=>{let j;try{j=v.readFileSync(E)}catch(v){return($||R)(v)}($||R)(null,j)};this.readFileSync=(E,R)=>v.readFileSync(E,R);this.readlink=(E,R,$)=>{let j;try{j=v.readlinkSync(E)}catch(v){return($||R)(v)}($||R)(null,j)};this.readlinkSync=(E,R)=>v.readlinkSync(E,R);this.readJson=undefined;this.readJsonSync=undefined;const R=v.readJsonSync;if(R){this.readJson=(E,$,j)=>{let N;try{N=R.call(v,E)}catch(v){return(j||$)(v)}(j||$)(null,N)};this.readJsonSync=(E,$)=>R.call(v,E,$)}}v.exports=SyncAsyncFileSystemDecorator},37090:function(v){"use strict";v.exports=class TryNextPlugin{constructor(v,E,R){this.source=v;this.message=E;this.target=R}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("TryNextPlugin",((R,$,j)=>{v.doResolve(E,R,this.message,$,j)}))}}},41790:function(v){"use strict";function getCacheId(v,E,R){return JSON.stringify({type:v,context:R?E.context:"",path:E.path,query:E.query,fragment:E.fragment,request:E.request})}v.exports=class UnsafeCachePlugin{constructor(v,E,R,$,j){this.source=v;this.filterPredicate=E;this.withContext=$;this.cache=R;this.target=j}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("UnsafeCachePlugin",((R,$,j)=>{if(!this.filterPredicate(R))return j();const N=typeof $.yield==="function";const q=getCacheId(N?"yield":"default",R,this.withContext);const G=this.cache[q];if(G){if(N){const v=$.yield;if(Array.isArray(G)){for(const E of G)v(E)}else{v(G)}return j(null,null)}return j(null,G)}let ie;let ae;const ce=[];if(N){ie=$.yield;ae=v=>{ce.push(v)}}v.doResolve(E,R,null,ae?{...$,yield:ae}:$,((v,E)=>{if(v)return j(v);if(N){if(E)ce.push(E);for(const v of ce)ie(v);this.cache[q]=ce;return j(null,null)}if(E)return j(null,this.cache[q]=E);j()}))}))}}},90143:function(v){"use strict";v.exports=class UseFilePlugin{constructor(v,E,R){this.source=v;this.filename=E;this.target=R}apply(v){const E=v.ensureHook(this.target);v.getHook(this.source).tapAsync("UseFilePlugin",((R,$,j)=>{const N=v.join(R.path,this.filename);const q={...R,path:N,relativePath:R.relativePath&&v.join(R.relativePath,this.filename)};v.doResolve(E,q,"using path: "+N,$,j)}))}}},76669:function(v){"use strict";v.exports=function createInnerContext(v,E,R){let $=false;let j=undefined;if(v.log){if(E){j=R=>{if(!$){v.log(E);$=true}v.log(" "+R)}}else{j=v.log}}const N={log:j,yield:v.yield,fileDependencies:v.fileDependencies,contextDependencies:v.contextDependencies,missingDependencies:v.missingDependencies,stack:v.stack};return N}},30363:function(v){"use strict";v.exports=function forEachBail(v,E,R){if(v.length===0)return R();let $=0;const next=()=>{let j=undefined;E(v[$++],((E,N)=>{if(E||N!==undefined||$>=v.length){return R(E,N)}if(j===false)while(next());j=true}));if(!j)j=false;return j};while(next());}},4319:function(v){"use strict";v.exports=function getInnerRequest(v,E){if(typeof E.__innerRequest==="string"&&E.__innerRequest_request===E.request&&E.__innerRequest_relativePath===E.relativePath)return E.__innerRequest;let R;if(E.request){R=E.request;if(/^\.\.?(?:\/|$)/.test(R)&&E.relativePath){R=v.join(E.relativePath,R)}}else{R=E.relativePath}E.__innerRequest_request=E.request;E.__innerRequest_relativePath=E.relativePath;return E.__innerRequest=R}},10711:function(v){"use strict";v.exports=function getPaths(v){if(v==="/")return{paths:["/"],segments:[""]};const E=v.split(/(.*?[\\/]+)/);const R=[v];const $=[E[E.length-1]];let j=E[E.length-1];v=v.substr(0,v.length-j.length-1);for(let N=E.length-2;N>2;N-=2){R.push(v);j=E[N];v=v.substr(0,v.length-j.length)||"/";$.push(j.substr(0,j.length-1))}j=E[1];$.push(j);R.push(j);return{paths:R,segments:$}};v.exports.basename=function basename(v){const E=v.lastIndexOf("/"),R=v.lastIndexOf("\\");const $=E<0?R:R<0?E:E<R?R:E;if($<0)return null;const j=v.substr($+1);return j}},24407:function(v,E,R){"use strict";const $=R(19263);const j=R(46495);const N=R(87316);const q=new j($,4e3);const G={environments:["node+es3+es5+process+native"]};const ie=N.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:q});function resolve(v,E,R,$,j){if(typeof v==="string"){j=$;$=R;R=E;E=v;v=G}if(typeof j!=="function"){j=$}ie.resolve(v,E,R,$,j)}const ae=N.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:q});function resolveSync(v,E,R){if(typeof v==="string"){R=E;E=v;v=G}return ae.resolveSync(v,E,R)}function create(v){v={fileSystem:q,...v};const E=N.createResolver(v);return function(v,R,$,j,N){if(typeof v==="string"){N=j;j=$;$=R;R=v;v=G}if(typeof N!=="function"){N=j}E.resolve(v,R,$,j,N)}}function createSync(v){v={useSyncFileSystemCalls:true,fileSystem:q,...v};const E=N.createResolver(v);return function(v,R,$){if(typeof v==="string"){$=R;R=v;v=G}return E.resolveSync(v,R,$)}}const mergeExports=(v,E)=>{const R=Object.getOwnPropertyDescriptors(E);Object.defineProperties(v,R);return Object.freeze(v)};v.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:N,CachedInputFileSystem:j,get CloneBasenamePlugin(){return R(70685)},get LogInfoPlugin(){return R(46046)},get forEachBail(){return R(30363)}})},45463:function(v){"use strict";const E="/".charCodeAt(0);const R=".".charCodeAt(0);const $="#".charCodeAt(0);v.exports.processExportsField=function processExportsField(v){return createFieldProcessor(buildExportsFieldPathTree(v),assertExportsFieldRequest,assertExportTarget)};v.exports.processImportsField=function processImportsField(v){return createFieldProcessor(buildImportsFieldPathTree(v),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(v,E,R){return function fieldProcessor($,j){$=E($);const N=findMatch($,v);if(N===null)return[];const[q,G]=N;let ie=null;if(isConditionalMapping(q)){ie=conditionalMapping(q,j);if(ie===null)return[]}else{ie=q}const ae=G===$.length+1?undefined:G<0?$.slice(-G-1):$.slice(G);return directMapping(ae,G<0,ie,j,R)}}function assertExportsFieldRequest(v){if(v.charCodeAt(0)!==R){throw new Error('Request should be relative path and start with "."')}if(v.length===1)return"";if(v.charCodeAt(1)!==E){throw new Error('Request should be relative path and start with "./"')}if(v.charCodeAt(v.length-1)===E){throw new Error("Only requesting file allowed")}return v.slice(2)}function assertImportsFieldRequest(v){if(v.charCodeAt(0)!==$){throw new Error('Request should start with "#"')}if(v.length===1){throw new Error("Request should have at least 2 characters")}if(v.charCodeAt(1)===E){throw new Error('Request should not start with "#/"')}if(v.charCodeAt(v.length-1)===E){throw new Error("Only requesting file allowed")}return v.slice(1)}function assertExportTarget(v,$){if(v.charCodeAt(0)===E||v.charCodeAt(0)===R&&v.charCodeAt(1)!==E){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(v)}.`)}const j=v.charCodeAt(v.length-1)===E;if(j!==$){throw new Error($?`Expecting folder to folder mapping. ${JSON.stringify(v)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(v)} should not end with "/"`)}}function assertImportTarget(v,R){const $=v.charCodeAt(v.length-1)===E;if($!==R){throw new Error(R?`Expecting folder to folder mapping. ${JSON.stringify(v)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(v)} should not end with "/"`)}}function findMatch(v,E){if(v.length===0){const v=E.files.get("");return v?[v,1]:null}if(E.children===null&&E.folder===null&&E.wildcards===null){const R=E.files.get(v);return R?[R,v.length+1]:null}let R=E;let $=0;let j=v.indexOf("/",0);let N=null;const applyFolderMapping=()=>{const v=R.folder;if(v){if(N){N[0]=v;N[1]=-$-1}else{N=[v,-$-1]}}};const applyWildcardMappings=(v,E)=>{if(v){for(const[R,j]of v){if(E.startsWith(R)){if(!N){N=[j,$+R.length]}else if(N[1]<$+R.length){N[0]=j;N[1]=$+R.length}}}}};while(j!==-1){applyFolderMapping();const E=R.wildcards;if(!E&&R.children===null)return N;const q=v.slice($,j);applyWildcardMappings(E,q);if(R.children===null)return N;const G=R.children.get(q);if(!G){return N}R=G;$=j+1;j=v.indexOf("/",$)}const q=$>0?v.slice($):v;const G=R.files.get(q);if(G){return[G,v.length+1]}applyFolderMapping();applyWildcardMappings(R.wildcards,q);return N}function isConditionalMapping(v){return v!==null&&typeof v==="object"&&!Array.isArray(v)}function directMapping(v,E,R,$,j){if(R===null)return[];if(typeof R==="string"){return[targetMapping(v,E,R,j)]}const N=[];for(const q of R){if(typeof q==="string"){N.push(targetMapping(v,E,q,j));continue}const R=conditionalMapping(q,$);if(!R)continue;const G=directMapping(v,E,R,$,j);for(const v of G){N.push(v)}}return N}function targetMapping(v,E,R,$){if(v===undefined){$(R,false);return R}if(E){$(R,true);return R+v}$(R,false);return R.replace(/\*/g,v.replace(/\$/g,"$$"))}function conditionalMapping(v,E){let R=[[v,Object.keys(v),0]];e:while(R.length>0){const[v,$,j]=R[R.length-1];const N=$.length-1;for(let q=j;q<$.length;q++){const j=$[q];if(q!==N){if(j==="default"){throw new Error("Default condition should be last one")}}else if(j==="default"){const E=v[j];if(isConditionalMapping(E)){const v=E;R[R.length-1][2]=q+1;R.push([v,Object.keys(v),0]);continue e}return E}if(E.has(j)){const E=v[j];if(isConditionalMapping(E)){const v=E;R[R.length-1][2]=q+1;R.push([v,Object.keys(v),0]);continue e}return E}}R.pop()}return null}function createNode(){return{children:null,folder:null,wildcards:null,files:new Map}}function walkPath(v,E,R){if(E.length===0){v.folder=R;return}let $=v;let j=0;let N=E.indexOf("/",0);while(N!==-1){const v=E.slice(j,N);let R;if($.children===null){R=createNode();$.children=new Map;$.children.set(v,R)}else{R=$.children.get(v);if(!R){R=createNode();$.children.set(v,R)}}$=R;j=N+1;N=E.indexOf("/",j)}if(j>=E.length){$.folder=R}else{const v=j>0?E.slice(j):E;if(v.endsWith("*")){if($.wildcards===null)$.wildcards=new Map;$.wildcards.set(v.slice(0,-1),R)}else{$.files.set(v,R)}}}function buildExportsFieldPathTree(v){const $=createNode();if(typeof v==="string"){$.files.set("",v);return $}else if(Array.isArray(v)){$.files.set("",v.slice());return $}const j=Object.keys(v);for(let N=0;N<j.length;N++){const q=j[N];if(q.charCodeAt(0)!==R){if(N===0){while(N<j.length){const v=j[N].charCodeAt(0);if(v===R||v===E){throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(q)})`)}N++}$.files.set("",v);return $}throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(q)})`)}if(q.length===1){$.files.set("",v[q]);continue}if(q.charCodeAt(1)!==E){throw new Error(`Exports field key should be relative path and start with "./" (key: ${JSON.stringify(q)})`)}walkPath($,q.slice(2),v[q])}return $}function buildImportsFieldPathTree(v){const R=createNode();const j=Object.keys(v);for(let N=0;N<j.length;N++){const q=j[N];if(q.charCodeAt(0)!==$){throw new Error(`Imports field key should start with "#" (key: ${JSON.stringify(q)})`)}if(q.length===1){throw new Error(`Imports field key should have at least 2 characters (key: ${JSON.stringify(q)})`)}if(q.charCodeAt(1)===E){throw new Error(`Imports field key should not start with "#/" (key: ${JSON.stringify(q)})`)}walkPath(R,q.slice(1),v[q])}return R}},24692:function(v){"use strict";const E=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parseIdentifier(v){const R=E.exec(v);if(!R)return null;return[R[1].replace(/\0(.)/g,"$1"),R[2]?R[2].replace(/\0(.)/g,"$1"):"",R[3]||""]}v.exports.parseIdentifier=parseIdentifier},41005:function(v,E,R){"use strict";const $=R(71017);const j="#".charCodeAt(0);const N="/".charCodeAt(0);const q="\\".charCodeAt(0);const G="A".charCodeAt(0);const ie="Z".charCodeAt(0);const ae="a".charCodeAt(0);const ce="z".charCodeAt(0);const le=".".charCodeAt(0);const me=":".charCodeAt(0);const _e=$.posix.normalize;const Ie=$.win32.normalize;const Me=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});E.PathType=Me;const getType=v=>{switch(v.length){case 0:return Me.Empty;case 1:{const E=v.charCodeAt(0);switch(E){case le:return Me.Relative;case N:return Me.AbsolutePosix;case j:return Me.Internal}return Me.Normal}case 2:{const E=v.charCodeAt(0);switch(E){case le:{const E=v.charCodeAt(1);switch(E){case le:case N:return Me.Relative}return Me.Normal}case N:return Me.AbsolutePosix;case j:return Me.Internal}const R=v.charCodeAt(1);if(R===me){if(E>=G&&E<=ie||E>=ae&&E<=ce){return Me.AbsoluteWin}}return Me.Normal}}const E=v.charCodeAt(0);switch(E){case le:{const E=v.charCodeAt(1);switch(E){case N:return Me.Relative;case le:{const E=v.charCodeAt(2);if(E===N)return Me.Relative;return Me.Normal}}return Me.Normal}case N:return Me.AbsolutePosix;case j:return Me.Internal}const R=v.charCodeAt(1);if(R===me){const R=v.charCodeAt(2);if((R===q||R===N)&&(E>=G&&E<=ie||E>=ae&&E<=ce)){return Me.AbsoluteWin}}return Me.Normal};E.getType=getType;const normalize=v=>{switch(getType(v)){case Me.Empty:return v;case Me.AbsoluteWin:return Ie(v);case Me.Relative:{const E=_e(v);return getType(E)===Me.Relative?E:`./${E}`}}return _e(v)};E.normalize=normalize;const join=(v,E)=>{if(!E)return normalize(v);const R=getType(E);switch(R){case Me.AbsolutePosix:return _e(E);case Me.AbsoluteWin:return Ie(E)}switch(getType(v)){case Me.Normal:case Me.Relative:case Me.AbsolutePosix:return _e(`${v}/${E}`);case Me.AbsoluteWin:return Ie(`${v}\\${E}`)}switch(R){case Me.Empty:return v;case Me.Relative:{const E=_e(v);return getType(E)===Me.Relative?E:`./${E}`}}return _e(v)};E.join=join;const Oe=new Map;const cachedJoin=(v,E)=>{let R;let $=Oe.get(v);if($===undefined){Oe.set(v,$=new Map)}else{R=$.get(E);if(R!==undefined)return R}R=join(v,E);$.set(E,R);return R};E.cachedJoin=cachedJoin;const checkImportsExportsFieldTarget=v=>{let E=0;let R=v.indexOf("/",1);let $=0;while(R!==-1){const j=v.slice(E,R);switch(j){case"..":{$--;if($<0)return new Error(`Trying to access out of package scope. Requesting ${v}`);break}case".":break;default:$++;break}E=R+1;R=v.indexOf("/",E)}};E.checkImportsExportsFieldTarget=checkImportsExportsFieldTarget},84494:function(v,E,R){"use strict";const $=R(30529);class Definition{constructor(v,E,R,$,j,N){this.type=v;this.name=E;this.node=R;this.parent=$;this.index=j;this.kind=N}}class ParameterDefinition extends Definition{constructor(v,E,R,j){super($.Parameter,v,E,null,R,null);this.rest=j}}v.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},12836:function(v,E,R){"use strict";const $=R(39491);const j=R(40680);const N=R(48648);const q=R(21621);const G=R(30529);const ie=R(18802).Scope;const ae=R(13348).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(v,E){function isHashObject(v){return typeof v==="object"&&v instanceof Object&&!(v instanceof Array)&&!(v instanceof RegExp)}for(const R in E){if(Object.prototype.hasOwnProperty.call(E,R)){const $=E[R];if(isHashObject($)){if(isHashObject(v[R])){updateDeeply(v[R],$)}else{v[R]=updateDeeply({},$)}}else{v[R]=$}}}return v}function analyze(v,E){const R=updateDeeply(defaultOptions(),E);const q=new j(R);const G=new N(R,q);G.visit(v);$(q.__currentScope===null,"currentScope should be null.");return q}v.exports={version:ae,Reference:q,Variable:G,Scope:ie,ScopeManager:j,analyze:analyze}},62999:function(v,E,R){"use strict";const $=R(12205).Syntax;const j=R(41396);function getLast(v){return v[v.length-1]||null}class PatternVisitor extends j.Visitor{static isPattern(v){const E=v.type;return E===$.Identifier||E===$.ObjectPattern||E===$.ArrayPattern||E===$.SpreadElement||E===$.RestElement||E===$.AssignmentPattern}constructor(v,E,R){super(null,v);this.rootPattern=E;this.callback=R;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(v){const E=getLast(this.restElements);this.callback(v,{topLevel:v===this.rootPattern,rest:E!==null&&E!==undefined&&E.argument===v,assignments:this.assignments})}Property(v){if(v.computed){this.rightHandNodes.push(v.key)}this.visit(v.value)}ArrayPattern(v){for(let E=0,R=v.elements.length;E<R;++E){const R=v.elements[E];this.visit(R)}}AssignmentPattern(v){this.assignments.push(v);this.visit(v.left);this.rightHandNodes.push(v.right);this.assignments.pop()}RestElement(v){this.restElements.push(v);this.visit(v.argument);this.restElements.pop()}MemberExpression(v){if(v.computed){this.rightHandNodes.push(v.property)}this.rightHandNodes.push(v.object)}SpreadElement(v){this.visit(v.argument)}ArrayExpression(v){v.elements.forEach(this.visit,this)}AssignmentExpression(v){this.assignments.push(v);this.visit(v.left);this.rightHandNodes.push(v.right);this.assignments.pop()}CallExpression(v){v.arguments.forEach((v=>{this.rightHandNodes.push(v)}));this.visit(v.callee)}}v.exports=PatternVisitor},21621:function(v){"use strict";const E=1;const R=2;const $=E|R;class Reference{constructor(v,E,R,$,j,N,q){this.identifier=v;this.from=E;this.tainted=false;this.resolved=null;this.flag=R;if(this.isWrite()){this.writeExpr=$;this.partial=N;this.init=q}this.__maybeImplicitGlobal=j}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=E;Reference.WRITE=R;Reference.RW=$;v.exports=Reference},48648:function(v,E,R){"use strict";const $=R(12205).Syntax;const j=R(41396);const N=R(21621);const q=R(30529);const G=R(62999);const ie=R(84494);const ae=R(39491);const ce=ie.ParameterDefinition;const le=ie.Definition;function traverseIdentifierInPattern(v,E,R,$){const j=new G(v,E,$);j.visit(E);if(R!==null&&R!==undefined){j.rightHandNodes.forEach(R.visit,R)}}class Importer extends j.Visitor{constructor(v,E){super(null,E.options);this.declaration=v;this.referencer=E}visitImport(v,E){this.referencer.visitPattern(v,(v=>{this.referencer.currentScope().__define(v,new le(q.ImportBinding,v,E,this.declaration,null,null))}))}ImportNamespaceSpecifier(v){const E=v.local||v.id;if(E){this.visitImport(E,v)}}ImportDefaultSpecifier(v){const E=v.local||v.id;this.visitImport(E,v)}ImportSpecifier(v){const E=v.local||v.id;if(v.name){this.visitImport(v.name,v)}else{this.visitImport(E,v)}}}class Referencer extends j.Visitor{constructor(v,E){super(null,v);this.options=v;this.scopeManager=E;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(v){while(this.currentScope()&&v===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(v){const E=this.isInnerMethodDefinition;this.isInnerMethodDefinition=v;return E}popInnerMethodDefinition(v){this.isInnerMethodDefinition=v}referencingDefaultValue(v,E,R,$){const j=this.currentScope();E.forEach((E=>{j.__referencing(v,N.WRITE,E.right,R,v!==E.left,$)}))}visitPattern(v,E,R){let $=E;let j=R;if(typeof E==="function"){j=E;$={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,v,$.processRightHandNodes?this:null,j)}visitFunction(v){let E,R;if(v.type===$.FunctionDeclaration){this.currentScope().__define(v.id,new le(q.FunctionName,v.id,v,null,null,null))}if(v.type===$.FunctionExpression&&v.id){this.scopeManager.__nestFunctionExpressionNameScope(v)}this.scopeManager.__nestFunctionScope(v,this.isInnerMethodDefinition);const j=this;function visitPatternCallback(R,$){j.currentScope().__define(R,new ce(R,v,E,$.rest));j.referencingDefaultValue(R,$.assignments,null,true)}for(E=0,R=v.params.length;E<R;++E){this.visitPattern(v.params[E],{processRightHandNodes:true},visitPatternCallback)}if(v.rest){this.visitPattern({type:"RestElement",argument:v.rest},(E=>{this.currentScope().__define(E,new ce(E,v,v.params.length,true))}))}if(v.body){if(v.body.type===$.BlockStatement){this.visitChildren(v.body)}else{this.visit(v.body)}}this.close(v)}visitClass(v){if(v.type===$.ClassDeclaration){this.currentScope().__define(v.id,new le(q.ClassName,v.id,v,null,null,null))}this.visit(v.superClass);this.scopeManager.__nestClassScope(v);if(v.id){this.currentScope().__define(v.id,new le(q.ClassName,v.id,v))}this.visit(v.body);this.close(v)}visitProperty(v){let E;if(v.computed){this.visit(v.key)}const R=v.type===$.MethodDefinition;if(R){E=this.pushInnerMethodDefinition(true)}this.visit(v.value);if(R){this.popInnerMethodDefinition(E)}}visitForIn(v){if(v.left.type===$.VariableDeclaration&&v.left.kind!=="var"){this.scopeManager.__nestForScope(v)}if(v.left.type===$.VariableDeclaration){this.visit(v.left);this.visitPattern(v.left.declarations[0].id,(E=>{this.currentScope().__referencing(E,N.WRITE,v.right,null,true,true)}))}else{this.visitPattern(v.left,{processRightHandNodes:true},((E,R)=>{let $=null;if(!this.currentScope().isStrict){$={pattern:E,node:v}}this.referencingDefaultValue(E,R.assignments,$,false);this.currentScope().__referencing(E,N.WRITE,v.right,$,true,false)}))}this.visit(v.right);this.visit(v.body);this.close(v)}visitVariableDeclaration(v,E,R,$){const j=R.declarations[$];const q=j.init;this.visitPattern(j.id,{processRightHandNodes:true},((G,ie)=>{v.__define(G,new le(E,G,j,R,$,R.kind));this.referencingDefaultValue(G,ie.assignments,null,true);if(q){this.currentScope().__referencing(G,N.WRITE,q,null,!ie.topLevel,true)}}))}AssignmentExpression(v){if(G.isPattern(v.left)){if(v.operator==="="){this.visitPattern(v.left,{processRightHandNodes:true},((E,R)=>{let $=null;if(!this.currentScope().isStrict){$={pattern:E,node:v}}this.referencingDefaultValue(E,R.assignments,$,false);this.currentScope().__referencing(E,N.WRITE,v.right,$,!R.topLevel,false)}))}else{this.currentScope().__referencing(v.left,N.RW,v.right)}}else{this.visit(v.left)}this.visit(v.right)}CatchClause(v){this.scopeManager.__nestCatchScope(v);this.visitPattern(v.param,{processRightHandNodes:true},((E,R)=>{this.currentScope().__define(E,new le(q.CatchClause,v.param,v,null,null,null));this.referencingDefaultValue(E,R.assignments,null,true)}));this.visit(v.body);this.close(v)}Program(v){this.scopeManager.__nestGlobalScope(v);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(v,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(v)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(v);this.close(v)}Identifier(v){this.currentScope().__referencing(v)}UpdateExpression(v){if(G.isPattern(v.argument)){this.currentScope().__referencing(v.argument,N.RW,null)}else{this.visitChildren(v)}}MemberExpression(v){this.visit(v.object);if(v.computed){this.visit(v.property)}}Property(v){this.visitProperty(v)}MethodDefinition(v){this.visitProperty(v)}BreakStatement(){}ContinueStatement(){}LabeledStatement(v){this.visit(v.body)}ForStatement(v){if(v.init&&v.init.type===$.VariableDeclaration&&v.init.kind!=="var"){this.scopeManager.__nestForScope(v)}this.visitChildren(v);this.close(v)}ClassExpression(v){this.visitClass(v)}ClassDeclaration(v){this.visitClass(v)}CallExpression(v){if(!this.scopeManager.__ignoreEval()&&v.callee.type===$.Identifier&&v.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(v)}BlockStatement(v){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(v)}this.visitChildren(v);this.close(v)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(v){this.visit(v.object);this.scopeManager.__nestWithScope(v);this.visit(v.body);this.close(v)}VariableDeclaration(v){const E=v.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let R=0,$=v.declarations.length;R<$;++R){const $=v.declarations[R];this.visitVariableDeclaration(E,q.Variable,v,R);if($.init){this.visit($.init)}}}SwitchStatement(v){this.visit(v.discriminant);if(this.scopeManager.__isES6()){this.scopeManager.__nestSwitchScope(v)}for(let E=0,R=v.cases.length;E<R;++E){this.visit(v.cases[E])}this.close(v)}FunctionDeclaration(v){this.visitFunction(v)}FunctionExpression(v){this.visitFunction(v)}ForOfStatement(v){this.visitForIn(v)}ForInStatement(v){this.visitForIn(v)}ArrowFunctionExpression(v){this.visitFunction(v)}ImportDeclaration(v){ae(this.scopeManager.__isES6()&&this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context.");const E=new Importer(v,this);E.visit(v)}visitExportDeclaration(v){if(v.source){return}if(v.declaration){this.visit(v.declaration);return}this.visitChildren(v)}ExportDeclaration(v){this.visitExportDeclaration(v)}ExportAllDeclaration(v){this.visitExportDeclaration(v)}ExportDefaultDeclaration(v){this.visitExportDeclaration(v)}ExportNamedDeclaration(v){this.visitExportDeclaration(v)}ExportSpecifier(v){const E=v.id||v.local;this.visit(E)}MetaProperty(){}}v.exports=Referencer},40680:function(v,E,R){"use strict";const $=R(18802);const j=R(39491);const N=$.GlobalScope;const q=$.CatchScope;const G=$.WithScope;const ie=$.ModuleScope;const ae=$.ClassScope;const ce=$.SwitchScope;const le=$.FunctionScope;const me=$.ForScope;const _e=$.FunctionExpressionNameScope;const Ie=$.BlockScope;class ScopeManager{constructor(v){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=v;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(v){return this.__nodeToScope.get(v)}getDeclaredVariables(v){return this.__declaredVariables.get(v)||[]}acquire(v,E){function predicate(v){if(v.type==="function"&&v.functionExpressionScope){return false}return true}const R=this.__get(v);if(!R||R.length===0){return null}if(R.length===1){return R[0]}if(E){for(let v=R.length-1;v>=0;--v){const E=R[v];if(predicate(E)){return E}}}else{for(let v=0,E=R.length;v<E;++v){const E=R[v];if(predicate(E)){return E}}}return null}acquireAll(v){return this.__get(v)}release(v,E){const R=this.__get(v);if(R&&R.length){const v=R[0].upper;if(!v){return null}return this.acquire(v.block,E)}return null}attach(){}detach(){}__nestScope(v){if(v instanceof N){j(this.__currentScope===null);this.globalScope=v}this.__currentScope=v;return v}__nestGlobalScope(v){return this.__nestScope(new N(this,v))}__nestBlockScope(v){return this.__nestScope(new Ie(this,this.__currentScope,v))}__nestFunctionScope(v,E){return this.__nestScope(new le(this,this.__currentScope,v,E))}__nestForScope(v){return this.__nestScope(new me(this,this.__currentScope,v))}__nestCatchScope(v){return this.__nestScope(new q(this,this.__currentScope,v))}__nestWithScope(v){return this.__nestScope(new G(this,this.__currentScope,v))}__nestClassScope(v){return this.__nestScope(new ae(this,this.__currentScope,v))}__nestSwitchScope(v){return this.__nestScope(new ce(this,this.__currentScope,v))}__nestModuleScope(v){return this.__nestScope(new ie(this,this.__currentScope,v))}__nestFunctionExpressionNameScope(v){return this.__nestScope(new _e(this,this.__currentScope,v))}__isES6(){return this.__options.ecmaVersion>=6}}v.exports=ScopeManager},18802:function(v,E,R){"use strict";const $=R(12205).Syntax;const j=R(21621);const N=R(30529);const q=R(84494).Definition;const G=R(39491);function isStrictScope(v,E,R,j){let N;if(v.upper&&v.upper.isStrict){return true}if(R){return true}if(v.type==="class"||v.type==="module"){return true}if(v.type==="block"||v.type==="switch"){return false}if(v.type==="function"){if(E.type===$.ArrowFunctionExpression&&E.body.type!==$.BlockStatement){return false}if(E.type===$.Program){N=E}else{N=E.body}if(!N){return false}}else if(v.type==="global"){N=E}else{return false}if(j){for(let v=0,E=N.body.length;v<E;++v){const E=N.body[v];if(E.type!==$.DirectiveStatement){break}if(E.raw==='"use strict"'||E.raw==="'use strict'"){return true}}}else{for(let v=0,E=N.body.length;v<E;++v){const E=N.body[v];if(E.type!==$.ExpressionStatement){break}const R=E.expression;if(R.type!==$.Literal||typeof R.value!=="string"){break}if(R.raw!==null&&R.raw!==undefined){if(R.raw==='"use strict"'||R.raw==="'use strict'"){return true}}else{if(R.value==="use strict"){return true}}}}return false}function registerScope(v,E){v.scopes.push(E);const R=v.__nodeToScope.get(E.block);if(R){R.push(E)}else{v.__nodeToScope.set(E.block,[E])}}function shouldBeStatically(v){return v.type===N.ClassName||v.type===N.Variable&&v.parent.kind!=="var"}class Scope{constructor(v,E,R,$,j){this.type=E;this.set=new Map;this.taints=new Map;this.dynamic=this.type==="global"||this.type==="with";this.block=$;this.through=[];this.variables=[];this.references=[];this.variableScope=this.type==="global"||this.type==="function"||this.type==="module"?this:R.variableScope;this.functionExpressionScope=false;this.directCallToEvalScope=false;this.thisFound=false;this.__left=[];this.upper=R;this.isStrict=isStrictScope(this,$,j,v.__useDirective());this.childScopes=[];if(this.upper){this.upper.childScopes.push(this)}this.__declaredVariables=v.__declaredVariables;registerScope(v,this)}__shouldStaticallyClose(v){return!this.dynamic||v.__isOptimistic()}__shouldStaticallyCloseForGlobal(v){const E=v.identifier.name;if(!this.set.has(E)){return false}const R=this.set.get(E);const $=R.defs;return $.length>0&&$.every(shouldBeStatically)}__staticCloseRef(v){if(!this.__resolve(v)){this.__delegateToUpperScope(v)}}__dynamicCloseRef(v){let E=this;do{E.through.push(v);E=E.upper}while(E)}__globalCloseRef(v){if(this.__shouldStaticallyCloseForGlobal(v)){this.__staticCloseRef(v)}else{this.__dynamicCloseRef(v)}}__close(v){let E;if(this.__shouldStaticallyClose(v)){E=this.__staticCloseRef}else if(this.type!=="global"){E=this.__dynamicCloseRef}else{E=this.__globalCloseRef}for(let v=0,R=this.__left.length;v<R;++v){const R=this.__left[v];E.call(this,R)}this.__left=null;return this.upper}__isValidResolution(v,E){return true}__resolve(v){const E=v.identifier.name;if(!this.set.has(E)){return false}const R=this.set.get(E);if(!this.__isValidResolution(v,R)){return false}R.references.push(v);R.stack=R.stack&&v.from.variableScope===this.variableScope;if(v.tainted){R.tainted=true;this.taints.set(R.name,true)}v.resolved=R;return true}__delegateToUpperScope(v){if(this.upper){this.upper.__left.push(v)}this.through.push(v)}__addDeclaredVariablesOfNode(v,E){if(E===null||E===undefined){return}let R=this.__declaredVariables.get(E);if(R===null||R===undefined){R=[];this.__declaredVariables.set(E,R)}if(R.indexOf(v)===-1){R.push(v)}}__defineGeneric(v,E,R,$,j){let q;q=E.get(v);if(!q){q=new N(v,this);E.set(v,q);R.push(q)}if(j){q.defs.push(j);this.__addDeclaredVariablesOfNode(q,j.node);this.__addDeclaredVariablesOfNode(q,j.parent)}if($){q.identifiers.push($)}}__define(v,E){if(v&&v.type===$.Identifier){this.__defineGeneric(v.name,this.set,this.variables,v,E)}}__referencing(v,E,R,N,q,G){if(!v||v.type!==$.Identifier){return}if(v.name==="super"){return}const ie=new j(v,this,E||j.READ,R,N,!!q,!!G);this.references.push(ie);this.__left.push(ie)}__detectEval(){let v=this;this.directCallToEvalScope=true;do{v.dynamic=true;v=v.upper}while(v)}__detectThis(){this.thisFound=true}__isClosed(){return this.__left===null}resolve(v){let E,R,j;G(this.__isClosed(),"Scope should be closed.");G(v.type===$.Identifier,"Target should be identifier.");for(R=0,j=this.references.length;R<j;++R){E=this.references[R];if(E.identifier===v){return E}}return null}isStatic(){return!this.dynamic}isArgumentsMaterialized(){return true}isThisMaterialized(){return true}isUsedName(v){if(this.set.has(v)){return true}for(let E=0,R=this.through.length;E<R;++E){if(this.through[E].identifier.name===v){return true}}return false}}class GlobalScope extends Scope{constructor(v,E){super(v,"global",null,E,false);this.implicit={set:new Map,variables:[],left:[]}}__close(v){const E=[];for(let v=0,R=this.__left.length;v<R;++v){const R=this.__left[v];if(R.__maybeImplicitGlobal&&!this.set.has(R.identifier.name)){E.push(R.__maybeImplicitGlobal)}}for(let v=0,R=E.length;v<R;++v){const R=E[v];this.__defineImplicit(R.pattern,new q(N.ImplicitGlobalVariable,R.pattern,R.node,null,null,null))}this.implicit.left=this.__left;return super.__close(v)}__defineImplicit(v,E){if(v&&v.type===$.Identifier){this.__defineGeneric(v.name,this.implicit.set,this.implicit.variables,v,E)}}}class ModuleScope extends Scope{constructor(v,E,R){super(v,"module",E,R,false)}}class FunctionExpressionNameScope extends Scope{constructor(v,E,R){super(v,"function-expression-name",E,R,false);this.__define(R.id,new q(N.FunctionName,R.id,R,null,null,null));this.functionExpressionScope=true}}class CatchScope extends Scope{constructor(v,E,R){super(v,"catch",E,R,false)}}class WithScope extends Scope{constructor(v,E,R){super(v,"with",E,R,false)}__close(v){if(this.__shouldStaticallyClose(v)){return super.__close(v)}for(let v=0,E=this.__left.length;v<E;++v){const E=this.__left[v];E.tainted=true;this.__delegateToUpperScope(E)}this.__left=null;return this.upper}}class BlockScope extends Scope{constructor(v,E,R){super(v,"block",E,R,false)}}class SwitchScope extends Scope{constructor(v,E,R){super(v,"switch",E,R,false)}}class FunctionScope extends Scope{constructor(v,E,R,j){super(v,"function",E,R,j);if(this.block.type!==$.ArrowFunctionExpression){this.__defineArguments()}}isArgumentsMaterialized(){if(this.block.type===$.ArrowFunctionExpression){return false}if(!this.isStatic()){return true}const v=this.set.get("arguments");G(v,"Always have arguments variable.");return v.tainted||v.references.length!==0}isThisMaterialized(){if(!this.isStatic()){return true}return this.thisFound}__defineArguments(){this.__defineGeneric("arguments",this.set,this.variables,null,null);this.taints.set("arguments",true)}__isValidResolution(v,E){if(this.block.type==="Program"){return true}const R=this.block.body.range[0];return!(E.scope===this&&v.identifier.range[0]<R&&E.defs.every((v=>v.name.range[0]>=R)))}}class ForScope extends Scope{constructor(v,E,R){super(v,"for",E,R,false)}}class ClassScope extends Scope{constructor(v,E,R){super(v,"class",E,R,false)}}v.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},30529:function(v){"use strict";class Variable{constructor(v,E){this.name=v;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=E}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";v.exports=Variable},41396:function(v,E,R){(function(){"use strict";var v=R(41731);function isNode(v){if(v==null){return false}return typeof v==="object"&&typeof v.type==="string"}function isProperty(E,R){return(E===v.Syntax.ObjectExpression||E===v.Syntax.ObjectPattern)&&R==="properties"}function Visitor(E,R){R=R||{};this.__visitor=E||this;this.__childVisitorKeys=R.childVisitorKeys?Object.assign({},v.VisitorKeys,R.childVisitorKeys):v.VisitorKeys;if(R.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof R.fallback==="function"){this.__fallback=R.fallback}}Visitor.prototype.visitChildren=function(E){var R,$,j,N,q,G,ie;if(E==null){return}R=E.type||v.Syntax.Property;$=this.__childVisitorKeys[R];if(!$){if(this.__fallback){$=this.__fallback(E)}else{throw new Error("Unknown node type "+R+".")}}for(j=0,N=$.length;j<N;++j){ie=E[$[j]];if(ie){if(Array.isArray(ie)){for(q=0,G=ie.length;q<G;++q){if(ie[q]){if(isNode(ie[q])||isProperty(R,$[j])){this.visit(ie[q])}}}}else if(isNode(ie)){this.visit(ie)}}}};Visitor.prototype.visit=function(E){var R;if(E==null){return}R=E.type||v.Syntax.Property;if(this.__visitor[R]){this.__visitor[R].call(this,E);return}this.visitChildren(E)};E.version=R(44311).version;E.Visitor=Visitor;E.visit=function(v,E,R){var $=new Visitor(E,R);$.visit(v)}})()},12205:function(v,E,R){(function clone(v){"use strict";var E,$,j,N,q,G;function deepCopy(v){var E={},R,$;for(R in v){if(v.hasOwnProperty(R)){$=v[R];if(typeof $==="object"&&$!==null){E[R]=deepCopy($)}else{E[R]=$}}}return E}function upperBound(v,E){var R,$,j,N;$=v.length;j=0;while($){R=$>>>1;N=j+R;if(E(v[N])){$=R}else{j=N+1;$-=R+1}}return j}E={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};j={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};N={};q={};G={};$={Break:N,Skip:q,Remove:G};function Reference(v,E){this.parent=v;this.key=E}Reference.prototype.replace=function replace(v){this.parent[this.key]=v};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(v,E,R,$){this.node=v;this.path=E;this.wrap=R;this.ref=$}function Controller(){}Controller.prototype.path=function path(){var v,E,R,$,j,N;function addToPath(v,E){if(Array.isArray(E)){for(R=0,$=E.length;R<$;++R){v.push(E[R])}}else{v.push(E)}}if(!this.__current.path){return null}j=[];for(v=2,E=this.__leavelist.length;v<E;++v){N=this.__leavelist[v];addToPath(j,N.path)}addToPath(j,this.__current.path);return j};Controller.prototype.type=function(){var v=this.current();return v.type||this.__current.wrap};Controller.prototype.parents=function parents(){var v,E,R;R=[];for(v=1,E=this.__leavelist.length;v<E;++v){R.push(this.__leavelist[v].node)}return R};Controller.prototype.current=function current(){return this.__current.node};Controller.prototype.__execute=function __execute(v,E){var R,$;$=undefined;R=this.__current;this.__current=E;this.__state=null;if(v){$=v.call(this,E.node,this.__leavelist[this.__leavelist.length-1].node)}this.__current=R;return $};Controller.prototype.notify=function notify(v){this.__state=v};Controller.prototype.skip=function(){this.notify(q)};Controller.prototype["break"]=function(){this.notify(N)};Controller.prototype.remove=function(){this.notify(G)};Controller.prototype.__initialize=function(v,E){this.visitor=E;this.root=v;this.__worklist=[];this.__leavelist=[];this.__current=null;this.__state=null;this.__fallback=null;if(E.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof E.fallback==="function"){this.__fallback=E.fallback}this.__keys=j;if(E.keys){this.__keys=Object.assign(Object.create(this.__keys),E.keys)}};function isNode(v){if(v==null){return false}return typeof v==="object"&&typeof v.type==="string"}function isProperty(v,R){return(v===E.ObjectExpression||v===E.ObjectPattern)&&"properties"===R}Controller.prototype.traverse=function traverse(v,E){var R,$,j,G,ie,ae,ce,le,me,_e,Ie,Me;this.__initialize(v,E);Me={};R=this.__worklist;$=this.__leavelist;R.push(new Element(v,null,null,null));$.push(new Element(null,null,null,null));while(R.length){j=R.pop();if(j===Me){j=$.pop();ae=this.__execute(E.leave,j);if(this.__state===N||ae===N){return}continue}if(j.node){ae=this.__execute(E.enter,j);if(this.__state===N||ae===N){return}R.push(Me);$.push(j);if(this.__state===q||ae===q){continue}G=j.node;ie=G.type||j.wrap;_e=this.__keys[ie];if(!_e){if(this.__fallback){_e=this.__fallback(G)}else{throw new Error("Unknown node type "+ie+".")}}le=_e.length;while((le-=1)>=0){ce=_e[le];Ie=G[ce];if(!Ie){continue}if(Array.isArray(Ie)){me=Ie.length;while((me-=1)>=0){if(!Ie[me]){continue}if(isProperty(ie,_e[le])){j=new Element(Ie[me],[ce,me],"Property",null)}else if(isNode(Ie[me])){j=new Element(Ie[me],[ce,me],null,null)}else{continue}R.push(j)}}else if(isNode(Ie)){R.push(new Element(Ie,ce,null,null))}}}}};Controller.prototype.replace=function replace(v,E){var R,$,j,ie,ae,ce,le,me,_e,Ie,Me,Oe,Te;function removeElem(v){var E,$,j,N;if(v.ref.remove()){$=v.ref.key;N=v.ref.parent;E=R.length;while(E--){j=R[E];if(j.ref&&j.ref.parent===N){if(j.ref.key<$){break}--j.ref.key}}}}this.__initialize(v,E);Me={};R=this.__worklist;$=this.__leavelist;Oe={root:v};ce=new Element(v,null,null,new Reference(Oe,"root"));R.push(ce);$.push(ce);while(R.length){ce=R.pop();if(ce===Me){ce=$.pop();ae=this.__execute(E.leave,ce);if(ae!==undefined&&ae!==N&&ae!==q&&ae!==G){ce.ref.replace(ae)}if(this.__state===G||ae===G){removeElem(ce)}if(this.__state===N||ae===N){return Oe.root}continue}ae=this.__execute(E.enter,ce);if(ae!==undefined&&ae!==N&&ae!==q&&ae!==G){ce.ref.replace(ae);ce.node=ae}if(this.__state===G||ae===G){removeElem(ce);ce.node=null}if(this.__state===N||ae===N){return Oe.root}j=ce.node;if(!j){continue}R.push(Me);$.push(ce);if(this.__state===q||ae===q){continue}ie=j.type||ce.wrap;_e=this.__keys[ie];if(!_e){if(this.__fallback){_e=this.__fallback(j)}else{throw new Error("Unknown node type "+ie+".")}}le=_e.length;while((le-=1)>=0){Te=_e[le];Ie=j[Te];if(!Ie){continue}if(Array.isArray(Ie)){me=Ie.length;while((me-=1)>=0){if(!Ie[me]){continue}if(isProperty(ie,_e[le])){ce=new Element(Ie[me],[Te,me],"Property",new Reference(Ie,me))}else if(isNode(Ie[me])){ce=new Element(Ie[me],[Te,me],null,new Reference(Ie,me))}else{continue}R.push(ce)}}else if(isNode(Ie)){R.push(new Element(Ie,Te,null,new Reference(j,Te)))}}}return Oe.root};function traverse(v,E){var R=new Controller;return R.traverse(v,E)}function replace(v,E){var R=new Controller;return R.replace(v,E)}function extendCommentRange(v,E){var R;R=upperBound(E,(function search(E){return E.range[0]>v.range[0]}));v.extendedRange=[v.range[0],v.range[1]];if(R!==E.length){v.extendedRange[1]=E[R].range[0]}R-=1;if(R>=0){v.extendedRange[0]=E[R].range[1]}return v}function attachComments(v,E,R){var j=[],N,q,G,ie;if(!v.range){throw new Error("attachComments needs range information")}if(!R.length){if(E.length){for(G=0,q=E.length;G<q;G+=1){N=deepCopy(E[G]);N.extendedRange=[0,v.range[0]];j.push(N)}v.leadingComments=j}return v}for(G=0,q=E.length;G<q;G+=1){j.push(extendCommentRange(deepCopy(E[G]),R))}ie=0;traverse(v,{enter:function(v){var E;while(ie<j.length){E=j[ie];if(E.extendedRange[1]>v.range[0]){break}if(E.extendedRange[1]===v.range[0]){if(!v.leadingComments){v.leadingComments=[]}v.leadingComments.push(E);j.splice(ie,1)}else{ie+=1}}if(ie===j.length){return $.Break}if(j[ie].extendedRange[0]>v.range[1]){return $.Skip}}});ie=0;traverse(v,{leave:function(v){var E;while(ie<j.length){E=j[ie];if(v.range[1]<E.extendedRange[0]){break}if(v.range[1]===E.extendedRange[0]){if(!v.trailingComments){v.trailingComments=[]}v.trailingComments.push(E);j.splice(ie,1)}else{ie+=1}}if(ie===j.length){return $.Break}if(j[ie].extendedRange[0]>v.range[1]){return $.Skip}}});return v}v.version=R(61752).i8;v.Syntax=E;v.traverse=traverse;v.replace=replace;v.attachComments=attachComments;v.VisitorKeys=j;v.VisitorOption=$;v.Controller=Controller;v.cloneEnvironment=function(){return clone({})};return v})(E)},41731:function(v,E){(function clone(v){"use strict";var E,R,$,j,N,q;function deepCopy(v){var E={},R,$;for(R in v){if(v.hasOwnProperty(R)){$=v[R];if(typeof $==="object"&&$!==null){E[R]=deepCopy($)}else{E[R]=$}}}return E}function upperBound(v,E){var R,$,j,N;$=v.length;j=0;while($){R=$>>>1;N=j+R;if(E(v[N])){$=R}else{j=N+1;$-=R+1}}return j}E={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};$={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};j={};N={};q={};R={Break:j,Skip:N,Remove:q};function Reference(v,E){this.parent=v;this.key=E}Reference.prototype.replace=function replace(v){this.parent[this.key]=v};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(v,E,R,$){this.node=v;this.path=E;this.wrap=R;this.ref=$}function Controller(){}Controller.prototype.path=function path(){var v,E,R,$,j,N;function addToPath(v,E){if(Array.isArray(E)){for(R=0,$=E.length;R<$;++R){v.push(E[R])}}else{v.push(E)}}if(!this.__current.path){return null}j=[];for(v=2,E=this.__leavelist.length;v<E;++v){N=this.__leavelist[v];addToPath(j,N.path)}addToPath(j,this.__current.path);return j};Controller.prototype.type=function(){var v=this.current();return v.type||this.__current.wrap};Controller.prototype.parents=function parents(){var v,E,R;R=[];for(v=1,E=this.__leavelist.length;v<E;++v){R.push(this.__leavelist[v].node)}return R};Controller.prototype.current=function current(){return this.__current.node};Controller.prototype.__execute=function __execute(v,E){var R,$;$=undefined;R=this.__current;this.__current=E;this.__state=null;if(v){$=v.call(this,E.node,this.__leavelist[this.__leavelist.length-1].node)}this.__current=R;return $};Controller.prototype.notify=function notify(v){this.__state=v};Controller.prototype.skip=function(){this.notify(N)};Controller.prototype["break"]=function(){this.notify(j)};Controller.prototype.remove=function(){this.notify(q)};Controller.prototype.__initialize=function(v,E){this.visitor=E;this.root=v;this.__worklist=[];this.__leavelist=[];this.__current=null;this.__state=null;this.__fallback=null;if(E.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof E.fallback==="function"){this.__fallback=E.fallback}this.__keys=$;if(E.keys){this.__keys=Object.assign(Object.create(this.__keys),E.keys)}};function isNode(v){if(v==null){return false}return typeof v==="object"&&typeof v.type==="string"}function isProperty(v,R){return(v===E.ObjectExpression||v===E.ObjectPattern)&&"properties"===R}function candidateExistsInLeaveList(v,E){for(var R=v.length-1;R>=0;--R){if(v[R].node===E){return true}}return false}Controller.prototype.traverse=function traverse(v,E){var R,$,q,G,ie,ae,ce,le,me,_e,Ie,Me;this.__initialize(v,E);Me={};R=this.__worklist;$=this.__leavelist;R.push(new Element(v,null,null,null));$.push(new Element(null,null,null,null));while(R.length){q=R.pop();if(q===Me){q=$.pop();ae=this.__execute(E.leave,q);if(this.__state===j||ae===j){return}continue}if(q.node){ae=this.__execute(E.enter,q);if(this.__state===j||ae===j){return}R.push(Me);$.push(q);if(this.__state===N||ae===N){continue}G=q.node;ie=G.type||q.wrap;_e=this.__keys[ie];if(!_e){if(this.__fallback){_e=this.__fallback(G)}else{throw new Error("Unknown node type "+ie+".")}}le=_e.length;while((le-=1)>=0){ce=_e[le];Ie=G[ce];if(!Ie){continue}if(Array.isArray(Ie)){me=Ie.length;while((me-=1)>=0){if(!Ie[me]){continue}if(candidateExistsInLeaveList($,Ie[me])){continue}if(isProperty(ie,_e[le])){q=new Element(Ie[me],[ce,me],"Property",null)}else if(isNode(Ie[me])){q=new Element(Ie[me],[ce,me],null,null)}else{continue}R.push(q)}}else if(isNode(Ie)){if(candidateExistsInLeaveList($,Ie)){continue}R.push(new Element(Ie,ce,null,null))}}}}};Controller.prototype.replace=function replace(v,E){var R,$,G,ie,ae,ce,le,me,_e,Ie,Me,Oe,Te;function removeElem(v){var E,$,j,N;if(v.ref.remove()){$=v.ref.key;N=v.ref.parent;E=R.length;while(E--){j=R[E];if(j.ref&&j.ref.parent===N){if(j.ref.key<$){break}--j.ref.key}}}}this.__initialize(v,E);Me={};R=this.__worklist;$=this.__leavelist;Oe={root:v};ce=new Element(v,null,null,new Reference(Oe,"root"));R.push(ce);$.push(ce);while(R.length){ce=R.pop();if(ce===Me){ce=$.pop();ae=this.__execute(E.leave,ce);if(ae!==undefined&&ae!==j&&ae!==N&&ae!==q){ce.ref.replace(ae)}if(this.__state===q||ae===q){removeElem(ce)}if(this.__state===j||ae===j){return Oe.root}continue}ae=this.__execute(E.enter,ce);if(ae!==undefined&&ae!==j&&ae!==N&&ae!==q){ce.ref.replace(ae);ce.node=ae}if(this.__state===q||ae===q){removeElem(ce);ce.node=null}if(this.__state===j||ae===j){return Oe.root}G=ce.node;if(!G){continue}R.push(Me);$.push(ce);if(this.__state===N||ae===N){continue}ie=G.type||ce.wrap;_e=this.__keys[ie];if(!_e){if(this.__fallback){_e=this.__fallback(G)}else{throw new Error("Unknown node type "+ie+".")}}le=_e.length;while((le-=1)>=0){Te=_e[le];Ie=G[Te];if(!Ie){continue}if(Array.isArray(Ie)){me=Ie.length;while((me-=1)>=0){if(!Ie[me]){continue}if(isProperty(ie,_e[le])){ce=new Element(Ie[me],[Te,me],"Property",new Reference(Ie,me))}else if(isNode(Ie[me])){ce=new Element(Ie[me],[Te,me],null,new Reference(Ie,me))}else{continue}R.push(ce)}}else if(isNode(Ie)){R.push(new Element(Ie,Te,null,new Reference(G,Te)))}}}return Oe.root};function traverse(v,E){var R=new Controller;return R.traverse(v,E)}function replace(v,E){var R=new Controller;return R.replace(v,E)}function extendCommentRange(v,E){var R;R=upperBound(E,(function search(E){return E.range[0]>v.range[0]}));v.extendedRange=[v.range[0],v.range[1]];if(R!==E.length){v.extendedRange[1]=E[R].range[0]}R-=1;if(R>=0){v.extendedRange[0]=E[R].range[1]}return v}function attachComments(v,E,$){var j=[],N,q,G,ie;if(!v.range){throw new Error("attachComments needs range information")}if(!$.length){if(E.length){for(G=0,q=E.length;G<q;G+=1){N=deepCopy(E[G]);N.extendedRange=[0,v.range[0]];j.push(N)}v.leadingComments=j}return v}for(G=0,q=E.length;G<q;G+=1){j.push(extendCommentRange(deepCopy(E[G]),$))}ie=0;traverse(v,{enter:function(v){var E;while(ie<j.length){E=j[ie];if(E.extendedRange[1]>v.range[0]){break}if(E.extendedRange[1]===v.range[0]){if(!v.leadingComments){v.leadingComments=[]}v.leadingComments.push(E);j.splice(ie,1)}else{ie+=1}}if(ie===j.length){return R.Break}if(j[ie].extendedRange[0]>v.range[1]){return R.Skip}}});ie=0;traverse(v,{leave:function(v){var E;while(ie<j.length){E=j[ie];if(v.range[1]<E.extendedRange[0]){break}if(v.range[1]===E.extendedRange[0]){if(!v.trailingComments){v.trailingComments=[]}v.trailingComments.push(E);j.splice(ie,1)}else{ie+=1}}if(ie===j.length){return R.Break}if(j[ie].extendedRange[0]>v.range[1]){return R.Skip}}});return v}v.Syntax=E;v.traverse=traverse;v.replace=replace;v.attachComments=attachComments;v.VisitorKeys=$;v.VisitorOption=R;v.Controller=Controller;v.cloneEnvironment=function(){return clone({})};return v})(E)},21660:function(v){v.exports=function(v,E){if(typeof v!=="string"){throw new TypeError("Expected a string")}var R=String(v);var $="";var j=E?!!E.extended:false;var N=E?!!E.globstar:false;var q=false;var G=E&&typeof E.flags==="string"?E.flags:"";var ie;for(var ae=0,ce=R.length;ae<ce;ae++){ie=R[ae];switch(ie){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":$+="\\"+ie;break;case"?":if(j){$+=".";break}case"[":case"]":if(j){$+=ie;break}case"{":if(j){q=true;$+="(";break}case"}":if(j){q=false;$+=")";break}case",":if(q){$+="|";break}$+="\\"+ie;break;case"*":var le=R[ae-1];var me=1;while(R[ae+1]==="*"){me++;ae++}var _e=R[ae+1];if(!N){$+=".*"}else{var Ie=me>1&&(le==="/"||le===undefined)&&(_e==="/"||_e===undefined);if(Ie){$+="((?:[^/]*(?:/|$))*)";ae++}else{$+="([^/]*)"}}break;default:$+=ie}}if(!G||!~G.indexOf("g")){$="^"+$+"$"}return new RegExp($,G)}},98144:function(v){"use strict";v.exports=clone;var E=Object.getPrototypeOf||function(v){return v.__proto__};function clone(v){if(v===null||typeof v!=="object")return v;if(v instanceof Object)var R={__proto__:E(v)};else var R=Object.create(null);Object.getOwnPropertyNames(v).forEach((function(E){Object.defineProperty(R,E,Object.getOwnPropertyDescriptor(v,E))}));return R}},19263:function(v,E,R){var $=R(57147);var j=R(61133);var N=R(906);var q=R(98144);var G=R(73837);var ie;var ae;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){ie=Symbol.for("graceful-fs.queue");ae=Symbol.for("graceful-fs.previous")}else{ie="___graceful-fs.queue";ae="___graceful-fs.previous"}function noop(){}function publishQueue(v,E){Object.defineProperty(v,ie,{get:function(){return E}})}var ce=noop;if(G.debuglog)ce=G.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))ce=function(){var v=G.format.apply(G,arguments);v="GFS4: "+v.split(/\n/).join("\nGFS4: ");console.error(v)};if(!$[ie]){var le=global[ie]||[];publishQueue($,le);$.close=function(v){function close(E,R){return v.call($,E,(function(v){if(!v){resetQueue()}if(typeof R==="function")R.apply(this,arguments)}))}Object.defineProperty(close,ae,{value:v});return close}($.close);$.closeSync=function(v){function closeSync(E){v.apply($,arguments);resetQueue()}Object.defineProperty(closeSync,ae,{value:v});return closeSync}($.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){ce($[ie]);R(39491).equal($[ie].length,0)}))}}if(!global[ie]){publishQueue(global,$[ie])}v.exports=patch(q($));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!$.__patched){v.exports=patch($);$.__patched=true}function patch(v){j(v);v.gracefulify=patch;v.createReadStream=createReadStream;v.createWriteStream=createWriteStream;var E=v.readFile;v.readFile=readFile;function readFile(v,R,$){if(typeof R==="function")$=R,R=null;return go$readFile(v,R,$);function go$readFile(v,R,$,j){return E(v,R,(function(E){if(E&&(E.code==="EMFILE"||E.code==="ENFILE"))enqueue([go$readFile,[v,R,$],E,j||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var R=v.writeFile;v.writeFile=writeFile;function writeFile(v,E,$,j){if(typeof $==="function")j=$,$=null;return go$writeFile(v,E,$,j);function go$writeFile(v,E,$,j,N){return R(v,E,$,(function(R){if(R&&(R.code==="EMFILE"||R.code==="ENFILE"))enqueue([go$writeFile,[v,E,$,j],R,N||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var $=v.appendFile;if($)v.appendFile=appendFile;function appendFile(v,E,R,j){if(typeof R==="function")j=R,R=null;return go$appendFile(v,E,R,j);function go$appendFile(v,E,R,j,N){return $(v,E,R,(function($){if($&&($.code==="EMFILE"||$.code==="ENFILE"))enqueue([go$appendFile,[v,E,R,j],$,N||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var q=v.copyFile;if(q)v.copyFile=copyFile;function copyFile(v,E,R,$){if(typeof R==="function"){$=R;R=0}return go$copyFile(v,E,R,$);function go$copyFile(v,E,R,$,j){return q(v,E,R,(function(N){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$copyFile,[v,E,R,$],N,j||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var G=v.readdir;v.readdir=readdir;function readdir(v,E,R){if(typeof E==="function")R=E,E=null;return go$readdir(v,E,R);function go$readdir(v,E,R,$){return G(v,E,(function(j,N){if(j&&(j.code==="EMFILE"||j.code==="ENFILE"))enqueue([go$readdir,[v,E,R],j,$||Date.now(),Date.now()]);else{if(N&&N.sort)N.sort();if(typeof R==="function")R.call(this,j,N)}}))}}if(process.version.substr(0,4)==="v0.8"){var ie=N(v);ReadStream=ie.ReadStream;WriteStream=ie.WriteStream}var ae=v.ReadStream;if(ae){ReadStream.prototype=Object.create(ae.prototype);ReadStream.prototype.open=ReadStream$open}var ce=v.WriteStream;if(ce){WriteStream.prototype=Object.create(ce.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(v,"ReadStream",{get:function(){return ReadStream},set:function(v){ReadStream=v},enumerable:true,configurable:true});Object.defineProperty(v,"WriteStream",{get:function(){return WriteStream},set:function(v){WriteStream=v},enumerable:true,configurable:true});var le=ReadStream;Object.defineProperty(v,"FileReadStream",{get:function(){return le},set:function(v){le=v},enumerable:true,configurable:true});var me=WriteStream;Object.defineProperty(v,"FileWriteStream",{get:function(){return me},set:function(v){me=v},enumerable:true,configurable:true});function ReadStream(v,E){if(this instanceof ReadStream)return ae.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var v=this;open(v.path,v.flags,v.mode,(function(E,R){if(E){if(v.autoClose)v.destroy();v.emit("error",E)}else{v.fd=R;v.emit("open",R);v.read()}}))}function WriteStream(v,E){if(this instanceof WriteStream)return ce.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var v=this;open(v.path,v.flags,v.mode,(function(E,R){if(E){v.destroy();v.emit("error",E)}else{v.fd=R;v.emit("open",R)}}))}function createReadStream(E,R){return new v.ReadStream(E,R)}function createWriteStream(E,R){return new v.WriteStream(E,R)}var _e=v.open;v.open=open;function open(v,E,R,$){if(typeof R==="function")$=R,R=null;return go$open(v,E,R,$);function go$open(v,E,R,$,j){return _e(v,E,R,(function(N,q){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$open,[v,E,R,$],N,j||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}return v}function enqueue(v){ce("ENQUEUE",v[0].name,v[1]);$[ie].push(v);retry()}var me;function resetQueue(){var v=Date.now();for(var E=0;E<$[ie].length;++E){if($[ie][E].length>2){$[ie][E][3]=v;$[ie][E][4]=v}}retry()}function retry(){clearTimeout(me);me=undefined;if($[ie].length===0)return;var v=$[ie].shift();var E=v[0];var R=v[1];var j=v[2];var N=v[3];var q=v[4];if(N===undefined){ce("RETRY",E.name,R);E.apply(null,R)}else if(Date.now()-N>=6e4){ce("TIMEOUT",E.name,R);var G=R.pop();if(typeof G==="function")G.call(null,j)}else{var ae=Date.now()-q;var le=Math.max(q-N,1);var _e=Math.min(le*1.2,100);if(ae>=_e){ce("RETRY",E.name,R);E.apply(null,R.concat([N]))}else{$[ie].push(v)}}if(me===undefined){me=setTimeout(retry,0)}}},906:function(v,E,R){var $=R(12781).Stream;v.exports=legacy;function legacy(v){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(E,R){if(!(this instanceof ReadStream))return new ReadStream(E,R);$.call(this);var j=this;this.path=E;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;R=R||{};var N=Object.keys(R);for(var q=0,G=N.length;q<G;q++){var ie=N[q];this[ie]=R[ie]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){j._read()}));return}v.open(this.path,this.flags,this.mode,(function(v,E){if(v){j.emit("error",v);j.readable=false;return}j.fd=E;j.emit("open",E);j._read()}))}function WriteStream(E,R){if(!(this instanceof WriteStream))return new WriteStream(E,R);$.call(this);this.path=E;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;R=R||{};var j=Object.keys(R);for(var N=0,q=j.length;N<q;N++){var G=j[N];this[G]=R[G]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=v.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},61133:function(v,E,R){var $=R(22057);var j=process.cwd;var N=null;var q=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!N)N=j.call(process);return N};try{process.cwd()}catch(v){}if(typeof process.chdir==="function"){var G=process.chdir;process.chdir=function(v){N=null;G.call(process,v)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,G)}v.exports=patch;function patch(v){if($.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(v)}if(!v.lutimes){patchLutimes(v)}v.chown=chownFix(v.chown);v.fchown=chownFix(v.fchown);v.lchown=chownFix(v.lchown);v.chmod=chmodFix(v.chmod);v.fchmod=chmodFix(v.fchmod);v.lchmod=chmodFix(v.lchmod);v.chownSync=chownFixSync(v.chownSync);v.fchownSync=chownFixSync(v.fchownSync);v.lchownSync=chownFixSync(v.lchownSync);v.chmodSync=chmodFixSync(v.chmodSync);v.fchmodSync=chmodFixSync(v.fchmodSync);v.lchmodSync=chmodFixSync(v.lchmodSync);v.stat=statFix(v.stat);v.fstat=statFix(v.fstat);v.lstat=statFix(v.lstat);v.statSync=statFixSync(v.statSync);v.fstatSync=statFixSync(v.fstatSync);v.lstatSync=statFixSync(v.lstatSync);if(!v.lchmod){v.lchmod=function(v,E,R){if(R)process.nextTick(R)};v.lchmodSync=function(){}}if(!v.lchown){v.lchown=function(v,E,R,$){if($)process.nextTick($)};v.lchownSync=function(){}}if(q==="win32"){v.rename=function(E){return function(R,$,j){var N=Date.now();var q=0;E(R,$,(function CB(G){if(G&&(G.code==="EACCES"||G.code==="EPERM")&&Date.now()-N<6e4){setTimeout((function(){v.stat($,(function(v,N){if(v&&v.code==="ENOENT")E(R,$,CB);else j(G)}))}),q);if(q<100)q+=10;return}if(j)j(G)}))}}(v.rename)}v.read=function(E){function read(R,$,j,N,q,G){var ie;if(G&&typeof G==="function"){var ae=0;ie=function(ce,le,me){if(ce&&ce.code==="EAGAIN"&&ae<10){ae++;return E.call(v,R,$,j,N,q,ie)}G.apply(this,arguments)}}return E.call(v,R,$,j,N,q,ie)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,E);return read}(v.read);v.readSync=function(E){return function(R,$,j,N,q){var G=0;while(true){try{return E.call(v,R,$,j,N,q)}catch(v){if(v.code==="EAGAIN"&&G<10){G++;continue}throw v}}}}(v.readSync);function patchLchmod(v){v.lchmod=function(E,R,j){v.open(E,$.O_WRONLY|$.O_SYMLINK,R,(function(E,$){if(E){if(j)j(E);return}v.fchmod($,R,(function(E){v.close($,(function(v){if(j)j(E||v)}))}))}))};v.lchmodSync=function(E,R){var j=v.openSync(E,$.O_WRONLY|$.O_SYMLINK,R);var N=true;var q;try{q=v.fchmodSync(j,R);N=false}finally{if(N){try{v.closeSync(j)}catch(v){}}else{v.closeSync(j)}}return q}}function patchLutimes(v){if($.hasOwnProperty("O_SYMLINK")){v.lutimes=function(E,R,j,N){v.open(E,$.O_SYMLINK,(function(E,$){if(E){if(N)N(E);return}v.futimes($,R,j,(function(E){v.close($,(function(v){if(N)N(E||v)}))}))}))};v.lutimesSync=function(E,R,j){var N=v.openSync(E,$.O_SYMLINK);var q;var G=true;try{q=v.futimesSync(N,R,j);G=false}finally{if(G){try{v.closeSync(N)}catch(v){}}else{v.closeSync(N)}}return q}}else{v.lutimes=function(v,E,R,$){if($)process.nextTick($)};v.lutimesSync=function(){}}}function chmodFix(E){if(!E)return E;return function(R,$,j){return E.call(v,R,$,(function(v){if(chownErOk(v))v=null;if(j)j.apply(this,arguments)}))}}function chmodFixSync(E){if(!E)return E;return function(R,$){try{return E.call(v,R,$)}catch(v){if(!chownErOk(v))throw v}}}function chownFix(E){if(!E)return E;return function(R,$,j,N){return E.call(v,R,$,j,(function(v){if(chownErOk(v))v=null;if(N)N.apply(this,arguments)}))}}function chownFixSync(E){if(!E)return E;return function(R,$,j){try{return E.call(v,R,$,j)}catch(v){if(!chownErOk(v))throw v}}}function statFix(E){if(!E)return E;return function(R,$,j){if(typeof $==="function"){j=$;$=null}function callback(v,E){if(E){if(E.uid<0)E.uid+=4294967296;if(E.gid<0)E.gid+=4294967296}if(j)j.apply(this,arguments)}return $?E.call(v,R,$,callback):E.call(v,R,callback)}}function statFixSync(E){if(!E)return E;return function(R,$){var j=$?E.call(v,R,$):E.call(v,R);if(j){if(j.uid<0)j.uid+=4294967296;if(j.gid<0)j.gid+=4294967296}return j}}function chownErOk(v){if(!v)return true;if(v.code==="ENOSYS")return true;var E=!process.getuid||process.getuid()!==0;if(E){if(v.code==="EINVAL"||v.code==="EPERM")return true}return false}}},54650:function(v){"use strict";const hexify=v=>{const E=v.charCodeAt(0).toString(16).toUpperCase();return"0x"+(E.length%2?"0":"")+E};const parseError=(v,E,R)=>{if(!E){return{message:v.message+" while parsing empty string",position:0}}const $=v.message.match(/^Unexpected token (.) .*position\s+(\d+)/i);const j=$?+$[2]:v.message.match(/^Unexpected end of JSON.*/i)?E.length-1:null;const N=$?v.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify($[1])} (${hexify($[1])})`):v.message;if(j!==null&&j!==undefined){const v=j<=R?0:j-R;const $=j+R>=E.length?E.length:j+R;const q=(v===0?"":"...")+E.slice(v,$)+($===E.length?"":"...");const G=E===q?"":"near ";return{message:N+` while parsing ${G}${JSON.stringify(q)}`,position:j}}else{return{message:N+` while parsing '${E.slice(0,R*2)}'`,position:0}}};class JSONParseError extends SyntaxError{constructor(v,E,R,$){R=R||20;const j=parseError(v,E,R);super(j.message);Object.assign(this,j);this.code="EJSONPARSE";this.systemError=v;Error.captureStackTrace(this,$||this.constructor)}get name(){return this.constructor.name}set name(v){}get[Symbol.toStringTag](){return this.constructor.name}}const E=Symbol.for("indent");const R=Symbol.for("newline");const $=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/;const j=/^(?:\{\}|\[\])((?:\r?\n)+)?$/;const parseJson=(v,N,q)=>{const G=stripBOM(v);q=q||20;try{const[,v="\n",q=" "]=G.match(j)||G.match($)||[,"",""];const ie=JSON.parse(G,N);if(ie&&typeof ie==="object"){ie[R]=v;ie[E]=q}return ie}catch(E){if(typeof v!=="string"&&!Buffer.isBuffer(v)){const R=Array.isArray(v)&&v.length===0;throw Object.assign(new TypeError(`Cannot parse ${R?"an empty array":String(v)}`),{code:"EJSONPARSE",systemError:E})}throw new JSONParseError(E,G,q,parseJson)}};const stripBOM=v=>String(v).replace(/^\uFEFF/,"");v.exports=parseJson;parseJson.JSONParseError=JSONParseError;parseJson.noExceptions=(v,E)=>{try{return JSON.parse(stripBOM(v),E)}catch(v){}}},32454:function(v){"use strict";class LoadingLoaderError extends Error{constructor(v){super(v);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}v.exports=LoadingLoaderError},26241:function(v,E,R){var $=R(57147);var j=$.readFile.bind($);var N=R(4158);function utf8BufferToString(v){var E=v.toString("utf-8");if(E.charCodeAt(0)===65279){return E.substr(1)}else{return E}}const q=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parsePathQueryFragment(v){var E=q.exec(v);return{path:E[1].replace(/\0(.)/g,"$1"),query:E[2]?E[2].replace(/\0(.)/g,"$1"):"",fragment:E[3]||""}}function dirname(v){if(v==="/")return"/";var E=v.lastIndexOf("/");var R=v.lastIndexOf("\\");var $=v.indexOf("/");var j=v.indexOf("\\");var N=E>R?E:R;var q=E>R?$:j;if(N<0)return v;if(N===q)return v.substr(0,N+1);return v.substr(0,N)}function createLoaderObject(v){var E={path:null,query:null,fragment:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(E,"request",{enumerable:true,get:function(){return E.path.replace(/#/g,"\0#")+E.query.replace(/#/g,"\0#")+E.fragment},set:function(v){if(typeof v==="string"){var R=parsePathQueryFragment(v);E.path=R.path;E.query=R.query;E.fragment=R.fragment;E.options=undefined;E.ident=undefined}else{if(!v.loader)throw new Error("request should be a string or object with loader and options ("+JSON.stringify(v)+")");E.path=v.loader;E.fragment=v.fragment||"";E.type=v.type;E.options=v.options;E.ident=v.ident;if(E.options===null)E.query="";else if(E.options===undefined)E.query="";else if(typeof E.options==="string")E.query="?"+E.options;else if(E.ident)E.query="??"+E.ident;else if(typeof E.options==="object"&&E.options.ident)E.query="??"+E.options.ident;else E.query="?"+JSON.stringify(E.options)}}});E.request=v;if(Object.preventExtensions){Object.preventExtensions(E)}return E}function runSyncOrAsync(v,E,R,$){var j=true;var N=false;var q=false;var G=false;E.async=function async(){if(N){if(G)return;throw new Error("async(): The callback was already called.")}j=false;return ie};var ie=E.callback=function(){if(N){if(G)return;throw new Error("callback(): The callback was already called.")}N=true;j=false;try{$.apply(null,arguments)}catch(v){q=true;throw v}};try{var ae=function LOADER_EXECUTION(){return v.apply(E,R)}();if(j){N=true;if(ae===undefined)return $();if(ae&&typeof ae==="object"&&typeof ae.then==="function"){return ae.then((function(v){$(null,v)}),$)}return $(null,ae)}}catch(v){if(q)throw v;if(N){if(typeof v==="object"&&v.stack)console.error(v.stack);else console.error(v);return}N=true;G=true;$(v)}}function convertArgs(v,E){if(!E&&Buffer.isBuffer(v[0]))v[0]=utf8BufferToString(v[0]);else if(E&&typeof v[0]==="string")v[0]=Buffer.from(v[0],"utf-8")}function iteratePitchingLoaders(v,E,R){if(E.loaderIndex>=E.loaders.length)return processResource(v,E,R);var $=E.loaders[E.loaderIndex];if($.pitchExecuted){E.loaderIndex++;return iteratePitchingLoaders(v,E,R)}N($,(function(j){if(j){E.cacheable(false);return R(j)}var N=$.pitch;$.pitchExecuted=true;if(!N)return iteratePitchingLoaders(v,E,R);runSyncOrAsync(N,E,[E.remainingRequest,E.previousRequest,$.data={}],(function($){if($)return R($);var j=Array.prototype.slice.call(arguments,1);var N=j.some((function(v){return v!==undefined}));if(N){E.loaderIndex--;iterateNormalLoaders(v,E,j,R)}else{iteratePitchingLoaders(v,E,R)}}))}))}function processResource(v,E,R){E.loaderIndex=E.loaders.length-1;var $=E.resourcePath;if($){v.processResource(E,$,(function($,j){if($)return R($);v.resourceBuffer=j;iterateNormalLoaders(v,E,[j],R)}))}else{iterateNormalLoaders(v,E,[null],R)}}function iterateNormalLoaders(v,E,R,$){if(E.loaderIndex<0)return $(null,R);var j=E.loaders[E.loaderIndex];if(j.normalExecuted){E.loaderIndex--;return iterateNormalLoaders(v,E,R,$)}var N=j.normal;j.normalExecuted=true;if(!N){return iterateNormalLoaders(v,E,R,$)}convertArgs(R,j.raw);runSyncOrAsync(N,E,R,(function(R){if(R)return $(R);var j=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(v,E,j,$)}))}E.getContext=function getContext(v){var E=parsePathQueryFragment(v).path;return dirname(E)};E.runLoaders=function runLoaders(v,E){var R=v.resource||"";var $=v.loaders||[];var N=v.context||{};var q=v.processResource||((v,E,R,$)=>{E.addDependency(R);v(R,$)}).bind(null,v.readResource||j);var G=R&&parsePathQueryFragment(R);var ie=G?G.path:undefined;var ae=G?G.query:undefined;var ce=G?G.fragment:undefined;var le=ie?dirname(ie):null;var me=true;var _e=[];var Ie=[];var Me=[];$=$.map(createLoaderObject);N.context=le;N.loaderIndex=0;N.loaders=$;N.resourcePath=ie;N.resourceQuery=ae;N.resourceFragment=ce;N.async=null;N.callback=null;N.cacheable=function cacheable(v){if(v===false){me=false}};N.dependency=N.addDependency=function addDependency(v){_e.push(v)};N.addContextDependency=function addContextDependency(v){Ie.push(v)};N.addMissingDependency=function addMissingDependency(v){Me.push(v)};N.getDependencies=function getDependencies(){return _e.slice()};N.getContextDependencies=function getContextDependencies(){return Ie.slice()};N.getMissingDependencies=function getMissingDependencies(){return Me.slice()};N.clearDependencies=function clearDependencies(){_e.length=0;Ie.length=0;Me.length=0;me=true};Object.defineProperty(N,"resource",{enumerable:true,get:function(){if(N.resourcePath===undefined)return undefined;return N.resourcePath.replace(/#/g,"\0#")+N.resourceQuery.replace(/#/g,"\0#")+N.resourceFragment},set:function(v){var E=v&&parsePathQueryFragment(v);N.resourcePath=E?E.path:undefined;N.resourceQuery=E?E.query:undefined;N.resourceFragment=E?E.fragment:undefined}});Object.defineProperty(N,"request",{enumerable:true,get:function(){return N.loaders.map((function(v){return v.request})).concat(N.resource||"").join("!")}});Object.defineProperty(N,"remainingRequest",{enumerable:true,get:function(){if(N.loaderIndex>=N.loaders.length-1&&!N.resource)return"";return N.loaders.slice(N.loaderIndex+1).map((function(v){return v.request})).concat(N.resource||"").join("!")}});Object.defineProperty(N,"currentRequest",{enumerable:true,get:function(){return N.loaders.slice(N.loaderIndex).map((function(v){return v.request})).concat(N.resource||"").join("!")}});Object.defineProperty(N,"previousRequest",{enumerable:true,get:function(){return N.loaders.slice(0,N.loaderIndex).map((function(v){return v.request})).join("!")}});Object.defineProperty(N,"query",{enumerable:true,get:function(){var v=N.loaders[N.loaderIndex];return v.options&&typeof v.options==="object"?v.options:v.query}});Object.defineProperty(N,"data",{enumerable:true,get:function(){return N.loaders[N.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(N)}var Oe={resourceBuffer:null,processResource:q};iteratePitchingLoaders(Oe,N,(function(v,R){if(v){return E(v,{cacheable:me,fileDependencies:_e,contextDependencies:Ie,missingDependencies:Me})}E(null,{result:R,resourceBuffer:Oe.resourceBuffer,cacheable:me,fileDependencies:_e,contextDependencies:Ie,missingDependencies:Me})}))}},4158:function(module,__unused_webpack_exports,__webpack_require__){var LoaderLoadingError=__webpack_require__(32454);var url;module.exports=function loadLoader(loader,callback){if(loader.type==="module"){try{if(url===undefined)url=__webpack_require__(57310);var loaderUrl=url.pathToFileURL(loader.path);var modulePromise=eval("import("+JSON.stringify(loaderUrl.toString())+")");modulePromise.then((function(v){handleResult(loader,v,callback)}),callback);return}catch(v){callback(v)}}else{try{var module=require(loader.path)}catch(v){if(v instanceof Error&&v.code==="EMFILE"){var retry=loadLoader.bind(null,loader,callback);if(typeof setImmediate==="function"){return setImmediate(retry)}else{return process.nextTick(retry)}}return callback(v)}return handleResult(loader,module,callback)}};function handleResult(v,E,R){if(typeof E!=="function"&&typeof E!=="object"){return R(new LoaderLoadingError("Module '"+v.path+"' is not a loader (export function or es6 module)"))}v.normal=typeof E==="function"?E:E.default;v.pitch=E.pitch;v.raw=E.raw;if(typeof v.normal!=="function"&&typeof v.pitch!=="function"){return R(new LoaderLoadingError("Module '"+v.path+"' is not a loader (must have normal or pitch function)"))}R()}},95183:function(v,E,R){
- v.exports=R(66282)},24230:function(v,E,R){"use strict";
- var $=R(95183);var j=R(71017).extname;var N=/^\s*([^;\s]*)(?:;|\s|$)/;var q=/^text\//i;E.charset=charset;E.charsets={lookup:charset};E.contentType=contentType;E.extension=extension;E.extensions=Object.create(null);E.lookup=lookup;E.types=Object.create(null);populateMaps(E.extensions,E.types);function charset(v){if(!v||typeof v!=="string"){return false}var E=N.exec(v);var R=E&&$[E[1].toLowerCase()];if(R&&R.charset){return R.charset}if(E&&q.test(E[1])){return"UTF-8"}return false}function contentType(v){if(!v||typeof v!=="string"){return false}var R=v.indexOf("/")===-1?E.lookup(v):v;if(!R){return false}if(R.indexOf("charset")===-1){var $=E.charset(R);if($)R+="; charset="+$.toLowerCase()}return R}function extension(v){if(!v||typeof v!=="string"){return false}var R=N.exec(v);var $=R&&E.extensions[R[1].toLowerCase()];if(!$||!$.length){return false}return $[0]}function lookup(v){if(!v||typeof v!=="string"){return false}var R=j("x."+v).toLowerCase().substr(1);if(!R){return false}return E.types[R]||false}function populateMaps(v,E){var R=["nginx","apache",undefined,"iana"];Object.keys($).forEach((function forEachMimeType(j){var N=$[j];var q=N.extensions;if(!q||!q.length){return}v[j]=q;for(var G=0;G<q.length;G++){var ie=q[G];if(E[ie]){var ae=R.indexOf($[E[ie]].source);var ce=R.indexOf(N.source);if(E[ie]!=="application/octet-stream"&&(ae>ce||ae===ce&&E[ie].substr(0,12)==="application/")){continue}}E[ie]=j}}))}},93702:function(v,E,R){"use strict";var $;$={value:true};E.Z=void 0;const{stringHints:j,numberHints:N}=R(75947);const q={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(v,E){const R=v.reduce(((v,R)=>Math.max(v,E(R))),0);return v.filter((v=>E(v)===R))}function filterChildren(v){let E=v;E=filterMax(E,(v=>v.dataPath?v.dataPath.length:0));E=filterMax(E,(v=>q[v.keyword]||2));return E}function findAllChildren(v,E){let R=v.length-1;const predicate=E=>v[R].schemaPath.indexOf(E)!==0;while(R>-1&&!E.every(predicate)){if(v[R].keyword==="anyOf"||v[R].keyword==="oneOf"){const E=extractRefs(v[R]);const $=findAllChildren(v.slice(0,R),E.concat(v[R].schemaPath));R=$-1}else{R-=1}}return R+1}function extractRefs(v){const{schema:E}=v;if(!Array.isArray(E)){return[]}return E.map((({$ref:v})=>v)).filter((v=>v))}function groupChildrenByFirstChild(v){const E=[];let R=v.length-1;while(R>0){const $=v[R];if($.keyword==="anyOf"||$.keyword==="oneOf"){const j=extractRefs($);const N=findAllChildren(v.slice(0,R),j.concat($.schemaPath));if(N!==R){E.push(Object.assign({},$,{children:v.slice(N,R)}));R=N}else{E.push($)}}else{E.push($)}R-=1}if(R===0){E.push(v[R])}return E.reverse()}function indent(v,E){return v.replace(/\n(?!$)/g,`\n${E}`)}function hasNotInSchema(v){return!!v.not}function findFirstTypedSchema(v){if(hasNotInSchema(v)){return findFirstTypedSchema(v.not)}return v}function canApplyNot(v){const E=findFirstTypedSchema(v);return likeNumber(E)||likeInteger(E)||likeString(E)||likeNull(E)||likeBoolean(E)}function isObject(v){return typeof v==="object"&&v!==null}function likeNumber(v){return v.type==="number"||typeof v.minimum!=="undefined"||typeof v.exclusiveMinimum!=="undefined"||typeof v.maximum!=="undefined"||typeof v.exclusiveMaximum!=="undefined"||typeof v.multipleOf!=="undefined"}function likeInteger(v){return v.type==="integer"||typeof v.minimum!=="undefined"||typeof v.exclusiveMinimum!=="undefined"||typeof v.maximum!=="undefined"||typeof v.exclusiveMaximum!=="undefined"||typeof v.multipleOf!=="undefined"}function likeString(v){return v.type==="string"||typeof v.minLength!=="undefined"||typeof v.maxLength!=="undefined"||typeof v.pattern!=="undefined"||typeof v.format!=="undefined"||typeof v.formatMinimum!=="undefined"||typeof v.formatMaximum!=="undefined"}function likeBoolean(v){return v.type==="boolean"}function likeArray(v){return v.type==="array"||typeof v.minItems==="number"||typeof v.maxItems==="number"||typeof v.uniqueItems!=="undefined"||typeof v.items!=="undefined"||typeof v.additionalItems!=="undefined"||typeof v.contains!=="undefined"}function likeObject(v){return v.type==="object"||typeof v.minProperties!=="undefined"||typeof v.maxProperties!=="undefined"||typeof v.required!=="undefined"||typeof v.properties!=="undefined"||typeof v.patternProperties!=="undefined"||typeof v.additionalProperties!=="undefined"||typeof v.dependencies!=="undefined"||typeof v.propertyNames!=="undefined"||typeof v.patternRequired!=="undefined"}function likeNull(v){return v.type==="null"}function getArticle(v){if(/^[aeiou]/i.test(v)){return"an"}return"a"}function getSchemaNonTypes(v){if(!v){return""}if(!v.type){if(likeNumber(v)||likeInteger(v)){return" | should be any non-number"}if(likeString(v)){return" | should be any non-string"}if(likeArray(v)){return" | should be any non-array"}if(likeObject(v)){return" | should be any non-object"}}return""}function formatHints(v){return v.length>0?`(${v.join(", ")})`:""}function getHints(v,E){if(likeNumber(v)||likeInteger(v)){return N(v,E)}else if(likeString(v)){return j(v,E)}return[]}class ValidationError extends Error{constructor(v,E,R={}){super();this.name="ValidationError";this.errors=v;this.schema=E;let $;let j;if(E.title&&(!R.name||!R.baseDataPath)){const v=E.title.match(/^(.+) (.+)$/);if(v){if(!R.name){[,$]=v}if(!R.baseDataPath){[,,j]=v}}}this.headerName=R.name||$||"Object";this.baseDataPath=R.baseDataPath||j||"configuration";this.postFormatter=R.postFormatter||null;const N=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${N}${this.formatValidationErrors(v)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(v){const E=v.split("/");let R=this.schema;for(let v=1;v<E.length;v++){const $=R[E[v]];if(!$){break}R=$}return R}formatSchema(v,E=true,R=[]){let $=E;const formatInnerSchema=(E,j)=>{if(!j){return this.formatSchema(E,$,R)}if(R.includes(E)){return"(recursive)"}return this.formatSchema(E,$,R.concat(v))};if(hasNotInSchema(v)&&!likeObject(v)){if(canApplyNot(v.not)){$=!E;return formatInnerSchema(v.not)}const R=!v.not.not;const j=E?"":"non ";$=!E;return R?j+formatInnerSchema(v.not):formatInnerSchema(v.not)}if(v.instanceof){const{instanceof:E}=v;const R=!Array.isArray(E)?[E]:E;return R.map((v=>v==="Function"?"function":v)).join(" | ")}if(v.enum){return v.enum.map((v=>JSON.stringify(v))).join(" | ")}if(typeof v.const!=="undefined"){return JSON.stringify(v.const)}if(v.oneOf){return v.oneOf.map((v=>formatInnerSchema(v,true))).join(" | ")}if(v.anyOf){return v.anyOf.map((v=>formatInnerSchema(v,true))).join(" | ")}if(v.allOf){return v.allOf.map((v=>formatInnerSchema(v,true))).join(" & ")}if(v.if){const{if:E,then:R,else:$}=v;return`${E?`if ${formatInnerSchema(E)}`:""}${R?` then ${formatInnerSchema(R)}`:""}${$?` else ${formatInnerSchema($)}`:""}`}if(v.$ref){return formatInnerSchema(this.getSchemaPart(v.$ref),true)}if(likeNumber(v)||likeInteger(v)){const[R,...$]=getHints(v,E);const j=`${R}${$.length>0?` ${formatHints($)}`:""}`;return E?j:$.length>0?`non-${R} | ${j}`:`non-${R}`}if(likeString(v)){const[R,...$]=getHints(v,E);const j=`${R}${$.length>0?` ${formatHints($)}`:""}`;return E?j:j==="string"?"non-string":`non-string | ${j}`}if(likeBoolean(v)){return`${E?"":"non-"}boolean`}if(likeArray(v)){$=true;const E=[];if(typeof v.minItems==="number"){E.push(`should not have fewer than ${v.minItems} item${v.minItems>1?"s":""}`)}if(typeof v.maxItems==="number"){E.push(`should not have more than ${v.maxItems} item${v.maxItems>1?"s":""}`)}if(v.uniqueItems){E.push("should not have duplicate items")}const R=typeof v.additionalItems==="undefined"||Boolean(v.additionalItems);let j="";if(v.items){if(Array.isArray(v.items)&&v.items.length>0){j=`${v.items.map((v=>formatInnerSchema(v))).join(", ")}`;if(R){if(v.additionalItems&&isObject(v.additionalItems)&&Object.keys(v.additionalItems).length>0){E.push(`additional items should be ${formatInnerSchema(v.additionalItems)}`)}}}else if(v.items&&Object.keys(v.items).length>0){j=`${formatInnerSchema(v.items)}`}else{j="any"}}else{j="any"}if(v.contains&&Object.keys(v.contains).length>0){E.push(`should contains at least one ${this.formatSchema(v.contains)} item`)}return`[${j}${R?", ...":""}]${E.length>0?` (${E.join(", ")})`:""}`}if(likeObject(v)){$=true;const E=[];if(typeof v.minProperties==="number"){E.push(`should not have fewer than ${v.minProperties} ${v.minProperties>1?"properties":"property"}`)}if(typeof v.maxProperties==="number"){E.push(`should not have more than ${v.maxProperties} ${v.minProperties&&v.minProperties>1?"properties":"property"}`)}if(v.patternProperties&&Object.keys(v.patternProperties).length>0){const R=Object.keys(v.patternProperties);E.push(`additional property names should match pattern${R.length>1?"s":""} ${R.map((v=>JSON.stringify(v))).join(" | ")}`)}const R=v.properties?Object.keys(v.properties):[];const j=v.required?v.required:[];const N=[...new Set([].concat(j).concat(R))];const q=N.map((v=>{const E=j.includes(v);return`${v}${E?"":"?"}`})).concat(typeof v.additionalProperties==="undefined"||Boolean(v.additionalProperties)?v.additionalProperties&&isObject(v.additionalProperties)?[`<key>: ${formatInnerSchema(v.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:G,propertyNames:ie,patternRequired:ae}=v;if(G){Object.keys(G).forEach((v=>{const R=G[v];if(Array.isArray(R)){E.push(`should have ${R.length>1?"properties":"property"} ${R.map((v=>`'${v}'`)).join(", ")} when property '${v}' is present`)}else{E.push(`should be valid according to the schema ${formatInnerSchema(R)} when property '${v}' is present`)}}))}if(ie&&Object.keys(ie).length>0){E.push(`each property name should match format ${JSON.stringify(v.propertyNames.format)}`)}if(ae&&ae.length>0){E.push(`should have property matching pattern ${ae.map((v=>JSON.stringify(v)))}`)}return`object {${q?` ${q} `:""}}${E.length>0?` (${E.join(", ")})`:""}`}if(likeNull(v)){return`${E?"":"non-"}null`}if(Array.isArray(v.type)){return`${v.type.join(" | ")}`}return JSON.stringify(v,null,2)}getSchemaPartText(v,E,R=false,$=true){if(!v){return""}if(Array.isArray(E)){for(let R=0;R<E.length;R++){const $=v[E[R]];if($){v=$}else{break}}}while(v.$ref){v=this.getSchemaPart(v.$ref)}let j=`${this.formatSchema(v,$)}${R?".":""}`;if(v.description){j+=`\n-> ${v.description}`}if(v.link){j+=`\n-> Read more at ${v.link}`}return j}getSchemaPartDescription(v){if(!v){return""}while(v.$ref){v=this.getSchemaPart(v.$ref)}let E="";if(v.description){E+=`\n-> ${v.description}`}if(v.link){E+=`\n-> Read more at ${v.link}`}return E}formatValidationError(v){const{keyword:E,dataPath:R}=v;const $=`${this.baseDataPath}${R}`;switch(E){case"type":{const{parentSchema:E,params:R}=v;switch(R.type){case"number":return`${$} should be a ${this.getSchemaPartText(E,false,true)}`;case"integer":return`${$} should be an ${this.getSchemaPartText(E,false,true)}`;case"string":return`${$} should be a ${this.getSchemaPartText(E,false,true)}`;case"boolean":return`${$} should be a ${this.getSchemaPartText(E,false,true)}`;case"array":return`${$} should be an array:\n${this.getSchemaPartText(E)}`;case"object":return`${$} should be an object:\n${this.getSchemaPartText(E)}`;case"null":return`${$} should be a ${this.getSchemaPartText(E,false,true)}`;default:return`${$} should be:\n${this.getSchemaPartText(E)}`}}case"instanceof":{const{parentSchema:E}=v;return`${$} should be an instance of ${this.getSchemaPartText(E,false,true)}`}case"pattern":{const{params:E,parentSchema:R}=v;const{pattern:j}=E;return`${$} should match pattern ${JSON.stringify(j)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"format":{const{params:E,parentSchema:R}=v;const{format:j}=E;return`${$} should match format ${JSON.stringify(j)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"formatMinimum":case"formatMaximum":{const{params:E,parentSchema:R}=v;const{comparison:j,limit:N}=E;return`${$} should be ${j} ${JSON.stringify(N)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:E,params:R}=v;const{comparison:j,limit:N}=R;const[,...q]=getHints(E,true);if(q.length===0){q.push(`should be ${j} ${N}`)}return`${$} ${q.join(" ")}${getSchemaNonTypes(E)}.${this.getSchemaPartDescription(E)}`}case"multipleOf":{const{params:E,parentSchema:R}=v;const{multipleOf:j}=E;return`${$} should be multiple of ${j}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"patternRequired":{const{params:E,parentSchema:R}=v;const{missingPattern:j}=E;return`${$} should have property matching pattern ${JSON.stringify(j)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minLength":{const{params:E,parentSchema:R}=v;const{limit:j}=E;if(j===1){return`${$} should be a non-empty string${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}const N=j-1;return`${$} should be longer than ${N} character${N>1?"s":""}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minItems":{const{params:E,parentSchema:R}=v;const{limit:j}=E;if(j===1){return`${$} should be a non-empty array${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}return`${$} should not have fewer than ${j} items${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minProperties":{const{params:E,parentSchema:R}=v;const{limit:j}=E;if(j===1){return`${$} should be a non-empty object${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}return`${$} should not have fewer than ${j} properties${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxLength":{const{params:E,parentSchema:R}=v;const{limit:j}=E;const N=j+1;return`${$} should be shorter than ${N} character${N>1?"s":""}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxItems":{const{params:E,parentSchema:R}=v;const{limit:j}=E;return`${$} should not have more than ${j} items${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxProperties":{const{params:E,parentSchema:R}=v;const{limit:j}=E;return`${$} should not have more than ${j} properties${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"uniqueItems":{const{params:E,parentSchema:R}=v;const{i:j}=E;return`${$} should not contain the item '${v.data[j]}' twice${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"additionalItems":{const{params:E,parentSchema:R}=v;const{limit:j}=E;return`${$} should not have more than ${j} items${getSchemaNonTypes(R)}. These items are valid:\n${this.getSchemaPartText(R)}`}case"contains":{const{parentSchema:E}=v;return`${$} should contains at least one ${this.getSchemaPartText(E,["contains"])} item${getSchemaNonTypes(E)}.`}case"required":{const{parentSchema:E,params:R}=v;const j=R.missingProperty.replace(/^\./,"");const N=E&&Boolean(E.properties&&E.properties[j]);return`${$} misses the property '${j}'${getSchemaNonTypes(E)}.${N?` Should be:\n${this.getSchemaPartText(E,["properties",j])}`:this.getSchemaPartDescription(E)}`}case"additionalProperties":{const{params:E,parentSchema:R}=v;const{additionalProperty:j}=E;return`${$} has an unknown property '${j}'${getSchemaNonTypes(R)}. These properties are valid:\n${this.getSchemaPartText(R)}`}case"dependencies":{const{params:E,parentSchema:R}=v;const{property:j,deps:N}=E;const q=N.split(",").map((v=>`'${v.trim()}'`)).join(", ");return`${$} should have properties ${q} when property '${j}' is present${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"propertyNames":{const{params:E,parentSchema:R,schema:j}=v;const{propertyName:N}=E;return`${$} property name '${N}' is invalid${getSchemaNonTypes(R)}. Property names should be match format ${JSON.stringify(j.format)}.${this.getSchemaPartDescription(R)}`}case"enum":{const{parentSchema:E}=v;if(E&&E.enum&&E.enum.length===1){return`${$} should be ${this.getSchemaPartText(E,false,true)}`}return`${$} should be one of these:\n${this.getSchemaPartText(E)}`}case"const":{const{parentSchema:E}=v;return`${$} should be equal to constant ${this.getSchemaPartText(E,false,true)}`}case"not":{const E=likeObject(v.parentSchema)?`\n${this.getSchemaPartText(v.parentSchema)}`:"";const R=this.getSchemaPartText(v.schema,false,false,false);if(canApplyNot(v.schema)){return`${$} should be any ${R}${E}.`}const{schema:j,parentSchema:N}=v;return`${$} should not be ${this.getSchemaPartText(j,false,true)}${N&&likeObject(N)?`\n${this.getSchemaPartText(N)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:E,children:R}=v;if(R&&R.length>0){if(v.schema.length===1){const v=R[R.length-1];const $=R.slice(0,R.length-1);return this.formatValidationError(Object.assign({},v,{children:$,parentSchema:Object.assign({},E,v.parentSchema)}))}let j=filterChildren(R);if(j.length===1){return this.formatValidationError(j[0])}j=groupChildrenByFirstChild(j);return`${$} should be one of these:\n${this.getSchemaPartText(E)}\nDetails:\n${j.map((v=>` * ${indent(this.formatValidationError(v)," ")}`)).join("\n")}`}return`${$} should be one of these:\n${this.getSchemaPartText(E)}`}case"if":{const{params:E,parentSchema:R}=v;const{failingKeyword:j}=E;return`${$} should match "${j}" schema:\n${this.getSchemaPartText(R,[j])}`}case"absolutePath":{const{message:E,parentSchema:R}=v;return`${$}: ${E}${this.getSchemaPartDescription(R)}`}default:{const{message:E,parentSchema:R}=v;const j=JSON.stringify(v,null,2);return`${$} ${E} (${j}).\n${this.getSchemaPartText(R,false)}`}}}formatValidationErrors(v){return v.map((v=>{let E=this.formatValidationError(v);if(this.postFormatter){E=this.postFormatter(E,v)}return` - ${indent(E," ")}`})).join("\n")}}var G=ValidationError;E.Z=G},39781:function(v){"use strict";class Range{static getOperator(v,E){if(v==="left"){return E?">":">="}return E?"<":"<="}static formatRight(v,E,R){if(E===false){return Range.formatLeft(v,!E,!R)}return`should be ${Range.getOperator("right",R)} ${v}`}static formatLeft(v,E,R){if(E===false){return Range.formatRight(v,!E,!R)}return`should be ${Range.getOperator("left",R)} ${v}`}static formatRange(v,E,R,$,j){let N="should be";N+=` ${Range.getOperator(j?"left":"right",j?R:!R)} ${v} `;N+=j?"and":"or";N+=` ${Range.getOperator(j?"right":"left",j?$:!$)} ${E}`;return N}static getRangeValue(v,E){let R=E?Infinity:-Infinity;let $=-1;const j=E?([v])=>v<=R:([v])=>v>=R;for(let E=0;E<v.length;E++){if(j(v[E])){[R]=v[E];$=E}}if($>-1){return v[$]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(v,E=false){this._left.push([v,E])}right(v,E=false){this._right.push([v,E])}format(v=true){const[E,R]=Range.getRangeValue(this._left,v);const[$,j]=Range.getRangeValue(this._right,!v);if(!Number.isFinite(E)&&!Number.isFinite($)){return""}const N=R?E+1:E;const q=j?$-1:$;if(N===q){return`should be ${v?"":"!"}= ${N}`}if(Number.isFinite(E)&&!Number.isFinite($)){return Range.formatLeft(E,v,R)}if(!Number.isFinite(E)&&Number.isFinite($)){return Range.formatRight($,v,j)}return Range.formatRange(E,$,R,j,v)}}v.exports=Range},75947:function(v,E,R){"use strict";const $=R(39781);v.exports.stringHints=function stringHints(v,E){const R=[];let $="string";const j={...v};if(!E){const v=j.minLength;const E=j.formatMinimum;const R=j.formatExclusiveMaximum;j.minLength=j.maxLength;j.maxLength=v;j.formatMinimum=j.formatMaximum;j.formatMaximum=E;j.formatExclusiveMaximum=!j.formatExclusiveMinimum;j.formatExclusiveMinimum=!R}if(typeof j.minLength==="number"){if(j.minLength===1){$="non-empty string"}else{const v=Math.max(j.minLength-1,0);R.push(`should be longer than ${v} character${v>1?"s":""}`)}}if(typeof j.maxLength==="number"){if(j.maxLength===0){$="empty string"}else{const v=j.maxLength+1;R.push(`should be shorter than ${v} character${v>1?"s":""}`)}}if(j.pattern){R.push(`should${E?"":" not"} match pattern ${JSON.stringify(j.pattern)}`)}if(j.format){R.push(`should${E?"":" not"} match format ${JSON.stringify(j.format)}`)}if(j.formatMinimum){R.push(`should be ${j.formatExclusiveMinimum?">":">="} ${JSON.stringify(j.formatMinimum)}`)}if(j.formatMaximum){R.push(`should be ${j.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(j.formatMaximum)}`)}return[$].concat(R)};v.exports.numberHints=function numberHints(v,E){const R=[v.type==="integer"?"integer":"number"];const j=new $;if(typeof v.minimum==="number"){j.left(v.minimum)}if(typeof v.exclusiveMinimum==="number"){j.left(v.exclusiveMinimum,true)}if(typeof v.maximum==="number"){j.right(v.maximum)}if(typeof v.exclusiveMaximum==="number"){j.right(v.exclusiveMaximum,true)}const N=j.format(E);if(N){R.push(N)}if(typeof v.multipleOf==="number"){R.push(`should${E?"":" not"} be multiple of ${v.multipleOf}`)}return R}},63597:function(v,E,R){"use strict";const $=R(25587);const j=R(51040);class AsyncParallelBailHookCodeFactory extends j{content({onError:v,onResult:E,onDone:R}){let $="";$+=`var _results = new Array(${this.options.taps.length});\n`;$+="var _checkDone = function() {\n";$+="for(var i = 0; i < _results.length; i++) {\n";$+="var item = _results[i];\n";$+="if(item === undefined) return false;\n";$+="if(item.result !== undefined) {\n";$+=E("item.result");$+="return true;\n";$+="}\n";$+="if(item.error) {\n";$+=v("item.error");$+="return true;\n";$+="}\n";$+="}\n";$+="return false;\n";$+="}\n";$+=this.callTapsParallel({onError:(v,E,R,$)=>{let j="";j+=`if(${v} < _results.length && ((_results.length = ${v+1}), (_results[${v}] = { error: ${E} }), _checkDone())) {\n`;j+=$(true);j+="} else {\n";j+=R();j+="}\n";return j},onResult:(v,E,R,$)=>{let j="";j+=`if(${v} < _results.length && (${E} !== undefined && (_results.length = ${v+1}), (_results[${v}] = { result: ${E} }), _checkDone())) {\n`;j+=$(true);j+="} else {\n";j+=R();j+="}\n";return j},onTap:(v,E,R,$)=>{let j="";if(v>0){j+=`if(${v} >= _results.length) {\n`;j+=R();j+="} else {\n"}j+=E();if(v>0)j+="}\n";return j},onDone:R});return $}}const N=new AsyncParallelBailHookCodeFactory;const COMPILE=function(v){N.setup(this,v);return N.create(v)};function AsyncParallelBailHook(v=[],E=undefined){const R=new $(v,E);R.constructor=AsyncParallelBailHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncParallelBailHook.prototype=null;v.exports=AsyncParallelBailHook},57101:function(v,E,R){"use strict";const $=R(25587);const j=R(51040);class AsyncParallelHookCodeFactory extends j{content({onError:v,onDone:E}){return this.callTapsParallel({onError:(E,R,$,j)=>v(R)+j(true),onDone:E})}}const N=new AsyncParallelHookCodeFactory;const COMPILE=function(v){N.setup(this,v);return N.create(v)};function AsyncParallelHook(v=[],E=undefined){const R=new $(v,E);R.constructor=AsyncParallelHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncParallelHook.prototype=null;v.exports=AsyncParallelHook},19681:function(v,E,R){"use strict";const $=R(25587);const j=R(51040);class AsyncSeriesBailHookCodeFactory extends j{content({onError:v,onResult:E,resultReturns:R,onDone:$}){return this.callTapsSeries({onError:(E,R,$,j)=>v(R)+j(true),onResult:(v,R,$)=>`if(${R} !== undefined) {\n${E(R)}\n} else {\n${$()}}\n`,resultReturns:R,onDone:$})}}const N=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(v){N.setup(this,v);return N.create(v)};function AsyncSeriesBailHook(v=[],E=undefined){const R=new $(v,E);R.constructor=AsyncSeriesBailHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesBailHook.prototype=null;v.exports=AsyncSeriesBailHook},12337:function(v,E,R){"use strict";const $=R(25587);const j=R(51040);class AsyncSeriesHookCodeFactory extends j{content({onError:v,onDone:E}){return this.callTapsSeries({onError:(E,R,$,j)=>v(R)+j(true),onDone:E})}}const N=new AsyncSeriesHookCodeFactory;const COMPILE=function(v){N.setup(this,v);return N.create(v)};function AsyncSeriesHook(v=[],E=undefined){const R=new $(v,E);R.constructor=AsyncSeriesHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesHook.prototype=null;v.exports=AsyncSeriesHook},60104:function(v,E,R){"use strict";const $=R(25587);const j=R(51040);class AsyncSeriesLoopHookCodeFactory extends j{content({onError:v,onDone:E}){return this.callTapsLooping({onError:(E,R,$,j)=>v(R)+j(true),onDone:E})}}const N=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(v){N.setup(this,v);return N.create(v)};function AsyncSeriesLoopHook(v=[],E=undefined){const R=new $(v,E);R.constructor=AsyncSeriesLoopHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesLoopHook.prototype=null;v.exports=AsyncSeriesLoopHook},79340:function(v,E,R){"use strict";const $=R(25587);const j=R(51040);class AsyncSeriesWaterfallHookCodeFactory extends j{content({onError:v,onResult:E,onDone:R}){return this.callTapsSeries({onError:(E,R,$,j)=>v(R)+j(true),onResult:(v,E,R)=>{let $="";$+=`if(${E} !== undefined) {\n`;$+=`${this._args[0]} = ${E};\n`;$+=`}\n`;$+=R();return $},onDone:()=>E(this._args[0])})}}const N=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(v){N.setup(this,v);return N.create(v)};function AsyncSeriesWaterfallHook(v=[],E=undefined){if(v.length<1)throw new Error("Waterfall hooks must have at least one argument");const R=new $(v,E);R.constructor=AsyncSeriesWaterfallHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesWaterfallHook.prototype=null;v.exports=AsyncSeriesWaterfallHook},25587:function(v,E,R){"use strict";const $=R(73837);const j=$.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...v){this.call=this._createCall("sync");return this.call(...v)};const CALL_ASYNC_DELEGATE=function(...v){this.callAsync=this._createCall("async");return this.callAsync(...v)};const PROMISE_DELEGATE=function(...v){this.promise=this._createCall("promise");return this.promise(...v)};class Hook{constructor(v=[],E=undefined){this._args=v;this.name=E;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(v){throw new Error("Abstract: should be overridden")}_createCall(v){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:v})}_tap(v,E,R){if(typeof E==="string"){E={name:E.trim()}}else if(typeof E!=="object"||E===null){throw new Error("Invalid tap options")}if(typeof E.name!=="string"||E.name===""){throw new Error("Missing name for tap")}if(typeof E.context!=="undefined"){j()}E=Object.assign({type:v,fn:R},E);E=this._runRegisterInterceptors(E);this._insert(E)}tap(v,E){this._tap("sync",v,E)}tapAsync(v,E){this._tap("async",v,E)}tapPromise(v,E){this._tap("promise",v,E)}_runRegisterInterceptors(v){for(const E of this.interceptors){if(E.register){const R=E.register(v);if(R!==undefined){v=R}}}return v}withOptions(v){const mergeOptions=E=>Object.assign({},v,typeof E==="string"?{name:E}:E);return{name:this.name,tap:(v,E)=>this.tap(mergeOptions(v),E),tapAsync:(v,E)=>this.tapAsync(mergeOptions(v),E),tapPromise:(v,E)=>this.tapPromise(mergeOptions(v),E),intercept:v=>this.intercept(v),isUsed:()=>this.isUsed(),withOptions:v=>this.withOptions(mergeOptions(v))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(v){this._resetCompilation();this.interceptors.push(Object.assign({},v));if(v.register){for(let E=0;E<this.taps.length;E++){this.taps[E]=v.register(this.taps[E])}}}_resetCompilation(){this.call=this._call;this.callAsync=this._callAsync;this.promise=this._promise}_insert(v){this._resetCompilation();let E;if(typeof v.before==="string"){E=new Set([v.before])}else if(Array.isArray(v.before)){E=new Set(v.before)}let R=0;if(typeof v.stage==="number"){R=v.stage}let $=this.taps.length;while($>0){$--;const v=this.taps[$];this.taps[$+1]=v;const j=v.stage||0;if(E){if(E.has(v.name)){E.delete(v.name);continue}if(E.size>0){continue}}if(j>R){continue}$++;break}this.taps[$]=v}}Object.setPrototypeOf(Hook.prototype,null);v.exports=Hook},51040:function(v){"use strict";class HookCodeFactory{constructor(v){this.config=v;this.options=undefined;this._args=undefined}create(v){this.init(v);let E;switch(this.options.type){case"sync":E=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:v=>`throw ${v};\n`,onResult:v=>`return ${v};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":E=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:v=>`_callback(${v});\n`,onResult:v=>`_callback(null, ${v});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let v=false;const R=this.contentWithInterceptors({onError:E=>{v=true;return`_error(${E});\n`},onResult:v=>`_resolve(${v});\n`,onDone:()=>"_resolve();\n"});let $="";$+='"use strict";\n';$+=this.header();$+="return new Promise((function(_resolve, _reject) {\n";if(v){$+="var _sync = true;\n";$+="function _error(_err) {\n";$+="if(_sync)\n";$+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";$+="else\n";$+="_reject(_err);\n";$+="};\n"}$+=R;if(v){$+="_sync = false;\n"}$+="}));\n";E=new Function(this.args(),$);break}this.deinit();return E}setup(v,E){v._x=E.taps.map((v=>v.fn))}init(v){this.options=v;this._args=v.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(v){if(this.options.interceptors.length>0){const E=v.onError;const R=v.onResult;const $=v.onDone;let j="";for(let v=0;v<this.options.interceptors.length;v++){const E=this.options.interceptors[v];if(E.call){j+=`${this.getInterceptor(v)}.call(${this.args({before:E.context?"_context":undefined})});\n`}}j+=this.content(Object.assign(v,{onError:E&&(v=>{let R="";for(let E=0;E<this.options.interceptors.length;E++){const $=this.options.interceptors[E];if($.error){R+=`${this.getInterceptor(E)}.error(${v});\n`}}R+=E(v);return R}),onResult:R&&(v=>{let E="";for(let R=0;R<this.options.interceptors.length;R++){const $=this.options.interceptors[R];if($.result){E+=`${this.getInterceptor(R)}.result(${v});\n`}}E+=R(v);return E}),onDone:$&&(()=>{let v="";for(let E=0;E<this.options.interceptors.length;E++){const R=this.options.interceptors[E];if(R.done){v+=`${this.getInterceptor(E)}.done();\n`}}v+=$();return v})}));return j}else{return this.content(v)}}header(){let v="";if(this.needContext()){v+="var _context = {};\n"}else{v+="var _context;\n"}v+="var _x = this._x;\n";if(this.options.interceptors.length>0){v+="var _taps = this.taps;\n";v+="var _interceptors = this.interceptors;\n"}return v}needContext(){for(const v of this.options.taps)if(v.context)return true;return false}callTap(v,{onError:E,onResult:R,onDone:$,rethrowIfPossible:j}){let N="";let q=false;for(let E=0;E<this.options.interceptors.length;E++){const R=this.options.interceptors[E];if(R.tap){if(!q){N+=`var _tap${v} = ${this.getTap(v)};\n`;q=true}N+=`${this.getInterceptor(E)}.tap(${R.context?"_context, ":""}_tap${v});\n`}}N+=`var _fn${v} = ${this.getTapFn(v)};\n`;const G=this.options.taps[v];switch(G.type){case"sync":if(!j){N+=`var _hasError${v} = false;\n`;N+="try {\n"}if(R){N+=`var _result${v} = _fn${v}(${this.args({before:G.context?"_context":undefined})});\n`}else{N+=`_fn${v}(${this.args({before:G.context?"_context":undefined})});\n`}if(!j){N+="} catch(_err) {\n";N+=`_hasError${v} = true;\n`;N+=E("_err");N+="}\n";N+=`if(!_hasError${v}) {\n`}if(R){N+=R(`_result${v}`)}if($){N+=$()}if(!j){N+="}\n"}break;case"async":let q="";if(R)q+=`(function(_err${v}, _result${v}) {\n`;else q+=`(function(_err${v}) {\n`;q+=`if(_err${v}) {\n`;q+=E(`_err${v}`);q+="} else {\n";if(R){q+=R(`_result${v}`)}if($){q+=$()}q+="}\n";q+="})";N+=`_fn${v}(${this.args({before:G.context?"_context":undefined,after:q})});\n`;break;case"promise":N+=`var _hasResult${v} = false;\n`;N+=`var _promise${v} = _fn${v}(${this.args({before:G.context?"_context":undefined})});\n`;N+=`if (!_promise${v} || !_promise${v}.then)\n`;N+=` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${v} + ')');\n`;N+=`_promise${v}.then((function(_result${v}) {\n`;N+=`_hasResult${v} = true;\n`;if(R){N+=R(`_result${v}`)}if($){N+=$()}N+=`}), function(_err${v}) {\n`;N+=`if(_hasResult${v}) throw _err${v};\n`;N+=E(`_err${v}`);N+="});\n";break}return N}callTapsSeries({onError:v,onResult:E,resultReturns:R,onDone:$,doneReturns:j,rethrowIfPossible:N}){if(this.options.taps.length===0)return $();const q=this.options.taps.findIndex((v=>v.type!=="sync"));const G=R||j;let ie="";let ae=$;let ce=0;for(let R=this.options.taps.length-1;R>=0;R--){const j=R;const le=ae!==$&&(this.options.taps[j].type!=="sync"||ce++>20);if(le){ce=0;ie+=`function _next${j}() {\n`;ie+=ae();ie+=`}\n`;ae=()=>`${G?"return ":""}_next${j}();\n`}const me=ae;const doneBreak=v=>{if(v)return"";return $()};const _e=this.callTap(j,{onError:E=>v(j,E,me,doneBreak),onResult:E&&(v=>E(j,v,me,doneBreak)),onDone:!E&&me,rethrowIfPossible:N&&(q<0||j<q)});ae=()=>_e}ie+=ae();return ie}callTapsLooping({onError:v,onDone:E,rethrowIfPossible:R}){if(this.options.taps.length===0)return E();const $=this.options.taps.every((v=>v.type==="sync"));let j="";if(!$){j+="var _looper = (function() {\n";j+="var _loopAsync = false;\n"}j+="var _loop;\n";j+="do {\n";j+="_loop = false;\n";for(let v=0;v<this.options.interceptors.length;v++){const E=this.options.interceptors[v];if(E.loop){j+=`${this.getInterceptor(v)}.loop(${this.args({before:E.context?"_context":undefined})});\n`}}j+=this.callTapsSeries({onError:v,onResult:(v,E,R,j)=>{let N="";N+=`if(${E} !== undefined) {\n`;N+="_loop = true;\n";if(!$)N+="if(_loopAsync) _looper();\n";N+=j(true);N+=`} else {\n`;N+=R();N+=`}\n`;return N},onDone:E&&(()=>{let v="";v+="if(!_loop) {\n";v+=E();v+="}\n";return v}),rethrowIfPossible:R&&$});j+="} while(_loop);\n";if(!$){j+="_loopAsync = true;\n";j+="});\n";j+="_looper();\n"}return j}callTapsParallel({onError:v,onResult:E,onDone:R,rethrowIfPossible:$,onTap:j=((v,E)=>E())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:v,onResult:E,onDone:R,rethrowIfPossible:$})}let N="";N+="do {\n";N+=`var _counter = ${this.options.taps.length};\n`;if(R){N+="var _done = (function() {\n";N+=R();N+="});\n"}for(let q=0;q<this.options.taps.length;q++){const done=()=>{if(R)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=v=>{if(v||!R)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};N+="if(_counter <= 0) break;\n";N+=j(q,(()=>this.callTap(q,{onError:E=>{let R="";R+="if(_counter > 0) {\n";R+=v(q,E,done,doneBreak);R+="}\n";return R},onResult:E&&(v=>{let R="";R+="if(_counter > 0) {\n";R+=E(q,v,done,doneBreak);R+="}\n";return R}),onDone:!E&&(()=>done()),rethrowIfPossible:$})),done,doneBreak)}N+="} while(false);\n";return N}args({before:v,after:E}={}){let R=this._args;if(v)R=[v].concat(R);if(E)R=R.concat(E);if(R.length===0){return""}else{return R.join(", ")}}getTapFn(v){return`_x[${v}]`}getTap(v){return`_taps[${v}]`}getInterceptor(v){return`_interceptors[${v}]`}}v.exports=HookCodeFactory},76763:function(v,E,R){"use strict";const $=R(73837);const defaultFactory=(v,E)=>E;class HookMap{constructor(v,E=undefined){this._map=new Map;this.name=E;this._factory=v;this._interceptors=[]}get(v){return this._map.get(v)}for(v){const E=this.get(v);if(E!==undefined){return E}let R=this._factory(v);const $=this._interceptors;for(let E=0;E<$.length;E++){R=$[E].factory(v,R)}this._map.set(v,R);return R}intercept(v){this._interceptors.push(Object.assign({factory:defaultFactory},v))}}HookMap.prototype.tap=$.deprecate((function(v,E,R){return this.for(v).tap(E,R)}),"HookMap#tap(key,…) is deprecated. Use HookMap#for(key).tap(…) instead.");HookMap.prototype.tapAsync=$.deprecate((function(v,E,R){return this.for(v).tapAsync(E,R)}),"HookMap#tapAsync(key,…) is deprecated. Use HookMap#for(key).tapAsync(…) instead.");HookMap.prototype.tapPromise=$.deprecate((function(v,E,R){return this.for(v).tapPromise(E,R)}),"HookMap#tapPromise(key,…) is deprecated. Use HookMap#for(key).tapPromise(…) instead.");v.exports=HookMap},49771:function(v,E,R){"use strict";const $=R(25587);class MultiHook{constructor(v,E=undefined){this.hooks=v;this.name=E}tap(v,E){for(const R of this.hooks){R.tap(v,E)}}tapAsync(v,E){for(const R of this.hooks){R.tapAsync(v,E)}}tapPromise(v,E){for(const R of this.hooks){R.tapPromise(v,E)}}isUsed(){for(const v of this.hooks){if(v.isUsed())return true}return false}intercept(v){for(const E of this.hooks){E.intercept(v)}}withOptions(v){return new MultiHook(this.hooks.map((E=>E.withOptions(v))),this.name)}}v.exports=MultiHook},80038:function(v,E,R){"use strict";const $=R(25587);const j=R(51040);class SyncBailHookCodeFactory extends j{content({onError:v,onResult:E,resultReturns:R,onDone:$,rethrowIfPossible:j}){return this.callTapsSeries({onError:(E,R)=>v(R),onResult:(v,R,$)=>`if(${R} !== undefined) {\n${E(R)};\n} else {\n${$()}}\n`,resultReturns:R,onDone:$,rethrowIfPossible:j})}}const N=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(v){N.setup(this,v);return N.create(v)};function SyncBailHook(v=[],E=undefined){const R=new $(v,E);R.constructor=SyncBailHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncBailHook.prototype=null;v.exports=SyncBailHook},52606:function(v,E,R){"use strict";const $=R(25587);const j=R(51040);class SyncHookCodeFactory extends j{content({onError:v,onDone:E,rethrowIfPossible:R}){return this.callTapsSeries({onError:(E,R)=>v(R),onDone:E,rethrowIfPossible:R})}}const N=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(v){N.setup(this,v);return N.create(v)};function SyncHook(v=[],E=undefined){const R=new $(v,E);R.constructor=SyncHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncHook.prototype=null;v.exports=SyncHook},10359:function(v,E,R){"use strict";const $=R(25587);const j=R(51040);class SyncLoopHookCodeFactory extends j{content({onError:v,onDone:E,rethrowIfPossible:R}){return this.callTapsLooping({onError:(E,R)=>v(R),onDone:E,rethrowIfPossible:R})}}const N=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(v){N.setup(this,v);return N.create(v)};function SyncLoopHook(v=[],E=undefined){const R=new $(v,E);R.constructor=SyncLoopHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncLoopHook.prototype=null;v.exports=SyncLoopHook},3746:function(v,E,R){"use strict";const $=R(25587);const j=R(51040);class SyncWaterfallHookCodeFactory extends j{content({onError:v,onResult:E,resultReturns:R,rethrowIfPossible:$}){return this.callTapsSeries({onError:(E,R)=>v(R),onResult:(v,E,R)=>{let $="";$+=`if(${E} !== undefined) {\n`;$+=`${this._args[0]} = ${E};\n`;$+=`}\n`;$+=R();return $},onDone:()=>E(this._args[0]),doneReturns:R,rethrowIfPossible:$})}}const N=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(v){N.setup(this,v);return N.create(v)};function SyncWaterfallHook(v=[],E=undefined){if(v.length<1)throw new Error("Waterfall hooks must have at least one argument");const R=new $(v,E);R.constructor=SyncWaterfallHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncWaterfallHook.prototype=null;v.exports=SyncWaterfallHook},79846:function(v,E,R){"use strict";E.__esModule=true;E.SyncHook=R(52606);E.SyncBailHook=R(80038);E.SyncWaterfallHook=R(3746);E.SyncLoopHook=R(10359);E.AsyncParallelHook=R(57101);E.AsyncParallelBailHook=R(63597);E.AsyncSeriesHook=R(12337);E.AsyncSeriesBailHook=R(19681);E.AsyncSeriesLoopHook=R(60104);E.AsyncSeriesWaterfallHook=R(79340);E.HookMap=R(76763);E.MultiHook=R(49771)},36849:function(v){
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation. All rights reserved.
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of the
- License at http://www.apache.org/licenses/LICENSE-2.0
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
- MERCHANTABLITY OR NON-INFRINGEMENT.
- See the Apache Version 2.0 License for specific language governing permissions
- and limitations under the License.
- ***************************************************************************** */
- var E;var R;var $;var j;var N;var q;var G;var ie;var ae;var ce;var le;var me;var _e;var Ie;var Me;var Oe;var Te;var Ne;var Be;var Le;var qe;var Ue;(function(E){var R=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(v){E(createExporter(R,createExporter(v)))}))}else if(true&&typeof v.exports==="object"){E(createExporter(R,createExporter(v.exports)))}else{E(createExporter(R))}function createExporter(v,E){if(v!==R){if(typeof Object.create==="function"){Object.defineProperty(v,"__esModule",{value:true})}else{v.__esModule=true}}return function(R,$){return v[R]=E?E(R,$):$}}})((function(v){var Ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,E){v.__proto__=E}||function(v,E){for(var R in E)if(E.hasOwnProperty(R))v[R]=E[R]};E=function(v,E){Ge(v,E);function __(){this.constructor=v}v.prototype=E===null?Object.create(E):(__.prototype=E.prototype,new __)};R=Object.assign||function(v){for(var E,R=1,$=arguments.length;R<$;R++){E=arguments[R];for(var j in E)if(Object.prototype.hasOwnProperty.call(E,j))v[j]=E[j]}return v};$=function(v,E){var R={};for(var $ in v)if(Object.prototype.hasOwnProperty.call(v,$)&&E.indexOf($)<0)R[$]=v[$];if(v!=null&&typeof Object.getOwnPropertySymbols==="function")for(var j=0,$=Object.getOwnPropertySymbols(v);j<$.length;j++){if(E.indexOf($[j])<0&&Object.prototype.propertyIsEnumerable.call(v,$[j]))R[$[j]]=v[$[j]]}return R};j=function(v,E,R,$){var j=arguments.length,N=j<3?E:$===null?$=Object.getOwnPropertyDescriptor(E,R):$,q;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")N=Reflect.decorate(v,E,R,$);else for(var G=v.length-1;G>=0;G--)if(q=v[G])N=(j<3?q(N):j>3?q(E,R,N):q(E,R))||N;return j>3&&N&&Object.defineProperty(E,R,N),N};N=function(v,E){return function(R,$){E(R,$,v)}};q=function(v,E){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(v,E)};G=function(v,E,R,$){function adopt(v){return v instanceof R?v:new R((function(E){E(v)}))}return new(R||(R=Promise))((function(R,j){function fulfilled(v){try{step($.next(v))}catch(v){j(v)}}function rejected(v){try{step($["throw"](v))}catch(v){j(v)}}function step(v){v.done?R(v.value):adopt(v.value).then(fulfilled,rejected)}step(($=$.apply(v,E||[])).next())}))};ie=function(v,E){var R={label:0,sent:function(){if(N[0]&1)throw N[1];return N[1]},trys:[],ops:[]},$,j,N,q;return q={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(q[Symbol.iterator]=function(){return this}),q;function verb(v){return function(E){return step([v,E])}}function step(q){if($)throw new TypeError("Generator is already executing.");while(R)try{if($=1,j&&(N=q[0]&2?j["return"]:q[0]?j["throw"]||((N=j["return"])&&N.call(j),0):j.next)&&!(N=N.call(j,q[1])).done)return N;if(j=0,N)q=[q[0]&2,N.value];switch(q[0]){case 0:case 1:N=q;break;case 4:R.label++;return{value:q[1],done:false};case 5:R.label++;j=q[1];q=[0];continue;case 7:q=R.ops.pop();R.trys.pop();continue;default:if(!(N=R.trys,N=N.length>0&&N[N.length-1])&&(q[0]===6||q[0]===2)){R=0;continue}if(q[0]===3&&(!N||q[1]>N[0]&&q[1]<N[3])){R.label=q[1];break}if(q[0]===6&&R.label<N[1]){R.label=N[1];N=q;break}if(N&&R.label<N[2]){R.label=N[2];R.ops.push(q);break}if(N[2])R.ops.pop();R.trys.pop();continue}q=E.call(v,R)}catch(v){q=[6,v];j=0}finally{$=N=0}if(q[0]&5)throw q[1];return{value:q[0]?q[1]:void 0,done:true}}};ae=function(v,E){for(var R in v)if(!E.hasOwnProperty(R))E[R]=v[R]};ce=function(v){var E=typeof Symbol==="function"&&Symbol.iterator,R=E&&v[E],$=0;if(R)return R.call(v);if(v&&typeof v.length==="number")return{next:function(){if(v&&$>=v.length)v=void 0;return{value:v&&v[$++],done:!v}}};throw new TypeError(E?"Object is not iterable.":"Symbol.iterator is not defined.")};le=function(v,E){var R=typeof Symbol==="function"&&v[Symbol.iterator];if(!R)return v;var $=R.call(v),j,N=[],q;try{while((E===void 0||E-- >0)&&!(j=$.next()).done)N.push(j.value)}catch(v){q={error:v}}finally{try{if(j&&!j.done&&(R=$["return"]))R.call($)}finally{if(q)throw q.error}}return N};me=function(){for(var v=[],E=0;E<arguments.length;E++)v=v.concat(le(arguments[E]));return v};_e=function(){for(var v=0,E=0,R=arguments.length;E<R;E++)v+=arguments[E].length;for(var $=Array(v),j=0,E=0;E<R;E++)for(var N=arguments[E],q=0,G=N.length;q<G;q++,j++)$[j]=N[q];return $};Ie=function(v){return this instanceof Ie?(this.v=v,this):new Ie(v)};Me=function(v,E,R){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var $=R.apply(v,E||[]),j,N=[];return j={},verb("next"),verb("throw"),verb("return"),j[Symbol.asyncIterator]=function(){return this},j;function verb(v){if($[v])j[v]=function(E){return new Promise((function(R,$){N.push([v,E,R,$])>1||resume(v,E)}))}}function resume(v,E){try{step($[v](E))}catch(v){settle(N[0][3],v)}}function step(v){v.value instanceof Ie?Promise.resolve(v.value.v).then(fulfill,reject):settle(N[0][2],v)}function fulfill(v){resume("next",v)}function reject(v){resume("throw",v)}function settle(v,E){if(v(E),N.shift(),N.length)resume(N[0][0],N[0][1])}};Oe=function(v){var E,R;return E={},verb("next"),verb("throw",(function(v){throw v})),verb("return"),E[Symbol.iterator]=function(){return this},E;function verb($,j){E[$]=v[$]?function(E){return(R=!R)?{value:Ie(v[$](E)),done:$==="return"}:j?j(E):E}:j}};Te=function(v){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E=v[Symbol.asyncIterator],R;return E?E.call(v):(v=typeof ce==="function"?ce(v):v[Symbol.iterator](),R={},verb("next"),verb("throw"),verb("return"),R[Symbol.asyncIterator]=function(){return this},R);function verb(E){R[E]=v[E]&&function(R){return new Promise((function($,j){R=v[E](R),settle($,j,R.done,R.value)}))}}function settle(v,E,R,$){Promise.resolve($).then((function(E){v({value:E,done:R})}),E)}};Ne=function(v,E){if(Object.defineProperty){Object.defineProperty(v,"raw",{value:E})}else{v.raw=E}return v};Be=function(v){if(v&&v.__esModule)return v;var E={};if(v!=null)for(var R in v)if(Object.hasOwnProperty.call(v,R))E[R]=v[R];E["default"]=v;return E};Le=function(v){return v&&v.__esModule?v:{default:v}};qe=function(v,E){if(!E.has(v)){throw new TypeError("attempted to get private field on non-instance")}return E.get(v)};Ue=function(v,E,R){if(!E.has(v)){throw new TypeError("attempted to set private field on non-instance")}E.set(v,R);return R};v("__extends",E);v("__assign",R);v("__rest",$);v("__decorate",j);v("__param",N);v("__metadata",q);v("__awaiter",G);v("__generator",ie);v("__exportStar",ae);v("__values",ce);v("__read",le);v("__spread",me);v("__spreadArrays",_e);v("__await",Ie);v("__asyncGenerator",Me);v("__asyncDelegator",Oe);v("__asyncValues",Te);v("__makeTemplateObject",Ne);v("__importStar",Be);v("__importDefault",Le);v("__classPrivateFieldGet",qe);v("__classPrivateFieldSet",Ue)}))},38393:function(v,E,R){"use strict";const $=R(42976);const j=R(85969);const N=R(40821);const q=R(64355);const{toConstantDependency:G,evaluateToString:ie}=R(40355);const ae=R(14714);const ce=R(54463);const le={__webpack_require__:{expr:$.require,req:[$.require],type:"function",assign:false},__webpack_public_path__:{expr:$.publicPath,req:[$.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:$.baseURI,req:[$.baseURI],type:"string",assign:true},__webpack_modules__:{expr:$.moduleFactories,req:[$.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:$.ensureChunk,req:[$.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:$.scriptNonce,req:[$.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${$.getFullHash}()`,req:[$.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:$.chunkName,req:[$.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:$.getChunkScriptFilename,req:[$.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:$.runtimeId,req:[$.runtimeId],assign:false},"require.onError":{expr:$.uncaughtErrorHandler,req:[$.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:$.systemContext,req:[$.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:$.shareScopeMap,req:[$.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:$.initializeSharing,req:[$.initializeSharing],type:"function",assign:true}};class APIPlugin{apply(v){v.hooks.compilation.tap("APIPlugin",((v,{normalModuleFactory:E})=>{v.dependencyTemplates.set(N,new N.Template);v.hooks.runtimeRequirementInTree.for($.chunkName).tap("APIPlugin",(E=>{v.addRuntimeModule(E,new ae(E.name));return true}));v.hooks.runtimeRequirementInTree.for($.getFullHash).tap("APIPlugin",((E,R)=>{v.addRuntimeModule(E,new ce);return true}));const handler=v=>{Object.keys(le).forEach((E=>{const R=le[E];v.hooks.expression.for(E).tap("APIPlugin",G(v,R.expr,R.req));if(R.assign===false){v.hooks.assign.for(E).tap("APIPlugin",(v=>{const R=new j(`${E} must not be assigned`);R.loc=v.loc;throw R}))}if(R.type){v.hooks.evaluateTypeof.for(E).tap("APIPlugin",ie(R.type))}}));v.hooks.expression.for("__webpack_layer__").tap("APIPlugin",(E=>{const R=new N(JSON.stringify(v.state.module.layer),E.range);R.loc=E.loc;v.state.module.addPresentationalDependency(R);return true}));v.hooks.evaluateIdentifier.for("__webpack_layer__").tap("APIPlugin",(E=>(v.state.module.layer===null?(new q).setNull():(new q).setString(v.state.module.layer)).setRange(E.range)));v.hooks.evaluateTypeof.for("__webpack_layer__").tap("APIPlugin",(E=>(new q).setString(v.state.module.layer===null?"object":"string").setRange(E.range)));v.hooks.expression.for("__webpack_module__.id").tap("APIPlugin",(E=>{v.state.module.buildInfo.moduleConcatenationBailout="__webpack_module__.id";const R=new N(v.state.module.moduleArgument+".id",E.range,[$.moduleId]);R.loc=E.loc;v.state.module.addPresentationalDependency(R);return true}));v.hooks.expression.for("__webpack_module__").tap("APIPlugin",(E=>{v.state.module.buildInfo.moduleConcatenationBailout="__webpack_module__";const R=new N(v.state.module.moduleArgument,E.range,[$.module]);R.loc=E.loc;v.state.module.addPresentationalDependency(R);return true}));v.hooks.evaluateTypeof.for("__webpack_module__").tap("APIPlugin",ie("object"))};E.hooks.parser.for("javascript/auto").tap("APIPlugin",handler);E.hooks.parser.for("javascript/dynamic").tap("APIPlugin",handler);E.hooks.parser.for("javascript/esm").tap("APIPlugin",handler)}))}}v.exports=APIPlugin},68283:function(v,E,R){"use strict";const $=R(85969);const j=/at ([a-zA-Z0-9_.]*)/;function createMessage(v){return`Abstract method${v?" "+v:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const v=this.stack.split("\n")[3].match(j);this.message=v&&v[1]?createMessage(v[1]):createMessage()}class AbstractMethodError extends ${constructor(){super((new Message).message);this.name="AbstractMethodError"}}v.exports=AbstractMethodError},90833:function(v,E,R){"use strict";const $=R(75952);const j=R(56078);class AsyncDependenciesBlock extends ${constructor(v,E,R){super();if(typeof v==="string"){v={name:v}}else if(!v){v={name:undefined}}this.groupOptions=v;this.loc=E;this.request=R;this._stringifiedGroupOptions=undefined}get chunkName(){return this.groupOptions.name}set chunkName(v){if(this.groupOptions.name!==v){this.groupOptions.name=v;this._stringifiedGroupOptions=undefined}}updateHash(v,E){const{chunkGraph:R}=E;if(this._stringifiedGroupOptions===undefined){this._stringifiedGroupOptions=JSON.stringify(this.groupOptions)}const $=R.getBlockChunkGroup(this);v.update(`${this._stringifiedGroupOptions}${$?$.id:""}`);super.updateHash(v,E)}serialize(v){const{write:E}=v;E(this.groupOptions);E(this.loc);E(this.request);super.serialize(v)}deserialize(v){const{read:E}=v;this.groupOptions=E();this.loc=E();this.request=E();super.deserialize(v)}}j(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});v.exports=AsyncDependenciesBlock},79356:function(v,E,R){"use strict";const $=R(85969);class AsyncDependencyToInitialChunkError extends ${constructor(v,E,R){super(`It's not allowed to load an initial chunk on demand. The chunk name "${v}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=E;this.loc=R}}v.exports=AsyncDependencyToInitialChunkError},91722:function(v,E,R){"use strict";const $=R(78175);const j=R(61665);const N=R(41164);class AutomaticPrefetchPlugin{apply(v){v.hooks.compilation.tap("AutomaticPrefetchPlugin",((v,{normalModuleFactory:E})=>{v.dependencyFactories.set(N,E)}));let E=null;v.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(v=>{E=[];for(const R of v.modules){if(R instanceof j){E.push({context:R.context,request:R.request})}}}));v.hooks.make.tapAsync("AutomaticPrefetchPlugin",((R,j)=>{if(!E)return j();$.forEach(E,((E,$)=>{R.addModuleChain(E.context||v.context,new N(`!!${E.request}`),$)}),(v=>{E=null;j(v)}))}))}}v.exports=AutomaticPrefetchPlugin},52659:function(v,E,R){"use strict";const{ConcatSource:$}=R(51255);const j=R(47042);const N=R(29600);const q=R(66898);const G=R(1422);const ie=G(R(88371),(()=>R(72245)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=v=>{if(!v.includes("\n")){return q.toComment(v)}return`/*!\n * ${v.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimRight()}\n */`};class BannerPlugin{constructor(v){if(typeof v==="string"||typeof v==="function"){v={banner:v}}ie(v);this.options=v;const E=v.banner;if(typeof E==="function"){const v=E;this.banner=this.options.raw?v:E=>wrapComment(v(E))}else{const v=this.options.raw?E:wrapComment(E);this.banner=()=>v}}apply(v){const E=this.options;const R=this.banner;const q=N.matchObject.bind(undefined,E);const G=new WeakMap;v.hooks.compilation.tap("BannerPlugin",(v=>{v.hooks.processAssets.tap({name:"BannerPlugin",stage:j.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const j of v.chunks){if(E.entryOnly&&!j.canBeInitial()){continue}for(const N of j.files){if(!q(N)){continue}const ie={chunk:j,filename:N};const ae=v.getPath(R,ie);v.updateAsset(N,(v=>{let R=G.get(v);if(!R||R.comment!==ae){const R=E.footer?new $(v,"\n",ae):new $(ae,"\n",v);G.set(v,{source:R,comment:ae});return R}return R.source}))}}}))}))}}v.exports=BannerPlugin},19350:function(v,E,R){"use strict";const{AsyncParallelHook:$,AsyncSeriesBailHook:j,SyncHook:N}=R(79846);const{makeWebpackError:q,makeWebpackErrorCallback:G}=R(48018);const needCalls=(v,E)=>R=>{if(--v===0){return E(R)}if(R&&v>0){v=0;return E(R)}};class Cache{constructor(){this.hooks={get:new j(["identifier","etag","gotHandlers"]),store:new $(["identifier","etag","data"]),storeBuildDependencies:new $(["dependencies"]),beginIdle:new N([]),endIdle:new $([]),shutdown:new $([])}}get(v,E,R){const $=[];this.hooks.get.callAsync(v,E,$,((v,E)=>{if(v){R(q(v,"Cache.hooks.get"));return}if(E===null){E=undefined}if($.length>1){const v=needCalls($.length,(()=>R(null,E)));for(const R of $){R(E,v)}}else if($.length===1){$[0](E,(()=>R(null,E)))}else{R(null,E)}}))}store(v,E,R,$){this.hooks.store.callAsync(v,E,R,G($,"Cache.hooks.store"))}storeBuildDependencies(v,E){this.hooks.storeBuildDependencies.callAsync(v,G(E,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(v){this.hooks.endIdle.callAsync(G(v,"Cache.hooks.endIdle"))}shutdown(v){this.hooks.shutdown.callAsync(G(v,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;v.exports=Cache},59147:function(v,E,R){"use strict";const{forEachBail:$}=R(24407);const j=R(78175);const N=R(86038);const q=R(70395);class MultiItemCache{constructor(v){this._items=v;if(v.length===1)return v[0]}get(v){$(this._items,((v,E)=>v.get(E)),v)}getPromise(){const next=v=>this._items[v].getPromise().then((E=>{if(E!==undefined)return E;if(++v<this._items.length)return next(v)}));return next(0)}store(v,E){j.each(this._items,((E,R)=>E.store(v,R)),E)}storePromise(v){return Promise.all(this._items.map((E=>E.storePromise(v)))).then((()=>{}))}}class ItemCacheFacade{constructor(v,E,R){this._cache=v;this._name=E;this._etag=R}get(v){this._cache.get(this._name,this._etag,v)}getPromise(){return new Promise(((v,E)=>{this._cache.get(this._name,this._etag,((R,$)=>{if(R){E(R)}else{v($)}}))}))}store(v,E){this._cache.store(this._name,this._etag,v,E)}storePromise(v){return new Promise(((E,R)=>{this._cache.store(this._name,this._etag,v,(v=>{if(v){R(v)}else{E()}}))}))}provide(v,E){this.get(((R,$)=>{if(R)return E(R);if($!==undefined)return $;v(((v,R)=>{if(v)return E(v);this.store(R,(v=>{if(v)return E(v);E(null,R)}))}))}))}async providePromise(v){const E=await this.getPromise();if(E!==undefined)return E;const R=await v();await this.storePromise(R);return R}}class CacheFacade{constructor(v,E,R){this._cache=v;this._name=E;this._hashFunction=R}getChildCache(v){return new CacheFacade(this._cache,`${this._name}|${v}`,this._hashFunction)}getItemCache(v,E){return new ItemCacheFacade(this._cache,`${this._name}|${v}`,E)}getLazyHashedEtag(v){return N(v,this._hashFunction)}mergeEtags(v,E){return q(v,E)}get(v,E,R){this._cache.get(`${this._name}|${v}`,E,R)}getPromise(v,E){return new Promise(((R,$)=>{this._cache.get(`${this._name}|${v}`,E,((v,E)=>{if(v){$(v)}else{R(E)}}))}))}store(v,E,R,$){this._cache.store(`${this._name}|${v}`,E,R,$)}storePromise(v,E,R){return new Promise((($,j)=>{this._cache.store(`${this._name}|${v}`,E,R,(v=>{if(v){j(v)}else{$()}}))}))}provide(v,E,R,$){this.get(v,E,((j,N)=>{if(j)return $(j);if(N!==undefined)return N;R(((R,j)=>{if(R)return $(R);this.store(v,E,j,(v=>{if(v)return $(v);$(null,j)}))}))}))}async providePromise(v,E,R){const $=await this.getPromise(v,E);if($!==undefined)return $;const j=await R();await this.storePromise(v,E,j);return j}}v.exports=CacheFacade;v.exports.ItemCacheFacade=ItemCacheFacade;v.exports.MultiItemCache=MultiItemCache},85266:function(v,E,R){"use strict";const $=R(85969);const sortModules=v=>v.sort(((v,E)=>{const R=v.identifier();const $=E.identifier();if(R<$)return-1;if(R>$)return 1;return 0}));const createModulesListMessage=(v,E)=>v.map((v=>{let R=`* ${v.identifier()}`;const $=Array.from(E.getIncomingConnectionsByOriginModule(v).keys()).filter((v=>v));if($.length>0){R+=`\n Used by ${$.length} module(s), i. e.`;R+=`\n ${$[0].identifier()}`}return R})).join("\n");class CaseSensitiveModulesWarning extends ${constructor(v,E){const R=sortModules(Array.from(v));const $=createModulesListMessage(R,E);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${$}`);this.name="CaseSensitiveModulesWarning";this.module=R[0]}}v.exports=CaseSensitiveModulesWarning},67785:function(v,E,R){"use strict";const $=R(24324);const j=R(5767);const{intersect:N}=R(91639);const q=R(40003);const G=R(92739);const{compareModulesByIdentifier:ie,compareChunkGroupsByIndex:ae,compareModulesById:ce}=R(30044);const{createArrayToSetDeprecationSet:le}=R(93160);const{mergeRuntime:me}=R(67633);const _e=le("chunk.files");let Ie=1e3;class Chunk{constructor(v,E=true){this.id=null;this.ids=null;this.debugId=Ie++;this.name=v;this.idNameHints=new q;this.preventIntegration=false;this.filenameTemplate=undefined;this.cssFilenameTemplate=undefined;this._groups=new q(undefined,ae);this.runtime=undefined;this.files=E?new _e:new Set;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const v=Array.from($.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(v.length===0){return undefined}else if(v.length===1){return v[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return $.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(v){const E=$.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(E.isModuleInChunk(v,this))return false;E.connectChunkAndModule(this,v);return true}removeModule(v){$.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,v)}getNumberOfModules(){return $.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const v=$.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return v.getOrderedChunkModulesIterable(this,ie)}compareTo(v){const E=$.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return E.compareChunks(this,v)}containsModule(v){return $.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(v,this)}getModules(){return $.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const v=$.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");v.disconnectChunk(this);this.disconnectFromGroups()}moveModule(v,E){const R=$.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");R.disconnectChunkAndModule(this,v);R.connectChunkAndModule(E,v)}integrate(v){const E=$.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(E.canChunksBeIntegrated(this,v)){E.integrateChunks(this,v);return true}else{return false}}canBeIntegrated(v){const E=$.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return E.canChunksBeIntegrated(this,v)}isEmpty(){const v=$.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return v.getNumberOfChunkModules(this)===0}modulesSize(){const v=$.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return v.getChunkModulesSize(this)}size(v={}){const E=$.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return E.getChunkSize(this,v)}integratedSize(v,E){const R=$.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return R.getIntegratedChunksSize(this,v,E)}getChunkModuleMaps(v){const E=$.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const R=Object.create(null);const j=Object.create(null);for(const $ of this.getAllAsyncChunks()){let N;for(const q of E.getOrderedChunkModulesIterable($,ce(E))){if(v(q)){if(N===undefined){N=[];R[$.id]=N}const v=E.getModuleId(q);N.push(v);j[v]=E.getRenderedModuleHash(q,undefined)}}}return{id:R,hash:j}}hasModuleInGraph(v,E){const R=$.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return R.hasModuleInGraph(this,v,E)}getChunkMaps(v){const E=Object.create(null);const R=Object.create(null);const $=Object.create(null);for(const j of this.getAllAsyncChunks()){E[j.id]=v?j.hash:j.renderedHash;for(const v of Object.keys(j.contentHash)){if(!R[v]){R[v]=Object.create(null)}R[v][j.id]=j.contentHash[v]}if(j.name){$[j.id]=j.name}}return{hash:E,contentHash:R,name:$}}hasRuntime(){for(const v of this._groups){if(v instanceof j&&v.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const v of this._groups){if(v.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const v of this._groups){if(!v.isInitial())return false}return true}getEntryOptions(){for(const v of this._groups){if(v instanceof j){return v.options}}return undefined}addGroup(v){this._groups.add(v)}removeGroup(v){this._groups.delete(v)}isInGroup(v){return this._groups.has(v)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const v of this._groups){v.removeChunk(this)}}split(v){for(const E of this._groups){E.insertChunk(v,this);v.addGroup(E)}for(const E of this.idNameHints){v.idNameHints.add(E)}v.runtime=me(v.runtime,this.runtime)}updateHash(v,E){v.update(`${this.id} ${this.ids?this.ids.join():""} ${this.name||""} `);const R=new G;for(const v of E.getChunkModulesIterable(this)){R.add(E.getModuleHash(v,this.runtime))}R.updateHash(v);const $=E.getChunkEntryModulesWithChunkGroupIterable(this);for(const[R,j]of $){v.update(`entry${E.getModuleId(R)}${j.id}`)}}getAllAsyncChunks(){const v=new Set;const E=new Set;const R=N(Array.from(this.groupsIterable,(v=>new Set(v.chunks))));const $=new Set(this.groupsIterable);for(const E of $){for(const R of E.childrenIterable){if(R instanceof j){$.add(R)}else{v.add(R)}}}for(const $ of v){for(const v of $.chunks){if(!R.has(v)){E.add(v)}}for(const E of $.childrenIterable){v.add(E)}}return E}getAllInitialChunks(){const v=new Set;const E=new Set(this.groupsIterable);for(const R of E){if(R.isInitial()){for(const E of R.chunks)v.add(E);for(const v of R.childrenIterable)E.add(v)}}return v}getAllReferencedChunks(){const v=new Set(this.groupsIterable);const E=new Set;for(const R of v){for(const v of R.chunks){E.add(v)}for(const E of R.childrenIterable){v.add(E)}}return E}getAllReferencedAsyncEntrypoints(){const v=new Set(this.groupsIterable);const E=new Set;for(const R of v){for(const v of R.asyncEntrypointsIterable){E.add(v)}for(const E of R.childrenIterable){v.add(E)}}return E}hasAsyncChunks(){const v=new Set;const E=N(Array.from(this.groupsIterable,(v=>new Set(v.chunks))));for(const E of this.groupsIterable){for(const R of E.childrenIterable){v.add(R)}}for(const R of v){for(const v of R.chunks){if(!E.has(v)){return true}}for(const E of R.childrenIterable){v.add(E)}}return false}getChildIdsByOrders(v,E){const R=new Map;for(const v of this.groupsIterable){if(v.chunks[v.chunks.length-1]===this){for(const E of v.childrenIterable){for(const v of Object.keys(E.options)){if(v.endsWith("Order")){const $=v.slice(0,v.length-"Order".length);let j=R.get($);if(j===undefined){j=[];R.set($,j)}j.push({order:E.options[v],group:E})}}}}}const $=Object.create(null);for(const[j,N]of R){N.sort(((E,R)=>{const $=R.order-E.order;if($!==0)return $;return E.group.compareTo(v,R.group)}));const R=new Set;for(const $ of N){for(const j of $.group.chunks){if(E&&!E(j,v))continue;R.add(j.id)}}if(R.size>0){$[j]=Array.from(R)}}return $}getChildrenOfTypeInOrder(v,E){const R=[];for(const v of this.groupsIterable){for(const $ of v.childrenIterable){const j=$.options[E];if(j===undefined)continue;R.push({order:j,group:v,childGroup:$})}}if(R.length===0)return undefined;R.sort(((E,R)=>{const $=R.order-E.order;if($!==0)return $;return E.group.compareTo(v,R.group)}));const $=[];let j;for(const{group:v,childGroup:E}of R){if(j&&j.onChunks===v.chunks){for(const v of E.chunks){j.chunks.add(v)}}else{$.push(j={onChunks:v.chunks,chunks:new Set(E.chunks)})}}return $}getChildIdsByOrdersMap(v,E,R){const $=Object.create(null);const addChildIdsByOrdersToMap=E=>{const j=E.getChildIdsByOrders(v,R);for(const v of Object.keys(j)){let R=$[v];if(R===undefined){$[v]=R=Object.create(null)}R[E.id]=j[v]}};if(E){const v=new Set;for(const E of this.groupsIterable){for(const R of E.chunks){v.add(R)}}for(const E of v){addChildIdsByOrdersToMap(E)}}for(const v of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(v)}return $}}v.exports=Chunk},24324:function(v,E,R){"use strict";const $=R(73837);const j=R(5767);const N=R(95795);const{first:q}=R(91639);const G=R(40003);const{compareModulesById:ie,compareIterables:ae,compareModulesByIdentifier:ce,concatComparators:le,compareSelect:me,compareIds:_e}=R(30044);const Ie=R(84351);const Me=R(17544);const{RuntimeSpecMap:Oe,RuntimeSpecSet:Te,runtimeToString:Ne,mergeRuntime:Be,forEachRuntime:Le}=R(67633);const qe=new Set;const Ue=BigInt(0);const Ge=ae(ce);class ModuleHashInfo{constructor(v,E){this.hash=v;this.renderedHash=E}}const getArray=v=>Array.from(v);const getModuleRuntimes=v=>{const E=new Te;for(const R of v){E.add(R.runtime)}return E};const modulesBySourceType=v=>E=>{const R=new Map;for(const $ of E){const E=v&&v.get($)||$.getSourceTypes();for(const v of E){let E=R.get(v);if(E===undefined){E=new G;R.set(v,E)}E.add($)}}for(const[v,$]of R){if($.size===E.size){R.set(v,E)}}return R};const He=modulesBySourceType(undefined);const We=new WeakMap;const createOrderedArrayFunction=v=>{let E=We.get(v);if(E!==undefined)return E;E=E=>{E.sortWith(v);return Array.from(E)};We.set(v,E);return E};const getModulesSize=v=>{let E=0;for(const R of v){for(const v of R.getSourceTypes()){E+=R.size(v)}}return E};const getModulesSizes=v=>{let E=Object.create(null);for(const R of v){for(const v of R.getSourceTypes()){E[v]=(E[v]||0)+R.size(v)}}return E};const isAvailableChunk=(v,E)=>{const R=new Set(E.groupsIterable);for(const E of R){if(v.isInGroup(E))continue;if(E.isInitial())return false;for(const v of E.parentsIterable){R.add(v)}}return true};class ChunkGraphModule{constructor(){this.chunks=new G;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new G;this.sourceTypesByModule=undefined;this.entryModules=new Map;this.runtimeModules=new G;this.fullHashModules=undefined;this.dependentHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set;this._modulesBySourceType=He}}class ChunkGraph{constructor(v,E="md4"){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=v;this._hashFunction=E;this._getGraphRoots=this._getGraphRoots.bind(this)}_getChunkGraphModule(v){let E=this._modules.get(v);if(E===undefined){E=new ChunkGraphModule;this._modules.set(v,E)}return E}_getChunkGraphChunk(v){let E=this._chunks.get(v);if(E===undefined){E=new ChunkGraphChunk;this._chunks.set(v,E)}return E}_getGraphRoots(v){const{moduleGraph:E}=this;return Array.from(Me(v,(v=>{const R=new Set;const addDependencies=v=>{for(const $ of E.getOutgoingConnections(v)){if(!$.module)continue;const v=$.getActiveState(undefined);if(v===false)continue;if(v===N.TRANSITIVE_ONLY){addDependencies($.module);continue}R.add($.module)}};addDependencies(v);return R}))).sort(ce)}connectChunkAndModule(v,E){const R=this._getChunkGraphModule(E);const $=this._getChunkGraphChunk(v);R.chunks.add(v);$.modules.add(E)}disconnectChunkAndModule(v,E){const R=this._getChunkGraphModule(E);const $=this._getChunkGraphChunk(v);$.modules.delete(E);if($.sourceTypesByModule)$.sourceTypesByModule.delete(E);R.chunks.delete(v)}disconnectChunk(v){const E=this._getChunkGraphChunk(v);for(const R of E.modules){const E=this._getChunkGraphModule(R);E.chunks.delete(v)}E.modules.clear();v.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(v)}attachModules(v,E){const R=this._getChunkGraphChunk(v);for(const v of E){R.modules.add(v)}}attachRuntimeModules(v,E){const R=this._getChunkGraphChunk(v);for(const v of E){R.runtimeModules.add(v)}}attachFullHashModules(v,E){const R=this._getChunkGraphChunk(v);if(R.fullHashModules===undefined)R.fullHashModules=new Set;for(const v of E){R.fullHashModules.add(v)}}attachDependentHashModules(v,E){const R=this._getChunkGraphChunk(v);if(R.dependentHashModules===undefined)R.dependentHashModules=new Set;for(const v of E){R.dependentHashModules.add(v)}}replaceModule(v,E){const R=this._getChunkGraphModule(v);const $=this._getChunkGraphModule(E);for(const j of R.chunks){const R=this._getChunkGraphChunk(j);R.modules.delete(v);R.modules.add(E);$.chunks.add(j)}R.chunks.clear();if(R.entryInChunks!==undefined){if($.entryInChunks===undefined){$.entryInChunks=new Set}for(const j of R.entryInChunks){const R=this._getChunkGraphChunk(j);const N=R.entryModules.get(v);const q=new Map;for(const[$,j]of R.entryModules){if($===v){q.set(E,N)}else{q.set($,j)}}R.entryModules=q;$.entryInChunks.add(j)}R.entryInChunks=undefined}if(R.runtimeInChunks!==undefined){if($.runtimeInChunks===undefined){$.runtimeInChunks=new Set}for(const j of R.runtimeInChunks){const R=this._getChunkGraphChunk(j);R.runtimeModules.delete(v);R.runtimeModules.add(E);$.runtimeInChunks.add(j);if(R.fullHashModules!==undefined&&R.fullHashModules.has(v)){R.fullHashModules.delete(v);R.fullHashModules.add(E)}if(R.dependentHashModules!==undefined&&R.dependentHashModules.has(v)){R.dependentHashModules.delete(v);R.dependentHashModules.add(E)}}R.runtimeInChunks=undefined}}isModuleInChunk(v,E){const R=this._getChunkGraphChunk(E);return R.modules.has(v)}isModuleInChunkGroup(v,E){for(const R of E.chunks){if(this.isModuleInChunk(v,R))return true}return false}isEntryModule(v){const E=this._getChunkGraphModule(v);return E.entryInChunks!==undefined}getModuleChunksIterable(v){const E=this._getChunkGraphModule(v);return E.chunks}getOrderedModuleChunksIterable(v,E){const R=this._getChunkGraphModule(v);R.chunks.sortWith(E);return R.chunks}getModuleChunks(v){const E=this._getChunkGraphModule(v);return E.chunks.getFromCache(getArray)}getNumberOfModuleChunks(v){const E=this._getChunkGraphModule(v);return E.chunks.size}getModuleRuntimes(v){const E=this._getChunkGraphModule(v);return E.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(v){const E=this._getChunkGraphChunk(v);return E.modules.size}getNumberOfChunkFullHashModules(v){const E=this._getChunkGraphChunk(v);return E.fullHashModules===undefined?0:E.fullHashModules.size}getChunkModulesIterable(v){const E=this._getChunkGraphChunk(v);return E.modules}getChunkModulesIterableBySourceType(v,E){const R=this._getChunkGraphChunk(v);const $=R.modules.getFromUnorderedCache(R._modulesBySourceType).get(E);return $}setChunkModuleSourceTypes(v,E,R){const $=this._getChunkGraphChunk(v);if($.sourceTypesByModule===undefined){$.sourceTypesByModule=new WeakMap}$.sourceTypesByModule.set(E,R);$._modulesBySourceType=modulesBySourceType($.sourceTypesByModule)}getChunkModuleSourceTypes(v,E){const R=this._getChunkGraphChunk(v);if(R.sourceTypesByModule===undefined){return E.getSourceTypes()}return R.sourceTypesByModule.get(E)||E.getSourceTypes()}getModuleSourceTypes(v){return this._getOverwrittenModuleSourceTypes(v)||v.getSourceTypes()}_getOverwrittenModuleSourceTypes(v){let E=false;let R;for(const $ of this.getModuleChunksIterable(v)){const j=this._getChunkGraphChunk($);if(j.sourceTypesByModule===undefined)return;const N=j.sourceTypesByModule.get(v);if(N===undefined)return;if(!R){R=N;continue}else if(!E){for(const v of N){if(!E){if(!R.has(v)){E=true;R=new Set(R);R.add(v)}}else{R.add(v)}}}else{for(const v of N)R.add(v)}}return R}getOrderedChunkModulesIterable(v,E){const R=this._getChunkGraphChunk(v);R.modules.sortWith(E);return R.modules}getOrderedChunkModulesIterableBySourceType(v,E,R){const $=this._getChunkGraphChunk(v);const j=$.modules.getFromUnorderedCache($._modulesBySourceType).get(E);if(j===undefined)return undefined;j.sortWith(R);return j}getChunkModules(v){const E=this._getChunkGraphChunk(v);return E.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(v,E){const R=this._getChunkGraphChunk(v);const $=createOrderedArrayFunction(E);return R.modules.getFromUnorderedCache($)}getChunkModuleIdMap(v,E,R=false){const $=Object.create(null);for(const j of R?v.getAllReferencedChunks():v.getAllAsyncChunks()){let v;for(const R of this.getOrderedChunkModulesIterable(j,ie(this))){if(E(R)){if(v===undefined){v=[];$[j.id]=v}const E=this.getModuleId(R);v.push(E)}}}return $}getChunkModuleRenderedHashMap(v,E,R=0,$=false){const j=Object.create(null);for(const N of $?v.getAllReferencedChunks():v.getAllAsyncChunks()){let v;for(const $ of this.getOrderedChunkModulesIterable(N,ie(this))){if(E($)){if(v===undefined){v=Object.create(null);j[N.id]=v}const E=this.getModuleId($);const q=this.getRenderedModuleHash($,N.runtime);v[E]=R?q.slice(0,R):q}}}return j}getChunkConditionMap(v,E){const R=Object.create(null);for(const $ of v.getAllReferencedChunks()){R[$.id]=E($,this)}return R}hasModuleInGraph(v,E,R){const $=new Set(v.groupsIterable);const j=new Set;for(const v of $){for(const $ of v.chunks){if(!j.has($)){j.add($);if(!R||R($,this)){for(const v of this.getChunkModulesIterable($)){if(E(v)){return true}}}}}for(const E of v.childrenIterable){$.add(E)}}return false}compareChunks(v,E){const R=this._getChunkGraphChunk(v);const $=this._getChunkGraphChunk(E);if(R.modules.size>$.modules.size)return-1;if(R.modules.size<$.modules.size)return 1;R.modules.sortWith(ce);$.modules.sortWith(ce);return Ge(R.modules,$.modules)}getChunkModulesSize(v){const E=this._getChunkGraphChunk(v);return E.modules.getFromUnorderedCache(getModulesSize)}getChunkModulesSizes(v){const E=this._getChunkGraphChunk(v);return E.modules.getFromUnorderedCache(getModulesSizes)}getChunkRootModules(v){const E=this._getChunkGraphChunk(v);return E.modules.getFromUnorderedCache(this._getGraphRoots)}getChunkSize(v,E={}){const R=this._getChunkGraphChunk(v);const $=R.modules.getFromUnorderedCache(getModulesSize);const j=typeof E.chunkOverhead==="number"?E.chunkOverhead:1e4;const N=typeof E.entryChunkMultiplicator==="number"?E.entryChunkMultiplicator:10;return j+$*(v.canBeInitial()?N:1)}getIntegratedChunksSize(v,E,R={}){const $=this._getChunkGraphChunk(v);const j=this._getChunkGraphChunk(E);const N=new Set($.modules);for(const v of j.modules)N.add(v);let q=getModulesSize(N);const G=typeof R.chunkOverhead==="number"?R.chunkOverhead:1e4;const ie=typeof R.entryChunkMultiplicator==="number"?R.entryChunkMultiplicator:10;return G+q*(v.canBeInitial()||E.canBeInitial()?ie:1)}canChunksBeIntegrated(v,E){if(v.preventIntegration||E.preventIntegration){return false}const R=v.hasRuntime();const $=E.hasRuntime();if(R!==$){if(R){return isAvailableChunk(v,E)}else if($){return isAvailableChunk(E,v)}else{return false}}if(this.getNumberOfEntryModules(v)>0||this.getNumberOfEntryModules(E)>0){return false}return true}integrateChunks(v,E){if(v.name&&E.name){if(this.getNumberOfEntryModules(v)>0===this.getNumberOfEntryModules(E)>0){if(v.name.length!==E.name.length){v.name=v.name.length<E.name.length?v.name:E.name}else{v.name=v.name<E.name?v.name:E.name}}else if(this.getNumberOfEntryModules(E)>0){v.name=E.name}}else if(E.name){v.name=E.name}for(const R of E.idNameHints){v.idNameHints.add(R)}v.runtime=Be(v.runtime,E.runtime);for(const R of this.getChunkModules(E)){this.disconnectChunkAndModule(E,R);this.connectChunkAndModule(v,R)}for(const[R,$]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(E))){this.disconnectChunkAndEntryModule(E,R);this.connectChunkAndEntryModule(v,R,$)}for(const R of E.groupsIterable){R.replaceChunk(E,v);v.addGroup(R);E.removeGroup(R)}ChunkGraph.clearChunkGraphForChunk(E)}upgradeDependentToFullHashModules(v){const E=this._getChunkGraphChunk(v);if(E.dependentHashModules===undefined)return;if(E.fullHashModules===undefined){E.fullHashModules=E.dependentHashModules}else{for(const v of E.dependentHashModules){E.fullHashModules.add(v)}E.dependentHashModules=undefined}}isEntryModuleInChunk(v,E){const R=this._getChunkGraphChunk(E);return R.entryModules.has(v)}connectChunkAndEntryModule(v,E,R){const $=this._getChunkGraphModule(E);const j=this._getChunkGraphChunk(v);if($.entryInChunks===undefined){$.entryInChunks=new Set}$.entryInChunks.add(v);j.entryModules.set(E,R)}connectChunkAndRuntimeModule(v,E){const R=this._getChunkGraphModule(E);const $=this._getChunkGraphChunk(v);if(R.runtimeInChunks===undefined){R.runtimeInChunks=new Set}R.runtimeInChunks.add(v);$.runtimeModules.add(E)}addFullHashModuleToChunk(v,E){const R=this._getChunkGraphChunk(v);if(R.fullHashModules===undefined)R.fullHashModules=new Set;R.fullHashModules.add(E)}addDependentHashModuleToChunk(v,E){const R=this._getChunkGraphChunk(v);if(R.dependentHashModules===undefined)R.dependentHashModules=new Set;R.dependentHashModules.add(E)}disconnectChunkAndEntryModule(v,E){const R=this._getChunkGraphModule(E);const $=this._getChunkGraphChunk(v);R.entryInChunks.delete(v);if(R.entryInChunks.size===0){R.entryInChunks=undefined}$.entryModules.delete(E)}disconnectChunkAndRuntimeModule(v,E){const R=this._getChunkGraphModule(E);const $=this._getChunkGraphChunk(v);R.runtimeInChunks.delete(v);if(R.runtimeInChunks.size===0){R.runtimeInChunks=undefined}$.runtimeModules.delete(E)}disconnectEntryModule(v){const E=this._getChunkGraphModule(v);for(const R of E.entryInChunks){const E=this._getChunkGraphChunk(R);E.entryModules.delete(v)}E.entryInChunks=undefined}disconnectEntries(v){const E=this._getChunkGraphChunk(v);for(const R of E.entryModules.keys()){const E=this._getChunkGraphModule(R);E.entryInChunks.delete(v);if(E.entryInChunks.size===0){E.entryInChunks=undefined}}E.entryModules.clear()}getNumberOfEntryModules(v){const E=this._getChunkGraphChunk(v);return E.entryModules.size}getNumberOfRuntimeModules(v){const E=this._getChunkGraphChunk(v);return E.runtimeModules.size}getChunkEntryModulesIterable(v){const E=this._getChunkGraphChunk(v);return E.entryModules.keys()}getChunkEntryDependentChunksIterable(v){const E=new Set;for(const R of v.groupsIterable){if(R instanceof j){const $=R.getEntrypointChunk();const j=this._getChunkGraphChunk($);for(const R of j.entryModules.values()){for(const j of R.chunks){if(j!==v&&j!==$&&!j.hasRuntime()){E.add(j)}}}}}return E}hasChunkEntryDependentChunks(v){const E=this._getChunkGraphChunk(v);for(const R of E.entryModules.values()){for(const E of R.chunks){if(E!==v){return true}}}return false}getChunkRuntimeModulesIterable(v){const E=this._getChunkGraphChunk(v);return E.runtimeModules}getChunkRuntimeModulesInOrder(v){const E=this._getChunkGraphChunk(v);const R=Array.from(E.runtimeModules);R.sort(le(me((v=>v.stage),_e),ce));return R}getChunkFullHashModulesIterable(v){const E=this._getChunkGraphChunk(v);return E.fullHashModules}getChunkFullHashModulesSet(v){const E=this._getChunkGraphChunk(v);return E.fullHashModules}getChunkDependentHashModulesIterable(v){const E=this._getChunkGraphChunk(v);return E.dependentHashModules}getChunkEntryModulesWithChunkGroupIterable(v){const E=this._getChunkGraphChunk(v);return E.entryModules}getBlockChunkGroup(v){return this._blockChunkGroups.get(v)}connectBlockAndChunkGroup(v,E){this._blockChunkGroups.set(v,E);E.addBlock(v)}disconnectChunkGroup(v){for(const E of v.blocksIterable){this._blockChunkGroups.delete(E)}v._blocks.clear()}getModuleId(v){const E=this._getChunkGraphModule(v);return E.id}setModuleId(v,E){const R=this._getChunkGraphModule(v);R.id=E}getRuntimeId(v){return this._runtimeIds.get(v)}setRuntimeId(v,E){this._runtimeIds.set(v,E)}_getModuleHashInfo(v,E,R){if(!E){throw new Error(`Module ${v.identifier()} has no hash info for runtime ${Ne(R)} (hashes not set at all)`)}else if(R===undefined){const R=new Set(E.values());if(R.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${v.identifier()} (existing runtimes: ${Array.from(E.keys(),(v=>Ne(v))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return q(R)}else{const $=E.get(R);if(!$){throw new Error(`Module ${v.identifier()} has no hash info for runtime ${Ne(R)} (available runtimes ${Array.from(E.keys(),Ne).join(", ")})`)}return $}}hasModuleHashes(v,E){const R=this._getChunkGraphModule(v);const $=R.hashes;return $&&$.has(E)}getModuleHash(v,E){const R=this._getChunkGraphModule(v);const $=R.hashes;return this._getModuleHashInfo(v,$,E).hash}getRenderedModuleHash(v,E){const R=this._getChunkGraphModule(v);const $=R.hashes;return this._getModuleHashInfo(v,$,E).renderedHash}setModuleHashes(v,E,R,$){const j=this._getChunkGraphModule(v);if(j.hashes===undefined){j.hashes=new Oe}j.hashes.set(E,new ModuleHashInfo(R,$))}addModuleRuntimeRequirements(v,E,R,$=true){const j=this._getChunkGraphModule(v);const N=j.runtimeRequirements;if(N===undefined){const v=new Oe;v.set(E,$?R:new Set(R));j.runtimeRequirements=v;return}N.update(E,(v=>{if(v===undefined){return $?R:new Set(R)}else if(!$||v.size>=R.size){for(const E of R)v.add(E);return v}else{for(const E of v)R.add(E);return R}}))}addChunkRuntimeRequirements(v,E){const R=this._getChunkGraphChunk(v);const $=R.runtimeRequirements;if($===undefined){R.runtimeRequirements=E}else if($.size>=E.size){for(const v of E)$.add(v)}else{for(const v of $)E.add(v);R.runtimeRequirements=E}}addTreeRuntimeRequirements(v,E){const R=this._getChunkGraphChunk(v);const $=R.runtimeRequirementsInTree;for(const v of E)$.add(v)}getModuleRuntimeRequirements(v,E){const R=this._getChunkGraphModule(v);const $=R.runtimeRequirements&&R.runtimeRequirements.get(E);return $===undefined?qe:$}getChunkRuntimeRequirements(v){const E=this._getChunkGraphChunk(v);const R=E.runtimeRequirements;return R===undefined?qe:R}getModuleGraphHash(v,E,R=true){const $=this._getChunkGraphModule(v);return R?this._getModuleGraphHashWithConnections($,v,E):this._getModuleGraphHashBigInt($,v,E).toString(16)}getModuleGraphHashBigInt(v,E,R=true){const $=this._getChunkGraphModule(v);return R?BigInt(`0x${this._getModuleGraphHashWithConnections($,v,E)}`):this._getModuleGraphHashBigInt($,v,E)}_getModuleGraphHashBigInt(v,E,R){if(v.graphHashes===undefined){v.graphHashes=new Oe}const $=v.graphHashes.provide(R,(()=>{const $=Ie(this._hashFunction);$.update(`${v.id}${this.moduleGraph.isAsync(E)}`);const j=this._getOverwrittenModuleSourceTypes(E);if(j!==undefined){for(const v of j)$.update(v)}this.moduleGraph.getExportsInfo(E).updateHash($,R);return BigInt(`0x${$.digest("hex")}`)}));return $}_getModuleGraphHashWithConnections(v,E,R){if(v.graphHashesWithConnections===undefined){v.graphHashesWithConnections=new Oe}const activeStateToString=v=>{if(v===false)return"F";if(v===true)return"T";if(v===N.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const $=E.buildMeta&&E.buildMeta.strictHarmonyModule;return v.graphHashesWithConnections.provide(R,(()=>{const j=this._getModuleGraphHashBigInt(v,E,R).toString(16);const N=this.moduleGraph.getOutgoingConnections(E);const G=new Set;const ie=new Map;const processConnection=(v,E)=>{const R=v.module;E+=R.getExportsType(this.moduleGraph,$);if(E==="Tnamespace")G.add(R);else{const v=ie.get(E);if(v===undefined){ie.set(E,R)}else if(v instanceof Set){v.add(R)}else if(v!==R){ie.set(E,new Set([v,R]))}}};if(R===undefined||typeof R==="string"){for(const v of N){const E=v.getActiveState(R);if(E===false)continue;processConnection(v,E===true?"T":"O")}}else{for(const v of N){const E=new Set;let $="";Le(R,(R=>{const j=v.getActiveState(R);E.add(j);$+=activeStateToString(j)+R}),true);if(E.size===1){const v=q(E);if(v===false)continue;$=activeStateToString(v)}processConnection(v,$)}}if(G.size===0&&ie.size===0)return j;const ae=ie.size>1?Array.from(ie).sort((([v],[E])=>v<E?-1:1)):ie;const ce=Ie(this._hashFunction);const addModuleToHash=v=>{ce.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(v),v,R).toString(16))};const addModulesToHash=v=>{let E=Ue;for(const $ of v){E=E^this._getModuleGraphHashBigInt(this._getChunkGraphModule($),$,R)}ce.update(E.toString(16))};if(G.size===1)addModuleToHash(G.values().next().value);else if(G.size>1)addModulesToHash(G);for(const[v,E]of ae){ce.update(v);if(E instanceof Set){addModulesToHash(E)}else{addModuleToHash(E)}}ce.update(j);return ce.digest("hex")}))}getTreeRuntimeRequirements(v){const E=this._getChunkGraphChunk(v);return E.runtimeRequirementsInTree}static getChunkGraphForModule(v,E,R){const j=Ve.get(E);if(j)return j(v);const N=$.deprecate((v=>{const R=Qe.get(v);if(!R)throw new Error(E+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return R}),E+": Use new ChunkGraph API",R);Ve.set(E,N);return N(v)}static setChunkGraphForModule(v,E){Qe.set(v,E)}static clearChunkGraphForModule(v){Qe.delete(v)}static getChunkGraphForChunk(v,E,R){const j=Ke.get(E);if(j)return j(v);const N=$.deprecate((v=>{const R=Je.get(v);if(!R)throw new Error(E+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return R}),E+": Use new ChunkGraph API",R);Ke.set(E,N);return N(v)}static setChunkGraphForChunk(v,E){Je.set(v,E)}static clearChunkGraphForChunk(v){Je.delete(v)}}const Qe=new WeakMap;const Je=new WeakMap;const Ve=new Map;const Ke=new Map;v.exports=ChunkGraph},61431:function(v,E,R){"use strict";const $=R(73837);const j=R(40003);const{compareLocations:N,compareChunks:q,compareIterables:G}=R(30044);let ie=5e3;const getArray=v=>Array.from(v);const sortById=(v,E)=>{if(v.id<E.id)return-1;if(E.id<v.id)return 1;return 0};const sortOrigin=(v,E)=>{const R=v.module?v.module.identifier():"";const $=E.module?E.module.identifier():"";if(R<$)return-1;if(R>$)return 1;return N(v.loc,E.loc)};class ChunkGroup{constructor(v){if(typeof v==="string"){v={name:v}}else if(!v){v={name:undefined}}this.groupDebugId=ie++;this.options=v;this._children=new j(undefined,sortById);this._parents=new j(undefined,sortById);this._asyncEntrypoints=new j(undefined,sortById);this._blocks=new j;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(v){for(const E of Object.keys(v)){if(this.options[E]===undefined){this.options[E]=v[E]}else if(this.options[E]!==v[E]){if(E.endsWith("Order")){this.options[E]=Math.max(this.options[E],v[E])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${E}`)}}}}get name(){return this.options.name}set name(v){this.options.name=v}get debugId(){return Array.from(this.chunks,(v=>v.debugId)).join("+")}get id(){return Array.from(this.chunks,(v=>v.id)).join("+")}unshiftChunk(v){const E=this.chunks.indexOf(v);if(E>0){this.chunks.splice(E,1);this.chunks.unshift(v)}else if(E<0){this.chunks.unshift(v);return true}return false}insertChunk(v,E){const R=this.chunks.indexOf(v);const $=this.chunks.indexOf(E);if($<0){throw new Error("before chunk not found")}if(R>=0&&R>$){this.chunks.splice(R,1);this.chunks.splice($,0,v)}else if(R<0){this.chunks.splice($,0,v);return true}return false}pushChunk(v){const E=this.chunks.indexOf(v);if(E>=0){return false}this.chunks.push(v);return true}replaceChunk(v,E){const R=this.chunks.indexOf(v);if(R<0)return false;const $=this.chunks.indexOf(E);if($<0){this.chunks[R]=E;return true}if($<R){this.chunks.splice(R,1);return true}else if($!==R){this.chunks[R]=E;this.chunks.splice($,1);return true}}removeChunk(v){const E=this.chunks.indexOf(v);if(E>=0){this.chunks.splice(E,1);return true}return false}isInitial(){return false}addChild(v){const E=this._children.size;this._children.add(v);return E!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(v){if(!this._children.has(v)){return false}this._children.delete(v);v.removeParent(this);return true}addParent(v){if(!this._parents.has(v)){this._parents.add(v);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(v){return this._parents.has(v)}get parentsIterable(){return this._parents}removeParent(v){if(this._parents.delete(v)){v.removeChild(this);return true}return false}addAsyncEntrypoint(v){const E=this._asyncEntrypoints.size;this._asyncEntrypoints.add(v);return E!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(v){return this._blocks.has(v)}get blocksIterable(){return this._blocks}addBlock(v){if(!this._blocks.has(v)){this._blocks.add(v);return true}return false}addOrigin(v,E,R){this.origins.push({module:v,loc:E,request:R})}getFiles(){const v=new Set;for(const E of this.chunks){for(const R of E.files){v.add(R)}}return Array.from(v)}remove(){for(const v of this._parents){v._children.delete(this);for(const E of this._children){E.addParent(v);v.addChild(E)}}for(const v of this._children){v._parents.delete(this)}for(const v of this.chunks){v.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(v,E){if(this.chunks.length>E.chunks.length)return-1;if(this.chunks.length<E.chunks.length)return 1;return G(q(v))(this.chunks,E.chunks)}getChildrenByOrders(v,E){const R=new Map;for(const v of this._children){for(const E of Object.keys(v.options)){if(E.endsWith("Order")){const $=E.slice(0,E.length-"Order".length);let j=R.get($);if(j===undefined){R.set($,j=[])}j.push({order:v.options[E],group:v})}}}const $=Object.create(null);for(const[v,j]of R){j.sort(((v,R)=>{const $=R.order-v.order;if($!==0)return $;return v.group.compareTo(E,R.group)}));$[v]=j.map((v=>v.group))}return $}setModulePreOrderIndex(v,E){this._modulePreOrderIndices.set(v,E)}getModulePreOrderIndex(v){return this._modulePreOrderIndices.get(v)}setModulePostOrderIndex(v,E){this._modulePostOrderIndices.set(v,E)}getModulePostOrderIndex(v){return this._modulePostOrderIndices.get(v)}checkConstraints(){const v=this;for(const E of v._children){if(!E._parents.has(v)){throw new Error(`checkConstraints: child missing parent ${v.debugId} -> ${E.debugId}`)}}for(const E of v._parents){if(!E._children.has(v)){throw new Error(`checkConstraints: parent missing child ${E.debugId} <- ${v.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=$.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=$.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");v.exports=ChunkGroup},67518:function(v,E,R){"use strict";const $=R(85969);class ChunkRenderError extends ${constructor(v,E,R){super();this.name="ChunkRenderError";this.error=R;this.message=R.message;this.details=R.stack;this.file=E;this.chunk=v}}v.exports=ChunkRenderError},3939:function(v,E,R){"use strict";const $=R(73837);const j=R(16679);const N=j((()=>R(72483)));class ChunkTemplate{constructor(v,E){this._outputOptions=v||{};this.hooks=Object.freeze({renderManifest:{tap:$.deprecate(((v,R)=>{E.hooks.renderManifest.tap(v,((v,E)=>{if(E.chunk.hasRuntime())return v;return R(v,E)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:$.deprecate(((v,R)=>{N().getCompilationHooks(E).renderChunk.tap(v,((v,$)=>R(v,E.moduleTemplates.javascript,$)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:$.deprecate(((v,R)=>{N().getCompilationHooks(E).renderChunk.tap(v,((v,$)=>R(v,E.moduleTemplates.javascript,$)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:$.deprecate(((v,R)=>{N().getCompilationHooks(E).render.tap(v,((v,E)=>{if(E.chunkGraph.getNumberOfEntryModules(E.chunk)===0||E.chunk.hasRuntime()){return v}return R(v,E.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:$.deprecate(((v,R)=>{E.hooks.fullHash.tap(v,R)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:$.deprecate(((v,R)=>{N().getCompilationHooks(E).chunkHash.tap(v,((v,E,$)=>{if(v.hasRuntime())return;R(E,v,$)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:$.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});v.exports=ChunkTemplate},48486:function(v,E,R){"use strict";const $=R(78175);const{SyncBailHook:j}=R(79846);const N=R(47042);const q=R(1422);const{join:G}=R(4115);const ie=R(82222);const ae=q(undefined,(()=>{const{definitions:v}=R(13954);return{definitions:v,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const ce=10*1e3;const mergeAssets=(v,E)=>{for(const[R,$]of E){const E=v.get(R);if(!E||$>E)v.set(R,$)}};const getDiffToFs=(v,E,R,j)=>{const N=new Set;for(const[v]of R){N.add(v.replace(/(^|\/)[^/]*$/,""))}for(const v of N){N.add(v.replace(/(^|\/)[^/]*$/,""))}const q=new Set;$.forEachLimit(N,10,(($,j)=>{v.readdir(G(v,E,$),((v,E)=>{if(v){if(v.code==="ENOENT")return j();if(v.code==="ENOTDIR"){q.add($);return j()}return j(v)}for(const v of E){const E=v;const j=$?`${$}/${E}`:E;if(!N.has(j)&&!R.has(j)){q.add(j)}}j()}))}),(v=>{if(v)return j(v);j(null,q)}))};const getDiffToOldAssets=(v,E)=>{const R=new Set;const $=Date.now();for(const[j,N]of E){if(N>=$)continue;if(!v.has(j))R.add(j)}return R};const doStat=(v,E,R)=>{if("lstat"in v){v.lstat(E,R)}else{v.stat(E,R)}};const applyDiff=(v,E,R,$,j,N,q)=>{const log=v=>{if(R){$.info(v)}else{$.log(v)}};const ae=Array.from(j.keys(),(v=>({type:"check",filename:v,parent:undefined})));const ce=new Map;ie(ae,10,(({type:j,filename:q,parent:ie},ae,le)=>{const handleError=v=>{if(v.code==="ENOENT"){log(`${q} was removed during cleaning by something else`);handleParent();return le()}return le(v)};const handleParent=()=>{if(ie&&--ie.remaining===0)ae(ie.job)};const me=G(v,E,q);switch(j){case"check":if(N(q)){ce.set(q,0);log(`${q} will be kept`);return process.nextTick(le)}doStat(v,me,((E,R)=>{if(E)return handleError(E);if(!R.isDirectory()){ae({type:"unlink",filename:q,parent:ie});return le()}v.readdir(me,((v,E)=>{if(v)return handleError(v);const R={type:"rmdir",filename:q,parent:ie};if(E.length===0){ae(R)}else{const v={remaining:E.length,job:R};for(const R of E){const E=R;if(E.startsWith(".")){log(`${q} will be kept (dot-files will never be removed)`);continue}ae({type:"check",filename:`${q}/${E}`,parent:v})}}return le()}))}));break;case"rmdir":log(`${q} will be removed`);if(R){handleParent();return process.nextTick(le)}if(!v.rmdir){$.warn(`${q} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(le)}v.rmdir(me,(v=>{if(v)return handleError(v);handleParent();le()}));break;case"unlink":log(`${q} will be removed`);if(R){handleParent();return process.nextTick(le)}if(!v.unlink){$.warn(`${q} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(le)}v.unlink(me,(v=>{if(v)return handleError(v);handleParent();le()}));break}}),(v=>{if(v)return q(v);q(undefined,ce)}))};const le=new WeakMap;class CleanPlugin{static getCompilationHooks(v){if(!(v instanceof N)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let E=le.get(v);if(E===undefined){E={keep:new j(["ignore"])};le.set(v,E)}return E}constructor(v={}){ae(v);this.options={dry:false,...v}}apply(v){const{dry:E,keep:R}=this.options;const $=typeof R==="function"?R:typeof R==="string"?v=>v.startsWith(R):typeof R==="object"&&R.test?v=>R.test(v):()=>false;let j;v.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((R,N)=>{const q=CleanPlugin.getCompilationHooks(R);const G=R.getLogger("webpack.CleanPlugin");const ie=v.outputFileSystem;if(!ie.readdir){return N(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const ae=new Map;const le=Date.now();for(const v of Object.keys(R.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(v))continue;let E;let $=v.replace(/\\/g,"/");do{E=$;$=E.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while($!==E);if(E.startsWith("../"))continue;const j=R.assetsInfo.get(v);if(j&&j.hotModuleReplacement){ae.set(E,le+ce)}else{ae.set(E,0)}}const me=R.getPath(v.outputPath,{});const isKept=v=>{const E=q.keep.call(v);if(E!==undefined)return E;return $(v)};const diffCallback=(v,R)=>{if(v){j=undefined;N(v);return}applyDiff(ie,me,E,G,R,isKept,((v,E)=>{if(v){j=undefined}else{if(j)mergeAssets(ae,j);j=ae;if(E)mergeAssets(j,E)}N(v)}))};if(j){diffCallback(null,getDiffToOldAssets(ae,j))}else{getDiffToFs(ie,me,ae,diffCallback)}}))}}v.exports=CleanPlugin},72249:function(v,E,R){"use strict";const $=R(85969);class CodeGenerationError extends ${constructor(v,E){super();this.name="CodeGenerationError";this.error=E;this.message=E.message;this.details=E.stack;this.module=v}}v.exports=CodeGenerationError},92108:function(v,E,R){"use strict";const{provide:$}=R(6063);const{first:j}=R(91639);const N=R(84351);const{runtimeToString:q,RuntimeSpecMap:G}=R(67633);class CodeGenerationResults{constructor(v="md4"){this.map=new Map;this._hashFunction=v}get(v,E){const R=this.map.get(v);if(R===undefined){throw new Error(`No code generation entry for ${v.identifier()} (existing entries: ${Array.from(this.map.keys(),(v=>v.identifier())).join(", ")})`)}if(E===undefined){if(R.size>1){const E=new Set(R.values());if(E.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${v.identifier()} (existing runtimes: ${Array.from(R.keys(),(v=>q(v))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return j(E)}return R.values().next().value}const $=R.get(E);if($===undefined){throw new Error(`No code generation entry for runtime ${q(E)} for ${v.identifier()} (existing runtimes: ${Array.from(R.keys(),(v=>q(v))).join(", ")})`)}return $}has(v,E){const R=this.map.get(v);if(R===undefined){return false}if(E!==undefined){return R.has(E)}else if(R.size>1){const v=new Set(R.values());return v.size===1}else{return R.size===1}}getSource(v,E,R){return this.get(v,E).sources.get(R)}getRuntimeRequirements(v,E){return this.get(v,E).runtimeRequirements}getData(v,E,R){const $=this.get(v,E).data;return $===undefined?undefined:$.get(R)}getHash(v,E){const R=this.get(v,E);if(R.hash!==undefined)return R.hash;const $=N(this._hashFunction);for(const[v,E]of R.sources){$.update(v);E.updateHash($)}if(R.runtimeRequirements){for(const v of R.runtimeRequirements)$.update(v)}return R.hash=$.digest("hex")}add(v,E,R){const j=$(this.map,v,(()=>new G));j.set(E,R)}}v.exports=CodeGenerationResults},18402:function(v,E,R){"use strict";const $=R(85969);const j=R(56078);class CommentCompilationWarning extends ${constructor(v,E){super(v);this.name="CommentCompilationWarning";this.loc=E}}j(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");v.exports=CommentCompilationWarning},23055:function(v,E,R){"use strict";const $=R(40821);const j=Symbol("nested __webpack_require__");class CompatibilityPlugin{apply(v){v.hooks.compilation.tap("CompatibilityPlugin",((v,{normalModuleFactory:E})=>{v.dependencyTemplates.set($,new $.Template);E.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",((v,E)=>{if(E.browserify!==undefined&&!E.browserify)return;v.hooks.call.for("require").tap("CompatibilityPlugin",(E=>{if(E.arguments.length!==2)return;const R=v.evaluateExpression(E.arguments[1]);if(!R.isBoolean())return;if(R.asBool()!==true)return;const j=new $("require",E.callee.range);j.loc=E.loc;if(v.state.current.dependencies.length>0){const E=v.state.current.dependencies[v.state.current.dependencies.length-1];if(E.critical&&E.options&&E.options.request==="."&&E.userRequest==="."&&E.options.recursive)v.state.current.dependencies.pop()}v.state.module.addPresentationalDependency(j);return true}))}));const handler=v=>{v.hooks.preStatement.tap("CompatibilityPlugin",(E=>{if(E.type==="FunctionDeclaration"&&E.id&&E.id.name==="__webpack_require__"){const R=`__nested_webpack_require_${E.range[0]}__`;v.tagVariable(E.id.name,j,{name:R,declaration:{updated:false,loc:E.id.loc,range:E.id.range}});return true}}));v.hooks.pattern.for("__webpack_require__").tap("CompatibilityPlugin",(E=>{const R=`__nested_webpack_require_${E.range[0]}__`;v.tagVariable(E.name,j,{name:R,declaration:{updated:false,loc:E.loc,range:E.range}});return true}));v.hooks.expression.for(j).tap("CompatibilityPlugin",(E=>{const{name:R,declaration:j}=v.currentTagData;if(!j.updated){const E=new $(R,j.range);E.loc=j.loc;v.state.module.addPresentationalDependency(E);j.updated=true}const N=new $(R,E.range);N.loc=E.loc;v.state.module.addPresentationalDependency(N);return true}));v.hooks.program.tap("CompatibilityPlugin",((E,R)=>{if(R.length===0)return;const j=R[0];if(j.type==="Line"&&j.range[0]===0){if(v.state.source.slice(0,2).toString()!=="#!")return;const E=new $("//",0);E.loc=j.loc;v.state.module.addPresentationalDependency(E)}}))};E.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",handler);E.hooks.parser.for("javascript/dynamic").tap("CompatibilityPlugin",handler);E.hooks.parser.for("javascript/esm").tap("CompatibilityPlugin",handler)}))}}v.exports=CompatibilityPlugin},47042:function(v,E,R){"use strict";const $=R(78175);const{HookMap:j,SyncHook:N,SyncBailHook:q,SyncWaterfallHook:G,AsyncSeriesHook:ie,AsyncSeriesBailHook:ae,AsyncParallelHook:ce}=R(79846);const le=R(73837);const{CachedSource:me}=R(51255);const{MultiItemCache:_e}=R(59147);const Ie=R(67785);const Me=R(24324);const Oe=R(61431);const Te=R(67518);const Ne=R(3939);const Be=R(72249);const Le=R(92108);const qe=R(40368);const Ue=R(11549);const Ge=R(5767);const He=R(84205);const We=R(17552);const{connectChunkGroupAndChunk:Qe,connectChunkGroupParentAndChild:Je}=R(99437);const{makeWebpackError:Ve,tryRunOrWebpackError:Ke}=R(48018);const Xe=R(21694);const Ye=R(71433);const Ze=R(52345);const et=R(49023);const tt=R(25688);const nt=R(69532);const st=R(1171);const rt=R(77300);const ot=R(50693);const it=R(66697);const at=R(12423);const ct=R(42976);const lt=R(82515);const ut=R(27079);const pt=R(85969);const dt=R(9804);const ft=R(21003);const{Logger:ht,LogType:mt}=R(20392);const gt=R(22415);const yt=R(43673);const{equals:bt}=R(92712);const xt=R(74777);const kt=R(15597);const{provide:vt}=R(6063);const wt=R(33489);const{cachedCleverMerge:Ct}=R(59817);const{compareLocations:At,concatComparators:Et,compareSelect:_t,compareIds:St,compareStringsNumeric:It,compareModulesByIdentifier:Mt}=R(30044);const Pt=R(84351);const{arrayToSetDeprecation:Dt,soonFrozenObjectDeprecation:Ot,createFakeHook:Rt}=R(93160);const $t=R(82222);const{getRuntimeKey:Tt}=R(67633);const{isSourceEqual:Ft}=R(36923);const jt=Object.freeze({});const Nt="esm";const Bt=le.deprecate((v=>R(61665).getCompilationHooks(v).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=v=>{Object.defineProperties(v,{asset:{enumerable:false,configurable:false,get:()=>{throw new pt("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new pt("Compilation.moduleTemplates.webassembly has been removed")}}});v=undefined};const Lt=_t((v=>v.id),St);const qt=Et(_t((v=>v.name),St),_t((v=>v.fullHash),St));const zt=_t((v=>`${v.message}`),It);const Ut=_t((v=>v.module&&v.module.identifier()||""),It);const Gt=_t((v=>v.loc),At);const Ht=Et(Ut,Gt,zt);const Wt=new WeakMap;const Qt=new WeakMap;class Compilation{constructor(v,E){this._backCompat=v._backCompat;const getNormalModuleLoader=()=>Bt(this);const R=new ie(["assets"]);let $=new Set;const popNewAssets=v=>{let E=undefined;for(const R of Object.keys(v)){if($.has(R))continue;if(E===undefined){E=Object.create(null)}E[R]=v[R];$.add(R)}return E};R.intercept({name:"Compilation",call:()=>{$=new Set(Object.keys(this.assets))},register:v=>{const{type:E,name:R}=v;const{fn:$,additionalAssets:j,...N}=v;const q=j===true?$:j;const G=q?new WeakSet:undefined;switch(E){case"sync":if(q){this.hooks.processAdditionalAssets.tap(R,(v=>{if(G.has(this.assets))q(v)}))}return{...N,type:"async",fn:(v,E)=>{try{$(v)}catch(v){return E(v)}if(G!==undefined)G.add(this.assets);const R=popNewAssets(v);if(R!==undefined){this.hooks.processAdditionalAssets.callAsync(R,E);return}E()}};case"async":if(q){this.hooks.processAdditionalAssets.tapAsync(R,((v,E)=>{if(G.has(this.assets))return q(v,E);E()}))}return{...N,fn:(v,E)=>{$(v,(R=>{if(R)return E(R);if(G!==undefined)G.add(this.assets);const $=popNewAssets(v);if($!==undefined){this.hooks.processAdditionalAssets.callAsync($,E);return}E()}))}};case"promise":if(q){this.hooks.processAdditionalAssets.tapPromise(R,(v=>{if(G.has(this.assets))return q(v);return Promise.resolve()}))}return{...N,fn:v=>{const E=$(v);if(!E||!E.then)return E;return E.then((()=>{if(G!==undefined)G.add(this.assets);const E=popNewAssets(v);if(E!==undefined){return this.hooks.processAdditionalAssets.promise(E)}}))}}}}});const me=new N(["assets"]);const createProcessAssetsHook=(v,E,$,j)=>{if(!this._backCompat&&j)return undefined;const errorMessage=E=>`Can't automatically convert plugin using Compilation.hooks.${v} to Compilation.hooks.processAssets because ${E}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=v=>{if(typeof v==="string")v={name:v};if(v.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...v,stage:E}};return Rt({name:v,intercept(v){throw new Error(errorMessage("it's using 'intercept'"))},tap:(v,E)=>{R.tap(getOptions(v),(()=>E(...$())))},tapAsync:(v,E)=>{R.tapAsync(getOptions(v),((v,R)=>E(...$(),R)))},tapPromise:(v,E)=>{R.tapPromise(getOptions(v),(()=>E(...$())))}},`${v} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,j)};this.hooks=Object.freeze({buildModule:new N(["module"]),rebuildModule:new N(["module"]),failedModule:new N(["module","error"]),succeedModule:new N(["module"]),stillValidModule:new N(["module"]),addEntry:new N(["entry","options"]),failedEntry:new N(["entry","options","error"]),succeedEntry:new N(["entry","options","module"]),dependencyReferencedExports:new G(["referencedExports","dependency","runtime"]),executeModule:new N(["options","context"]),prepareModuleExecution:new ce(["options","context"]),finishModules:new ie(["modules"]),finishRebuildingModule:new ie(["module"]),unseal:new N([]),seal:new N([]),beforeChunks:new N([]),afterChunks:new N(["chunks"]),optimizeDependencies:new q(["modules"]),afterOptimizeDependencies:new N(["modules"]),optimize:new N([]),optimizeModules:new q(["modules"]),afterOptimizeModules:new N(["modules"]),optimizeChunks:new q(["chunks","chunkGroups"]),afterOptimizeChunks:new N(["chunks","chunkGroups"]),optimizeTree:new ie(["chunks","modules"]),afterOptimizeTree:new N(["chunks","modules"]),optimizeChunkModules:new ae(["chunks","modules"]),afterOptimizeChunkModules:new N(["chunks","modules"]),shouldRecord:new q([]),additionalChunkRuntimeRequirements:new N(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new j((()=>new q(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new N(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new j((()=>new q(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new N(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new j((()=>new q(["chunk","runtimeRequirements","context"]))),runtimeModule:new N(["module","chunk"]),reviveModules:new N(["modules","records"]),beforeModuleIds:new N(["modules"]),moduleIds:new N(["modules"]),optimizeModuleIds:new N(["modules"]),afterOptimizeModuleIds:new N(["modules"]),reviveChunks:new N(["chunks","records"]),beforeChunkIds:new N(["chunks"]),chunkIds:new N(["chunks"]),optimizeChunkIds:new N(["chunks"]),afterOptimizeChunkIds:new N(["chunks"]),recordModules:new N(["modules","records"]),recordChunks:new N(["chunks","records"]),optimizeCodeGeneration:new N(["modules"]),beforeModuleHash:new N([]),afterModuleHash:new N([]),beforeCodeGeneration:new N([]),afterCodeGeneration:new N([]),beforeRuntimeRequirements:new N([]),afterRuntimeRequirements:new N([]),beforeHash:new N([]),contentHash:new N(["chunk"]),afterHash:new N([]),recordHash:new N(["records"]),record:new N(["compilation","records"]),beforeModuleAssets:new N([]),shouldGenerateChunkAssets:new q([]),beforeChunkAssets:new N([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:R,afterOptimizeAssets:me,processAssets:R,afterProcessAssets:me,processAdditionalAssets:new ie(["assets"]),needAdditionalSeal:new q([]),afterSeal:new ie([]),renderManifest:new G(["result","options"]),fullHash:new N(["hash"]),chunkHash:new N(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new N(["module","filename"]),chunkAsset:new N(["chunk","filename"]),assetPath:new G(["path","options","assetInfo"]),needAdditionalPass:new q([]),childCompiler:new N(["childCompiler","compilerName","compilerIndex"]),log:new q(["origin","logEntry"]),processWarnings:new G(["warnings"]),processErrors:new G(["errors"]),statsPreset:new j((()=>new N(["options","context"]))),statsNormalize:new N(["options","context"]),statsFactory:new N(["statsFactory","options"]),statsPrinter:new N(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=v;this.resolverFactory=v.resolverFactory;this.inputFileSystem=v.inputFileSystem;this.fileSystemInfo=new We(this.inputFileSystem,{managedPaths:v.managedPaths,immutablePaths:v.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo"),hashFunction:v.options.output.hashFunction});if(v.fileTimestamps){this.fileSystemInfo.addFileTimestamps(v.fileTimestamps,true)}if(v.contextTimestamps){this.fileSystemInfo.addContextTimestamps(v.contextTimestamps,true)}this.valueCacheVersions=new Map;this.requestShortener=v.requestShortener;this.compilerPath=v.compilerPath;this.logger=this.getLogger("webpack.Compilation");const _e=v.options;this.options=_e;this.outputOptions=_e&&_e.output;this.bail=_e&&_e.bail||false;this.profile=_e&&_e.profile||false;this.params=E;this.mainTemplate=new Xe(this.outputOptions,this);this.chunkTemplate=new Ne(this.outputOptions,this);this.runtimeTemplate=new lt(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new at(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleMemCaches=undefined;this.moduleMemCaches2=undefined;this.moduleGraph=new tt;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new xt({name:"processDependencies",parallelism:_e.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new xt({name:"addModule",parent:this.processDependenciesQueue,getKey:v=>v.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new xt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new xt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new xt({name:"rebuild",parallelism:_e.parallelism||100,processor:this._rebuildModule.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;if(this._backCompat){Dt(this.chunks,"Compilation.chunks");Dt(this.modules,"Compilation.modules")}this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new Ue(this.outputOptions.hashFunction);this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this._restoredUnsafeCacheModuleEntries=new Set;this._restoredUnsafeCacheEntries=new Map;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new kt;this.contextDependencies=new kt;this.missingDependencies=new kt;this.buildDependencies=new kt;this.compilationDependencies={add:le.deprecate((v=>this.fileDependencies.add(v)),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration");const Ie=_e.module.unsafeCache;this._unsafeCache=!!Ie;this._unsafeCachePredicate=typeof Ie==="function"?Ie:()=>true}getStats(){return new ut(this)}createStatsOptions(v,E={}){if(typeof v==="boolean"||typeof v==="string"){v={preset:v}}if(typeof v==="object"&&v!==null){const R={};for(const E in v){R[E]=v[E]}if(R.preset!==undefined){this.hooks.statsPreset.for(R.preset).call(R,E)}this.hooks.statsNormalize.call(R,E);return R}else{const v={};this.hooks.statsNormalize.call(v,E);return v}}createStatsFactory(v){const E=new gt;this.hooks.statsFactory.call(E,v);return E}createStatsPrinter(v){const E=new yt;this.hooks.statsPrinter.call(E,v);return E}getCache(v){return this.compiler.getCache(v)}getLogger(v){if(!v){throw new TypeError("Compilation.getLogger(name) called without a name")}let E;return new ht(((R,$)=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let j;switch(R){case mt.warn:case mt.error:case mt.trace:j=He.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const N={time:Date.now(),type:R,args:$,trace:j};if(this.hooks.log.call(v,N)===undefined){if(N.type===mt.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${v}] ${N.args[0]}`)}}if(E===undefined){E=this.logging.get(v);if(E===undefined){E=[];this.logging.set(v,E)}}E.push(N);if(N.type===mt.profile){if(typeof console.profile==="function"){console.profile(`[${v}] ${N.args[0]}`)}}}}),(E=>{if(typeof v==="function"){if(typeof E==="function"){return this.getLogger((()=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof E==="function"){E=E();if(!E){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${v}/${E}`}))}else{return this.getLogger((()=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${v}/${E}`}))}}else{if(typeof E==="function"){return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${v}/${E}`}))}else{return this.getLogger(`${v}/${E}`)}}}))}addModule(v,E){this.addModuleQueue.add(v,E)}_addModule(v,E){const R=v.identifier();const $=this._modules.get(R);if($){return E(null,$)}const j=this.profile?this.moduleGraph.getProfile(v):undefined;if(j!==undefined){j.markRestoringStart()}this._modulesCache.get(R,null,(($,N)=>{if($)return E(new ot(v,$));if(j!==undefined){j.markRestoringEnd();j.markIntegrationStart()}if(N){N.updateCacheModule(v);v=N}this._modules.set(R,v);this.modules.add(v);if(this._backCompat)tt.setModuleGraphForModule(v,this.moduleGraph);if(j!==undefined){j.markIntegrationEnd()}E(null,v)}))}getModule(v){const E=v.identifier();return this._modules.get(E)}findModule(v){return this._modules.get(v)}buildModule(v,E){this.buildQueue.add(v,E)}_buildModule(v,E){const R=this.profile?this.moduleGraph.getProfile(v):undefined;if(R!==undefined){R.markBuildingStart()}v.needBuild({compilation:this,fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},(($,j)=>{if($)return E($);if(!j){if(R!==undefined){R.markBuildingEnd()}this.hooks.stillValidModule.call(v);return E()}this.hooks.buildModule.call(v);this.builtModules.add(v);v.build(this.options,this,this.resolverFactory.get("normal",v.resolveOptions),this.inputFileSystem,($=>{if(R!==undefined){R.markBuildingEnd()}if($){this.hooks.failedModule.call(v,$);return E($)}if(R!==undefined){R.markStoringStart()}this._modulesCache.store(v.identifier(),null,v,($=>{if(R!==undefined){R.markStoringEnd()}if($){this.hooks.failedModule.call(v,$);return E(new it(v,$))}this.hooks.succeedModule.call(v);return E()}))}))}))}processModuleDependencies(v,E){this.processDependenciesQueue.add(v,E)}processModuleDependenciesNonRecursive(v){const processDependenciesBlock=E=>{if(E.dependencies){let R=0;for(const $ of E.dependencies){this.moduleGraph.setParents($,E,v,R++)}}if(E.blocks){for(const v of E.blocks)processDependenciesBlock(v)}};processDependenciesBlock(v)}_processModuleDependencies(v,E){const R=[];let $;let j;let N;let q;let G;let ie;let ae;let ce;let le=1;let me=1;const onDependenciesSorted=v=>{if(v)return E(v);if(R.length===0&&me===1){return E()}this.processDependenciesQueue.increaseParallelism();for(const v of R){me++;this.handleModuleCreation(v,(v=>{if(v&&this.bail){if(me<=0)return;me=-1;v.stack=v.stack;onTransitiveTasksFinished(v);return}if(--me===0)onTransitiveTasksFinished()}))}if(--me===0)onTransitiveTasksFinished()};const onTransitiveTasksFinished=v=>{if(v)return E(v);this.processDependenciesQueue.decreaseParallelism();return E()};const processDependency=(E,R)=>{this.moduleGraph.setParents(E,$,v,R);if(this._unsafeCache){try{const R=Wt.get(E);if(R===null)return;if(R!==undefined){if(this._restoredUnsafeCacheModuleEntries.has(R)){this._handleExistingModuleFromUnsafeCache(v,E,R);return}const $=R.identifier();const j=this._restoredUnsafeCacheEntries.get($);if(j!==undefined){Wt.set(E,j);this._handleExistingModuleFromUnsafeCache(v,E,j);return}le++;this._modulesCache.get($,null,((j,N)=>{if(j){if(le<=0)return;le=-1;onDependenciesSorted(j);return}try{if(!this._restoredUnsafeCacheEntries.has($)){const j=Qt.get(N);if(j===undefined){processDependencyForResolving(E);if(--le===0)onDependenciesSorted();return}if(N!==R){Wt.set(E,N)}N.restoreFromUnsafeCache(j,this.params.normalModuleFactory,this.params);this._restoredUnsafeCacheEntries.set($,N);this._restoredUnsafeCacheModuleEntries.add(N);if(!this.modules.has(N)){me++;this._handleNewModuleFromUnsafeCache(v,E,N,(v=>{if(v){if(me<=0)return;me=-1;onTransitiveTasksFinished(v)}if(--me===0)return onTransitiveTasksFinished()}));if(--le===0)onDependenciesSorted();return}}if(R!==N){Wt.set(E,N)}this._handleExistingModuleFromUnsafeCache(v,E,N)}catch(j){if(le<=0)return;le=-1;onDependenciesSorted(j);return}if(--le===0)onDependenciesSorted()}));return}}catch(v){console.error(v)}}processDependencyForResolving(E)};const processDependencyForResolving=E=>{const $=E.getResourceIdentifier();if($!==undefined&&$!==null){const le=E.category;const me=E.constructor;if(N===me){if(ie===le&&ae===$){ce.push(E);return}}else{const v=this.dependencyFactories.get(me);if(v===undefined){throw new Error(`No module factory available for dependency type: ${me.name}`)}if(q===v){N=me;if(ie===le&&ae===$){ce.push(E);return}}else{if(q!==undefined){if(j===undefined)j=new Map;j.set(q,G);G=j.get(v);if(G===undefined){G=new Map}}else{G=new Map}N=me;q=v}}const _e=le===Nt?$:`${le}${$}`;let Ie=G.get(_e);if(Ie===undefined){G.set(_e,Ie=[]);R.push({factory:q,dependencies:Ie,context:E.getContext(),originModule:v})}Ie.push(E);ie=le;ae=$;ce=Ie}};try{const E=[v];do{const v=E.pop();if(v.dependencies){$=v;let E=0;for(const R of v.dependencies)processDependency(R,E++)}if(v.blocks){for(const R of v.blocks)E.push(R)}}while(E.length!==0)}catch(v){return E(v)}if(--le===0)onDependenciesSorted()}_handleNewModuleFromUnsafeCache(v,E,R,$){const j=this.moduleGraph;j.setResolvedModule(v,E,R);j.setIssuerIfUnset(R,v!==undefined?v:null);this._modules.set(R.identifier(),R);this.modules.add(R);if(this._backCompat)tt.setModuleGraphForModule(R,this.moduleGraph);this._handleModuleBuildAndDependencies(v,R,true,$)}_handleExistingModuleFromUnsafeCache(v,E,R){const $=this.moduleGraph;$.setResolvedModule(v,E,R)}handleModuleCreation({factory:v,dependencies:E,originModule:R,contextInfo:$,context:j,recursive:N=true,connectOrigin:q=N},G){const ie=this.moduleGraph;const ae=this.profile?new rt:undefined;this.factorizeModule({currentProfile:ae,factory:v,dependencies:E,factoryResult:true,originModule:R,contextInfo:$,context:j},((v,$)=>{const applyFactoryResultDependencies=()=>{const{fileDependencies:v,contextDependencies:E,missingDependencies:R}=$;if(v){this.fileDependencies.addAll(v)}if(E){this.contextDependencies.addAll(E)}if(R){this.missingDependencies.addAll(R)}};if(v){if($)applyFactoryResultDependencies();if(E.every((v=>v.optional))){this.warnings.push(v);return G()}else{this.errors.push(v);return G(v)}}const j=$.module;if(!j){applyFactoryResultDependencies();return G()}if(ae!==undefined){ie.setProfile(j,ae)}this.addModule(j,((v,ce)=>{if(v){applyFactoryResultDependencies();if(!v.module){v.module=ce}this.errors.push(v);return G(v)}if(this._unsafeCache&&$.cacheable!==false&&ce.restoreFromUnsafeCache&&this._unsafeCachePredicate(ce)){const v=ce;for(let $=0;$<E.length;$++){const j=E[$];ie.setResolvedModule(q?R:null,j,v);Wt.set(j,v)}if(!Qt.has(v)){Qt.set(v,v.getUnsafeCacheData())}}else{applyFactoryResultDependencies();for(let v=0;v<E.length;v++){const $=E[v];ie.setResolvedModule(q?R:null,$,ce)}}ie.setIssuerIfUnset(ce,R!==undefined?R:null);if(ce!==j){if(ae!==undefined){const v=ie.getProfile(ce);if(v!==undefined){ae.mergeInto(v)}else{ie.setProfile(ce,ae)}}}this._handleModuleBuildAndDependencies(R,ce,N,G)}))}))}_handleModuleBuildAndDependencies(v,E,R,$){let j=undefined;if(!R&&this.buildQueue.isProcessing(v)){j=this.creatingModuleDuringBuild.get(v);if(j===undefined){j=new Set;this.creatingModuleDuringBuild.set(v,j)}j.add(E);const R=this.creatingModuleDuringBuild.get(E);if(R!==undefined){const v=new Set(R);for(const R of v){const j=this.creatingModuleDuringBuild.get(R);if(j!==undefined){for(const R of j){if(R===E){return $(new ft(E))}v.add(R)}}}}}this.buildModule(E,(v=>{if(j!==undefined){j.delete(E)}if(v){if(!v.module){v.module=E}this.errors.push(v);return $(v)}if(!R){this.processModuleDependenciesNonRecursive(E);$(null,E);return}if(this.processDependenciesQueue.isProcessing(E)){return $()}this.processModuleDependencies(E,(v=>{if(v){return $(v)}$(null,E)}))}))}_factorizeModule({currentProfile:v,factory:E,dependencies:R,originModule:$,factoryResult:j,contextInfo:N,context:q},G){if(v!==undefined){v.markFactoryStart()}E.create({contextInfo:{issuer:$?$.nameForCondition():"",issuerLayer:$?$.layer:null,compiler:this.compiler.name,...N},resolveOptions:$?$.resolveOptions:undefined,context:q?q:$?$.context:this.compiler.context,dependencies:R},((E,N)=>{if(N){if(N.module===undefined&&N instanceof Ye){N={module:N}}if(!j){const{fileDependencies:v,contextDependencies:E,missingDependencies:R}=N;if(v){this.fileDependencies.addAll(v)}if(E){this.contextDependencies.addAll(E)}if(R){this.missingDependencies.addAll(R)}}}if(E){const v=new st($,E,R.map((v=>v.loc)).filter(Boolean)[0]);return G(v,j?N:undefined)}if(!N){return G()}if(v!==undefined){v.markFactoryEnd()}G(null,j?N:N.module)}))}addModuleChain(v,E,R){return this.addModuleTree({context:v,dependency:E},R)}addModuleTree({context:v,dependency:E,contextInfo:R},$){if(typeof E!=="object"||E===null||!E.constructor){return $(new pt("Parameter 'dependency' must be a Dependency"))}const j=E.constructor;const N=this.dependencyFactories.get(j);if(!N){return $(new pt(`No dependency factory available for this dependency type: ${E.constructor.name}`))}this.handleModuleCreation({factory:N,dependencies:[E],originModule:null,contextInfo:R,context:v},((v,E)=>{if(v&&this.bail){$(v);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else if(!v&&E){$(null,E)}else{$()}}))}addEntry(v,E,R,$){const j=typeof R==="object"?R:{name:R};this._addEntryItem(v,E,"dependencies",j,$)}addInclude(v,E,R,$){this._addEntryItem(v,E,"includeDependencies",R,$)}_addEntryItem(v,E,R,$,j){const{name:N}=$;let q=N!==undefined?this.entries.get(N):this.globalEntry;if(q===undefined){q={dependencies:[],includeDependencies:[],options:{name:undefined,...$}};q[R].push(E);this.entries.set(N,q)}else{q[R].push(E);for(const v of Object.keys($)){if($[v]===undefined)continue;if(q.options[v]===$[v])continue;if(Array.isArray(q.options[v])&&Array.isArray($[v])&&bt(q.options[v],$[v])){continue}if(q.options[v]===undefined){q.options[v]=$[v]}else{return j(new pt(`Conflicting entry option ${v} = ${q.options[v]} vs ${$[v]}`))}}}this.hooks.addEntry.call(E,$);this.addModuleTree({context:v,dependency:E,contextInfo:q.options.layer?{issuerLayer:q.options.layer}:undefined},((v,R)=>{if(v){this.hooks.failedEntry.call(E,$,v);return j(v)}this.hooks.succeedEntry.call(E,$,R);return j(null,R)}))}rebuildModule(v,E){this.rebuildQueue.add(v,E)}_rebuildModule(v,E){this.hooks.rebuildModule.call(v);const R=v.dependencies.slice();const $=v.blocks.slice();v.invalidateBuild();this.buildQueue.invalidate(v);this.buildModule(v,(j=>{if(j){return this.hooks.finishRebuildingModule.callAsync(v,(v=>{if(v){E(Ve(v,"Compilation.hooks.finishRebuildingModule"));return}E(j)}))}this.processDependenciesQueue.invalidate(v);this.moduleGraph.unfreeze();this.processModuleDependencies(v,(j=>{if(j)return E(j);this.removeReasonsOfDependencyBlock(v,{dependencies:R,blocks:$});this.hooks.finishRebuildingModule.callAsync(v,(R=>{if(R){E(Ve(R,"Compilation.hooks.finishRebuildingModule"));return}E(null,v)}))}))}))}_computeAffectedModules(v){const E=this.compiler.moduleMemCaches;if(!E)return;if(!this.moduleMemCaches){this.moduleMemCaches=new Map;this.moduleGraph.setModuleMemCaches(this.moduleMemCaches)}const{moduleGraph:R,moduleMemCaches:$}=this;const j=new Set;const N=new Set;let q=0;let G=0;let ie=0;let ae=0;let ce=0;const computeReferences=v=>{let E=undefined;for(const $ of R.getOutgoingConnections(v)){const v=$.dependency;const R=$.module;if(!v||!R||Wt.has(v))continue;if(E===undefined)E=new WeakMap;E.set(v,R)}return E};const compareReferences=(v,E)=>{if(E===undefined)return true;for(const $ of R.getOutgoingConnections(v)){const v=$.dependency;if(!v)continue;const R=E.get(v);if(R===undefined)continue;if(R!==$.module)return false}return true};const le=new Set(v);for(const[v,R]of E){if(le.has(v)){const q=v.buildInfo;if(q){if(R.buildInfo!==q){const E=new wt;$.set(v,E);j.add(v);R.buildInfo=q;R.references=computeReferences(v);R.memCache=E;G++}else if(!compareReferences(v,R.references)){const E=new wt;$.set(v,E);j.add(v);R.references=computeReferences(v);R.memCache=E;ae++}else{$.set(v,R.memCache);ie++}}else{N.add(v);E.delete(v);ce++}le.delete(v)}else{E.delete(v)}}for(const v of le){const R=v.buildInfo;if(R){const N=new wt;E.set(v,{buildInfo:R,references:computeReferences(v),memCache:N});$.set(v,N);j.add(v);q++}else{N.add(v);ce++}}const reduceAffectType=v=>{let E=false;for(const{dependency:R}of v){if(!R)continue;const v=R.couldAffectReferencingModule();if(v===qe.TRANSITIVE)return qe.TRANSITIVE;if(v===false)continue;E=true}return E};const me=new Set;for(const v of N){for(const[E,$]of R.getIncomingConnectionsByOriginModule(v)){if(!E)continue;if(N.has(E))continue;const v=reduceAffectType($);if(!v)continue;if(v===true){me.add(E)}else{N.add(E)}}}for(const v of me)N.add(v);const _e=new Set;for(const v of j){for(const[q,G]of R.getIncomingConnectionsByOriginModule(v)){if(!q)continue;if(N.has(q))continue;if(j.has(q))continue;const v=reduceAffectType(G);if(!v)continue;if(v===true){_e.add(q)}else{j.add(q)}const R=new wt;const ie=E.get(q);ie.memCache=R;$.set(q,R)}}for(const v of _e)j.add(v);this.logger.log(`${Math.round(100*(j.size+N.size)/this.modules.size)}% (${j.size} affected + ${N.size} infected of ${this.modules.size}) modules flagged as affected (${q} new modules, ${G} changed, ${ae} references changed, ${ie} unchanged, ${ce} were not built)`)}_computeAffectedModulesWithChunkGraph(){const{moduleMemCaches:v}=this;if(!v)return;const E=this.moduleMemCaches2=new Map;const{moduleGraph:R,chunkGraph:$}=this;const j="memCache2";let N=0;let q=0;let G=0;const computeReferences=v=>{const E=$.getModuleId(v);let j=undefined;let N=undefined;const q=R.getOutgoingConnectionsByModule(v);if(q!==undefined){for(const v of q.keys()){if(!v)continue;if(j===undefined)j=new Map;j.set(v,$.getModuleId(v))}}if(v.blocks.length>0){N=[];const E=Array.from(v.blocks);for(const v of E){const R=$.getBlockChunkGroup(v);if(R){for(const v of R.chunks){N.push(v.id)}}else{N.push(null)}E.push.apply(E,v.blocks)}}return{id:E,modules:j,blocks:N}};const compareReferences=(v,{id:E,modules:R,blocks:j})=>{if(E!==$.getModuleId(v))return false;if(R!==undefined){for(const[v,E]of R){if($.getModuleId(v)!==E)return false}}if(j!==undefined){const E=Array.from(v.blocks);let R=0;for(const v of E){const N=$.getBlockChunkGroup(v);if(N){for(const v of N.chunks){if(R>=j.length||j[R++]!==v.id)return false}}else{if(R>=j.length||j[R++]!==null)return false}E.push.apply(E,v.blocks)}if(R!==j.length)return false}return true};for(const[R,$]of v){const v=$.get(j);if(v===undefined){const v=new wt;$.set(j,{references:computeReferences(R),memCache:v});E.set(R,v);G++}else if(!compareReferences(R,v.references)){const $=new wt;v.references=computeReferences(R);v.memCache=$;E.set(R,$);q++}else{E.set(R,v.memCache);N++}}this.logger.log(`${Math.round(100*q/(G+q+N))}% modules flagged as affected by chunk graph (${G} new modules, ${q} changed, ${N} unchanged)`)}finish(v){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const v=R(34312);const E=new v;const $=this.moduleGraph;const j=new Map;for(const v of this.modules){const R=$.getProfile(v);if(!R)continue;j.set(v,R);E.range(R.buildingStartTime,R.buildingEndTime,(v=>R.buildingParallelismFactor=v));E.range(R.factoryStartTime,R.factoryEndTime,(v=>R.factoryParallelismFactor=v));E.range(R.integrationStartTime,R.integrationEndTime,(v=>R.integrationParallelismFactor=v));E.range(R.storingStartTime,R.storingEndTime,(v=>R.storingParallelismFactor=v));E.range(R.restoringStartTime,R.restoringEndTime,(v=>R.restoringParallelismFactor=v));if(R.additionalFactoryTimes){for(const{start:v,end:$}of R.additionalFactoryTimes){const j=($-v)/R.additionalFactories;E.range(v,$,(v=>R.additionalFactoriesParallelismFactor+=v*j))}}}E.calculate();const N=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(v,E)=>{if(v>1e3){N.error(E)}else if(v>500){N.warn(E)}else if(v>200){N.info(E)}else if(v>30){N.log(E)}else{N.debug(E)}};const logNormalSummary=(v,E,R)=>{let $=0;let N=0;for(const[q,G]of j){const j=R(G);const ie=E(G);if(ie===0||j===0)continue;const ae=ie/j;$+=ae;if(ae<=10)continue;logByValue(ae,` | ${Math.round(ae)} ms${j>=1.1?` (parallelism ${Math.round(j*10)/10})`:""} ${v} > ${q.readableIdentifier(this.requestShortener)}`);N=Math.max(N,ae)}if($<=10)return;logByValue(Math.max($/10,N),`${Math.round($)} ms ${v}`)};const logByLoadersSummary=(v,E,R)=>{const $=new Map;for(const[v,E]of j){const R=vt($,v.type+"!"+v.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));R.push({module:v,profile:E})}let N=0;let q=0;for(const[j,G]of $){let $=0;let ie=0;for(const{module:j,profile:N}of G){const q=R(N);const G=E(N);if(G===0||q===0)continue;const ae=G/q;$+=ae;if(ae<=10)continue;logByValue(ae,` | | ${Math.round(ae)} ms${q>=1.1?` (parallelism ${Math.round(q*10)/10})`:""} ${v} > ${j.readableIdentifier(this.requestShortener)}`);ie=Math.max(ie,ae)}N+=$;if($<=10)continue;const ae=j.indexOf("!");const ce=j.slice(ae+1);const le=j.slice(0,ae);const me=Math.max($/10,ie);logByValue(me,` | ${Math.round($)} ms ${v} > ${ce?`${G.length} x ${le} with ${this.requestShortener.shorten(ce)}`:`${G.length} x ${le}`}`);q=Math.max(q,me)}if(N<=10)return;logByValue(Math.max(N/10,q),`${Math.round(N)} ms ${v}`)};logNormalSummary("resolve to new modules",(v=>v.factory),(v=>v.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(v=>v.additionalFactories),(v=>v.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(v=>v.restoring),(v=>v.restoringParallelismFactor));logByLoadersSummary("build modules",(v=>v.building),(v=>v.buildingParallelismFactor));logNormalSummary("store modules",(v=>v.storing),(v=>v.storingParallelismFactor));logNormalSummary("restore modules",(v=>v.restoring),(v=>v.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("compute affected modules");this._computeAffectedModules(this.modules);this.logger.timeEnd("compute affected modules");this.logger.time("finish modules");const{modules:E,moduleMemCaches:$}=this;this.hooks.finishModules.callAsync(E,(R=>{this.logger.timeEnd("finish modules");if(R)return v(R);this.moduleGraph.freeze("dependency errors");this.logger.time("report dependency errors and warnings");for(const v of E){const E=$&&$.get(v);if(E&&E.get("noWarningsOrErrors"))continue;let R=this.reportDependencyErrorsAndWarnings(v,[v]);const j=v.getErrors();if(j!==undefined){for(const E of j){if(!E.module){E.module=v}this.errors.push(E);R=true}}const N=v.getWarnings();if(N!==undefined){for(const E of N){if(!E.module){E.module=v}this.warnings.push(E);R=true}}if(!R&&E)E.set("noWarningsOrErrors",true)}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");v()}))}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes();this.moduleGraph.unfreeze();this.moduleMemCaches2=undefined}seal(v){const finalCallback=E=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return v(E)};const E=new Me(this.moduleGraph,this.outputOptions.hashFunction);this.chunkGraph=E;if(this._backCompat){for(const v of this.modules){Me.setChunkGraphForModule(v,E)}}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();this.moduleGraph.freeze("seal");const R=new Map;for(const[v,{dependencies:$,includeDependencies:j,options:N}]of this.entries){const q=this.addChunk(v);if(N.filename){q.filenameTemplate=N.filename}const G=new Ge(N);if(!N.dependOn&&!N.runtime){G.setRuntimeChunk(q)}G.setEntrypointChunk(q);this.namedChunkGroups.set(v,G);this.entrypoints.set(v,G);this.chunkGroups.push(G);Qe(G,q);const ie=new Set;for(const j of[...this.globalEntry.dependencies,...$]){G.addOrigin(null,{name:v},j.request);const $=this.moduleGraph.getModule(j);if($){E.connectChunkAndEntryModule(q,$,G);ie.add($);const v=R.get(G);if(v===undefined){R.set(G,[$])}else{v.push($)}}}this.assignDepths(ie);const mapAndSort=v=>v.map((v=>this.moduleGraph.getModule(v))).filter(Boolean).sort(Mt);const ae=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort(j)];let ce=R.get(G);if(ce===undefined){R.set(G,ce=[])}for(const v of ae){this.assignDepth(v);ce.push(v)}}const $=new Set;e:for(const[v,{options:{dependOn:E,runtime:R}}]of this.entries){if(E&&R){const E=new pt(`Entrypoint '${v}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const R=this.entrypoints.get(v);E.chunk=R.getEntrypointChunk();this.errors.push(E)}if(E){const R=this.entrypoints.get(v);const $=R.getEntrypointChunk().getAllReferencedChunks();const j=[];for(const N of E){const E=this.entrypoints.get(N);if(!E){throw new Error(`Entry ${v} depends on ${N}, but this entry was not found`)}if($.has(E.getEntrypointChunk())){const E=new pt(`Entrypoints '${v}' and '${N}' use 'dependOn' to depend on each other in a circular way.`);const $=R.getEntrypointChunk();E.chunk=$;this.errors.push(E);R.setRuntimeChunk($);continue e}j.push(E)}for(const v of j){Je(v,R)}}else if(R){const E=this.entrypoints.get(v);let j=this.namedChunks.get(R);if(j){if(!$.has(j)){const $=new pt(`Entrypoint '${v}' has a 'runtime' option which points to another entrypoint named '${R}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(R)}' instead to allow using entrypoint '${v}' within the runtime of entrypoint '${R}'? For this '${R}' must always be loaded when '${v}' is used.\nOr do you want to use the entrypoints '${v}' and '${R}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const j=E.getEntrypointChunk();$.chunk=j;this.errors.push($);E.setRuntimeChunk(j);continue}}else{j=this.addChunk(R);j.preventIntegration=true;$.add(j)}E.unshiftChunk(j);j.addGroup(E);E.setRuntimeChunk(j)}}dt(this,R);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,(E=>{if(E){return finalCallback(Ve(E,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(E=>{if(E){return finalCallback(Ve(E,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const R=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.logger.time("compute affected modules with chunk graph");this._computeAffectedModulesWithChunkGraph();this.logger.timeEnd("compute affected modules with chunk graph");this.sortItemsWithChunkIds();if(R){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration((E=>{if(E){return finalCallback(E)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();const $=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs($,(E=>{if(E){return finalCallback(E)}if(R){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(E=>{if(E){return finalCallback(Ve(E,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=this._backCompat?Ot(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`):Object.freeze(this.assets);this.summarizeDependencies();if(R){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(v)}return this.hooks.afterSeal.callAsync((v=>{if(v){return finalCallback(Ve(v,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((v=>{this.logger.timeEnd("create chunk assets");if(v){return finalCallback(v)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(v,E){let R=false;for(let $=0;$<E.length;$++){const j=E[$];const N=j.dependencies;for(let E=0;E<N.length;E++){const $=N[E];const j=$.getWarnings(this.moduleGraph);if(j){for(let E=0;E<j.length;E++){const N=j[E];const q=new et(v,N,$.loc);this.warnings.push(q);R=true}}const q=$.getErrors(this.moduleGraph);if(q){for(let E=0;E<q.length;E++){const j=q[E];const N=new Ze(v,j,$.loc);this.errors.push(N);R=true}}}if(this.reportDependencyErrorsAndWarnings(v,j.blocks))R=true}return R}codeGeneration(v){const{chunkGraph:E}=this;this.codeGenerationResults=new Le(this.outputOptions.hashFunction);const R=[];for(const v of this.modules){const $=E.getModuleRuntimes(v);if($.size===1){for(const j of $){const $=E.getModuleHash(v,j);R.push({module:v,hash:$,runtime:j,runtimes:[j]})}}else if($.size>1){const j=new Map;for(const N of $){const $=E.getModuleHash(v,N);const q=j.get($);if(q===undefined){const E={module:v,hash:$,runtime:N,runtimes:[N]};R.push(E);j.set($,E)}else{q.runtimes.push(N)}}}}this._runCodeGenerationJobs(R,v)}_runCodeGenerationJobs(v,E){let R=0;let j=0;const{chunkGraph:N,moduleGraph:q,dependencyTemplates:G,runtimeTemplate:ie}=this;const ae=this.codeGenerationResults;const ce=[];let le=undefined;const runIteration=()=>{let me=[];let _e=new Set;$.eachLimit(v,this.options.parallelism,((v,E)=>{const{module:$}=v;const{codeGenerationDependencies:Ie}=$;if(Ie!==undefined){if(le===undefined||Ie.some((v=>{const E=q.getModule(v);return le.has(E)}))){me.push(v);_e.add($);return E()}}const{hash:Me,runtime:Oe,runtimes:Te}=v;this._codeGenerationModule($,Oe,Te,Me,G,N,q,ie,ce,ae,((v,$)=>{if($)j++;else R++;E(v)}))}),($=>{if($)return E($);if(me.length>0){if(me.length===v.length){return E(new Error(`Unable to make progress during code generation because of circular code generation dependency: ${Array.from(_e,(v=>v.identifier())).join(", ")}`))}v=me;me=[];le=_e;_e=new Set;return runIteration()}if(ce.length>0){ce.sort(_t((v=>v.module),Mt));for(const v of ce){this.errors.push(v)}}this.logger.log(`${Math.round(100*j/(j+R))}% code generated (${j} generated, ${R} from cache)`);E()}))};runIteration()}_codeGenerationModule(v,E,R,$,j,N,q,G,ie,ae,ce){let le=false;const me=new _e(R.map((E=>this._codeGenerationCache.getItemCache(`${v.identifier()}|${Tt(E)}`,`${$}|${j.getHash()}`))));me.get((($,_e)=>{if($)return ce($);let Ie;if(!_e){try{le=true;this.codeGeneratedModules.add(v);Ie=v.codeGeneration({chunkGraph:N,moduleGraph:q,dependencyTemplates:j,runtimeTemplate:G,runtime:E,codeGenerationResults:ae,compilation:this})}catch($){ie.push(new Be(v,$));Ie=_e={sources:new Map,runtimeRequirements:null}}}else{Ie=_e}for(const E of R){ae.add(v,E,Ie)}if(!_e){me.store(Ie,(v=>ce(v,le)))}else{ce(null,le)}}))}_getChunkGraphEntries(){const v=new Set;for(const E of this.entrypoints.values()){const R=E.getRuntimeChunk();if(R)v.add(R)}for(const E of this.asyncEntrypoints){const R=E.getRuntimeChunk();if(R)v.add(R)}return v}processRuntimeRequirements({chunkGraph:v=this.chunkGraph,modules:E=this.modules,chunks:R=this.chunks,codeGenerationResults:$=this.codeGenerationResults,chunkGraphEntries:j=this._getChunkGraphEntries()}={}){const N={chunkGraph:v,codeGenerationResults:$};const{moduleMemCaches2:q}=this;this.logger.time("runtime requirements.modules");const G=this.hooks.additionalModuleRuntimeRequirements;const ie=this.hooks.runtimeRequirementInModule;for(const R of E){if(v.getNumberOfModuleChunks(R)>0){const E=q&&q.get(R);for(const j of v.getModuleRuntimes(R)){if(E){const $=E.get(`moduleRuntimeRequirements-${Tt(j)}`);if($!==undefined){if($!==null){v.addModuleRuntimeRequirements(R,j,$,false)}continue}}let q;const ae=$.getRuntimeRequirements(R,j);if(ae&&ae.size>0){q=new Set(ae)}else if(G.isUsed()){q=new Set}else{if(E){E.set(`moduleRuntimeRequirements-${Tt(j)}`,null)}continue}G.call(R,q,N);for(const v of q){const E=ie.get(v);if(E!==undefined)E.call(R,q,N)}if(q.size===0){if(E){E.set(`moduleRuntimeRequirements-${Tt(j)}`,null)}}else{if(E){E.set(`moduleRuntimeRequirements-${Tt(j)}`,q);v.addModuleRuntimeRequirements(R,j,q,false)}else{v.addModuleRuntimeRequirements(R,j,q)}}}}}this.logger.timeEnd("runtime requirements.modules");this.logger.time("runtime requirements.chunks");for(const E of R){const R=new Set;for(const $ of v.getChunkModulesIterable(E)){const j=v.getModuleRuntimeRequirements($,E.runtime);for(const v of j)R.add(v)}this.hooks.additionalChunkRuntimeRequirements.call(E,R,N);for(const v of R){this.hooks.runtimeRequirementInChunk.for(v).call(E,R,N)}v.addChunkRuntimeRequirements(E,R)}this.logger.timeEnd("runtime requirements.chunks");this.logger.time("runtime requirements.entries");for(const E of j){const R=new Set;for(const $ of E.getAllReferencedChunks()){const E=v.getChunkRuntimeRequirements($);for(const v of E)R.add(v)}this.hooks.additionalTreeRuntimeRequirements.call(E,R,N);for(const v of R){this.hooks.runtimeRequirementInTree.for(v).call(E,R,N)}v.addTreeRuntimeRequirements(E,R)}this.logger.timeEnd("runtime requirements.entries")}addRuntimeModule(v,E,R=this.chunkGraph){if(this._backCompat)tt.setModuleGraphForModule(E,this.moduleGraph);this.modules.add(E);this._modules.set(E.identifier(),E);R.connectChunkAndModule(v,E);R.connectChunkAndRuntimeModule(v,E);if(E.fullHash){R.addFullHashModuleToChunk(v,E)}else if(E.dependentHash){R.addDependentHashModuleToChunk(v,E)}E.attach(this,v,R);const $=this.moduleGraph.getExportsInfo(E);$.setHasProvideInfo();if(typeof v.runtime==="string"){$.setUsedForSideEffectsOnly(v.runtime)}else if(v.runtime===undefined){$.setUsedForSideEffectsOnly(undefined)}else{for(const E of v.runtime){$.setUsedForSideEffectsOnly(E)}}R.addModuleRuntimeRequirements(E,v.runtime,new Set([ct.requireScope]));R.setModuleId(E,"");this.hooks.runtimeModule.call(E,v)}addChunkInGroup(v,E,R,$){if(typeof v==="string"){v={name:v}}const j=v.name;if(j){const N=this.namedChunkGroups.get(j);if(N!==undefined){N.addOptions(v);if(E){N.addOrigin(E,R,$)}return N}}const N=new Oe(v);if(E)N.addOrigin(E,R,$);const q=this.addChunk(j);Qe(N,q);this.chunkGroups.push(N);if(j){this.namedChunkGroups.set(j,N)}return N}addAsyncEntrypoint(v,E,R,$){const j=v.name;if(j){const v=this.namedChunkGroups.get(j);if(v instanceof Ge){if(v!==undefined){if(E){v.addOrigin(E,R,$)}return v}}else if(v){throw new Error(`Cannot add an async entrypoint with the name '${j}', because there is already an chunk group with this name`)}}const N=this.addChunk(j);if(v.filename){N.filenameTemplate=v.filename}const q=new Ge(v,false);q.setRuntimeChunk(N);q.setEntrypointChunk(N);if(j){this.namedChunkGroups.set(j,q)}this.chunkGroups.push(q);this.asyncEntrypoints.push(q);Qe(q,N);if(E){q.addOrigin(E,R,$)}return q}addChunk(v){if(v){const E=this.namedChunks.get(v);if(E!==undefined){return E}}const E=new Ie(v,this._backCompat);this.chunks.add(E);if(this._backCompat)Me.setChunkGraphForChunk(E,this.chunkGraph);if(v){this.namedChunks.set(v,E)}return E}assignDepth(v){const E=this.moduleGraph;const R=new Set([v]);let $;E.setDepth(v,0);const processModule=v=>{if(!E.setDepthIfLower(v,$))return;R.add(v)};for(v of R){R.delete(v);$=E.getDepth(v)+1;for(const R of E.getOutgoingConnections(v)){const v=R.module;if(v){processModule(v)}}}}assignDepths(v){const E=this.moduleGraph;const R=new Set(v);R.add(1);let $=0;let j=0;for(const v of R){j++;if(typeof v==="number"){$=v;if(R.size===j)return;R.add($+1)}else{E.setDepth(v,$);for(const{module:$}of E.getOutgoingConnections(v)){if($){R.add($)}}}}}getDependencyReferencedExports(v,E){const R=v.getReferencedExports(this.moduleGraph,E);return this.hooks.dependencyReferencedExports.call(R,v,E)}removeReasonsOfDependencyBlock(v,E){if(E.blocks){for(const R of E.blocks){this.removeReasonsOfDependencyBlock(v,R)}}if(E.dependencies){for(const v of E.dependencies){const E=this.moduleGraph.getModule(v);if(E){this.moduleGraph.removeConnection(v);if(this.chunkGraph){for(const v of this.chunkGraph.getModuleChunks(E)){this.patchChunksAfterReasonRemoval(E,v)}}}}}}patchChunksAfterReasonRemoval(v,E){if(!v.hasReasons(this.moduleGraph,E.runtime)){this.removeReasonsOfDependencyBlock(v,v)}if(!v.hasReasonForChunk(E,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(v,E)){this.chunkGraph.disconnectChunkAndModule(E,v);this.removeChunkFromDependencies(v,E)}}}removeChunkFromDependencies(v,E){const iteratorDependency=v=>{const R=this.moduleGraph.getModule(v);if(!R){return}this.patchChunksAfterReasonRemoval(R,E)};const R=v.blocks;for(let E=0;E<R.length;E++){const $=R[E];const j=this.chunkGraph.getBlockChunkGroup($);const N=j.chunks;for(let E=0;E<N.length;E++){const R=N[E];j.removeChunk(R);this.removeChunkFromDependencies(v,R)}}if(v.dependencies){for(const E of v.dependencies)iteratorDependency(E)}}assignRuntimeIds(){const{chunkGraph:v}=this;const processEntrypoint=E=>{const R=E.options.runtime||E.name;const $=E.getRuntimeChunk();v.setRuntimeId(R,$.id)};for(const v of this.entrypoints.values()){processEntrypoint(v)}for(const v of this.asyncEntrypoints){processEntrypoint(v)}}sortItemsWithChunkIds(){for(const v of this.chunkGroups){v.sortItems()}this.errors.sort(Ht);this.warnings.sort(Ht);this.children.sort(qt)}summarizeDependencies(){for(let v=0;v<this.children.length;v++){const E=this.children[v];this.fileDependencies.addAll(E.fileDependencies);this.contextDependencies.addAll(E.contextDependencies);this.missingDependencies.addAll(E.missingDependencies);this.buildDependencies.addAll(E.buildDependencies)}for(const v of this.modules){v.addCacheDependencies(this.fileDependencies,this.contextDependencies,this.missingDependencies,this.buildDependencies)}}createModuleHashes(){let v=0;let E=0;const{chunkGraph:R,runtimeTemplate:$,moduleMemCaches2:j}=this;const{hashFunction:N,hashDigest:q,hashDigestLength:G}=this.outputOptions;const ie=[];for(const ae of this.modules){const ce=j&&j.get(ae);for(const j of R.getModuleRuntimes(ae)){if(ce){const v=ce.get(`moduleHash-${Tt(j)}`);if(v!==undefined){R.setModuleHashes(ae,j,v,v.slice(0,G));E++;continue}}v++;const le=this._createModuleHash(ae,R,j,N,$,q,G,ie);if(ce){ce.set(`moduleHash-${Tt(j)}`,le)}}}if(ie.length>0){ie.sort(_t((v=>v.module),Mt));for(const v of ie){this.errors.push(v)}}this.logger.log(`${v} modules hashed, ${E} from cache (${Math.round(100*(v+E)/this.modules.size)/100} variants per module in average)`)}_createModuleHash(v,E,R,$,j,N,q,G){let ie;try{const q=Pt($);v.updateHash(q,{chunkGraph:E,runtime:R,runtimeTemplate:j});ie=q.digest(N)}catch(E){G.push(new nt(v,E));ie="XXXXXX"}E.setModuleHashes(v,R,ie,ie.slice(0,q));return ie}createHash(){this.logger.time("hashing: initialize hash");const v=this.chunkGraph;const E=this.runtimeTemplate;const R=this.outputOptions;const $=R.hashFunction;const j=R.hashDigest;const N=R.hashDigestLength;const q=Pt($);if(R.hashSalt){q.update(R.hashSalt)}this.logger.timeEnd("hashing: initialize hash");if(this.children.length>0){this.logger.time("hashing: hash child compilations");for(const v of this.children){q.update(v.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const v of this.warnings){q.update(`${v.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const v of this.errors){q.update(`${v.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const G=[];const ie=[];for(const v of this.chunks){if(v.hasRuntime()){G.push(v)}else{ie.push(v)}}G.sort(Lt);ie.sort(Lt);const ae=new Map;for(const v of G){ae.set(v,{chunk:v,referencedBy:[],remaining:0})}let ce=0;for(const v of ae.values()){for(const E of new Set(Array.from(v.chunk.getAllReferencedAsyncEntrypoints()).map((v=>v.chunks[v.chunks.length-1])))){const R=ae.get(E);R.referencedBy.push(v);v.remaining++;ce++}}const le=[];for(const v of ae.values()){if(v.remaining===0){le.push(v.chunk)}}if(ce>0){const E=[];for(const R of le){const $=v.getNumberOfChunkFullHashModules(R)!==0;const j=ae.get(R);for(const R of j.referencedBy){if($){v.upgradeDependentToFullHashModules(R.chunk)}ce--;if(--R.remaining===0){E.push(R.chunk)}}if(E.length>0){E.sort(Lt);for(const v of E)le.push(v);E.length=0}}}if(ce>0){let v=[];for(const E of ae.values()){if(E.remaining!==0){v.push(E)}}v.sort(_t((v=>v.chunk),Lt));const E=new pt(`Circular dependency between chunks with runtime (${Array.from(v,(v=>v.chunk.name||v.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);E.chunk=v[0].chunk;this.warnings.push(E);for(const E of v)le.push(E.chunk)}this.logger.timeEnd("hashing: sort chunks");const me=new Set;const _e=[];const Ie=new Map;const Me=[];const processChunk=G=>{this.logger.time("hashing: hash runtime modules");const ie=G.runtime;for(const R of v.getChunkModulesIterable(G)){if(!v.hasModuleHashes(R,ie)){const q=this._createModuleHash(R,v,ie,$,E,j,N,Me);let G=Ie.get(q);if(G){const v=G.get(R);if(v){v.runtimes.push(ie);continue}}else{G=new Map;Ie.set(q,G)}const ae={module:R,hash:q,runtime:ie,runtimes:[ie]};G.set(R,ae);_e.push(ae)}}this.logger.timeAggregate("hashing: hash runtime modules");try{this.logger.time("hashing: hash chunks");const E=Pt($);if(R.hashSalt){E.update(R.hashSalt)}G.updateHash(E,v);this.hooks.chunkHash.call(G,E,{chunkGraph:v,codeGenerationResults:this.codeGenerationResults,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const ie=E.digest(j);q.update(ie);G.hash=ie;G.renderedHash=G.hash.slice(0,N);const ae=v.getChunkFullHashModulesIterable(G);if(ae){me.add(G)}else{this.hooks.contentHash.call(G)}}catch(v){this.errors.push(new Te(G,"",v))}this.logger.timeAggregate("hashing: hash chunks")};ie.forEach(processChunk);for(const v of le)processChunk(v);if(Me.length>0){Me.sort(_t((v=>v.module),Mt));for(const v of Me){this.errors.push(v)}}this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(q);this.fullHash=q.digest(j);this.hash=this.fullHash.slice(0,N);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const R of me){for(const q of v.getChunkFullHashModulesIterable(R)){const G=Pt($);q.updateHash(G,{chunkGraph:v,runtime:R.runtime,runtimeTemplate:E});const ie=G.digest(j);const ae=v.getModuleHash(q,R.runtime);v.setModuleHashes(q,R.runtime,ie,ie.slice(0,N));Ie.get(ae).get(q).hash=ie}const q=Pt($);q.update(R.hash);q.update(this.hash);const G=q.digest(j);R.hash=G;R.renderedHash=R.hash.slice(0,N);this.hooks.contentHash.call(R)}this.logger.timeEnd("hashing: process full hash modules");return _e}emitAsset(v,E,R={}){if(this.assets[v]){if(!Ft(this.assets[v],E)){this.errors.push(new pt(`Conflict: Multiple assets emit different content to the same filename ${v}${R.sourceFilename?`. Original source ${R.sourceFilename}`:""}`));this.assets[v]=E;this._setAssetInfo(v,R);return}const $=this.assetsInfo.get(v);const j=Object.assign({},$,R);this._setAssetInfo(v,j,$);return}this.assets[v]=E;this._setAssetInfo(v,R,undefined)}_setAssetInfo(v,E,R=this.assetsInfo.get(v)){if(E===undefined){this.assetsInfo.delete(v)}else{this.assetsInfo.set(v,E)}const $=R&&R.related;const j=E&&E.related;if($){for(const E of Object.keys($)){const remove=R=>{const $=this._assetsRelatedIn.get(R);if($===undefined)return;const j=$.get(E);if(j===undefined)return;j.delete(v);if(j.size!==0)return;$.delete(E);if($.size===0)this._assetsRelatedIn.delete(R)};const R=$[E];if(Array.isArray(R)){R.forEach(remove)}else if(R){remove(R)}}}if(j){for(const E of Object.keys(j)){const add=R=>{let $=this._assetsRelatedIn.get(R);if($===undefined){this._assetsRelatedIn.set(R,$=new Map)}let j=$.get(E);if(j===undefined){$.set(E,j=new Set)}j.add(v)};const R=j[E];if(Array.isArray(R)){R.forEach(add)}else if(R){add(R)}}}}updateAsset(v,E,R=undefined){if(!this.assets[v]){throw new Error(`Called Compilation.updateAsset for not existing filename ${v}`)}if(typeof E==="function"){this.assets[v]=E(this.assets[v])}else{this.assets[v]=E}if(R!==undefined){const E=this.assetsInfo.get(v)||jt;if(typeof R==="function"){this._setAssetInfo(v,R(E),E)}else{this._setAssetInfo(v,Ct(E,R),E)}}}renameAsset(v,E){const R=this.assets[v];if(!R){throw new Error(`Called Compilation.renameAsset for not existing filename ${v}`)}if(this.assets[E]){if(!Ft(this.assets[v],R)){this.errors.push(new pt(`Conflict: Called Compilation.renameAsset for already existing filename ${E} with different content`))}}const $=this.assetsInfo.get(v);const j=this._assetsRelatedIn.get(v);if(j){for(const[R,$]of j){for(const j of $){const $=this.assetsInfo.get(j);if(!$)continue;const N=$.related;if(!N)continue;const q=N[R];let G;if(Array.isArray(q)){G=q.map((R=>R===v?E:R))}else if(q===v){G=E}else continue;this.assetsInfo.set(j,{...$,related:{...N,[R]:G}})}}}this._setAssetInfo(v,undefined,$);this._setAssetInfo(E,$);delete this.assets[v];this.assets[E]=R;for(const R of this.chunks){{const $=R.files.size;R.files.delete(v);if($!==R.files.size){R.files.add(E)}}{const $=R.auxiliaryFiles.size;R.auxiliaryFiles.delete(v);if($!==R.auxiliaryFiles.size){R.auxiliaryFiles.add(E)}}}}deleteAsset(v){if(!this.assets[v]){return}delete this.assets[v];const E=this.assetsInfo.get(v);this._setAssetInfo(v,undefined,E);const R=E&&E.related;if(R){for(const v of Object.keys(R)){const checkUsedAndDelete=v=>{if(!this._assetsRelatedIn.has(v)){this.deleteAsset(v)}};const E=R[v];if(Array.isArray(E)){E.forEach(checkUsedAndDelete)}else if(E){checkUsedAndDelete(E)}}}for(const E of this.chunks){E.files.delete(v);E.auxiliaryFiles.delete(v)}}getAssets(){const v=[];for(const E of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,E)){v.push({name:E,source:this.assets[E],info:this.assetsInfo.get(E)||jt})}}return v}getAsset(v){if(!Object.prototype.hasOwnProperty.call(this.assets,v))return undefined;return{name:v,source:this.assets[v],info:this.assetsInfo.get(v)||jt}}clearAssets(){for(const v of this.chunks){v.files.clear();v.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:v}=this;for(const E of this.modules){if(E.buildInfo.assets){const R=E.buildInfo.assetsInfo;for(const $ of Object.keys(E.buildInfo.assets)){const j=this.getPath($,{chunkGraph:this.chunkGraph,module:E});for(const R of v.getModuleChunksIterable(E)){R.auxiliaryFiles.add(j)}this.emitAsset(j,E.buildInfo.assets[$],R?R.get($):undefined);this.hooks.moduleAsset.call(E,j)}}}}getRenderManifest(v){return this.hooks.renderManifest.call([],v)}createChunkAssets(v){const E=this.outputOptions;const R=new WeakMap;const j=new Map;$.forEachLimit(this.chunks,15,((v,N)=>{let q;try{q=this.getRenderManifest({chunk:v,hash:this.hash,fullHash:this.fullHash,outputOptions:E,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(E){this.errors.push(new Te(v,"",E));return N()}$.forEach(q,((E,$)=>{const N=E.identifier;const q=E.hash;const G=this._assetsCache.getItemCache(N,q);G.get(((N,ie)=>{let ae;let ce;let le;let _e=true;const errorAndCallback=E=>{const R=ce||(typeof ce==="string"?ce:typeof ae==="string"?ae:"");this.errors.push(new Te(v,R,E));_e=false;return $()};try{if("filename"in E){ce=E.filename;le=E.info}else{ae=E.filenameTemplate;const v=this.getPathWithInfo(ae,E.pathOptions);ce=v.path;le=E.info?{...v.info,...E.info}:v.info}if(N){return errorAndCallback(N)}let Ie=ie;const Me=j.get(ce);if(Me!==undefined){if(Me.hash!==q){_e=false;return $(new pt(`Conflict: Multiple chunks emit assets to the same filename ${ce}`+` (chunks ${Me.chunk.id} and ${v.id})`))}else{Ie=Me.source}}else if(!Ie){Ie=E.render();if(!(Ie instanceof me)){const v=R.get(Ie);if(v){Ie=v}else{const v=new me(Ie);R.set(Ie,v);Ie=v}}}this.emitAsset(ce,Ie,le);if(E.auxiliary){v.auxiliaryFiles.add(ce)}else{v.files.add(ce)}this.hooks.chunkAsset.call(v,ce);j.set(ce,{hash:q,source:Ie,chunk:v});if(Ie!==ie){G.store(Ie,(v=>{if(v)return errorAndCallback(v);_e=false;return $()}))}else{_e=false;$()}}catch(N){if(!_e)throw N;errorAndCallback(N)}}))}),N)}),v)}getPath(v,E={}){if(!E.hash){E={hash:this.hash,...E}}return this.getAssetPath(v,E)}getPathWithInfo(v,E={}){if(!E.hash){E={hash:this.hash,...E}}return this.getAssetPathWithInfo(v,E)}getAssetPath(v,E){return this.hooks.assetPath.call(typeof v==="function"?v(E):v,E,undefined)}getAssetPathWithInfo(v,E){const R={};const $=this.hooks.assetPath.call(typeof v==="function"?v(E,R):v,E,R);return{path:$,info:R}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(v,E,R){const $=this.childrenCounters[v]||0;this.childrenCounters[v]=$+1;return this.compiler.createChildCompiler(this,v,$,E,R)}executeModule(v,E,R){const j=new Set([v]);$t(j,10,((v,E,R)=>{this.buildQueue.waitFor(v,($=>{if($)return R($);this.processDependenciesQueue.waitFor(v,($=>{if($)return R($);for(const{module:R}of this.moduleGraph.getOutgoingConnections(v)){const v=j.size;j.add(R);if(j.size!==v)E(R)}R()}))}))}),(N=>{if(N)return R(N);const q=new Me(this.moduleGraph,this.outputOptions.hashFunction);const G="build time";const{hashFunction:ie,hashDigest:ae,hashDigestLength:ce}=this.outputOptions;const le=this.runtimeTemplate;const me=new Ie("build time chunk",this._backCompat);me.id=me.name;me.ids=[me.id];me.runtime=G;const _e=new Ge({runtime:G,chunkLoading:false,...E.entryOptions});q.connectChunkAndEntryModule(me,v,_e);Qe(_e,me);_e.setRuntimeChunk(me);_e.setEntrypointChunk(me);const Oe=new Set([me]);for(const v of j){const E=v.identifier();q.setModuleId(v,E);q.connectChunkAndModule(me,v)}const Te=[];for(const v of j){this._createModuleHash(v,q,G,ie,le,ae,ce,Te)}const Ne=new Le(this.outputOptions.hashFunction);const codeGen=(v,E)=>{this._codeGenerationModule(v,G,[G],q.getModuleHash(v,G),this.dependencyTemplates,q,this.moduleGraph,le,Te,Ne,((v,R)=>{E(v)}))};const reportErrors=()=>{if(Te.length>0){Te.sort(_t((v=>v.module),Mt));for(const v of Te){this.errors.push(v)}Te.length=0}};$.eachLimit(j,10,codeGen,(E=>{if(E)return R(E);reportErrors();const N=this.chunkGraph;this.chunkGraph=q;this.processRuntimeRequirements({chunkGraph:q,modules:j,chunks:Oe,codeGenerationResults:Ne,chunkGraphEntries:Oe});this.chunkGraph=N;const _e=q.getChunkRuntimeModulesIterable(me);for(const v of _e){j.add(v);this._createModuleHash(v,q,G,ie,le,ae,ce)}$.eachLimit(_e,10,codeGen,(E=>{if(E)return R(E);reportErrors();const N=new Map;const ie=new Map;const ae=new kt;const ce=new kt;const le=new kt;const _e=new kt;const Ie=new Map;let Me=true;const Oe={assets:Ie,__webpack_require__:undefined,chunk:me,chunkGraph:q};$.eachLimit(j,10,((v,E)=>{const R=Ne.get(v,G);const $={module:v,codeGenerationResult:R,preparedInfo:undefined,moduleObject:undefined};N.set(v,$);ie.set(v.identifier(),$);v.addCacheDependencies(ae,ce,le,_e);if(v.buildInfo.cacheable===false){Me=false}if(v.buildInfo&&v.buildInfo.assets){const{assets:E,assetsInfo:R}=v.buildInfo;for(const v of Object.keys(E)){Ie.set(v,{source:E[v],info:R?R.get(v):undefined})}}this.hooks.prepareModuleExecution.callAsync($,Oe,E)}),(E=>{if(E)return R(E);let $;try{const{strictModuleErrorHandling:E,strictModuleExceptionHandling:R}=this.outputOptions;const __nested_webpack_require_153265__=v=>{const E=G[v];if(E!==undefined){if(E.error)throw E.error;return E.exports}const R=ie.get(v);return __webpack_require_module__(R,v)};const j=__nested_webpack_require_153265__[ct.interceptModuleExecution.replace("__webpack_require__.","")]=[];const G=__nested_webpack_require_153265__[ct.moduleCache.replace("__webpack_require__.","")]={};Oe.__webpack_require__=__nested_webpack_require_153265__;const __webpack_require_module__=(v,$)=>{var N={id:$,module:{id:$,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_153265__};j.forEach((v=>v(N)));const q=v.module;this.buildTimeExecutedModules.add(q);const ie=N.module;v.moduleObject=ie;try{if($)G[$]=ie;Ke((()=>this.hooks.executeModule.call(v,Oe)),"Compilation.hooks.executeModule");ie.loaded=true;return ie.exports}catch(v){if(R){if($)delete G[$]}else if(E){ie.error=v}if(!v.module)v.module=q;throw v}};for(const v of q.getChunkRuntimeModulesInOrder(me)){__webpack_require_module__(N.get(v))}$=__nested_webpack_require_153265__(v.identifier())}catch(E){const $=new pt(`Execution of module code from module graph (${v.readableIdentifier(this.requestShortener)}) failed: ${E.message}`);$.stack=E.stack;$.module=E.module;return R($)}R(null,{exports:$,assets:Ie,cacheable:Me,fileDependencies:ae,contextDependencies:ce,missingDependencies:le,buildDependencies:_e})}))}))}))}))}checkConstraints(){const v=this.chunkGraph;const E=new Set;for(const R of this.modules){if(R.type==="runtime")continue;const $=v.getModuleId(R);if($===null)continue;if(E.has($)){throw new Error(`checkConstraints: duplicate module id ${$}`)}E.add($)}for(const E of this.chunks){for(const R of v.getChunkModulesIterable(E)){if(!this.modules.has(R)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${E.debugId} ${R.debugId}`)}}for(const R of v.getChunkEntryModulesIterable(E)){if(!this.modules.has(R)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${E.debugId} ${R.debugId}`)}}}for(const v of this.chunkGroups){v.checkConstraints()}}}Compilation.prototype.factorizeModule=function(v,E){this.factorizeQueue.add(v,E)};const Jt=Compilation.prototype;Object.defineProperty(Jt,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(Jt,"cache",{enumerable:false,configurable:false,get:le.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:le.deprecate((v=>{}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;v.exports=Compilation},33603:function(v,E,R){"use strict";const $=R(54650);const j=R(78175);const{SyncHook:N,SyncBailHook:q,AsyncParallelHook:G,AsyncSeriesHook:ie}=R(79846);const{SizeOnlySource:ae}=R(51255);const ce=R(47555);const le=R(19350);const me=R(59147);const _e=R(24324);const Ie=R(47042);const Me=R(74901);const Oe=R(18516);const Te=R(25688);const Ne=R(18885);const Be=R(1974);const Le=R(38650);const qe=R(27079);const Ue=R(89674);const Ge=R(85969);const{Logger:He}=R(20392);const{join:We,dirname:Qe,mkdirp:Je}=R(4115);const{makePathsRelative:Ve}=R(33553);const{isSourceEqual:Ke}=R(36923);const isSorted=v=>{for(let E=1;E<v.length;E++){if(v[E-1]>v[E])return false}return true};const sortObject=(v,E)=>{const R={};for(const $ of E.sort()){R[$]=v[$]}return R};const includesHash=(v,E)=>{if(!E)return false;if(Array.isArray(E)){return E.some((E=>v.includes(E)))}else{return v.includes(E)}};class Compiler{constructor(v,E={}){this.hooks=Object.freeze({initialize:new N([]),shouldEmit:new q(["compilation"]),done:new ie(["stats"]),afterDone:new N(["stats"]),additionalPass:new ie([]),beforeRun:new ie(["compiler"]),run:new ie(["compiler"]),emit:new ie(["compilation"]),assetEmitted:new ie(["file","info"]),afterEmit:new ie(["compilation"]),thisCompilation:new N(["compilation","params"]),compilation:new N(["compilation","params"]),normalModuleFactory:new N(["normalModuleFactory"]),contextModuleFactory:new N(["contextModuleFactory"]),beforeCompile:new ie(["params"]),compile:new N(["params"]),make:new G(["compilation"]),finishMake:new ie(["compilation"]),afterCompile:new ie(["compilation"]),readRecords:new ie([]),emitRecords:new ie([]),watchRun:new ie(["compiler"]),failed:new N(["error"]),invalid:new N(["filename","changeTime"]),watchClose:new N([]),shutdown:new ie([]),infrastructureLog:new q(["origin","type","args"]),environment:new N([]),afterEnvironment:new N([]),afterPlugins:new N(["compiler"]),afterResolvers:new N(["compiler"]),entryOption:new q(["context","entry"])});this.webpack=ce;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.fsStartTime=undefined;this.resolverFactory=new Le;this.infrastructureLogger=undefined;this.options=E;this.context=v;this.requestShortener=new Be(v,this.root);this.cache=new le;this.moduleMemCaches=undefined;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._backCompat=this.options.experiments.backCompat!==false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(v){return new me(this.cache,`${this.compilerPath}${v}`,this.options.output.hashFunction)}getInfrastructureLogger(v){if(!v){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new He(((E,R)=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(v,E,R)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(v,E,R)}}}),(E=>{if(typeof v==="function"){if(typeof E==="function"){return this.getInfrastructureLogger((()=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof E==="function"){E=E();if(!E){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${v}/${E}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof v==="function"){v=v();if(!v){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${v}/${E}`}))}}else{if(typeof E==="function"){return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${v}/${E}`}))}else{return this.getInfrastructureLogger(`${v}/${E}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const v of this._lastCompilation.modules){_e.clearChunkGraphForModule(v);Te.clearModuleGraphForModule(v);v.cleanupForCache()}for(const v of this._lastCompilation.chunks){_e.clearChunkGraphForChunk(v)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(v,E){if(this.running){return E(new Me)}this.running=true;this.watchMode=true;this.watching=new Ue(this,v,E);return this.watching}run(v){if(this.running){return v(new Me)}let E;const finalCallback=(R,$)=>{if(E)E.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(E)E.timeEnd("beginIdle");this.running=false;if(R){this.hooks.failed.call(R)}if(v!==undefined)v(R,$);this.hooks.afterDone.call($)};const R=Date.now();this.running=true;const onCompiled=(v,$)=>{if(v)return finalCallback(v);if(this.hooks.shouldEmit.call($)===false){$.startTime=R;$.endTime=Date.now();const v=new qe($);this.hooks.done.callAsync(v,(E=>{if(E)return finalCallback(E);return finalCallback(null,v)}));return}process.nextTick((()=>{E=$.getLogger("webpack.Compiler");E.time("emitAssets");this.emitAssets($,(v=>{E.timeEnd("emitAssets");if(v)return finalCallback(v);if($.hooks.needAdditionalPass.call()){$.needAdditionalPass=true;$.startTime=R;$.endTime=Date.now();E.time("done hook");const v=new qe($);this.hooks.done.callAsync(v,(v=>{E.timeEnd("done hook");if(v)return finalCallback(v);this.hooks.additionalPass.callAsync((v=>{if(v)return finalCallback(v);this.compile(onCompiled)}))}));return}E.time("emitRecords");this.emitRecords((v=>{E.timeEnd("emitRecords");if(v)return finalCallback(v);$.startTime=R;$.endTime=Date.now();E.time("done hook");const j=new qe($);this.hooks.done.callAsync(j,(v=>{E.timeEnd("done hook");if(v)return finalCallback(v);this.cache.storeBuildDependencies($.buildDependencies,(v=>{if(v)return finalCallback(v);return finalCallback(null,j)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(v=>{if(v)return finalCallback(v);this.hooks.run.callAsync(this,(v=>{if(v)return finalCallback(v);this.readRecords((v=>{if(v)return finalCallback(v);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((v=>{if(v)return finalCallback(v);this.idle=false;run()}))}else{run()}}runAsChild(v){const E=Date.now();const finalCallback=(E,R,$)=>{try{v(E,R,$)}catch(v){const E=new Ge(`compiler.runAsChild callback error: ${v}`);E.details=v.stack;this.parentCompilation.errors.push(E)}};this.compile(((v,R)=>{if(v)return finalCallback(v);this.parentCompilation.children.push(R);for(const{name:v,source:E,info:$}of R.getAssets()){this.parentCompilation.emitAsset(v,E,$)}const $=[];for(const v of R.entrypoints.values()){$.push(...v.chunks)}R.startTime=E;R.endTime=Date.now();return finalCallback(null,$,R)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(v,E){let R;const emitFiles=$=>{if($)return E($);const N=v.getAssets();v.assets={...v.assets};const q=new Map;const G=new Set;j.forEachLimit(N,15,(({name:E,source:$,info:j},N)=>{let ie=E;let ce=j.immutable;const le=ie.indexOf("?");if(le>=0){ie=ie.slice(0,le);ce=ce&&(includesHash(ie,j.contenthash)||includesHash(ie,j.chunkhash)||includesHash(ie,j.modulehash)||includesHash(ie,j.fullhash))}const writeOut=j=>{if(j)return N(j);const le=We(this.outputFileSystem,R,ie);G.add(le);const me=this._assetEmittingWrittenFiles.get(le);let _e=this._assetEmittingSourceCache.get($);if(_e===undefined){_e={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set($,_e)}let Ie;const checkSimilarFile=()=>{const v=le.toLowerCase();Ie=q.get(v);if(Ie!==undefined){const{path:v,source:R}=Ie;if(Ke(R,$)){if(Ie.size!==undefined){updateWithReplacementSource(Ie.size)}else{if(!Ie.waiting)Ie.waiting=[];Ie.waiting.push({file:E,cacheEntry:_e})}alreadyWritten()}else{const R=new Ge(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${le}\n${v}`);R.file=E;N(R)}return true}else{q.set(v,Ie={path:le,source:$,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof $.buffer==="function"){return $.buffer()}else{const v=$.source();if(Buffer.isBuffer(v)){return v}else{return Buffer.from(v,"utf8")}}};const alreadyWritten=()=>{if(me===undefined){const v=1;this._assetEmittingWrittenFiles.set(le,v);_e.writtenTo.set(le,v)}else{_e.writtenTo.set(le,me)}N()};const doWrite=j=>{this.outputFileSystem.writeFile(le,j,(q=>{if(q)return N(q);v.emittedAssets.add(E);const G=me===undefined?1:me+1;_e.writtenTo.set(le,G);this._assetEmittingWrittenFiles.set(le,G);this.hooks.assetEmitted.callAsync(E,{content:j,source:$,outputPath:R,compilation:v,targetPath:le},N)}))};const updateWithReplacementSource=v=>{updateFileWithReplacementSource(E,_e,v);Ie.size=v;if(Ie.waiting!==undefined){for(const{file:E,cacheEntry:R}of Ie.waiting){updateFileWithReplacementSource(E,R,v)}}};const updateFileWithReplacementSource=(E,R,$)=>{if(!R.sizeOnlySource){R.sizeOnlySource=new ae($)}v.updateAsset(E,R.sizeOnlySource,{size:$})};const processExistingFile=R=>{if(ce){updateWithReplacementSource(R.size);return alreadyWritten()}const $=getContent();updateWithReplacementSource($.length);if($.length===R.size){v.comparedForEmitAssets.add(E);return this.outputFileSystem.readFile(le,((v,E)=>{if(v||!$.equals(E)){return doWrite($)}else{return alreadyWritten()}}))}return doWrite($)};const processMissingFile=()=>{const v=getContent();updateWithReplacementSource(v.length);return doWrite(v)};if(me!==undefined){const R=_e.writtenTo.get(le);if(R===me){if(this._assetEmittingPreviousFiles.has(le)){v.updateAsset(E,_e.sizeOnlySource,{size:_e.sizeOnlySource.size()});return N()}else{ce=true}}else if(!ce){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(le,((v,E)=>{const R=!v&&E.isFile();if(R){processExistingFile(E)}else{processMissingFile()}}))}else{processMissingFile()}};if(ie.match(/\/|\\/)){const v=this.outputFileSystem;const E=Qe(v,We(v,R,ie));Je(v,E,writeOut)}else{writeOut()}}),(R=>{q.clear();if(R){this._assetEmittingPreviousFiles.clear();return E(R)}this._assetEmittingPreviousFiles=G;this.hooks.afterEmit.callAsync(v,(v=>{if(v)return E(v);return E()}))}))};this.hooks.emit.callAsync(v,($=>{if($)return E($);R=v.getPath(this.outputPath,{});Je(this.outputFileSystem,R,emitFiles)}))}emitRecords(v){if(this.hooks.emitRecords.isUsed()){if(this.recordsOutputPath){j.parallel([v=>this.hooks.emitRecords.callAsync(v),this._emitRecords.bind(this)],(E=>v(E)))}else{this.hooks.emitRecords.callAsync(v)}}else{if(this.recordsOutputPath){this._emitRecords(v)}else{v()}}}_emitRecords(v){const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((v,E)=>{if(typeof E==="object"&&E!==null&&!Array.isArray(E)){const v=Object.keys(E);if(!isSorted(v)){return sortObject(E,v)}}return E}),2),v)};const E=Qe(this.outputFileSystem,this.recordsOutputPath);if(!E){return writeFile()}Je(this.outputFileSystem,E,(E=>{if(E)return v(E);writeFile()}))}readRecords(v){if(this.hooks.readRecords.isUsed()){if(this.recordsInputPath){j.parallel([v=>this.hooks.readRecords.callAsync(v),this._readRecords.bind(this)])}else{this.records={};this.hooks.readRecords.callAsync(v)}}else{if(this.recordsInputPath){this._readRecords(v)}else{this.records={};v()}}}_readRecords(v){if(!this.recordsInputPath){this.records={};return v()}this.inputFileSystem.stat(this.recordsInputPath,(E=>{if(E)return v();this.inputFileSystem.readFile(this.recordsInputPath,((E,R)=>{if(E)return v(E);try{this.records=$(R.toString("utf-8"))}catch(E){E.message="Cannot parse records: "+E.message;return v(E)}return v()}))}))}createChildCompiler(v,E,R,$,j){const N=new Compiler(this.context,{...this.options,output:{...this.options.output,...$}});N.name=E;N.outputPath=this.outputPath;N.inputFileSystem=this.inputFileSystem;N.outputFileSystem=null;N.resolverFactory=this.resolverFactory;N.modifiedFiles=this.modifiedFiles;N.removedFiles=this.removedFiles;N.fileTimestamps=this.fileTimestamps;N.contextTimestamps=this.contextTimestamps;N.fsStartTime=this.fsStartTime;N.cache=this.cache;N.compilerPath=`${this.compilerPath}${E}|${R}|`;N._backCompat=this._backCompat;const q=Ve(this.context,E,this.root);if(!this.records[q]){this.records[q]=[]}if(this.records[q][R]){N.records=this.records[q][R]}else{this.records[q].push(N.records={})}N.parentCompilation=v;N.root=this.root;if(Array.isArray(j)){for(const v of j){v.apply(N)}}for(const v in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(v)){if(N.hooks[v]){N.hooks[v].taps=this.hooks[v].taps.slice()}}}v.hooks.childCompiler.call(N,E,R);return N}isChild(){return!!this.parentCompilation}createCompilation(v){this._cleanupLastCompilation();return this._lastCompilation=new Ie(this,v)}newCompilation(v){const E=this.createCompilation(v);E.name=this.name;E.records=this.records;this.hooks.thisCompilation.call(E,v);this.hooks.compilation.call(E,v);return E}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const v=new Ne({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=v;this.hooks.normalModuleFactory.call(v);return v}createContextModuleFactory(){const v=new Oe(this.resolverFactory);this.hooks.contextModuleFactory.call(v);return v}newCompilationParams(){const v={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return v}compile(v){const E=this.newCompilationParams();this.hooks.beforeCompile.callAsync(E,(R=>{if(R)return v(R);this.hooks.compile.call(E);const $=this.newCompilation(E);const j=$.getLogger("webpack.Compiler");j.time("make hook");this.hooks.make.callAsync($,(E=>{j.timeEnd("make hook");if(E)return v(E);j.time("finish make hook");this.hooks.finishMake.callAsync($,(E=>{j.timeEnd("finish make hook");if(E)return v(E);process.nextTick((()=>{j.time("finish compilation");$.finish((E=>{j.timeEnd("finish compilation");if(E)return v(E);j.time("seal compilation");$.seal((E=>{j.timeEnd("seal compilation");if(E)return v(E);j.time("afterCompile hook");this.hooks.afterCompile.callAsync($,(E=>{j.timeEnd("afterCompile hook");if(E)return v(E);return v(null,$)}))}))}))}))}))}))}))}close(v){if(this.watching){this.watching.close((E=>{this.close(v)}));return}this.hooks.shutdown.callAsync((E=>{if(E)return v(E);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(v)}))}}v.exports=Compiler},65077:function(v){"use strict";const E=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const R="__WEBPACK_DEFAULT_EXPORT__";const $="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(v,E){this._currentModule=E;if(Array.isArray(v)){const E=new Map;for(const R of v){E.set(R.module,R)}v=E}this._modulesMap=v}isModuleInScope(v){return this._modulesMap.has(v)}registerExport(v,E){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(v)){this._currentModule.exportMap.set(v,E)}}registerRawExport(v,E){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(v)){this._currentModule.rawExportMap.set(v,E)}}registerNamespaceExport(v){this._currentModule.namespaceExportSymbol=v}createModuleReference(v,{ids:E=undefined,call:R=false,directImport:$=false,asiSafe:j=false}){const N=this._modulesMap.get(v);const q=R?"_call":"";const G=$?"_directImport":"";const ie=j?"_asiSafe1":j===false?"_asiSafe0":"";const ae=E?Buffer.from(JSON.stringify(E),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${N.index}_${ae}${q}${G}${ie}__._`}static isModuleReference(v){return E.test(v)}static matchModuleReference(v){const R=E.exec(v);if(!R)return null;const $=+R[1];const j=R[5];return{index:$,ids:R[2]==="ns"?[]:JSON.parse(Buffer.from(R[2],"hex").toString("utf-8")),call:!!R[3],directImport:!!R[4],asiSafe:j?j==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=R;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=$;v.exports=ConcatenationScope},74901:function(v,E,R){"use strict";const $=R(85969);v.exports=class ConcurrentCompilationError extends ${constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},91503:function(v,E,R){"use strict";const{ConcatSource:$,PrefixSource:j}=R(51255);const N=R(72551);const q=R(66898);const{mergeRuntime:G}=R(67633);const wrapInCondition=(v,E)=>{if(typeof E==="string"){return q.asString([`if (${v}) {`,q.indent(E),"}",""])}else{return new $(`if (${v}) {\n`,new j("\t",E),"}\n")}};class ConditionalInitFragment extends N{constructor(v,E,R,$,j=true,N){super(v,E,R,$,N);this.runtimeCondition=j}getContent(v){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const E=v.runtimeTemplate.runtimeConditionExpression({chunkGraph:v.chunkGraph,runtimeRequirements:v.runtimeRequirements,runtime:v.runtime,runtimeCondition:this.runtimeCondition});if(E==="true")return this.content;return wrapInCondition(E,this.content)}getEndContent(v){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const E=v.runtimeTemplate.runtimeConditionExpression({chunkGraph:v.chunkGraph,runtimeRequirements:v.runtimeRequirements,runtime:v.runtime,runtimeCondition:this.runtimeCondition});if(E==="true")return this.endContent;return wrapInCondition(E,this.endContent)}merge(v){if(this.runtimeCondition===true)return this;if(v.runtimeCondition===true)return v;if(this.runtimeCondition===false)return v;if(v.runtimeCondition===false)return this;const E=G(this.runtimeCondition,v.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,E,this.endContent)}}v.exports=ConditionalInitFragment},8340:function(v,E,R){"use strict";const $=R(38599);const j=R(40821);const{evaluateToString:N}=R(40355);const{parseResource:q}=R(33553);const collectDeclaration=(v,E)=>{const R=[E];while(R.length>0){const E=R.pop();switch(E.type){case"Identifier":v.add(E.name);break;case"ArrayPattern":for(const v of E.elements){if(v){R.push(v)}}break;case"AssignmentPattern":R.push(E.left);break;case"ObjectPattern":for(const v of E.properties){R.push(v.value)}break;case"RestElement":R.push(E.argument);break}}};const getHoistedDeclarations=(v,E)=>{const R=new Set;const $=[v];while($.length>0){const v=$.pop();if(!v)continue;switch(v.type){case"BlockStatement":for(const E of v.body){$.push(E)}break;case"IfStatement":$.push(v.consequent);$.push(v.alternate);break;case"ForStatement":$.push(v.init);$.push(v.body);break;case"ForInStatement":case"ForOfStatement":$.push(v.left);$.push(v.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":$.push(v.body);break;case"SwitchStatement":for(const E of v.cases){for(const v of E.consequent){$.push(v)}}break;case"TryStatement":$.push(v.block);if(v.handler){$.push(v.handler.body)}$.push(v.finalizer);break;case"FunctionDeclaration":if(E){collectDeclaration(R,v.id)}break;case"VariableDeclaration":if(v.kind==="var"){for(const E of v.declarations){collectDeclaration(R,E.id)}}break}}return Array.from(R)};class ConstPlugin{apply(v){const E=q.bindCache(v.root);v.hooks.compilation.tap("ConstPlugin",((v,{normalModuleFactory:R})=>{v.dependencyTemplates.set(j,new j.Template);v.dependencyTemplates.set($,new $.Template);const handler=v=>{v.hooks.statementIf.tap("ConstPlugin",(E=>{if(v.scope.isAsmJs)return;const R=v.evaluateExpression(E.test);const $=R.asBool();if(typeof $==="boolean"){if(!R.couldHaveSideEffects()){const N=new j(`${$}`,R.range);N.loc=E.loc;v.state.module.addPresentationalDependency(N)}else{v.walkExpression(E.test)}const N=$?E.alternate:E.consequent;if(N){let E;if(v.scope.isStrict){E=getHoistedDeclarations(N,false)}else{E=getHoistedDeclarations(N,true)}let R;if(E.length>0){R=`{ var ${E.join(", ")}; }`}else{R="{}"}const $=new j(R,N.range);$.loc=N.loc;v.state.module.addPresentationalDependency($)}return $}}));v.hooks.expressionConditionalOperator.tap("ConstPlugin",(E=>{if(v.scope.isAsmJs)return;const R=v.evaluateExpression(E.test);const $=R.asBool();if(typeof $==="boolean"){if(!R.couldHaveSideEffects()){const N=new j(` ${$}`,R.range);N.loc=E.loc;v.state.module.addPresentationalDependency(N)}else{v.walkExpression(E.test)}const N=$?E.alternate:E.consequent;const q=new j("0",N.range);q.loc=N.loc;v.state.module.addPresentationalDependency(q);return $}}));v.hooks.expressionLogicalOperator.tap("ConstPlugin",(E=>{if(v.scope.isAsmJs)return;if(E.operator==="&&"||E.operator==="||"){const R=v.evaluateExpression(E.left);const $=R.asBool();if(typeof $==="boolean"){const N=E.operator==="&&"&&$||E.operator==="||"&&!$;if(!R.couldHaveSideEffects()&&(R.isBoolean()||N)){const N=new j(` ${$}`,R.range);N.loc=E.loc;v.state.module.addPresentationalDependency(N)}else{v.walkExpression(E.left)}if(!N){const R=new j("0",E.right.range);R.loc=E.loc;v.state.module.addPresentationalDependency(R)}return N}}else if(E.operator==="??"){const R=v.evaluateExpression(E.left);const $=R.asNullish();if(typeof $==="boolean"){if(!R.couldHaveSideEffects()&&$){const $=new j(" null",R.range);$.loc=E.loc;v.state.module.addPresentationalDependency($)}else{const R=new j("0",E.right.range);R.loc=E.loc;v.state.module.addPresentationalDependency(R);v.walkExpression(E.left)}return $}}}));v.hooks.optionalChaining.tap("ConstPlugin",(E=>{const R=[];let $=E.expression;while($.type==="MemberExpression"||$.type==="CallExpression"){if($.type==="MemberExpression"){if($.optional){R.push($.object)}$=$.object}else{if($.optional){R.push($.callee)}$=$.callee}}while(R.length){const $=R.pop();const N=v.evaluateExpression($);if(N.asNullish()){const R=new j(" undefined",E.range);R.loc=E.loc;v.state.module.addPresentationalDependency(R);return true}}}));v.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",(R=>{if(v.scope.isAsmJs)return;if(!v.state.module)return;return N(E(v.state.module.resource).query)(R)}));v.hooks.expression.for("__resourceQuery").tap("ConstPlugin",(R=>{if(v.scope.isAsmJs)return;if(!v.state.module)return;const j=new $(JSON.stringify(E(v.state.module.resource).query),R.range,"__resourceQuery");j.loc=R.loc;v.state.module.addPresentationalDependency(j);return true}));v.hooks.evaluateIdentifier.for("__resourceFragment").tap("ConstPlugin",(R=>{if(v.scope.isAsmJs)return;if(!v.state.module)return;return N(E(v.state.module.resource).fragment)(R)}));v.hooks.expression.for("__resourceFragment").tap("ConstPlugin",(R=>{if(v.scope.isAsmJs)return;if(!v.state.module)return;const j=new $(JSON.stringify(E(v.state.module.resource).fragment),R.range,"__resourceFragment");j.loc=R.loc;v.state.module.addPresentationalDependency(j);return true}))};R.hooks.parser.for("javascript/auto").tap("ConstPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",handler);R.hooks.parser.for("javascript/esm").tap("ConstPlugin",handler)}))}}v.exports=ConstPlugin},3256:function(v){"use strict";class ContextExclusionPlugin{constructor(v){this.negativeMatcher=v}apply(v){v.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(v=>{v.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(v=>v.filter((v=>!this.negativeMatcher.test(v)))))}))}}v.exports=ContextExclusionPlugin},65146:function(v,E,R){"use strict";const{OriginalSource:$,RawSource:j}=R(51255);const N=R(90833);const{makeWebpackError:q}=R(48018);const G=R(71433);const ie=R(42976);const ae=R(66898);const ce=R(85969);const{compareLocations:le,concatComparators:me,compareSelect:_e,keepOriginalOrder:Ie,compareModulesById:Me}=R(30044);const{contextify:Oe,parseResource:Te,makePathsRelative:Ne}=R(33553);const Be=R(56078);const Le={timestamp:true};const qe=new Set(["javascript"]);class ContextModule extends G{constructor(v,E){if(!E||typeof E.resource==="string"){const v=Te(E?E.resource:"");const R=v.path;const $=E&&E.resourceQuery||v.query;const j=E&&E.resourceFragment||v.fragment;super("javascript/dynamic",R);this.options={...E,resource:R,resourceQuery:$,resourceFragment:j}}else{super("javascript/dynamic");this.options={...E,resource:E.resource,resourceQuery:E.resourceQuery||"",resourceFragment:E.resourceFragment||""}}this.resolveDependencies=v;if(E&&E.resolveOptions!==undefined){this.resolveOptions=E.resolveOptions}if(E&&typeof E.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return qe}updateCacheModule(v){const E=v;this.resolveDependencies=E.resolveDependencies;this.options=E.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}_prettyRegExp(v,E=true){const R=(v+"").replace(/!/g,"%21").replace(/\|/g,"%7C");return E?R.substring(1,R.length-1):R}_createIdentifier(){let v=this.context||(typeof this.options.resource==="string"||this.options.resource===false?`${this.options.resource}`:this.options.resource.join("|"));if(this.options.resourceQuery){v+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){v+=`|${this.options.resourceFragment}`}if(this.options.mode){v+=`|${this.options.mode}`}if(!this.options.recursive){v+="|nonrecursive"}if(this.options.addon){v+=`|${this.options.addon}`}if(this.options.regExp){v+=`|${this._prettyRegExp(this.options.regExp,false)}`}if(this.options.include){v+=`|include: ${this._prettyRegExp(this.options.include,false)}`}if(this.options.exclude){v+=`|exclude: ${this._prettyRegExp(this.options.exclude,false)}`}if(this.options.referencedExports){v+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){v+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){v+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){v+="|strict namespace object"}else if(this.options.namespaceObject){v+="|namespace object"}return v}identifier(){return this._identifier}readableIdentifier(v){let E;if(this.context){E=v.shorten(this.context)+"/"}else if(typeof this.options.resource==="string"||this.options.resource===false){E=v.shorten(`${this.options.resource}`)+"/"}else{E=this.options.resource.map((E=>v.shorten(E)+"/")).join(" ")}if(this.options.resourceQuery){E+=` ${this.options.resourceQuery}`}if(this.options.mode){E+=` ${this.options.mode}`}if(!this.options.recursive){E+=" nonrecursive"}if(this.options.addon){E+=` ${v.shorten(this.options.addon)}`}if(this.options.regExp){E+=` ${this._prettyRegExp(this.options.regExp)}`}if(this.options.include){E+=` include: ${this._prettyRegExp(this.options.include)}`}if(this.options.exclude){E+=` exclude: ${this._prettyRegExp(this.options.exclude)}`}if(this.options.referencedExports){E+=` referencedExports: ${this.options.referencedExports.map((v=>v.join("."))).join(", ")}`}if(this.options.chunkName){E+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const v=this.options.groupOptions;for(const R of Object.keys(v)){E+=` ${R}: ${v[R]}`}}if(this.options.namespaceObject==="strict"){E+=" strict namespace object"}else if(this.options.namespaceObject){E+=" namespace object"}return E}libIdent(v){let E;if(this.context){E=Oe(v.context,this.context,v.associatedObjectForCache)}else if(typeof this.options.resource==="string"){E=Oe(v.context,this.options.resource,v.associatedObjectForCache)}else if(this.options.resource===false){E="false"}else{E=this.options.resource.map((E=>Oe(v.context,E,v.associatedObjectForCache))).join(" ")}if(this.layer)E=`(${this.layer})/${E}`;if(this.options.mode){E+=` ${this.options.mode}`}if(this.options.recursive){E+=" recursive"}if(this.options.addon){E+=` ${Oe(v.context,this.options.addon,v.associatedObjectForCache)}`}if(this.options.regExp){E+=` ${this._prettyRegExp(this.options.regExp)}`}if(this.options.include){E+=` include: ${this._prettyRegExp(this.options.include)}`}if(this.options.exclude){E+=` exclude: ${this._prettyRegExp(this.options.exclude)}`}if(this.options.referencedExports){E+=` referencedExports: ${this.options.referencedExports.map((v=>v.join("."))).join(", ")}`}return E}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:v},E){if(this._forceBuild)return E(null,true);if(!this.buildInfo.snapshot)return E(null,Boolean(this.context||this.options.resource));v.checkSnapshotValid(this.buildInfo.snapshot,((v,R)=>{E(v,!R)}))}build(v,E,R,$,j){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const G=Date.now();this.resolveDependencies($,this.options,((v,R)=>{if(v){return j(q(v,"ContextModule.resolveDependencies"))}if(!R){j();return}for(const v of R){v.loc={name:v.userRequest};v.request=this.options.addon+v.request}R.sort(me(_e((v=>v.loc),le),Ie(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=R}else if(this.options.mode==="lazy-once"){if(R.length>0){const v=new N({...this.options.groupOptions,name:this.options.chunkName});for(const E of R){v.addDependency(E)}this.addBlock(v)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const v of R){v.weak=true}this.dependencies=R}else if(this.options.mode==="lazy"){let v=0;for(const E of R){let R=this.options.chunkName;if(R){if(!/\[(index|request)\]/.test(R)){R+="[index]"}R=R.replace(/\[index\]/g,`${v++}`);R=R.replace(/\[request\]/g,ae.toPath(E.userRequest))}const $=new N({...this.options.groupOptions,name:R},E.loc,E.userRequest);$.addDependency(E);this.addBlock($)}}else{j(new ce(`Unsupported mode "${this.options.mode}" in context`));return}if(!this.context&&!this.options.resource)return j();E.fileSystemInfo.createSnapshot(G,null,this.context?[this.context]:typeof this.options.resource==="string"?[this.options.resource]:this.options.resource,null,Le,((v,E)=>{if(v)return j(v);this.buildInfo.snapshot=E;j()}))}))}addCacheDependencies(v,E,R,$){if(this.context){E.add(this.context)}else if(typeof this.options.resource==="string"){E.add(this.options.resource)}else if(this.options.resource===false){return}else{for(const v of this.options.resource)E.add(v)}}getUserRequestMap(v,E){const R=E.moduleGraph;const $=v.filter((v=>R.getModule(v))).sort(((v,E)=>{if(v.userRequest===E.userRequest){return 0}return v.userRequest<E.userRequest?-1:1}));const j=Object.create(null);for(const v of $){const $=R.getModule(v);j[v.userRequest]=E.getModuleId($)}return j}getFakeMap(v,E){if(!this.options.namespaceObject){return 9}const R=E.moduleGraph;let $=0;const j=Me(E);const N=v.map((v=>R.getModule(v))).filter(Boolean).sort(j);const q=Object.create(null);for(const v of N){const j=v.getExportsType(R,this.options.namespaceObject==="strict");const N=E.getModuleId(v);switch(j){case"namespace":q[N]=9;$|=1;break;case"dynamic":q[N]=7;$|=2;break;case"default-only":q[N]=1;$|=4;break;case"default-with-named":q[N]=3;$|=8;break;default:throw new Error(`Unexpected exports type ${j}`)}}if($===1){return 9}if($===2){return 7}if($===4){return 1}if($===8){return 3}if($===0){return 9}return q}getFakeMapInitStatement(v){return typeof v==="object"?`var fakeMap = ${JSON.stringify(v,null,"\t")};`:""}getReturn(v,E){if(v===9){return"__webpack_require__(id)"}return`${ie.createFakeNamespaceObject}(id, ${v}${E?" | 16":""})`}getReturnModuleObjectSource(v,E,R="fakeMap[id]"){if(typeof v==="number"){return`return ${this.getReturn(v,E)};`}return`return ${ie.createFakeNamespaceObject}(id, ${R}${E?" | 16":""})`}getSyncSource(v,E,R){const $=this.getUserRequestMap(v,R);const j=this.getFakeMap(v,R);const N=this.getReturnModuleObjectSource(j);return`var map = ${JSON.stringify($,null,"\t")};\n${this.getFakeMapInitStatement(j)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${N}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ie.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(E)};`}getWeakSyncSource(v,E,R){const $=this.getUserRequestMap(v,R);const j=this.getFakeMap(v,R);const N=this.getReturnModuleObjectSource(j);return`var map = ${JSON.stringify($,null,"\t")};\n${this.getFakeMapInitStatement(j)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${ie.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${N}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ie.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(v,E,{chunkGraph:R,runtimeTemplate:$}){const j=$.supportsArrowFunction();const N=this.getUserRequestMap(v,R);const q=this.getFakeMap(v,R);const G=this.getReturnModuleObjectSource(q,true);return`var map = ${JSON.stringify(N,null,"\t")};\n${this.getFakeMapInitStatement(q)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${j?"id =>":"function(id)"} {\n\t\tif(!${ie.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${G}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${j?"() =>":"function()"} {\n\t\tif(!${ie.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(v,E,{chunkGraph:R,runtimeTemplate:$}){const j=$.supportsArrowFunction();const N=this.getUserRequestMap(v,R);const q=this.getFakeMap(v,R);const G=q!==9?`${j?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(q)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(N,null,"\t")};\n${this.getFakeMapInitStatement(q)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${G});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${j?"() =>":"function()"} {\n\t\tif(!${ie.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(v,E,R,{runtimeTemplate:$,chunkGraph:j}){const N=$.blockPromise({chunkGraph:j,block:v,message:"lazy-once context",runtimeRequirements:new Set});const q=$.supportsArrowFunction();const G=this.getUserRequestMap(E,j);const ae=this.getFakeMap(E,j);const ce=ae!==9?`${q?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(ae,true)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(G,null,"\t")};\n${this.getFakeMapInitStatement(ae)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ce});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${N}.then(${q?"() =>":"function()"} {\n\t\tif(!${ie.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getLazySource(v,E,{chunkGraph:R,runtimeTemplate:$}){const j=R.moduleGraph;const N=$.supportsArrowFunction();let q=false;let G=true;const ae=this.getFakeMap(v.map((v=>v.dependencies[0])),R);const ce=typeof ae==="object";const le=v.map((v=>{const E=v.dependencies[0];return{dependency:E,module:j.getModule(E),block:v,userRequest:E.userRequest,chunks:undefined}})).filter((v=>v.module));for(const v of le){const E=R.getBlockChunkGroup(v.block);const $=E&&E.chunks||[];v.chunks=$;if($.length>0){G=false}if($.length!==1){q=true}}const me=G&&!ce;const _e=le.sort(((v,E)=>{if(v.userRequest===E.userRequest)return 0;return v.userRequest<E.userRequest?-1:1}));const Ie=Object.create(null);for(const v of _e){const E=R.getModuleId(v.module);if(me){Ie[v.userRequest]=E}else{const R=[E];if(ce){R.push(ae[E])}Ie[v.userRequest]=R.concat(v.chunks.map((v=>v.id)))}}const Me=ce?2:1;const Oe=G?"Promise.resolve()":q?`Promise.all(ids.slice(${Me}).map(${ie.ensureChunk}))`:`${ie.ensureChunk}(ids[${Me}])`;const Te=this.getReturnModuleObjectSource(ae,true,me?"invalid":"ids[1]");const Ne=Oe==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${N?"() =>":"function()"} {\n\t\tif(!${ie.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${me?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${Te}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${ie.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${N?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${Oe}.then(${N?"() =>":"function()"} {\n\t\t${Te}\n\t});\n}`;return`var map = ${JSON.stringify(Ie,null,"\t")};\n${Ne}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(v,E){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${E.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(v)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(v,E){const R=E.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${R?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${E.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(v)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(v,{runtimeTemplate:E,chunkGraph:R}){const $=R.getModuleId(this);if(v==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,$,{runtimeTemplate:E,chunkGraph:R})}return this.getSourceForEmptyAsyncContext($,E)}if(v==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,$,{chunkGraph:R,runtimeTemplate:E})}return this.getSourceForEmptyAsyncContext($,E)}if(v==="lazy-once"){const v=this.blocks[0];if(v){return this.getLazyOnceSource(v,v.dependencies,$,{runtimeTemplate:E,chunkGraph:R})}return this.getSourceForEmptyAsyncContext($,E)}if(v==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,$,{chunkGraph:R,runtimeTemplate:E})}return this.getSourceForEmptyAsyncContext($,E)}if(v==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,$,R)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,$,R)}return this.getSourceForEmptyContext($,E)}getSource(v,E){if(this.useSourceMap||this.useSimpleSourceMap){return new $(v,`webpack://${Ne(E&&E.compiler.context||"",this.identifier(),E&&E.compiler.root)}`)}return new j(v)}codeGeneration(v){const{chunkGraph:E,compilation:R}=v;const $=new Map;$.set("javascript",this.getSource(this.getSourceString(this.options.mode,v),R));const j=new Set;const N=this.dependencies.length>0?this.dependencies.slice():[];for(const v of this.blocks)for(const E of v.dependencies)N.push(E);j.add(ie.module);j.add(ie.hasOwnProperty);if(N.length>0){const v=this.options.mode;j.add(ie.require);if(v==="weak"){j.add(ie.moduleFactories)}else if(v==="async-weak"){j.add(ie.moduleFactories);j.add(ie.ensureChunk)}else if(v==="lazy"||v==="lazy-once"){j.add(ie.ensureChunk)}if(this.getFakeMap(N,E)!==9){j.add(ie.createFakeNamespaceObject)}}return{sources:$,runtimeRequirements:j}}size(v){let E=160;for(const v of this.dependencies){const R=v;E+=5+R.userRequest.length}return E}serialize(v){const{write:E}=v;E(this._identifier);E(this._forceBuild);super.serialize(v)}deserialize(v){const{read:E}=v;this._identifier=E();this._forceBuild=E();super.deserialize(v)}}Be(ContextModule,"webpack/lib/ContextModule");v.exports=ContextModule},18516:function(v,E,R){"use strict";const $=R(78175);const{AsyncSeriesWaterfallHook:j,SyncWaterfallHook:N}=R(79846);const q=R(65146);const G=R(11704);const ie=R(27724);const ae=R(15597);const{cachedSetProperty:ce}=R(59817);const{createFakeHook:le}=R(93160);const{join:me}=R(4115);const _e={};v.exports=class ContextModuleFactory extends G{constructor(v){super();const E=new j(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new j(["data"]),afterResolve:new j(["data"]),contextModuleFiles:new N(["files"]),alternatives:le({name:"alternatives",intercept:v=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(v,R)=>{E.tap(v,R)},tapAsync:(v,R)=>{E.tapAsync(v,((v,E,$)=>R(v,$)))},tapPromise:(v,R)=>{E.tapPromise(v,R)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:E});this.resolverFactory=v}create(v,E){const R=v.context;const j=v.dependencies;const N=v.resolveOptions;const G=j[0];const ie=new ae;const le=new ae;const me=new ae;this.hooks.beforeResolve.callAsync({context:R,dependencies:j,resolveOptions:N,fileDependencies:ie,missingDependencies:le,contextDependencies:me,...G.options},((v,R)=>{if(v){return E(v,{fileDependencies:ie,missingDependencies:le,contextDependencies:me})}if(!R){return E(null,{fileDependencies:ie,missingDependencies:le,contextDependencies:me})}const N=R.context;const G=R.request;const ae=R.resolveOptions;let Ie,Me,Oe="";const Te=G.lastIndexOf("!");if(Te>=0){let v=G.slice(0,Te+1);let E;for(E=0;E<v.length&&v[E]==="!";E++){Oe+="!"}v=v.slice(E).replace(/!+$/,"").replace(/!!+/g,"!");if(v===""){Ie=[]}else{Ie=v.split("!")}Me=G.slice(Te+1)}else{Ie=[];Me=G}const Ne=this.resolverFactory.get("context",j.length>0?ce(ae||_e,"dependencyType",j[0].category):ae);const Be=this.resolverFactory.get("loader");$.parallel([v=>{const E=[];const yield_=v=>E.push(v);Ne.resolve({},N,Me,{fileDependencies:ie,missingDependencies:le,contextDependencies:me,yield:yield_},(R=>{if(R)return v(R);v(null,E)}))},v=>{$.map(Ie,((v,E)=>{Be.resolve({},N,v,{fileDependencies:ie,missingDependencies:le,contextDependencies:me},((v,R)=>{if(v)return E(v);E(null,R)}))}),v)}],((v,$)=>{if(v){return E(v,{fileDependencies:ie,missingDependencies:le,contextDependencies:me})}let[j,N]=$;if(j.length>1){const v=j[0];j=j.filter((v=>v.path));if(j.length===0)j.push(v)}this.hooks.afterResolve.callAsync({addon:Oe+N.join("!")+(N.length>0?"!":""),resource:j.length>1?j.map((v=>v.path)):j[0].path,resolveDependencies:this.resolveDependencies.bind(this),resourceQuery:j[0].query,resourceFragment:j[0].fragment,...R},((v,R)=>{if(v){return E(v,{fileDependencies:ie,missingDependencies:le,contextDependencies:me})}if(!R){return E(null,{fileDependencies:ie,missingDependencies:le,contextDependencies:me})}return E(null,{module:new q(R.resolveDependencies,R),fileDependencies:ie,missingDependencies:le,contextDependencies:me})}))}))}))}resolveDependencies(v,E,R){const j=this;const{resource:N,resourceQuery:q,resourceFragment:G,recursive:ae,regExp:ce,include:le,exclude:_e,referencedExports:Ie,category:Me,typePrefix:Oe}=E;if(!ce||!N)return R(null,[]);const addDirectoryChecked=(E,R,$,j)=>{v.realpath(R,((v,N)=>{if(v)return j(v);if($.has(N))return j(null,[]);let q;addDirectory(E,R,((v,R,j)=>{if(q===undefined){q=new Set($);q.add(N)}addDirectoryChecked(E,R,q,j)}),j)}))};const addDirectory=(R,N,Te,Ne)=>{v.readdir(N,((Be,Le)=>{if(Be)return Ne(Be);const qe=j.hooks.contextModuleFiles.call(Le.map((v=>v.normalize("NFC"))));if(!qe||qe.length===0)return Ne(null,[]);$.map(qe.filter((v=>v.indexOf(".")!==0)),(($,j)=>{const Ne=me(v,N,$);if(!_e||!Ne.match(_e)){v.stat(Ne,((v,$)=>{if(v){if(v.code==="ENOENT"){return j()}else{return j(v)}}if($.isDirectory()){if(!ae)return j();Te(R,Ne,j)}else if($.isFile()&&(!le||Ne.match(le))){const v={context:R,request:"."+Ne.slice(R.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([v],E,((v,E)=>{if(v)return j(v);E=E.filter((v=>ce.test(v.request))).map((v=>{const E=new ie(`${v.request}${q}${G}`,v.request,Oe,Me,Ie,v.context);E.optional=true;return E}));j(null,E)}))}else{j()}}))}else{j()}}),((v,E)=>{if(v)return Ne(v);if(!E)return Ne(null,[]);const R=[];for(const v of E){if(v)R.push(...v)}Ne(null,R)}))}))};const addSubDirectory=(v,E,R)=>addDirectory(v,E,addSubDirectory,R);const visitResource=(E,R)=>{if(typeof v.realpath==="function"){addDirectoryChecked(E,E,new Set,R)}else{addDirectory(E,E,addSubDirectory,R)}};if(typeof N==="string"){visitResource(N,R)}else{$.map(N,visitResource,((v,E)=>{if(v)return R(v);const $=new Set;const j=[];for(let v=0;v<E.length;v++){const R=E[v];for(const v of R){if($.has(v.userRequest))continue;j.push(v);$.add(v.userRequest)}}R(null,j)}))}}}},71321:function(v,E,R){"use strict";const $=R(27724);const{join:j}=R(4115);class ContextReplacementPlugin{constructor(v,E,R,$){this.resourceRegExp=v;if(typeof E==="function"){this.newContentCallback=E}else if(typeof E==="string"&&typeof R==="object"){this.newContentResource=E;this.newContentCreateContextMap=(v,E)=>{E(null,R)}}else if(typeof E==="string"&&typeof R==="function"){this.newContentResource=E;this.newContentCreateContextMap=R}else{if(typeof E!=="string"){$=R;R=E;E=undefined}if(typeof R!=="boolean"){$=R;R=undefined}this.newContentResource=E;this.newContentRecursive=R;this.newContentRegExp=$}}apply(v){const E=this.resourceRegExp;const R=this.newContentCallback;const $=this.newContentResource;const N=this.newContentRecursive;const q=this.newContentRegExp;const G=this.newContentCreateContextMap;v.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(ie=>{ie.hooks.beforeResolve.tap("ContextReplacementPlugin",(v=>{if(!v)return;if(E.test(v.request)){if($!==undefined){v.request=$}if(N!==undefined){v.recursive=N}if(q!==undefined){v.regExp=q}if(typeof R==="function"){R(v)}else{for(const E of v.dependencies){if(E.critical)E.critical=false}}}return v}));ie.hooks.afterResolve.tap("ContextReplacementPlugin",(ie=>{if(!ie)return;if(E.test(ie.resource)){if($!==undefined){if($.startsWith("/")||$.length>1&&$[1]===":"){ie.resource=$}else{ie.resource=j(v.inputFileSystem,ie.resource,$)}}if(N!==undefined){ie.recursive=N}if(q!==undefined){ie.regExp=q}if(typeof G==="function"){ie.resolveDependencies=createResolveDependenciesFromContextMap(G)}if(typeof R==="function"){const E=ie.resource;R(ie);if(ie.resource!==E&&!ie.resource.startsWith("/")&&(ie.resource.length<=1||ie.resource[1]!==":")){ie.resource=j(v.inputFileSystem,E,ie.resource)}}else{for(const v of ie.dependencies){if(v.critical)v.critical=false}}}return ie}))}))}}const createResolveDependenciesFromContextMap=v=>{const resolveDependenciesFromContextMap=(E,R,j)=>{v(E,((v,E)=>{if(v)return j(v);const N=Object.keys(E).map((v=>new $(E[v]+R.resourceQuery+R.resourceFragment,v,R.category,R.referencedExports)));j(null,N)}))};return resolveDependenciesFromContextMap};v.exports=ContextReplacementPlugin},73155:function(v,E,R){"use strict";const $=R(42976);const j=R(85969);const N=R(40821);const q=R(64355);const{evaluateToString:G,toConstantDependency:ie}=R(40355);const ae=R(84351);class RuntimeValue{constructor(v,E){this.fn=v;if(Array.isArray(E)){E={fileDependencies:E}}this.options=E||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(v,E,R){const $=v.state.module.buildInfo;if(this.options===true){$.cacheable=false}else{if(this.options.fileDependencies){for(const v of this.options.fileDependencies){$.fileDependencies.add(v)}}if(this.options.contextDependencies){for(const v of this.options.contextDependencies){$.contextDependencies.add(v)}}if(this.options.missingDependencies){for(const v of this.options.missingDependencies){$.missingDependencies.add(v)}}if(this.options.buildDependencies){for(const v of this.options.buildDependencies){$.buildDependencies.add(v)}}}return this.fn({module:v.state.module,key:R,get version(){return E.get(ce+R)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(v,E,R,$,j,N)=>{let q;let G=Array.isArray(v);if(G){q=`[${v.map((v=>toCode(v,E,R,$,j,null))).join(",")}]`}else{q=`{${Object.keys(v).map(($=>{const N=v[$];return JSON.stringify($)+":"+toCode(N,E,R,$,j,null)})).join(",")}}`}switch(N){case null:return q;case true:return G?q:`(${q})`;case false:return G?`;${q}`:`;(${q})`;default:return`/*#__PURE__*/Object(${q})`}};const toCode=(v,E,R,$,j,N)=>{if(v===null){return"null"}if(v===undefined){return"undefined"}if(Object.is(v,-0)){return"-0"}if(v instanceof RuntimeValue){return toCode(v.exec(E,R,$),E,R,$,j,N)}if(v instanceof RegExp&&v.toString){return v.toString()}if(typeof v==="function"&&v.toString){return"("+v.toString()+")"}if(typeof v==="object"){return stringifyObj(v,E,R,$,j,N)}if(typeof v==="bigint"){return j.supportsBigIntLiteral()?`${v}n`:`BigInt("${v}")`}return v+""};const toCacheVersion=v=>{if(v===null){return"null"}if(v===undefined){return"undefined"}if(Object.is(v,-0)){return"-0"}if(v instanceof RuntimeValue){return v.getCacheVersion()}if(v instanceof RegExp&&v.toString){return v.toString()}if(typeof v==="function"&&v.toString){return"("+v.toString()+")"}if(typeof v==="object"){const E=Object.keys(v).map((E=>({key:E,value:toCacheVersion(v[E])})));if(E.some((({value:v})=>v===undefined)))return undefined;return`{${E.map((({key:v,value:E})=>`${v}: ${E}`)).join(", ")}}`}if(typeof v==="bigint"){return`${v}n`}return v+""};const ce="webpack/DefinePlugin ";const le="webpack/DefinePlugin_hash";class DefinePlugin{constructor(v){this.definitions=v}static runtimeValue(v,E){return new RuntimeValue(v,E)}apply(v){const E=this.definitions;v.hooks.compilation.tap("DefinePlugin",((v,{normalModuleFactory:R})=>{v.dependencyTemplates.set(N,new N.Template);const{runtimeTemplate:me}=v;const _e=ae(v.outputOptions.hashFunction);_e.update(v.valueCacheVersions.get(le)||"");const handler=R=>{const j=v.valueCacheVersions.get(le);R.hooks.program.tap("DefinePlugin",(()=>{const{buildInfo:v}=R.state.module;if(!v.valueDependencies)v.valueDependencies=new Map;v.valueDependencies.set(le,j)}));const addValueDependency=E=>{const{buildInfo:$}=R.state.module;$.valueDependencies.set(ce+E,v.valueCacheVersions.get(ce+E))};const withValueDependency=(v,E)=>(...R)=>{addValueDependency(v);return E(...R)};const walkDefinitions=(v,E)=>{Object.keys(v).forEach((R=>{const $=v[R];if($&&typeof $==="object"&&!($ instanceof RuntimeValue)&&!($ instanceof RegExp)){walkDefinitions($,E+R+".");applyObjectDefine(E+R,$);return}applyDefineKey(E,R);applyDefine(E+R,$)}))};const applyDefineKey=(v,E)=>{const $=E.split(".");$.slice(1).forEach(((j,N)=>{const q=v+$.slice(0,N+1).join(".");R.hooks.canRename.for(q).tap("DefinePlugin",(()=>{addValueDependency(E);return true}))}))};const applyDefine=(E,j)=>{const N=E;const q=/^typeof\s+/.test(E);if(q)E=E.replace(/^typeof\s+/,"");let G=false;let ae=false;if(!q){R.hooks.canRename.for(E).tap("DefinePlugin",(()=>{addValueDependency(N);return true}));R.hooks.evaluateIdentifier.for(E).tap("DefinePlugin",($=>{if(G)return;addValueDependency(N);G=true;const q=R.evaluate(toCode(j,R,v.valueCacheVersions,E,me,null));G=false;q.setRange($.range);return q}));R.hooks.expression.for(E).tap("DefinePlugin",(E=>{addValueDependency(N);const q=toCode(j,R,v.valueCacheVersions,N,me,!R.isAsiPosition(E.range[0]));if(/__webpack_require__\s*(!?\.)/.test(q)){return ie(R,q,[$.require])(E)}else if(/__webpack_require__/.test(q)){return ie(R,q,[$.requireScope])(E)}else{return ie(R,q)(E)}}))}R.hooks.evaluateTypeof.for(E).tap("DefinePlugin",(E=>{if(ae)return;ae=true;addValueDependency(N);const $=toCode(j,R,v.valueCacheVersions,N,me,null);const G=q?$:"typeof ("+$+")";const ie=R.evaluate(G);ae=false;ie.setRange(E.range);return ie}));R.hooks.typeof.for(E).tap("DefinePlugin",(E=>{addValueDependency(N);const $=toCode(j,R,v.valueCacheVersions,N,me,null);const G=q?$:"typeof ("+$+")";const ae=R.evaluate(G);if(!ae.isString())return;return ie(R,JSON.stringify(ae.string)).bind(R)(E)}))};const applyObjectDefine=(E,j)=>{R.hooks.canRename.for(E).tap("DefinePlugin",(()=>{addValueDependency(E);return true}));R.hooks.evaluateIdentifier.for(E).tap("DefinePlugin",(v=>{addValueDependency(E);return(new q).setTruthy().setSideEffects(false).setRange(v.range)}));R.hooks.evaluateTypeof.for(E).tap("DefinePlugin",withValueDependency(E,G("object")));R.hooks.expression.for(E).tap("DefinePlugin",(N=>{addValueDependency(E);const q=stringifyObj(j,R,v.valueCacheVersions,E,me,!R.isAsiPosition(N.range[0]));if(/__webpack_require__\s*(!?\.)/.test(q)){return ie(R,q,[$.require])(N)}else if(/__webpack_require__/.test(q)){return ie(R,q,[$.requireScope])(N)}else{return ie(R,q)(N)}}));R.hooks.typeof.for(E).tap("DefinePlugin",withValueDependency(E,ie(R,JSON.stringify("object"))))};walkDefinitions(E,"")};R.hooks.parser.for("javascript/auto").tap("DefinePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",handler);R.hooks.parser.for("javascript/esm").tap("DefinePlugin",handler);const walkDefinitionsForValues=(E,R)=>{Object.keys(E).forEach(($=>{const N=E[$];const q=toCacheVersion(N);const G=ce+R+$;_e.update("|"+R+$);const ie=v.valueCacheVersions.get(G);if(ie===undefined){v.valueCacheVersions.set(G,q)}else if(ie!==q){const E=new j(`DefinePlugin\nConflicting values for '${R+$}'`);E.details=`'${ie}' !== '${q}'`;E.hideStack=true;v.warnings.push(E)}if(N&&typeof N==="object"&&!(N instanceof RuntimeValue)&&!(N instanceof RegExp)){walkDefinitionsForValues(N,R+$+".")}}))};walkDefinitionsForValues(E,"");v.valueCacheVersions.set(le,_e.digest("hex").slice(0,8))}))}}v.exports=DefinePlugin},35200:function(v,E,R){"use strict";const{OriginalSource:$,RawSource:j}=R(51255);const N=R(71433);const q=R(42976);const G=R(7889);const ie=R(79572);const ae=R(56078);const ce=new Set(["javascript"]);const le=new Set([q.module,q.require]);class DelegatedModule extends N{constructor(v,E,R,$,j){super("javascript/dynamic",null);this.sourceRequest=v;this.request=E.id;this.delegationType=R;this.userRequest=$;this.originalRequest=j;this.delegateData=E;this.delegatedSourceDependency=undefined}getSourceTypes(){return ce}libIdent(v){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(v)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(v){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(v,E){return E(null,!this.buildMeta)}build(v,E,R,$,j){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new G(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new ie(this.delegateData.exports||true,false));j()}codeGeneration({runtimeTemplate:v,moduleGraph:E,chunkGraph:R}){const N=this.dependencies[0];const q=E.getModule(N);let G;if(!q){G=v.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{G=`module.exports = (${v.moduleExports({module:q,chunkGraph:R,request:N.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":G+=`(${JSON.stringify(this.request)})`;break;case"object":G+=`[${JSON.stringify(this.request)}]`;break}G+=";"}const ie=new Map;if(this.useSourceMap||this.useSimpleSourceMap){ie.set("javascript",new $(G,this.identifier()))}else{ie.set("javascript",new j(G))}return{sources:ie,runtimeRequirements:le}}size(v){return 42}updateHash(v,E){v.update(this.delegationType);v.update(JSON.stringify(this.request));super.updateHash(v,E)}serialize(v){const{write:E}=v;E(this.sourceRequest);E(this.delegateData);E(this.delegationType);E(this.userRequest);E(this.originalRequest);super.serialize(v)}static deserialize(v){const{read:E}=v;const R=new DelegatedModule(E(),E(),E(),E(),E());R.deserialize(v);return R}updateCacheModule(v){super.updateCacheModule(v);const E=v;this.delegationType=E.delegationType;this.userRequest=E.userRequest;this.originalRequest=E.originalRequest;this.delegateData=E.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}ae(DelegatedModule,"webpack/lib/DelegatedModule");v.exports=DelegatedModule},87933:function(v,E,R){"use strict";const $=R(35200);class DelegatedModuleFactoryPlugin{constructor(v){this.options=v;v.type=v.type||"require";v.extensions=v.extensions||["",".js",".json",".wasm"]}apply(v){const E=this.options.scope;if(E){v.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((v,R)=>{const[j]=v.dependencies;const{request:N}=j;if(N&&N.startsWith(`${E}/`)){const v="."+N.slice(E.length);let j;if(v in this.options.content){j=this.options.content[v];return R(null,new $(this.options.source,j,this.options.type,v,N))}for(let E=0;E<this.options.extensions.length;E++){const q=this.options.extensions[E];const G=v+q;if(G in this.options.content){j=this.options.content[G];return R(null,new $(this.options.source,j,this.options.type,G,N+q))}}}return R()}))}else{v.hooks.module.tap("DelegatedModuleFactoryPlugin",(v=>{const E=v.libIdent(this.options);if(E){if(E in this.options.content){const R=this.options.content[E];return new $(this.options.source,R,this.options.type,E,v)}}return v}))}}}v.exports=DelegatedModuleFactoryPlugin},71146:function(v,E,R){"use strict";const $=R(87933);const j=R(7889);class DelegatedPlugin{constructor(v){this.options=v}apply(v){v.hooks.compilation.tap("DelegatedPlugin",((v,{normalModuleFactory:E})=>{v.dependencyFactories.set(j,E)}));v.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:E})=>{new $({associatedObjectForCache:v.root,...this.options}).apply(E)}))}}v.exports=DelegatedPlugin},75952:function(v,E,R){"use strict";const $=R(56078);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.parent=undefined}getRootBlock(){let v=this;while(v.parent)v=v.parent;return v}addBlock(v){this.blocks.push(v);v.parent=this}addDependency(v){this.dependencies.push(v)}removeDependency(v){const E=this.dependencies.indexOf(v);if(E>=0){this.dependencies.splice(E,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(v,E){for(const R of this.dependencies){R.updateHash(v,E)}for(const R of this.blocks){R.updateHash(v,E)}}serialize({write:v}){v(this.dependencies);v(this.blocks)}deserialize({read:v}){this.dependencies=v();this.blocks=v();for(const v of this.blocks){v.parent=this}}}$(DependenciesBlock,"webpack/lib/DependenciesBlock");v.exports=DependenciesBlock},40368:function(v,E,R){"use strict";const $=R(16679);const j=Symbol("transitive");const N=$((()=>{const v=R(11354);return new v("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this._parentDependenciesBlockIndex=-1;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const v={};if(this._locSL>0){v.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){v.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){v.name=this._locN}if(this._locI!==undefined){v.index=this._locI}return this._loc=v}set loc(v){if("start"in v&&typeof v.start==="object"){this._locSL=v.start.line||0;this._locSC=v.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in v&&typeof v.end==="object"){this._locEL=v.end.line||0;this._locEC=v.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in v){this._locI=v.index}else{this._locI=undefined}if("name"in v){this._locN=v.name}else{this._locN=undefined}this._loc=v}setLoc(v,E,R,$){this._locSL=v;this._locSC=E;this._locEL=R;this._locEC=$;this._locI=undefined;this._locN=undefined;this._loc=undefined}getContext(){return undefined}getResourceIdentifier(){return null}couldAffectReferencingModule(){return j}getReference(v){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(v,E){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(v){return null}getExports(v){return undefined}getWarnings(v){return null}getErrors(v){return null}updateHash(v,E){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(v){return true}createIgnoredModule(v){return N()}serialize({write:v}){v(this.weak);v(this.optional);v(this._locSL);v(this._locSC);v(this._locEL);v(this._locEC);v(this._locI);v(this._locN)}deserialize({read:v}){this.weak=v();this.optional=v();this._locSL=v();this._locSC=v();this._locEL=v();this._locEC=v();this._locI=v();this._locN=v()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});Dependency.TRANSITIVE=j;v.exports=Dependency},50492:function(v,E,R){"use strict";class DependencyTemplate{apply(v,E,$){const j=R(68283);throw new j}}v.exports=DependencyTemplate},11549:function(v,E,R){"use strict";const $=R(84351);class DependencyTemplates{constructor(v="md4"){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0";this._hashFunction=v}get(v){return this._map.get(v)}set(v,E){this._map.set(v,E)}updateHash(v){const E=$(this._hashFunction);E.update(`${this._hash}${v}`);this._hash=E.digest("hex")}getHash(){return this._hash}clone(){const v=new DependencyTemplates(this._hashFunction);v._map=new Map(this._map);v._hash=this._hash;return v}}v.exports=DependencyTemplates},58054:function(v,E,R){"use strict";const $=R(48306);const j=R(39519);const N=R(71642);class DllEntryPlugin{constructor(v,E,R){this.context=v;this.entries=E;this.options=R}apply(v){v.hooks.compilation.tap("DllEntryPlugin",((v,{normalModuleFactory:E})=>{const R=new $;v.dependencyFactories.set(j,R);v.dependencyFactories.set(N,E)}));v.hooks.make.tapAsync("DllEntryPlugin",((v,E)=>{v.addEntry(this.context,new j(this.entries.map(((v,E)=>{const R=new N(v);R.loc={name:this.options.name,index:E};return R})),this.options.name),this.options,E)}))}}v.exports=DllEntryPlugin},70994:function(v,E,R){"use strict";const{RawSource:$}=R(51255);const j=R(71433);const N=R(42976);const q=R(56078);const G=new Set(["javascript"]);const ie=new Set([N.require,N.module]);class DllModule extends j{constructor(v,E,R){super("javascript/dynamic",v);this.dependencies=E;this.name=R}getSourceTypes(){return G}identifier(){return`dll ${this.name}`}readableIdentifier(v){return`dll ${this.name}`}build(v,E,R,$,j){this.buildMeta={};this.buildInfo={};return j()}codeGeneration(v){const E=new Map;E.set("javascript",new $("module.exports = __webpack_require__;"));return{sources:E,runtimeRequirements:ie}}needBuild(v,E){return E(null,!this.buildMeta)}size(v){return 12}updateHash(v,E){v.update(`dll module${this.name||""}`);super.updateHash(v,E)}serialize(v){v.write(this.name);super.serialize(v)}deserialize(v){this.name=v.read();super.deserialize(v)}updateCacheModule(v){super.updateCacheModule(v);this.dependencies=v.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}q(DllModule,"webpack/lib/DllModule");v.exports=DllModule},48306:function(v,E,R){"use strict";const $=R(70994);const j=R(11704);class DllModuleFactory extends j{constructor(){super();this.hooks=Object.freeze({})}create(v,E){const R=v.dependencies[0];E(null,{module:new $(v.context,R.dependencies,R.name)})}}v.exports=DllModuleFactory},99014:function(v,E,R){"use strict";const $=R(58054);const j=R(21222);const N=R(70189);const q=R(1422);const G=q(R(76776),(()=>R(81419)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(v){G(v);this.options={...v,entryOnly:v.entryOnly!==false}}apply(v){v.hooks.entryOption.tap("DllPlugin",((E,R)=>{if(typeof R!=="function"){for(const j of Object.keys(R)){const N={name:j,filename:R.filename};new $(E,R[j].import,N).apply(v)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new N(this.options).apply(v);if(!this.options.entryOnly){new j("DllPlugin").apply(v)}}}v.exports=DllPlugin},63931:function(v,E,R){"use strict";const $=R(54650);const j=R(87933);const N=R(92);const q=R(85969);const G=R(7889);const ie=R(1422);const ae=R(33553).makePathsRelative;const ce=ie(R(13764),(()=>R(53858)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(v){ce(v);this.options=v;this._compilationData=new WeakMap}apply(v){v.hooks.compilation.tap("DllReferencePlugin",((v,{normalModuleFactory:E})=>{v.dependencyFactories.set(G,E)}));v.hooks.beforeCompile.tapAsync("DllReferencePlugin",((E,R)=>{if("manifest"in this.options){const j=this.options.manifest;if(typeof j==="string"){v.inputFileSystem.readFile(j,((N,q)=>{if(N)return R(N);const G={path:j,data:undefined,error:undefined};try{G.data=$(q.toString("utf-8"))}catch(E){const R=ae(v.options.context,j,v.root);G.error=new DllManifestError(R,E.message)}this._compilationData.set(E,G);return R()}));return}}return R()}));v.hooks.compile.tap("DllReferencePlugin",(E=>{let R=this.options.name;let $=this.options.sourceType;let q="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let v=this.options.manifest;let j;if(typeof v==="string"){const v=this._compilationData.get(E);if(v.error){return}j=v.data}else{j=v}if(j){if(!R)R=j.name;if(!$)$=j.type;if(!q)q=j.content}}const G={};const ie="dll-reference "+R;G[ie]=R;const ae=E.normalModuleFactory;new N($||"var",G).apply(ae);new j({source:ie,type:this.options.type,scope:this.options.scope,context:this.options.context||v.options.context,content:q,extensions:this.options.extensions,associatedObjectForCache:v.root}).apply(ae)}));v.hooks.compilation.tap("DllReferencePlugin",((v,E)=>{if("manifest"in this.options){let R=this.options.manifest;if(typeof R==="string"){const $=this._compilationData.get(E);if($.error){v.errors.push($.error)}v.fileDependencies.add(R)}}}))}}class DllManifestError extends q{constructor(v,E){super();this.name="DllManifestError";this.message=`Dll manifest ${v}\n${E}`}}v.exports=DllReferencePlugin},67034:function(v,E,R){"use strict";const $=R(48316);const j=R(94162);const N=R(71642);class DynamicEntryPlugin{constructor(v,E){this.context=v;this.entry=E}apply(v){v.hooks.compilation.tap("DynamicEntryPlugin",((v,{normalModuleFactory:E})=>{v.dependencyFactories.set(N,E)}));v.hooks.make.tapPromise("DynamicEntryPlugin",((E,R)=>Promise.resolve(this.entry()).then((R=>{const N=[];for(const q of Object.keys(R)){const G=R[q];const ie=$.entryDescriptionToOptions(v,q,G);for(const v of G.import){N.push(new Promise(((R,$)=>{E.addEntry(this.context,j.createDependency(v,ie),ie,(v=>{if(v)return $(v);R()}))})))}}return Promise.all(N)})).then((v=>{}))))}}v.exports=DynamicEntryPlugin},48316:function(v,E,R){"use strict";class EntryOptionPlugin{apply(v){v.hooks.entryOption.tap("EntryOptionPlugin",((E,R)=>{EntryOptionPlugin.applyEntryOption(v,E,R);return true}))}static applyEntryOption(v,E,$){if(typeof $==="function"){const j=R(67034);new j(E,$).apply(v)}else{const j=R(94162);for(const R of Object.keys($)){const N=$[R];const q=EntryOptionPlugin.entryDescriptionToOptions(v,R,N);for(const R of N.import){new j(E,R,q).apply(v)}}}}static entryDescriptionToOptions(v,E,$){const j={name:E,filename:$.filename,runtime:$.runtime,layer:$.layer,dependOn:$.dependOn,baseUri:$.baseUri,publicPath:$.publicPath,chunkLoading:$.chunkLoading,asyncChunks:$.asyncChunks,wasmLoading:$.wasmLoading,library:$.library};if($.layer!==undefined&&!v.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if($.chunkLoading){const E=R(19479);E.checkEnabled(v,$.chunkLoading)}if($.wasmLoading){const E=R(22439);E.checkEnabled(v,$.wasmLoading)}if($.library){const E=R(26724);E.checkEnabled(v,$.library.type)}return j}}v.exports=EntryOptionPlugin},94162:function(v,E,R){"use strict";const $=R(71642);class EntryPlugin{constructor(v,E,R){this.context=v;this.entry=E;this.options=R||""}apply(v){v.hooks.compilation.tap("EntryPlugin",((v,{normalModuleFactory:E})=>{v.dependencyFactories.set($,E)}));const{entry:E,options:R,context:j}=this;const N=EntryPlugin.createDependency(E,R);v.hooks.make.tapAsync("EntryPlugin",((v,E)=>{v.addEntry(j,N,R,(v=>{E(v)}))}))}static createDependency(v,E){const R=new $(v);R.loc={name:typeof E==="object"?E.name:E};return R}}v.exports=EntryPlugin},5767:function(v,E,R){"use strict";const $=R(61431);class Entrypoint extends ${constructor(v,E=true){if(typeof v==="string"){v={name:v}}super({name:v.name});this.options=v;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=E}isInitial(){return this._initial}setRuntimeChunk(v){this._runtimeChunk=v}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const v of this.parentsIterable){if(v instanceof Entrypoint)return v.getRuntimeChunk()}return null}setEntrypointChunk(v){this._entrypointChunk=v}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(v,E){if(this._runtimeChunk===v)this._runtimeChunk=E;if(this._entrypointChunk===v)this._entrypointChunk=E;return super.replaceChunk(v,E)}}v.exports=Entrypoint},3862:function(v,E,R){"use strict";const $=R(73155);const j=R(85969);class EnvironmentPlugin{constructor(...v){if(v.length===1&&Array.isArray(v[0])){this.keys=v[0];this.defaultValues={}}else if(v.length===1&&v[0]&&typeof v[0]==="object"){this.keys=Object.keys(v[0]);this.defaultValues=v[0]}else{this.keys=v;this.defaultValues={}}}apply(v){const E={};for(const R of this.keys){const $=process.env[R]!==undefined?process.env[R]:this.defaultValues[R];if($===undefined){v.hooks.thisCompilation.tap("EnvironmentPlugin",(v=>{const E=new j(`EnvironmentPlugin - ${R} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");E.name="EnvVariableNotDefinedError";v.errors.push(E)}))}E[`process.env.${R}`]=$===undefined?"undefined":JSON.stringify($)}new $(E).apply(v)}}v.exports=EnvironmentPlugin},84205:function(v,E){"use strict";const R="LOADER_EXECUTION";const $="WEBPACK_OPTIONS";E.cutOffByFlag=(v,E)=>{v=v.split("\n");for(let R=0;R<v.length;R++){if(v[R].includes(E)){v.length=R}}return v.join("\n")};E.cutOffLoaderExecution=v=>E.cutOffByFlag(v,R);E.cutOffWebpackOptions=v=>E.cutOffByFlag(v,$);E.cutOffMultilineMessage=(v,E)=>{v=v.split("\n");E=E.split("\n");const R=[];v.forEach(((v,$)=>{if(!v.includes(E[$]))R.push(v)}));return R.join("\n")};E.cutOffMessage=(v,E)=>{const R=v.indexOf("\n");if(R===-1){return v===E?"":v}else{const $=v.slice(0,R);return $===E?v.slice(R+1):v}};E.cleanUp=(v,R)=>{v=E.cutOffLoaderExecution(v);v=E.cutOffMessage(v,R);return v};E.cleanUpWebpackOptions=(v,R)=>{v=E.cutOffWebpackOptions(v);v=E.cutOffMultilineMessage(v,R);return v}},39375:function(v,E,R){"use strict";const{ConcatSource:$,RawSource:j}=R(51255);const N=R(70718);const q=R(29600);const G=R(42976);const ie=R(72483);const ae=new WeakMap;const ce=new j(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(v){this.namespace=v.namespace||"";this.sourceUrlComment=v.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=v.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(v){v.hooks.compilation.tap("EvalDevToolModulePlugin",(v=>{const E=ie.getCompilationHooks(v);E.renderModuleContent.tap("EvalDevToolModulePlugin",((E,R,{runtimeTemplate:$,chunkGraph:ie})=>{const ce=ae.get(E);if(ce!==undefined)return ce;if(R instanceof N){ae.set(E,E);return E}const le=E.source();const me=q.createFilename(R,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:$.requestShortener,chunkGraph:ie,hashFunction:v.outputOptions.hashFunction});const _e="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(me).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const Ie=new j(`eval(${v.outputOptions.trustedTypes?`${G.createScript}(${JSON.stringify(le+_e)})`:JSON.stringify(le+_e)});`);ae.set(E,Ie);return Ie}));E.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));E.render.tap("EvalDevToolModulePlugin",(v=>new $(ce,v)));E.chunkHash.tap("EvalDevToolModulePlugin",((v,E)=>{E.update("EvalDevToolModulePlugin");E.update("2")}));if(v.outputOptions.trustedTypes){v.hooks.additionalModuleRuntimeRequirements.tap("EvalDevToolModulePlugin",((v,E,R)=>{E.add(G.createScript)}))}}))}}v.exports=EvalDevToolModulePlugin},21321:function(v,E,R){"use strict";const{ConcatSource:$,RawSource:j}=R(51255);const N=R(29600);const q=R(61665);const G=R(42976);const ie=R(49635);const ae=R(72483);const ce=R(82739);const{makePathsAbsolute:le}=R(33553);const me=new WeakMap;const _e=new j(`\n`);class EvalSourceMapDevToolPlugin{constructor(v){let E;if(typeof v==="string"){E={append:v}}else{E=v}this.sourceMapComment=E.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=E.namespace||"";this.options=E}apply(v){const E=this.options;v.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(R=>{const Ie=ae.getCompilationHooks(R);new ie(E).apply(R);const Me=N.matchObject.bind(N,E);Ie.renderModuleContent.tap("EvalSourceMapDevToolPlugin",(($,ie,{runtimeTemplate:ae,chunkGraph:_e})=>{const Ie=me.get($);if(Ie!==undefined){return Ie}const result=v=>{me.set($,v);return v};if(ie instanceof q){const v=ie;if(!Me(v.resource)){return result($)}}else if(ie instanceof ce){const v=ie;if(v.rootModule instanceof q){const E=v.rootModule;if(!Me(E.resource)){return result($)}}else{return result($)}}else{return result($)}let Oe;let Te;if($.sourceAndMap){const v=$.sourceAndMap(E);Oe=v.map;Te=v.source}else{Oe=$.map(E);Te=$.source()}if(!Oe){return result($)}Oe={...Oe};const Ne=v.options.context;const Be=v.root;const Le=Oe.sources.map((v=>{if(!v.startsWith("webpack://"))return v;v=le(Ne,v.slice(10),Be);const E=R.findModule(v);return E||v}));let qe=Le.map((v=>N.createFilename(v,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:ae.requestShortener,chunkGraph:_e,hashFunction:R.outputOptions.hashFunction})));qe=N.replaceDuplicates(qe,((v,E,R)=>{for(let E=0;E<R;E++)v+="*";return v}));Oe.sources=qe;Oe.sourceRoot=E.sourceRoot||"";const Ue=_e.getModuleId(ie);Oe.file=`${Ue}.js`;const Ge=this.sourceMapComment.replace(/\[url\]/g,`data:application/json;charset=utf-8;base64,${Buffer.from(JSON.stringify(Oe),"utf8").toString("base64")}`)+`\n
|