@pluginarch/create-parch
Version:
this is way to create a ui project
1 lines • 103 kB
JavaScript
(function(b){function a(b,d){if({}.hasOwnProperty.call(a.cache,b))return a.cache[b];var e=a.resolve(b);if(!e)throw new Error('Failed to resolve module '+b);var c={id:b,require:a,filename:b,exports:{},loaded:!1,parent:d,children:[]};d&&d.children.push(c);var f=b.slice(0,b.lastIndexOf('/')+1);return a.cache[b]=c.exports,e.call(c.exports,c,c.exports,f,b),c.loaded=!0,a.cache[b]=c.exports}a.modules={},a.cache={},a.resolve=function(b){return{}.hasOwnProperty.call(a.modules,b)?a.modules[b]:void 0},a.define=function(b,c){a.modules[b]=c};var c=function(a){return a='/',{title:'browser',version:'v14.17.0',browser:!0,env:{},argv:[],nextTick:b.setImmediate||function(a){setTimeout(a,0)},cwd:function(){return a},chdir:function(b){a=b}}}();a.define('/tools/entry-point.js',function(c,d,e,f){!function(){'use strict';b.escodegen=a('/escodegen.js',c),escodegen.browser=!0}()}),a.define('/escodegen.js',function(d,c,e,f){!function(k,e,$,J,T,l,n,F,A,U,a0,N,a1,i,f,V,a2,K,a3,s,W,B,C,y,a4,a5,v,D,G,X,O,r,Y,Z,P,g,Q,a6,_,m,z,L,a7,a8){'use strict';function ah(a){return p.Expression.hasOwnProperty(a.type)}function a9(a){return p.Statement.hasOwnProperty(a.type)}function aa(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:' ',base:0,adjustMultilineComment:!1},newline:'\n',space:' ',json:!1,renumber:!1,hexadecimal:!1,quotes:'single',escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function H(b,a){var c='';for(a|=0;a>0;a>>>=1,b+=b)a&1&&(c+=b);return c}function ai(a){return/[\r\n]/g.test(a)}function t(b){var a=b.length;return a&&l.code.isLineTerminator(b.charCodeAt(a-1))}function ab(c,b){var a;for(a in b)b.hasOwnProperty(a)&&(c[a]=b[a]);return c}function R(b,d){function e(a){return typeof a==='object'&&a instanceof Object&&!(a instanceof RegExp)}var a,c;for(a in d)d.hasOwnProperty(a)&&(c=d[a],e(c)?e(b[a])?R(b[a],c):b[a]=R({},c):b[a]=c);return b}function aj(c){var b,e,a,f,d;if(c!==c)throw new Error('Numeric literal whose value is NaN');if(c<0||c===0&&1/c<0)throw new Error('Numeric literal whose value is negative');if(c===1/0)return A?'null':U?'1e400':'1e+400';if(b=''+c,!U||b.length<3)return b;e=b.indexOf('.'),!A&&b.charCodeAt(0)===48&&e===1&&(e=0,b=b.slice(1)),a=b,b=b.replace('e+','e'),f=0,(d=a.indexOf('e'))>0&&(f=+a.slice(d+1),a=a.slice(0,d)),e>=0&&(f-=a.length-e-1,a=+(a.slice(0,e)+a.slice(e+1))+''),d=0;while(a.charCodeAt(a.length+d-1)===48)--d;return d!==0&&(f-=d,a=a.slice(0,d)),f!==0&&(a+='e'+f),(a.length<b.length||a0&&c>1e12&&Math.floor(c)===c&&(a='0x'+c.toString(16)).length<b.length)&&+a===c&&(b=a),b}function ac(a,b){return(a&-2)===8232?(b?'u':'\\u')+(a===8232?'2028':'2029'):a===10||a===13?(b?'':'\\')+(a===10?'n':'r'):String.fromCharCode(a)}function ak(d){var g,a,h,e,i,b,f,c;if(a=d.toString(),d.source){if(g=a.match(/\/([^/]*)$/),!g)return a;for(h=g[1],a='',f=!1,c=!1,e=0,i=d.source.length;e<i;++e)b=d.source.charCodeAt(e),c?(a+=ac(b,c),c=!1):(f?b===93&&(f=!1):b===47?a+='\\':b===91&&(f=!0),a+=ac(b,c),c=b===92);return'/'+a+'/'+h}return a}function al(a,c){var b;return a===8?'\\b':a===12?'\\f':a===9?'\\t':(b=a.toString(16).toUpperCase(),A||a>255?'\\u'+'0000'.slice(b.length)+b:a===0&&!l.code.isDecimalDigit(c)?'\\0':a===11?'\\x0B':'\\x'+'00'.slice(b.length)+b)}function am(a){if(a===92)return'\\\\';if(a===10)return'\\n';if(a===13)return'\\r';if(a===8232)return'\\u2028';if(a===8233)return'\\u2029';throw new Error('Incorrectly classified character')}function an(d){var a,e,c,b;for(b=N==='double'?'"':"'",a=0,e=d.length;a<e;++a){if(c=d.charCodeAt(a),c===39){b='"';break}if(c===34){b="'";break}c===92&&++a}return b+d+b}function ao(d){var b='',c,g,a,h=0,i=0,e,f;for(c=0,g=d.length;c<g;++c){if(a=d.charCodeAt(c),a===39)++h;else if(a===34)++i;else if(a===47&&A)b+='\\';else if(l.code.isLineTerminator(a)||a===92){b+=am(a);continue}else if(!l.code.isIdentifierPartES5(a)&&(A&&a<32||!(A||a1)&&(a<32||a>126))){b+=al(a,d.charCodeAt(c+1));continue}b+=String.fromCharCode(a)}if(e=!(N==='double'||N==='auto'&&i<h),f=e?"'":'"',!(e?h:i))return f+b+f;for(d=b,b=f,c=0,g=d.length;c<g;++c)a=d.charCodeAt(c),(a===39&&e||a===34&&!e)&&(b+='\\'),b+=String.fromCharCode(a);return b+f}function ad(d){var a,e,b,c='';for(a=0,e=d.length;a<e;++a)b=d[a],c+=Array.isArray(b)?ad(b):b;return c}function j(b,a){if(!B)return Array.isArray(b)?ad(b):b;if(a==null)if(b instanceof J)return b;else a={};return a.loc==null?new J(null,null,B,b,a.name||null):new J(a.loc.start.line,a.loc.start.column,B===!0?a.loc.source||null:B,b,a.name||null)}function u(){return f?f:' '}function h(c,d){var e,g,a,b;return e=j(c).toString(),e.length===0?[d]:(g=j(d).toString(),g.length===0?[c]:(a=e.charCodeAt(e.length-1),b=g.charCodeAt(0),(a===43||a===45)&&a===b||l.code.isIdentifierPartES5(a)&&l.code.isIdentifierPartES5(b)||a===47&&b===105?[c,u(),d]:l.code.isWhiteSpace(a)||l.code.isLineTerminator(a)||l.code.isWhiteSpace(b)||l.code.isLineTerminator(b)?[c,d]:[c,f,d]))}function w(a){return[n,a]}function o(b){var a;a=n,n+=F,b(n),n=a}function ap(b){var a;for(a=b.length-1;a>=0;--a)if(l.code.isLineTerminator(b.charCodeAt(a)))break;return b.length-1-a}function aq(k,f){var b,a,e,g,d,c,h,i;for(b=k.split(/\r\n|[\r\n]/),c=Number.MAX_VALUE,a=1,e=b.length;a<e;++a){g=b[a],d=0;while(d<g.length&&l.code.isWhiteSpace(g.charCodeAt(d)))++d;c>d&&(c=d)}for(f!==void 0?(h=n,b[1][c]==='*'&&(f+=' '),n=f):(c&1&&--c,h=n),a=1,e=b.length;a<e;++a)i=j(w(b[a].slice(c))),b[a]=B?i.join(''):i;return n=h,b.join('\n')}function E(a,c){if(a.type==='Line')if(t(a.value))return'//'+a.value;else{var b='//'+a.value;return y||(b+='\n'),b}return s.format.indent.adjustMultilineComment&&/[\n\r]/.test(a.value)?aq('/*'+a.value+'*/',c):'/*'+a.value+'*/'}function ae(c,a){var d,g,b,p,q,m,l,i,f,o,h,r,s,e;if(c.leadingComments&&c.leadingComments.length>0){if(p=a,y){for(b=c.leadingComments[0],a=[],i=b.extendedRange,f=b.range,h=C.substring(i[0],f[0]),e=(h.match(/\n/g)||[]).length,e>0?(a.push(H('\n',e)),a.push(w(E(b)))):(a.push(h),a.push(E(b))),o=f,d=1,g=c.leadingComments.length;d<g;d++)b=c.leadingComments[d],f=b.range,r=C.substring(o[1],f[0]),e=(r.match(/\n/g)||[]).length,a.push(H('\n',e)),a.push(w(E(b))),o=f;s=C.substring(f[1],i[1]),e=(s.match(/\n/g)||[]).length,a.push(H('\n',e))}else for(b=c.leadingComments[0],a=[],K&&c.type===k.Program&&c.body.length===0&&a.push('\n'),a.push(E(b)),t(j(a).toString())||a.push('\n'),d=1,g=c.leadingComments.length;d<g;++d)b=c.leadingComments[d],l=[E(b)],t(j(l).toString())||l.push('\n'),a.push(w(l));a.push(w(p))}if(c.trailingComments)if(y)b=c.trailingComments[0],i=b.extendedRange,f=b.range,h=C.substring(i[0],f[0]),e=(h.match(/\n/g)||[]).length,e>0?(a.push(H('\n',e)),a.push(w(E(b)))):(a.push(h),a.push(E(b)));else for(q=!t(j(a).toString()),m=H(' ',ap(j([n,a,F]).toString())),d=0,g=c.trailingComments.length;d<g;++d)b=c.trailingComments[d],q?(d===0?a=[a,F]:a=[a,m],a.push(E(b,m))):a=[a,w(E(b))],d!==g-1&&!t(j(a).toString())&&(a=[a,'\n']);return a}function I(c,d,e){var a,b=0;for(a=c;a<d;a++)C[a]==='\n'&&b++;for(a=1;a<b;a++)e.push(i)}function q(a,b,c){return b<c?['(',a,')']:a}function af(d){var a,c,b;for(b=d.split(/\r\n|\n/),a=1,c=b.length;a<c;a++)b[a]=i+n+b[a];return b}function ar(c,d){var a,b,f;return a=c[s.verbatim],typeof a==='string'?b=q(af(a),e.Sequence,d):(b=af(a.content),f=a.precedence!=null?a.precedence:e.Sequence,b=q(b,f,d)),j(b,c)}function p(){}function x(a){return j(a.name,a)}function M(a,b){return a.async?'async'+(b?u():f):''}function S(b){var a=b.generator&&!s.moz.starlessGenerator;return a?'*'+f:''}function ag(c){var a=c.value,b='';return a.async&&(b+=M(a,!c.computed)),a.generator&&(b+=S(a)?'*':''),b}function as(a){var b;if(b=new p,a9(a))return b.generateStatement(a,m);if(ah(a))return b.generateExpression(a,e.Sequence,g);throw new Error('Unknown node type: '+a.type)}function at(k,e){var h=aa(),j,g;return e!=null?(typeof e.indent==='string'&&(h.format.indent.style=e.indent),typeof e.base==='number'&&(h.format.indent.base=e.base),e=R(h,e),F=e.format.indent.style,typeof e.base==='string'?n=e.base:n=H(F,e.format.indent.base)):(e=h,F=e.format.indent.style,n=H(F,e.format.indent.base)),A=e.format.json,U=e.format.renumber,a0=A?!1:e.format.hexadecimal,N=A?'double':e.format.quotes,a1=e.format.escapeless,i=e.format.newline,f=e.format.space,e.format.compact&&(i=f=F=n=''),V=e.format.parentheses,a2=e.format.semicolons,K=e.format.safeConcatenation,a3=e.directive,W=A?null:e.parse,B=e.sourceMap,C=e.sourceCode,y=e.format.preserveBlankLines&&C!==null,s=e,B&&(c.browser?J=b.sourceMap.SourceNode:J=a('/node_modules/source-map/source-map.js',d).SourceNode),j=as(k),B?(g=j.toStringWithSourceMap({file:e.file,sourceRoot:e.sourceMapRoot}),e.sourceContent&&g.map.setSourceContent(e.sourceMap,e.sourceContent),e.sourceMapWithCode?g:g.map.toString()):(g={code:j.toString(),map:null},e.sourceMapWithCode?g:g.code)}T=a('/node_modules/estraverse/estraverse.js',d),l=a('/node_modules/esutils/lib/utils.js',d),k=T.Syntax,e={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},$={'??':e.Coalesce,'||':e.LogicalOR,'&&':e.LogicalAND,'|':e.BitwiseOR,'^':e.BitwiseXOR,'&':e.BitwiseAND,'==':e.Equality,'!=':e.Equality,'===':e.Equality,'!==':e.Equality,is:e.Equality,isnt:e.Equality,'<':e.Relational,'>':e.Relational,'<=':e.Relational,'>=':e.Relational,'in':e.Relational,'instanceof':e.Relational,'<<':e.BitwiseSHIFT,'>>':e.BitwiseSHIFT,'>>>':e.BitwiseSHIFT,'+':e.Additive,'-':e.Additive,'*':e.Multiplicative,'%':e.Multiplicative,'/':e.Multiplicative,'**':e.Exponentiation},v=1,D=2,G=4,X=8,O=16,r=32,Y=64,Z=D|G,P=v|D,g=v|D|G,Q=v,a6=G,_=v|G,m=v,z=v|r,L=0,a7=v|O,a8=v|X,p.prototype.maybeBlock=function(a,c){var d,b,e=this;return b=!s.comment||!a.leadingComments,a.type===k.BlockStatement&&b?[f,this.generateStatement(a,c)]:a.type===k.EmptyStatement&&b?';':(o(function(){d=[i,w(e.generateStatement(a,c))]}),d)},p.prototype.maybeBlockSuffix=function(c,a){var b=t(j(a).toString());return c.type===k.BlockStatement&&!(s.comment&&c.leadingComments)&&!b?[a,f]:b?[a,n]:[a,i,n]},p.prototype.generatePattern=function(a,b,c){return a.type===k.Identifier?x(a):this.generateExpression(a,b,c)},p.prototype.generateFunctionParams=function(a){var c,d,b,h;if(h=!1,a.type===k.ArrowFunctionExpression&&!a.rest&&(!a.defaults||a.defaults.length===0)&&a.params.length===1&&a.params[0].type===k.Identifier)b=[M(a,!0),x(a.params[0])];else{for(b=a.type===k.ArrowFunctionExpression?[M(a,!1)]:[],b.push('('),a.defaults&&(h=!0),c=0,d=a.params.length;c<d;++c)h&&a.defaults[c]?b.push(this.generateAssignment(a.params[c],a.defaults[c],'=',e.Assignment,g)):b.push(this.generatePattern(a.params[c],e.Assignment,g)),c+1<d&&b.push(','+f);a.rest&&(a.params.length&&b.push(','+f),b.push('...'),b.push(x(a.rest))),b.push(')')}return b},p.prototype.generateFunctionBody=function(b){var a,c;return a=this.generateFunctionParams(b),b.type===k.ArrowFunctionExpression&&(a.push(f),a.push('=>')),b.expression?(a.push(f),c=this.generateExpression(b.body,e.Assignment,g),c.toString().charAt(0)==='{'&&(c=['(',c,')']),a.push(c)):a.push(this.maybeBlock(b.body,a8)),a},p.prototype.generateIterationForStatement=function(d,b,i){var a=[(b.await?'for'+(u()+'await'):'for')+f+'('],c=this;return o(function(){b.left.type===k.VariableDeclaration?o(function(){a.push(b.left.kind+u()),a.push(c.generateStatement(b.left.declarations[0],L))}):a.push(c.generateExpression(b.left,e.Call,g)),a=h(a,d),a=[h(a,c.generateExpression(b.right,e.Assignment,g)),')']}),a.push(this.maybeBlock(b.body,i)),a},p.prototype.generatePropertyKey=function(c,b){var a=[];return b&&a.push('['),a.push(this.generateExpression(c,e.Assignment,g)),b&&a.push(']'),a},p.prototype.generateAssignment=function(c,d,g,b,a){return e.Assignment<b&&(a|=v),q([this.generateExpression(c,e.Call,a),f+g+f,this.generateExpression(d,e.Assignment,a)],e.Assignment,b)},p.prototype.semicolon=function(a){return!a2&&a&r?'':';'},p.Statement={BlockStatement:function(a,f){var c,d,b=['{',i],e=this;return o(function(){a.body.length===0&&y&&(c=a.range,c[1]-c[0]>2)&&(d=C.substring(c[0]+1,c[1]-1),d[0]==='\n'&&(b=['{']),b.push(d));var g,h,l,k;for(k=m,f&X&&(k|=O),g=0,h=a.body.length;g<h;++g)y&&(g===0&&(a.body[0].leadingComments&&(c=a.body[0].leadingComments[0].extendedRange,d=C.substring(c[0],c[1]),d[0]==='\n'&&(b=['{'])),a.body[0].leadingComments||I(a.range[0],a.body[0].range[0],b)),g>0&&!(a.body[g-1].trailingComments||a.body[g].leadingComments)&&I(a.body[g-1].range[1],a.body[g].range[0],b)),g===h-1&&(k|=r),a.body[g].leadingComments&&y?l=e.generateStatement(a.body[g],k):l=w(e.generateStatement(a.body[g],k)),b.push(l),t(j(l).toString())||(y&&g<h-1?a.body[g+1].leadingComments||b.push(i):b.push(i)),y&&g===h-1&&(a.body[g].trailingComments||I(a.body[g].range[1],a.range[1],b))}),b.push(w('}')),b},BreakStatement:function(a,b){return a.label?'break '+a.label.name+this.semicolon(b):'break'+this.semicolon(b)},ContinueStatement:function(a,b){return a.label?'continue '+a.label.name+this.semicolon(b):'continue'+this.semicolon(b)},ClassBody:function(b,d){var a=['{',i],c=this;return o(function(h){var d,f;for(d=0,f=b.body.length;d<f;++d)a.push(h),a.push(c.generateExpression(b.body[d],e.Sequence,g)),d+1<f&&a.push(i)}),t(j(a).toString())||a.push(i),a.push(n),a.push('}'),a},ClassDeclaration:function(b,d){var a,c;return a=['class'],b.id&&(a=h(a,this.generateExpression(b.id,e.Sequence,g))),b.superClass&&(c=h('extends',this.generateExpression(b.superClass,e.Unary,g)),a=h(a,c)),a.push(f),a.push(this.generateStatement(b.body,z)),a},DirectiveStatement:function(a,b){return s.raw&&a.raw?a.raw+this.semicolon(b):an(a.directive)+this.semicolon(b)},DoWhileStatement:function(b,c){var a=h('do',this.maybeBlock(b.body,m));return a=this.maybeBlockSuffix(b.body,a),h(a,['while'+f+'(',this.generateExpression(b.test,e.Sequence,g),')'+this.semicolon(c)])},CatchClause:function(a,d){var b,c=this;return o(function(){var d;a.param?(b=['catch'+f+'(',c.generateExpression(a.param,e.Sequence,g),')'],a.guard&&(d=c.generateExpression(a.guard,e.Sequence,g),b.splice(2,0,' if ',d))):b=['catch']}),b.push(this.maybeBlock(a.body,m)),b},DebuggerStatement:function(b,a){return'debugger'+this.semicolon(a)},EmptyStatement:function(a,b){return';'},ExportDefaultDeclaration:function(b,c){var a=['export'],d;return d=c&r?z:m,a=h(a,'default'),a9(b.declaration)?a=h(a,this.generateStatement(b.declaration,d)):a=h(a,this.generateExpression(b.declaration,e.Assignment,g)+this.semicolon(c)),a},ExportNamedDeclaration:function(b,c){var a=['export'],d,l=this;return d=c&r?z:m,b.declaration?h(a,this.generateStatement(b.declaration,d)):(b.specifiers&&(b.specifiers.length===0?a=h(a,'{'+f+'}'):b.specifiers[0].type===k.ExportBatchSpecifier?a=h(a,this.generateExpression(b.specifiers[0],e.Sequence,g)):(a=h(a,'{'),o(function(f){var c,d;for(a.push(i),c=0,d=b.specifiers.length;c<d;++c)a.push(f),a.push(l.generateExpression(b.specifiers[c],e.Sequence,g)),c+1<d&&a.push(','+i)}),t(j(a).toString())||a.push(i),a.push(n+'}')),b.source?a=h(a,['from'+f,this.generateExpression(b.source,e.Sequence,g),this.semicolon(c)]):a.push(this.semicolon(c))),a)},ExportAllDeclaration:function(a,b){return['export'+f,'*'+f,'from'+f,this.generateExpression(a.source,e.Sequence,g),this.semicolon(b)]},ExpressionStatement:function(c,d){function f(b){var a;return b.slice(0,5)!=='class'?!1:(a=b.charCodeAt(5),a===123||l.code.isWhiteSpace(a)||l.code.isLineTerminator(a))}function h(b){var a;return b.slice(0,8)!=='function'?!1:(a=b.charCodeAt(8),a===40||l.code.isWhiteSpace(a)||a===42||l.code.isLineTerminator(a))}function i(b){var c,a,d;if(b.slice(0,5)!=='async')return!1;if(!l.code.isWhiteSpace(b.charCodeAt(5)))return!1;for(a=6,d=b.length;a<d;++a)if(!l.code.isWhiteSpace(b.charCodeAt(a)))break;return a===d?!1:b.slice(a,a+8)!=='function'?!1:(c=b.charCodeAt(a+8),c===40||l.code.isWhiteSpace(c)||c===42||l.code.isLineTerminator(c))}var a,b;return a=[this.generateExpression(c.expression,e.Sequence,g)],b=j(a).toString(),b.charCodeAt(0)===123||f(b)||h(b)||i(b)||a3&&d&O&&c.expression.type===k.Literal&&typeof c.expression.value==='string'?a=['(',a,')'+this.semicolon(d)]:a.push(this.semicolon(d)),a},ImportDeclaration:function(b,d){var a,c,l=this;return b.specifiers.length===0?['import',f,this.generateExpression(b.source,e.Sequence,g),this.semicolon(d)]:(a=['import'],c=0,b.specifiers[c].type===k.ImportDefaultSpecifier&&(a=h(a,[this.generateExpression(b.specifiers[c],e.Sequence,g)]),++c),b.specifiers[c]&&(c!==0&&a.push(','),b.specifiers[c].type===k.ImportNamespaceSpecifier?a=h(a,[f,this.generateExpression(b.specifiers[c],e.Sequence,g)]):(a.push(f+'{'),b.specifiers.length-c===1?(a.push(f),a.push(this.generateExpression(b.specifiers[c],e.Sequence,g)),a.push(f+'}'+f)):(o(function(h){var d,f;for(a.push(i),d=c,f=b.specifiers.length;d<f;++d)a.push(h),a.push(l.generateExpression(b.specifiers[d],e.Sequence,g)),d+1<f&&a.push(','+i)}),t(j(a).toString())||a.push(i),a.push(n+'}'+f)))),a=h(a,['from'+f,this.generateExpression(b.source,e.Sequence,g),this.semicolon(d)]),a)},VariableDeclarator:function(a,c){var b=c&v?g:Z;return a.init?[this.generateExpression(a.id,e.Assignment,b),f,'=',f,this.generateExpression(a.init,e.Assignment,b)]:this.generatePattern(a.id,e.Assignment,b)},VariableDeclaration:function(c,h){function j(){for(b=c.declarations[0],s.comment&&b.leadingComments?(a.push('\n'),a.push(w(e.generateStatement(b,d)))):(a.push(u()),a.push(e.generateStatement(b,d))),g=1,k=c.declarations.length;g<k;++g)b=c.declarations[g],s.comment&&b.leadingComments?(a.push(','+i),a.push(w(e.generateStatement(b,d)))):(a.push(','+f),a.push(e.generateStatement(b,d)))}var a,g,k,b,d,e=this;return a=[c.kind],d=h&v?m:L,c.declarations.length>1?o(j):j(),a.push(this.semicolon(h)),a},ThrowStatement:function(a,b){return[h('throw',this.generateExpression(a.argument,e.Sequence,g)),this.semicolon(b)]},TryStatement:function(b,f){var a,c,d,e;if(a=['try',this.maybeBlock(b.block,m)],a=this.maybeBlockSuffix(b.block,a),b.handlers)for(c=0,d=b.handlers.length;c<d;++c)a=h(a,this.generateStatement(b.handlers[c],m)),(b.finalizer||c+1!==d)&&(a=this.maybeBlockSuffix(b.handlers[c].body,a));else{for(e=b.guardedHandlers||[],c=0,d=e.length;c<d;++c)a=h(a,this.generateStatement(e[c],m)),(b.finalizer||c+1!==d)&&(a=this.maybeBlockSuffix(e[c].body,a));if(b.handler)if(Array.isArray(b.handler))for(c=0,d=b.handler.length;c<d;++c)a=h(a,this.generateStatement(b.handler[c],m)),(b.finalizer||c+1!==d)&&(a=this.maybeBlockSuffix(b.handler[c].body,a));else a=h(a,this.generateStatement(b.handler,m)),b.finalizer&&(a=this.maybeBlockSuffix(b.handler.body,a))}return b.finalizer&&(a=h(a,['finally',this.maybeBlock(b.finalizer,m)])),a},SwitchStatement:function(c,n){var a,d,b,h,k,l=this;if(o(function(){a=['switch'+f+'(',l.generateExpression(c.discriminant,e.Sequence,g),')'+f+'{'+i]}),c.cases)for(k=m,b=0,h=c.cases.length;b<h;++b)b===h-1&&(k|=r),d=w(this.generateStatement(c.cases[b],k)),a.push(d),t(j(d).toString())||a.push(i);return a.push(w('}')),a},SwitchCase:function(c,p){var a,f,b,d,n,l=this;return o(function(){for(c.test?a=[h('case',l.generateExpression(c.test,e.Sequence,g)),':']:a=['default:'],b=0,d=c.consequent.length,d&&c.consequent[0].type===k.BlockStatement&&(f=l.maybeBlock(c.consequent[0],m),a.push(f),b=1),b!==d&&!t(j(a).toString())&&a.push(i),n=m;b<d;++b)b===d-1&&p&r&&(n|=r),f=w(l.generateStatement(c.consequent[b],n)),a.push(f),b+1!==d&&!t(j(f).toString())&&a.push(i)}),a},IfStatement:function(b,j){var a,c,d,i=this;return o(function(){a=['if'+f+'(',i.generateExpression(b.test,e.Sequence,g),')']}),d=j&r,c=m,d&&(c|=r),b.alternate?(a.push(this.maybeBlock(b.consequent,m)),a=this.maybeBlockSuffix(b.consequent,a),b.alternate.type===k.IfStatement?a=h(a,['else ',this.generateStatement(b.alternate,c)]):a=h(a,h('else',this.maybeBlock(b.alternate,c)))):a.push(this.maybeBlock(b.consequent,c)),a},ForStatement:function(b,d){var a,c=this;return o(function(){a=['for'+f+'('],b.init?b.init.type===k.VariableDeclaration?a.push(c.generateStatement(b.init,L)):(a.push(c.generateExpression(b.init,e.Sequence,Z)),a.push(';')):a.push(';'),b.test?(a.push(f),a.push(c.generateExpression(b.test,e.Sequence,g)),a.push(';')):a.push(';'),b.update?(a.push(f),a.push(c.generateExpression(b.update,e.Sequence,g)),a.push(')')):a.push(')')}),a.push(this.maybeBlock(b.body,d&r?z:m)),a},ForInStatement:function(a,b){return this.generateIterationForStatement('in',a,b&r?z:m)},ForOfStatement:function(a,b){return this.generateIterationForStatement('of',a,b&r?z:m)},LabeledStatement:function(a,b){return[a.label.name+':',this.maybeBlock(a.body,b&r?z:m)]},Program:function(b,g){var c,e,a,d,f;for(d=b.body.length,c=[K&&d>0?'\n':''],f=a7,a=0;a<d;++a)!K&&a===d-1&&(f|=r),y&&(a===0&&(b.body[0].leadingComments||I(b.range[0],b.body[a].range[0],c)),a>0&&!(b.body[a-1].trailingComments||b.body[a].leadingComments)&&I(b.body[a-1].range[1],b.body[a].range[0],c)),e=w(this.generateStatement(b.body[a],f)),c.push(e),a+1<d&&!t(j(e).toString())&&(y?b.body[a+1].leadingComments||c.push(i):c.push(i)),y&&a===d-1&&(b.body[a].trailingComments||I(b.body[a].range[1],b.range[1],c));return c},FunctionDeclaration:function(a,b){return[M(a,!0),'function',S(a)||u(),a.id?x(a.id):'',this.generateFunctionBody(a)]},ReturnStatement:function(a,b){return a.argument?[h('return',this.generateExpression(a.argument,e.Sequence,g)),this.semicolon(b)]:['return'+this.semicolon(b)]},WhileStatement:function(b,d){var a,c=this;return o(function(){a=['while'+f+'(',c.generateExpression(b.test,e.Sequence,g),')']}),a.push(this.maybeBlock(b.body,d&r?z:m)),a},WithStatement:function(b,d){var a,c=this;return o(function(){a=['with'+f+'(',c.generateExpression(b.object,e.Sequence,g),')']}),a.push(this.maybeBlock(b.body,d&r?z:m)),a}},ab(p.prototype,p.Statement),p.Expression={SequenceExpression:function(d,g,h){var b,a,c;for(e.Sequence<g&&(h|=v),b=[],a=0,c=d.expressions.length;a<c;++a)b.push(this.generateExpression(d.expressions[a],e.Assignment,h)),a+1<c&&b.push(','+f);return q(b,e.Sequence,g)},AssignmentExpression:function(a,b,c){return this.generateAssignment(a.left,a.right,a.operator,b,c)},ArrowFunctionExpression:function(a,b,c){return q(this.generateFunctionBody(a),e.ArrowFunction,b)},ConditionalExpression:function(b,c,a){return e.Conditional<c&&(a|=v),q([this.generateExpression(b.test,e.Coalesce,a),f+'?'+f,this.generateExpression(b.consequent,e.Assignment,a),f+':'+f,this.generateExpression(b.alternate,e.Assignment,a)],e.Conditional,c)},LogicalExpression:function(a,c,b){return a.operator==='??'&&(b|=Y),this.BinaryExpression(a,c,b)},BinaryExpression:function(a,i,f){var b,j,k,d,c,g;return d=$[a.operator],j=a.operator==='**'?e.Postfix:d,k=a.operator==='**'?d:d+1,d<i&&(f|=v),c=this.generateExpression(a.left,j,f),g=c.toString(),g.charCodeAt(g.length-1)===47&&l.code.isIdentifierPartES5(a.operator.charCodeAt(0))?b=[c,u(),a.operator]:b=h(c,a.operator),c=this.generateExpression(a.right,k,f),a.operator==='/'&&c.toString().charAt(0)==='/'||a.operator.slice(-1)==='<'&&c.toString().slice(0,3)==='!--'?(b.push(u()),b.push(c)):b=h(b,c),a.operator==='in'&&!(f&v)?['(',b,')']:(a.operator==='||'||a.operator==='&&')&&f&Y?['(',b,')']:q(b,d,i)},CallExpression:function(c,h,i){var a,b,d;for(a=[this.generateExpression(c.callee,e.Call,P)],c.optional&&a.push('?.'),a.push('('),b=0,d=c['arguments'].length;b<d;++b)a.push(this.generateExpression(c['arguments'][b],e.Assignment,g)),b+1<d&&a.push(','+f);return a.push(')'),i&D?q(a,e.Call,h):['(',a,')']},ChainExpression:function(d,a,b){e.OptionalChaining<a&&(b|=D);var c=this.generateExpression(d.expression,e.OptionalChaining,b);return q(c,e.OptionalChaining,a)},NewExpression:function(d,l,j){var a,c,b,i,k;if(c=d['arguments'].length,k=j&G&&!V&&c===0?_:Q,a=h('new',this.generateExpression(d.callee,e.New,k)),!(j&G)||V||c>0){for(a.push('('),b=0,i=c;b<i;++b)a.push(this.generateExpression(d['arguments'][b],e.Assignment,g)),b+1<i&&a.push(','+f);a.push(')')}return q(a,e.New,l)},MemberExpression:function(b,f,d){var a,c;return a=[this.generateExpression(b.object,e.Call,d&D?P:Q)],b.computed?(b.optional&&a.push('?.'),a.push('['),a.push(this.generateExpression(b.property,e.Sequence,d&D?g:_)),a.push(']')):(!b.optional&&b.object.type===k.Literal&&typeof b.object.value==='number'&&(c=j(a).toString(),c.indexOf('.')<0&&!/[eExX]/.test(c)&&l.code.isDecimalDigit(c.charCodeAt(c.length-1))&&!(c.length>=2&&c.charCodeAt(0)===48)&&a.push(' ')),a.push(b.optional?'?.':'.'),a.push(x(b.property))),q(a,e.Member,f)},MetaProperty:function(a,c,d){var b;return b=[],b.push(typeof a.meta==='string'?a.meta:x(a.meta)),b.push('.'),b.push(typeof a.property==='string'?a.property:x(a.property)),q(b,e.Member,c)},UnaryExpression:function(d,m,n){var a,b,i,k,c;return b=this.generateExpression(d.argument,e.Unary,g),f===''?a=h(d.operator,b):(a=[d.operator],d.operator.length>2?a=h(a,b):(k=j(a).toString(),c=k.charCodeAt(k.length-1),i=b.toString().charCodeAt(0),(c===43||c===45)&&c===i||l.code.isIdentifierPartES5(c)&&l.code.isIdentifierPartES5(i)?(a.push(u()),a.push(b)):a.push(b))),q(a,e.Unary,m)},YieldExpression:function(b,c,d){var a;return b.delegate?a='yield*':a='yield',b.argument&&(a=h(a,this.generateExpression(b.argument,e.Yield,g))),q(a,e.Yield,c)},AwaitExpression:function(a,c,d){var b=h(a.all?'await*':'await',this.generateExpression(a.argument,e.Await,g));return q(b,e.Await,c)},UpdateExpression:function(a,b,c){return a.prefix?q([a.operator,this.generateExpression(a.argument,e.Unary,g)],e.Unary,b):q([this.generateExpression(a.argument,e.Postfix,g),a.operator],e.Postfix,b)},FunctionExpression:function(a,c,d){var b=[M(a,!0),'function'];return a.id?(b.push(S(a)||u()),b.push(x(a.id))):b.push(S(a)||f),b.push(this.generateFunctionBody(a)),b},ArrayPattern:function(a,b,c){return this.ArrayExpression(a,b,c,!0)},ArrayExpression:function(c,k,l,h){var a,b,d=this;return c.elements.length?(b=h?!1:c.elements.length>1,a=['[',b?i:''],o(function(k){var h,j;for(h=0,j=c.elements.length;h<j;++h)c.elements[h]?(a.push(b?k:''),a.push(d.generateExpression(c.elements[h],e.Assignment,g))):(b&&a.push(k),h+1===j&&a.push(',')),h+1<j&&a.push(','+(b?i:f))}),b&&!t(j(a).toString())&&a.push(i),a.push(b?n:''),a.push(']'),a):'[]'},RestElement:function(a,b,c){return'...'+this.generatePattern(a.argument)},ClassExpression:function(b,d,i){var a,c;return a=['class'],b.id&&(a=h(a,this.generateExpression(b.id,e.Sequence,g))),b.superClass&&(c=h('extends',this.generateExpression(b.superClass,e.Unary,g)),a=h(a,c)),a.push(f),a.push(this.generateStatement(b.body,z)),a},MethodDefinition:function(a,d,e){var b,c;return a['static']?b=['static'+f]:b=[],a.kind==='get'||a.kind==='set'?c=[h(a.kind,this.generatePropertyKey(a.key,a.computed)),this.generateFunctionBody(a.value)]:c=[ag(a),this.generatePropertyKey(a.key,a.computed),this.generateFunctionBody(a.value)],h(b,c)},Property:function(a,b,c){return a.kind==='get'||a.kind==='set'?[a.kind,u(),this.generatePropertyKey(a.key,a.computed),this.generateFunctionBody(a.value)]:a.shorthand?a.value.type==='AssignmentPattern'?this.AssignmentPattern(a.value,e.Sequence,g):this.generatePropertyKey(a.key,a.computed):a.method?[ag(a),this.generatePropertyKey(a.key,a.computed),this.generateFunctionBody(a.value)]:[this.generatePropertyKey(a.key,a.computed),':'+f,this.generateExpression(a.value,e.Assignment,g)]},ObjectExpression:function(b,k,l){var d,a,c,h=this;return b.properties.length?(d=b.properties.length>1,o(function(){c=h.generateExpression(b.properties[0],e.Sequence,g)}),d||ai(j(c).toString())?(o(function(k){var f,j;if(a=['{',i,k,c],d)for(a.push(','+i),f=1,j=b.properties.length;f<j;++f)a.push(k),a.push(h.generateExpression(b.properties[f],e.Sequence,g)),f+1<j&&a.push(','+i)}),t(j(a).toString())||a.push(i),a.push(n),a.push('}'),a):['{',f,c,f,'}']):'{}'},AssignmentPattern:function(a,b,c){return this.generateAssignment(a.left,a.right,'=',b,c)},ObjectPattern:function(c,p,q){var a,h,l,b,d,m=this;if(!c.properties.length)return'{}';if(b=!1,c.properties.length===1)d=c.properties[0],d.type===k.Property&&d.value.type!==k.Identifier&&(b=!0);else for(h=0,l=c.properties.length;h<l;++h)if(d=c.properties[h],d.type===k.Property&&!d.shorthand){b=!0;break}return a=['{',b?i:''],o(function(j){var d,h;for(d=0,h=c.properties.length;d<h;++d)a.push(b?j:''),a.push(m.generateExpression(c.properties[d],e.Sequence,g)),d+1<h&&a.push(','+(b?i:f))}),b&&!t(j(a).toString())&&a.push(i),a.push(b?n:''),a.push('}'),a},ThisExpression:function(a,b,c){return'this'},Super:function(a,b,c){return'super'},Identifier:function(a,b,c){return x(a)},ImportDefaultSpecifier:function(a,b,c){return x(a.id||a.local)},ImportNamespaceSpecifier:function(c,d,e){var a=['*'],b=c.id||c.local;return b&&a.push(f+'as'+u()+x(b)),a},ImportSpecifier:function(d,e,f){var b=d.imported,c=[b.name],a=d.local;return a&&a.name!==b.name&&c.push(u()+'as'+u()+x(a)),c},ExportSpecifier:function(d,e,f){var b=d.local,c=[b.name],a=d.exported;return a&&a.name!==b.name&&c.push(u()+'as'+u()+x(a)),c},Literal:function(a,c,d){var b;if(a.hasOwnProperty('raw')&&W&&s.raw)try{if(b=W(a.raw).body[0].expression,b.type===k.Literal&&b.value===a.value)return a.raw}catch(a){}return a.regex?'/'+a.regex.pattern+'/'+a.regex.flags:typeof a.value==='bigint'?a.value.toString()+'n':a.bigint?a.bigint+'n':a.value===null?'null':typeof a.value==='string'?ao(a.value):typeof a.value==='number'?aj(a.value):typeof a.value==='boolean'?a.value?'true':'false':ak(a.value)},GeneratorExpression:function(a,b,c){return this.ComprehensionExpression(a,b,c)},ComprehensionExpression:function(b,l,m){var a,d,i,c,j=this;return a=b.type===k.GeneratorExpression?['(']:['['],s.moz.comprehensionExpressionStartsWithAssignment&&(c=this.generateExpression(b.body,e.Assignment,g),a.push(c)),b.blocks&&o(function(){for(d=0,i=b.blocks.length;d<i;++d)c=j.generateExpression(b.blocks[d],e.Sequence,g),d>0||s.moz.comprehensionExpressionStartsWithAssignment?a=h(a,c):a.push(c)}),b.filter&&(a=h(a,'if'+f),c=this.generateExpression(b.filter,e.Sequence,g),a=h(a,['(',c,')'])),s.moz.comprehensionExpressionStartsWithAssignment||(c=this.generateExpression(b.body,e.Assignment,g),a=h(a,c)),a.push(b.type===k.GeneratorExpression?')':']'),a},ComprehensionBlock:function(b,c,d){var a;return b.left.type===k.VariableDeclaration?a=[b.left.kind,u(),this.generateStatement(b.left.declarations[0],L)]:a=this.generateExpression(b.left,e.Call,g),a=h(a,b.of?'of':'in'),a=h(a,this.generateExpression(b.right,e.Sequence,g)),['for'+f+'(',a,')']},SpreadElement:function(a,b,c){return['...',this.generateExpression(a.argument,e.Assignment,g)]},TaggedTemplateExpression:function(b,d,f){var a=P;f&D||(a=Q);var c=[this.generateExpression(b.tag,e.Call,a),this.generateExpression(b.quasi,e.Primary,a6)];return q(c,e.TaggedTemplate,d)},TemplateElement:function(a,b,c){return a.value.raw},TemplateLiteral:function(c,h,i){var a,b,d;for(a=['`'],b=0,d=c.quasis.length;b<d;++b)a.push(this.generateExpression(c.quasis[b],e.Primary,g)),b+1<d&&(a.push('${'+f),a.push(this.generateExpression(c.expressions[b],e.Sequence,g)),a.push(f+'}'));return a.push('`'),a},ModuleSpecifier:function(a,b,c){return this.Literal(a,b,c)},ImportExpression:function(a,b,c){return q(['import(',this.generateExpression(a.source,e.Assignment,g),')'],e.Call,b)}},ab(p.prototype,p.Expression),p.prototype.generateExpression=function(a,c,e){var b,d;return d=a.type||k.Property,s.verbatim&&a.hasOwnProperty(s.verbatim)?ar(a,c):(b=this[d](a,c,e),s.comment&&(b=ae(a,b)),j(b,a))},p.prototype.generateStatement=function(b,d){var a,c;return a=this[b.type](b,d),s.comment&&(a=ae(b,a)),c=j(a).toString(),b.type===k.Program&&!K&&i===''&&c.charAt(c.length-1)==='\n'&&(a=B?j(a).replaceRight(/\s+$/,''):c.replace(/\s+$/,'')),j(a,b)},a4={indent:{style:'',base:0},renumber:!0,hexadecimal:!0,quotes:'auto',escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},a5=aa().format,c.version=a('/package.json',d).version,c.generate=at,c.attachComments=T.attachComments,c.Precedence=R({},e),c.browser=!1,c.FORMAT_MINIFY=a4,c.FORMAT_DEFAULTS=a5}()}),a.define('/package.json',function(a,b,c,d){a.exports={name:'escodegen',description:'ECMAScript code generator',homepage:'http://github.com/estools/escodegen',main:'escodegen.js',bin:{esgenerate:'./bin/esgenerate.js',escodegen:'./bin/escodegen.js'},files:['LICENSE.BSD','README.md','bin','escodegen.js','package.json'],version:'2.0.0',engines:{node:'>=6.0'},maintainers:[{name:'Yusuke Suzuki',email:'utatane.tea@gmail.com',web:'http://github.com/Constellation'}],repository:{type:'git',url:'http://github.com/estools/escodegen.git'},dependencies:{estraverse:'^5.2.0',esutils:'^2.0.2',esprima:'^4.0.1'},optionalDependencies:{'source-map':'~0.6.1'},devDependencies:{acorn:'^8.0.4',bluebird:'^3.4.7','bower-registry-client':'^1.0.0',chai:'^4.2.0','chai-exclude':'^2.0.2','commonjs-everywhere':'^0.9.7',gulp:'^4.0.2','gulp-eslint':'^6.0.0','gulp-mocha':'^7.0.2',minimist:'^1.2.5',optionator:'^0.9.1',semver:'^7.3.4'},license:'BSD-2-Clause',scripts:{test:'gulp travis','unit-test':'gulp test',lint:'gulp lint',release:'node tools/release.js','build-min':'./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js',build:'./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js'}}}),a.define('/node_modules/source-map/source-map.js',function(b,c,d,e){c.SourceMapGenerator=a('/node_modules/source-map/lib/source-map-generator.js',b).SourceMapGenerator,c.SourceMapConsumer=a('/node_modules/source-map/lib/source-map-consumer.js',b).SourceMapConsumer,c.SourceNode=a('/node_modules/source-map/lib/source-node.js',b).SourceNode}),a.define('/node_modules/source-map/lib/source-node.js',function(e,i,j,k){function b(a,b,d,e,f){this.children=[],this.sourceContents={},this.line=a==null?null:a,this.column=b==null?null:b,this.source=d==null?null:d,this.name=f==null?null:f,this[c]=!0,e!=null&&this.add(e)}var f=a('/node_modules/source-map/lib/source-map-generator.js',e).SourceMapGenerator,d=a('/node_modules/source-map/lib/util.js',e),g=/(\r?\n)/,h=10,c='$$$isSourceNode$$$';b.fromStringWithSourceMap=function a(o,m,k){function n(a,c){if(a===null||a.source===undefined)f.add(c);else{var e=k?d.join(k,a.source):a.source;f.add(new b(a.originalLine,a.originalColumn,e,c,a.name))}}var f=new b,c=o.split(g),e=0,l=function(){function a(){return e<c.length?c[e++]:undefined}var b=a(),d=a()||'';return b+d},j=1,i=0,h=null;return m.eachMapping(function(a){if(h!==null)if(j<a.generatedLine)n(h,l()),j++,i=0;else{var b=c[e]||'',d=b.substr(0,a.generatedColumn-i);c[e]=b.substr(a.generatedColumn-i),i=a.generatedColumn,n(h,d),h=a;return}while(j<a.generatedLine)f.add(l()),j++;if(i<a.generatedColumn){var b=c[e]||'';f.add(b.substr(0,a.generatedColumn)),c[e]=b.substr(a.generatedColumn),i=a.generatedColumn}h=a},this),e<c.length&&(h&&n(h,l()),f.add(c.splice(e).join(''))),m.sources.forEach(function(a){var b=m.sourceContentFor(a);b!=null&&(k!=null&&(a=d.join(k,a)),f.setSourceContent(a,b))}),f},b.prototype.add=function a(b){if(Array.isArray(b))b.forEach(function(a){this.add(a)},this);else if(b[c]||typeof b==='string')b&&this.children.push(b);else throw new TypeError('Expected a SourceNode, string, or an array of SourceNodes and strings. Got '+b);return this},b.prototype.prepend=function a(b){if(Array.isArray(b))for(var d=b.length-1;d>=0;d--)this.prepend(b[d]);else if(b[c]||typeof b==='string')this.children.unshift(b);else throw new TypeError('Expected a SourceNode, string, or an array of SourceNodes and strings. Got '+b);return this},b.prototype.walk=function a(e){var b;for(var d=0,f=this.children.length;d<f;d++)b=this.children[d],b[c]?b.walk(e):b!==''&&e(b,{source:this.source,line:this.line,column:this.column,name:this.name})},b.prototype.join=function a(e){var b,c,d=this.children.length;if(d>0){for(b=[],c=0;c<d-1;c++)b.push(this.children[c]),b.push(e);b.push(this.children[c]),this.children=b}return this},b.prototype.replaceRight=function a(d,e){var b=this.children[this.children.length-1];return b[c]?b.replaceRight(d,e):typeof b==='string'?this.children[this.children.length-1]=b.replace(d,e):this.children.push(''.replace(d,e)),this},b.prototype.setSourceContent=function a(b,c){this.sourceContents[d.toSetString(b)]=c},b.prototype.walkSourceContents=function a(g){for(var b=0,e=this.children.length;b<e;b++)this.children[b][c]&&this.children[b].walkSourceContents(g);var f=Object.keys(this.sourceContents);for(var b=0,e=f.length;b<e;b++)g(d.fromSetString(f[b]),this.sourceContents[f[b]])},b.prototype.toString=function a(){var b='';return this.walk(function(a){b+=a}),b},b.prototype.toStringWithSourceMap=function a(k){var b={code:'',line:1,column:0},c=new f(k),d=!1,e=null,g=null,i=null,j=null;return this.walk(function(k,a){b.code+=k,a.source!==null&&a.line!==null&&a.column!==null?((e!==a.source||g!==a.line||i!==a.column||j!==a.name)&&c.addMapping({source:a.source,original:{line:a.line,column:a.column},generated:{line:b.line,column:b.column},name:a.name}),e=a.source,g=a.line,i=a.column,j=a.name,d=!0):d&&(c.addMapping({generated:{line:b.line,column:b.column}}),e=null,d=!1);for(var f=0,l=k.length;f<l;f++)k.charCodeAt(f)===h?(b.line++,b.column=0,f+1===l?(e=null,d=!1):d&&c.addMapping({source:a.source,original:{line:a.line,column:a.column},generated:{line:b.line,column:b.column},name:a.name})):b.column++}),this.walkSourceContents(function(a,b){c.setSourceContent(a,b)}),{code:b.code,map:c}},i.SourceNode=b}),a.define('/node_modules/source-map/lib/util.js',function(u,a,v,w){function l(b,a,c){if(a in b)return b[a];else if(arguments.length===3)return c;else throw new Error('"'+a+'" is a required argument.')}function d(b){var a=b.match(f);return a?{scheme:a[1],auth:a[2],host:a[3],port:a[4],path:a[5]}:null}function b(a){var b='';return a.scheme&&(b+=a.scheme+':'),b+='//',a.auth&&(b+=a.auth+'@'),a.host&&(b+=a.host),a.port&&(b+=':'+a.port),a.path&&(b+=a.path),b}function e(j){var c=j,e=d(j);if(e){if(!e.path)return j;c=e.path}var k=a.isAbsolute(c),f=c.split(/\/+/);for(var i,h=0,g=f.length-1;g>=0;g--)i=f[g],i==='.'?f.splice(g,1):i==='..'?h++:h>0&&(i===''?(f.splice(g+1,h),h=0):(f.splice(g,2),h--));return c=f.join('/'),c===''&&(c=k?'/':'.'),e?(e.path=c,b(e)):c}function h(g,c){g===''&&(g='.'),c===''&&(c='.');var f=d(c),a=d(g);if(a&&(g=a.path||'/'),f&&!f.scheme)return a&&(f.scheme=a.scheme),b(f);if(f||c.match(k))return c;if(a&&!a.host&&!a.path)return a.host=c,b(a);var h=c.charAt(0)==='/'?c:e(g.replace(/\/+$/,'')+'/'+c);return a?(a.path=h,b(a)):h}function m(a,b){a===''&&(a='.'),a=a.replace(/\/$/,'');var c=0;while(b.indexOf(a+'/')!==0){var d=a.lastIndexOf('/');if(d<0)return b;if(a=a.slice(0,d),a.match(/^([^\/]+:\/)?\/*$/))return b;++c}return Array(c+1).join('../')+b.substr(a.length+1)}function i(a){return a}function n(a){return j(a)?'$'+a:a}function o(a){return j(a)?a.slice(1):a}function j(a){if(!a)return!1;var b=a.length;if(b<9)return!1;if(a.charCodeAt(b-1)!==95||a.charCodeAt(b-2)!==95||a.charCodeAt(b-3)!==111||a.charCodeAt(b-4)!==116||a.charCodeAt(b-5)!==111||a.charCodeAt(b-6)!==114||a.charCodeAt(b-7)!==112||a.charCodeAt(b-8)!==95||a.charCodeAt(b-9)!==95)return!1;for(var c=b-10;c>=0;c--)if(a.charCodeAt(c)!==36)return!1;return!0}function p(b,d,e){var a=c(b.source,d.source);return a!==0?a:(a=b.originalLine-d.originalLine,a!==0?a:(a=b.originalColumn-d.originalColumn,a!==0||e?a:(a=b.generatedColumn-d.generatedColumn,a!==0?a:(a=b.generatedLine-d.generatedLine,a!==0?a:c(b.name,d.name)))))}function q(b,d,e){var a=b.generatedLine-d.generatedLine;return a!==0?a:(a=b.generatedColumn-d.generatedColumn,a!==0||e?a:(a=c(b.source,d.source),a!==0?a:(a=b.originalLine-d.originalLine,a!==0?a:(a=b.originalColumn-d.originalColumn,a!==0?a:c(b.name,d.name)))))}function c(a,b){return a===b?0:a===null?1:b===null?-1:a>b?1:-1}function r(b,d){var a=b.generatedLine-d.generatedLine;return a!==0?a:(a=b.generatedColumn-d.generatedColumn,a!==0?a:(a=c(b.source,d.source),a!==0?a:(a=b.originalLine-d.originalLine,a!==0?a:(a=b.originalColumn-d.originalColumn,a!==0?a:c(b.name,d.name)))))}function s(a){return JSON.parse(a.replace(/^\)]}'[^\n]*\n/,''))}function t(f,a,i){if(a=a||'',f&&(f[f.length-1]!=='/'&&a[0]!=='/'&&(f+='/'),a=f+a),i){var c=d(i);if(!c)throw new Error('sourceMapURL could not be parsed');if(c.path){var g=c.path.lastIndexOf('/');g>=0&&(c.path=c.path.substring(0,g+1))}a=h(b(c),a)}return e(a)}a.getArg=l;var f=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,k=/^data:.+\,.+$/;a.urlParse=d,a.urlGenerate=b,a.normalize=e,a.join=h,a.isAbsolute=function(a){return a.charAt(0)==='/'||f.test(a)},a.relative=m;var g=function(a){return a=Object.create(null),!('__proto__'in a)}();a.toSetString=g?i:n,a.fromSetString=g?i:o,a.compareByOriginalPositions=p,a.compareByGeneratedPositionsDeflated=q,a.compareByGeneratedPositionsInflated=r,a.parseSourceMapInput=s,a.computeSourceURL=t}),a.define('/node_modules/source-map/lib/source-map-generator.js',function(f,h,i,j){function c(a){a||(a={}),this._file=b.getArg(a,'file',null),this._sourceRoot=b.getArg(a,'sourceRoot',null),this._skipValidation=b.getArg(a,'skipValidation',!1),this._sources=new e,this._names=new e,this._mappings=new g,this._sourcesContents=null}var d=a('/node_modules/source-map/lib/base64-vlq.js',f),b=a('/node_modules/source-map/lib/util.js',f),e=a('/node_modules/source-map/lib/array-set.js',f).ArraySet,g=a('/node_modules/source-map/lib/mapping-list.js',f).MappingList;c.prototype._version=3,c.fromSourceMap=function a(f){var d=f.sourceRoot,e=new c({file:f.file,sourceRoot:d});return f.eachMapping(function(a){var c={generated:{line:a.generatedLine,column:a.generatedColumn}};a.source!=null&&(c.source=a.source,d!=null&&(c.source=b.relative(d,c.source)),c.original={line:a.originalLine,column:a.originalColumn},a.name!=null&&(c.name=a.name)),e.addMapping(c)}),f.sources.forEach(function(a){var c=a;d!==null&&(c=b.relative(d,a)),e._sources.has(c)||e._sources.add(c);var g=f.sourceContentFor(a);g!=null&&e.setSourceContent(a,g)}),e},c.prototype.addMapping=function a(f){var g=b.getArg(f,'generated'),e=b.getArg(f,'original',null),c=b.getArg(f,'source',null),d=b.getArg(f,'name',null);this._skipValidation||this._validateMapping(g,e,c,d),c!=null&&(c=String(c),this._sources.has(c)||this._sources.add(c)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:g.line,generatedColumn:g.column,originalLine:e!=null&&e.line,originalColumn:e!=null&&e.column,source:c,name:d})},c.prototype.setSourceContent=function a(e,d){var c=e;this._sourceRoot!=null&&(c=b.relative(this._sourceRoot,c)),d!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[b.toSetString(c)]=d):this._sourcesContents&&(delete this._sourcesContents[b.toSetString(c)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},c.prototype.applySourceMap=function a(d,j,g){var f=j;if(j==null){if(d.file==null)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');f=d.file}var c=this._sourceRoot;c!=null&&(f=b.relative(c,f));var h=new e,i=new e;this._mappings.unsortedForEach(function(a){if(a.source===f&&a.originalLine!=null){var e=d.originalPositionFor({line:a.originalLine,column:a.originalColumn});e.source!=null&&(a.source=e.source,g!=null&&(a.source=b.join(g,a.source)),c!=null&&(a.source=b.relative(c,a.source)),a.originalLine=e.line,a.originalColumn=e.column,e.name!=null&&(a.name=e.name))}var j=a.source;j!=null&&!h.has(j)&&h.add(j);var k=a.name;k!=null&&!i.has(k)&&i.add(k)},this),this._sources=h,this._names=i,d.sources.forEach(function(a){var e=d.sourceContentFor(a);e!=null&&(g!=null&&(a=b.join(g,a)),c!=null&&(a=b.relative(c,a)),this.setSourceContent(a,e))},this)},c.prototype._validateMapping=function a(b,c,d,e){if(c&&typeof c.line!=='number'&&typeof c.column!=='number')throw new Error('original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.');if(b&&'line'in b&&'column'in b&&b.line>0&&b.column>=0&&!c&&!d&&!e)return;else if(b&&'line'in b&&'column'in b&&c&&'line'in c&&'column'in c&&b.line>0&&b.column>=0&&c.line>0&&c.column>=0&&d)return;else throw new Error('Invalid mapping: '+JSON.stringify({generated:b,source:d,original:c,name:e}))},c.prototype._serializeMappings=function a(){var g=0,h=1,j=0,k=0,l=0,m=0,n='',e,c,o,p,i=this._mappings.toArray();for(var f=0,q=i.length;f<q;f++){if(c=i[f],e='',c.generatedLine!==h){g=0;while(c.generatedLine!==h)e+=';',h++}else if(f>0){if(!b.compareByGeneratedPositionsInflated(c,i[f-1]))continue;e+=','}e+=d.encode(c.generatedColumn-g),g=c.generatedColumn,c.source!=null&&(p=this._sources.indexOf(c.source),e+=d.encode(p-m),m=p,e+=d.encode(c.originalLine-1-k),k=c.originalLine-1,e+=d.encode(c.originalColumn-j),j=c.originalColumn,c.name!=null&&(o=this._names.indexOf(c.name),e+=d.encode(o-l),l=o)),n+=e}return n},c.prototype._generateSourcesContent=function a(d,c){return d.map(function(a){if(!this._sourcesContents)return null;c!=null&&(a=b.relative(c,a));var d=b.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},c.prototype.toJSON=function a(){var b={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(b.file=this._file),this._sourceRoot!=null&&(b.sourceRoot=this._sourceRoot),this._sourcesContents&&(b.sourcesContent=this._generateSourcesContent(b.sources,b.sourceRoot)),b},c.prototype.toString=function a(){return JSON.stringify(this.toJSON())},h.SourceMapGenerator=c}),a.define('/node_modules/source-map/lib/mapping-list.js',function(d,e,g,h){function f(a,b){var d=a.generatedLine,e=b.generatedLine,f=a.generatedColumn,g=b.generatedColumn;return e>d||e==d&&g>=f||c.compareByGeneratedPositionsInflated(a,b)<=0}function b(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var c=a('/node_modules/source-map/lib/util.js',d);b.prototype.unsortedForEach=function a(b,c){this._array.forEach(b,c)},b.prototype.add=function a(b){f(this._last,b)?(this._last=b,this._array.push(b)):(this._sorted=!1,this._array.push(b))},b.prototype.toArray=function a(){return this._sorted||(this._array.sort(c.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=b}),a.define('/node_modules/source-map/lib/array-set.js',function(f,g,h,i){function b(){this._array=[],this._set=c?new Map:Object.create(null)}var d=a('/node_modules/source-map/lib/util.js',f),e=Object.prototype.hasOwnProperty,c=typeof Map!=='undefined';b.fromArray=function a(e,g){var d=new b;for(var c=0,f=e.length;c<f;c++)d.add(e[c],g);return d},b.prototype.size=function a(){return c?this._set.size:Object.getOwnPropertyNames(this._set).length},b.prototype.add=function a(b,i){var f=c?b:d.toSetString(b),g=c?this.has(b):e.call(this._set,f),h=this._array.length;(!g||i)&&this._array.push(b),g||(c?this._set.set(b,h):this._set[f]=h)},b.prototype.has=function a(b){if(c)return this._set.has(b);else{var f=d.toSetString(b);return e.call(this._set,f)}},b.prototype.indexOf=function a(b){if(c){var f=this._set.get(b);if(f>=0)return f}else{var g=d.toSetString(b);if(e.call(this._set,g))return this._set[g]}throw new Error('"'+b+'" is not in the set.')},b.prototype.at=function a(b){if(b>=0&&b<this._array.length)return this._array[b];throw new Error('No element indexed by '+b)},b.prototype.toArray=function a(){return this._array.slice()},g.ArraySet=b}),a.define('/node_modules/source-map/lib/base64-vlq.js',function(h,g,k,l){function i(a){return a<0?(-a<<1)+1:(a<<1)+0}function j(b){var c=(b&1)===1,a=b>>1;return c?-a:a}var c=a('/node_modules/source-map/lib/base64.js',h),b=5,d=1<<b,e=d-1,f=d;g.encode=function a(j){var g='',h,d=i(j);do h=d&e,d>>>=b,d>0&&(h|=f),g+=c.encode(h);while(d>0);return g},g.decode=function a(h,g,l){var m=h.length,i=0,k=0,n,d;do{if(g>=m)throw new Error('Expected more digits in base 64 VLQ value.');if(d=c.decode(h.charCodeAt(g++)),d===-1)throw new Error('Invalid base64 digit: '+h.charAt(g-1));n=!!(d&f),d&=e,i+=d<<k,k+=b}while(n);l.value=j(i),l.rest=g}}),a.define('/node_modules/source-map/lib/base64.js',function(c,b,d,e){var a='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');b.encode=function(b){if(0<=b&&b<a.length)return a[b];throw new TypeError('Must be between 0 and 63: '+b)},b.decode=function(a){var b=65,e=90,c=97,f=122,d=48,g=57,h=43,i=47,j=26,k=52;return b<=a&&a<=e?a-b:c<=a&&a<=f?a-c+j:d<=a&&a<=g?a-d+k:a==h?62:a==i?63:-1}}),a.define('/node_modules/source-map/lib/source-map-consumer.js',function(h,j,m,n){function c(c,f){var a=c;return typeof c==='string'&&(a=b.parseSourceMapInput(c)),a.sections!=null?new e(a,f):new d(a,f)}function d(e,h){var a=e;typeof e==='string'&&(a=b.parseSourceMapInput(e));var g=b.getArg(a,'version'),d=b.getArg(a,'sources'),i=b.getArg(a,'names',[]),c=b.getArg(a,'sourceRoot',null),j=b.getArg(a,'sourcesContent',null),k=b.getArg(a,'mappings'),l=b.getArg(a,'file',null);if(g!=this._version)throw new Error('Unsupported version: '+g);c&&(c=b.normalize(c)),d=d.map(String).map(b.normalize).map(function(a){return c&&b.isAbsolute(c)&&b.isAbsolute(a)?b.relative(c,a):a}),this._names=f.fromArray(i.map(String),!0),this._sources=f.fromArray(d,!0),this._absoluteSources=this._sources.toArray().map(function(a){return b.computeSourceURL(c,a,h)}),this.sourceRoot=c,this.sourcesContent=j,this._mappings=k,this._sourceMapURL=h,this.file=l}function k(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function e(e,i){var d=e;typeof e==='string'&&(d=b.parseSourceMapInput(e));var g=b.getArg(d,'version'),h=b.getArg(d,'sections');if(g!=this._v