@std/esm
Version:
Enable ES modules in Node today!
1 lines • 217 kB
JavaScript
"use strict";var __shared__;const e=module,t={Array:global.Array,Buffer:global.Buffer,Error:global.Error,EvalError:global.EvalError,Function:global.Function,JSON:global.JSON,Object:global.Object,Promise:global.Promise,RangeError:global.RangeError,ReferenceError:global.ReferenceError,SyntaxError:global.SyntaxError,TypeError:global.TypeError,URIError:global.URIError,eval:global.eval},r=global.console,n=global.process,a=global.setImmediate;module.exports=(function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=113)})([(function(e,t,r){var a,i=r(39),s=r(40),o=r(6),c=r(26),l=r(58),u=r(33),p=function(e,t){var r=x.satisfies,n=e+"\0"+t;return n in r?r[n]:r[n]=Object(u.satisfies)(e,t)},h=r(20),f=s.a.ESM_PREFIX,d=s.a.PKG_PREFIX;if(__shared__)a=__shared__;else{var v=Object(c.a)("_"+Object(l.a)(""+Date.now()).slice(0,3)),m=n,g=m.versions,_={__proto__:null},b={__proto__:null},y={__proto__:null,_compile:Symbol.for(d+":module._compile"),customInspect:i.inspect.custom,esmRealRequire:Symbol.for(f+":realRequire"),esmWrapper:Symbol.for(f+":wrapper"),mjs:Symbol.for(d+':Module._extensions[".mjs"]'),realRequire:Symbol.for(d+":realRequire"),wrapper:Symbol.for(d+":wrapper")};a={__proto__:null,binding:o.a,cjs:{__proto__:null,resolveFilename:{__proto__:null}},entry:{__proto__:null,cache:new WeakMap,skipExports:{__proto__:null}},env:{__proto__:null,win32:"win32"===n.platform},esm:{__proto__:null,resolveFilename:{__proto__:null}},exportProxy:new WeakMap,fastPath:_,findPath:{__proto__:null},generic:{__proto__:null},getProxyDetails:new WeakMap,inited:!1,inspect:i.inspect,maskFunction:new WeakMap,maxSatisfying:{__proto__:null},own:{__proto__:null},package:{__proto__:null,cache:{__proto__:null},default:null,dir:{__proto__:null},root:{__proto__:null}},parseURL:{__proto__:null},pendingMetas:{__proto__:null},pendingWrites:{__proto__:null},process:{__proto__:null,dlopen:n.dlopen,pid:n.pid,release:{__proto__:null,name:n.release.name},version:n.version.replace(/[^\d.]/g,""),versions:{__proto__:null,chakracore:g.chakracore,v8:g.v8}},readPackage:{__proto__:null},runtimeName:v,safe:{__proto__:null},safeContext:Function("return this")(),satisfies:{__proto__:null},shim:{__proto__:null},support:b,symbol:y,unsafeContext:global,unwrapProxy:new WeakMap},Object(h.a)(a,"arrowSymbol",(function(){return p(a.process.version,"<7.0.0")?"node:arrowMessage":o.a.util.arrow_message_private_symbol})),Object(h.a)(a,"decoratedSymbol",(function(){return p(a.process.version,"<7.0.0")?"node:decorated":o.a.util.decorated_private_symbol})),Object(h.a)(a,"hiddenKeyType",(function(){return p(a.process.version,"<7.0.0")?"string":typeof a.arrowSymbol})),Object(h.a)(_,"readFile",(function(){return b.internalModuleReadFile})),Object(h.a)(_,"readFileFast",(function(){return b.internalModuleReadJSON||b.internalModuleReadFile})),Object(h.a)(_,"stat",(function(){return"function"==typeof o.a.fs.internalModuleStat})),Object(h.a)(b,"await",(function(){try{return Function("async()=>await 1")(),!0}catch(e){}return!1})),Object(h.a)(b,"getProxyDetails",(function(){return"function"==typeof o.a.util.getProxyDetails})),Object(h.a)(b,"inspectProxies",(function(){var e=new Proxy({__proto__:null},{__proto__:null,[d]:1}),t=a.inspect(e,{__proto__:null,showProxy:!0});return t.startsWith("Proxy")&&-1!==t.indexOf(d)})),Object(h.a)(b,"internalModuleReadFile",(function(){return"function"==typeof o.a.fs.internalModuleReadFile})),Object(h.a)(b,"internalModuleReadJSON",(function(){return"function"==typeof o.a.fs.internalModuleReadJSON})),Object(h.a)(b,"isProxy",(function(){return"function"==typeof(i.types&&i.types.isProxy)})),Object(h.a)(b,"proxiedClasses",(function(){class e{}Reflect.setPrototypeOf(e.prototype,null);var t=new Proxy(e,{__proto__:null});class r extends t{b(){}}return Reflect.setPrototypeOf(r.prototype,null),void 0!==(new r).b})),Object(h.a)(b,"proxiedFunctions",(function(){return b.proxiedClasses&&b.proxiedFunctionToStringTag})),Object(h.a)(b,"proxiedFunctionToStringTag",(function(){var e=Object.prototype.toString,t=new Proxy(e,{__proto__:null});return"[object Function]"===e.call(t)})),Object(h.a)(b,"replShowProxy",(function(){return p(a.process.version,">=10")})),Object(h.a)(b,"safeGetEnv",(function(){return"function"==typeof o.a.util.safeGetenv})),Object(h.a)(b,"safeToString",(function(){return"function"==typeof o.a.util.safeToString})),Object(h.a)(b,"setHiddenValue",(function(){return"function"==typeof o.a.util.setHiddenValue})),Object(h.a)(b,"wasm",(function(){return"object"==typeof WebAssembly&&null!==WebAssembly}))}var x=t.a=a}),(function(e,t){e.exports=require("path")}),(function(e,t,r){t.a={__proto__:null,HT:9,EXMARK:33,SPACE:32,QUOTE:34,NUMSIGN:35,APOSTROPHE:39,HYPHEN:45,PERIOD:46,SLASH:47,COLON:58,LT:60,EQ:61,GT:62,QMARK:63,AT:64,BSLASH:92,LBRACE:123,BOM:65279}}),(function(e,t,r){t.a=function(e){var t=typeof e;return"function"===t||"object"===t&&null!==e}}),(function(e,t,r){t.a={__proto__:null,LOAD_INDETERMINATE:-1,LOAD_INCOMPLETE:0,LOAD_COMPLETED:1,STATE_INITIAL:0,STATE_PARSING_STARTED:1,STATE_PARSING_COMPLETED:2,STATE_EXECUTION_STARTED:3,STATE_EXECUTION_COMPLETED:4,TYPE_CJS:1,TYPE_ESM:2,TYPE_PSEUDO:3}}),(function(e,r,n){var a=n(45),i=n(0),s=i.a.inited?i.a.safe.JSON:i.a.safe.JSON=Object(a.a)(t.JSON),o=n(31),c=n(14),l=n(76),u=n(34),p={__proto__:null,".js":function(e,t){e._compile(Object(l.a)(Object(c.readFileSync)(t,"utf8")),t)},".json":function(e,t){var r=Object(o.a)(t,"utf8");try{e.exports=s.parse(r)}catch(e){throw e.message=t+": "+e.message,e}},".node":function(e,t){return i.a.process.dlopen(e,Object(u.a)(t))}},h=p,f={__proto__:null,_cache:{__proto__:null},_extensions:h,globalPaths:null,mainModule:null,parsing:null,passthru:null,requireDepth:0,stat:null};r.a=f}),(function(e,t,r){for(var a,i=r(47),s=r(3),o=r(20),c=r(23),l=r(41),u=["config","fs","icu","inspector","natives","util"],p={__proto__:null,config:["preserveSymlinks"],fs:["internalModuleReadFile","internalModuleReadJSON","internalModuleStat"],icu:["toUnicode"],inspector:["callAndPauseOnStart"],util:["arrow_message_private_symbol","decorated_private_symbol","getProxyDetails","safeGetenv","safeToString","setHiddenValue"]},h={__proto__:null},f=function(e){Object(o.a)(h,e,(function(){a||(a=Object(i.a)(n,"binding"));var t=Object(l.a)((function(){return Reflect.apply(a,n,[e])}));if(!Object(s.a)(t))return{__proto__:null};var r=p[e];if(!r)return t;for(var o={__proto__:null},u=function(e){Object(c.a)(o,e,(function(){var r=Object(i.a)(t,e);return"function"==typeof r?function(){for(var e=arguments.length,n=Array(e),a=0;a<e;a++)n[a]=arguments[a];return Reflect.apply(r,t,n)}:r}))},h=0,f=null==r?0:r.length;h<f;h++){var d=r[h];u(d)}return o}))},d=0,v=u.length;d<v;d++){var m=u[d];f(m)}t.a=h}),(function(e,r,a){var i,s=a(9),o=a(93),c=a(4),l=a(11),u=a(22),p=a(105),h=a(6),f=a(1),d=a(67),v=a(47),m=a(15),g=a(68),_=a(0),b=a(66),y=a(111),x=a.n(y),O=c.a.STATE_EXECUTION_COMPLETED,E=c.a.STATE_EXECUTION_STARTED,w=c.a.STATE_INITIAL,j=Object(v.a)(x.a,"runInDebugContext"),S="function"==typeof j,k=a(48),R=function(e){if("string"==typeof e&&_.a.support.safeGetEnv)try{return h.a.util.safeGetenv(e)}catch(e){}},P=t.Array,A=function(){var e,t,r=n,a=r.env,i="win32"===n.platform;i?(e=a.USERPROFILE,t=a.HOME):(e=R("HOME"),t=R("NODE_PATH"));var o=Object(f.resolve)(n.execPath,"..",i?"":".."),c=new P(Object(f.resolve)(o,"lib","node"));if(e&&(s.a.unshift(c,Object(f.resolve)(e,".node_libraries")),s.a.unshift(c,Object(f.resolve)(e,".node_modules"))),"string"!=typeof t)return c;var l=t.split(f.delimiter),u=s.a.filter(l,Boolean);return s.a.concat(u,c)},T=a(5),N=a(30),C=a(79),I=a(17),L=a(12),D=c.a.TYPE_ESM,M=N.a.OPTIONS_MODE_MJS,V=L.a.ERR_REQUIRE_ESM,F=a(38),U=a(56),q=a(10),B=L.a.ERR_INVALID_ARG_TYPE,G=L.a.MODULE_NOT_FOUND,W=a(80),$=t.Array,H=a(19),z=a(28),Y=t.Error,X=a(44),Q=a(35),J=c.a.TYPE_ESM,K=L.a.ERR_INVALID_ARG_TYPE,Z=L.a.ERR_INVALID_ARG_VALUE,ee=a(90),te=a(91),re=o.a.prototype,ne=Object(X.a)((function(e,t){var r=new o.a(e,t);return Reflect.setPrototypeOf(r,ne.prototype),r}),o.a);ne._extensions={__proto__:null},ne._findPath=Object(X.a)((function(e,t,r){return Object(k.a)(e,t,r)||!1}),o.a._findPath),ne._initPaths=Object(X.a)((function(){var e=A();T.a.globalPaths=e,ae.globalPaths=s.a.slice(e)}),o.a._initPaths),ne._load=Object(X.a)((function(e,t,r){if(e in I.a)return I.a[e].module.exports;var n=(function(e,t,r,n){var a=!1,i=ae._resolveFilename(e,t,r),s=Object(C.a)(i,t,r,ae,(function(e){var t=e.module;if(ae._cache[i]=t,!T.a.passthru||T.a.parsing){a=!0,t.paths||(t.paths=ae._nodeModulePaths(Object(f.dirname)(i)));var r=!0;try{(function(e,t){t&&t(e);var r=e.module,n=r.filename,a=Object(f.extname)(n);""!==a&&"function"==typeof ae._extensions[a]||(a=".js"),ae._extensions[a](r,n),r.loaded=!0})(e,n),r=!1}finally{r&&Reflect.deleteProperty(ae._cache,i)}}}));return!a&&n&&n(s),s})(e,t,r),a=n.module;if(t&&n.type===D){var i=l.default.get(t).package.options;if(i.mode===M&&!i.cjs.vars)throw new V(a)}return a.exports}),o.a._load),ne._nodeModulePaths=Object(X.a)(F.a,o.a._nodeModulePaths),ne._resolveFilename=Object(X.a)((function(e,t,r,n){return e in I.a?e:(function(e,t,r,n){if("string"!=typeof e)throw new B("request","string");var a,i=_.a.cjs.resolveFilename,s=Object(q.a)(n)?null:e+"\0"+Object(U.a)(t)+"\0"+r;if(s&&s in i)return i[s];if(!s&&Array.isArray(n.paths)){var o=new ae("",null),c=n.paths;a=[];for(var l=0,u=null==c?0:c.length;l<u;l++){var p=c[l];o.paths=ae._nodeModulePaths(p);var h=ae._resolveLookupPaths(e,o,!0);-1===a.indexOf(p)&&a.push(p);for(var f=0,d=null==h?0:h.length;f<d;f++){var v=h[f];-1===a.indexOf(v)&&a.push(v)}}}else a=ae._resolveLookupPaths(e,t,!0);var m=ae._findPath(e,a,r);if(m)return s?i[s]=m:m;throw new G(e)})(e,t,r,n)}),o.a._resolveFilename),ne._resolveLookupPaths=Object(X.a)((function(e,t,r){if(e in I.a)return r?null:new $(e,new $);var n=Object(W.a)(e,t);return r?n:new $(e,n)}),o.a._resolveLookupPaths),ne.Module=ne,ne.wrap=Object(X.a)(ee.a,o.a.wrap),ne.wrapper=s.a.slice(te.a),ne.prototype._compile=Object(X.a)((function e(t,r){var a=l.default.get(this);if(a.state===w){var s;a.cacheName=Object(d.a)(a,t),a.package=u.a.get(""),a.runtimeName=_.a.runtimeName;try{s=Object(p.a)(e,a,t,r)}finally{a.state=w}return s}var o=a.package,c=a.cacheName,v=o.cache,y=o.cachePath,k=a.compileData,R=ae.wrap(Object(b.a)(t)),P=k&&k.scriptData||void 0,A=new x.a.Script(R,{__proto__:null,cachedData:P,filename:r,produceCachedData:!0}),T=!1,N=null,C=A.cachedDataRejected;if(A.cachedDataProduced&&!C&&(T=!P,N=A.cachedData),k)if(N)k.scriptData=N;else if(P&&C){T=!0;var I=v.map,L=Object(m.a)(I,c)?I[c]:null;L&&(L[0]=L[1]=-1),Reflect.deleteProperty(k,"scriptData")}if(T&&y&&c){var D=_.a.pendingMetas[y]||(_.a.pendingMetas[y]={__proto__:null});D[c]=N}var M=A.runInThisContext({__proto__:null,filename:r}),V=null;if(n._breakFirstLine&&null==n._eval&&(void 0===i&&(i=n.argv[1]?ae._resolveFilename(n.argv[1]):"repl"),r===i&&(Reflect.deleteProperty(n,"_breakFirstLine"),V=h.a.inspector.callAndPauseOnStart,S&&"function"!=typeof V))){var F=j("Debug");F.setBreakPoint(M,0,0)}var U,q=this.exports,B=Object(g.a)(this);return a.state=E,U=V?V(M,q,q,B,this,r,Object(f.dirname)(r)):Reflect.apply(M,q,[q,B,this,r,Object(f.dirname)(r)]),a.state=O,U}),re._compile),ne.prototype.load=Object(X.a)((function(e){if(this.loaded)throw new Y("Module already loaded: "+this.id);var t=Object(f.extname)(e);""!==t&&"function"==typeof ae._extensions[t]||(t=".js"),this.filename=e,this.paths=ae._nodeModulePaths(Object(f.dirname)(e)),ae._extensions[t](this,e),this.loaded=!0}),re.load),ne.prototype.require=Object(X.a)((function(e){if("string"!=typeof e)throw new K("request","string",e);if(""===e)throw new Z("request",e,"must be a non-empty string");if(e in I.a)return I.a[e].module.exports;var t=l.default.get(this),r=t._requireESM;t._requireESM=!1;var n=r||t.type===J;return n?Object(Q.a)(e,this,!1).module.exports:ae._load(e,this,!1)}),re.require),Object(z.a)(ne,o.a),Object(H.a)(ne._extensions,o.a._extensions),ne.globalPaths||(ne.globalPaths=A()),T.a.globalPaths=s.a.slice(ne.globalPaths);var ae=r.a=ne}),(function(e,t,r){class n{constructor(e,t){void 0===t&&(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 a(e,t){return new n(e,{beforeExpr:!0,binop:t})}var i={beforeExpr:!0},s={startsExpr:!0},o={};function c(e,t){return void 0===t&&(t={}),t.keyword=e,o[e]=new n(e,t)}var l={num:new n("num",s),regexp:new n("regexp",s),string:new n("string",s),name:new n("name",s),eof:new n("eof"),bracketL:new n("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new n("]"),braceL:new n("{",{beforeExpr:!0,startsExpr:!0}),braceR:new n("}"),parenL:new n("(",{beforeExpr:!0,startsExpr:!0}),parenR:new n(")"),comma:new n(",",i),semi:new n(";",i),colon:new n(":",i),dot:new n("."),question:new n("?",i),arrow:new n("=>",i),template:new n("template"),invalidTemplate:new n("invalidTemplate"),ellipsis:new n("...",i),backQuote:new n("`",s),dollarBraceL:new n("${",{beforeExpr:!0,startsExpr:!0}),eq:new n("=",{beforeExpr:!0,isAssign:!0}),assign:new n("_=",{beforeExpr:!0,isAssign:!0}),incDec:new n("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new n("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:a("||",1),logicalAND:a("&&",2),bitwiseOR:a("|",3),bitwiseXOR:a("^",4),bitwiseAND:a("&",5),equality:a("==/!=/===/!==",6),relational:a("</>/<=/>=",7),bitShift:a("<</>>/>>>",8),plusMin:new n("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:a("%",10),star:a("*",10),slash:a("/",10),starstar:new n("**",{beforeExpr:!0}),_break:c("break"),_case:c("case",i),_catch:c("catch"),_continue:c("continue"),_debugger:c("debugger"),_default:c("default",i),_do:c("do",{isLoop:!0,beforeExpr:!0}),_else:c("else",i),_finally:c("finally"),_for:c("for",{isLoop:!0}),_function:c("function",s),_if:c("if"),_return:c("return",i),_switch:c("switch"),_throw:c("throw",i),_try:c("try"),_var:c("var"),_const:c("const"),_while:c("while",{isLoop:!0}),_with:c("with"),_new:c("new",{beforeExpr:!0,startsExpr:!0}),_this:c("this",s),_super:c("super",s),_class:c("class",s),_extends:c("extends",i),_export:c("export"),_import:c("import"),_null:c("null",s),_true:c("true",s),_false:c("false",s),_in:c("in",{beforeExpr:!0,binop:7}),_instanceof:c("instanceof",{beforeExpr:!0,binop:7}),_typeof:c("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:c("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:c("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},u={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"},p="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",h={5:p,6:p+" const class extends export import super"},f=/^in(stanceof)?$/,d="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312e\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fea\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ae\ua7b0-\ua7b7\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab65\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",v="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d4-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2-\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua900-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f",m=RegExp("["+d+"]"),g=RegExp("["+d+v+"]");d=v=null;var _=[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,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,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,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,257,0,11,39,8,0,22,0,12,39,3,3,55,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,698,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,1,31,6124,20,754,9486,286,82,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,4149,196,60,67,1213,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,42710,42,4148,12,221,3,5761,15,7472,3104,541],b=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,280,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,19719,9,135,4,60,6,26,9,1016,45,17,3,19723,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,2214,6,110,6,6,9,792487,239];function y(e,t){for(var r=65536,n=0;n<t.length;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}}function x(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&m.test(String.fromCharCode(e)):!1!==t&&y(e,_)))}function O(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&g.test(String.fromCharCode(e)):!1!==t&&(y(e,_)||y(e,b)))))}var E=/\r\n?|\n|\u2028|\u2029/,w=RegExp(E.source,"g");function j(e){return 10===e||13===e||8232===e||8233===e}var S=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,k=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,R=Object.prototype,P=R.hasOwnProperty,A=R.toString;function T(e,t){return P.call(e,t)}var N=Array.isArray||function(e){return"[object Array]"===A.call(e)};class C{constructor(e,t){this.line=e,this.column=t}offset(e){return new C(this.line,this.column+e)}}class I{constructor(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)}}function L(e,t){for(var r=1,n=0;;){w.lastIndex=n;var a=w.exec(e);if(!(a&&a.index<t))return new C(r,t-n);++r,n=a.index+a[0].length}}var D={ecmaVersion:7,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1,plugins:{}},M={};function V(e){return RegExp("^(?:"+e.replace(/ /g,"|")+")$")}class F{constructor(e,t,r){this.options=e=(function(e){var t={};for(var r in D)t[r]=e&&T(e,r)?e[r]:D[r];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),N(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}return N(t.onComment)&&(t.onComment=(function(e,t){return function(r,n,a,i,s,o){var c={type:r?"Block":"Line",value:n,start:a,end:i};e.locations&&(c.loc=new I(this,s,o)),e.ranges&&(c.range=[a,i]),t.push(c)}})(t,t.onComment)),t})(e),this.sourceFile=e.sourceFile,this.keywords=V(h[e.ecmaVersion>=6?6:5]);var n="";if(!e.allowReserved){for(var a=e.ecmaVersion;!(n=u[a]);a--);"module"==e.sourceType&&(n+=" await")}this.reservedWords=V(n);var i=(n?n+" ":"")+u.strict;this.reservedWordsStrict=V(i),this.reservedWordsStrictBind=V(i+" "+u.strictBind),this.input=t+"",this.containsEsc=!1,this.loadPlugins(e.plugins),r?(this.pos=r,this.lineStart=this.input.lastIndexOf("\n",r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(E).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=l.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=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope(),this.regexpState=null}isKeyword(e){return this.keywords.test(e)}isReservedWord(e){return this.reservedWords.test(e)}extend(e,t){this[e]=t(this[e])}loadPlugins(e){for(var t in e){var r=M[t];if(!r)throw Error("Plugin '"+t+"' not found");r(this,e[t])}}parse(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)}}var U=F.prototype,q=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function B(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}U.strictDirective=function(e){for(;;){k.lastIndex=e,e+=k.exec(this.input)[0].length;var t=q.exec(this.input.slice(e));if(!t)return!1;if("use strict"==(t[1]||t[2]))return!0;e+=t[0].length}},U.eat=function(e){return this.type===e&&(this.next(),!0)},U.isContextual=function(e){return this.type===l.name&&this.value===e&&!this.containsEsc},U.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},U.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},U.canInsertSemicolon=function(){return this.type===l.eof||this.type===l.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))},U.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},U.semicolon=function(){this.eat(l.semi)||this.insertSemicolon()||this.unexpected()},U.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},U.expect=function(e){this.eat(e)||this.unexpected()},U.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},U.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},U.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},U.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},U.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var G=F.prototype;G.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n,a=e.key;switch(a.type){case"Identifier":n=a.name;break;case"Literal":n=a.value+"";break;default:return}var i=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===n&&"init"===i&&(t.proto&&(r&&r.doubleProto<0?r.doubleProto=a.start:this.raiseRecoverable(a.start,"Redefinition of __proto__ property")),t.proto=!0);else{n="$"+n;var s,o=t[n];o?(s="init"===i?this.strict&&o.init||o.get||o.set:o.init||o[i],s&&this.raiseRecoverable(a.start,"Redefinition of property")):o=t[n]={init:!1,get:!1,set:!1},o[i]=!0}}},G.parseExpression=function(e,t){var r=this.start,n=this.startLoc,a=this.parseMaybeAssign(e,t);if(this.type===l.comma){var i=this.startNodeAt(r,n);for(i.expressions=[a];this.eat(l.comma);)i.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(i,"SequenceExpression")}return a},G.parseMaybeAssign=function(e,t,r){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var n=!1,a=-1,i=-1;t?(a=t.parenthesizedAssign,i=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new B,n=!0);var s=this.start,o=this.startLoc;this.type!=l.parenL&&this.type!=l.name||(this.potentialArrowAt=this.start);var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,s,o)),this.type.isAssign){var u=this.startNodeAt(s,o);return u.operator=this.value,u.left=this.type===l.eq?this.toAssignable(c,!1,t):c,n||B.call(t),t.shorthandAssign=-1,this.checkLVal(c),this.next(),u.right=this.parseMaybeAssign(e),this.finishNode(u,"AssignmentExpression")}return n&&this.checkExpressionErrors(t,!0),a>-1&&(t.parenthesizedAssign=a),i>-1&&(t.trailingComma=i),c},G.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,a=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return a;if(this.eat(l.question)){var i=this.startNodeAt(r,n);return i.test=a,i.consequent=this.parseMaybeAssign(),this.expect(l.colon),i.alternate=this.parseMaybeAssign(e),this.finishNode(i,"ConditionalExpression")}return a},G.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,a=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?a:a.start==r&&"ArrowFunctionExpression"===a.type?a:this.parseExprOp(a,r,n,-1,e)},G.parseExprOp=function(e,t,r,n,a){var i=this.type.binop;if(null!=i&&(!a||this.type!==l._in)&&i>n){var s=this.type===l.logicalOR||this.type===l.logicalAND,o=this.value;this.next();var c=this.start,u=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1),c,u,i,a),h=this.buildBinary(t,r,e,p,o,s);return this.parseExprOp(h,t,r,n,a)}return e},G.buildBinary=function(e,t,r,n,a,i){var s=this.startNodeAt(e,t);return s.left=r,s.operator=a,s.right=n,this.finishNode(s,i?"LogicalExpression":"BinaryExpression")},G.parseMaybeUnary=function(e,t){var r,n=this.start,a=this.startLoc;if(this.inAsync&&this.isContextual("await"))r=this.parseAwait(),t=!0;else if(this.type.prefix){var i=this.startNode(),s=this.type===l.incDec;i.operator=this.value,i.prefix=!0,this.next(),i.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),s?this.checkLVal(i.argument):this.strict&&"delete"===i.operator&&"Identifier"===i.argument.type?this.raiseRecoverable(i.start,"Deleting local variable in strict mode"):t=!0,r=this.finishNode(i,s?"UpdateExpression":"UnaryExpression")}else{if(r=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return r;for(;this.type.postfix&&!this.canInsertSemicolon();){var o=this.startNodeAt(n,a);o.operator=this.value,o.prefix=!1,o.argument=r,this.checkLVal(r),this.next(),r=this.finishNode(o,"UpdateExpression")}}return!t&&this.eat(l.starstar)?this.buildBinary(n,a,r,this.parseMaybeUnary(null,!1),"**",!1):r},G.parseExprSubscripts=function(e){var t=this.start,r=this.startLoc,n=this.parseExprAtom(e),a="ArrowFunctionExpression"===n.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||a)return n;var i=this.parseSubscripts(n,t,r);return e&&"MemberExpression"===i.type&&(e.parenthesizedAssign>=i.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=i.start&&(e.parenthesizedBind=-1)),i},G.parseSubscripts=function(e,t,r,n){for(var a,i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end);;)if((a=this.eat(l.bracketL))||this.eat(l.dot)){var s=this.startNodeAt(t,r);s.object=e,s.property=a?this.parseExpression():this.parseIdent(!0),s.computed=!!a,a&&this.expect(l.bracketR),e=this.finishNode(s,"MemberExpression")}else if(!n&&this.eat(l.parenL)){var o=new B,c=this.yieldPos,u=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var p=this.parseExprList(l.parenR,this.options.ecmaVersion>=8,!1,o);if(i&&!this.canInsertSemicolon()&&this.eat(l.arrow))return this.checkPatternErrors(o,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=c,this.awaitPos=u,this.parseArrowExpression(this.startNodeAt(t,r),p,!0);this.checkExpressionErrors(o,!0),this.yieldPos=c||this.yieldPos,this.awaitPos=u||this.awaitPos;var h=this.startNodeAt(t,r);h.callee=e,h.arguments=p,e=this.finishNode(h,"CallExpression")}else{if(this.type!==l.backQuote)return e;var f=this.startNodeAt(t,r);f.tag=e,f.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(f,"TaggedTemplateExpression")}},G.parseExprAtom=function(e){var t,r=this.potentialArrowAt==this.start;switch(this.type){case l._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==l.dot&&this.type!==l.bracketL&&this.type!==l.parenL&&this.unexpected(),this.finishNode(t,"Super");case l._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case l.name:var n=this.start,a=this.startLoc,i=this.containsEsc,s=this.parseIdent(this.type!==l.name);if(this.options.ecmaVersion>=8&&!i&&"async"===s.name&&!this.canInsertSemicolon()&&this.eat(l._function))return this.parseFunction(this.startNodeAt(n,a),!1,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(l.arrow))return this.parseArrowExpression(this.startNodeAt(n,a),[s],!1);if(this.options.ecmaVersion>=8&&"async"===s.name&&this.type===l.name&&!i)return s=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(l.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,a),[s],!0)}return s;case l.regexp:var o=this.value;return t=this.parseLiteral(o.value),t.regex={pattern:o.pattern,flags:o.flags},t;case l.num:case l.string:return this.parseLiteral(this.value);case l._null:case l._true:case l._false:return t=this.startNode(),t.value=this.type===l._null?null:this.type===l._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case l.parenL:var c=this.start,u=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),u;case l.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(l.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case l.braceL:return this.parseObj(!1,e);case l._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case l._class:return this.parseClass(this.startNode(),!1);case l._new:return this.parseNew();case l.backQuote:return this.parseTemplate();default:this.unexpected()}},G.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},G.parseParenExpression=function(){this.expect(l.parenL);var e=this.parseExpression();return this.expect(l.parenR),e},G.parseParenAndDistinguishExpression=function(e){var t,r=this.start,n=this.startLoc,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var i,s=this.start,o=this.startLoc,c=[],u=!0,p=!1,h=new B,f=this.yieldPos,d=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==l.parenR;){if(u?u=!1:this.expect(l.comma),a&&this.afterTrailingComma(l.parenR,!0)){p=!0;break}if(this.type===l.ellipsis){i=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===l.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,h,this.parseParenItem))}var v=this.start,m=this.startLoc;if(this.expect(l.parenR),e&&!this.canInsertSemicolon()&&this.eat(l.arrow))return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=f,this.awaitPos=d,this.parseParenArrowList(r,n,c);c.length&&!p||this.unexpected(this.lastTokStart),i&&this.unexpected(i),this.checkExpressionErrors(h,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=d||this.awaitPos,c.length>1?(t=this.startNodeAt(s,o),t.expressions=c,this.finishNodeAt(t,"SequenceExpression",v,m)):t=c[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(r,n);return g.expression=t,this.finishNode(g,"ParenthesizedExpression")}return t},G.parseParenItem=function(e){return e},G.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var W=[];G.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(l.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||r)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var n=this.start,a=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,a,!0),e.arguments=this.eat(l.parenL)?this.parseExprList(l.parenR,this.options.ecmaVersion>=8,!1):W,this.finishNode(e,"NewExpression")},G.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===l.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===l.backQuote,this.finishNode(r,"TemplateElement")},G.parseTemplate=function(e){var t=void 0===e?{}:e,r=t.isTagged,n=void 0!==r&&r,a=this.startNode();this.next(),a.expressions=[];var i=this.parseTemplateElement({isTagged:n});for(a.quasis=[i];!i.tail;)this.expect(l.dollarBraceL),a.expressions.push(this.parseExpression()),this.expect(l.braceR),a.quasis.push(i=this.parseTemplateElement({isTagged:n}));return this.next(),this.finishNode(a,"TemplateLiteral")},G.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===l.name||this.type===l.num||this.type===l.string||this.type===l.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===l.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))},G.parseObj=function(e,t){var r=this.startNode(),n=!0,a={};for(r.properties=[],this.next();!this.eat(l.braceR);){if(n)n=!1;else if(this.expect(l.comma),this.afterTrailingComma(l.braceR))break;var i=this.parseProperty(e,t);e||this.checkPropClash(i,a,t),r.properties.push(i)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},G.parseProperty=function(e,t){var r,n,a,i,s=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(l.ellipsis))return e?(s.argument=this.parseIdent(!1),this.type===l.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(s,"RestElement")):(this.type===l.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),s.argument=this.parseMaybeAssign(!1,t),this.type===l.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(s,"SpreadElement"));this.options.ecmaVersion>=6&&(s.method=!1,s.shorthand=!1,(e||t)&&(a=this.start,i=this.startLoc),e||(r=this.eat(l.star)));var o=this.containsEsc;return this.parsePropertyName(s),!e&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(s)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(l.star),this.parsePropertyName(s,t)):n=!1,this.parsePropertyValue(s,e,r,n,a,i,t,o),this.finishNode(s,"Property")},G.parsePropertyValue=function(e,t,r,n,a,i,s,o){if((r||n)&&this.type===l.colon&&this.unexpected(),this.eat(l.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===l.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n);else if(t||o||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type==l.comma||this.type==l.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(a,i,e.key):this.type===l.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(a,i,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var c="get"===e.kind?0:1;if(e.value.params.length!==c){var u=e.value.start;this.raiseRecoverable(u,"get"===e.kind?"getter should have no params":"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},G.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(l.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(l.bracketR),e.key;e.computed=!1}return e.key=this.type===l.num||this.type===l.string?this.parseExprAtom():this.parseIdent(!0)},G.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},G.parseMethod=function(e,t){var r=this.startNode(),n=this.inGenerator,a=this.inAsync,i=this.yieldPos,s=this.awaitPos,o=this.inFunction;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.inGenerator=r.generator,this.inAsync=r.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(l.parenL),r.params=this.parseBindingList(l.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1),this.inGenerator=n,this.inAsync=a,this.yieldPos=i,this.awaitPos=s,this.inFunction=o,this.finishNode(r,"FunctionExpression")},G.parseArrowExpression=function(e,t,r){var n=this.inGenerator,a=this.inAsync,i=this.yieldPos,s=this.awaitPos,o=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=n,this.inAsync=a,this.yieldPos=i,this.awaitPos=s,this.inFunction=o,this.finishNode(e,"ArrowFunctionExpression")},G.parseFunctionBody=function(e,t){var r=t&&this.type!==l.braceL,n=this.strict,a=!1;if(r)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var i=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);n&&!i||(a=this.strictDirective(this.end),a&&i&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var s=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!n&&!a&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=s}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=n},G.isSimpleParamList=function(e){for(var t=0,r=null==e?0:e.length;t<r;t++){var n=e[t];if("Identifier"!==n.type)return!1}return!0},G.checkParams=function(e,t){for(var r={},n=0,a=e.params,i=null==a?0:a.length;n<i;n++){var s=a[n];this.checkLVal(s,"var",t?null:r)}},G.parseExprList=function(e,t,r,n){for(var a=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(l.comma),t&&this.afterTrailingComma(e))break;var s=void 0;r&&this.type===l.comma?s=null:this.type===l.ellipsis?(s=this.parseSpread(n),n&&this.type===l.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):s=this.parseMaybeAssign(!1,n),a.push(s)}return a},G.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&"yield"===n&&this.raiseRecoverable(t,"Can not use 'yield' as identifier inside a generator"),this.inAsync&&"await"===n&&this.raiseRecoverable(t,"Can not use 'await' as identifier inside an async function"),this.isKeyword(n)&&this.raise(t,`Unexpected keyword '${n}'`),!(this.options.ecmaVersion<6&&-1!=this.input.slice(t,r).indexOf("\\"))){var a=this.strict?this.reservedWordsStrict:this.reservedWords;a.test(n)&&(this.inAsync||"await"!==n||this.raiseRecoverable(t,"Can not use keyword 'await' outside an async function"),this.raiseRecoverable(t,`The keyword '${n}' is reserved`))}},G.parseIdent=function(e,t){var r=this.startNode();return e&&"never"==this.options.allowReserved&&(e=!1),this.type===l.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,"class"!==r.name&&"function"!==r.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected(),this.next(),this.finishNode(r,"Identifier"),e||this.checkUnreserved(r),r},G.parseYield=function(){this.yieldPos||(this.yieldPos=this.start);var e=this.startNode();return this.next(),this.type==l.semi||this.canInsertSemicolon()||this.type!=l.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(l.star),e.argument=this.parseMaybeAssign()),this.finishNode(e,"YieldExpression")},G.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!0),this.finishNode(e,"AwaitExpression")};var $=F.prototype;$.raise=function(e,t){var r=L(this.input,e);t+=" ("+r.line+":"+r.column+")";var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n},$.raiseRecoverable=$.raise,$.curPosition=function(){if(this.options.locations)return new C(this.curLine,this.pos-this.lineStart)};var H=F.prototype;H.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,a=e.properties,i=null==a?0:a.length;n<i;n++){var s=a[n];this.toAssignable(s,t),"RestElement"!==s.type||"ArrayPattern"!==s.argument.type&&"ObjectPattern"!==s.argument.type||this.raise(s.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},H.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var a=e[n];a&&this.toAssignable(a,t)}if(r){var i=e[r-1];6===this.options.ecmaVersion&&t&&i&&"RestElement"===i.type&&"Identifier"!==i.argument.type&&this.unexpected(i.argument.start)}return e},H.parseSpread=function(e){var