
sweetjs-0.2.5.node_modules.sweet.js.browser.scripts.escodegen.js Maven / Gradle / Ivy
The newest version!
(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:'v0.10.12',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(e,f,P,T,A,Y,E,l,u,t,L,R,D,U,k,h,H,Q,B,S,r,M,y,X,W){'use strict';function O(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:' ',base:0,adjustMultilineComment:!1},json:!1,renumber:!1,hexadecimal:!1,quotes:'single',escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1},moz:{starlessGenerator:!1,parenthesizedComprehensionBlock:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,verbatim:null}}function K(c){var d=c.length,b=[],a;for(a=0;a0;a>>>=1,b+=b)a&1&&(c+=b);return c}function v(d,e,f,c){function b(c){var d,e;if(E(c))for(d=0,e=c.length;d0&&(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.charAt(a.length+d-1)==='0')d-=1;return d!==0&&(f-=d,a=a.slice(0,d)),f!==0&&(a+='e'+f),(a.length1e12&&Math.floor(c)===c&&(a='0x'+c.toString(16)).length255?a+='u'+'0000'.slice(b.length)+b:c===' '&&'0123456789'.indexOf(e)<0?a+='0':c===''?a+='x0B':a+='x'+'00'.slice(b.length)+b;break}return a}function a7(b){var a='\\';switch(b){case'\\':a+='\\';break;case'\n':a+='n';break;case'\r':a+='r';break;case'\u2028':a+='u2028';break;case'\u2029':a+='u2029';break;default:throw new Error('Incorrectly classified character')}return a}function a8(e){var b,f,d,a,c;for(a=e,a[0]===void 0&&(a=K(a)),c=D==='double'?'"':"'",b=0,f=a.length;b=0){c+=a7(a);continue}else if(t&&a<' '||!(t||U||a>=' '&&a<='~')){c+=a6(a,b[d+1]);continue}c+=a}for(e=!(D==='double'||D==='auto'&&h=0||a.charCodeAt(0)>=5760&&' '.indexOf(a)>=0}function G(a){return'\n\r\u2028\u2029'.indexOf(a)>=0}function C(a){return a==='$'||a==='_'||a==='\\'||a>='a'&&a<='z'||a>='A'&&a<='Z'||a>='0'&&a<='9'||a.charCodeAt(0)>=128&&T.NonAsciiIdentifierPart.test(a)}function a4(a){return a>=48&&a<=57}function j(b,a){if(a==null)if(b instanceof A)return b;else a={};return a.loc==null?new A(null,null,y,b,a.name||null):new A(a.loc.start.line,a.loc.start.column,y===!0?a.loc.source||null:y,b,a.name||null)}function i(c,d){var e=j(c).toString(),f=j(d).toString(),a=e.charAt(e.length-1),b=f.charAt(0);return(a==='+'||a==='-')&&a===b||C(a)&&C(b)||a==='/'&&b==='i'?[c,' ',d]:N(a)||G(a)||N(b)||G(b)?[c,d]:[c,h,d]}function q(a){return[l,a]}function n(c){var a,b;return a=l,l+=u,b=c.call(this,l),l=a,b}function _(b){var a;for(a=b.length-1;a>=0;a-=1)if(G(b.charAt(a)))break;return b.length-1-a}function $(i,f){var b,a,e,g,d,c,h;for(b=i.split(/\r\n|[\r\n]/),c=Number.MAX_VALUE,a=1,e=b.length;ad&&(c=d)}for(f!==void 0?(h=l,b[1][c]==='*'&&(f+=' '),l=f):(c&1&&(c-=1),h=l),a=1,e=b.length;a0){for(i=a,d=b.leadingComments[0],a=[],B&&b.type===e.Program&&b.body.length===0&&a.push('\n'),a.push(F(d)),p(j(a).toString())||a.push('\n'),c=1,f=b.leadingComments.length;c'),b.expression?(a.push(h),d=g(b.body,{precedence:f.Assignment,allowIn:!0,allowCall:!0}),d.toString().charAt(0)==='{'&&(d=['(',d,')']),a.push(d)):a.push(o(b.body,!1,!0)),a}function g(b,v){var a,t,I,y,c,o,F,d,q,A,x,E,u,D,G,B;if(t=v.precedence,u=v.allowIn,D=v.allowCall,I=b.type||v.type,r.verbatim&&b.hasOwnProperty(r.verbatim))return a5(b,v);switch(I){case e.SequenceExpression:a=[];u|=f.Sequence0){for(a.push('('),c=0;c=2&&d.charCodeAt(0)===48)&&a.push('.')),a.push('.',w(b.property)));a=s(a,f.Member,t);break;case e.UnaryExpression:d=g(b.argument,{precedence:f.Unary,allowIn:!0,allowCall:!0});h===''?a=i(b.operator,d):(a=[b.operator],b.operator.length>2?a=i(a,d):(x=j(a).toString(),A=x.charAt(x.length-1),E=d.toString().charAt(0),(A==='+'||A==='-')&&A===E||C(A)&&C(E)?a.push(' ',d):a.push(d)));a=s(a,f.Unary,t);break;case e.YieldExpression:b.delegate?a='yield*':a='yield';b.argument&&(a=i(a,g(b.argument,{precedence:f.Assignment,allowIn:!0,allowCall:!0})));break;case e.UpdateExpression:b.prefix?a=s([b.operator,g(b.argument,{precedence:f.Unary,allowIn:!0,allowCall:!0})],f.Unary,t):a=s([g(b.argument,{precedence:f.Postfix,allowIn:!0,allowCall:!0}),b.operator],f.Postfix,t);break;case e.FunctionExpression:a='function';b.id?a=[a+' ',w(b.id),z(b)]:a=[a+h,z(b)];break;case e.ArrayPattern:case e.ArrayExpression:if(!b.elements.length){a='[]';break}q=b.elements.length>1;a=['[',q?k:''];n(function(d){for(c=0,o=b.elements.length;c1;n(function(){d=g(b.properties[0],{precedence:f.Sequence,allowIn:!0,allowCall:!0,type:e.Property})});if(!(q||Z(j(d).toString()))){a=['{',h,d,h,'}'];break}n(function(h){if(a=['{',k,h,d],q)for(a.push(','+k),c=1,o=b.properties.length;c=0||S&&A&&b.expression.type===e.Literal&&typeof b.expression.value==='string'?a=['(',a,')'+d]:a.push(d);break;case e.VariableDeclarator:b.init?a=[g(b.id,{precedence:f.Assignment,allowIn:t,allowCall:!0}),h,'=',h,g(b.init,{precedence:f.Assignment,allowIn:t,allowCall:!0})]:a=w(b.id);break;case e.VariableDeclaration:a=[b.kind];b.declarations.length===1&&b.declarations[0].init&&b.declarations[0].init.type===e.FunctionExpression?a.push(' ',m(b.declarations[0],{allowIn:t})):n(function(){for(u=b.declarations[0],r.comment&&u.leadingComments?a.push('\n',q(m(u,{allowIn:t}))):a.push(' ',m(u,{allowIn:t})),c=1,l=b.declarations.length;c0)&&(a=x(b.handler.body,a))),c=0,l=b.guardedHandlers.length;c0?'\n':''];for(c=0;c':f.Relational,'<=':f.Relational,'>=':f.Relational,'in':f.Relational,'instanceof':f.Relational,'<<':f.BitwiseSHIFT,'>>':f.BitwiseSHIFT,'>>>':f.BitwiseSHIFT,'+':f.Additive,'-':f.Additive,'*':f.Multiplicative,'%':f.Multiplicative,'/':f.Multiplicative},T={NonAsciiIdentifierPart:new RegExp('[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]')},E=Array.isArray,E||(E=function a(a){return Object.prototype.toString.call(a)==='[object Array]'}),v.prototype.toString=function a(){var a='',b,d,c;for(b=0,d=this.children.length;b0){for(b=0,a-=1;b=0.4.0'},maintainers:[{name:'Yusuke Suzuki',email:'[email protected]',web:'http://github.com/Constellation'}],repository:{type:'git',url:'http://github.com/Constellation/escodegen.git'},dependencies:{esprima:'~1.0.2',estraverse:'~1.3.0'},optionalDependencies:{'source-map':'>= 0.1.2'},devDependencies:{'esprima-moz':'*','commonjs-everywhere':'~0.8.0',q:'*',bower:'*',semver:'*',chai:'~1.7.2','grunt-contrib-jshint':'~0.5.0','grunt-cli':'~0.1.9',grunt:'~0.4.1','grunt-mocha-test':'~0.6.2'},licenses:[{type:'BSD',url:'http://github.com/Constellation/escodegen/raw/master/LICENSE.BSD'}],scripts:{test:'grunt travis','unit-test':'grunt test',lint:'grunt lint',release:'node tools/release.js',build:'./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.js'}}}),a.define('/node_modules/source-map/lib/source-map.js',function(b,c,d,e){c.SourceMapGenerator=a('/node_modules/source-map/lib/source-map/source-map-generator.js',b).SourceMapGenerator,c.SourceMapConsumer=a('/node_modules/source-map/lib/source-map/source-map-consumer.js',b).SourceMapConsumer,c.SourceNode=a('/node_modules/source-map/lib/source-map/source-node.js',b).SourceNode}),a.define('/node_modules/source-map/lib/source-map/source-node.js',function(c,d,e,f){if(typeof b!=='function')var b=a('/node_modules/source-map/node_modules/amdefine/amdefine.js',c)(c,a);b(function(c,f,d){function a(a,b,c,d,e){this.children=[],this.sourceContents={},this.line=a===undefined?null:a,this.column=b===undefined?null:b,this.source=c===undefined?null:c,this.name=e===undefined?null:e,d!=null&&this.add(d)}var e=c('/node_modules/source-map/lib/source-map/source-map-generator.js',d).SourceMapGenerator,b=c('/node_modules/source-map/lib/source-map/util.js',d);a.fromStringWithSourceMap=function b(i,g){function h(b,c){b===null||b.source===undefined?d.add(c):d.add(new a(b.originalLine,b.originalColumn,b.source,c,b.name))}var d=new a,b=i.split('\n'),e=1,c=0,f=null;return g.eachMapping(function(a){if(f===null){while(e=0;c--)this.prepend(b[c]);else if(b instanceof a||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},a.prototype.walk=function b(b){this.children.forEach(function(c){c instanceof a?c.walk(b):c!==''&&b(c,{source:this.source,line:this.line,column:this.column,name:this.name})},this)},a.prototype.join=function a(d){var a,b,c=this.children.length;if(c>0){for(a=[],b=0;b0&&(b.splice(a-1,2),a-=2)}function j(b,c){var a;return b&&b.charAt(0)==='.'&&c&&(a=c.split('/'),a=a.slice(0,a.length-1),a=a.concat(b.split('/')),p(a),b=a.join('/')),b}function o(a){return function(b){return j(b,a)}}function n(c){function b(b){a[c]=b}return b.fromText=function(a,b){throw new Error('amdefine does not implement load.fromText')},b}function m(c,h,l){var m,f,d,j;if(c)f=a[c]={},d={id:c,uri:e,exports:f},m=g(i,f,d,c);else{if(k)throw new Error('amdefine with no module ID cannot be called more than once per file.');k=!0,f=b.exports,d=b,m=g(i,f,d,b.id)}h&&(h=h.map(function(a){return m(a)})),typeof l==='function'?j=l.apply(b.exports,h):j=l,j!==undefined&&(d.exports=j,c&&(a[c]=d.exports))}function l(b,a,c){Array.isArray(b)?(c=a,a=b,b=undefined):typeof b!=='string'&&(c=b,b=a=undefined),a&&!Array.isArray(a)&&(c=a,a=undefined),a||(a=['require','exports','module']),b?f[b]=[b,a,c]:m(b,a,c)}var f={},a={},k=!1,g,h;return g=function(b,e,a,f){function g(d,g){if(typeof d==='string')return h(b,e,a,d,f);d=d.map(function(c){return h(b,e,a,c,f)}),c.nextTick(function(){g.apply(null,d)})}return g.toUrl=function(b){return b.indexOf('.')===0?j(b,d.dirname(a.filename)):b},g},i=i||function a(){return b.require.apply(b,arguments)},h=function(d,e,i,b,c){var k=b.indexOf('!'),p=b,q,l;if(k===-1)if(b=j(b,c),b==='require')return g(d,e,i,c);else if(b==='exports')return e;else if(b==='module')return i;else if(a.hasOwnProperty(b))return a[b];else if(f[b])return m.apply(null,f[b]),a[b];else if(d)return d(p);else throw new Error('No module with ID: '+b);else return q=b.substring(0,k),b=b.substring(k+1,b.length),l=h(d,e,i,q,c),l.normalize?b=l.normalize(b,o(c)):b=j(b,c),a[b]?a[b]:(l.load(b,g(d,e,i,c),n(b),{}),a[b])},l.require=function(b){return a[b]?a[b]:f[b]?(m.apply(null,f[b]),a[b]):void 0},l.amd={},l}var d=a('path',b);b.exports=f}),a.define('/node_modules/source-map/lib/source-map/source-map-generator.js',function(c,d,e,f){if(typeof b!=='function')var b=a('/node_modules/source-map/node_modules/amdefine/amdefine.js',c)(c,a);b(function(f,j,e){function b(b){this._file=a.getArg(b,'file'),this._sourceRoot=a.getArg(b,'sourceRoot',null),this._sources=new d,this._names=new d,this._mappings=[],this._sourcesContents=null}function i(a,b){var c=(a&&a.line)-(b&&b.line);return c?c:(a&&a.column)-(b&&b.column)}function g(a,b){return a=a||'',b=b||'',(a>b)-(a0&&a.column>=0&&!b&&!c&&!d)return;else if(a&&'line'in a&&'column'in a&&b&&'line'in b&&'column'in b&&a.line>0&&a.column>=0&&b.line>0&&b.column>=0&&c)return;else throw new Error('Invalid mapping.')},b.prototype._serializeMappings=function a(){var f=0,e=1,i=0,j=0,g=0,k=0,b='',a;this._mappings.sort(h);for(var d=0,l=this._mappings.length;d0){if(!h(a,this._mappings[d-1]))continue;b+=','}b+=c.encode(a.generated.column-f),f=a.generated.column,a.source&&a.original&&(b+=c.encode(this._sources.indexOf(a.source)-k),k=this._sources.indexOf(a.source),b+=c.encode(a.original.line-1-j),j=a.original.line-1,b+=c.encode(a.original.column-i),i=a.original.column,a.name&&(b+=c.encode(this._names.indexOf(a.name)-g),g=this._names.indexOf(a.name)))}return b},b.prototype.toJSON=function b(){var b={version:this._version,file:this._file,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._sourceRoot&&(b.sourceRoot=this._sourceRoot),this._sourcesContents&&(b.sourcesContent=b.sources.map(function(c){return b.sourceRoot&&(c=a.relative(b.sourceRoot,c)),Object.prototype.hasOwnProperty.call(this._sourcesContents,a.toSetString(c))?this._sourcesContents[a.toSetString(c)]:null},this)),b},b.prototype.toString=function a(){return JSON.stringify(this)},j.SourceMapGenerator=b})}),a.define('/node_modules/source-map/lib/source-map/array-set.js',function(c,d,e,f){if(typeof b!=='function')var b=a('/node_modules/source-map/node_modules/amdefine/amdefine.js',c)(c,a);b(function(c,d,e){function a(){this._array=[],this._set={}}var b=c('/node_modules/source-map/lib/source-map/util.js',e);a.fromArray=function b(d){var c=new a;for(var b=0,e=d.length;b=0&&a>1;return c?-a:a}var c=j('/node_modules/source-map/lib/source-map/base64.js',h),a=5,d=1<>>=a,d>0&&(g|=b),f+=c.encode(g);while(d>0);return f},f.decode=function d(h){var d=0,k=h.length,i=0,j=0,l,f;do{if(d>=k)throw new Error('Expected more digits in base 64 VLQ value.');f=c.decode(h.charAt(d++)),l=!!(f&b),f&=e,i+=f<0)if(a.charAt(0)===';')h++,a=a.slice(1),f=0;else if(a.charAt(0)===',')a=a.slice(1);else{if(d={},d.generatedLine=h,b=c.decode(a),d.generatedColumn=f+b.value,f=d.generatedColumn,a=b.rest,a.length>0&&!e.test(a.charAt(0))){if(b=c.decode(a),d.source=this._sources.at(i+b.value),i+=b.value,a=b.rest,a.length===0||e.test(a.charAt(0)))throw new Error('Found a source, but no line and column');if(b=c.decode(a),d.originalLine=g+b.value,g=d.originalLine,d.originalLine+=1,a=b.rest,a.length===0||e.test(a.charAt(0)))throw new Error('Found a source and line, but no column');b=c.decode(a),d.originalColumn=k+b.value,k=d.originalColumn,a=b.rest,a.length>0&&!e.test(a.charAt(0))&&(b=c.decode(a),d.name=this._names.at(j+b.value),j+=b.value,a=b.rest)}this._generatedMappings.push(d),typeof d.originalLine==='number'&&this._originalMappings.push(d)}this._originalMappings.sort(this._compareOriginalPositions)},b.prototype._compareOriginalPositions=function a(a,b){if(a.source>b.source)return 1;else if(a.source0?e-b>1?a(b,e,f,d,g):d[b]:b-c>1?a(c,b,f,d,g):c<0?null:d[c]}b.search=function b(c,b,d){return b.length>0?a(-1,b.length,c,b,d):null}})}),a.define('/node_modules/estraverse/estraverse.js',function(b,a,c,d){!function(c,b){'use strict';typeof define==='function'&&define.amd?define(['exports'],b):a!==void 0?b(a):b(c.estraverse={})}(this,function(e){'use strict';function m(){}function l(d){var c={},a,b;for(a in d)d.hasOwnProperty(a)&&(b=d[a],typeof b==='object'&&b!==null?c[a]=l(b):c[a]=b);return c}function s(b){var c={},a;for(a in b)b.hasOwnProperty(a)&&(c[a]=b[a]);return c}function r(e,f){var b,a,c,d;a=e.length,c=0;while(a)b=a>>>1,d=c+b,f(e[d])?a=b:(c=d+1,a-=b+1);return c}function q(e,f){var b,a,c,d;a=e.length,c=0;while(a)b=a>>>1,d=c+b,f(e[d])?(c=d+1,a-=b+1):a=b;return c}function h(a,b){this.parent=a,this.key=b}function d(a,b,c,d){this.node=a,this.path=b,this.wrap=c,this.ref=d}function b(){}function k(c,d){var a=new b;return a.traverse(c,d)}function p(c,d){var a=new b;return a.replace(c,d)}function n(a,b){var c,d;return c=r(b,function b(b){return b.range[0]>a.range[0]}),a.extendedRange=[a.range[0],a.range[1]],c!==b.length&&(a.extendedRange[1]=b[c].range[0]),c-=1,c>=0&&(cc.range[0])break;d.extendedRange[1]===c.range[0]?(c.leadingComments||(c.leadingComments=[]),c.leadingComments.push(d),a.splice(b,1)):b+=1}return b===a.length?f.Break:a[b].extendedRange[0]>c.range[1]?f.Skip:void 0}}),b=0,k(d,{leave:function(c){var d;while(bc.range[1]?f.Skip:void 0}}),d}var j,g,f,i,a,c;j={AssignmentExpression:'AssignmentExpression',ArrayExpression:'ArrayExpression',BlockStatement:'BlockStatement',BinaryExpression:'BinaryExpression',BreakStatement:'BreakStatement',CallExpression:'CallExpression',CatchClause:'CatchClause',ConditionalExpression:'ConditionalExpression',ContinueStatement:'ContinueStatement',DebuggerStatement:'DebuggerStatement',DirectiveStatement:'DirectiveStatement',DoWhileStatement:'DoWhileStatement',EmptyStatement:'EmptyStatement',ExpressionStatement:'ExpressionStatement',ForStatement:'ForStatement',ForInStatement:'ForInStatement',FunctionDeclaration:'FunctionDeclaration',FunctionExpression:'FunctionExpression',Identifier:'Identifier',IfStatement:'IfStatement',Literal:'Literal',LabeledStatement:'LabeledStatement',LogicalExpression:'LogicalExpression',MemberExpression:'MemberExpression',NewExpression:'NewExpression',ObjectExpression:'ObjectExpression',Program:'Program',Property:'Property',ReturnStatement:'ReturnStatement',SequenceExpression:'SequenceExpression',SwitchStatement:'SwitchStatement',SwitchCase:'SwitchCase',ThisExpression:'ThisExpression',ThrowStatement:'ThrowStatement',TryStatement:'TryStatement',UnaryExpression:'UnaryExpression',UpdateExpression:'UpdateExpression',VariableDeclaration:'VariableDeclaration',VariableDeclarator:'VariableDeclarator',WhileStatement:'WhileStatement',WithStatement:'WithStatement',YieldExpression:'YieldExpression'},g=Array.isArray,g||(g=function a(a){return Object.prototype.toString.call(a)==='[object Array]'}),m(s),m(q),i={AssignmentExpression:['left','right'],ArrayExpression:['elements'],BlockStatement:['body'],BinaryExpression:['left','right'],BreakStatement:['label'],CallExpression:['callee','arguments'],CatchClause:['param','body'],ConditionalExpression:['test','consequent','alternate'],ContinueStatement:['label'],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:['body','test'],EmptyStatement:[],ExpressionStatement:['expression'],ForStatement:['init','test','update','body'],ForInStatement:['left','right','body'],FunctionDeclaration:['id','params','body'],FunctionExpression:['id','params','body'],Identifier:[],IfStatement:['test','consequent','alternate'],Literal:[],LabeledStatement:['label','body'],LogicalExpression:['left','right'],MemberExpression:['object','property'],NewExpression:['callee','arguments'],ObjectExpression:['properties'],Program:['body'],Property:['key','value'],ReturnStatement:['argument'],SequenceExpression:['expressions'],SwitchStatement:['discriminant','cases'],SwitchCase:['test','consequent'],ThisExpression:[],ThrowStatement:['argument'],TryStatement:['block','handlers','handler','guardedHandlers','finalizer'],UnaryExpression:['argument'],UpdateExpression:['argument'],VariableDeclaration:['declarations'],VariableDeclarator:['id','init'],WhileStatement:['test','body'],WithStatement:['object','body'],YieldExpression:['argument']},a={},c={},f={Break:a,Skip:c},h.prototype.replace=function a(a){this.parent[this.key]=a},b.prototype.path=function a(){function d(c,a){if(g(a))for(b=0,f=a.length;b=0){if(l=o[n],e=s[l],!e)continue;if(!g(e)){f.push(new d(e,l,null,null));continue}h=e.length;while((h-=1)>=0){if(!e[h])continue;p===j.ObjectExpression&&'properties'===o[n]?b=new d(e[h],[l,h],'Property',null):b=new d(e[h],[l,h],null,null),f.push(b)}}}}},b.prototype.replace=function b(t,u){var l,q,n,s,e,b,p,k,r,f,v,o,m;this.__initialize(t,u),v={},l=this.__worklist,q=this.__leavelist,o={root:t},b=new d(t,null,null,new h(o,'root')),l.push(b),q.push(b);while(l.length){if(b=l.pop(),b===v){if(b=q.pop(),e=this.__execute(u.leave,b),e!==undefined&&e!==a&&e!==c&&b.ref.replace(e),this.__state===a||e===a)return o.root;continue}if(e=this.__execute(u.enter,b),e!==undefined&&e!==a&&e!==c&&(b.ref.replace(e),b.node=e),this.__state===a||e===a)return o.root;if(n=b.node,!n)continue;if(l.push(v),q.push(b),this.__state===c||e===c)continue;s=b.wrap||n.type,r=i[s],p=r.length;while((p-=1)>=0){if(m=r[p],f=n[m],!f)continue;if(!g(f)){l.push(new d(f,m,null,new h(n,m)));continue}k=f.length;while((k-=1)>=0){if(!f[k])continue;s===j.ObjectExpression&&'properties'===r[p]?b=new d(f[k],[m,k],'Property',new h(f,k)):b=new d(f[k],[m,k],null,new h(f,k)),l.push(b)}}}return o.root},e.version='1.3.0',e.Syntax=j,e.traverse=k,e.replace=p,e.attachComments=o,e.VisitorKeys=i,e.VisitorOption=f,e.Controller=b})}),a('/tools/entry-point.js')}.call(this,this))
© 2015 - 2025 Weber Informatics LLC | Privacy Policy