90 lines
42 KiB
JavaScript
90 lines
42 KiB
JavaScript
/*
|
|
* Support for source maps in V8 stack traces
|
|
* https://github.com/evanw/node-source-map-support
|
|
*/
|
|
(this.define||function(K,O){this.sourceMapSupport=O()})("browser-source-map-support",function(K){(function g(r,m,e){function p(h,d){if(!m[h]){if(!r[h]){var l="function"==typeof require&&require;if(!d&&l)return l(h,!0);if(v)return v(h,!0);throw Error("Cannot find module '"+h+"'");}l=m[h]={exports:{}};r[h][0].call(l.exports,function(d){var c=r[h][1][d];return p(c?c:d)},l,l.exports,g,r,m,e)}return m[h].exports}for(var v="function"==typeof require&&require,A=0;A<e.length;A++)p(e[A]);return p})({1:[function(g,
|
|
r,m){K=g("./source-map-support")},{"./source-map-support":18}],2:[function(g,r,m){},{}],3:[function(g,r,m){function e(f,n,x){if(!(this instanceof e))return new e(f,n,x);var a=typeof f;if("base64"===n&&"string"===a)for(f=f.trim?f.trim():f.replace(/^\s+|\s+$/g,"");0!==f.length%4;)f+="=";var b;if("number"===a)b=w(f);else if("string"===a)b=e.byteLength(f,n);else if("object"===a)b=w(f.length);else throw Error("First argument needs to be a number, array or string.");var c;e._useTypedArrays?c=e._augment(new Uint8Array(b)):
|
|
(c=this,c.length=b,c._isBuffer=!0);if(e._useTypedArrays&&"number"===typeof f.byteLength)c._set(f);else{var d=f;if(y(d)||e.isBuffer(d)||d&&"object"===typeof d&&"number"===typeof d.length)for(n=0;n<b;n++)e.isBuffer(f)?c[n]=f.readUInt8(n):c[n]=f[n];else if("string"===a)c.write(f,0,n);else if("number"===a&&!e._useTypedArrays&&!x)for(n=0;n<b;n++)c[n]=0}return c}function p(f,n,x){var a="";for(x=Math.min(f.length,x);n<x;n++)a+=String.fromCharCode(f[n]);return a}function v(f,n,x,a){a||(q("boolean"===typeof x,
|
|
"missing or invalid endian"),q(void 0!==n&&null!==n,"missing offset"),q(n+1<f.length,"Trying to read beyond buffer length"));a=f.length;if(!(n>=a))return x?(x=f[n],n+1<a&&(x|=f[n+1]<<8)):(x=f[n]<<8,n+1<a&&(x|=f[n+1])),x}function A(f,n,a,c){c||(q("boolean"===typeof a,"missing or invalid endian"),q(void 0!==n&&null!==n,"missing offset"),q(n+3<f.length,"Trying to read beyond buffer length"));c=f.length;if(!(n>=c)){var b;a?(n+2<c&&(b=f[n+2]<<16),n+1<c&&(b|=f[n+1]<<8),b|=f[n],n+3<c&&(b+=f[n+3]<<24>>>0)):
|
|
(n+1<c&&(b=f[n+1]<<16),n+2<c&&(b|=f[n+2]<<8),n+3<c&&(b|=f[n+3]),b+=f[n]<<24>>>0);return b}}function h(f,n,a,b){b||(q("boolean"===typeof a,"missing or invalid endian"),q(void 0!==n&&null!==n,"missing offset"),q(n+1<f.length,"Trying to read beyond buffer length"));if(!(n>=f.length))return f=v(f,n,a,!0),f&32768?-1*(65535-f+1):f}function d(f,n,a,b){b||(q("boolean"===typeof a,"missing or invalid endian"),q(void 0!==n&&null!==n,"missing offset"),q(n+3<f.length,"Trying to read beyond buffer length"));if(!(n>=
|
|
f.length))return f=A(f,n,a,!0),f&2147483648?-1*(4294967295-f+1):f}function l(f,n,a,b){b||(q("boolean"===typeof a,"missing or invalid endian"),q(n+3<f.length,"Trying to read beyond buffer length"));return H.read(f,n,a,23,4)}function k(f,n,a,b){b||(q("boolean"===typeof a,"missing or invalid endian"),q(n+7<f.length,"Trying to read beyond buffer length"));return H.read(f,n,a,52,8)}function c(f,n,a,b,c){c||(q(void 0!==n&&null!==n,"missing value"),q("boolean"===typeof b,"missing or invalid endian"),q(void 0!==
|
|
a&&null!==a,"missing offset"),q(a+1<f.length,"trying to write beyond buffer length"),L(n,65535));var d=f.length;if(!(a>=d))for(c=0,d=Math.min(d-a,2);c<d;c++)f[a+c]=(n&255<<8*(b?c:1-c))>>>8*(b?c:1-c)}function a(f,n,a,b,c){c||(q(void 0!==n&&null!==n,"missing value"),q("boolean"===typeof b,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+3<f.length,"trying to write beyond buffer length"),L(n,4294967295));var d=f.length;if(!(a>=d))for(c=0,d=Math.min(d-a,4);c<d;c++)f[a+c]=n>>>
|
|
8*(b?c:3-c)&255}function b(f,n,a,b,d){d||(q(void 0!==n&&null!==n,"missing value"),q("boolean"===typeof b,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+1<f.length,"Trying to write beyond buffer length"),M(n,32767,-32768));a>=f.length||(0<=n?c(f,n,a,b,d):c(f,65535+n+1,a,b,d))}function z(f,n,b,c,d){d||(q(void 0!==n&&null!==n,"missing value"),q("boolean"===typeof c,"missing or invalid endian"),q(void 0!==b&&null!==b,"missing offset"),q(b+3<f.length,"Trying to write beyond buffer length"),
|
|
M(n,2147483647,-2147483648));b>=f.length||(0<=n?a(f,n,b,c,d):a(f,4294967295+n+1,b,c,d))}function D(f,n,a,b,c){c||(q(void 0!==n&&null!==n,"missing value"),q("boolean"===typeof b,"missing or invalid endian"),q(void 0!==a&&null!==a,"missing offset"),q(a+3<f.length,"Trying to write beyond buffer length"),N(n,3.4028234663852886E38,-3.4028234663852886E38));a>=f.length||H.write(f,n,a,b,23,4)}function B(f,n,a,b,c){c||(q(void 0!==n&&null!==n,"missing value"),q("boolean"===typeof b,"missing or invalid endian"),
|
|
q(void 0!==a&&null!==a,"missing offset"),q(a+7<f.length,"Trying to write beyond buffer length"),N(n,1.7976931348623157E308,-1.7976931348623157E308));a>=f.length||H.write(f,n,a,b,52,8)}function E(f,a,b){if("number"!==typeof f)return b;f=~~f;if(f>=a)return a;if(0<=f)return f;f+=a;return 0<=f?f:0}function w(f){f=~~Math.ceil(+f);return 0>f?0:f}function y(f){return(Array.isArray||function(f){return"[object Array]"===Object.prototype.toString.call(f)})(f)}function G(f){return 16>f?"0"+f.toString(16):f.toString(16)}
|
|
function t(f){for(var a=[],b=0;b<f.length;b++){var c=f.charCodeAt(b);if(127>=c)a.push(f.charCodeAt(b));else{var d=b;55296<=c&&57343>=c&&b++;c=encodeURIComponent(f.slice(d,b+1)).substr(1).split("%");for(d=0;d<c.length;d++)a.push(parseInt(c[d],16))}}return a}function F(f){for(var a=[],b=0;b<f.length;b++)a.push(f.charCodeAt(b)&255);return a}function C(f,a,b,c){for(var d=0;d<c&&!(d+b>=a.length||d>=f.length);d++)a[d+b]=f[d];return d}function I(f){try{return decodeURIComponent(f)}catch(a){return String.fromCharCode(65533)}}
|
|
function L(f,a){q("number"===typeof f,"cannot write a non-number as a number");q(0<=f,"specified a negative value for writing an unsigned value");q(f<=a,"value is larger than maximum value for type");q(Math.floor(f)===f,"value has a fractional component")}function M(f,a,b){q("number"===typeof f,"cannot write a non-number as a number");q(f<=a,"value larger than maximum allowed value");q(f>=b,"value smaller than minimum allowed value");q(Math.floor(f)===f,"value has a fractional component")}function N(f,
|
|
a,b){q("number"===typeof f,"cannot write a non-number as a number");q(f<=a,"value larger than maximum allowed value");q(f>=b,"value smaller than minimum allowed value")}function q(f,a){if(!f)throw Error(a||"Failed assertion");}var J=g("base64-js"),H=g("ieee754");m.Buffer=e;m.SlowBuffer=e;m.INSPECT_MAX_BYTES=50;e.poolSize=8192;e._useTypedArrays=function(){try{var f=new ArrayBuffer(0),a=new Uint8Array(f);a.foo=function(){return 42};return 42===a.foo()&&"function"===typeof a.subarray}catch(b){return!1}}();
|
|
e.isEncoding=function(f){switch(String(f).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}};e.isBuffer=function(f){return!(null===f||void 0===f||!f._isBuffer)};e.byteLength=function(f,a){var b;f+="";switch(a||"utf8"){case "hex":b=f.length/2;break;case "utf8":case "utf-8":b=t(f).length;break;case "ascii":case "binary":case "raw":b=f.length;break;case "base64":b=J.toByteArray(f).length;
|
|
break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":b=2*f.length;break;default:throw Error("Unknown encoding");}return b};e.concat=function(f,a){q(y(f),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array.");if(0===f.length)return new e(0);if(1===f.length)return f[0];var b;if("number"!==typeof a)for(b=a=0;b<f.length;b++)a+=f[b].length;var c=new e(a),d=0;for(b=0;b<f.length;b++){var l=f[b];l.copy(c,d);d+=l.length}return c};e.prototype.write=function(f,a,b,c){if(isFinite(a))isFinite(b)||
|
|
(c=b,b=void 0);else{var d=c;c=a;a=b;b=d}a=Number(a)||0;d=this.length-a;b?(b=Number(b),b>d&&(b=d)):b=d;c=String(c||"utf8").toLowerCase();switch(c){case "hex":a=Number(a)||0;c=this.length-a;b?(b=Number(b),b>c&&(b=c)):b=c;c=f.length;q(0===c%2,"Invalid hex string");b>c/2&&(b=c/2);for(c=0;c<b;c++)d=parseInt(f.substr(2*c,2),16),q(!isNaN(d),"Invalid hex string"),this[a+c]=d;e._charsWritten=2*c;f=c;break;case "utf8":case "utf-8":f=e._charsWritten=C(t(f),this,a,b);break;case "ascii":f=e._charsWritten=C(F(f),
|
|
this,a,b);break;case "binary":f=e._charsWritten=C(F(f),this,a,b);break;case "base64":f=e._charsWritten=C(J.toByteArray(f),this,a,b);break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":for(var l,d=[],k=0;k<f.length;k++)l=f.charCodeAt(k),c=l>>8,l%=256,d.push(l),d.push(c);f=e._charsWritten=C(d,this,a,b);break;default:throw Error("Unknown encoding");}return f};e.prototype.toString=function(f,a,b){f=String(f||"utf8").toLowerCase();a=Number(a)||0;b=void 0!==b?Number(b):b=this.length;if(b===a)return"";
|
|
switch(f){case "hex":f=a;a=this.length;if(!f||0>f)f=0;if(!b||0>b||b>a)b=a;for(a="";f<b;f++)a+=G(this[f]);b=a;break;case "utf8":case "utf-8":var c=a;a=f="";for(b=Math.min(this.length,b);c<b;c++)127>=this[c]?(f+=I(a)+String.fromCharCode(this[c]),a=""):a+="%"+this[c].toString(16);b=f+I(a);break;case "ascii":b=p(this,a,b);break;case "binary":b=p(this,a,b);break;case "base64":f=a;b=0===f&&b===this.length?J.fromByteArray(this):J.fromByteArray(this.slice(f,b));break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":b=
|
|
this.slice(a,b);f="";for(a=0;a<b.length;a+=2)f+=String.fromCharCode(b[a]+256*b[a+1]);b=f;break;default:throw Error("Unknown encoding");}return b};e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};e.prototype.copy=function(a,b,c,d){c||(c=0);d||0===d||(d=this.length);b||(b=0);if(d!==c&&0!==a.length&&0!==this.length)if(q(d>=c,"sourceEnd < sourceStart"),q(0<=b&&b<a.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),a.length-b<d-c&&(d=a.length-b+c),d-=c,100>d||!e._useTypedArrays)for(var l=0;l<d;l++)a[l+b]=this[l+c];else a._set(this.subarray(c,c+d),b)};e.prototype.slice=function(a,b){var c=this.length;a=E(a,c,0);b=E(b,c,c);if(e._useTypedArrays)return e._augment(this.subarray(a,b));for(var c=b-a,d=new e(c,void 0,!0),l=0;l<c;l++)d[l]=this[l+a];return d};e.prototype.get=function(a){console.log(".get() is deprecated. Access using array indexes instead.");
|
|
return this.readUInt8(a)};e.prototype.set=function(a,b){console.log(".set() is deprecated. Access using array indexes instead.");return this.writeUInt8(a,b)};e.prototype.readUInt8=function(a,b){b||(q(void 0!==a&&null!==a,"missing offset"),q(a<this.length,"Trying to read beyond buffer length"));if(!(a>=this.length))return this[a]};e.prototype.readUInt16LE=function(a,b){return v(this,a,!0,b)};e.prototype.readUInt16BE=function(a,b){return v(this,a,!1,b)};e.prototype.readUInt32LE=function(a,b){return A(this,
|
|
a,!0,b)};e.prototype.readUInt32BE=function(a,b){return A(this,a,!1,b)};e.prototype.readInt8=function(a,b){b||(q(void 0!==a&&null!==a,"missing offset"),q(a<this.length,"Trying to read beyond buffer length"));if(!(a>=this.length))return this[a]&128?-1*(255-this[a]+1):this[a]};e.prototype.readInt16LE=function(a,b){return h(this,a,!0,b)};e.prototype.readInt16BE=function(a,b){return h(this,a,!1,b)};e.prototype.readInt32LE=function(a,b){return d(this,a,!0,b)};e.prototype.readInt32BE=function(a,b){return d(this,
|
|
a,!1,b)};e.prototype.readFloatLE=function(a,b){return l(this,a,!0,b)};e.prototype.readFloatBE=function(a,b){return l(this,a,!1,b)};e.prototype.readDoubleLE=function(a,b){return k(this,a,!0,b)};e.prototype.readDoubleBE=function(a,b){return k(this,a,!1,b)};e.prototype.writeUInt8=function(a,b,c){c||(q(void 0!==a&&null!==a,"missing value"),q(void 0!==b&&null!==b,"missing offset"),q(b<this.length,"trying to write beyond buffer length"),L(a,255));b>=this.length||(this[b]=a)};e.prototype.writeUInt16LE=function(a,
|
|
b,d){c(this,a,b,!0,d)};e.prototype.writeUInt16BE=function(a,b,d){c(this,a,b,!1,d)};e.prototype.writeUInt32LE=function(b,c,d){a(this,b,c,!0,d)};e.prototype.writeUInt32BE=function(b,c,d){a(this,b,c,!1,d)};e.prototype.writeInt8=function(a,b,c){c||(q(void 0!==a&&null!==a,"missing value"),q(void 0!==b&&null!==b,"missing offset"),q(b<this.length,"Trying to write beyond buffer length"),M(a,127,-128));b>=this.length||(0<=a?this.writeUInt8(a,b,c):this.writeUInt8(255+a+1,b,c))};e.prototype.writeInt16LE=function(a,
|
|
c,d){b(this,a,c,!0,d)};e.prototype.writeInt16BE=function(a,c,d){b(this,a,c,!1,d)};e.prototype.writeInt32LE=function(a,b,c){z(this,a,b,!0,c)};e.prototype.writeInt32BE=function(a,b,c){z(this,a,b,!1,c)};e.prototype.writeFloatLE=function(a,b,c){D(this,a,b,!0,c)};e.prototype.writeFloatBE=function(a,b,c){D(this,a,b,!1,c)};e.prototype.writeDoubleLE=function(a,b,c){B(this,a,b,!0,c)};e.prototype.writeDoubleBE=function(a,b,c){B(this,a,b,!1,c)};e.prototype.fill=function(a,b,c){a||(a=0);b||(b=0);c||(c=this.length);
|
|
"string"===typeof a&&(a=a.charCodeAt(0));q("number"===typeof a&&!isNaN(a),"value is not a number");q(c>=b,"end < start");if(c!==b&&0!==this.length)for(q(0<=b&&b<this.length,"start out of bounds"),q(0<=c&&c<=this.length,"end out of bounds");b<c;b++)this[b]=a};e.prototype.inspect=function(){for(var a=[],b=this.length,c=0;c<b;c++)if(a[c]=G(this[c]),c===m.INSPECT_MAX_BYTES){a[c+1]="...";break}return"<Buffer "+a.join(" ")+">"};e.prototype.toArrayBuffer=function(){if("undefined"!==typeof Uint8Array){if(e._useTypedArrays)return(new e(this)).buffer;
|
|
for(var a=new Uint8Array(this.length),b=0,c=a.length;b<c;b+=1)a[b]=this[b];return a.buffer}throw Error("Buffer.toArrayBuffer not supported in this browser");};var u=e.prototype;e._augment=function(a){a._isBuffer=!0;a._get=a.get;a._set=a.set;a.get=u.get;a.set=u.set;a.write=u.write;a.toString=u.toString;a.toLocaleString=u.toString;a.toJSON=u.toJSON;a.copy=u.copy;a.slice=u.slice;a.readUInt8=u.readUInt8;a.readUInt16LE=u.readUInt16LE;a.readUInt16BE=u.readUInt16BE;a.readUInt32LE=u.readUInt32LE;a.readUInt32BE=
|
|
u.readUInt32BE;a.readInt8=u.readInt8;a.readInt16LE=u.readInt16LE;a.readInt16BE=u.readInt16BE;a.readInt32LE=u.readInt32LE;a.readInt32BE=u.readInt32BE;a.readFloatLE=u.readFloatLE;a.readFloatBE=u.readFloatBE;a.readDoubleLE=u.readDoubleLE;a.readDoubleBE=u.readDoubleBE;a.writeUInt8=u.writeUInt8;a.writeUInt16LE=u.writeUInt16LE;a.writeUInt16BE=u.writeUInt16BE;a.writeUInt32LE=u.writeUInt32LE;a.writeUInt32BE=u.writeUInt32BE;a.writeInt8=u.writeInt8;a.writeInt16LE=u.writeInt16LE;a.writeInt16BE=u.writeInt16BE;
|
|
a.writeInt32LE=u.writeInt32LE;a.writeInt32BE=u.writeInt32BE;a.writeFloatLE=u.writeFloatLE;a.writeFloatBE=u.writeFloatBE;a.writeDoubleLE=u.writeDoubleLE;a.writeDoubleBE=u.writeDoubleBE;a.fill=u.fill;a.inspect=u.inspect;a.toArrayBuffer=u.toArrayBuffer;return a}},{"base64-js":4,ieee754:5}],4:[function(g,r,m){(function(e){function p(e){e=e.charCodeAt(0);if(43===e)return 62;if(47===e)return 63;if(48>e)return-1;if(58>e)return e-48+52;if(91>e)return e-65;if(123>e)return e-97+26}var v="undefined"!==typeof Uint8Array?
|
|
Uint8Array:Array;e.toByteArray=function(e){function h(c){a[b++]=c}var d,l,k,c,a;if(0<e.length%4)throw Error("Invalid string. Length must be a multiple of 4");d=e.length;c="="===e.charAt(d-2)?2:"="===e.charAt(d-1)?1:0;a=new v(3*e.length/4-c);l=0<c?e.length-4:e.length;var b=0;for(d=0;d<l;d+=4)k=p(e.charAt(d))<<18|p(e.charAt(d+1))<<12|p(e.charAt(d+2))<<6|p(e.charAt(d+3)),h((k&16711680)>>16),h((k&65280)>>8),h(k&255);2===c?(k=p(e.charAt(d))<<2|p(e.charAt(d+1))>>4,h(k&255)):1===c&&(k=p(e.charAt(d))<<10|
|
|
p(e.charAt(d+1))<<4|p(e.charAt(d+2))>>2,h(k>>8&255),h(k&255));return a};e.fromByteArray=function(e){var h,d=e.length%3,l="",k,c;h=0;for(c=e.length-d;h<c;h+=3)k=(e[h]<<16)+(e[h+1]<<8)+e[h+2],k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(k>>18&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(k>>12&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(k>>6&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(k&
|
|
63),l+=k;switch(d){case 1:k=e[e.length-1];l+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(k>>2);l+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(k<<4&63);l+="==";break;case 2:k=(e[e.length-2]<<8)+e[e.length-1],l+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(k>>10),l+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(k>>4&63),l+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(k<<
|
|
2&63),l+="="}return l}})("undefined"===typeof m?this.base64js={}:m)},{}],5:[function(g,r,m){m.read=function(e,p,v,g,h){var d;d=8*h-g-1;var l=(1<<d)-1,k=l>>1,c=-7;h=v?h-1:0;var a=v?-1:1,b=e[p+h];h+=a;v=b&(1<<-c)-1;b>>=-c;for(c+=d;0<c;v=256*v+e[p+h],h+=a,c-=8);d=v&(1<<-c)-1;v>>=-c;for(c+=g;0<c;d=256*d+e[p+h],h+=a,c-=8);if(0===v)v=1-k;else{if(v===l)return d?NaN:Infinity*(b?-1:1);d+=Math.pow(2,g);v-=k}return(b?-1:1)*d*Math.pow(2,v-g)};m.write=function(e,p,v,g,h,d){var l,k=8*d-h-1,c=(1<<k)-1,a=c>>1,b=
|
|
23===h?Math.pow(2,-24)-Math.pow(2,-77):0;d=g?0:d-1;var z=g?1:-1,D=0>p||0===p&&0>1/p?1:0;p=Math.abs(p);isNaN(p)||Infinity===p?(p=isNaN(p)?1:0,g=c):(g=Math.floor(Math.log(p)/Math.LN2),1>p*(l=Math.pow(2,-g))&&(g--,l*=2),p=1<=g+a?p+b/l:p+b*Math.pow(2,1-a),2<=p*l&&(g++,l/=2),g+a>=c?(p=0,g=c):1<=g+a?(p=(p*l-1)*Math.pow(2,h),g+=a):(p=p*Math.pow(2,a-1)*Math.pow(2,h),g=0));for(;8<=h;e[v+d]=p&255,d+=z,p/=256,h-=8);g=g<<h|p;for(k+=h;0<k;e[v+d]=g&255,d+=z,g/=256,k-=8);e[v+d-z]|=128*D}},{}],6:[function(g,r,m){function e(){}
|
|
g=r.exports={};g.nextTick=function(){if("undefined"!==typeof window&&window.setImmediate)return function(e){return window.setImmediate(e)};if("undefined"!==typeof window&&window.postMessage&&window.addEventListener){var e=[];window.addEventListener("message",function(g){var m=g.source;m!==window&&null!==m||"process-tick"!==g.data||(g.stopPropagation(),0<e.length&&e.shift()())},!0);return function(g){e.push(g);window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}();g.title="browser";
|
|
g.browser=!0;g.env={};g.argv=[];g.on=e;g.once=e;g.off=e;g.emit=e;g.binding=function(e){throw Error("process.binding is not supported");};g.cwd=function(){return"/"};g.chdir=function(e){throw Error("process.chdir is not supported");}},{}],7:[function(g,r,m){(function(e){function g(d,l){for(var e=0,c=d.length-1;0<=c;c--){var a=d[c];"."===a?d.splice(c,1):".."===a?(d.splice(c,1),e++):e&&(d.splice(c,1),e--)}if(l)for(;e--;e)d.unshift("..");return d}function v(d,e){if(d.filter)return d.filter(e);for(var k=
|
|
[],c=0;c<d.length;c++)e(d[c],c,d)&&k.push(d[c]);return k}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;m.resolve=function(){for(var d="",l=!1,k=arguments.length-1;-1<=k&&!l;k--){var c=0<=k?arguments[k]:e.cwd();if("string"!==typeof c)throw new TypeError("Arguments to path.resolve must be strings");c&&(d=c+"/"+d,l="/"===c.charAt(0))}d=g(v(d.split("/"),function(a){return!!a}),!l).join("/");return(l?"/":"")+d||"."};m.normalize=function(d){var e=m.isAbsolute(d),k="/"===h(d,-1);
|
|
(d=g(v(d.split("/"),function(c){return!!c}),!e).join("/"))||e||(d=".");d&&k&&(d+="/");return(e?"/":"")+d};m.isAbsolute=function(d){return"/"===d.charAt(0)};m.join=function(){var d=Array.prototype.slice.call(arguments,0);return m.normalize(v(d,function(d,e){if("string"!==typeof d)throw new TypeError("Arguments to path.join must be strings");return d}).join("/"))};m.relative=function(d,e){function k(a){for(var b=0;b<a.length&&""===a[b];b++);for(var c=a.length-1;0<=c&&""===a[c];c--);return b>c?[]:a.slice(b,
|
|
c-b+1)}d=m.resolve(d).substr(1);e=m.resolve(e).substr(1);for(var c=k(d.split("/")),a=k(e.split("/")),b=Math.min(c.length,a.length),h=b,g=0;g<b;g++)if(c[g]!==a[g]){h=g;break}b=[];for(g=h;g<c.length;g++)b.push("..");b=b.concat(a.slice(h));return b.join("/")};m.sep="/";m.delimiter=":";m.dirname=function(d){var e=r.exec(d).slice(1);d=e[0];e=e[1];if(!d&&!e)return".";e&&(e=e.substr(0,e.length-1));return d+e};m.basename=function(d,e){var k=r.exec(d).slice(1)[2];e&&k.substr(-1*e.length)===e&&(k=k.substr(0,
|
|
k.length-e.length));return k};m.extname=function(d){return r.exec(d).slice(1)[3]};var h="b"==="ab".substr(-1)?function(d,e,k){return d.substr(e,k)}:function(d,e,k){0>e&&(e=d.length+e);return d.substr(e,k)}}).call(this,g("node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6}],8:[function(g,r,m){m.SourceMapGenerator=g("./source-map/source-map-generator").SourceMapGenerator;
|
|
m.SourceMapConsumer=g("./source-map/source-map-consumer").SourceMapConsumer;m.SourceNode=g("./source-map/source-node").SourceNode},{"./source-map/source-map-consumer":13,"./source-map/source-map-generator":14,"./source-map/source-node":15}],9:[function(g,r,m){if("function"!==typeof e)var e=g("amdefine")(r,g);e(function(e,g,m){function h(){this._array=[];this._set={}}var d=e("./util");h.fromArray=function(d,e){for(var c=new h,a=0,b=d.length;a<b;a++)c.add(d[a],e);return c};h.prototype.add=function(e,
|
|
k){var c=this.has(e),a=this._array.length;c&&!k||this._array.push(e);c||(this._set[d.toSetString(e)]=a)};h.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,d.toSetString(e))};h.prototype.indexOf=function(e){if(this.has(e))return this._set[d.toSetString(e)];throw Error('"'+e+'" is not in the set.');};h.prototype.at=function(d){if(0<=d&&d<this._array.length)return this._array[d];throw Error("No element indexed by "+d);};h.prototype.toArray=function(){return this._array.slice()};
|
|
g.ArraySet=h})},{"./util":16,amdefine:17}],10:[function(g,r,m){if("function"!==typeof e)var e=g("amdefine")(r,g);e(function(e,g,m){var h=e("./base64");g.encode=function(d){var e="",k=0>d?(-d<<1)+1:(d<<1)+0;do d=k&31,k>>>=5,0<k&&(d|=32),e+=h.encode(d);while(0<k);return e};g.decode=function(d){var e=0,k=d.length,c=0,a=0,b,g;do{if(e>=k)throw Error("Expected more digits in base 64 VLQ value.");g=h.decode(d.charAt(e++));b=!!(g&32);g&=31;c+=g<<a;a+=5}while(b);k=c>>1;return{value:1===(c&1)?-k:k,rest:d.slice(e)}}})},
|
|
{"./base64":11,amdefine:17}],11:[function(g,r,m){if("function"!==typeof e)var e=g("amdefine")(r,g);e(function(e,g,m){var h={},d={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,k){h[e]=k;d[k]=e});g.encode=function(e){if(e in d)return d[e];throw new TypeError("Must be between 0 and 63: "+e);};g.decode=function(d){if(d in h)return h[d];throw new TypeError("Not a valid base 64 digit: "+d);}})},{amdefine:17}],12:[function(g,r,m){if("function"!==typeof e)var e=
|
|
g("amdefine")(r,g);e(function(e,g,m){function h(d,e,k,c,a){var b=Math.floor((e-d)/2)+d,g=a(k,c[b],!0);return 0===g?c[b]:0<g?1<e-b?h(b,e,k,c,a):c[b]:1<b-d?h(d,b,k,c,a):0>d?null:c[d]}g.search=function(d,e,k){return 0<e.length?h(-1,e.length,d,e,k):null}})},{amdefine:17}],13:[function(g,r,m){if("function"!==typeof e)var e=g("amdefine")(r,g);e(function(e,g,m){function h(a){var b=a;"string"===typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));a=d.getArg(b,"version");var c=d.getArg(b,"sources"),e=d.getArg(b,
|
|
"names",[]),h=d.getArg(b,"sourceRoot",null),g=d.getArg(b,"sourcesContent",null),l=d.getArg(b,"mappings"),b=d.getArg(b,"file",null);if(a!=this._version)throw Error("Unsupported version: "+a);this._names=k.fromArray(e,!0);this._sources=k.fromArray(c,!0);this.sourceRoot=h;this.sourcesContent=g;this._mappings=l;this.file=b}var d=e("./util"),l=e("./binary-search"),k=e("./array-set").ArraySet,c=e("./base64-vlq");h.fromSourceMap=function(a){var b=Object.create(h.prototype);b._names=k.fromArray(a._names.toArray(),
|
|
!0);b._sources=k.fromArray(a._sources.toArray(),!0);b.sourceRoot=a._sourceRoot;b.sourcesContent=a._generateSourcesContent(b._sources.toArray(),b.sourceRoot);b.file=a._file;b.__generatedMappings=a._mappings.slice().sort(d.compareByGeneratedPositions);b.__originalMappings=a._mappings.slice().sort(d.compareByOriginalPositions);return b};h.prototype._version=3;Object.defineProperty(h.prototype,"sources",{get:function(){return this._sources.toArray().map(function(a){return this.sourceRoot?d.join(this.sourceRoot,
|
|
a):a},this)}});h.prototype.__generatedMappings=null;Object.defineProperty(h.prototype,"_generatedMappings",{get:function(){this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot));return this.__generatedMappings}});h.prototype.__originalMappings=null;Object.defineProperty(h.prototype,"_originalMappings",{get:function(){this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,
|
|
this.sourceRoot));return this.__originalMappings}});h.prototype._parseMappings=function(a,b){for(var e=1,k=0,h=0,g=0,l=0,y=0,m=/^[,;]/,t=a,p;0<t.length;)if(";"===t.charAt(0))e++,t=t.slice(1),k=0;else if(","===t.charAt(0))t=t.slice(1);else{p={};p.generatedLine=e;t=c.decode(t);p.generatedColumn=k+t.value;k=p.generatedColumn;t=t.rest;if(0<t.length&&!m.test(t.charAt(0))){t=c.decode(t);p.source=this._sources.at(l+t.value);l+=t.value;t=t.rest;if(0===t.length||m.test(t.charAt(0)))throw Error("Found a source, but no line and column");
|
|
t=c.decode(t);p.originalLine=h+t.value;h=p.originalLine;p.originalLine+=1;t=t.rest;if(0===t.length||m.test(t.charAt(0)))throw Error("Found a source and line, but no column");t=c.decode(t);p.originalColumn=g+t.value;g=p.originalColumn;t=t.rest;0<t.length&&!m.test(t.charAt(0))&&(t=c.decode(t),p.name=this._names.at(y+t.value),y+=t.value,t=t.rest)}this.__generatedMappings.push(p);"number"===typeof p.originalLine&&this.__originalMappings.push(p)}this.__generatedMappings.sort(d.compareByGeneratedPositions);
|
|
this.__originalMappings.sort(d.compareByOriginalPositions)};h.prototype._findMapping=function(a,b,c,d,e){if(0>=a[c])throw new TypeError("Line must be greater than or equal to 1, got "+a[c]);if(0>a[d])throw new TypeError("Column must be greater than or equal to 0, got "+a[d]);return l.search(a,b,e)};h.prototype.originalPositionFor=function(a){a={generatedLine:d.getArg(a,"line"),generatedColumn:d.getArg(a,"column")};if(a=this._findMapping(a,this._generatedMappings,"generatedLine","generatedColumn",
|
|
d.compareByGeneratedPositions)){var b=d.getArg(a,"source",null);b&&this.sourceRoot&&(b=d.join(this.sourceRoot,b));return{source:b,line:d.getArg(a,"originalLine",null),column:d.getArg(a,"originalColumn",null),name:d.getArg(a,"name",null)}}return{source:null,line:null,column:null,name:null}};h.prototype.sourceContentFor=function(a){if(!this.sourcesContent)return null;this.sourceRoot&&(a=d.relative(this.sourceRoot,a));if(this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];var b;
|
|
if(this.sourceRoot&&(b=d.urlParse(this.sourceRoot))){var c=a.replace(/^file:\/\//,"");if("file"==b.scheme&&this._sources.has(c))return this.sourcesContent[this._sources.indexOf(c)];if((!b.path||"/"==b.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}throw Error('"'+a+'" is not in the SourceMap.');};h.prototype.generatedPositionFor=function(a){a={source:d.getArg(a,"source"),originalLine:d.getArg(a,"line"),originalColumn:d.getArg(a,"column")};this.sourceRoot&&
|
|
(a.source=d.relative(this.sourceRoot,a.source));return(a=this._findMapping(a,this._originalMappings,"originalLine","originalColumn",d.compareByOriginalPositions))?{line:d.getArg(a,"generatedLine",null),column:d.getArg(a,"generatedColumn",null)}:{line:null,column:null}};h.GENERATED_ORDER=1;h.ORIGINAL_ORDER=2;h.prototype.eachMapping=function(a,b,c){b=b||null;switch(c||h.GENERATED_ORDER){case h.GENERATED_ORDER:c=this._generatedMappings;break;case h.ORIGINAL_ORDER:c=this._originalMappings;break;default:throw Error("Unknown order of iteration.");
|
|
}var e=this.sourceRoot;c.map(function(a){var b=a.source;b&&e&&(b=d.join(e,b));return{source:b,generatedLine:a.generatedLine,generatedColumn:a.generatedColumn,originalLine:a.originalLine,originalColumn:a.originalColumn,name:a.name}}).forEach(a,b)};g.SourceMapConsumer=h})},{"./array-set":9,"./base64-vlq":10,"./binary-search":12,"./util":16,amdefine:17}],14:[function(g,r,m){if("function"!==typeof e)var e=g("amdefine")(r,g);e(function(e,g,m){function h(c){this._file=l.getArg(c,"file");this._sourceRoot=
|
|
l.getArg(c,"sourceRoot",null);this._sources=new k;this._names=new k;this._mappings=[];this._sourcesContents=null}var d=e("./base64-vlq"),l=e("./util"),k=e("./array-set").ArraySet;h.prototype._version=3;h.fromSourceMap=function(c){var a=c.sourceRoot,b=new h({file:c.file,sourceRoot:a});c.eachMapping(function(c){var d={generated:{line:c.generatedLine,column:c.generatedColumn}};c.source&&(d.source=c.source,a&&(d.source=l.relative(a,d.source)),d.original={line:c.originalLine,column:c.originalColumn},c.name&&
|
|
(d.name=c.name));b.addMapping(d)});c.sources.forEach(function(a){var d=c.sourceContentFor(a);d&&b.setSourceContent(a,d)});return b};h.prototype.addMapping=function(c){var a=l.getArg(c,"generated"),b=l.getArg(c,"original",null),d=l.getArg(c,"source",null);c=l.getArg(c,"name",null);this._validateMapping(a,b,d,c);d&&!this._sources.has(d)&&this._sources.add(d);c&&!this._names.has(c)&&this._names.add(c);this._mappings.push({generatedLine:a.line,generatedColumn:a.column,originalLine:null!=b&&b.line,originalColumn:null!=
|
|
b&&b.column,source:d,name:c})};h.prototype.setSourceContent=function(c,a){var b=c;this._sourceRoot&&(b=l.relative(this._sourceRoot,b));null!==a?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[l.toSetString(b)]=a):(delete this._sourcesContents[l.toSetString(b)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))};h.prototype.applySourceMap=function(c,a){a||(a=c.file);var b=this._sourceRoot;b&&(a=l.relative(b,a));var d=new k,e=new k;this._mappings.forEach(function(k){if(k.source===
|
|
a&&k.originalLine){var h=c.originalPositionFor({line:k.originalLine,column:k.originalColumn});null!==h.source&&(k.source=b?l.relative(b,h.source):h.source,k.originalLine=h.line,k.originalColumn=h.column,null!==h.name&&null!==k.name&&(k.name=h.name))}(h=k.source)&&!d.has(h)&&d.add(h);(k=k.name)&&!e.has(k)&&e.add(k)},this);this._sources=d;this._names=e;c.sources.forEach(function(a){var d=c.sourceContentFor(a);d&&(b&&(a=l.relative(b,a)),this.setSourceContent(a,d))},this)};h.prototype._validateMapping=
|
|
function(c,a,b,d){if(!(c&&"line"in c&&"column"in c&&0<c.line&&0<=c.column&&!a&&!b&&!d||c&&"line"in c&&"column"in c&&a&&"line"in a&&"column"in a&&0<c.line&&0<=c.column&&0<a.line&&0<=a.column&&b))throw Error("Invalid mapping: "+JSON.stringify({generated:c,source:b,original:a,name:d}));};h.prototype._serializeMappings=function(){var c=0,a=1,b=0,e=0,k=0,h=0,g="",w;this._mappings.sort(l.compareByGeneratedPositions);for(var y=0,p=this._mappings.length;y<p;y++){w=this._mappings[y];if(w.generatedLine!==a)for(c=
|
|
0;w.generatedLine!==a;)g+=";",a++;else if(0<y){if(!l.compareByGeneratedPositions(w,this._mappings[y-1]))continue;g+=","}g+=d.encode(w.generatedColumn-c);c=w.generatedColumn;w.source&&(g+=d.encode(this._sources.indexOf(w.source)-h),h=this._sources.indexOf(w.source),g+=d.encode(w.originalLine-1-e),e=w.originalLine-1,g+=d.encode(w.originalColumn-b),b=w.originalColumn,w.name&&(g+=d.encode(this._names.indexOf(w.name)-k),k=this._names.indexOf(w.name)))}return g};h.prototype._generateSourcesContent=function(c,
|
|
a){return c.map(function(b){if(!this._sourcesContents)return null;a&&(b=l.relative(a,b));b=l.toSetString(b);return Object.prototype.hasOwnProperty.call(this._sourcesContents,b)?this._sourcesContents[b]:null},this)};h.prototype.toJSON=function(){var c={version:this._version,file:this._file,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};this._sourceRoot&&(c.sourceRoot=this._sourceRoot);this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,
|
|
c.sourceRoot));return c};h.prototype.toString=function(){return JSON.stringify(this)};g.SourceMapGenerator=h})},{"./array-set":9,"./base64-vlq":10,"./util":16,amdefine:17}],15:[function(g,r,m){if("function"!==typeof e)var e=g("amdefine")(r,g);e(function(e,g,m){function h(d,c,a,b,e){this.children=[];this.sourceContents={};this.line=void 0===d?null:d;this.column=void 0===c?null:c;this.source=void 0===a?null:a;this.name=void 0===e?null:e;null!=b&&this.add(b)}var d=e("./source-map-generator").SourceMapGenerator,
|
|
l=e("./util");h.fromStringWithSourceMap=function(d,c){function a(a,c){null===a||void 0===a.source?b.add(c):b.add(new h(a.originalLine,a.originalColumn,a.source,c,a.name))}var b=new h,e=d.split("\n"),g=1,l=0,p=null;c.eachMapping(function(c){if(null===p){for(;g<c.generatedLine;)b.add(e.shift()+"\n"),g++;if(l<c.generatedColumn){var d=e[0];b.add(d.substr(0,c.generatedColumn));e[0]=d.substr(c.generatedColumn);l=c.generatedColumn}}else{if(g<c.generatedLine){var k="";do k+=e.shift()+"\n",g++,l=0;while(g<
|
|
c.generatedLine);l<c.generatedColumn&&(d=e[0],k+=d.substr(0,c.generatedColumn),e[0]=d.substr(c.generatedColumn),l=c.generatedColumn)}else d=e[0],k=d.substr(0,c.generatedColumn-l),e[0]=d.substr(c.generatedColumn-l),l=c.generatedColumn;a(p,k)}p=c},this);a(p,e.join("\n"));c.sources.forEach(function(a){var d=c.sourceContentFor(a);d&&b.setSourceContent(a,d)});return b};h.prototype.add=function(d){if(Array.isArray(d))d.forEach(function(c){this.add(c)},this);else if(d instanceof h||"string"===typeof d)d&&
|
|
this.children.push(d);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+d);return this};h.prototype.prepend=function(d){if(Array.isArray(d))for(var c=d.length-1;0<=c;c--)this.prepend(d[c]);else if(d instanceof h||"string"===typeof d)this.children.unshift(d);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+d);return this};h.prototype.walk=function(d){for(var c,a=0,b=this.children.length;a<b;a++)c=
|
|
this.children[a],c instanceof h?c.walk(d):""!==c&&d(c,{source:this.source,line:this.line,column:this.column,name:this.name})};h.prototype.join=function(d){var c,a,b=this.children.length;if(0<b){c=[];for(a=0;a<b-1;a++)c.push(this.children[a]),c.push(d);c.push(this.children[a]);this.children=c}return this};h.prototype.replaceRight=function(d,c){var a=this.children[this.children.length-1];a instanceof h?a.replaceRight(d,c):"string"===typeof a?this.children[this.children.length-1]=a.replace(d,c):this.children.push("".replace(d,
|
|
c));return this};h.prototype.setSourceContent=function(d,c){this.sourceContents[l.toSetString(d)]=c};h.prototype.walkSourceContents=function(d){for(var c=0,a=this.children.length;c<a;c++)this.children[c]instanceof h&&this.children[c].walkSourceContents(d);for(var b=Object.keys(this.sourceContents),c=0,a=b.length;c<a;c++)d(l.fromSetString(b[c]),this.sourceContents[b[c]])};h.prototype.toString=function(){var d="";this.walk(function(c){d+=c});return d};h.prototype.toStringWithSourceMap=function(e){var c=
|
|
"",a=1,b=0,h=new d(e),g=!1,l=null,p=null,w=null,m=null;this.walk(function(d,e){c+=d;null!==e.source&&null!==e.line&&null!==e.column?(l===e.source&&p===e.line&&w===e.column&&m===e.name||h.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:a,column:b},name:e.name}),l=e.source,p=e.line,w=e.column,m=e.name,g=!0):g&&(h.addMapping({generated:{line:a,column:b}}),l=null,g=!1);d.split("").forEach(function(c){"\n"===c?(a++,b=0):b++})});this.walkSourceContents(function(a,b){h.setSourceContent(a,
|
|
b)});return{code:c,map:h}};g.SourceNode=h})},{"./source-map-generator":14,"./util":16,amdefine:17}],16:[function(g,r,m){if("function"!==typeof e)var e=g("amdefine")(r,g);e(function(e,g,m){function h(a){return(a=a.match(k))?{scheme:a[1],auth:a[3],host:a[4],port:a[6],path:a[7]}:null}function d(a){var b=a.scheme+"://";a.auth&&(b+=a.auth+"@");a.host&&(b+=a.host);a.port&&(b+=":"+a.port);a.path&&(b+=a.path);return b}function l(a,b){var c=a||"",d=b||"";return(c>d)-(c<d)}g.getArg=function(a,b,c){if(b in a)return a[b];
|
|
if(3===arguments.length)return c;throw Error('"'+b+'" is a required argument.');};var k=/([\w+\-.]+):\/\/((\w+:\w+)@)?([\w.]+)?(:(\d+))?(\S+)?/,c=/^data:.+\,.+/;g.urlParse=h;g.urlGenerate=d;g.join=function(a,b){var e;return b.match(k)||b.match(c)?b:"/"===b.charAt(0)&&(e=h(a))?(e.path=b,d(e)):a.replace(/\/$/,"")+"/"+b};g.toSetString=function(a){return"$"+a};g.fromSetString=function(a){return a.substr(1)};g.relative=function(a,b){a=a.replace(/\/$/,"");var c=h(a);return"/"==b.charAt(0)&&c&&"/"==c.path?
|
|
b.slice(1):0===b.indexOf(a+"/")?b.substr(a.length+1):b};g.compareByOriginalPositions=function(a,b,c){var d;return(d=l(a.source,b.source))||(d=a.originalLine-b.originalLine)||(d=a.originalColumn-b.originalColumn)||c||(d=l(a.name,b.name))?d:(d=a.generatedLine-b.generatedLine)?d:a.generatedColumn-b.generatedColumn};g.compareByGeneratedPositions=function(a,b,c){var d;return(d=a.generatedLine-b.generatedLine)||(d=a.generatedColumn-b.generatedColumn)||c||(d=l(a.source,b.source))||(d=a.originalLine-b.originalLine)?
|
|
d:(d=a.originalColumn-b.originalColumn)?d:l(a.name,b.name)}})},{amdefine:17}],17:[function(g,r,m){(function(e,p){r.exports=function(m,r){function h(a,b){var c;if(a&&"."===a.charAt(0)&&b){c=b.split("/");c=c.slice(0,c.length-1);var d=c=c.concat(a.split("/")),e,g;for(e=0;d[e];e+=1)if(g=d[e],"."===g)d.splice(e,1),--e;else if(".."===g)if(1!==e||".."!==d[2]&&".."!==d[0])0<e&&(d.splice(e-1,2),e-=2);else break;a=c.join("/")}return a}function d(a){return function(b){return h(b,a)}}function l(a){function c(d){b[a]=
|
|
d}c.fromText=function(a,b){throw Error("amdefine does not implement load.fromText");};return c}function k(a,c,d){var e,g,h;if(a)g=b[a]={},h={id:a,uri:p,exports:g},e=B(r,g,h,a);else{if(z)throw Error("amdefine with no module ID cannot be called more than once per file.");z=!0;g=m.exports;h=m;e=B(r,g,h,m.id)}c&&(c=c.map(function(a){return e(a)}));c="function"===typeof d?d.apply(h.exports,c):d;void 0!==c&&(h.exports=c,a&&(b[a]=h.exports))}function c(b,c,d){Array.isArray(b)?(d=c,c=b,b=void 0):"string"!==
|
|
typeof b&&(d=b,b=c=void 0);c&&!Array.isArray(c)&&(d=c,c=void 0);c||(c=["require","exports","module"]);b?a[b]=[b,c,d]:k(b,c,d)}var a={},b={},z=!1,D=g("path"),B,E;B=function(a,b,c,d){function g(h,k){if("string"===typeof h)return E(a,b,c,h,d);h=h.map(function(e){return E(a,b,c,e,d)});e.nextTick(function(){k.apply(null,h)})}g.toUrl=function(a){return 0===a.indexOf(".")?h(a,D.dirname(c.filename)):a};return g};r=r||function(){return m.require.apply(m,arguments)};E=function(c,e,g,m,p){var r=m.indexOf("!"),
|
|
v=m;if(-1===r){m=h(m,p);if("require"===m)return B(c,e,g,p);if("exports"===m)return e;if("module"===m)return g;if(b.hasOwnProperty(m))return b[m];if(a[m])return k.apply(null,a[m]),b[m];if(c)return c(v);throw Error("No module with ID: "+m);}v=m.substring(0,r);m=m.substring(r+1,m.length);r=E(c,e,g,v,p);m=r.normalize?r.normalize(m,d(p)):h(m,p);b[m]||r.load(m,B(c,e,g,p),l(m),{});return b[m]};c.require=function(c){if(b[c])return b[c];if(a[c])return k.apply(null,a[c]),b[c]};c.amd={};return c}}).call(this,
|
|
g("node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"/node_modules/source-map/node_modules/amdefine/amdefine.js")},{"node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,path:7}],18:[function(g,r,m){(function(e,p){function r(){return"undefined"!==typeof window&&"function"===typeof XMLHttpRequest}function A(a){a=a.trim();if(a in F)return F[a];try{if(r()){var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);var c=
|
|
null;4===b.readyState&&200===b.status&&(c=b.responseText)}else c=y.readFileSync(a,"utf8")}catch(d){c=null}return F[a]=c}function h(a,b){if(!a)return b;var c=w.dirname(a),d=/^\w+:\/\/[^\/]*/.exec(c),d=d?d[0]:"";return d+w.resolve(c.slice(d.length),b)}function d(a){var b;a:{var c;if(r()&&(c=new XMLHttpRequest,c.open("GET",a,!1),c.send(null),c=c.getResponseHeader("SourceMap")||c.getResponseHeader("X-SourceMap"))){b=c;break a}c=A(a);for(var d=/\/\/[#@]\s*sourceMappingURL=([^'"]+)\s*$/mg,e;e=d.exec(c);)b=
|
|
e;b=b?b[1]:null}if(!b)return null;I.test(b)?(a=b.slice(b.indexOf(",")+1),a=(new p(a,"base64")).toString(),b=null):(b=h(a,b),a=A(b));return a?{url:b,map:a}:null}function l(a){var b=C[a.source];if(!b){var c=d(a.source);c?(b=C[a.source]={url:c.url,map:new E(c.map)},b.map.sourcesContent&&b.map.sources.forEach(function(a,c){var d=b.map.sourcesContent[c];if(d){var e=h(b.url,a);F[e]=d}})):b=C[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 k(a){var b=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(a);return b?(a=l({source:b[2],line:b[3],column:b[4]-1}),"eval at "+b[1]+" ("+a.source+":"+a.line+":"+(a.column+1)+")"):(b=/^eval at ([^(]+) \((.+)\)$/.exec(a))?"eval at "+b[1]+" ("+k(b[2])+")":a}function c(){var a,b="";this.isNative()?b="native":(a=this.getScriptNameOrSourceURL(),!a&&this.isEval()&&(b=this.getEvalOrigin(),b+=", "),b=a?b+a:b+"<anonymous>",a=this.getLineNumber(),null!=a&&(b+=":"+a,(a=this.getColumnNumber())&&
|
|
(b+=":"+a)));a="";var c=this.getFunctionName(),d=!0,e=this.isConstructor();if(this.isToplevel()||e)e?a+="new "+(c||"<anonymous>"):c?a+=c:(a+=b,d=!1);else{var e=this.getTypeName(),g=this.getMethodName();c?(e&&0!=c.indexOf(e)&&(a+=e+"."),a+=c,g&&c.indexOf("."+g)!=c.length-g.length-1&&(a+=" [as "+g+"]")):a+=e+"."+(g||"<anonymous>")}d&&(a+=" ("+b+")");return a}function a(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=c;return b}function b(b){var c=b.getFileName()||b.getScriptNameOrSourceURL();if(c){var d=b.getLineNumber(),e=b.getColumnNumber()-1;1!==d||r()||b.isEval()||(e-=62);var g=l({source:c,line:d,column:e});b=a(b);b.getFileName=function(){return g.source};b.getLineNumber=function(){return g.line};b.getColumnNumber=function(){return g.column+1};b.getScriptNameOrSourceURL=function(){return g.source};return b}var h=b.isEval()&&b.getEvalOrigin();h&&(h=k(h),b=a(b),b.getEvalOrigin=function(){return h});
|
|
return b}function z(a,c){t&&(F={},C={});return a+c.map(function(a){return"\n at "+b(a)}).join("")}function D(a){var b=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(a.stack);if(b){a=b[1];var c=+b[2],b=+b[3],d=F[a];!d&&y.existsSync(a)&&(d=y.readFileSync(a,"utf8"));if(d&&(d=d.split(/(?:\r\n|\r|\n)/)[c-1]))return a+":"+c+"\n"+d+"\n"+Array(b).join(" ")+"^"}return null}function B(){var a=e.emit;e.emit=function(b){if("uncaughtException"===b){var c=arguments[1]&&arguments[1].stack,d=0<this.listeners(b).length;
|
|
if(c&&!d){c=arguments[1];if(d=D(c))console.error(),console.error(d);console.error(c.stack);e.exit(1);return}}return a.apply(this,arguments)}}var E=g("source-map").SourceMapConsumer,w=g("path"),y=g("fs"),G=!1,t=!1,F={},C={},I=/^data:application\/json[^,]+base64,/;m.wrapCallSite=b;m.getErrorSource=D;m.mapSourcePosition=l;m.retrieveSourceMap=d;m.install=function(a){if(!G){G=!0;Error.prepareStackTrace=z;a=a||{};var b="handleUncaughtExceptions"in a?a.handleUncaughtExceptions:!0;t="emptyCacheBetweenOperations"in
|
|
a?a.emptyCacheBetweenOperations:!1;a.retrieveFile&&(A=a.retrieveFile);a.retrieveSourceMap&&(d=a.retrieveSourceMap);b&&"object"===typeof e&&null!==e&&"function"===typeof e.on&&B()}}}).call(this,g("node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),g("buffer").Buffer)},{"node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,buffer:3,fs:2,path:7,"source-map":8}]},{},[1]);return K});
|