@winner-fed/bundler-webpack
Version:
@winner-fed/bundler-webpack
1 lines • 194 kB
JavaScript
(function(){var e={476:function(e,t,i){e.exports={version:i(3),stringifyInfo:i(676),stringifyStream:i(116),parseChunked:i(484)}},484:function(e,t,i){const{isReadableStream:s}=i(826);const r=i(841);const a=1;const n=2;const o=new r;function isObject(e){return e!==null&&typeof e==="object"}function adjustPosition(e,t){if(e.name==="SyntaxError"&&t.jsonParseOffset){e.message=e.message.replace(/at position (\d+)/,((e,i)=>"at position "+(Number(i)+t.jsonParseOffset)))}return e}function append(e,t){const i=e.length;e.length+=t.length;for(let s=0;s<t.length;s++){e[i+s]=t[s]}}e.exports=function(e){let t=new ChunkParser;if(isObject(e)&&s(e)){return new Promise(((i,s)=>{e.on("data",(e=>{try{t.push(e)}catch(e){s(adjustPosition(e,t));t=null}})).on("error",(e=>{t=null;s(e)})).on("end",(()=>{try{i(t.finish())}catch(e){s(adjustPosition(e,t))}finally{t=null}}))}))}if(typeof e==="function"){const i=e();if(isObject(i)&&(Symbol.iterator in i||Symbol.asyncIterator in i)){return new Promise((async(e,s)=>{try{for await(const e of i){t.push(e)}e(t.finish())}catch(e){s(adjustPosition(e,t))}finally{t=null}}))}}throw new Error("Chunk emitter should be readable stream, generator, "+"async generator or function returning an iterable object")};class ChunkParser{constructor(){this.value=undefined;this.valueStack=null;this.stack=new Array(100);this.lastFlushDepth=0;this.flushDepth=0;this.stateString=false;this.stateStringEscape=false;this.pendingByteSeq=null;this.pendingChunk=null;this.chunkOffset=0;this.jsonParseOffset=0}parseAndAppend(e,t){if(this.stack[this.lastFlushDepth-1]===a){if(t){this.jsonParseOffset--;e="{"+e+"}"}Object.assign(this.valueStack.value,JSON.parse(e))}else{if(t){this.jsonParseOffset--;e="["+e+"]"}append(this.valueStack.value,JSON.parse(e))}}prepareAddition(e){const{value:t}=this.valueStack;const i=Array.isArray(t)?t.length!==0:Object.keys(t).length!==0;if(i){if(e[0]===","){this.jsonParseOffset++;return e.slice(1)}if(e[0]!=="}"&&e[0]!=="]"){this.jsonParseOffset-=3;return"[[]"+e}}return e}flush(e,t,i){let s=e.slice(t,i);this.jsonParseOffset=this.chunkOffset+t;if(this.pendingChunk!==null){s=this.pendingChunk+s;this.jsonParseOffset-=this.pendingChunk.length;this.pendingChunk=null}if(this.flushDepth===this.lastFlushDepth){if(this.flushDepth>0){this.parseAndAppend(this.prepareAddition(s),true)}else{this.value=JSON.parse(s);this.valueStack={value:this.value,prev:null}}}else if(this.flushDepth>this.lastFlushDepth){for(let e=this.flushDepth-1;e>=this.lastFlushDepth;e--){s+=this.stack[e]===a?"}":"]"}if(this.lastFlushDepth===0){this.value=JSON.parse(s);this.valueStack={value:this.value,prev:null}}else{this.parseAndAppend(this.prepareAddition(s),true)}for(let e=this.lastFlushDepth||1;e<this.flushDepth;e++){let t=this.valueStack.value;if(this.stack[e-1]===a){let e;for(e in t);t=t[e]}else{t=t[t.length-1]}this.valueStack={value:t,prev:this.valueStack}}}else{s=this.prepareAddition(s);for(let e=this.lastFlushDepth-1;e>=this.flushDepth;e--){this.jsonParseOffset--;s=(this.stack[e]===a?"{":"[")+s}this.parseAndAppend(s,false);for(let e=this.lastFlushDepth-1;e>=this.flushDepth;e--){this.valueStack=this.valueStack.prev}}this.lastFlushDepth=this.flushDepth}push(e){if(typeof e!=="string"){if(this.pendingByteSeq!==null){const t=e;e=new Uint8Array(this.pendingByteSeq.length+t.length);e.set(this.pendingByteSeq);e.set(t,this.pendingByteSeq.length);this.pendingByteSeq=null}if(e[e.length-1]>127){for(let t=0;t<e.length;t++){const i=e[e.length-1-t];if(i>>6===3){t++;if(t!==4&&i>>3===30||t!==3&&i>>4===14||t!==2&&i>>5===6){this.pendingByteSeq=e.slice(e.length-t);e=e.slice(0,-t)}break}}}e=o.decode(e)}const t=e.length;let i=0;let s=0;e:for(let r=0;r<t;r++){if(this.stateString){for(;r<t;r++){if(this.stateStringEscape){this.stateStringEscape=false}else{switch(e.charCodeAt(r)){case 34:this.stateString=false;continue e;case 92:this.stateStringEscape=true}}}break}switch(e.charCodeAt(r)){case 34:this.stateString=true;this.stateStringEscape=false;break;case 44:s=r;break;case 123:s=r+1;this.stack[this.flushDepth++]=a;break;case 91:s=r+1;this.stack[this.flushDepth++]=n;break;case 93:case 125:s=r+1;this.flushDepth--;if(this.flushDepth<this.lastFlushDepth){this.flush(e,i,s);i=s}break;case 9:case 10:case 13:case 32:if(i===r){i++}if(s===r){s++}break}}if(s>i){this.flush(e,i,s)}if(s<t){if(this.pendingChunk!==null){this.pendingChunk+=e}else{this.pendingChunk=e.slice(s,t)}}this.chunkOffset+=t}finish(){if(this.pendingChunk!==null){this.flush("",0,0);this.pendingChunk=null}return this.value}}},676:function(e,t,i){const{normalizeReplacer:s,normalizeSpace:r,replaceValue:a,getTypeNative:n,getTypeAsync:o,isLeadingSurrogate:l,isTrailingSurrogate:p,escapableCharCodeSubstitution:h,type:{PRIMITIVE:u,OBJECT:f,ARRAY:d,PROMISE:m,STRING_STREAM:g,OBJECT_STREAM:x}}=i(826);const v=Array.from({length:2048}).map(((e,t)=>{if(h.hasOwnProperty(t)){return 2}if(t<32){return 6}return t<128?1:2}));function stringLength(e){let t=0;let i=false;for(let s=0;s<e.length;s++){const r=e.charCodeAt(s);if(r<2048){t+=v[r]}else if(l(r)){t+=6;i=true;continue}else if(p(r)){t=i?t-2:t+6}else{t+=3}i=false}return t+2}function primitiveLength(e){switch(typeof e){case"string":return stringLength(e);case"number":return Number.isFinite(e)?String(e).length:4;case"boolean":return e?4:5;case"undefined":case"object":return 4;default:return 0}}function spaceLength(e){e=r(e);return typeof e==="string"?e.length:0}e.exports=function jsonStringifyInfo(e,t,i,r){function walk(e,s,n){if(w){return}n=a(e,s,n,t);let o=S(n);if(o!==u&&h.has(n)){y.add(n);_+=4;if(!r.continueOnCircular){w=true}return}switch(o){case u:if(n!==undefined||Array.isArray(e)){_+=primitiveLength(n)}else if(e===k){_+=9}break;case f:{if(p.has(n)){v.add(n);_+=p.get(n);break}const e=_;let t=0;_+=2;h.add(n);for(const e in n){if(hasOwnProperty.call(n,e)&&(l===null||l.has(e))){const i=_;walk(n,e,n[e]);if(i!==_){_+=stringLength(e)+1;t++}}}if(t>1){_+=t-1}h.delete(n);if(i>0&&t>0){_+=(1+(h.size+1)*i+1)*t;_+=1+h.size*i}p.set(n,_-e);break}case d:{if(p.has(n)){v.add(n);_+=p.get(n);break}const e=_;_+=2;h.add(n);for(let e=0;e<n.length;e++){walk(n,e,n[e])}if(n.length>1){_+=n.length-1}h.delete(n);if(i>0&&n.length>0){_+=(1+(h.size+1)*i)*n.length;_+=1+h.size*i}p.set(n,_-e);break}case m:case g:b.add(n);break;case x:_+=2;b.add(n);break}}let l=null;t=s(t);if(Array.isArray(t)){l=new Set(t);t=null}i=spaceLength(i);r=r||{};const p=new Map;const h=new Set;const v=new Set;const y=new Set;const b=new Set;const S=r.async?o:n;const k={"":e};let w=false;let _=0;walk(k,"",e);return{minLength:isNaN(_)?Infinity:_,circular:[...y],duplicate:[...v],async:[...b]}}},116:function(e,t,i){const{Readable:s}=i(781);const{normalizeReplacer:r,normalizeSpace:a,replaceValue:n,getTypeAsync:o,type:{PRIMITIVE:l,OBJECT:p,ARRAY:h,PROMISE:u,STRING_STREAM:f,OBJECT_STREAM:d}}=i(826);const noop=()=>{};const m=Object.prototype.hasOwnProperty;const g=JSON.stringify("\ud800")==='"\\ud800"'?JSON.stringify:e=>JSON.stringify(e).replace(/\p{Surrogate}/gu,(e=>`\\u${e.charCodeAt(0).toString(16)}`));function push(){this.push(this._stack.value);this.popStack()}function pushPrimitive(e){switch(typeof e){case"string":this.push(this.encodeString(e));break;case"number":this.push(Number.isFinite(e)?this.encodeNumber(e):"null");break;case"boolean":this.push(e?"true":"false");break;case"undefined":case"object":this.push("null");break;default:this.destroy(new TypeError(`Do not know how to serialize a ${e.constructor&&e.constructor.name||typeof e}`))}}function processObjectEntry(e){const t=this._stack;if(!t.first){t.first=true}else{this.push(",")}if(this.space){this.push(`\n${this.space.repeat(this._depth)}${this.encodeString(e)}: `)}else{this.push(this.encodeString(e)+":")}}function processObject(){const e=this._stack;if(e.index===e.keys.length){if(this.space&&e.first){this.push(`\n${this.space.repeat(this._depth-1)}}`)}else{this.push("}")}this.popStack();return}const t=e.keys[e.index];this.processValue(e.value,t,e.value[t],processObjectEntry);e.index++}function processArrayItem(e){if(e!==0){this.push(",")}if(this.space){this.push(`\n${this.space.repeat(this._depth)}`)}}function processArray(){const e=this._stack;if(e.index===e.value.length){if(this.space&&e.index>0){this.push(`\n${this.space.repeat(this._depth-1)}]`)}else{this.push("]")}this.popStack();return}this.processValue(e.value,e.index,e.value[e.index],processArrayItem);e.index++}function createStreamReader(e){return function(){const t=this._stack;const i=t.value.read(this._readSize);if(i!==null){t.first=false;e.call(this,i,t)}else{if(t.first&&!t.value._readableState.reading||t.ended){this.popStack()}else{t.first=true;t.awaiting=true}}}}const x=createStreamReader((function(e,t){this.processValue(t.value,t.index,e,processArrayItem);t.index++}));const v=createStreamReader((function(e){this.push(e)}));class JsonStringifyStream extends s{constructor(e,t,i){super({autoDestroy:true});this.getKeys=Object.keys;this.replacer=r(t);if(Array.isArray(this.replacer)){const e=this.replacer;this.getKeys=t=>e.filter((e=>m.call(t,e)));this.replacer=null}this.space=a(i);this._depth=0;this.error=null;this._processing=false;this._ended=false;this._readSize=0;this._buffer="";this._stack=null;this._visited=new WeakSet;this.pushStack({handler:()=>{this.popStack();this.processValue({"":e},"",e,noop)}})}encodeString(e){if(/[^\x20-\uD799]|[\x22\x5c]/.test(e)){return g(e)}return'"'+e+'"'}encodeNumber(e){return e}processValue(e,t,i,s){i=n(e,t,i,this.replacer);let r=o(i);switch(r){case l:if(s!==processObjectEntry||i!==undefined){s.call(this,t);pushPrimitive.call(this,i)}break;case p:s.call(this,t);if(this._visited.has(i)){return this.destroy(new TypeError("Converting circular structure to JSON"))}this._visited.add(i);this._depth++;this.push("{");this.pushStack({handler:processObject,value:i,index:0,first:false,keys:this.getKeys(i)});break;case h:s.call(this,t);if(this._visited.has(i)){return this.destroy(new TypeError("Converting circular structure to JSON"))}this._visited.add(i);this.push("[");this.pushStack({handler:processArray,value:i,index:0});this._depth++;break;case u:this.pushStack({handler:noop,awaiting:true});Promise.resolve(i).then((i=>{this.popStack();this.processValue(e,t,i,s);this.processStack()})).catch((e=>{this.destroy(e)}));break;case f:case d:s.call(this,t);if(i.readableEnded||i._readableState.endEmitted){return this.destroy(new Error("Readable Stream has ended before it was serialized. All stream data have been lost"))}if(i.readableFlowing){return this.destroy(new Error("Readable Stream is in flowing mode, data may have been lost. Trying to pause stream."))}if(r===d){this.push("[");this.pushStack({handler:push,value:this.space?"\n"+this.space.repeat(this._depth)+"]":"]"});this._depth++}const a=this.pushStack({handler:r===d?x:v,value:i,index:0,first:false,ended:false,awaiting:!i.readable||i.readableLength===0});const continueProcessing=()=>{if(a.awaiting){a.awaiting=false;this.processStack()}};i.once("error",(e=>this.destroy(e)));i.once("end",(()=>{a.ended=true;continueProcessing()}));i.on("readable",continueProcessing);break}}pushStack(e){e.prev=this._stack;return this._stack=e}popStack(){const{handler:e,value:t}=this._stack;if(e===processObject||e===processArray||e===x){this._visited.delete(t);this._depth--}this._stack=this._stack.prev}processStack(){if(this._processing||this._ended){return}try{this._processing=true;while(this._stack!==null&&!this._stack.awaiting){this._stack.handler.call(this);if(!this._processing){return}}this._processing=false}catch(e){this.destroy(e);return}if(this._stack===null&&!this._ended){this._finish();this.push(null)}}push(e){if(e!==null){this._buffer+=e;if(this._buffer.length<this._readSize){return}e=this._buffer;this._buffer="";this._processing=false}super.push(e)}_read(e){this._readSize=e||this.readableHighWaterMark;this.processStack()}_finish(){this._ended=true;this._processing=false;this._stack=null;this._visited=null;if(this._buffer&&this._buffer.length){super.push(this._buffer)}this._buffer=""}_destroy(e,t){this.error=this.error||e;this._finish();t(e)}}e.exports=function createJsonStringifyStream(e,t,i){return new JsonStringifyStream(e,t,i)}},841:function(e,t,i){e.exports=i(837).TextDecoder},826:function(e){const t=1;const i=2;const s=3;const r=4;const a=5;const n=6;const o={8:"\\b",9:"\\t",10:"\\n",12:"\\f",13:"\\r",34:'\\"',92:"\\\\"};function isLeadingSurrogate(e){return e>=55296&&e<=56319}function isTrailingSurrogate(e){return e>=56320&&e<=57343}function isReadableStream(e){return typeof e.pipe==="function"&&typeof e._read==="function"&&typeof e._readableState==="object"&&e._readableState!==null}function replaceValue(e,t,i,s){if(i&&typeof i.toJSON==="function"){i=i.toJSON()}if(s!==null){i=s.call(e,String(t),i)}switch(typeof i){case"function":case"symbol":i=undefined;break;case"object":if(i!==null){const e=i.constructor;if(e===String||e===Number||e===Boolean){i=i.valueOf()}}break}return i}function getTypeNative(e){if(e===null||typeof e!=="object"){return t}if(Array.isArray(e)){return s}return i}function getTypeAsync(e){if(e===null||typeof e!=="object"){return t}if(typeof e.then==="function"){return r}if(isReadableStream(e)){return e._readableState.objectMode?n:a}if(Array.isArray(e)){return s}return i}function normalizeReplacer(e){if(typeof e==="function"){return e}if(Array.isArray(e)){const t=new Set(e.map((e=>{const t=e&&e.constructor;return t===String||t===Number?String(e):null})).filter((e=>typeof e==="string")));return[...t]}return null}function normalizeSpace(e){if(typeof e==="number"){if(!Number.isFinite(e)||e<1){return false}return" ".repeat(Math.min(e,10))}if(typeof e==="string"){return e.slice(0,10)||false}return false}e.exports={escapableCharCodeSubstitution:o,isLeadingSurrogate:isLeadingSurrogate,isTrailingSurrogate:isTrailingSurrogate,type:{PRIMITIVE:t,PROMISE:r,ARRAY:s,OBJECT:i,STRING_STREAM:a,OBJECT_STREAM:n},isReadableStream:isReadableStream,replaceValue:replaceValue,getTypeNative:getTypeNative,getTypeAsync:getTypeAsync,normalizeReplacer:normalizeReplacer,normalizeSpace:normalizeSpace}},3:function(e,t,i){e.exports=i(71).version},674:function(e,t,i){const s=i(477);function parse(e){let t=e.url;if(t==null)return;let i=e._parsedUrl;if(i&&i.raw===t)return i;let r=t,a="",n,o;if(t.length>1){let e=t.indexOf("#",1);if(e!==-1){o=t.substring(e);r=t.substring(0,e)}e=r.indexOf("?",1);if(e!==-1){a=r.substring(e);r=r.substring(0,e);if(a.length>1){n=s.parse(a.substring(1))}}}return e._parsedUrl={pathname:r,search:a,query:n,hash:o,raw:t}}t.parse=parse},378:function(e,t){(function(e,i){true?i(t):0})(this,(function(e){"use strict";function simple(e,t,s,r,a){if(!s){s=i}(function c(e,i,r){var a=r||e.type;s[a](e,i,c);if(t[a]){t[a](e,i)}})(e,r,a)}function ancestor(e,t,s,r,a){var n=[];if(!s){s=i}(function c(e,i,r){var a=r||e.type;var o=e!==n[n.length-1];if(o){n.push(e)}s[a](e,i,c);if(t[a]){t[a](e,i||n,n)}if(o){n.pop()}})(e,r,a)}function recursive(e,t,i,s,r){var a=i?make(i,s||undefined):s;(function c(e,t,i){a[i||e.type](e,t,c)})(e,t,r)}function makeTest(e){if(typeof e==="string"){return function(t){return t===e}}else if(!e){return function(){return true}}else{return e}}var t=function Found(e,t){this.node=e;this.state=t};function full(e,t,s,r,a){if(!s){s=i}var n;(function c(e,i,r){var a=r||e.type;s[a](e,i,c);if(n!==e){t(e,i,a);n=e}})(e,r,a)}function fullAncestor(e,t,s,r){if(!s){s=i}var a=[],n;(function c(e,i,r){var o=r||e.type;var l=e!==a[a.length-1];if(l){a.push(e)}s[o](e,i,c);if(n!==e){t(e,i||a,a,o);n=e}if(l){a.pop()}})(e,r)}function findNodeAt(e,s,r,a,n,o){if(!n){n=i}a=makeTest(a);try{(function c(e,i,o){var l=o||e.type;if((s==null||e.start<=s)&&(r==null||e.end>=r)){n[l](e,i,c)}if((s==null||e.start===s)&&(r==null||e.end===r)&&a(l,e)){throw new t(e,i)}})(e,o)}catch(e){if(e instanceof t){return e}throw e}}function findNodeAround(e,s,r,a,n){r=makeTest(r);if(!a){a=i}try{(function c(e,i,n){var o=n||e.type;if(e.start>s||e.end<s){return}a[o](e,i,c);if(r(o,e)){throw new t(e,i)}})(e,n)}catch(e){if(e instanceof t){return e}throw e}}function findNodeAfter(e,s,r,a,n){r=makeTest(r);if(!a){a=i}try{(function c(e,i,n){if(e.end<s){return}var o=n||e.type;if(e.start>=s&&r(o,e)){throw new t(e,i)}a[o](e,i,c)})(e,n)}catch(e){if(e instanceof t){return e}throw e}}function findNodeBefore(e,s,r,a,n){r=makeTest(r);if(!a){a=i}var o;(function c(e,i,n){if(e.start>s){return}var l=n||e.type;if(e.end<=s&&(!o||o.node.end<e.end)&&r(l,e)){o=new t(e,i)}a[l](e,i,c)})(e,n);return o}function make(e,t){var s=Object.create(t||i);for(var r in e){s[r]=e[r]}return s}function skipThrough(e,t,i){i(e,t)}function ignore(e,t,i){}var i={};i.Program=i.BlockStatement=i.StaticBlock=function(e,t,i){for(var s=0,r=e.body;s<r.length;s+=1){var a=r[s];i(a,t,"Statement")}};i.Statement=skipThrough;i.EmptyStatement=ignore;i.ExpressionStatement=i.ParenthesizedExpression=i.ChainExpression=function(e,t,i){return i(e.expression,t,"Expression")};i.IfStatement=function(e,t,i){i(e.test,t,"Expression");i(e.consequent,t,"Statement");if(e.alternate){i(e.alternate,t,"Statement")}};i.LabeledStatement=function(e,t,i){return i(e.body,t,"Statement")};i.BreakStatement=i.ContinueStatement=ignore;i.WithStatement=function(e,t,i){i(e.object,t,"Expression");i(e.body,t,"Statement")};i.SwitchStatement=function(e,t,i){i(e.discriminant,t,"Expression");for(var s=0,r=e.cases;s<r.length;s+=1){var a=r[s];i(a,t)}};i.SwitchCase=function(e,t,i){if(e.test){i(e.test,t,"Expression")}for(var s=0,r=e.consequent;s<r.length;s+=1){var a=r[s];i(a,t,"Statement")}};i.ReturnStatement=i.YieldExpression=i.AwaitExpression=function(e,t,i){if(e.argument){i(e.argument,t,"Expression")}};i.ThrowStatement=i.SpreadElement=function(e,t,i){return i(e.argument,t,"Expression")};i.TryStatement=function(e,t,i){i(e.block,t,"Statement");if(e.handler){i(e.handler,t)}if(e.finalizer){i(e.finalizer,t,"Statement")}};i.CatchClause=function(e,t,i){if(e.param){i(e.param,t,"Pattern")}i(e.body,t,"Statement")};i.WhileStatement=i.DoWhileStatement=function(e,t,i){i(e.test,t,"Expression");i(e.body,t,"Statement")};i.ForStatement=function(e,t,i){if(e.init){i(e.init,t,"ForInit")}if(e.test){i(e.test,t,"Expression")}if(e.update){i(e.update,t,"Expression")}i(e.body,t,"Statement")};i.ForInStatement=i.ForOfStatement=function(e,t,i){i(e.left,t,"ForInit");i(e.right,t,"Expression");i(e.body,t,"Statement")};i.ForInit=function(e,t,i){if(e.type==="VariableDeclaration"){i(e,t)}else{i(e,t,"Expression")}};i.DebuggerStatement=ignore;i.FunctionDeclaration=function(e,t,i){return i(e,t,"Function")};i.VariableDeclaration=function(e,t,i){for(var s=0,r=e.declarations;s<r.length;s+=1){var a=r[s];i(a,t)}};i.VariableDeclarator=function(e,t,i){i(e.id,t,"Pattern");if(e.init){i(e.init,t,"Expression")}};i.Function=function(e,t,i){if(e.id){i(e.id,t,"Pattern")}for(var s=0,r=e.params;s<r.length;s+=1){var a=r[s];i(a,t,"Pattern")}i(e.body,t,e.expression?"Expression":"Statement")};i.Pattern=function(e,t,i){if(e.type==="Identifier"){i(e,t,"VariablePattern")}else if(e.type==="MemberExpression"){i(e,t,"MemberPattern")}else{i(e,t)}};i.VariablePattern=ignore;i.MemberPattern=skipThrough;i.RestElement=function(e,t,i){return i(e.argument,t,"Pattern")};i.ArrayPattern=function(e,t,i){for(var s=0,r=e.elements;s<r.length;s+=1){var a=r[s];if(a){i(a,t,"Pattern")}}};i.ObjectPattern=function(e,t,i){for(var s=0,r=e.properties;s<r.length;s+=1){var a=r[s];if(a.type==="Property"){if(a.computed){i(a.key,t,"Expression")}i(a.value,t,"Pattern")}else if(a.type==="RestElement"){i(a.argument,t,"Pattern")}}};i.Expression=skipThrough;i.ThisExpression=i.Super=i.MetaProperty=ignore;i.ArrayExpression=function(e,t,i){for(var s=0,r=e.elements;s<r.length;s+=1){var a=r[s];if(a){i(a,t,"Expression")}}};i.ObjectExpression=function(e,t,i){for(var s=0,r=e.properties;s<r.length;s+=1){var a=r[s];i(a,t)}};i.FunctionExpression=i.ArrowFunctionExpression=i.FunctionDeclaration;i.SequenceExpression=function(e,t,i){for(var s=0,r=e.expressions;s<r.length;s+=1){var a=r[s];i(a,t,"Expression")}};i.TemplateLiteral=function(e,t,i){for(var s=0,r=e.quasis;s<r.length;s+=1){var a=r[s];i(a,t)}for(var n=0,o=e.expressions;n<o.length;n+=1){var l=o[n];i(l,t,"Expression")}};i.TemplateElement=ignore;i.UnaryExpression=i.UpdateExpression=function(e,t,i){i(e.argument,t,"Expression")};i.BinaryExpression=i.LogicalExpression=function(e,t,i){i(e.left,t,"Expression");i(e.right,t,"Expression")};i.AssignmentExpression=i.AssignmentPattern=function(e,t,i){i(e.left,t,"Pattern");i(e.right,t,"Expression")};i.ConditionalExpression=function(e,t,i){i(e.test,t,"Expression");i(e.consequent,t,"Expression");i(e.alternate,t,"Expression")};i.NewExpression=i.CallExpression=function(e,t,i){i(e.callee,t,"Expression");if(e.arguments){for(var s=0,r=e.arguments;s<r.length;s+=1){var a=r[s];i(a,t,"Expression")}}};i.MemberExpression=function(e,t,i){i(e.object,t,"Expression");if(e.computed){i(e.property,t,"Expression")}};i.ExportNamedDeclaration=i.ExportDefaultDeclaration=function(e,t,i){if(e.declaration){i(e.declaration,t,e.type==="ExportNamedDeclaration"||e.declaration.id?"Statement":"Expression")}if(e.source){i(e.source,t,"Expression")}};i.ExportAllDeclaration=function(e,t,i){if(e.exported){i(e.exported,t)}i(e.source,t,"Expression")};i.ImportDeclaration=function(e,t,i){for(var s=0,r=e.specifiers;s<r.length;s+=1){var a=r[s];i(a,t)}i(e.source,t,"Expression")};i.ImportExpression=function(e,t,i){i(e.source,t,"Expression")};i.ImportSpecifier=i.ImportDefaultSpecifier=i.ImportNamespaceSpecifier=i.Identifier=i.PrivateIdentifier=i.Literal=ignore;i.TaggedTemplateExpression=function(e,t,i){i(e.tag,t,"Expression");i(e.quasi,t,"Expression")};i.ClassDeclaration=i.ClassExpression=function(e,t,i){return i(e,t,"Class")};i.Class=function(e,t,i){if(e.id){i(e.id,t,"Pattern")}if(e.superClass){i(e.superClass,t,"Expression")}i(e.body,t)};i.ClassBody=function(e,t,i){for(var s=0,r=e.body;s<r.length;s+=1){var a=r[s];i(a,t)}};i.MethodDefinition=i.PropertyDefinition=i.Property=function(e,t,i){if(e.computed){i(e.key,t,"Expression")}if(e.value){i(e.value,t,"Expression")}};e.ancestor=ancestor;e.base=i;e.findNodeAfter=findNodeAfter;e.findNodeAround=findNodeAround;e.findNodeAt=findNodeAt;e.findNodeBefore=findNodeBefore;e.full=full;e.fullAncestor=fullAncestor;e.make=make;e.recursive=recursive;e.simple=simple}))},689:function(e,t){(function(e,i){true?i(t):0})(this,(function(e){"use strict";var t=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];var i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];var s="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";var r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var a={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var n="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var o={5:n,"5module":n+" export import",6:n+" const class extends export import super"};var l=/^in(stanceof)?$/;var p=new RegExp("["+r+"]");var h=new RegExp("["+r+s+"]");function isInAstralSet(e,t){var i=65536;for(var s=0;s<t.length;s+=2){i+=t[s];if(i>e){return false}i+=t[s+1];if(i>=e){return true}}return false}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&p.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,i)}function isIdentifierChar(e,s){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&h.test(String.fromCharCode(e))}if(s===false){return false}return isInAstralSet(e,i)||isInAstralSet(e,t)}var u=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new u(e,{beforeExpr:true,binop:t})}var f={beforeExpr:true},d={startsExpr:true};var m={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return m[e]=new u(e,t)}var g={num:new u("num",d),regexp:new u("regexp",d),string:new u("string",d),name:new u("name",d),privateId:new u("privateId",d),eof:new u("eof"),bracketL:new u("[",{beforeExpr:true,startsExpr:true}),bracketR:new u("]"),braceL:new u("{",{beforeExpr:true,startsExpr:true}),braceR:new u("}"),parenL:new u("(",{beforeExpr:true,startsExpr:true}),parenR:new u(")"),comma:new u(",",f),semi:new u(";",f),colon:new u(":",f),dot:new u("."),question:new u("?",f),questionDot:new u("?."),arrow:new u("=>",f),template:new u("template"),invalidTemplate:new u("invalidTemplate"),ellipsis:new u("...",f),backQuote:new u("`",d),dollarBraceL:new u("${",{beforeExpr:true,startsExpr:true}),eq:new u("=",{beforeExpr:true,isAssign:true}),assign:new u("_=",{beforeExpr:true,isAssign:true}),incDec:new u("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new u("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new u("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new u("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",f),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",f),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",f),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",d),_if:kw("if"),_return:kw("return",f),_switch:kw("switch"),_throw:kw("throw",f),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",d),_super:kw("super",d),_class:kw("class",d),_extends:kw("extends",f),_export:kw("export"),_import:kw("import",d),_null:kw("null",d),_true:kw("true",d),_false:kw("false",d),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var x=/\r\n?|\n|\u2028|\u2029/;var v=new RegExp(x.source,"g");function isNewLine(e){return e===10||e===13||e===8232||e===8233}function nextLineBreak(e,t,i){if(i===void 0)i=e.length;for(var s=t;s<i;s++){var r=e.charCodeAt(s);if(isNewLine(r)){return s<i-1&&r===13&&e.charCodeAt(s+1)===10?s+2:s+1}}return-1}var y=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var b=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var S=Object.prototype;var k=S.hasOwnProperty;var w=S.toString;var _=Object.hasOwn||function(e,t){return k.call(e,t)};var C=Array.isArray||function(e){return w.call(e)==="[object Array]"};var E=Object.create(null);function wordsRegexp(e){return E[e]||(E[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}var A=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;var I=function Position(e,t){this.line=e;this.column=t};I.prototype.offset=function offset(e){return new I(this.line,this.column+e)};var P=function SourceLocation(e,t,i){this.start=t;this.end=i;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var i=1,s=0;;){var r=nextLineBreak(e,s,t);if(r<0){return new I(i,t-s)}++i;s=r}}var N={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:false,checkPrivateFields:true,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};var T=false;function getOptions(e){var t={};for(var i in N){t[i]=e&&_(e,i)?e[i]:N[i]}if(t.ecmaVersion==="latest"){t.ecmaVersion=1e8}else if(t.ecmaVersion==null){if(!T&&typeof console==="object"&&console.warn){T=true;console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")}t.ecmaVersion=11}else if(t.ecmaVersion>=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(!e||e.allowHashBang==null){t.allowHashBang=t.ecmaVersion>=14}if(C(t.onToken)){var s=t.onToken;t.onToken=function(e){return s.push(e)}}if(C(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(i,s,r,a,n,o){var l={type:i?"Block":"Line",value:s,start:r,end:a};if(e.locations){l.loc=new P(this,n,o)}if(e.ranges){l.range=[r,a]}t.push(l)}}var L=1,R=2,V=4,D=8,z=16,O=32,M=64,j=128,B=256,F=512,q=L|R|B;function functionFlags(e,t){return R|(e?V:0)|(t?D:0)}var U=0,W=1,H=2,G=3,$=4,J=5;var K=function Parser(e,t,i){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(o[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var s="";if(e.allowReserved!==true){s=a[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){s+=" await"}}this.reservedWords=wordsRegexp(s);var r=(s?s+" ":"")+a.strict;this.reservedWordsStrict=wordsRegexp(r);this.reservedWordsStrictBind=wordsRegexp(r+" "+a.strictBind);this.input=String(t);this.containsEsc=false;if(i){this.pos=i;this.lineStart=this.input.lastIndexOf("\n",i-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(x).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=g.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(L);this.regexpState=null;this.privateNameStack=[]};var Y={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},allowNewDotTarget:{configurable:true},inClassStaticBlock:{configurable:true}};K.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};Y.inFunction.get=function(){return(this.currentVarScope().flags&R)>0};Y.inGenerator.get=function(){return(this.currentVarScope().flags&D)>0};Y.inAsync.get=function(){return(this.currentVarScope().flags&V)>0};Y.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];var i=t.flags;if(i&(B|F)){return false}if(i&R){return(i&V)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Y.allowSuper.get=function(){var e=this.currentThisScope();var t=e.flags;return(t&M)>0||this.options.allowSuperOutsideMethod};Y.allowDirectSuper.get=function(){return(this.currentThisScope().flags&j)>0};Y.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Y.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];var i=t.flags;if(i&(B|F)||i&R&&!(i&z)){return true}}return false};Y.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&B)>0};K.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var i=this;for(var s=0;s<e.length;s++){i=e[s](i)}return i};K.parse=function parse(e,t){return new this(t,e).parse()};K.parseExpressionAt=function parseExpressionAt(e,t,i){var s=new this(i,e,t);s.nextToken();return s.parseExpression()};K.tokenizer=function tokenizer(e,t){return new this(t,e)};Object.defineProperties(K.prototype,Y);var Q=K.prototype;var X=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Q.strictDirective=function(e){if(this.options.ecmaVersion<5){return false}for(;;){b.lastIndex=e;e+=b.exec(this.input)[0].length;var t=X.exec(this.input.slice(e));if(!t){return false}if((t[1]||t[2])==="use strict"){b.lastIndex=e+t[0].length;var i=b.exec(this.input),s=i.index+i[0].length;var r=this.input.charAt(s);return r===";"||r==="}"||x.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(r)||r==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length;b.lastIndex=e;e+=b.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};Q.eat=function(e){if(this.type===e){this.next();return true}else{return false}};Q.isContextual=function(e){return this.type===g.name&&this.value===e&&!this.containsEsc};Q.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};Q.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};Q.canInsertSemicolon=function(){return this.type===g.eof||this.type===g.braceR||x.test(this.input.slice(this.lastTokEnd,this.start))};Q.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};Q.semicolon=function(){if(!this.eat(g.semi)&&!this.insertSemicolon()){this.unexpected()}};Q.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};Q.expect=function(e){this.eat(e)||this.unexpected()};Q.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};var Z=function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Q.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var i=t?e.parenthesizedAssign:e.parenthesizedBind;if(i>-1){this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}};Q.checkExpressionErrors=function(e,t){if(!e){return false}var i=e.shorthandAssign;var s=e.doubleProto;if(!t){return i>=0||s>=0}if(i>=0){this.raise(i,"Shorthand property assignments are valid only in destructuring patterns")}if(s>=0){this.raiseRecoverable(s,"Redefinition of __proto__ property")}};Q.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)){this.raise(this.yieldPos,"Yield expression cannot be a default value")}if(this.awaitPos){this.raise(this.awaitPos,"Await expression cannot be a default value")}};Q.isSimpleAssignTarget=function(e){if(e.type==="ParenthesizedExpression"){return this.isSimpleAssignTarget(e.expression)}return e.type==="Identifier"||e.type==="MemberExpression"};var ee=K.prototype;ee.parseTopLevel=function(e){var t=Object.create(null);if(!e.body){e.body=[]}while(this.type!==g.eof){var i=this.parseStatement(null,true,t);e.body.push(i)}if(this.inModule){for(var s=0,r=Object.keys(this.undefinedExports);s<r.length;s+=1){var a=r[s];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}}this.adaptDirectivePrologue(e.body);this.next();e.sourceType=this.options.sourceType;return this.finishNode(e,"Program")};var te={kind:"loop"},ie={kind:"switch"};ee.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let")){return false}b.lastIndex=this.pos;var t=b.exec(this.input);var i=this.pos+t[0].length,s=this.input.charCodeAt(i);if(s===91||s===92){return true}if(e){return false}if(s===123||s>55295&&s<56320){return true}if(isIdentifierStart(s,true)){var r=i+1;while(isIdentifierChar(s=this.input.charCodeAt(r),true)){++r}if(s===92||s>55295&&s<56320){return true}var a=this.input.slice(i,r);if(!l.test(a)){return true}}return false};ee.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}b.lastIndex=this.pos;var e=b.exec(this.input);var t=this.pos+e[0].length,i;return!x.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(isIdentifierChar(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};ee.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using")){return false}b.lastIndex=this.pos;var i=b.exec(this.input);var s=this.pos+i[0].length;if(x.test(this.input.slice(this.pos,s))){return false}if(e){var r=s+5,a;if(this.input.slice(s,r)!=="using"||r===this.input.length||isIdentifierChar(a=this.input.charCodeAt(r))||a>55295&&a<56320){return false}b.lastIndex=r;var n=b.exec(this.input);if(n&&x.test(this.input.slice(r,r+n[0].length))){return false}}if(t){var o=s+2,l;if(this.input.slice(s,o)==="of"){if(o===this.input.length||!isIdentifierChar(l=this.input.charCodeAt(o))&&!(l>55295&&l<56320)){return false}}}var p=this.input.charCodeAt(s);return isIdentifierStart(p,true)||p===92};ee.isAwaitUsing=function(e){return this.isUsingKeyword(true,e)};ee.isUsing=function(e){return this.isUsingKeyword(false,e)};ee.parseStatement=function(e,t,i){var s=this.type,r=this.startNode(),a;if(this.isLet(e)){s=g._var;a="let"}switch(s){case g._break:case g._continue:return this.parseBreakContinueStatement(r,s.keyword);case g._debugger:return this.parseDebuggerStatement(r);case g._do:return this.parseDoStatement(r);case g._for:return this.parseForStatement(r);case g._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(r,false,!e);case g._class:if(e){this.unexpected()}return this.parseClass(r,true);case g._if:return this.parseIfStatement(r);case g._return:return this.parseReturnStatement(r);case g._switch:return this.parseSwitchStatement(r);case g._throw:return this.parseThrowStatement(r);case g._try:return this.parseTryStatement(r);case g._const:case g._var:a=a||this.value;if(e&&a!=="var"){this.unexpected()}return this.parseVarStatement(r,a);case g._while:return this.parseWhileStatement(r);case g._with:return this.parseWithStatement(r);case g.braceL:return this.parseBlock(true,r);case g.semi:return this.parseEmptyStatement(r);case g._export:case g._import:if(this.options.ecmaVersion>10&&s===g._import){b.lastIndex=this.pos;var n=b.exec(this.input);var o=this.pos+n[0].length,l=this.input.charCodeAt(o);if(l===40||l===46){return this.parseExpressionStatement(r,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return s===g._import?this.parseImport(r):this.parseExport(r,i);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(r,true,!e)}var p=this.isAwaitUsing(false)?"await using":this.isUsing(false)?"using":null;if(p){if(t&&this.options.sourceType==="script"){this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`")}if(p==="await using"){if(!this.canAwait){this.raise(this.start,"Await using cannot appear outside of async function")}this.next()}this.next();this.parseVar(r,false,p);this.semicolon();return this.finishNode(r,"VariableDeclaration")}var h=this.value,u=this.parseExpression();if(s===g.name&&u.type==="Identifier"&&this.eat(g.colon)){return this.parseLabeledStatement(r,h,u,e)}else{return this.parseExpressionStatement(r,u)}}};ee.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next();if(this.eat(g.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==g.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var s=0;for(;s<this.labels.length;++s){var r=this.labels[s];if(e.label==null||r.name===e.label.name){if(r.kind!=null&&(i||r.kind==="loop")){break}if(e.label&&i){break}}}if(s===this.labels.length){this.raise(e.start,"Unsyntactic "+t)}return this.finishNode(e,i?"BreakStatement":"ContinueStatement")};ee.parseDebuggerStatement=function(e){this.next();this.semicolon();return this.finishNode(e,"DebuggerStatement")};ee.parseDoStatement=function(e){this.next();this.labels.push(te);e.body=this.parseStatement("do");this.labels.pop();this.expect(g._while);e.test=this.parseParenExpression();if(this.options.ecmaVersion>=6){this.eat(g.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};ee.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(te);this.enterScope(0);this.expect(g.parenL);if(this.type===g.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var i=this.isLet();if(this.type===g._var||this.type===g._const||i){var s=this.startNode(),r=i?"let":this.value;this.next();this.parseVar(s,true,r);this.finishNode(s,"VariableDeclaration");return this.parseForAfterInit(e,s,t)}var a=this.isContextual("let"),n=false;var o=this.isUsing(true)?"using":this.isAwaitUsing(true)?"await using":null;if(o){var l=this.startNode();this.next();if(o==="await using"){this.next()}this.parseVar(l,true,o);this.finishNode(l,"VariableDeclaration");return this.parseForAfterInit(e,l,t)}var p=this.containsEsc;var h=new Z;var u=this.start;var f=t>-1?this.parseExprSubscripts(h,"await"):this.parseExpression(true,h);if(this.type===g._in||(n=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(t>-1){if(this.type===g._in){this.unexpected(t)}e.await=true}else if(n&&this.options.ecmaVersion>=8){if(f.start===u&&!p&&f.type==="Identifier"&&f.name==="async"){this.unexpected()}else if(this.options.ecmaVersion>=9){e.await=false}}if(a&&n){this.raise(f.start,"The left-hand side of a for-of loop may not start with 'let'.")}this.toAssignable(f,false,h);this.checkLValPattern(f);return this.parseForIn(e,f)}else{this.checkExpressionErrors(h,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,f)};ee.parseForAfterInit=function(e,t,i){if((this.type===g._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&t.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===g._in){if(i>-1){this.unexpected(i)}}else{e.await=i>-1}}return this.parseForIn(e,t)}if(i>-1){this.unexpected(i)}return this.parseFor(e,t)};ee.parseFunctionStatement=function(e,t,i){this.next();return this.parseFunction(e,re|(i?0:ae),false,t)};ee.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(g._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};ee.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(g.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};ee.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(g.braceL);this.labels.push(ie);this.enterScope(0);var t;for(var i=false;this.type!==g.braceR;){if(this.type===g._case||this.type===g._default){var s=this.type===g._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(s){t.test=this.parseExpression()}else{if(i){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}i=true;t.test=null}this.expect(g.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};ee.parseThrowStatement=function(e){this.next();if(x.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var se=[];ee.parseCatchClauseParam=function(){var e=this.parseBindingAtom();var t=e.type==="Identifier";this.enterScope(t?O:0);this.checkLValPattern(e,t?$:H);this.expect(g.parenR);return e};ee.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===g._catch){var t=this.startNode();this.next();if(this.eat(g.parenL)){t.param=this.parseCatchClauseParam()}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(g._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};ee.parseVarStatement=function(e,t,i){this.next();this.parseVar(e,false,t,i);this.semicolon();return this.finishNode(e,"VariableDeclaration")};ee.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(te);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};ee.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};ee.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};ee.parseLabeledStatement=function(e,t,i,s){for(var r=0,a=this.labels;r<a.length;r+=1){var n=a[r];if(n.name===t){this.raise(i.start,"Label '"+t+"' is already declared")}}var o=this.type.isLoop?"loop":this.type===g._switch?"switch":null;for(var l=this.labels.length-1;l>=0;l--){var p=this.labels[l];if(p.statementStart===e.start){p.statementStart=this.start;p.kind=o}else{break}}th