aboutsummaryrefslogtreecommitdiff
path: root/node_modules/source-map-support
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
commitbbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch)
treec58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/source-map-support
parent003fb34971cf63466184351b4db5f7c67df4f444 (diff)
downloadwallet-core-bbff7403fbf46f9ad92240ac213df8d30ef31b64.tar.xz
update packages
Diffstat (limited to 'node_modules/source-map-support')
-rw-r--r--node_modules/source-map-support/README.md26
-rw-r--r--node_modules/source-map-support/browser-source-map-support.js205
-rw-r--r--node_modules/source-map-support/package.json5
-rw-r--r--node_modules/source-map-support/source-map-support.js67
4 files changed, 176 insertions, 127 deletions
diff --git a/node_modules/source-map-support/README.md b/node_modules/source-map-support/README.md
index 0f51b5cca..0e85cc1ac 100644
--- a/node_modules/source-map-support/README.md
+++ b/node_modules/source-map-support/README.md
@@ -11,13 +11,7 @@ This module provides source map support for stack traces in node via the [V8 sta
$ npm install source-map-support
```
-Source maps can be generated using libraries such as [source-map-index-generator](https://github.com/twolfson/source-map-index-generator). Once you have a valid source map, insert the following line at the top of your compiled code:
-
-```js
-require('source-map-support').install();
-```
-
-And place a source mapping comment somewhere in the file (usually done automatically or with an option by your transpiler):
+Source maps can be generated using libraries such as [source-map-index-generator](https://github.com/twolfson/source-map-index-generator). Once you have a valid source map, place a source mapping comment somewhere in the file (usually done automatically or with an option by your transpiler):
```
//# sourceMappingURL=path/to/source.map
@@ -27,7 +21,23 @@ If multiple sourceMappingURL comments exist in one file, the last sourceMappingU
respected (e.g. if a file mentions the comment in code, or went through multiple transpilers).
The path should either be absolute or relative to the compiled file.
-It is also possible to to install the source map support directly by
+From here you have two options.
+
+##### CLI Usage
+
+```bash
+node -r source-map-support/register compiled.js
+```
+
+##### Programmatic Usage
+
+Put the following line at the top of the compiled file.
+
+```js
+require('source-map-support').install();
+```
+
+It is also possible to install the source map support directly by
requiring the `register` module which can be handy with ES6:
```js
diff --git a/node_modules/source-map-support/browser-source-map-support.js b/node_modules/source-map-support/browser-source-map-support.js
index e7a3990d6..afa56e321 100644
--- a/node_modules/source-map-support/browser-source-map-support.js
+++ b/node_modules/source-map-support/browser-source-map-support.js
@@ -8,103 +8,108 @@
@author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
license MIT
*/
-(this.define||function(N,O){this.sourceMapSupport=O()})("browser-source-map-support",function(N){(function n(v,m,c){function d(e,a){if(!m[e]){if(!v[e]){var h="function"==typeof require&&require;if(!a&&h)return h(e,!0);if(k)return k(e,!0);throw Error("Cannot find module '"+e+"'");}h=m[e]={exports:{}};v[e][0].call(h.exports,function(a){var c=v[e][1][a];return d(c?c:a)},h,h.exports,n,v,m,c)}return m[e].exports}for(var k="function"==typeof require&&require,q=0;q<c.length;q++)d(c[q]);return d})({1:[function(n,
-v,m){N=n("./source-map-support")},{"./source-map-support":19}],2:[function(n,v,m){(function(c){function d(c){c=c.charCodeAt(0);if(43===c||45===c)return 62;if(47===c||95===c)return 63;if(48>c)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 e(a){u[b++]=a}if(0<c.length%4)throw Error("Invalid string. Length must be a multiple of 4");var a=c.length;var h="="===c.charAt(a-2)?2:"="===c.charAt(a-
-1)?1:0;var u=new k(3*c.length/4-h);var r=0<h?c.length-4:c.length;var b=0;for(a=0;a<r;a+=4){var f=d(c.charAt(a))<<18|d(c.charAt(a+1))<<12|d(c.charAt(a+2))<<6|d(c.charAt(a+3));e((f&16711680)>>16);e((f&65280)>>8);e(f&255)}2===h?(f=d(c.charAt(a))<<2|d(c.charAt(a+1))>>4,e(f&255)):1===h&&(f=d(c.charAt(a))<<10|d(c.charAt(a+1))<<4|d(c.charAt(a+2))>>2,e(f>>8&255),e(f&255));return u};c.fromByteArray=function(c){var e=c.length%3,a="",h;var d=0;for(h=c.length-e;d<h;d+=3){var r=(c[d]<<16)+(c[d+1]<<8)+c[d+2];r=
-"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>18&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>12&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>6&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r&63);a+=r}switch(e){case 1:r=c[c.length-1];a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>2);a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r<<
-4&63);a+="==";break;case 2:r=(c[c.length-2]<<8)+c[c.length-1],a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>10),a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>4&63),a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r<<2&63),a+="="}return a}})("undefined"===typeof m?this.base64js={}:m)},{}],3:[function(n,v,m){},{}],4:[function(n,v,m){function c(g,l,b){if(!(this instanceof c))return new c(g,l,b);var x=typeof g;
-if("base64"===l&&"string"===x)for(g=g.trim?g.trim():g.replace(/^\s+|\s+$/g,"");0!==g.length%4;)g+="=";if("number"===x)var a=B(g);else if("string"===x)a=c.byteLength(g,l);else if("object"===x)a=B(g.length);else throw Error("First argument needs to be a number, array or string.");if(c._useTypedArrays)var f=c._augment(new Uint8Array(a));else f=this,f.length=a,f._isBuffer=!0;if(c._useTypedArrays&&"number"===typeof g.byteLength)f._set(g);else{var e=g;if(L(e)||c.isBuffer(e)||e&&"object"===typeof e&&"number"===
-typeof e.length)for(l=0;l<a;l++)c.isBuffer(g)?f[l]=g.readUInt8(l):f[l]=g[l];else if("string"===x)f.write(g,0,l);else if("number"===x&&!c._useTypedArrays&&!b)for(l=0;l<a;l++)f[l]=0}return f}function d(g,l,b){var x="";for(b=Math.min(g.length,b);l<b;l++)x+=String.fromCharCode(g[l]);return x}function k(g,l,b,a){a||(p("boolean"===typeof b,"missing or invalid endian"),p(void 0!==l&&null!==l,"missing offset"),p(l+1<g.length,"Trying to read beyond buffer length"));a=g.length;if(!(l>=a))return b?(b=g[l],l+
-1<a&&(b|=g[l+1]<<8)):(b=g[l]<<8,l+1<a&&(b|=g[l+1])),b}function q(g,l,b,a){a||(p("boolean"===typeof b,"missing or invalid endian"),p(void 0!==l&&null!==l,"missing offset"),p(l+3<g.length,"Trying to read beyond buffer length"));a=g.length;if(!(l>=a)){var x;b?(l+2<a&&(x=g[l+2]<<16),l+1<a&&(x|=g[l+1]<<8),x|=g[l],l+3<a&&(x+=g[l+3]<<24>>>0)):(l+1<a&&(x=g[l+1]<<16),l+2<a&&(x|=g[l+2]<<8),l+3<a&&(x|=g[l+3]),x+=g[l]<<24>>>0);return x}}function e(g,l,b,a){a||(p("boolean"===typeof b,"missing or invalid endian"),
-p(void 0!==l&&null!==l,"missing offset"),p(l+1<g.length,"Trying to read beyond buffer length"));if(!(l>=g.length))return g=k(g,l,b,!0),g&32768?-1*(65535-g+1):g}function a(g,l,b,a){a||(p("boolean"===typeof b,"missing or invalid endian"),p(void 0!==l&&null!==l,"missing offset"),p(l+3<g.length,"Trying to read beyond buffer length"));if(!(l>=g.length))return g=q(g,l,b,!0),g&2147483648?-1*(4294967295-g+1):g}function h(g,l,b,a){a||(p("boolean"===typeof b,"missing or invalid endian"),p(l+3<g.length,"Trying to read beyond buffer length"));
-return J.read(g,l,b,23,4)}function u(g,l,b,a){a||(p("boolean"===typeof b,"missing or invalid endian"),p(l+7<g.length,"Trying to read beyond buffer length"));return J.read(g,l,b,52,8)}function r(g,l,b,a,c){c||(p(void 0!==l&&null!==l,"missing value"),p("boolean"===typeof a,"missing or invalid endian"),p(void 0!==b&&null!==b,"missing offset"),p(b+1<g.length,"trying to write beyond buffer length"),H(l,65535));var x=g.length;if(!(b>=x))for(c=0,x=Math.min(x-b,2);c<x;c++)g[b+c]=(l&255<<8*(a?c:1-c))>>>8*
-(a?c:1-c)}function b(g,l,b,a,c){c||(p(void 0!==l&&null!==l,"missing value"),p("boolean"===typeof a,"missing or invalid endian"),p(void 0!==b&&null!==b,"missing offset"),p(b+3<g.length,"trying to write beyond buffer length"),H(l,4294967295));var x=g.length;if(!(b>=x))for(c=0,x=Math.min(x-b,4);c<x;c++)g[b+c]=l>>>8*(a?c:3-c)&255}function f(g,l,b,a,c){c||(p(void 0!==l&&null!==l,"missing value"),p("boolean"===typeof a,"missing or invalid endian"),p(void 0!==b&&null!==b,"missing offset"),p(b+1<g.length,
-"Trying to write beyond buffer length"),z(l,32767,-32768));b>=g.length||(0<=l?r(g,l,b,a,c):r(g,65535+l+1,b,a,c))}function G(g,l,a,c,f){f||(p(void 0!==l&&null!==l,"missing value"),p("boolean"===typeof c,"missing or invalid endian"),p(void 0!==a&&null!==a,"missing offset"),p(a+3<g.length,"Trying to write beyond buffer length"),z(l,2147483647,-2147483648));a>=g.length||(0<=l?b(g,l,a,c,f):b(g,4294967295+l+1,a,c,f))}function t(g,b,a,c,f){f||(p(void 0!==b&&null!==b,"missing value"),p("boolean"===typeof c,
-"missing or invalid endian"),p(void 0!==a&&null!==a,"missing offset"),p(a+3<g.length,"Trying to write beyond buffer length"),E(b,3.4028234663852886E38,-3.4028234663852886E38));a>=g.length||J.write(g,b,a,c,23,4)}function M(g,b,a,c,f){f||(p(void 0!==b&&null!==b,"missing value"),p("boolean"===typeof c,"missing or invalid endian"),p(void 0!==a&&null!==a,"missing offset"),p(a+7<g.length,"Trying to write beyond buffer length"),E(b,1.7976931348623157E308,-1.7976931348623157E308));a>=g.length||J.write(g,
-b,a,c,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 B(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 y(g){for(var b=[],a=0;a<g.length;a++){var c=g.charCodeAt(a);if(127>=c)b.push(g.charCodeAt(a));else{var f=a;55296<=c&&57343>=c&&a++;c=encodeURIComponent(g.slice(f,
-a+1)).substr(1).split("%");for(f=0;f<c.length;f++)b.push(parseInt(c[f],16))}}return b}function K(g){for(var b=[],a=0;a<g.length;a++)b.push(g.charCodeAt(a)&255);return b}function A(g,b,a,c){for(var l=0;l<c&&!(l+a>=b.length||l>=g.length);l++)b[l+a]=g[l];return l}function F(g){try{return decodeURIComponent(g)}catch(l){return String.fromCharCode(65533)}}function H(g,b){p("number"===typeof g,"cannot write a non-number as a number");p(0<=g,"specified a negative value for writing an unsigned value");p(g<=
-b,"value is larger than maximum value for type");p(Math.floor(g)===g,"value has a fractional component")}function z(g,b,a){p("number"===typeof g,"cannot write a non-number as a number");p(g<=b,"value larger than maximum allowed value");p(g>=a,"value smaller than minimum allowed value");p(Math.floor(g)===g,"value has a fractional component")}function E(g,b,a){p("number"===typeof g,"cannot write a non-number as a number");p(g<=b,"value larger than maximum allowed value");p(g>=a,"value smaller than minimum allowed value")}
-function p(g,b){if(!g)throw Error(b||"Failed assertion");}var D=n("base64-js"),J=n("ieee754");m.Buffer=c;m.SlowBuffer=c;m.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(x){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){g+="";switch(b||"utf8"){case "hex":var a=g.length/2;break;case "utf8":case "utf-8":a=y(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){p(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;a<g.length;a++)b+=g[a].length;var l=new c(b),f=0;for(a=0;a<g.length;a++){var e=g[a];e.copy(l,f);f+=e.length}return l};c.prototype.write=function(g,b,a,f){if(isFinite(b))isFinite(a)||(f=a,a=void 0);else{var l=f;f=b;b=a;a=l}b=Number(b)||0;l=this.length-b;a?(a=Number(a),a>l&&(a=l)):a=l;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;p(0===f%2,"Invalid hex string");a>f/2&&(a=f/2);for(f=0;f<a;f++)l=parseInt(g.substr(2*f,2),16),p(!isNaN(l),"Invalid hex string"),this[b+f]=l;c._charsWritten=2*f;g=f;break;case "utf8":case "utf-8":g=c._charsWritten=A(y(g),this,b,a);break;case "ascii":g=c._charsWritten=A(K(g),this,b,a);break;case "binary":g=c._charsWritten=A(K(g),this,b,a);break;case "base64":g=c._charsWritten=A(D.toByteArray(g),this,b,a);break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":l=[];for(var e=0;e<g.length;e++){var h=
-g.charCodeAt(e);f=h>>8;h%=256;l.push(h);l.push(f)}g=c._charsWritten=A(l,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<a;b++)g+=C(this[b]);a=g;break;case "utf8":case "utf-8":var c=g="";for(a=Math.min(this.length,a);b<a;b++)127>=this[b]?(g+=F(c)+String.fromCharCode(this[b]),
-c=""):c+="%"+this[b].toString(16);a=g+F(c);break;case "ascii":a=d(this,b,a);break;case "binary":a=d(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.length;g+=2)b+=String.fromCharCode(a[g]+256*a[g+1]);a=b;break;default:throw Error("Unknown encoding");}return a};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||
-this,0)}};c.prototype.copy=function(g,b,a,f){a||(a=0);f||0===f||(f=this.length);b||(b=0);if(f!==a&&0!==g.length&&0!==this.length)if(p(f>=a,"sourceEnd < sourceStart"),p(0<=b&&b<g.length,"targetStart out of bounds"),p(0<=a&&a<this.length,"sourceStart out of bounds"),p(0<=f&&f<=this.length,"sourceEnd out of bounds"),f>this.length&&(f=this.length),g.length-b<f-a&&(f=g.length-b+a),f-=a,100>f||!c._useTypedArrays)for(var l=0;l<f;l++)g[l+b]=this[l+a];else g._set(this.subarray(a,a+f),b)};c.prototype.slice=
-function(b,a){var g=this.length;b=I(b,g,0);a=I(a,g,g);if(c._useTypedArrays)return c._augment(this.subarray(b,a));g=a-b;for(var f=new c(g,void 0,!0),l=0;l<g;l++)f[l]=this[l+b];return f};c.prototype.get=function(b){console.log(".get() is deprecated. Access using array indexes instead.");return this.readUInt8(b)};c.prototype.set=function(b,a){console.log(".set() is deprecated. Access using array indexes instead.");return this.writeUInt8(b,a)};c.prototype.readUInt8=function(b,a){a||(p(void 0!==b&&null!==
-b,"missing offset"),p(b<this.length,"Trying to read beyond buffer length"));if(!(b>=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 q(this,b,!0,a)};c.prototype.readUInt32BE=function(b,a){return q(this,b,!1,a)};c.prototype.readInt8=function(b,a){a||(p(void 0!==b&&null!==b,"missing offset"),p(b<this.length,"Trying to read beyond buffer length"));if(!(b>=
-this.length))return this[b]&128?-1*(255-this[b]+1):this[b]};c.prototype.readInt16LE=function(b,a){return e(this,b,!0,a)};c.prototype.readInt16BE=function(b,a){return e(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 u(this,b,!0,a)};c.prototype.readDoubleBE=
-function(b,a){return u(this,b,!1,a)};c.prototype.writeUInt8=function(b,a,f){f||(p(void 0!==b&&null!==b,"missing value"),p(void 0!==a&&null!==a,"missing offset"),p(a<this.length,"trying to write beyond buffer length"),H(b,255));a>=this.length||(this[a]=b)};c.prototype.writeUInt16LE=function(b,a,f){r(this,b,a,!0,f)};c.prototype.writeUInt16BE=function(b,a,f){r(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||(p(void 0!==b&&null!==b,"missing value"),p(void 0!==a&&null!==a,"missing offset"),p(a<this.length,"Trying to write beyond buffer length"),z(b,127,-128));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){t(this,b,a,!0,f)};c.prototype.writeFloatBE=function(b,a,f){t(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));p("number"===typeof b&&!isNaN(b),"value is not a number");p(f>=a,"end < start");if(f!==a&&0!==this.length)for(p(0<=a&&a<this.length,"start out of bounds"),p(0<=f&&f<=this.length,
-"end out of bounds");a<f;a++)this[a]=b};c.prototype.inspect=function(){for(var b=[],a=this.length,f=0;f<a;f++)if(b[f]=C(this[f]),f===m.INSPECT_MAX_BYTES){b[f+1]="...";break}return"<Buffer "+b.join(" ")+">"};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;a<f;a+=1)b[a]=this[a];return b.buffer}throw Error("Buffer.toArrayBuffer not supported in this browser");};var w=c.prototype;
-c._augment=function(b){b._isBuffer=!0;b._get=b.get;b._set=b.set;b.get=w.get;b.set=w.set;b.write=w.write;b.toString=w.toString;b.toLocaleString=w.toString;b.toJSON=w.toJSON;b.copy=w.copy;b.slice=w.slice;b.readUInt8=w.readUInt8;b.readUInt16LE=w.readUInt16LE;b.readUInt16BE=w.readUInt16BE;b.readUInt32LE=w.readUInt32LE;b.readUInt32BE=w.readUInt32BE;b.readInt8=w.readInt8;b.readInt16LE=w.readInt16LE;b.readInt16BE=w.readInt16BE;b.readInt32LE=w.readInt32LE;b.readInt32BE=w.readInt32BE;b.readFloatLE=w.readFloatLE;
-b.readFloatBE=w.readFloatBE;b.readDoubleLE=w.readDoubleLE;b.readDoubleBE=w.readDoubleBE;b.writeUInt8=w.writeUInt8;b.writeUInt16LE=w.writeUInt16LE;b.writeUInt16BE=w.writeUInt16BE;b.writeUInt32LE=w.writeUInt32LE;b.writeUInt32BE=w.writeUInt32BE;b.writeInt8=w.writeInt8;b.writeInt16LE=w.writeInt16LE;b.writeInt16BE=w.writeInt16BE;b.writeInt32LE=w.writeInt32LE;b.writeInt32BE=w.writeInt32BE;b.writeFloatLE=w.writeFloatLE;b.writeFloatBE=w.writeFloatBE;b.writeDoubleLE=w.writeDoubleLE;b.writeDoubleBE=w.writeDoubleBE;
-b.fill=w.fill;b.inspect=w.inspect;b.toArrayBuffer=w.toArrayBuffer;return b}},{"base64-js":2,ieee754:5}],5:[function(n,v,m){m.read=function(c,d,k,q,e){var a=8*e-q-1;var h=(1<<a)-1,u=h>>1,r=-7;e=k?e-1:0;var b=k?-1:1,f=c[d+e];e+=b;k=f&(1<<-r)-1;f>>=-r;for(r+=a;0<r;k=256*k+c[d+e],e+=b,r-=8);a=k&(1<<-r)-1;k>>=-r;for(r+=q;0<r;a=256*a+c[d+e],e+=b,r-=8);if(0===k)k=1-u;else{if(k===h)return a?NaN:Infinity*(f?-1:1);a+=Math.pow(2,q);k-=u}return(f?-1:1)*a*Math.pow(2,k-q)};m.write=function(c,d,k,q,e,a){var h,u=
-8*a-e-1,r=(1<<u)-1,b=r>>1,f=23===e?Math.pow(2,-24)-Math.pow(2,-77):0;a=q?0:a-1;var G=q?1:-1,t=0>d||0===d&&0>1/d?1:0;d=Math.abs(d);isNaN(d)||Infinity===d?(d=isNaN(d)?1:0,q=r):(q=Math.floor(Math.log(d)/Math.LN2),1>d*(h=Math.pow(2,-q))&&(q--,h*=2),d=1<=q+b?d+f/h:d+f*Math.pow(2,1-b),2<=d*h&&(q++,h/=2),q+b>=r?(d=0,q=r):1<=q+b?(d=(d*h-1)*Math.pow(2,e),q+=b):(d=d*Math.pow(2,b-1)*Math.pow(2,e),q=0));for(;8<=e;c[k+a]=d&255,a+=G,d/=256,e-=8);q=q<<e|d;for(u+=e;0<u;c[k+a]=q&255,a+=G,q/=256,u-=8);c[k+a-G]|=128*
-t}},{}],6:[function(n,v,m){(function(c){function d(a,c){for(var e=0,h=a.length-1;0<=h;h--){var b=a[h];"."===b?a.splice(h,1):".."===b?(a.splice(h,1),e++):e&&(a.splice(h,1),e--)}if(c)for(;e--;e)a.unshift("..");return a}function k(a,c){if(a.filter)return a.filter(c);for(var e=[],h=0;h<a.length;h++)c(a[h],h,a)&&e.push(a[h]);return e}var q=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;m.resolve=function(){for(var a="",e=!1,u=arguments.length-1;-1<=u&&!e;u--){var r=0<=u?arguments[u]:c.cwd();
-if("string"!==typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(a=r+"/"+a,e="/"===r.charAt(0))}a=d(k(a.split("/"),function(b){return!!b}),!e).join("/");return(e?"/":"")+a||"."};m.normalize=function(a){var c=m.isAbsolute(a),u="/"===e(a,-1);(a=d(k(a.split("/"),function(a){return!!a}),!c).join("/"))||c||(a=".");a&&u&&(a+="/");return(c?"/":"")+a};m.isAbsolute=function(a){return"/"===a.charAt(0)};m.join=function(){var a=Array.prototype.slice.call(arguments,0);return m.normalize(k(a,
-function(a,c){if("string"!==typeof a)throw new TypeError("Arguments to path.join must be strings");return a}).join("/"))};m.relative=function(a,c){function e(b){for(var a=0;a<b.length&&""===b[a];a++);for(var f=b.length-1;0<=f&&""===b[f];f--);return a>f?[]:b.slice(a,f-a+1)}a=m.resolve(a).substr(1);c=m.resolve(c).substr(1);for(var h=e(a.split("/")),b=e(c.split("/")),f=Math.min(h.length,b.length),G=f,t=0;t<f;t++)if(h[t]!==b[t]){G=t;break}f=[];for(t=G;t<h.length;t++)f.push("..");f=f.concat(b.slice(G));
-return f.join("/")};m.sep="/";m.delimiter=":";m.dirname=function(a){var c=q.exec(a).slice(1);a=c[0];c=c[1];if(!a&&!c)return".";c&&(c=c.substr(0,c.length-1));return a+c};m.basename=function(a,c){var e=q.exec(a).slice(1)[2];c&&e.substr(-1*c.length)===c&&(e=e.substr(0,e.length-c.length));return e};m.extname=function(a){return q.exec(a).slice(1)[3]};var e="b"==="ab".substr(-1)?function(a,c,e){return a.substr(c,e)}:function(a,c,e){0>c&&(c=a.length+c);return a.substr(c,e)}}).call(this,n("node_modules/process/browser.js"))},
-{"node_modules/process/browser.js":7}],7:[function(n,v,m){function c(){}n=v.exports={};n.nextTick=function(){if("undefined"!==typeof window&&window.setImmediate)return function(c){return window.setImmediate(c)};if("undefined"!==typeof window&&window.postMessage&&window.addEventListener){var c=[];window.addEventListener("message",function(d){var k=d.source;k!==window&&null!==k||"process-tick"!==d.data||(d.stopPropagation(),0<c.length&&c.shift()())},!0);return function(d){c.push(d);window.postMessage("process-tick",
-"*")}}return function(c){setTimeout(c,0)}}();n.title="browser";n.browser=!0;n.env={};n.argv=[];n.on=c;n.once=c;n.off=c;n.emit=c;n.binding=function(c){throw Error("process.binding is not supported");};n.cwd=function(){return"/"};n.chdir=function(c){throw Error("process.chdir is not supported");}},{}],8:[function(n,v,m){function c(){this._array=[];this._set=Object.create(null)}var d=n("./util"),k=Object.prototype.hasOwnProperty;c.fromArray=function(d,e){for(var a=new c,h=0,k=d.length;h<k;h++)a.add(d[h],
-e);return a};c.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length};c.prototype.add=function(c,e){var a=d.toSetString(c),h=k.call(this._set,a),u=this._array.length;h&&!e||this._array.push(c);h||(this._set[a]=u)};c.prototype.has=function(c){c=d.toSetString(c);return k.call(this._set,c)};c.prototype.indexOf=function(c){var e=d.toSetString(c);if(k.call(this._set,e))return this._set[e];throw Error('"'+c+'" is not in the set.');};c.prototype.at=function(c){if(0<=c&&c<this._array.length)return this._array[c];
-throw Error("No element indexed by "+c);};c.prototype.toArray=function(){return this._array.slice()};m.ArraySet=c},{"./util":17}],9:[function(n,v,m){var c=n("./base64");m.encode=function(d){var k="",q=0>d?(-d<<1)+1:(d<<1)+0;do d=q&31,q>>>=5,0<q&&(d|=32),k+=c.encode(d);while(0<q);return k};m.decode=function(d,k,q){var e=d.length,a=0,h=0;do{if(k>=e)throw Error("Expected more digits in base 64 VLQ value.");var u=c.decode(d.charCodeAt(k++));if(-1===u)throw Error("Invalid base64 digit: "+d.charAt(k-1));
-var r=!!(u&32);u&=31;a+=u<<h;h+=5}while(r);d=a>>1;q.value=1===(a&1)?-d:d;q.rest=k}},{"./base64":10}],10:[function(n,v,m){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");m.encode=function(d){if(0<=d&&d<c.length)return c[d];throw new TypeError("Must be between 0 and 63: "+d);};m.decode=function(c){return 65<=c&&90>=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(n,v,m){function c(d,k,q,e,a,h){var u=Math.floor((k-d)/2)+d,r=
-a(q,e[u],!0);return 0===r?u:0<r?1<k-u?c(u,k,q,e,a,h):h==m.LEAST_UPPER_BOUND?k<e.length?k:-1:u:1<u-d?c(d,u,q,e,a,h):h==m.LEAST_UPPER_BOUND?u:0>d?-1:d}m.GREATEST_LOWER_BOUND=1;m.LEAST_UPPER_BOUND=2;m.search=function(d,k,q,e){if(0===k.length)return-1;d=c(-1,k.length,d,k,q,e||m.GREATEST_LOWER_BOUND);if(0>d)return-1;for(;0<=d-1&&0===q(k[d],k[d-1],!0);)--d;return d}},{}],12:[function(n,v,m){function c(){this._array=[];this._sorted=!0;this._last={generatedLine:-1,generatedColumn:0}}var d=n("./util");c.prototype.unsortedForEach=
-function(c,d){this._array.forEach(c,d)};c.prototype.add=function(c){var k=this._last,e=k.generatedLine,a=c.generatedLine,h=k.generatedColumn,u=c.generatedColumn;a>e||a==e&&u>=h||0>=d.compareByGeneratedPositionsInflated(k,c)?this._last=c:this._sorted=!1;this._array.push(c)};c.prototype.toArray=function(){this._sorted||(this._array.sort(d.compareByGeneratedPositionsInflated),this._sorted=!0);return this._array};m.MappingList=c},{"./util":17}],13:[function(n,v,m){function c(c,d,e){var a=c[d];c[d]=c[e];
-c[e]=a}function d(k,m,e,a){if(e<a){var h=e-1;c(k,Math.round(e+Math.random()*(a-e)),a);for(var u=k[a],r=e;r<a;r++)0>=m(k[r],u)&&(h+=1,c(k,h,r));c(k,h+1,r);h+=1;d(k,m,e,h-1);d(k,m,h+1,a)}}m.quickSort=function(c,m){d(c,m,0,c.length-1)}},{}],14:[function(n,v,m){function c(b){var a=b;"string"===typeof b&&(a=JSON.parse(b.replace(/^\)\]\}'/,"")));return null!=a.sections?new q(a):new d(a)}function d(b){var a=b;"string"===typeof b&&(a=JSON.parse(b.replace(/^\)\]\}'/,"")));b=e.getArg(a,"version");var c=e.getArg(a,
-"sources"),t=e.getArg(a,"names",[]),d=e.getArg(a,"sourceRoot",null),r=e.getArg(a,"sourcesContent",null),k=e.getArg(a,"mappings");a=e.getArg(a,"file",null);if(b!=this._version)throw Error("Unsupported version: "+b);c=c.map(String).map(e.normalize).map(function(b){return d&&e.isAbsolute(d)&&e.isAbsolute(b)?e.relative(d,b):b});this._names=h.fromArray(t.map(String),!0);this._sources=h.fromArray(c,!0);this.sourceRoot=d;this.sourcesContent=r;this._mappings=k;this.file=a}function k(){this.generatedColumn=
-this.generatedLine=0;this.name=this.originalColumn=this.originalLine=this.source=null}function q(b){var a=b;"string"===typeof b&&(a=JSON.parse(b.replace(/^\)\]\}'/,"")));b=e.getArg(a,"version");a=e.getArg(a,"sections");if(b!=this._version)throw Error("Unsupported version: "+b);this._sources=new h;this._names=new h;var d={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=e.getArg(b,"offset"),f=e.getArg(a,"line"),t=e.getArg(a,
-"column");if(f<d.line||f===d.line&&t<d.column)throw Error("Section offsets must be ordered and non-overlapping.");d=a;return{generatedOffset:{generatedLine:f+1,generatedColumn:t+1},consumer:new c(e.getArg(b,"map"))}})}var e=n("./util"),a=n("./binary-search"),h=n("./array-set").ArraySet,u=n("./base64-vlq"),r=n("./quick-sort").quickSort;c.fromSourceMap=function(b){return d.fromSourceMap(b)};c.prototype._version=3;c.prototype.__generatedMappings=null;Object.defineProperty(c.prototype,"_generatedMappings",
-{get:function(){this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot);return this.__generatedMappings}});c.prototype.__originalMappings=null;Object.defineProperty(c.prototype,"_originalMappings",{get:function(){this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot);return this.__originalMappings}});c.prototype._charIsMappingSeparator=function(b,a){var c=b.charAt(a);return";"===c||","===c};c.prototype._parseMappings=function(b,a){throw Error("Subclasses must implement _parseMappings");
-};c.GENERATED_ORDER=1;c.ORIGINAL_ORDER=2;c.GREATEST_LOWER_BOUND=1;c.LEAST_UPPER_BOUND=2;c.prototype.eachMapping=function(b,a,d){a=a||null;switch(d||c.GENERATED_ORDER){case c.GENERATED_ORDER:d=this._generatedMappings;break;case c.ORIGINAL_ORDER:d=this._originalMappings;break;default:throw Error("Unknown order of iteration.");}var f=this.sourceRoot;d.map(function(b){var a=null===b.source?null:this._sources.at(b.source);null!=a&&null!=f&&(a=e.join(f,a));return{source:a,generatedLine:b.generatedLine,
-generatedColumn:b.generatedColumn,originalLine:b.originalLine,originalColumn:b.originalColumn,name:null===b.name?null:this._names.at(b.name)}},this).forEach(b,a)};c.prototype.allGeneratedPositionsFor=function(b){var c=e.getArg(b,"line"),d={source:e.getArg(b,"source"),originalLine:c,originalColumn:e.getArg(b,"column",0)};null!=this.sourceRoot&&(d.source=e.relative(this.sourceRoot,d.source));if(!this._sources.has(d.source))return[];d.source=this._sources.indexOf(d.source);var t=[];d=this._findMapping(d,
-this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,a.LEAST_UPPER_BOUND);if(0<=d){var h=this._originalMappings[d];if(void 0===b.column)for(c=h.originalLine;h&&h.originalLine===c;)t.push({line:e.getArg(h,"generatedLine",null),column:e.getArg(h,"generatedColumn",null),lastColumn:e.getArg(h,"lastGeneratedColumn",null)}),h=this._originalMappings[++d];else for(b=h.originalColumn;h&&h.originalLine===c&&h.originalColumn==b;)t.push({line:e.getArg(h,"generatedLine",null),column:e.getArg(h,
-"generatedColumn",null),lastColumn:e.getArg(h,"lastGeneratedColumn",null)}),h=this._originalMappings[++d]}return t};m.SourceMapConsumer=c;d.prototype=Object.create(c.prototype);d.prototype.consumer=c;d.fromSourceMap=function(b){var a=Object.create(d.prototype),c=a._names=h.fromArray(b._names.toArray(),!0),t=a._sources=h.fromArray(b._sources.toArray(),!0);a.sourceRoot=b._sourceRoot;a.sourcesContent=b._generateSourcesContent(a._sources.toArray(),a.sourceRoot);a.file=b._file;b=b._mappings.toArray().slice();
-for(var u=a.__generatedMappings=[],m=a.__originalMappings=[],q=0,n=b.length;q<n;q++){var C=b[q],y=new k;y.generatedLine=C.generatedLine;y.generatedColumn=C.generatedColumn;C.source&&(y.source=t.indexOf(C.source),y.originalLine=C.originalLine,y.originalColumn=C.originalColumn,C.name&&(y.name=c.indexOf(C.name)),m.push(y));u.push(y)}r(a.__originalMappings,e.compareByOriginalPositions);return a};d.prototype._version=3;Object.defineProperty(d.prototype,"sources",{get:function(){return this._sources.toArray().map(function(b){return null!=
-this.sourceRoot?e.join(this.sourceRoot,b):b},this)}});d.prototype._parseMappings=function(b,a){for(var c=1,f=0,d=0,h=0,m=0,q=0,n=b.length,y=0,v={},A={},F=[],H=[],z,E,p,D,J;y<n;)if(";"===b.charAt(y))c++,y++,f=0;else if(","===b.charAt(y))y++;else{z=new k;z.generatedLine=c;for(D=y;D<n&&!this._charIsMappingSeparator(b,D);D++);E=b.slice(y,D);if(p=v[E])y+=E.length;else{for(p=[];y<D;)u.decode(b,y,A),J=A.value,y=A.rest,p.push(J);if(2===p.length)throw Error("Found a source, but no line and column");if(3===
-p.length)throw Error("Found a source and line, but no column");v[E]=p}z.generatedColumn=f+p[0];f=z.generatedColumn;1<p.length&&(z.source=m+p[1],m+=p[1],z.originalLine=d+p[2],d=z.originalLine,z.originalLine+=1,z.originalColumn=h+p[3],h=z.originalColumn,4<p.length&&(z.name=q+p[4],q+=p[4]));H.push(z);"number"===typeof z.originalLine&&F.push(z)}r(H,e.compareByGeneratedPositionsDeflated);this.__generatedMappings=H;r(F,e.compareByOriginalPositions);this.__originalMappings=F};d.prototype._findMapping=function(b,
-c,e,d,h,r){if(0>=b[e])throw new TypeError("Line must be greater than or equal to 1, got "+b[e]);if(0>b[d])throw new TypeError("Column must be greater than or equal to 0, got "+b[d]);return a.search(b,c,h,r)};d.prototype.computeColumnSpans=function(){for(var b=0;b<this._generatedMappings.length;++b){var a=this._generatedMappings[b];if(b+1<this._generatedMappings.length){var c=this._generatedMappings[b+1];if(a.generatedLine===c.generatedLine){a.lastGeneratedColumn=c.generatedColumn-1;continue}}a.lastGeneratedColumn=
-Infinity}};d.prototype.originalPositionFor=function(b){var a={generatedLine:e.getArg(b,"line"),generatedColumn:e.getArg(b,"column")};b=this._findMapping(a,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(b,"bias",c.GREATEST_LOWER_BOUND));if(0<=b&&(b=this._generatedMappings[b],b.generatedLine===a.generatedLine)){a=e.getArg(b,"source",null);null!==a&&(a=this._sources.at(a),null!=this.sourceRoot&&(a=e.join(this.sourceRoot,a)));var d=e.getArg(b,
-"name",null);null!==d&&(d=this._names.at(d));return{source:a,line:e.getArg(b,"originalLine",null),column:e.getArg(b,"originalColumn",null),name:d}}return{source:null,line:null,column:null,name:null}};d.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(b){return null==b}):!1};d.prototype.sourceContentFor=function(b,a){if(!this.sourcesContent)return null;null!=this.sourceRoot&&(b=e.relative(this.sourceRoot,
-b));if(this._sources.has(b))return this.sourcesContent[this._sources.indexOf(b)];var c;if(null!=this.sourceRoot&&(c=e.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.');};d.prototype.generatedPositionFor=function(b){var a=
-e.getArg(b,"source");null!=this.sourceRoot&&(a=e.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:e.getArg(b,"line"),originalColumn:e.getArg(b,"column")};b=this._findMapping(a,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(b,"bias",c.GREATEST_LOWER_BOUND));return 0<=b&&(b=this._originalMappings[b],b.source===a.source)?{line:e.getArg(b,"generatedLine",
-null),column:e.getArg(b,"generatedColumn",null),lastColumn:e.getArg(b,"lastGeneratedColumn",null)}:{line:null,column:null,lastColumn:null}};m.BasicSourceMapConsumer=d;q.prototype=Object.create(c.prototype);q.prototype.constructor=c;q.prototype._version=3;Object.defineProperty(q.prototype,"sources",{get:function(){for(var a=[],c=0;c<this._sections.length;c++)for(var e=0;e<this._sections[c].consumer.sources.length;e++)a.push(this._sections[c].consumer.sources[e]);return a}});q.prototype.originalPositionFor=
-function(b){var c={generatedLine:e.getArg(b,"line"),generatedColumn:e.getArg(b,"column")},d=a.search(c,this._sections,function(a,b){var c=a.generatedLine-b.generatedOffset.generatedLine;return c?c:a.generatedColumn-b.generatedOffset.generatedColumn});return(d=this._sections[d])?d.consumer.originalPositionFor({line:c.generatedLine-(d.generatedOffset.generatedLine-1),column:c.generatedColumn-(d.generatedOffset.generatedLine===c.generatedLine?d.generatedOffset.generatedColumn-1:0),bias:b.bias}):{source:null,
-line:null,column:null,name:null}};q.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(a){return a.consumer.hasContentsOfAllSources()})};q.prototype.sourceContentFor=function(a,c){for(var b=0;b<this._sections.length;b++){var f=this._sections[b].consumer.sourceContentFor(a,!0);if(f)return f}if(c)return null;throw Error('"'+a+'" is not in the SourceMap.');};q.prototype.generatedPositionFor=function(a){for(var b=0;b<this._sections.length;b++){var c=this._sections[b];if(-1!==
-c.consumer.sources.indexOf(e.getArg(a,"source"))){var d=c.consumer.generatedPositionFor(a);if(d)return{line:d.line+(c.generatedOffset.generatedLine-1),column:d.column+(c.generatedOffset.generatedLine===d.line?c.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}};q.prototype._parseMappings=function(a,c){this.__generatedMappings=[];this.__originalMappings=[];for(var b=0;b<this._sections.length;b++)for(var f=this._sections[b],d=f.consumer._generatedMappings,h=0;h<d.length;h++){var k=
-d[h],u=f.consumer._sources.at(k.source);null!==f.consumer.sourceRoot&&(u=e.join(f.consumer.sourceRoot,u));this._sources.add(u);u=this._sources.indexOf(u);var m=f.consumer._names.at(k.name);this._names.add(m);m=this._names.indexOf(m);k={source:u,generatedLine:k.generatedLine+(f.generatedOffset.generatedLine-1),generatedColumn:k.generatedColumn+(f.generatedOffset.generatedLine===k.generatedLine?f.generatedOffset.generatedColumn-1:0),originalLine:k.originalLine,originalColumn:k.originalColumn,name:m};
-this.__generatedMappings.push(k);"number"===typeof k.originalLine&&this.__originalMappings.push(k)}r(this.__generatedMappings,e.compareByGeneratedPositionsDeflated);r(this.__originalMappings,e.compareByOriginalPositions)};m.IndexedSourceMapConsumer=q},{"./array-set":8,"./base64-vlq":9,"./binary-search":11,"./quick-sort":13,"./util":17}],15:[function(n,v,m){function c(a){a||(a={});this._file=k.getArg(a,"file",null);this._sourceRoot=k.getArg(a,"sourceRoot",null);this._skipValidation=k.getArg(a,"skipValidation",
-!1);this._sources=new q;this._names=new q;this._mappings=new e;this._sourcesContents=null}var d=n("./base64-vlq"),k=n("./util"),q=n("./array-set").ArraySet,e=n("./mapping-list").MappingList;c.prototype._version=3;c.fromSourceMap=function(a){var e=a.sourceRoot,d=new c({file:a.file,sourceRoot:e});a.eachMapping(function(a){var b={generated:{line:a.generatedLine,column:a.generatedColumn}};null!=a.source&&(b.source=a.source,null!=e&&(b.source=k.relative(e,b.source)),b.original={line:a.originalLine,column:a.originalColumn},
-null!=a.name&&(b.name=a.name));d.addMapping(b)});a.sources.forEach(function(c){var b=a.sourceContentFor(c);null!=b&&d.setSourceContent(c,b)});return d};c.prototype.addMapping=function(a){var c=k.getArg(a,"generated"),e=k.getArg(a,"original",null),d=k.getArg(a,"source",null);a=k.getArg(a,"name",null);this._skipValidation||this._validateMapping(c,e,d,a);null!=d&&(d=String(d),this._sources.has(d)||this._sources.add(d));null!=a&&(a=String(a),this._names.has(a)||this._names.add(a));this._mappings.add({generatedLine:c.line,
-generatedColumn:c.column,originalLine:null!=e&&e.line,originalColumn:null!=e&&e.column,source:d,name:a})};c.prototype.setSourceContent=function(a,c){var e=a;null!=this._sourceRoot&&(e=k.relative(this._sourceRoot,e));null!=c?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[k.toSetString(e)]=c):this._sourcesContents&&(delete this._sourcesContents[k.toSetString(e)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))};c.prototype.applySourceMap=
-function(a,c,e){var d=c;if(null==c){if(null==a.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');d=a.file}var b=this._sourceRoot;null!=b&&(d=k.relative(b,d));var f=new q,h=new q;this._mappings.unsortedForEach(function(c){if(c.source===d&&null!=c.originalLine){var t=a.originalPositionFor({line:c.originalLine,column:c.originalColumn});null!=t.source&&(c.source=t.source,null!=e&&(c.source=
-k.join(e,c.source)),null!=b&&(c.source=k.relative(b,c.source)),c.originalLine=t.line,c.originalColumn=t.column,null!=t.name&&(c.name=t.name))}t=c.source;null==t||f.has(t)||f.add(t);c=c.name;null==c||h.has(c)||h.add(c)},this);this._sources=f;this._names=h;a.sources.forEach(function(c){var f=a.sourceContentFor(c);null!=f&&(null!=e&&(c=k.join(e,c)),null!=b&&(c=k.relative(b,c)),this.setSourceContent(c,f))},this)};c.prototype._validateMapping=function(a,c,e,d){if(!(a&&"line"in a&&"column"in a&&0<a.line&&
-0<=a.column&&!c&&!e&&!d||a&&"line"in a&&"column"in a&&c&&"line"in c&&"column"in c&&0<a.line&&0<=a.column&&0<c.line&&0<=c.column&&e))throw Error("Invalid mapping: "+JSON.stringify({generated:a,source:e,original:c,name:d}));};c.prototype._serializeMappings=function(){for(var a=0,c=1,e=0,m=0,b=0,f=0,q="",t,n,I,B=this._mappings.toArray(),v=0,C=B.length;v<C;v++){n=B[v];t="";if(n.generatedLine!==c)for(a=0;n.generatedLine!==c;)t+=";",c++;else if(0<v){if(!k.compareByGeneratedPositionsInflated(n,B[v-1]))continue;
-t+=","}t+=d.encode(n.generatedColumn-a);a=n.generatedColumn;null!=n.source&&(I=this._sources.indexOf(n.source),t+=d.encode(I-f),f=I,t+=d.encode(n.originalLine-1-m),m=n.originalLine-1,t+=d.encode(n.originalColumn-e),e=n.originalColumn,null!=n.name&&(n=this._names.indexOf(n.name),t+=d.encode(n-b),b=n));q+=t}return q};c.prototype._generateSourcesContent=function(a,c){return a.map(function(a){if(!this._sourcesContents)return null;null!=c&&(a=k.relative(c,a));a=k.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,
-a)?this._sourcesContents[a]:null},this)};c.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};null!=this._file&&(a.file=this._file);null!=this._sourceRoot&&(a.sourceRoot=this._sourceRoot);this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot));return a};c.prototype.toString=function(){return JSON.stringify(this.toJSON())};m.SourceMapGenerator=c},{"./array-set":8,
-"./base64-vlq":9,"./mapping-list":12,"./util":17}],16:[function(n,v,m){function c(c,a,d,k,m){this.children=[];this.sourceContents={};this.line=null==c?null:c;this.column=null==a?null:a;this.source=null==d?null:d;this.name=null==m?null:m;this.$$$isSourceNode$$$=!0;null!=k&&this.add(k)}var d=n("./source-map-generator").SourceMapGenerator,k=n("./util"),q=/(\r?\n)/;c.fromStringWithSourceMap=function(e,a,d){function h(a,b){if(null===a||void 0===a.source)m.add(b);else{var f=d?k.join(d,a.source):a.source;
-m.add(new c(a.originalLine,a.originalColumn,f,b,a.name))}}var m=new c,b=e.split(q),f=function(){var a=b.shift(),c=b.shift()||"";return a+c},n=1,t=0,v=null;a.eachMapping(function(a){if(null!==v)if(n<a.generatedLine)h(v,f()),n++,t=0;else{var c=b[0];var e=c.substr(0,a.generatedColumn-t);b[0]=c.substr(a.generatedColumn-t);t=a.generatedColumn;h(v,e);v=a;return}for(;n<a.generatedLine;)m.add(f()),n++;t<a.generatedColumn&&(c=b[0],m.add(c.substr(0,a.generatedColumn)),b[0]=c.substr(a.generatedColumn),t=a.generatedColumn);
-v=a},this);0<b.length&&(v&&h(v,f()),m.add(b.join("")));a.sources.forEach(function(b){var c=a.sourceContentFor(b);null!=c&&(null!=d&&(b=k.join(d,b)),m.setSourceContent(b,c))});return m};c.prototype.add=function(c){if(Array.isArray(c))c.forEach(function(a){this.add(a)},this);else if(c.$$$isSourceNode$$$||"string"===typeof c)c&&this.children.push(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this};c.prototype.prepend=function(c){if(Array.isArray(c))for(var a=
-c.length-1;0<=a;a--)this.prepend(c[a]);else if(c.$$$isSourceNode$$$||"string"===typeof c)this.children.unshift(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this};c.prototype.walk=function(c){for(var a,e=0,d=this.children.length;e<d;e++)a=this.children[e],a.$$$isSourceNode$$$?a.walk(c):""!==a&&c(a,{source:this.source,line:this.line,column:this.column,name:this.name})};c.prototype.join=function(c){var a,e=this.children.length;if(0<
-e){var d=[];for(a=0;a<e-1;a++)d.push(this.children[a]),d.push(c);d.push(this.children[a]);this.children=d}return this};c.prototype.replaceRight=function(c,a){var e=this.children[this.children.length-1];e.$$$isSourceNode$$$?e.replaceRight(c,a):"string"===typeof e?this.children[this.children.length-1]=e.replace(c,a):this.children.push("".replace(c,a));return this};c.prototype.setSourceContent=function(c,a){this.sourceContents[k.toSetString(c)]=a};c.prototype.walkSourceContents=function(c){for(var a=
-0,e=this.children.length;a<e;a++)this.children[a].$$$isSourceNode$$$&&this.children[a].walkSourceContents(c);var d=Object.keys(this.sourceContents);a=0;for(e=d.length;a<e;a++)c(k.fromSetString(d[a]),this.sourceContents[d[a]])};c.prototype.toString=function(){var c="";this.walk(function(a){c+=a});return c};c.prototype.toStringWithSourceMap=function(c){var a="",e=1,k=0,m=new d(c),b=!1,f=null,n=null,t=null,q=null;this.walk(function(c,d){a+=c;null!==d.source&&null!==d.line&&null!==d.column?(f===d.source&&
-n===d.line&&t===d.column&&q===d.name||m.addMapping({source:d.source,original:{line:d.line,column:d.column},generated:{line:e,column:k},name:d.name}),f=d.source,n=d.line,t=d.column,q=d.name,b=!0):b&&(m.addMapping({generated:{line:e,column:k}}),f=null,b=!1);for(var h=0,r=c.length;h<r;h++)10===c.charCodeAt(h)?(e++,k=0,h+1===r?(f=null,b=!1):b&&m.addMapping({source:d.source,original:{line:d.line,column:d.column},generated:{line:e,column:k},name:d.name})):k++});this.walkSourceContents(function(a,b){m.setSourceContent(a,
-b)});return{code:a,map:m}};m.SourceNode=c},{"./source-map-generator":15,"./util":17}],17:[function(n,v,m){function c(a){return(a=a.match(u))?{scheme:a[1],auth:a[2],host:a[3],port:a[4],path:a[5]}:null}function d(a){var b="";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);return b}function k(a){var b=a,e=c(a);if(e){if(!e.path)return a;b=e.path}a=m.isAbsolute(b);b=b.split(/\/+/);for(var k,h=0,n=b.length-1;0<=n;n--)k=b[n],"."===
-k?b.splice(n,1):".."===k?h++:0<h&&(""===k?(b.splice(n+1,h),h=0):(b.splice(n,2),h--));b=b.join("/");""===b&&(b=a?"/":".");return e?(e.path=b,d(e)):b}function q(a){return a}function e(a){return h(a)?"$"+a:a}function a(a){return h(a)?a.slice(1):a}function h(a){if(!a)return!1;var b=a.length;if(9>b||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}m.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 u=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,r=/^data:.+\,.+$/;m.urlParse=c;m.urlGenerate=d;m.normalize=k;m.join=function(a,e){""===a&&(a=".");""===e&&(e=".");var b=c(e),f=c(a);f&&(a=f.path||"/");if(b&&!b.scheme)return f&&(b.scheme=f.scheme),d(b);if(b||e.match(r))return e;
-if(f&&!f.host&&!f.path)return f.host=e,d(f);b="/"===e.charAt(0)?e:k(a.replace(/\/+$/,"")+"/"+e);return f?(f.path=b,d(f)):b};m.isAbsolute=function(a){return"/"===a.charAt(0)||!!a.match(u)};m.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)};n=!("__proto__"in Object.create(null));m.toSetString=n?q:e;m.fromSetString=
-n?q:a;m.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};m.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};m.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;b=a.source;var 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(n,v,m){m.SourceMapGenerator=n("./lib/source-map-generator").SourceMapGenerator;m.SourceMapConsumer=n("./lib/source-map-consumer").SourceMapConsumer;m.SourceNode=n("./lib/source-node").SourceNode},{"./lib/source-map-consumer":14,"./lib/source-map-generator":15,"./lib/source-node":16}],19:[function(n,v,m){(function(c,d){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 q(a){return function(b){for(var c=0;c<a.length;c++){var d=a[c](b);if(d)return d}return null}}function e(a,b){if(!a)return b;var c=I.dirname(a),d=/^\w+:\/\/[^\/]*/.exec(c);d=d?d[0]:"";return d+I.resolve(c.slice(d.length),b)}function a(a){var b=F[a.source];if(!b){var c=D(a.source);c?(b=F[a.source]={url:c.url,map:new M(c.map)},b.map.sourcesContent&&b.map.sources.forEach(function(a,c){var d=b.map.sourcesContent[c];if(d){var g=e(b.url,a);A[g]=d}})):b=F[a.source]=
-{url:null,map:null}}return b&&b.map&&(c=b.map.originalPositionFor(a),null!==c.source)?(c.source=e(b.url,c.source),c):a}function h(b){var c=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(b);return c?(b=a({source:c[2],line:+c[3],column:c[4]-1}),"eval at "+c[1]+" ("+b.source+":"+b.line+":"+(b.column+1)+")"):(c=/^eval at ([^(]+) \((.+)\)$/.exec(b))?"eval at "+c[1]+" ("+h(c[2])+")":b}function u(){var a="";if(this.isNative())a="native";else{var b=this.getScriptNameOrSourceURL();!b&&this.isEval()&&(a=this.getEvalOrigin(),
-a+=", ");a=b?a+b:a+"<anonymous>";b=this.getLineNumber();null!=b&&(a+=":"+b,(b=this.getColumnNumber())&&(a+=":"+b))}b="";var c=this.getFunctionName(),d=!0,e=this.isConstructor();if(this.isToplevel()||e)e?b+="new "+(c||"<anonymous>"):c?b+=c:(b+=a,d=!1);else{e=this.getTypeName();"[object Object]"===e&&(e="null");var f=this.getMethodName();c?(e&&0!=c.indexOf(e)&&(b+=e+"."),b+=c,f&&c.indexOf("."+f)!=c.length-f.length-1&&(b+=" [as "+f+"]")):b+=e+"."+(f||"<anonymous>")}d&&(b+=" ("+a+")");return b}function r(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=u;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&&62<e&&!k()&&!b.isEval()&&(e-=62);var f=a({source:c,line:d,column:e});b=r(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 m=b.isEval()&&b.getEvalOrigin();m&&(m=h(m),b=r(b),b.getEvalOrigin=function(){return m});return b}function f(a,c){y&&(A={},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];var d=A[a];if(!d&&B&&B.existsSync(a))try{d=B.readFileSync(a,"utf8")}catch(x){d=""}if(d&&(d=d.split(/(?:\r\n|\r|\n)/)[c-1]))return a+":"+
-c+"\n"+d+"\n"+Array(b).join(" ")+"^"}return null}function t(){var a=c.emit;c.emit=function(b){if("uncaughtException"===b){var d=arguments[1]&&arguments[1].stack,e=0<this.listeners(b).length;if(d&&!e){d=arguments[1];if(e=v(d))console.error(),console.error(e);console.error(d.stack);c.exit(1);return}}return a.apply(this,arguments)}}var M=n("source-map").SourceMapConsumer,I=n("path");try{var B=n("fs");B.existsSync&&B.readFileSync||(B=null)}catch(J){}var L=!1,C=!1,y=!1,K="auto",A={},F={},H=/^data:application\/json[^,]+base64,/,
-z=[],E=[],p=q(z);z.push(function(a){a=a.trim();if(a in A)return A[a];var b=null;if(!B){var c=new XMLHttpRequest;c.open("GET",a,!1);c.send(null);b=null;4===c.readyState&&200===c.status&&(b=c.responseText)}else if(B.existsSync(a))try{b=B.readFileSync(a,"utf8")}catch(l){b=""}return A[a]=b});var D=q(E);E.push(function(a){a:{if(k())try{var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);var c=b.getResponseHeader("SourceMap")||b.getResponseHeader("X-SourceMap");if(c){var f=c;break a}}catch(P){}f=p(a);
-b=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/)[ \t]*$)/mg;for(var h;c=b.exec(f);)h=c;f=h?h[1]:null}if(!f)return null;H.test(f)?(h=f.slice(f.indexOf(",")+1),h=(new d(h,"base64")).toString(),f=a):(f=e(a,f),h=p(f));return h?{url:f,map:h}:null});m.wrapCallSite=b;m.getErrorSource=v;m.mapSourcePosition=a;m.retrieveSourceMap=D;m.install=function(a){a=a||{};if(a.environment&&(K=a.environment,-1===["node","browser","auto"].indexOf(K)))throw Error("environment "+
-K+" was unknown. Available options are {auto, browser, node}");a.retrieveFile&&(a.overrideRetrieveFile&&(z.length=0),z.unshift(a.retrieveFile));a.retrieveSourceMap&&(a.overrideRetrieveSourceMap&&(E.length=0),E.unshift(a.retrieveSourceMap));if(a.hookRequire&&!k()){try{var b=n("module")}catch(l){}var d=b.prototype._compile;d.__sourceMapSupport||(b.prototype._compile=function(a,b){A[b]=a;F[b]=void 0;return d.call(this,a,b)},b.prototype._compile.__sourceMapSupport=!0)}y||(y="emptyCacheBetweenOperations"in
-a?a.emptyCacheBetweenOperations:!1);L||(L=!0,Error.prepareStackTrace=f);!C&&("handleUncaughtExceptions"in a?a.handleUncaughtExceptions:1)&&"object"===typeof c&&null!==c&&"function"===typeof c.on&&(C=!0,t())}}).call(this,n("node_modules/process/browser.js"),n("buffer").Buffer)},{"node_modules/process/browser.js":7,buffer:4,fs:3,module:3,path:6,"source-map":18}]},{},[1]);return N});
+(this.define||function(N,O){this.sourceMapSupport=O()})("browser-source-map-support",function(N){(function b(p,v,m){function f(d,a){if(!v[d]){if(!p[d]){var l="function"==typeof require&&require;if(!a&&l)return l(d,!0);if(k)return k(d,!0);throw Error("Cannot find module '"+d+"'");}l=v[d]={exports:{}};p[d][0].call(l.exports,function(a){var b=p[d][1][a];return f(b?b:a)},l,l.exports,b,p,v,m)}return v[d].exports}for(var k="function"==typeof require&&require,h=0;h<m.length;h++)f(m[h]);return f})({1:[function(p,
+v,m){N=p("./source-map-support")},{"./source-map-support":20}],2:[function(p,v,m){(function(b){function f(b){b=b.charCodeAt(0);if(43===b||45===b)return 62;if(47===b||95===b)return 63;if(48>b)return-1;if(58>b)return b-48+52;if(91>b)return b-65;if(123>b)return b-97+26}var k="undefined"!==typeof Uint8Array?Uint8Array:Array;b.toByteArray=function(b){function d(a){u[t++]=a}if(0<b.length%4)throw Error("Invalid string. Length must be a multiple of 4");var a=b.length;var l="="===b.charAt(a-2)?2:"="===b.charAt(a-
+1)?1:0;var u=new k(3*b.length/4-l);var r=0<l?b.length-4:b.length;var t=0;for(a=0;a<r;a+=4){var h=f(b.charAt(a))<<18|f(b.charAt(a+1))<<12|f(b.charAt(a+2))<<6|f(b.charAt(a+3));d((h&16711680)>>16);d((h&65280)>>8);d(h&255)}2===l?(h=f(b.charAt(a))<<2|f(b.charAt(a+1))>>4,d(h&255)):1===l&&(h=f(b.charAt(a))<<10|f(b.charAt(a+1))<<4|f(b.charAt(a+2))>>2,d(h>>8&255),d(h&255));return u};b.fromByteArray=function(b){var d=b.length%3,a="",l;var f=0;for(l=b.length-d;f<l;f+=3){var r=(b[f]<<16)+(b[f+1]<<8)+b[f+2];r=
+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>18&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>12&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>6&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r&63);a+=r}switch(d){case 1:r=b[b.length-1];a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>2);a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r<<
+4&63);a+="==";break;case 2:r=(b[b.length-2]<<8)+b[b.length-1],a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>10),a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>4&63),a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r<<2&63),a+="="}return a}})("undefined"===typeof m?this.base64js={}:m)},{}],3:[function(p,v,m){},{}],4:[function(p,v,m){(function(b){var f=Object.prototype.toString,k="function"===typeof b.alloc&&
+"function"===typeof b.allocUnsafe&&"function"===typeof b.from;v.exports=function(h,d,a){if("number"===typeof h)throw new TypeError('"value" argument must not be a number');if("ArrayBuffer"===f.call(h).slice(8,-1)){d>>>=0;var l=h.byteLength-d;if(0>l)throw new RangeError("'offset' is out of bounds");if(void 0===a)a=l;else if(a>>>=0,a>l)throw new RangeError("'length' is out of bounds");return k?b.from(h.slice(d,d+a)):new b(new Uint8Array(h.slice(d,d+a)))}if("string"===typeof h){a=d;if("string"!==typeof a||
+""===a)a="utf8";if(!b.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');return k?b.from(h,a):new b(h,a)}return k?b.from(h):new b(h)}}).call(this,p("buffer").Buffer)},{buffer:5}],5:[function(p,v,m){function b(e,g,y){if(!(this instanceof b))return new b(e,g,y);var a=typeof e;if("base64"===g&&"string"===a)for(e=e.trim?e.trim():e.replace(/^\s+|\s+$/g,"");0!==e.length%4;)e+="=";if("number"===a)var c=I(e);else if("string"===a)c=b.byteLength(e,g);else if("object"===a)c=I(e.length);
+else throw Error("First argument needs to be a number, array or string.");if(b._useTypedArrays)var d=b._augment(new Uint8Array(c));else d=this,d.length=c,d._isBuffer=!0;if(b._useTypedArrays&&"number"===typeof e.byteLength)d._set(e);else{var n=e;if(M(n)||b.isBuffer(n)||n&&"object"===typeof n&&"number"===typeof n.length)for(g=0;g<c;g++)b.isBuffer(e)?d[g]=e.readUInt8(g):d[g]=e[g];else if("string"===a)d.write(e,0,g);else if("number"===a&&!b._useTypedArrays&&!y)for(g=0;g<c;g++)d[g]=0}return d}function f(e,
+g,y){var a="";for(y=Math.min(e.length,y);g<y;g++)a+=String.fromCharCode(e[g]);return a}function k(e,g,y,a){a||(q("boolean"===typeof y,"missing or invalid endian"),q(void 0!==g&&null!==g,"missing offset"),q(g+1<e.length,"Trying to read beyond buffer length"));a=e.length;if(!(g>=a))return y?(y=e[g],g+1<a&&(y|=e[g+1]<<8)):(y=e[g]<<8,g+1<a&&(y|=e[g+1])),y}function h(e,g,y,a){a||(q("boolean"===typeof y,"missing or invalid endian"),q(void 0!==g&&null!==g,"missing offset"),q(g+3<e.length,"Trying to read beyond buffer length"));
+a=e.length;if(!(g>=a)){var c;y?(g+2<a&&(c=e[g+2]<<16),g+1<a&&(c|=e[g+1]<<8),c|=e[g],g+3<a&&(c+=e[g+3]<<24>>>0)):(g+1<a&&(c=e[g+1]<<16),g+2<a&&(c|=e[g+2]<<8),g+3<a&&(c|=e[g+3]),c+=e[g]<<24>>>0);return c}}function d(e,g,a,c){c||(q("boolean"===typeof a,"missing or invalid endian"),q(void 0!==g&&null!==g,"missing offset"),q(g+1<e.length,"Trying to read beyond buffer length"));if(!(g>=e.length))return e=k(e,g,a,!0),e&32768?-1*(65535-e+1):e}function a(e,g,a,c){c||(q("boolean"===typeof a,"missing or invalid endian"),
+q(void 0!==g&&null!==g,"missing offset"),q(g+3<e.length,"Trying to read beyond buffer length"));if(!(g>=e.length))return e=h(e,g,a,!0),e&2147483648?-1*(4294967295-e+1):e}function l(e,g,a,c){c||(q("boolean"===typeof a,"missing or invalid endian"),q(g+3<e.length,"Trying to read beyond buffer length"));return G.read(e,g,a,23,4)}function u(e,g,a,c){c||(q("boolean"===typeof a,"missing or invalid endian"),q(g+7<e.length,"Trying to read beyond buffer length"));return G.read(e,g,a,52,8)}function r(e,g,a,
+c,b){b||(q(void 0!==g&&null!==g,"missing value"),q("boolean"===typeof c,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+1<e.length,"trying to write beyond buffer length"),H(g,65535));var y=e.length;if(!(a>=y))for(b=0,y=Math.min(y-a,2);b<y;b++)e[a+b]=(g&255<<8*(c?b:1-b))>>>8*(c?b:1-b)}function t(e,g,a,c,b){b||(q(void 0!==g&&null!==g,"missing value"),q("boolean"===typeof c,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+3<e.length,"trying to write beyond buffer length"),
+H(g,4294967295));var y=e.length;if(!(a>=y))for(b=0,y=Math.min(y-a,4);b<y;b++)e[a+b]=g>>>8*(c?b:3-b)&255}function z(e,g,a,c,b){b||(q(void 0!==g&&null!==g,"missing value"),q("boolean"===typeof c,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+1<e.length,"Trying to write beyond buffer length"),A(g,32767,-32768));a>=e.length||(0<=g?r(e,g,a,c,b):r(e,65535+g+1,a,c,b))}function c(e,g,a,c,b){b||(q(void 0!==g&&null!==g,"missing value"),q("boolean"===typeof c,"missing or invalid endian"),
+q(void 0!==a&&null!==a,"missing offset"),q(a+3<e.length,"Trying to write beyond buffer length"),A(g,2147483647,-2147483648));a>=e.length||(0<=g?t(e,g,a,c,b):t(e,4294967295+g+1,a,c,b))}function n(e,g,a,c,b){b||(q(void 0!==g&&null!==g,"missing value"),q("boolean"===typeof c,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+3<e.length,"Trying to write beyond buffer length"),D(g,3.4028234663852886E38,-3.4028234663852886E38));a>=e.length||G.write(e,g,a,c,23,4)}function x(e,g,a,
+c,b){b||(q(void 0!==g&&null!==g,"missing value"),q("boolean"===typeof c,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+7<e.length,"Trying to write beyond buffer length"),D(g,1.7976931348623157E308,-1.7976931348623157E308));a>=e.length||G.write(e,g,a,c,52,8)}function B(e,g,a){if("number"!==typeof e)return a;e=~~e;if(e>=g)return g;if(0<=e)return e;e+=g;return 0<=e?e:0}function I(e){e=~~Math.ceil(+e);return 0>e?0:e}function M(e){return(Array.isArray||function(e){return"[object Array]"===
+Object.prototype.toString.call(e)})(e)}function K(e){return 16>e?"0"+e.toString(16):e.toString(16)}function L(e){for(var g=[],a=0;a<e.length;a++){var c=e.charCodeAt(a);if(127>=c)g.push(e.charCodeAt(a));else{var b=a;55296<=c&&57343>=c&&a++;c=encodeURIComponent(e.slice(b,a+1)).substr(1).split("%");for(b=0;b<c.length;b++)g.push(parseInt(c[b],16))}}return g}function J(e){for(var g=[],a=0;a<e.length;a++)g.push(e.charCodeAt(a)&255);return g}function C(e,a,c,b){for(var g=0;g<b&&!(g+c>=a.length||g>=e.length);g++)a[g+
+c]=e[g];return g}function F(e){try{return decodeURIComponent(e)}catch(g){return String.fromCharCode(65533)}}function H(e,a){q("number"===typeof e,"cannot write a non-number as a number");q(0<=e,"specified a negative value for writing an unsigned value");q(e<=a,"value is larger than maximum value for type");q(Math.floor(e)===e,"value has a fractional component")}function A(e,a,c){q("number"===typeof e,"cannot write a non-number as a number");q(e<=a,"value larger than maximum allowed value");q(e>=c,
+"value smaller than minimum allowed value");q(Math.floor(e)===e,"value has a fractional component")}function D(e,a,c){q("number"===typeof e,"cannot write a non-number as a number");q(e<=a,"value larger than maximum allowed value");q(e>=c,"value smaller than minimum allowed value")}function q(e,a){if(!e)throw Error(a||"Failed assertion");}var E=p("base64-js"),G=p("ieee754");m.Buffer=b;m.SlowBuffer=b;m.INSPECT_MAX_BYTES=50;b.poolSize=8192;b._useTypedArrays=function(){try{var e=new ArrayBuffer(0),a=
+new Uint8Array(e);a.foo=function(){return 42};return 42===a.foo()&&"function"===typeof a.subarray}catch(y){return!1}}();b.isEncoding=function(e){switch(String(e).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}};b.isBuffer=function(e){return!(null===e||void 0===e||!e._isBuffer)};b.byteLength=function(e,a){e+="";switch(a||"utf8"){case "hex":var g=e.length/2;break;
+case "utf8":case "utf-8":g=L(e).length;break;case "ascii":case "binary":case "raw":g=e.length;break;case "base64":g=E.toByteArray(e).length;break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":g=2*e.length;break;default:throw Error("Unknown encoding");}return g};b.concat=function(e,a){q(M(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array.");if(0===e.length)return new b(0);if(1===e.length)return e[0];var g;if("number"!==typeof a)for(g=a=0;g<e.length;g++)a+=e[g].length;
+var c=new b(a),d=0;for(g=0;g<e.length;g++){var n=e[g];n.copy(c,d);d+=n.length}return c};b.prototype.write=function(e,a,c,d){if(isFinite(a))isFinite(c)||(d=c,c=void 0);else{var g=d;d=a;a=c;c=g}a=Number(a)||0;g=this.length-a;c?(c=Number(c),c>g&&(c=g)):c=g;d=String(d||"utf8").toLowerCase();switch(d){case "hex":a=Number(a)||0;d=this.length-a;c?(c=Number(c),c>d&&(c=d)):c=d;d=e.length;q(0===d%2,"Invalid hex string");c>d/2&&(c=d/2);for(d=0;d<c;d++)g=parseInt(e.substr(2*d,2),16),q(!isNaN(g),"Invalid hex string"),
+this[a+d]=g;b._charsWritten=2*d;e=d;break;case "utf8":case "utf-8":e=b._charsWritten=C(L(e),this,a,c);break;case "ascii":e=b._charsWritten=C(J(e),this,a,c);break;case "binary":e=b._charsWritten=C(J(e),this,a,c);break;case "base64":e=b._charsWritten=C(E.toByteArray(e),this,a,c);break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":g=[];for(var n=0;n<e.length;n++){var y=e.charCodeAt(n);d=y>>8;y%=256;g.push(y);g.push(d)}e=b._charsWritten=C(g,this,a,c);break;default:throw Error("Unknown encoding");
+}return e};b.prototype.toString=function(e,a,c){e=String(e||"utf8").toLowerCase();a=Number(a)||0;c=void 0!==c?Number(c):c=this.length;if(c===a)return"";switch(e){case "hex":e=this.length;if(!a||0>a)a=0;if(!c||0>c||c>e)c=e;for(e="";a<c;a++)e+=K(this[a]);c=e;break;case "utf8":case "utf-8":var g=e="";for(c=Math.min(this.length,c);a<c;a++)127>=this[a]?(e+=F(g)+String.fromCharCode(this[a]),g=""):g+="%"+this[a].toString(16);c=e+F(g);break;case "ascii":c=f(this,a,c);break;case "binary":c=f(this,a,c);break;
+case "base64":c=0===a&&c===this.length?E.fromByteArray(this):E.fromByteArray(this.slice(a,c));break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":c=this.slice(a,c);a="";for(e=0;e<c.length;e+=2)a+=String.fromCharCode(c[e]+256*c[e+1]);c=a;break;default:throw Error("Unknown encoding");}return c};b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};b.prototype.copy=function(e,a,c,d){c||(c=0);d||0===d||(d=this.length);a||(a=0);if(d!==c&&0!==
+e.length&&0!==this.length)if(q(d>=c,"sourceEnd < sourceStart"),q(0<=a&&a<e.length,"targetStart out of bounds"),q(0<=c&&c<this.length,"sourceStart out of bounds"),q(0<=d&&d<=this.length,"sourceEnd out of bounds"),d>this.length&&(d=this.length),e.length-a<d-c&&(d=e.length-a+c),d-=c,100>d||!b._useTypedArrays)for(var g=0;g<d;g++)e[g+a]=this[g+c];else e._set(this.subarray(c,c+d),a)};b.prototype.slice=function(e,a){var c=this.length;e=B(e,c,0);a=B(a,c,c);if(b._useTypedArrays)return b._augment(this.subarray(e,
+a));c=a-e;for(var g=new b(c,void 0,!0),d=0;d<c;d++)g[d]=this[d+e];return g};b.prototype.get=function(e){console.log(".get() is deprecated. Access using array indexes instead.");return this.readUInt8(e)};b.prototype.set=function(e,a){console.log(".set() is deprecated. Access using array indexes instead.");return this.writeUInt8(e,a)};b.prototype.readUInt8=function(e,a){a||(q(void 0!==e&&null!==e,"missing offset"),q(e<this.length,"Trying to read beyond buffer length"));if(!(e>=this.length))return this[e]};
+b.prototype.readUInt16LE=function(e,a){return k(this,e,!0,a)};b.prototype.readUInt16BE=function(e,a){return k(this,e,!1,a)};b.prototype.readUInt32LE=function(e,a){return h(this,e,!0,a)};b.prototype.readUInt32BE=function(e,a){return h(this,e,!1,a)};b.prototype.readInt8=function(e,a){a||(q(void 0!==e&&null!==e,"missing offset"),q(e<this.length,"Trying to read beyond buffer length"));if(!(e>=this.length))return this[e]&128?-1*(255-this[e]+1):this[e]};b.prototype.readInt16LE=function(e,a){return d(this,
+e,!0,a)};b.prototype.readInt16BE=function(e,a){return d(this,e,!1,a)};b.prototype.readInt32LE=function(e,c){return a(this,e,!0,c)};b.prototype.readInt32BE=function(e,c){return a(this,e,!1,c)};b.prototype.readFloatLE=function(e,a){return l(this,e,!0,a)};b.prototype.readFloatBE=function(e,a){return l(this,e,!1,a)};b.prototype.readDoubleLE=function(e,a){return u(this,e,!0,a)};b.prototype.readDoubleBE=function(e,a){return u(this,e,!1,a)};b.prototype.writeUInt8=function(e,a,c){c||(q(void 0!==e&&null!==
+e,"missing value"),q(void 0!==a&&null!==a,"missing offset"),q(a<this.length,"trying to write beyond buffer length"),H(e,255));a>=this.length||(this[a]=e)};b.prototype.writeUInt16LE=function(a,c,b){r(this,a,c,!0,b)};b.prototype.writeUInt16BE=function(a,c,b){r(this,a,c,!1,b)};b.prototype.writeUInt32LE=function(a,c,b){t(this,a,c,!0,b)};b.prototype.writeUInt32BE=function(a,c,b){t(this,a,c,!1,b)};b.prototype.writeInt8=function(a,c,b){b||(q(void 0!==a&&null!==a,"missing value"),q(void 0!==c&&null!==c,"missing offset"),
+q(c<this.length,"Trying to write beyond buffer length"),A(a,127,-128));c>=this.length||(0<=a?this.writeUInt8(a,c,b):this.writeUInt8(255+a+1,c,b))};b.prototype.writeInt16LE=function(a,c,b){z(this,a,c,!0,b)};b.prototype.writeInt16BE=function(a,c,b){z(this,a,c,!1,b)};b.prototype.writeInt32LE=function(a,b,d){c(this,a,b,!0,d)};b.prototype.writeInt32BE=function(a,b,d){c(this,a,b,!1,d)};b.prototype.writeFloatLE=function(a,c,b){n(this,a,c,!0,b)};b.prototype.writeFloatBE=function(a,c,b){n(this,a,c,!1,b)};
+b.prototype.writeDoubleLE=function(a,c,b){x(this,a,c,!0,b)};b.prototype.writeDoubleBE=function(a,c,b){x(this,a,c,!1,b)};b.prototype.fill=function(a,c,b){a||(a=0);c||(c=0);b||(b=this.length);"string"===typeof a&&(a=a.charCodeAt(0));q("number"===typeof a&&!isNaN(a),"value is not a number");q(b>=c,"end < start");if(b!==c&&0!==this.length)for(q(0<=c&&c<this.length,"start out of bounds"),q(0<=b&&b<=this.length,"end out of bounds");c<b;c++)this[c]=a};b.prototype.inspect=function(){for(var a=[],c=this.length,
+b=0;b<c;b++)if(a[b]=K(this[b]),b===m.INSPECT_MAX_BYTES){a[b+1]="...";break}return"<Buffer "+a.join(" ")+">"};b.prototype.toArrayBuffer=function(){if("undefined"!==typeof Uint8Array){if(b._useTypedArrays)return(new b(this)).buffer;for(var a=new Uint8Array(this.length),c=0,d=a.length;c<d;c+=1)a[c]=this[c];return a.buffer}throw Error("Buffer.toArrayBuffer not supported in this browser");};var w=b.prototype;b._augment=function(a){a._isBuffer=!0;a._get=a.get;a._set=a.set;a.get=w.get;a.set=w.set;a.write=
+w.write;a.toString=w.toString;a.toLocaleString=w.toString;a.toJSON=w.toJSON;a.copy=w.copy;a.slice=w.slice;a.readUInt8=w.readUInt8;a.readUInt16LE=w.readUInt16LE;a.readUInt16BE=w.readUInt16BE;a.readUInt32LE=w.readUInt32LE;a.readUInt32BE=w.readUInt32BE;a.readInt8=w.readInt8;a.readInt16LE=w.readInt16LE;a.readInt16BE=w.readInt16BE;a.readInt32LE=w.readInt32LE;a.readInt32BE=w.readInt32BE;a.readFloatLE=w.readFloatLE;a.readFloatBE=w.readFloatBE;a.readDoubleLE=w.readDoubleLE;a.readDoubleBE=w.readDoubleBE;a.writeUInt8=
+w.writeUInt8;a.writeUInt16LE=w.writeUInt16LE;a.writeUInt16BE=w.writeUInt16BE;a.writeUInt32LE=w.writeUInt32LE;a.writeUInt32BE=w.writeUInt32BE;a.writeInt8=w.writeInt8;a.writeInt16LE=w.writeInt16LE;a.writeInt16BE=w.writeInt16BE;a.writeInt32LE=w.writeInt32LE;a.writeInt32BE=w.writeInt32BE;a.writeFloatLE=w.writeFloatLE;a.writeFloatBE=w.writeFloatBE;a.writeDoubleLE=w.writeDoubleLE;a.writeDoubleBE=w.writeDoubleBE;a.fill=w.fill;a.inspect=w.inspect;a.toArrayBuffer=w.toArrayBuffer;return a}},{"base64-js":2,
+ieee754:6}],6:[function(p,v,m){m.read=function(b,f,k,h,d){var a=8*d-h-1;var l=(1<<a)-1,u=l>>1,r=-7;d=k?d-1:0;var t=k?-1:1,z=b[f+d];d+=t;k=z&(1<<-r)-1;z>>=-r;for(r+=a;0<r;k=256*k+b[f+d],d+=t,r-=8);a=k&(1<<-r)-1;k>>=-r;for(r+=h;0<r;a=256*a+b[f+d],d+=t,r-=8);if(0===k)k=1-u;else{if(k===l)return a?NaN:Infinity*(z?-1:1);a+=Math.pow(2,h);k-=u}return(z?-1:1)*a*Math.pow(2,k-h)};m.write=function(b,f,k,h,d,a){var l,u=8*a-d-1,r=(1<<u)-1,t=r>>1,z=23===d?Math.pow(2,-24)-Math.pow(2,-77):0;a=h?0:a-1;var c=h?1:-1,
+n=0>f||0===f&&0>1/f?1:0;f=Math.abs(f);isNaN(f)||Infinity===f?(f=isNaN(f)?1:0,h=r):(h=Math.floor(Math.log(f)/Math.LN2),1>f*(l=Math.pow(2,-h))&&(h--,l*=2),f=1<=h+t?f+z/l:f+z*Math.pow(2,1-t),2<=f*l&&(h++,l/=2),h+t>=r?(f=0,h=r):1<=h+t?(f=(f*l-1)*Math.pow(2,d),h+=t):(f=f*Math.pow(2,t-1)*Math.pow(2,d),h=0));for(;8<=d;b[k+a]=f&255,a+=c,f/=256,d-=8);h=h<<d|f;for(u+=d;0<u;b[k+a]=h&255,a+=c,h/=256,u-=8);b[k+a-c]|=128*n}},{}],7:[function(p,v,m){(function(b){function f(a,b){for(var d=0,l=a.length-1;0<=l;l--){var t=
+a[l];"."===t?a.splice(l,1):".."===t?(a.splice(l,1),d++):d&&(a.splice(l,1),d--)}if(b)for(;d--;d)a.unshift("..");return a}function k(a,b){if(a.filter)return a.filter(b);for(var d=[],l=0;l<a.length;l++)b(a[l],l,a)&&d.push(a[l]);return d}var h=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;m.resolve=function(){for(var a="",d=!1,u=arguments.length-1;-1<=u&&!d;u--){var r=0<=u?arguments[u]:b.cwd();if("string"!==typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&
+(a=r+"/"+a,d="/"===r.charAt(0))}a=f(k(a.split("/"),function(a){return!!a}),!d).join("/");return(d?"/":"")+a||"."};m.normalize=function(a){var b=m.isAbsolute(a),u="/"===d(a,-1);(a=f(k(a.split("/"),function(a){return!!a}),!b).join("/"))||b||(a=".");a&&u&&(a+="/");return(b?"/":"")+a};m.isAbsolute=function(a){return"/"===a.charAt(0)};m.join=function(){var a=Array.prototype.slice.call(arguments,0);return m.normalize(k(a,function(a,b){if("string"!==typeof a)throw new TypeError("Arguments to path.join must be strings");
+return a}).join("/"))};m.relative=function(a,b){function d(a){for(var c=0;c<a.length&&""===a[c];c++);for(var b=a.length-1;0<=b&&""===a[b];b--);return c>b?[]:a.slice(c,b-c+1)}a=m.resolve(a).substr(1);b=m.resolve(b).substr(1);for(var l=d(a.split("/")),t=d(b.split("/")),f=Math.min(l.length,t.length),c=f,n=0;n<f;n++)if(l[n]!==t[n]){c=n;break}f=[];for(n=c;n<l.length;n++)f.push("..");f=f.concat(t.slice(c));return f.join("/")};m.sep="/";m.delimiter=":";m.dirname=function(a){var b=h.exec(a).slice(1);a=b[0];
+b=b[1];if(!a&&!b)return".";b&&(b=b.substr(0,b.length-1));return a+b};m.basename=function(a,b){var d=h.exec(a).slice(1)[2];b&&d.substr(-1*b.length)===b&&(d=d.substr(0,d.length-b.length));return d};m.extname=function(a){return h.exec(a).slice(1)[3]};var d="b"==="ab".substr(-1)?function(a,b,d){return a.substr(b,d)}:function(a,b,d){0>b&&(b=a.length+b);return a.substr(b,d)}}).call(this,p("node_modules/process/browser.js"))},{"node_modules/process/browser.js":8}],8:[function(p,v,m){function b(){}p=v.exports=
+{};p.nextTick=function(){if("undefined"!==typeof window&&window.setImmediate)return function(b){return window.setImmediate(b)};if("undefined"!==typeof window&&window.postMessage&&window.addEventListener){var b=[];window.addEventListener("message",function(f){var k=f.source;k!==window&&null!==k||"process-tick"!==f.data||(f.stopPropagation(),0<b.length&&b.shift()())},!0);return function(f){b.push(f);window.postMessage("process-tick","*")}}return function(b){setTimeout(b,0)}}();p.title="browser";p.browser=
+!0;p.env={};p.argv=[];p.on=b;p.once=b;p.off=b;p.emit=b;p.binding=function(b){throw Error("process.binding is not supported");};p.cwd=function(){return"/"};p.chdir=function(b){throw Error("process.chdir is not supported");}},{}],9:[function(p,v,m){function b(){this._array=[];this._set=h?new Map:Object.create(null)}var f=p("./util"),k=Object.prototype.hasOwnProperty,h="undefined"!==typeof Map;b.fromArray=function(d,a){for(var f=new b,k=0,r=d.length;k<r;k++)f.add(d[k],a);return f};b.prototype.size=function(){return h?
+this._set.size:Object.getOwnPropertyNames(this._set).length};b.prototype.add=function(b,a){var d=h?b:f.toSetString(b),u=h?this.has(b):k.call(this._set,d),r=this._array.length;u&&!a||this._array.push(b);u||(h?this._set.set(b,r):this._set[d]=r)};b.prototype.has=function(b){if(h)return this._set.has(b);b=f.toSetString(b);return k.call(this._set,b)};b.prototype.indexOf=function(b){if(h){var a=this._set.get(b);if(0<=a)return a}else if(a=f.toSetString(b),k.call(this._set,a))return this._set[a];throw Error('"'+
+b+'" is not in the set.');};b.prototype.at=function(b){if(0<=b&&b<this._array.length)return this._array[b];throw Error("No element indexed by "+b);};b.prototype.toArray=function(){return this._array.slice()};m.ArraySet=b},{"./util":18}],10:[function(p,v,m){var b=p("./base64");m.encode=function(f){var k="",h=0>f?(-f<<1)+1:f<<1;do f=h&31,h>>>=5,0<h&&(f|=32),k+=b.encode(f);while(0<h);return k};m.decode=function(f,k,h){var d=f.length,a=0,l=0;do{if(k>=d)throw Error("Expected more digits in base 64 VLQ value.");
+var u=b.decode(f.charCodeAt(k++));if(-1===u)throw Error("Invalid base64 digit: "+f.charAt(k-1));var r=!!(u&32);u&=31;a+=u<<l;l+=5}while(r);f=a>>1;h.value=1===(a&1)?-f:f;h.rest=k}},{"./base64":11}],11:[function(p,v,m){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");m.encode=function(f){if(0<=f&&f<b.length)return b[f];throw new TypeError("Must be between 0 and 63: "+f);};m.decode=function(b){return 65<=b&&90>=b?b-65:97<=b&&122>=b?b-97+26:48<=b&&57>=b?b-48+52:43==b?
+62:47==b?63:-1}},{}],12:[function(p,v,m){function b(f,k,h,d,a,l){var u=Math.floor((k-f)/2)+f,r=a(h,d[u],!0);return 0===r?u:0<r?1<k-u?b(u,k,h,d,a,l):l==m.LEAST_UPPER_BOUND?k<d.length?k:-1:u:1<u-f?b(f,u,h,d,a,l):l==m.LEAST_UPPER_BOUND?u:0>f?-1:f}m.GREATEST_LOWER_BOUND=1;m.LEAST_UPPER_BOUND=2;m.search=function(f,k,h,d){if(0===k.length)return-1;f=b(-1,k.length,f,k,h,d||m.GREATEST_LOWER_BOUND);if(0>f)return-1;for(;0<=f-1&&0===h(k[f],k[f-1],!0);)--f;return f}},{}],13:[function(p,v,m){function b(){this._array=
+[];this._sorted=!0;this._last={generatedLine:-1,generatedColumn:0}}var f=p("./util");b.prototype.unsortedForEach=function(b,f){this._array.forEach(b,f)};b.prototype.add=function(b){var k=this._last,d=k.generatedLine,a=b.generatedLine,l=k.generatedColumn,u=b.generatedColumn;a>d||a==d&&u>=l||0>=f.compareByGeneratedPositionsInflated(k,b)?this._last=b:this._sorted=!1;this._array.push(b)};b.prototype.toArray=function(){this._sorted||(this._array.sort(f.compareByGeneratedPositionsInflated),this._sorted=
+!0);return this._array};m.MappingList=b},{"./util":18}],14:[function(p,v,m){function b(b,f,d){var a=b[f];b[f]=b[d];b[d]=a}function f(k,h,d,a){if(d<a){var l=d-1;b(k,Math.round(d+Math.random()*(a-d)),a);for(var u=k[a],r=d;r<a;r++)0>=h(k[r],u)&&(l+=1,b(k,l,r));b(k,l+1,r);l+=1;f(k,h,d,l-1);f(k,h,l+1,a)}}m.quickSort=function(b,h){f(b,h,0,b.length-1)}},{}],15:[function(p,v,m){function b(a,b){var c=a;"string"===typeof a&&(c=d.parseSourceMapInput(a));return null!=c.sections?new h(c,b):new f(c,b)}function f(a,
+b){var c=a;"string"===typeof a&&(c=d.parseSourceMapInput(a));var n=d.getArg(c,"version"),t=d.getArg(c,"sources"),f=d.getArg(c,"names",[]),r=d.getArg(c,"sourceRoot",null),k=d.getArg(c,"sourcesContent",null),u=d.getArg(c,"mappings");c=d.getArg(c,"file",null);if(n!=this._version)throw Error("Unsupported version: "+n);r&&(r=d.normalize(r));t=t.map(String).map(d.normalize).map(function(a){return r&&d.isAbsolute(r)&&d.isAbsolute(a)?d.relative(r,a):a});this._names=l.fromArray(f.map(String),!0);this._sources=
+l.fromArray(t,!0);this.sourceRoot=r;this.sourcesContent=k;this._mappings=u;this._sourceMapURL=b;this.file=c}function k(){this.generatedColumn=this.generatedLine=0;this.name=this.originalColumn=this.originalLine=this.source=null}function h(a,f){var c=a;"string"===typeof a&&(c=d.parseSourceMapInput(a));var n=d.getArg(c,"version");c=d.getArg(c,"sections");if(n!=this._version)throw Error("Unsupported version: "+n);this._sources=new l;this._names=new l;var t={line:-1,column:0};this._sections=c.map(function(a){if(a.url)throw Error("Support for url field in sections not implemented.");
+var c=d.getArg(a,"offset"),n=d.getArg(c,"line"),l=d.getArg(c,"column");if(n<t.line||n===t.line&&l<t.column)throw Error("Section offsets must be ordered and non-overlapping.");t=c;return{generatedOffset:{generatedLine:n+1,generatedColumn:l+1},consumer:new b(d.getArg(a,"map"),f)}})}var d=p("./util"),a=p("./binary-search"),l=p("./array-set").ArraySet,u=p("./base64-vlq"),r=p("./quick-sort").quickSort;b.fromSourceMap=function(a){return f.fromSourceMap(a)};b.prototype._version=3;b.prototype.__generatedMappings=
+null;Object.defineProperty(b.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot);return this.__generatedMappings}});b.prototype.__originalMappings=null;Object.defineProperty(b.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot);return this.__originalMappings}});b.prototype._charIsMappingSeparator=
+function(a,b){var c=a.charAt(b);return";"===c||","===c};b.prototype._parseMappings=function(a,b){throw Error("Subclasses must implement _parseMappings");};b.GENERATED_ORDER=1;b.ORIGINAL_ORDER=2;b.GREATEST_LOWER_BOUND=1;b.LEAST_UPPER_BOUND=2;b.prototype.eachMapping=function(a,f,c){f=f||null;switch(c||b.GENERATED_ORDER){case b.GENERATED_ORDER:c=this._generatedMappings;break;case b.ORIGINAL_ORDER:c=this._originalMappings;break;default:throw Error("Unknown order of iteration.");}var n=this.sourceRoot;
+c.map(function(a){var c=null===a.source?null:this._sources.at(a.source);c=d.computeSourceURL(n,c,this._sourceMapURL);return{source:c,generatedLine:a.generatedLine,generatedColumn:a.generatedColumn,originalLine:a.originalLine,originalColumn:a.originalColumn,name:null===a.name?null:this._names.at(a.name)}},this).forEach(a,f)};b.prototype.allGeneratedPositionsFor=function(b){var f=d.getArg(b,"line"),c={source:d.getArg(b,"source"),originalLine:f,originalColumn:d.getArg(b,"column",0)};null!=this.sourceRoot&&
+(c.source=d.relative(this.sourceRoot,c.source));if(!this._sources.has(c.source))return[];c.source=this._sources.indexOf(c.source);var n=[];c=this._findMapping(c,this._originalMappings,"originalLine","originalColumn",d.compareByOriginalPositions,a.LEAST_UPPER_BOUND);if(0<=c){var t=this._originalMappings[c];if(void 0===b.column)for(f=t.originalLine;t&&t.originalLine===f;)n.push({line:d.getArg(t,"generatedLine",null),column:d.getArg(t,"generatedColumn",null),lastColumn:d.getArg(t,"lastGeneratedColumn",
+null)}),t=this._originalMappings[++c];else for(b=t.originalColumn;t&&t.originalLine===f&&t.originalColumn==b;)n.push({line:d.getArg(t,"generatedLine",null),column:d.getArg(t,"generatedColumn",null),lastColumn:d.getArg(t,"lastGeneratedColumn",null)}),t=this._originalMappings[++c]}return n};m.SourceMapConsumer=b;f.prototype=Object.create(b.prototype);f.prototype.consumer=b;f.fromSourceMap=function(a,b){var c=Object.create(f.prototype),n=c._names=l.fromArray(a._names.toArray(),!0),t=c._sources=l.fromArray(a._sources.toArray(),
+!0);c.sourceRoot=a._sourceRoot;c.sourcesContent=a._generateSourcesContent(c._sources.toArray(),c.sourceRoot);c.file=a._file;c._sourceMapURL=b;for(var u=a._mappings.toArray().slice(),h=c.__generatedMappings=[],m=c.__originalMappings=[],z=0,p=u.length;z<p;z++){var v=u[z],C=new k;C.generatedLine=v.generatedLine;C.generatedColumn=v.generatedColumn;v.source&&(C.source=t.indexOf(v.source),C.originalLine=v.originalLine,C.originalColumn=v.originalColumn,v.name&&(C.name=n.indexOf(v.name)),m.push(C));h.push(C)}r(c.__originalMappings,
+d.compareByOriginalPositions);return c};f.prototype._version=3;Object.defineProperty(f.prototype,"sources",{get:function(){return this._sources.toArray().map(function(a){return d.computeSourceURL(this.sourceRoot,a,this._sourceMapURL)},this)}});f.prototype._parseMappings=function(a,b){for(var c=1,n=0,f=0,t=0,l=0,h=0,m=a.length,z=0,p={},v={},F=[],H=[],A,D,q,E,G;z<m;)if(";"===a.charAt(z))c++,z++,n=0;else if(","===a.charAt(z))z++;else{A=new k;A.generatedLine=c;for(E=z;E<m&&!this._charIsMappingSeparator(a,
+E);E++);D=a.slice(z,E);if(q=p[D])z+=D.length;else{for(q=[];z<E;)u.decode(a,z,v),G=v.value,z=v.rest,q.push(G);if(2===q.length)throw Error("Found a source, but no line and column");if(3===q.length)throw Error("Found a source and line, but no column");p[D]=q}A.generatedColumn=n+q[0];n=A.generatedColumn;1<q.length&&(A.source=l+q[1],l+=q[1],A.originalLine=f+q[2],f=A.originalLine,A.originalLine+=1,A.originalColumn=t+q[3],t=A.originalColumn,4<q.length&&(A.name=h+q[4],h+=q[4]));H.push(A);"number"===typeof A.originalLine&&
+F.push(A)}r(H,d.compareByGeneratedPositionsDeflated);this.__generatedMappings=H;r(F,d.compareByOriginalPositions);this.__originalMappings=F};f.prototype._findMapping=function(b,d,c,n,f,l){if(0>=b[c])throw new TypeError("Line must be greater than or equal to 1, got "+b[c]);if(0>b[n])throw new TypeError("Column must be greater than or equal to 0, got "+b[n]);return a.search(b,d,f,l)};f.prototype.computeColumnSpans=function(){for(var a=0;a<this._generatedMappings.length;++a){var b=this._generatedMappings[a];
+if(a+1<this._generatedMappings.length){var c=this._generatedMappings[a+1];if(b.generatedLine===c.generatedLine){b.lastGeneratedColumn=c.generatedColumn-1;continue}}b.lastGeneratedColumn=Infinity}};f.prototype.originalPositionFor=function(a){var f={generatedLine:d.getArg(a,"line"),generatedColumn:d.getArg(a,"column")};a=this._findMapping(f,this._generatedMappings,"generatedLine","generatedColumn",d.compareByGeneratedPositionsDeflated,d.getArg(a,"bias",b.GREATEST_LOWER_BOUND));if(0<=a&&(a=this._generatedMappings[a],
+a.generatedLine===f.generatedLine)){f=d.getArg(a,"source",null);null!==f&&(f=this._sources.at(f),f=d.computeSourceURL(this.sourceRoot,f,this._sourceMapURL));var c=d.getArg(a,"name",null);null!==c&&(c=this._names.at(c));return{source:f,line:d.getArg(a,"originalLine",null),column:d.getArg(a,"originalColumn",null),name:c}}return{source:null,line:null,column:null,name:null}};f.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(a){return null==
+a}):!1};f.prototype.sourceContentFor=function(a,b){if(!this.sourcesContent)return null;var c=a;null!=this.sourceRoot&&(c=d.relative(this.sourceRoot,c));if(this._sources.has(c))return this.sourcesContent[this._sources.indexOf(c)];var n=this.sources,f;for(f=0;f<n.length;++f)if(n[f]==a)return this.sourcesContent[f];var l;if(null!=this.sourceRoot&&(l=d.urlParse(this.sourceRoot))){n=c.replace(/^file:\/\//,"");if("file"==l.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];
+if((!l.path||"/"==l.path)&&this._sources.has("/"+c))return this.sourcesContent[this._sources.indexOf("/"+c)]}if(b)return null;throw Error('"'+c+'" is not in the SourceMap.');};f.prototype.generatedPositionFor=function(a){var f=d.getArg(a,"source");null!=this.sourceRoot&&(f=d.relative(this.sourceRoot,f));if(!this._sources.has(f))return{line:null,column:null,lastColumn:null};f=this._sources.indexOf(f);f={source:f,originalLine:d.getArg(a,"line"),originalColumn:d.getArg(a,"column")};a=this._findMapping(f,
+this._originalMappings,"originalLine","originalColumn",d.compareByOriginalPositions,d.getArg(a,"bias",b.GREATEST_LOWER_BOUND));return 0<=a&&(a=this._originalMappings[a],a.source===f.source)?{line:d.getArg(a,"generatedLine",null),column:d.getArg(a,"generatedColumn",null),lastColumn:d.getArg(a,"lastGeneratedColumn",null)}:{line:null,column:null,lastColumn:null}};m.BasicSourceMapConsumer=f;h.prototype=Object.create(b.prototype);h.prototype.constructor=b;h.prototype._version=3;Object.defineProperty(h.prototype,
+"sources",{get:function(){for(var a=[],b=0;b<this._sections.length;b++)for(var c=0;c<this._sections[b].consumer.sources.length;c++)a.push(this._sections[b].consumer.sources[c]);return a}});h.prototype.originalPositionFor=function(b){var f={generatedLine:d.getArg(b,"line"),generatedColumn:d.getArg(b,"column")},c=a.search(f,this._sections,function(a,b){var c=a.generatedLine-b.generatedOffset.generatedLine;return c?c:a.generatedColumn-b.generatedOffset.generatedColumn});return(c=this._sections[c])?c.consumer.originalPositionFor({line:f.generatedLine-
+(c.generatedOffset.generatedLine-1),column:f.generatedColumn-(c.generatedOffset.generatedLine===f.generatedLine?c.generatedOffset.generatedColumn-1:0),bias:b.bias}):{source:null,line:null,column:null,name:null}};h.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(a){return a.consumer.hasContentsOfAllSources()})};h.prototype.sourceContentFor=function(a,b){for(var c=0;c<this._sections.length;c++){var d=this._sections[c].consumer.sourceContentFor(a,!0);if(d)return d}if(b)return null;
+throw Error('"'+a+'" is not in the SourceMap.');};h.prototype.generatedPositionFor=function(a){for(var b=0;b<this._sections.length;b++){var c=this._sections[b];if(-1!==c.consumer.sources.indexOf(d.getArg(a,"source"))){var f=c.consumer.generatedPositionFor(a);if(f)return{line:f.line+(c.generatedOffset.generatedLine-1),column:f.column+(c.generatedOffset.generatedLine===f.line?c.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}};h.prototype._parseMappings=function(a,b){this.__generatedMappings=
+[];this.__originalMappings=[];for(var c=0;c<this._sections.length;c++)for(var f=this._sections[c],l=f.consumer._generatedMappings,k=0;k<l.length;k++){var u=l[k],h=f.consumer._sources.at(u.source);h=d.computeSourceURL(f.consumer.sourceRoot,h,this._sourceMapURL);this._sources.add(h);h=this._sources.indexOf(h);var t=null;u.name&&(t=f.consumer._names.at(u.name),this._names.add(t),t=this._names.indexOf(t));u={source:h,generatedLine:u.generatedLine+(f.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+
+(f.generatedOffset.generatedLine===u.generatedLine?f.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:t};this.__generatedMappings.push(u);"number"===typeof u.originalLine&&this.__originalMappings.push(u)}r(this.__generatedMappings,d.compareByGeneratedPositionsDeflated);r(this.__originalMappings,d.compareByOriginalPositions)};m.IndexedSourceMapConsumer=h},{"./array-set":9,"./base64-vlq":10,"./binary-search":12,"./quick-sort":14,"./util":18}],16:[function(p,
+v,m){function b(a){a||(a={});this._file=k.getArg(a,"file",null);this._sourceRoot=k.getArg(a,"sourceRoot",null);this._skipValidation=k.getArg(a,"skipValidation",!1);this._sources=new h;this._names=new h;this._mappings=new d;this._sourcesContents=null}var f=p("./base64-vlq"),k=p("./util"),h=p("./array-set").ArraySet,d=p("./mapping-list").MappingList;b.prototype._version=3;b.fromSourceMap=function(a){var d=a.sourceRoot,f=new b({file:a.file,sourceRoot:d});a.eachMapping(function(a){var b={generated:{line:a.generatedLine,
+column:a.generatedColumn}};null!=a.source&&(b.source=a.source,null!=d&&(b.source=k.relative(d,b.source)),b.original={line:a.originalLine,column:a.originalColumn},null!=a.name&&(b.name=a.name));f.addMapping(b)});a.sources.forEach(function(b){var l=b;null!==d&&(l=k.relative(d,b));f._sources.has(l)||f._sources.add(l);l=a.sourceContentFor(b);null!=l&&f.setSourceContent(b,l)});return f};b.prototype.addMapping=function(a){var b=k.getArg(a,"generated"),d=k.getArg(a,"original",null),f=k.getArg(a,"source",
+null);a=k.getArg(a,"name",null);this._skipValidation||this._validateMapping(b,d,f,a);null!=f&&(f=String(f),this._sources.has(f)||this._sources.add(f));null!=a&&(a=String(a),this._names.has(a)||this._names.add(a));this._mappings.add({generatedLine:b.line,generatedColumn:b.column,originalLine:null!=d&&d.line,originalColumn:null!=d&&d.column,source:f,name:a})};b.prototype.setSourceContent=function(a,b){var d=a;null!=this._sourceRoot&&(d=k.relative(this._sourceRoot,d));null!=b?(this._sourcesContents||
+(this._sourcesContents=Object.create(null)),this._sourcesContents[k.toSetString(d)]=b):this._sourcesContents&&(delete this._sourcesContents[k.toSetString(d)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))};b.prototype.applySourceMap=function(a,b,d){var f=b;if(null==b){if(null==a.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');f=a.file}var l=this._sourceRoot;
+null!=l&&(f=k.relative(l,f));var u=new h,c=new h;this._mappings.unsortedForEach(function(b){if(b.source===f&&null!=b.originalLine){var n=a.originalPositionFor({line:b.originalLine,column:b.originalColumn});null!=n.source&&(b.source=n.source,null!=d&&(b.source=k.join(d,b.source)),null!=l&&(b.source=k.relative(l,b.source)),b.originalLine=n.line,b.originalColumn=n.column,null!=n.name&&(b.name=n.name))}n=b.source;null==n||u.has(n)||u.add(n);b=b.name;null==b||c.has(b)||c.add(b)},this);this._sources=u;
+this._names=c;a.sources.forEach(function(b){var c=a.sourceContentFor(b);null!=c&&(null!=d&&(b=k.join(d,b)),null!=l&&(b=k.relative(l,b)),this.setSourceContent(b,c))},this)};b.prototype._validateMapping=function(a,b,d,f){if(b&&"number"!==typeof b.line&&"number"!==typeof b.column)throw 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(!(a&&"line"in a&&"column"in a&&0<a.line&&0<=a.column&&!b&&!d&&!f||a&&"line"in a&&"column"in a&&b&&"line"in b&&"column"in b&&0<a.line&&0<=a.column&&0<b.line&&0<=b.column&&d))throw Error("Invalid mapping: "+JSON.stringify({generated:a,source:d,original:b,name:f}));};b.prototype._serializeMappings=function(){for(var a=0,b=1,d=0,h=0,m=0,p=0,c="",n,x,B,I=this._mappings.toArray(),v=0,K=I.length;v<K;v++){x=I[v];n="";if(x.generatedLine!==b)for(a=0;x.generatedLine!==b;)n+=";",b++;else if(0<v){if(!k.compareByGeneratedPositionsInflated(x,
+I[v-1]))continue;n+=","}n+=f.encode(x.generatedColumn-a);a=x.generatedColumn;null!=x.source&&(B=this._sources.indexOf(x.source),n+=f.encode(B-p),p=B,n+=f.encode(x.originalLine-1-h),h=x.originalLine-1,n+=f.encode(x.originalColumn-d),d=x.originalColumn,null!=x.name&&(x=this._names.indexOf(x.name),n+=f.encode(x-m),m=x));c+=n}return c};b.prototype._generateSourcesContent=function(a,b){return a.map(function(a){if(!this._sourcesContents)return null;null!=b&&(a=k.relative(b,a));a=k.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,
+a)?this._sourcesContents[a]:null},this)};b.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};null!=this._file&&(a.file=this._file);null!=this._sourceRoot&&(a.sourceRoot=this._sourceRoot);this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot));return a};b.prototype.toString=function(){return JSON.stringify(this.toJSON())};m.SourceMapGenerator=b},{"./array-set":9,
+"./base64-vlq":10,"./mapping-list":13,"./util":18}],17:[function(p,v,m){function b(b,a,f,h,k){this.children=[];this.sourceContents={};this.line=null==b?null:b;this.column=null==a?null:a;this.source=null==f?null:f;this.name=null==k?null:k;this.$$$isSourceNode$$$=!0;null!=h&&this.add(h)}var f=p("./source-map-generator").SourceMapGenerator,k=p("./util"),h=/(\r?\n)/;b.fromStringWithSourceMap=function(d,a,f){function l(a,c){if(null===a||void 0===a.source)m.add(c);else{var d=f?k.join(f,a.source):a.source;
+m.add(new b(a.originalLine,a.originalColumn,d,c,a.name))}}var m=new b,t=d.split(h),p=0,c=function(){var a=p<t.length?t[p++]:void 0,b=(p<t.length?t[p++]:void 0)||"";return a+b},n=1,x=0,B=null;a.eachMapping(function(a){if(null!==B)if(n<a.generatedLine)l(B,c()),n++,x=0;else{var b=t[p]||"",d=b.substr(0,a.generatedColumn-x);t[p]=b.substr(a.generatedColumn-x);x=a.generatedColumn;l(B,d);B=a;return}for(;n<a.generatedLine;)m.add(c()),n++;x<a.generatedColumn&&(b=t[p]||"",m.add(b.substr(0,a.generatedColumn)),
+t[p]=b.substr(a.generatedColumn),x=a.generatedColumn);B=a},this);p<t.length&&(B&&l(B,c()),m.add(t.splice(p).join("")));a.sources.forEach(function(b){var c=a.sourceContentFor(b);null!=c&&(null!=f&&(b=k.join(f,b)),m.setSourceContent(b,c))});return m};b.prototype.add=function(b){if(Array.isArray(b))b.forEach(function(a){this.add(a)},this);else if(b.$$$isSourceNode$$$||"string"===typeof b)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(b){if(Array.isArray(b))for(var a=b.length-1;0<=a;a--)this.prepend(b[a]);else if(b.$$$isSourceNode$$$||"string"===typeof b)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(b){for(var a,d=0,f=this.children.length;d<f;d++)a=this.children[d],a.$$$isSourceNode$$$?a.walk(b):""!==a&&b(a,{source:this.source,line:this.line,column:this.column,
+name:this.name})};b.prototype.join=function(b){var a,d=this.children.length;if(0<d){var f=[];for(a=0;a<d-1;a++)f.push(this.children[a]),f.push(b);f.push(this.children[a]);this.children=f}return this};b.prototype.replaceRight=function(b,a){var d=this.children[this.children.length-1];d.$$$isSourceNode$$$?d.replaceRight(b,a):"string"===typeof d?this.children[this.children.length-1]=d.replace(b,a):this.children.push("".replace(b,a));return this};b.prototype.setSourceContent=function(b,a){this.sourceContents[k.toSetString(b)]=
+a};b.prototype.walkSourceContents=function(b){for(var a=0,d=this.children.length;a<d;a++)this.children[a].$$$isSourceNode$$$&&this.children[a].walkSourceContents(b);var f=Object.keys(this.sourceContents);a=0;for(d=f.length;a<d;a++)b(k.fromSetString(f[a]),this.sourceContents[f[a]])};b.prototype.toString=function(){var b="";this.walk(function(a){b+=a});return b};b.prototype.toStringWithSourceMap=function(b){var a="",d=1,h=0,k=new f(b),m=!1,p=null,c=null,n=null,x=null;this.walk(function(b,f){a+=b;null!==
+f.source&&null!==f.line&&null!==f.column?(p===f.source&&c===f.line&&n===f.column&&x===f.name||k.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:d,column:h},name:f.name}),p=f.source,c=f.line,n=f.column,x=f.name,m=!0):m&&(k.addMapping({generated:{line:d,column:h}}),p=null,m=!1);for(var l=0,r=b.length;l<r;l++)10===b.charCodeAt(l)?(d++,h=0,l+1===r?(p=null,m=!1):m&&k.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:d,column:h},name:f.name})):
+h++});this.walkSourceContents(function(a,b){k.setSourceContent(a,b)});return{code:a,map:k}};m.SourceNode=b},{"./source-map-generator":16,"./util":18}],18:[function(p,v,m){function b(a){return(a=a.match(t))?{scheme:a[1],auth:a[2],host:a[3],port:a[4],path:a[5]}:null}function f(a){var b="";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);return b}function k(a){var c=a,d=b(a);if(d){if(!d.path)return a;c=d.path}a=m.isAbsolute(c);
+c=c.split(/\/+/);for(var h,k=0,l=c.length-1;0<=l;l--)h=c[l],"."===h?c.splice(l,1):".."===h?k++:0<k&&(""===h?(c.splice(l+1,k),k=0):(c.splice(l,2),k--));c=c.join("/");""===c&&(c=a?"/":".");return d?(d.path=c,f(d)):c}function h(a,d){""===a&&(a=".");""===d&&(d=".");var c=b(d),n=b(a);n&&(a=n.path||"/");if(c&&!c.scheme)return n&&(c.scheme=n.scheme),f(c);if(c||d.match(z))return d;if(n&&!n.host&&!n.path)return n.host=d,f(n);c="/"===d.charAt(0)?d:k(a.replace(/\/+$/,"")+"/"+d);return n?(n.path=c,f(n)):c}function d(a){return a}
+function a(a){return u(a)?"$"+a:a}function l(a){return u(a)?a.slice(1):a}function u(a){if(!a)return!1;var b=a.length;if(9>b||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}function r(a,b){return a===b?0:null===a?1:null===b?-1:a>b?1:-1}m.getArg=function(a,b,d){if(b in
+a)return a[b];if(3===arguments.length)return d;throw Error('"'+b+'" is a required argument.');};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,z=/^data:.+,.+$/;m.urlParse=b;m.urlGenerate=f;m.normalize=k;m.join=h;m.isAbsolute=function(a){return"/"===a.charAt(0)||t.test(a)};m.relative=function(a,b){""===a&&(a=".");a=a.replace(/\/$/,"");for(var c=0;0!==b.indexOf(a+"/");){var d=a.lastIndexOf("/");if(0>d)return b;a=a.slice(0,d);if(a.match(/^([^\/]+:\/)?\/*$/))return b;++c}return Array(c+
+1).join("../")+b.substr(a.length+1)};p=!("__proto__"in Object.create(null));m.toSetString=p?d:a;m.fromSetString=p?d:l;m.compareByOriginalPositions=function(a,b,d){var c=r(a.source,b.source);if(0!==c)return c;c=a.originalLine-b.originalLine;if(0!==c)return c;c=a.originalColumn-b.originalColumn;if(0!==c||d)return c;c=a.generatedColumn-b.generatedColumn;if(0!==c)return c;c=a.generatedLine-b.generatedLine;return 0!==c?c:r(a.name,b.name)};m.compareByGeneratedPositionsDeflated=function(a,b,d){var c=a.generatedLine-
+b.generatedLine;if(0!==c)return c;c=a.generatedColumn-b.generatedColumn;if(0!==c||d)return c;c=r(a.source,b.source);if(0!==c)return c;c=a.originalLine-b.originalLine;if(0!==c)return c;c=a.originalColumn-b.originalColumn;return 0!==c?c:r(a.name,b.name)};m.compareByGeneratedPositionsInflated=function(a,b){var c=a.generatedLine-b.generatedLine;if(0!==c)return c;c=a.generatedColumn-b.generatedColumn;if(0!==c)return c;c=r(a.source,b.source);if(0!==c)return c;c=a.originalLine-b.originalLine;if(0!==c)return c;
+c=a.originalColumn-b.originalColumn;return 0!==c?c:r(a.name,b.name)};m.parseSourceMapInput=function(a){return JSON.parse(a.replace(/^\)]}'[^\n]*\n/,""))};m.computeSourceURL=function(a,d,l){d=d||"";a&&("/"!==a[a.length-1]&&"/"!==d[0]&&(a+="/"),d=a+d);if(l){a=b(l);if(!a)throw Error("sourceMapURL could not be parsed");a.path&&(l=a.path.lastIndexOf("/"),0<=l&&(a.path=a.path.substring(0,l+1)));d=h(f(a),d)}return k(d)}},{}],19:[function(p,v,m){m.SourceMapGenerator=p("./lib/source-map-generator").SourceMapGenerator;
+m.SourceMapConsumer=p("./lib/source-map-consumer").SourceMapConsumer;m.SourceNode=p("./lib/source-node").SourceNode},{"./lib/source-map-consumer":15,"./lib/source-map-generator":16,"./lib/source-node":17}],20:[function(p,v,m){(function(b){function f(){return"browser"===J?!0:"node"===J?!1:"undefined"!==typeof window&&"function"===typeof XMLHttpRequest&&!(window.require&&window.module&&window.process&&"renderer"===window.process.type)}function k(a){return function(b){for(var c=0;c<a.length;c++){var e=
+a[c](b);if(e)return e}return null}}function h(a,b){if(!a)return b;var c=x.dirname(a),e=/^\w+:\/\/[^\/]*/.exec(c);e=e?e[0]:"";var d=c.slice(e.length);return e&&/^\/\w:/.test(d)?(e+="/",e+x.resolve(c.slice(e.length),b).replace(/\\/g,"/")):e+x.resolve(c.slice(e.length),b)}function d(a){var b=F[a.source];if(!b){var c=E(a.source);c?(b=F[a.source]={url:c.url,map:new n(c.map)},b.map.sourcesContent&&b.map.sources.forEach(function(a,c){var e=b.map.sourcesContent[c];if(e){var d=h(b.url,a);C[d]=e}})):b=F[a.source]=
+{url:null,map:null}}return b&&b.map&&(c=b.map.originalPositionFor(a),null!==c.source)?(c.source=h(b.url,c.source),c):a}function a(b){var c=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(b);return c?(b=d({source:c[2],line:+c[3],column:c[4]-1}),"eval at "+c[1]+" ("+b.source+":"+b.line+":"+(b.column+1)+")"):(c=/^eval at ([^(]+) \((.+)\)$/.exec(b))?"eval at "+c[1]+" ("+a(c[2])+")":b}function l(){var a="";if(this.isNative())a="native";else{var b=this.getScriptNameOrSourceURL();!b&&this.isEval()&&(a=this.getEvalOrigin(),
+a+=", ");a=b?a+b:a+"<anonymous>";b=this.getLineNumber();null!=b&&(a+=":"+b,(b=this.getColumnNumber())&&(a+=":"+b))}b="";var c=this.getFunctionName(),d=!0,f=this.isConstructor();if(this.isToplevel()||f)f?b+="new "+(c||"<anonymous>"):c?b+=c:(b+=a,d=!1);else{f=this.getTypeName();"[object Object]"===f&&(f="null");var h=this.getMethodName();c?(f&&0!=c.indexOf(f)&&(b+=f+"."),b+=c,h&&c.indexOf("."+h)!=c.length-h.length-1&&(b+=" [as "+h+"]")):b+=f+"."+(h||"<anonymous>")}d&&(b+=" ("+a+")");return b}function u(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=l;return b}function r(b){if(b.isNative())return b;var c=b.getFileName()||b.getScriptNameOrSourceURL();if(c){var e=b.getLineNumber(),h=b.getColumnNumber()-1;1===e&&62<h&&!f()&&!b.isEval()&&(h-=62);var k=d({source:c,line:e,column:h});b=u(b);var l=b.getFunctionName;b.getFunctionName=function(){return k.name||l()};b.getFileName=function(){return k.source};
+b.getLineNumber=function(){return k.line};b.getColumnNumber=function(){return k.column+1};b.getScriptNameOrSourceURL=function(){return k.source};return b}var m=b.isEval()&&b.getEvalOrigin();m&&(m=a(m),b=u(b),b.getEvalOrigin=function(){return m});return b}function t(a,b){L&&(C={},F={});return a+b.map(function(a){return"\n at "+r(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];var d=C[a];if(!d&&B&&B.existsSync(a))try{d=B.readFileSync(a,
+"utf8")}catch(Q){d=""}if(d&&(d=d.split(/(?:\r\n|\r|\n)/)[c-1]))return a+":"+c+"\n"+d+"\n"+Array(b).join(" ")+"^"}return null}function c(){var a=b.emit;b.emit=function(c){if("uncaughtException"===c){var d=arguments[1]&&arguments[1].stack,e=0<this.listeners(c).length;if(d&&!e){d=arguments[1];e=v(d);b.stderr._handle&&b.stderr._handle.setBlocking&&b.stderr._handle.setBlocking(!0);e&&(console.error(),console.error(e));console.error(d.stack);b.exit(1);return}}return a.apply(this,arguments)}}var n=p("source-map").SourceMapConsumer,
+x=p("path");try{var B=p("fs");B.existsSync&&B.readFileSync||(B=null)}catch(e){}var I=p("buffer-from"),M=!1,K=!1,L=!1,J="auto",C={},F={},H=/^data:application\/json[^,]+base64,/,A=[],D=[],q=k(A);A.push(function(a){a=a.trim();/^file:/.test(a)&&(a=a.replace(/file:\/\/\/(\w:)?/,function(a,b){return b?"":"/"}));if(a in C)return C[a];var b="";try{if(B)B.existsSync(a)&&(b=B.readFileSync(a,"utf8"));else{var c=new XMLHttpRequest;c.open("GET",a,!1);c.send(null);4===c.readyState&&200===c.status&&(b=c.responseText)}}catch(P){}return C[a]=
+b});var E=k(D);D.push(function(a){a:{if(f())try{var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);var c=b.getResponseHeader("SourceMap")||b.getResponseHeader("X-SourceMap");if(c){var d=c;break a}}catch(R){}d=q(a);b=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/)[ \t]*$)/mg;for(var e;c=b.exec(d);)e=c;d=e?e[1]:null}if(!d)return null;H.test(d)?(e=d.slice(d.indexOf(",")+1),e=I(e,"base64").toString(),d=a):(d=h(a,d),e=q(d));return e?
+{url:d,map:e}:null});var G=A.slice(0),w=D.slice(0);m.wrapCallSite=r;m.getErrorSource=v;m.mapSourcePosition=d;m.retrieveSourceMap=E;m.install=function(a){a=a||{};if(a.environment&&(J=a.environment,-1===["node","browser","auto"].indexOf(J)))throw Error("environment "+J+" was unknown. Available options are {auto, browser, node}");a.retrieveFile&&(a.overrideRetrieveFile&&(A.length=0),A.unshift(a.retrieveFile));a.retrieveSourceMap&&(a.overrideRetrieveSourceMap&&(D.length=0),D.unshift(a.retrieveSourceMap));
+if(a.hookRequire&&!f()){try{var d=p("module")}catch(P){}var e=d.prototype._compile;e.__sourceMapSupport||(d.prototype._compile=function(a,b){C[b]=a;F[b]=void 0;return e.call(this,a,b)},d.prototype._compile.__sourceMapSupport=!0)}L||(L="emptyCacheBetweenOperations"in a?a.emptyCacheBetweenOperations:!1);M||(M=!0,Error.prepareStackTrace=t);!K&&("handleUncaughtExceptions"in a?a.handleUncaughtExceptions:1)&&"object"===typeof b&&null!==b&&"function"===typeof b.on&&(K=!0,c())};m.resetRetrieveHandlers=function(){A.length=
+0;D.length=0;A=G.slice(0);D=w.slice(0)}}).call(this,p("node_modules/process/browser.js"))},{"node_modules/process/browser.js":8,"buffer-from":4,fs:3,module:3,path:7,"source-map":19}]},{},[1]);return N});
diff --git a/node_modules/source-map-support/package.json b/node_modules/source-map-support/package.json
index de64c2530..052756d17 100644
--- a/node_modules/source-map-support/package.json
+++ b/node_modules/source-map-support/package.json
@@ -1,7 +1,7 @@
{
"name": "source-map-support",
"description": "Fixes stack traces for files with source maps",
- "version": "0.4.18",
+ "version": "0.5.9",
"main": "./source-map-support.js",
"scripts": {
"build": "node build.js",
@@ -10,7 +10,8 @@
"test": "mocha"
},
"dependencies": {
- "source-map": "^0.5.6"
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
},
"devDependencies": {
"browserify": "3.44.2",
diff --git a/node_modules/source-map-support/source-map-support.js b/node_modules/source-map-support/source-map-support.js
index abd888604..06ac0f9ba 100644
--- a/node_modules/source-map-support/source-map-support.js
+++ b/node_modules/source-map-support/source-map-support.js
@@ -12,6 +12,8 @@ try {
/* nop */
}
+var bufferFrom = require('buffer-from');
+
// Only install once if called multiple times
var errorFormatterInstalled = false;
var uncaughtShimInstalled = false;
@@ -64,39 +66,52 @@ var retrieveFile = handlerExec(retrieveFileHandlers);
retrieveFileHandlers.push(function(path) {
// Trim the path to make sure there is no extra whitespace.
path = path.trim();
+ if (/^file:/.test(path)) {
+ // existsSync/readFileSync can't handle file protocol, but once stripped, it works
+ path = path.replace(/file:\/\/\/(\w:)?/, function(protocol, drive) {
+ return drive ?
+ '' : // file:///C:/dir/file -> C:/dir/file
+ '/'; // file:///root-dir/file -> /root-dir/file
+ });
+ }
if (path in fileContentsCache) {
return fileContentsCache[path];
}
- var contents = null;
- if (!fs) {
- // Use SJAX if we are in the browser
- var xhr = new XMLHttpRequest();
- xhr.open('GET', path, false);
- xhr.send(null);
- var contents = null
- if (xhr.readyState === 4 && xhr.status === 200) {
- contents = xhr.responseText
- }
- } else if (fs.existsSync(path)) {
- // Otherwise, use the filesystem
- try {
+ var contents = '';
+ try {
+ if (!fs) {
+ // Use SJAX if we are in the browser
+ var xhr = new XMLHttpRequest();
+ xhr.open('GET', path, /** async */ false);
+ xhr.send(null);
+ if (xhr.readyState === 4 && xhr.status === 200) {
+ contents = xhr.responseText;
+ }
+ } else if (fs.existsSync(path)) {
+ // Otherwise, use the filesystem
contents = fs.readFileSync(path, 'utf8');
- } catch (er) {
- contents = '';
}
+ } catch (er) {
+ /* ignore any errors */
}
return fileContentsCache[path] = contents;
});
// Support URLs relative to a directory, but be careful about a protocol prefix
-// in case we are in the browser (i.e. directories may start with "http://")
+// in case we are in the browser (i.e. directories may start with "http://" or "file:///")
function supportRelativeURL(file, url) {
if (!file) return url;
var dir = path.dirname(file);
var match = /^\w+:\/\/[^\/]*/.exec(dir);
var protocol = match ? match[0] : '';
+ var startPath = dir.slice(protocol.length);
+ if (protocol && /^\/\w\:/.test(startPath)) {
+ // handle file:///C:/ paths
+ protocol += '/';
+ return protocol + path.resolve(dir.slice(protocol.length), url).replace(/\\/g, '/');
+ }
return protocol + path.resolve(dir.slice(protocol.length), url);
}
@@ -146,7 +161,7 @@ retrieveMapHandlers.push(function(source) {
if (reSourceMap.test(sourceMappingURL)) {
// Support source map URL as a data url
var rawData = sourceMappingURL.slice(sourceMappingURL.indexOf(',') + 1);
- sourceMapData = new Buffer(rawData, "base64").toString();
+ sourceMapData = bufferFrom(rawData, "base64").toString();
sourceMappingURL = source;
} else {
// Support source map URLs relative to the source URL
@@ -346,6 +361,8 @@ function wrapCallSite(frame) {
column: column
});
frame = cloneCallSite(frame);
+ var originalFunctionName = frame.getFunctionName;
+ frame.getFunctionName = function() { return position.name || originalFunctionName(); };
frame.getFileName = function() { return position.source; };
frame.getLineNumber = function() { return position.line; };
frame.getColumnNumber = function() { return position.column + 1; };
@@ -414,6 +431,11 @@ function getErrorSource(error) {
function printErrorAndExit (error) {
var source = getErrorSource(error);
+ // Ensure error is printed synchronously and not truncated
+ if (process.stderr._handle && process.stderr._handle.setBlocking) {
+ process.stderr._handle.setBlocking(true);
+ }
+
if (source) {
console.error();
console.error(source);
@@ -440,6 +462,9 @@ function shimEmitUncaughtException () {
};
}
+var originalRetrieveFileHandlers = retrieveFileHandlers.slice(0);
+var originalRetrieveMapHandlers = retrieveMapHandlers.slice(0);
+
exports.wrapCallSite = wrapCallSite;
exports.getErrorSource = getErrorSource;
exports.mapSourcePosition = mapSourcePosition;
@@ -525,3 +550,11 @@ exports.install = function(options) {
}
}
};
+
+exports.resetRetrieveHandlers = function() {
+ retrieveFileHandlers.length = 0;
+ retrieveMapHandlers.length = 0;
+
+ retrieveFileHandlers = originalRetrieveFileHandlers.slice(0);
+ retrieveMapHandlers = originalRetrieveMapHandlers.slice(0);
+}