/* * Support for source maps in V8 stack traces * https://github.com/evanw/node-source-map-support */ /* The buffer module from node.js, for the browser. @author Feross Aboukhadijeh license MIT */ (this.define||function(N,O){this.sourceMapSupport=O()})("browser-source-map-support",function(N){(function p(v,l,c){function e(d,a){if(!l[d]){if(!v[d]){var h="function"==typeof require&&require;if(!a&&h)return h(d,!0);if(k)return k(d,!0);throw Error("Cannot find module '"+d+"'");}h=l[d]={exports:{}};v[d][0].call(h.exports,function(a){var c=v[d][1][a];return e(c?c:a)},h,h.exports,p,v,l,c)}return l[d].exports}for(var k="function"==typeof require&&require,r=0;r=a))return b?(b=g[m],m+1=a)){var y;b?(m+2>>0)): (m+1>>0);return y}}function d(g,m,b,a){a||(q("boolean"===typeof b,"missing or invalid endian"),q(void 0!==m&&null!==m,"missing offset"),q(m+1=g.length))return g=k(g,m,b,!0),g&32768?-1*(65535-g+1):g}function a(g,m,b,a){a||(q("boolean"===typeof b,"missing or invalid endian"),q(void 0!==m&&null!==m,"missing offset"),q(m+3= g.length))return g=r(g,m,b,!0),g&2147483648?-1*(4294967295-g+1):g}function h(g,m,b,a){a||(q("boolean"===typeof b,"missing or invalid endian"),q(m+3=y))for(f=0,y=Math.min(y-b,2);f>>8*(a?f:1-f)}function b(g,b,a,f,c){c||(q(void 0!==b&&null!==b,"missing value"),q("boolean"===typeof f,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+3=m))for(c=0,m=Math.min(m-a,4);c>> 8*(f?c:3-c)&255}function f(g,b,a,f,c){c||(q(void 0!==b&&null!==b,"missing value"),q("boolean"===typeof f,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+1=g.length||(0<=b?t(g,b,a,f,c):t(g,65535+b+1,a,f,c))}function G(g,m,a,f,c){c||(q(void 0!==m&&null!==m,"missing value"),q("boolean"===typeof f,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+3=g.length||(0<=m?b(g,m,a,f,c):b(g,4294967295+m+1,a,f,c))}function u(g,b,a,f,c){c||(q(void 0!==b&&null!==b,"missing value"),q("boolean"===typeof f,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+3=g.length||J.write(g,b,a,f,23,4)}function M(g,b,a,f,c){c||(q(void 0!==b&&null!==b,"missing value"),q("boolean"===typeof f,"missing or invalid endian"), q(void 0!==a&&null!==a,"missing offset"),q(a+7=g.length||J.write(g,b,a,f,52,8)}function I(g,b,a){if("number"!==typeof g)return a;g=~~g;if(g>=b)return b;if(0<=g)return g;g+=b;return 0<=g?g:0}function A(g){g=~~Math.ceil(+g);return 0>g?0:g}function L(g){return(Array.isArray||function(g){return"[object Array]"===Object.prototype.toString.call(g)})(g)}function C(g){return 16>g?"0"+g.toString(16):g.toString(16)} function x(g){for(var b=[],a=0;a=f)b.push(g.charCodeAt(a));else{var c=a;55296<=f&&57343>=f&&a++;f=encodeURIComponent(g.slice(c,a+1)).substr(1).split("%");for(c=0;c=b.length||m>=g.length);m++)b[m+a]=g[m];return m}function F(g){try{return decodeURIComponent(g)}catch(m){return String.fromCharCode(65533)}} function H(g,b){q("number"===typeof g,"cannot write a non-number as a number");q(0<=g,"specified a negative value for writing an unsigned value");q(g<=b,"value is larger than maximum value for type");q(Math.floor(g)===g,"value has a fractional component")}function z(g,b,a){q("number"===typeof g,"cannot write a non-number as a number");q(g<=b,"value larger than maximum allowed value");q(g>=a,"value smaller than minimum allowed value");q(Math.floor(g)===g,"value has a fractional component")}function E(g, b,a){q("number"===typeof g,"cannot write a non-number as a number");q(g<=b,"value larger than maximum allowed value");q(g>=a,"value smaller than minimum allowed value")}function q(g,b){if(!g)throw Error(b||"Failed assertion");}var D=p("base64-js"),J=p("ieee754");l.Buffer=c;l.SlowBuffer=c;l.INSPECT_MAX_BYTES=50;c.poolSize=8192;c._useTypedArrays=function(){try{var g=new ArrayBuffer(0),b=new Uint8Array(g);b.foo=function(){return 42};return 42===b.foo()&&"function"===typeof b.subarray}catch(y){return!1}}(); c.isEncoding=function(g){switch(String(g).toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "binary":case "base64":case "raw":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return!0;default:return!1}};c.isBuffer=function(g){return!(null===g||void 0===g||!g._isBuffer)};c.byteLength=function(g,b){var a;g+="";switch(b||"utf8"){case "hex":a=g.length/2;break;case "utf8":case "utf-8":a=x(g).length;break;case "ascii":case "binary":case "raw":a=g.length;break;case "base64":a=D.toByteArray(g).length; break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":a=2*g.length;break;default:throw Error("Unknown encoding");}return a};c.concat=function(g,b){q(L(g),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array.");if(0===g.length)return new c(0);if(1===g.length)return g[0];var a;if("number"!==typeof b)for(a=b=0;am&&(a=m)):a=m;f=String(f||"utf8").toLowerCase();switch(f){case "hex":b=Number(b)||0;f=this.length-b;a?(a=Number(a),a>f&&(a=f)):a=f;f=g.length;q(0===f%2,"Invalid hex string");a>f/2&&(a=f/2);for(f=0;f>8,d%=256,m.push(d),m.push(f);g=c._charsWritten=B(m,this,b,a);break;default:throw Error("Unknown encoding");}return g};c.prototype.toString=function(g,b,a){g=String(g||"utf8").toLowerCase();b=Number(b)||0;a=void 0!==a?Number(a):a=this.length;if(a===b)return""; switch(g){case "hex":g=this.length;if(!b||0>b)b=0;if(!a||0>a||a>g)a=g;for(g="";b=this[b]?(g+=F(f)+String.fromCharCode(this[b]),f=""):f+="%"+this[b].toString(16);a=g+F(f);break;case "ascii":a=e(this,b,a);break;case "binary":a=e(this,b,a);break;case "base64":a=0===b&&a===this.length?D.fromByteArray(this):D.fromByteArray(this.slice(b,a));break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":a= this.slice(b,a);b="";for(g=0;g=a,"sourceEnd < sourceStart"),q(0<=b&&bthis.length&&(f=this.length),g.length-bf||!c._useTypedArrays)for(var m=0;m=this.length))return this[b]};c.prototype.readUInt16LE=function(b,a){return k(this,b,!0,a)};c.prototype.readUInt16BE=function(b,a){return k(this,b,!1,a)};c.prototype.readUInt32LE=function(b,a){return r(this, b,!0,a)};c.prototype.readUInt32BE=function(b,a){return r(this,b,!1,a)};c.prototype.readInt8=function(b,a){a||(q(void 0!==b&&null!==b,"missing offset"),q(b=this.length))return this[b]&128?-1*(255-this[b]+1):this[b]};c.prototype.readInt16LE=function(b,a){return d(this,b,!0,a)};c.prototype.readInt16BE=function(b,a){return d(this,b,!1,a)};c.prototype.readInt32LE=function(b,f){return a(this,b,!0,f)};c.prototype.readInt32BE=function(b,f){return a(this, b,!1,f)};c.prototype.readFloatLE=function(b,a){return h(this,b,!0,a)};c.prototype.readFloatBE=function(b,a){return h(this,b,!1,a)};c.prototype.readDoubleLE=function(b,a){return n(this,b,!0,a)};c.prototype.readDoubleBE=function(b,a){return n(this,b,!1,a)};c.prototype.writeUInt8=function(b,a,f){f||(q(void 0!==b&&null!==b,"missing value"),q(void 0!==a&&null!==a,"missing offset"),q(a=this.length||(this[a]=b)};c.prototype.writeUInt16LE=function(b, a,f){t(this,b,a,!0,f)};c.prototype.writeUInt16BE=function(b,a,f){t(this,b,a,!1,f)};c.prototype.writeUInt32LE=function(a,f,c){b(this,a,f,!0,c)};c.prototype.writeUInt32BE=function(a,f,c){b(this,a,f,!1,c)};c.prototype.writeInt8=function(b,a,f){f||(q(void 0!==b&&null!==b,"missing value"),q(void 0!==a&&null!==a,"missing offset"),q(a=this.length||(0<=b?this.writeUInt8(b,a,f):this.writeUInt8(255+b+1,a,f))};c.prototype.writeInt16LE=function(b, a,c){f(this,b,a,!0,c)};c.prototype.writeInt16BE=function(b,a,c){f(this,b,a,!1,c)};c.prototype.writeInt32LE=function(b,a,f){G(this,b,a,!0,f)};c.prototype.writeInt32BE=function(b,a,f){G(this,b,a,!1,f)};c.prototype.writeFloatLE=function(b,a,f){u(this,b,a,!0,f)};c.prototype.writeFloatBE=function(b,a,f){u(this,b,a,!1,f)};c.prototype.writeDoubleLE=function(b,a,f){M(this,b,a,!0,f)};c.prototype.writeDoubleBE=function(b,a,f){M(this,b,a,!1,f)};c.prototype.fill=function(b,a,f){b||(b=0);a||(a=0);f||(f=this.length); "string"===typeof b&&(b=b.charCodeAt(0));q("number"===typeof b&&!isNaN(b),"value is not a number");q(f>=a,"end < start");if(f!==a&&0!==this.length)for(q(0<=a&&a"};c.prototype.toArrayBuffer=function(){if("undefined"!==typeof Uint8Array){if(c._useTypedArrays)return(new c(this)).buffer; for(var b=new Uint8Array(this.length),a=0,f=b.length;ac)return-1;if(58>c)return c-48+52;if(91>c)return c-65;if(123>c)return c-97+26}var k="undefined"!== typeof Uint8Array?Uint8Array:Array;c.toByteArray=function(c){function d(a){b[f++]=a}var a,h,n,t,b;if(0>16),d((n&65280)>>8),d(n&255);2===t?(n=e(c.charAt(a))<<2|e(c.charAt(a+1))>>4,d(n&255)):1===t&&(n= e(c.charAt(a))<<10|e(c.charAt(a+1))<<4|e(c.charAt(a+2))>>2,d(n>>8&255),d(n&255));return b};c.fromByteArray=function(c){var d,a=c.length%3,h="",n,e;d=0;for(e=c.length-a;d>18&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(n>>12&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(n>>6&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(n& 63),h+=n;switch(a){case 1:n=c[c.length-1];h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(n>>2);h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(n<<4&63);h+="==";break;case 2:n=(c[c.length-2]<<8)+c[c.length-1],h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(n>>10),h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(n>>4&63),h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(n<< 2&63),h+="="}return h}})("undefined"===typeof l?this.base64js={}:l)},{}],5:[function(p,v,l){l.read=function(c,e,k,r,d){var a;a=8*d-r-1;var h=(1<>1,t=-7;d=k?d-1:0;var b=k?-1:1,f=c[e+d];d+=b;k=f&(1<<-t)-1;f>>=-t;for(t+=a;0>=-t;for(t+=r;0>1,f= 23===d?Math.pow(2,-24)-Math.pow(2,-77):0;a=r?0:a-1;var G=r?1:-1,u=0>e||0===e&&0>1/e?1:0;e=Math.abs(e);isNaN(e)||Infinity===e?(e=isNaN(e)?1:0,r=t):(r=Math.floor(Math.log(e)/Math.LN2),1>e*(h=Math.pow(2,-r))&&(r--,h*=2),e=1<=r+b?e+f/h:e+f*Math.pow(2,1-b),2<=e*h&&(r++,h/=2),r+b>=t?(e=0,r=t):1<=r+b?(e=(e*h-1)*Math.pow(2,d),r+=b):(e=e*Math.pow(2,b-1)*Math.pow(2,d),r=0));for(;8<=d;c[k+a]=e&255,a+=G,e/=256,d-=8);r=r<f?[]:b.slice(a, f-a+1)}a=l.resolve(a).substr(1);c=l.resolve(c).substr(1);for(var h=d(a.split("/")),b=d(c.split("/")),f=Math.min(h.length,b.length),G=f,u=0;uc&&(c=a.length+c);return a.substr(c,d)}}).call(this,p("node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6}],8:[function(p,v,l){function c(){this._array=[];this._set=Object.create(null)}var e=p("./util"), k=Object.prototype.hasOwnProperty;c.fromArray=function(e,d){for(var a=new c,h=0,n=e.length;he?(-e<<1)+1:(e<<1)+0;do e=r&31,r>>>=5,0=d)throw Error("Expected more digits in base 64 VLQ value."); t=c.decode(e.charCodeAt(k++));if(-1===t)throw Error("Invalid base64 digit: "+e.charAt(k-1));n=!!(t&32);t&=31;a+=t<>1;r.value=1===(a&1)?-e:e;r.rest=k}},{"./base64":10}],10:[function(p,v,l){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");l.encode=function(e){if(0<=e&&e=c?c-65:97<=c&&122>=c?c-97+26:48<=c&&57>=c?c-48+52:43==c?62:47== c?63:-1}},{}],11:[function(p,v,l){function c(e,k,r,d,a,h){var n=Math.floor((k-e)/2)+e,t=a(r,d[n],!0);return 0===t?n:0e?-1:e}l.GREATEST_LOWER_BOUND=1;l.LEAST_UPPER_BOUND=2;l.search=function(e,k,r,d){if(0===k.length)return-1;e=c(-1,k.length,e,k,r,d||l.GREATEST_LOWER_BOUND);if(0>e)return-1;for(;0<=e-1&&0===r(k[e],k[e-1],!0);)--e;return e}},{}],12:[function(p,v,l){function c(){this._array= [];this._sorted=!0;this._last={generatedLine:-1,generatedColumn:0}}var e=p("./util");c.prototype.unsortedForEach=function(c,e){this._array.forEach(c,e)};c.prototype.add=function(c){var k=this._last,d=k.generatedLine,a=c.generatedLine,h=k.generatedColumn,n=c.generatedColumn;a>d||a==d&&n>=h||0>=e.compareByGeneratedPositionsInflated(k,c)?this._last=c:this._sorted=!1;this._array.push(c)};c.prototype.toArray=function(){this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted= !0);return this._array};l.MappingList=c},{"./util":17}],13:[function(p,v,l){function c(c,e,d){var a=c[e];c[e]=c[d];c[d]=a}function e(k,l,d,a){if(d=l(k[t],n)&&(h+=1,c(k,h,t));c(k,h+1,t);h+=1;e(k,l,d,h-1);e(k,l,h+1,a)}}l.quickSort=function(c,l){e(c,l,0,c.length-1)}},{}],14:[function(p,v,l){function c(b){var a=b;"string"===typeof b&&(a=JSON.parse(b.replace(/^\)\]\}'/,"")));return null!=a.sections?new r(a):new e(a)}function e(b){var a= b;"string"===typeof b&&(a=JSON.parse(b.replace(/^\)\]\}'/,"")));b=d.getArg(a,"version");var c=d.getArg(a,"sources"),u=d.getArg(a,"names",[]),e=d.getArg(a,"sourceRoot",null),n=d.getArg(a,"sourcesContent",null),t=d.getArg(a,"mappings"),a=d.getArg(a,"file",null);if(b!=this._version)throw Error("Unsupported version: "+b);c=c.map(String).map(d.normalize).map(function(b){return e&&d.isAbsolute(e)&&d.isAbsolute(b)?d.relative(e,b):b});this._names=h.fromArray(u.map(String),!0);this._sources=h.fromArray(c, !0);this.sourceRoot=e;this.sourcesContent=n;this._mappings=t;this.file=a}function k(){this.generatedColumn=this.generatedLine=0;this.name=this.originalColumn=this.originalLine=this.source=null}function r(b){var a=b;"string"===typeof b&&(a=JSON.parse(b.replace(/^\)\]\}'/,"")));b=d.getArg(a,"version");a=d.getArg(a,"sections");if(b!=this._version)throw Error("Unsupported version: "+b);this._sources=new h;this._names=new h;var e={line:-1,column:0};this._sections=a.map(function(b){if(b.url)throw Error("Support for url field in sections not implemented."); var a=d.getArg(b,"offset"),f=d.getArg(a,"line"),u=d.getArg(a,"column");if(f=b[d])throw new TypeError("Line must be greater than or equal to 1, got "+b[d]);if(0>b[e])throw new TypeError("Column must be greater than or equal to 0, got "+b[e]);return a.search(b,c,h,n)};e.prototype.computeColumnSpans=function(){for(var b=0;b=this._sources.size()&&!this.sourcesContent.some(function(b){return null==b}):!1};e.prototype.sourceContentFor= function(b,a){if(!this.sourcesContent)return null;null!=this.sourceRoot&&(b=d.relative(this.sourceRoot,b));if(this._sources.has(b))return this.sourcesContent[this._sources.indexOf(b)];var c;if(null!=this.sourceRoot&&(c=d.urlParse(this.sourceRoot))){var f=b.replace(/^file:\/\//,"");if("file"==c.scheme&&this._sources.has(f))return this.sourcesContent[this._sources.indexOf(f)];if((!c.path||"/"==c.path)&&this._sources.has("/"+b))return this.sourcesContent[this._sources.indexOf("/"+b)]}if(a)return null; throw Error('"'+b+'" is not in the SourceMap.');};e.prototype.generatedPositionFor=function(b){var a=d.getArg(b,"source");null!=this.sourceRoot&&(a=d.relative(this.sourceRoot,a));if(!this._sources.has(a))return{line:null,column:null,lastColumn:null};a=this._sources.indexOf(a);a={source:a,originalLine:d.getArg(b,"line"),originalColumn:d.getArg(b,"column")};b=this._findMapping(a,this._originalMappings,"originalLine","originalColumn",d.compareByOriginalPositions,d.getArg(b,"bias",c.GREATEST_LOWER_BOUND)); return 0<=b&&(b=this._originalMappings[b],b.source===a.source)?{line:d.getArg(b,"generatedLine",null),column:d.getArg(b,"generatedColumn",null),lastColumn:d.getArg(b,"lastGeneratedColumn",null)}:{line:null,column:null,lastColumn:null}};l.BasicSourceMapConsumer=e;r.prototype=Object.create(c.prototype);r.prototype.constructor=c;r.prototype._version=3;Object.defineProperty(r.prototype,"sources",{get:function(){for(var a=[],c=0;cb||95!==a.charCodeAt(b-1)||95!==a.charCodeAt(b-2)||111!==a.charCodeAt(b-3)||116!==a.charCodeAt(b-4)||111!==a.charCodeAt(b-5)||114!==a.charCodeAt(b-6)||112!==a.charCodeAt(b-7)||95!==a.charCodeAt(b-8)||95!==a.charCodeAt(b- 9))return!1;for(b-=10;0<=b;b--)if(36!==a.charCodeAt(b))return!1;return!0}l.getArg=function(a,c,d){if(c in a)return a[c];if(3===arguments.length)return d;throw Error('"'+c+'" is a required argument.');};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,t=/^data:.+\,.+$/;l.urlParse=c;l.urlGenerate=e;l.normalize=k;l.join=function(a,d){""===a&&(a=".");""===d&&(d=".");var b=c(d),f=c(a);f&&(a=f.path||"/");if(b&&!b.scheme)return f&&(b.scheme=f.scheme),e(b);if(b||d.match(t))return d; if(f&&!f.host&&!f.path)return f.host=d,e(f);b="/"===d.charAt(0)?d:k(a.replace(/\/+$/,"")+"/"+d);return f?(f.path=b,e(f)):b};l.isAbsolute=function(a){return"/"===a.charAt(0)||!!a.match(n)};l.relative=function(a,c){""===a&&(a=".");a=a.replace(/\/$/,"");for(var b=0;0!==c.indexOf(a+"/");){var d=a.lastIndexOf("/");if(0>d)return c;a=a.slice(0,d);if(a.match(/^([^\/]+:\/)?\/*$/))return c;++b}return Array(b+1).join("../")+c.substr(a.length+1)};p=!("__proto__"in Object.create(null));l.toSetString=p?r:d;l.fromSetString= p?r:a;l.compareByOriginalPositions=function(a,c,d){var b=a.source-c.source;if(0!==b)return b;b=a.originalLine-c.originalLine;if(0!==b)return b;b=a.originalColumn-c.originalColumn;if(0!==b||d)return b;b=a.generatedColumn-c.generatedColumn;if(0!==b)return b;b=a.generatedLine-c.generatedLine;return 0!==b?b:a.name-c.name};l.compareByGeneratedPositionsDeflated=function(a,c,d){var b=a.generatedLine-c.generatedLine;if(0!==b)return b;b=a.generatedColumn-c.generatedColumn;if(0!==b||d)return b;b=a.source-c.source; if(0!==b)return b;b=a.originalLine-c.originalLine;if(0!==b)return b;b=a.originalColumn-c.originalColumn;return 0!==b?b:a.name-c.name};l.compareByGeneratedPositionsInflated=function(a,c){var b=a.generatedLine-c.generatedLine;if(0!==b)return b;b=a.generatedColumn-c.generatedColumn;if(0!==b)return b;var b=a.source,d=c.source,b=b===d?0:b>d?1:-1;if(0!==b)return b;b=a.originalLine-c.originalLine;if(0!==b)return b;b=a.originalColumn-c.originalColumn;0===b&&(b=a.name,d=c.name,b=b===d?0:b>d?1:-1);return b}}, {}],18:[function(p,v,l){l.SourceMapGenerator=p("./lib/source-map-generator").SourceMapGenerator;l.SourceMapConsumer=p("./lib/source-map-consumer").SourceMapConsumer;l.SourceNode=p("./lib/source-node").SourceNode},{"./lib/source-map-consumer":14,"./lib/source-map-generator":15,"./lib/source-node":16}],19:[function(p,v,l){(function(c,e){function k(){return"browser"===K?!0:"node"===K?!1:"undefined"!==typeof window&&"function"===typeof XMLHttpRequest&&!(window.require&&window.module&&window.process&& "renderer"===window.process.type)}function r(a){return function(b){for(var c=0;c",a=this.getLineNumber(),null!=a&&(b+=":"+a,(a=this.getColumnNumber())&&(b+=":"+a)));a="";var c=this.getFunctionName(),d=!0,e=this.isConstructor();if(this.isToplevel()||e)e?a+="new "+(c||""):c?a+=c:(a+=b,d=!1);else{e=this.getTypeName();"[object Object]"===e&&(e="null");var f=this.getMethodName();c?(e&&0!=c.indexOf(e)&&(a+=e+"."),a+=c,f&&c.indexOf("."+f)!=c.length-f.length-1&&(a+=" [as "+f+"]")):a+=e+"."+(f||"")}d&&(a+=" ("+b+")");return a}function t(a){var b= {};Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach(function(c){b[c]=/^(?:is|get)/.test(c)?function(){return a[c].call(a)}:a[c]});b.toString=n;return b}function b(b){if(b.isNative())return b;var c=b.getFileName()||b.getScriptNameOrSourceURL();if(c){var d=b.getLineNumber(),e=b.getColumnNumber()-1;1!==d||k()||b.isEval()||(e-=62);var f=a({source:c,line:d,column:e});b=t(b);b.getFileName=function(){return f.source};b.getLineNumber=function(){return f.line};b.getColumnNumber=function(){return f.column+ 1};b.getScriptNameOrSourceURL=function(){return f.source};return b}var l=b.isEval()&&b.getEvalOrigin();l&&(l=h(l),b=t(b),b.getEvalOrigin=function(){return l});return b}function f(a,c){x&&(B={},F={});return a+c.map(function(a){return"\n at "+b(a)}).join("")}function v(a){var b=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(a.stack);if(b){a=b[1];var c=+b[2],b=+b[3],d=B[a];!d&&A&&A.existsSync(a)&&(d=A.readFileSync(a,"utf8"));if(d&&(d=d.split(/(?:\r\n|\r|\n)/)[c-1]))return a+":"+c+"\n"+d+"\n"+Array(b).join(" ")+ "^"}return null}function u(){var a=c.emit;c.emit=function(b){if("uncaughtException"===b){var d=arguments[1]&&arguments[1].stack,e=0