code-server
Version:
Run VS Code on a remote server.
2 lines • 1.59 MB
JavaScript
/*! For license information please see extension.js.LICENSE.txt */
(()=>{var e={3196:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=3196,e.exports=t},61182:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"],n=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","HTMLElement",...r],i=["null","undefined","string","number","bigint","boolean","symbol"];function o(e){return t=>typeof t===e}const{toString:s}=Object.prototype,a=e=>{const t=s.call(e).slice(8,-1);return/HTML\w+Element/.test(t)&&u.domElement(e)?"HTMLElement":(r=t,n.includes(r)?t:void 0);var r},c=e=>t=>a(t)===e;function u(e){if(null===e)return"null";switch(typeof e){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol"}if(u.observable(e))return"Observable";if(u.array(e))return"Array";if(u.buffer(e))return"Buffer";const t=a(e);if(t)return t;if(e instanceof String||e instanceof Boolean||e instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}u.undefined=o("undefined"),u.string=o("string");const l=o("number");u.number=e=>l(e)&&!u.nan(e),u.bigint=o("bigint"),u.function_=o("function"),u.null_=e=>null===e,u.class_=e=>u.function_(e)&&e.toString().startsWith("class "),u.boolean=e=>!0===e||!1===e,u.symbol=o("symbol"),u.numericString=e=>u.string(e)&&!u.emptyStringOrWhitespace(e)&&!Number.isNaN(Number(e)),u.array=(e,t)=>!!Array.isArray(e)&&(!u.function_(t)||e.every(t)),u.buffer=e=>{var t,r,n,i;return null!==(i=null===(n=null===(r=null===(t=e)||void 0===t?void 0:t.constructor)||void 0===r?void 0:r.isBuffer)||void 0===n?void 0:n.call(r,e))&&void 0!==i&&i},u.nullOrUndefined=e=>u.null_(e)||u.undefined(e),u.object=e=>!u.null_(e)&&("object"==typeof e||u.function_(e)),u.iterable=e=>{var t;return u.function_(null===(t=e)||void 0===t?void 0:t[Symbol.iterator])},u.asyncIterable=e=>{var t;return u.function_(null===(t=e)||void 0===t?void 0:t[Symbol.asyncIterator])},u.generator=e=>u.iterable(e)&&u.function_(e.next)&&u.function_(e.throw),u.asyncGenerator=e=>u.asyncIterable(e)&&u.function_(e.next)&&u.function_(e.throw),u.nativePromise=e=>c("Promise")(e),u.promise=e=>u.nativePromise(e)||(e=>{var t,r;return u.function_(null===(t=e)||void 0===t?void 0:t.then)&&u.function_(null===(r=e)||void 0===r?void 0:r.catch)})(e),u.generatorFunction=c("GeneratorFunction"),u.asyncGeneratorFunction=e=>"AsyncGeneratorFunction"===a(e),u.asyncFunction=e=>"AsyncFunction"===a(e),u.boundFunction=e=>u.function_(e)&&!e.hasOwnProperty("prototype"),u.regExp=c("RegExp"),u.date=c("Date"),u.error=c("Error"),u.map=e=>c("Map")(e),u.set=e=>c("Set")(e),u.weakMap=e=>c("WeakMap")(e),u.weakSet=e=>c("WeakSet")(e),u.int8Array=c("Int8Array"),u.uint8Array=c("Uint8Array"),u.uint8ClampedArray=c("Uint8ClampedArray"),u.int16Array=c("Int16Array"),u.uint16Array=c("Uint16Array"),u.int32Array=c("Int32Array"),u.uint32Array=c("Uint32Array"),u.float32Array=c("Float32Array"),u.float64Array=c("Float64Array"),u.bigInt64Array=c("BigInt64Array"),u.bigUint64Array=c("BigUint64Array"),u.arrayBuffer=c("ArrayBuffer"),u.sharedArrayBuffer=c("SharedArrayBuffer"),u.dataView=c("DataView"),u.directInstanceOf=(e,t)=>Object.getPrototypeOf(e)===t.prototype,u.urlInstance=e=>c("URL")(e),u.urlString=e=>{if(!u.string(e))return!1;try{return new URL(e),!0}catch(e){return!1}},u.truthy=e=>Boolean(e),u.falsy=e=>!e,u.nan=e=>Number.isNaN(e),u.primitive=e=>{return u.null_(e)||(t=typeof e,i.includes(t));var t},u.integer=e=>Number.isInteger(e),u.safeInteger=e=>Number.isSafeInteger(e),u.plainObject=e=>{if("[object Object]"!==s.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},u.typedArray=e=>{return t=a(e),r.includes(t);var t},u.arrayLike=e=>!u.nullOrUndefined(e)&&!u.function_(e)&&(e=>u.safeInteger(e)&&e>=0)(e.length),u.inRange=(e,t)=>{if(u.number(t))return e>=Math.min(0,t)&&e<=Math.max(t,0);if(u.array(t)&&2===t.length)return e>=Math.min(...t)&&e<=Math.max(...t);throw new TypeError(`Invalid range: ${JSON.stringify(t)}`)};const p=["innerHTML","ownerDocument","style","attributes","nodeValue"];u.domElement=e=>u.object(e)&&1===e.nodeType&&u.string(e.nodeName)&&!u.plainObject(e)&&p.every((t=>t in e)),u.observable=e=>{var t,r,n,i;return!!e&&(e===(null===(r=(t=e)[Symbol.observable])||void 0===r?void 0:r.call(t))||e===(null===(i=(n=e)["@@observable"])||void 0===i?void 0:i.call(n)))},u.nodeStream=e=>u.object(e)&&u.function_(e.pipe)&&!u.observable(e),u.infinite=e=>e===1/0||e===-1/0;const d=e=>t=>u.integer(t)&&Math.abs(t%2)===e;u.evenInteger=d(0),u.oddInteger=d(1),u.emptyArray=e=>u.array(e)&&0===e.length,u.nonEmptyArray=e=>u.array(e)&&e.length>0,u.emptyString=e=>u.string(e)&&0===e.length,u.nonEmptyString=e=>u.string(e)&&e.length>0,u.emptyStringOrWhitespace=e=>u.emptyString(e)||(e=>u.string(e)&&!/\S/.test(e))(e),u.emptyObject=e=>u.object(e)&&!u.map(e)&&!u.set(e)&&0===Object.keys(e).length,u.nonEmptyObject=e=>u.object(e)&&!u.map(e)&&!u.set(e)&&Object.keys(e).length>0,u.emptySet=e=>u.set(e)&&0===e.size,u.nonEmptySet=e=>u.set(e)&&e.size>0,u.emptyMap=e=>u.map(e)&&0===e.size,u.nonEmptyMap=e=>u.map(e)&&e.size>0;const h=(e,t,r)=>{if(!u.function_(t))throw new TypeError(`Invalid predicate: ${JSON.stringify(t)}`);if(0===r.length)throw new TypeError("Invalid number of values");return e.call(r,t)};u.any=(e,...t)=>(u.array(e)?e:[e]).some((e=>h(Array.prototype.some,e,t))),u.all=(e,...t)=>h(Array.prototype.every,e,t);const f=(e,t,r,n={})=>{if(!e){const{multipleValues:e}=n,i=e?`received values of types ${[...new Set(r.map((e=>`\`${u(e)}\``)))].join(", ")}`:`received value of type \`${u(r)}\``;throw new TypeError(`Expected value which is \`${t}\`, ${i}.`)}};t.assert={undefined:e=>f(u.undefined(e),"undefined",e),string:e=>f(u.string(e),"string",e),number:e=>f(u.number(e),"number",e),bigint:e=>f(u.bigint(e),"bigint",e),function_:e=>f(u.function_(e),"Function",e),null_:e=>f(u.null_(e),"null",e),class_:e=>f(u.class_(e),"Class",e),boolean:e=>f(u.boolean(e),"boolean",e),symbol:e=>f(u.symbol(e),"symbol",e),numericString:e=>f(u.numericString(e),"string with a number",e),array:(e,t)=>{f(u.array(e),"Array",e),t&&e.forEach(t)},buffer:e=>f(u.buffer(e),"Buffer",e),nullOrUndefined:e=>f(u.nullOrUndefined(e),"null or undefined",e),object:e=>f(u.object(e),"Object",e),iterable:e=>f(u.iterable(e),"Iterable",e),asyncIterable:e=>f(u.asyncIterable(e),"AsyncIterable",e),generator:e=>f(u.generator(e),"Generator",e),asyncGenerator:e=>f(u.asyncGenerator(e),"AsyncGenerator",e),nativePromise:e=>f(u.nativePromise(e),"native Promise",e),promise:e=>f(u.promise(e),"Promise",e),generatorFunction:e=>f(u.generatorFunction(e),"GeneratorFunction",e),asyncGeneratorFunction:e=>f(u.asyncGeneratorFunction(e),"AsyncGeneratorFunction",e),asyncFunction:e=>f(u.asyncFunction(e),"AsyncFunction",e),boundFunction:e=>f(u.boundFunction(e),"Function",e),regExp:e=>f(u.regExp(e),"RegExp",e),date:e=>f(u.date(e),"Date",e),error:e=>f(u.error(e),"Error",e),map:e=>f(u.map(e),"Map",e),set:e=>f(u.set(e),"Set",e),weakMap:e=>f(u.weakMap(e),"WeakMap",e),weakSet:e=>f(u.weakSet(e),"WeakSet",e),int8Array:e=>f(u.int8Array(e),"Int8Array",e),uint8Array:e=>f(u.uint8Array(e),"Uint8Array",e),uint8ClampedArray:e=>f(u.uint8ClampedArray(e),"Uint8ClampedArray",e),int16Array:e=>f(u.int16Array(e),"Int16Array",e),uint16Array:e=>f(u.uint16Array(e),"Uint16Array",e),int32Array:e=>f(u.int32Array(e),"Int32Array",e),uint32Array:e=>f(u.uint32Array(e),"Uint32Array",e),float32Array:e=>f(u.float32Array(e),"Float32Array",e),float64Array:e=>f(u.float64Array(e),"Float64Array",e),bigInt64Array:e=>f(u.bigInt64Array(e),"BigInt64Array",e),bigUint64Array:e=>f(u.bigUint64Array(e),"BigUint64Array",e),arrayBuffer:e=>f(u.arrayBuffer(e),"ArrayBuffer",e),sharedArrayBuffer:e=>f(u.sharedArrayBuffer(e),"SharedArrayBuffer",e),dataView:e=>f(u.dataView(e),"DataView",e),urlInstance:e=>f(u.urlInstance(e),"URL",e),urlString:e=>f(u.urlString(e),"string with a URL",e),truthy:e=>f(u.truthy(e),"truthy",e),falsy:e=>f(u.falsy(e),"falsy",e),nan:e=>f(u.nan(e),"NaN",e),primitive:e=>f(u.primitive(e),"primitive",e),integer:e=>f(u.integer(e),"integer",e),safeInteger:e=>f(u.safeInteger(e),"integer",e),plainObject:e=>f(u.plainObject(e),"plain object",e),typedArray:e=>f(u.typedArray(e),"TypedArray",e),arrayLike:e=>f(u.arrayLike(e),"array-like",e),domElement:e=>f(u.domElement(e),"HTMLElement",e),observable:e=>f(u.observable(e),"Observable",e),nodeStream:e=>f(u.nodeStream(e),"Node.js Stream",e),infinite:e=>f(u.infinite(e),"infinite number",e),emptyArray:e=>f(u.emptyArray(e),"empty array",e),nonEmptyArray:e=>f(u.nonEmptyArray(e),"non-empty array",e),emptyString:e=>f(u.emptyString(e),"empty string",e),nonEmptyString:e=>f(u.nonEmptyString(e),"non-empty string",e),emptyStringOrWhitespace:e=>f(u.emptyStringOrWhitespace(e),"empty string or whitespace",e),emptyObject:e=>f(u.emptyObject(e),"empty object",e),nonEmptyObject:e=>f(u.nonEmptyObject(e),"non-empty object",e),emptySet:e=>f(u.emptySet(e),"empty set",e),nonEmptySet:e=>f(u.nonEmptySet(e),"non-empty set",e),emptyMap:e=>f(u.emptyMap(e),"empty map",e),nonEmptyMap:e=>f(u.nonEmptyMap(e),"non-empty map",e),evenInteger:e=>f(u.evenInteger(e),"even integer",e),oddInteger:e=>f(u.oddInteger(e),"odd integer",e),directInstanceOf:(e,t)=>f(u.directInstanceOf(e,t),"T",e),inRange:(e,t)=>f(u.inRange(e,t),"in range",e),any:(e,...t)=>f(u.any(e,...t),"predicate returns truthy for any value",t,{multipleValues:!0}),all:(e,...t)=>f(u.all(e,...t),"predicate returns truthy for all values",t,{multipleValues:!0})},Object.defineProperties(u,{class:{value:u.class_},function:{value:u.function_},null:{value:u.null_}}),Object.defineProperties(t.assert,{class:{value:t.assert.class_},function:{value:t.assert.function_},null:{value:t.assert.null_}}),t.default=u,e.exports=u,e.exports.default=u,e.exports.assert=t.assert},96504:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(62925),i=Number(process.versions.node.split(".")[0]),o=e=>{const t={start:Date.now(),socket:void 0,lookup:void 0,connect:void 0,secureConnect:void 0,upload:void 0,response:void 0,end:void 0,error:void 0,abort:void 0,phases:{wait:void 0,dns:void 0,tcp:void 0,tls:void 0,request:void 0,firstByte:void 0,download:void 0,total:void 0}};e.timings=t;const r=e=>{const r=e.emit.bind(e);e.emit=(n,...i)=>("error"===n&&(t.error=Date.now(),t.phases.total=t.error-t.start,e.emit=r),r(n,...i))};r(e),e.prependOnceListener("abort",(()=>{t.abort=Date.now(),(!t.response||i>=13)&&(t.phases.total=Date.now()-t.start)}));const o=e=>{t.socket=Date.now(),t.phases.wait=t.socket-t.start;const r=()=>{t.lookup=Date.now(),t.phases.dns=t.lookup-t.socket};e.prependOnceListener("lookup",r),n.default(e,{connect:()=>{t.connect=Date.now(),void 0===t.lookup&&(e.removeListener("lookup",r),t.lookup=t.connect,t.phases.dns=t.lookup-t.socket),t.phases.tcp=t.connect-t.lookup},secureConnect:()=>{t.secureConnect=Date.now(),t.phases.tls=t.secureConnect-t.connect}})};e.socket?o(e.socket):e.prependOnceListener("socket",o);const s=()=>{var e;t.upload=Date.now(),t.phases.request=t.upload-(null!=(e=t.secureConnect)?e:t.connect)};return("boolean"==typeof e.writableFinished?!e.writableFinished:!e.finished||0!==e.outputSize||e.socket&&0!==e.socket.writableLength)?e.prependOnceListener("finish",s):s(),e.prependOnceListener("response",(e=>{t.response=Date.now(),t.phases.firstByte=t.response-t.upload,e.timings=t,r(e),e.prependOnceListener("end",(()=>{t.end=Date.now(),t.phases.download=t.end-t.response,t.phases.total=t.end-t.start}))})),t};t.default=o,e.exports=o,e.exports.default=o},22681:function(e,t,r){!function(e,t){"use strict";var r="✖";function n(e){return e.name===r}function i(){}var o=function(e,r){if(void 0===r&&(r={}),this.toks=this.constructor.BaseParser.tokenizer(e,r),this.options=this.toks.options,this.input=this.toks.input,this.tok=this.last={type:t.tokTypes.eof,start:0,end:0},this.tok.validateRegExpFlags=i,this.tok.validateRegExpPattern=i,this.options.locations){var n=this.toks.curPosition();this.tok.loc=new t.SourceLocation(this.toks,n,n)}this.ahead=[],this.context=[],this.curIndent=0,this.curLineStart=0,this.nextLineStart=this.lineEnd(this.curLineStart)+1,this.inAsync=!1,this.inGenerator=!1,this.inFunction=!1};o.prototype.startNode=function(){return new t.Node(this.toks,this.tok.start,this.options.locations?this.tok.loc.start:null)},o.prototype.storeCurrentPos=function(){return this.options.locations?[this.tok.start,this.tok.loc.start]:this.tok.start},o.prototype.startNodeAt=function(e){return this.options.locations?new t.Node(this.toks,e[0],e[1]):new t.Node(this.toks,e)},o.prototype.finishNode=function(e,t){return e.type=t,e.end=this.last.end,this.options.locations&&(e.loc.end=this.last.loc.end),this.options.ranges&&(e.range[1]=this.last.end),e},o.prototype.dummyNode=function(e){var r=this.startNode();return r.type=e,r.end=r.start,this.options.locations&&(r.loc.end=r.loc.start),this.options.ranges&&(r.range[1]=r.start),this.last={type:t.tokTypes.name,start:r.start,end:r.start,loc:r.loc},r},o.prototype.dummyIdent=function(){var e=this.dummyNode("Identifier");return e.name=r,e},o.prototype.dummyString=function(){var e=this.dummyNode("Literal");return e.value=e.raw=r,e},o.prototype.eat=function(e){return this.tok.type===e&&(this.next(),!0)},o.prototype.isContextual=function(e){return this.tok.type===t.tokTypes.name&&this.tok.value===e},o.prototype.eatContextual=function(e){return this.tok.value===e&&this.eat(t.tokTypes.name)},o.prototype.canInsertSemicolon=function(){return this.tok.type===t.tokTypes.eof||this.tok.type===t.tokTypes.braceR||t.lineBreak.test(this.input.slice(this.last.end,this.tok.start))},o.prototype.semicolon=function(){return this.eat(t.tokTypes.semi)},o.prototype.expect=function(e){if(this.eat(e))return!0;for(var t=1;t<=2;t++)if(this.lookAhead(t).type===e){for(var r=0;r<t;r++)this.next();return!0}},o.prototype.pushCx=function(){this.context.push(this.curIndent)},o.prototype.popCx=function(){this.curIndent=this.context.pop()},o.prototype.lineEnd=function(e){for(;e<this.input.length&&!t.isNewLine(this.input.charCodeAt(e));)++e;return e},o.prototype.indentationAfter=function(e){for(var t=0;;++e){var r=this.input.charCodeAt(e);if(32===r)++t;else{if(9!==r)return t;t+=this.options.tabSize}}},o.prototype.closes=function(e,r,n,i){return this.tok.type===e||this.tok.type===t.tokTypes.eof||n!==this.curLineStart&&this.curIndent<r&&this.tokenStartsLine()&&(!i||this.nextLineStart>=this.input.length||this.indentationAfter(this.nextLineStart)<r)},o.prototype.tokenStartsLine=function(){for(var e=this.tok.start-1;e>=this.curLineStart;--e){var t=this.input.charCodeAt(e);if(9!==t&&32!==t)return!1}return!0},o.prototype.extend=function(e,t){this[e]=t(this[e])},o.prototype.parse=function(){return this.next(),this.parseTopLevel()},o.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,n=0;n<e.length;n++)r=e[n](r);return r},o.parse=function(e,t){return new this(e,t).parse()},o.BaseParser=t.Parser;var s=o.prototype;function a(e){return e<14&&e>8||32===e||160===e||t.isNewLine(e)}s.next=function(){if(this.last=this.tok,this.ahead.length?this.tok=this.ahead.shift():this.tok=this.readToken(),this.tok.start>=this.nextLineStart){for(;this.tok.start>=this.nextLineStart;)this.curLineStart=this.nextLineStart,this.nextLineStart=this.lineEnd(this.curLineStart)+1;this.curIndent=this.indentationAfter(this.curLineStart)}},s.readToken=function(){for(;;)try{return this.toks.next(),this.toks.type===t.tokTypes.dot&&"."===this.input.substr(this.toks.end,1)&&this.options.ecmaVersion>=6&&(this.toks.end++,this.toks.type=t.tokTypes.ellipsis),new t.Token(this.toks)}catch(c){if(!(c instanceof SyntaxError))throw c;var e=c.message,n=c.raisedAt,i=!0;if(/unterminated/i.test(e))if(n=this.lineEnd(c.pos+1),/string/.test(e))i={start:c.pos,end:n,type:t.tokTypes.string,value:this.input.slice(c.pos+1,n)};else if(/regular expr/i.test(e)){var o=this.input.slice(c.pos,n);try{o=new RegExp(o)}catch(e){}i={start:c.pos,end:n,type:t.tokTypes.regexp,value:o}}else i=!!/template/.test(e)&&{start:c.pos,end:n,type:t.tokTypes.template,value:this.input.slice(c.pos,n)};else if(/invalid (unicode|regexp|number)|expecting unicode|octal literal|is reserved|directly after number|expected number in radix/i.test(e))for(;n<this.input.length&&!a(this.input.charCodeAt(n));)++n;else if(/character escape|expected hexadecimal/i.test(e))for(;n<this.input.length;){var s=this.input.charCodeAt(n++);if(34===s||39===s||t.isNewLine(s))break}else if(/unexpected character/i.test(e))n++,i=!1;else{if(!/regular expression/i.test(e))throw c;i=!0}if(this.resetTo(n),!0===i&&(i={start:n,end:n,type:t.tokTypes.name,value:r}),i)return this.options.locations&&(i.loc=new t.SourceLocation(this.toks,t.getLineInfo(this.input,i.start),t.getLineInfo(this.input,i.end))),i}},s.resetTo=function(e){this.toks.pos=e;var r,n=this.input.charAt(e-1);if(this.toks.exprAllowed=!n||/[[{(,;:?/*=+\-~!|&%^<>]/.test(n)||/[enwfd]/.test(n)&&/\b(case|else|return|throw|new|in|(instance|type)?of|delete|void)$/.test(this.input.slice(e-10,e)),this.options.locations)for(this.toks.curLine=1,this.toks.lineStart=t.lineBreakG.lastIndex=0;(r=t.lineBreakG.exec(this.input))&&r.index<e;)++this.toks.curLine,this.toks.lineStart=r.index+r[0].length},s.lookAhead=function(e){for(;e>this.ahead.length;)this.ahead.push(this.readToken());return this.ahead[e-1]};var c=o.prototype;c.parseTopLevel=function(){var e=this.startNodeAt(this.options.locations?[0,t.getLineInfo(this.input,0)]:0);for(e.body=[];this.tok.type!==t.tokTypes.eof;)e.body.push(this.parseStatement());return this.toks.adaptDirectivePrologue(e.body),this.last=this.tok,e.sourceType=this.options.sourceType,this.finishNode(e,"Program")},c.parseStatement=function(){var e,r=this.tok.type,i=this.startNode();switch(this.toks.isLet()&&(r=t.tokTypes._var,e="let"),r){case t.tokTypes._break:case t.tokTypes._continue:this.next();var o=r===t.tokTypes._break;return this.semicolon()||this.canInsertSemicolon()?i.label=null:(i.label=this.tok.type===t.tokTypes.name?this.parseIdent():null,this.semicolon()),this.finishNode(i,o?"BreakStatement":"ContinueStatement");case t.tokTypes._debugger:return this.next(),this.semicolon(),this.finishNode(i,"DebuggerStatement");case t.tokTypes._do:return this.next(),i.body=this.parseStatement(),i.test=this.eat(t.tokTypes._while)?this.parseParenExpression():this.dummyIdent(),this.semicolon(),this.finishNode(i,"DoWhileStatement");case t.tokTypes._for:this.next();var s=this.options.ecmaVersion>=9&&this.eatContextual("await");if(this.pushCx(),this.expect(t.tokTypes.parenL),this.tok.type===t.tokTypes.semi)return this.parseFor(i,null);var a=this.toks.isLet();if(a||this.tok.type===t.tokTypes._var||this.tok.type===t.tokTypes._const){var c=this.parseVar(this.startNode(),!0,a?"let":this.tok.value);return 1!==c.declarations.length||this.tok.type!==t.tokTypes._in&&!this.isContextual("of")?this.parseFor(i,c):(this.options.ecmaVersion>=9&&this.tok.type!==t.tokTypes._in&&(i.await=s),this.parseForIn(i,c))}var u=this.parseExpression(!0);return this.tok.type===t.tokTypes._in||this.isContextual("of")?(this.options.ecmaVersion>=9&&this.tok.type!==t.tokTypes._in&&(i.await=s),this.parseForIn(i,this.toAssignable(u))):this.parseFor(i,u);case t.tokTypes._function:return this.next(),this.parseFunction(i,!0);case t.tokTypes._if:return this.next(),i.test=this.parseParenExpression(),i.consequent=this.parseStatement(),i.alternate=this.eat(t.tokTypes._else)?this.parseStatement():null,this.finishNode(i,"IfStatement");case t.tokTypes._return:return this.next(),this.eat(t.tokTypes.semi)||this.canInsertSemicolon()?i.argument=null:(i.argument=this.parseExpression(),this.semicolon()),this.finishNode(i,"ReturnStatement");case t.tokTypes._switch:var l,p=this.curIndent,d=this.curLineStart;for(this.next(),i.discriminant=this.parseParenExpression(),i.cases=[],this.pushCx(),this.expect(t.tokTypes.braceL);!this.closes(t.tokTypes.braceR,p,d,!0);)if(this.tok.type===t.tokTypes._case||this.tok.type===t.tokTypes._default){var h=this.tok.type===t.tokTypes._case;l&&this.finishNode(l,"SwitchCase"),i.cases.push(l=this.startNode()),l.consequent=[],this.next(),l.test=h?this.parseExpression():null,this.expect(t.tokTypes.colon)}else l||(i.cases.push(l=this.startNode()),l.consequent=[],l.test=null),l.consequent.push(this.parseStatement());return l&&this.finishNode(l,"SwitchCase"),this.popCx(),this.eat(t.tokTypes.braceR),this.finishNode(i,"SwitchStatement");case t.tokTypes._throw:return this.next(),i.argument=this.parseExpression(),this.semicolon(),this.finishNode(i,"ThrowStatement");case t.tokTypes._try:if(this.next(),i.block=this.parseBlock(),i.handler=null,this.tok.type===t.tokTypes._catch){var f=this.startNode();this.next(),this.eat(t.tokTypes.parenL)?(f.param=this.toAssignable(this.parseExprAtom(),!0),this.expect(t.tokTypes.parenR)):f.param=null,f.body=this.parseBlock(),i.handler=this.finishNode(f,"CatchClause")}return i.finalizer=this.eat(t.tokTypes._finally)?this.parseBlock():null,i.handler||i.finalizer?this.finishNode(i,"TryStatement"):i.block;case t.tokTypes._var:case t.tokTypes._const:return this.parseVar(i,!1,e||this.tok.value);case t.tokTypes._while:return this.next(),i.test=this.parseParenExpression(),i.body=this.parseStatement(),this.finishNode(i,"WhileStatement");case t.tokTypes._with:return this.next(),i.object=this.parseParenExpression(),i.body=this.parseStatement(),this.finishNode(i,"WithStatement");case t.tokTypes.braceL:return this.parseBlock();case t.tokTypes.semi:return this.next(),this.finishNode(i,"EmptyStatement");case t.tokTypes._class:return this.parseClass(!0);case t.tokTypes._import:if(this.options.ecmaVersion>10){var m=this.lookAhead(1).type;if(m===t.tokTypes.parenL||m===t.tokTypes.dot)return i.expression=this.parseExpression(),this.semicolon(),this.finishNode(i,"ExpressionStatement")}return this.parseImport();case t.tokTypes._export:return this.parseExport();default:if(this.toks.isAsyncFunction())return this.next(),this.next(),this.parseFunction(i,!0,!0);var g=this.parseExpression();return n(g)?(this.next(),this.tok.type===t.tokTypes.eof?this.finishNode(i,"EmptyStatement"):this.parseStatement()):r===t.tokTypes.name&&"Identifier"===g.type&&this.eat(t.tokTypes.colon)?(i.body=this.parseStatement(),i.label=g,this.finishNode(i,"LabeledStatement")):(i.expression=g,this.semicolon(),this.finishNode(i,"ExpressionStatement"))}},c.parseBlock=function(){var e=this.startNode();this.pushCx(),this.expect(t.tokTypes.braceL);var r=this.curIndent,n=this.curLineStart;for(e.body=[];!this.closes(t.tokTypes.braceR,r,n,!0);)e.body.push(this.parseStatement());return this.popCx(),this.eat(t.tokTypes.braceR),this.finishNode(e,"BlockStatement")},c.parseFor=function(e,r){return e.init=r,e.test=e.update=null,this.eat(t.tokTypes.semi)&&this.tok.type!==t.tokTypes.semi&&(e.test=this.parseExpression()),this.eat(t.tokTypes.semi)&&this.tok.type!==t.tokTypes.parenR&&(e.update=this.parseExpression()),this.popCx(),this.expect(t.tokTypes.parenR),e.body=this.parseStatement(),this.finishNode(e,"ForStatement")},c.parseForIn=function(e,r){var n=this.tok.type===t.tokTypes._in?"ForInStatement":"ForOfStatement";return this.next(),e.left=r,e.right=this.parseExpression(),this.popCx(),this.expect(t.tokTypes.parenR),e.body=this.parseStatement(),this.finishNode(e,n)},c.parseVar=function(e,r,n){e.kind=n,this.next(),e.declarations=[];do{var i=this.startNode();i.id=this.options.ecmaVersion>=6?this.toAssignable(this.parseExprAtom(),!0):this.parseIdent(),i.init=this.eat(t.tokTypes.eq)?this.parseMaybeAssign(r):null,e.declarations.push(this.finishNode(i,"VariableDeclarator"))}while(this.eat(t.tokTypes.comma));if(!e.declarations.length){var o=this.startNode();o.id=this.dummyIdent(),e.declarations.push(this.finishNode(o,"VariableDeclarator"))}return r||this.semicolon(),this.finishNode(e,"VariableDeclaration")},c.parseClass=function(e){var r=this.startNode();this.next(),this.tok.type===t.tokTypes.name?r.id=this.parseIdent():r.id=!0===e?this.dummyIdent():null,r.superClass=this.eat(t.tokTypes._extends)?this.parseExpression():null,r.body=this.startNode(),r.body.body=[],this.pushCx();var n=this.curIndent+1,i=this.curLineStart;for(this.eat(t.tokTypes.braceL),this.curIndent+1<n&&(n=this.curIndent,i=this.curLineStart);!this.closes(t.tokTypes.braceR,n,i);){var o=this.parseClassElement();o&&r.body.body.push(o)}return this.popCx(),this.eat(t.tokTypes.braceR)||(this.last.end=this.tok.start,this.options.locations&&(this.last.loc.end=this.tok.loc.start)),this.semicolon(),this.finishNode(r.body,"ClassBody"),this.finishNode(r,e?"ClassDeclaration":"ClassExpression")},c.parseClassElement=function(){if(this.eat(t.tokTypes.semi))return null;var e=this.options,r=e.ecmaVersion,i=e.locations,o=this.curIndent,s=this.curLineStart,a=this.startNode(),c="",u=!1,l=!1,p="method";if(a.static=!1,this.eatContextual("static")&&(this.isClassElementNameStart()||this.toks.type===t.tokTypes.star?a.static=!0:c="static"),!c&&r>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.toks.type!==t.tokTypes.star||this.canInsertSemicolon()?c="async":l=!0),!c){u=this.eat(t.tokTypes.star);var d=this.toks.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?p=d:c=d)}if(c)a.computed=!1,a.key=this.startNodeAt(i?[this.toks.lastTokStart,this.toks.lastTokStartLoc]:this.toks.lastTokStart),a.key.name=c,this.finishNode(a.key,"Identifier");else if(this.parseClassElementName(a),n(a.key))return n(this.parseMaybeAssign())&&this.next(),this.eat(t.tokTypes.comma),null;if(r<13||this.toks.type===t.tokTypes.parenL||"method"!==p||u||l){var h=!a.computed&&!a.static&&!u&&!l&&"method"===p&&("Identifier"===a.key.type&&"constructor"===a.key.name||"Literal"===a.key.type&&"constructor"===a.key.value);a.kind=h?"constructor":p,a.value=this.parseMethod(u,l),this.finishNode(a,"MethodDefinition")}else{if(this.eat(t.tokTypes.eq))if(this.curLineStart!==s&&this.curIndent<=o&&this.tokenStartsLine())a.value=null;else{var f=this.inAsync,m=this.inGenerator;this.inAsync=!1,this.inGenerator=!1,a.value=this.parseMaybeAssign(),this.inAsync=f,this.inGenerator=m}else a.value=null;this.semicolon(),this.finishNode(a,"PropertyDefinition")}return a},c.isClassElementNameStart=function(){return this.toks.isClassElementNameStart()},c.parseClassElementName=function(e){this.toks.type===t.tokTypes.privateId?(e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},c.parseFunction=function(e,r,n){var i=this.inAsync,o=this.inGenerator,s=this.inFunction;return this.initFunction(e),this.options.ecmaVersion>=6&&(e.generator=this.eat(t.tokTypes.star)),this.options.ecmaVersion>=8&&(e.async=!!n),this.tok.type===t.tokTypes.name?e.id=this.parseIdent():!0===r&&(e.id=this.dummyIdent()),this.inAsync=e.async,this.inGenerator=e.generator,this.inFunction=!0,e.params=this.parseFunctionParams(),e.body=this.parseBlock(),this.toks.adaptDirectivePrologue(e.body.body),this.inAsync=i,this.inGenerator=o,this.inFunction=s,this.finishNode(e,r?"FunctionDeclaration":"FunctionExpression")},c.parseExport=function(){var e=this.startNode();if(this.next(),this.eat(t.tokTypes.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?e.exported=this.parseExprAtom():e.exported=null),e.source=this.eatContextual("from")?this.parseExprAtom():this.dummyString(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(t.tokTypes._default)){var r;if(this.tok.type===t.tokTypes._function||(r=this.toks.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,"nullableID",r)}else this.tok.type===t.tokTypes._class?e.declaration=this.parseClass("nullableID"):(e.declaration=this.parseMaybeAssign(),this.semicolon());return this.finishNode(e,"ExportDefaultDeclaration")}return this.tok.type.keyword||this.toks.isLet()||this.toks.isAsyncFunction()?(e.declaration=this.parseStatement(),e.specifiers=[],e.source=null):(e.declaration=null,e.specifiers=this.parseExportSpecifierList(),e.source=this.eatContextual("from")?this.parseExprAtom():null,this.semicolon()),this.finishNode(e,"ExportNamedDeclaration")},c.parseImport=function(){var e,r=this.startNode();return this.next(),this.tok.type===t.tokTypes.string?(r.specifiers=[],r.source=this.parseExprAtom()):(this.tok.type===t.tokTypes.name&&"from"!==this.tok.value&&((e=this.startNode()).local=this.parseIdent(),this.finishNode(e,"ImportDefaultSpecifier"),this.eat(t.tokTypes.comma)),r.specifiers=this.parseImportSpecifiers(),r.source=this.eatContextual("from")&&this.tok.type===t.tokTypes.string?this.parseExprAtom():this.dummyString(),e&&r.specifiers.unshift(e)),this.semicolon(),this.finishNode(r,"ImportDeclaration")},c.parseImportSpecifiers=function(){var e=[];if(this.tok.type===t.tokTypes.star){var r=this.startNode();this.next(),r.local=this.eatContextual("as")?this.parseIdent():this.dummyIdent(),e.push(this.finishNode(r,"ImportNamespaceSpecifier"))}else{var i=this.curIndent,o=this.curLineStart,s=this.nextLineStart;for(this.pushCx(),this.eat(t.tokTypes.braceL),this.curLineStart>s&&(s=this.curLineStart);!this.closes(t.tokTypes.braceR,i+(this.curLineStart<=s?1:0),o);){var a=this.startNode();if(this.eat(t.tokTypes.star))a.local=this.eatContextual("as")?this.parseIdent():this.dummyIdent(),this.finishNode(a,"ImportNamespaceSpecifier");else{if(this.isContextual("from"))break;if(a.imported=this.parseIdent(),n(a.imported))break;a.local=this.eatContextual("as")?this.parseIdent():a.imported,this.finishNode(a,"ImportSpecifier")}e.push(a),this.eat(t.tokTypes.comma)}this.eat(t.tokTypes.braceR),this.popCx()}return e},c.parseExportSpecifierList=function(){var e=[],r=this.curIndent,i=this.curLineStart,o=this.nextLineStart;for(this.pushCx(),this.eat(t.tokTypes.braceL),this.curLineStart>o&&(o=this.curLineStart);!this.closes(t.tokTypes.braceR,r+(this.curLineStart<=o?1:0),i)&&!this.isContextual("from");){var s=this.startNode();if(s.local=this.parseIdent(),n(s.local))break;s.exported=this.eatContextual("as")?this.parseIdent():s.local,this.finishNode(s,"ExportSpecifier"),e.push(s),this.eat(t.tokTypes.comma)}return this.eat(t.tokTypes.braceR),this.popCx(),e};var u=o.prototype;u.checkLVal=function(e){if(!e)return e;switch(e.type){case"Identifier":case"MemberExpression":return e;case"ParenthesizedExpression":return e.expression=this.checkLVal(e.expression),e;default:return this.dummyIdent()}},u.parseExpression=function(e){var r=this.storeCurrentPos(),n=this.parseMaybeAssign(e);if(this.tok.type===t.tokTypes.comma){var i=this.startNodeAt(r);for(i.expressions=[n];this.eat(t.tokTypes.comma);)i.expressions.push(this.parseMaybeAssign(e));return this.finishNode(i,"SequenceExpression")}return n},u.parseParenExpression=function(){this.pushCx(),this.expect(t.tokTypes.parenL);var e=this.parseExpression();return this.popCx(),this.expect(t.tokTypes.parenR),e},u.parseMaybeAssign=function(e){if(this.inGenerator&&this.toks.isContextual("yield")){var r=this.startNode();return this.next(),this.semicolon()||this.canInsertSemicolon()||this.tok.type!==t.tokTypes.star&&!this.tok.type.startsExpr?(r.delegate=!1,r.argument=null):(r.delegate=this.eat(t.tokTypes.star),r.argument=this.parseMaybeAssign()),this.finishNode(r,"YieldExpression")}var n=this.storeCurrentPos(),i=this.parseMaybeConditional(e);if(this.tok.type.isAssign){var o=this.startNodeAt(n);return o.operator=this.tok.value,o.left=this.tok.type===t.tokTypes.eq?this.toAssignable(i):this.checkLVal(i),this.next(),o.right=this.parseMaybeAssign(e),this.finishNode(o,"AssignmentExpression")}return i},u.parseMaybeConditional=function(e){var r=this.storeCurrentPos(),n=this.parseExprOps(e);if(this.eat(t.tokTypes.question)){var i=this.startNodeAt(r);return i.test=n,i.consequent=this.parseMaybeAssign(),i.alternate=this.expect(t.tokTypes.colon)?this.parseMaybeAssign(e):this.dummyIdent(),this.finishNode(i,"ConditionalExpression")}return n},u.parseExprOps=function(e){var t=this.storeCurrentPos(),r=this.curIndent,n=this.curLineStart;return this.parseExprOp(this.parseMaybeUnary(!1),t,-1,e,r,n)},u.parseExprOp=function(e,r,n,i,o,s){if(this.curLineStart!==s&&this.curIndent<o&&this.tokenStartsLine())return e;var a=this.tok.type.binop;if(null!=a&&(!i||this.tok.type!==t.tokTypes._in)&&a>n){var c=this.startNodeAt(r);if(c.left=e,c.operator=this.tok.value,this.next(),this.curLineStart!==s&&this.curIndent<o&&this.tokenStartsLine())c.right=this.dummyIdent();else{var u=this.storeCurrentPos();c.right=this.parseExprOp(this.parseMaybeUnary(!1),u,a,i,o,s)}return this.finishNode(c,/&&|\|\||\?\?/.test(c.operator)?"LogicalExpression":"BinaryExpression"),this.parseExprOp(c,r,n,i,o,s)}return e},u.parseMaybeUnary=function(e){var r,n=this.storeCurrentPos();if(this.options.ecmaVersion>=8&&this.toks.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))r=this.parseAwait(),e=!0;else if(this.tok.type.prefix){var i=this.startNode(),o=this.tok.type===t.tokTypes.incDec;o||(e=!0),i.operator=this.tok.value,i.prefix=!0,this.next(),i.argument=this.parseMaybeUnary(!0),o&&(i.argument=this.checkLVal(i.argument)),r=this.finishNode(i,o?"UpdateExpression":"UnaryExpression")}else if(this.tok.type===t.tokTypes.ellipsis){var s=this.startNode();this.next(),s.argument=this.parseMaybeUnary(e),r=this.finishNode(s,"SpreadElement")}else for(r=this.parseExprSubscripts();this.tok.type.postfix&&!this.canInsertSemicolon();){var a=this.startNodeAt(n);a.operator=this.tok.value,a.prefix=!1,a.argument=this.checkLVal(r),this.next(),r=this.finishNode(a,"UpdateExpression")}if(!e&&this.eat(t.tokTypes.starstar)){var c=this.startNodeAt(n);return c.operator="**",c.left=r,c.right=this.parseMaybeUnary(!1),this.finishNode(c,"BinaryExpression")}return r},u.parseExprSubscripts=function(){var e=this.storeCurrentPos();return this.parseSubscripts(this.parseExprAtom(),e,!1,this.curIndent,this.curLineStart)},u.parseSubscripts=function(e,r,n,i,o){for(var s=this.options.ecmaVersion>=11,a=!1;;){if(this.curLineStart!==o&&this.curIndent<=i&&this.tokenStartsLine()){if(this.tok.type!==t.tokTypes.dot||this.curIndent!==i)break;--i}var c="Identifier"===e.type&&"async"===e.name&&!this.canInsertSemicolon(),u=s&&this.eat(t.tokTypes.questionDot);if(u&&(a=!0),u&&this.tok.type!==t.tokTypes.parenL&&this.tok.type!==t.tokTypes.bracketL&&this.tok.type!==t.tokTypes.backQuote||this.eat(t.tokTypes.dot)){var l=this.startNodeAt(r);l.object=e,this.curLineStart!==o&&this.curIndent<=i&&this.tokenStartsLine()?l.property=this.dummyIdent():l.property=this.parsePropertyAccessor()||this.dummyIdent(),l.computed=!1,s&&(l.optional=u),e=this.finishNode(l,"MemberExpression")}else if(this.tok.type===t.tokTypes.bracketL){this.pushCx(),this.next();var p=this.startNodeAt(r);p.object=e,p.property=this.parseExpression(),p.computed=!0,s&&(p.optional=u),this.popCx(),this.expect(t.tokTypes.bracketR),e=this.finishNode(p,"MemberExpression")}else if(n||this.tok.type!==t.tokTypes.parenL){if(this.tok.type!==t.tokTypes.backQuote)break;var d=this.startNodeAt(r);d.tag=e,d.quasi=this.parseTemplate(),e=this.finishNode(d,"TaggedTemplateExpression")}else{var h=this.parseExprList(t.tokTypes.parenR);if(c&&this.eat(t.tokTypes.arrow))return this.parseArrowExpression(this.startNodeAt(r),h,!0);var f=this.startNodeAt(r);f.callee=e,f.arguments=h,s&&(f.optional=u),e=this.finishNode(f,"CallExpression")}}if(a){var m=this.startNodeAt(r);m.expression=e,e=this.finishNode(m,"ChainExpression")}return e},u.parseExprAtom=function(){var e;switch(this.tok.type){case t.tokTypes._this:case t.tokTypes._super:var r=this.tok.type===t.tokTypes._this?"ThisExpression":"Super";return e=this.startNode(),this.next(),this.finishNode(e,r);case t.tokTypes.name:var i=this.storeCurrentPos(),o=this.parseIdent(),s=!1;if("async"===o.name&&!this.canInsertSemicolon()){if(this.eat(t.tokTypes._function))return this.parseFunction(this.startNodeAt(i),!1,!0);this.tok.type===t.tokTypes.name&&(o=this.parseIdent(),s=!0)}return this.eat(t.tokTypes.arrow)?this.parseArrowExpression(this.startNodeAt(i),[o],s):o;case t.tokTypes.regexp:e=this.startNode();var a=this.tok.value;return e.regex={pattern:a.pattern,flags:a.flags},e.value=a.value,e.raw=this.input.slice(this.tok.start,this.tok.end),this.next(),this.finishNode(e,"Literal");case t.tokTypes.num:case t.tokTypes.string:return(e=this.startNode()).value=this.tok.value,e.raw=this.input.slice(this.tok.start,this.tok.end),this.tok.type===t.tokTypes.num&&110===e.raw.charCodeAt(e.raw.length-1)&&(e.bigint=e.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(e,"Literal");case t.tokTypes._null:case t.tokTypes._true:case t.tokTypes._false:return(e=this.startNode()).value=this.tok.type===t.tokTypes._null?null:this.tok.type===t.tokTypes._true,e.raw=this.tok.type.keyword,this.next(),this.finishNode(e,"Literal");case t.tokTypes.parenL:var c=this.storeCurrentPos();this.next();var u=this.parseExpression();if(this.expect(t.tokTypes.parenR),this.eat(t.tokTypes.arrow)){var l=u.expressions||[u];return l.length&&n(l[l.length-1])&&l.pop(),this.parseArrowExpression(this.startNodeAt(c),l)}if(this.options.preserveParens){var p=this.startNodeAt(c);p.expression=u,u=this.finishNode(p,"ParenthesizedExpression")}return u;case t.tokTypes.bracketL:return(e=this.startNode()).elements=this.parseExprList(t.tokTypes.bracketR,!0),this.finishNode(e,"ArrayExpression");case t.tokTypes.braceL:return this.parseObj();case t.tokTypes._class:return this.parseClass(!1);case t.tokTypes._function:return e=this.startNode(),this.next(),this.parseFunction(e,!1);case t.tokTypes._new:return this.parseNew();case t.tokTypes.backQuote:return this.parseTemplate();case t.tokTypes._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.dummyIdent();default:return this.dummyIdent()}},u.parseExprImport=function(){var e=this.startNode(),r=this.parseIdent(!0);switch(this.tok.type){case t.tokTypes.parenL:return this.parseDynamicImport(e);case t.tokTypes.dot:return e.meta=r,this.parseImportMeta(e);default:return e.name="import",this.finishNode(e,"Identifier")}},u.parseDynamicImport=function(e){return e.source=this.parseExprList(t.tokTypes.parenR)[0]||this.dummyString(),this.finishNode(e,"ImportExpression")},u.parseImportMeta=function(e){return this.next(),e.property=this.parseIdent(!0),this.finishNode(e,"MetaProperty")},u.parseNew=function(){var e=this.startNode(),r=this.curIndent,n=this.curLineStart,i=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(t.tokTypes.dot))return e.meta=i,e.property=this.parseIdent(!0),this.finishNode(e,"MetaProperty");var o=this.storeCurrentPos();return e.callee=this.parseSubscripts(this.parseExprAtom(),o,!0,r,n),this.tok.type===t.tokTypes.parenL?e.arguments=this.parseExprList(t.tokTypes.parenR):e.arguments=[],this.finishNode(e,"NewExpression")},u.parseTemplateElement=function(){var e=this.startNode();return this.tok.type===t.tokTypes.invalidTemplate?e.value={raw:this.tok.value,cooked:null}:e.value={raw:this.input.slice(this.tok.start,this.tok.end).replace(/\r\n?/g,"\n"),cooked:this.tok.value},this.next(),e.tail=this.tok.type===t.tokTypes.backQuote,this.finishNode(e,"TemplateElement")},u.parseTemplate=function(){var e=this.startNode();this.next(),e.expressions=[];var r=this.parseTemplateElement();for(e.quasis=[r];!r.tail;)this.next(),e.expressions.push(this.parseExpression()),this.expect(t.tokTypes.braceR)?r=this.parseTemplateElement():((r=this.startNode()).value={cooked:"",raw:""},r.tail=!0,this.finishNode(r,"TemplateElement")),e.quasis.push(r);return this.expect(t.tokTypes.backQuote),this.finishNode(e,"TemplateLiteral")},u.parseObj=function(){var e=this.startNode();e.properties=[],this.pushCx();var r=this.curIndent+1,i=this.curLineStart;for(this.eat(t.tokTypes.braceL),this.curIndent+1<r&&(r=this.curIndent,i=this.curLineStart);!this.closes(t.tokTypes.braceR,r,i);){var o=this.startNode(),s=void 0,a=void 0,c=void 0;if(this.options.ecmaVersion>=9&&this.eat(t.tokTypes.ellipsis))o.argument=this.parseMaybeAssign(),e.properties.push(this.finishNode(o,"SpreadElement")),this.eat(t.tokTypes.comma);else if(this.options.ecmaVersion>=6&&(c=this.storeCurrentPos(),o.method=!1,o.shorthand=!1,s=this.eat(t.tokTypes.star)),this.parsePropertyName(o),this.toks.isAsyncProp(o)?(a=!0,s=this.options.ecmaVersion>=9&&this.eat(t.tokTypes.star),this.parsePropertyName(o)):a=!1,n(o.key))n(this.parseMaybeAssign())&&this.next(),this.eat(t.tokTypes.comma);else{if(this.eat(t.tokTypes.colon))o.kind="init",o.value=this.parseMaybeAssign();else if(this.options.ecmaVersion>=6&&(this.tok.type===t.tokTypes.parenL||this.tok.type===t.tokTypes.braceL))o.kind="init",o.method=!0,o.value=this.parseMethod(s,a);else if(this.options.ecmaVersion>=5&&"Identifier"===o.key.type&&!o.computed&&("get"===o.key.name||"set"===o.key.name)&&this.tok.type!==t.tokTypes.comma&&this.tok.type!==t.tokTypes.braceR&&this.tok.type!==t.tokTypes.eq)o.kind=o.key.name,this.parsePropertyName(o),o.value=this.parseMethod(!1);else{if(o.kind="init",this.options.ecmaVersion>=6)if(this.eat(t.tokTypes.eq)){var u=this.startNodeAt(c);u.operator="=",u.left=o.key,u.right=this.parseMaybeAssign(),o.value=this.finishNode(u,"AssignmentExpression")}else o.value=o.key;else o.value=this.dummyIdent();o.shorthand=!0}e.properties.push(this.finishNode(o,"Property")),this.eat(t.tokTypes.comma)}}return this.popCx(),this.eat(t.tokTypes.braceR)||(this.last.end=this.tok.start,this.options.locations&&(this.last.loc.end=this.tok.loc.start)),this.finishNode(e,"ObjectExpression")},u.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(t.tokTypes.bracketL))return e.computed=!0,e.key=this.parseExpression(),void this.expect(t.tokTypes.bracketR);e.computed=!1}var r=this.tok.type===t.tokTypes.num||this.tok.type===t.tokTypes.string?this.parseExprAtom():this.parseIdent();e.key=r||this.dummyIdent()},u.parsePropertyAccessor=function(){return this.tok.type===t.tokTypes.name||this.tok.type.keyword?this.parseIdent():this.tok.type===t.tokTypes.privateId?this.parsePrivateIdent():void 0},u.parseIdent=function(){var e=this.tok.type===t.tokTypes.name?this.tok.value:this.tok.type.keyword;if(!e)return this.dummyIdent();var r=this.startNode();return this.next(),r.name=e,this.finishNode(r,"Identifier")},u.parsePrivateIdent=function(){var e=this.startNode();return e.name=this.tok.value,this.next(),this.finishNode(e,"PrivateIdentifier")},u.initFunction=function(e){e.id=null,e.params=[],this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},u.toAssignable=function(e,t){if(!e||"Identifier"===e.type||"MemberExpression"===e.type&&!t);else if("ParenthesizedExpression"===e.type)this.toAssignable(e.expression,t);else{if(this.options.ecmaVersion<6)return this.dummyIdent();if("ObjectExpression"===e.type){e.type="ObjectPattern";for(var r=0,n=e.properties;r<n.length;r+=1){var i=n[r];this.toAssignable(i,t)}}else if("ArrayExpression"===e.type)e.type="ArrayPattern",this.toAssignableList(e.elements,t);else if("Property"===e.type)this.toAssignable(e.value,t);else if("SpreadElement"===e.type)e.type="RestElement",this.toAssignable(e.argument,t);else{if("AssignmentExpression"!==e.type)return this.dummyIdent();e.type="AssignmentPattern",delete e.operator}}return e},u.toAssignableList=function(e,t){for(var r=0,n=e;r<n.length;r+=1){var i=n[r];this.toAssignable(i,t)}return e},u.parseFunctionParams=function(e){return e=this.parseExprList(t.tokTypes.parenR),this.toAssignableList(e,!0)},u.parseMethod=function(e,t){var r=this.startNode(),n=this.inAsync,i=this.inGenerator,o=this.inFunction;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=!!e),this.options.ecmaVersion>=8&&(r.async=!!t),this.inAsync=r.async,this.inGenerator=r.generator,this.inFunction=!0,r.params=this.parseFunctionParams(),r.body=this.parseBlock(),this.toks.adaptDirectivePrologue(r.body.body),this.inAsync=n,this.inGenerator=i,this.inFunction=o,this.finishNode(r,"FunctionExpression")},u.parseArrowExpression=function(e,r,n){var i=this.inAsync,o=this.inGenerator,s=this.inFunction;return this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inAsync=e.async,this.inGenerator=!1,this.inFunction=!0,e.params=this.toAssignableList(r,!0),e.expression=this.tok.type!==t.tokTypes.braceL,e.expression?e.body=this.parseMaybeAssign():(e.body=this.parseBlock(),this.toks.adaptDirectivePrologue(e.body.body)),this.inAsync=i,this.inGenerator=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},u.parseExprList=function(e,r){this.pushCx();var i=this.curIndent,o=this.curLineStart,s=[];for(this.next();!this.closes(e,i+1,o);)if(this.eat(t.tokTypes.comma))s.push(r?null:this.dummyIdent());else{var a=this.parseMaybeAssign();if(n(a)){if(this.closes(e,i,o))break;this.next()}else s.push(a);this.eat(t.tokTypes.comma)}return this.popCx(),this.eat(e)||(this.last.end=this.tok.start,this.options.locations&&(this.last.loc.end=this.tok.loc.start)),s},u.parseAwait=function(){var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(),this.finishNode(e,"AwaitExpression")},t.defaultOptions.tabSize=4,e.LooseParser=o,e.isDummy=n,e.parse=function(e,t){return o.parse(e,t)},Object.defineProperty(e,"__esModule",{value:!0})}(t,r(81132))},81132:function(e,t){!function(e){"use strict";var t={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"},r="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",n={5:r,"5module":r+" export import",6:r+" const class extends export import super"},i=/^in(stanceof)?$/,o="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",s="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",a=new RegExp("["+o+"]"),c=new RegExp("["+o+s+"]");o=s=null;var u=[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,157,310,10,21,11,7,153,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,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,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,85,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,159,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,230,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,35,56,264,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,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,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,2357,44,11,6,17,0,370,43,1301,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],l=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,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,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function p(e,t){for(var r=65536,n=0;n<t.length;n+=2){if((r+=t[n])>e)return!1;if((r+=t[n+1])>=e)return!0}}function d(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123|