Skip to content

Instantly share code, notes, and snippets.

@rreusser
Last active April 18, 2018 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rreusser/e5c865d0ab8238fda39b0f8f91acea5f to your computer and use it in GitHub Desktop.
Save rreusser/e5c865d0ab8238fda39b0f8f91acea5f to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>---</title>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<meta charset=utf-8></head>
<body></body>
<script>
!function a(o,s,u){function f(t,e){if(!s[t]){if(!o[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(c)return c(t,!0);var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}var i=s[t]={exports:{}};o[t][0].call(i.exports,function(e){return f(o[t][1][e]||e)},i,i.exports,a,o,s,u)}return s[t].exports}for(var c="function"==typeof require&&require,e=0;e<u.length;e++)f(u[e]);return f}({1:[function(e,t,r){var n={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};t.exports=function(e,t){return"number"!=typeof t||n[e]?t:t+"px"}},{}],2:[function(e,t,r){"use strict";function I(e,t,r){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2)+Math.pow(r,2))}function D(e,t,r){return Math.atan2(t,e-r)}function P(e,t,r,n,i){e[0]+=t*r,e[1]+=t*n,e[2]+=t*i}t.exports=function(e,t){for(var r=t.length,n=e.length,i=new Array(r),a=0;a<r;++a)i[a]=[0,0,0];for(var a=0;a<n;++a){var o=e[a],s=t[o[0]],u=t[o[1]],f=t[o[2]],c=s[0]-u[0],h=s[1]-u[1],d=s[2]-u[2],l=I(c,h,d),p=u[0]-f[0],b=u[1]-f[1],m=u[2]-f[2],g=I(p,b,m),v=f[0]-s[0],y=f[1]-s[1],w=f[2]-s[2],A=I(v,y,w);if(!(Math.min(l,g,A)<1e-6)){var S=.5*(l+g+A),_=Math.sqrt((S-l)*(S-g)*(S-A)/S),E=h*m-d*b,T=d*p-c*m,C=c*b-h*p,M=I(E,T,C);E/=M,T/=M,C/=M,P(i[o[0]],D(S,_,g),E,T,C),P(i[o[1]],D(S,_,A),E,T,C),P(i[o[2]],D(S,_,l),E,T,C)}}for(var a=0;a<r;++a){var B=i[a],x=Math.sqrt(Math.pow(B[0],2)+Math.pow(B[1],2)+Math.pow(B[2],2));x<1e-8?(B[0]=1,B[1]=0,B[2]=0):(B[0]/=x,B[1]/=x,B[2]/=x)}return i}},{}],3:[function(e,t,r){var n=r;n.bignum=e("bn.js"),n.define=e("./asn1/api").define,n.base=e("./asn1/base"),n.constants=e("./asn1/constants"),n.decoders=e("./asn1/decoders"),n.encoders=e("./asn1/encoders")},{"./asn1/api":4,"./asn1/base":6,"./asn1/constants":10,"./asn1/decoders":12,"./asn1/encoders":15,"bn.js":18}],4:[function(e,t,r){var n=e("../asn1"),i=e("inherits");function a(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}r.define=function(e,t){return new a(e,t)},a.prototype._createNamed=function(t){var r;try{r=e("vm").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(e){r=function(e){this._initNamed(e)}}return i(r,t),r.prototype._initNamed=function(e){t.call(this,e)},new r(this)},a.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(n.decoders[e])),this.decoders[e]},a.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},a.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(n.encoders[e])),this.encoders[e]},a.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},{"../asn1":3,inherits:163,vm:255}],5:[function(e,t,r){var n=e("inherits"),i=e("../base").Reporter,a=e("buffer").Buffer;function o(e,t){i.call(this,t),a.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof s||(e=new s(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=a.byteLength(e);else{if(!a.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(o,i),(r.DecoderBuffer=o).prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},o.prototype.restore=function(e){var t=new o(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},o.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new o(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},o.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},(r.EncoderBuffer=s).prototype.join=function(t,r){return t||(t=new a(this.length)),r||(r=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(e){e.join(t,r),r+=e.length}):("number"==typeof this.value?t[r]=this.value:"string"==typeof this.value?t.write(this.value,r):a.isBuffer(this.value)&&this.value.copy(t,r),r+=this.length)),t}},{"../base":6,buffer:50,inherits:163}],6:[function(e,t,r){var n=r;n.Reporter=e("./reporter").Reporter,n.DecoderBuffer=e("./buffer").DecoderBuffer,n.EncoderBuffer=e("./buffer").EncoderBuffer,n.Node=e("./node")},{"./buffer":5,"./node":7,"./reporter":8}],7:[function(e,t,r){var c=e("../base").Reporter,n=e("../base").EncoderBuffer,l=e("../base").DecoderBuffer,i=e("minimalistic-assert"),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],o=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function s(e,t){var r={};(this._baseState=r).enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}t.exports=s;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];s.prototype.clone=function(){var t=this._baseState,r={};u.forEach(function(e){r[e]=t[e]});var e=new this.constructor(r.parent);return e._baseState=r,e},s.prototype._wrap=function(){var r=this._baseState;o.forEach(function(t){this[t]=function(){var e=new this.constructor(this);return r.children.push(e),e[t].apply(e,arguments)}},this)},s.prototype._init=function(e){var t=this._baseState;i(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),i.equal(t.children.length,1,"Root node can have only one child")},s.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(i(null===t.children),(t.children=r).forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(i(null===t.args),t.args=e,t.reverseArgs=e.map(function(r){if("object"!=typeof r||r.constructor!==Object)return r;var n={};return Object.keys(r).forEach(function(e){e==(0|e)&&(e|=0);var t=r[e];n[t]=e}),n}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(t){s.prototype[t]=function(){var e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}}),a.forEach(function(r){s.prototype[r]=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return i(null===e.tag),e.tag=r,this._useArgs(t),this}}),s.prototype.use=function(e){i(e);var t=this._baseState;return i(null===t.use),t.use=e,this},s.prototype.optional=function(){return this._baseState.optional=!0,this},s.prototype.def=function(e){var t=this._baseState;return i(null===t.default),t.default=e,t.optional=!0,this},s.prototype.explicit=function(e){var t=this._baseState;return i(null===t.explicit&&null===t.implicit),t.explicit=e,this},s.prototype.implicit=function(e){var t=this._baseState;return i(null===t.explicit&&null===t.implicit),t.implicit=e,this},s.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},s.prototype.key=function(e){var t=this._baseState;return i(null===t.key),t.key=e,this},s.prototype.any=function(){return this._baseState.any=!0,this},s.prototype.choice=function(t){var e=this._baseState;return i(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map(function(e){return t[e]})),this},s.prototype.contains=function(e){var t=this._baseState;return i(null===t.use),t.contains=e,this},s.prototype._decode=function(t,r){var e=this._baseState;if(null===e.parent)return t.wrapResult(e.children[0]._decode(t,r));var n,i=e.default,a=!0,o=null;if(null!==e.key&&(o=t.enterKey(e.key)),e.optional){var s=null;if(null!==e.explicit?s=e.explicit:null!==e.implicit?s=e.implicit:null!==e.tag&&(s=e.tag),null!==s||e.any){if(a=this._peekTag(t,s,e.any),t.isError(a))return a}else{var u=t.save();try{null===e.choice?this._decodeGeneric(e.tag,t,r):this._decodeChoice(t,r),a=!0}catch(e){a=!1}t.restore(u)}}if(e.obj&&a&&(n=t.enterObject()),a){if(null!==e.explicit){var f=this._decodeTag(t,e.explicit);if(t.isError(f))return f;t=f}var c=t.offset;if(null===e.use&&null===e.choice){if(e.any)u=t.save();var h=this._decodeTag(t,null!==e.implicit?e.implicit:e.tag,e.any);if(t.isError(h))return h;e.any?i=t.raw(u):t=h}if(r&&r.track&&null!==e.tag&&r.track(t.path(),c,t.length,"tagged"),r&&r.track&&null!==e.tag&&r.track(t.path(),t.offset,t.length,"content"),i=e.any?i:null===e.choice?this._decodeGeneric(e.tag,t,r):this._decodeChoice(t,r),t.isError(i))return i;if(e.any||null!==e.choice||null===e.children||e.children.forEach(function(e){e._decode(t,r)}),e.contains&&("octstr"===e.tag||"bitstr"===e.tag)){var d=new l(i);i=this._getUse(e.contains,t._reporterState.obj)._decode(d,r)}}return e.obj&&a&&(i=t.leaveObject(n)),null===e.key||null===i&&!0!==a?null!==o&&t.exitKey(o):t.leaveKey(o,e.key,i),i},s.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},s.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),i(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},s.prototype._decodeChoice=function(i,a){var o=this._baseState,s=null,u=!1;return Object.keys(o.choice).some(function(e){var t=i.save(),r=o.choice[e];try{var n=r._decode(i,a);if(i.isError(n))return!1;s={type:e,value:n},u=!0}catch(e){return i.restore(t),!1}return!0},this),u?s:i.error("Choice not matched")},s.prototype._createEncoderBuffer=function(e){return new n(e,this.reporter)},s.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n.default||n.default!==e){var i=this._encodeValue(e,t,r);if(void 0!==i&&!this._skipDefault(i,t,r))return i}},s.prototype._encodeValue=function(n,i,e){var t=this._baseState;if(null===t.parent)return t.children[0]._encode(n,i||new c);var r=null;if(this.reporter=i,t.optional&&void 0===n){if(null===t.default)return;n=t.default}var a=null,o=!1;if(t.any)r=this._createEncoderBuffer(n);else if(t.choice)r=this._encodeChoice(n,i);else if(t.contains)a=this._getUse(t.contains,e)._encode(n,i),o=!0;else if(t.children)a=t.children.map(function(e){if("null_"===e._baseState.tag)return e._encode(null,i,n);if(null===e._baseState.key)return i.error("Child should have a key");var t=i.enterKey(e._baseState.key);if("object"!=typeof n)return i.error("Child expected, but input is not object");var r=e._encode(n[e._baseState.key],i,n);return i.leaveKey(t),r},this).filter(function(e){return e}),a=this._createEncoderBuffer(a);else if("seqof"===t.tag||"setof"===t.tag){if(!t.args||1!==t.args.length)return i.error("Too many args for : "+t.tag);if(!Array.isArray(n))return i.error("seqof/setof, but data is not Array");var s=this.clone();s._baseState.implicit=null,a=this._createEncoderBuffer(n.map(function(e){var t=this._baseState;return this._getUse(t.args[0],n)._encode(e,i)},s))}else null!==t.use?r=this._getUse(t.use,e)._encode(n,i):(a=this._encodePrimitive(t.tag,n),o=!0);if(!t.any&&null===t.choice){var u=null!==t.implicit?t.implicit:t.tag,f=null===t.implicit?"universal":"context";null===u?null===t.use&&i.error("Tag could be omitted only for .use()"):null===t.use&&(r=this._encodeComposite(u,o,f,a))}return null!==t.explicit&&(r=this._encodeComposite(t.explicit,!1,"context",r)),r},s.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||i(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},s.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},s.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},s.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},{"../base":6,"minimalistic-assert":183}],8:[function(e,t,r){var n=e("inherits");function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function a(e,t){this.path=e,this.rethrow(t)}(r.Reporter=i).prototype.isError=function(e){return e instanceof a},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},i.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof a;if(t=n?e:new a(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(a,Error),a.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,a),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},{inherits:163}],9:[function(e,t,r){var n=e("../constants");r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=n._reverse(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=n._reverse(r.tag)},{"../constants":10}],10:[function(e,t,r){var n=r;n._reverse=function(r){var n={};return Object.keys(r).forEach(function(e){(0|e)==e&&(e|=0);var t=r[e];n[t]=e}),n},n.der=e("./der")},{"./der":9}],11:[function(e,t,r){var n=e("inherits"),i=e("../../asn1"),a=i.base,o=i.bignum,s=i.constants.der;function u(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new f,this.tree._init(e.body)}function f(e){a.Node.call(this,"der",e)}function c(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=s.tagClass[r>>6],i=0==(32&r);if(31==(31&r)){var a=r;for(r=0;128==(128&a);){if(a=e.readUInt8(t),e.isError(a))return a;r<<=7,r|=127&a}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function h(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;var i=127&n;if(4<i)return e.error("length octect is too long");for(var a=n=0;a<i;a++){n<<=8;var o=e.readUInt8(r);if(e.isError(o))return o;n|=o}return n}(t.exports=u).prototype.decode=function(e,t){return e instanceof a.DecoderBuffer||(e=new a.DecoderBuffer(e,t)),this.tree._decode(e,t)},n(f,a.Node),f.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),i=c(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(n),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||r)},f.prototype._decodeTag=function(e,t,r){var n=c(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var i=h(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var a=e.save(),o=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(o)?o:(i=e.offset-a.offset,e.restore(a),e.skip(i,'Failed to match body of: "'+t+'"'))},f.prototype._skipUntilEnd=function(e,t){for(;;){var r=c(e,t);if(e.isError(r))return r;var n,i=h(e,r.primitive,t);if(e.isError(i))return i;if(n=r.primitive||null!==i?e.skip(i):this._skipUntilEnd(e,t),e.isError(n))return n;if("end"===r.tagStr)break}},f.prototype._decodeList=function(e,t,r,n){for(var i=[];!e.isEmpty();){var a=this._peekTag(e,"end");if(e.isError(a))return a;var o=r.decode(e,"der",n);if(e.isError(o)&&a)break;i.push(o)}return i},f.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",a=0;a<n.length/2;a++)i+=String.fromCharCode(n.readUInt16BE(2*a));return i}if("numstr"===t){var o=e.raw().toString("ascii");return this._isNumstr(o)?o:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var s=e.raw().toString("ascii");return this._isPrintstr(s)?s:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},f.prototype._decodeObjid=function(e,t,r){for(var n,i=[],a=0;!e.isEmpty();){var o=e.readUInt8();a<<=7,a|=127&o,0==(128&o)&&(i.push(a),a=0)}128&o&&i.push(a);var s=i[0]/40|0,u=i[0]%40;if(n=r?i:[s,u].concat(i.slice(1)),t){var f=t[n.join(" ")];void 0===f&&(f=t[n.join(".")]),void 0!==f&&(n=f)}return n},f.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),i=0|r.slice(4,6),a=0|r.slice(6,8),o=0|r.slice(8,10),s=0|r.slice(10,12),u=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|r.slice(0,2),i=0|r.slice(2,4),a=0|r.slice(4,6),o=0|r.slice(6,8),s=0|r.slice(8,10),u=0|r.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,a,o,s,u,0)},f.prototype._decodeNull=function(e){return null},f.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},f.prototype._decodeInt=function(e,t){var r=e.raw(),n=new o(r);return t&&(n=t[n.toString(10)]||n),n},f.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},{"../../asn1":3,inherits:163}],12:[function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":11,"./pem":13}],13:[function(e,t,r){var n=e("inherits"),h=e("buffer").Buffer,d=e("./der");function i(e){d.call(this,e),this.enc="pem"}n(i,d),(t.exports=i).prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),i=/^-----(BEGIN|END) ([^-]+)-----$/,a=-1,o=-1,s=0;s<r.length;s++){var u=r[s].match(i);if(null!==u&&u[2]===n){if(-1!==a){if("END"!==u[1])break;o=s;break}if("BEGIN"!==u[1])break;a=s}}if(-1===a||-1===o)throw new Error("PEM section not found for: "+n);var f=r.slice(a+1,o).join("");f.replace(/[^a-z0-9\+\/=]+/gi,"");var c=new h(f,"base64");return d.prototype.decode.call(this,c,t)}},{"./der":11,buffer:50,inherits:163}],14:[function(e,t,r){var n=e("inherits"),f=e("buffer").Buffer,i=e("../../asn1"),a=i.base,c=i.constants.der;function o(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new s,this.tree._init(e.body)}function s(e){a.Node.call(this,"der",e)}function u(e){return e<10?"0"+e:e}(t.exports=o).prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(s,a.Node),s.prototype._encodeComposite=function(e,t,r,n){var i,a=function(e,t,r,n){var i;"seqof"===e?e="seq":"setof"===e&&(e="set");if(c.tagByName.hasOwnProperty(e))i=c.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);i=e}if(31<=i)return n.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=c.tagClassByName[r||"universal"]<<6}(e,t,r,this.reporter);if(n.length<128)return(i=new f(2))[0]=a,i[1]=n.length,this._createEncoderBuffer([i,n]);for(var o=1,s=n.length;256<=s;s>>=8)o++;(i=new f(2+o))[0]=a,i[1]=128|o;s=1+o;for(var u=n.length;0<u;s--,u>>=8)i[s]=255&u;return this._createEncoderBuffer([i,n])},s.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new f(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},s.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var n=0;n<e.length;n++)e[n]|=0}else if(Array.isArray(e)){e=e.slice();for(n=0;n<e.length;n++)e[n]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(40<=e[1])return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var i=0;for(n=0;n<e.length;n++){var a=e[n];for(i++;128<=a;a>>=7)i++}var o=new f(i),s=o.length-1;for(n=e.length-1;0<=n;n--){a=e[n];for(o[s--]=127&a;0<(a>>=7);)o[s--]=128|127&a}return this._createEncoderBuffer(o)},s.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[u(n.getFullYear()),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[u(n.getFullYear()%100),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},s.prototype._encodeNull=function(){return this._createEncoderBuffer("")},s.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!f.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new f(r)}if(f.isBuffer(e)){var n=e.length;0===e.length&&n++;var i=new f(n);return e.copy(i),0===e.length&&(i[0]=0),this._createEncoderBuffer(i)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);n=1;for(var a=e;256<=a;a>>=8)n++;for(a=(i=new Array(n)).length-1;0<=a;a--)i[a]=255&e,e>>=8;return 128&i[0]&&i.unshift(0),this._createEncoderBuffer(new f(i))},s.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},s.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},s.prototype._skipDefault=function(e,t,r){var n,i=this._baseState;if(null===i.default)return!1;var a=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,r).join()),a.length!==i.defaultBuffer.length)return!1;for(n=0;n<a.length;n++)if(a[n]!==i.defaultBuffer[n])return!1;return!0}},{"../../asn1":3,buffer:50,inherits:163}],15:[function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":14,"./pem":16}],16:[function(e,t,r){var n=e("inherits"),a=e("./der");function i(e){a.call(this,e),this.enc="pem"}n(i,a),(t.exports=i).prototype.encode=function(e,t){for(var r=a.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],i=0;i<r.length;i+=64)n.push(r.slice(i,i+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}},{"./der":14,inherits:163}],17:[function(e,t,r){"use strict";r.byteLength=function(e){return 3*e.length/4-h(e)},r.toByteArray=function(e){var t,r,n,i,a,o=e.length;i=h(e),a=new c(3*o/4-i),r=0<i?o-4:o;var s=0;for(t=0;t<r;t+=4)n=f[e.charCodeAt(t)]<<18|f[e.charCodeAt(t+1)]<<12|f[e.charCodeAt(t+2)]<<6|f[e.charCodeAt(t+3)],a[s++]=n>>16&255,a[s++]=n>>8&255,a[s++]=255&n;2===i?(n=f[e.charCodeAt(t)]<<2|f[e.charCodeAt(t+1)]>>4,a[s++]=255&n):1===i&&(n=f[e.charCodeAt(t)]<<10|f[e.charCodeAt(t+1)]<<4|f[e.charCodeAt(t+2)]>>2,a[s++]=n>>8&255,a[s++]=255&n);return a},r.fromByteArray=function(e){for(var t,r=e.length,n=r%3,i="",a=[],o=0,s=r-n;o<s;o+=16383)a.push(d(e,o,s<o+16383?s:o+16383));1===n?(t=e[r-1],i+=u[t>>2],i+=u[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=u[t>>10],i+=u[t>>4&63],i+=u[t<<2&63],i+="=");return a.push(i),a.join("")};for(var u=[],f=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,a=n.length;i<a;++i)u[i]=n[i],f[n.charCodeAt(i)]=i;function h(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function d(e,t,r){for(var n,i,a=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(u[(i=n)>>18&63]+u[i>>12&63]+u[i>>6&63]+u[63&i]);return a.join("")}f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63},{}],18:[function(_,e,t){!function(e,t){"use strict";function m(e,t){if(!e)throw new Error(t||"Assertion failed")}function r(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function g(e,t,r){if(g.isBN(e))return e;this.negative=0,this.words=null,this.length=0,(this.red=null)!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var n;"object"==typeof e?e.exports=g:t.BN=g,(g.BN=g).wordSize=26;try{n=_("buffer").Buffer}catch(e){}function o(e,t,r){for(var n=0,i=Math.min(e.length,r),a=t;a<i;a++){var o=e.charCodeAt(a)-48;n<<=4,n|=49<=o&&o<=54?o-49+10:17<=o&&o<=22?o-17+10:15&o}return n}function h(e,t,r,n){for(var i=0,a=Math.min(e.length,r),o=t;o<a;o++){var s=e.charCodeAt(o)-48;i*=n,i+=49<=s?s-49+10:17<=s?s-17+10:s}return i}g.isBN=function(e){return e instanceof g||null!==e&&"object"==typeof e&&e.constructor.wordSize===g.wordSize&&Array.isArray(e.words)},g.max=function(e,t){return 0<e.cmp(t)?e:t},g.min=function(e,t){return e.cmp(t)<0?e:t},g.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),m(t===(0|t)&&2<=t&&t<=36);var n=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&n++,16===t?this._parseHex(e,n):this._parseBase(e,t,n),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},g.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(m(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},g.prototype._initArray=function(e,t,r){if(m("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,a,o=0;if("be"===r)for(n=e.length-1,i=0;0<=n;n-=3)a=e[n]|e[n-1]<<8|e[n-2]<<16,this.words[i]|=a<<o&67108863,this.words[i+1]=a>>>26-o&67108863,26<=(o+=24)&&(o-=26,i++);else if("le"===r)for(i=n=0;n<e.length;n+=3)a=e[n]|e[n+1]<<8|e[n+2]<<16,this.words[i]|=a<<o&67108863,this.words[i+1]=a>>>26-o&67108863,26<=(o+=24)&&(o-=26,i++);return this.strip()},g.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,a=0;for(r=e.length-6,n=0;t<=r;r-=6)i=o(e,r,r+6),this.words[n]|=i<<a&67108863,this.words[n+1]|=i>>>26-a&4194303,26<=(a+=24)&&(a-=26,n++);r+6!==t&&(i=o(e,t,r+6),this.words[n]|=i<<a&67108863,this.words[n+1]|=i>>>26-a&4194303),this.strip()},g.prototype._parseBase=function(e,t,r){this.words=[0];for(var n=0,i=this.length=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,s=Math.min(a,a-o)+r,u=0,f=r;f<s;f+=n)u=h(e,f,f+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var c=1;for(u=h(e,f,e.length,t),f=0;f<o;f++)c*=t;this.imuln(c),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},g.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},g.prototype.clone=function(){var e=new g(null);return this.copy(e),e},g.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},g.prototype.strip=function(){for(;1<this.length&&0===this.words[this.length-1];)this.length--;return this._normSign()},g.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},g.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function i(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;n=(r.length=n)-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,u=o/67108864|0;r.words[0]=s;for(var f=1;f<n;f++){for(var c=u>>>26,h=67108863&u,d=Math.min(f,t.length-1),l=Math.max(0,f-e.length+1);l<=d;l++){var p=f-l|0;c+=(o=(i=0|e.words[p])*(a=0|t.words[l])+h)/67108864|0,h=67108863&o}r.words[f]=0|h,u=0|c}return 0!==u?r.words[f]=0|u:r.length--,r.strip()}g.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var n=0,i=0,a=0;a<this.length;a++){var o=this.words[a],s=(16777215&(o<<n|i)).toString(16);r=0!==(i=o>>>24-n&16777215)||a!==this.length-1?d[6-s.length]+s+r:s+r,26<=(n+=2)&&(n-=26,a--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&2<=e&&e<=36){var u=l[e],f=p[e];r="";var c=this.clone();for(c.negative=0;!c.isZero();){var h=c.modn(f).toString(e);r=(c=c.idivn(f)).isZero()?h+r:d[u-h.length]+h+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}m(!1,"Base should be between 2 and 36")},g.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:2<this.length&&m(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},g.prototype.toJSON=function(){return this.toString(16)},g.prototype.toBuffer=function(e,t){return m(void 0!==n),this.toArrayLike(n,e,t)},g.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},g.prototype.toArrayLike=function(e,t,r){var n=this.byteLength(),i=r||Math.max(1,n);m(n<=i,"byte array longer than desired length"),m(0<i,"Requested array length <= 0"),this.strip();var a,o,s="le"===t,u=new e(i),f=this.clone();if(s){for(o=0;!f.isZero();o++)a=f.andln(255),f.iushrn(8),u[o]=a;for(;o<i;o++)u[o]=0}else{for(o=0;o<i-n;o++)u[o]=0;for(o=0;!f.isZero();o++)a=f.andln(255),f.iushrn(8),u[i-o-1]=a}return u},g.prototype._countBits=Math.clz32?function(e){return 32-Math.clz32(e)}:function(e){var t=e,r=0;return 4096<=t&&(r+=13,t>>>=13),64<=t&&(r+=7,t>>>=7),8<=t&&(r+=4,t>>>=4),2<=t&&(r+=2,t>>>=2),r+t},g.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},g.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},g.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},g.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},g.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},g.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},g.prototype.isNeg=function(){return 0!==this.negative},g.prototype.neg=function(){return this.clone().ineg()},g.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},g.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},g.prototype.ior=function(e){return m(0==(this.negative|e.negative)),this.iuor(e)},g.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},g.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},g.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},g.prototype.iand=function(e){return m(0==(this.negative|e.negative)),this.iuand(e)},g.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},g.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},g.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},g.prototype.ixor=function(e){return m(0==(this.negative|e.negative)),this.iuxor(e)},g.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},g.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},g.prototype.inotn=function(e){m("number"==typeof e&&0<=e);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),0<r&&t--;for(var n=0;n<t;n++)this.words[n]=67108863&~this.words[n];return 0<r&&(this.words[n]=~this.words[n]&67108863>>26-r),this.strip()},g.prototype.notn=function(e){return this.clone().inotn(e)},g.prototype.setn=function(e,t){m("number"==typeof e&&0<=e);var r=e/26|0,n=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<n:this.words[r]&~(1<<n),this.strip()},g.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a<n.length;a++)t=(0|r.words[a])+(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<r.length;a++)t=(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},g.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},g.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;0<i?(r=this,n=e):(r=e,n=this);for(var a=0,o=0;o<n.length;o++)a=(t=(0|r.words[o])-(0|n.words[o])+a)>>26,this.words[o]=67108863&t;for(;0!==a&&o<r.length;o++)a=(t=(0|r.words[o])+a)>>26,this.words[o]=67108863&t;if(0===a&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},g.prototype.sub=function(e){return this.clone().isub(e)};var a=function(e,t,r){var n,i,a,o=e.words,s=t.words,u=r.words,f=0,c=0|o[0],h=8191&c,d=c>>>13,l=0|o[1],p=8191&l,b=l>>>13,m=0|o[2],g=8191&m,v=m>>>13,y=0|o[3],w=8191&y,A=y>>>13,S=0|o[4],_=8191&S,E=S>>>13,T=0|o[5],C=8191&T,M=T>>>13,B=0|o[6],x=8191&B,I=B>>>13,D=0|o[7],P=8191&D,k=D>>>13,F=0|o[8],G=8191&F,H=F>>>13,R=0|o[9],L=8191&R,O=R>>>13,N=0|s[0],V=8191&N,j=N>>>13,W=0|s[1],X=8191&W,U=W>>>13,z=0|s[2],Z=8191&z,Y=z>>>13,K=0|s[3],q=8191&K,J=K>>>13,Q=0|s[4],$=8191&Q,ee=Q>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],ue=8191&se,fe=se>>>13,ce=0|s[8],he=8191&ce,de=ce>>>13,le=0|s[9],pe=8191&le,be=le>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(f+(n=Math.imul(h,V))|0)+((8191&(i=(i=Math.imul(h,j))+Math.imul(d,V)|0))<<13)|0;f=((a=Math.imul(d,j))+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,V),i=(i=Math.imul(p,j))+Math.imul(b,V)|0,a=Math.imul(b,j);var ge=(f+(n=n+Math.imul(h,X)|0)|0)+((8191&(i=(i=i+Math.imul(h,U)|0)+Math.imul(d,X)|0))<<13)|0;f=((a=a+Math.imul(d,U)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,V),i=(i=Math.imul(g,j))+Math.imul(v,V)|0,a=Math.imul(v,j),n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,U)|0)+Math.imul(b,X)|0,a=a+Math.imul(b,U)|0;var ve=(f+(n=n+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,Y)|0)+Math.imul(d,Z)|0))<<13)|0;f=((a=a+Math.imul(d,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(w,V),i=(i=Math.imul(w,j))+Math.imul(A,V)|0,a=Math.imul(A,j),n=n+Math.imul(g,X)|0,i=(i=i+Math.imul(g,U)|0)+Math.imul(v,X)|0,a=a+Math.imul(v,U)|0,n=n+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(b,Z)|0,a=a+Math.imul(b,Y)|0;var ye=(f+(n=n+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,J)|0)+Math.imul(d,q)|0))<<13)|0;f=((a=a+Math.imul(d,J)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(_,V),i=(i=Math.imul(_,j))+Math.imul(E,V)|0,a=Math.imul(E,j),n=n+Math.imul(w,X)|0,i=(i=i+Math.imul(w,U)|0)+Math.imul(A,X)|0,a=a+Math.imul(A,U)|0,n=n+Math.imul(g,Z)|0,i=(i=i+Math.imul(g,Y)|0)+Math.imul(v,Z)|0,a=a+Math.imul(v,Y)|0,n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(b,q)|0,a=a+Math.imul(b,J)|0;var we=(f+(n=n+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,ee)|0)+Math.imul(d,$)|0))<<13)|0;f=((a=a+Math.imul(d,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(C,V),i=(i=Math.imul(C,j))+Math.imul(M,V)|0,a=Math.imul(M,j),n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,U)|0)+Math.imul(E,X)|0,a=a+Math.imul(E,U)|0,n=n+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(A,Z)|0,a=a+Math.imul(A,Y)|0,n=n+Math.imul(g,q)|0,i=(i=i+Math.imul(g,J)|0)+Math.imul(v,q)|0,a=a+Math.imul(v,J)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(b,$)|0,a=a+Math.imul(b,ee)|0;var Ae=(f+(n=n+Math.imul(h,re)|0)|0)+((8191&(i=(i=i+Math.imul(h,ne)|0)+Math.imul(d,re)|0))<<13)|0;f=((a=a+Math.imul(d,ne)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(x,V),i=(i=Math.imul(x,j))+Math.imul(I,V)|0,a=Math.imul(I,j),n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,U)|0)+Math.imul(M,X)|0,a=a+Math.imul(M,U)|0,n=n+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(E,Z)|0,a=a+Math.imul(E,Y)|0,n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,J)|0)+Math.imul(A,q)|0,a=a+Math.imul(A,J)|0,n=n+Math.imul(g,$)|0,i=(i=i+Math.imul(g,ee)|0)+Math.imul(v,$)|0,a=a+Math.imul(v,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(b,re)|0,a=a+Math.imul(b,ne)|0;var Se=(f+(n=n+Math.imul(h,ae)|0)|0)+((8191&(i=(i=i+Math.imul(h,oe)|0)+Math.imul(d,ae)|0))<<13)|0;f=((a=a+Math.imul(d,oe)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(P,V),i=(i=Math.imul(P,j))+Math.imul(k,V)|0,a=Math.imul(k,j),n=n+Math.imul(x,X)|0,i=(i=i+Math.imul(x,U)|0)+Math.imul(I,X)|0,a=a+Math.imul(I,U)|0,n=n+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(M,Z)|0,a=a+Math.imul(M,Y)|0,n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(E,q)|0,a=a+Math.imul(E,J)|0,n=n+Math.imul(w,$)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(A,$)|0,a=a+Math.imul(A,ee)|0,n=n+Math.imul(g,re)|0,i=(i=i+Math.imul(g,ne)|0)+Math.imul(v,re)|0,a=a+Math.imul(v,ne)|0,n=n+Math.imul(p,ae)|0,i=(i=i+Math.imul(p,oe)|0)+Math.imul(b,ae)|0,a=a+Math.imul(b,oe)|0;var _e=(f+(n=n+Math.imul(h,ue)|0)|0)+((8191&(i=(i=i+Math.imul(h,fe)|0)+Math.imul(d,ue)|0))<<13)|0;f=((a=a+Math.imul(d,fe)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(G,V),i=(i=Math.imul(G,j))+Math.imul(H,V)|0,a=Math.imul(H,j),n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,U)|0)+Math.imul(k,X)|0,a=a+Math.imul(k,U)|0,n=n+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,Y)|0)+Math.imul(I,Z)|0,a=a+Math.imul(I,Y)|0,n=n+Math.imul(C,q)|0,i=(i=i+Math.imul(C,J)|0)+Math.imul(M,q)|0,a=a+Math.imul(M,J)|0,n=n+Math.imul(_,$)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(E,$)|0,a=a+Math.imul(E,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(A,re)|0,a=a+Math.imul(A,ne)|0,n=n+Math.imul(g,ae)|0,i=(i=i+Math.imul(g,oe)|0)+Math.imul(v,ae)|0,a=a+Math.imul(v,oe)|0,n=n+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,fe)|0)+Math.imul(b,ue)|0,a=a+Math.imul(b,fe)|0;var Ee=(f+(n=n+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,de)|0)+Math.imul(d,he)|0))<<13)|0;f=((a=a+Math.imul(d,de)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(L,V),i=(i=Math.imul(L,j))+Math.imul(O,V)|0,a=Math.imul(O,j),n=n+Math.imul(G,X)|0,i=(i=i+Math.imul(G,U)|0)+Math.imul(H,X)|0,a=a+Math.imul(H,U)|0,n=n+Math.imul(P,Z)|0,i=(i=i+Math.imul(P,Y)|0)+Math.imul(k,Z)|0,a=a+Math.imul(k,Y)|0,n=n+Math.imul(x,q)|0,i=(i=i+Math.imul(x,J)|0)+Math.imul(I,q)|0,a=a+Math.imul(I,J)|0,n=n+Math.imul(C,$)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(M,$)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(E,re)|0,a=a+Math.imul(E,ne)|0,n=n+Math.imul(w,ae)|0,i=(i=i+Math.imul(w,oe)|0)+Math.imul(A,ae)|0,a=a+Math.imul(A,oe)|0,n=n+Math.imul(g,ue)|0,i=(i=i+Math.imul(g,fe)|0)+Math.imul(v,ue)|0,a=a+Math.imul(v,fe)|0,n=n+Math.imul(p,he)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(b,he)|0,a=a+Math.imul(b,de)|0;var Te=(f+(n=n+Math.imul(h,pe)|0)|0)+((8191&(i=(i=i+Math.imul(h,be)|0)+Math.imul(d,pe)|0))<<13)|0;f=((a=a+Math.imul(d,be)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(L,X),i=(i=Math.imul(L,U))+Math.imul(O,X)|0,a=Math.imul(O,U),n=n+Math.imul(G,Z)|0,i=(i=i+Math.imul(G,Y)|0)+Math.imul(H,Z)|0,a=a+Math.imul(H,Y)|0,n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(k,q)|0,a=a+Math.imul(k,J)|0,n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(I,$)|0,a=a+Math.imul(I,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(M,re)|0,a=a+Math.imul(M,ne)|0,n=n+Math.imul(_,ae)|0,i=(i=i+Math.imul(_,oe)|0)+Math.imul(E,ae)|0,a=a+Math.imul(E,oe)|0,n=n+Math.imul(w,ue)|0,i=(i=i+Math.imul(w,fe)|0)+Math.imul(A,ue)|0,a=a+Math.imul(A,fe)|0,n=n+Math.imul(g,he)|0,i=(i=i+Math.imul(g,de)|0)+Math.imul(v,he)|0,a=a+Math.imul(v,de)|0;var Ce=(f+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,be)|0)+Math.imul(b,pe)|0))<<13)|0;f=((a=a+Math.imul(b,be)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(L,Z),i=(i=Math.imul(L,Y))+Math.imul(O,Z)|0,a=Math.imul(O,Y),n=n+Math.imul(G,q)|0,i=(i=i+Math.imul(G,J)|0)+Math.imul(H,q)|0,a=a+Math.imul(H,J)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(k,$)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(I,re)|0,a=a+Math.imul(I,ne)|0,n=n+Math.imul(C,ae)|0,i=(i=i+Math.imul(C,oe)|0)+Math.imul(M,ae)|0,a=a+Math.imul(M,oe)|0,n=n+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,fe)|0)+Math.imul(E,ue)|0,a=a+Math.imul(E,fe)|0,n=n+Math.imul(w,he)|0,i=(i=i+Math.imul(w,de)|0)+Math.imul(A,he)|0,a=a+Math.imul(A,de)|0;var Me=(f+(n=n+Math.imul(g,pe)|0)|0)+((8191&(i=(i=i+Math.imul(g,be)|0)+Math.imul(v,pe)|0))<<13)|0;f=((a=a+Math.imul(v,be)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(L,q),i=(i=Math.imul(L,J))+Math.imul(O,q)|0,a=Math.imul(O,J),n=n+Math.imul(G,$)|0,i=(i=i+Math.imul(G,ee)|0)+Math.imul(H,$)|0,a=a+Math.imul(H,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(k,re)|0,a=a+Math.imul(k,ne)|0,n=n+Math.imul(x,ae)|0,i=(i=i+Math.imul(x,oe)|0)+Math.imul(I,ae)|0,a=a+Math.imul(I,oe)|0,n=n+Math.imul(C,ue)|0,i=(i=i+Math.imul(C,fe)|0)+Math.imul(M,ue)|0,a=a+Math.imul(M,fe)|0,n=n+Math.imul(_,he)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(E,he)|0,a=a+Math.imul(E,de)|0;var Be=(f+(n=n+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,be)|0)+Math.imul(A,pe)|0))<<13)|0;f=((a=a+Math.imul(A,be)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(L,$),i=(i=Math.imul(L,ee))+Math.imul(O,$)|0,a=Math.imul(O,ee),n=n+Math.imul(G,re)|0,i=(i=i+Math.imul(G,ne)|0)+Math.imul(H,re)|0,a=a+Math.imul(H,ne)|0,n=n+Math.imul(P,ae)|0,i=(i=i+Math.imul(P,oe)|0)+Math.imul(k,ae)|0,a=a+Math.imul(k,oe)|0,n=n+Math.imul(x,ue)|0,i=(i=i+Math.imul(x,fe)|0)+Math.imul(I,ue)|0,a=a+Math.imul(I,fe)|0,n=n+Math.imul(C,he)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(M,he)|0,a=a+Math.imul(M,de)|0;var xe=(f+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,be)|0)+Math.imul(E,pe)|0))<<13)|0;f=((a=a+Math.imul(E,be)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(L,re),i=(i=Math.imul(L,ne))+Math.imul(O,re)|0,a=Math.imul(O,ne),n=n+Math.imul(G,ae)|0,i=(i=i+Math.imul(G,oe)|0)+Math.imul(H,ae)|0,a=a+Math.imul(H,oe)|0,n=n+Math.imul(P,ue)|0,i=(i=i+Math.imul(P,fe)|0)+Math.imul(k,ue)|0,a=a+Math.imul(k,fe)|0,n=n+Math.imul(x,he)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(I,he)|0,a=a+Math.imul(I,de)|0;var Ie=(f+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,be)|0)+Math.imul(M,pe)|0))<<13)|0;f=((a=a+Math.imul(M,be)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(L,ae),i=(i=Math.imul(L,oe))+Math.imul(O,ae)|0,a=Math.imul(O,oe),n=n+Math.imul(G,ue)|0,i=(i=i+Math.imul(G,fe)|0)+Math.imul(H,ue)|0,a=a+Math.imul(H,fe)|0,n=n+Math.imul(P,he)|0,i=(i=i+Math.imul(P,de)|0)+Math.imul(k,he)|0,a=a+Math.imul(k,de)|0;var De=(f+(n=n+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,be)|0)+Math.imul(I,pe)|0))<<13)|0;f=((a=a+Math.imul(I,be)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(L,ue),i=(i=Math.imul(L,fe))+Math.imul(O,ue)|0,a=Math.imul(O,fe),n=n+Math.imul(G,he)|0,i=(i=i+Math.imul(G,de)|0)+Math.imul(H,he)|0,a=a+Math.imul(H,de)|0;var Pe=(f+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,be)|0)+Math.imul(k,pe)|0))<<13)|0;f=((a=a+Math.imul(k,be)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(L,he),i=(i=Math.imul(L,de))+Math.imul(O,he)|0,a=Math.imul(O,de);var ke=(f+(n=n+Math.imul(G,pe)|0)|0)+((8191&(i=(i=i+Math.imul(G,be)|0)+Math.imul(H,pe)|0))<<13)|0;f=((a=a+Math.imul(H,be)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863;var Fe=(f+(n=Math.imul(L,pe))|0)+((8191&(i=(i=Math.imul(L,be))+Math.imul(O,pe)|0))<<13)|0;return f=((a=Math.imul(O,be))+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,u[0]=me,u[1]=ge,u[2]=ve,u[3]=ye,u[4]=we,u[5]=Ae,u[6]=Se,u[7]=_e,u[8]=Ee,u[9]=Te,u[10]=Ce,u[11]=Me,u[12]=Be,u[13]=xe,u[14]=Ie,u[15]=De,u[16]=Pe,u[17]=ke,u[18]=Fe,0!==f&&(u[19]=f,r.length++),r};function s(e,t,r){return(new u).mulp(e,t,r)}function u(e,t){this.x=e,this.y=t}Math.imul||(a=i),g.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?a(this,e,t):r<63?i(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a<r.length-1;a++){var o=i;i=0;for(var s=67108863&n,u=Math.min(a,t.length-1),f=Math.max(0,a-e.length+1);f<=u;f++){var c=a-f,h=(0|e.words[c])*(0|t.words[f]),d=67108863&h;s=67108863&(d=d+s|0),i+=(o=(o=o+(h/67108864|0)|0)+(d>>>26)|0)>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r.strip()}(this,e,t):s(this,e,t)},u.prototype.makeRBT=function(e){for(var t=new Array(e),r=g.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},u.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},u.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o<a;o++)n[o]=t[e[o]],i[o]=r[e[o]]},u.prototype.transform=function(e,t,r,n,i,a){this.permute(a,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,u=Math.cos(2*Math.PI/s),f=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var h=u,d=f,l=0;l<o;l++){var p=r[c+l],b=n[c+l],m=r[c+l+o],g=n[c+l+o],v=h*m-d*g;g=h*g+d*m,m=v,r[c+l]=p+m,n[c+l]=b+g,r[c+l+o]=p-m,n[c+l+o]=b-g,l!==s&&(v=u*h-f*d,d=u*d+f*h,h=v)}},u.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},u.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},u.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},u.prototype.convert13b=function(e,t,r,n){for(var i=0,a=0;a<t;a++)i+=0|e[a],r[2*a]=8191&i,i>>>=13,r[2*a+1]=8191&i,i>>>=13;for(a=2*t;a<n;++a)r[a]=0;m(0===i),m(0==(-8192&i))},u.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},u.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),a=this.stub(n),o=new Array(n),s=new Array(n),u=new Array(n),f=new Array(n),c=new Array(n),h=new Array(n),d=r.words;d.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,f,n),this.transform(o,a,s,u,n,i),this.transform(f,a,c,h,n,i);for(var l=0;l<n;l++){var p=s[l]*c[l]-u[l]*h[l];u[l]=s[l]*h[l]+u[l]*c[l],s[l]=p}return this.conjugate(s,u,n),this.transform(s,u,d,a,n,i),this.conjugate(d,a,n),this.normalize13b(d,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},g.prototype.mul=function(e){var t=new g(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},g.prototype.mulf=function(e){var t=new g(null);return t.words=new Array(this.length+e.length),s(this,e,t)},g.prototype.imul=function(e){return this.clone().mulTo(e,this)},g.prototype.imuln=function(e){m("number"==typeof e),m(e<67108864);for(var t=0,r=0;r<this.length;r++){var n=(0|this.words[r])*e,i=(67108863&n)+(67108863&t);t>>=26,t+=n/67108864|0,t+=i>>>26,this.words[r]=67108863&i}return 0!==t&&(this.words[r]=t,this.length++),this},g.prototype.muln=function(e){return this.clone().imuln(e)},g.prototype.sqr=function(){return this.mul(this)},g.prototype.isqr=function(){return this.imul(this.clone())},g.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new g(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},g.prototype.iushln=function(e){m("number"==typeof e&&0<=e);var t,r=e%26,n=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var o=this.words[t]&i,s=(0|this.words[t])-o<<r;this.words[t]=s|a,a=o>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==n){for(t=this.length-1;0<=t;t--)this.words[t+n]=this.words[t];for(t=0;t<n;t++)this.words[t]=0;this.length+=n}return this.strip()},g.prototype.ishln=function(e){return m(0===this.negative),this.iushln(e)},g.prototype.iushrn=function(e,t,r){var n;m("number"==typeof e&&0<=e),n=t?(t-t%26)/26:0;var i=e%26,a=Math.min((e-i)/26,this.length),o=67108863^67108863>>>i<<i,s=r;if(n-=a,n=Math.max(0,n),s){for(var u=0;u<a;u++)s.words[u]=this.words[u];s.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var f=0;for(u=this.length-1;0<=u&&(0!==f||n<=u);u--){var c=0|this.words[u];this.words[u]=f<<26-i|c>>>i,f=c&o}return s&&0!==f&&(s.words[s.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},g.prototype.ishrn=function(e,t,r){return m(0===this.negative),this.iushrn(e,t,r)},g.prototype.shln=function(e){return this.clone().ishln(e)},g.prototype.ushln=function(e){return this.clone().iushln(e)},g.prototype.shrn=function(e){return this.clone().ishrn(e)},g.prototype.ushrn=function(e){return this.clone().iushrn(e)},g.prototype.testn=function(e){m("number"==typeof e&&0<=e);var t=e%26,r=(e-t)/26,n=1<<t;return!(this.length<=r)&&!!(this.words[r]&n)},g.prototype.imaskn=function(e){m("number"==typeof e&&0<=e);var t=e%26,r=(e-t)/26;if(m(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var n=67108863^67108863>>>t<<t;this.words[this.length-1]&=n}return this.strip()},g.prototype.maskn=function(e){return this.clone().imaskn(e)},g.prototype.iaddn=function(e){return m("number"==typeof e),m(e<67108864),e<0?this.isubn(-e):0!==this.negative?(1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(e),this.negative=1),this):this._iaddn(e)},g.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&67108864<=this.words[t];t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},g.prototype.isubn=function(e){if(m("number"==typeof e),m(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},g.prototype.addn=function(e){return this.clone().iaddn(e)},g.prototype.subn=function(e){return this.clone().isubn(e)},g.prototype.iabs=function(){return this.negative=0,this},g.prototype.abs=function(){return this.clone().iabs()},g.prototype._ishlnsubmul=function(e,t,r){var n,i,a=e.length+r;this._expand(a);var o=0;for(n=0;n<e.length;n++){i=(0|this.words[n+r])+o;var s=(0|e.words[n])*t;o=((i-=67108863&s)>>26)-(s/67108864|0),this.words[n+r]=67108863&i}for(;n<this.length-r;n++)o=(i=(0|this.words[n+r])+o)>>26,this.words[n+r]=67108863&i;if(0===o)return this.strip();for(m(-1===o),n=o=0;n<this.length;n++)o=(i=-(0|this.words[n])+o)>>26,this.words[n]=67108863&i;return this.negative=1,this.strip()},g.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var o,s=n.length-i.length;if("mod"!==t){(o=new g(null)).length=s+1,o.words=new Array(o.length);for(var u=0;u<o.length;u++)o.words[u]=0}var f=n.clone()._ishlnsubmul(i,1,s);0===f.negative&&(n=f,o&&(o.words[s]=1));for(var c=s-1;0<=c;c--){var h=67108864*(0|n.words[i.length+c])+(0|n.words[i.length+c-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,c);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,c),n.isZero()||(n.negative^=1);o&&(o.words[c]=h)}return o&&o.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:o||null,mod:n}},g.prototype.divmod=function(e,t,r){return m(!e.isZero()),this.isZero()?{div:new g(0),mod:new g(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(n=a.div.neg()),"div"!==t&&(i=a.mod.neg(),r&&0!==i.negative&&i.iadd(e)),{div:n,mod:i}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(n=a.div.neg()),{div:n,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(i=a.mod.neg(),r&&0!==i.negative&&i.isub(e)),{div:a.div,mod:i}):e.length>this.length||this.cmp(e)<0?{div:new g(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new g(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new g(this.modn(e.words[0]))}:this._wordDiv(e,t);var n,i,a},g.prototype.div=function(e){return this.divmod(e,"div",!1).div},g.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},g.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},g.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},g.prototype.modn=function(e){m(e<=67108863);for(var t=(1<<26)%e,r=0,n=this.length-1;0<=n;n--)r=(t*r+(0|this.words[n]))%e;return r},g.prototype.idivn=function(e){m(e<=67108863);for(var t=0,r=this.length-1;0<=r;r--){var n=(0|this.words[r])+67108864*t;this.words[r]=n/e|0,t=n%e}return this.strip()},g.prototype.divn=function(e){return this.clone().idivn(e)},g.prototype.egcd=function(e){m(0===e.negative),m(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var n=new g(1),i=new g(0),a=new g(0),o=new g(1),s=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++s;for(var u=r.clone(),f=t.clone();!t.isZero();){for(var c=0,h=1;0==(t.words[0]&h)&&c<26;++c,h<<=1);if(0<c)for(t.iushrn(c);0<c--;)(n.isOdd()||i.isOdd())&&(n.iadd(u),i.isub(f)),n.iushrn(1),i.iushrn(1);for(var d=0,l=1;0==(r.words[0]&l)&&d<26;++d,l<<=1);if(0<d)for(r.iushrn(d);0<d--;)(a.isOdd()||o.isOdd())&&(a.iadd(u),o.isub(f)),a.iushrn(1),o.iushrn(1);0<=t.cmp(r)?(t.isub(r),n.isub(a),i.isub(o)):(r.isub(t),a.isub(n),o.isub(i))}return{a:a,b:o,gcd:r.iushln(s)}},g.prototype._invmp=function(e){m(0===e.negative),m(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var n,i=new g(1),a=new g(0),o=r.clone();0<t.cmpn(1)&&0<r.cmpn(1);){for(var s=0,u=1;0==(t.words[0]&u)&&s<26;++s,u<<=1);if(0<s)for(t.iushrn(s);0<s--;)i.isOdd()&&i.iadd(o),i.iushrn(1);for(var f=0,c=1;0==(r.words[0]&c)&&f<26;++f,c<<=1);if(0<f)for(r.iushrn(f);0<f--;)a.isOdd()&&a.iadd(o),a.iushrn(1);0<=t.cmp(r)?(t.isub(r),i.isub(a)):(r.isub(t),a.isub(i))}return(n=0===t.cmpn(1)?i:a).cmpn(0)<0&&n.iadd(e),n},g.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0;for(var n=r.negative=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},g.prototype.invm=function(e){return this.egcd(e).a.umod(e)},g.prototype.isEven=function(){return 0==(1&this.words[0])},g.prototype.isOdd=function(){return 1==(1&this.words[0])},g.prototype.andln=function(e){return this.words[0]&e},g.prototype.bincn=function(e){m("number"==typeof e);var t=e%26,r=(e-t)/26,n=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=n,this;for(var i=n,a=r;0!==i&&a<this.length;a++){var o=0|this.words[a];i=(o+=i)>>>26,o&=67108863,this.words[a]=o}return 0!==i&&(this.words[a]=i,this.length++),this},g.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},g.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),1<this.length)t=1;else{r&&(e=-e),m(e<=67108863,"Number is too big");var n=0|this.words[0];t=n===e?0:n<e?-1:1}return 0!==this.negative?0|-t:t},g.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},g.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;0<=r;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:i<n&&(t=1);break}}return t},g.prototype.gtn=function(e){return 1===this.cmpn(e)},g.prototype.gt=function(e){return 1===this.cmp(e)},g.prototype.gten=function(e){return 0<=this.cmpn(e)},g.prototype.gte=function(e){return 0<=this.cmp(e)},g.prototype.ltn=function(e){return-1===this.cmpn(e)},g.prototype.lt=function(e){return-1===this.cmp(e)},g.prototype.lten=function(e){return this.cmpn(e)<=0},g.prototype.lte=function(e){return this.cmp(e)<=0},g.prototype.eqn=function(e){return 0===this.cmpn(e)},g.prototype.eq=function(e){return 0===this.cmp(e)},g.red=function(e){return new A(e)},g.prototype.toRed=function(e){return m(!this.red,"Already a number in reduction context"),m(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},g.prototype.fromRed=function(){return m(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},g.prototype._forceRed=function(e){return this.red=e,this},g.prototype.forceRed=function(e){return m(!this.red,"Already a number in reduction context"),this._forceRed(e)},g.prototype.redAdd=function(e){return m(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},g.prototype.redIAdd=function(e){return m(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},g.prototype.redSub=function(e){return m(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},g.prototype.redISub=function(e){return m(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},g.prototype.redShl=function(e){return m(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},g.prototype.redMul=function(e){return m(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},g.prototype.redIMul=function(e){return m(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},g.prototype.redSqr=function(){return m(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},g.prototype.redISqr=function(){return m(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},g.prototype.redSqrt=function(){return m(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},g.prototype.redInvm=function(){return m(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},g.prototype.redNeg=function(){return m(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},g.prototype.redPow=function(e){return m(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var f={k256:null,p224:null,p192:null,p25519:null};function c(e,t){this.name=e,this.p=new g(t,16),this.n=this.p.bitLength(),this.k=new g(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){c.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){c.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function y(){c.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){c.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(e){if("string"==typeof e){var t=g._prime(e);this.m=t.p,this.prime=t}else m(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){A.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new g(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}c.prototype._tmp=function(){var e=new g(null);return e.words=new Array(Math.ceil(this.n/13)),e},c.prototype.ireduce=function(e){for(var t,r=e;this.split(r,this.tmp),(t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength())>this.n;);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):0<n?r.isub(this.p):r.strip(),r},c.prototype.split=function(e,t){e.iushrn(this.n,0,t)},c.prototype.imulK=function(e){return e.imul(this.k)},r(b,c),b.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,n=10;n<e.length;n++){var a=0|e.words[n];e.words[n-10]=(4194303&a)<<4|i>>>22,i=a}i>>>=22,0===(e.words[n-10]=i)&&10<e.length?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},r(v,c),r(y,c),r(w,c),w.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},g._prime=function(e){if(f[e])return f[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new v;else if("p192"===e)t=new y;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return f[e]=t},A.prototype._verify1=function(e){m(0===e.negative,"red works only with positives"),m(e.red,"red works only with red numbers")},A.prototype._verify2=function(e,t){m(0==(e.negative|t.negative),"red works only with positives"),m(e.red&&e.red===t.red,"red works only with red numbers")},A.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},A.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},A.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return 0<=r.cmp(this.m)&&r.isub(this.m),r._forceRed(this)},A.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return 0<=r.cmp(this.m)&&r.isub(this.m),r},A.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},A.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},A.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},A.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},A.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},A.prototype.isqr=function(e){return this.imul(e,e.clone())},A.prototype.sqr=function(e){return this.mul(e,e)},A.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(m(t%2==1),3===t){var r=this.m.add(new g(1)).iushrn(2);return this.pow(e,r)}for(var n=this.m.subn(1),i=0;!n.isZero()&&0===n.andln(1);)i++,n.iushrn(1);m(!n.isZero());var a=new g(1).toRed(this),o=a.redNeg(),s=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new g(2*u*u).toRed(this);0!==this.pow(u,s).cmp(o);)u.redIAdd(o);for(var f=this.pow(u,n),c=this.pow(e,n.addn(1).iushrn(1)),h=this.pow(e,n),d=i;0!==h.cmp(a);){for(var l=h,p=0;0!==l.cmp(a);p++)l=l.redSqr();m(p<d);var b=this.pow(f,new g(1).iushln(d-p-1));c=c.redMul(b),f=b.redSqr(),h=h.redMul(f),d=p}return c},A.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},A.prototype.pow=function(e,t){if(t.isZero())return new g(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new g(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,o=0,s=t.bitLength()%26;for(0===s&&(s=26),n=t.length-1;0<=n;n--){for(var u=t.words[n],f=s-1;0<=f;f--){var c=u>>f&1;i!==r[0]&&(i=this.sqr(i)),0!==c||0!==a?(a<<=1,a|=c,(4===++o||0===n&&0===f)&&(i=this.mul(i,r[a]),a=o=0)):o=0}s=26}return i},A.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},A.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},g.mont=function(e){return new S(e)},r(S,A),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return 0<=i.cmp(this.m)?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new g(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return 0<=i.cmp(this.m)?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===e||e,this)},{buffer:20}],19:[function(e,t,r){var n;function i(e){this.rand=e}if(t.exports=function(e){return n||(n=new i(null)),n.generate(e)},(t.exports.Rand=i).prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var a=e("crypto");if("function"!=typeof a.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return a.randomBytes(e)}}catch(e){}},{crypto:20}],20:[function(e,t,r){},{}],21:[function(e,t,r){var i=e("safe-buffer").Buffer;function a(e){i.isBuffer(e)||(e=i.from(e));for(var t=e.length/4|0,r=new Array(t),n=0;n<t;n++)r[n]=e.readUInt32BE(4*n);return r}function n(e){for(;0<e.length;e++)e[0]=0}function o(e,t,r,n,i){for(var a,o,s,u,f=r[0],c=r[1],h=r[2],d=r[3],l=e[0]^t[0],p=e[1]^t[1],b=e[2]^t[2],m=e[3]^t[3],g=4,v=1;v<i;v++)a=f[l>>>24]^c[p>>>16&255]^h[b>>>8&255]^d[255&m]^t[g++],o=f[p>>>24]^c[b>>>16&255]^h[m>>>8&255]^d[255&l]^t[g++],s=f[b>>>24]^c[m>>>16&255]^h[l>>>8&255]^d[255&p]^t[g++],u=f[m>>>24]^c[l>>>16&255]^h[p>>>8&255]^d[255&b]^t[g++],l=a,p=o,b=s,m=u;return a=(n[l>>>24]<<24|n[p>>>16&255]<<16|n[b>>>8&255]<<8|n[255&m])^t[g++],o=(n[p>>>24]<<24|n[b>>>16&255]<<16|n[m>>>8&255]<<8|n[255&l])^t[g++],s=(n[b>>>24]<<24|n[m>>>16&255]<<16|n[l>>>8&255]<<8|n[255&p])^t[g++],u=(n[m>>>24]<<24|n[l>>>16&255]<<16|n[p>>>8&255]<<8|n[255&b])^t[g++],[a>>>=0,o>>>=0,s>>>=0,u>>>=0]}var h=[0,1,2,4,8,16,32,64,128,27,54],d=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],a=[[],[],[],[]],o=0,s=0,u=0;u<256;++u){var f=s^s<<1^s<<2^s<<3^s<<4;f=f>>>8^255&f^99;var c=e[n[r[o]=f]=o],h=e[c],d=e[h],l=257*e[f]^16843008*f;i[0][o]=l<<24|l>>>8,i[1][o]=l<<16|l>>>16,i[2][o]=l<<8|l>>>24,i[3][o]=l,l=16843009*d^65537*h^257*c^16843008*o,a[0][f]=l<<24|l>>>8,a[1][f]=l<<16|l>>>16,a[2][f]=l<<8|l>>>24,a[3][f]=l,0===o?o=s=1:(o=c^e[e[e[d^c]]],s^=e[e[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:a}}();function s(e){this._key=a(e),this._reset()}s.blockSize=16,s.keySize=32,s.prototype.blockSize=s.blockSize,s.prototype.keySize=s.keySize,s.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],a=0;a<t;a++)i[a]=e[a];for(a=t;a<n;a++){var o=i[a-1];a%t==0?(o=o<<8|o>>>24,o=d.SBOX[o>>>24]<<24|d.SBOX[o>>>16&255]<<16|d.SBOX[o>>>8&255]<<8|d.SBOX[255&o],o^=h[a/t|0]<<24):6<t&&a%t==4&&(o=d.SBOX[o>>>24]<<24|d.SBOX[o>>>16&255]<<16|d.SBOX[o>>>8&255]<<8|d.SBOX[255&o]),i[a]=i[a-t]^o}for(var s=[],u=0;u<n;u++){var f=n-u,c=i[f-(u%4?0:4)];s[u]=u<4||f<=4?c:d.INV_SUB_MIX[0][d.SBOX[c>>>24]]^d.INV_SUB_MIX[1][d.SBOX[c>>>16&255]]^d.INV_SUB_MIX[2][d.SBOX[c>>>8&255]]^d.INV_SUB_MIX[3][d.SBOX[255&c]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=s},s.prototype.encryptBlockRaw=function(e){return o(e=a(e),this._keySchedule,d.SUB_MIX,d.SBOX,this._nRounds)},s.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=i.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},s.prototype.decryptBlock=function(e){var t=(e=a(e))[1];e[1]=e[3],e[3]=t;var r=o(e,this._invKeySchedule,d.INV_SUB_MIX,d.INV_SBOX,this._nRounds),n=i.allocUnsafe(16);return n.writeUInt32BE(r[0],0),n.writeUInt32BE(r[3],4),n.writeUInt32BE(r[2],8),n.writeUInt32BE(r[1],12),n},s.prototype.scrub=function(){n(this._keySchedule),n(this._invKeySchedule),n(this._key)},t.exports.AES=s},{"safe-buffer":231}],22:[function(e,t,r){var o=e("./aes"),f=e("safe-buffer").Buffer,s=e("cipher-base"),n=e("inherits"),c=e("./ghash"),i=e("buffer-xor"),h=e("./incr32");function a(e,t,r,n){s.call(this);var i=f.alloc(4,0);this._cipher=new o.AES(t);var a=this._cipher.encryptBlock(i);this._ghash=new c(a),r=function(e,t,r){if(12===t.length)return e._finID=f.concat([t,f.from([0,0,0,1])]),f.concat([t,f.from([0,0,0,2])]);var n=new c(r),i=t.length,a=i%16;n.update(t),a&&(a=16-a,n.update(f.alloc(a,0))),n.update(f.alloc(8,0));var o=8*i,s=f.alloc(8);s.writeUIntBE(o,0,8),n.update(s),e._finID=n.state;var u=f.from(e._finID);return h(u),u}(this,r,a),this._prev=f.from(r),this._cache=f.allocUnsafe(0),this._secCache=f.allocUnsafe(0),this._decrypt=n,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}n(a,s),a.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=f.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},a.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=i(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},a.prototype.getAuthTag=function(){if(this._decrypt||!f.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},a.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},a.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},t.exports=a},{"./aes":21,"./ghash":26,"./incr32":27,"buffer-xor":49,"cipher-base":52,inherits:163,"safe-buffer":231}],23:[function(e,t,r){var n=e("./encrypter"),i=e("./decrypter"),a=e("./modes/list.json");r.createCipher=r.Cipher=n.createCipher,r.createCipheriv=r.Cipheriv=n.createCipheriv,r.createDecipher=r.Decipher=i.createDecipher,r.createDecipheriv=r.Decipheriv=i.createDecipheriv,r.listCiphers=r.getCiphers=function(){return Object.keys(a)}},{"./decrypter":24,"./encrypter":25,"./modes/list.json":35}],24:[function(e,t,r){var i=e("./authCipher"),a=e("safe-buffer").Buffer,o=e("./modes"),s=e("./streamCipher"),n=e("cipher-base"),u=e("./aes"),f=e("evp_bytestokey");function c(e,t,r){n.call(this),this._cache=new h,this._last=void 0,this._cipher=new u.AES(t),this._prev=a.from(r),this._mode=e,this._autopadding=!0}function h(){this.cache=a.allocUnsafe(0)}function d(e,t,r){var n=o[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=a.from(r)),"GCM"!==n.mode&&r.length!==n.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=a.from(t)),t.length!==n.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===n.type?new s(n.module,t,r,!0):"auth"===n.type?new i(n.module,t,r,!0):new c(n.module,t,r)}e("inherits")(c,n),c.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return a.concat(n)},c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||16<t)throw new Error("unable to decrypt data");var r=-1;for(;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=a.concat([this.cache,e])},h.prototype.get=function(e){var t;if(e){if(16<this.cache.length)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(16<=this.cache.length)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},h.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(e,t){var r=o[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=f(t,!1,r.key,r.iv);return d(e,n.key,n.iv)},r.createDecipheriv=d},{"./aes":21,"./authCipher":22,"./modes":34,"./streamCipher":37,"cipher-base":52,evp_bytestokey:123,inherits:163,"safe-buffer":231}],25:[function(e,t,r){var i=e("./modes"),a=e("./authCipher"),o=e("safe-buffer").Buffer,s=e("./streamCipher"),n=e("cipher-base"),u=e("./aes"),f=e("evp_bytestokey");function c(e,t,r){n.call(this),this._cache=new d,this._cipher=new u.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}e("inherits")(c,n),c.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return o.concat(n)};var h=o.alloc(16,16);function d(){this.cache=o.allocUnsafe(0)}function l(e,t,r){var n=i[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=o.from(t)),t.length!==n.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=o.from(r)),"GCM"!==n.mode&&r.length!==n.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===n.type?new s(n.module,t,r):"auth"===n.type?new a(n.module,t,r):new c(n.module,t,r)}c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(h))throw this._cipher.scrub(),new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=o.concat([this.cache,e])},d.prototype.get=function(){if(15<this.cache.length){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},d.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return o.concat([this.cache,t])},r.createCipheriv=l,r.createCipher=function(e,t){var r=i[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=f(t,!1,r.key,r.iv);return l(e,n.key,n.iv)}},{"./aes":21,"./authCipher":22,"./modes":34,"./streamCipher":37,"cipher-base":52,evp_bytestokey:123,inherits:163,"safe-buffer":231}],26:[function(e,t,r){var n=e("safe-buffer").Buffer,i=n.alloc(16,0);function o(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},a.prototype._multiply=function(){for(var e,t,r,n=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!=(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=0!=(1&n[3]),t=3;0<t;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=o(i)},a.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);16<=this.cache.length;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(o([0,e,0,t])),this.state},t.exports=a},{"safe-buffer":231}],27:[function(e,t,r){t.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}},{}],28:[function(e,t,r){var i=e("buffer-xor");r.encrypt=function(e,t){var r=i(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},r.decrypt=function(e,t){var r=e._prev;e._prev=t;var n=e._cipher.decryptBlock(t);return i(n,r)}},{"buffer-xor":49}],29:[function(e,t,r){var a=e("safe-buffer").Buffer,o=e("buffer-xor");function s(e,t,r){var n=t.length,i=o(t,e._cache);return e._cache=e._cache.slice(n),e._prev=a.concat([e._prev,r?t:i]),i}r.encrypt=function(e,t,r){for(var n,i=a.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=a.allocUnsafe(0)),!(e._cache.length<=t.length)){i=a.concat([i,s(e,t,r)]);break}n=e._cache.length,i=a.concat([i,s(e,t.slice(0,n),r)]),t=t.slice(n)}return i}},{"buffer-xor":49,"safe-buffer":231}],30:[function(e,t,r){var o=e("safe-buffer").Buffer;function s(e,t,r){for(var n,i,a=-1,o=0;++a<8;)n=t&1<<7-a?128:0,o+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^n))>>a%8,e._prev=u(e._prev,r?n:i);return o}function u(e,t){var r=e.length,n=-1,i=o.allocUnsafe(e.length);for(e=o.concat([e,o.from([t])]);++n<r;)i[n]=e[n]<<1|e[n+1]>>7;return i}r.encrypt=function(e,t,r){for(var n=t.length,i=o.allocUnsafe(n),a=-1;++a<n;)i[a]=s(e,t[a],r);return i}},{"safe-buffer":231}],31:[function(e,t,r){var c=e("safe-buffer").Buffer;r.encrypt=function(e,t,r){for(var n,i,a,o,s=t.length,u=c.allocUnsafe(s),f=-1;++f<s;)u[f]=(n=e,i=t[f],a=r,void 0,o=n._cipher.encryptBlock(n._prev)[0]^i,n._prev=c.concat([n._prev.slice(1),c.from([a?i:o])]),o);return u}},{"safe-buffer":231}],32:[function(e,t,r){var c=e("buffer-xor"),h=e("safe-buffer").Buffer,d=e("../incr32");r.encrypt=function(e,t){var r,n,i=Math.ceil(t.length/16),a=e._cache.length;e._cache=h.concat([e._cache,h.allocUnsafe(16*i)]);for(var o=0;o<i;o++){var s=(void 0,n=(r=e)._cipher.encryptBlockRaw(r._prev),d(r._prev),n),u=a+16*o;e._cache.writeUInt32BE(s[0],u+0),e._cache.writeUInt32BE(s[1],u+4),e._cache.writeUInt32BE(s[2],u+8),e._cache.writeUInt32BE(s[3],u+12)}var f=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),c(t,f)}},{"../incr32":27,"buffer-xor":49,"safe-buffer":231}],33:[function(e,t,r){r.encrypt=function(e,t){return e._cipher.encryptBlock(t)},r.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},{}],34:[function(e,t,r){var n={ECB:e("./ecb"),CBC:e("./cbc"),CFB:e("./cfb"),CFB8:e("./cfb8"),CFB1:e("./cfb1"),OFB:e("./ofb"),CTR:e("./ctr"),GCM:e("./ctr")},i=e("./list.json");for(var a in i)i[a].module=n[i[a].mode];t.exports=i},{"./cbc":28,"./cfb":29,"./cfb1":30,"./cfb8":31,"./ctr":32,"./ecb":33,"./list.json":35,"./ofb":36}],35:[function(e,t,r){t.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}},{}],36:[function(e,t,r){(function(i){var a=e("buffer-xor");r.encrypt=function(e,t){for(;e._cache.length<t.length;)e._cache=i.concat([e._cache,(r=e,r._prev=r._cipher.encryptBlock(r._prev),r._prev)]);var r,n=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),a(t,n)}}).call(this,e("buffer").Buffer)},{buffer:50,"buffer-xor":49}],37:[function(e,t,r){var i=e("./aes"),a=e("safe-buffer").Buffer,o=e("cipher-base");function n(e,t,r,n){o.call(this),this._cipher=new i.AES(t),this._prev=a.from(r),this._cache=a.allocUnsafe(0),this._secCache=a.allocUnsafe(0),this._decrypt=n,this._mode=e}e("inherits")(n,o),n.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},n.prototype._final=function(){this._cipher.scrub()},t.exports=n},{"./aes":21,"cipher-base":52,inherits:163,"safe-buffer":231}],38:[function(e,t,r){var n=e("browserify-des"),i=e("browserify-aes/browser"),a=e("browserify-aes/modes"),o=e("browserify-des/modes"),s=e("evp_bytestokey");function u(e,t,r){if(e=e.toLowerCase(),a[e])return i.createCipheriv(e,t,r);if(o[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function f(e,t,r){if(e=e.toLowerCase(),a[e])return i.createDecipheriv(e,t,r);if(o[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}r.createCipher=r.Cipher=function(e,t){var r,n;if(e=e.toLowerCase(),a[e])r=a[e].key,n=a[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");r=8*o[e].key,n=o[e].iv}var i=s(t,!1,r,n);return u(e,i.key,i.iv)},r.createCipheriv=r.Cipheriv=u,r.createDecipher=r.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),a[e])r=a[e].key,n=a[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");r=8*o[e].key,n=o[e].iv}var i=s(t,!1,r,n);return f(e,i.key,i.iv)},r.createDecipheriv=r.Decipheriv=f,r.listCiphers=r.getCiphers=function(){return Object.keys(o).concat(i.getCiphers())}},{"browserify-aes/browser":23,"browserify-aes/modes":34,"browserify-des":39,"browserify-des/modes":40,evp_bytestokey:123}],39:[function(n,i,e){(function(o){var s=n("cipher-base"),e=n("des.js"),t=n("inherits"),u={"des-ede3-cbc":e.CBC.instantiate(e.EDE),"des-ede3":e.EDE,"des-ede-cbc":e.CBC.instantiate(e.EDE),"des-ede":e.EDE,"des-cbc":e.CBC.instantiate(e.DES),"des-ecb":e.DES};function r(e){s.call(this);var t,r=e.mode.toLowerCase(),n=u[r];t=e.decrypt?"decrypt":"encrypt";var i=e.key;"des-ede"!==r&&"des-ede-cbc"!==r||(i=o.concat([i,i.slice(0,8)]));var a=e.iv;this._des=n.create({key:i,iv:a,type:t})}u.des=u["des-cbc"],u.des3=u["des-ede3-cbc"],t(i.exports=r,s),r.prototype._update=function(e){return new o(this._des.update(e))},r.prototype._final=function(){return new o(this._des.final())}}).call(this,n("buffer").Buffer)},{buffer:50,"cipher-base":52,"des.js":76,inherits:163}],40:[function(e,t,r){r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}},{}],41:[function(t,r,e){(function(b){var m=t("bn.js"),n=t("randombytes");function e(e,t){var r,n,i={blinder:(n=g(r=t)).toRed(m.mont(r.modulus)).redPow(new m(r.publicExponent)).fromRed(),unblinder:n.invm(r.modulus)},a=t.modulus.byteLength(),o=(m.mont(t.modulus),new m(e).mul(i.blinder).umod(t.modulus)),s=o.toRed(m.mont(t.prime1)),u=o.toRed(m.mont(t.prime2)),f=t.coefficient,c=t.prime1,h=t.prime2,d=s.redPow(t.exponent1),l=u.redPow(t.exponent2);d=d.fromRed(),l=l.fromRed();var p=d.isub(l).imul(f).umod(c);return p.imul(h),l.iadd(p),new b(l.imul(i.unblinder).umod(t.modulus).toArray(!1,a))}function g(e){for(var t=e.modulus.byteLength(),r=new m(n(t));0<=r.cmp(e.modulus)||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new m(n(t));return r}(r.exports=e).getr=g}).call(this,t("buffer").Buffer)},{"bn.js":18,buffer:50,randombytes:212}],42:[function(e,t,r){t.exports=e("./browser/algorithms.json")},{"./browser/algorithms.json":43}],43:[function(e,t,r){t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],44:[function(e,t,r){t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],45:[function(h,d,e){(function(i){var r=h("create-hash"),n=h("stream"),e=h("inherits"),a=h("./sign"),o=h("./verify"),s=h("./algorithms.json");function t(e){n.Writable.call(this);var t=s[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function u(e){n.Writable.call(this);var t=s[e];if(!t)throw new Error("Unknown message digest");this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){return new t(e)}function c(e){return new u(e)}Object.keys(s).forEach(function(e){s[e].id=new i(s[e].id,"hex"),s[e.toLowerCase()]=s[e]}),e(t,n.Writable),t.prototype._write=function(e,t,r){this._hash.update(e),r()},t.prototype.update=function(e,t){return"string"==typeof e&&(e=new i(e,t)),this._hash.update(e),this},t.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=a(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},e(u,n.Writable),u.prototype._write=function(e,t,r){this._hash.update(e),r()},u.prototype.update=function(e,t){return"string"==typeof e&&(e=new i(e,t)),this._hash.update(e),this},u.prototype.verify=function(e,t,r){"string"==typeof t&&(t=new i(t,r)),this.end();var n=this._hash.digest();return o(t,n,e,this._signType,this._tag)},d.exports={Sign:f,Verify:c,createSign:f,createVerify:c}}).call(this,h("buffer").Buffer)},{"./algorithms.json":43,"./sign":46,"./verify":47,buffer:50,"create-hash":70,inherits:163,stream:247}],46:[function(e,t,r){(function(b){var f=e("create-hmac"),c=e("browserify-rsa"),h=e("elliptic").ec,m=e("bn.js"),d=e("parse-asn1"),l=e("./curves.json");function g(e,t,r,n){if((e=new b(e.toArray())).length<t.byteLength()){var i=new b(t.byteLength()-e.length);i.fill(0),e=b.concat([i,e])}var a=r.length,o=function(e,t){e=(e=v(e,t)).mod(t);var r=new b(e.toArray());if(r.length<t.byteLength()){var n=new b(t.byteLength()-r.length);n.fill(0),r=b.concat([n,r])}return r}(r,t),s=new b(a);s.fill(1);var u=new b(a);return u.fill(0),u=f(n,u).update(s).update(new b([0])).update(e).update(o).digest(),s=f(n,u).update(s).digest(),{k:u=f(n,u).update(s).update(new b([1])).update(e).update(o).digest(),v:s=f(n,u).update(s).digest()}}function v(e,t){var r=new m(e),n=(e.length<<3)-t.bitLength();return 0<n&&r.ishrn(n),r}function y(e,t,r){var n,i;do{for(n=new b(0);8*n.length<e.bitLength();)t.v=f(r,t.k).update(t.v).digest(),n=b.concat([n,t.v]);i=v(n,e),t.k=f(r,t.k).update(t.v).update(new b([0])).digest(),t.v=f(r,t.k).update(t.v).digest()}while(-1!==i.cmp(e));return i}t.exports=function(e,t,r,n,i){var a=d(t);if(a.curve){if("ecdsa"!==n&&"ecdsa/rsa"!==n)throw new Error("wrong private key type");return function(e,t){var r=l[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var n=new h(r).keyFromPrivate(t.privateKey).sign(e);return new b(n.toDER())}(e,a)}if("dsa"===a.type){if("dsa"!==n)throw new Error("wrong private key type");return function(e,t,r){for(var n,i,a,o,s=t.params.priv_key,u=t.params.p,f=t.params.q,c=t.params.g,h=new m(0),d=v(e,f).mod(f),l=!1,p=g(s,f,e,r);!1===l;)n=y(f,p,r),i=n,a=u,o=f,h=c.toRed(m.mont(a)).redPow(i).fromRed().mod(o),0===(l=n.invm(f).imul(d.add(s.mul(h))).mod(f)).cmpn(0)&&(l=!1,h=new m(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var r=[48,e.length+t.length+4,2,e.length];return r=r.concat(e,[2,t.length],t),new b(r)}(h,l)}(e,a,r)}if("rsa"!==n&&"ecdsa/rsa"!==n)throw new Error("wrong private key type");e=b.concat([i,e]);for(var o=a.modulus.byteLength(),s=[0,1];e.length+s.length+1<o;)s.push(255);s.push(0);for(var u=-1;++u<e.length;)s.push(e[u]);return c(s,a)},t.exports.getKey=g,t.exports.makeKey=y}).call(this,e("buffer").Buffer)},{"./curves.json":44,"bn.js":18,"browserify-rsa":41,buffer:50,"create-hmac":72,elliptic:91,"parse-asn1":195}],47:[function(e,t,r){(function(d){var l=e("bn.js"),p=e("elliptic").ec,b=e("parse-asn1"),m=e("./curves.json");function g(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}t.exports=function(e,t,r,n,i){var a=b(r);if("ec"===a.type){if("ecdsa"!==n&&"ecdsa/rsa"!==n)throw new Error("wrong public key type");return function(e,t,r){var n=m[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new p(n),a=r.data.subjectPrivateKey.data;return i.verify(t,e,a)}(e,t,a)}if("dsa"===a.type){if("dsa"!==n)throw new Error("wrong public key type");return function(e,t,r){var n=r.data.p,i=r.data.q,a=r.data.g,o=r.data.pub_key,s=b.signature.decode(e,"der"),u=s.s,f=s.r;g(u,i),g(f,i);var c=l.mont(n),h=u.invm(i);return 0===a.toRed(c).redPow(new l(t).mul(h).mod(i)).fromRed().mul(o.toRed(c).redPow(f.mul(h).mod(i)).fromRed()).mod(n).mod(i).cmp(f)}(e,t,a)}if("rsa"!==n&&"ecdsa/rsa"!==n)throw new Error("wrong public key type");t=d.concat([i,t]);for(var o=a.modulus.byteLength(),s=[1],u=0;t.length+s.length+2<o;)s.push(255),u++;s.push(0);for(var f=-1;++f<t.length;)s.push(t[f]);s=new d(s);var c=l.mont(a.modulus);e=(e=new l(e).toRed(c)).redPow(new l(a.publicExponent)),e=new d(e.fromRed().toArray());var h=u<8?1:0;for(o=Math.min(e.length,s.length),e.length!==s.length&&(h=1),f=-1;++f<o;)h|=e[f]^s[f];return 0===h}}).call(this,e("buffer").Buffer)},{"./curves.json":44,"bn.js":18,buffer:50,elliptic:91,"parse-asn1":195}],48:[function(e,t,r){var u=Object.create||function(e){var t=function(){};return t.prototype=e,new t},o=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return r},a=Function.prototype.bind||function(e){var t=this;return function(){return t.apply(e,arguments)}};function n(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=u(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}((t.exports=n).EventEmitter=n).prototype._events=void 0,n.prototype._maxListeners=void 0;var i,s=10;try{var f={};Object.defineProperty&&Object.defineProperty(f,"x",{value:0}),i=0===f.x}catch(e){i=!1}function c(e){return void 0===e._maxListeners?n.defaultMaxListeners:e._maxListeners}function h(e,t,r,n){var i,a,o;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((a=e._events)?(a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),o=a[t]):(a=e._events=u(null),e._eventsCount=0),o){if("function"==typeof o?o=a[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),!o.warned&&(i=c(e))&&0<i&&o.length>i){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",s.name,s.message)}}else o=a[t]=r,++e._eventsCount;return e}function d(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;t<e.length;++t)e[t]=arguments[t];this.listener.apply(this.target,e)}}function l(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=a.call(d,n);return i.listener=r,n.wrapFn=i}function p(e){var t=this._events;if(t){var r=t[e];if("function"==typeof r)return 1;if(r)return r.length}return 0}function b(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}i?Object.defineProperty(n,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||e!=e)throw new TypeError('"defaultMaxListeners" must be a positive number');s=e}}):n.defaultMaxListeners=s,n.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},n.prototype.getMaxListeners=function(){return c(this)},n.prototype.emit=function(e){var t,r,n,i,a,o,s="error"===e;if(o=this._events)s=s&&null==o.error;else if(!s)return!1;if(s){if(1<arguments.length&&(t=arguments[1]),t instanceof Error)throw t;var u=new Error('Unhandled "error" event. ('+t+")");throw u.context=t,u}if(!(r=o[e]))return!1;var f="function"==typeof r;switch(n=arguments.length){case 1:!function(e,t,r){if(t)e.call(r);else for(var n=e.length,i=b(e,n),a=0;a<n;++a)i[a].call(r)}(r,f,this);break;case 2:!function(e,t,r,n){if(t)e.call(r,n);else for(var i=e.length,a=b(e,i),o=0;o<i;++o)a[o].call(r,n)}(r,f,this,arguments[1]);break;case 3:!function(e,t,r,n,i){if(t)e.call(r,n,i);else for(var a=e.length,o=b(e,a),s=0;s<a;++s)o[s].call(r,n,i)}(r,f,this,arguments[1],arguments[2]);break;case 4:!function(e,t,r,n,i,a){if(t)e.call(r,n,i,a);else for(var o=e.length,s=b(e,o),u=0;u<o;++u)s[u].call(r,n,i,a)}(r,f,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(n-1),a=1;a<n;a++)i[a-1]=arguments[a];!function(e,t,r,n){if(t)e.apply(r,n);else for(var i=e.length,a=b(e,i),o=0;o<i;++o)a[o].apply(r,n)}(r,f,this,i)}return!0},n.prototype.on=n.prototype.addListener=function(e,t){return h(this,e,t,!1)},n.prototype.prependListener=function(e,t){return h(this,e,t,!0)},n.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,l(this,e,t)),this},n.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,l(this,e,t)),this},n.prototype.removeListener=function(e,t){var r,n,i,a,o;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(n=this._events))return this;if(!(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=u(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,a=r.length-1;0<=a;a--)if(r[a]===t||r[a].listener===t){o=r[a].listener,i=a;break}if(i<0)return this;0===i?r.shift():function(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),n.removeListener&&this.emit("removeListener",e,o||t)}return this},n.prototype.removeAllListeners=function(e){var t,r,n;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=u(null),this._eventsCount=0):r[e]&&(0==--this._eventsCount?this._events=u(null):delete r[e]),this;if(0===arguments.length){var i,a=o(r);for(n=0;n<a.length;++n)"removeListener"!==(i=a[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=u(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(t)for(n=t.length-1;0<=n;n--)this.removeListener(e,t[n]);return this},n.prototype.listeners=function(e){var t,r=this._events;return r&&(t=r[e])?"function"==typeof t?[t.listener||t]:function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(t):[]},n.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},n.prototype.listenerCount=p,n.prototype.eventNames=function(){return 0<this._eventsCount?Reflect.ownKeys(this._events):[]}},{}],49:[function(e,t,r){(function(a){t.exports=function(e,t){for(var r=Math.min(e.length,t.length),n=new a(r),i=0;i<r;++i)n[i]=e[i]^t[i];return n}}).call(this,e("buffer").Buffer)},{buffer:50}],50:[function(e,t,r){"use strict";var n=e("base64-js"),a=e("ieee754");r.Buffer=h,r.SlowBuffer=function(e){+e!=e&&(e=0);return h.alloc(+e)},r.INSPECT_MAX_BYTES=50;var i=2147483647;function o(e){if(i<e)throw new RangeError("Invalid typed array length");var t=new Uint8Array(e);return t.__proto__=h.prototype,t}function h(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(e)}return s(e,t,r)}function s(e,t,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return H(e)||e&&H(e.buffer)?function(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r);return n.__proto__=h.prototype,n}(e,t,r):"string"==typeof e?function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!h.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|l(e,t),n=o(r),i=n.write(e,t);i!==r&&(n=n.slice(0,i));return n}(e,t):function(e){if(h.isBuffer(e)){var t=0|d(e.length),r=o(t);return 0===r.length||e.copy(r,0,0,t),r}if(e){if(ArrayBuffer.isView(e)||"length"in e)return"number"!=typeof e.length||R(e.length)?o(0):c(e);if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object.")}(e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e){return u(e),o(e<0?0:0|d(e))}function c(e){for(var t=e.length<0?0:0|d(e.length),r=o(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function d(e){if(i<=e)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function l(e,t){if(h.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return F(e).length;default:if(n)return k(e).length;t=(""+t).toLowerCase(),n=!0}}function p(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function b(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):2147483647<r?r=2147483647:r<-2147483648&&(r=-2147483648),R(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=h.from(t,n)),h.isBuffer(t))return 0===t.length?-1:m(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):m(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function m(e,t,r,n,i){var a,o=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s/=o=2,u/=2,r/=2}function f(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=r;a<s;a++)if(f(e,a)===f(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===u)return c*o}else-1!==c&&(a-=a-c),c=-1}else for(s<r+u&&(r=s-u),a=r;0<=a;a--){for(var h=!0,d=0;d<u;d++)if(f(e,a+d)!==f(t,d)){h=!1;break}if(h)return a}return-1}function g(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?i<(n=Number(n))&&(n=i):n=i;var a=t.length;a/2<n&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(R(s))return o;e[r+o]=s}return o}function v(e,t,r,n){return G(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function y(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function w(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,o,s,u,f=e[i],c=null,h=239<f?4:223<f?3:191<f?2:1;if(i+h<=r)switch(h){case 1:f<128&&(c=f);break;case 2:128==(192&(a=e[i+1]))&&127<(u=(31&f)<<6|63&a)&&(c=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&2047<(u=(15&f)<<12|(63&a)<<6|63&o)&&(u<55296||57343<u)&&(c=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&65535<(u=(15&f)<<18|(63&a)<<12|(63&o)<<6|63&s)&&u<1114112&&(c=u)}null===c?(c=65533,h=1):65535<c&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=h}return function(e){var t=e.length;if(t<=A)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=A));return r}(n)}r.kMaxLength=i,(h.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(h.prototype,"parent",{get:function(){if(this instanceof h)return this.buffer}}),Object.defineProperty(h.prototype,"offset",{get:function(){if(this instanceof h)return this.byteOffset}}),"undefined"!=typeof Symbol&&Symbol.species&&h[Symbol.species]===h&&Object.defineProperty(h,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),h.poolSize=8192,h.from=function(e,t,r){return s(e,t,r)},h.prototype.__proto__=Uint8Array.prototype,h.__proto__=Uint8Array,h.alloc=function(e,t,r){return i=t,a=r,u(n=e),n<=0?o(n):void 0!==i?"string"==typeof a?o(n).fill(i,a):o(n).fill(i):o(n);var n,i,a},h.allocUnsafe=function(e){return f(e)},h.allocUnsafeSlow=function(e){return f(e)},h.isBuffer=function(e){return null!=e&&!0===e._isBuffer},h.compare=function(e,t){if(!h.isBuffer(e)||!h.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},h.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},h.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return h.alloc(0);var r;if(void 0===t)for(r=t=0;r<e.length;++r)t+=e[r].length;var n=h.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(ArrayBuffer.isView(a)&&(a=h.from(a)),!h.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},h.byteLength=l,h.prototype._isBuffer=!0,h.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)p(this,t,t+1);return this},h.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)p(this,t,t+3),p(this,t+1,t+2);return this},h.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)p(this,t,t+7),p(this,t+1,t+6),p(this,t+2,t+5),p(this,t+3,t+4);return this},h.prototype.toLocaleString=h.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?w(this,0,e):function(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return w(this,t,r);case"ascii":return S(this,t,r);case"latin1":case"binary":return _(this,t,r);case"base64":return y(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}.apply(this,arguments)},h.prototype.equals=function(e){if(!h.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===h.compare(this,e)},h.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return 0<this.length&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},h.prototype.compare=function(e,t,r,n,i){if(!h.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(i<=n&&r<=t)return 0;if(i<=n)return-1;if(r<=t)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(t>>>=0),s=Math.min(a,o),u=this.slice(n,i),f=e.slice(t,r),c=0;c<s;++c)if(u[c]!==f[c]){a=u[c],o=f[c];break}return a<o?-1:o<a?1:0},h.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},h.prototype.indexOf=function(e,t,r){return b(this,e,t,r,!0)},h.prototype.lastIndexOf=function(e,t,r){return b(this,e,t,r,!1)},h.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||i<r)&&(r=i),0<e.length&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a,o,s,u,f,c,h,d,l,p=!1;;)switch(n){case"hex":return g(this,e,t,r);case"utf8":case"utf-8":return d=t,l=r,G(k(e,(h=this).length-d),h,d,l);case"ascii":return v(this,e,t,r);case"latin1":case"binary":return v(this,e,t,r);case"base64":return u=this,f=t,c=r,G(F(e),u,f,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o=t,s=r,G(function(e,t){for(var r,n,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}(e,(a=this).length-o),a,o,s);default:if(p)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function S(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function _(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function E(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||n<r)&&(r=n);for(var i="",a=t;a<r;++a)i+=P(e[a]);return i}function T(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function C(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(r<e+t)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,r,n,i,a){if(!h.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(i<t||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function B(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function x(e,t,r,n,i){return t=+t,r>>>=0,i||B(e,0,r,4),a.write(e,t,r,n,23,4),r+4}function I(e,t,r,n,i){return t=+t,r>>>=0,i||B(e,0,r,8),a.write(e,t,r,n,52,8),r+8}h.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):r<e&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):r<t&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return n.__proto__=h.prototype,n},h.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},h.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);for(var n=this[e+--t],i=1;0<t&&(i*=256);)n+=this[e+--t]*i;return n},h.prototype.readUInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),this[e]},h.prototype.readUInt16LE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]|this[e+1]<<8},h.prototype.readUInt16BE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]<<8|this[e+1]},h.prototype.readUInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},h.prototype.readUInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},h.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return(i*=128)<=n&&(n-=Math.pow(2,8*t)),n},h.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);for(var n=t,i=1,a=this[e+--n];0<n&&(i*=256);)a+=this[e+--n]*i;return(i*=128)<=a&&(a-=Math.pow(2,8*t)),a},h.prototype.readInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},h.prototype.readInt16LE=function(e,t){e>>>=0,t||C(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},h.prototype.readInt16BE=function(e,t){e>>>=0,t||C(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},h.prototype.readInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},h.prototype.readInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},h.prototype.readFloatLE=function(e,t){return e>>>=0,t||C(e,4,this.length),a.read(this,e,!0,23,4)},h.prototype.readFloatBE=function(e,t){return e>>>=0,t||C(e,4,this.length),a.read(this,e,!1,23,4)},h.prototype.readDoubleLE=function(e,t){return e>>>=0,t||C(e,8,this.length),a.read(this,e,!0,52,8)},h.prototype.readDoubleBE=function(e,t){return e>>>=0,t||C(e,8,this.length),a.read(this,e,!1,52,8)},h.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||M(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},h.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||M(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[t+i]=255&e;0<=--i&&(a*=256);)this[t+i]=e/a&255;return t+r},h.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,1,255,0),this[t]=255&e,t+1},h.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},h.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},h.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},h.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},h.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);M(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},h.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);M(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;0<=--a&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},h.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},h.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},h.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},h.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},h.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},h.prototype.writeFloatLE=function(e,t,r){return x(this,e,t,!0,r)},h.prototype.writeFloatBE=function(e,t,r){return x(this,e,t,!1,r)},h.prototype.writeDoubleLE=function(e,t,r){return I(this,e,t,!0,r)},h.prototype.writeDoubleBE=function(e,t,r){return I(this,e,t,!1,r)},h.prototype.copy=function(e,t,r,n){if(!h.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),0<n&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var a=i-1;0<=a;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},h.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!h.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{var o=h.isBuffer(e)?e:new h(e,n),s=o.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<r-t;++a)this[a+t]=o[a%s]}return this};var D=/[^+/0-9A-Za-z-_]/g;function P(e){return e<16?"0"+e.toString(16):e.toString(16)}function k(e,t){var r;t=t||1/0;for(var n=e.length,i=null,a=[],o=0;o<n;++o){if(55295<(r=e.charCodeAt(o))&&r<57344){if(!i){if(56319<r){-1<(t-=3)&&a.push(239,191,189);continue}if(o+1===n){-1<(t-=3)&&a.push(239,191,189);continue}i=r;continue}if(r<56320){-1<(t-=3)&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&-1<(t-=3)&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function F(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(D,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function G(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function H(e){return e instanceof ArrayBuffer||null!=e&&null!=e.constructor&&"ArrayBuffer"===e.constructor.name&&"number"==typeof e.byteLength}function R(e){return e!=e}},{"base64-js":17,ieee754:162}],51:[function(e,t,r){r.positions=[[1.301895,.122622,2.550061],[1.045326,.139058,2.835156],[.569251,.155925,2.805125],[.251886,.144145,2.82928],[.063033,.131726,3.01408],[-.277753,.135892,3.10716],[-.441048,.277064,2.594331],[-1.010956,.095285,2.668983],[-1.317639,.069897,2.325448],[-.751691,.264681,2.381496],[.684137,.31134,2.364574],[1.347931,.302882,2.201434],[-1.736903,.029894,1.724111],[-1.319986,.11998,.912925],[1.538077,.157372,.481711],[1.951975,.081742,1.1641],[1.834768,.095832,1.602682],[2.446122,.091817,1.37558],[2.617615,.078644,.742801],[-1.609748,.04973,-.238721],[-1.281973,.230984,-.180916],[-1.074501,.248204,.034007],[-1.201734,.058499,.402234],[-1.444454,.054783,.149579],[-4.694605,5.075882,1.043427],[-3.95963,7.767394,.758447],[-4.753339,5.339817,.665061],[-1.150325,9.133327,-.368552],[-4.316107,2.893611,.44399],[-.809202,9.312575,-.466061],[.085626,5.963693,1.685666],[-1.314853,9.00142,-.1339],[-4.364182,3.072556,1.436712],[-2.022074,7.323396,.678657],[1.990887,6.13023,.479643],[-3.295525,7.878917,1.409353],[.571308,6.197569,.670657],[.89661,6.20018,.337056],[.331851,6.162372,1.186371],[-4.840066,5.599874,2.296069],[2.138989,6.031291,.228335],[.678923,6.026173,1.894052],[-.781682,5.601573,1.836738],[1.181315,6.239007,.393293],[-3.606308,7.376476,2.661452],[-.579059,4.042511,-1.540883],[-3.064069,8.630253,-2.597539],[-2.157271,6.837012,.300191],[-2.966013,7.821581,-1.13697],[-2.34426,8.122965,.409043],[-.951684,5.874251,1.415119],[-2.834853,7.748319,.182406],[-3.242493,7.820096,.373674],[-.208532,5.992846,1.252084],[-3.048085,8.431527,-2.129795],[1.413245,5.806324,2.243906],[-.051222,6.064901,.696093],[-4.204306,2.700062,.713875],[-4.610997,6.343405,.344272],[-3.291336,9.30531,-3.340445],[-3.27211,7.559239,-2.324016],[-4.23882,6.498344,3.18452],[-3.945317,6.377804,3.38625],[-4.906378,5.472265,1.315193],[-3.580131,7.846717,.709666],[-1.995504,6.645459,.688487],[-2.595651,7.86054,.793351],[-.008849,.305871,.184484],[-.029011,.314116,-.257312],[-2.522424,7.565392,1.804212],[-1.022993,8.650826,-.855609],[-3.831265,6.595426,3.266783],[-4.042525,6.855724,3.060663],[-4.17126,7.404742,2.391387],[3.904526,3.767693,.092179],[.268076,6.086802,1.469223],[-3.320456,8.753222,-2.08969],[1.203048,6.26925,.612407],[-4.406479,2.985974,.853691],[-3.226889,6.615215,-.404243],[.346326,1.60211,3.509858],[-3.955476,7.253323,2.722392],[-1.23204,.068935,1.68794],[.625436,6.196455,1.333156],[4.469132,2.165298,1.70525],[.950053,6.262899,.922441],[-2.980404,5.25474,-.663155],[-4.859043,6.28741,1.537081],[-3.077453,4.641475,-.892167],[-.44002,8.222503,-.771454],[-4.034112,7.639786,.389935],[-3.696045,6.242042,3.394679],[-1.221806,7.783617,.196451],[.71461,6.149895,1.656636],[-4.713539,6.163154,.495369],[-1.509869,.913044,-.832413],[-1.547249,2.066753,-.852669],[-3.757734,5.793742,3.455794],[-.831911,.199296,1.718536],[-3.062763,7.52718,-1.550559],[.938688,6.103354,1.820958],[-4.037033,2.412311,.988026],[-4.130746,2.571806,1.101689],[-.693664,9.174283,-.952323],[-1.286742,1.079679,-.751219],[1.543185,1.408925,3.483132],[1.535973,2.047979,3.655029],[.93844,5.84101,2.195219],[-.684401,5.918492,1.20109],[1.28844,2.008676,3.710781],[-3.586722,7.435506,-1.454737],[-.129975,4.384192,2.930593],[-1.030531,.281374,3.214273],[-3.058751,8.137238,-3.227714],[3.649524,4.592226,1.340021],[-3.354828,7.322425,-1.412086],[.936449,6.209237,1.512693],[-1.001832,3.590411,-1.545892],[-3.770486,4.593242,2.477056],[-.971925,.067797,.921384],[-4.639832,6.865407,2.311791],[-.441014,8.093595,-.595999],[-2.004852,6.37142,1.635383],[4.759591,1.92818,.328328],[3.748064,1.224074,2.140484],[-.703601,5.285476,2.251988],[.59532,6.21893,.981004],[.980799,6.257026,1.24223],[1.574697,6.204981,.381628],[1.149594,6.173608,1.660763],[-3.501963,5.895989,3.456576],[1.071122,5.424198,2.588717],[-.774693,8.473335,-.276957],[3.849959,4.15542,.396742],[-.801715,4.973149,-1.068582],[-2.927676,.625112,2.326393],[2.669682,4.045542,2.971184],[-4.391324,4.74086,.343463],[1.520129,6.270031,.775471],[1.837586,6.084731,.109188],[1.271475,5.975024,2.032355],[-3.487968,4.513249,2.605871],[-1.32234,1.517264,-.691879],[-1.080301,1.648226,-.805526],[-3.365703,6.910166,-.454902],[1.36034,.432238,3.075004],[-3.305013,5.774685,3.39142],[3.88432,.654141,.12574],[3.57254,.377934,.302501],[4.196136,.807999,.212229],[3.932997,.543123,.380579],[4.023704,3.286125,.537597],[1.864455,4.916544,2.691677],[-4.775427,6.499498,1.440153],[-3.464928,3.68234,2.766356],[3.648972,1.751262,2.157485],[1.179111,3.238846,3.774796],[-.171164,.299126,-.592669],[-4.502912,3.316656,.875188],[-.948454,9.214025,-.679508],[1.237665,6.288593,1.046],[1.523423,6.268963,1.139544],[1.436519,6.140608,1.739316],[3.723607,1.504355,2.136762],[2.009495,4.045514,3.22053],[-1.921944,7.249905,.213973],[1.254068,1.205518,3.474709],[-.317087,5.996269,.525872],[-2.996914,3.934607,2.900178],[-3.316873,4.028154,2.785696],[-3.400267,4.280157,2.689268],[-3.134842,4.564875,2.697192],[1.480563,4.692567,2.834068],[.873682,1.315452,3.541585],[1.599355,.91622,3.246769],[-3.292102,7.125914,2.768515],[3.74296,4.511299,.616539],[4.698935,1.55336,.26921],[-3.274387,3.299421,2.823946],[-2.88809,3.410699,2.955248],[1.171407,1.76905,3.688472],[1.430276,3.92483,3.473666],[3.916941,2.553308,.018941],[.701632,2.442372,3.778639],[1.562657,2.302778,3.660957],[4.476622,1.152407,.182131],[-.61136,5.761367,1.598838],[-3.102154,3.691687,2.903738],[1.816012,5.546167,2.380308],[3.853928,4.25066,.750017],[1.234681,3.581665,3.673723],[1.862271,1.361863,3.355209],[1.346844,4.146995,3.327877],[1.70672,4.080043,3.274307],[.897242,1.908983,3.6969],[-.587022,9.191132,-.565301],[-.217426,5.674606,2.019968],[.278925,6.120777,.485403],[1.463328,3.578742,-2.001464],[-3.072985,4.264581,2.789502],[3.62353,4.673843,.383452],[-3.053491,8.752377,-2.908434],[-2.628687,4.505072,2.755601],[.891047,5.113781,2.748272],[-2.923732,3.06515,2.866368],[.848008,4.754252,2.896972],[-3.319184,8.811641,-2.327412],[.12864,8.814781,-1.334456],[1.549501,4.549331,-1.28243],[1.647161,3.738973,3.507719],[1.250888,.945599,3.348739],[3.809662,4.038822,.053142],[1.483166,.673327,3.09156],[.829726,3.635921,3.713103],[1.352914,5.226651,2.668113],[2.237352,4.37414,3.016386],[4.507929,.889447,.744249],[4.57304,1.010981,.496588],[3.931422,1.720989,2.088175],[-.463177,5.989835,.834346],[-2.811236,3.745023,2.969587],[-2.805135,4.219721,2.841108],[-2.836842,4.802543,2.60826],[1.776716,2.084611,3.568638],[4.046881,1.463478,2.106273],[.316265,5.944313,1.892785],[-2.86347,2.776049,2.77242],[-2.673644,3.116508,2.907104],[-2.621149,4.018502,2.903409],[-2.573447,5.198013,2.477481],[1.104039,2.278985,3.722469],[-4.602743,4.306413,.902296],[-2.684878,1.510731,.535039],[.092036,8.473269,-.99413],[-1.280472,5.602393,1.928105],[-1.0279,4.121582,-1.403103],[-2.461081,3.304477,2.957317],[-2.375929,3.659383,2.953233],[1.417579,2.715389,3.718767],[.819727,2.948823,3.810639],[1.329962,.761779,3.203724],[1.73952,5.295229,2.537725],[.952523,3.945016,3.548229],[-2.569498,.633669,2.84818],[-2.276676,.757013,2.780717],[-2.013147,7.354429,-.003202],[.93143,1.565913,3.600325],[1.249014,1.550556,3.585842],[2.287252,4.072353,3.124544],[-4.7349,7.006244,1.690653],[-3.500602,8.80386,-2.009196],[-.582629,5.549138,2.000923],[-1.865297,6.356066,1.313593],[-3.212154,2.376143,-.565593],[2.092889,3.493536,-1.727931],[-2.528501,2.784531,2.833758],[-2.565697,4.893154,2.559605],[-2.153366,5.04584,2.465215],[1.631311,2.568241,3.681445],[2.150193,4.699227,2.807505],[.507599,5.01813,2.775892],[4.129862,1.863698,2.015101],[3.578279,4.50766,-.009598],[3.491023,4.806749,1.549265],[.619485,1.625336,3.605125],[1.107499,2.932557,3.790061],[-2.082292,6.99321,.742601],[4.839909,1.379279,.945274],[3.591328,4.322645,-.259497],[1.055245,.710686,3.16553],[-3.026494,7.842227,1.624553],[.146569,6.119214,.981673],[-2.043687,2.614509,2.785526],[-2.302242,3.047775,2.936355],[-2.245686,4.100424,2.87794],[2.116148,5.063507,2.572204],[-1.448406,7.64559,.251692],[2.550717,4.9268,2.517526],[-2.955456,7.80293,-1.782407],[1.882995,4.637167,2.895436],[-2.014924,3.398262,2.954896],[-2.273654,4.771227,2.611418],[-2.162723,7.876761,.702473],[-.198659,5.823062,1.739272],[-1.280908,2.133189,-.921241],[2.039932,4.251568,3.136579],[1.477815,4.354333,3.108325],[.560504,3.744128,3.6913],[-2.234018,1.054373,2.352782],[-3.189156,7.686661,-2.514955],[-3.744736,7.69963,2.116973],[-2.283366,2.878365,2.87882],[-2.153786,4.457481,2.743529],[4.933978,1.677287,.713773],[3.502146,.535336,1.752511],[1.825169,4.419253,3.081198],[3.072331,.280979,.106534],[-.508381,1.220392,2.878049],[-3.138824,8.445394,-1.659711],[-2.056425,2.954815,2.897241],[-2.035343,5.398477,2.215842],[-3.239915,7.126798,-.712547],[-1.867923,7.989805,.526518],[1.23405,6.248973,1.387189],[-.216492,8.320933,-.862495],[-2.079659,3.755709,2.928563],[-1.78595,4.300374,2.805295],[-1.856589,5.10678,2.386572],[-1.714362,5.544778,2.004623],[1.722403,4.200291,-1.408161],[.195386,.086928,-1.318006],[1.393693,3.013404,3.710686],[-.415307,8.508471,-.996883],[-1.853777,.755635,2.757275],[-1.724057,3.64533,2.884251],[-1.884511,4.927802,2.530885],[-1.017174,7.783908,-.227078],[-1.7798,2.342513,2.741749],[-1.841329,3.943996,2.88436],[1.430388,5.468067,2.503467],[-2.030296,.940028,2.611088],[-1.677028,1.215666,2.607771],[-1.74092,2.832564,2.827295],[4.144673,.631374,.503358],[4.238811,.653992,.762436],[-1.847016,2.082815,2.642674],[4.045764,3.194073,.852117],[-1.563989,8.112739,.303102],[-1.781627,1.794836,2.602338],[-1.493749,2.533799,2.797251],[-1.934496,4.690689,2.658999],[-1.499174,5.777946,1.747498],[-2.387409,.851291,1.500524],[-1.872211,8.269987,.392533],[-4.647726,6.765771,.833653],[-3.157482,.341958,-.20671],[-1.725766,3.24703,2.883579],[-1.458199,4.079031,2.836325],[-1.621548,4.515869,2.719266],[-1.607292,4.918914,2.505881],[-1.494661,5.556239,1.991599],[-1.727269,7.423769,.012337],[-1.382497,1.161322,2.640222],[-1.52129,4.681714,2.615467],[-4.247127,2.792812,1.250843],[-1.576338,.742947,2.769799],[-1.499257,2.172763,2.743142],[-1.480392,3.103261,2.862262],[1.049137,2.625836,3.775384],[-1.368063,1.791587,2.695516],[-1.307839,2.344534,2.767575],[-1.336758,5.092221,2.355225],[-1.5617,5.301749,2.21625],[-1.483362,8.537704,.196752],[-1.517348,8.773614,.074053],[-1.474302,1.492731,2.641433],[2.48718,.644247,-.920226],[.818091,.422682,3.171218],[-3.623398,6.930094,3.033045],[1.676333,3.531039,3.591591],[1.199939,5.683873,2.365623],[-1.223851,8.841201,.025414],[-1.286307,3.847643,2.918044],[-1.25857,4.810831,2.543605],[2.603662,5.572146,1.991854],[.138984,5.779724,2.077834],[-1.267039,3.175169,2.890889],[-1.293616,3.454612,2.911774],[-2.60112,1.277184,.07724],[2.552779,3.649877,3.163643],[-1.038983,1.248011,2.605933],[-1.288709,4.390967,2.761214],[-1.034218,5.485963,2.011467],[-1.185576,1.464842,2.624335],[-1.045682,2.54896,2.761102],[4.259176,1.660627,2.018096],[-.961707,1.717183,2.598342],[-1.044603,3.147464,2.855335],[-.891998,4.685429,2.669696],[-1.027561,5.081672,2.377939],[4.386506,.832434,.510074],[-1.014225,9.064991,-.175352],[-1.218752,2.895443,2.823785],[-.972075,4.432669,2.788005],[-2.714986,.52425,1.509798],[-.699248,1.517219,2.645738],[-1.161581,2.078852,2.722795],[-.845249,3.286247,2.996471],[1.068329,4.443444,2.993863],[3.98132,3.715557,1.027775],[1.658097,3.982428,-1.651688],[-4.053701,2.449888,.734746],[-.910935,2.214149,2.702393],[.087824,3.96165,3.439344],[-.779714,3.724134,2.993429],[-1.051093,3.810797,2.941957],[-.644941,4.3859,2.870863],[-2.98403,8.666895,-3.691888],[-.754304,2.508325,2.812999],[-4.635524,3.662891,.913005],[-.983299,4.125978,2.915378],[4.916497,1.905209,.621315],[4.874983,1.728429,.468521],[2.33127,5.181957,2.441697],[-.653711,2.253387,2.7949],[-3.623744,8.978795,-2.46192],[-4.555927,6.160279,.215755],[-4.940628,5.806712,1.18383],[3.308506,2.40326,-.910776],[.58835,5.251928,-.992886],[2.152215,5.449733,2.331679],[-.712755,.766765,3.280375],[-.741771,1.9716,2.657235],[-4.828957,5.566946,2.635623],[-3.474788,8.696771,-1.776121],[1.770417,6.205561,1.331627],[-.620626,4.064721,2.968972],[-1.499187,2.307735,-.978901],[4.098793,2.330245,1.667951],[1.940444,6.167057,.935904],[-2.314436,1.104995,1.681277],[-2.733629,7.742793,1.7705],[-.452248,4.719868,2.740834],[-.649143,4.951713,2.541296],[-.479417,9.43959,-.676324],[-2.251853,6.559275,.046819],[.033531,8.316907,-.789939],[-.513125,.995673,3.125462],[-2.637602,1.039747,.602434],[1.527513,6.230089,1.430903],[4.036124,2.609846,1.506498],[-3.559828,7.877892,1.228076],[-4.570736,4.960193,.838201],[-.432121,5.157731,2.467518],[-1.206735,4.562511,-1.237054],[-.823768,3.788746,-1.567481],[-3.095544,7.353613,-1.024577],[-4.056088,7.631119,2.062001],[-.289385,5.382261,2.329421],[1.69752,6.136483,1.667037],[-.168758,5.061138,2.617453],[2.853576,1.605528,-1.229958],[-4.514319,6.586675,.352756],[-2.558081,7.741151,1.29295],[1.61116,5.92358,2.071534],[3.936921,3.354857,.091755],[-.1633,1.119272,3.147975],[.067551,1.593475,3.38212],[-1.303239,2.328184,-1.011672],[-.438093,.73423,3.398384],[-4.62767,3.898187,.849573],[.286853,4.165281,3.284834],[-2.968052,8.492812,-3.493693],[-.111896,3.696111,3.53791],[-3.808245,8.451731,-1.574742],[.053416,5.558764,2.31107],[3.956269,3.012071,.11121],[-.710956,8.106561,-.665154],[.234725,2.717326,3.722379],[-.031594,2.76411,3.657347],[-.017371,4.700633,2.81911],[.215064,5.034859,2.721426],[-.111151,8.480333,-.649399],[3.97942,3.575478,.362219],[.392962,4.735392,2.874321],[4.17015,2.085087,1.865999],[.169054,1.244786,3.337709],[.020049,3.165818,3.721736],[.248212,3.595518,3.698376],[.130706,5.295541,2.540034],[-4.541357,4.798332,1.026866],[-1.277485,1.289518,-.667272],[3.892133,3.54263,-.078056],[4.057379,3.03669,.997913],[.287719,.884758,3.251787],[.535771,1.144701,3.400096],[.585303,1.399362,3.505353],[.191551,2.076246,3.549355],[.328656,2.394576,3.649623],[.413124,3.240728,3.771515],[.630361,4.501549,2.963623],[.529441,5.854392,2.120225],[3.805796,3.769958,-.162079],[3.447279,4.344846,-.467276],[.377618,5.551116,2.426017],[.409355,1.821269,3.606333],[.719959,2.194726,3.703851],[.495922,3.501519,3.755661],[.603408,5.354097,2.603088],[-4.605056,7.531978,1.19579],[.907972,.973128,3.356513],[.750134,3.356137,3.765847],[.4496,3.993244,3.504544],[-3.030738,7.48947,-1.259169],[.707505,5.602005,2.43476],[.668944,.654891,3.213797],[.593244,2.700978,3.791427],[1.467759,3.30327,3.71035],[3.316249,2.436388,2.581175],[3.26138,1.724425,2.539028],[-1.231292,7.968263,.281414],[-.108773,8.712307,-.790607],[4.445684,1.819442,1.896988],[1.998959,2.281499,3.49447],[2.162269,2.113817,3.365449],[4.363397,1.406731,1.922714],[4.808,2.225842,.611127],[2.735919,.771812,-.701142],[1.897735,2.878428,3.583482],[-3.31616,5.331985,3.212394],[-3.3314,6.018137,3.313018],[-3.503183,6.480103,3.222216],[-1.904453,5.750392,1.913324],[-1.339735,3.559592,-1.421817],[-1.044242,8.22539,.037414],[1.643492,3.110676,3.647424],[3.992832,3.686244,.710946],[1.774207,1.71842,3.475768],[-3.438842,5.5713,3.427818],[4.602447,1.2583,1.619528],[-.925516,7.930042,.072336],[-1.252093,3.846565,-1.420761],[-3.426857,5.072419,2.97806],[-3.160408,6.152629,3.061869],[3.739931,3.367082,2.041273],[1.027419,4.235891,3.251253],[4.777703,1.887452,1.560409],[-3.318528,6.733796,2.982968],[2.929265,4.962579,2.271079],[3.449761,2.838629,2.474576],[-3.280159,5.029875,2.787514],[4.068939,2.993629,.741567],[.303312,8.70927,-1.121972],[.229852,8.981322,-1.186075],[-.011045,9.148156,-1.047057],[-2.942683,5.579613,2.929297],[-3.145409,5.698727,3.205778],[-3.019089,6.30887,2.794323],[-3.217135,6.468191,2.970032],[-3.048298,6.993641,2.623378],[-3.07429,6.660982,2.702434],[3.612011,2.5574,2.25349],[2.54516,4.553967,2.75884],[-1.683759,7.400787,.250868],[-1.756066,7.463557,.448031],[-3.023761,5.149697,2.673539],[3.112376,2.677218,2.782378],[2.835327,4.581196,2.567146],[-2.973799,7.225458,2.506988],[-.591645,8.740662,-.505845],[3.782861,2.04337,2.03066],[3.331604,3.36343,2.605047],[2.966866,1.205497,2.537432],[.002669,9.654748,-1.355559],[2.632801,.58497,2.540311],[-2.819398,5.087372,2.521098],[2.616193,5.332961,2.194288],[-3.193973,4.925634,2.607924],[-3.12618,5.27524,2.944544],[-.426003,8.516354,-.501528],[2.802717,1.387643,2.751649],[-3.120597,7.889111,-2.75431],[2.636648,1.71702,2.991302],[-2.853151,6.711792,2.430276],[-2.843836,6.962865,2.400842],[1.9696,3.199023,3.504514],[-2.461751,.386352,3.008994],[1.64127,.495758,3.02958],[-4.330472,5.409831,.025287],[-2.912387,5.980416,2.844261],[-2.490069,.211078,2.985391],[3.581816,4.809118,.733728],[2.693199,2.647213,3.126709],[-.182964,8.184108,-.638459],[-2.226855,.444711,2.946552],[-.720175,8.115055,.017689],[2.645302,4.316212,2.850139],[-.232764,9.329503,-.918639],[4.852365,1.471901,.65275],[2.76229,2.014994,2.957755],[-2.808374,5.354301,2.644695],[-2.790967,6.406963,2.547985],[-1.342684,.418488,-1.669183],[2.690675,5.593587,-.041236],[4.660146,1.6318,1.713314],[2.775667,3.007229,3.111332],[-.396696,8.963432,-.706202],[2.446707,2.740617,3.321433],[-4.803209,5.884634,2.603672],[-2.652003,1.6541,1.5078],[3.932327,3.972874,.831924],[2.135906,.955587,2.986608],[2.486131,2.053802,3.124115],[-.386706,8.115753,-.37565],[-2.720727,7.325044,2.224878],[-1.396946,7.638016,-.16486],[-.62083,7.989771,-.144413],[-2.653272,5.729684,2.667679],[3.038188,4.65835,2.364142],[2.381721,.739472,2.788992],[-2.345829,5.474929,2.380633],[-2.518983,6.080562,2.479383],[-2.615793,6.839622,2.186116],[-2.286566,.143752,2.766848],[-4.771219,6.508766,1.070797],[3.717308,2.905019,2.097994],[2.50521,3.016743,3.295898],[2.208448,1.56029,3.216806],[3.346783,1.01254,2.119951],[2.653503,3.26122,3.175738],[-2.359636,5.827519,2.402297],[-1.952693,.558102,2.853307],[-.321562,9.414885,-1.187501],[3.138923,1.405072,2.520765],[1.493728,1.780051,3.621969],[3.01817,.907291,2.336909],[3.183548,1.185297,2.352175],[1.608619,5.006753,2.695131],[-4.723919,6.836107,1.095288],[-1.017586,8.865429,-.149328],[4.730762,1.214014,.64008],[-2.135182,6.647907,1.495471],[-2.420382,6.546114,2.108209],[-2.458053,7.186346,1.896623],[3.437124,.275798,1.138203],[.095925,8.725832,-.926481],[2.417376,2.429869,3.287659],[2.279951,1.200317,3.049994],[2.674753,2.326926,3.044059],[-2.328123,6.849164,1.75751],[-3.418616,7.853407,.126248],[-3.151587,7.77543,-.110889],[2.349144,5.653242,2.05869],[-2.273236,6.085631,2.242888],[-4.560601,4.525342,1.261241],[2.866334,3.796067,2.934717],[-2.17493,6.505518,1.791367],[3.12059,3.283157,2.818869],[3.037703,3.562356,2.866653],[.066233,9.488418,-1.248237],[2.749941,.975018,2.573371],[-2.155749,5.801033,2.204009],[-2.162778,6.261889,2.028596],[1.936874,.459142,2.956718],[3.176249,4.335541,2.440447],[4.356599,1.029423,1.700589],[3.873502,3.082678,1.80431],[2.895489,4.243034,2.735259],[-.095774,9.468195,-1.07451],[-1.124982,7.886808,-.480851],[3.032304,3.065454,2.897927],[3.692687,4.5961,.957858],[-3.013045,3.807235,-1.098381],[-.790012,8.92912,-.367572],[1.905793,.73179,2.996728],[3.530396,3.426233,2.356583],[2.12299,.624933,2.929167],[-2.069196,6.039284,2.01251],[-3.565623,7.182525,2.850039],[2.959264,2.376337,2.829242],[2.949071,1.822483,2.793933],[4.036142,.763803,1.703744],[-1.993527,6.180318,1.804936],[-.030987,.766389,3.344766],[-.549683,8.225193,-.189341],[-.765469,8.272246,-.127174],[-2.947047,7.541648,-.414113],[-3.050327,9.10114,-3.435619],[3.488566,2.231807,2.399836],[3.352283,4.727851,1.946438],[4.741011,2.162773,1.499574],[-1.815093,6.072079,1.580722],[-3.720969,8.267927,-.984713],[1.932826,3.714052,3.427488],[3.323617,4.438961,2.20732],[.254111,9.26364,-1.373244],[-1.493384,7.868585,-.450051],[-.841901,.776135,-1.619467],[.243537,6.027668,.091687],[.303057,.313022,-.531105],[-.435273,.474098,3.481552],[2.121507,2.622389,3.486293],[1.96194,1.101753,3.159584],[3.937991,3.407551,1.551392],[.070906,.295753,1.377185],[-1.93588,7.631764,.651674],[-2.523531,.744818,-.30985],[2.891496,3.319875,2.983079],[4.781765,1.547061,1.523129],[-2.256064,7.571251,.973716],[3.244861,3.058249,2.724392],[-.145855,.437775,3.433662],[1.586296,5.658538,2.358487],[3.658336,3.774921,2.071837],[2.840463,4.817098,2.46376],[-1.219464,8.122542,-.672808],[-2.520906,2.664486,-1.034346],[-1.315417,8.471365,-.709557],[3.429165,3.74686,2.446169],[3.074579,3.840758,2.767409],[3.569443,3.166337,2.333647],[2.294337,3.280051,3.359346],[2.21816,3.66578,3.269222],[2.158662,4.151444,-1.357919],[1.13862,4.380986,-1.404565],[3.388382,2.749931,-.840949],[3.059892,5.084848,2.026066],[3.204739,2.075145,2.640706],[3.387065,1.42617,2.305275],[3.910398,2.670742,1.750179],[3.471512,1.945821,2.395881],[4.08082,1.070654,1.960171],[-1.057861,.133036,2.146707],[-.151749,5.53551,-.624323],[3.233099,4.003778,2.571172],[2.611726,5.319199,-.499388],[2.682909,1.094499,-1.206247],[-1.22823,7.656887,.041409],[-2.293247,7.259189,.013844],[.081315,.202174,3.286381],[-1.002038,5.794454,-.187194],[3.448856,4.08091,2.258325],[.287883,9.006888,-1.550641],[-3.851019,4.059839,-.646922],[3.610966,4.205438,1.913129],[2.239042,2.950872,3.449959],[.216305,.442843,3.328052],[1.87141,2.470745,3.574559],[3.811378,2.768718,-.228364],[2.511081,1.362724,2.969349],[-1.59813,7.866506,.440184],[-3.307975,2.851072,-.894978],[-.107011,8.90573,-.884399],[-3.855315,2.842597,-.434541],[2.517853,1.090768,2.799687],[3.791709,2.36685,2.002703],[4.06294,2.773922,.452723],[-2.973289,7.61703,-.623653],[-2.95509,8.924462,-3.446319],[2.861402,.562592,2.184397],[-1.109725,8.594206,-.076812],[-.725722,7.924485,-.381133],[-1.485587,1.329994,-.654405],[-4.342113,3.233735,1.752922],[-2.968049,7.955519,-2.09405],[-3.130948,.446196,.85287],[-4.958475,5.757329,1.447055],[-3.086547,7.615193,-1.953168],[-3.751923,5.412821,3.373373],[-4.599645,7.480953,1.677134],[1.133992,.274871,.032249],[-2.956512,8.126905,-1.785461],[-.960645,4.73065,-1.191786],[-2.871064,.875559,.424881],[-4.932114,5.99614,1.483845],[-2.981761,8.124612,-1.387276],[.362298,8.978545,-1.368024],[-4.408375,3.046271,.602373],[2.865841,2.322263,-1.344625],[-4.7848,5.620895,.594432],[-2.88322,.338931,1.67231],[-4.688101,6.772931,1.872318],[-4.903948,6.164698,1.27135],[2.85663,1.005647,-.906843],[2.691286,.209811,.050512],[-4.693636,6.477556,.665796],[-4.472331,6.861067,.477318],[.883065,.204907,3.073933],[-.995867,8.048729,-.653897],[-.794663,5.670397,-.390119],[3.313153,1.638006,-.722289],[-4.856459,5.394758,1.032591],[-3.005448,7.783023,-.819641],[3.11891,2.036974,-1.08689],[-2.364319,2.408419,2.63419],[-2.927132,8.75435,-3.537159],[-3.296222,7.964629,-3.134625],[-1.642041,4.13417,-1.301665],[2.030759,.176372,-1.030923],[-4.559069,3.751053,.548453],[3.438385,4.59454,-.243215],[-2.561769,7.93935,.177696],[2.990593,1.335314,-.943177],[1.2808,.276396,-.49072],[-.318889,.290684,.211143],[3.54614,3.342635,-.767878],[-3.073372,7.780018,-2.357807],[-4.455388,4.387245,.361038],[-4.659393,6.276064,2.767014],[.636799,4.482223,-1.426284],[-2.987681,8.072969,-2.45245],[-2.610445,.763554,1.792054],[3.358241,2.006707,-.802973],[-.498347,.251594,.962885],[3.1322,.683312,2.038777],[-4.389801,7.493776,.690247],[.431467,4.22119,-1.614215],[-4.376181,3.213141,.273255],[-4.872319,5.715645,.829714],[-4.826893,6.195334,.849912],[3.516562,2.23732,-.677597],[3.131656,1.698841,-.975761],[-4.754925,5.411666,1.989303],[-2.987299,7.320765,-.629479],[-3.757635,3.274862,-.744022],[3.487044,2.541999,-.699933],[-4.53274,4.649505,.77093],[-1.424192,.099423,2.633327],[3.090867,2.476975,-1.146957],[-2.713256,.815622,2.17311],[3.348121,3.254167,-.984896],[-3.031379,.16453,-.309937],[-.949757,4.518137,-1.309172],[-.889509,.095256,1.288803],[3.539594,1.966105,-.553965],[-4.60612,7.127749,.811958],[-2.332953,1.444713,1.624548],[3.136293,2.95805,-1.138272],[3.540808,3.069058,-.735285],[3.678852,2.362375,-.452543],[-4.648898,7.37438,.954791],[-.646871,.19037,3.344746],[2.2825,.29343,-.826273],[-4.422291,7.183959,.557517],[-4.694668,5.246103,2.541768],[-4.583691,4.145486,.600207],[-2.934854,7.912513,-1.539269],[-3.067861,7.817472,-.546501],[3.825095,3.229512,-.237547],[2.532494,.323059,2.387105],[-2.514583,.692857,1.23597],[-4.736805,7.214384,1.259421],[-2.98071,8.409903,-2.468199],[2.621468,1.385844,-1.406355],[3.811447,3.560855,1.847828],[3.432925,1.497205,-.489784],[3.746609,3.631538,-.39067],[3.594909,2.832257,-.576012],[-.404192,5.300188,-.856561],[-4.762996,6.483774,1.702648],[-4.756612,6.786223,1.43682],[-2.965309,8.437217,-2.785495],[2.863867,.74087,-.429684],[4.02503,2.968753,1.392419],[3.669036,1.833858,-.304971],[-2.888864,.720537,.778057],[-2.36982,.979443,1.054447],[-2.959259,8.222303,-2.659724],[-3.467825,7.545739,-2.333445],[2.153426,.446256,-1.20523],[-3.229807,9.189699,-3.596609],[-3.72486,8.773707,-2.046671],[3.687218,3.297751,-.523746],[1.381025,.08815,-1.185668],[-2.796828,7.205622,-.208783],[3.647194,4.066232,-.291507],[-4.578376,3.885556,1.52546],[-2.840262,.63094,1.89499],[-2.429514,.922118,1.820781],[-4.675079,6.573925,2.423363],[2.806207,4.320188,-1.027372],[-1.289608,.097241,1.321661],[-3.010731,8.141334,-2.866148],[3.202291,1.235617,-.549025],[4.094792,2.477519,.304581],[2.948403,.966873,-.664857],[-4.83297,5.920587,2.095461],[-2.169693,7.257277,.946184],[-1.335807,3.057597,-1.303166],[-1.037877,.64151,-1.685271],[2.627919,.089814,.439074],[3.815794,3.808102,1.730493],[-2.973455,8.433141,-3.08872],[-2.391558,7.331428,1.658264],[-4.333107,4.529978,1.850516],[-4.640293,3.767107,1.168841],[3.600716,4.46931,1.734024],[3.880803,1.730158,-.172736],[3.814183,4.262372,1.167042],[4.37325,.829542,1.413729],[2.490447,5.75111,.011492],[3.460003,4.962436,1.188971],[3.918419,3.814234,1.358271],[-.807595,8.840504,-.953711],[3.752855,4.20577,1.57177],[-2.991085,8.816501,-3.244595],[-2.333196,7.128889,1.551985],[3.977718,3.570941,1.25937],[4.360071,.755579,1.079916],[4.637579,1.027973,1.032567],[-2.317,7.421066,1.329589],[-1.013404,8.293662,-.7823],[4.548023,1.020644,1.420462],[4.763258,1.266798,1.296203],[4.896,2.073084,1.255213],[4.015005,3.325226,1.093879],[4.94885,1.860936,.894463],[-2.189645,6.954634,1.270077],[4.887442,1.720992,1.288526],[-3.184068,7.871802,.956189],[-1.274318,.839887,-1.224389],[-2.919521,7.84432,.541629],[-2.994586,7.766102,1.96867],[-3.417504,9.241714,-3.093201],[-3.174563,7.466456,2.473617],[-3.263067,9.069412,-3.003459],[-2.841592,.529833,2.693434],[-3.611069,9.158804,-2.829871],[-4.642828,5.927526,.320549],[-3.809308,9.051035,-2.692749],[-2.837582,7.487987,-.106206],[4.773025,2.330442,1.213899],[4.897435,2.209906,.966657],[-3.067637,8.164062,-1.12661],[-3.122129,8.08074,-.899194],[4.571019,2.358113,1.462054],[4.584884,2.454418,.709466],[-3.661093,7.146581,-.475948],[4.735131,2.415859,.933939],[4.207556,2.540018,1.218293],[-3.607595,7.89161,-.121172],[-1.527952,.775564,-1.061903],[4.53874,2.503273,1.099583],[-3.938837,7.587988,.082449],[-4.853582,6.152409,1.787943],[-4.752214,6.247234,2.296873],[4.602935,2.363955,.488901],[-1.81638,6.365879,.868272],[.595467,4.744074,-1.32483],[1.87635,3.511986,-1.842924],[4.330947,2.534326,.720503],[4.108736,2.750805,.904552],[-1.890939,8.492628,-.290768],[-3.504309,6.173058,-.422804],[-1.611992,6.196732,.648736],[-3.899149,7.826123,1.088845],[-3.078303,3.008813,-1.035784],[-2.798999,7.844899,1.340061],[-1.248839,5.959105,.041761],[.767779,4.337318,3.090817],[-3.831177,7.515605,2.432261],[-1.667528,6.156208,.365267],[-1.726078,6.237384,1.100059],[-3.972037,4.520832,-.370756],[-4.40449,7.636357,1.520425],[-1.34506,6.004054,1.293159],[-1.233556,6.049933,.500651],[-3.696869,7.79732,.37979],[-3.307798,8.949964,-2.698113],[-1.997295,6.615056,1.103691],[-3.219222,8.336394,-1.150614],[-3.452623,8.31866,-.9417],[-3.94641,2.990494,2.212592],[-3.250025,8.030414,-.596097],[-2.02375,1.571333,2.397939],[-3.190358,7.665013,2.268183],[-2.811918,7.618526,2.145587],[-1.005265,5.892303,.072158],[-.93721,5.974148,.906669],[-4.646072,7.492193,1.45312],[-.252931,1.797654,3.140638],[-1.076064,5.738433,1.695953],[-3.980534,7.744391,1.735791],[-.721187,5.939396,.526032],[-.42818,5.919755,.229001],[-1.43429,6.11622,.93863],[-.985638,5.939683,.290636],[-4.433836,7.461372,1.966437],[-3.696398,7.844859,1.547325],[-3.390772,7.820186,1.812204],[-2.916787,7.864019,.804341],[-3.715952,8.037269,-.591341],[-4.204634,7.72919,1.119866],[-4.592233,5.592883,.246264],[3.307299,5.061701,1.622917],[-3.515159,7.601467,2.368914],[-3.435742,8.533457,-1.37916],[-.269421,4.545635,-1.366445],[-2.542124,3.768736,-1.258512],[-3.034003,7.873773,1.256854],[-2.801399,7.856028,1.080137],[3.29354,5.220894,1.081767],[-2.35109,1.299486,1.01206],[-3.232213,7.768136,2.047563],[3.290415,5.217525,.68019],[-3.415109,7.731034,2.144326],[3.440357,4.962463,.373387],[3.147346,5.352121,1.386923],[2.847252,5.469051,1.831981],[3.137682,5.410222,1.050188],[3.102694,5.310456,1.676434],[-3.044601,.39515,1.994084],[2.903647,5.561338,1.518598],[-3.810148,8.093598,-.889131],[4.234835,.803054,1.593271],[3.240165,5.228747,.325955],[3.037452,5.509825,.817137],[2.635031,5.795187,1.439724],[3.071607,5.318303,.080142],[2.909167,5.611751,1.155874],[3.044889,5.465928,.486566],[2.502256,5.770673,1.740054],[-.067497,.086416,-1.190239],[2.33326,5.906051,.138295],[.65096,4.205423,3.308767],[-2.671137,7.936535,.432731],[2.14463,5.879214,1.866047],[-4.776469,5.890689,.561986],[2.72432,5.655145,.211951],[2.730488,5.751455,.695894],[2.572682,5.869295,1.152663],[1.906776,5.739123,2.196551],[2.344414,5.999961,.772922],[-3.377905,7.448708,-1.863251],[2.285149,5.968156,1.459258],[2.385989,5.928974,.3689],[2.192111,6.087516,.959901],[2.36372,6.001101,1.074346],[1.972022,6.079603,1.591175],[1.87615,5.976698,1.91554],[-3.824761,9.05372,-2.928615],[2.044704,6.129704,1.263111],[-2.583046,.849537,2.497344],[-.078825,2.342205,3.520322],[-.704686,.537165,3.397194],[-.257449,3.235334,3.647545],[-.332064,1.448284,3.022583],[-2.200146,.898284,-.447212],[-2.497508,1.745446,1.829167],[.30702,4.416315,2.978956],[-3.205197,3.479307,-1.040582],[.110069,9.347725,-1.563686],[-.82754,.883886,3.065838],[-2.017103,1.244785,2.42512],[-.421091,2.309929,3.153898],[-.491604,3.796072,3.16245],[2.786955,3.501241,-1.340214],[-3.229055,4.380713,-.899241],[3.730768,.76845,1.90312],[-.561079,2.652382,3.152463],[-3.461471,3.086496,2.662505],[-.661405,3.446009,3.179939],[-.915351,.636755,3.243708],[-2.992964,8.915628,-3.729833],[-.439627,3.502104,3.42665],[-1.154217,.883181,2.800835],[-1.736193,1.465474,2.595489],[-.423928,3.24435,3.548277],[-.511153,2.871046,3.379749],[-.675722,2.991756,3.143262],[-1.092602,.599103,3.090639],[-.89821,2.836952,2.840023],[-2.658412,.781376,.960575],[-2.271455,1.222857,1.330478],[-.877861,1.111222,2.72263],[-.306959,2.876987,3.556044],[-3.839274,7.84138,-.918404],[-.172094,4.083799,3.141708],[-1.548332,.2529,2.864655],[-.217353,4.873911,-1.223104],[-3.384242,3.181056,-.95579],[-2.731704,.382421,2.895502],[-1.285037,.551267,2.947675],[.077224,4.246579,3.066738],[-.479979,1.77955,2.860011],[-.716375,1.224694,2.666751],[-.54622,3.138255,3.393457],[-2.33413,1.821222,2.124883],[-.50653,2.037147,2.897465],[2.451291,1.211389,-1.466589],[-3.160047,2.894081,2.724286],[-4.137258,5.433431,3.21201],[.462896,.320456,-.174837],[-.37458,2.609447,3.379253],[-3.095244,.256205,2.196446],[-4.197985,5.732991,3.262924],[-.729747,.246036,.497036],[-2.356189,5.062,-.965619],[-1.609036,.25962,-1.487367],[-4.074381,6.074061,3.409459],[-3.619304,4.0022,2.65705],[-.543393,8.742896,-1.056622],[-4.30356,6.858934,2.879642],[-.716688,2.901831,-2.11202],[1.547362,.083189,1.138764],[-.250916,.275268,1.201344],[-3.778035,3.13624,2.466177],[-4.594316,5.771342,3.01694],[-3.717706,3.442887,2.603344],[-4.311163,5.224669,3.019373],[-.610389,2.095161,-1.923515],[-3.040086,6.196918,-.429149],[-3.802695,3.768247,2.545523],[-.159541,2.043362,3.328549],[-3.744329,4.31785,2.491889],[-3.047939,.214155,1.873639],[-4.41685,6.113058,3.166774],[-1.165133,.460692,-1.742134],[-1.371289,4.249996,-1.317935],[-3.447883,.3521,.466205],[-4.495555,6.465548,2.944147],[-3.455335,.171653,.390816],[-3.964028,4.017196,2.376009],[-1.323595,1.763126,-.750772],[-3.971142,5.277524,-.19496],[-3.222052,.237723,.872229],[-4.403784,3.89107,1.872077],[-3.333311,.342997,.661016],[-4.495871,4.29606,1.63608],[-3.636081,2.760711,2.361949],[-4.487235,3.559608,1.66737],[-4.719787,7.26888,1.658722],[-1.086143,9.035741,-.707144],[-2.339693,1.600485,-.404817],[-4.642011,7.123829,1.990987],[-1.498077,3.854035,-1.369787],[-4.188372,4.729363,2.02983],[-3.116344,5.882284,-.468884],[-4.305236,4.246417,1.976991],[-3.022509,.22819,1.065688],[-2.799916,.52022,1.128319],[-4.262823,3.534409,2.020383],[-4.221533,3.947676,2.11735],[-3.744353,4.391712,-.6193],[-1.272905,.156694,-1.741753],[-3.62491,2.669825,-.549664],[-4.180756,3.096179,1.987215],[-4.059276,4.305313,2.232924],[-2.812753,.183226,1.370267],[-4.032437,3.512234,2.309985],[-.03787,.28188,.530391],[-4.711562,5.468653,2.822838],[-4.500636,6.953314,2.564445],[-4.479433,7.216991,2.270682],[3.990562,.50522,.716309],[-2.512229,6.863447,-.100658],[-2.968058,6.956639,-.37061],[2.550375,3.142683,-1.54068],[-2.320059,3.521605,-1.279397],[-4.556319,6.64662,2.745363],[-4.281091,7.108116,2.667598],[-2.050095,8.411689,.121353],[-2.44854,1.135487,.851875],[3.121815,.699943,-.277167],[-4.69877,6.00376,2.843035],[-1.360599,8.824742,-.595597],[1.128437,.171611,.301691],[-4.360146,6.289423,.042233],[1.400795,4.088829,-1.620409],[-3.193462,8.460137,-3.559446],[-3.168771,8.878431,-3.635795],[-3.434275,9.304302,-3.460878],[-3.349993,8.808093,-3.38179],[-3.304823,8.323865,-3.325905],[-3.572607,9.308843,-3.207672],[-3.166393,8.201215,-3.43014],[-3.451638,9.05331,-3.351345],[-3.309591,8.549758,-3.375055],[-3.527992,8.793926,-3.100376],[-3.6287,8.981677,-3.076319],[-3.445505,8.001887,-2.8273],[-3.408011,8.221014,-3.039237],[-3.65928,8.740382,-2.808856],[-3.878019,8.797295,-2.462866],[-3.515132,8.232341,-2.747739],[-3.460331,8.51524,-3.06818],[-3.403703,7.658628,-2.648789],[-3.507113,8.00159,-2.582275],[-3.607373,8.174737,-2.401723],[-3.749043,8.378084,-2.226959],[-3.648514,8.502213,-2.6138],[-2.534199,.904753,2.021148],[1.4083,5.744252,-.571402],[-3.852536,8.571009,-2.352358],[2.868255,5.373126,-.163705],[2.224363,4.669891,-1.061586],[-4.528281,4.885838,1.340274],[1.30817,4.609629,-1.28762],[-4.519698,3.422501,1.354826],[-3.549955,7.783228,-2.332859],[1.12313,6.120856,.045115],[-3.620324,7.57716,-2.033423],[-.798833,2.624133,-1.992682],[-3.617587,7.783148,-2.051383],[-3.669293,8.103776,-2.10227],[-3.892417,8.667436,-2.167288],[-.537435,.285345,-.176267],[-.841522,3.299866,-1.887861],[-.761547,3.647082,-1.798953],[-3.661544,7.85708,-1.867924],[-3.886763,8.551783,-1.889171],[-.591244,1.549749,-1.714784],[-.775276,1.908218,-1.597609],[-.961458,2.573273,-1.695549],[-2.215672,1.335009,2.143031],[-4.622674,4.130242,1.220683],[1.07344,.290099,1.584734],[-.976906,2.92171,-1.76667],[-1.13696,3.194401,-1.513455],[-3.743262,7.99949,-1.629286],[-2.876359,4.900986,-.879556],[.550835,3.905557,-2.031372],[.777647,4.992314,-1.215703],[1.445881,4.266201,-1.414663],[1.274222,5.510543,-.824495],[-.864685,2.318581,-1.702389],[-.627458,3.820722,-1.743153],[-3.867699,8.30866,-1.850066],[1.635287,5.45587,-.83844],[-1.037876,2.538589,-1.513504],[-4.38993,4.73926,1.699639],[.048709,4.765232,-1.279506],[-.626548,1.339887,-1.595114],[-3.682827,7.643453,-1.723398],[-3.868783,8.180191,-1.511743],[-.76988,1.508373,-1.419599],[-1.138374,2.766765,-1.448163],[1.699883,5.780752,-.475361],[1.214305,.308517,1.866405],[-1.713642,.373461,-1.265204],[-1.582388,.58294,-1.267977],[-.879549,1.821581,-1.313787],[.519057,5.858757,-.381397],[-3.770989,2.449208,-.132655],[.087576,.156713,-1.53616],[-.942622,2.146534,-1.421494],[-1.026192,1.022164,-1.145423],[-.964079,1.645473,-1.067631],[-1.109128,2.458789,-1.29106],[-1.037478,.209489,-1.805424],[-3.724391,7.599686,-1.273458],[-3.787898,7.951792,-1.304794],[3.821677,2.165581,-.181535],[-2.39467,.304606,-.570375],[-2.352928,1.0439,2.079369],[-.288899,9.640684,-1.006079],[-3.472118,7.263001,-1.080326],[-1.240769,.972352,-.976446],[-1.845253,.356801,-.995574],[-2.32279,7.915361,-.057477],[-1.08092,2.179315,-1.168821],[4.598833,2.156768,.280264],[-4.725417,6.442373,2.056809],[-.490347,9.46429,-.981092],[-1.99652,.09737,-.765828],[-1.137793,1.888846,-.894165],[-.37247,4.29661,-1.465199],[-.184631,5.692946,-.421398],[-3.751694,7.742231,-1.086908],[-1.001416,1.298225,-.904674],[-3.536884,7.190777,-.788609],[-3.737597,7.511281,-.940052],[-1.766651,.669388,-.873054],[3.112245,3.474345,-1.129672],[-.175504,3.81298,-2.0479],[-3.766762,7.412514,-.681569],[-.63375,9.439424,-.785128],[-.518199,4.768982,-1.258625],[.790619,4.212759,-1.610218],[-3.761951,3.742528,-.756283],[.897483,5.679808,-.612423],[2.221126,4.427468,-1.252155],[-.728577,5.846457,.062702],[.194451,9.503908,-1.482461],[-.099243,9.385459,-1.39564],[.643185,3.636855,-2.180247],[.894522,5.900601,-.356935],[2.595516,4.75731,-.893245],[1.108497,3.936893,-1.905098],[1.989894,5.789726,-.343268],[-3.802345,7.655508,-.613817],[2.339353,4.96257,-.90308],[.12564,4.013324,-1.879236],[-4.078965,3.683254,-.445439],[2.092899,5.256128,-.831607],[.427571,.291769,1.272964],[2.335549,3.480056,-1.581949],[-.15687,.324827,-1.648922],[-.536522,5.760786,-.203535],[1.507082,.078251,-.923109],[-1.854742,.134826,2.698774],[-3.939827,3.168498,-.526144],[-3.98461,3.39869,-.533212],[-3.961738,4.217132,-.489147],[4.273789,2.181164,.153786],[-.470498,5.645664,-.439079],[-.414539,5.488017,-.673379],[-.097462,5.062739,-1.114863],[1.198092,5.882232,-.391699],[2.855834,5.085022,-.498678],[1.037998,4.129757,-1.701811],[1.728091,5.068444,-1.063761],[-3.832258,2.625141,-.311384],[-4.078526,3.070256,-.284362],[-4.080365,3.954243,-.440471],[-.152578,5.276267,-.929815],[-1.489635,8.928082,-.295891],[.759294,5.15585,-1.087374],[-4.000338,2.801647,-.235135],[-4.290801,3.823209,-.19374],[-4.221493,4.25618,-.189894],[-4.066195,4.71916,-.201724],[-.155386,4.076396,-1.662865],[3.054571,4.414305,-.825985],[-1.652919,8.726499,-.388504],[-3.042753,.560068,-.126425],[-2.434456,1.118088,-.213563],[-2.623502,1.845062,-.283697],[-4.233371,3.43941,-.202918],[2.726702,3.82071,-1.280097],[.184199,4.14639,-1.673653],[-1.289203,.624562,-1.560929],[-3.823676,7.382458,-.407223],[.476667,5.064419,-1.143742],[-3.873651,4.955112,-.269389],[1.349666,5.312227,-1.000274],[-2.043776,8.434488,-.108891],[-2.763964,.733395,-.129294],[-4.380505,3.664409,-.024546],[-.71211,5.341811,-.803281],[-3.960858,7.183112,-.118407],[-3.822277,7.712853,-.263221],[-2.346808,8.108588,.063244],[-1.841731,8.642999,-.142496],[-2.600055,.985604,-.043595],[-3.513057,2.213243,-.044151],[-3.963492,2.603055,-.080898],[-4.258066,3.14537,-.027046],[-4.261572,5.00334,.13004],[.795464,3.99873,-1.905688],[-3.300873,.384761,.013271],[-2.770244,.881942,.077313],[-3.456227,1.993871,.301054],[-4.441987,3.914144,.177867],[-4.367075,6.611414,.165312],[-3.201767,.576292,.105769],[-3.174354,.645009,.440373],[-2.996576,.74262,.161325],[-2.724979,1.656497,.092983],[-3.261757,2.017742,-.070763],[-4.280173,4.518235,-.002999],[-4.471073,5.945358,.05202],[-3.877137,2.40743,.274928],[-4.371219,4.252758,.078039],[-3.400914,.40983,.238599],[-4.44293,3.523242,.146339],[-4.574528,5.279761,.353923],[-4.226643,7.191282,.269256],[-4.16361,2.843204,.097727],[-4.528506,5.011661,.536625],[.35514,5.664802,-.572814],[2.508711,5.580976,-.266636],[2.556226,3.633779,-1.426362],[1.878456,4.533714,-1.223744],[2.460709,4.440241,-1.1395],[2.218589,5.514603,-.560066],[2.263712,5.737023,-.250694],[2.964981,3.814858,-1.139927],[.991384,5.304131,-.999867],[2.81187,4.547292,-.916025],[2.918089,4.768382,-.702808],[3.262403,4.414286,-.657935],[.652136,6.089113,.069089],[3.361389,3.5052,-.946123],[2.613042,5.037192,-.697153],[.094339,4.36858,-1.451238],[3.290862,4.155716,-.732318],[2.658063,4.073614,-1.217455],[3.260349,3.753257,-.946819],[1.124268,4.862463,-1.207855],[3.35158,4.899247,-.027586],[3.194057,4.691257,-.524566],[3.090119,5.116085,-.23255],[2.418965,3.811753,-1.419399],[2.191789,3.877038,-1.47023],[4.043166,2.034188,.015477],[-1.026966,.86766,-1.410912],[1.937563,3.860005,-1.617465],[2.98904,4.101806,-.998132],[-.142611,5.865305,-.100872],[3.972673,2.292069,.089463],[3.23349,3.959925,-.849829],[.16304,5.857276,-.216704],[4.122964,1.770061,-.114906],[2.099057,4.978374,-.98449],[3.502411,3.76181,-.667502],[2.079484,5.939614,-.036205],[-.084568,3.525193,-2.253506],[.423859,4.06095,-1.845327],[1.6013,6.006466,-.153429],[.271701,3.844964,-2.078748],[.273577,5.218904,-.994711],[-.410578,3.92165,-1.773635],[1.941954,5.60041,-.621569],[.100825,5.462131,-.774256],[-.53016,3.619892,-2.027451],[-.822371,5.517453,-.605747],[-2.474925,7.670892,-.020174],[4.01571,.830194,-.013793],[-.400092,5.094112,-1.041992],[-2.887284,5.581246,-.525324],[-1.559841,6.050972,.079301],[-.469317,3.291673,-2.235211],[.337397,3.467926,-2.295458],[-2.632074,5.573701,-.582717],[-.030318,6.011395,.276616],[-.934373,.388987,-1.780523],[-2.661263,5.844838,-.425966],[.549353,5.489646,-.807268],[-2.194355,6.197491,-.109322],[-2.289618,5.664813,-.581098],[1.583583,3.796366,-1.844498],[.855295,.215979,-1.425557],[-2.627569,5.300236,-.767174],[4.333347,2.384332,.399129],[-1.880401,5.583843,-.696561],[-2.172346,5.324859,-.846246],[-2.27058,5.906265,-.388373],[-1.960049,5.889346,-.397593],[.965756,3.67547,-2.105671],[-2.014066,6.431125,.287254],[-1.776173,5.287097,-.89091],[-2.025852,5.089562,-.980218],[-1.886418,6.108358,-667e-6],[-1.600803,5.785347,-.491069],[-1.66188,4.968053,-1.042535],[-1.600621,5.962818,-.188044],[-1.588831,5.615418,-.665456],[4.46901,1.880138,.057248],[-1.978845,.927399,-.554856],[-1.408074,5.325266,-.83967],[1.923123,4.843955,-1.101389],[-2.87378,.117106,-.412735],[-1.222193,5.62638,-.539981],[-2.632537,.166349,-.489218],[-1.370865,5.838832,-.341026],[-1.067742,5.448874,-.692701],[-1.073798,5.220878,-.908779],[-1.147562,4.950417,-1.079727],[-2.789115,4.531047,-1.042713],[-3.550826,4.170487,-.806058],[-3.331694,4.798177,-.69568],[-3.689404,4.688543,-.534317],[-3.511509,5.106246,-.483632],[1.796344,.076137,.080455],[-3.306354,5.473605,-.478764],[-2.692503,3.346604,-1.20959],[-3.963056,5.187462,3.113156],[-3.901231,6.391477,-.246984],[4.484234,1.518638,-.001617],[4.308829,1.657716,-.119275],[4.290045,1.339528,-.110626],[-3.514938,3.524974,-.909109],[-2.1943,2.12163,-.71966],[4.108206,1.091087,-.11416],[3.785312,1.392435,-.28588],[4.092886,1.480476,-.210655],[-2.965937,6.469006,-.379085],[-3.708581,2.962974,-.63979],[-3.297971,2.218917,-.299872],[3.806949,.804703,-.11438],[3.747957,1.059258,-.273069],[-3.101827,4.111444,-1.006255],[-1.536445,4.658913,-1.195049],[-3.549826,2.450555,-.375694],[-3.676495,2.108366,.534323],[-3.674738,5.925075,-.400011],[-2.250115,2.848335,-1.121174],[-3.698062,5.667567,-.381396],[3.468966,.734643,-.190624],[-3.97972,5.670078,-.26874],[-3.002087,4.337837,-1.033421],[-3.356392,2.608308,-.713323],[-1.833016,3.359983,-1.28775],[-1.989069,3.632416,-1.305607],[3.591254,.542371,.026146],[3.364927,1.082572,-.342613],[-3.393759,3.866801,-.937266],[-4.124865,5.549529,-.161729],[-4.423423,5.687223,103e-6],[-1.496881,2.601785,-1.114328],[-2.642297,6.496932,-.264175],[-3.684236,6.819423,-.320233],[-2.286996,3.167067,-1.246651],[-1.624896,8.44848,-.530014],[-3.666787,2.159266,.268149],[-2.402625,2.011243,-.56446],[-2.736166,2.259839,-.6943],[-2.168611,3.89078,-1.292206],[-2.065956,3.345708,-1.281346],[-2.778147,2.675605,-.995706],[-3.507431,4.513272,-.71829],[-2.301184,4.293911,-1.238182],[3.205808,.211078,.394349],[-2.129936,4.870577,-1.080781],[-2.287977,2.496593,-.934069],[-2.701833,2.931814,-1.114509],[3.294795,.50631,-.081062],[-2.552829,7.468771,-.021541],[3.06721,.944066,-.43074],[-2.86086,1.973622,-.303132],[-3.598818,5.419613,-.401645],[-1.524381,.080156,-1.61662],[-1.907291,2.646274,-1.039438],[2.950783,.407562,-.105407],[-1.663048,1.655038,-.689787],[-1.728102,1.110064,-.635963],[-2.085823,7.686296,-.159745],[2.883518,3.157009,-1.30858],[-2.724116,.417169,-.389719],[-1.788636,7.862672,-.346413],[-2.186418,1.249609,-.434583],[-3.092434,2.606657,-.860002],[-1.737314,3.874201,-1.330986],[2.564522,.422967,-.390903],[1.670782,3.538432,-1.924753],[-2.338131,4.02578,-1.286673],[-1.916516,4.054121,-1.301788],[2.87159,2.034949,-1.267139],[-1.931518,3.062883,-1.197227],[-.816602,.135682,3.104104],[.469392,.213916,-1.489608],[2.574055,1.950091,-1.514427],[2.733595,2.682546,-1.461213],[-1.915407,4.693647,-1.151721],[-3.412883,5.867094,-.450528],[2.28822,.120432,-.04102],[2.244477,.14424,-.376933],[-1.676198,3.570698,-1.328031],[-1.821193,4.366982,-1.266271],[-1.552208,8.099221,-.53262],[-1.727419,2.39097,-.989456],[-2.468226,4.711663,-1.069766],[-2.451669,6.113319,-.273788],[2.635447,2.295842,-1.518361],[-2.020809,8.150253,-.246714],[2.292455,.805596,-1.3042],[2.641556,1.65665,-1.466962],[2.409062,2.842538,-1.635025],[2.456682,1.459484,-1.57543],[-1.691047,3.173582,-1.247082],[-1.865642,1.957608,-.768683],[-3.401579,.20407,.100932],[2.301981,1.7102,-1.650461],[2.342929,2.611944,-1.690713],[-1.676111,2.923894,-1.17835],[-2.992039,3.547631,-1.118945],[-3.571677,6.504634,-.375455],[2.141764,1.460869,-1.702464],[-3.221958,5.146049,-.615632],[2.19238,2.949367,-1.747242],[2.320791,2.232971,-1.706842],[2.088678,2.585235,-1.813159],[-2.196404,.592218,-.569709],[-2.120811,1.836483,-.62338],[-1.949935,2.271249,-.874128],[2.235901,1.110183,-1.510719],[2.020157,3.241128,-1.803917],[2.054336,1.949394,-1.792332],[-3.094117,4.996595,-.740238],[2.038063,.635949,-1.402041],[1.980644,1.684408,-1.76778],[1.587432,3.306542,-1.991131],[1.935322,.976267,-1.602208],[1.922621,1.235522,-1.698813],[1.712495,1.911874,-1.903234],[1.912802,2.259273,-1.888698],[1.884367,.355453,-1.312633],[1.676427,.76283,-1.539455],[1.78453,2.83662,-1.943035],[1.697312,.120281,-1.150324],[1.648318,2.484973,-1.999505],[-4.051804,5.958472,-.231731],[-1.964823,1.464607,-.58115],[1.55996,2.183486,-1.971378],[1.628125,1.045912,-1.707832],[1.701684,1.540428,-1.827156],[1.567475,4.869481,-1.184665],[1.432492,.843779,-1.648083],[1.173837,2.978983,-2.156687],[1.235287,3.37975,-2.09515],[1.252589,1.525293,-1.949205],[1.159334,2.336379,-2.105361],[1.49061,2.695263,-2.083216],[-4.122486,6.782604,-.02545],[1.173388,.279193,-1.423418],[1.505684,.380815,-1.414395],[1.391423,1.343031,-1.843557],[1.263449,2.73225,-2.144961],[1.295858,.597122,-1.515628],[1.245851,3.729126,-1.993015],[-2.761439,6.23717,-.365856],[.978887,1.664888,-2.046633],[1.219542,.982729,-1.785486],[1.315915,1.91748,-2.02788],[-3.052746,2.127222,-.369082],[.977656,1.36223,-1.944119],[.936122,3.39447,-2.203007],[-2.740036,4.184702,-1.122849],[.853581,2.864694,-2.260847],[.719569,.818762,-1.763618],[.839115,1.159359,-1.907943],[.932069,1.94559,-2.117962],[.579321,3.326747,-2.299369],[.86324,.597822,-1.565106],[.574567,1.158452,-1.943123],[.525138,2.137252,-2.213867],[.779941,2.342019,-2.206157],[.915255,2.618102,-2.209041],[.526426,3.02241,-2.321826],[.495431,2.521396,-2.295905],[.80799,3.156817,-2.286432],[.273556,1.304936,-2.012509],[.664326,1.530024,-2.048722],[.219173,2.32907,-2.323212],[.405324,.695359,-1.704884],[.398827,.946649,-1.843899],[.345109,1.608829,-2.100174],[-2.356743,.062032,-.4947],[-3.001084,.27146,2.560034],[-2.064663,.303055,-.697324],[.221271,3.174023,-2.374399],[.195842,.437865,-1.621473],[-.385613,.297763,1.960096],[1.999609,.108928,-.79125],[.351698,9.227494,-1.57565],[.021477,2.191913,-2.309353],[.246381,2.836575,-2.356365],[1.543281,.237539,1.901906],[.031881,9.147022,-1.454203],[-.001881,1.648503,-2.108044],[.333423,1.907088,-2.204533],[.044063,2.634032,-2.368412],[-.028148,3.053684,-2.390082],[.02413,3.34297,-2.36544],[-.272645,9.02879,-1.238685],[-.006348,.832044,-1.758222],[-.321105,1.458754,-1.886313],[-.153948,8.618809,-1.105353],[-.409303,1.137783,-1.720556],[-.410054,1.742789,-1.957989],[-.287905,2.380404,-2.294509],[-.261375,2.646629,-2.356322],[-.221986,3.215303,-2.345844],[-.31608,.687581,-1.71901],[-.537705,.855802,-1.648585],[-.142834,1.193053,-1.87371],[-.24371,2.044435,-2.176958],[-.437999,2.959748,-2.299698],[-.78895,.176226,-1.729046],[-.608509,.546932,-1.734032],[-.693698,4.478782,-1.369372],[-.669153,8.469645,-.911149],[-.741857,1.082705,-1.458474],[-.554059,2.440325,-2.141785],[2.09261,.153182,2.57581],[1.792547,.111794,2.563777],[1.855787,.189541,2.835089],[1.492601,.232246,2.987681],[-.284918,.236687,3.429738],[2.604841,.11997,1.01506],[.331271,.168113,3.124031],[.280606,.308368,2.495937],[.544591,.325711,2.081274],[.193145,.19154,-.977556],[3.810099,.42324,1.032202],[3.54622,.379245,1.392814],[.61402,.276328,.849356],[-1.198628,.144953,2.911457],[4.17199,.68037,1.391526],[.88279,.321339,2.059129],[1.93035,.109992,2.054154],[1.620331,.121986,2.37203],[2.374812,.10921,1.734876],[-.031227,.294412,2.593687],[4.075018,.561914,1.038065],[-.570366,.126583,2.975558],[.950052,.318463,1.804012],[1.130034,.117125,.98385],[2.123049,.08946,1.665911],[2.087572,.068621,.335013],[2.927337,.167117,.289611],[.528876,.313434,3.205969],[1.174911,.162744,1.328262],[-4.88844,5.59535,1.661134],[-4.709607,5.165338,1.324082],[.871199,.277021,1.263831],[-3.910877,2.349318,1.272269],[1.56824,.118605,2.768112],[1.179176,.152617,-.858003],[1.634629,.247872,2.128625],[-4.627425,5.126935,1.617836],[3.845542,.54907,1.45601],[2.654006,.165508,1.637169],[-.678324,.26488,1.974741],[2.451139,.100377,.213768],[.633199,.286719,.403357],[-.533042,.2524,1.373267],[.99317,.171106,.624966],[-.100063,.306466,2.170225],[1.245943,.092351,.661031],[1.390414,.198996,-.0864],[-4.457265,5.030531,2.138242],[2.89776,.146575,1.297468],[1.802703,.088824,-.490405],[1.055447,.309261,2.392437],[2.300436,.142429,2.104254],[2.33399,.187756,2.416935],[2.325183,.134349,.574063],[2.410924,.370971,2.637115],[1.132924,.290511,3.061],[1.764028,.070212,-.80535],[2.156994,.397657,2.844061],[.920711,.225527,-.882456],[-4.552135,5.24096,2.85514],[.210016,.309396,2.064296],[.612067,.136815,-1.086002],[3.150236,.426757,1.802703],[-.24824,.282258,1.470997],[.974269,.301311,-.640898],[-4.401413,5.03966,2.535553],[.644319,.274006,-.817806],[.332922,.309077,.108474],[3.610001,.317447,.689353],[3.335681,.358195,.118477],[.623544,.318983,-.4193],[-.11012,.307747,1.831331],[-.407528,.291044,2.282935],[.069783,.285095,.950289],[.970135,.310392,-.283742],[.840564,.306898,.098854],[-.541827,.267753,1.683795],[-3.956082,4.55713,2.297164],[-4.161036,2.834481,1.64183],[-4.093952,4.977551,2.747747],[2.661819,.261867,1.926145],[-3.749926,2.161875,.895238],[-2.497776,1.3629,.791855],[.691482,.304968,1.582939],[-4.013193,4.830963,2.4769],[-3.639585,2.091265,1.304415],[-3.9767,2.563053,1.6284],[-3.979915,2.788616,1.977977],[.388782,.312656,1.709168],[-3.40873,1.877324,.851652],[-3.671637,5.136974,3.170734],[-3.12964,1.852012,.157682],[-3.629687,4.852698,2.686837],[-3.196164,1.793459,.452804],[-3.746338,2.31357,1.648551],[2.992192,.125251,.575976],[-3.254051,.054431,.314152],[-3.474644,1.925288,1.134116],[-3.418372,2.022882,1.578901],[-2.920955,1.705403,.29842],[-3.57229,2.152022,1.607572],[-3.251259,.09013,-.106174],[-3.299952,1.877781,1.348623],[-3.666819,2.441459,2.004838],[-2.912646,1.824748,-.045348],[-3.399511,2.479484,2.340393],[-3.009754,.015286,.075567],[-3.381443,2.316937,2.156923],[-3.352801,2.133341,1.857366],[-3.01788,1.687685,.645867],[-2.931857,1.678712,1.158472],[-3.301008,.08836,.591001],[1.358025,.19795,1.599144],[-2.999565,1.845016,1.618396],[-2.767957,.028397,-.196436],[-2.93962,2.078779,2.140593],[-3.346648,2.674056,2.518097],[3.324322,.20822,.628605],[3.091677,.137202,.9345],[-2.881807,.009952,.318439],[-2.764946,1.786619,1.693439],[-2.905542,1.932343,1.900002],[-3.140854,2.271384,2.274946],[-2.88995,2.487856,2.574759],[-2.367194,-943e-6,-.15576],[-3.050738,.068703,.742988],[-2.759525,1.55679,.877782],[-3.151775,2.48054,2.482749],[-2.578618,-.002885,.165716],[-2.651618,1.877246,1.981189],[-2.933973,.133731,1.631023],[1.047628,.100284,-1.085248],[-1.585123,.062083,-1.394896],[-2.287917,-.002671,.214434],[-2.524899,.007481,.471788],[-2.815492,2.188198,2.343294],[-2.095142,-.003149,-.094574],[-2.172686,-133e-6,.47963],[-2.732704,.074306,1.742079],[-2.49653,2.145668,2.42691],[-1.343683,.047721,-1.506391],[-2.581185,.048703,.975528],[-2.905101,.083158,2.010052],[-2.601514,2.007801,2.223089],[-2.339464,.02634,1.484304],[-2.907873,.10367,2.378149],[-1.368796,.062516,-1.049125],[-1.93244,.02443,-.427603],[-2.705081,.060513,2.303802],[3.372155,.206274,.892293],[-1.761827,.093202,-1.037404],[-1.700667,.0397,-.614221],[-1.872291,.011979,-.135753],[-1.929257,.074005,.728999],[-2.520128,.049665,1.99054],[-2.699411,.10092,2.603116],[3.211701,.27302,1.423357],[-1.445362,.1371,-.626491],[2.921332,.259112,1.645525],[-.993242,.058686,-1.408916],[-.944986,.157541,-1.097665],[-2.154301,.032749,1.882001],[-2.108789,1.988557,2.442673],[-1.015659,.25497,-.416665],[-1.898411,.015872,.16715],[-1.585517,.027121,.453445],[-2.311105,.061264,2.327061],[-2.637042,.152224,2.832201],[-2.087515,2.292972,2.617585],[-.750611,.056697,-1.504516],[-.472029,.075654,-1.360203],[-.710798,.139244,-1.183863],[-.97755,.26052,-.831167],[-.655814,.260843,-.880068],[-.897513,.275537,-.133042],[-2.049194,.084947,2.455422],[-.177837,.076362,-1.449009],[-.553393,.279083,-.59573],[-1.788636,.06163,2.231198],[-.34761,.255578,-.999614],[-1.398589,.036482,.65871],[-1.133918,.05617,.69473],[-1.43369,.058226,1.977865],[-2.505459,1.492266,1.19295]],r.cells=[[2,1661,3],[1676,7,6],[712,1694,9],[3,1674,1662],[11,1672,0],[1705,0,1],[5,6,1674],[4,5,1674],[7,8,712],[2,1662,10],[1,10,1705],[11,1690,1672],[1705,11,0],[5,1676,6],[7,9,6],[7,712,9],[2,3,1662],[3,4,1674],[1,2,10],[12,82,1837],[1808,12,1799],[1808,1799,1796],[12,861,82],[861,1808,13],[1808,861,12],[1799,12,1816],[1680,14,1444],[15,17,16],[14,1678,1700],[16,17,1679],[15,1660,17],[14,1084,1678],[15,1708,18],[15,18,1660],[1680,1084,14],[1680,15,1084],[15,1680,1708],[793,813,119],[1076,793,119],[1076,1836,22],[23,19,20],[21,1076,22],[21,22,23],[23,20,21],[1076,119,1836],[806,634,470],[432,1349,806],[251,42,125],[809,1171,791],[953,631,827],[634,1210,1176],[157,1832,1834],[56,219,53],[126,38,83],[37,85,43],[59,1151,1154],[83,75,41],[77,85,138],[201,948,46],[1362,36,37],[452,775,885],[1237,95,104],[966,963,1262],[85,77,43],[36,85,37],[1018,439,1019],[41,225,481],[85,83,127],[93,83,41],[935,972,962],[116,93,100],[98,82,813],[41,75,225],[298,751,54],[1021,415,1018],[77,138,128],[766,823,1347],[593,121,573],[905,885,667],[786,744,747],[100,41,107],[604,334,765],[779,450,825],[968,962,969],[225,365,481],[365,283,196],[161,160,303],[875,399,158],[328,1817,954],[62,61,1079],[358,81,72],[74,211,133],[160,161,138],[91,62,1079],[167,56,1405],[56,167,219],[913,914,48],[344,57,102],[43,77,128],[1075,97,1079],[389,882,887],[219,108,53],[1242,859,120],[604,840,618],[754,87,762],[197,36,1362],[1439,88,1200],[1652,304,89],[81,44,940],[445,463,151],[717,520,92],[129,116,100],[1666,1811,624],[1079,97,91],[62,91,71],[688,898,526],[463,74,133],[278,826,99],[961,372,42],[799,94,1007],[100,93,41],[1314,943,1301],[184,230,109],[875,1195,231],[133,176,189],[751,755,826],[101,102,57],[1198,513,117],[748,518,97],[1145,1484,1304],[358,658,81],[971,672,993],[445,151,456],[252,621,122],[36,271,126],[85,36,126],[116,83,93],[141,171,1747],[1081,883,103],[1398,1454,149],[457,121,593],[127,116,303],[697,70,891],[457,891,1652],[1058,1668,112],[518,130,97],[214,319,131],[185,1451,1449],[463,133,516],[1428,123,177],[113,862,561],[215,248,136],[186,42,251],[127,83,116],[160,85,127],[162,129,140],[154,169,1080],[169,170,1080],[210,174,166],[1529,1492,1524],[450,875,231],[399,875,450],[171,141,170],[113,1155,452],[131,319,360],[44,175,904],[452,872,113],[746,754,407],[147,149,150],[309,390,1148],[53,186,283],[757,158,797],[303,129,162],[429,303,162],[154,168,169],[673,164,193],[38,271,75],[320,288,1022],[246,476,173],[175,548,904],[182,728,456],[199,170,169],[168,199,169],[199,171,170],[184,238,230],[246,247,180],[1496,1483,1467],[147,150,148],[828,472,445],[53,108,186],[56,53,271],[186,961,42],[1342,391,57],[1664,157,1834],[1070,204,178],[178,204,179],[285,215,295],[692,55,360],[192,193,286],[359,673,209],[586,195,653],[121,89,573],[202,171,199],[238,515,311],[174,210,240],[174,105,166],[717,276,595],[1155,1149,452],[1405,56,197],[53,283,30],[75,53,30],[45,235,1651],[210,166,490],[181,193,192],[185,620,217],[26,798,759],[1070,226,204],[220,187,179],[220,168,187],[202,222,171],[359,209,181],[182,456,736],[964,167,1405],[76,250,414],[807,1280,1833],[70,883,1652],[227,179,204],[221,199,168],[221,202,199],[360,494,131],[214,241,319],[105,247,166],[205,203,260],[388,480,939],[482,855,211],[8,807,1833],[226,255,204],[228,221,168],[166,173,490],[701,369,702],[211,855,262],[631,920,630],[1448,1147,1584],[255,227,204],[237,220,179],[228,168,220],[222,256,555],[215,259,279],[126,271,38],[108,50,186],[227,236,179],[236,237,179],[220,237,228],[228,202,221],[256,222,202],[555,256,229],[259,152,279],[27,1296,31],[186,50,961],[961,234,372],[1651,235,812],[1572,1147,1448],[255,226,1778],[255,236,227],[256,257,229],[106,184,109],[241,410,188],[177,578,620],[209,673,181],[1136,1457,79],[1507,245,718],[255,273,236],[275,410,241],[206,851,250],[1459,253,1595],[1406,677,1650],[228,274,202],[202,281,256],[348,239,496],[205,172,203],[369,248,702],[261,550,218],[261,465,550],[574,243,566],[921,900,1220],[291,273,255],[348,238,265],[109,230,194],[149,380,323],[443,270,421],[272,291,255],[274,228,237],[274,292,202],[281,257,256],[276,543,341],[152,259,275],[1111,831,249],[632,556,364],[299,273,291],[299,236,273],[280,237,236],[202,292,281],[247,246,173],[282,49,66],[1620,1233,1553],[299,280,236],[280,305,237],[237,305,274],[306,292,274],[330,257,281],[246,194,264],[166,247,173],[912,894,896],[611,320,244],[1154,1020,907],[969,962,290],[272,299,291],[305,318,274],[145,212,240],[164,248,285],[259,277,275],[193,164,295],[269,240,210],[1033,288,320],[46,948,206],[336,280,299],[330,281,292],[257,307,300],[369,136,248],[145,240,269],[502,84,465],[193,295,286],[164,285,295],[282,302,49],[161,303,429],[318,306,274],[306,330,292],[315,257,330],[315,307,257],[307,352,300],[300,352,308],[275,277,403],[353,1141,333],[1420,425,47],[611,313,320],[85,126,83],[128,1180,43],[303,116,129],[280,314,305],[314,318,305],[190,181,242],[203,214,131],[820,795,815],[322,299,272],[322,336,299],[315,339,307],[172,152,617],[172,214,203],[321,1033,320],[1401,941,946],[85,160,138],[976,454,951],[747,60,786],[317,322,272],[339,352,307],[266,33,867],[163,224,218],[247,614,180],[648,639,553],[388,172,205],[611,345,313],[313,345,320],[160,127,303],[454,672,951],[317,329,322],[314,280,336],[306,338,330],[330,339,315],[1236,115,436],[342,321,320],[1046,355,328],[328,346,325],[325,346,317],[367,314,336],[314,337,318],[337,306,318],[338,343,330],[342,320,345],[355,349,328],[346,329,317],[347,336,322],[314,362,337],[330,343,339],[340,308,352],[135,906,1022],[239,156,491],[194,230,486],[40,1015,1003],[321,355,1046],[329,382,322],[382,347,322],[347,367,336],[337,371,306],[306,371,338],[1681,296,1493],[286,172,388],[230,348,486],[348,183,486],[384,332,830],[328,349,346],[367,362,314],[371,343,338],[339,351,352],[57,344,78],[342,355,321],[386,346,349],[386,350,346],[346,350,329],[347,366,367],[343,363,339],[323,380,324],[152,275,241],[345,1045,342],[350,374,329],[339,363,351],[234,340,352],[353,361,354],[40,34,1015],[373,355,342],[373,349,355],[374,382,329],[366,347,382],[371,363,343],[351,379,352],[379,372,352],[372,234,352],[156,190,491],[319,241,692],[354,361,31],[366,377,367],[363,379,351],[133,590,516],[197,56,271],[1045,370,342],[370,373,342],[374,350,386],[377,366,382],[367,395,362],[400,337,362],[400,371,337],[378,363,371],[106,109,614],[181,673,193],[953,920,631],[376,349,373],[376,386,349],[378,379,363],[224,375,218],[279,152,172],[361,619,381],[1347,823,795],[760,857,384],[392,374,386],[394,395,367],[383,371,400],[383,378,371],[218,375,261],[197,271,36],[414,454,976],[385,376,373],[1051,382,374],[387,394,367],[377,387,367],[395,400,362],[279,172,295],[30,365,225],[450,231,825],[385,373,370],[398,374,392],[1051,377,382],[396,378,383],[348,496,183],[295,172,286],[357,269,495],[1148,390,1411],[75,30,225],[206,76,54],[412,386,376],[412,392,386],[396,383,400],[651,114,878],[123,1241,506],[238,311,265],[381,653,29],[618,815,334],[427,1032,411],[298,414,976],[791,332,384],[129,100,140],[412,404,392],[392,404,398],[140,107,360],[395,394,400],[423,379,378],[385,412,376],[406,94,58],[419,415,1021],[422,423,378],[423,125,379],[258,508,238],[311,156,265],[213,287,491],[449,411,1024],[412,1068,404],[55,140,360],[76,414,54],[394,416,400],[400,416,396],[422,378,396],[1258,796,789],[427,411,449],[427,297,1032],[1385,1366,483],[417,448,284],[1507,341,245],[162,140,444],[658,44,81],[433,125,423],[438,251,125],[429,162,439],[1342,57,1348],[765,766,442],[697,891,695],[1057,396,416],[440,423,422],[440,433,423],[433,438,125],[438,196,251],[74,482,211],[1136,79,144],[29,195,424],[242,1004,492],[57,757,28],[414,298,54],[238,348,230],[224,163,124],[295,215,279],[495,269,490],[449,446,427],[446,297,427],[1020,1163,909],[128,138,419],[66,980,443],[415,439,1018],[111,396,1057],[111,422,396],[840,249,831],[593,664,596],[218,550,155],[109,194,180],[483,268,855],[161,415,419],[1737,232,428],[360,107,494],[1006,1011,410],[444,140,55],[919,843,430],[190,242,213],[275,403,410],[131,494,488],[449,663,446],[138,161,419],[128,419,34],[439,162,444],[460,440,422],[440,438,433],[472,74,445],[491,190,213],[238,508,515],[46,206,54],[972,944,962],[1241,1428,1284],[111,460,422],[470,432,806],[248,164,702],[1025,467,453],[553,1235,648],[263,114,881],[267,293,896],[469,438,440],[455,196,438],[287,242,492],[239,265,156],[213,242,287],[1684,746,63],[663,474,446],[415,161,429],[140,100,107],[1055,459,467],[469,455,438],[259,542,277],[446,474,466],[446,466,447],[439,444,1019],[614,109,180],[190,359,181],[156,497,190],[726,474,663],[1023,458,459],[461,440,460],[269,210,490],[246,180,194],[590,133,189],[163,218,155],[467,468,453],[1063,1029,111],[111,1029,460],[1029,464,460],[461,469,440],[150,149,323],[828,445,456],[375,502,261],[474,475,466],[573,426,462],[478,1023,477],[478,458,1023],[458,479,467],[459,458,467],[468,393,453],[464,461,460],[484,365,455],[1232,182,1380],[172,617,214],[547,694,277],[542,547,277],[184,258,238],[261,502,465],[467,479,468],[484,455,469],[1380,182,864],[475,476,466],[80,447,476],[466,476,447],[415,429,439],[479,487,468],[487,287,468],[492,393,468],[260,469,461],[481,365,484],[531,473,931],[692,360,319],[726,495,474],[468,287,492],[480,464,1029],[260,461,464],[494,481,484],[74,472,482],[174,240,212],[223,106,614],[486,477,485],[478,496,458],[491,487,479],[123,402,177],[488,469,260],[488,484,469],[265,239,348],[248,215,285],[474,490,475],[477,486,478],[458,496,479],[239,491,479],[1584,1147,1334],[488,494,484],[401,123,506],[495,490,474],[490,173,475],[80,476,264],[491,287,487],[480,1029,1004],[480,205,464],[173,476,475],[485,194,486],[486,183,478],[478,183,496],[496,239,479],[848,1166,60],[268,262,855],[205,260,464],[260,203,488],[203,131,488],[246,264,476],[194,485,264],[1002,310,1664],[311,515,497],[515,359,497],[565,359,515],[1250,1236,301],[736,456,151],[654,174,567],[577,534,648],[519,505,645],[725,565,508],[150,1723,148],[584,502,505],[584,526,502],[502,526,84],[607,191,682],[560,499,660],[607,517,191],[1038,711,124],[951,672,971],[716,507,356],[868,513,1198],[615,794,608],[682,191,174],[1313,928,1211],[617,241,214],[511,71,91],[408,800,792],[192,286,525],[80,485,447],[91,97,130],[1675,324,888],[207,756,532],[582,1097,1124],[311,497,156],[510,130,146],[523,511,510],[608,708,616],[546,690,650],[511,527,358],[536,146,518],[465,418,550],[418,709,735],[520,514,500],[584,505,519],[536,518,509],[146,536,510],[538,527,511],[876,263,669],[646,524,605],[510,536,523],[527,175,358],[724,876,669],[721,724,674],[524,683,834],[558,509,522],[558,536,509],[523,538,511],[611,243,574],[528,706,556],[668,541,498],[523,537,538],[527,540,175],[532,756,533],[1013,60,747],[551,698,699],[92,520,500],[535,536,558],[536,569,523],[538,540,527],[539,548,175],[567,212,145],[401,896,293],[534,675,639],[1510,595,1507],[557,545,530],[569,536,535],[537,540,538],[540,539,175],[569,537,523],[1135,718,47],[587,681,626],[580,535,558],[99,747,278],[701,565,725],[665,132,514],[665,514,575],[132,549,653],[176,651,189],[65,47,266],[597,569,535],[569,581,537],[537,581,540],[563,539,540],[539,564,548],[1509,1233,1434],[132,653,740],[550,710,155],[714,721,644],[410,1011,188],[732,534,586],[560,562,729],[555,557,222],[580,558,545],[597,535,580],[581,563,540],[5,821,1676],[576,215,136],[649,457,741],[564,539,563],[124,711,224],[550,668,710],[550,541,668],[565,701,673],[560,613,499],[233,532,625],[545,555,580],[601,581,569],[594,904,548],[1463,1425,434],[185,149,1454],[721,674,644],[185,380,149],[577,424,586],[462,586,559],[597,601,569],[594,548,564],[566,603,574],[165,543,544],[457,89,121],[586,424,195],[725,587,606],[1078,582,1124],[588,925,866],[462,559,593],[189,878,590],[555,229,580],[602,563,581],[904,594,956],[434,1425,1438],[1024,112,821],[572,587,626],[600,597,580],[599,591,656],[600,580,229],[601,622,581],[581,622,602],[602,564,563],[602,594,564],[603,611,574],[498,529,546],[697,1145,70],[592,628,626],[610,597,600],[597,610,601],[222,557,171],[604,765,799],[573,462,593],[133,200,176],[729,607,627],[1011,692,188],[518,146,130],[585,687,609],[682,627,607],[1712,599,656],[562,592,607],[643,656,654],[257,600,229],[601,633,622],[623,594,602],[174,212,567],[725,606,701],[609,701,606],[610,633,601],[633,642,622],[380,216,324],[142,143,1249],[501,732,586],[534,577,586],[648,1235,577],[610,641,633],[310,1002,1831],[618,334,604],[1710,145,269],[707,498,659],[501,586,462],[625,501,462],[726,663,691],[300,600,257],[641,610,600],[622,629,602],[602,629,623],[55,692,444],[518,748,509],[929,1515,1411],[620,578,267],[71,511,358],[707,668,498],[650,687,585],[600,300,641],[641,657,633],[1675,888,1669],[622,636,629],[505,502,375],[541,529,498],[332,420,1053],[637,551,638],[534,639,648],[69,623,873],[300,512,641],[633,657,642],[562,660,579],[687,637,638],[709,646,605],[775,738,885],[559,549,132],[646,683,524],[641,512,657],[266,897,949],[1712,643,1657],[184,727,258],[674,724,669],[699,714,647],[628,659,572],[657,662,642],[571,881,651],[517,607,504],[598,706,528],[598,694,547],[640,552,560],[655,693,698],[698,693,721],[91,510,511],[144,301,1136],[324,216,888],[870,764,1681],[575,514,520],[276,544,543],[658,175,44],[645,505,711],[659,546,572],[700,524,655],[605,700,529],[266,867,897],[1695,1526,764],[579,659,628],[654,591,682],[586,549,559],[698,721,714],[896,401,506],[640,734,599],[664,665,575],[621,629,636],[1712,656,643],[547,644,598],[710,668,707],[640,560,734],[655,698,551],[694,528,277],[512,662,657],[504,592,626],[688,584,519],[152,241,617],[587,725,681],[598,669,706],[526,670,84],[598,528,694],[710,707,499],[579,592,562],[660,659,579],[323,324,1134],[326,895,473],[195,29,653],[84,670,915],[560,660,562],[504,626,681],[711,505,224],[651,881,114],[216,620,889],[1362,678,197],[493,99,48],[1659,691,680],[529,690,546],[430,843,709],[655,524,693],[174,191,105],[674,669,598],[98,712,82],[572,546,585],[72,61,71],[912,911,894],[106,223,184],[664,132,665],[843,646,709],[635,699,136],[699,698,714],[593,132,664],[688,526,584],[185,177,620],[533,675,534],[687,638,635],[1652,89,457],[896,506,912],[132,740,514],[689,685,282],[691,449,680],[48,436,493],[136,699,647],[739,640,554],[549,586,653],[532,533,625],[1530,695,649],[653,381,619],[736,151,531],[188,692,241],[177,402,578],[33,689,867],[689,33,685],[593,559,132],[949,65,266],[711,1038,661],[939,480,1004],[609,369,701],[616,552,615],[619,361,740],[151,463,516],[513,521,117],[691,663,449],[186,251,196],[333,302,327],[613,560,552],[616,613,552],[690,551,637],[660,707,659],[704,208,1203],[418,735,550],[163,708,124],[524,834,693],[554,640,599],[245,341,165],[565,673,359],[155,710,708],[105,191,517],[1515,198,1411],[1709,554,599],[60,289,786],[838,1295,1399],[533,534,625],[710,499,708],[556,632,410],[217,620,216],[591,627,682],[504,503,223],[643,654,567],[690,637,650],[545,557,555],[174,654,682],[719,691,1659],[727,681,508],[645,711,661],[794,615,739],[565,515,508],[282,685,302],[1150,397,1149],[638,699,635],[544,685,33],[719,726,691],[1742,1126,1733],[1724,1475,148],[556,410,403],[185,217,380],[503,504,681],[277,556,403],[32,1178,158],[1712,1709,599],[605,529,541],[635,136,369],[687,635,369],[529,700,690],[700,551,690],[89,304,573],[625,534,732],[730,302,685],[503,681,727],[702,673,701],[730,327,302],[327,353,333],[596,664,575],[660,499,707],[585,546,650],[560,729,734],[700,655,551],[176,571,651],[517,504,223],[730,685,544],[1661,1682,726],[1682,495,726],[1250,301,917],[605,524,700],[609,687,369],[516,389,895],[1553,686,1027],[673,702,164],[656,591,654],[520,596,575],[402,123,401],[828,456,728],[1645,677,1653],[528,556,277],[638,551,699],[190,497,359],[276,730,544],[1117,1525,933],[1027,686,1306],[155,708,163],[709,605,541],[647,644,547],[650,637,687],[599,734,591],[578,293,267],[1682,357,495],[510,91,130],[734,729,627],[576,542,215],[709,541,735],[735,541,550],[276,500,730],[500,327,730],[653,619,740],[414,851,454],[734,627,591],[729,562,607],[615,552,640],[525,181,192],[308,512,300],[223,503,727],[266,165,33],[92,500,276],[321,1046,1033],[585,609,606],[1200,1559,86],[628,572,626],[301,436,803],[714,644,647],[708,499,613],[721,693,724],[514,353,327],[353,740,361],[344,158,78],[708,613,616],[615,640,739],[500,514,327],[514,740,353],[1449,177,185],[462,233,625],[851,405,1163],[608,616,615],[647,542,576],[625,732,501],[1097,582,1311],[1235,424,577],[579,628,592],[607,592,504],[24,432,470],[105,614,247],[104,742,471],[542,259,215],[365,196,455],[1420,47,65],[223,727,184],[547,542,647],[572,585,606],[587,572,606],[262,780,1370],[647,576,136],[644,674,598],[271,53,75],[727,508,258],[471,742,142],[505,375,224],[357,1710,269],[725,508,681],[659,498,546],[743,1178,32],[1195,634,231],[1176,24,470],[743,1110,1178],[135,809,857],[63,746,407],[634,1176,470],[159,1112,27],[1176,1685,24],[399,450,779],[1178,856,875],[751,744,54],[436,48,772],[634,1108,1210],[769,1285,1286],[751,298,755],[746,1684,754],[754,924,87],[722,1625,756],[87,839,153],[489,795,820],[758,808,1518],[839,840,153],[831,1111,959],[1111,749,959],[810,1253,1363],[1247,1394,713],[1388,1329,1201],[1242,120,761],[857,791,384],[758,1523,808],[296,764,1504],[70,1652,891],[207,233,1638],[1348,57,28],[858,420,332],[964,1379,1278],[420,1194,816],[784,1076,1186],[1076,21,1186],[1710,767,1],[849,822,778],[806,137,787],[786,790,744],[790,54,744],[771,63,407],[785,852,818],[774,1823,272],[895,151,516],[135,1022,809],[99,826,48],[48,826,755],[808,705,408],[833,441,716],[1733,743,32],[1385,836,852],[772,827,737],[1005,49,781],[793,1697,813],[1518,441,1537],[1139,1132,859],[782,801,770],[1510,1530,676],[770,814,835],[231,787,825],[207,722,756],[26,771,798],[782,863,865],[832,54,790],[865,842,507],[799,765,94],[1175,1261,1353],[800,408,805],[262,986,200],[792,800,814],[801,792,770],[704,1203,1148],[356,1514,822],[165,544,33],[561,776,113],[1043,738,775],[815,831,820],[773,792,801],[772,48,914],[772,737,803],[436,772,803],[808,817,705],[1624,822,1527],[588,1144,788],[799,762,604],[821,1520,1676],[854,803,666],[828,482,472],[445,74,463],[831,489,820],[828,836,482],[716,782,763],[334,815,766],[815,823,766],[334,766,765],[819,805,837],[1716,1521,1412],[1684,924,754],[800,805,819],[1709,829,554],[806,1349,137],[99,1013,747],[341,595,276],[817,810,818],[1176,1691,1685],[763,782,865],[830,846,1052],[865,1499,842],[982,846,1053],[847,832,790],[1178,875,158],[817,818,705],[1302,1392,45],[96,417,284],[223,614,517],[356,507,1514],[1166,848,1179],[1349,432,26],[717,92,276],[770,835,863],[522,509,1745],[847,841,832],[832,841,46],[829,739,554],[802,824,39],[397,1043,775],[1567,849,778],[1385,483,855],[1349,26,1346],[441,801,782],[402,401,293],[1043,667,738],[759,798,1007],[819,837,728],[728,837,828],[837,852,828],[1537,441,833],[148,1475,147],[805,705,837],[716,441,782],[483,1371,780],[814,819,844],[845,753,1336],[1661,719,4],[862,847,790],[737,827,666],[201,46,841],[810,785,818],[408,705,805],[1560,1536,849],[1585,853,1786],[7,1668,807],[7,807,8],[822,1514,1527],[800,819,814],[847,862,841],[991,857,760],[705,818,837],[808,408,773],[402,293,578],[791,858,332],[1480,1228,1240],[814,844,835],[785,1385,852],[1132,120,859],[1743,1726,684],[1704,783,1279],[1623,1694,1731],[959,489,831],[1518,808,773],[862,872,841],[441,773,801],[331,512,308],[380,217,216],[841,872,201],[818,852,837],[448,1480,1240],[856,1108,1195],[1527,1514,1526],[819,182,1232],[871,724,693],[852,836,828],[770,792,814],[803,737,666],[751,826,278],[1674,1727,1699],[849,356,822],[871,693,834],[507,842,1514],[1406,1097,869],[1328,1349,1346],[823,815,795],[744,751,278],[1110,856,1178],[520,717,316],[871,834,683],[884,876,724],[165,266,47],[716,763,507],[216,889,888],[853,1585,1570],[1536,716,356],[886,873,623],[782,770,863],[432,24,26],[683,882,871],[884,724,871],[114,876,884],[516,590,389],[11,1218,1628],[862,113,872],[886,623,629],[830,1052,1120],[762,153,604],[773,408,792],[763,865,507],[153,840,604],[882,884,871],[531,151,326],[886,890,873],[133,262,200],[819,1232,844],[621,636,122],[645,892,519],[1130,1076,784],[114,263,876],[1670,10,1663],[911,670,894],[452,885,872],[872,885,201],[887,882,683],[878,884,882],[590,878,882],[890,867,689],[897,629,621],[897,886,629],[819,728,182],[519,893,688],[894,670,526],[898,894,526],[1536,356,849],[810,1363,785],[878,114,884],[879,888,892],[892,889,893],[893,898,688],[895,683,843],[895,887,683],[889,620,267],[590,882,389],[418,465,84],[949,897,621],[897,890,886],[889,267,893],[898,267,896],[531,326,473],[189,651,878],[843,683,646],[897,867,890],[888,889,892],[893,267,898],[896,894,898],[473,895,843],[895,389,887],[974,706,669],[513,1115,521],[326,151,895],[809,791,857],[211,262,133],[920,923,947],[923,90,947],[90,25,947],[25,972,935],[64,431,899],[52,899,901],[903,905,59],[437,967,73],[839,1242,761],[904,975,44],[917,301,144],[915,670,911],[905,201,885],[1684,63,1685],[1033,1194,288],[950,913,755],[912,918,911],[950,914,913],[506,918,912],[922,919,915],[911,922,915],[1004,451,492],[1263,553,639],[922,911,918],[630,920,947],[916,506,926],[916,918,506],[521,1115,1098],[916,922,918],[919,418,915],[83,38,75],[24,1685,771],[110,1230,1213],[712,8,1837],[922,930,919],[919,430,418],[1395,1402,1187],[930,922,916],[594,623,69],[35,431,968],[35,968,969],[866,924,1684],[1625,1263,675],[631,630,52],[930,931,919],[430,709,418],[302,333,49],[1446,978,1138],[799,1007,798],[931,843,919],[947,25,64],[885,738,667],[1262,963,964],[899,970,901],[1401,946,938],[1117,933,1091],[1685,63,771],[905,948,201],[979,937,980],[951,953,950],[937,270,443],[1154,903,59],[1194,954,1067],[909,405,907],[850,1151,59],[1769,811,1432],[76,206,250],[938,946,966],[965,927,942],[938,966,957],[955,975,904],[927,965,934],[52,51,631],[59,905,667],[431,935,968],[786,289,561],[252,122,671],[481,494,107],[954,1817,1067],[795,25,90],[958,965,945],[795,972,25],[902,983,955],[972,489,944],[1256,29,424],[671,331,945],[946,958,963],[956,955,904],[902,955,956],[671,512,331],[945,331,961],[662,671,122],[671,662,512],[934,65,927],[630,947,52],[666,631,910],[850,59,667],[961,331,234],[1024,411,1042],[890,69,873],[252,671,945],[975,290,940],[283,186,196],[30,283,365],[950,755,298],[946,965,958],[985,290,975],[969,290,985],[405,851,206],[935,431,64],[941,1423,1420],[964,963,167],[942,252,945],[78,757,57],[49,1005,66],[937,979,270],[631,666,827],[980,937,443],[66,689,282],[421,902,956],[947,64,52],[35,979,899],[951,971,953],[762,87,153],[27,31,381],[924,839,87],[946,963,966],[331,308,340],[957,966,1262],[473,843,931],[953,971,920],[270,969,902],[935,962,968],[51,1005,781],[969,983,902],[437,73,940],[69,421,956],[761,249,840],[263,974,669],[962,944,967],[962,437,290],[985,975,955],[907,405,948],[720,957,1262],[25,935,64],[176,200,571],[108,945,50],[250,851,414],[200,986,571],[881,974,263],[827,772,953],[970,899,980],[29,159,27],[234,331,340],[948,405,206],[980,899,979],[986,984,571],[571,984,881],[990,706,974],[946,934,965],[970,980,66],[1113,1486,1554],[984,981,881],[881,987,974],[689,66,443],[1005,901,66],[983,985,955],[165,47,718],[987,990,974],[1370,986,262],[901,970,66],[51,901,1005],[981,987,881],[988,706,990],[942,945,965],[290,437,940],[64,899,52],[988,556,706],[941,934,946],[431,35,899],[996,989,984],[984,989,981],[981,989,987],[35,969,270],[1370,995,986],[986,995,984],[989,999,987],[987,992,990],[992,988,990],[962,967,437],[951,950,976],[979,35,270],[421,270,902],[998,995,1370],[987,999,992],[988,364,556],[969,985,983],[689,443,890],[995,1e3,984],[219,958,108],[998,1e3,995],[999,997,992],[914,953,772],[845,1336,745],[806,787,231],[1e3,996,984],[989,996,999],[50,945,961],[443,421,69],[797,158,779],[1098,1463,434],[996,1009,999],[1001,988,992],[1001,364,988],[903,907,905],[26,759,973],[997,1001,992],[632,364,1001],[1346,26,973],[998,1008,1e3],[1e3,1009,996],[531,931,736],[252,949,621],[286,388,525],[1174,1008,998],[1009,1010,999],[999,1010,997],[1014,1001,997],[614,105,517],[958,945,108],[525,1004,242],[963,958,219],[233,426,304],[1e3,1008,1009],[1010,1014,997],[1001,1006,632],[824,413,39],[642,636,622],[480,388,205],[28,757,797],[1014,1006,1001],[1006,410,632],[975,940,44],[1234,420,858],[54,832,46],[1009,1012,1010],[167,963,219],[41,481,107],[1017,1010,1012],[122,636,662],[939,525,388],[525,939,1004],[950,953,914],[829,1735,739],[1008,880,1015],[1008,1015,1009],[1263,639,675],[956,594,69],[795,90,1347],[1179,848,1013],[759,1007,973],[1009,1015,1012],[1012,1016,1017],[1017,1014,1010],[1019,1011,1006],[927,65,949],[649,316,595],[913,48,755],[976,950,298],[1003,1015,880],[1018,1006,1014],[1021,1018,1014],[444,692,1011],[451,1029,1063],[1185,851,1163],[29,27,381],[181,525,242],[1021,1014,1017],[1016,1021,1017],[1018,1019,1006],[1019,444,1011],[927,949,942],[451,393,492],[903,1154,907],[391,101,57],[94,765,58],[419,1016,1012],[949,252,942],[907,1020,909],[765,442,58],[94,406,908],[1007,94,908],[34,1012,1015],[34,419,1012],[419,1021,1016],[451,1057,393],[907,948,905],[1034,1073,1039],[1061,906,1619],[1068,960,1034],[471,1249,104],[112,1024,1042],[372,379,125],[341,543,165],[141,1094,170],[566,243,1061],[398,1034,1039],[325,317,1823],[1493,296,1724],[850,667,1043],[1054,297,1065],[1619,135,1074],[1061,243,906],[680,1024,821],[1103,96,1245],[1440,1123,1491],[1047,1025,1044],[672,454,1231],[1484,697,1530],[993,672,1231],[178,154,1088],[1044,1041,1066],[112,1062,1058],[1530,649,676],[178,1088,1040],[1046,328,954],[243,244,1022],[954,1194,1033],[1042,411,1032],[971,993,1056],[960,1093,1034],[1754,1338,232],[385,1064,412],[1057,1063,111],[748,1071,1447],[1530,697,695],[971,1056,1270],[977,1059,1211],[649,741,316],[1060,1452,1030],[353,354,1323],[695,768,649],[398,404,1034],[596,316,741],[1836,119,13],[1513,1115,1528],[883,1081,1652],[1039,1073,1048],[462,426,233],[31,1296,354],[1055,1047,1066],[1032,1054,1045],[1521,310,1224],[119,861,13],[1194,1234,288],[1109,1771,1070],[1166,1160,776],[1044,1035,1041],[1026,960,1064],[1050,1032,1045],[1049,1041,387],[115,1013,99],[1046,954,1033],[1321,920,971],[611,1058,345],[1048,1066,1049],[1023,1055,1073],[1029,451,1004],[118,1094,141],[1094,1080,170],[1042,1032,1050],[1026,1064,385],[15,16,1084],[1096,1079,61],[1075,1071,748],[325,1817,328],[909,1163,405],[1022,1234,809],[374,398,1051],[1082,72,81],[1023,1034,1093],[1817,1794,1067],[86,1445,1400],[1507,1535,1510],[1079,1096,1075],[568,1478,1104],[1070,178,1040],[1034,1023,1073],[776,1155,113],[1103,143,142],[1140,81,73],[1082,81,1140],[1060,1030,936],[1040,1086,1109],[370,1065,385],[61,72,1082],[1087,1096,1144],[1040,1088,1086],[1651,812,752],[1062,1050,1045],[187,154,178],[179,187,178],[1099,1344,1101],[1668,1058,807],[1073,1055,1048],[1099,1336,1344],[1283,943,1123],[1049,387,1051],[1024,680,449],[61,1082,1100],[967,749,1111],[1439,1037,88],[742,1505,142],[398,1039,1051],[1107,1336,1099],[1344,1542,1101],[142,1505,1103],[477,1093,447],[477,1023,1093],[471,142,1249],[1041,1035,394],[1328,568,1104],[61,1100,1096],[154,1092,1088],[112,1042,1050],[154,187,168],[435,235,45],[1075,1096,1087],[97,1075,748],[1049,1066,1041],[816,1067,1028],[846,982,1142],[1245,96,284],[1092,154,1080],[1057,451,1063],[387,377,1051],[1055,1025,1047],[1075,1087,1089],[1106,1108,856],[1068,1034,404],[1480,1545,868],[906,135,1619],[1074,991,1095],[570,566,1061],[1025,453,1044],[745,1336,1107],[1035,1057,416],[1092,1102,1129],[1074,135,991],[1105,745,1107],[447,1026,446],[394,387,1041],[73,81,940],[1118,1108,1106],[1210,1108,874],[243,1022,906],[412,1064,1068],[1280,611,603],[960,447,1093],[1051,1039,1049],[1040,1109,1070],[1471,1037,1439],[69,890,443],[1377,703,1374],[1092,1080,1102],[1096,1100,788],[1096,788,1144],[1114,967,1111],[446,1026,297],[70,1112,883],[453,393,1057],[1118,874,1108],[1054,370,1045],[1080,1094,1102],[1039,1048,1049],[428,753,845],[1047,1044,1066],[1044,453,1035],[1472,731,1512],[1126,1121,743],[743,1121,1110],[1032,297,1054],[1480,868,1216],[71,358,72],[1133,967,1114],[1105,1119,745],[1035,453,1057],[1026,447,960],[454,851,1190],[1030,1477,652],[589,816,1028],[1110,1121,1106],[1122,1118,1106],[1116,874,1118],[1048,1055,1066],[1194,1067,816],[744,278,747],[745,1120,845],[845,1052,428],[1105,1780,1119],[1065,297,385],[1098,1529,1463],[731,1060,936],[235,434,812],[1445,1525,1117],[1106,1121,1122],[1122,1127,1118],[1127,1116,1118],[1094,118,1732],[1119,1120,745],[1406,1124,1097],[435,117,235],[1462,1440,1037],[1126,1129,1121],[1088,1092,1129],[1133,73,967],[1120,1052,845],[812,434,752],[1441,1559,1200],[1131,588,413],[1054,1065,370],[235,1098,434],[1052,1142,428],[1737,428,1142],[1496,1446,1483],[1182,1083,1654],[1121,1129,1122],[1732,1116,1127],[768,457,649],[761,1114,249],[1064,960,1068],[1135,1481,1136],[1126,952,1129],[1087,588,1131],[1087,1144,588],[859,788,1139],[1140,1133,1132],[1133,1140,73],[1822,570,1061],[394,1035,416],[1055,1023,459],[80,264,485],[1119,1128,1120],[145,1658,567],[695,891,768],[1129,1102,1122],[1122,1102,1127],[1416,1077,1413],[297,1026,385],[1052,846,1142],[1445,1117,1400],[952,1086,1129],[1714,1089,1131],[1131,1089,1087],[1100,1139,788],[112,1050,1062],[1323,354,1296],[49,333,1141],[1142,982,1737],[79,1457,1091],[1088,1129,1086],[1102,1094,1127],[1127,1094,1732],[1100,1082,1139],[1082,1132,1139],[1082,1140,1132],[1150,1043,397],[60,1166,289],[1696,1146,1698],[1297,1202,1313],[409,1297,1313],[1234,1194,420],[1408,1391,1394],[424,1235,1243],[1203,309,1148],[485,477,447],[1152,1156,850],[1153,1149,1155],[1153,1157,1149],[1149,1152,1150],[1156,1154,1151],[776,1153,1155],[1157,1152,1149],[1217,1393,1208],[1156,1159,1154],[1153,1165,1157],[1165,1152,1157],[1159,1020,1154],[1161,1153,776],[1161,1165,1153],[1165,1158,1152],[1152,1158,1156],[1158,1159,1156],[1166,776,561],[1160,1161,776],[1161,1164,1165],[1161,1160,1164],[1158,1162,1159],[1159,1162,1020],[1270,1321,971],[1164,1170,1165],[1165,1162,1158],[1162,1163,1020],[588,788,925],[1166,1167,1160],[1165,1170,1162],[1160,1167,1164],[1162,1170,1163],[1179,1167,1166],[1167,1168,1164],[1164,1168,1170],[1168,1169,1170],[1234,1022,288],[802,39,866],[1179,1168,1167],[1169,1173,1170],[1170,1173,1163],[1173,1185,1163],[1360,1267,1364],[1169,1185,1173],[611,244,243],[900,1226,1376],[1260,1408,1350],[618,840,831],[1181,1183,1179],[1179,1184,1168],[1208,1274,1291],[1183,1184,1179],[1168,1184,1169],[1387,1395,1254],[1208,1204,1172],[1182,1197,1083],[1187,1083,1197],[1213,1183,1181],[1169,1207,1185],[135,857,991],[1013,1213,1181],[1189,1183,1213],[1183,1189,1184],[1169,1184,1207],[1207,1190,1185],[1180,1389,1288],[1191,1192,1640],[1640,1192,1090],[1090,1205,1654],[1654,1205,1182],[1188,1395,1187],[1126,743,1733],[788,859,925],[809,1234,1171],[1193,1197,1182],[1189,1199,1184],[1639,1191,1637],[1639,1212,1191],[1205,1193,1182],[1198,1187,1197],[1199,1207,1184],[332,1053,846],[1090,1192,1205],[117,1188,1187],[435,1188,117],[435,1206,1188],[1199,1189,1213],[420,816,1053],[1212,1215,1191],[117,1187,1198],[45,1206,435],[120,1132,1133],[874,1116,1210],[1191,1215,1192],[1193,1216,1197],[1216,1198,1197],[1199,1214,1207],[117,521,235],[1220,1311,1078],[1220,900,1311],[1653,1215,1212],[1192,1225,1205],[1205,1209,1193],[1209,1216,1193],[1389,1217,1172],[1207,1214,454],[171,557,1747],[1805,1078,1787],[1805,1219,1078],[1198,1216,868],[666,910,854],[1230,1231,1213],[1213,1231,1199],[1199,1231,1214],[1219,1220,1078],[1215,1221,1192],[1192,1221,1225],[1225,1228,1205],[1205,1228,1209],[1209,1228,1216],[1464,1325,1223],[1215,1227,1221],[1228,1480,1216],[1226,1653,1376],[1653,1249,1215],[1221,1240,1225],[1225,1240,1228],[839,761,840],[1238,1219,1805],[1238,1220,1219],[1232,1380,1375],[1226,1249,1653],[1221,1227,1240],[233,207,532],[110,1236,1230],[1248,1231,1230],[1231,454,1214],[1249,1227,1215],[1248,1056,1231],[489,959,944],[448,1240,284],[925,859,1242],[1805,1244,1238],[1252,1220,1238],[1252,921,1220],[1236,1251,1230],[1230,1251,1248],[1056,993,1231],[1031,1264,1263],[68,1186,157],[1227,1245,1240],[1103,1245,143],[1243,1235,612],[1252,95,921],[1249,1226,1237],[1390,1387,1254],[1120,384,830],[830,332,846],[1227,143,1245],[1315,1369,1358],[1356,1269,1386],[972,795,489],[1831,1224,310],[1250,1255,1251],[1251,1056,1248],[1256,1243,103],[658,358,175],[1620,1238,1244],[1620,1252,1238],[1506,95,1252],[104,1249,1237],[1249,143,1227],[1268,1419,1329],[634,806,231],[618,831,815],[924,1242,839],[1255,1270,1251],[1251,1270,1056],[866,925,1242],[103,29,1256],[424,1243,1256],[134,1651,752],[1250,917,1255],[1172,1204,1260],[1352,1036,1276],[1265,1201,1329],[804,1282,1259],[1259,1294,723],[335,1330,1305],[407,762,799],[875,856,1195],[32,158,344],[967,944,749],[372,125,42],[1175,1354,1261],[553,612,1235],[1259,1273,1294],[1294,1283,723],[757,78,158],[407,799,798],[901,51,52],[139,1386,1389],[1386,1269,1389],[1389,1269,1217],[1148,1590,1268],[1428,1449,1450],[804,1281,1282],[1273,1259,1282],[158,399,779],[771,407,798],[521,1098,235],[917,1312,1255],[1312,1270,1255],[1217,1269,1393],[1195,1108,634],[1110,1106,856],[1210,1691,1176],[27,1112,1145],[1296,27,1145],[1171,858,791],[704,1148,1290],[1430,1436,1437],[1282,1308,1273],[1300,943,1283],[1393,1355,1274],[720,1278,769],[1287,1059,1399],[1310,1388,1272],[1312,1321,1270],[851,1185,1190],[1296,1145,1304],[26,24,771],[51,910,631],[1329,1290,1268],[1290,1148,1268],[1298,1293,733],[1281,1293,1282],[1282,1293,1308],[1308,1299,1273],[1300,1283,1294],[1340,943,1300],[1340,1301,943],[407,754,762],[1287,1399,1295],[34,139,128],[1288,1172,1260],[120,1133,1114],[1306,1113,1511],[1464,1223,1292],[1299,1294,1273],[1299,1300,1294],[1286,1295,838],[1285,1247,1286],[1247,713,1286],[1201,1265,1390],[1378,1368,1357],[1482,1320,917],[917,1320,1312],[850,1156,1151],[588,39,413],[1324,1306,686],[789,1365,928],[1223,1326,1292],[1292,1326,1298],[869,1097,1311],[790,786,561],[1323,1304,932],[1323,1296,1304],[1317,1324,686],[1306,368,1113],[1325,1342,1223],[1326,1348,1298],[1293,1327,1308],[1308,1318,1299],[704,1290,1258],[1320,1321,1312],[761,120,1114],[1684,802,866],[1674,6,1727],[1316,1323,932],[1335,1337,1305],[1348,1327,1293],[1298,1348,1293],[1333,1300,1299],[1333,1343,1300],[1328,1301,1340],[1328,1314,1301],[838,1399,1319],[921,1237,900],[409,1391,1408],[1376,1653,677],[1281,804,1458],[1331,1324,1317],[1324,368,1306],[368,1338,1307],[1327,797,1308],[797,1345,1308],[1308,1345,1318],[1318,1333,1299],[1341,1147,1572],[923,1321,1320],[923,920,1321],[39,588,866],[1141,1323,1316],[1330,1335,1305],[1337,1335,1336],[1339,1332,1325],[1223,1342,1326],[1342,1348,1326],[1348,797,1327],[1345,1333,1318],[1343,1340,1300],[1419,1265,1329],[1347,1320,1584],[1535,1141,1316],[1078,1311,582],[1344,1335,1330],[753,1331,1337],[368,1324,1331],[753,368,1331],[1332,1485,1325],[1325,1485,1342],[787,1343,1333],[137,1328,1340],[973,1341,1479],[406,1147,1341],[1171,1234,858],[1141,1535,1322],[49,1141,1322],[1344,1336,1335],[973,908,1341],[766,1347,1584],[1347,923,1320],[781,49,1322],[368,232,1338],[787,1340,1343],[787,137,1340],[568,1346,973],[58,1147,406],[442,1334,1147],[58,442,1147],[442,766,1334],[90,923,1347],[428,368,753],[779,1333,1345],[825,787,1333],[137,1349,1328],[1328,1346,568],[908,406,1341],[924,866,1242],[1336,753,1337],[428,232,368],[1115,777,1098],[1348,28,797],[797,779,1345],[779,825,1333],[1007,908,973],[583,1351,880],[1365,1246,977],[1658,145,1710],[1310,796,1388],[718,245,165],[1302,1272,1254],[1174,1351,583],[1174,715,1351],[1358,1260,1204],[1374,1373,1276],[1377,1374,1276],[678,1362,1382],[1377,1276,254],[139,34,40],[1008,1174,583],[1396,1286,1319],[768,891,457],[1316,932,1535],[1289,1371,1360],[182,736,864],[1355,1364,1274],[860,1367,1354],[1362,1222,1382],[1376,869,1311],[1590,1411,198],[1232,1375,877],[1394,1295,1286],[880,1356,1386],[880,1351,1356],[1211,1059,1287],[197,678,1405],[880,1386,1003],[1368,1253,1357],[1357,1253,1036],[715,1289,1364],[1354,1367,703],[1383,877,1375],[1266,1288,1260],[1373,1374,703],[1372,1289,1174],[1303,1366,1378],[1351,715,1355],[1665,1666,624],[1309,1357,1036],[900,1237,1226],[1174,1289,715],[1337,1331,1317],[1360,1303,1359],[1267,1354,1175],[1241,1284,1414],[1377,254,929],[1385,855,836],[1396,1319,1436],[1361,1366,1303],[1381,1368,1378],[1313,1211,1391],[1368,1385,1363],[813,82,861],[1058,1280,807],[893,519,892],[1359,1303,860],[1382,1350,1247],[1371,1303,1360],[1267,1175,1271],[769,1286,1396],[712,1837,82],[1366,1385,1381],[1365,796,1310],[1003,1386,40],[780,1371,1370],[561,862,790],[1284,1380,864],[1449,1428,177],[611,1280,1058],[1284,1375,1380],[926,506,1241],[1305,1337,1317],[309,1203,208],[1388,1201,1390],[1309,1036,1352],[1377,929,1411],[1399,1059,1257],[1112,70,1145],[289,1166,561],[1288,1389,1172],[1362,37,1180],[713,1394,1286],[1355,1393,1269],[1401,1423,941],[1274,1271,1384],[860,1378,1367],[715,1364,1355],[677,1406,869],[1297,1358,1202],[1388,1258,1329],[1180,1288,1266],[1008,583,880],[1524,1425,1463],[1390,1403,1387],[1278,1379,1247],[1278,1247,1285],[964,1278,1262],[1358,1369,1202],[1715,1699,1726],[926,1241,1414],[1341,1572,1479],[926,930,916],[1397,51,781],[409,1358,1297],[1236,436,301],[1376,677,869],[1351,1355,1356],[758,1534,1523],[1378,1357,1367],[977,1211,1365],[1135,1136,854],[1394,1391,1295],[1266,1260,1222],[1365,1302,1246],[1232,877,844],[736,930,864],[1408,1358,409],[1508,817,1523],[1381,1385,1368],[718,854,910],[854,718,1135],[1382,1222,1350],[1391,1211,1287],[1391,1287,1295],[1257,1651,134],[1414,1284,864],[1291,1369,1315],[1202,928,1313],[86,1400,1413],[1413,1200,86],[1263,1625,1031],[1413,1400,1404],[1002,1664,1834],[930,926,1414],[1399,1257,134],[520,316,596],[1393,1274,1208],[1657,1655,1712],[1407,1404,1400],[1404,1410,1413],[1649,1229,1406],[1362,1266,1222],[1384,1271,1175],[900,1376,1311],[1274,1384,1291],[1291,1384,1431],[1433,1396,1436],[1267,1359,1354],[309,1353,703],[838,1319,1286],[1407,1410,1404],[441,1518,773],[1241,123,1428],[1622,1521,1224],[1217,1208,1172],[1130,793,1076],[425,1409,1481],[1481,1409,1533],[1303,1378,860],[1350,1408,1394],[1246,1651,977],[1289,1360,1364],[1727,1694,1623],[1417,1407,1533],[1417,1410,1407],[1406,1650,1649],[1319,134,1437],[1414,864,930],[1406,1229,1124],[1354,1359,860],[1433,769,1396],[1417,1533,1409],[1416,1413,1410],[1415,1416,1410],[95,1237,921],[1392,1254,1395],[1360,1359,1267],[1258,1290,1329],[1180,128,1389],[1420,1409,425],[1417,1418,1410],[1418,1415,1410],[1422,1077,1416],[1247,1350,1394],[37,43,1180],[1204,1315,1358],[1428,1383,1375],[1356,1355,1269],[1409,1418,1417],[1302,45,1246],[1421,1416,1415],[1421,1422,1416],[1422,1494,1077],[957,720,938],[1423,1409,1420],[1423,1418,1409],[752,434,1438],[1260,1358,1408],[1363,1385,785],[1423,1426,1418],[1426,1424,1418],[1229,1649,1124],[1222,1260,1350],[1508,1523,1137],[1278,1285,769],[1482,917,144],[1418,1424,1415],[1425,1422,1421],[1425,1524,1422],[1272,1388,1390],[1391,409,1313],[1378,1366,1381],[1371,483,1361],[720,1262,1278],[29,103,159],[1271,1364,1267],[1424,1427,1415],[1537,1522,1518],[134,752,1438],[1420,934,941],[1428,1375,1284],[1277,1224,1831],[1362,1180,1266],[1401,1426,1423],[1577,1369,1291],[268,483,262],[1383,1450,1456],[1384,1175,1431],[1430,1415,1427],[1430,1421,1415],[1430,1425,1421],[1379,1382,1247],[1252,1553,1429],[1206,1392,1395],[1433,1430,1427],[309,208,1353],[1272,1390,1254],[1361,483,1366],[1523,817,808],[1302,1254,1392],[1371,1361,1303],[1426,1435,1424],[1435,1433,1424],[1433,1427,1424],[720,769,1433],[796,1258,1388],[1590,1419,1268],[1289,1372,1371],[1305,1317,1509],[998,1372,1174],[40,1386,139],[1261,1354,703],[1364,1271,1274],[134,1438,1437],[1436,1319,1437],[1317,686,1509],[1484,932,1304],[1434,1432,1509],[1420,65,934],[931,930,736],[1367,1357,1309],[1372,1370,1371],[1204,1208,1315],[1426,938,1435],[1368,1363,1253],[1207,454,1190],[1302,1310,1272],[309,1377,390],[390,1377,1411],[1370,1372,998],[1411,1590,1148],[720,1433,1435],[1450,1383,1428],[1379,678,1382],[1405,678,1379],[1208,1291,1315],[1399,134,1319],[1367,1309,1373],[1373,1352,1276],[596,741,593],[553,1264,612],[1433,1436,1430],[1437,1438,1430],[964,1405,1379],[1373,1309,1352],[1265,1403,1390],[1233,1618,1434],[1365,1310,1302],[789,796,1365],[720,1435,938],[128,139,1389],[1466,933,1525],[1191,1640,1637],[1314,1442,943],[1141,353,1323],[1489,1138,1474],[1462,1477,1440],[1474,1138,1488],[1442,1314,1443],[1446,1030,1546],[1484,1145,697],[1549,1443,1445],[1470,1572,1468],[1397,1239,1507],[1649,1825,1824],[1259,1440,1477],[1451,1450,1449],[978,1446,652],[1454,1456,1451],[1451,1456,1450],[341,1507,595],[933,1547,79],[804,1452,1060],[1454,1455,1456],[1398,1460,1454],[1455,877,1456],[1277,1831,1825],[804,1060,1458],[1339,1459,1595],[1314,1104,1443],[933,1448,1547],[147,1460,1398],[1460,1461,1454],[1454,1461,1455],[1292,1125,1464],[417,1531,1480],[1459,1339,1325],[811,1756,335],[1512,936,1490],[777,1529,1098],[147,1475,1460],[1464,253,1459],[836,855,482],[1487,1486,1307],[1104,1501,1443],[1439,1200,1532],[1475,1469,1460],[1460,1469,1461],[1325,1464,1459],[1277,1825,1649],[1532,1200,1077],[844,877,1455],[1572,933,1466],[1479,568,973],[1509,335,1305],[1339,1595,1759],[1469,1476,1461],[1461,1476,1455],[1104,1470,1468],[1464,1472,253],[1117,1091,1407],[1756,1542,335],[1206,1395,1188],[335,1542,1330],[835,844,1455],[1471,1598,1462],[1491,1442,1441],[835,1455,1476],[1441,1442,1443],[1489,1474,1473],[1251,1236,1250],[1030,1452,1477],[1598,1439,1532],[978,1598,1492],[1426,1401,938],[1448,1584,1482],[1724,1497,1475],[1475,1497,1469],[1484,1535,932],[1307,1486,1113],[1487,696,1495],[1037,1491,1441],[1030,1446,936],[1453,1487,1495],[696,1467,1495],[1138,1489,1483],[1497,1143,1469],[1469,1143,1476],[652,1598,978],[850,1043,1150],[1482,1584,1320],[1731,98,1697],[1113,1554,1573],[1524,1532,1494],[1496,1467,696],[1452,1259,1477],[296,1504,1497],[1504,1143,1497],[1143,1499,1476],[718,910,1498],[868,1540,1528],[817,1253,810],[1490,696,1487],[1440,1491,1037],[1510,676,595],[1488,1492,1517],[781,1239,1397],[1467,1519,1503],[1500,1307,1759],[1149,397,452],[1504,1514,1143],[1514,842,1143],[1125,733,1458],[1503,1531,1555],[1276,1036,1137],[1440,723,1123],[1036,1508,1137],[817,1508,1253],[103,883,1112],[1458,731,1472],[1512,1490,1487],[1487,1453,1486],[1138,978,1488],[1036,1253,1508],[1398,149,147],[1474,1517,1513],[1125,1458,1472],[1486,1453,1554],[1518,1534,758],[345,1058,1062],[928,1202,1369],[1554,1541,1505],[1464,1125,1472],[1504,764,1514],[304,426,573],[1505,742,1506],[1479,1572,1478],[1519,1483,1489],[833,716,1069],[1522,1534,1518],[1115,1513,777],[811,335,1432],[1591,1533,1407],[777,1517,1529],[1513,1517,777],[1498,910,1397],[1069,1539,833],[833,1539,1537],[1522,1551,1534],[1534,1551,1523],[1538,1137,1523],[910,51,1397],[1367,1373,703],[1466,1525,1468],[157,1186,1832],[1429,1511,1506],[1573,1505,1506],[1259,1452,804],[1503,1495,1467],[262,483,780],[1572,1466,1468],[1536,1556,716],[716,1556,1069],[1544,1523,1551],[1544,1538,1523],[1511,1573,1506],[933,1572,1448],[1543,1537,1539],[1537,1543,1522],[1091,933,79],[1519,1540,1545],[1549,1445,86],[1069,1548,1539],[1548,1543,1539],[1543,1551,1522],[1500,1487,1307],[68,784,1186],[1552,1544,1551],[1550,1538,1544],[1538,1550,1137],[1519,1473,1540],[1547,1448,1482],[1560,1563,1536],[1536,1563,1556],[1556,1548,1069],[1543,1558,1551],[1137,1550,1276],[1453,1495,1555],[1561,1543,1548],[1543,1561,1558],[1558,1566,1551],[1552,1550,1544],[1569,1557,1550],[1557,1276,1550],[1276,1557,254],[1531,1503,1480],[1535,1530,1510],[1545,1503,1519],[1547,1482,79],[1566,1552,1551],[1552,1569,1550],[1503,1545,1480],[703,1377,309],[1625,675,756],[1037,1441,88],[929,254,1557],[849,1567,1560],[1556,1564,1548],[1492,1529,1517],[1252,1429,1506],[1553,1027,1429],[1453,1555,1541],[1554,1453,1541],[1233,686,1553],[1328,1104,1314],[1564,1576,1548],[1548,1576,1561],[1557,1562,929],[1520,112,1668],[1483,1446,1138],[778,1570,1567],[1563,1564,1556],[1561,1565,1558],[1565,1566,1558],[1569,1552,1566],[1562,1557,1569],[1530,1535,1484],[1387,1402,1395],[1621,1634,1387],[1567,1568,1560],[1560,1568,1563],[1571,1569,1566],[1344,1330,1542],[1577,1431,1353],[1638,233,304],[1524,1463,1529],[1353,1431,1175],[1077,1200,1413],[1478,1470,1104],[1568,1575,1563],[1563,1575,1564],[1575,1576,1564],[1561,1576,1565],[1565,1574,1566],[1562,1515,929],[1555,96,1541],[1531,417,96],[1555,1531,96],[1246,45,1651],[208,1577,1353],[1586,1568,1567],[1574,1571,1566],[1571,1583,1569],[1474,1513,1528],[1239,1322,1535],[1478,1572,1470],[1570,1586,1567],[1488,1517,1474],[8,1833,1837],[1123,1442,1491],[1589,1568,1586],[1576,1594,1565],[1565,1594,1574],[1562,198,1515],[1559,1441,1549],[1441,1443,1549],[1135,425,1481],[1239,1535,1507],[1595,1487,1500],[1570,1585,1586],[1589,1578,1568],[1568,1578,1575],[1579,1569,1583],[1177,1577,208],[115,1236,110],[1578,1593,1575],[1587,1576,1575],[1576,1581,1594],[1571,1582,1583],[1588,1579,1583],[1579,1580,1562],[1569,1579,1562],[1562,1580,198],[1027,1511,1429],[1589,1593,1578],[1587,1581,1576],[1582,1574,1594],[1574,1582,1571],[1575,1593,1587],[1583,1582,1588],[1580,1590,198],[1587,1593,1581],[1505,1541,96],[1369,1577,1177],[1573,1554,1505],[1479,1478,568],[1585,1589,1586],[1369,1177,704],[766,1584,1334],[977,1257,1059],[1091,1591,1407],[1591,1091,1457],[1585,1604,1589],[1581,1592,1594],[1602,1582,1594],[1582,1608,1588],[1608,1579,1588],[1579,1597,1580],[1419,1590,1580],[1597,1419,1580],[1431,1577,1291],[1589,1604,1593],[1601,1596,1593],[1593,1596,1581],[1306,1511,1027],[1511,1113,1573],[1786,1412,1585],[1412,1604,1585],[1581,1596,1592],[1592,1602,1594],[1608,1599,1579],[1599,1611,1579],[1579,1611,1597],[1512,1487,253],[1519,1489,1473],[1545,1540,868],[1083,1187,1402],[1117,1407,1400],[1292,733,1125],[284,1240,1245],[1604,1600,1593],[1600,1601,1593],[1582,1607,1608],[789,1369,704],[1467,1483,1519],[1601,1613,1596],[1596,1613,1592],[1602,1607,1582],[1620,1553,1252],[1601,1605,1613],[1592,1613,1602],[1602,1606,1607],[1608,1609,1599],[1599,1609,1611],[1603,1597,1611],[1265,1419,1597],[1603,1265,1597],[1392,1206,45],[928,1369,789],[1474,1528,1473],[1104,1468,1501],[1412,1521,1604],[1613,1631,1602],[1607,1610,1608],[1608,1610,1609],[1476,863,835],[1495,1503,1555],[1498,1397,718],[1520,1668,7],[1604,1615,1600],[1605,1601,1600],[1602,1631,1606],[1606,1610,1607],[1759,1595,1500],[1292,1298,733],[1615,1604,1521],[1609,1603,1611],[652,1462,1598],[1468,1525,1445],[1443,1501,1445],[1134,1723,150],[1521,1622,1615],[1615,1616,1600],[1616,1605,1600],[1605,1616,1612],[1605,1612,1613],[1612,1617,1613],[1613,1617,1631],[1606,1614,1610],[1265,1603,1403],[448,417,1480],[1595,253,1487],[1501,1468,1445],[1383,1456,877],[1490,1496,696],[1610,1627,1609],[1627,1621,1609],[1591,1481,1533],[1598,1471,1439],[1353,1261,703],[1606,1631,1614],[1609,1621,1403],[1532,1077,1494],[1528,1115,513],[1546,652,1446],[1211,928,1365],[1540,1473,1528],[1078,1502,1787],[1425,1430,1438],[1617,1630,1631],[959,749,944],[566,570,603],[1716,310,1521],[775,452,397],[1615,1636,1616],[1616,1636,1612],[1610,1632,1627],[789,704,1258],[1457,1481,1591],[1769,1756,811],[207,1629,722],[1629,1625,722],[1224,1277,1622],[1622,1636,1615],[1636,1646,1612],[1612,1630,1617],[1631,1626,1614],[1614,1632,1610],[1506,104,95],[1481,1457,1136],[1123,943,1442],[936,1446,1496],[1499,863,1476],[1629,1031,1625],[1233,1509,686],[1633,1634,1621],[1621,1387,1403],[1472,1512,253],[1177,208,704],[1277,1636,1622],[1626,1632,1614],[1627,1633,1621],[936,1496,1490],[185,1454,1451],[731,936,1512],[1638,1635,207],[553,1263,1264],[1653,1212,1639],[1633,1627,1632],[1633,1387,1634],[1458,1060,731],[368,1307,1113],[1264,1031,1629],[1152,850,1150],[1277,1644,1636],[1646,1637,1612],[1637,1630,1612],[1647,1631,1630],[1647,1626,1631],[1422,1524,1494],[1030,652,1546],[1635,1629,207],[1635,1264,1629],[1639,1646,1636],[1637,1640,1630],[1641,1632,1626],[1632,1642,1633],[1633,1643,1387],[842,1499,1143],[865,863,1499],[1516,978,1492],[67,1130,784],[1103,1505,96],[88,1441,1200],[1644,1639,1636],[1640,1647,1630],[1647,1641,1626],[1633,1648,1643],[1492,1532,1524],[1488,1516,1492],[1037,1471,1462],[612,1264,1635],[1502,1078,1124],[1641,1642,1632],[1648,1633,1642],[1528,513,868],[1492,1598,1532],[1095,991,760],[679,157,1664],[760,1128,1785],[1277,1650,1644],[320,1022,244],[1559,1549,86],[1676,1520,7],[1488,978,1516],[1095,760,1785],[1128,384,1120],[304,312,1638],[1081,1638,312],[1081,1635,1638],[103,612,1635],[652,1477,1462],[1650,1645,1644],[1645,1639,1644],[1639,1637,1646],[1640,1090,1647],[1654,1641,1647],[1654,1642,1641],[1654,1648,1642],[1643,1402,1387],[1432,335,1509],[384,1128,760],[1652,312,304],[103,1243,612],[1277,1649,1650],[1090,1654,1647],[1643,1648,1402],[1134,324,1675],[679,68,157],[1652,1081,312],[1136,301,803],[1653,1639,1645],[723,1440,1259],[803,854,1136],[104,1506,742],[1112,159,103],[1654,1083,1648],[977,1651,1257],[1397,1507,718],[1081,103,1635],[1650,677,1645],[1083,1402,1648],[1706,1655,1671],[1624,1704,1711],[767,2,1],[608,794,294],[1678,1683,1686],[767,1682,2],[1669,1692,1675],[296,1681,764],[1671,1656,1672],[17,1673,1679],[1706,1671,1673],[1662,1674,1699],[1655,1657,1656],[418,84,915],[1526,1514,764],[1658,1657,567],[870,1695,764],[813,1697,98],[1659,821,5],[60,1013,848],[1013,110,1213],[661,1038,1692],[1660,1703,17],[1693,1673,17],[1663,1715,1743],[1013,115,110],[344,1733,32],[1670,1663,1743],[1670,1743,1738],[1677,1670,1738],[1661,4,3],[1084,1683,1678],[1728,793,1130],[1683,1767,1196],[1677,1738,1196],[1279,1786,853],[294,1038,608],[1279,1689,1786],[870,18,1708],[870,1680,1695],[1705,10,1670],[1084,1767,1683],[1196,1738,1686],[1750,870,1681],[1750,18,870],[1773,1703,1660],[1135,47,425],[150,323,1134],[1707,1655,1706],[1741,344,1687],[1685,1691,1684],[1684,1691,802],[1672,1656,0],[1038,124,608],[1671,1672,1690],[1628,1218,1767],[1686,1275,1667],[1493,1750,1681],[1773,18,1750],[1773,1660,18],[1679,1671,16],[1735,1706,1673],[1667,1678,1686],[1688,1658,1],[1656,1688,0],[1293,1281,1458],[1698,1678,1667],[1696,1130,1722],[1698,1667,1696],[1715,1662,1699],[1692,1038,294],[1682,767,357],[1669,661,1692],[802,1702,824],[1028,1067,1784],[822,1624,778],[119,813,861],[1218,1670,1677],[1703,1693,17],[1658,1710,1],[750,1730,1729],[1701,750,1729],[1693,1735,1673],[1731,1694,98],[1691,1702,802],[783,1729,1719],[1680,870,1708],[1707,1709,1655],[533,756,675],[1691,1210,1702],[11,1705,1670],[1767,1218,1196],[1218,1677,1196],[1664,1716,1721],[1729,1725,1719],[1729,1072,1725],[1210,1116,1702],[1702,1720,824],[1682,1661,2],[1713,1719,1721],[1716,1786,1713],[1730,1722,1072],[294,1717,1811],[1692,294,1666],[1659,680,821],[824,1720,1714],[1726,1731,1718],[345,1062,1045],[1738,1743,1275],[1075,1089,1071],[783,1719,1689],[1275,684,1728],[1692,1666,1665],[1675,1692,1665],[294,1811,1666],[1716,1664,310],[1678,1698,1700],[6,9,1727],[676,649,595],[381,31,361],[1723,1804,1772],[1727,9,1694],[1720,1089,1714],[1786,1716,1412],[1683,1196,1686],[1718,1697,1085],[1116,1739,1702],[1739,1734,1720],[1702,1739,1720],[1089,1720,1734],[509,748,1745],[1743,1715,1726],[1717,294,794],[1116,1732,1739],[1718,1731,1697],[1696,1667,1130],[1134,1665,1723],[1694,712,98],[101,1687,102],[391,1736,101],[662,636,642],[1734,1447,1089],[1089,1447,1071],[436,99,493],[1689,1279,783],[1485,1465,1342],[1736,1687,101],[344,1741,1733],[1741,1742,1733],[1735,829,1706],[829,1707,1706],[1485,1332,1465],[952,1126,1742],[1747,1447,1734],[879,892,645],[1730,1146,1696],[829,1709,1707],[1709,1712,1655],[118,1739,1732],[1332,1744,1465],[1687,1749,1741],[1741,1758,1742],[679,1072,68],[1072,1722,68],[118,1747,1739],[1747,1734,1739],[1465,1744,1736],[1736,1740,1687],[1704,1701,783],[1665,624,1723],[1722,1130,67],[1025,1055,467],[1444,14,1701],[558,522,530],[1657,1658,1688],[1339,1746,1332],[1332,1748,1744],[1687,1740,1749],[1741,1749,1758],[1109,952,1742],[1747,118,141],[1671,1690,1628],[1671,1628,16],[1657,1688,1656],[1745,748,1447],[357,767,1710],[1746,1748,1332],[1146,1700,1698],[1759,1307,1338],[1239,781,1322],[1745,1447,1747],[522,1745,1747],[316,717,595],[148,1493,1724],[1758,1109,1742],[1725,1072,679],[726,719,1661],[1695,1680,1526],[1772,1750,1493],[148,1772,1493],[1542,1751,1101],[952,1109,1086],[1744,1752,1736],[1736,1752,1740],[1753,1755,1740],[391,1342,1736],[821,112,1520],[557,530,1747],[530,522,1747],[994,879,645],[1542,1756,1751],[1813,1693,1703],[1746,1754,1748],[1748,1764,1744],[1752,1757,1740],[1740,1757,1753],[1749,1740,1755],[1755,1763,1749],[1763,1758,1749],[1275,1743,684],[1813,1735,1693],[1107,1099,1101],[1723,624,1804],[1403,1603,1609],[1748,1754,1764],[1744,1757,1752],[1760,1109,1758],[1465,1736,1342],[436,115,99],[1686,1738,1275],[1751,1766,1101],[1759,1754,1746],[1755,1753,1763],[1570,1279,853],[1701,1146,750],[1655,1656,1671],[11,1670,1218],[1761,1751,1756],[1766,1107,1101],[1726,1623,1731],[1711,1704,1279],[67,784,68],[558,530,545],[1620,1618,1233],[1769,1761,1756],[102,1687,344],[1338,1754,1759],[1754,232,1764],[1744,1765,1757],[1757,1763,1753],[1762,1760,1758],[1760,1771,1109],[1339,1759,1746],[1675,1665,1134],[1730,1696,1722],[1774,1751,1761],[1766,1780,1107],[1780,1105,1107],[1764,1765,1744],[1763,1762,1758],[1772,1773,1750],[1811,1813,1703],[1434,1769,1432],[1780,1766,1751],[232,1781,1764],[1711,1279,1570],[1688,1,0],[1774,1780,1751],[1764,1781,1765],[1765,1768,1757],[1757,1768,1763],[1777,1782,1760],[1762,1777,1760],[1769,1774,1761],[1763,1777,1762],[1760,1782,1771],[232,1737,1781],[1768,1776,1763],[272,255,774],[1669,994,661],[1618,1769,1434],[1765,589,1768],[1770,1777,1763],[1701,1729,783],[1783,1774,1769],[1789,1780,1774],[589,1775,1768],[1776,1770,1763],[1782,1778,1771],[1771,1778,1070],[624,1703,1773],[624,1811,1703],[1620,1244,1618],[1779,1769,1618],[1779,1783,1769],[739,1735,1813],[1775,1776,1768],[1790,1777,1770],[1777,1778,1782],[1725,679,1721],[733,1293,1458],[1802,1618,1244],[1802,1779,1618],[1788,1783,1779],[1789,1774,1783],[1796,1780,1789],[1796,1119,1780],[1823,1817,325],[1699,1727,1623],[750,1146,1730],[1497,1724,296],[1128,1119,1796],[61,62,71],[1131,413,824],[1114,1111,249],[1784,1776,1775],[1123,723,1283],[1791,1788,1779],[1788,1789,1783],[1095,1797,1074],[1028,1784,1775],[1784,1770,1776],[1777,1790,1778],[1793,1797,1095],[1797,1800,1074],[1798,1790,1770],[1805,1802,1244],[1802,1791,1779],[1792,1789,1788],[1793,1785,1128],[1793,1095,1785],[1074,1800,1619],[741,457,593],[1798,1770,1784],[1798,1794,1790],[1786,1689,1713],[684,1726,1718],[1728,1085,793],[1795,1787,1502],[1806,1802,1805],[1819,1788,1791],[1067,1798,1784],[1790,1794,1778],[1795,1502,1124],[1801,1805,1787],[1807,1791,1802],[1807,1819,1791],[1819,1792,1788],[1799,1128,1796],[994,645,661],[684,1085,1728],[684,1718,1085],[1699,1623,1726],[1801,1787,1795],[1808,1789,1792],[1808,1796,1789],[1799,1793,1128],[1809,1797,1793],[1809,1803,1797],[1803,1800,1797],[1067,1794,1798],[774,255,1778],[1673,1671,1679],[879,1669,888],[19,1807,1802],[1810,1619,1800],[879,994,1669],[1794,774,1778],[1723,1772,148],[1804,1773,1772],[1814,1795,1124],[1649,1814,1124],[1814,1801,1795],[1812,1806,1805],[19,1802,1806],[19,1819,1807],[1810,1800,1803],[1804,624,1773],[1714,1131,824],[1801,1812,1805],[1812,19,1806],[1808,1792,1819],[1799,1809,1793],[1821,1810,1803],[1717,739,1813],[1061,1619,1822],[1794,1817,774],[79,1482,144],[1815,1801,1814],[23,1819,19],[589,1028,1775],[1817,1823,774],[1689,1719,1713],[1824,1814,1649],[1827,1818,1801],[1818,1812,1801],[1818,19,1812],[1818,20,19],[1816,1809,1799],[1821,1803,1809],[1822,1619,1810],[124,708,608],[1663,10,1715],[1815,1827,1801],[1820,1808,1819],[23,1820,1819],[603,1810,1821],[603,1822,1810],[1085,1697,793],[1628,1690,11],[1527,1704,1624],[1730,1072,1729],[1526,1444,1704],[1526,1680,1444],[1704,1444,1701],[1816,1821,1809],[1722,67,68],[317,272,1823],[1716,1713,1721],[16,1628,1767],[1527,1526,1704],[1824,1826,1814],[1814,1826,1815],[1818,21,20],[1835,1808,1820],[603,570,1822],[226,1070,1778],[1013,1181,1179],[1721,679,1664],[1717,1813,1811],[1828,1827,1815],[22,1820,23],[22,1835,1820],[1830,603,1821],[719,1659,5],[643,567,1657],[1717,794,739],[1825,1826,1824],[1828,1815,1826],[1829,21,1818],[1808,1835,13],[4,719,5],[10,1662,1715],[1828,1832,1827],[1832,1818,1827],[12,1833,1816],[1833,1821,1816],[1833,1830,1821],[14,1146,1701],[1186,1829,1818],[1280,603,1830],[14,1700,1146],[1667,1728,1130],[1825,1834,1826],[1834,1828,1826],[1832,1186,1818],[1836,13,1835],[1624,1711,1570],[778,1624,1570],[1719,1725,1721],[1002,1825,1831],[1002,1834,1825],[1834,1832,1828],[1186,21,1829],[1836,1835,22],[1837,1833,12],[1280,1830,1833],[1667,1275,1728],[16,1767,1084],[589,1765,1838],[1765,1781,1838],[1781,1737,1838],[1737,982,1838],[982,1053,1838],[1053,816,1838],[816,589,1838]]},{}],52:[function(e,t,r){var i=e("safe-buffer").Buffer,n=e("stream").Transform,a=e("string_decoder").StringDecoder;function o(e){n.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}e("inherits")(o,n),o.prototype.update=function(e,t,r){"string"==typeof e&&(e=i.from(e,t));var n=this._update(e);return this.hashMode?this:(r&&(n=this._toString(n,r)),n)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},o.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},o.prototype._finalOrDigest=function(e){var t=this.__final()||i.alloc(0);return e&&(t=this._toString(t,e,!0)),t},o.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new a(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},t.exports=o},{inherits:163,"safe-buffer":231,stream:247,string_decoder:248}],53:[function(e,t,r){function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}void 0!==t&&(t.exports=n),n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<n.length;i++)if((r=n[i])===t||r.fn===t){n.splice(i,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),r=this._callbacks["$"+e];if(r)for(var n=0,i=(r=r.slice(0)).length;n<i;++n)r[n].apply(this,t);return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],54:[function(o,e,t){var r=o("events").EventEmitter,n=o("inherits"),s=o("dom-css");function u(e,t,r,n){if(!(this instanceof u))return new u(e,t,r,n);var i=o("./container")(e,t.label);o("./label")(i,"",r);var a=i.appendChild(document.createElement("button"));a.className="control-panel-button-"+n,a.onfocus=function(){s(a,{outline:"none"})},a.textContent=t.label,s(a,{position:"absolute",textAlign:"center",height:"20px",width:"62%",border:"none",cursor:"pointer",right:0,fontFamily:"inherit"}),a.addEventListener("click",t.action)}n(e.exports=u,r)},{"./container":57,"./label":59,"dom-css":86,events:48,inherits:163}],55:[function(u,e,t){var r=u("events").EventEmitter;function f(e,t,r,n){if(!(this instanceof f))return new f(e,t,r,n);t=t||{};var i=this,a=u("./container")(e,t.label);u("./label")(a,t.label,r);var o=a.appendChild(document.createElement("input"));o.id="checkbox-"+t.label+n,o.type="checkbox",o.checked=t.initial,o.className="control-panel-checkbox-"+n;var s=a.appendChild(document.createElement("label"));s.htmlFor="checkbox-"+t.label+n,s.className="control-panel-checkbox-"+n,setTimeout(function(){i.emit("initialized",o.checked)}),o.onchange=function(e){i.emit("input",e.target.checked)}}u("inherits")(e.exports=f,r)},{"./container":57,"./label":59,events:48,inherits:163}],56:[function(h,e,t){var r=h("events").EventEmitter,d=h("simple-color-picker"),n=h("inherits"),l=h("dom-css"),p=h("tinycolor2");function b(e,r,t,n){if(!(this instanceof b))return new b(e,r,t,n);(r=r||{}).format=r.format||"rgb",r.initial=r.initial||"#123456";var i=this,a=h("./container")(e,r.label);h("./label")(a,r.label,t);var o=a.appendChild(document.createElement("span"));o.className="control-panel-color-"+n;var s=h("./value")(a,"",t,"46%");o.onmouseover=function(){f.$el.style.display=""};var u=r.initial;switch(r.format){case"rgb":case"hex":u=p(u).toHexString();break;case"array":u=p.fromRatio({r:u[0],g:u[1],b:u[2]}).toHexString()}var f=new d({el:o,color:u,background:t.background1,width:125,height:100});function c(e){switch(r.format){case"rgb":return p(e).toRgbString();case"hex":return p(e).toHexString();case"array":var t=p(e).toRgb();return[t.r/255,t.g/255,t.b/255].map(function(e){return e.toFixed(2)});default:return e}}l(f.$el,{marginTop:"20px",display:"none",position:"absolute"}),l(o,{position:"relative",display:"inline-block",width:"12.5%",height:"20px",backgroundColor:f.getHexString()}),o.onmouseout=function(e){f.$el.style.display="none"},setTimeout(function(){i.emit("initialized",u)}),f.onChange(function(e){s.innerHTML=c(e),l(o,{backgroundColor:e}),i.emit("input",c(e))})}n(e.exports=b,r)},{"./container":57,"./label":59,"./value":65,"dom-css":86,events:48,inherits:163,"simple-color-picker":244,tinycolor2:249}],57:[function(e,t,r){var n=e("dom-css"),i=e("param-case");t.exports=function(e,t){var r=e.appendChild(document.createElement("div"));return r.id="control-panel-"+i(t),n(r,{position:"relative",minHeight:"25px"}),r}},{"dom-css":86,"param-case":190}],58:[function(_,e,t){var r=_("events").EventEmitter,n=_("inherits"),E=_("is-numeric"),T=_("dom-css");function C(e,t,r){return Math.min(Math.max(e,t),r)}function M(e,o,t,r){if(!(this instanceof M))return new M(e,o,t,r);var n,i,a,s,u,f,c,h,d=this,l=_("./container")(e,o.label);if(_("./label")(l,o.label,t),o.step&&o.steps)throw new Error("Cannot specify both step and steps. Got step = "+o.step+", steps = ",o.steps);if(setTimeout(function(){f=document.getElementById("control-panel-"+r)}),(c=l.appendChild(document.createElement("span"))).className="control-panel-interval-"+r,(h=document.createElement("span")).className="control-panel-interval-handle",c.appendChild(h),"log"===o.scale?(n=function(e){return u*Math.exp(Math.log(a)+(Math.log(s)-Math.log(a))*e/100)},i=function(e){return 100*(Math.log(e*u)-Math.log(a))/(Math.log(s)-Math.log(a))}):n=i=function(e){return e},Array.isArray(o.initial)||(o.initial=[]),"log"===o.scale){if(o.max=E(o.max)?o.max:100,o.min=E(o.min)?o.min:.1,o.min*o.max<=0)throw new Error("Log range min/max must have the same sign and not equal zero. Got min = "+o.min+", max = "+o.max);if(a=o.min,s=o.max,u=0<o.min?1:-1,a=Math.abs(a),s=Math.abs(s),o.min=0,o.max=100,E(o.step))throw new Error("Log may only use steps (integer number of steps), not a step value. Got step ="+o.step);if(o.step=1,o.initial=[i(E(o.initial[0])?o.initial[0]:n(o.min+.25*(o.max-o.min))),i(E(o.initial[1])?o.initial[1]:n(o.min+.75*(o.max-o.min)))],n(o.initial[0])*n(o.max)<=0||n(o.initial[1])*n(o.max)<=0)throw new Error("Log range initial value must have the same sign as min/max and must not equal zero. Got initial value = ["+n(o.initial[0])+", "+n(o.initial[1])+"]")}else o.max=E(o.max)?o.max:100,o.min=E(o.min)?o.min:0,o.step=E(o.step)?o.step:(o.max-o.min)/100,o.initial=[E(o.initial[0])?o.initial[0]:.25*(o.min+o.max),E(o.initial[1])?o.initial[1]:.75*(o.min+o.max)];E(o.steps)&&(o.step=E(o.steps)?(o.max-o.min)/o.steps:o.step),o.initial[0]=o.min+o.step*Math.round((o.initial[0]-o.min)/o.step),o.initial[1]=o.min+o.step*Math.round((o.initial[1]-o.min)/o.step);var p=o.initial;function b(){T(h,{left:(p[0]-o.min)/(o.max-o.min)*100+"%",right:100-(p[1]-o.min)/(o.max-o.min)*100+"%"})}b();var m=_("./value")(l,n(o.initial[0]),t,"11%",!0),g=_("./value")(l,n(o.initial[1]),t,"11%"),v=-1;function y(e){return e.pageX-c.getBoundingClientRect().left}function w(e){if(-1!==v){var t=(p[0]-o.min)/(o.max-o.min),r=(p[1]-o.min)/(o.max-o.min);e=0===v?Math.min(r,e):Math.max(t,e);var n=o.min+Math.round((o.max-o.min)*e/o.step)*o.step;p[v]=n,b(),c.oninput()}}var A=function(e){w(C(y(e)/c.offsetWidth,0,1))},S=function(e){f.classList.remove("control-panel-interval-dragging"),w(C(y(e)/c.offsetWidth,0,1)),document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",S),v=-1};c.addEventListener("mousedown",function(e){f.classList.add("control-panel-interval-dragging");var t=C(y(e)/c.offsetWidth,0,1),r=(p[0]-o.min)/(o.max-o.min),n=(p[1]-o.min)/(o.max-o.min);r-=1e-15*Math.abs(o.max-o.min),n+=1e-15*Math.abs(o.max-o.min);var i=Math.abs(r-t),a=Math.abs(n-t);v=i<a?0:1,document.addEventListener("mousemove",A),document.addEventListener("mouseup",S)}),setTimeout(function(){var e=n(p[0]),t=n(p[1]);m.innerHTML=e,g.innerHTML=t,d.emit("initialized",[e,t])}),c.oninput=function(){var e=n(p[0]),t=n(p[1]);m.innerHTML=e,g.innerHTML=t,d.emit("input",[e,t])}}n(e.exports=M,r)},{"./container":57,"./label":59,"./value":65,"dom-css":86,events:48,inherits:163,"is-numeric":166}],59:[function(e,t,r){var a=e("dom-css");t.exports=function(e,t,r){var n=e.appendChild(document.createElement("div"));a(n,{left:0,width:"36%",display:"inline-block",height:"20px",paddingRight:"2%",verticalAlign:"top"});var i=n.appendChild(document.createElement("span"));return i.innerHTML=t,a(i,{color:r.text1,display:"inline-block",verticalAlign:"sub"}),i}},{"dom-css":86}],60:[function(b,e,t){var r=b("events").EventEmitter,n=b("inherits"),m=b("dom-css"),g=b("insert-css");function v(e,t,r,n){if(!(this instanceof v))return new v(e,t,r,n);t=t||{};var i=this;console.log(t);var a=b("./container")(e,t.label);b("./label")(a,t.label,r);var o=a.appendChild(document.createElement("div"));m(o,{position:"relative",width:"60%",display:"inline-block",paddingBottom:"7px"}),t.count||(t.count=t.names.length);for(var s=[],u=0;u<t.count;u++){var f=o.appendChild(document.createElement("span"));m(f,{display:"inline-block"});var c="control-panel-multibox-"+n+u,h=f.appendChild(document.createElement("input"));h.id="multibox-"+t.label+n+u,h.type="checkbox",h.checked=t.initial,h.classList.add("control-panel-multibox-"+n),h.classList.add(c);var d=f.appendChild(document.createElement("label"));d.htmlFor="multibox-"+t.label+n+u,d.className="control-panel-multibox-"+n;var l=t.colors?t.colors[u]:r.foreground1;if(g("input[type=checkbox]:checked."+c+" + label:before {\n background-color: "+l+";\n }"),t.names){var p=f.appendChild(document.createElement("span"));p.innerHTML=t.names[u],m(p,{backgroundColor:r.background2,paddingRight:"7px",verticalAlign:"middle",padding:"2px",marginRight:"8px",color:r.text2})}s.push(h)}setTimeout(function(){var e=s.map(function(e){return e.checked});i.emit("initialized",e)}),s.forEach(function(e){e.onchange=function(e){var t=s.map(function(e){return e.checked});i.emit("input",t)}})}n(e.exports=v,r)},{"./container":57,"./label":59,"dom-css":86,events:48,inherits:163,"insert-css":164}],61:[function(p,e,t){var r=p("events").EventEmitter,n=p("inherits"),b=p("is-numeric"),m=p("dom-css");function g(e,t,r,n){if(!(this instanceof g))return new g(e,t,r,n);var i,a,o,s,u,f=this,c=p("./container")(e,t.label);if(p("./label")(c,t.label,r),t.step&&t.steps)throw new Error("Cannot specify both step and steps. Got step = "+t.step+", steps = ",t.steps);var h=c.appendChild(document.createElement("input"));if(h.type="range",h.className="control-panel-range-"+n,"log"===t.scale?(i=function(e){return u*Math.exp(Math.log(o)+(Math.log(s)-Math.log(o))*e/100)},a=function(e){return 100*(Math.log(e*u)-Math.log(o))/(Math.log(s)-Math.log(o))}):i=a=function(e){return e},"log"===t.scale){if(t.max=b(t.max)?t.max:100,t.min=b(t.min)?t.min:.1,t.min*t.max<=0)throw new Error("Log range min/max must have the same sign and not equal zero. Got min = "+t.min+", max = "+t.max);if(o=t.min,s=t.max,u=0<t.min?1:-1,o=Math.abs(o),s=Math.abs(s),t.min=0,t.max=100,b(t.step))throw new Error("Log may only use steps (integer number of steps), not a step value. Got step ="+t.step);if(t.step=1,t.initial=a(b(t.initial)?t.initial:i(.5*(t.min+t.max))),t.initial*a(t.max)<=0)throw new Error("Log range initial value must have the same sign as min/max and must not equal zero. Got initial value = "+t.initial)}else t.max=b(t.max)?t.max:100,t.min=b(t.min)?t.min:0,t.step=b(t.step)?t.step:(t.max-t.min)/100,t.initial=b(t.initial)?t.initial:.5*(t.min+t.max);b(t.steps)&&(t.step=b(t.steps)?(t.max-t.min)/t.steps:t.step);var d=Math.round((t.initial-t.min)/t.step);t.initial=t.min+t.step*d,h.min=t.min,h.max=t.max,h.step=t.step,h.value=t.initial,m(h,{width:"47.5%"});var l=p("./value")(c,i(t.initial),r,"11%");setTimeout(function(){f.emit("initialized",parseFloat(h.value))}),h.oninput=function(e){var t=i(parseFloat(e.target.value));l.innerHTML=t,f.emit("input",t)}}n(e.exports=g,r)},{"./container":57,"./label":59,"./value":65,"dom-css":86,events:48,inherits:163,"is-numeric":166}],62:[function(p,e,t){var r=p("events").EventEmitter;function b(e,t,r,n){if(!(this instanceof b))return new b(e,t,r,n);var i,a,o,s,u,f,c,h,d,l=this;if(a=p("./container")(e,t.label),p("./label")(a,t.label,r),(o=document.createElement("select")).className="control-panel-select-"+n+"-dropdown",(s=document.createElement("span")).className="control-panel-select-"+n+"-triangle control-panel-select-"+n+"-triangle--down",(u=document.createElement("span")).className="control-panel-select-"+n+"-triangle control-panel-select-"+n+"-triangle--up",a.appendChild(s),a.appendChild(u),Array.isArray(t.options))for(i=0;i<t.options.length;i++)c=t.options[i],(h=document.createElement("option")).value=h.textContent=c,t.initial===c&&(h.selected="selected"),o.appendChild(h);else for(d=Object.keys(t.options),i=0;i<d.length;i++)f=d[i],(h=document.createElement("option")).value=f,t.initial===f&&(h.selected="selected"),h.textContent=t.options[f],o.appendChild(h);a.appendChild(o),o.onchange=function(e){l.emit("input",e.target.value)}}p("inherits")(e.exports=b,r)},{"./container":57,"./label":59,events:48,inherits:163}],63:[function(s,e,t){var r=s("events").EventEmitter,n=s("inherits"),u=s("dom-css");function f(e,t,r,n){if(!(this instanceof f))return new f(e,t,r,n);var i=this,a=s("./container")(e,t.label);s("./label")(a,t.label,r);var o=a.appendChild(document.createElement("input"));o.type="text",o.className="control-panel-text-"+n,t.initial&&(o.value=t.initial),o.onfocus=function(){u(o,{outline:"none"})},u(o,{position:"absolute",paddingLeft:"6px",height:"20px",width:"59.5%",border:"none",background:r.background2,color:r.text2,fontFamily:"inherit"}),setTimeout(function(){i.emit("initialized",o.value)}),o.oninput=function(e){i.emit("input",e.target.value)}}n(e.exports=f,r)},{"./container":57,"./label":59,"dom-css":86,events:48,inherits:163}],64:[function(e,t,r){var i=e("dom-css");t.exports=function(e,t,r){var n=e.appendChild(document.createElement("div"));return n.innerHTML=t,i(n,{width:"100%",textAlign:"center",color:r.text2,textTransform:"uppercase",height:"20px",marginBottom:"4px"}),n}},{"dom-css":86}],65:[function(e,t,r){var u=e("dom-css");t.exports=function(e,t,r,n,i){var a=e.appendChild(document.createElement("div")),o=a.appendChild(document.createElement("span"));o.innerHTML=t;var s={position:"absolute",backgroundColor:r.background2,paddingLeft:"1.5%",height:"20px",width:n,display:"inline-block",overflow:"hidden"};return i||(s.right=0),u(a,s),u(o,{color:r.text2,display:"inline-block",userSelect:"text",cursor:"text",overflow:"hidden",lineHeight:"20px",wordBreak:"break-all",height:20}),o}},{"dom-css":86}],66:[function(E,r,e){(function(g){var e=E("events").EventEmitter,t=E("inherits"),v=E("dom-css"),y=E("insert-css"),w=(E("path"),E("is-string")),A=E("./themes"),S=E("node-uuid");function _(e,r){if(!(this instanceof _))return new _(e,r);var n=this;(r=r||{}).width=r.width||300,r.theme=r.theme||"dark",r.theme=w(r.theme)?A[r.theme]:r.theme,r.root=r.root||document.body,r.position=r.position;var i=document.createElement("div"),a=S.v4();i.className="control-panel",i.id="control-panel-"+a;var t=g("LmNvbnRyb2wtcGFuZWwgewogIGZvbnQtZmFtaWx5OiAnSGFjaycsIG1vbm9zcGFjZTsKICBmb250LXNpemU6IDExcHg7CiAgLXdlYmtpdC11c2VyLXNlbGVjdDogbm9uZTsKICAtbW96LXVzZXItc2VsZWN0OiBub25lOwogIC1tcy11c2VyLXNlbGVjdDogbm9uZTsKICB1c2VyLXNlbGVjdDogbm9uZTsKICBjdXJzb3I6IGRlZmF1bHQ7CiAgdGV4dC1hbGlnbjogbGVmdDsKICBib3gtc2l6aW5nOiBib3JkZXItYm94Owp9CgouY29udHJvbC1wYW5lbCBpbnB1dCB7CiAgZm9udC1mYW1pbHk6ICdIYWNrJzsKICBmb250LXNpemU6IDExcHg7Cn0KCi5jb250cm9sLXBhbmVsIGEgewogIGNvbG9yOiBpbmhlcml0OwogIHRleHQtZGVjb3JhdGlvbjogbm9uZTsKfQo=","base64"),o=g("LlNjcCB7CiAgd2lkdGg6IDEyNXB4OwogIGhlaWdodDogMTAwcHg7CiAgLXdlYmtpdC11c2VyLXNlbGVjdDogbm9uZTsKICAgICAtbW96LXVzZXItc2VsZWN0OiBub25lOwogICAgICAtbXMtdXNlci1zZWxlY3Q6IG5vbmU7CiAgICAgICAgICB1c2VyLXNlbGVjdDogbm9uZTsKICBwb3NpdGlvbjogcmVsYXRpdmU7CiAgei1pbmRleDogMTAwMDsKICBjdXJzb3I6IHBvaW50ZXI7Cn0KLlNjcC1zYXR1cmF0aW9uIHsKICBwb3NpdGlvbjogcmVsYXRpdmU7CiAgd2lkdGg6IGNhbGMoMTAwJSAtIDI1cHgpOwogIGhlaWdodDogMTAwJTsKICBiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQodG8gcmlnaHQsICNmZmYgMCUsICNmMDAgMTAwJSk7CiAgZmxvYXQ6IGxlZnQ7CiAgbWFyZ2luLXJpZ2h0OiA1cHg7Cn0KLlNjcC1icmlnaHRuZXNzIHsKICB3aWR0aDogMTAwJTsKICBoZWlnaHQ6IDEwMCU7CiAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KHRvIHRvcCwgIzAwMCAwJSwgcmdiYSgyNTUsMjU1LDI1NSwwKSAxMDAlKTsKfQouU2NwLXNiU2VsZWN0b3IgewogIGJvcmRlcjogMXB4IHNvbGlkOwogIHBvc2l0aW9uOiBhYnNvbHV0ZTsKICB3aWR0aDogMTRweDsKICBoZWlnaHQ6IDE0cHg7CiAgYmFja2dyb3VuZDogI2ZmZjsKICBib3JkZXItcmFkaXVzOiAxMHB4OwogIHRvcDogLTdweDsKICBsZWZ0OiAtN3B4OwogIGJveC1zaXppbmc6IGJvcmRlci1ib3g7CiAgei1pbmRleDogMTA7Cn0KLlNjcC1odWUgewogIHdpZHRoOiAyMHB4OwogIGhlaWdodDogMTAwJTsKICBwb3NpdGlvbjogcmVsYXRpdmU7CiAgZmxvYXQ6IGxlZnQ7CiAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KHRvIGJvdHRvbSwgI2YwMCAwJSwgI2YwZiAxNyUsICMwMGYgMzQlLCAjMGZmIDUwJSwgIzBmMCA2NyUsICNmZjAgODQlLCAjZjAwIDEwMCUpOwp9Ci5TY3AtaFNlbGVjdG9yIHsKICBwb3NpdGlvbjogYWJzb2x1dGU7CiAgYmFja2dyb3VuZDogI2ZmZjsKICBib3JkZXItYm90dG9tOiAxcHggc29saWQgIzAwMDsKICByaWdodDogLTNweDsKICB3aWR0aDogMTBweDsKICBoZWlnaHQ6IDJweDsKfQ==","base64"),s=g("aW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19IHsKICAtd2Via2l0LWFwcGVhcmFuY2U6IG5vbmU7CiAgd2lkdGg6IDEwMCU7CiAgbWFyZ2luOiAwcHggMDsKfQppbnB1dFt0eXBlPXJhbmdlXS5jb250cm9sLXBhbmVsLXJhbmdlLXt7IFVVSUQgfX06Zm9jdXMgewogIG91dGxpbmU6IG5vbmU7Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19Ojotd2Via2l0LXNsaWRlci1ydW5uYWJsZS10cmFjayB7CiAgd2lkdGg6IDEwMCU7CiAgaGVpZ2h0OiAyMHB4OwogIGN1cnNvcjogZXctcmVzaXplOwogIGJhY2tncm91bmQ6IHt7IFRSQUNLX0NPTE9SIH19Owp9CmlucHV0W3R5cGU9cmFuZ2VdLmNvbnRyb2wtcGFuZWwtcmFuZ2Ute3sgVVVJRCB9fTo6LXdlYmtpdC1zbGlkZXItdGh1bWIgewogIGhlaWdodDogMjBweDsKICB3aWR0aDogMjBweDsKICBiYWNrZ3JvdW5kOiB7eyBUSFVNQl9DT0xPUiB9fTsKICBjdXJzb3I6IGV3LXJlc2l6ZTsKICAtd2Via2l0LWFwcGVhcmFuY2U6IG5vbmU7CiAgbWFyZ2luLXRvcDogMHB4Owp9CmlucHV0W3R5cGU9cmFuZ2VdLmNvbnRyb2wtcGFuZWwtcmFuZ2Ute3sgVVVJRCB9fTpmb2N1czo6LXdlYmtpdC1zbGlkZXItcnVubmFibGUtdHJhY2sgewogIGJhY2tncm91bmQ6IHt7IFRSQUNLX0NPTE9SIH19OwogIG91dGxpbmU6IG5vbmU7Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19OjotbW96LXJhbmdlLXRyYWNrIHsKICB3aWR0aDogMTAwJTsKICBoZWlnaHQ6IDIwcHg7CiAgY3Vyc29yOiBldy1yZXNpemU7CiAgYmFja2dyb3VuZDoge3sgVFJBQ0tfQ09MT1IgfX07Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19OjotbW96LXJhbmdlLXRodW1iIHsKICBoZWlnaHQ6IDIwcHg7CiAgd2lkdGg6IDIwcHg7CiAgYmFja2dyb3VuZDoge3sgVEhVTUJfQ09MT1IgfX07CiAgY3Vyc29yOiBldy1yZXNpemU7Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19OjotbXMtdHJhY2sgewogIHdpZHRoOiAxMDAlOwogIGhlaWdodDogMjBweDsKICBjdXJzb3I6IGV3LXJlc2l6ZTsKICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDsKICBib3JkZXItY29sb3I6IHRyYW5zcGFyZW50OwogIGNvbG9yOiB0cmFuc3BhcmVudDsKfQppbnB1dFt0eXBlPXJhbmdlXS5jb250cm9sLXBhbmVsLXJhbmdlLXt7IFVVSUQgfX06Oi1tcy1maWxsLWxvd2VyIHsKICBiYWNrZ3JvdW5kOiB7eyBUUkFDS19DT0xPUiB9fTsKfQppbnB1dFt0eXBlPXJhbmdlXS5jb250cm9sLXBhbmVsLXJhbmdlLXt7IFVVSUQgfX06Oi1tcy1maWxsLXVwcGVyIHsKICBiYWNrZ3JvdW5kOiB7eyBUUkFDS19DT0xPUiB9fTsKfQppbnB1dFt0eXBlPXJhbmdlXS5jb250cm9sLXBhbmVsLXJhbmdlLXt7IFVVSUQgfX06Oi1tcy10aHVtYiB7CiAgd2lkdGg6IDIwcHg7CiAgYm9yZGVyLXJhZGl1czogMHB4OwogIGJhY2tncm91bmQ6IHt7IFRIVU1CX0NPTE9SIH19OwogIGN1cnNvcjogZXctcmVzaXplOwogIGhlaWdodDogMjBweDsKfQppbnB1dFt0eXBlPXJhbmdlXS5jb250cm9sLXBhbmVsLXJhbmdlLXt7IFVVSUQgfX06Zm9jdXM6Oi1tcy1maWxsLWxvd2VyIHsKICBiYWNrZ3JvdW5kOiB7eyBUUkFDS19DT0xPUiB9fTsKICBvdXRsaW5lOiBub25lOwp9CmlucHV0W3R5cGU9cmFuZ2VdLmNvbnRyb2wtcGFuZWwtcmFuZ2Ute3sgVVVJRCB9fTpmb2N1czo6LW1zLWZpbGwtdXBwZXIgewogIGJhY2tncm91bmQ6IHt7IFRSQUNLX0NPTE9SIH19OwogIG91dGxpbmU6IG5vbmU7Cn0KCmlucHV0W3R5cGU9cmFuZ2VdLmNvbnRyb2wtcGFuZWwtcmFuZ2Ute3sgVVVJRCB9fSB7CiAgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lOwogIHdpZHRoOiAxMDAlOwogIG1hcmdpbjogMHB4IDA7Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19OmZvY3VzIHsKICBvdXRsaW5lOiBub25lOwp9CmlucHV0W3R5cGU9cmFuZ2VdLmNvbnRyb2wtcGFuZWwtcmFuZ2Ute3sgVVVJRCB9fTo6LXdlYmtpdC1zbGlkZXItcnVubmFibGUtdHJhY2sgewogIHdpZHRoOiAxMDAlOwogIGhlaWdodDogMjBweDsKICBjdXJzb3I6IGV3LXJlc2l6ZTsKICBiYWNrZ3JvdW5kOiB7eyBUUkFDS19DT0xPUiB9fTsKfQppbnB1dFt0eXBlPXJhbmdlXS5jb250cm9sLXBhbmVsLXJhbmdlLXt7IFVVSUQgfX06Oi13ZWJraXQtc2xpZGVyLXRodW1iIHsKICBoZWlnaHQ6IDIwcHg7CiAgd2lkdGg6IDIwcHg7CiAgYmFja2dyb3VuZDoge3sgVEhVTUJfQ09MT1IgfX07CiAgY3Vyc29yOiBldy1yZXNpemU7CiAgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lOwogIG1hcmdpbi10b3A6IDBweDsKfQppbnB1dFt0eXBlPXJhbmdlXS5jb250cm9sLXBhbmVsLXJhbmdlLXt7IFVVSUQgfX06Zm9jdXM6Oi13ZWJraXQtc2xpZGVyLXJ1bm5hYmxlLXRyYWNrIHsKICBiYWNrZ3JvdW5kOiB7eyBUUkFDS19DT0xPUiB9fTsKICBvdXRsaW5lOiBub25lOwp9CmlucHV0W3R5cGU9cmFuZ2VdLmNvbnRyb2wtcGFuZWwtcmFuZ2Ute3sgVVVJRCB9fTo6LW1vei1yYW5nZS10cmFjayB7CiAgd2lkdGg6IDEwMCU7CiAgaGVpZ2h0OiAyMHB4OwogIGN1cnNvcjogZXctcmVzaXplOwogIGJhY2tncm91bmQ6IHt7IFRSQUNLX0NPTE9SIH19Owp9CmlucHV0W3R5cGU9cmFuZ2VdLmNvbnRyb2wtcGFuZWwtcmFuZ2Ute3sgVVVJRCB9fTo6LW1vei1yYW5nZS10aHVtYiB7CiAgaGVpZ2h0OiAyMHB4OwogIHdpZHRoOiAyMHB4OwogIGJhY2tncm91bmQ6IHt7IFRIVU1CX0NPTE9SIH19OwogIGN1cnNvcjogZXctcmVzaXplOwp9CmlucHV0W3R5cGU9cmFuZ2VdLmNvbnRyb2wtcGFuZWwtcmFuZ2Ute3sgVVVJRCB9fTo6LW1zLXRyYWNrIHsKICB3aWR0aDogMTAwJTsKICBoZWlnaHQ6IDIwcHg7CiAgY3Vyc29yOiBldy1yZXNpemU7CiAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7CiAgYm9yZGVyLWNvbG9yOiB0cmFuc3BhcmVudDsKICBjb2xvcjogdHJhbnNwYXJlbnQ7Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19OjotbXMtZmlsbC1sb3dlciB7CiAgYmFja2dyb3VuZDoge3sgVFJBQ0tfQ09MT1IgfX07Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19OjotbXMtZmlsbC11cHBlciB7CiAgYmFja2dyb3VuZDoge3sgVFJBQ0tfQ09MT1IgfX07Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19OjotbXMtdGh1bWIgewogIHdpZHRoOiAyMHB4OwogIGJhY2tncm91bmQ6IHt7IFRIVU1CX0NPTE9SIH19OwogIGN1cnNvcjogZXctcmVzaXplOwogIGhlaWdodDogMjBweDsKfQppbnB1dFt0eXBlPXJhbmdlXS5jb250cm9sLXBhbmVsLXJhbmdlLXt7IFVVSUQgfX06Zm9jdXM6Oi1tcy1maWxsLWxvd2VyIHsKICBiYWNrZ3JvdW5kOiB7eyBUUkFDS19DT0xPUiB9fTsKICBvdXRsaW5lOiBub25lOwp9CmlucHV0W3R5cGU9cmFuZ2VdLmNvbnRyb2wtcGFuZWwtcmFuZ2Ute3sgVVVJRCB9fTpmb2N1czo6LW1zLWZpbGwtdXBwZXIgewogIGJhY2tncm91bmQ6IHt7IFRSQUNLX0NPTE9SIH19OwogIG91dGxpbmU6IG5vbmU7Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19IHsKICAtd2Via2l0LWFwcGVhcmFuY2U6IG5vbmU7CiAgd2lkdGg6IDEwMCU7CiAgbWFyZ2luOiAwcHggMDsKfQppbnB1dFt0eXBlPXJhbmdlXS5jb250cm9sLXBhbmVsLXJhbmdlLXt7IFVVSUQgfX06Zm9jdXMgewogIG91dGxpbmU6IG5vbmU7Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19Ojotd2Via2l0LXNsaWRlci1ydW5uYWJsZS10cmFjayB7CiAgd2lkdGg6IDEwMCU7CiAgaGVpZ2h0OiAyMHB4OwogIGN1cnNvcjogZXctcmVzaXplOwogIGJhY2tncm91bmQ6IHt7IFRSQUNLX0NPTE9SIH19Owp9CmlucHV0W3R5cGU9cmFuZ2VdLmNvbnRyb2wtcGFuZWwtcmFuZ2Ute3sgVVVJRCB9fTo6LXdlYmtpdC1zbGlkZXItdGh1bWIgewogIGhlaWdodDogMjBweDsKICB3aWR0aDogMjBweDsKICBiYWNrZ3JvdW5kOiB7eyBUSFVNQl9DT0xPUiB9fTsKICBjdXJzb3I6IGV3LXJlc2l6ZTsKICAtd2Via2l0LWFwcGVhcmFuY2U6IG5vbmU7CiAgbWFyZ2luLXRvcDogMHB4Owp9CmlucHV0W3R5cGU9cmFuZ2VdLmNvbnRyb2wtcGFuZWwtcmFuZ2Ute3sgVVVJRCB9fTpmb2N1czo6LXdlYmtpdC1zbGlkZXItcnVubmFibGUtdHJhY2sgewogIGJhY2tncm91bmQ6IHt7IFRSQUNLX0NPTE9SIH19OwogIG91dGxpbmU6IG5vbmU7Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19OjotbW96LXJhbmdlLXRyYWNrIHsKICB3aWR0aDogMTAwJTsKICBoZWlnaHQ6IDIwcHg7CiAgY3Vyc29yOiBldy1yZXNpemU7CiAgYmFja2dyb3VuZDoge3sgVFJBQ0tfQ09MT1IgfX07Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19OjotbW96LXJhbmdlLXRodW1iIHsKICBib3JkZXI6IDBweCBzb2xpZCByZ2JhKDAsIDAsIDAsIDApOwogIGhlaWdodDogMjBweDsKICB3aWR0aDogMjBweDsKICBib3JkZXItcmFkaXVzOiAwcHg7CiAgYmFja2dyb3VuZDoge3sgVEhVTUJfQ09MT1IgfX07CiAgY3Vyc29yOiBldy1yZXNpemU7Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19OjotbXMtdHJhY2sgewogIHdpZHRoOiAxMDAlOwogIGhlaWdodDogMjBweDsKICBjdXJzb3I6IGV3LXJlc2l6ZTsKICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDsKICBib3JkZXItY29sb3I6IHRyYW5zcGFyZW50OwogIGNvbG9yOiB0cmFuc3BhcmVudDsKfQppbnB1dFt0eXBlPXJhbmdlXS5jb250cm9sLXBhbmVsLXJhbmdlLXt7IFVVSUQgfX06Oi1tcy1maWxsLWxvd2VyIHsKICBiYWNrZ3JvdW5kOiB7eyBUUkFDS19DT0xPUiB9fTsKfQppbnB1dFt0eXBlPXJhbmdlXS5jb250cm9sLXBhbmVsLXJhbmdlLXt7IFVVSUQgfX06Oi1tcy1maWxsLXVwcGVyIHsKICBiYWNrZ3JvdW5kOiB7eyBUUkFDS19DT0xPUiB9fTsKfQppbnB1dFt0eXBlPXJhbmdlXS5jb250cm9sLXBhbmVsLXJhbmdlLXt7IFVVSUQgfX06Oi1tcy10aHVtYiB7CiAgd2lkdGg6IDIwcHg7CiAgYmFja2dyb3VuZDoge3sgVEhVTUJfQ09MT1IgfX07CiAgY3Vyc29yOiBldy1yZXNpemU7CiAgaGVpZ2h0OiAyMHB4Owp9CmlucHV0W3R5cGU9cmFuZ2VdLmNvbnRyb2wtcGFuZWwtcmFuZ2Ute3sgVVVJRCB9fTpmb2N1czo6LW1zLWZpbGwtbG93ZXIgewogIGJhY2tncm91bmQ6IHt7IFRSQUNLX0NPTE9SIH19OwogIG91dGxpbmU6IG5vbmU7Cn0KaW5wdXRbdHlwZT1yYW5nZV0uY29udHJvbC1wYW5lbC1yYW5nZS17eyBVVUlEIH19OmZvY3VzOjotbXMtZmlsbC11cHBlciB7CiAgYmFja2dyb3VuZDoge3sgVFJBQ0tfQ09MT1IgfX07CiAgb3V0bGluZTogbm9uZTsKfQo=","base64"),u=g("aW5wdXRbdHlwZT0iY2hlY2tib3giXS5jb250cm9sLXBhbmVsLWNoZWNrYm94LXt7IFVVSUQgfX0gewogIGRpc3BsYXk6bm9uZTsKICBjdXJzb3I6IHBvaW50ZXI7IAp9CgppbnB1dFt0eXBlPWNoZWNrYm94XS5jb250cm9sLXBhbmVsLWNoZWNrYm94LXt7IFVVSUQgfX0gKyBsYWJlbDpiZWZvcmUgewogIGNvbnRlbnQ6ICIiOyAgCiAgZGlzcGxheTogaW5saW5lLWJsb2NrOyAgCiAgd2lkdGg6IDE4cHg7ICAKICBoZWlnaHQ6IDE4cHg7ICAKICBwYWRkaW5nOiAwcHg7CiAgdmVydGljYWwtYWxpZ246bWlkZGxlOwogIG1hcmdpbi1yaWdodDogOHB4OyAKICBtYXJnaW4tdG9wOiAycHg7IAogIGJhY2tncm91bmQtY29sb3I6IHt7IEJPWF9DT0xPUiB9fTsgIAogIGJvcmRlci1yYWRpdXM6IDBweDsgCiAgY3Vyc29yOiBwb2ludGVyOyAKfQoKaW5wdXRbdHlwZT1jaGVja2JveF06Y2hlY2tlZC5jb250cm9sLXBhbmVsLWNoZWNrYm94LXt7IFVVSUQgfX0gICsgbGFiZWw6YmVmb3JlIHsKICB3aWR0aDogMTBweDsgIAogIGhlaWdodDogMTBweDsgIAogIGJhY2tncm91bmQtY29sb3I6IHt7IElDT05fQ09MT1IgfX07CiAgYm9yZGVyOiBzb2xpZCA0cHgge3sgQk9YX0NPTE9SIH19OwogIGN1cnNvcjogcG9pbnRlcjsgCn0=","base64"),f=g("aW5wdXRbdHlwZT0iY2hlY2tib3giXS5jb250cm9sLXBhbmVsLW11bHRpYm94LXt7IFVVSUQgfX0gewogIGRpc3BsYXk6bm9uZTsKICBjdXJzb3I6IHBvaW50ZXI7IAp9CgppbnB1dFt0eXBlPWNoZWNrYm94XS5jb250cm9sLXBhbmVsLW11bHRpYm94LXt7IFVVSUQgfX0gKyBsYWJlbDpiZWZvcmUgewogIGNvbnRlbnQ6ICIiOyAgCiAgZGlzcGxheTogaW5saW5lLWJsb2NrOyAgCiAgd2lkdGg6IDE4cHg7ICAKICBoZWlnaHQ6IDE4cHg7ICAKICBwYWRkaW5nOiAwcHg7CiAgdmVydGljYWwtYWxpZ246bWlkZGxlOwogIG1hcmdpbi1yaWdodDogOHB4OyAKICBtYXJnaW4tdG9wOiAycHg7IAogIG1hcmdpbi1ib3R0b206IDFweDsKICBiYWNrZ3JvdW5kLWNvbG9yOiB7eyBCT1hfQ09MT1IgfX07ICAKICBib3JkZXItcmFkaXVzOiAwcHg7IAogIGN1cnNvcjogcG9pbnRlcjsgCn0KCmlucHV0W3R5cGU9Y2hlY2tib3hdOmNoZWNrZWQuY29udHJvbC1wYW5lbC1tdWx0aWJveC17eyBVVUlEIH19ICArIGxhYmVsOmJlZm9yZSB7CiAgd2lkdGg6IDEwcHg7ICAKICBoZWlnaHQ6IDEwcHg7ICAKICBiYWNrZ3JvdW5kLWNvbG9yOiB7eyBJQ09OX0NPTE9SIH19OwogIGJvcmRlcjogc29saWQgNHB4IHt7IEJPWF9DT0xPUiB9fTsKICBjdXJzb3I6IHBvaW50ZXI7IAp9CgouY29udHJvbC1wYW5lbC1tdWx0aWJveC1uYW1lLXt7IFVVSUQgfX0gewogIHBhZGRpbmctcmlnaHQ6IDdweDsKICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlOwp9","base64"),c=g("LmNvbnRyb2wtcGFuZWwtYnV0dG9uLXt7IFVVSUQgfX0gewogIGNvbG9yOiB7eyBCVVRUT05fQ09MT1IgfX07CiAgYmFja2dyb3VuZC1jb2xvcjoge3sgQlVUVE9OX0JHIH19Owp9Ci5jb250cm9sLXBhbmVsLWJ1dHRvbi17eyBVVUlEIH19OmhvdmVyIHsKICBjb2xvcjoge3sgQlVUVE9OX0NPTE9SX0hPVkVSIH19OwogIGJhY2tncm91bmQtY29sb3I6IHt7IEJVVFRPTl9CR19IT1ZFUiB9fTsKfQouY29udHJvbC1wYW5lbC1idXR0b24te3sgVVVJRCB9fTphY3RpdmUgewogIGNvbG9yOiB7eyBCVVRUT05fQ09MT1JfQUNUSVZFIH19OwogIGJhY2tncm91bmQtY29sb3I6IHt7IEJVVFRPTl9CR19BQ1RJVkUgfX07Cn0K","base64"),h=g("LmNvbnRyb2wtcGFuZWwtaW50ZXJ2YWwte3sgVVVJRCB9fSB7CiAgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lOwogIHBvc2l0aW9uOiBhYnNvbHV0ZTsKICBoZWlnaHQ6IDIwcHg7CiAgbWFyZ2luOiAwcHggMDsKICB3aWR0aDogMzMlOwogIGxlZnQ6IDUyLjUlOwogIGJhY2tncm91bmQtY29sb3I6IHt7IFRSQUNLX0NPTE9SIH19OwogIGN1cnNvcjogZXctcmVzaXplOwoKICAtd2Via2l0LXRvdWNoLWNhbGxvdXQ6IG5vbmU7CiAgLXdlYmtpdC11c2VyLXNlbGVjdDogbm9uZTsKICAta2h0bWwtdXNlci1zZWxlY3Q6IG5vbmU7CiAgLW1vei11c2VyLXNlbGVjdDogbm9uZTsKICAtbXMtdXNlci1zZWxlY3Q6IG5vbmU7CiAgdXNlci1zZWxlY3Q6IG5vbmU7Cn0KLmNvbnRyb2wtcGFuZWwtaW50ZXJ2YWwte3sgVVVJRCB9fSAuY29udHJvbC1wYW5lbC1pbnRlcnZhbC1oYW5kbGUgewogIGJhY2tncm91bmQtY29sb3I6IHt7IElOVEVSVkFMX0NPTE9SIH19OwogIHBvc2l0aW9uOiBhYnNvbHV0ZTsKICBoZWlnaHQ6IDIwcHg7CiAgbWluLXdpZHRoOiAxcHg7Cn0KI2NvbnRyb2wtcGFuZWwte3sgVVVJRCB9fS5jb250cm9sLXBhbmVsLWludGVydmFsLWRyYWdnaW5nICogewogIC13ZWJraXQtdG91Y2gtY2FsbG91dDogbm9uZSAhaW1wb3J0YW50OwogIC13ZWJraXQtdXNlci1zZWxlY3Q6IG5vbmUgIWltcG9ydGFudDsKICAta2h0bWwtdXNlci1zZWxlY3Q6IG5vbmUgIWltcG9ydGFudDsKICAtbW96LXVzZXItc2VsZWN0OiBub25lICFpbXBvcnRhbnQ7CiAgLW1zLXVzZXItc2VsZWN0OiBub25lICFpbXBvcnRhbnQ7CiAgdXNlci1zZWxlY3Q6IG5vbmUgIWltcG9ydGFudDsKCiAgY3Vyc29yOiBldy1yZXNpemUgIWltcG9ydGFudDsKfQo=","base64"),d=g("LmNvbnRyb2wtcGFuZWwtc2VsZWN0LXt7IFVVSUQgfX0tZHJvcGRvd24gewogIGRpc3BsYXk6IGlubGluZS1ibG9jazsKICBwb3NpdGlvbjogYWJzb2x1dGU7CiAgd2lkdGg6IDYyJTsKICBwYWRkaW5nLWxlZnQ6IDEuNSU7CiAgaGVpZ2h0OiAyMHB4OwogIGJvcmRlcjogbm9uZTsKICBib3JkZXItcmFkaXVzOiAwOwogIG91dGxpbmU6IG5vbmU7CiAgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lOwogIC1tb3otYXBwZWFyYW5jZTogbm9uZTsKICAtby1hcHBlYXJhbmNlOm5vbmU7CiAgYXBwZWFyYW5jZTpub25lOwogIGZvbnQtZmFtaWx5OiBpbmhlcml0OwogIGJhY2tncm91bmQtY29sb3I6IHt7IEJHX0NPTE9SIH19OwogIGNvbG9yOiB7eyBURVhUX0NPTE9SIH19Owp9Ci5jb250cm9sLXBhbmVsLXNlbGVjdC17eyBVVUlEIH19LWRyb3Bkb3duOjotbXMtZXhwYW5kIHsKICBkaXNwbGF5Om5vbmU7Cn0KLmNvbnRyb2wtcGFuZWwtc2VsZWN0LXt7IFVVSUQgfX0tdHJpYW5nbGUgewogIGNvbnRlbnQ6ICcgJzsKICBib3JkZXItcmlnaHQ6IDNweCBzb2xpZCB0cmFuc3BhcmVudDsKICBib3JkZXItbGVmdDogM3B4IHNvbGlkIHRyYW5zcGFyZW50OwogIGxpbmUtaGVpZ2h0OiAyMHB4OwogIHBvc2l0aW9uOiBhYnNvbHV0ZTsKICByaWdodDogMi41JTsKICB6LWluZGV4OiAxOwp9Ci5jb250cm9sLXBhbmVsLXNlbGVjdC17eyBVVUlEIH19LXRyaWFuZ2xlLS1kb3duIHsKICB0b3A6IDExcHg7CiAgYm9yZGVyLXRvcDogNXB4IHNvbGlkIHt7IFRFWFRfQ09MT1IgfX07CiAgYm9yZGVyLWJvdHRvbTogMHB4IHRyYW5zcGFyZW50Owp9Ci5jb250cm9sLXBhbmVsLXNlbGVjdC17eyBVVUlEIH19LXRyaWFuZ2xlLS11cCB7CiAgdG9wOiA0cHg7CiAgYm9yZGVyLWJvdHRvbTogNXB4IHNvbGlkIHt7IFRFWFRfQ09MT1IgfX07CiAgYm9yZGVyLXRvcDogMHB4IHRyYW5zcGFyZW50Owp9Cg==","base64");s=String(s).replace(new RegExp("{{ THUMB_COLOR }}","g"),r.theme.foreground1).replace(new RegExp("{{ TRACK_COLOR }}","g"),r.theme.background2).replace(new RegExp("{{ UUID }}","g"),a),u=String(u).replace(new RegExp("{{ BOX_COLOR }}","g"),r.theme.background2).replace(new RegExp("{{ ICON_COLOR }}","g"),r.theme.foreground1).replace(new RegExp("{{ UUID }}","g"),a),f=String(f).replace(new RegExp("{{ BOX_COLOR }}","g"),r.theme.background2).replace(new RegExp("{{ ICON_COLOR }}","g"),r.theme.foreground1).replace(new RegExp("{{ UUID }}","g"),a),c=String(c).replace(new RegExp("{{ BUTTON_COLOR }}","g"),r.theme.text2).replace(new RegExp("{{ BUTTON_BG }}","g"),r.theme.background2).replace(new RegExp("{{ BUTTON_COLOR_HOVER }}","g"),r.theme.text2).replace(new RegExp("{{ BUTTON_BG_HOVER }}","g"),r.theme.background2hover).replace(new RegExp("{{ BUTTON_COLOR_ACTIVE }}","g"),r.theme.background2).replace(new RegExp("{{ BUTTON_BG_ACTIVE }}","g"),r.theme.text2).replace(new RegExp("{{ UUID }}","g"),a),h=String(h).replace(new RegExp("{{ INTERVAL_COLOR }}","g"),r.theme.foreground1).replace(new RegExp("{{ TRACK_COLOR }}","g"),r.theme.background2).replace(new RegExp("{{ UUID }}","g"),a),d=String(d).replace(new RegExp("{{ TEXT_COLOR }}","g"),r.theme.text2).replace(new RegExp("{{ BG_COLOR }}","g"),r.theme.background2).replace(new RegExp("{{ BG_COLOR_HOVER }}","g"),r.theme.background2hover).replace(new RegExp("{{ UUID }}","g"),a),y(t),y(s),y(o),y(u),y(f),y(c),y(h),y(d);var l=document.createElement("style");l.setAttribute("type","text/css"),l.setAttribute("rel","stylesheet"),l.setAttribute("href","//cdn.jsdelivr.net/font-hack/2.019/css/hack.min.css"),document.getElementsByTagName("head")[0].appendChild(l),v(i,{background:r.theme.background1,width:r.width,padding:"14px",paddingBottom:"8px",opacity:.95}),"top-right"!==r.position&&"top-left"!==r.position&&"bottom-right"!==r.position&&"bottom-left"!==r.position||v(i,{position:"absolute"}),"top-right"===r.position||"bottom-right"===r.position?v(i,{right:8}):v(i,{left:8}),"top-right"===r.position||"top-left"===r.position?v(i,{top:8}):v(i,{bottom:8}),r.title&&E("./components/title")(i,r.title,r.theme);var p,b={button:E("./components/button"),text:E("./components/text"),range:E("./components/range"),checkbox:E("./components/checkbox"),multibox:E("./components/multibox"),color:E("./components/color"),interval:E("./components/interval"),select:E("./components/select")},m={};e.forEach(function(e){"button"!==e.type&&(m[e.label]=e.initial)}),e.forEach(function(t){(p=b[t.type](i,t,r.theme,a)).on("initialized",function(e){m[t.label]=e}),p.on("input",function(e){m[t.label]=e,n.emit("input",m)})}),n.state=m,r.root.appendChild(i)}t(r.exports=_,e)}).call(this,E("buffer").Buffer)},{"./components/button":54,"./components/checkbox":55,"./components/color":56,"./components/interval":58,"./components/multibox":60,"./components/range":61,"./components/select":62,"./components/text":63,"./components/title":64,"./themes":67,buffer:50,"dom-css":86,events:48,inherits:163,"insert-css":164,"is-string":167,"node-uuid":189,path:196}],67:[function(e,t,r){t.exports={light:{background1:"rgb(227,227,227)",background2:"rgb(204,204,204)",background2hover:"rgb(208,208,208)",foreground1:"rgb(105,105,105)",text1:"rgb(36,36,36)",text2:"rgb(87,87,87)"},dark:{background1:"rgb(35,35,35)",background2:"rgb(54,54,54)",background2hover:"rgb(58,58,58)",foreground1:"rgb(112,112,112)",text1:"rgb(235,235,235)",text2:"rgb(161,161,161)"}}},{}],68:[function(e,t,r){(function(e){function t(e){return Object.prototype.toString.call(e)}r.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===t(e)},r.isBoolean=function(e){return"boolean"==typeof e},r.isNull=function(e){return null===e},r.isNullOrUndefined=function(e){return null==e},r.isNumber=function(e){return"number"==typeof e},r.isString=function(e){return"string"==typeof e},r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=function(e){return void 0===e},r.isRegExp=function(e){return"[object RegExp]"===t(e)},r.isObject=function(e){return"object"==typeof e&&null!==e},r.isDate=function(e){return"[object Date]"===t(e)},r.isError=function(e){return"[object Error]"===t(e)||e instanceof Error},r.isFunction=function(e){return"function"==typeof e},r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":165}],69:[function(e,s,t){(function(a){var t=e("elliptic"),n=e("bn.js");s.exports=function(e){return new i(e)};var r={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function i(e){this.curveType=r[e],this.curveType||(this.curveType={name:e}),this.curve=new t.ec(this.curveType.name),this.keys=void 0}function o(e,t,r){Array.isArray(e)||(e=e.toArray());var n=new a(e);if(r&&n.length<r){var i=new a(r-n.length);i.fill(0),n=a.concat([i,n])}return t?n.toString(t):n}r.p224=r.secp224r1,r.p256=r.secp256r1=r.prime256v1,r.p192=r.secp192r1=r.prime192v1,r.p384=r.secp384r1,r.p521=r.secp521r1,i.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},i.prototype.computeSecret=function(e,t,r){return t=t||"utf8",a.isBuffer(e)||(e=new a(e,t)),o(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},i.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),o(r,e)},i.prototype.getPrivateKey=function(e){return o(this.keys.getPrivate(),e)},i.prototype.setPublicKey=function(e,t){return t=t||"utf8",a.isBuffer(e)||(e=new a(e,t)),this.keys._importPublic(e),this},i.prototype.setPrivateKey=function(e,t){t=t||"utf8",a.isBuffer(e)||(e=new a(e,t));var r=new n(e);return r=r.toString(16),this.keys._importPrivate(r),this}}).call(this,e("buffer").Buffer)},{"bn.js":18,buffer:50,elliptic:91}],70:[function(e,t,r){"use strict";var n=e("inherits"),i=e("md5.js"),a=e("ripemd160"),o=e("sha.js"),s=e("cipher-base");function u(e){s.call(this,"digest"),this._hash=e}n(u,s),u.prototype._update=function(e){this._hash.update(e)},u.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new a:new u(o(e))}},{"cipher-base":52,inherits:163,"md5.js":181,ripemd160:229,"sha.js":237}],71:[function(e,t,r){var n=e("md5.js");t.exports=function(e){return(new n).update(e).digest()}},{"md5.js":181}],72:[function(e,t,r){"use strict";var n=e("inherits"),i=e("./legacy"),o=e("cipher-base"),s=e("safe-buffer").Buffer,a=e("create-hash/md5"),u=e("ripemd160"),f=e("sha.js"),c=s.alloc(128);function h(e,t){o.call(this,"digest"),"string"==typeof t&&(t=s.from(t));var r="sha512"===e||"sha384"===e?128:64;(this._alg=e,(this._key=t).length>r)?t=("rmd160"===e?new u:f(e)).update(t).digest():t.length<r&&(t=s.concat([t,c],r));for(var n=this._ipad=s.allocUnsafe(r),i=this._opad=s.allocUnsafe(r),a=0;a<r;a++)n[a]=54^t[a],i[a]=92^t[a];this._hash="rmd160"===e?new u:f(e),this._hash.update(n)}n(h,o),h.prototype._update=function(e){this._hash.update(e)},h.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new u:f(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new h("rmd160",t):"md5"===e?new i(a,t):new h(e,t)}},{"./legacy":73,"cipher-base":52,"create-hash/md5":71,inherits:163,ripemd160:229,"safe-buffer":231,"sha.js":237}],73:[function(e,t,r){"use strict";var n=e("inherits"),a=e("safe-buffer").Buffer,o=e("cipher-base"),s=a.alloc(128),u=64;function i(e,t){o.call(this,"digest"),"string"==typeof t&&(t=a.from(t)),this._alg=e,(this._key=t).length>u?t=e(t):t.length<u&&(t=a.concat([t,s],u));for(var r=this._ipad=a.allocUnsafe(u),n=this._opad=a.allocUnsafe(u),i=0;i<u;i++)r[i]=54^t[i],n[i]=92^t[i];this._hash=[r]}n(i,o),i.prototype._update=function(e){this._hash.push(e)},i.prototype._final=function(){var e=this._alg(a.concat(this._hash));return this._alg(a.concat([this._opad,e]))},t.exports=i},{"cipher-base":52,inherits:163,"safe-buffer":231}],74:[function(e,t,r){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=e("randombytes"),r.createHash=r.Hash=e("create-hash"),r.createHmac=r.Hmac=e("create-hmac");var n=e("browserify-sign/algos"),i=Object.keys(n),a=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);r.getHashes=function(){return a};var o=e("pbkdf2");r.pbkdf2=o.pbkdf2,r.pbkdf2Sync=o.pbkdf2Sync;var s=e("browserify-cipher");r.Cipher=s.Cipher,r.createCipher=s.createCipher,r.Cipheriv=s.Cipheriv,r.createCipheriv=s.createCipheriv,r.Decipher=s.Decipher,r.createDecipher=s.createDecipher,r.Decipheriv=s.Decipheriv,r.createDecipheriv=s.createDecipheriv,r.getCiphers=s.getCiphers,r.listCiphers=s.listCiphers;var u=e("diffie-hellman");r.DiffieHellmanGroup=u.DiffieHellmanGroup,r.createDiffieHellmanGroup=u.createDiffieHellmanGroup,r.getDiffieHellman=u.getDiffieHellman,r.createDiffieHellman=u.createDiffieHellman,r.DiffieHellman=u.DiffieHellman;var f=e("browserify-sign");r.createSign=f.createSign,r.Sign=f.Sign,r.createVerify=f.createVerify,r.Verify=f.Verify,r.createECDH=e("create-ecdh");var c=e("public-encrypt");r.publicEncrypt=c.publicEncrypt,r.privateEncrypt=c.privateEncrypt,r.publicDecrypt=c.publicDecrypt,r.privateDecrypt=c.privateDecrypt;var h=e("randomfill");r.randomFill=h.randomFill,r.randomFillSync=h.randomFillSync,r.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":38,"browserify-sign":45,"browserify-sign/algos":42,"create-ecdh":69,"create-hash":70,"create-hmac":72,"diffie-hellman":82,pbkdf2:197,"public-encrypt":206,randombytes:212,randomfill:213}],75:[function(e,t,r){"use strict";var s=e("es5-ext/object/assign"),u=e("es5-ext/object/normalize-options"),f=e("es5-ext/object/is-callable"),c=e("es5-ext/string/#/contains");(t.exports=function(e,t){var r,n,i,a,o;return arguments.length<2||"string"!=typeof e?(a=t,t=e,e=null):a=arguments[2],null==e?(r=i=!0,n=!1):(r=c.call(e,"c"),n=c.call(e,"e"),i=c.call(e,"w")),o={value:t,configurable:r,enumerable:n,writable:i},a?s(u(a),o):o}).gs=function(e,t,r){var n,i,a,o;return"string"!=typeof e?(a=r,r=t,t=e,e=null):a=arguments[3],null==t?t=void 0:f(t)?null==r?r=void 0:f(r)||(a=r,r=void 0):(a=t,t=r=void 0),null==e?i=!(n=!0):(n=c.call(e,"c"),i=c.call(e,"e")),o={get:t,set:r,configurable:n,enumerable:i},a?s(u(a),o):o}},{"es5-ext/object/assign":108,"es5-ext/object/is-callable":111,"es5-ext/object/normalize-options":116,"es5-ext/string/#/contains":119}],76:[function(e,t,r){"use strict";r.utils=e("./des/utils"),r.Cipher=e("./des/cipher"),r.DES=e("./des/des"),r.CBC=e("./des/cbc"),r.EDE=e("./des/ede")},{"./des/cbc":77,"./des/cipher":78,"./des/des":79,"./des/ede":80,"./des/utils":81}],77:[function(e,t,r){"use strict";var n=e("minimalistic-assert"),a=e("inherits"),o={};function i(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}r.instantiate=function(t){function r(e){t.call(this,e),this._cbcInit()}a(r,t);for(var e=Object.keys(o),n=0;n<e.length;n++){var i=e[n];r.prototype[i]=o[i]}return r.create=function(e){return new r(e)},r},o._cbcInit=function(){var e=new i(this.options.iv);this._cbcState=e},o._update=function(e,t,r,n){var i=this._cbcState,a=this.constructor.super_.prototype,o=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)o[s]^=e[t+s];a._update.call(this,o,0,r,n);for(s=0;s<this.blockSize;s++)o[s]=r[n+s]}else{a._update.call(this,e,t,r,n);for(s=0;s<this.blockSize;s++)r[n+s]^=o[s];for(s=0;s<this.blockSize;s++)o[s]=e[t+s]}}},{inherits:163,"minimalistic-assert":183}],78:[function(e,t,r){"use strict";var n=e("minimalistic-assert");function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}(t.exports=i).prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var a=e.length-(e.length-t)%this.blockSize;t<a;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(n*this.blockSize);0<n;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},{"minimalistic-assert":183}],79:[function(e,t,r){"use strict";var o=e("minimalistic-assert"),n=e("inherits"),i=e("../des"),d=i.utils,a=i.Cipher;function s(){this.tmp=new Array(2),this.keys=null}function u(e){a.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}n(u,a),(t.exports=u).create=function(e){return new u(e)};var f=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];u.prototype.deriveKeys=function(e,t){e.keys=new Array(32),o.equal(t.length,this.blockSize,"Invalid key length");var r=d.readUInt32BE(t,0),n=d.readUInt32BE(t,4);d.pc1(r,n,e.tmp,0),r=e.tmp[0],n=e.tmp[1];for(var i=0;i<e.keys.length;i+=2){var a=f[i>>>1];r=d.r28shl(r,a),n=d.r28shl(n,a),d.pc2(r,n,e.keys,i)}},u.prototype._update=function(e,t,r,n){var i=this._desState,a=d.readUInt32BE(e,t),o=d.readUInt32BE(e,t+4);d.ip(a,o,i.tmp,0),a=i.tmp[0],o=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,o,i.tmp,0):this._decrypt(i,a,o,i.tmp,0),a=i.tmp[0],o=i.tmp[1],d.writeUInt32BE(r,a,n),d.writeUInt32BE(r,o,n+4)},u.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},u.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)o.equal(e[r],t);return e.slice(0,e.length-t)},u.prototype._encrypt=function(e,t,r,n,i){for(var a=t,o=r,s=0;s<e.keys.length;s+=2){var u=e.keys[s],f=e.keys[s+1];d.expand(o,e.tmp,0),u^=e.tmp[0],f^=e.tmp[1];var c=d.substitute(u,f),h=o;o=(a^d.permute(c))>>>0,a=h}d.rip(o,a,n,i)},u.prototype._decrypt=function(e,t,r,n,i){for(var a=r,o=t,s=e.keys.length-2;0<=s;s-=2){var u=e.keys[s],f=e.keys[s+1];d.expand(a,e.tmp,0),u^=e.tmp[0],f^=e.tmp[1];var c=d.substitute(u,f),h=a;a=(o^d.permute(c))>>>0,o=h}d.rip(a,o,n,i)}},{"../des":76,inherits:163,"minimalistic-assert":183}],80:[function(e,t,r){"use strict";var a=e("minimalistic-assert"),n=e("inherits"),i=e("../des"),o=i.Cipher,s=i.DES;function u(e,t){a.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),n=t.slice(8,16),i=t.slice(16,24);this.ciphers="encrypt"===e?[s.create({type:"encrypt",key:r}),s.create({type:"decrypt",key:n}),s.create({type:"encrypt",key:i})]:[s.create({type:"decrypt",key:i}),s.create({type:"encrypt",key:n}),s.create({type:"decrypt",key:r})]}function f(e){o.call(this,e);var t=new u(this.type,this.options.key);this._edeState=t}n(f,o),(t.exports=f).create=function(e){return new f(e)},f.prototype._update=function(e,t,r,n){var i=this._edeState;i.ciphers[0]._update(e,t,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},f.prototype._pad=s.prototype._pad,f.prototype._unpad=s.prototype._unpad},{"../des":76,inherits:163,"minimalistic-assert":183}],81:[function(e,t,r){"use strict";r.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},r.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},r.ip=function(e,t,r,n){for(var i=0,a=0,o=6;0<=o;o-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>>s+o&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+o&1}for(o=6;0<=o;o-=2){for(s=1;s<=25;s+=8)a<<=1,a|=t>>>s+o&1;for(s=1;s<=25;s+=8)a<<=1,a|=e>>>s+o&1}r[n+0]=i>>>0,r[n+1]=a>>>0},r.rip=function(e,t,r,n){for(var i=0,a=0,o=0;o<4;o++)for(var s=24;0<=s;s-=8)i<<=1,i|=t>>>s+o&1,i<<=1,i|=e>>>s+o&1;for(o=4;o<8;o++)for(s=24;0<=s;s-=8)a<<=1,a|=t>>>s+o&1,a<<=1,a|=e>>>s+o&1;r[n+0]=i>>>0,r[n+1]=a>>>0},r.pc1=function(e,t,r,n){for(var i=0,a=0,o=7;5<=o;o--){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+o&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+o&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+o&1;for(o=1;o<=3;o++){for(s=0;s<=24;s+=8)a<<=1,a|=t>>s+o&1;for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1}for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1;r[n+0]=i>>>0,r[n+1]=a>>>0},r.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var u=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(e,t,r,n){for(var i=0,a=0,o=u.length>>>1,s=0;s<o;s++)i<<=1,i|=e>>>u[s]&1;for(s=o;s<u.length;s++)a<<=1,a|=t>>>u[s]&1;r[n+0]=i>>>0,r[n+1]=a>>>0},r.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(var a=23;15<=a;a-=4)n<<=6,n|=e>>>a&63;for(a=11;3<=a;a-=4)i|=e>>>a&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(e,t){for(var r=0,n=0;n<4;n++){r<<=4,r|=i[64*n+(e>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=i[256+64*n+(t>>>18-6*n&63)]}return r>>>0};var n=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(e){for(var t=0,r=0;r<n.length;r++)t<<=1,t|=e>>>n[r]&1;return t>>>0},r.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var i=[],a=0;a<t;a+=r)i.push(n.slice(a,a+r));return i.join(" ")}},{}],82:[function(e,t,r){(function(a){var o=e("./lib/generatePrime"),n=e("./lib/primes.json"),s=e("./lib/dh");var u={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(e){var t=new a(n[e].prime,"hex"),r=new a(n[e].gen,"hex");return new s(t,r)},r.createDiffieHellman=r.DiffieHellman=function e(t,r,n,i){return a.isBuffer(r)||void 0===u[r]?e(t,"binary",r,n):(r=r||"binary",i=i||"binary",n=n||new a([2]),a.isBuffer(n)||(n=new a(n,i)),"number"==typeof t?new s(o(t,n),n,!0):(a.isBuffer(t)||(t=new a(t,r)),new s(t,n,!0)))}}).call(this,e("buffer").Buffer)},{"./lib/dh":83,"./lib/generatePrime":84,"./lib/primes.json":85,buffer:50}],83:[function(b,m,e){(function(a){var o=b("bn.js"),s=new(b("miller-rabin")),u=new o(24),f=new o(11),c=new o(10),h=new o(3),d=new o(7),l=b("./generatePrime"),e=b("randombytes");function n(e,t){return t=t||"utf8",a.isBuffer(e)||(e=new a(e,t)),this._pub=new o(e),this}function i(e,t){return t=t||"utf8",a.isBuffer(e)||(e=new a(e,t)),this._priv=new o(e),this}m.exports=t;var p={};function t(e,t,r){this.setGenerator(t),this.__prime=new o(e),this._prime=o.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=n,this.setPrivateKey=i):this._primeCode=8}function r(e,t){var r=new a(e.toArray());return t?r.toString(t):r}Object.defineProperty(t.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in p)return p[n];var i,a=0;if(e.isEven()||!l.simpleSieve||!l.fermatTest(e)||!s.test(e))return a+=1,a+="02"===r||"05"===r?8:4,p[n]=a;switch(s.test(e.shrn(1))||(a+=2),r){case"02":e.mod(u).cmp(f)&&(a+=8);break;case"05":(i=e.mod(c)).cmp(h)&&i.cmp(d)&&(a+=8);break;default:a+=4}return p[n]=a}(this.__prime,this.__gen)),this._primeCode}}),t.prototype.generateKeys=function(){return this._priv||(this._priv=new o(e(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},t.prototype.computeSecret=function(e){var t=(e=(e=new o(e)).toRed(this._prime)).redPow(this._priv).fromRed(),r=new a(t.toArray()),n=this.getPrime();if(r.length<n.length){var i=new a(n.length-r.length);i.fill(0),r=a.concat([i,r])}return r},t.prototype.getPublicKey=function(e){return r(this._pub,e)},t.prototype.getPrivateKey=function(e){return r(this._priv,e)},t.prototype.getPrime=function(e){return r(this.__prime,e)},t.prototype.getGenerator=function(e){return r(this._gen,e)},t.prototype.setGenerator=function(e,t){return t=t||"utf8",a.isBuffer(e)||(e=new a(e,t)),this.__gen=e,this._gen=new o(e),this}}).call(this,b("buffer").Buffer)},{"./generatePrime":84,"bn.js":18,buffer:50,"miller-rabin":182,randombytes:212}],84:[function(e,t,r){var i=e("randombytes");(t.exports=n).simpleSieve=m,n.fermatTest=g;var a=e("bn.js"),o=new a(24),s=new(e("miller-rabin")),u=new a(1),f=new a(2),c=new a(5),h=(new a(16),new a(8),new a(10)),d=new a(3),l=(new a(7),new a(11)),p=new a(4),b=(new a(12),null);function m(e){for(var t=function(){if(null!==b)return b;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<t&&e[i]<=n&&r%e[i]!=0;i++);t!==i&&e[i]<=n||(e[t++]=r)}return b=e}(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function g(e){var t=a.mont(e);return 0===f.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function n(e,t){if(e<16)return new a(2===t||5===t?[140,123]:[140,39]);var r,n;for(t=new a(t);;){for(r=new a(i(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(u),r.testn(1)||r.iadd(f),t.cmp(f)){if(!t.cmp(c))for(;r.mod(h).cmp(d);)r.iadd(p)}else for(;r.mod(o).cmp(l);)r.iadd(p);if(m(n=r.shrn(1))&&m(r)&&g(n)&&g(r)&&s.test(n)&&s.test(r))return r}}},{"bn.js":18,"miller-rabin":182,randombytes:212}],85:[function(e,t,r){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],86:[function(e,t,r){var s=e("prefix-style"),u=e("to-camel-case"),f={float:"cssFloat"},c=e("add-px-to-style");function n(e,t,r){var n,i,a,o=f[t];if(void 0===o&&(i=u(n=t),a=s(i),f[i]=f[n]=f[a]=a,o=a),o){if(void 0===r)return e.style[o];e.style[o]=c(o,r)}}function i(){2===arguments.length?"string"==typeof arguments[1]?arguments[0].style.cssText=arguments[1]:function(e,t){for(var r in t)t.hasOwnProperty(r)&&n(e,r,t[r])}(arguments[0],arguments[1]):n(arguments[0],arguments[1],arguments[2])}t.exports=i,t.exports.set=i,t.exports.get=function(r,e){return Array.isArray(e)?e.reduce(function(e,t){return e[t]=n(r,t||""),e},{}):n(r,e||"")}},{"add-px-to-style":1,"prefix-style":202,"to-camel-case":250}],87:[function(e,t,r){"use strict";var n=e("trim"),i=e("prefix"),o=i("transform"),s=i("transformOrigin"),u=e("./lib/properties"),f=Object.prototype.hasOwnProperty,c={x:"translateX",y:"translateY",z:"translateZ"};function h(e){return"number"==typeof e?e+="":e=n(e),e}(r=t.exports=function(e,t){var r,n,i,a=[];for(r in t)i=t[r],n=n=f.call(c,r)?c[r]:r,f.call(u,n)?a.push(u[n](h(i))):"origin"!==n?console.warn(n,"is not a valid property"):e.style[s]=i;e.style[o]=a.join(" ")}).get=function(e){return t=e,t.style[o];var t},r.none=function(e){e.style[o]="",e.style[s]=""},r.isSupported=function(){return 0<o.length}},{"./lib/properties":89,prefix:203,trim:253}],88:[function(e,t,r){"use strict";t.exports=function(){var r=arguments;return function(){for(var e=arguments,t=r.length-1;0<=t;t--)e=[r[t].apply(this,e)];return e[0]}}},{}],89:[function(e,t,r){"use strict";var n=e("trim"),i=e("./compose"),a=/^-?\d+(\.\d+)?$/;function o(e){return/,/.test(e)||(e=e.split(" ").join(",")),e}function s(t){return function(e){return e.split(",").map(function(e){return e=n(e),a.test(e)&&(e+=t),e}).join(",")}}t.exports={translate:i(function(e){return"translate("+e+")"},s("px"),o),translate3d:i(function(e){return"translate3d("+e+")"},s("px"),o),translateX:i(function(e){return"translateX("+e+")"},s("px")),translateY:i(function(e){return"translateY("+e+")"},s("px")),translateZ:i(function(e){return"translateZ("+e+")"},s("px")),scale:i(function(e){return"scale("+e+")"},o),scale3d:i(function(e){return"scale3d("+e+")"},o),scaleX:function(e){return"scaleX("+e+")"},scaleY:function(e){return"scaleY("+e+")"},scaleZ:function(e){return"scaleZ("+e+")"},rotate:i(function(e){return"rotate("+e+")"},s("deg"),o),rotate3d:i(function(e){return"rotate3d("+e+")"},o),rotateX:i(function(e){return"rotateX("+e+")"},s("deg")),rotateY:i(function(e){return"rotateY("+e+")"},s("deg")),rotateZ:i(function(e){return"rotateZ("+e+")"},s("deg")),skew:i(function(e){return"skew("+e+")"},s("deg"),o),skewX:i(function(e){return"skewX("+e+")"},s("deg")),skewY:i(function(e){return"skewY("+e+")"},s("deg")),matrix:i(function(e){return"matrix("+e+")"},o),matrix3d:i(function(e){return"matrix3d("+e+")"},o),perspective:i(function(e){return"perspective("+e+")"},s("px"))}},{"./compose":88,trim:253}],90:[function(e,t,r){t.exports=function(e){switch(e){case"int8":return Int8Array;case"int16":return Int16Array;case"int32":return Int32Array;case"uint8":return Uint8Array;case"uint16":return Uint16Array;case"uint32":return Uint32Array;case"float32":return Float32Array;case"float64":return Float64Array;case"array":return Array;case"uint8_clamped":return Uint8ClampedArray}}},{}],91:[function(e,t,r){"use strict";var n=r;n.version=e("../package.json").version,n.utils=e("./elliptic/utils"),n.rand=e("brorand"),n.curve=e("./elliptic/curve"),n.curves=e("./elliptic/curves"),n.ec=e("./elliptic/ec"),n.eddsa=e("./elliptic/eddsa")},{"../package.json":106,"./elliptic/curve":94,"./elliptic/curves":97,"./elliptic/ec":98,"./elliptic/eddsa":101,"./elliptic/utils":105,brorand:19}],92:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("../../elliptic").utils,T=i.getNAF,C=i.getJSF,h=i.assert;function a(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||0<r.cmpn(100)?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function o(e,t){this.curve=e,this.type=t,this.precomputed=null}(t.exports=a).prototype.point=function(){throw new Error("Not implemented")},a.prototype.validate=function(){throw new Error("Not implemented")},a.prototype._fixedNafMul=function(e,t){h(e.precomputed);var r=e._getDoubles(),n=T(t,1),i=(1<<r.step+1)-(r.step%2==0?2:1);i/=3;for(var a=[],o=0;o<n.length;o+=r.step){var s=0;for(t=o+r.step-1;o<=t;t--)s=(s<<1)+n[t];a.push(s)}for(var u=this.jpoint(null,null,null),f=this.jpoint(null,null,null),c=i;0<c;c--){for(o=0;o<a.length;o++){(s=a[o])===c?f=f.mixedAdd(r.points[o]):s===-c&&(f=f.mixedAdd(r.points[o].neg()))}u=u.add(f)}return u.toP()},a.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var i=n.points,a=T(t,r),o=this.jpoint(null,null,null),s=a.length-1;0<=s;s--){for(t=0;0<=s&&0===a[s];s--)t++;if(0<=s&&t++,o=o.dblp(t),s<0)break;var u=a[s];h(0!==u),o="affine"===e.type?0<u?o.mixedAdd(i[u-1>>1]):o.mixedAdd(i[-u-1>>1].neg()):0<u?o.add(i[u-1>>1]):o.add(i[-u-1>>1].neg())}return"affine"===e.type?o.toP():o},a.prototype._wnafMulAdd=function(e,t,r,n,i){for(var a=this._wnafT1,o=this._wnafT2,s=this._wnafT3,u=0,f=0;f<n;f++){var c=(_=t[f])._getNAFPoints(e);a[f]=c.wnd,o[f]=c.points}for(f=n-1;1<=f;f-=2){var h=f-1,d=f;if(1===a[h]&&1===a[d]){var l=[t[h],null,null,t[d]];0===t[h].y.cmp(t[d].y)?(l[1]=t[h].add(t[d]),l[2]=t[h].toJ().mixedAdd(t[d].neg())):0===t[h].y.cmp(t[d].y.redNeg())?(l[1]=t[h].toJ().mixedAdd(t[d]),l[2]=t[h].add(t[d].neg())):(l[1]=t[h].toJ().mixedAdd(t[d]),l[2]=t[h].toJ().mixedAdd(t[d].neg()));var p=[-3,-1,-5,-7,0,7,5,1,3],b=C(r[h],r[d]);u=Math.max(b[0].length,u),s[h]=new Array(u),s[d]=new Array(u);for(var m=0;m<u;m++){var g=0|b[0][m],v=0|b[1][m];s[h][m]=p[3*(g+1)+(v+1)],s[d][m]=0,o[h]=l}}else s[h]=T(r[h],a[h]),s[d]=T(r[d],a[d]),u=Math.max(s[h].length,u),u=Math.max(s[d].length,u)}var y=this.jpoint(null,null,null),w=this._wnafT4;for(f=u;0<=f;f--){for(var A=0;0<=f;){var S=!0;for(m=0;m<n;m++)w[m]=0|s[m][f],0!==w[m]&&(S=!1);if(!S)break;A++,f--}if(0<=f&&A++,y=y.dblp(A),f<0)break;for(m=0;m<n;m++){var _,E=w[m];0!==E&&(0<E?_=o[m][E-1>>1]:E<0&&(_=o[m][-E-1>>1].neg()),y="affine"===_.type?y.mixedAdd(_):y.add(_))}}for(f=0;f<n;f++)o[f]=null;return i?y:y.toP()},(a.BasePoint=o).prototype.eq=function(){throw new Error("Not implemented")},o.prototype.validate=function(){return this.curve.validate(this)},a.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?h(e[e.length-1]%2==0):7===e[0]&&h(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},o.prototype.encodeCompressed=function(e){return this.encode(e,!0)},o.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},o.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},o.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},o.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},o.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var a=0;a<e;a++)n=n.dbl();r.push(n)}return{step:e,points:r}},o.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},o.prototype._getBeta=function(){return null},o.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},{"../../elliptic":91,"bn.js":18}],93:[function(e,t,r){"use strict";var n=e("../curve"),i=e("../../elliptic"),u=e("bn.js"),a=e("inherits"),o=n.base,s=i.utils.assert;function f(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,o.call(this,"edwards",e),this.a=new u(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new u(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new u(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function c(e,t,r,n,i){o.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new u(t,16),this.y=new u(r,16),this.z=n?new u(n,16):this.curve.one,this.t=i&&new u(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}a(f,o),(t.exports=f).prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},f.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},f.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},f.prototype.pointFromX=function(e,t){(e=new u(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(i.redInvm()),o=a.redSqrt();if(0!==o.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var s=o.fromRed().isOdd();return(t&&!s||!t&&s)&&(o=o.redNeg()),this.point(e,o)},f.prototype.pointFromY=function(e,t){(e=new u(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.one),i=r.redMul(this.d).redAdd(this.one),a=n.redMul(i.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var o=a.redSqrt();if(0!==o.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return o.isOdd()!==t&&(o=o.redNeg()),this.point(o,e)},f.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},a(c,o.BasePoint),f.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},f.prototype.point=function(e,t,r,n){return new c(this,e,t,r,n)},c.fromJSON=function(e,t){return new c(e,t[0],t[1],t[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&0===this.y.cmp(this.z)},c.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),a=n.redAdd(t),o=a.redSub(r),s=n.redSub(t),u=i.redMul(o),f=a.redMul(s),c=i.redMul(s),h=o.redMul(a);return this.curve.point(u,f,h,c)},c.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),a=this.y.redSqr();if(this.curve.twisted){var o=(f=this.curve._mulA(i)).redAdd(a);if(this.zOne)e=n.redSub(i).redSub(a).redMul(o.redSub(this.curve.two)),t=o.redMul(f.redSub(a)),r=o.redSqr().redSub(o).redSub(o);else{var s=this.z.redSqr(),u=o.redSub(s).redISub(s);e=n.redSub(i).redISub(a).redMul(u),t=o.redMul(f.redSub(a)),r=o.redMul(u)}}else{var f=i.redAdd(a);s=this.curve._mulC(this.c.redMul(this.z)).redSqr(),u=f.redSub(s).redSub(s);e=this.curve._mulC(n.redISub(f)).redMul(u),t=this.curve._mulC(f).redMul(i.redISub(a)),r=f.redMul(u)}return this.curve.point(e,t,r)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),a=r.redSub(t),o=i.redSub(n),s=i.redAdd(n),u=r.redAdd(t),f=a.redMul(o),c=s.redMul(u),h=a.redMul(u),d=o.redMul(s);return this.curve.point(f,c,d,h)},c.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),a=this.x.redMul(e.x),o=this.y.redMul(e.y),s=this.curve.d.redMul(a).redMul(o),u=i.redSub(s),f=i.redAdd(s),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(o),h=n.redMul(u).redMul(c);return this.curve.twisted?(t=n.redMul(f).redMul(o.redSub(this.curve._mulA(a))),r=u.redMul(f)):(t=n.redMul(f).redMul(o.redSub(a)),r=this.curve._mulC(u).redMul(f)),this.curve.point(h,t,r)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},c.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),0<=r.cmp(this.curve.p))return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}return!1},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},{"../../elliptic":91,"../curve":94,"bn.js":18,inherits:163}],94:[function(e,t,r){"use strict";var n=r;n.base=e("./base"),n.short=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")},{"./base":92,"./edwards":93,"./mont":95,"./short":96}],95:[function(e,t,r){"use strict";var n=e("../curve"),i=e("bn.js"),a=e("inherits"),o=n.base,s=e("../../elliptic").utils;function u(e){o.call(this,"mont",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.i4=new i(4).toRed(this.red).redInvm(),this.two=new i(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function f(e,t,r){o.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(t,16),this.z=new i(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(u,o),(t.exports=u).prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},a(f,o.BasePoint),u.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},u.prototype.point=function(e,t){return new f(this,e,t)},u.prototype.pointFromJSON=function(e){return f.fromJSON(this,e)},f.prototype.precompute=function(){},f.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},f.fromJSON=function(e,t){return new f(e,t[0],t[1]||e.one)},f.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},f.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},f.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},f.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},f.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),a=e.x.redSub(e.z).redMul(r),o=i.redMul(n),s=t.z.redMul(a.redAdd(o).redSqr()),u=t.x.redMul(a.redISub(o).redSqr());return this.curve.point(s,u)},f.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var a=i.length-1;0<=a;a--)0===i[a]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},f.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},f.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},f.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},f.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../../elliptic":91,"../curve":94,"bn.js":18,inherits:163}],96:[function(e,t,r){"use strict";var n=e("../curve"),i=e("../../elliptic"),A=e("bn.js"),a=e("inherits"),o=n.base,s=i.utils.assert;function u(e){o.call(this,"short",e),this.a=new A(e.a,16).toRed(this.red),this.b=new A(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function f(e,t,r,n){o.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new A(t,16),this.y=new A(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,r,n){o.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new A(0)):(this.x=new A(t,16),this.y=new A(r,16),this.z=new A(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}a(u,o),(t.exports=u).prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new A(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new A(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?r=i[0]:(r=i[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map(function(e){return{a:new A(e.a,16),b:new A(e.b,16)}}):this._getEndoBasis(r)}}},u.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:A.mont(e),r=new A(2).toRed(t).redInvm(),n=r.redNeg(),i=new A(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},u.prototype._getEndoBasis=function(e){for(var t,r,n,i,a,o,s,u,f,c=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,d=this.n.clone(),l=new A(1),p=new A(0),b=new A(0),m=new A(1),g=0;0!==h.cmpn(0);){var v=d.div(h);u=d.sub(v.mul(h)),f=b.sub(v.mul(l));var y=m.sub(v.mul(p));if(!n&&u.cmp(c)<0)t=s.neg(),r=l,n=u.neg(),i=f;else if(n&&2==++g)break;d=h,h=s=u,b=l,l=f,m=p,p=y}a=u.neg(),o=f;var w=n.sqr().add(i.sqr());return 0<=a.sqr().add(o.sqr()).cmp(w)&&(a=t,o=r),n.negative&&(n=n.neg(),i=i.neg()),a.negative&&(a=a.neg(),o=o.neg()),[{a:n,b:i},{a:a,b:o}]},u.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),a=r.b.neg().mul(e).divRound(this.n),o=i.mul(r.a),s=a.mul(n.a),u=i.mul(r.b),f=a.mul(n.b);return{k1:e.sub(o).sub(s),k2:u.add(f).neg()}},u.prototype.pointFromX=function(e,t){(e=new A(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(t&&!i||!t&&i)&&(n=n.redNeg()),this.point(e,n)},u.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},u.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,a=0;a<e.length;a++){var o=this._endoSplit(t[a]),s=e[a],u=s._getBeta();o.k1.negative&&(o.k1.ineg(),s=s.neg(!0)),o.k2.negative&&(o.k2.ineg(),u=u.neg(!0)),n[2*a]=s,n[2*a+1]=u,i[2*a]=o.k1,i[2*a+1]=o.k2}for(var f=this._wnafMulAdd(1,n,i,2*a,r),c=0;c<2*a;c++)n[c]=null,i[c]=null;return f},a(f,o.BasePoint),u.prototype.point=function(e,t,r){return new f(this,e,t,r)},u.prototype.pointFromJSON=function(e,t){return f.fromJSON(this,e,t)},f.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};(e.beta=t).precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},f.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},f.fromJSON=function(t,e,r){"string"==typeof e&&(e=JSON.parse(e));var n=t.point(e[0],e[1],r);if(!e[2])return n;function i(e){return t.point(e[0],e[1],r)}var a=e[2];return n.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[n].concat(a.doubles.points.map(i))},naf:a.naf&&{wnd:a.naf.wnd,points:[n].concat(a.naf.points.map(i))}},n},f.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},f.prototype.isInfinity=function(){return this.inf},f.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},f.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),a=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},f.prototype.getX=function(){return this.x.fromRed()},f.prototype.getY=function(){return this.y.fromRed()},f.prototype.mul=function(e){return e=new A(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},f.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},f.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},f.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},f.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},f.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(c,o.BasePoint),u.prototype.jpoint=function(e,t,r){return new c(this,e,t,r)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),u=a.redSub(o);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var f=s.redSqr(),c=f.redMul(s),h=n.redMul(f),d=u.redSqr().redIAdd(c).redISub(h).redISub(h),l=u.redMul(h.redISub(d)).redISub(a.redMul(c)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,l,p)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,a=e.y.redMul(t).redMul(this.z),o=r.redSub(n),s=i.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=o.redSqr(),f=u.redMul(o),c=r.redMul(u),h=s.redSqr().redIAdd(f).redISub(c).redISub(c),d=s.redMul(c.redISub(h)).redISub(i.redMul(f)),l=this.z.redMul(o);return this.curve.jpoint(h,d,l)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}var n=this.curve.a,i=this.curve.tinv,a=this.x,o=this.y,s=this.z,u=s.redSqr().redSqr(),f=o.redAdd(o);for(r=0;r<e;r++){var c=a.redSqr(),h=f.redSqr(),d=h.redSqr(),l=c.redAdd(c).redIAdd(c).redIAdd(n.redMul(u)),p=a.redMul(h),b=l.redSqr().redISub(p.redAdd(p)),m=p.redISub(b),g=l.redMul(m);g=g.redIAdd(g).redISub(d);var v=f.redMul(s);r+1<e&&(u=u.redMul(d)),a=b,s=v,f=g}return this.curve.jpoint(a,f.redMul(i),s)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},c.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(n).redISub(a);o=o.redIAdd(o);var s=n.redAdd(n).redIAdd(n),u=s.redSqr().redISub(o).redISub(o),f=a.redIAdd(a);f=(f=f.redIAdd(f)).redIAdd(f),e=u,t=s.redMul(o.redISub(u)).redISub(f),r=this.y.redAdd(this.y)}else{var c=this.x.redSqr(),h=this.y.redSqr(),d=h.redSqr(),l=this.x.redAdd(h).redSqr().redISub(c).redISub(d);l=l.redIAdd(l);var p=c.redAdd(c).redIAdd(c),b=p.redSqr(),m=d.redIAdd(d);m=(m=m.redIAdd(m)).redIAdd(m),e=b.redISub(l).redISub(l),t=p.redMul(l.redISub(e)).redISub(m),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},c.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(n).redISub(a);o=o.redIAdd(o);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),u=s.redSqr().redISub(o).redISub(o);e=u;var f=a.redIAdd(a);f=(f=f.redIAdd(f)).redIAdd(f),t=s.redMul(o.redISub(u)).redISub(f),r=this.y.redAdd(this.y)}else{var c=this.z.redSqr(),h=this.y.redSqr(),d=this.x.redMul(h),l=this.x.redSub(c).redMul(this.x.redAdd(c));l=l.redAdd(l).redIAdd(l);var p=d.redIAdd(d),b=(p=p.redIAdd(p)).redAdd(p);e=l.redSqr().redISub(b),r=this.y.redAdd(this.z).redSqr().redISub(h).redISub(c);var m=h.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),t=l.redMul(p.redISub(e)).redISub(m)}return this.curve.jpoint(e,t,r)},c.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),a=t.redSqr(),o=r.redSqr(),s=a.redAdd(a).redIAdd(a).redIAdd(e.redMul(i)),u=t.redAdd(t),f=(u=u.redIAdd(u)).redMul(o),c=s.redSqr().redISub(f.redAdd(f)),h=f.redISub(c),d=o.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var l=s.redMul(h).redISub(d),p=r.redAdd(r).redMul(n);return this.curve.jpoint(c,l,p)},c.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),i=e.redAdd(e).redIAdd(e),a=i.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(n),s=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(a)).redSqr(),u=n.redIAdd(n);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var f=i.redIAdd(o).redSqr().redISub(a).redISub(s).redISub(u),c=t.redMul(f);c=(c=c.redIAdd(c)).redIAdd(c);var h=this.x.redMul(s).redISub(c);h=(h=h.redIAdd(h)).redIAdd(h);var d=this.y.redMul(f.redMul(u.redISub(f)).redISub(o.redMul(s)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var l=this.z.redAdd(o).redSqr().redISub(r).redISub(s);return this.curve.jpoint(h,d,l)},c.prototype.mul=function(e,t){return e=new A(e,t),this.curve._wnafMul(this,e)},c.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),i=r.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)},c.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),0<=n.cmp(this.curve.p))return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}return!1},c.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../../elliptic":91,"../curve":94,"bn.js":18,inherits:163}],97:[function(e,t,r){"use strict";var n,i=r,a=e("hash.js"),o=e("../elliptic"),s=o.utils.assert;function u(e){"short"===e.type?this.curve=new o.curve.short(e):"edwards"===e.type?this.curve=new o.curve.edwards(e):this.curve=new o.curve.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function f(t,r){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var e=new u(r);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:e}),e}})}i.PresetCurve=u,f("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),f("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),f("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),f("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:a.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),f("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:a.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),f("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]}),f("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=e("./precomputed/secp256k1")}catch(e){n=void 0}f("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},{"../elliptic":91,"./precomputed/secp256k1":104,"hash.js":149}],98:[function(e,t,r){"use strict";var m=e("bn.js"),g=e("hmac-drbg"),a=e("../../elliptic"),l=a.utils.assert,n=e("./key"),v=e("./signature");function i(e){if(!(this instanceof i))return new i(e);"string"==typeof e&&(l(a.curves.hasOwnProperty(e),"Unknown curve "+e),e=a.curves[e]),e instanceof a.curves.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}(t.exports=i).prototype.keyPair=function(e){return new n(this,e)},i.prototype.keyFromPrivate=function(e,t){return n.fromPrivate(this,e,t)},i.prototype.keyFromPublic=function(e,t){return n.fromPublic(this,e,t)},i.prototype.genKeyPair=function(e){e||(e={});for(var t=new g({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a.rand(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new m(2));;){var i=new m(t.generate(r));if(!(0<i.cmp(n)))return i.iaddn(1),this.keyFromPrivate(i)}},i.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return 0<r&&(e=e.ushrn(r)),!t&&0<=e.cmp(this.n)?e.sub(this.n):e},i.prototype.sign=function(e,t,r,n){"object"==typeof r&&(n=r,r=null),n||(n={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new m(e,16));for(var i=this.n.byteLength(),a=t.getPrivate().toArray("be",i),o=e.toArray("be",i),s=new g({hash:this.hash,entropy:a,nonce:o,pers:n.pers,persEnc:n.persEnc||"utf8"}),u=this.n.sub(new m(1)),f=0;;f++){var c=n.k?n.k(f):new m(s.generate(this.n.byteLength()));if(!((c=this._truncateToN(c,!0)).cmpn(1)<=0||0<=c.cmp(u))){var h=this.g.mul(c);if(!h.isInfinity()){var d=h.getX(),l=d.umod(this.n);if(0!==l.cmpn(0)){var p=c.invm(this.n).mul(l.mul(t.getPrivate()).iadd(e));if(0!==(p=p.umod(this.n)).cmpn(0)){var b=(h.getY().isOdd()?1:0)|(0!==d.cmp(l)?2:0);return n.canonical&&0<p.cmp(this.nh)&&(p=this.n.sub(p),b^=1),new v({r:l,s:p,recoveryParam:b})}}}}}},i.prototype.verify=function(e,t,r,n){e=this._truncateToN(new m(e,16)),r=this.keyFromPublic(r,n);var i=(t=new v(t,"hex")).r,a=t.s;if(i.cmpn(1)<0||0<=i.cmp(this.n))return!1;if(a.cmpn(1)<0||0<=a.cmp(this.n))return!1;var o,s=a.invm(this.n),u=s.mul(e).umod(this.n),f=s.mul(i).umod(this.n);return this.curve._maxwellTrick?!(o=this.g.jmulAdd(u,r.getPublic(),f)).isInfinity()&&o.eqXToP(i):!(o=this.g.mulAdd(u,r.getPublic(),f)).isInfinity()&&0===o.getX().umod(this.n).cmp(i)},i.prototype.recoverPubKey=function(e,t,r,n){l((3&r)===r,"The recovery param is more than two bits"),t=new v(t,n);var i=this.n,a=new m(e),o=t.r,s=t.s,u=1&r,f=r>>1;if(0<=o.cmp(this.curve.p.umod(this.curve.n))&&f)throw new Error("Unable to find sencond key candinate");o=f?this.curve.pointFromX(o.add(this.curve.n),u):this.curve.pointFromX(o,u);var c=t.r.invm(i),h=i.sub(a).mul(c).umod(i),d=s.mul(c).umod(i);return this.g.mulAdd(h,o,d)},i.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new v(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var a;try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},{"../../elliptic":91,"./key":99,"./signature":100,"bn.js":18,"hmac-drbg":161}],99:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("../../elliptic").utils.assert;function a(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}(t.exports=a).fromPublic=function(e,t,r){return t instanceof a?t:new a(e,{pub:t,pubEnc:r})},a.fromPrivate=function(e,t,r){return t instanceof a?t:new a(e,{priv:t,privEnc:r})},a.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},a.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},a.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},a.prototype.derive=function(e){return e.mul(this.priv).getX()},a.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},a.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},a.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../../elliptic":91,"bn.js":18}],100:[function(e,t,r){"use strict";var s=e("bn.js"),u=e("../../elliptic").utils,n=u.assert;function i(e,t){if(e instanceof i)return e;this._importDER(e,t)||(n(e.r&&e.s,"Signature without r or s"),this.r=new s(e.r,16),this.s=new s(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function f(){this.place=0}function c(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,i=0,a=0,o=t.place;a<n;a++,o++)i<<=8,i|=e[o];return t.place=o,i}function o(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function h(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}(t.exports=i).prototype._importDER=function(e,t){e=u.toArray(e,t);var r=new f;if(48!==e[r.place++])return!1;if(c(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var n=c(e,r),i=e.slice(r.place,n+r.place);if(r.place+=n,2!==e[r.place++])return!1;var a=c(e,r);if(e.length!==a+r.place)return!1;var o=e.slice(r.place,a+r.place);return 0===i[0]&&128&i[1]&&(i=i.slice(1)),0===o[0]&&128&o[1]&&(o=o.slice(1)),this.r=new s(i),this.s=new s(o),!(this.recoveryParam=null)},i.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=o(t),r=o(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];h(n,t.length),(n=n.concat(t)).push(2),h(n,r.length);var i=n.concat(r),a=[48];return h(a,i.length),a=a.concat(i),u.encode(a,e)}},{"../../elliptic":91,"bn.js":18}],101:[function(e,t,r){"use strict";var n=e("hash.js"),i=e("../../elliptic"),a=i.utils,o=a.assert,u=a.parseBytes,s=e("./key"),f=e("./signature");function c(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof c))return new c(e);e=i.curves[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}(t.exports=c).prototype.sign=function(e,t){e=u(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),a=this.encodePoint(i),o=this.hashInt(a,r.pubBytes(),e).mul(r.priv()),s=n.add(o).umod(this.curve.n);return this.makeSignature({R:i,S:s,Rencoded:a})},c.prototype.verify=function(e,t,r){e=u(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),a=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(a)},c.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return a.intFromLE(e.digest()).umod(this.curve.n)},c.prototype.keyFromPublic=function(e){return s.fromPublic(this,e)},c.prototype.keyFromSecret=function(e){return s.fromSecret(this,e)},c.prototype.makeSignature=function(e){return e instanceof f?e:new f(this,e)},c.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},c.prototype.decodePoint=function(e){var t=(e=a.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),i=a.intFromLE(r);return this.curve.pointFromY(i,n)},c.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},c.prototype.decodeInt=function(e){return a.intFromLE(e)},c.prototype.isPoint=function(e){return e instanceof this.pointClass}},{"../../elliptic":91,"./key":102,"./signature":103,"hash.js":149}],102:[function(e,t,r){"use strict";var n=e("../../elliptic").utils,i=n.assert,a=n.parseBytes,o=n.cachedProperty;function s(e,t){this.eddsa=e,this._secret=a(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=a(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},o(s,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),o(s,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),o(s,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),o(s,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),o(s,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),o(s,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),s.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},s.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},t.exports=s},{"../../elliptic":91}],103:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("../../elliptic").utils,a=i.assert,o=i.cachedProperty,s=i.parseBytes;function u(e,t){this.eddsa=e,"object"!=typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),a(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}o(u,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),o(u,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),o(u,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),o(u,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),u.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},u.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=u},{"../../elliptic":91,"bn.js":18}],104:[function(e,t,r){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],105:[function(e,t,r){"use strict";var n=r,i=e("bn.js"),a=e("minimalistic-assert"),o=e("minimalistic-crypto-utils");n.assert=a,n.toArray=o.toArray,n.zero2=o.zero2,n.toHex=o.toHex,n.encode=o.encode,n.getNAF=function(e,t){for(var r=[],n=1<<t+1,i=e.clone();0<=i.cmpn(1);){var a;if(i.isOdd()){var o=i.andln(n-1);a=(n>>1)-1<o?(n>>1)-o:o,i.isubn(a)}else a=0;r.push(a);for(var s=0!==i.cmpn(0)&&0===i.andln(n-1)?t+1:1,u=1;u<s;u++)r.push(0);i.iushrn(s)}return r},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,i=0;0<e.cmpn(-n)||0<t.cmpn(-i);){var a,o,s,u=e.andln(3)+n&3,f=t.andln(3)+i&3;3===u&&(u=-1),3===f&&(f=-1),a=0==(1&u)?0:3!=(s=e.andln(7)+n&7)&&5!==s||2!==f?u:-u,r[0].push(a),o=0==(1&f)?0:3!=(s=t.andln(7)+i&7)&&5!==s||2!==u?f:-f,r[1].push(o),2*n===a+1&&(n=1-n),2*i===o+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i(e,"hex","le")}},{"bn.js":18,"minimalistic-assert":183,"minimalistic-crypto-utils":184}],106:[function(e,t,r){t.exports={_from:"elliptic@^6.0.0",_id:"elliptic@6.4.0",_inBundle:!1,_integrity:"sha1-ysmvh2LIWDYYcAPI3+GT5eLq5d8=",_location:"/elliptic",_phantomChildren:{},_requested:{type:"range",registry:!0,raw:"elliptic@^6.0.0",name:"elliptic",escapedName:"elliptic",rawSpec:"^6.0.0",saveSpec:null,fetchSpec:"^6.0.0"},_requiredBy:["/browserify-sign","/create-ecdh"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",_shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",_spec:"elliptic@^6.0.0",_where:"/Users/rreusser/sc/asawa-web/node_modules/browserify-sign",author:{name:"Fedor Indutny",email:"fedor@indutny.com"},bugs:{url:"https://github.com/indutny/elliptic/issues"},bundleDependencies:!1,dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},deprecated:!1,description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},files:["lib"],homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",name:"elliptic",repository:{type:"git",url:"git+ssh://git@github.com/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.4.0"}},{}],107:[function(e,t,r){"use strict";t.exports=function(){}},{}],108:[function(e,t,r){"use strict";t.exports=e("./is-implemented")()?Object.assign:e("./shim")},{"./is-implemented":109,"./shim":110}],109:[function(e,t,r){"use strict";t.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},{}],110:[function(e,t,r){"use strict";var o=e("../keys"),s=e("../valid-value"),u=Math.max;t.exports=function(t,r){var n,e,i,a=u(arguments.length,2);for(t=Object(s(t)),i=function(e){try{t[e]=r[e]}catch(e){n||(n=e)}},e=1;e<a;++e)r=arguments[e],o(r).forEach(i);if(void 0!==n)throw n;return t}},{"../keys":113,"../valid-value":118}],111:[function(e,t,r){"use strict";t.exports=function(e){return"function"==typeof e}},{}],112:[function(e,t,r){"use strict";var n=e("../function/noop")();t.exports=function(e){return e!==n&&null!==e}},{"../function/noop":107}],113:[function(e,t,r){"use strict";t.exports=e("./is-implemented")()?Object.keys:e("./shim")},{"./is-implemented":114,"./shim":115}],114:[function(e,t,r){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},{}],115:[function(e,t,r){"use strict";var n=e("../is-value"),i=Object.keys;t.exports=function(e){return i(n(e)?Object(e):e)}},{"../is-value":112}],116:[function(e,t,r){"use strict";var n=e("./is-value"),i=Array.prototype.forEach,a=Object.create;t.exports=function(e){var t=a(null);return i.call(arguments,function(e){n(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)}),t}},{"./is-value":112}],117:[function(e,t,r){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},{}],118:[function(e,t,r){"use strict";var n=e("./is-value");t.exports=function(e){if(!n(e))throw new TypeError("Cannot use null or undefined");return e}},{"./is-value":112}],119:[function(e,t,r){"use strict";t.exports=e("./is-implemented")()?String.prototype.contains:e("./shim")},{"./is-implemented":120,"./shim":121}],120:[function(e,t,r){"use strict";var n="razdwatrzy";t.exports=function(){return"function"==typeof n.contains&&(!0===n.contains("dwa")&&!1===n.contains("foo"))}},{}],121:[function(e,t,r){"use strict";var n=String.prototype.indexOf;t.exports=function(e){return-1<n.call(this,e,arguments[1])}},{}],122:[function(e,t,r){"use strict";var i,n,a,o,s,u,f,c=e("d"),h=e("es5-ext/object/valid-callable"),d=Function.prototype.apply,l=Function.prototype.call,p=Object.create,b=Object.defineProperty,m=Object.defineProperties,g=Object.prototype.hasOwnProperty,v={configurable:!0,enumerable:!1,writable:!0};s={on:i=function(e,t){var r;return h(t),g.call(this,"__ee__")?r=this.__ee__:(r=v.value=p(null),b(this,"__ee__",v),v.value=null),r[e]?"object"==typeof r[e]?r[e].push(t):r[e]=[r[e],t]:r[e]=t,this},once:n=function(e,t){var r,n;return h(t),i.call(n=this,e,r=function(){a.call(n,e,r),d.call(t,this,arguments)}),r.__eeOnceListener__=t,this},off:a=function(e,t){var r,n,i,a;if(h(t),!g.call(this,"__ee__"))return this;if(!(r=this.__ee__)[e])return this;if("object"==typeof(n=r[e]))for(a=0;i=n[a];++a)i!==t&&i.__eeOnceListener__!==t||(2===n.length?r[e]=n[a?0:1]:n.splice(a,1));else n!==t&&n.__eeOnceListener__!==t||delete r[e];return this},emit:o=function(e){var t,r,n,i,a;if(g.call(this,"__ee__")&&(i=this.__ee__[e]))if("object"==typeof i){for(r=arguments.length,a=new Array(r-1),t=1;t<r;++t)a[t-1]=arguments[t];for(i=i.slice(),t=0;n=i[t];++t)d.call(n,this,a)}else switch(arguments.length){case 1:l.call(i,this);break;case 2:l.call(i,this,arguments[1]);break;case 3:l.call(i,this,arguments[1],arguments[2]);break;default:for(r=arguments.length,a=new Array(r-1),t=1;t<r;++t)a[t-1]=arguments[t];d.call(i,this,a)}}},u={on:c(i),once:c(n),off:c(a),emit:c(o)},f=m({},u),t.exports=r=function(e){return null==e?p(f):m(Object(e),u)},r.methods=s},{d:75,"es5-ext/object/valid-callable":117}],123:[function(e,t,r){var l=e("safe-buffer").Buffer,p=e("md5.js");t.exports=function(e,t,r,n){if(l.isBuffer(e)||(e=l.from(e,"binary")),t&&(l.isBuffer(t)||(t=l.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var i=r/8,a=l.alloc(i),o=l.alloc(n||0),s=l.alloc(0);0<i||0<n;){var u=new p;u.update(s),u.update(e),t&&u.update(t),s=u.digest();var f=0;if(0<i){var c=a.length-i;f=Math.min(i,s.length),s.copy(a,c,0,f),i-=f}if(f<s.length&&0<n){var h=o.length-n,d=Math.min(n,s.length-f);s.copy(o,h,f,f+d),n-=d}}return s.fill(0),{key:a,iv:o}}},{"md5.js":181,"safe-buffer":231}],124:[function(e,t,r){var c=e("dtype");t.exports=function(e,t,r){if(!e)throw new TypeError("must specify data as first parameter");if(r=0|+(r||0),Array.isArray(e)&&Array.isArray(e[0])){var n=e[0].length,i=e.length*n;t&&"string"!=typeof t||(t=new(c(t||"float32"))(i+r));var a=t.length-r;if(i!==a)throw new Error("source length "+i+" ("+n+"x"+e.length+") does not match destination length "+a);for(var o=0,s=r;o<e.length;o++)for(var u=0;u<n;u++)t[s++]=e[o][u]}else if(t&&"string"!=typeof t)t.set(e,r);else{var f=c(t||"float32");0===r?t=new f(e):(t=new f(e.length+r)).set(e,r)}return t}},{dtype:90}],125:[function(e,t,r){t.exports=function(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],s=t[5],u=t[6],f=t[7],c=t[8],h=t[9],d=t[10],l=t[11],p=t[12],b=t[13],m=t[14],g=t[15],v=r*s-n*o,y=r*u-i*o,w=r*f-a*o,A=n*u-i*s,S=n*f-a*s,_=i*f-a*u,E=c*b-h*p,T=c*m-d*p,C=c*g-l*p,M=h*m-d*b,B=h*g-l*b,x=d*g-l*m,I=v*x-y*B+w*M+A*C-S*T+_*E;return I?(I=1/I,e[0]=(s*x-u*B+f*M)*I,e[1]=(u*C-o*x-f*T)*I,e[2]=(o*B-s*C+f*E)*I,e[3]=(i*B-n*x-a*M)*I,e[4]=(r*x-i*C+a*T)*I,e[5]=(n*C-r*B-a*E)*I,e[6]=(b*_-m*S+g*A)*I,e[7]=(m*w-p*_-g*y)*I,e[8]=(p*S-b*w+g*v)*I,e):null}},{}],126:[function(e,t,r){t.exports=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}},{}],127:[function(e,t,r){t.exports=function(){var e=new Float32Array(16);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},{}],128:[function(e,t,r){t.exports=function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},{}],129:[function(e,t,r){t.exports=function(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],s=t[5],u=t[6],f=t[7],c=t[8],h=t[9],d=t[10],l=t[11],p=t[12],b=t[13],m=t[14],g=t[15],v=r*s-n*o,y=r*u-i*o,w=r*f-a*o,A=n*u-i*s,S=n*f-a*s,_=i*f-a*u,E=c*b-h*p,T=c*m-d*p,C=c*g-l*p,M=h*m-d*b,B=h*g-l*b,x=d*g-l*m,I=v*x-y*B+w*M+A*C-S*T+_*E;if(!I)return null;return I=1/I,e[0]=(s*x-u*B+f*M)*I,e[1]=(i*B-n*x-a*M)*I,e[2]=(b*_-m*S+g*A)*I,e[3]=(d*S-h*_-l*A)*I,e[4]=(u*C-o*x-f*T)*I,e[5]=(r*x-i*C+a*T)*I,e[6]=(m*w-p*_-g*y)*I,e[7]=(c*_-d*w+l*y)*I,e[8]=(o*B-s*C+f*E)*I,e[9]=(n*C-r*B-a*E)*I,e[10]=(p*S-b*w+g*v)*I,e[11]=(h*w-c*S-l*v)*I,e[12]=(s*T-o*M-u*E)*I,e[13]=(r*M-n*T+i*E)*I,e[14]=(b*y-p*A-m*v)*I,e[15]=(c*A-h*y+d*v)*I,e}},{}],130:[function(e,t,r){var _=e("./identity");t.exports=function(e,t,r,n){var i,a,o,s,u,f,c,h,d,l,p=t[0],b=t[1],m=t[2],g=n[0],v=n[1],y=n[2],w=r[0],A=r[1],S=r[2];if(Math.abs(p-w)<1e-6&&Math.abs(b-A)<1e-6&&Math.abs(m-S)<1e-6)return _(e);c=p-w,h=b-A,d=m-S,l=1/Math.sqrt(c*c+h*h+d*d),i=v*(d*=l)-y*(h*=l),a=y*(c*=l)-g*d,o=g*h-v*c,(l=Math.sqrt(i*i+a*a+o*o))?(i*=l=1/l,a*=l,o*=l):o=a=i=0;s=h*o-d*a,u=d*i-c*o,f=c*a-h*i,(l=Math.sqrt(s*s+u*u+f*f))?(s*=l=1/l,u*=l,f*=l):f=u=s=0;return e[0]=i,e[1]=s,e[2]=c,e[3]=0,e[4]=a,e[5]=u,e[6]=h,e[7]=0,e[8]=o,e[9]=f,e[10]=d,e[11]=0,e[12]=-(i*p+a*b+o*m),e[13]=-(s*p+u*b+f*m),e[14]=-(c*p+h*b+d*m),e[15]=1,e}},{"./identity":128}],131:[function(e,t,r){t.exports=function(e,t,r,n,i){var a=1/Math.tan(t/2),o=1/(n-i);return e[0]=a/r,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(i+n)*o,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*i*n*o,e[15]=0,e}},{}],132:[function(e,t,r){t.exports=function(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[4],o=t[5],s=t[6],u=t[7],f=t[8],c=t[9],h=t[10],d=t[11];t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]);return e[4]=a*i+f*n,e[5]=o*i+c*n,e[6]=s*i+h*n,e[7]=u*i+d*n,e[8]=f*i-a*n,e[9]=c*i-o*n,e[10]=h*i-s*n,e[11]=d*i-u*n,e}},{}],133:[function(e,t,r){t.exports=function(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[0],o=t[1],s=t[2],u=t[3],f=t[8],c=t[9],h=t[10],d=t[11];t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]);return e[0]=a*i-f*n,e[1]=o*i-c*n,e[2]=s*i-h*n,e[3]=u*i-d*n,e[8]=a*n+f*i,e[9]=o*n+c*i,e[10]=s*n+h*i,e[11]=u*n+d*i,e}},{}],134:[function(e,t,r){t.exports=function(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[0],o=t[1],s=t[2],u=t[3],f=t[4],c=t[5],h=t[6],d=t[7];t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]);return e[0]=a*i+f*n,e[1]=o*i+c*n,e[2]=s*i+h*n,e[3]=u*i+d*n,e[4]=f*i-a*n,e[5]=c*i-o*n,e[6]=h*i-s*n,e[7]=d*i-u*n,e}},{}],135:[function(e,t,r){t.exports=function(e,t,r){var n=r[0],i=r[1],a=r[2];return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*a,e[9]=t[9]*a,e[10]=t[10]*a,e[11]=t[11]*a,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}},{}],136:[function(e,t,r){t.exports=function(e,t,r){var n,i,a,o,s,u,f,c,h,d,l,p,b=r[0],m=r[1],g=r[2];t===e?(e[12]=t[0]*b+t[4]*m+t[8]*g+t[12],e[13]=t[1]*b+t[5]*m+t[9]*g+t[13],e[14]=t[2]*b+t[6]*m+t[10]*g+t[14],e[15]=t[3]*b+t[7]*m+t[11]*g+t[15]):(n=t[0],i=t[1],a=t[2],o=t[3],s=t[4],u=t[5],f=t[6],c=t[7],h=t[8],d=t[9],l=t[10],p=t[11],e[0]=n,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=u,e[6]=f,e[7]=c,e[8]=h,e[9]=d,e[10]=l,e[11]=p,e[12]=n*b+s*m+h*g+t[12],e[13]=i*b+u*m+d*g+t[13],e[14]=a*b+f*m+l*g+t[14],e[15]=o*b+c*m+p*g+t[15]);return e}},{}],137:[function(e,t,r){t.exports=function(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}},{}],138:[function(e,t,r){t.exports=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}},{}],139:[function(e,t,r){t.exports=1e-6},{}],140:[function(e,t,r){t.exports=function(e,t){var r=e[0],n=e[1],i=e[2],a=t[0],o=t[1],s=t[2];return Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(n-o)<=u*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-s)<=u*Math.max(1,Math.abs(i),Math.abs(s))};var u=e("./epsilon")},{"./epsilon":139}],141:[function(e,t,r){t.exports=function(e,t,r,n){var i=[],a=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],a[0]=i[0],a[1]=i[1]*Math.cos(n)-i[2]*Math.sin(n),a[2]=i[1]*Math.sin(n)+i[2]*Math.cos(n),e[0]=a[0]+r[0],e[1]=a[1]+r[1],e[2]=a[2]+r[2],e}},{}],142:[function(e,t,r){t.exports=function(e,t,r,n){var i=[],a=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],a[0]=i[2]*Math.sin(n)+i[0]*Math.cos(n),a[1]=i[1],a[2]=i[2]*Math.cos(n)-i[0]*Math.sin(n),e[0]=a[0]+r[0],e[1]=a[1]+r[1],e[2]=a[2]+r[2],e}},{}],143:[function(e,t,r){t.exports=function(e,t,r,n){var i=[],a=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],a[0]=i[0]*Math.cos(n)-i[1]*Math.sin(n),a[1]=i[0]*Math.sin(n)+i[1]*Math.cos(n),a[2]=i[2],e[0]=a[0]+r[0],e[1]=a[1]+r[1],e[2]=a[2]+r[2],e}},{}],144:[function(e,t,r){t.exports=e("./subtract")},{"./subtract":145}],145:[function(e,t,r){t.exports=function(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}},{}],146:[function(e,t,r){t.exports=function(e,t,r){var n=t[0],i=t[1],a=t[2],o=r[3]*n+r[7]*i+r[11]*a+r[15];return o=o||1,e[0]=(r[0]*n+r[4]*i+r[8]*a+r[12])/o,e[1]=(r[1]*n+r[5]*i+r[9]*a+r[13])/o,e[2]=(r[2]*n+r[6]*i+r[10]*a+r[14])/o,e}},{}],147:[function(e,t,r){t.exports=function(e){"string"==typeof e&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")}},{}],148:[function(e,t,r){"use strict";var s=e("safe-buffer").Buffer,n=e("stream").Transform;function i(e){n.call(this),this._block=s.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(i,n),i.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},i.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},i.prototype.update=function(e,t){if(function(e,t){if(!s.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");s.isBuffer(e)||(e=s.from(e,t));for(var r=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)r[i++]=e[n++];this._update(),this._blockOffset=0}for(;n<e.length;)r[this._blockOffset++]=e[n++];for(var a=0,o=8*e.length;0<o;++a)this._length[a]+=o,0<(o=this._length[a]/4294967296|0)&&(this._length[a]-=4294967296*o);return this},i.prototype._update=function(){throw new Error("_update is not implemented")},i.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0);for(var r=this._blockOffset=0;r<4;++r)this._length[r]=0;return t},i.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=i},{inherits:163,"safe-buffer":231,stream:247}],149:[function(e,t,r){var n=r;n.utils=e("./hash/utils"),n.common=e("./hash/common"),n.sha=e("./hash/sha"),n.ripemd=e("./hash/ripemd"),n.hmac=e("./hash/hmac"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},{"./hash/common":150,"./hash/hmac":151,"./hash/ripemd":152,"./hash/sha":153,"./hash/utils":160}],150:[function(e,t,r){"use strict";var i=e("./utils"),n=e("minimalistic-assert");function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}(r.BlockHash=a).prototype.update=function(e,t){if(e=i.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-r,this.endian);for(var n=0;n<e.length;n+=this._delta32)this._update(e,n,n+this._delta32)}return this},a.prototype.digest=function(e){return this.update(this._pad()),n(null===this.pending),this._digest(e)},a.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,a=8;a<this.padLength;a++)n[i++]=0;return n}},{"./utils":160,"minimalistic-assert":183}],151:[function(e,t,r){"use strict";var n=e("./utils"),i=e("minimalistic-assert");function a(e,t,r){if(!(this instanceof a))return new a(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}(t.exports=a).prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},a.prototype.update=function(e,t){return this.inner.update(e,t),this},a.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},{"./utils":160,"minimalistic-assert":183}],152:[function(e,t,r){"use strict";var n=e("./utils"),i=e("./common"),p=n.rotl32,b=n.sum32,m=n.sum32_3,g=n.sum32_4,a=i.BlockHash;function o(){if(!(this instanceof o))return new o;a.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function v(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function y(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function w(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(o,a),(r.ripemd160=o).blockSize=512,o.outSize=160,o.hmacStrength=192,o.padLength=64,o.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],i=this.h[2],a=this.h[3],o=this.h[4],s=r,u=n,f=i,c=a,h=o,d=0;d<80;d++){var l=b(p(g(r,v(d,n,i,a),e[A[d]+t],y(d)),_[d]),o);r=o,o=a,a=p(i,10),i=n,n=l,l=b(p(g(s,v(79-d,u,f,c),e[S[d]+t],w(d)),E[d]),h),s=h,h=c,c=p(f,10),f=u,u=l}l=m(this.h[1],i,c),this.h[1]=m(this.h[2],a,h),this.h[2]=m(this.h[3],o,s),this.h[3]=m(this.h[4],r,u),this.h[4]=m(this.h[0],n,f),this.h[0]=l},o.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var A=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],S=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],_=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],E=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":150,"./utils":160}],153:[function(e,t,r){"use strict";r.sha1=e("./sha/1"),r.sha224=e("./sha/224"),r.sha256=e("./sha/256"),r.sha384=e("./sha/384"),r.sha512=e("./sha/512")},{"./sha/1":154,"./sha/224":155,"./sha/256":156,"./sha/384":157,"./sha/512":158}],154:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../common"),a=e("./common"),h=n.rotl32,d=n.sum32,l=n.sum32_5,p=a.ft_1,o=i.BlockHash,b=[1518500249,1859775393,2400959708,3395469782];function s(){if(!(this instanceof s))return new s;o.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(s,o),(t.exports=s).blockSize=512,s.outSize=160,s.hmacStrength=80,s.padLength=64,s.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=h(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],a=this.h[1],o=this.h[2],s=this.h[3],u=this.h[4];for(n=0;n<r.length;n++){var f=~~(n/20),c=l(h(i,5),p(f,a,o,s),u,r[n],b[f]);u=s,s=o,o=h(a,30),a=i,i=c}this.h[0]=d(this.h[0],i),this.h[1]=d(this.h[1],a),this.h[2]=d(this.h[2],o),this.h[3]=d(this.h[3],s),this.h[4]=d(this.h[4],u)},s.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":150,"../utils":160,"./common":159}],155:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./256");function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(a,i),(t.exports=a).blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},{"../utils":160,"./256":156}],156:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../common"),a=e("./common"),p=e("minimalistic-assert"),b=n.sum32,m=n.sum32_4,g=n.sum32_5,v=a.ch32,y=a.maj32,w=a.s0_256,A=a.s1_256,S=a.g0_256,_=a.g1_256,o=i.BlockHash,s=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function u(){if(!(this instanceof u))return new u;o.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=s,this.W=new Array(64)}n.inherits(u,o),(t.exports=u).blockSize=512,u.outSize=256,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=m(_(r[n-2]),r[n-7],S(r[n-15]),r[n-16]);var i=this.h[0],a=this.h[1],o=this.h[2],s=this.h[3],u=this.h[4],f=this.h[5],c=this.h[6],h=this.h[7];for(p(this.k.length===r.length),n=0;n<r.length;n++){var d=g(h,A(u),v(u,f,c),this.k[n],r[n]),l=b(w(i),y(i,a,o));h=c,c=f,f=u,u=b(s,d),s=o,o=a,a=i,i=b(d,l)}this.h[0]=b(this.h[0],i),this.h[1]=b(this.h[1],a),this.h[2]=b(this.h[2],o),this.h[3]=b(this.h[3],s),this.h[4]=b(this.h[4],u),this.h[5]=b(this.h[5],f),this.h[6]=b(this.h[6],c),this.h[7]=b(this.h[7],h)},u.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":150,"../utils":160,"./common":159,"minimalistic-assert":183}],157:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./512");function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(a,i),(t.exports=a).blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},{"../utils":160,"./512":158}],158:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../common"),F=e("minimalistic-assert"),a=n.rotr64_hi,o=n.rotr64_lo,s=n.shr64_hi,u=n.shr64_lo,G=n.sum64,H=n.sum64_hi,R=n.sum64_lo,d=n.sum64_4_hi,l=n.sum64_4_lo,L=n.sum64_5_hi,O=n.sum64_5_lo,f=i.BlockHash,c=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function h(){if(!(this instanceof h))return new h;f.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=c,this.W=new Array(160)}function N(e,t,r,n,i){var a=e&r^~e&i;return a<0&&(a+=4294967296),a}function V(e,t,r,n,i,a){var o=t&n^~t&a;return o<0&&(o+=4294967296),o}function j(e,t,r,n,i){var a=e&r^e&i^r&i;return a<0&&(a+=4294967296),a}function W(e,t,r,n,i,a){var o=t&n^t&a^n&a;return o<0&&(o+=4294967296),o}function X(e,t){var r=a(e,t,28)^a(t,e,2)^a(t,e,7);return r<0&&(r+=4294967296),r}function U(e,t){var r=o(e,t,28)^o(t,e,2)^o(t,e,7);return r<0&&(r+=4294967296),r}function z(e,t){var r=a(e,t,14)^a(e,t,18)^a(t,e,9);return r<0&&(r+=4294967296),r}function Z(e,t){var r=o(e,t,14)^o(e,t,18)^o(t,e,9);return r<0&&(r+=4294967296),r}function p(e,t){var r=a(e,t,1)^a(e,t,8)^s(e,t,7);return r<0&&(r+=4294967296),r}function b(e,t){var r=o(e,t,1)^o(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}function m(e,t){var r=a(e,t,19)^a(t,e,29)^s(e,t,6);return r<0&&(r+=4294967296),r}function g(e,t){var r=o(e,t,19)^o(t,e,29)^u(e,t,6);return r<0&&(r+=4294967296),r}n.inherits(h,f),(t.exports=h).blockSize=1024,h.outSize=512,h.hmacStrength=192,h.padLength=128,h.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=m(r[n-4],r[n-3]),a=g(r[n-4],r[n-3]),o=r[n-14],s=r[n-13],u=p(r[n-30],r[n-29]),f=b(r[n-30],r[n-29]),c=r[n-32],h=r[n-31];r[n]=d(i,a,o,s,u,f,c,h),r[n+1]=l(i,a,o,s,u,f,c,h)}},h.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],i=this.h[1],a=this.h[2],o=this.h[3],s=this.h[4],u=this.h[5],f=this.h[6],c=this.h[7],h=this.h[8],d=this.h[9],l=this.h[10],p=this.h[11],b=this.h[12],m=this.h[13],g=this.h[14],v=this.h[15];F(this.k.length===r.length);for(var y=0;y<r.length;y+=2){var w=g,A=v,S=z(h,d),_=Z(h,d),E=N(h,d,l,p,b),T=V(h,d,l,p,b,m),C=this.k[y],M=this.k[y+1],B=r[y],x=r[y+1],I=L(w,A,S,_,E,T,C,M,B,x),D=O(w,A,S,_,E,T,C,M,B,x);w=X(n,i),A=U(n,i),S=j(n,i,a,o,s),_=W(n,i,a,o,s,u);var P=H(w,A,S,_),k=R(w,A,S,_);g=b,v=m,b=l,m=p,l=h,p=d,h=H(f,c,I,D),d=R(c,c,I,D),f=s,c=u,s=a,u=o,a=n,o=i,n=H(I,D,P,k),i=R(I,D,P,k)}G(this.h,0,n,i),G(this.h,2,a,o),G(this.h,4,s,u),G(this.h,6,f,c),G(this.h,8,h,d),G(this.h,10,l,p),G(this.h,12,b,m),G(this.h,14,g,v)},h.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":150,"../utils":160,"minimalistic-assert":183}],159:[function(e,t,r){"use strict";var n=e("../utils").rotr32;function i(e,t,r){return e&t^~e&r}function a(e,t,r){return e&t^e&r^t&r}function o(e,t,r){return e^t^r}r.ft_1=function(e,t,r,n){return 0===e?i(t,r,n):1===e||3===e?o(t,r,n):2===e?a(t,r,n):void 0},r.ch32=i,r.maj32=a,r.p32=o,r.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},r.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},r.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},r.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},{"../utils":160}],160:[function(e,t,r){"use strict";var f=e("minimalistic-assert"),n=e("inherits");function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function i(e){return 1===e.length?"0"+e:e}function o(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}r.inherits=n,r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(var n=0;n<e.length;n++){var i=e.charCodeAt(n),a=i>>8,o=255&i;a?r.push(a,o):r.push(o)}else for(n=0;n<e.length;n++)r[n]=0|e[n];return r},r.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=i(e[r].toString(16));return t},r.htonl=a,r.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e[n];"little"===t&&(i=a(i)),r+=o(i.toString(16))}return r},r.zero2=i,r.zero8=o,r.join32=function(e,t,r,n){var i=r-t;f(i%4==0);for(var a=new Array(i/4),o=0,s=t;o<a.length;o++,s+=4){var u;u="big"===n?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],a[o]=u>>>0}return a},r.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var a=e[n];"big"===t?(r[i]=a>>>24,r[i+1]=a>>>16&255,r[i+2]=a>>>8&255,r[i+3]=255&a):(r[i+3]=a>>>24,r[i+2]=a>>>16&255,r[i+1]=a>>>8&255,r[i]=255&a)}return r},r.rotr32=function(e,t){return e>>>t|e<<32-t},r.rotl32=function(e,t){return e<<t|e>>>32-t},r.sum32=function(e,t){return e+t>>>0},r.sum32_3=function(e,t,r){return e+t+r>>>0},r.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},r.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},r.sum64=function(e,t,r,n){var i=e[t],a=n+e[t+1]>>>0,o=(a<n?1:0)+r+i;e[t]=o>>>0,e[t+1]=a},r.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},r.sum64_lo=function(e,t,r,n){return t+n>>>0},r.sum64_4_hi=function(e,t,r,n,i,a,o,s){var u=0,f=t;return u+=(f=f+n>>>0)<t?1:0,u+=(f=f+a>>>0)<a?1:0,e+r+i+o+(u+=(f=f+s>>>0)<s?1:0)>>>0},r.sum64_4_lo=function(e,t,r,n,i,a,o,s){return t+n+a+s>>>0},r.sum64_5_hi=function(e,t,r,n,i,a,o,s,u,f){var c=0,h=t;return c+=(h=h+n>>>0)<t?1:0,c+=(h=h+a>>>0)<a?1:0,c+=(h=h+s>>>0)<s?1:0,e+r+i+o+u+(c+=(h=h+f>>>0)<f?1:0)>>>0},r.sum64_5_lo=function(e,t,r,n,i,a,o,s,u,f){return t+n+a+s+f>>>0},r.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},r.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},r.shr64_hi=function(e,t,r){return e>>>r},r.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},{inherits:163,"minimalistic-assert":183}],161:[function(e,t,r){"use strict";var n=e("hash.js"),o=e("minimalistic-crypto-utils"),i=e("minimalistic-assert");function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=o.toArray(e.entropy,e.entropyEnc||"hex"),r=o.toArray(e.nonce,e.nonceEnc||"hex"),n=o.toArray(e.pers,e.persEnc||"hex");i(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}(t.exports=a).prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},a.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(e,t,r,n){"string"!=typeof t&&(n=r,r=t,t=null),e=o.toArray(e,t),r=o.toArray(r,n),i(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},a.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=o.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length<e;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var a=i.slice(0,e);return this._update(r),this._reseed++,o.encode(a,t)}},{"hash.js":149,"minimalistic-assert":183,"minimalistic-crypto-utils":184}],162:[function(e,t,r){r.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,u=(1<<s)-1,f=u>>1,c=-7,h=r?i-1:0,d=r?-1:1,l=e[t+h];for(h+=d,a=l&(1<<-c)-1,l>>=-c,c+=s;0<c;a=256*a+e[t+h],h+=d,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=n;0<c;o=256*o+e[t+h],h+=d,c-=8);if(0===a)a=1-f;else{if(a===u)return o?NaN:1/0*(l?-1:1);o+=Math.pow(2,n),a-=f}return(l?-1:1)*o*Math.pow(2,a-n)},r.write=function(e,t,r,n,i,a){var o,s,u,f=8*a-i-1,c=(1<<f)-1,h=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,l=n?0:a-1,p=n?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),2<=(t+=1<=o+h?d/u:d*Math.pow(2,1-h))*u&&(o++,u/=2),c<=o+h?(s=0,o=c):1<=o+h?(s=(t*u-1)*Math.pow(2,i),o+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,i),o=0));8<=i;e[r+l]=255&s,l+=p,s/=256,i-=8);for(o=o<<i|s,f+=i;0<f;e[r+l]=255&o,l+=p,o/=256,f-=8);e[r+l-p]|=128*b}},{}],163:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],164:[function(e,t,r){var i={};t.exports=function(e,t){if(!i[e]){i[e]=!0;var r=document.createElement("style");r.setAttribute("type","text/css"),"textContent"in r?r.textContent=e:r.styleSheet.cssText=e;var n=document.getElementsByTagName("head")[0];t&&t.prepend?n.insertBefore(r,n.childNodes[0]):n.appendChild(r)}}},{}],165:[function(e,t,r){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}t.exports=function(e){return null!=e&&(n(e)||"function"==typeof(t=e).readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))||!!e._isBuffer);var t}},{}],166:[function(e,r,n){!function(e){"use strict";function t(e){return"number"==typeof e&&!isNaN(e)||!!(e=(e||"").toString().trim())&&!isNaN(e)}void 0!==n?(void 0!==r&&r.exports&&(n=r.exports=t),n.isNumeric=t):"function"==typeof define&&define.amd?define([],function(){return t}):e.isNumeric=t}(this)},{}],167:[function(e,t,r){"use strict";var n=String.prototype.valueOf,i=Object.prototype.toString,a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(e){return"string"==typeof e||"object"==typeof e&&(a?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object String]"===i.call(e))}},{}],168:[function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},{}],169:[function(e,t,r){var h=e("lodash.isarguments"),d=e("lodash.isarray");var l=9007199254740991;function p(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var n,b=(n="length",function(e){return null==e?void 0:e[n]});t.exports=function e(t,r,n,i){i||(i=[]);for(var a,o,s,u=-1,f=t.length;++u<f;){var c=t[u];(s=c)&&"object"==typeof s&&null!=(o=c)&&"number"==typeof(a=b(o))&&-1<a&&a%1==0&&a<=l&&(n||d(c)||h(c))?r?e(c,r,n,i):p(i,c):n||(i[i.length]=c)}return i}},{"lodash.isarguments":175,"lodash.isarray":176}],170:[function(e,t,r){var s=e("lodash.isfunction");t.exports=function(e,t){for(var r=-1,n=t.length,i=-1,a=[];++r<n;){var o=t[r];s(e[o])&&(a[++i]=o)}return a}},{"lodash.isfunction":177}],171:[function(e,t,r){var M=e("lodash._root"),B=1,x=2,l=4,I=8,D=16,P=32,k=64,n=128,i=512,F="Expected a function",a=1/0,T=9007199254740991,o=1.7976931348623157e308,s=NaN,u="__lodash_placeholder__",f="[object Function]",c="[object GeneratorFunction]",h=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,C=/^(?:0|[1-9]\d*)$/,m=parseInt;function G(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function H(e,t){for(var r=-1,n=e.length,i=-1,a=[];++r<n;)e[r]===t&&(e[r]=u,a[++i]=r);return a}var g=Object.prototype.toString,R=Math.max,L=Math.min,v=function(){function r(){}return function(e){if(y(e)){r.prototype=e;var t=new r;r.prototype=void 0}return t||{}}}();function O(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function N(n){return function(){var e=arguments;switch(e.length){case 0:return new n;case 1:return new n(e[0]);case 2:return new n(e[0],e[1]);case 3:return new n(e[0],e[1],e[2]);case 4:return new n(e[0],e[1],e[2],e[3]);case 5:return new n(e[0],e[1],e[2],e[3],e[4]);case 6:return new n(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new n(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var t=v(n.prototype),r=n.apply(t,e);return y(r)?r:t}}function V(u,f,c,h,d,l,p,b,m,g){var v=f&n,y=f&B,w=f&x,A=f&I,S=f&D,_=f&i,E=w?void 0:N(u);return function e(){for(var t=arguments.length,r=t,n=Array(t);r--;)n[r]=arguments[r];if(h&&(n=function(e,t,r){for(var n=r.length,i=-1,a=R(e.length-n,0),o=-1,s=t.length,u=Array(s+a);++o<s;)u[o]=t[o];for(;++i<n;)u[r[i]]=e[i];for(;a--;)u[o++]=e[i++];return u}(n,h,d)),l&&(n=function(e,t,r){for(var n=-1,i=r.length,a=-1,o=R(e.length-i,0),s=-1,u=t.length,f=Array(o+u);++a<o;)f[a]=e[a];for(var c=a;++s<u;)f[c+s]=t[s];for(;++n<i;)f[c+r[n]]=e[a++];return f}(n,l,p)),A||S){var i=e.placeholder,a=H(n,i);if((t-=a.length)<g)return j(u,f,V,i,c,n,a,b,m,g-t)}var o=y?c:this,s=w?o[u]:u;return b?n=function(e,t){for(var r,n,i=e.length,a=L(t.length,i),o=O(e);a--;){var s=t[a];e[a]=(n=i,r="number"==typeof(r=s)||C.test(r)?+r:-1,n=null==n?T:n,-1<r&&r%1==0&&r<n?o[s]:void 0)}return e}(n,b):_&&1<n.length&&n.reverse(),v&&m<n.length&&(n.length=m),this&&this!==M&&this instanceof e&&(s=E||N(s)),s.apply(o,n)}}function j(e,t,r,n,i,a,o,s,u,f){var c=t&I,h=s?O(s):void 0;t|=c?P:k,(t&=~(c?k:P))&l||(t&=~(B|x));var d=r(e,t,i,c?a:void 0,c?o:void 0,c?void 0:a,c?void 0:o,h,u,f);return d.placeholder=n,d}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function W(e){if(!e)return 0===e?e:0;if((e=function(e){if(y(e)){var t=(r=e.valueOf,(n=y(r)?g.call(r):"")==f||n==c?e.valueOf():e);e=y(t)?t+"":t}var r,n;if("string"!=typeof e)return 0===e?e:+e;e=e.replace(h,"");var i=p.test(e);return i||b.test(e)?m(e.slice(2),i?2:8):d.test(e)?s:+e}(e))===a||e===-a)return(e<0?-1:1)*o;var t=e%1;return e==e?t?e-t:e:0}t.exports=function(e,t,r,n,i,a,o,s){var u=t&x;if(!u&&"function"!=typeof e)throw new TypeError(F);var f=n?n.length:0;if(f||(t&=~(P|k),n=i=void 0),o=void 0===o?o:R(W(o),0),s=void 0===s?s:W(s),f-=i?i.length:0,t&k){var c=n,h=i;n=i=void 0}var d,l,p,b,m,g,v,y,w,A,S,_,E,T=[e,t,r,n,i,c,h,a,o,s];if(e=T[0],t=T[1],r=T[2],n=T[3],i=T[4],!(s=T[9]=null==T[9]?u?0:e.length:R(T[9]-f,0))&&t&(I|D)&&(t&=~(I|D)),t&&t!=B)t==I||t==D?(v=t,y=s,w=N(g=e),C=function e(){for(var t=arguments.length,r=t,n=Array(t),i=this&&this!==M&&this instanceof e?w:g,a=e.placeholder;r--;)n[r]=arguments[r];var o=t<3&&n[0]!==a&&n[t-1]!==a?[]:H(n,a);return(t-=o.length)<y?j(g,v,V,a,void 0,n,o,void 0,void 0,y-t):G(i,this,n)}):t!=P&&t!=(B|P)||i.length?C=V.apply(void 0,T):(l=r,p=n,b=t&B,m=N(d=e),C=function e(){for(var t=-1,r=arguments.length,n=-1,i=p.length,a=Array(i+r),o=this&&this!==M&&this instanceof e?m:d;++n<i;)a[n]=p[n];for(;r--;)a[n++]=arguments[++t];return G(o,b?l:this,a)});else var C=(S=r,_=t&B,E=N(A=e),function e(){return(this&&this!==M&&this instanceof e?E:A).apply(_?S:this,arguments)});return C}},{"lodash._root":172}],172:[function(e,c,h){(function(e){var t={function:!0,object:!0},r=t[typeof h]&&h&&!h.nodeType?h:void 0,n=t[typeof c]&&c&&!c.nodeType?c:void 0,i=f(r&&n&&"object"==typeof e&&e),a=f(t[typeof self]&&self),o=f(t[typeof window]&&window),s=f(t[typeof this]&&this),u=i||o!==(s&&s.window)&&o||a||s||Function("return this")();function f(e){return e&&e.Object===Object?e:null}c.exports=u}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],173:[function(e,t,r){var a=e("lodash._baseflatten"),o=e("lodash._createwrapper"),s=e("lodash.functions"),n=e("lodash.restparam"),i=n(function(e,t){for(var r=-1,n=(t=t.length?a(t):s(e)).length;++r<n;){var i=t[r];e[i]=o(e[i],1,e)}return e});t.exports=i},{"lodash._baseflatten":169,"lodash._createwrapper":171,"lodash.functions":174,"lodash.restparam":179}],174:[function(e,t,r){var n=e("lodash._basefunctions"),i=e("lodash.keysin");t.exports=function(e){return n(e,i(e))}},{"lodash._basefunctions":170,"lodash.keysin":178}],175:[function(e,t,r){var f=9007199254740991,c="[object Arguments]",h="[object Function]",d="[object GeneratorFunction]",n=Object.prototype,l=n.hasOwnProperty,p=n.toString,b=n.propertyIsEnumerable;t.exports=function(e){return!!(u=t=e)&&"object"==typeof u&&null!=(r=t)&&"number"==typeof(s=r.length)&&-1<s&&s%1==0&&s<=f&&(o=typeof(a=n=r),!((i=!a||"object"!=o&&"function"!=o?"":p.call(n))==h||i==d))&&l.call(e,"callee")&&(!b.call(e,"callee")||p.call(e)==c);var t,r,n,i,a,o,s,u}},{}],176:[function(e,t,r){var n="[object Function]",i=/^\[object .+?Constructor\]$/;function a(e){return!!e&&"object"==typeof e}var o,s,u,f,c,h,d,l=Object.prototype,p=Function.prototype.toString,b=l.hasOwnProperty,m=l.toString,g=RegExp("^"+p.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),v=(c=Array,h="isArray",d=null==c?void 0:c[h],null!=(o=d)&&(f=typeof(u=s=o),!u||"object"!=f&&"function"!=f||m.call(s)!=n?a(o)&&i.test(o):g.test(p.call(o)))?d:void 0),y=9007199254740991;var w=v||function(e){return a(e)&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=y)&&"[object Array]"==m.call(e);var t};t.exports=w},{}],177:[function(e,m,t){(function(e){var i="[object AsyncFunction]",a="[object Function]",o="[object GeneratorFunction]",r="[object Null]",s="[object Proxy]",n="[object Undefined]",t="object"==typeof e&&e&&e.Object===Object&&e,u="object"==typeof self&&self&&self.Object===Object&&self,f=t||u||Function("return this")(),c=Object.prototype,h=c.hasOwnProperty,d=c.toString,l=f.Symbol,p=l?l.toStringTag:void 0;function b(e){return null==e?void 0===e?n:r:p&&p in Object(e)?function(e){var t=h.call(e,p),r=e[p];try{var n=!(e[p]=void 0)}catch(e){}var i=d.call(e);n&&(t?e[p]=r:delete e[p]);return i}(e):(t=e,d.call(t));var t}m.exports=function(e){if(r=typeof(t=e),null==t||"object"!=r&&"function"!=r)return!1;var t,r,n=b(e);return n==a||n==o||n==i||n==s}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],178:[function(e,t,r){var l=e("lodash.isarguments"),p=e("lodash.isarray"),b=/^\d+$/,m=Object.prototype.hasOwnProperty,g=9007199254740991;t.exports=function(e){if(null==e)return[];var t,r;r=typeof(t=e),(!t||"object"!=r&&"function"!=r)&&(e=Object(e));var n,i=e.length;i=i&&"number"==typeof(n=i)&&-1<n&&n%1==0&&n<=g&&(p(e)||l(e))&&i||0;for(var a,o,s=e.constructor,u=-1,f="function"==typeof s&&s.prototype===e,c=Array(i),h=0<i;++u<i;)c[u]=u+"";for(var d in e)h&&(o=i,a="number"==typeof(a=d)||b.test(a)?+a:-1,o=null==o?g:o,-1<a&&a%1==0&&a<o)||"constructor"==d&&(f||!m.call(e,d))||c.push(d);return c}},{"lodash.isarguments":175,"lodash.isarray":176}],179:[function(e,t,r){var n="Expected a function",s=Math.max;t.exports=function(a,o){if("function"!=typeof a)throw new TypeError(n);return o=s(void 0===o?a.length-1:+o||0,0),function(){for(var e=arguments,t=-1,r=s(e.length-o,0),n=Array(r);++t<r;)n[t]=e[o+t];switch(o){case 0:return a.call(this,n);case 1:return a.call(this,e[0],n);case 2:return a.call(this,e[0],e[1],n)}var i=Array(o+1);for(t=-1;++t<o;)i[t]=e[t];return i[o]=n,a.apply(this,i)}}},{}],180:[function(e,t,r){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"İ":"i",I:"ı","İ":"i"}},az:{regexp:/[\u0130]/g,map:{"İ":"i",I:"ı","İ":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i̇",J:"j̇","Į":"į̇","Ì":"i̇̀","Í":"i̇́","Ĩ":"i̇̃"}}};t.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,function(e){return r.map[e]})),e.toLowerCase()}},{}],181:[function(i,a,e){(function(t){"use strict";var e=i("inherits"),r=i("hash-base"),o=new Array(16);function n(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function s(e,t){return e<<t|e>>>32-t}function u(e,t,r,n,i,a,o){return s(e+(t&r|~t&n)+i+a|0,o)+t|0}function f(e,t,r,n,i,a,o){return s(e+(t&n|r&~n)+i+a|0,o)+t|0}function c(e,t,r,n,i,a,o){return s(e+(t^r^n)+i+a|0,o)+t|0}function h(e,t,r,n,i,a,o){return s(e+(r^(t|~n))+i+a|0,o)+t|0}e(n,r),n.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,a=this._d;n=h(n=h(n=h(n=h(n=c(n=c(n=c(n=c(n=f(n=f(n=f(n=f(n=u(n=u(n=u(n=u(n,i=u(i,a=u(a,r=u(r,n,i,a,e[0],3614090360,7),n,i,e[1],3905402710,12),r,n,e[2],606105819,17),a,r,e[3],3250441966,22),i=u(i,a=u(a,r=u(r,n,i,a,e[4],4118548399,7),n,i,e[5],1200080426,12),r,n,e[6],2821735955,17),a,r,e[7],4249261313,22),i=u(i,a=u(a,r=u(r,n,i,a,e[8],1770035416,7),n,i,e[9],2336552879,12),r,n,e[10],4294925233,17),a,r,e[11],2304563134,22),i=u(i,a=u(a,r=u(r,n,i,a,e[12],1804603682,7),n,i,e[13],4254626195,12),r,n,e[14],2792965006,17),a,r,e[15],1236535329,22),i=f(i,a=f(a,r=f(r,n,i,a,e[1],4129170786,5),n,i,e[6],3225465664,9),r,n,e[11],643717713,14),a,r,e[0],3921069994,20),i=f(i,a=f(a,r=f(r,n,i,a,e[5],3593408605,5),n,i,e[10],38016083,9),r,n,e[15],3634488961,14),a,r,e[4],3889429448,20),i=f(i,a=f(a,r=f(r,n,i,a,e[9],568446438,5),n,i,e[14],3275163606,9),r,n,e[3],4107603335,14),a,r,e[8],1163531501,20),i=f(i,a=f(a,r=f(r,n,i,a,e[13],2850285829,5),n,i,e[2],4243563512,9),r,n,e[7],1735328473,14),a,r,e[12],2368359562,20),i=c(i,a=c(a,r=c(r,n,i,a,e[5],4294588738,4),n,i,e[8],2272392833,11),r,n,e[11],1839030562,16),a,r,e[14],4259657740,23),i=c(i,a=c(a,r=c(r,n,i,a,e[1],2763975236,4),n,i,e[4],1272893353,11),r,n,e[7],4139469664,16),a,r,e[10],3200236656,23),i=c(i,a=c(a,r=c(r,n,i,a,e[13],681279174,4),n,i,e[0],3936430074,11),r,n,e[3],3572445317,16),a,r,e[6],76029189,23),i=c(i,a=c(a,r=c(r,n,i,a,e[9],3654602809,4),n,i,e[12],3873151461,11),r,n,e[15],530742520,16),a,r,e[2],3299628645,23),i=h(i,a=h(a,r=h(r,n,i,a,e[0],4096336452,6),n,i,e[7],1126891415,10),r,n,e[14],2878612391,15),a,r,e[5],4237533241,21),i=h(i,a=h(a,r=h(r,n,i,a,e[12],1700485571,6),n,i,e[3],2399980690,10),r,n,e[10],4293915773,15),a,r,e[1],2240044497,21),i=h(i,a=h(a,r=h(r,n,i,a,e[8],1873313359,6),n,i,e[15],4264355552,10),r,n,e[6],2734768916,15),a,r,e[13],1309151649,21),i=h(i,a=h(a,r=h(r,n,i,a,e[4],4149444226,6),n,i,e[11],3174756917,10),r,n,e[2],718787259,15),a,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+a|0},n.prototype._digest=function(){this._block[this._blockOffset++]=128,56<this._blockOffset&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new t(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},a.exports=n}).call(this,i("buffer").Buffer)},{buffer:50,"hash-base":148,inherits:163}],182:[function(e,t,r){var l=e("bn.js"),n=e("brorand");function i(e){this.rand=e||new n.Rand}(t.exports=i).create=function(e){return new i(e)},i.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var n=new l(this.rand.generate(r))}while(0<=n.cmp(e));return n},i.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},i.prototype.test=function(e,t,r){var n=e.bitLength(),i=l.mont(e),a=new l(1).toRed(i);t||(t=Math.max(1,n/48|0));for(var o=e.subn(1),s=0;!o.testn(s);s++);for(var u=e.shrn(s),f=o.toRed(i);0<t;t--){var c=this._randrange(new l(2),o);r&&r(c);var h=c.toRed(i).redPow(u);if(0!==h.cmp(a)&&0!==h.cmp(f)){for(var d=1;d<s;d++){if(0===(h=h.redSqr()).cmp(a))return!1;if(0===h.cmp(f))break}if(d===s)return!1}}return!0},i.prototype.getDivisor=function(e,t){var r=e.bitLength(),n=l.mont(e),i=new l(1).toRed(n);t||(t=Math.max(1,r/48|0));for(var a=e.subn(1),o=0;!a.testn(o);o++);for(var s=e.shrn(o),u=a.toRed(n);0<t;t--){var f=this._randrange(new l(2),a),c=e.gcd(f);if(0!==c.cmpn(1))return c;var h=f.toRed(n).redPow(s);if(0!==h.cmp(i)&&0!==h.cmp(u)){for(var d=1;d<o;d++){if(0===(h=h.redSqr()).cmp(i))return h.fromRed().subn(1).gcd(e);if(0===h.cmp(u))break}if(d===o)return(h=h.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},{"bn.js":18,brorand:19}],183:[function(e,t,r){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}(t.exports=n).equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},{}],184:[function(e,t,r){"use strict";var n=r;function i(e){return 1===e.length?"0"+e:e}function a(e){for(var t="",r=0;r<e.length;r++)t+=i(e[r].toString(16));return t}n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(var n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16));else for(n=0;n<e.length;n++){var i=e.charCodeAt(n),a=i>>8,o=255&i;a?r.push(a,o):r.push(o)}return r},n.zero2=i,n.toHex=a,n.encode=function(e,t){return"hex"===t?a(e):e}},{}],185:[function(e,t,r){var h;!function(e){if(void 0!==t&&t.exports)return function(e){t.exports=e()};if("function"==typeof define&&define.amd)return define;if("undefined"!=typeof window)return function(e){window.MobileDetect=e()};throw new Error("unknown environment")}()(function(){"use strict";var s,u={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323)",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo 3DS",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-8703F",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},f=Object.prototype.hasOwnProperty;function t(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function r(e,t){var r,n,i=e.length;if(!i||!t)return!1;for(r=t.toLowerCase(),n=0;n<i;++n)if(r===e[n].toLowerCase())return!0;return!1}function c(e){for(var t in e)f.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function o(e,t){this.ua=(e||"").substr(0,500),this._cache={},this.maxPhoneWidth=t||600}return u.FALLBACK_PHONE="UnknownPhone",u.FALLBACK_TABLET="UnknownTablet",u.FALLBACK_MOBILE="UnknownMobile",s="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var e,t,r,n,i,a,o=u.mobileDetectRules;for(e in o.props)if(f.call(o.props,e)){for(t=o.props[e],s(t)||(t=[t]),i=t.length,n=0;n<i;++n)0<=(a=(r=t[n]).indexOf("[VER]"))&&(r=r.substring(0,a)+"([\\w._\\+]+)"+r.substring(a+5)),t[n]=new RegExp(r,"i");o.props[e]=t}c(o.oss),c(o.phones),c(o.tablets),c(o.uas),c(o.utils),o.oss0={WindowsPhoneOS:o.oss.WindowsPhoneOS,WindowsMobileOS:o.oss.WindowsMobileOS}}(),u.findMatch=function(e,t){for(var r in e)if(f.call(e,r)&&e[r].test(t))return r;return null},u.findMatches=function(e,t){var r=[];for(var n in e)f.call(e,n)&&e[n].test(t)&&r.push(n);return r},u.getVersionStr=function(e,t){var r,n,i,a,o=u.mobileDetectRules.props;if(f.call(o,e))for(i=(r=o[e]).length,n=0;n<i;++n)if(null!==(a=r[n].exec(t)))return a[1];return null},u.getVersion=function(e,t){var r=u.getVersionStr(e,t);return r?u.prepareVersionNo(r):NaN},u.prepareVersionNo=function(e){var t;return 1===(t=e.split(/[a-z._ \/\-]/i)).length&&(e=t[0]),1<t.length&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},u.isMobileFallback=function(e){return u.detectMobileBrowsers.fullPattern.test(e)||u.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},u.isTabletFallback=function(e){return u.detectMobileBrowsers.tabletPattern.test(e)},u.prepareDetectionCache=function(e,t,r){if(e.mobile===h){var n,i,a;if(i=u.findMatch(u.mobileDetectRules.tablets,t))return e.mobile=e.tablet=i,void(e.phone=null);if(n=u.findMatch(u.mobileDetectRules.phones,t))return e.mobile=e.phone=n,void(e.tablet=null);u.isMobileFallback(t)?(a=o.isPhoneSized(r))===h?(e.mobile=u.FALLBACK_MOBILE,e.tablet=e.phone=null):a?(e.mobile=e.phone=u.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=u.FALLBACK_TABLET,e.phone=null):u.isTabletFallback(t)?(e.mobile=e.tablet=u.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null}},u.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&4.3<=e.version("iPad")||e.os("iOS")&&3.1<=e.version("iPhone")||e.os("iOS")&&3.1<=e.version("iPod")||2.1<e.version("Android")&&e.is("Webkit")||7<=e.version("Windows Phone OS")||e.is("BlackBerry")&&6<=e.version("BlackBerry")||e.match("Playbook.*Tablet")||1.4<=e.version("webOS")&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&12<=e.version("Firefox")||e.is("Chrome")&&e.is("AndroidOS")&&4<=e.version("Android")||e.is("Skyfire")&&4.1<=e.version("Skyfire")&&e.is("AndroidOS")&&2.3<=e.version("Android")||e.is("Opera")&&11<e.version("Opera Mobi")&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&2<=e.version("Bada")||(e.is("UC Browser")||e.is("Dolfin"))&&2.3<=e.version("Android")||e.match("Kindle Fire")||e.is("Kindle")&&3<=e.version("Kindle")||e.is("AndroidOS")&&e.is("NookTablet")||11<=e.version("Chrome")&&!t||5<=e.version("Safari")&&!t||4<=e.version("Firefox")&&!t||7<=e.version("MSIE")&&!t||10<=e.version("Opera")&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&5<=e.version("BlackBerry")&&e.version("BlackBerry")<6||5<=e.version("Opera Mini")&&e.version("Opera Mini")<=6.5&&(2.3<=e.version("Android")||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||11<=e.version("Opera Mobi")&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile"),"C")},u.detectOS=function(e){return u.findMatch(u.mobileDetectRules.oss0,e)||u.findMatch(u.mobileDetectRules.oss,e)},u.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},o.prototype={constructor:o,mobile:function(){return u.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return u.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return u.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===h&&(this._cache.userAgent=u.findMatch(u.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===h&&(this._cache.userAgents=u.findMatches(u.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===h&&(this._cache.os=u.detectOS(this.ua)),this._cache.os},version:function(e){return u.getVersion(e,this.ua)},versionStr:function(e){return u.getVersionStr(e,this.ua)},is:function(e){return r(this.userAgents(),e)||t(e,this.os())||t(e,this.phone())||t(e,this.tablet())||r(u.findMatches(u.mobileDetectRules.utils,this.ua),e)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return o.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===h&&(this._cache.grade=u.mobileGrade(this)),this._cache.grade}},o.isPhoneSized="undefined"!=typeof window&&window.screen?function(e){return e<0?h:u.getDeviceSmallerSide()<=e}:function(){},o._impl=u,o.version="1.4.1 2017-12-24",o})},{}],186:[function(e,t,r){"use strict";t.exports=function(t,i){i||(i=t,t=window);var a=0,o=0,s=0,u={shift:!1,alt:!1,control:!1,meta:!1},r=!1;function f(e){var t=!1;return"altKey"in e&&(t=t||e.altKey!==u.alt,u.alt=!!e.altKey),"shiftKey"in e&&(t=t||e.shiftKey!==u.shift,u.shift=!!e.shiftKey),"ctrlKey"in e&&(t=t||e.ctrlKey!==u.control,u.control=!!e.ctrlKey),"metaKey"in e&&(t=t||e.metaKey!==u.meta,u.meta=!!e.metaKey),t}function n(e,t){var r=g.x(t),n=g.y(t);"buttons"in t&&(e=0|t.buttons),(e!==a||r!==o||n!==s||f(t))&&(a=0|e,o=r||0,s=n||0,i&&i(a,o,s,u))}function c(e){n(0,e)}function h(){(a||o||s||u.shift||u.alt||u.meta||u.control)&&(o=s=0,a=0,u.shift=u.alt=u.control=u.meta=!1,i&&i(0,0,0,u))}function d(e){f(e)&&i&&i(a,o,s,u)}function l(e){0===g.buttons(e)?n(0,e):n(a,e)}function p(e){n(a|g.buttons(e),e)}function b(e){n(a&~g.buttons(e),e)}function m(){r||(r=!0,t.addEventListener("mousemove",l),t.addEventListener("mousedown",p),t.addEventListener("mouseup",b),t.addEventListener("mouseleave",c),t.addEventListener("mouseenter",c),t.addEventListener("mouseout",c),t.addEventListener("mouseover",c),t.addEventListener("blur",h),t.addEventListener("keyup",d),t.addEventListener("keydown",d),t.addEventListener("keypress",d),t!==window&&(window.addEventListener("blur",h),window.addEventListener("keyup",d),window.addEventListener("keydown",d),window.addEventListener("keypress",d)))}m();var e={element:t};return Object.defineProperties(e,{enabled:{get:function(){return r},set:function(e){e?m():r&&(r=!1,t.removeEventListener("mousemove",l),t.removeEventListener("mousedown",p),t.removeEventListener("mouseup",b),t.removeEventListener("mouseleave",c),t.removeEventListener("mouseenter",c),t.removeEventListener("mouseout",c),t.removeEventListener("mouseover",c),t.removeEventListener("blur",h),t.removeEventListener("keyup",d),t.removeEventListener("keydown",d),t.removeEventListener("keypress",d),t!==window&&(window.removeEventListener("blur",h),window.removeEventListener("keyup",d),window.removeEventListener("keydown",d),window.removeEventListener("keypress",d)))},enumerable:!0},buttons:{get:function(){return a},enumerable:!0},x:{get:function(){return o},enumerable:!0},y:{get:function(){return s},enumerable:!0},mods:{get:function(){return u},enumerable:!0}}),e};var g=e("mouse-event")},{"mouse-event":188}],187:[function(e,t,r){var s={left:0,top:0};t.exports=function(e,t,r){t=t||e.currentTarget||e.srcElement,Array.isArray(r)||(r=[0,0]);var n=e.clientX||0,i=e.clientY||0,a=(o=t,o===window||o===document||o===document.body?s:o.getBoundingClientRect());var o;return r[0]=n-a.left,r[1]=i-a.top,r}},{}],188:[function(e,t,r){"use strict";function n(e){return e.target||e.srcElement||window}r.buttons=function(e){if("object"==typeof e){if("buttons"in e)return e.buttons;if("which"in e){if(2===(t=e.which))return 4;if(3===t)return 2;if(0<t)return 1<<t-1}else if("button"in e){var t;if(1===(t=e.button))return 4;if(2===t)return 2;if(0<=t)return 1<<t}}return 0},r.element=n,r.x=function(e){if("object"==typeof e){if("offsetX"in e)return e.offsetX;var t=n(e).getBoundingClientRect();return e.clientX-t.left}return 0},r.y=function(e){if("object"==typeof e){if("offsetY"in e)return e.offsetY;var t=n(e).getBoundingClientRect();return e.clientY-t.top}return 0}},{}],189:[function(y,w,e){(function(v){!function(n){"use strict";var o,i,t,a,e;n?function(){var e=n.crypto||n.msCrypto;if(!o&&e&&e.getRandomValues)try{var t=new Uint8Array(16);a=o=function(){return e.getRandomValues(t),t},o()}catch(e){}if(!o){var r=new Array(16);i=o=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r},"undefined"!=typeof console&&console.warn&&console.warn("[SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random()")}}():function(){if("function"==typeof y)try{var e=y("crypto").randomBytes;t=o=e&&function(){return e(16)},o()}catch(e){}}();for(var s="function"==typeof v?v:Array,u=[],f={},r=0;r<256;r++)u[r]=(r+256).toString(16).substr(1),f[u[r]]=r;function l(e,t){var r=t||0,n=u;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var c=o(),p=[1|c[0],c[1],c[2],c[3],c[4],c[5]],b=16383&(c[6]<<8|c[7]),m=0,g=0;function h(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"===e?new s(16):null,e=null);var i=(e=e||{}).random||(e.rng||o)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var a=0;a<16;a++)t[n+a]=i[a];return t||l(i)}var d=h;d.v1=function(e,t,r){var n=t&&r||0,i=t||[],a=null!=(e=e||{}).clockseq?e.clockseq:b,o=null!=e.msecs?e.msecs:(new Date).getTime(),s=null!=e.nsecs?e.nsecs:g+1,u=o-m+(s-g)/1e4;if(u<0&&null==e.clockseq&&(a=a+1&16383),(u<0||m<o)&&null==e.nsecs&&(s=0),1e4<=s)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");m=o,b=a;var f=(1e4*(268435455&(o+=122192928e5))+(g=s))%4294967296;i[n++]=f>>>24&255,i[n++]=f>>>16&255,i[n++]=f>>>8&255,i[n++]=255&f;var c=o/4294967296*1e4&268435455;i[n++]=c>>>8&255,i[n++]=255&c,i[n++]=c>>>24&15|16,i[n++]=c>>>16&255,i[n++]=a>>>8|128,i[n++]=255&a;for(var h=e.node||p,d=0;d<6;d++)i[n+d]=h[d];return t||l(i)},d.v4=h,d.parse=function(e,t,r){var n=t&&r||0,i=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){i<16&&(t[n+i++]=f[e])});i<16;)t[n+i++]=0;return t},d.unparse=l,d.BufferClass=s,d._rng=o,d._mathRNG=i,d._nodeRNG=t,d._whatwgRNG=a,void 0!==w&&w.exports?w.exports=d:"function"==typeof define&&define.amd?define(function(){return d}):(e=n.uuid,d.noConflict=function(){return n.uuid=e,d},n.uuid=d)}("undefined"!=typeof window?window:null)}).call(this,y("buffer").Buffer)},{buffer:50,crypto:74}],190:[function(e,t,r){var n=e("sentence-case");t.exports=function(e,t){return n(e,t,"-")}},{"sentence-case":232}],191:[function(e,t,r){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],192:[function(e,t,r){"use strict";var n=e("asn1.js");r.certificate=e("./certificate");var i=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});r.RSAPrivateKey=i;var a=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});r.RSAPublicKey=a;var o=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())});r.PublicKey=o;var s=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),u=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())});r.PrivateKey=u;var f=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});r.EncryptedPrivateKey=f;var c=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});r.DSAPrivateKey=c,r.DSAparam=n.define("DSAparam",function(){this.int()});var h=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())});r.ECPrivateKey=h;var d=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});r.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":193,"asn1.js":3}],193:[function(e,t,r){"use strict";var n=e("asn1.js"),i=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),a=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),o=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional())}),s=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())}),u=n.define("RelativeDistinguishedName",function(){this.setof(a)}),f=n.define("RDNSequence",function(){this.seqof(u)}),c=n.define("Name",function(){this.choice({rdnSequence:this.use(f)})}),h=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))}),d=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),l=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(c),this.key("validity").use(h),this.key("subject").use(c),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())}),p=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(l),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())});t.exports=p},{"asn1.js":3}],194:[function(e,t,r){(function(d){var l=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,p=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----/m,b=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,m=e("evp_bytestokey"),g=e("browserify-aes");t.exports=function(e,t){var r,n=e.toString(),i=n.match(l);if(i){var a="aes"+i[1],o=new d(i[2],"hex"),s=new d(i[3].replace(/[\r\n]/g,""),"base64"),u=m(t,o.slice(0,8),parseInt(i[1],10)).key,f=[],c=g.createDecipheriv(a,u,o);f.push(c.update(s)),f.push(c.final()),r=d.concat(f)}else{var h=n.match(b);r=new d(h[2].replace(/[\r\n]/g,""),"base64")}return{tag:n.match(p)[1],data:r}}}).call(this,e("buffer").Buffer)},{"browserify-aes":23,buffer:50,evp_bytestokey:123}],195:[function(t,r,e){(function(v){var y=t("./asn1"),w=t("./aesid.json"),A=t("./fixProc"),S=t("browserify-aes"),_=t("pbkdf2");function e(e){var t;"object"!=typeof e||v.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=new v(e));var r,n,i,a,o,s,u,f,c,h,d,l,p,b=A(e,t),m=b.tag,g=b.data;switch(m){case"CERTIFICATE":n=y.certificate.decode(g,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(n||(n=y.PublicKey.decode(g,"der")),r=n.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return y.RSAPublicKey.decode(n.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return n.subjectPrivateKey=n.subjectPublicKey,{type:"ec",data:n};case"1.2.840.10040.4.1":return n.algorithm.params.pub_key=y.DSAparam.decode(n.subjectPublicKey.data,"der"),{type:"dsa",data:n.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+m);case"ENCRYPTED PRIVATE KEY":g=y.EncryptedPrivateKey.decode(g,"der"),a=t,o=(i=g).algorithm.decrypt.kde.kdeparams.salt,s=parseInt(i.algorithm.decrypt.kde.kdeparams.iters.toString(),10),u=w[i.algorithm.decrypt.cipher.algo.join(".")],f=i.algorithm.decrypt.cipher.iv,c=i.subjectPrivateKey,h=parseInt(u.split("-")[1],10)/8,d=_.pbkdf2Sync(a,o,s,h),l=S.createDecipheriv(u,d,f),(p=[]).push(l.update(c)),p.push(l.final()),g=v.concat(p);case"PRIVATE KEY":switch(r=(n=y.PrivateKey.decode(g,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return y.RSAPrivateKey.decode(n.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:n.algorithm.curve,privateKey:y.ECPrivateKey.decode(n.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return n.algorithm.params.priv_key=y.DSAparam.decode(n.subjectPrivateKey,"der"),{type:"dsa",params:n.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+m);case"RSA PUBLIC KEY":return y.RSAPublicKey.decode(g,"der");case"RSA PRIVATE KEY":return y.RSAPrivateKey.decode(g,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:y.DSAPrivateKey.decode(g,"der")};case"EC PRIVATE KEY":return{curve:(g=y.ECPrivateKey.decode(g,"der")).parameters.value,privateKey:g.privateKey};default:throw new Error("unknown key type "+m)}}(r.exports=e).signature=y.signature}).call(this,t("buffer").Buffer)},{"./aesid.json":191,"./asn1":192,"./fixProc":194,"browserify-aes":23,buffer:50,pbkdf2:197}],196:[function(e,t,f){(function(i){function a(e,t){for(var r=0,n=e.length-1;0<=n;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}var t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,o=function(e){return t.exec(e).slice(1)};function s(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}f.resolve=function(){for(var e="",t=!1,r=arguments.length-1;-1<=r&&!t;r--){var n=0<=r?arguments[r]:i.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=a(s(e.split("/"),function(e){return!!e}),!t).join("/"))||"."},f.normalize=function(e){var t=f.isAbsolute(e),r="/"===n(e,-1);return(e=a(s(e.split("/"),function(e){return!!e}),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e},f.isAbsolute=function(e){return"/"===e.charAt(0)},f.join=function(){var e=Array.prototype.slice.call(arguments,0);return f.normalize(s(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},f.relative=function(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;0<=r&&""===e[r];r--);return r<t?[]:e.slice(t,r-t+1)}e=f.resolve(e).substr(1),t=f.resolve(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),a=Math.min(n.length,i.length),o=a,s=0;s<a;s++)if(n[s]!==i[s]){o=s;break}var u=[];for(s=o;s<n.length;s++)u.push("..");return(u=u.concat(i.slice(o))).join("/")},f.sep="/",f.delimiter=":",f.dirname=function(e){var t=o(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},f.basename=function(e,t){var r=o(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},f.extname=function(e){return o(e)[3]};var n="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,e("_process"))},{_process:205}],197:[function(e,t,r){r.pbkdf2=e("./lib/async"),r.pbkdf2Sync=e("./lib/sync")},{"./lib/async":198,"./lib/sync":201}],198:[function(e,t,r){(function(f,c){var h,d=e("./precondition"),l=e("./default-encoding"),p=e("./sync"),b=e("safe-buffer").Buffer,m=c.crypto&&c.crypto.subtle,g={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},v=[];function y(e,t,r,n,i){return m.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return m.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)}).then(function(e){return b.from(e)})}t.exports=function(t,r,n,i,a,o){if(b.isBuffer(t)||(t=b.from(t,l)),b.isBuffer(r)||(r=b.from(r,l)),d(n,i),"function"==typeof a&&(o=a,a=void 0),"function"!=typeof o)throw new Error("No callback provided to pbkdf2");var e,s,u=g[(a=a||"sha1").toLowerCase()];if(!u||"function"!=typeof c.Promise)return f.nextTick(function(){var e;try{e=p(t,r,n,i,a)}catch(e){return o(e)}o(null,e)});e=function(e){if(c.process&&!c.process.browser)return Promise.resolve(!1);if(!m||!m.importKey||!m.deriveBits)return Promise.resolve(!1);if(void 0!==v[e])return v[e];var t=y(h=h||b.alloc(8),h,10,128,e).then(function(){return!0}).catch(function(){return!1});return v[e]=t}(u).then(function(e){return e?y(t,r,n,i,u):p(t,r,n,i,a)}),s=o,e.then(function(e){f.nextTick(function(){s(null,e)})},function(e){f.nextTick(function(){s(e)})})}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":199,"./precondition":200,"./sync":201,_process:205,"safe-buffer":231}],199:[function(e,r,t){(function(e){var t;e.browser?t="utf-8":t=6<=parseInt(e.version.split(".")[0].slice(1),10)?"utf-8":"binary";r.exports=t}).call(this,e("_process"))},{_process:205}],200:[function(e,t,r){var n=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||n<t||t!=t)throw new TypeError("Bad key length")}},{}],201:[function(e,t,r){var c=e("create-hash/md5"),h=e("ripemd160"),d=e("sha.js"),m=e("./precondition"),g=e("./default-encoding"),v=e("safe-buffer").Buffer,l=v.alloc(128),y={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function w(e,t,r){var n,i="rmd160"===(n=e)||"ripemd160"===n?h:"md5"===n?c:function(e){return d(n).update(e).digest()},a="sha512"===e||"sha384"===e?128:64;t.length>a?t=i(t):t.length<a&&(t=v.concat([t,l],a));for(var o=v.allocUnsafe(a+y[e]),s=v.allocUnsafe(a+y[e]),u=0;u<a;u++)o[u]=54^t[u],s[u]=92^t[u];var f=v.allocUnsafe(a+r+4);o.copy(f,0,0,a),this.ipad1=f,this.ipad2=o,this.opad=s,this.alg=e,this.blocksize=a,this.hash=i,this.size=y[e]}w.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(e,t,r,n,i){v.isBuffer(e)||(e=v.from(e,g)),v.isBuffer(t)||(t=v.from(t,g)),m(r,n);var a=new w(i=i||"sha1",e,t.length),o=v.allocUnsafe(n),s=v.allocUnsafe(t.length+4);t.copy(s,0,0,t.length);for(var u=0,f=y[i],c=Math.ceil(n/f),h=1;h<=c;h++){s.writeUInt32BE(h,t.length);for(var d=a.run(s,a.ipad1),l=d,p=1;p<r;p++){l=a.run(l,a.ipad2);for(var b=0;b<f;b++)d[b]^=l[b]}d.copy(o,u),u+=f}return o}},{"./default-encoding":199,"./precondition":200,"create-hash/md5":71,ripemd160:229,"safe-buffer":231,"sha.js":237}],202:[function(e,t,r){var a=null,o=["Webkit","Moz","O","ms"];t.exports=function(e){a||(a=document.createElement("div"));var t=a.style;if(e in t)return e;for(var r=e.charAt(0).toUpperCase()+e.slice(1),n=o.length;0<=n;n--){var i=o[n]+r;if(i in t)return i}return!1}},{}],203:[function(e,t,r){function n(e){return e}t.exports=n,t.exports.dash=n,t.exports.dash=n},{}],204:[function(e,t,r){(function(s){"use strict";!s.version||0===s.version.indexOf("v0.")||0===s.version.indexOf("v1.")&&0!==s.version.indexOf("v1.8.")?t.exports={nextTick:function(e,t,r,n){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,a,o=arguments.length;switch(o){case 0:case 1:return s.nextTick(e);case 2:return s.nextTick(function(){e.call(null,t)});case 3:return s.nextTick(function(){e.call(null,t,r)});case 4:return s.nextTick(function(){e.call(null,t,r,n)});default:for(i=new Array(o-1),a=0;a<i.length;)i[a++]=arguments[a];return s.nextTick(function(){e.apply(null,i)})}}}:t.exports=s}).call(this,e("_process"))},{_process:205}],205:[function(e,t,r){var n,i,a=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function u(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var f,c=[],h=!1,d=-1;function l(){h&&f&&(h=!1,f.length?c=f.concat(c):d=-1,c.length&&p())}function p(){if(!h){var e=u(l);h=!0;for(var t=c.length;t;){for(f=c,c=[];++d<t;)f&&f[d].run();d=-1,t=c.length}f=null,h=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(e)}}function b(e,t){this.fun=e,this.array=t}function m(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new b(e,t)),1!==c.length||h||u(p)},b.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=m,a.addListener=m,a.once=m,a.off=m,a.removeListener=m,a.removeAllListeners=m,a.emit=m,a.prependListener=m,a.prependOnceListener=m,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],206:[function(e,t,r){r.publicEncrypt=e("./publicEncrypt"),r.privateDecrypt=e("./privateDecrypt"),r.privateEncrypt=function(e,t){return r.publicEncrypt(e,t,!0)},r.publicDecrypt=function(e,t){return r.privateDecrypt(e,t,!0)}},{"./privateDecrypt":208,"./publicEncrypt":209}],207:[function(e,t,r){(function(a){var o=e("create-hash");function s(e){var t=new a(4);return t.writeUInt32BE(e,0),t}t.exports=function(e,t){for(var r,n=new a(""),i=0;n.length<t;)r=s(i++),n=a.concat([n,o("sha1").update(e).update(r).digest()]);return n.slice(0,t)}}).call(this,e("buffer").Buffer)},{buffer:50,"create-hash":70}],208:[function(e,t,r){(function(c){var u=e("parse-asn1"),h=e("./mgf"),d=e("./xor"),f=e("bn.js"),l=e("browserify-rsa"),p=e("create-hash"),b=e("./withPublic");t.exports=function(e,t,r){var n;n=e.padding?e.padding:r?1:4;var i,a=u(e),o=a.modulus.byteLength();if(t.length>o||0<=new f(t).cmp(a.modulus))throw new Error("decryption error");i=r?b(new f(t),a):l(t,a);var s=new c(o-i.length);if(s.fill(0),i=c.concat([s,i],o),4===n)return function(e,t){e.modulus;var r=e.modulus.byteLength(),n=(t.length,p("sha1").update(new c("")).digest()),i=n.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,i+1),o=t.slice(i+1),s=d(a,h(o,i)),u=d(o,h(s,r-i-1));if(function(e,t){e=new c(e),t=new c(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var i=-1;for(;++i<n;)r+=e[i]^t[i];return r}(n,u.slice(0,i)))throw new Error("decryption error");var f=i;for(;0===u[f];)f++;if(1!==u[f++])throw new Error("decryption error");return u.slice(f)}(a,i);if(1===n)return function(e,t,r){var n=t.slice(0,2),i=2,a=0;for(;0!==t[i++];)if(i>=t.length){a++;break}var o=t.slice(2,i-1);t.slice(i-1,i);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&a++;o.length<8&&a++;if(a)throw new Error("decryption error");return t.slice(i)}(0,i,r);if(3===n)return i;throw new Error("unknown padding")}}).call(this,e("buffer").Buffer)},{"./mgf":207,"./withPublic":210,"./xor":211,"bn.js":18,"browserify-rsa":41,buffer:50,"create-hash":70,"parse-asn1":195}],209:[function(e,t,r){(function(d){var o=e("parse-asn1"),l=e("randombytes"),p=e("create-hash"),b=e("./mgf"),m=e("./xor"),g=e("bn.js"),s=e("./withPublic"),u=e("browserify-rsa");t.exports=function(e,t,r){var n;n=e.padding?e.padding:r?1:4;var i,a=o(e);if(4===n)i=function(e,t){var r=e.modulus.byteLength(),n=t.length,i=p("sha1").update(new d("")).digest(),a=i.length,o=2*a;if(r-o-2<n)throw new Error("message too long");var s=new d(r-n-o-2);s.fill(0);var u=r-a-1,f=l(a),c=m(d.concat([i,s,new d([1]),t],u),b(f,u)),h=m(f,b(c,a));return new g(d.concat([new d([0]),h,c],r))}(a,t);else if(1===n)i=function(e,t,r){var n,i=t.length,a=e.modulus.byteLength();if(a-11<i)throw new Error("message too long");r?(n=new d(a-i-3)).fill(255):n=function(e,t){var r,n=new d(e),i=0,a=l(2*e),o=0;for(;i<e;)o===a.length&&(a=l(2*e),o=0),(r=a[o++])&&(n[i++]=r);return n}(a-i-3);return new g(d.concat([new d([0,r?1:2]),n,new d([0]),t],a))}(a,t,r);else{if(3!==n)throw new Error("unknown padding");if(0<=(i=new g(t)).cmp(a.modulus))throw new Error("data too long for modulus")}return r?u(i,a):s(i,a)}}).call(this,e("buffer").Buffer)},{"./mgf":207,"./withPublic":210,"./xor":211,"bn.js":18,"browserify-rsa":41,buffer:50,"create-hash":70,"parse-asn1":195,randombytes:212}],210:[function(e,t,r){(function(r){var n=e("bn.js");t.exports=function(e,t){return new r(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}}).call(this,e("buffer").Buffer)},{"bn.js":18,buffer:50}],211:[function(e,t,r){t.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},{}],212:[function(e,t,r){(function(i,a){"use strict";var o=e("safe-buffer").Buffer,s=a.crypto||a.msCrypto;s&&s.getRandomValues?t.exports=function(e,t){if(65536<e)throw new Error("requested too many random bytes");var r=new a.Uint8Array(e);0<e&&s.getRandomValues(r);var n=o.from(r.buffer);if("function"==typeof t)return i.nextTick(function(){t(null,n)});return n}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:205,"safe-buffer":231}],213:[function(r,e,l){(function(o,i){"use strict";function e(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var t=r("safe-buffer"),s=r("randombytes"),a=t.Buffer,n=t.kMaxLength,u=i.crypto||i.msCrypto,f=Math.pow(2,32)-1;function c(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(f<e||e<0)throw new TypeError("offset must be a uint32");if(n<e||t<e)throw new RangeError("offset out of range")}function h(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(f<e||e<0)throw new TypeError("size must be a uint32");if(r<e+t||n<e)throw new RangeError("buffer too small")}function d(r,n,e,i){if(o.browser){var t=r.buffer,a=new Uint8Array(t,n,e);return u.getRandomValues(a),i?void o.nextTick(function(){i(null,r)}):r}if(!i)return s(e).copy(r,n),r;s(e,function(e,t){if(e)return i(e);t.copy(r,n),i(null,r)})}u&&u.getRandomValues||!o.browser?(l.randomFill=function(e,t,r,n){if(!(a.isBuffer(e)||e instanceof i.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)n=t,t=0,r=e.length;else if("function"==typeof r)n=r,r=e.length-t;else if("function"!=typeof n)throw new TypeError('"cb" argument must be a function');return c(t,e.length),h(r,t,e.length),d(e,t,r,n)},l.randomFillSync=function(e,t,r){void 0===t&&(t=0);if(!(a.isBuffer(e)||e instanceof i.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');c(t,e.length),void 0===r&&(r=e.length-t);return h(r,t,e.length),d(e,t,r)}):(l.randomFill=e,l.randomFillSync=e)}).call(this,r("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:205,randombytes:212,"safe-buffer":231}],214:[function(e,t,r){t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":215}],215:[function(e,t,r){"use strict";var n=e("process-nextick-args"),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=h;var a=e("core-util-is");a.inherits=e("inherits");var o=e("./_stream_readable"),s=e("./_stream_writable");a.inherits(h,o);for(var u=i(s.prototype),f=0;f<u.length;f++){var c=u[f];h.prototype[c]||(h.prototype[c]=s.prototype[c])}function h(e){if(!(this instanceof h))return new h(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||n.nextTick(l,this)}function l(e){e.end()}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),h.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},{"./_stream_readable":217,"./_stream_writable":219,"core-util-is":68,inherits:163,"process-nextick-args":204}],216:[function(e,t,r){"use strict";t.exports=a;var n=e("./_stream_transform"),i=e("core-util-is");function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=e("inherits"),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":218,"core-util-is":68,inherits:163}],217:[function(k,F,e){(function(m,e){"use strict";var g=k("process-nextick-args");F.exports=d;var o,v=k("isarray");d.ReadableState=a;k("events").EventEmitter;var y=function(e,t){return e.listeners(t).length},i=k("./internal/streams/stream"),f=k("safe-buffer").Buffer,c=e.Uint8Array||function(){};var t=k("core-util-is");t.inherits=k("inherits");var r=k("util"),w=void 0;w=r&&r.debuglog?r.debuglog("stream"):function(){};var s,u=k("./internal/streams/BufferList"),n=k("./internal/streams/destroy");t.inherits(d,i);var h=["error","close","destroy","pause","resume"];function a(e,t){e=e||{};var r=t instanceof(o=o||k("./_stream_duplex"));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,i=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:r&&(i||0===i)?i:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new u,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(s||(s=k("string_decoder/").StringDecoder),this.decoder=new s(e.encoding),this.encoding=e.encoding)}function d(e){if(o=o||k("./_stream_duplex"),!(this instanceof d))return new d(e);this._readableState=new a(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),i.call(this)}function l(e,t,r,n,i){var a,o,s,u=e._readableState;null===t?(u.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,S(e)}(e,u)):(i||(a=function(e,t){var r;n=t,f.isBuffer(n)||n instanceof c||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(u,t)),a?e.emit("error",a):u.objectMode||t&&0<t.length?("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===f.prototype||(o=t,t=f.from(o)),n?u.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):p(e,u,t,!0):u.ended?e.emit("error",new Error("stream.push() after EOF")):(u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?p(e,u,t,!1):E(e,u)):p(e,u,t,!1))):n||(u.reading=!1));return!(s=u).ended&&(s.needReadable||s.length<s.highWaterMark||0===s.length)}function p(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&S(e)),E(e,t)}Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),d.prototype.destroy=n.destroy,d.prototype._undestroy=n.undestroy,d.prototype._destroy=function(e,t){this.push(null),t(e)},d.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=f.from(e,t),t=""),r=!0),l(this,e,t,!1,r)},d.prototype.unshift=function(e){return l(this,e,null,!0,!1)},d.prototype.isPaused=function(){return!1===this._readableState.flowing},d.prototype.setEncoding=function(e){return s||(s=k("string_decoder/").StringDecoder),this._readableState.decoder=new s(e),this._readableState.encoding=e,this};var b=8388608;function A(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=(b<=(r=e)?r=b:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0));var r}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(w("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?g.nextTick(_,e):_(e))}function _(e){w("emit readable"),e.emit("readable"),B(e)}function E(e,t){t.readingMore||(t.readingMore=!0,g.nextTick(T,e,t))}function T(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(w("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function C(e){w("readable nexttick read 0"),e.read(0)}function M(e,t){t.reading||(w("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),B(e),t.flowing&&!t.reading&&e.read(0)}function B(e){var t=e._readableState;for(w("flow",t.flowing);t.flowing&&null!==e.read(););}function x(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r).data=a.slice(o);break}++n}return t.length-=n,i}(e,t):function(e,t){var r=f.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n).data=a.slice(o);break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function I(e){var t=e._readableState;if(0<t.length)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,g.nextTick(D,t,e))}function D(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function P(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}d.prototype.read=function(e){w("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return w("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):S(this),null;if(0===(e=A(e,t))&&t.ended)return 0===t.length&&I(this),null;var n,i=t.needReadable;return w("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&w("length less than watermark",i=!0),t.ended||t.reading?w("reading or ended",i=!1):i&&(w("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=A(r,t))),null===(n=0<e?x(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&I(this)),null!==n&&this.emit("data",n),n},d.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},d.prototype.pipe=function(r,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=r;break;case 1:i.pipes=[i.pipes,r];break;default:i.pipes.push(r)}i.pipesCount+=1,w("pipe count=%d opts=%j",i.pipesCount,e);var t=(!e||!1!==e.end)&&r!==m.stdout&&r!==m.stderr?o:b;function a(e,t){w("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,w("cleanup"),r.removeListener("close",l),r.removeListener("finish",p),r.removeListener("drain",u),r.removeListener("error",d),r.removeListener("unpipe",a),n.removeListener("end",o),n.removeListener("end",b),n.removeListener("data",h),f=!0,!i.awaitDrain||r._writableState&&!r._writableState.needDrain||u())}function o(){w("onend"),r.end()}i.endEmitted?g.nextTick(t):n.once("end",t),r.on("unpipe",a);var s,u=(s=n,function(){var e=s._readableState;w("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&y(s,"data")&&(e.flowing=!0,B(s))});r.on("drain",u);var f=!1;var c=!1;function h(e){w("ondata"),(c=!1)!==r.write(e)||c||((1===i.pipesCount&&i.pipes===r||1<i.pipesCount&&-1!==P(i.pipes,r))&&!f&&(w("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,c=!0),n.pause())}function d(e){w("onerror",e),b(),r.removeListener("error",d),0===y(r,"error")&&r.emit("error",e)}function l(){r.removeListener("finish",p),b()}function p(){w("onfinish"),r.removeListener("close",l),b()}function b(){w("unpipe"),n.unpipe(r)}return n.on("data",h),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?v(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(r,"error",d),r.once("close",l),r.once("finish",p),r.emit("pipe",n),i.flowing||(w("pipe resume"),n.resume()),r},d.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,r);return this}var o=P(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},d.prototype.addListener=d.prototype.on=function(e,t){var r=i.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&S(this):g.nextTick(C,this))}return r},d.prototype.resume=function(){var e,t,r=this._readableState;return r.flowing||(w("resume"),r.flowing=!0,e=this,(t=r).resumeScheduled||(t.resumeScheduled=!0,g.nextTick(M,e,t))),this},d.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this},d.prototype.wrap=function(t){var r=this,n=this._readableState,i=!1;for(var e in t.on("end",function(){if(w("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),t.on("data",function(e){(w("wrapped data"),n.decoder&&(e=n.decoder.write(e)),n.objectMode&&null==e)||(n.objectMode||e&&e.length)&&(r.push(e)||(i=!0,t.pause()))}),t)void 0===this[e]&&"function"==typeof t[e]&&(this[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e));for(var a=0;a<h.length;a++)t.on(h[a],this.emit.bind(this,h[a]));return this._read=function(e){w("wrapped _read",e),i&&(i=!1,t.resume())},this},Object.defineProperty(d.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),d._fromList=x}).call(this,k("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":215,"./internal/streams/BufferList":220,"./internal/streams/destroy":221,"./internal/streams/stream":222,_process:205,"core-util-is":68,events:48,inherits:163,isarray:168,"process-nextick-args":204,"safe-buffer":231,"string_decoder/":248,util:20}],218:[function(e,t,r){"use strict";t.exports=a;var n=e("./_stream_duplex"),i=e("core-util-is");function a(e){if(!(this instanceof a))return new a(e);n.call(this,e),this._transformState={afterTransform:function(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,(r.writecb=null)!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",o)}function o(){var r=this;"function"==typeof this._flush?this._flush(function(e,t){s(r,e,t)}):s(this,null,null)}function s(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=e("inherits"),i.inherits(a,n),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,function(e){t(e),r.emit("close")})}},{"./_stream_duplex":215,"core-util-is":68,inherits:163}],219:[function(S,_,e){(function(e,t){"use strict";var g=S("process-nextick-args");function h(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}_.exports=f;var s,d=!e.browser&&-1<["v0.10","v0.9."].indexOf(e.version.slice(0,5))?setImmediate:g.nextTick;f.WritableState=u;var r=S("core-util-is");r.inherits=S("inherits");var n={deprecate:S("util-deprecate")},i=S("./internal/streams/stream"),v=S("safe-buffer").Buffer,y=t.Uint8Array||function(){};var a,o=S("./internal/streams/destroy");function w(){}function u(e,t){s=s||S("./_stream_duplex"),e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,i=e.writableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:r&&(i||0===i)?i:a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=(this.destroyed=!1)===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(h=r,h.writing=!1,h.writecb=null,h.length-=h.writelen,h.writelen=0,t)o=e,s=r,u=n,f=t,c=i,--s.pendingcb,u?(g.nextTick(c,f),g.nextTick(m,o,s),o._writableState.errorEmitted=!0,o.emit("error",f)):(c(f),o._writableState.errorEmitted=!0,o.emit("error",f),m(o,s));else{var a=b(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||p(e,r),n?d(l,e,r,a,i):l(e,r,a,i)}var o,s,u,f,c;var h}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new h(this)}function f(e){if(s=s||S("./_stream_duplex"),!(a.call(f,this)||this instanceof s))return new f(e);this._writableState=new u(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),i.call(this)}function A(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function l(e,t,r,n){var i,a;r||(i=e,0===(a=t).length&&a.needDrain&&(a.needDrain=!1,i.emit("drain"))),t.pendingcb--,n(),m(e,t)}function p(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var o=0,s=!0;r;)(i[o]=r).isBuf||(s=!1),r=r.next,o+=1;i.allBuffers=s,A(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new h(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,f=r.encoding,c=r.callback;if(A(e,t,!1,t.objectMode?1:u.length,u,f,c),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function b(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function c(t,r){t._final(function(e){r.pendingcb--,e&&t.emit("error",e),r.prefinished=!0,t.emit("prefinish"),m(t,r)})}function m(e,t){var r,n,i=b(t);return i&&(r=e,(n=t).prefinished||n.finalCalled||("function"==typeof r._final?(n.pendingcb++,n.finalCalled=!0,g.nextTick(c,r,n)):(n.prefinished=!0,r.emit("prefinish"))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),i}r.inherits(f,i),u.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(u.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(f,Symbol.hasInstance,{value:function(e){return!!a.call(this,e)||this===f&&(e&&e._writableState instanceof u)}})):a=function(e){return e instanceof this},f.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},f.prototype.write=function(e,t,r){var n,i,a,o,s,u,f,c,h,d,l,p=this._writableState,b=!1,m=!p.objectMode&&(n=e,v.isBuffer(n)||n instanceof y);return m&&!v.isBuffer(e)&&(i=e,e=v.from(i)),"function"==typeof t&&(r=t,t=null),m?t="buffer":t||(t=p.defaultEncoding),"function"!=typeof r&&(r=w),p.ended?(h=this,d=r,l=new Error("write after end"),h.emit("error",l),g.nextTick(d,l)):(m||(a=this,o=p,u=r,c=!(f=!0),null===(s=e)?c=new TypeError("May not write null values to stream"):"string"==typeof s||void 0===s||o.objectMode||(c=new TypeError("Invalid non-string/buffer chunk")),c&&(a.emit("error",c),g.nextTick(u,c),f=!1),f))&&(p.pendingcb++,b=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=v.from(t,r));return t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else A(e,t,!1,s,n,i,a);return u}(this,p,m,e,t,r)),b},f.prototype.cork=function(){this._writableState.corked++},f.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||p(this,e))},f.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(-1<["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),f.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},f.prototype._writev=null,f.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,t=e=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,m(e,t),r&&(t.finished?g.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),f.prototype.destroy=o.destroy,f.prototype._undestroy=o.undestroy,f.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,S("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":215,"./internal/streams/destroy":221,"./internal/streams/stream":222,_process:205,"core-util-is":68,inherits:163,"process-nextick-args":204,"safe-buffer":231,"util-deprecate":254}],220:[function(e,t,r){"use strict";var s=e("safe-buffer").Buffer,n=e("util");t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};0<this.length?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return s.alloc(0);if(1===this.length)return this.head.data;for(var t,r,n,i=s.allocUnsafe(e>>>0),a=this.head,o=0;a;)t=a.data,r=i,n=o,t.copy(r,n),o+=a.data.length,a=a.next;return i},e}(),n&&n.inspect&&n.inspect.custom&&(t.exports.prototype[n.inspect.custom]=function(){var e=n.inspect({length:this.length});return this.constructor.name+" "+e})},{"safe-buffer":231,util:20}],221:[function(e,t,r){"use strict";var a=e("process-nextick-args");function o(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?t?t(e):!e||this._writableState&&this._writableState.errorEmitted||a.nextTick(o,this,e):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(a.nextTick(o,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":204}],222:[function(e,t,r){t.exports=e("events").EventEmitter},{events:48}],223:[function(e,t,r){t.exports=e("./readable").PassThrough},{"./readable":224}],224:[function(e,t,r){(((r=t.exports=e("./lib/_stream_readable.js")).Stream=r).Readable=r).Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":215,"./lib/_stream_passthrough.js":216,"./lib/_stream_readable.js":217,"./lib/_stream_transform.js":218,"./lib/_stream_writable.js":219}],225:[function(e,t,r){t.exports=e("./readable").Transform},{"./readable":224}],226:[function(e,t,r){t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":219}],227:[function(e,t,r){var n,i;n=this,i=function(){function r(e,t){this.id=o++,this.type=e,this.data=t}function n(e){return"["+function e(t){if(0===t.length)return[];var r=t.charAt(0),n=t.charAt(t.length-1);if(1<t.length&&r===n&&('"'===r||"'"===r))return['"'+t.substr(1,t.length-2).replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'];if(r=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(t))return e(t.substr(0,r.index)).concat(e(r[1])).concat(e(t.substr(r.index+r[0].length)));if(1===(r=t.split(".")).length)return['"'+t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'];for(t=[],n=0;n<r.length;++n)t=t.concat(e(r[n]));return t}(e).join("][")+"]"}function d(e){return"string"==typeof e?e.split():e}function l(e){return"string"==typeof e?document.querySelector(e):e}function j(e){var t,r,n,i,a=e||{};e={};var o=[],s=[],u="undefined"==typeof window?1:window.devicePixelRatio,f=!1,c=function(e){},h=function(){};if("string"==typeof a?t=document.querySelector(a):"object"==typeof a&&("string"==typeof a.nodeName&&"function"==typeof a.appendChild&&"function"==typeof a.getBoundingClientRect?t=a:"function"==typeof a.drawArrays||"function"==typeof a.drawElements?n=(i=a).canvas:("gl"in a?i=a.gl:"canvas"in a?n=l(a.canvas):"container"in a&&(r=l(a.container)),"attributes"in a&&(e=a.attributes),"extensions"in a&&(o=d(a.extensions)),"optionalExtensions"in a&&(s=d(a.optionalExtensions)),"onDone"in a&&(c=a.onDone),"profile"in a&&(f=!!a.profile),"pixelRatio"in a&&(u=+a.pixelRatio))),t&&("canvas"===t.nodeName.toLowerCase()?n=t:r=t),!i){if(!n){if(!(t=function(r,e,n){function t(){var e=window.innerWidth,t=window.innerHeight;r!==document.body&&(e=(t=r.getBoundingClientRect()).right-t.left,t=t.bottom-t.top),i.width=n*e,i.height=n*t,pe(i.style,{width:e+"px",height:t+"px"})}var i=document.createElement("canvas");return pe(i.style,{border:0,margin:0,padding:0,top:0,left:0}),r.appendChild(i),r===document.body&&(i.style.position="absolute",pe(r.style,{margin:0,padding:0})),window.addEventListener("resize",t,!1),t(),{canvas:i,onDestroy:function(){window.removeEventListener("resize",t),r.removeChild(i)}}}(r||document.body,0,u)))return null;n=t.canvas,h=t.onDestroy}i=function(t,r){function e(e){try{return t.getContext(e,r)}catch(e){return null}}return e("webgl")||e("experimental-webgl")||e("webgl-experimental")}(n,e)}return i?{gl:i,canvas:n,container:r,extensions:o,optionalExtensions:s,pixelRatio:u,profile:f,onDone:c,onDestroy:h}:(h(),c("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function J(e){return!!e&&"object"==typeof e&&Array.isArray(e.shape)&&Array.isArray(e.stride)&&"number"==typeof e.offset&&e.shape.length===e.stride.length&&(Array.isArray(e.data)||ve(e.data))}function z(e,t){for(var r=Array(e),n=0;n<e;++n)r[n]=t(n);return r}function i(e){var t,r;return t=(65535<e)<<4,t|=r=(255<(e>>>=t))<<3,(t|=r=(15<(e>>>=r))<<2)|(r=(3<(e>>>=r))<<1)|e>>>r>>1}function a(e){e:{for(var t=16;t<=268435456;t*=16)if(e<=t){e=t;break e}e=0}return 0<(t=s[i(e)>>2]).length?t.pop():new ArrayBuffer(e)}function t(e){s[i(e.byteLength)>>2].push(e)}function h(e,t,r,n,i,a){for(var o=0;o<t;++o)for(var s=e[o],u=0;u<r;++u)for(var f=s[u],c=0;c<n;++c)i[a++]=f[c]}function W(e){return 0|Se[Object.prototype.toString.call(e)]}function X(e,t){for(var r=0;r<t.length;++r)e[r]=t[r]}function U(e,t,r,n,i,a,o){for(var s=0,u=0;u<r;++u)for(var f=0;f<n;++f)e[s++]=t[i*u+a*f+o]}function Q(e){for(var t=we.allocType(5123,e.length),r=0;r<e.length;++r)if(isNaN(e[r]))t[r]=65535;else if(1/0===e[r])t[r]=31744;else if(-1/0===e[r])t[r]=64512;else{u[0]=e[r];var n=(a=f[0])>>>31<<15,i=(a<<1>>>24)-127,a=a>>13&1023;t[r]=i<-24?n:i<-14?n+(a+1024>>-14-i):15<i?n+31744:n+(i+15<<10)+a}return t}function $(e){return Array.isArray(e)||ve(e)}function ee(e){return Array.isArray(e)&&(0===e.length||"number"==typeof e[0])}function te(e){return!(!Array.isArray(e)||0===e.length||!$(e[0]))}function re(e){return Object.prototype.toString.call(e)}function ne(e){if(!e)return!1;var t=re(e);return 0<=c.indexOf(t)||(ee(e)||te(e)||J(e))}function ie(e,t){36193===e.type?(e.data=Q(t),we.freeType(t)):e.data=t}function ae(e,t,r,n,i,a){if(e=void 0!==b[e]?b[e]:De[e]*p[t],a&&(e*=6),i){for(n=0;1<=r;)n+=e*r*r,r/=2;return n}return e*r*n}function Z(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function Y(s,u,f,c,e,t){function n(e){var t;t=null===u.next?5121:u.next.colorAttachments[0].texture._texture.type;var r=0,n=0,i=c.framebufferWidth,a=c.framebufferHeight,o=null;return ve(e)?o=e:e&&(r=0|e.x,n=0|e.y,i=0|(e.width||c.framebufferWidth-r),a=0|(e.height||c.framebufferHeight-n),o=e.data||null),f(),e=i*a*4,o||(5121===t?o=new Uint8Array(e):5126===t&&(o=o||new Float32Array(e))),s.pixelStorei(3333,4),s.readPixels(r,n,i,a,6408,t,o),o}return function(e){return e&&"framebuffer"in e?(t=e,u.setFBO({framebuffer:t.framebuffer},function(){r=n(t)}),r):n(e);var t,r}}function K(e){return Array.prototype.slice.call(e)}function q(e){return K(e).join("")}function oe(e){return Array.isArray(e)||ve(e)||J(e)}function se(e){return e.sort(function(e,t){return"viewport"===e?-1:"viewport"===t?1:e<t?-1:1})}function ue(e,t,r,n){this.thisDep=e,this.contextDep=t,this.propDep=r,this.append=n}function fe(e){return e&&!(e.thisDep||e.contextDep||e.propDep)}function ce(e){return new ue(!1,!1,!1,e)}function he(e,t){var r=e.type;return 0===r?new ue(!0,1<=(r=e.data.length),2<=r,t):4===r?new ue((r=e.data).thisDep,r.contextDep,r.propDep,t):new ue(3===r,2===r,1===r,t)}function de(l,M,e,p,B,x,t,I,r,c,D,n,i,b,a){function P(e){return e.replace(".","_")}function o(e,t,r){var n=P(e);N.push(e),O[n]=L[n]=!!r,V[n]=t}function s(e,t,r){var n=P(e);N.push(e),Array.isArray(r)?(L[n]=r.slice(),O[n]=r.slice()):L[n]=O[n]=r,j[n]=t}function m(){var n=function(){function a(){var t=[],r=[];return pe(function(){t.push.apply(t,K(arguments))},{def:function(){var e="v"+n++;return r.push(e),0<arguments.length&&(t.push(e,"="),t.push.apply(t,K(arguments)),t.push(";")),e},toString:function(){return q([0<r.length?"var "+r+";":"",q(t)])}})}function o(){function n(e,t){r(e,t,"=",i.def(e,t),";")}var i=a(),r=a(),e=i.toString,t=r.toString;return pe(function(){i.apply(i,K(arguments))},{def:i.def,entry:i,exit:r,save:n,set:function(e,t,r){n(e,t),i(e,t,"=",r,";")},toString:function(){return e()+t()}})}var n=0,r=[],i=[],s=a(),u={};return{global:s,link:function(e){for(var t=0;t<i.length;++t)if(i[t]===e)return r[t];return t="g"+n++,r.push(t),i.push(e),t},block:a,proc:function(e,t){function r(){var e="a"+n.length;return n.push(e),e}var n=[];t=t||0;for(var i=0;i<t;++i)r();var a=(i=o()).toString;return u[e]=pe(i,{arg:r,toString:function(){return q(["function(",n.join(),"){",a(),"}"])}})},scope:o,cond:function(){var t=q(arguments),e=o(),r=o(),n=e.toString,i=r.toString;return pe(e,{then:function(){return e.apply(e,K(arguments)),this},else:function(){return r.apply(r,K(arguments)),this},toString:function(){var e=i();return e&&(e="else{"+e+"}"),q(["if(",t,"){",n(),"}",e])}})},compile:function(){var t=['"use strict";',s,"return {"];Object.keys(u).forEach(function(e){t.push('"',e,'":',u[e].toString(),",")}),t.push("}");var e=q(t).replace(/;/g,";\n").replace(/}/g,"}\n").replace(/{/g,"{\n");return Function.apply(null,r.concat(e)).apply(null,i)}}}(),i=n.link,t=n.global;n.id=U++,n.batchId="0";var r=i(W),a=n.shared={props:"a0"};Object.keys(W).forEach(function(e){a[e]=t.def(r,".",e)});var o=n.next={},s=n.current={};Object.keys(j).forEach(function(e){Array.isArray(L[e])&&(o[e]=t.def(a.next,".",e),s[e]=t.def(a.current,".",e))});var u=n.constants={};Object.keys(X).forEach(function(e){u[e]=t.def(JSON.stringify(X[e]))}),n.invoke=function(e,t){switch(t.type){case 0:var r=["this",a.context,a.props,n.batchId];return e.def(i(t.data),".call(",r.slice(0,Math.max(t.data.length+1,4)),")");case 1:return e.def(a.props,t.data);case 2:return e.def(a.context,t.data);case 3:return e.def("this",t.data);case 4:return t.data.append(n,e),t.data.ref}},n.attribCache={};var f={};return n.scopeAttrib=function(e){if((e=M.id(e))in f)return f[e];var t=c.scope[e];return t||(t=c.scope[e]=new F),f[e]=i(t)},n}function u(e,t,r,n,i){var a,o,s,u,f,c,h,d,l,p,b,m,g,v,y,w,A=function(e,t){var r=e.static,n=e.dynamic;if("framebuffer"in r){var i=r.framebuffer;return i?(i=I.getFramebuffer(i),ce(function(e,t){var r=e.link(i),n=e.shared;return t.set(n.framebuffer,".next",r),n=n.context,t.set(n,".framebufferWidth",r+".width"),t.set(n,".framebufferHeight",r+".height"),r})):ce(function(e,t){var r=e.shared;return t.set(r.framebuffer,".next","null"),r=r.context,t.set(r,".framebufferWidth",r+".drawingBufferWidth"),t.set(r,".framebufferHeight",r+".drawingBufferHeight"),"null"})}if("framebuffer"in n){var a=n.framebuffer;return he(a,function(e,t){var r=e.invoke(t,a),n=e.shared,i=n.framebuffer;return r=t.def(i,".getFramebuffer(",r,")"),t.set(i,".next",r),n=n.context,t.set(n,".framebufferWidth",r+"?"+r+".width:"+n+".drawingBufferWidth"),t.set(n,".framebufferHeight",r+"?"+r+".height:"+n+".drawingBufferHeight"),r})}return null}(e),S=function(e,t,r){function n(e){if(e in i){var a=i[e];e=!0;var o,s,u=0|a.x,f=0|a.y;return"width"in a?o=0|a.width:e=!1,"height"in a?s=0|a.height:e=!1,new ue(!e&&t&&t.thisDep,!e&&t&&t.contextDep,!e&&t&&t.propDep,function(e,t){var r=e.shared.context,n=o;"width"in a||(n=t.def(r,".","framebufferWidth","-",u));var i=s;return"height"in a||(i=t.def(r,".","framebufferHeight","-",f)),[u,f,n,i]})}if(e in h){var c=h[e];return e=he(c,function(e,t){var r=e.invoke(t,c),n=e.shared.context,i=t.def(r,".x|0"),a=t.def(r,".y|0");return[i,a,t.def('"width" in ',r,"?",r,".width|0:","(",n,".","framebufferWidth","-",i,")"),r=t.def('"height" in ',r,"?",r,".height|0:","(",n,".","framebufferHeight","-",a,")")]}),t&&(e.thisDep=e.thisDep||t.thisDep,e.contextDep=e.contextDep||t.contextDep,e.propDep=e.propDep||t.propDep),e}return t?new ue(t.thisDep,t.contextDep,t.propDep,function(e,t){var r=e.shared.context;return[0,0,t.def(r,".","framebufferWidth"),t.def(r,".","framebufferHeight")]}):null}var i=e.static,h=e.dynamic;if(e=n("viewport")){var a=e;e=new ue(e.thisDep,e.contextDep,e.propDep,function(e,t){var r=a.append(e,t),n=e.shared.context;return t.set(n,".viewportWidth",r[2]),t.set(n,".viewportHeight",r[3]),r})}return{viewport:e,scissor_box:n("scissor.box")}}(e,A),_=function(e,t){function r(e,n){if(e in a){var r=0|a[e];return ce(function(e,t){return n&&(e.OFFSET=r),r})}if(e in s){var i=s[e];return he(i,function(e,t){var r=e.invoke(t,i);return n&&(e.OFFSET=r),r})}return n&&o?ce(function(e,t){return e.OFFSET="0",0}):null}var a=e.static,s=e.dynamic,o=function(){if("elements"in a){var n=a.elements;oe(n)?n=x.getElements(x.create(n,!0)):n&&(n=x.getElements(n));var e=ce(function(e,t){if(n){var r=e.link(n);return e.ELEMENTS=r}return e.ELEMENTS=null});return e.value=n,e}if("elements"in s){var o=s.elements;return he(o,function(e,t){var r=(n=e.shared).isBufferArgs,n=n.elements,i=e.invoke(t,o),a=t.def("null");return r=t.def(r,"(",i,")"),i=e.cond(r).then(a,"=",n,".createStream(",i,");").else(a,"=",n,".getElements(",i,");"),t.entry(i),t.exit(e.cond(r).then(n,".destroyStream(",a,");")),e.ELEMENTS=a})}return null}(),n=r("offset",!0);return{elements:o,primitive:function(){if("primitive"in a){var r=a.primitive;return ce(function(e,t){return Be[r]})}if("primitive"in s){var i=s.primitive;return he(i,function(e,t){var r=e.constants.primTypes,n=e.invoke(t,i);return t.def(r,"[",n,"]")})}return o?fe(o)?o.value?ce(function(e,t){return t.def(e.ELEMENTS,".primType")}):ce(function(){return 4}):new ue(o.thisDep,o.contextDep,o.propDep,function(e,t){var r=e.ELEMENTS;return t.def(r,"?",r,".primType:",4)}):null}(),count:function(){if("count"in a){var e=0|a.count;return ce(function(){return e})}if("count"in s){var r=s.count;return he(r,function(e,t){return e.invoke(t,r)})}return o?fe(o)?o?n?new ue(n.thisDep,n.contextDep,n.propDep,function(e,t){return t.def(e.ELEMENTS,".vertCount-",e.OFFSET)}):ce(function(e,t){return t.def(e.ELEMENTS,".vertCount")}):ce(function(){return-1}):new ue(o.thisDep||n.thisDep,o.contextDep||n.contextDep,o.propDep||n.propDep,function(e,t){var r=e.ELEMENTS;return e.OFFSET?t.def(r,"?",r,".vertCount-",e.OFFSET,":-1"):t.def(r,"?",r,".vertCount:-1")}):null}(),instances:r("instances",!1),offset:n}}(e),E=(o=(a=e).static,s=a.dynamic,u={},N.forEach(function(a){function e(e,r){if(a in o){var t=e(o[a]);u[i]=ce(function(){return t})}else if(a in s){var n=s[a];u[i]=he(n,function(e,t){return r(e,t,e.invoke(t,n))})}}var i=P(a);switch(a){case"cull.enable":case"blend.enable":case"dither":case"stencil.enable":case"depth.enable":case"scissor.enable":case"polygonOffset.enable":case"sample.alpha":case"sample.enable":case"depth.mask":return e(function(e){return e},function(e,t,r){return r});case"depth.func":return e(function(e){return Le[e]},function(e,t,r){return t.def(e.constants.compareFuncs,"[",r,"]")});case"depth.range":return e(function(e){return e},function(e,t,r){return[t.def("+",r,"[0]"),t=t.def("+",r,"[1]")]});case"blend.func":return e(function(e){return[Re["srcRGB"in e?e.srcRGB:e.src],Re["dstRGB"in e?e.dstRGB:e.dst],Re["srcAlpha"in e?e.srcAlpha:e.src],Re["dstAlpha"in e?e.dstAlpha:e.dst]]},function(e,r,n){function t(e,t){return r.def('"',e,t,'" in ',n,"?",n,".",e,t,":",n,".",e)}e=e.constants.blendFuncs;var i=t("src","RGB"),a=t("dst","RGB"),o=(i=r.def(e,"[",i,"]"),r.def(e,"[",t("src","Alpha"),"]"));return[i,a=r.def(e,"[",a,"]"),o,e=r.def(e,"[",t("dst","Alpha"),"]")]});case"blend.equation":return e(function(e){return"string"==typeof e?[G[e],G[e]]:"object"==typeof e?[G[e.rgb],G[e.alpha]]:void 0},function(e,t,r){var n=e.constants.blendEquations,i=t.def(),a=t.def();return(e=e.cond("typeof ",r,'==="string"')).then(i,"=",a,"=",n,"[",r,"];"),e.else(i,"=",n,"[",r,".rgb];",a,"=",n,"[",r,".alpha];"),t(e),[i,a]});case"blend.color":return e(function(t){return z(4,function(e){return+t[e]})},function(e,t,r){return z(4,function(e){return t.def("+",r,"[",e,"]")})});case"stencil.mask":return e(function(e){return 0|e},function(e,t,r){return t.def(r,"|0")});case"stencil.func":return e(function(e){return[Le[e.cmp||"keep"],e.ref||0,"mask"in e?e.mask:-1]},function(e,t,r){return[e=t.def('"cmp" in ',r,"?",e.constants.compareFuncs,"[",r,".cmp]",":",7680),t.def(r,".ref|0"),t=t.def('"mask" in ',r,"?",r,".mask|0:-1")]});case"stencil.opFront":case"stencil.opBack":return e(function(e){return["stencil.opBack"===a?1029:1028,Oe[e.fail||"keep"],Oe[e.zfail||"keep"],Oe[e.zpass||"keep"]]},function(e,t,r){function n(e){return t.def('"',e,'" in ',r,"?",i,"[",r,".",e,"]:",7680)}var i=e.constants.stencilOps;return["stencil.opBack"===a?1029:1028,n("fail"),n("zfail"),n("zpass")]});case"polygonOffset.offset":return e(function(e){return[0|e.factor,0|e.units]},function(e,t,r){return[t.def(r,".factor|0"),t=t.def(r,".units|0")]});case"cull.face":return e(function(e){var t=0;return"front"===e?t=1028:"back"===e&&(t=1029),t},function(e,t,r){return t.def(r,'==="front"?',1028,":",1029)});case"lineWidth":return e(function(e){return e},function(e,t,r){return r});case"frontFace":return e(function(e){return Ne[e]},function(e,t,r){return t.def(r+'==="cw"?2304:2305')});case"colorMask":return e(function(e){return e.map(function(e){return!!e})},function(e,t,r){return z(4,function(e){return"!!"+r+"["+e+"]"})});case"sample.coverage":return e(function(e){return["value"in e?e.value:1,!!e.invert]},function(e,t,r){return[t.def('"value" in ',r,"?+",r,".value:1"),t=t.def("!!",r,".invert")]})}}),u),T=function(e){function t(e){if(e in r){var t=M.id(r[e]);return(e=ce(function(){return t})).id=t,e}if(e in i){var n=i[e];return he(n,function(e,t){var r=e.invoke(t,n);return t.def(e.shared.strings,".id(",r,")")})}return null}var r=e.static,i=e.dynamic,a=t("frag"),o=t("vert"),n=null;return fe(a)&&fe(o)?(n=D.program(o.id,a.id),e=ce(function(e,t){return e.link(n)})):e=new ue(a&&a.thisDep||o&&o.thisDep,a&&a.contextDep||o&&o.contextDep,a&&a.propDep||o&&o.propDep,function(e,t){var r,n,i=e.shared.shader;return r=a?a.append(e,t):t.def(i,".","frag"),n=o?o.append(e,t):t.def(i,".","vert"),t.def(i+".program("+n+","+r+")")}),{frag:a,vert:o,progVar:e,program:n}}(e),C=S.viewport;return C&&(E.viewport=C),(S=S[C=P("scissor.box")])&&(E[C]=S),(A={framebuffer:A,draw:_,shader:T,state:E,dirty:S=0<Object.keys(E).length}).profile=function(e){var t,r=e.static;if(e=e.dynamic,"profile"in r){var n=!!r.profile;(t=ce(function(e,t){return n})).enable=n}else if("profile"in e){var i=e.profile;t=he(i,function(e,t){return e.invoke(t,i)})}return t}(e),A.uniforms=(c=(f=r).static,h=f.dynamic,d={},Object.keys(c).forEach(function(e){var t,r=c[e];if("number"==typeof r||"boolean"==typeof r)t=ce(function(){return r});else if("function"==typeof r){var n=r._reglType;"texture2d"===n||"textureCube"===n?t=ce(function(e){return e.link(r)}):"framebuffer"!==n&&"framebufferCube"!==n||(t=ce(function(e){return e.link(r.color[0])}))}else $(r)&&(t=ce(function(e){return e.global.def("[",z(r.length,function(e){return r[e]}),"]")}));t.value=r,d[e]=t}),Object.keys(h).forEach(function(e){var r=h[e];d[e]=he(r,function(e,t){return e.invoke(t,r)})}),d),A.attributes=(p=(l=t).static,b=l.dynamic,m={},Object.keys(p).forEach(function(e){var t=p[e],i=M.id(e),a=new F;if(oe(t))a.state=1,a.buffer=B.getBuffer(B.create(t,34962,!1,!0)),a.type=0;else if(n=B.getBuffer(t))a.state=1,a.buffer=n,a.type=0;else if(t.constant){var r=t.constant;a.buffer="null",a.state=2,"number"==typeof r?a.x=r:Ge.forEach(function(e,t){t<r.length&&(a[e]=r[t])})}else{var n=oe(t.buffer)?B.getBuffer(B.create(t.buffer,34962,!1,!0)):B.getBuffer(t.buffer),o=0|t.offset,s=0|t.stride,u=0|t.size,f=!!t.normalized,c=0;"type"in t&&(c=_e[t.type]),t=0|t.divisor,a.buffer=n,a.state=1,a.size=u,a.normalized=f,a.type=c||n.dtype,a.offset=o,a.stride=s,a.divisor=t}m[e]=ce(function(e,t){var r=e.attribCache;if(i in r)return r[i];var n={isStream:!1};return Object.keys(a).forEach(function(e){n[e]=a[e]}),a.buffer&&(n.buffer=e.link(a.buffer),n.type=n.type||n.buffer+".dtype"),r[i]=n})}),Object.keys(b).forEach(function(e){var h=b[e];m[e]=he(h,function(e,t){function r(e){t(s[e],"=",n,".",e,"|0;")}var n=e.invoke(t,h),i=e.shared,a=i.isBufferArgs,o=i.buffer,s={isStream:t.def(!1)},u=new F;u.state=1,Object.keys(u).forEach(function(e){s[e]=t.def(""+u[e])});var f=s.buffer,c=s.type;return t("if(",a,"(",n,")){",s.isStream,"=true;",f,"=",o,".createStream(",34962,",",n,");",c,"=",f,".dtype;","}else{",f,"=",o,".getBuffer(",n,");","if(",f,"){",c,"=",f,".dtype;",'}else if("constant" in ',n,"){",s.state,"=",2,";","if(typeof "+n+'.constant === "number"){',s[Ge[0]],"=",n,".constant;",Ge.slice(1).map(function(e){return s[e]}).join("="),"=0;","}else{",Ge.map(function(e,t){return s[e]+"="+n+".constant.length>="+t+"?"+n+".constant["+t+"]:0;"}).join(""),"}}else{","if(",a,"(",n,".buffer)){",f,"=",o,".createStream(",34962,",",n,".buffer);","}else{",f,"=",o,".getBuffer(",n,".buffer);","}",c,'="type" in ',n,"?",i.glTypes,"[",n,".type]:",f,".dtype;",s.normalized,"=!!",n,".normalized;"),r("size"),r("offset"),r("stride"),r("divisor"),t("}}"),t.exit("if(",s.isStream,"){",o,".destroyStream(",f,");","}"),s})}),m),A.context=(v=(g=n).static,y=g.dynamic,w={},Object.keys(v).forEach(function(e){var r=v[e];w[e]=ce(function(e,t){return"number"==typeof r||"boolean"==typeof r?""+r:e.link(r)})}),Object.keys(y).forEach(function(e){var r=y[e];w[e]=he(r,function(e,t){return e.invoke(t,r)})}),w),A}function h(t,r,n){var i=t.shared.context,a=t.scope();Object.keys(n).forEach(function(e){r.save(i,"."+e),a(i,".",e,"=",n[e].append(t,r),";")}),r(a)}function g(e,t,r,n){var i,a=(s=e.shared).gl,o=s.framebuffer;R&&(i=t.def(s.extensions,".webgl_draw_buffers"));var s=(u=e.constants).drawBuffer,u=u.backBuffer;e=r?r.append(e,t):t.def(o,".next"),n||t("if(",e,"!==",o,".cur){"),t("if(",e,"){",a,".bindFramebuffer(",36160,",",e,".framebuffer);"),R&&t(i,".drawBuffersWEBGL(",s,"[",e,".colorAttachments.length]);"),t("}else{",a,".bindFramebuffer(",36160,",null);"),R&&t(i,".drawBuffersWEBGL(",u,");"),t("}",o,".cur=",e,";"),n||t("}")}function f(i,e,a){var t=i.shared,o=t.gl,s=i.current,u=i.next,f=t.current,c=t.next,h=i.cond(f,".dirty");N.forEach(function(e){var t,r;if(!((e=P(e))in a.state))if(e in u){t=u[e],r=s[e];var n=z(L[e].length,function(e){return h.def(t,"[",e,"]")});h(i.cond(n.map(function(e,t){return e+"!=="+r+"["+t+"]"}).join("||")).then(o,".",j[e],"(",n,");",n.map(function(e,t){return r+"["+t+"]="+e}).join(";"),";"))}else t=h.def(c,".",e),n=i.cond(t,"!==",f,".",e),h(n),e in V?n(i.cond(t).then(o,".enable(",V[e],");").else(o,".disable(",V[e],");"),f,".",e,"=",t,";"):n(o,".",j[e],"(",t,");",f,".",e,"=",t,";")}),0===Object.keys(a.state).length&&h(f,".dirty=false;"),e(h)}function d(a,o,s,u){var e=a.shared,f=a.current,c=e.current,h=e.gl;se(Object.keys(s)).forEach(function(e){var t=s[e];if(!u||u(t)){var r=t.append(a,o);if(V[e]){var n=V[e];fe(t)?o(h,r?".enable(":".disable(",n,");"):o(a.cond(r).then(h,".enable(",n,");").else(h,".disable(",n,");")),o(c,".",e,"=",r,";")}else if($(r)){var i=f[e];o(h,".",j[e],"(",r,");",r.map(function(e,t){return i+"["+t+"]="+e}).join(";"),";")}else o(h,".",j[e],"(",r,");",c,".",e,"=",r,";")}})}function v(e,t){H&&(e.instancing=t.def(e.shared.extensions,".angle_instanced_arrays"))}function y(e,r,t,n,i){function a(){return"undefined"==typeof performance?"Date.now()":"performance.now()"}function o(e){e(f=r.def(),"=",a(),";"),"string"==typeof i?e(d,".count+=",i,";"):e(d,".count++;"),b&&(n?e(c=r.def(),"=",p,".getNumPendingQueries();"):e(p,".beginQuery(",d,");"))}function s(e){e(d,".cpuTime+=",a(),"-",f,";"),b&&(n?e(p,".pushScopeStats(",c,",",p,".getNumPendingQueries(),",d,");"):e(p,".endQuery();"))}function u(e){var t=r.def(l,".profile");r(l,".profile=",e,";"),r.exit(l,".profile=",t,";")}var f,c,h=e.shared,d=e.stats,l=h.current,p=h.timer;if(t=t.profile){if(fe(t))return void(t.enable?(o(r),s(r.exit),u("true")):u("false"));u(t=t.append(e,r))}else t=r.def(l,".profile");o(h=e.block()),r("if(",t,"){",h,"}"),s(e=e.block()),r.exit("if(",t,"){",e,"}")}function w(h,d,a,e,o){var l=h.shared;e.forEach(function(e){var t,r=e.name,n=a.attributes[r];if(n){if(!o(n))return;t=n.append(h,d)}else{if(!o(Ve))return;var i=h.scopeAttrib(r);t={},Object.keys(new F).forEach(function(e){t[e]=d.def(i,".",e)})}!function(e,r,n){function t(){d("if(!",s,".buffer){",a,".enableVertexAttribArray(",o,");}");var e,t=n.type;e=n.size?d.def(n.size,"||",r):r,d("if(",s,".type!==",t,"||",s,".size!==",e,"||",c.map(function(e){return s+"."+e+"!=="+n[e]}).join("||"),"){",a,".bindBuffer(",34962,",",u,".buffer);",a,".vertexAttribPointer(",[o,e,t,n.normalized,n.stride,n.offset],");",s,".type=",t,";",s,".size=",e,";",c.map(function(e){return s+"."+e+"="+n[e]+";"}).join(""),"}"),H&&(t=n.divisor,d("if(",s,".divisor!==",t,"){",h.instancing,".vertexAttribDivisorANGLE(",[o,t],");",s,".divisor=",t,";}"))}function i(){d("if(",s,".buffer){",a,".disableVertexAttribArray(",o,");","}if(",Ge.map(function(e,t){return s+"."+e+"!=="+f[t]}).join("||"),"){",a,".vertexAttrib4f(",o,",",f,");",Ge.map(function(e,t){return s+"."+e+"="+f[t]+";"}).join(""),"}")}var a=l.gl,o=d.def(e,".location"),s=d.def(l.attributes,"[",o,"]");e=n.state;var u=n.buffer,f=[n.x,n.y,n.z,n.w],c=["buffer","normalized","offset","stride"];1===e?t():2===e?i():(d("if(",e,"===",1,"){"),t(),d("}else{"),i(),d("}"))}(h.link(e),function(e){switch(e){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(e.info.type),t)})}function A(e,t,r,n,i){for(var a,o=e.shared,s=o.gl,u=0;u<n.length;++u){var f,c=(l=n[u]).name,h=l.info.type,d=r.uniforms[c],l=e.link(l)+".location";if(d){if(!i(d))continue;if(fe(d)){if(c=d.value,35678===h||35680===h)t(s,".uniform1i(",l,",",(h=e.link(c._texture||c.color[0]._texture))+".bind());"),t.exit(h,".unbind();");else if(35674===h||35675===h||35676===h)d=2,35675===h?d=3:35676===h&&(d=4),t(s,".uniformMatrix",d,"fv(",l,",false,",c=e.global.def("new Float32Array(["+Array.prototype.slice.call(c)+"])"),");");else{switch(h){case 5126:a="1f";break;case 35664:a="2f";break;case 35665:a="3f";break;case 35666:a="4f";break;case 35670:case 5124:a="1i";break;case 35671:case 35667:a="2i";break;case 35672:case 35668:a="3i";break;case 35673:a="4i";break;case 35669:a="4i"}t(s,".uniform",a,"(",l,",",$(c)?Array.prototype.slice.call(c):c,");")}continue}f=d.append(e,t)}else{if(!i(Ve))continue;f=t.def(o.uniforms,"[",M.id(c),"]")}switch(35678===h?t("if(",f,"&&",f,'._reglType==="framebuffer"){',f,"=",f,".color[0];","}"):35680===h&&t("if(",f,"&&",f,'._reglType==="framebufferCube"){',f,"=",f,".color[0];","}"),c=1,h){case 35678:case 35680:t(s,".uniform1i(",l,",",h=t.def(f,"._texture"),".bind());"),t.exit(h,".unbind();");continue;case 5124:case 35670:a="1i";break;case 35667:case 35671:a="2i",c=2;break;case 35668:case 35672:a="3i",c=3;break;case 35669:case 35673:a="4i",c=4;break;case 5126:a="1f";break;case 35664:a="2f",c=2;break;case 35665:a="3f",c=3;break;case 35666:a="4f",c=4;break;case 35674:a="Matrix2fv";break;case 35675:a="Matrix3fv";break;case 35676:a="Matrix4fv"}if(t(s,".uniform",a,"(",l,","),"M"===a.charAt(0)){l=Math.pow(h-35674+2,2);var p=e.global.def("new Float32Array(",l,")");t("false,(Array.isArray(",f,")||",f," instanceof Float32Array)?",f,":(",z(l,function(e){return p+"["+e+"]="+f+"["+e+"]"}),",",p,")")}else t(1<c?z(c,function(e){return f+"["+e+"]"}):f);t(");")}}function S(r,n,i,a){function e(e){var t=m[e];return t?t.contextDep&&a.contextDynamic||t.propDep?t.append(r,i):t.append(r,n):n.def(b,".",e)}function t(){function e(){i(d,".drawElementsInstancedANGLE(",[v,w,A,y+"<<(("+A+"-5121)>>1)",h],");")}function t(){i(d,".drawArraysInstancedANGLE(",[v,y,w,h],");")}g?S?e():(i("if(",g,"){"),e(),i("}else{"),t(),i("}")):t()}function o(){function e(){i(p+".drawElements("+[v,w,A,y+"<<(("+A+"-5121)>>1)"]+");")}function t(){i(p+".drawArrays("+[v,y,w]+");")}g?S?e():(i("if(",g,"){"),e(),i("}else{"),t(),i("}")):t()}var s,u,f,c,h,d,l=r.shared,p=l.gl,b=l.draw,m=a.draw,g=(f=m.elements,c=n,f?((f.contextDep&&a.contextDynamic||f.propDep)&&(c=i),f=f.append(r,c)):f=c.def(b,".","elements"),f&&c("if("+f+")"+p+".bindBuffer(34963,"+f+".buffer.buffer);"),f),v=e("primitive"),y=e("offset"),w=(s=m.count,u=n,s?((s.contextDep&&a.contextDynamic||s.propDep)&&(u=i),s=s.append(r,u)):s=u.def(b,".","count"),s);if("number"==typeof w){if(0===w)return}else i("if(",w,"){"),i.exit("}");H&&(h=e("instances"),d=r.instancing);var A=g+".type",S=m.elements&&fe(m.elements);H&&("number"!=typeof h||0<=h)?"string"==typeof h?(i("if(",h,">0){"),t(),i("}else if(",h,"<0){"),o(),i("}")):t():o()}function _(e,t,r,n,i){return i=(t=m()).proc("body",i),H&&(t.instancing=i.def(t.shared.extensions,".angle_instanced_arrays")),e(t,i,r,n),t.compile().body}function E(e,t,r,n){v(e,t),w(e,t,r,n.attributes,function(){return!0}),A(e,t,r,n.uniforms,function(){return!0}),S(e,t,t,r)}function T(e,t,r,n){function i(){return!0}e.batchId="a1",v(e,t),w(e,t,r,n.attributes,i),A(e,t,r,n.uniforms,i),S(e,t,t,r)}function C(t,e,r,n){function i(e){return e.contextDep&&o||e.propDep}function a(e){return!i(e)}v(t,e);var o=r.contextDep,s=e.def(),u=e.def();t.shared.props=u,t.batchId=s;var f=t.scope(),c=t.scope();e(f.entry,"for(",s,"=0;",s,"<","a1",";++",s,"){",u,"=","a0","[",s,"];",c,"}",f.exit),r.needsContext&&h(t,c,r.context),r.needsFramebuffer&&g(t,c,r.framebuffer),d(t,c,r.state,i),r.profile&&i(r.profile)&&y(t,c,r,!1,!0),n?(w(t,f,r,n.attributes,a),w(t,c,r,n.attributes,i),A(t,f,r,n.uniforms,a),A(t,c,r,n.uniforms,i),S(t,f,c,r)):(e=t.global.def("{}"),n=r.shader.progVar.append(t,c),u=c.def(n,".id"),f=c.def(e,"[",u,"]"),c(t.shared.gl,".useProgram(",n,".program);","if(!",f,"){",f,"=",e,"[",u,"]=",t.link(function(e){return _(T,t,r,e,2)}),"(",n,");}",f,".call(this,a0[",s,"],",s,");"))}function k(r,e,t){var i=e.static[t];if(i&&function(e){if("object"==typeof e&&!$(e)){for(var t=Object.keys(e),r=0;r<t.length;++r)if(be.isDynamic(e[t[r]]))return!0;return!1}}(i)){var n=r.global,a=Object.keys(i),o=!1,s=!1,u=!1,f=r.global.def("{}");a.forEach(function(e){var t=i[e];if(be.isDynamic(t))"function"==typeof t&&(t=i[e]=be.unbox(t)),e=he(t,null),o=o||e.thisDep,u=u||e.propDep,s=s||e.contextDep;else{switch(n(f,".",e,"="),typeof t){case"number":n(t);break;case"string":n('"',t,'"');break;case"object":Array.isArray(t)&&n("[",t.join(),"]");break;default:n(r.link(t))}n(";")}}),e.dynamic[t]=new be.DynamicVariable(4,{thisDep:o,contextDep:s,propDep:u,ref:f,append:function(r,n){a.forEach(function(e){var t=i[e];be.isDynamic(t)&&(t=r.invoke(n,t),n(f,".",e,"=",t,";"))})}}),delete e.static[t]}}var F=c.Record,G={add:32774,subtract:32778,"reverse subtract":32779};e.ext_blend_minmax&&(G.min=32775,G.max=32776);var H=e.angle_instanced_arrays,R=e.webgl_draw_buffers,L={dirty:!0,profile:a.profile},O={},N=[],V={},j={};o("dither",3024),o("blend.enable",3042),s("blend.color","blendColor",[0,0,0,0]),s("blend.equation","blendEquationSeparate",[32774,32774]),s("blend.func","blendFuncSeparate",[1,0,1,0]),o("depth.enable",2929,!0),s("depth.func","depthFunc",513),s("depth.range","depthRange",[0,1]),s("depth.mask","depthMask",!0),s("colorMask","colorMask",[!0,!0,!0,!0]),o("cull.enable",2884),s("cull.face","cullFace",1029),s("frontFace","frontFace",2305),s("lineWidth","lineWidth",1),o("polygonOffset.enable",32823),s("polygonOffset.offset","polygonOffset",[0,0]),o("sample.alpha",32926),o("sample.enable",32928),s("sample.coverage","sampleCoverage",[1,!1]),o("stencil.enable",2960),s("stencil.mask","stencilMask",-1),s("stencil.func","stencilFunc",[519,0,-1]),s("stencil.opFront","stencilOpSeparate",[1028,7680,7680,7680]),s("stencil.opBack","stencilOpSeparate",[1029,7680,7680,7680]),o("scissor.enable",3089),s("scissor.box","scissor",[0,0,l.drawingBufferWidth,l.drawingBufferHeight]),s("viewport","viewport",[0,0,l.drawingBufferWidth,l.drawingBufferHeight]);var W={gl:l,context:i,strings:M,next:O,current:L,draw:n,elements:x,buffer:B,shader:D,attributes:c.state,uniforms:r,framebuffer:I,extensions:e,timer:b,isBufferArgs:oe},X={primTypes:Be,compareFuncs:Le,blendFuncs:Re,blendEquations:G,stencilOps:Oe,glTypes:_e,orientationType:Ne};R&&(X.backBuffer=[1029],X.drawBuffer=z(p.maxDrawbuffers,function(e){return 0===e?[0]:z(e,function(e){return 36064+e})}));var U=0;return{next:O,current:L,procs:function(){var o=m(),s=o.proc("poll"),u=o.proc("refresh"),f=o.block();s(f),u(f);var e=o.shared,c=e.gl,h=e.next,d=e.current;f(d,".dirty=false;"),g(o,s),g(o,u,null,!0);var t,r=l.getExtension("angle_instanced_arrays");r&&(t=o.link(r));for(var n=0;n<p.maxAttributes;++n){var i=u.def(e.attributes,"[",n,"]"),a=o.cond(i,".buffer");a.then(c,".enableVertexAttribArray(",n,");",c,".bindBuffer(",34962,",",i,".buffer.buffer);",c,".vertexAttribPointer(",n,",",i,".size,",i,".type,",i,".normalized,",i,".stride,",i,".offset);").else(c,".disableVertexAttribArray(",n,");",c,".vertexAttrib4f(",n,",",i,".x,",i,".y,",i,".z,",i,".w);",i,".buffer=null;"),u(a),r&&u(t,".vertexAttribDivisorANGLE(",n,",",i,".divisor);")}return Object.keys(V).forEach(function(e){var t=V[e],r=f.def(h,".",e),n=o.block();n("if(",r,"){",c,".enable(",t,")}else{",c,".disable(",t,")}",d,".",e,"=",r,";"),u(n),s("if(",r,"!==",d,".",e,"){",n,"}")}),Object.keys(j).forEach(function(e){var t,r,n=j[e],i=L[e],a=o.block();a(c,".",n,"("),$(i)?(n=i.length,t=o.global.def(h,".",e),r=o.global.def(d,".",e),a(z(n,function(e){return t+"["+e+"]"}),");",z(n,function(e){return r+"["+e+"]="+t+"["+e+"];"}).join("")),s("if(",z(n,function(e){return t+"["+e+"]!=="+r+"["+e+"]"}).join("||"),"){",a,"}")):(t=f.def(h,".",e),r=f.def(d,".",e),a(t,");",d,".",e,"=",t,";"),s("if(",t,"!==",r,"){",a,"}")),u(a)}),o.compile()}(),compile:function(t,r,e,n,i){var a=m();return a.stats=a.link(i),Object.keys(r.static).forEach(function(e){k(a,r,e)}),He.forEach(function(e){k(a,t,e)}),e=u(t,r,e,n),function(t,r){var e=t.proc("draw",1);v(t,e),h(t,e,r.context),g(t,e,r.framebuffer),f(t,e,r),d(t,e,r.state),y(t,e,r,!1,!0);var n=r.shader.progVar.append(t,e);if(e(t.shared.gl,".useProgram(",n,".program);"),r.shader.program)E(t,e,r,r.shader.program);else{var i=t.global.def("{}"),a=e.def(n,".id"),o=e.def(i,"[",a,"]");e(t.cond(o).then(o,".call(this,a0);").else(o,"=",i,"[",a,"]=",t.link(function(e){return _(E,t,r,e,1)}),"(",n,");",o,".call(this,a0);"))}0<Object.keys(r.state).length&&e(t.shared.current,".dirty=true;")}(a,e),function(n,i){function e(e){var t=i.shader[e];t&&a.set(o.shader,"."+e,t.append(n,a))}var a=n.proc("scope",3);n.batchId="a2";var o=n.shared,t=o.current;h(n,a,i.context),i.framebuffer&&i.framebuffer.append(n,a),se(Object.keys(i.state)).forEach(function(r){var e=i.state[r].append(n,a);$(e)?e.forEach(function(e,t){a.set(n.next[r],"["+t+"]",e)}):a.set(o.next,"."+r,e)}),y(n,a,i,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(e){var t=i.draw[e];t&&a.set(o.draw,"."+e,""+t.append(n,a))}),Object.keys(i.uniforms).forEach(function(e){a.set(o.uniforms,"["+M.id(e)+"]",i.uniforms[e].append(n,a))}),Object.keys(i.attributes).forEach(function(e){var t=i.attributes[e].append(n,a),r=n.scopeAttrib(e);Object.keys(new F).forEach(function(e){a.set(r,"."+e,t[e])})}),e("vert"),e("frag"),0<Object.keys(i.state).length&&(a(t,".dirty=true;"),a.exit(t,".dirty=true;")),a("a1(",n.shared.context,",a0,",n.batchId,");")}(a,e),function(t,r){function n(e){return e.contextDep&&i||e.propDep}var e=t.proc("batch",2);t.batchId="0",v(t,e);var i=!1,a=!0;Object.keys(r.context).forEach(function(e){i=i||r.context[e].propDep}),i||(h(t,e,r.context),a=!1);var o=!1;if((s=r.framebuffer)?(s.propDep?i=o=!0:s.contextDep&&i&&(o=!0),o||g(t,e,s)):g(t,e,null),r.state.viewport&&r.state.viewport.propDep&&(i=!0),f(t,e,r),d(t,e,r.state,function(e){return!n(e)}),r.profile&&n(r.profile)||y(t,e,r,!1,"a1"),r.contextDep=i,r.needsContext=a,r.needsFramebuffer=o,(a=r.shader.progVar).contextDep&&i||a.propDep)C(t,e,r,null);else if(a=a.append(t,e),e(t.shared.gl,".useProgram(",a,".program);"),r.shader.program)C(t,e,r,r.shader.program);else{var s=t.global.def("{}"),u=(o=e.def(a,".id"),e.def(s,"[",o,"]"));e(t.cond(u).then(u,".call(this,a0,a1);").else(u,"=",s,"[",o,"]=",t.link(function(e){return _(C,t,r,e,2)}),"(",a,");",u,".call(this,a0,a1);"))}0<Object.keys(r.state).length&&e(t.shared.current,".dirty=true;")}(a,e),a.compile()}}}function le(e,t){for(var r=0;r<e.length;++r)if(e[r]===t)return r;return-1}var pe=function(e,t){for(var r=Object.keys(t),n=0;n<r.length;++n)e[r[n]]=t[r[n]];return e},o=0,be={DynamicVariable:r,define:function(e,t){return new r(e,n(t+""))},isDynamic:function(e){return"function"==typeof e&&!e._reglType||e instanceof r},unbox:function(e,t){return"function"==typeof e?new r(0,e):e},accessor:n},me={next:"function"==typeof requestAnimationFrame?function(e){return requestAnimationFrame(e)}:function(e){return setTimeout(e,16)},cancel:"function"==typeof cancelAnimationFrame?function(e){return cancelAnimationFrame(e)}:clearTimeout},ge="undefined"!=typeof performance&&performance.now?function(){return performance.now()}:function(){return+new Date},ve=function(e){return e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Float32Array||e instanceof Float64Array||e instanceof Uint8ClampedArray},ye=function(t){return Object.keys(t).map(function(e){return t[e]})},s=z(8,function(){return[]}),we={alloc:a,free:t,allocType:function(e,t){var r=null;switch(e){case 5120:r=new Int8Array(a(t),0,t);break;case 5121:r=new Uint8Array(a(t),0,t);break;case 5122:r=new Int16Array(a(2*t),0,t);break;case 5123:r=new Uint16Array(a(2*t),0,t);break;case 5124:r=new Int32Array(a(4*t),0,t);break;case 5125:r=new Uint32Array(a(4*t),0,t);break;case 5126:r=new Float32Array(a(4*t),0,t);break;default:return null}return r.length!==t?r.subarray(0,t):r},freeType:function(e){t(e.buffer)}},Ae={shape:function(e){for(var t=[];e.length;e=e[0])t.push(e.length);return t},flatten:function(e,t,r,n){var i=1;if(t.length)for(var a=0;a<t.length;++a)i*=t[a];else i=0;switch(r=n||we.allocType(r,i),t.length){case 0:break;case 1:for(n=t[0],t=0;t<n;++t)r[t]=e[t];break;case 2:for(n=t[0],t=t[1],a=i=0;a<n;++a)for(var o=e[a],s=0;s<t;++s)r[i++]=o[s];break;case 3:h(e,t[0],t[1],t[2],r,0);break;default:!function e(t,r,n,i,a){for(var o=1,s=n+1;s<r.length;++s)o*=r[s];var u=r[n];if(4==r.length-n){var f=r[n+1],c=r[n+2];for(r=r[n+3],s=0;s<u;++s)h(t[s],f,c,r,i,a),a+=o}else for(s=0;s<u;++s)e(t[s],r,n+1,i,a),a+=o}(e,t,0,r,0)}return r}},Se={"[object Int8Array]":5120,"[object Int16Array]":5122,"[object Int32Array]":5124,"[object Uint8Array]":5121,"[object Uint8ClampedArray]":5121,"[object Uint16Array]":5123,"[object Uint32Array]":5125,"[object Float32Array]":5126,"[object Float64Array]":5121,"[object ArrayBuffer]":5121},_e={int8:5120,int16:5122,int32:5124,uint8:5121,uint16:5123,uint32:5125,float:5126,float32:5126},Ee={dynamic:35048,stream:35040,static:35044},Te=Ae.flatten,Ce=Ae.shape,Me=[];Me[5120]=1,Me[5122]=2,Me[5124]=4,Me[5121]=1,Me[5123]=2,Me[5125]=4;var Be={points:0,point:0,lines:1,line:1,triangles:Me[5126]=4,triangle:4,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},u=new Float32Array(1),f=new Uint32Array(u.buffer),xe=[9984,9986,9985,9987],Ie=[0,6409,6410,6407,6408],De={};De[6409]=De[6406]=De[6402]=1,De[34041]=De[6410]=2,De[6407]=De[35904]=3,De[6408]=De[35906]=4;var c=Object.keys(Se).concat(["[object HTMLCanvasElement]","[object CanvasRenderingContext2D]","[object HTMLImageElement]","[object HTMLVideoElement]"]),p=[];p[5121]=1,p[5126]=4,p[36193]=2,p[5123]=2,p[5125]=4;var b=[];b[32854]=2,b[32855]=2,b[36194]=2,b[34041]=4,b[33776]=.5,b[33777]=.5,b[33778]=1,b[33779]=1,b[35986]=.5,b[35987]=1,b[34798]=1,b[35840]=.5,b[35841]=.25,b[35842]=.5,b[35843]=.25,b[36196]=.5;var Pe=[];Pe[32854]=2,Pe[32855]=2,Pe[36194]=2,Pe[33189]=2,Pe[36168]=1,Pe[34041]=4,Pe[35907]=4,Pe[34836]=16,Pe[34842]=8,Pe[34843]=6;var ke=[];ke[6408]=4;var Fe=[];Fe[5121]=1,Fe[5126]=4,Fe[36193]=2;var Ge=["x","y","z","w"],He="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Re={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},Le={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Oe={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ne={cw:2304,ccw:2305},Ve=new ue(!1,!1,!1,function(){});return function(e){function r(){if(0===H.length)A&&A.update(),N=null;else{N=me.next(r),c();for(var e=H.length-1;0<=e;--e){var t=H[e];t&&t(T,null,0)}l.flush(),A&&A.update()}}function n(){!N&&0<H.length&&(N=me.next(r))}function i(){N&&(me.cancel(r),N=null)}function t(e){e.preventDefault(),i(),R.forEach(function(e){e()})}function a(e){l.getError(),b.restore(),x.restore(),M.restore(),I.restore(),D.restore(),P.restore(),A&&A.restore(),k.procs.refresh(),n(),L.forEach(function(e){e()})}function o(r){function e(r){var n={},i={};return Object.keys(r).forEach(function(e){var t=r[e];be.isDynamic(t)?i[e]=be.unbox(t,e):n[e]=t}),{dynamic:i,static:n}}var t=e(r.context||{}),n=e(r.uniforms||{}),i=e(r.attributes||{}),a=e(function(e){function t(t){if(t in n){var r=n[t];delete n[t],Object.keys(r).forEach(function(e){n[t+"."+e]=r[e]})}}var n=pe({},r);return delete n.uniforms,delete n.attributes,delete n.context,"stencil"in n&&n.stencil.op&&(n.stencil.opBack=n.stencil.opFront=n.stencil.op,delete n.stencil.op),t("blend"),t("depth"),t("cull"),t("stencil"),t("polygonOffset"),t("scissor"),t("sample"),n}());r={gpuTime:0,cpuTime:0,count:0};var o=(t=k.compile(a,i,n,t,r)).draw,s=t.batch,u=t.scope,f=[];return pe(function(e,t){var r;if("function"==typeof e)return u.call(this,null,e,0);if("function"==typeof t)if("number"==typeof e)for(r=0;r<e;++r)u.call(this,null,t,r);else{if(!Array.isArray(e))return u.call(this,e,t,0);for(r=0;r<e.length;++r)u.call(this,e[r],t,r)}else if("number"==typeof e){if(0<e)return s.call(this,function(e){for(;f.length<e;)f.push(null);return f}(0|e),0|e)}else{if(!Array.isArray(e))return o.call(this,e);if(e.length)return s.call(this,e,e.length)}},{stats:r})}function s(e,t){var r=0;k.procs.poll();var n=t.color;n&&(l.clearColor(+n[0]||0,+n[1]||0,+n[2]||0,+n[3]||0),r|=16384),"depth"in t&&(l.clearDepth(+t.depth),r|=256),"stencil"in t&&(l.clearStencil(0|t.stencil),r|=1024),l.clear(r)}function u(t){return H.push(t),n(),{cancel:function(){var e=le(H,t);H[e]=function e(){var t=le(H,e);H[t]=H[H.length-1],--H.length,H.length<=0&&i()}}}}function f(){var e=F.viewport,t=F.scissor_box;e[0]=e[1]=t[0]=t[1]=0,T.viewportWidth=T.framebufferWidth=T.drawingBufferWidth=e[2]=t[2]=l.drawingBufferWidth,T.viewportHeight=T.framebufferHeight=T.drawingBufferHeight=e[3]=t[3]=l.drawingBufferHeight}function c(){T.tick+=1,T.time=d(),f(),k.procs.poll()}function h(){f(),k.procs.refresh(),A&&A.update()}function d(){return(ge()-S)/1e3}if(!(e=j(e)))return null;var l=e.gl,p=l.getContextAttributes();l.isContextLost();var b=function(r,e){function t(e){var t;e=e.toLowerCase();try{t=n[e]=r.getExtension(e)}catch(e){}return!!t}for(var n={},i=0;i<e.extensions.length;++i){var a=e.extensions[i];if(!t(a))return e.onDestroy(),e.onDone('"'+a+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return e.optionalExtensions.forEach(t),{extensions:n,restore:function(){Object.keys(n).forEach(function(e){if(!t(e))throw Error("(regl): error restoring extension "+e)})}}}(l,e);if(!b)return null;var m,g,v=(m={"":0},g=[""],{id:function(e){var t=m[e];return t||(t=m[e]=g.length,g.push(e),t)},str:function(e){return g[e]}}),y={bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0},w=b.extensions,A=function(e,t){function i(){this.endQueryIndex=this.startQueryIndex=-1,this.sum=0,this.stats=null}function r(e,t,r){var n=u.pop()||new i;n.startQueryIndex=e,n.endQueryIndex=t,n.sum=0,n.stats=r,f.push(n)}var a=t.ext_disjoint_timer_query;if(!a)return null;var o=[],s=[],u=[],f=[],c=[],h=[];return{beginQuery:function(e){var t=o.pop()||a.createQueryEXT();a.beginQueryEXT(35007,t),s.push(t),r(s.length-1,s.length,e)},endQuery:function(){a.endQueryEXT(35007)},pushScopeStats:r,update:function(){var e,t;if(0!==(e=s.length)){h.length=Math.max(h.length,e+1),c.length=Math.max(c.length,e+1),c[0]=0;var r=h[0]=0;for(t=e=0;t<s.length;++t){var n=s[t];a.getQueryObjectEXT(n,34919)?(r+=a.getQueryObjectEXT(n,34918),o.push(n)):s[e++]=n,c[t+1]=r,h[t+1]=e}for(s.length=e,t=e=0;t<f.length;++t){var i=(r=f[t]).startQueryIndex;n=r.endQueryIndex,r.sum+=c[n]-c[i],i=h[i],(n=h[n])===i?(r.stats.gpuTime+=r.sum/1e6,u.push(r)):(r.startQueryIndex=i,r.endQueryIndex=n,f[e++]=r)}f.length=e}},getNumPendingQueries:function(){return s.length},clear:function(){o.push.apply(o,s);for(var e=0;e<o.length;e++)a.deleteQueryEXT(o[e]);s.length=0,o.length=0},restore:function(){s.length=0,o.length=0}}}(0,w),S=ge(),_=l.drawingBufferWidth,E=l.drawingBufferHeight,T={tick:0,time:0,viewportWidth:_,viewportHeight:E,framebufferWidth:_,framebufferHeight:E,drawingBufferWidth:_,drawingBufferHeight:E,pixelRatio:e.pixelRatio},C=function(e,t){var r=1;t.ext_texture_filter_anisotropic&&(r=e.getParameter(34047));var n=1,i=1;return t.webgl_draw_buffers&&(n=e.getParameter(34852),i=e.getParameter(36063)),{colorBits:[e.getParameter(3410),e.getParameter(3411),e.getParameter(3412),e.getParameter(3413)],depthBits:e.getParameter(3414),stencilBits:e.getParameter(3415),subpixelBits:e.getParameter(3408),extensions:Object.keys(t).filter(function(e){return!!t[e]}),maxAnisotropic:r,maxDrawbuffers:n,maxColorAttachments:i,pointSizeDims:e.getParameter(33901),lineWidthDims:e.getParameter(33902),maxViewportDims:e.getParameter(3386),maxCombinedTextureUnits:e.getParameter(35661),maxCubeMapSize:e.getParameter(34076),maxRenderbufferSize:e.getParameter(34024),maxTextureUnits:e.getParameter(34930),maxTextureSize:e.getParameter(3379),maxAttributes:e.getParameter(34921),maxVertexUniforms:e.getParameter(36347),maxVertexTextureUnits:e.getParameter(35660),maxVaryingVectors:e.getParameter(36348),maxFragmentUniforms:e.getParameter(36349),glsl:e.getParameter(35724),renderer:e.getParameter(7937),vendor:e.getParameter(7936),version:e.getParameter(7938)}}(l,w),M=function(h,n,s){function i(e){this.id=t++,this.buffer=h.createBuffer(),this.type=e,this.usage=35044,this.byteLength=0,this.dimension=1,this.dtype=5121,this.persistentData=null,s.profile&&(this.stats={size:0})}function d(e,t,r){e.byteLength=t.byteLength,h.bufferData(e.type,t,r)}function u(e,t,r,n,i,a){if(e.usage=r,Array.isArray(t)){if(e.dtype=n||5126,0<t.length)if(Array.isArray(t[0])){i=Ce(t);for(var o=n=1;o<i.length;++o)n*=i[o];e.dimension=n,d(e,t=Te(t,i,e.dtype),r),a?e.persistentData=t:we.freeType(t)}else"number"==typeof t[0]?(e.dimension=i,X(i=we.allocType(e.dtype,t.length),t),d(e,i,r),a?e.persistentData=i:we.freeType(i)):ve(t[0])&&(e.dimension=t[0].length,e.dtype=n||W(t[0])||5126,d(e,t=Te(t,[t.length,t[0].length],e.dtype),r),a?e.persistentData=t:we.freeType(t))}else if(ve(t))e.dtype=n||W(t),e.dimension=i,d(e,t,r),a&&(e.persistentData=new Uint8Array(new Uint8Array(t.buffer)));else if(J(t)){i=t.shape;var s=t.stride,u=(o=t.offset,0),f=0,c=0,h=0;1===i.length?(u=i[0],f=1,c=s[0],h=0):2===i.length&&(u=i[0],f=i[1],c=s[0],h=s[1]),e.dtype=n||W(t.data)||5126,e.dimension=f,U(i=we.allocType(e.dtype,u*f),t.data,u,f,c,h,o),d(e,i,r),a?e.persistentData=i:we.freeType(i)}}function a(e){n.bufferCount--,h.deleteBuffer(e.buffer),e.buffer=null,delete l[e.id]}var t=0,l={};i.prototype.bind=function(){h.bindBuffer(this.type,this.buffer)},i.prototype.destroy=function(){a(this)};var o=[];return s.profile&&(n.getTotalBufferSize=function(){var t=0;return Object.keys(l).forEach(function(e){t+=l[e].stats.size}),t}),{create:function(e,t,r,o){function f(e){var t=35044,r=null,n=0,i=0,a=1;return Array.isArray(e)||ve(e)||J(e)?r=e:"number"==typeof e?n=0|e:e&&("data"in e&&(r=e.data),"usage"in e&&(t=Ee[e.usage]),"type"in e&&(i=_e[e.type]),"dimension"in e&&(a=0|e.dimension),"length"in e&&(n=0|e.length)),c.bind(),r?u(c,r,t,i,a,o):(h.bufferData(c.type,n,t),c.dtype=i||5121,c.usage=t,c.dimension=a,c.byteLength=n),s.profile&&(c.stats.size=c.byteLength*Me[c.dtype]),f}n.bufferCount++;var c=new i(t);return l[c.id]=c,r||f(e),f._reglType="buffer",f._buffer=c,f.subdata=function(e,t){var r,n=0|(t||0);if(c.bind(),ve(e))h.bufferSubData(c.type,n,e);else if(Array.isArray(e)){if(0<e.length)if("number"==typeof e[0]){var i=we.allocType(c.dtype,e.length);X(i,e),h.bufferSubData(c.type,n,i),we.freeType(i)}else(Array.isArray(e[0])||ve(e[0]))&&(r=Ce(e),i=Te(e,r,c.dtype),h.bufferSubData(c.type,n,i),we.freeType(i))}else if(J(e)){r=e.shape;var a=e.stride,o=i=0,s=0,u=0;1===r.length?(i=r[0],o=1,s=a[0],u=0):2===r.length&&(i=r[0],o=r[1],s=a[0],u=a[1]),r=Array.isArray(e.data)?c.dtype:W(e.data),U(r=we.allocType(r,i*o),e.data,i,o,s,u,e.offset),h.bufferSubData(c.type,n,r),we.freeType(r)}return f},s.profile&&(f.stats=c.stats),f.destroy=function(){a(c)},f},createStream:function(e,t){var r=o.pop();return r||(r=new i(e)),r.bind(),u(r,t,35040,0,1,!1),r},destroyStream:function(e){o.push(e)},clear:function(){ye(l).forEach(a),o.forEach(a)},getBuffer:function(e){return e&&e._buffer instanceof i?e._buffer:null},restore:function(){ye(l).forEach(function(e){e.buffer=h.createBuffer(),h.bindBuffer(e.type,e.buffer),h.bufferData(e.type,e.persistentData||e.byteLength,e.usage)})},_initBuffer:u}}(l,y,e),B=function(u,f,c,r){function n(e){this.id=a++,(t[this.id]=this).buffer=e,this.primType=4,this.type=this.vertCount=0}function h(e,t,r,n,i,a,o){if(e.buffer.bind(),t){var s=o;o||ve(t)&&(!J(t)||ve(t.data))||(s=f.oes_element_index_uint?5125:5123),c._initBuffer(e.buffer,t,r,s,3)}else u.bufferData(34963,a,r),e.buffer.dtype=s||5121,e.buffer.usage=r,e.buffer.dimension=3,e.buffer.byteLength=a;if(!(s=o)){switch(e.buffer.dtype){case 5121:case 5120:s=5121;break;case 5123:case 5122:s=5123;break;case 5125:case 5124:s=5125}e.buffer.dtype=s}e.type=s,(t=i)<0&&(t=e.buffer.byteLength,5123===s?t>>=1:5125===s&&(t>>=2)),e.vertCount=t,(t=n)<0&&(t=4,1===(n=e.buffer.dimension)&&(t=0),2===n&&(t=1),3===n&&(t=4)),e.primType=t}function i(e){r.elementsCount--,delete t[e.id],e.buffer.destroy(),e.buffer=null}var t={},a=0,d={uint8:5121,uint16:5123};f.oes_element_index_uint&&(d.uint32=5125),n.prototype.bind=function(){this.buffer.bind()};var o=[];return{create:function(e,t){function s(e){if(e)if("number"==typeof e)u(e),f.primType=4,f.vertCount=0|e,f.type=5121;else{var t=null,r=35044,n=-1,i=-1,a=0,o=0;Array.isArray(e)||ve(e)||J(e)?t=e:("data"in e&&(t=e.data),"usage"in e&&(r=Ee[e.usage]),"primitive"in e&&(n=Be[e.primitive]),"count"in e&&(i=0|e.count),"type"in e&&(o=d[e.type]),"length"in e?a=0|e.length:(a=i,5123===o||5122===o?a*=2:5125!==o&&5124!==o||(a*=4))),h(f,t,r,n,i,a,o)}else u(),f.primType=4,f.vertCount=0,f.type=5121;return s}var u=c.create(null,34963,!0),f=new n(u._buffer);return r.elementsCount++,s(e),s._reglType="elements",s._elements=f,s.subdata=function(e,t){return u.subdata(e,t),s},s.destroy=function(){i(f)},s},createStream:function(e){var t=o.pop();return t||(t=new n(c.create(null,34963,!0,!1)._buffer)),h(t,e,35040,-1,-1,0,0),t},destroyStream:function(e){o.push(e)},getElements:function(e){return"function"==typeof e&&e._elements instanceof n?e._elements:null},clear:function(){ye(t).forEach(i)}}}(l,w,M,y),x=(_=function(e,t,r,n,i){for(e=r.maxAttributes,t=Array(e),r=0;r<e;++r)t[r]=new Z;return{Record:Z,scope:{},state:t}}(l,w,C),function(f,c,a,h){function d(e,t,r,n){this.name=e,this.id=t,this.location=r,this.info=n}function l(e,t){for(var r=0;r<e.length;++r)if(e[r].id===t.id)return void(e[r].location=t.location);e.push(t)}function p(e,t,r){if(!(i=(r=35632===e?u:b)[t])){var n=c.str(t),i=f.createShader(e);f.shaderSource(i,n),f.compileShader(i),r[t]=i}return i}function o(e,t){this.id=r++,this.fragId=e,this.vertId=t,this.program=null,this.uniforms=[],this.attributes=[],h.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function s(e,t){var r,n;r=p(35632,e.fragId),n=p(35633,e.vertId);var i=e.program=f.createProgram();f.attachShader(i,r),f.attachShader(i,n),f.linkProgram(i);var a=f.getProgramParameter(i,35718);h.profile&&(e.stats.uniformsCount=a);var o=e.uniforms;for(r=0;r<a;++r)if(n=f.getActiveUniform(i,r))if(1<n.size)for(var s=0;s<n.size;++s){var u=n.name.replace("[0]","["+s+"]");l(o,new d(u,c.id(u),f.getUniformLocation(i,u),n))}else l(o,new d(n.name,c.id(n.name),f.getUniformLocation(i,n.name),n));for(a=f.getProgramParameter(i,35721),h.profile&&(e.stats.attributesCount=a),o=e.attributes,r=0;r<a;++r)(n=f.getActiveAttrib(i,r))&&l(o,new d(n.name,c.id(n.name),f.getAttribLocation(i,n.name),n))}var u={},b={},m={},g=[],r=0;return h.profile&&(a.getMaxUniformsCount=function(){var t=0;return g.forEach(function(e){e.stats.uniformsCount>t&&(t=e.stats.uniformsCount)}),t},a.getMaxAttributesCount=function(){var t=0;return g.forEach(function(e){e.stats.attributesCount>t&&(t=e.stats.attributesCount)}),t}),{clear:function(){var e=f.deleteShader.bind(f);ye(u).forEach(e),u={},ye(b).forEach(e),b={},g.forEach(function(e){f.deleteProgram(e.program)}),g.length=0,m={},a.shaderCount=0},program:function(e,t,r){var n=m[t];n||(n=m[t]={});var i=n[e];return i||(i=new o(t,e),a.shaderCount++,s(i),n[e]=i,g.push(i)),i},restore:function(){u={},b={};for(var e=0;e<g.length;++e)s(g[e])},shader:p,frag:-1,vert:-1}}(l,v,y,e)),I=function(p,r,e,b,m,s,h){function n(){this.format=this.internalformat=6408,this.type=5121,this.flipY=this.premultiplyAlpha=this.compressed=!1,this.unpackAlignment=1,this.colorSpace=37444,this.channels=this.height=this.width=0}function d(e,t){e.internalformat=t.internalformat,e.format=t.format,e.type=t.type,e.compressed=t.compressed,e.premultiplyAlpha=t.premultiplyAlpha,e.flipY=t.flipY,e.unpackAlignment=t.unpackAlignment,e.colorSpace=t.colorSpace,e.width=t.width,e.height=t.height,e.channels=t.channels}function g(e,t){if("object"==typeof t&&t){"premultiplyAlpha"in t&&(e.premultiplyAlpha=t.premultiplyAlpha),"flipY"in t&&(e.flipY=t.flipY),"alignment"in t&&(e.unpackAlignment=t.alignment),"colorSpace"in t&&(e.colorSpace=k[t.colorSpace]),"type"in t&&(e.type=F[t.type]);var r=e.width,n=e.height,i=e.channels,a=!1;"shape"in t?(r=t.shape[0],n=t.shape[1],3===t.shape.length&&(i=t.shape[2],a=!0)):("radius"in t&&(r=n=t.radius),"width"in t&&(r=t.width),"height"in t&&(n=t.height),"channels"in t&&(i=t.channels,a=!0)),e.width=0|r,e.height=0|n,e.channels=0|i,r=!1,"format"in t&&(r=t.format,n=e.internalformat=G[r],e.format=X[n],r in F&&!("type"in t)&&(e.type=F[r]),r in H&&(e.compressed=!0),r=!0),!a&&r?e.channels=De[e.format]:a&&!r&&e.channels!==Ie[e.format]&&(e.format=e.internalformat=Ie[e.channels])}}function v(e){p.pixelStorei(37440,e.flipY),p.pixelStorei(37441,e.premultiplyAlpha),p.pixelStorei(37443,e.colorSpace),p.pixelStorei(3317,e.unpackAlignment)}function t(){n.call(this),this.yOffset=this.xOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function l(e,t){var r=null;if(ne(t)?r=t:t&&(g(e,t),"x"in t&&(e.xOffset=0|t.x),"y"in t&&(e.yOffset=0|t.y),ne(t.data)&&(r=t.data)),t.copy){var n=m.viewportWidth,i=m.viewportHeight;e.width=e.width||n-e.xOffset,e.height=e.height||i-e.yOffset,e.needsCopy=!0}else if(r){if(ve(r))e.channels=e.channels||4,e.data=r,"type"in t||5121!==e.type||(e.type=0|Se[Object.prototype.toString.call(r)]);else if(ee(r)){switch(e.channels=e.channels||4,i=(n=r).length,e.type){case 5121:case 5123:case 5125:case 5126:(i=we.allocType(e.type,i)).set(n),e.data=i;break;case 36193:e.data=Q(n)}e.alignment=1,e.needsFree=!0}else if(J(r)){n=r.data,Array.isArray(n)||5121!==e.type||(e.type=0|Se[Object.prototype.toString.call(n)]),i=r.shape;var a,o,s,u,f=r.stride;3===i.length?(s=i[2],u=f[2]):u=s=1,a=i[0],o=i[1],i=f[0],f=f[1],e.alignment=1,e.width=a,e.height=o,e.channels=s,e.format=e.internalformat=Ie[s],e.needsFree=!0,a=u,r=r.offset,s=e.width,u=e.height,o=e.channels;for(var c=we.allocType(36193===e.type?5126:e.type,s*u*o),h=0,d=0;d<u;++d)for(var l=0;l<s;++l)for(var p=0;p<o;++p)c[h++]=n[i*l+f*d+a*p+r];ie(e,c)}else if("[object HTMLCanvasElement]"===re(r)||"[object CanvasRenderingContext2D]"===re(r))"[object HTMLCanvasElement]"===re(r)?e.element=r:e.element=r.canvas,e.width=e.element.width,e.height=e.element.height,e.channels=4;else if("[object HTMLImageElement]"===re(r))e.element=r,e.width=r.naturalWidth,e.height=r.naturalHeight,e.channels=4;else if("[object HTMLVideoElement]"===re(r))e.element=r,e.width=r.videoWidth,e.height=r.videoHeight,e.channels=4;else if(te(r)){for(n=e.width||r[0].length,i=e.height||r.length,f=e.channels,f=$(r[0][0])?f||r[0][0].length:f||1,a=Ae.shape(r),s=1,u=0;u<a.length;++u)s*=a[u];s=we.allocType(36193===e.type?5126:e.type,s),Ae.flatten(r,a,"",s),ie(e,s),e.alignment=1,e.width=n,e.height=i,e.channels=f,e.format=e.internalformat=Ie[f],e.needsFree=!0}}else e.width=e.width||1,e.height=e.height||1,e.channels=e.channels||4}function y(e,t,r,n,i){var a=e.element,o=e.data,s=e.internalformat,u=e.format,f=e.type,c=e.width,h=e.height;v(e),a?p.texSubImage2D(t,i,r,n,u,f,a):e.compressed?p.compressedTexSubImage2D(t,i,r,n,s,c,h,o):e.needsCopy?(b(),p.copyTexSubImage2D(t,i,r,n,e.xOffset,e.yOffset,c,h)):p.texSubImage2D(t,i,r,n,c,h,u,f,o)}function w(){return U.pop()||new t}function A(e){e.needsFree&&we.freeType(e.data),t.call(e),U.push(e)}function i(){n.call(this),this.genMipmaps=!1,this.mipmapHint=4352,this.mipmask=0,this.images=Array(16)}function S(e,t,r){var n=e.images[0]=w();e.mipmask=1,n.width=e.width=t,n.height=e.height=r,n.channels=e.channels=4}function _(e,t){var r=null;if(ne(t))d(r=e.images[0]=w(),e),l(r,t),e.mipmask=1;else if(g(e,t),Array.isArray(t.mipmap))for(var n=t.mipmap,i=0;i<n.length;++i)d(r=e.images[i]=w(),e),r.width>>=i,r.height>>=i,l(r,n[i]),e.mipmask|=1<<i;else d(r=e.images[0]=w(),e),l(r,t),e.mipmask=1;d(e,e.images[0])}function E(e,t){for(var r=e.images,n=0;n<r.length&&r[n];++n){var i=r[n],a=t,o=n,s=i.element,u=i.data,f=i.internalformat,c=i.format,h=i.type,d=i.width,l=i.height;v(i),s?p.texImage2D(a,o,c,c,h,s):i.compressed?p.compressedTexImage2D(a,o,f,d,l,0,u):i.needsCopy?(b(),p.copyTexImage2D(a,o,c,i.xOffset,i.yOffset,d,l,0)):p.texImage2D(a,o,c,d,l,0,c,h,u)}}function T(){var e=z.pop()||new i;n.call(e);for(var t=e.mipmask=0;t<16;++t)e.images[t]=null;return e}function C(e){for(var t=e.images,r=0;r<t.length;++r)t[r]&&A(t[r]),t[r]=null;z.push(e)}function M(){this.magFilter=this.minFilter=9728,this.wrapT=this.wrapS=33071,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=4352}function B(e,t){"min"in t&&(e.minFilter=c[t.min],0<=xe.indexOf(e.minFilter)&&(e.genMipmaps=!0)),"mag"in t&&(e.magFilter=f[t.mag]);var r=e.wrapS,n=e.wrapT;if("wrap"in t){var i=t.wrap;"string"==typeof i?r=n=u[i]:Array.isArray(i)&&(r=u[i[0]],n=u[i[1]])}else"wrapS"in t&&(r=u[t.wrapS]),"wrapT"in t&&(n=u[t.wrapT]);if(e.wrapS=r,e.wrapT=n,"anisotropic"in t&&(e.anisotropic=t.anisotropic),"mipmap"in t){switch(r=!1,typeof t.mipmap){case"string":e.mipmapHint=o[t.mipmap],r=e.genMipmaps=!0;break;case"boolean":r=e.genMipmaps=t.mipmap;break;case"object":r=!(e.genMipmaps=!1)}!r||"min"in t||(e.minFilter=9984)}}function x(e,t){p.texParameteri(t,10241,e.minFilter),p.texParameteri(t,10240,e.magFilter),p.texParameteri(t,10242,e.wrapS),p.texParameteri(t,10243,e.wrapT),r.ext_texture_filter_anisotropic&&p.texParameteri(t,34046,e.anisotropic),e.genMipmaps&&(p.hint(33170,e.mipmapHint),p.generateMipmap(t))}function I(e){n.call(this),this.mipmask=0,this.internalformat=6408,this.id=Z++,this.refCount=1,this.target=e,this.texture=p.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new M,h.profile&&(this.stats={size:0})}function D(e){p.activeTexture(33984),p.bindTexture(e.target,e.texture)}function P(){var e=q[0];e?p.bindTexture(e.target,e.texture):p.bindTexture(3553,null)}function a(e){var t=e.texture,r=e.unit,n=e.target;0<=r&&(p.activeTexture(33984+r),p.bindTexture(n,null),q[r]=null),p.deleteTexture(t),e.texture=null,e.params=null,e.pixels=null,e.refCount=0,delete Y[e.id],s.textureCount--}var o={"don't care":4352,"dont care":4352,nice:4354,fast:4353},u={repeat:10497,clamp:33071,mirror:33648},f={nearest:9728,linear:9729},c=pe({mipmap:9987,"nearest mipmap nearest":9984,"linear mipmap nearest":9985,"nearest mipmap linear":9986,"linear mipmap linear":9987},f),k={none:0,browser:37444},F={uint8:5121,rgba4:32819,rgb565:33635,"rgb5 a1":32820},G={alpha:6406,luminance:6409,"luminance alpha":6410,rgb:6407,rgba:6408,rgba4:32854,"rgb5 a1":32855,rgb565:36194},H={};r.ext_srgb&&(G.srgb=35904,G.srgba=35906),r.oes_texture_float&&(F.float32=F.float=5126),r.oes_texture_half_float&&(F.float16=F["half float"]=36193),r.webgl_depth_texture&&(pe(G,{depth:6402,"depth stencil":34041}),pe(F,{uint16:5123,uint32:5125,"depth stencil":34042})),r.webgl_compressed_texture_s3tc&&pe(H,{"rgb s3tc dxt1":33776,"rgba s3tc dxt1":33777,"rgba s3tc dxt3":33778,"rgba s3tc dxt5":33779}),r.webgl_compressed_texture_atc&&pe(H,{"rgb atc":35986,"rgba atc explicit alpha":35987,"rgba atc interpolated alpha":34798}),r.webgl_compressed_texture_pvrtc&&pe(H,{"rgb pvrtc 4bppv1":35840,"rgb pvrtc 2bppv1":35841,"rgba pvrtc 4bppv1":35842,"rgba pvrtc 2bppv1":35843}),r.webgl_compressed_texture_etc1&&(H["rgb etc1"]=36196);var R=Array.prototype.slice.call(p.getParameter(34467));Object.keys(H).forEach(function(e){var t=H[e];0<=R.indexOf(t)&&(G[e]=t)});var L=Object.keys(G);e.textureFormats=L;var O=[];Object.keys(G).forEach(function(e){O[G[e]]=e});var N=[];Object.keys(F).forEach(function(e){N[F[e]]=e});var V=[];Object.keys(f).forEach(function(e){V[f[e]]=e});var j=[];Object.keys(c).forEach(function(e){j[c[e]]=e});var W=[];Object.keys(u).forEach(function(e){W[u[e]]=e});var X=L.reduce(function(e,t){var r=G[t];return 6409===r||6406===r||6409===r||6410===r||6402===r||34041===r?e[r]=r:32855===r||0<=t.indexOf("rgba")?e[r]=6408:e[r]=6407,e},{}),U=[],z=[],Z=0,Y={},K=e.maxTextureUnits,q=Array(K).map(function(){return null});return pe(I.prototype,{bind:function(){this.bindCount+=1;var e=this.unit;if(e<0){for(var t=0;t<K;++t){var r=q[t];if(r){if(0<r.bindCount)continue;r.unit=-1}q[t]=this,e=t;break}h.profile&&s.maxTextureUnits<e+1&&(s.maxTextureUnits=e+1),this.unit=e,p.activeTexture(33984+e),p.bindTexture(this.target,this.texture)}return e},unbind:function(){--this.bindCount},decRef:function(){--this.refCount<=0&&a(this)}}),h.profile&&(s.getTotalTextureSize=function(){var t=0;return Object.keys(Y).forEach(function(e){t+=Y[e].stats.size}),t}),{create2D:function(e,t){function a(e,t){var r=o.texInfo;M.call(r);var n=T();return"number"==typeof e?S(n,0|e,"number"==typeof t?0|t:0|e):e?(B(r,e),_(n,e)):S(n,1,1),r.genMipmaps&&(n.mipmask=(n.width<<1)-1),o.mipmask=n.mipmask,d(o,n),o.internalformat=n.internalformat,a.width=n.width,a.height=n.height,D(o),E(n,3553),x(r,3553),P(),C(n),h.profile&&(o.stats.size=ae(o.internalformat,o.type,n.width,n.height,r.genMipmaps,!1)),a.format=O[o.internalformat],a.type=N[o.type],a.mag=V[r.magFilter],a.min=j[r.minFilter],a.wrapS=W[r.wrapS],a.wrapT=W[r.wrapT],a}var o=new I(3553);return Y[o.id]=o,s.textureCount++,a(e,t),a.subimage=function(e,t,r,n){t|=0,r|=0,n|=0;var i=w();return d(i,o),i.width=0,i.height=0,l(i,e),i.width=i.width||(o.width>>n)-t,i.height=i.height||(o.height>>n)-r,D(o),y(i,3553,t,r,n),P(),A(i),a},a.resize=function(e,t){var r=0|e,n=0|t||r;if(r===o.width&&n===o.height)return a;a.width=o.width=r,a.height=o.height=n,D(o);for(var i=0;o.mipmask>>i;++i)p.texImage2D(3553,i,o.format,r>>i,n>>i,0,o.format,o.type,null);return P(),h.profile&&(o.stats.size=ae(o.internalformat,o.type,r,n,!1,!1)),a},a._reglType="texture2d",a._texture=o,h.profile&&(a.stats=o.stats),a.destroy=function(){o.decRef()},a},createCube:function(e,t,r,n,i,a){function u(e,t,r,n,i,a){var o,s=f.texInfo;for(M.call(s),o=0;o<6;++o)c[o]=T();if("number"!=typeof e&&e){if("object"==typeof e)if(t)_(c[0],e),_(c[1],t),_(c[2],r),_(c[3],n),_(c[4],i),_(c[5],a);else if(B(s,e),g(f,e),"faces"in e)for(e=e.faces,o=0;o<6;++o)d(c[o],f),_(c[o],e[o]);else for(o=0;o<6;++o)_(c[o],e)}else for(e=0|e||1,o=0;o<6;++o)S(c[o],e,e);for(d(f,c[0]),f.mipmask=s.genMipmaps?(c[0].width<<1)-1:c[0].mipmask,f.internalformat=c[0].internalformat,u.width=c[0].width,u.height=c[0].height,D(f),o=0;o<6;++o)E(c[o],34069+o);for(x(s,34067),P(),h.profile&&(f.stats.size=ae(f.internalformat,f.type,u.width,u.height,s.genMipmaps,!0)),u.format=O[f.internalformat],u.type=N[f.type],u.mag=V[s.magFilter],u.min=j[s.minFilter],u.wrapS=W[s.wrapS],u.wrapT=W[s.wrapT],o=0;o<6;++o)C(c[o]);return u}var f=new I(34067);Y[f.id]=f,s.cubeCount++;var c=Array(6);return u(e,t,r,n,i,a),u.subimage=function(e,t,r,n,i){r|=0,n|=0,i|=0;var a=w();return d(a,f),a.width=0,a.height=0,l(a,t),a.width=a.width||(f.width>>i)-r,a.height=a.height||(f.height>>i)-n,D(f),y(a,34069+e,r,n,i),P(),A(a),u},u.resize=function(e){if((e|=0)!==f.width){u.width=f.width=e,u.height=f.height=e,D(f);for(var t=0;t<6;++t)for(var r=0;f.mipmask>>r;++r)p.texImage2D(34069+t,r,f.format,e>>r,e>>r,0,f.format,f.type,null);return P(),h.profile&&(f.stats.size=ae(f.internalformat,f.type,u.width,u.height,!1,!0)),u}},u._reglType="textureCube",u._texture=f,h.profile&&(u.stats=f.stats),u.destroy=function(){f.decRef()},u},clear:function(){for(var e=0;e<K;++e)p.activeTexture(33984+e),p.bindTexture(3553,null),q[e]=null;ye(Y).forEach(a),s.cubeCount=0,s.textureCount=0},getTexture:function(e){return null},restore:function(){ye(Y).forEach(function(e){e.texture=p.createTexture(),p.bindTexture(e.target,e.texture);for(var t=0;t<32;++t)if(0!=(e.mipmask&1<<t))if(3553===e.target)p.texImage2D(3553,t,e.internalformat,e.width>>t,e.height>>t,0,e.internalformat,e.type,null);else for(var r=0;r<6;++r)p.texImage2D(34069+r,t,e.internalformat,e.width>>t,e.height>>t,0,e.internalformat,e.type,null);x(e.texInfo,e.target)})}}}(l,w,C,function(){k.procs.poll()},T,y,e),D=function(s,e,t,r,u){function n(e){this.id=a++,this.refCount=1,this.renderbuffer=e,this.format=32854,this.height=this.width=0,u.profile&&(this.stats={size:0})}function i(e){var t=e.renderbuffer;s.bindRenderbuffer(36161,null),s.deleteRenderbuffer(t),e.renderbuffer=null,e.refCount=0,delete h[e.id],r.renderbufferCount--}var f={rgba4:32854,rgb565:36194,"rgb5 a1":32855,depth:33189,stencil:36168,"depth stencil":34041};e.ext_srgb&&(f.srgba=35907),e.ext_color_buffer_half_float&&(f.rgba16f=34842,f.rgb16f=34843),e.webgl_color_buffer_float&&(f.rgba32f=34836);var c=[];Object.keys(f).forEach(function(e){c[f[e]]=e});var a=0,h={};return n.prototype.decRef=function(){--this.refCount<=0&&i(this)},u.profile&&(r.getTotalRenderbufferSize=function(){var t=0;return Object.keys(h).forEach(function(e){t+=h[e].stats.size}),t}),{create:function(e,t){function a(e,t){var r=0,n=0,i=32854;if("object"==typeof e&&e?("shape"in e?(r=0|(n=e.shape)[0],n=0|n[1]):("radius"in e&&(r=n=0|e.radius),"width"in e&&(r=0|e.width),"height"in e&&(n=0|e.height)),"format"in e&&(i=f[e.format])):"number"==typeof e?(r=0|e,n="number"==typeof t?0|t:r):e||(r=n=1),r!==o.width||n!==o.height||i!==o.format)return a.width=o.width=r,a.height=o.height=n,o.format=i,s.bindRenderbuffer(36161,o.renderbuffer),s.renderbufferStorage(36161,i,r,n),u.profile&&(o.stats.size=Pe[o.format]*o.width*o.height),a.format=c[o.format],a}var o=new n(s.createRenderbuffer());return h[o.id]=o,r.renderbufferCount++,a(e,t),a.resize=function(e,t){var r=0|e,n=0|t||r;return r===o.width&&n===o.height||(a.width=o.width=r,a.height=o.height=n,s.bindRenderbuffer(36161,o.renderbuffer),s.renderbufferStorage(36161,o.format,r,n),u.profile&&(o.stats.size=Pe[o.format]*o.width*o.height)),a},a._reglType="renderbuffer",a._renderbuffer=o,u.profile&&(a.stats=o.stats),a.destroy=function(){o.decRef()},a},clear:function(){ye(h).forEach(i)},restore:function(){ye(h).forEach(function(e){e.renderbuffer=s.createRenderbuffer(),s.bindRenderbuffer(36161,e.renderbuffer),s.renderbufferStorage(36161,e.format,e.width,e.height)}),s.bindRenderbuffer(36161,null)}}}(l,w,0,y,e),P=function(n,e,i,f,a,r){function o(e,t,r){this.target=e,this.texture=t,this.renderbuffer=r;var n=e=0;t?(e=t.width,n=t.height):r&&(e=r.width,n=r.height),this.width=e,this.height=n}function t(e){e&&(e.texture&&e.texture._texture.decRef(),e.renderbuffer&&e.renderbuffer._renderbuffer.decRef())}function A(e,t,r){e&&(e.texture?e.texture._texture.refCount+=1:e.renderbuffer._renderbuffer.refCount+=1)}function s(e,t){t&&(t.texture?n.framebufferTexture2D(36160,e,t.target,t.texture._texture.texture,0):n.framebufferRenderbuffer(36160,e,36161,t.renderbuffer._renderbuffer.renderbuffer))}function S(e){var t=3553,r=null,n=null,i=e;return"object"==typeof e&&(i=e.data,"target"in e&&(t=0|e.target)),"texture2d"===(e=i._reglType)?r=i:"textureCube"===e?r=i:"renderbuffer"===e&&(n=i,t=36161),new o(t,r,n)}function _(e,t,r,n,i){return r?((e=f.create2D({width:e,height:t,format:n,type:i}))._texture.refCount=0,new o(3553,e,null)):((e=a.create({width:e,height:t,format:n}))._renderbuffer.refCount=0,new o(36161,null,e))}function E(e){return e&&(e.texture||e.renderbuffer)}function u(e,t,r){e&&(e.texture?e.texture.resize(t,r):e.renderbuffer&&e.renderbuffer.resize(t,r))}function c(){this.id=b++,(m[this.id]=this).framebuffer=n.createFramebuffer(),this.height=this.width=0,this.colorAttachments=[],this.depthStencilAttachment=this.stencilAttachment=this.depthAttachment=null}function T(e){e.colorAttachments.forEach(t),t(e.depthAttachment),t(e.stencilAttachment),t(e.depthStencilAttachment)}function h(e){n.deleteFramebuffer(e.framebuffer),e.framebuffer=null,r.framebufferCount--,delete m[e.id]}function C(e){var t;n.bindFramebuffer(36160,e.framebuffer);var r=e.colorAttachments;for(t=0;t<r.length;++t)s(36064+t,r[t]);for(t=r.length;t<i.maxColorAttachments;++t)n.framebufferTexture2D(36160,36064+t,3553,null,0);n.framebufferTexture2D(36160,33306,3553,null,0),n.framebufferTexture2D(36160,36096,3553,null,0),n.framebufferTexture2D(36160,36128,3553,null,0),s(36096,e.depthAttachment),s(36128,e.stencilAttachment),s(33306,e.depthStencilAttachment),n.checkFramebufferStatus(36160),n.bindFramebuffer(36160,l.next),l.cur=l.next,n.getError()}function d(e,t){function y(e,t){var r,n=0,i=0,a=!0,o=!0,s=!(r=null),u="rgba",f="uint8",c=1,h=null,d=null,l=null,p=!1;"number"==typeof e?(n=0|e,i=0|t||n):e?("shape"in e?(n=(i=e.shape)[0],i=i[1]):("radius"in e&&(n=i=e.radius),"width"in e&&(n=e.width),"height"in e&&(i=e.height)),("color"in e||"colors"in e)&&(r=e.color||e.colors,Array.isArray(r)),r||("colorCount"in e&&(c=0|e.colorCount),"colorTexture"in e&&(s=!!e.colorTexture,u="rgba4"),"colorType"in e&&(f=e.colorType,!s)&&("half float"===f||"float16"===f?u="rgba16f":"float"!==f&&"float32"!==f||(u="rgba32f")),"colorFormat"in e&&(u=e.colorFormat,0<=M.indexOf(u)?s=!0:0<=B.indexOf(u)&&(s=!1))),("depthTexture"in e||"depthStencilTexture"in e)&&(p=!(!e.depthTexture&&!e.depthStencilTexture)),"depth"in e&&("boolean"==typeof e.depth?a=e.depth:(h=e.depth,o=!1)),"stencil"in e&&("boolean"==typeof e.stencil?o=e.stencil:(d=e.stencil,a=!1)),"depthStencil"in e&&("boolean"==typeof e.depthStencil?a=o=e.depthStencil:(l=e.depthStencil,o=a=!1))):n=i=1;var b=null,m=null,g=null,v=null;if(Array.isArray(r))b=r.map(S);else if(r)b=[S(r)];else for(b=Array(c),r=0;r<c;++r)b[r]=_(n,i,s,u,f);for(n=n||b[0].width,i=i||b[0].height,h?m=S(h):a&&!o&&(m=_(n,i,p,"depth","uint32")),d?g=S(d):o&&!a&&(g=_(n,i,!1,"stencil","uint8")),l?v=S(l):!h&&!d&&o&&a&&(v=_(n,i,p,"depth stencil","depth stencil")),a=null,r=0;r<b.length;++r)A(b[r]),b[r]&&b[r].texture&&(o=ke[b[r].texture._texture.format]*Fe[b[r].texture._texture.type],null===a&&(a=o));return A(m),A(g),A(v),T(w),w.width=n,w.height=i,w.colorAttachments=b,w.depthAttachment=m,w.stencilAttachment=g,w.depthStencilAttachment=v,y.color=b.map(E),y.depth=E(m),y.stencil=E(g),y.depthStencil=E(v),y.width=w.width,y.height=w.height,C(w),y}var w=new c;return r.framebufferCount++,y(e,t),pe(y,{resize:function(e,t){var r=0|e,n=0|t||r;if(r===w.width&&n===w.height)return y;for(var i=w.colorAttachments,a=0;a<i.length;++a)u(i[a],r,n);return u(w.depthAttachment,r,n),u(w.stencilAttachment,r,n),u(w.depthStencilAttachment,r,n),w.width=y.width=r,w.height=y.height=n,C(w),y},_reglType:"framebuffer",_framebuffer:w,destroy:function(){h(w),T(w)},use:function(e){l.setFBO({framebuffer:y},e)}})}var l={cur:null,next:null,dirty:!1,setFBO:null},M=["rgba"],B=["rgba4","rgb565","rgb5 a1"];e.ext_srgb&&B.push("srgba"),e.ext_color_buffer_half_float&&B.push("rgba16f","rgb16f"),e.webgl_color_buffer_float&&B.push("rgba32f");var p=["uint8"];e.oes_texture_half_float&&p.push("half float","float16"),e.oes_texture_float&&p.push("float","float32");var b=0,m={};return pe(l,{getFramebuffer:function(e){return"function"==typeof e&&"framebuffer"===e._reglType&&(e=e._framebuffer)instanceof c?e:null},create:d,createCube:function(e){function s(e){var t,r={color:null},n=0,i=null;t="rgba";var a="uint8",o=1;if("number"==typeof e?n=0|e:e?("shape"in e?n=e.shape[0]:("radius"in e&&(n=0|e.radius),"width"in e?n=0|e.width:"height"in e&&(n=0|e.height)),("color"in e||"colors"in e)&&(i=e.color||e.colors,Array.isArray(i)),i||("colorCount"in e&&(o=0|e.colorCount),"colorType"in e&&(a=e.colorType),"colorFormat"in e&&(t=e.colorFormat)),"depth"in e&&(r.depth=e.depth),"stencil"in e&&(r.stencil=e.stencil),"depthStencil"in e&&(r.depthStencil=e.depthStencil)):n=1,i)if(Array.isArray(i))for(e=[],t=0;t<i.length;++t)e[t]=i[t];else e=[i];else for(e=Array(o),i={radius:n,format:t,type:a},t=0;t<o;++t)e[t]=f.createCube(i);for(r.color=Array(e.length),t=0;t<e.length;++t)o=e[t],n=n||o.width,r.color[t]={target:34069,data:e[t]};for(t=0;t<6;++t){for(o=0;o<e.length;++o)r.color[o].target=34069+t;0<t&&(r.depth=u[0].depth,r.stencil=u[0].stencil,r.depthStencil=u[0].depthStencil),u[t]?u[t](r):u[t]=d(r)}return pe(s,{width:n,height:n,color:e})}var u=Array(6);return s(e),pe(s,{faces:u,resize:function(e){var t=0|e;if(t===s.width)return s;var r=s.color;for(e=0;e<r.length;++e)r[e].resize(t);for(e=0;e<6;++e)u[e].resize(t);return s.width=s.height=t,s},_reglType:"framebufferCube",destroy:function(){u.forEach(function(e){e.destroy()})}})},clear:function(){ye(m).forEach(h)},restore:function(){ye(m).forEach(function(e){e.framebuffer=n.createFramebuffer(),C(e)})}})}(l,w,C,I,D,y),k=de(l,v,w,C,M,B,0,P,{},_,x,{elements:null,primitive:4,count:-1,offset:0,instances:-1},T,A,e),F=(v=Y(l,P,k.procs.poll,T),k.next),G=l.canvas,H=[],R=[],L=[],O=[e.onDestroy],N=null;G&&(G.addEventListener("webglcontextlost",t,!1),G.addEventListener("webglcontextrestored",a,!1));var V=P.setFBO=o({framebuffer:be.define.call(null,1,"framebuffer")});return h(),p=pe(o,{clear:function(e){if("framebuffer"in e)if(e.framebuffer&&"framebufferCube"===e.framebuffer_reglType)for(var t=0;t<6;++t)V(pe({framebuffer:e.framebuffer.faces[t]},e),s);else V(e,s);else s(0,e)},prop:be.define.bind(null,1),context:be.define.bind(null,2),this:be.define.bind(null,3),draw:o({}),buffer:function(e){return M.create(e,34962,!1,!1)},elements:function(e){return B.create(e,!1)},texture:I.create2D,cube:I.createCube,renderbuffer:D.create,framebuffer:P.create,framebufferCube:P.createCube,attributes:p,frame:u,on:function(e,t){var r;switch(e){case"frame":return u(t);case"lost":r=R;break;case"restore":r=L;break;case"destroy":r=O}return r.push(t),{cancel:function(){for(var e=0;e<r.length;++e)if(r[e]===t){r[e]=r[r.length-1],r.pop();break}}}},limits:C,hasExtension:function(e){return 0<=C.extensions.indexOf(e.toLowerCase())},read:v,destroy:function(){H.length=0,i(),G&&(G.removeEventListener("webglcontextlost",t),G.removeEventListener("webglcontextrestored",a)),x.clear(),P.clear(),D.clear(),I.clear(),B.clear(),M.clear(),A&&A.clear(),O.forEach(function(e){e()})},_gl:l,_refresh:h,poll:function(){c(),A&&A.update()},now:d,stats:y}),e.onDone(null,p),p}},"object"==typeof r&&void 0!==t?t.exports=i():"function"==typeof define&&define.amd?define(i):n.createREGL=i()},{}],228:[function(e,t,r){var f=["manifest","onDone","onProgress","onError"],g=["type","src","stream","credentials","parser"],v=["onData","onDone"],y=-1,w=0,A=1;function S(e){throw new Error("resl: "+e)}function _(e,t,r){Object.keys(e).forEach(function(e){t.indexOf(e)<0&&S('invalid parameter "'+e+'" in '+r)})}function E(e,t){this.state=w,this.ready=!1,this.progress=0,this.name=e,this.cancel=t}t.exports=function(n){"object"==typeof n&&n||S("invalid or missing configuration"),_(n,f,"config");var d=n.manifest;function e(e,t){if(e in n){var r=n[e];return"function"!=typeof r&&S('invalid callback "'+e+'"'),r}return null}"object"==typeof d&&d||S("missing manifest");var i=e("onDone");i||S("missing onDone() callback");var a=e("onProgress"),t=e("onError"),l={},o=w;function r(t){var r=t.name,e=t.stream,n="binary"===t.type,i=t.parser,a=new XMLHttpRequest,o=null,s=new E(r,function(){if(s.state===A||s.state===y)return;a.onreadystatechange=null,a.abort(),s.state=y});function u(){if(!(a.readyState<2||s.state===A||s.state===y)){if(200!==a.status)return b('error loading resource "'+t.name+'"');var e;if(2<a.readyState&&s.state===w)if(e="binary"===t.type?a.response:a.responseText,i.data)try{o=i.data(e)}catch(e){return b(e)}else o=e;if(3<a.readyState&&s.state===w){if(i.done)try{o=i.done()}catch(e){return b(e)}s.state=A}l[r]=o,s.progress=.75*s.progress+.25,s.ready=t.stream&&!!o||s.state===A,m()}}return a.onreadystatechange=e?u:function(){4===a.readyState&&u()},n&&(a.responseType="arraybuffer"),t.credentials&&(a.withCredentials=!0),a.open("GET",t.src,!0),a.send(),s}function s(e,t){var r=e.name,n=e.parser,i=new E(r,function(){if(i.state===A||i.state===y)return;i.state=y,d(),t.src=""}),a=t;function o(){if(i.state===w)if(n.data)try{a=n.data(t)}catch(e){return b(e)}else a=t}function s(e){o(),l[r]=a,e.lengthComputable?i.progress=Math.max(i.progress,e.loaded/e.total):i.progress=.75*i.progress+.25,m(r)}function u(){if(o(),i.state===w){if(n.done)try{a=n.done()}catch(e){return b(e)}i.state=A}i.progress=1,i.ready=!0,l[r]=a,d(),m("finish "+r)}function f(){b('error loading asset "'+r+'"')}if(e.stream&&t.addEventListener("progress",s),"image"===e.type)t.addEventListener("load",u);else{var c=!1,h=!1;t.addEventListener("loadedmetadata",function(){h=!0,c&&u()}),t.addEventListener("canplay",function(){c=!0,h&&u()})}function d(){e.stream&&t.removeEventListener("progress",s),"image"===e.type?t.addEventListener("load",u):t.addEventListener("canplay",u),t.removeEventListener("error",f)}return t.addEventListener("error",f),e.credentials?t.crossOrigin="use-credentials":t.crossOrigin="anonymous",t.src=e.src,i}var p={text:r,binary:function(e){return r(e)},image:function(e){return s(e,document.createElement("img"))},video:function(e){return s(e,document.createElement("video"))},audio:function(e){return s(e,document.createElement("audio"))}},u=Object.keys(d).map(function(e){var n=d[e];function t(e,t){if(e in n.parser){var r=n.parser[e];return"function"!=typeof r&&S("invalid parser callback "+e+' for asset "'+e+'"'),r}return t}"string"==typeof n?n={src:n}:"object"==typeof n&&n||S('invalid asset definition "'+e+'"'),_(n,g,'asset "'+e+'"');var r,i,a,o,s,u,f,c,h={};return"parser"in n&&("function"==typeof n.parser?h={data:n.parser}:"object"==typeof n.parser&&n.parser?(_(h,v,'parser for asset "'+e+'"'),"onData"in h||S('missing onData callback for parser in asset "'+e+'"'),h={data:t("onData"),done:t("onDone")}):S('invalid parser for asset "'+e+'"')),{name:e,type:(s="type",u=Object.keys(p),f="text",c=f,s in n&&(c=n[s]),u.indexOf(c)<0&&S("invalid "+s+' "'+c+'" for asset "'+e+'", possible values: '+u),c),stream:!!n.stream,credentials:!!n.credentials,src:(r="src",i=!0,a="",o=a,r in n?o=n[r]:i&&S("missing "+r+' for asset "'+e+'"'),"string"!=typeof o&&S("invalid "+r+' for asset "'+e+'", must be a string'),o),parser:h}}).map(function(e){return p[e.type](e)});function b(e){o!==y&&o!==A&&(o=y,u.forEach(function(e){e.cancel()}),t?t("string"==typeof e?new Error("resl: "+e):e):console.error("resl error:",e))}function m(e){if(o!==y&&o!==A){var t=0,r=0;u.forEach(function(e){e.ready&&(r+=1),t+=e.progress}),r===u.length?(o=A,i(l)):a&&a(t/u.length,e)}}0===u.length&&setTimeout(function(){m("done")},1)}},{}],229:[function(i,a,e){(function(t){"use strict";var e=i("inherits"),r=i("hash-base");function n(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function l(e,t){return e<<t|e>>>32-t}function p(e,t,r,n,i,a,o,s){return l(e+(t^r^n)+a+o|0,s)+i|0}function b(e,t,r,n,i,a,o,s){return l(e+(t&r|~t&n)+a+o|0,s)+i|0}function m(e,t,r,n,i,a,o,s){return l(e+((t|~r)^n)+a+o|0,s)+i|0}function g(e,t,r,n,i,a,o,s){return l(e+(t&n|r&~n)+a+o|0,s)+i|0}function v(e,t,r,n,i,a,o,s){return l(e+(t^(r|~n))+a+o|0,s)+i|0}e(n,r),n.prototype._update=function(){for(var e=new Array(16),t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,a=this._d,o=this._e;o=p(o,r=p(r,n,i,a,o,e[0],0,11),n,i=l(i,10),a,e[1],0,14),n=p(n=l(n,10),i=p(i,a=p(a,o,r,n,i,e[2],0,15),o,r=l(r,10),n,e[3],0,12),a,o=l(o,10),r,e[4],0,5),a=p(a=l(a,10),o=p(o,r=p(r,n,i,a,o,e[5],0,8),n,i=l(i,10),a,e[6],0,7),r,n=l(n,10),i,e[7],0,9),r=p(r=l(r,10),n=p(n,i=p(i,a,o,r,n,e[8],0,11),a,o=l(o,10),r,e[9],0,13),i,a=l(a,10),o,e[10],0,14),i=p(i=l(i,10),a=p(a,o=p(o,r,n,i,a,e[11],0,15),r,n=l(n,10),i,e[12],0,6),o,r=l(r,10),n,e[13],0,7),o=b(o=l(o,10),r=p(r,n=p(n,i,a,o,r,e[14],0,9),i,a=l(a,10),o,e[15],0,8),n,i=l(i,10),a,e[7],1518500249,7),n=b(n=l(n,10),i=b(i,a=b(a,o,r,n,i,e[4],1518500249,6),o,r=l(r,10),n,e[13],1518500249,8),a,o=l(o,10),r,e[1],1518500249,13),a=b(a=l(a,10),o=b(o,r=b(r,n,i,a,o,e[10],1518500249,11),n,i=l(i,10),a,e[6],1518500249,9),r,n=l(n,10),i,e[15],1518500249,7),r=b(r=l(r,10),n=b(n,i=b(i,a,o,r,n,e[3],1518500249,15),a,o=l(o,10),r,e[12],1518500249,7),i,a=l(a,10),o,e[0],1518500249,12),i=b(i=l(i,10),a=b(a,o=b(o,r,n,i,a,e[9],1518500249,15),r,n=l(n,10),i,e[5],1518500249,9),o,r=l(r,10),n,e[2],1518500249,11),o=b(o=l(o,10),r=b(r,n=b(n,i,a,o,r,e[14],1518500249,7),i,a=l(a,10),o,e[11],1518500249,13),n,i=l(i,10),a,e[8],1518500249,12),n=m(n=l(n,10),i=m(i,a=m(a,o,r,n,i,e[3],1859775393,11),o,r=l(r,10),n,e[10],1859775393,13),a,o=l(o,10),r,e[14],1859775393,6),a=m(a=l(a,10),o=m(o,r=m(r,n,i,a,o,e[4],1859775393,7),n,i=l(i,10),a,e[9],1859775393,14),r,n=l(n,10),i,e[15],1859775393,9),r=m(r=l(r,10),n=m(n,i=m(i,a,o,r,n,e[8],1859775393,13),a,o=l(o,10),r,e[1],1859775393,15),i,a=l(a,10),o,e[2],1859775393,14),i=m(i=l(i,10),a=m(a,o=m(o,r,n,i,a,e[7],1859775393,8),r,n=l(n,10),i,e[0],1859775393,13),o,r=l(r,10),n,e[6],1859775393,6),o=m(o=l(o,10),r=m(r,n=m(n,i,a,o,r,e[13],1859775393,5),i,a=l(a,10),o,e[11],1859775393,12),n,i=l(i,10),a,e[5],1859775393,7),n=g(n=l(n,10),i=g(i,a=m(a,o,r,n,i,e[12],1859775393,5),o,r=l(r,10),n,e[1],2400959708,11),a,o=l(o,10),r,e[9],2400959708,12),a=g(a=l(a,10),o=g(o,r=g(r,n,i,a,o,e[11],2400959708,14),n,i=l(i,10),a,e[10],2400959708,15),r,n=l(n,10),i,e[0],2400959708,14),r=g(r=l(r,10),n=g(n,i=g(i,a,o,r,n,e[8],2400959708,15),a,o=l(o,10),r,e[12],2400959708,9),i,a=l(a,10),o,e[4],2400959708,8),i=g(i=l(i,10),a=g(a,o=g(o,r,n,i,a,e[13],2400959708,9),r,n=l(n,10),i,e[3],2400959708,14),o,r=l(r,10),n,e[7],2400959708,5),o=g(o=l(o,10),r=g(r,n=g(n,i,a,o,r,e[15],2400959708,6),i,a=l(a,10),o,e[14],2400959708,8),n,i=l(i,10),a,e[5],2400959708,6),n=v(n=l(n,10),i=g(i,a=g(a,o,r,n,i,e[6],2400959708,5),o,r=l(r,10),n,e[2],2400959708,12),a,o=l(o,10),r,e[4],2840853838,9),a=v(a=l(a,10),o=v(o,r=v(r,n,i,a,o,e[0],2840853838,15),n,i=l(i,10),a,e[5],2840853838,5),r,n=l(n,10),i,e[9],2840853838,11),r=v(r=l(r,10),n=v(n,i=v(i,a,o,r,n,e[7],2840853838,6),a,o=l(o,10),r,e[12],2840853838,8),i,a=l(a,10),o,e[2],2840853838,13),i=v(i=l(i,10),a=v(a,o=v(o,r,n,i,a,e[10],2840853838,12),r,n=l(n,10),i,e[14],2840853838,5),o,r=l(r,10),n,e[1],2840853838,12),o=v(o=l(o,10),r=v(r,n=v(n,i,a,o,r,e[3],2840853838,13),i,a=l(a,10),o,e[8],2840853838,14),n,i=l(i,10),a,e[11],2840853838,11),n=v(n=l(n,10),i=v(i,a=v(a,o,r,n,i,e[6],2840853838,8),o,r=l(r,10),n,e[15],2840853838,5),a,o=l(o,10),r,e[13],2840853838,6),a=l(a,10);var s=this._a,u=this._b,f=this._c,c=this._d,h=this._e;h=v(h,s=v(s,u,f,c,h,e[5],1352829926,8),u,f=l(f,10),c,e[14],1352829926,9),u=v(u=l(u,10),f=v(f,c=v(c,h,s,u,f,e[7],1352829926,9),h,s=l(s,10),u,e[0],1352829926,11),c,h=l(h,10),s,e[9],1352829926,13),c=v(c=l(c,10),h=v(h,s=v(s,u,f,c,h,e[2],1352829926,15),u,f=l(f,10),c,e[11],1352829926,15),s,u=l(u,10),f,e[4],1352829926,5),s=v(s=l(s,10),u=v(u,f=v(f,c,h,s,u,e[13],1352829926,7),c,h=l(h,10),s,e[6],1352829926,7),f,c=l(c,10),h,e[15],1352829926,8),f=v(f=l(f,10),c=v(c,h=v(h,s,u,f,c,e[8],1352829926,11),s,u=l(u,10),f,e[1],1352829926,14),h,s=l(s,10),u,e[10],1352829926,14),h=g(h=l(h,10),s=v(s,u=v(u,f,c,h,s,e[3],1352829926,12),f,c=l(c,10),h,e[12],1352829926,6),u,f=l(f,10),c,e[6],1548603684,9),u=g(u=l(u,10),f=g(f,c=g(c,h,s,u,f,e[11],1548603684,13),h,s=l(s,10),u,e[3],1548603684,15),c,h=l(h,10),s,e[7],1548603684,7),c=g(c=l(c,10),h=g(h,s=g(s,u,f,c,h,e[0],1548603684,12),u,f=l(f,10),c,e[13],1548603684,8),s,u=l(u,10),f,e[5],1548603684,9),s=g(s=l(s,10),u=g(u,f=g(f,c,h,s,u,e[10],1548603684,11),c,h=l(h,10),s,e[14],1548603684,7),f,c=l(c,10),h,e[15],1548603684,7),f=g(f=l(f,10),c=g(c,h=g(h,s,u,f,c,e[8],1548603684,12),s,u=l(u,10),f,e[12],1548603684,7),h,s=l(s,10),u,e[4],1548603684,6),h=g(h=l(h,10),s=g(s,u=g(u,f,c,h,s,e[9],1548603684,15),f,c=l(c,10),h,e[1],1548603684,13),u,f=l(f,10),c,e[2],1548603684,11),u=m(u=l(u,10),f=m(f,c=m(c,h,s,u,f,e[15],1836072691,9),h,s=l(s,10),u,e[5],1836072691,7),c,h=l(h,10),s,e[1],1836072691,15),c=m(c=l(c,10),h=m(h,s=m(s,u,f,c,h,e[3],1836072691,11),u,f=l(f,10),c,e[7],1836072691,8),s,u=l(u,10),f,e[14],1836072691,6),s=m(s=l(s,10),u=m(u,f=m(f,c,h,s,u,e[6],1836072691,6),c,h=l(h,10),s,e[9],1836072691,14),f,c=l(c,10),h,e[11],1836072691,12),f=m(f=l(f,10),c=m(c,h=m(h,s,u,f,c,e[8],1836072691,13),s,u=l(u,10),f,e[12],1836072691,5),h,s=l(s,10),u,e[2],1836072691,14),h=m(h=l(h,10),s=m(s,u=m(u,f,c,h,s,e[10],1836072691,13),f,c=l(c,10),h,e[0],1836072691,13),u,f=l(f,10),c,e[4],1836072691,7),u=b(u=l(u,10),f=b(f,c=m(c,h,s,u,f,e[13],1836072691,5),h,s=l(s,10),u,e[8],2053994217,15),c,h=l(h,10),s,e[6],2053994217,5),c=b(c=l(c,10),h=b(h,s=b(s,u,f,c,h,e[4],2053994217,8),u,f=l(f,10),c,e[1],2053994217,11),s,u=l(u,10),f,e[3],2053994217,14),s=b(s=l(s,10),u=b(u,f=b(f,c,h,s,u,e[11],2053994217,14),c,h=l(h,10),s,e[15],2053994217,6),f,c=l(c,10),h,e[0],2053994217,14),f=b(f=l(f,10),c=b(c,h=b(h,s,u,f,c,e[5],2053994217,6),s,u=l(u,10),f,e[12],2053994217,9),h,s=l(s,10),u,e[2],2053994217,12),h=b(h=l(h,10),s=b(s,u=b(u,f,c,h,s,e[13],2053994217,9),f,c=l(c,10),h,e[9],2053994217,12),u,f=l(f,10),c,e[7],2053994217,5),u=p(u=l(u,10),f=b(f,c=b(c,h,s,u,f,e[10],2053994217,15),h,s=l(s,10),u,e[14],2053994217,8),c,h=l(h,10),s,e[12],0,8),c=p(c=l(c,10),h=p(h,s=p(s,u,f,c,h,e[15],0,5),u,f=l(f,10),c,e[10],0,12),s,u=l(u,10),f,e[4],0,9),s=p(s=l(s,10),u=p(u,f=p(f,c,h,s,u,e[1],0,12),c,h=l(h,10),s,e[5],0,5),f,c=l(c,10),h,e[8],0,14),f=p(f=l(f,10),c=p(c,h=p(h,s,u,f,c,e[7],0,6),s,u=l(u,10),f,e[6],0,8),h,s=l(s,10),u,e[2],0,13),h=p(h=l(h,10),s=p(s,u=p(u,f,c,h,s,e[13],0,6),f,c=l(c,10),h,e[14],0,5),u,f=l(f,10),c,e[0],0,15),u=p(u=l(u,10),f=p(f,c=p(c,h,s,u,f,e[3],0,13),h,s=l(s,10),u,e[9],0,11),c,h=l(h,10),s,e[11],0,11),c=l(c,10);var d=this._b+i+c|0;this._b=this._c+a+h|0,this._c=this._d+o+s|0,this._d=this._e+r+u|0,this._e=this._a+n+f|0,this._a=d},n.prototype._digest=function(){this._block[this._blockOffset++]=128,56<this._blockOffset&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new t(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},a.exports=n}).call(this,i("buffer").Buffer)},{buffer:50,"hash-base":230,inherits:163}],230:[function(r,n,e){(function(s){"use strict";var t=r("stream").Transform;function e(e){t.call(this),this._block=new s(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r("inherits")(e,t),e.prototype._transform=function(e,t,r){var n=null;try{"buffer"!==t&&(e=new s(e,t)),this.update(e)}catch(e){n=e}r(n)},e.prototype._flush=function(e){var t=null;try{this.push(this._digest())}catch(e){t=e}e(t)},e.prototype.update=function(e,t){if(!s.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");s.isBuffer(e)||(e=new s(e,t||"binary"));for(var r=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)r[i++]=e[n++];this._update(),this._blockOffset=0}for(;n<e.length;)r[this._blockOffset++]=e[n++];for(var a=0,o=8*e.length;0<o;++a)this._length[a]+=o,0<(o=this._length[a]/4294967296|0)&&(this._length[a]-=4294967296*o);return this},e.prototype._update=function(e){throw new Error("_update is not implemented")},e.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();return void 0!==e&&(t=t.toString(e)),t},e.prototype._digest=function(){throw new Error("_digest is not implemented")},n.exports=e}).call(this,r("buffer").Buffer)},{buffer:50,inherits:163,stream:247}],231:[function(e,t,r){var n=e("buffer"),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(a(n,r),r.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},{buffer:50}],232:[function(e,t,r){var i=e("lower-case"),a=e("./vendor/non-word-regexp"),o=e("./vendor/camel-case-regexp"),s=e("./vendor/trailing-digit-regexp");t.exports=function(e,t,n){if(null==e)return"";return n=n||" ",e=String(e).replace(o,"$1 $2").replace(s,"$1 $2").replace(a,function(e,t,r){return 0===t||t===r.length-e.length?"":n}),i(e,t)}},{"./vendor/camel-case-regexp":233,"./vendor/non-word-regexp":234,"./vendor/trailing-digit-regexp":235,"lower-case":180}],233:[function(e,t,r){t.exports=/([\u0061-\u007A\u00B5\u00DF-\u00F6\u00F8-\u00FF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0561-\u0587\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7FA\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A])([\u0041-\u005A\u00C0-\u00D6\u00D8-\u00DE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA\uFF21-\uFF3A\u0030-\u0039\u00B2\u00B3\u00B9\u00BC-\u00BE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])/g},{}],234:[function(e,t,r){t.exports=/[^\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u0030-\u0039\u00B2\u00B3\u00B9\u00BC-\u00BE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]+/g},{}],235:[function(e,t,r){t.exports=/([\u0030-\u0039\u00B2\u00B3\u00B9\u00BC-\u00BE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])([^\u0030-\u0039\u00B2\u00B3\u00B9\u00BC-\u00BE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])/g},{}],236:[function(e,t,r){var c=e("safe-buffer").Buffer;function n(e,t){this._block=c.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}n.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=c.from(e,t));for(var r=this._block,n=this._blockSize,i=e.length,a=this._len,o=0;o<i;){for(var s=a%n,u=Math.min(i-o,n-s),f=0;f<u;f++)r[s+f]=e[o+f];o+=u,(a+=u)%n==0&&this._update(r)}return this._len+=i,this},n.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var a=this._hash();return e?a.toString(e):a},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=n},{"safe-buffer":231}],237:[function(e,t,r){(r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t}).sha=e("./sha"),r.sha1=e("./sha1"),r.sha224=e("./sha224"),r.sha256=e("./sha256"),r.sha384=e("./sha384"),r.sha512=e("./sha512")},{"./sha":238,"./sha1":239,"./sha224":240,"./sha256":241,"./sha384":242,"./sha512":243}],238:[function(e,t,r){var n=e("inherits"),i=e("./hash"),a=e("safe-buffer").Buffer,g=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function s(){this.init(),this._w=o,i.call(this,64,56)}n(s,i),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(e){for(var t,r,n,i,a,o,s=this._w,u=0|this._a,f=0|this._b,c=0|this._c,h=0|this._d,d=0|this._e,l=0;l<16;++l)s[l]=e.readInt32BE(4*l);for(;l<80;++l)s[l]=s[l-3]^s[l-8]^s[l-14]^s[l-16];for(var p=0;p<80;++p){var b=~~(p/20),m=0|((o=u)<<5|o>>>27)+(n=f,i=c,a=h,0===(r=b)?n&i|~n&a:2===r?n&i|n&a|i&a:n^i^a)+d+s[p]+g[b];d=h,h=c,c=(t=f)<<30|t>>>2,f=u,u=m}this._a=u+this._a|0,this._b=f+this._b|0,this._c=c+this._c|0,this._d=h+this._d|0,this._e=d+this._e|0},s.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=s},{"./hash":236,inherits:163,"safe-buffer":231}],239:[function(e,t,r){var n=e("inherits"),i=e("./hash"),a=e("safe-buffer").Buffer,v=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function s(){this.init(),this._w=o,i.call(this,64,56)}n(s,i),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(e){for(var t,r,n,i,a,o,s,u=this._w,f=0|this._a,c=0|this._b,h=0|this._c,d=0|this._d,l=0|this._e,p=0;p<16;++p)u[p]=e.readInt32BE(4*p);for(;p<80;++p)u[p]=(t=u[p-3]^u[p-8]^u[p-14]^u[p-16])<<1|t>>>31;for(var b=0;b<80;++b){var m=~~(b/20),g=0|((s=f)<<5|s>>>27)+(i=c,a=h,o=d,0===(n=m)?i&a|~i&o:2===n?i&a|i&o|a&o:i^a^o)+l+u[b]+v[m];l=d,d=h,h=(r=c)<<30|r>>>2,c=f,f=g}this._a=f+this._a|0,this._b=c+this._b|0,this._c=h+this._c|0,this._d=d+this._d|0,this._e=l+this._e|0},s.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=s},{"./hash":236,inherits:163,"safe-buffer":231}],240:[function(e,t,r){var n=e("inherits"),i=e("./sha256"),a=e("./hash"),o=e("safe-buffer").Buffer,s=new Array(64);function u(){this.init(),this._w=s,a.call(this,64,56)}n(u,i),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=u},{"./hash":236,"./sha256":241,inherits:163,"safe-buffer":231}],241:[function(e,t,r){var n=e("inherits"),i=e("./hash"),a=e("safe-buffer").Buffer,A=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],o=new Array(64);function s(){this.init(),this._w=o,i.call(this,64,56)}n(s,i),s.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},s.prototype._update=function(e){for(var t,r,n,i,a,o,s,u=this._w,f=0|this._a,c=0|this._b,h=0|this._c,d=0|this._d,l=0|this._e,p=0|this._f,b=0|this._g,m=0|this._h,g=0;g<16;++g)u[g]=e.readInt32BE(4*g);for(;g<64;++g)u[g]=0|(((r=u[g-2])>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+u[g-7]+(((t=u[g-15])>>>7|t<<25)^(t>>>18|t<<14)^t>>>3)+u[g-16];for(var v=0;v<64;++v){var y=m+(((s=l)>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+((o=b)^l&(p^o))+A[v]+u[v]|0,w=0|(((a=f)>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+((n=f)&(i=c)|h&(n|i));m=b,b=p,p=l,l=d+y|0,d=h,h=c,c=f,f=y+w|0}this._a=f+this._a|0,this._b=c+this._b|0,this._c=h+this._c|0,this._d=d+this._d|0,this._e=l+this._e|0,this._f=p+this._f|0,this._g=b+this._g|0,this._h=m+this._h|0},s.prototype._hash=function(){var e=a.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=s},{"./hash":236,inherits:163,"safe-buffer":231}],242:[function(e,t,r){var n=e("inherits"),i=e("./sha512"),a=e("./hash"),o=e("safe-buffer").Buffer,s=new Array(160);function u(){this.init(),this._w=s,a.call(this,128,112)}n(u,i),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var n=o.allocUnsafe(48);function e(e,t,r){n.writeInt32BE(e,r),n.writeInt32BE(t,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),n},t.exports=u},{"./hash":236,"./sha512":243,inherits:163,"safe-buffer":231}],243:[function(e,t,r){var n=e("inherits"),i=e("./hash"),a=e("safe-buffer").Buffer,ee=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],o=new Array(160);function s(){this.init(),this._w=o,i.call(this,128,112)}function te(e,t,r){return r^e&(t^r)}function re(e,t,r){return e&t|r&(e|t)}function ne(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function ie(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function ae(e,t){return e>>>0<t>>>0?1:0}n(s,i),s.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},s.prototype._update=function(e){for(var t,r,n,i,a,o,s,u,f=this._w,c=0|this._ah,h=0|this._bh,d=0|this._ch,l=0|this._dh,p=0|this._eh,b=0|this._fh,m=0|this._gh,g=0|this._hh,v=0|this._al,y=0|this._bl,w=0|this._cl,A=0|this._dl,S=0|this._el,_=0|this._fl,E=0|this._gl,T=0|this._hl,C=0;C<32;C+=2)f[C]=e.readInt32BE(4*C),f[C+1]=e.readInt32BE(4*C+4);for(;C<160;C+=2){var M=f[C-30],B=f[C-30+1],x=((s=M)>>>1|(u=B)<<31)^(s>>>8|u<<24)^s>>>7,I=((a=B)>>>1|(o=M)<<31)^(a>>>8|o<<24)^(a>>>7|o<<25);M=f[C-4],B=f[C-4+1];var D=((n=M)>>>19|(i=B)<<13)^(i>>>29|n<<3)^n>>>6,P=((t=B)>>>19|(r=M)<<13)^(r>>>29|t<<3)^(t>>>6|r<<26),k=f[C-14],F=f[C-14+1],G=f[C-32],H=f[C-32+1],R=I+F|0,L=x+k+ae(R,I)|0;L=(L=L+D+ae(R=R+P|0,P)|0)+G+ae(R=R+H|0,H)|0,f[C]=L,f[C+1]=R}for(var O=0;O<160;O+=2){L=f[O],R=f[O+1];var N=re(c,h,d),V=re(v,y,w),j=ne(c,v),W=ne(v,c),X=ie(p,S),U=ie(S,p),z=ee[O],Z=ee[O+1],Y=te(p,b,m),K=te(S,_,E),q=T+U|0,J=g+X+ae(q,T)|0;J=(J=(J=J+Y+ae(q=q+K|0,K)|0)+z+ae(q=q+Z|0,Z)|0)+L+ae(q=q+R|0,R)|0;var Q=W+V|0,$=j+N+ae(Q,W)|0;g=m,T=E,m=b,E=_,b=p,_=S,p=l+J+ae(S=A+q|0,A)|0,l=d,A=w,d=h,w=y,h=c,y=v,c=J+$+ae(v=q+Q|0,q)|0}this._al=this._al+v|0,this._bl=this._bl+y|0,this._cl=this._cl+w|0,this._dl=this._dl+A|0,this._el=this._el+S|0,this._fl=this._fl+_|0,this._gl=this._gl+E|0,this._hl=this._hl+T|0,this._ah=this._ah+c+ae(this._al,v)|0,this._bh=this._bh+h+ae(this._bl,y)|0,this._ch=this._ch+d+ae(this._cl,w)|0,this._dh=this._dh+l+ae(this._dl,A)|0,this._eh=this._eh+p+ae(this._el,S)|0,this._fh=this._fh+b+ae(this._fl,_)|0,this._gh=this._gh+m+ae(this._gl,E)|0,this._hh=this._hh+g+ae(this._hl,T)|0},s.prototype._hash=function(){var n=a.allocUnsafe(64);function e(e,t,r){n.writeInt32BE(e,r),n.writeInt32BE(t,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),n},t.exports=s},{"./hash":236,inherits:163,"safe-buffer":231}],244:[function(e,t,r){"use strict";var n=e("lodash.bindall"),i=e("dom-transform"),a=e("tinycolor2"),o=e("component-emitter"),s=e("is-number"),u=e("./src/utils/maths/clamp");function f(e){return e=e||{},this.color=null,this.width=0,this.height=0,this.hue=0,this.choosing=!1,this.position={x:0,y:0},this.huePosition=0,this.saturationWidth=0,this.maxHue=0,this.inputIsNumber=!1,n(this,"_onSaturationMouseMove","_onSaturationMouseDown","_onSaturationMouseUp","_onHueMouseDown","_onHueMouseUp","_onHueMouseMove"),this.$el=document.createElement("div"),this.$el.className="Scp",this.$el.innerHTML=['<div class="Scp-saturation">','<div class="Scp-brightness"></div>','<div class="Scp-sbSelector"></div>',"</div>",'<div class="Scp-hue">','<div class="Scp-hSelector"></div>',"</div>"].join("\n"),this.$saturation=this.$el.querySelector(".Scp-saturation"),this.$hue=this.$el.querySelector(".Scp-hue"),this.$sbSelector=this.$el.querySelector(".Scp-sbSelector"),this.$hSelector=this.$el.querySelector(".Scp-hSelector"),this.$saturation.addEventListener("mousedown",this._onSaturationMouseDown),this.$saturation.addEventListener("touchstart",this._onSaturationMouseDown),this.$hue.addEventListener("mousedown",this._onHueMouseDown),this.$hue.addEventListener("touchstart",this._onHueMouseDown),e.el&&this.appendTo(e.el),e.background&&this.setBackgroundColor(e.background),this.setSize(e.width||175,e.height||150),this.setColor(e.color),this}o(f.prototype),f.prototype.appendTo=function(e){return e.appendChild(this.$el),this},f.prototype.remove=function(){this.$saturation.removeEventListener("mousedown",this._onSaturationMouseDown),this.$saturation.removeEventListener("touchstart",this._onSaturationMouseDown),this.$hue.removeEventListener("mousedown",this._onHueMouseDown),this.$hue.removeEventListener("touchstart",this._onHueMouseDown),this._onSaturationMouseUp(),this._onHueMouseUp(),this.off(),this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},f.prototype.setColor=function(e){s(e)?(this.inputIsNumber=!0,e="#"+("00000"+(0|e).toString(16)).substr(-6)):this.inputIsNumber=!1,this.color=a(e);var t=this.color.toHsv();return isNaN(t.h)||(this.hue=t.h),this._moveSelectorTo(this.saturationWidth*t.s,(1-t.v)*this.height),this._moveHueTo((1-this.hue/360)*this.height),this._updateHue(),this},f.prototype.setSize=function(e,t){return this.width=e,this.height=t,this.$el.style.width=this.width+"px",this.$el.style.height=this.height+"px",this.saturationWidth=this.width-25,this.maxHue=this.height-2,this},f.prototype.setBackgroundColor=function(e){s(e)&&(e="#"+("00000"+(0|e).toString(16)).substr(-6)),this.$el.style.padding="5px",this.$el.style.background=a(e).toHexString()},f.prototype.setNoBackground=function(){this.$el.style.padding="0px",this.$el.style.background="none"},f.prototype.onChange=function(e){return this.on("update",e),this.emit("update",this.getHexString()),this},f.prototype.getColor=function(){return this.inputIsNumber?this.getHexNumber():this.color.toString()},f.prototype.getHexString=function(){return this.color.toHexString().toUpperCase()},f.prototype.getHexNumber=function(){return parseInt(this.color.toHex(),16)},f.prototype.getRGB=function(){return this.color.toRgb()},f.prototype.getHSV=function(){return this.color.toHsv()},f.prototype.isDark=function(){return this.color.isDark()},f.prototype.isLight=function(){return this.color.isLight()},f.prototype._moveSelectorTo=function(e,t){this.position.x=u(e,0,this.saturationWidth),this.position.y=u(t,0,this.height),i(this.$sbSelector,{x:this.position.x,y:this.position.y})},f.prototype._updateColorFromPosition=function(){this.color=a({h:this.hue,s:this.position.x/this.saturationWidth,v:1-this.position.y/this.height}),this._updateColor()},f.prototype._moveHueTo=function(e){this.huePosition=u(e,0,this.maxHue),i(this.$hSelector,{y:this.huePosition})},f.prototype._updateHueFromPosition=function(){var e=this.color.toHsv();this.hue=360*(1-this.huePosition/this.maxHue),this.color=a({h:this.hue,s:e.s,v:e.v}),this._updateHue()},f.prototype._updateHue=function(){var e=a({h:this.hue,s:1,v:1});this.$saturation.style.background="linear-gradient(to right, #fff 0%, "+e.toHexString()+" 100%)",this._updateColor()},f.prototype._updateColor=function(){this.$sbSelector.style.background=this.color.toHexString(),this.$sbSelector.style.borderColor=this.color.isDark()?"#FFF":"#000",this.emit("update",this.color.toHexString())},f.prototype._onSaturationMouseDown=function(e){this.choosing=!0;var t=this.$saturation.getBoundingClientRect(),r=0===e.type.indexOf("touch")?e.touches[0].clientX:e.clientX,n=0===e.type.indexOf("touch")?e.touches[0].clientY:e.clientY;this._moveSelectorTo(r-t.left,n-t.top),this._updateColorFromPosition(),window.addEventListener("mouseup",this._onSaturationMouseUp),window.addEventListener("touchend",this._onSaturationMouseUp),window.addEventListener("mousemove",this._onSaturationMouseMove),window.addEventListener("touchmove",this._onSaturationMouseMove),e.preventDefault()},f.prototype._onSaturationMouseMove=function(e){var t=this.$saturation.getBoundingClientRect(),r=0===e.type.indexOf("touch")?e.touches[0].clientX:e.clientX,n=0===e.type.indexOf("touch")?e.touches[0].clientY:e.clientY;this._moveSelectorTo(r-t.left,n-t.top),this._updateColorFromPosition()},f.prototype._onSaturationMouseUp=function(){this.choosing=!1,window.removeEventListener("mouseup",this._onSaturationMouseUp),window.removeEventListener("touchend",this._onSaturationMouseUp),window.removeEventListener("mousemove",this._onSaturationMouseMove),window.removeEventListener("touchmove",this._onSaturationMouseMove)},f.prototype._onHueMouseDown=function(e){this.choosing=!0;var t=this.$hue.getBoundingClientRect(),r=0===e.type.indexOf("touch")?e.touches[0].clientY:e.clientY;this._moveHueTo(r-t.top),this._updateHueFromPosition(),window.addEventListener("mouseup",this._onHueMouseUp),window.addEventListener("touchend",this._onHueMouseUp),window.addEventListener("mousemove",this._onHueMouseMove),window.addEventListener("touchmove",this._onHueMouseMove),e.preventDefault()},f.prototype._onHueMouseMove=function(e){var t=this.$hue.getBoundingClientRect(),r=0===e.type.indexOf("touch")?e.touches[0].clientY:e.clientY;this._moveHueTo(r-t.top),this._updateHueFromPosition()},f.prototype._onHueMouseUp=function(){this.choosing=!1,window.removeEventListener("mouseup",this._onHueMouseUp),window.removeEventListener("touchend",this._onHueMouseUp),window.removeEventListener("mousemove",this._onHueMouseMove),window.removeEventListener("touchmove",this._onHueMouseMove)},t.exports=f},{"./src/utils/maths/clamp":246,"component-emitter":53,"dom-transform":87,"is-number":245,"lodash.bindall":173,tinycolor2:249}],245:[function(e,t,r){"use strict";t.exports=function(e){return!!+e&&!Array.isArray(e)&&isFinite(e)||"0"===e||0===e}},{}],246:[function(e,t,r){"use strict";t.exports=function(e,t,r){return Math.min(Math.max(e,t),r)}},{}],247:[function(e,t,r){t.exports=n;var c=e("events").EventEmitter;function n(){c.call(this)}e("inherits")(n,c),n.Readable=e("readable-stream/readable.js"),n.Writable=e("readable-stream/writable.js"),n.Duplex=e("readable-stream/duplex.js"),n.Transform=e("readable-stream/transform.js"),n.PassThrough=e("readable-stream/passthrough.js"),(n.Stream=n).prototype.pipe=function(t,e){var r=this;function n(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),t.on("drain",i),t._isStdio||e&&!1===e.end||(r.on("end",o),r.on("close",s));var a=!1;function o(){a||(a=!0,t.end())}function s(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function u(e){if(f(),0===c.listenerCount(this,"error"))throw e}function f(){r.removeListener("data",n),t.removeListener("drain",i),r.removeListener("end",o),r.removeListener("close",s),r.removeListener("error",u),t.removeListener("error",u),r.removeListener("end",f),r.removeListener("close",f),t.removeListener("close",f)}return r.on("error",u),t.on("error",u),r.on("end",f),r.on("close",f),t.on("close",f),t.emit("pipe",r),t}},{events:48,inherits:163,"readable-stream/duplex.js":214,"readable-stream/passthrough.js":223,"readable-stream/readable.js":224,"readable-stream/transform.js":225,"readable-stream/writable.js":226}],248:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=f,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=h,t=3;break;default:return this.write=d,void(this.end=l)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(1<e.lastNeed&&1<t.length){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(2<e.lastNeed&&2<t.length&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(55296<=n&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function f(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function l(e){return e&&e.length?this.write(e):""}(r.StringDecoder=a).prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=o(t[n]);if(0<=i)return 0<i&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if(0<=(i=o(t[n])))return 0<i&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if(0<=(i=o(t[n])))return 0<i&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":231}],249:[function(e,V,t){!function(h){var d=/^\s+/,l=/\s+$/,n=0,o=h.round,p=h.min,b=h.max,e=h.random;function c(e,t){if(t=t||{},(e=e||"")instanceof c)return e;if(!(this instanceof c))return new c(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,a=null,o=!1,s=!1;"string"==typeof e&&(e=function(e){e=e.replace(d,"").replace(l,"").toLowerCase();var t,r=!1;if(C[e])e=C[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=O.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=O.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=O.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=O.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=O.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=O.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=O.hex8.exec(e))return{r:D(t[1]),g:D(t[2]),b:D(t[3]),a:G(t[4]),format:r?"name":"hex8"};if(t=O.hex6.exec(e))return{r:D(t[1]),g:D(t[2]),b:D(t[3]),format:r?"name":"hex"};if(t=O.hex4.exec(e))return{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),a:G(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=O.hex3.exec(e))return{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(N(e.r)&&N(e.g)&&N(e.b)?(u=e.r,f=e.g,c=e.b,t={r:255*x(u,255),g:255*x(f,255),b:255*x(c,255)},o=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):N(e.h)&&N(e.s)&&N(e.v)?(n=k(e.s),i=k(e.v),t=function(e,t,r){e=6*x(e,360),t=x(t,100),r=x(r,100);var n=h.floor(e),i=e-n,a=r*(1-t),o=r*(1-i*t),s=r*(1-(1-i)*t),u=n%6;return{r:255*[r,o,a,a,s,r][u],g:255*[s,r,r,o,a,a][u],b:255*[a,a,s,r,r,o][u]}}(e.h,n,i),o=!0,s="hsv"):N(e.h)&&N(e.s)&&N(e.l)&&(n=k(e.s),a=k(e.l),t=function(e,t,r){var n,i,a;function o(e,t,r){return r<0&&(r+=1),1<r&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=x(e,360),t=x(t,100),r=x(r,100),0===t)n=i=a=r;else{var s=r<.5?r*(1+t):r+t-r*t,u=2*r-s;n=o(u,s,e+1/3),i=o(u,s,e),a=o(u,s,e-1/3)}return{r:255*n,g:255*i,b:255*a}}(e.h,n,a),o=!0,s="hsl"),e.hasOwnProperty("a")&&(r=e.a));var u,f,c;return r=B(r),{ok:o,format:e.format||s,r:p(255,b(t.r,0)),g:p(255,b(t.g,0)),b:p(255,b(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=o(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=o(this._r)),this._g<1&&(this._g=o(this._g)),this._b<1&&(this._b=o(this._b)),this._ok=r.ok,this._tc_id=n++}function i(e,t,r){e=x(e,255),t=x(t,255),r=x(r,255);var n,i,a=b(e,t,r),o=p(e,t,r),s=(a+o)/2;if(a==o)n=i=0;else{var u=a-o;switch(i=.5<s?u/(2-a-o):u/(a+o),a){case e:n=(t-r)/u+(t<r?6:0);break;case t:n=(r-e)/u+2;break;case r:n=(e-t)/u+4}n/=6}return{h:n,s:i,l:s}}function a(e,t,r){e=x(e,255),t=x(t,255),r=x(r,255);var n,i,a=b(e,t,r),o=p(e,t,r),s=a,u=a-o;if(i=0===a?0:u/a,a==o)n=0;else{switch(a){case e:n=(t-r)/u+(t<r?6:0);break;case t:n=(r-e)/u+2;break;case r:n=(e-t)/u+4}n/=6}return{h:n,s:i,v:s}}function t(e,t,r,n){var i=[P(o(e).toString(16)),P(o(t).toString(16)),P(o(r).toString(16))];return n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function s(e,t,r,n){return[P(F(n)),P(o(e).toString(16)),P(o(t).toString(16)),P(o(r).toString(16))].join("")}function r(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.s-=t/100,r.s=I(r.s),c(r)}function u(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.s+=t/100,r.s=I(r.s),c(r)}function f(e){return c(e).desaturate(100)}function m(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.l+=t/100,r.l=I(r.l),c(r)}function g(e,t){t=0===t?0:t||10;var r=c(e).toRgb();return r.r=b(0,p(255,r.r-o(-t/100*255))),r.g=b(0,p(255,r.g-o(-t/100*255))),r.b=b(0,p(255,r.b-o(-t/100*255))),c(r)}function v(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.l-=t/100,r.l=I(r.l),c(r)}function y(e,t){var r=c(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,c(r)}function w(e){var t=c(e).toHsl();return t.h=(t.h+180)%360,c(t)}function A(e){var t=c(e).toHsl(),r=t.h;return[c(e),c({h:(r+120)%360,s:t.s,l:t.l}),c({h:(r+240)%360,s:t.s,l:t.l})]}function S(e){var t=c(e).toHsl(),r=t.h;return[c(e),c({h:(r+90)%360,s:t.s,l:t.l}),c({h:(r+180)%360,s:t.s,l:t.l}),c({h:(r+270)%360,s:t.s,l:t.l})]}function _(e){var t=c(e).toHsl(),r=t.h;return[c(e),c({h:(r+72)%360,s:t.s,l:t.l}),c({h:(r+216)%360,s:t.s,l:t.l})]}function E(e,t,r){t=t||6,r=r||30;var n=c(e).toHsl(),i=360/r,a=[c(e)];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,a.push(c(n));return a}function T(e,t){t=t||6;for(var r=c(e).toHsv(),n=r.h,i=r.s,a=r.v,o=[],s=1/t;t--;)o.push(c({h:n,s:i,v:a})),a=(a+s)%1;return o}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:h.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:h.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:h.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=B(e),this._roundA=o(100*this._a)/100,this},toHsv:function(){var e=a(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=a(this._r,this._g,this._b),t=o(360*e.h),r=o(100*e.s),n=o(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=i(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=i(this._r,this._g,this._b),t=o(360*e.h),r=o(100*e.s),n=o(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return t(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,i){var a=[P(o(e).toString(16)),P(o(t).toString(16)),P(o(r).toString(16)),P(F(n))];if(i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:o(this._r),g:o(this._g),b:o(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+o(this._r)+", "+o(this._g)+", "+o(this._b)+")":"rgba("+o(this._r)+", "+o(this._g)+", "+o(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:o(100*x(this._r,255))+"%",g:o(100*x(this._g,255))+"%",b:o(100*x(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+o(100*x(this._r,255))+"%, "+o(100*x(this._g,255))+"%, "+o(100*x(this._b,255))+"%)":"rgba("+o(100*x(this._r,255))+"%, "+o(100*x(this._g,255))+"%, "+o(100*x(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(M[t(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+s(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var i=c(e);r="#"+s(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&0<=this._a;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return c(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(m,arguments)},brighten:function(){return this._applyModification(g,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(r,arguments)},saturate:function(){return this._applyModification(u,arguments)},greyscale:function(){return this._applyModification(f,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(E,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(_,arguments)},triad:function(){return this._applyCombination(A,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},c.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:k(e[n]));e=r}return c(e,t)},c.equals=function(e,t){return!(!e||!t)&&c(e).toRgbString()==c(t).toRgbString()},c.random=function(){return c.fromRatio({r:e(),g:e(),b:e()})},c.mix=function(e,t,r){r=0===r?0:r||50;var n=c(e).toRgb(),i=c(t).toRgb(),a=r/100;return c({r:(i.r-n.r)*a+n.r,g:(i.g-n.g)*a+n.g,b:(i.b-n.b)*a+n.b,a:(i.a-n.a)*a+n.a})},c.readability=function(e,t){var r=c(e),n=c(t);return(h.max(r.getLuminance(),n.getLuminance())+.05)/(h.min(r.getLuminance(),n.getLuminance())+.05)},c.isReadable=function(e,t,r){var n,i,a=c.readability(e,t);switch(i=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":i=4.5<=a;break;case"AAlarge":i=3<=a;break;case"AAAsmall":i=7<=a}return i},c.mostReadable=function(e,t,r){var n,i,a,o,s=null,u=0;i=(r=r||{}).includeFallbackColors,a=r.level,o=r.size;for(var f=0;f<t.length;f++)u<(n=c.readability(e,t[f]))&&(u=n,s=c(t[f]));return c.isReadable(e,s,{level:a,size:o})||!i?s:(r.includeFallbackColors=!1,c.mostReadable(e,["#fff","#000"],r))};var C=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},M=c.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(C);function B(e){return e=parseFloat(e),(isNaN(e)||e<0||1<e)&&(e=1),e}function x(e,t){var r;"string"==typeof(r=e)&&-1!=r.indexOf(".")&&1===parseFloat(r)&&(e="100%");var n,i="string"==typeof(n=e)&&-1!=n.indexOf("%");return e=p(t,b(0,parseFloat(e))),i&&(e=parseInt(e*t,10)/100),h.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return p(1,b(0,e))}function D(e){return parseInt(e,16)}function P(e){return 1==e.length?"0"+e:""+e}function k(e){return e<=1&&(e=100*e+"%"),e}function F(e){return h.round(255*parseFloat(e)).toString(16)}function G(e){return D(e)/255}var H,R,L,O=(R="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",L="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+L),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+L),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+L),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function N(e){return!!O.CSS_UNIT.exec(e)}void 0!==V&&V.exports?V.exports=c:"function"==typeof define&&define.amd?define(function(){return c}):window.tinycolor=c}(Math)},{}],250:[function(e,t,r){var n=e("to-space-case");t.exports=function(e){return n(e).replace(/\s(\w)/g,function(e,t){return t.toUpperCase()})}},{"to-space-case":252}],251:[function(e,t,r){t.exports=function(e){return n.test(e)?e.toLowerCase():i.test(e)?(r=e,r.replace(o,function(e,t){return t?" "+t:""})||e).toLowerCase():a.test(e)?(t=e,t.replace(s,function(e,t,r){return t+" "+r.toLowerCase().split("").join(" ")})).toLowerCase():e.toLowerCase();var t;var r};var n=/\s/,i=/(_|-|\.|:)/,a=/([a-z][A-Z]|[A-Z][a-z])/;var o=/[\W_]+(.|$)/g;var s=/(.)([A-Z]+)/g},{}],252:[function(e,t,r){var n=e("to-no-case");t.exports=function(e){return n(e).replace(/[\W_]+(.|$)/g,function(e,t){return t?" "+t:""}).trim()}},{"to-no-case":251}],253:[function(e,t,r){(r=t.exports=function(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},r.right=function(e){return e.replace(/\s*$/,"")}},{}],254:[function(e,t,r){(function(r){function n(e){try{if(!r.localStorage)return!1}catch(e){return!1}var t=r.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}t.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],255:[function(require,module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(t){if(!(t instanceof Context))throw new TypeError("needs a 'context' argument.");var e=document.createElement("iframe");e.style||(e.style={}),e.style.display="none",document.body.appendChild(e);var r=e.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(t),function(e){r[e]=t[e]}),forEach(globals,function(e){t[e]&&(r[e]=t[e])});var a=Object_keys(r),o=n.call(r,this.code);return forEach(Object_keys(r),function(e){(e in t||-1===indexOf(a,e))&&(t[e]=r[e])}),forEach(globals,function(e){e in t||defineProp(t,e,r[e])}),document.body.removeChild(e),o},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(t){var r=Script.createContext(t),e=this.runInContext(r);return t&&forEach(Object_keys(r),function(e){t[e]=r[e]}),e},forEach(Object_keys(Script.prototype),function(r){exports[r]=Script[r]=function(e){var t=Script(e);return t[r].apply(t,[].slice.call(arguments,1))}}),exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(t){var r=new Context;return"object"==typeof t&&forEach(Object_keys(t),function(e){r[e]=t[e]}),r}},{}],256:[function(e,t,r){"use strict";var n=e("control-panel");t.exports=function(r){var e=document.createElement("div");document.body.appendChild(e),n([{label:"inertia",type:"range",min:0,max:1e3,step:10,initial:r.state.panDecayTime},{label:"fov",type:"range",min:5,max:120,step:1,initial:Math.round(180*r.state.fovY/Math.PI)},{label:"zoomAboutCursor",type:"checkbox",initial:r.state.zoomAboutCursor}],{root:e}).on("input",function(e){r.state.zoomAboutCursor=e.zoomAboutCursor,r.state.panDecayTime=e.inertia,r.state.zoomDecayTime=e.inertia,r.state.rotateDecayTime=e.inertia;var t=r.state.distance*Math.tan(.5*r.state.fovY);r.state.fovY=e.fov*Math.PI/180,r.state.distance=t/Math.tan(.5*r.state.fovY)}),e.addEventListener("touchstart",function(e){return e.stopPropagation()},!1),e.addEventListener("touchend",function(e){return e.stopPropagation()},!1),e.addEventListener("touchmove",function(e){return e.stopPropagation()},!1),e.addEventListener("touchcancel",function(e){return e.stopPropagation()},!1)}},{"control-panel":66}],257:[function(e,t,r){"use strict";var n=e("../../ui/viewer"),s=e("../../ui/drawables/plane"),u=e("../../ui/drawables/bunny"),f=e("../../ui/camera"),c=e("./camera-controls"),h=e("../../mesh"),i=new(e("mobile-detect"))(window.navigator.userAgent);n({maxPixelRatio:1.5,fxaa:!i.phone()&&!i.tablet(),resources:{matcap:{type:"image",src:"grey-skin.png"}},onDone:function(e,t,r){if(e)return console.error(e);var n=t.getRegl();h.setRegl(n);var i=f(n,{distance:20,phi:0,theta:0,center:[0,4,0],zoomAboutCursor:!1}),a=h(Object.assign(u(),{properties:{matcap:n.texture({data:r.matcap,flipY:!0})}})),o=h(Object.assign(s([0,0,0],[0,1,0],30),{properties:{color:[0,0,0,.3],lineWidth:.5}}));t.setRenderFn(function(t){i.state.near=.01*i.state.distance,i.state.far=2*i.state.distance+20,i.draw(function(e){e.dirty&&(t.regl.clear({color:[.7,.75,.8,1],depth:1}),t.renderers.mesh(a),t.renderers.grid(o))})}),c(i),window.addEventListener("resize",i.resize,!1),window.addEventListener("resize",t.resize,!1),t.start()}})},{"../../mesh":258,"../../ui/camera":259,"../../ui/drawables/bunny":260,"../../ui/drawables/plane":261,"../../ui/viewer":267,"./camera-controls":256,"mobile-detect":185}],258:[function(e,t,r){"use strict";var n=e("gl-mat4/identity"),i=e("gl-mat4/create"),a=e("gl-mat4/copy"),o=e("gl-mat3/normal-from-mat4");function s(e){if(!(this instanceof s))return new s(e);((e=e||{}).vertices||e.positions)&&this.setVertices(e.vertices||e.positions),(e.faces||e.cells)&&this.setFaces(e.faces||e.cells),(e.normals||e.cells)&&this.setNormals(e.normals||e.cells),e.uv&&this.setUV(e.uv),e.modelMatrix?this._mModel=a(i(),e.modelMatrix):this._mModel=n(i()),this._properties=e.properties||{},this._mNormal=i(),this._normalMatrixIsStale=!0,this._vertexBufferIsStale=!0,this._uvBufferIsStale=!0,this._normalBufferIsStale=!0,this._faceBufferIsStale=!0}(t.exports=s).setRegl=function(e){s.regl=e},s.prototype={getModelMatrix:function(){return this._mModel},setModelMatrix:function(e){a(this._mModel,e),this._normalMatrixIsStale},setProperty:function(e,t){this._properties[e]=t},getProperty:function(e){return this._properties[e]},getNormalMatrix:function(){return this._normalMatrixIsStale&&(o(this._mNormal,this._mModel),this._normalMatrixIsStale=!1),this._mNormal},setVertices:function(e){this._vertexBufferIsStale=!0,this._vertices=e},getVertices:function(){return this._vertices},getVertexBuffer:function(){return this._vertexBufferIsStale&&(this._vertexBuffer=(this._vertexBuffer||s.regl.buffer)(this.getVertices()),this._vertexBufferIsStale=!1),this._vertexBuffer},setUV:function(e){this._uvBufferIsStale=!0,this._uv=e},getUV:function(){return this._uv},getUVBuffer:function(){return this._uvBufferIsStale&&(this._uvBuffer=(this._uvBuffer||s.regl.buffer)(this.getUV()),this._uvBufferIsStale=!1),this._uvBuffer},setNormals:function(e){this._normalBufferIsStale=!0,this._normals=e},getNormals:function(){return this._normals},getNormalBuffer:function(){return this._normalBufferIsStale&&(this._normalBuffer=(this._normalBuffer||s.regl.buffer)(this.getNormals()),this._normalBufferIsStale=!1),this._normalBuffer},setFaces:function(e){this._faceBufferIsStale=!0,this._faces=e},getFaces:function(){return this._faces},getFaceBuffer:function(){return this._faceBufferIsStale&&(this._faceBuffer=(this._faceBuffer||s.regl.elements)(this.getFaces()),this._faceBufferIsStale=!1),this._faceBuffer},getNbFaces:function(){return this._faces?this._faces.length:0},getCount:function(){return this._faces.length}}},{"gl-mat3/normal-from-mat4":125,"gl-mat4/copy":126,"gl-mat4/create":127,"gl-mat4/identity":128}],259:[function(e,t,r){"use strict";var v=e("./interaction-events"),y=e("gl-vec3/transformMat4"),w=e("gl-vec3/rotateY"),A=e("gl-vec3/rotateX"),S=(e("gl-vec3/rotateZ"),e("gl-vec3/equals")),_=e("gl-vec3/add"),E=(e("gl-vec3/sub"),e("gl-vec3/copy")),T=e("gl-mat4/identity"),C=e("gl-mat4/invert"),M=e("gl-mat4/translate"),B=e("gl-mat4/scale"),x=(e("gl-mat4/rotateX"),e("gl-mat4/rotateY"),e("gl-mat4/rotateZ"),e("gl-mat4/lookAt")),I=e("gl-mat4/perspective");t.exports=function(e,t){var r=(t=t||{}).element||e._gl.canvas,n=new Float32Array(3),o={dirty:!0,zoomAboutCursor:void 0===t.zoomAboutCursor||t.zoomAboutCursor,distance:void 0===t.distance?35:t.distance,phi:void 0===t.phi?0:t.phi,theta:void 0===t.theta?0:t.theta,fovY:void 0===t.fovY?Math.PI/4:t.fovY,near:void 0===t.near?.1:t.near,far:void 0===t.far?500:t.far,wheelSpeed:void 0===t.wheelSpeed?1:t.wheelSpeed,rotateSpeed:t.rotateSpeed||1,panDecayTime:t.panDecayTime||100,zoomDecayTime:t.zoomDecayTime||100,rotateDecayTime:t.rotateDecayTime||100,up:t.up||new Float32Array([0,1,0]),center:t.center||new Float32Array(3),eye:new Float32Array(3),view:new Float32Array(16),viewInv:new Float32Array(16),projection:new Float32Array(16),projectionInv:new Float32Array(16),zoom:0,panX:0,panY:0,panZ:0,dTheta:0,dPhi:0,x0:0,y0:0,width:null,height:null,aspectRatio:null};o.rotationCenter=t.rotationCenter||new Float32Array(t.rotationCenter||o.center);var s={distance:void 0===t.distance?35:t.distance,phi:void 0===t.phi?0:t.phi,theta:void 0===t.theta?0:t.theta,fovY:void 0===t.fovY?Math.PI/4:t.fovY,near:void 0===t.near?.1:t.near,far:void 0===t.far?500:t.far,up:t.up||new Float32Array([0,1,0]),center:t.center||new Float32Array(3)},i=new Float32Array(16);var a={};function u(){o.eye[0]=0,o.eye[1]=0,o.eye[2]=o.distance,A(o.eye,o.eye,n,-o.phi),w(o.eye,o.eye,n,-o.theta),_(o.eye,o.eye,o.center),x(o.view,o.eye,o.center,o.up),I(o.projection,o.fovY,o.aspectRatio,o.near,o.far),C(o.viewInv,o.view),C(o.projectionInv,o.projection)}function f(){o.dirty=!0}function c(){var e,t;e=o.width=r===window?r.innerWidth:r.clientWidth,t=o.height=r===window?r.innerHeight:r.clientHeight,o.aspectRatio=e/t,u(),f()}function h(){o.zoom=0,o.dTheta=0,o.dPhi=0,o.panX=0,o.panY=0,o.panZ=0}var d=!1,l=v({element:r}).on("interactionstart",function(e){e.originalEvent.preventDefault(),h(),void 0!==e.type&&["wheel","touch","pinch"].indexOf(e.type)}).on("interactionend",function(e){e.originalEvent.preventDefault()}).on("interaction",function(e){var t;if(e.buttons||void 0!==e.type&&-1!==["wheel","touch","pinch"].indexOf(e.type))switch(e.type){case"wheel":t=o.distance*Math.tan(.5*o.fovY),o.x0=(e.x0/o.width*2-1)*o.aspectRatio*t,o.y0=-(e.y0/o.height*2-1)*t,o.zoom=Math.exp(.002*e.dy*o.wheelSpeed)-1,e.originalEvent.preventDefault(),d=!0;break;case"pinch":t=o.distance*Math.tan(.5*o.fovY),o.x0=(e.x0/o.width*2-1)*o.aspectRatio*t,o.y0=-(e.y0/o.height*2-1)*t,o.zoom=1-.5*(e.dsx+e.dsy),o.panX=-e.dx*t/o.height*2,o.panY=e.dy*t/o.height*2,e.originalEvent.preventDefault(),d=!0;break;case"touch":case"mousemove":e.mods.meta?(t=o.distance*Math.tan(.5*o.fovY)/o.height*2,o.panX=-e.dx*t,o.panY=e.dy*t):(o.dTheta=e.dx/200*o.rotateSpeed,o.dPhi=e.dy/200*o.rotateSpeed),d=!0,e.originalEvent.preventDefault()}});function p(e){T(i),o.zoomAboutCursor&&M(i,i,[e.x0,e.y0,0]),B(i,i,[1+e.zoom,1+e.zoom,1]),o.zoomAboutCursor&&M(i,i,[-e.x0,-e.y0,0]),i[12]+=e.panX,i[13]+=e.panY,y(o.center,o.center,o.view),y(o.center,o.center,i),y(o.center,o.center,o.viewInv),w(o.center,o.center,o.rotationCenter,-e.dTheta),o.distance*=1+e.zoom,o.theta+=e.dTheta;var t=o.phi;o.phi+=e.dPhi,o.phi=Math.min(.5*Math.PI-1e-4,Math.max(.5*-Math.PI+1e-6,o.phi));var r=o.phi-t;w(o.center,o.center,o.rotationCenter,o.theta),A(o.center,o.center,o.rotationCenter,-r),w(o.center,o.center,o.rotationCenter,-o.theta),d=!1,u(),f()}var b=null,m=!1;requestAnimationFrame(function e(t){var r,n,i,a;S(o.up,s.up)&&S(o.center,s.center)&&o.near===s.near&&o.far===s.far&&o.phi===s.phi&&o.theta===s.theta&&o.distance===s.distance&&o.fovY===s.fovY||(m=!0),l.interacting&&!d||!(1e-4<Math.abs(o.zoom)||1e-4<Math.abs(o.panX)||1e-4<Math.abs(o.panY)||1e-4<Math.abs(o.panZ)||1e-4<Math.abs(o.dTheta)||1e-4<Math.abs(o.dPhi))?h():p(o),m&&(E(s.up,o.up),E(s.center,o.center),s.near=o.near,s.far=o.far,s.distance=o.distance,s.phi=o.phi,s.theta=o.theta,s.fovY=o.fovY),null!==b&&(r=t-b,n=o.panDecayTime?Math.exp(-r/o.panDecayTime/Math.LN2):0,i=o.zoomDecayTime?Math.exp(-r/o.zoomDecayTime/Math.LN2):0,a=o.rotateDecayTime?Math.exp(-r/o.rotateDecayTime/Math.LN2):0,o.zoom*=i,o.panX*=n,o.panY*=n,o.panZ*=n,o.dTheta*=a,o.dPhi*=a),b=t,requestAnimationFrame(e)});var g=e({context:{view:o.view,projection:o.projection,eye:o.eye},uniforms:{uView:e.context("view"),uProjection:e.context("projection"),uEye:e.context("eye")}});return c(),{draw:function(e){m&&(a.dPhi=o.phi-s.phi,a.dTheta=o.theta-s.theta,a.zoom=o.distance/s.distance-1,o.theta=s.theta,o.distance=s.distance,o.phi=s.phi,a.panX=0,a.panY=0,a.panZ=0,a.x0=0,a.y0=0,p(a),m=!1),g(function(){e(o)}),o.dirty=!1},state:o,taint:f,resize:c}}},{"./interaction-events":262,"gl-mat4/identity":128,"gl-mat4/invert":129,"gl-mat4/lookAt":130,"gl-mat4/perspective":131,"gl-mat4/rotateX":132,"gl-mat4/rotateY":133,"gl-mat4/rotateZ":134,"gl-mat4/scale":135,"gl-mat4/translate":136,"gl-vec3/add":137,"gl-vec3/copy":138,"gl-vec3/equals":140,"gl-vec3/rotateX":141,"gl-vec3/rotateY":142,"gl-vec3/rotateZ":143,"gl-vec3/sub":144,"gl-vec3/transformMat4":146}],260:[function(e,t,r){"use strict";var n=e("flatten-vertex-data"),i=e("angle-normals"),a=e("bunny");t.exports=function(){var e=i(a.cells,a.positions);return{vertices:n(a.positions),normals:n(e),faces:n(a.cells,"uint16")}}},{"angle-normals":2,bunny:51,"flatten-vertex-data":124}],261:[function(e,t,r){"use strict";t.exports=function(e,t,r){return{vertices:[-1,0,-1,1,0,-1,1,0,1,-1,0,1],uv:[-(r=void 0===r?10:r),-r,r,-r,r,r,-r,r],normals:[0,1,0,0,1,0,0,1,0,0,1,0],faces:[0,1,2,0,2,3],modelMatrix:[r,0,0,0,0,1,0,0,0,0,r,0,0,0,0,1]}}},{}],262:[function(e,t,r){"use strict";t.exports=function(e,t){var n,i,r=Object.assign({element:window,constrainZoom:!1},e||{}),T=w({}),C=r.element,a=!1,M=[null,null],B=[null,null],f=!1,x=0,o=0,s={},u=y(C,function(e,t,r,n){o=e,s=n});function c(e){T.interacting=!0,T.emit("interaction",{type:"wheel",buttons:o,mods:Object.assign({},s),x0:e.x,y0:e.y,dx:e.deltaX,dy:e.deltaY,dz:e.deltaZ,dsx:1,dsy:1,dsz:1,theta:0,dtheta:0,originalEvent:e})}function h(e){T.interacting=!1}function d(e){n=v.x(e),i=v.y(e),T.interacting=!0,T.emit("interactionstart",{type:"mousedown",buttons:o,mods:Object.assign({},s),x0:n,y0:i,dx:0,dy:0,dz:0,dsx:1,dsy:1,dsz:1,theta:0,dtheta:0,originalEvent:e})}function l(e){var t=v.x(e),r=v.y(e);T.emit("interaction",{type:"mousemove",buttons:o,mods:Object.assign({},s),x0:t,y0:r,dx:t-n,dy:r-i,dz:0,dsx:1,dsy:1,dsz:1,theta:0,dtheta:0,originalEvent:e}),n=t,i=r}function I(e){for(var t=e.identifier,r=0;r<B.length;r++)if(B[r]&&B[r].touch&&B[r].touch.identifier===t)return r;return-1}function p(e){M=[null,null];for(var t=0;t<e.changedTouches.length;t++){var r=e.changedTouches[t],n=r.identifier,i=I(n);if(-1===i&&x<2){var a=0===x,o=B[0]?1:0,s=B[0]?0:1,u=new A;B[o]=u,x++,u.touch=r,D(r,C,u.position);B[s]&&B[s].touch;a||(f=!1)}}0<x&&(T.interacting=!0,T.emit("interactionstart",{type:1===x?"touchstart":"pinchstart",buttons:0,mods:{},x0:0,y0:0,dx:0,dy:0,dz:0,dsx:1,dsy:1,dsz:1,theta:0,dtheta:0,originalEvent:e}))}T.interacting=!1;function b(e){for(var t,r=!1,n=0;n<e.changedTouches.length;n++){var i=e.changedTouches[n];-1!==(t=I(i))&&(r=!0,B[t].touch=i,D(i,C,B[t].position))}if(r)if(0===x)T.interacting=!1;else if(1===x){for(t=0;t<B.length&&!B[t];t++);if(B[t]&&M[t]){var a=B[t].position[0],o=B[t].position[1],s=a-M[t][0],u=o-M[t][1];T.interacting=!0,T.emit("interaction",{type:"touch",buttons:0,mods:{},x0:a,y0:o,dx:s,dy:u,dz:0,dsx:1,dsy:1,dsz:1,theta:0,dtheta:0,originalEvent:e})}}else if(2===x&&M[0]&&M[1]){var f=M[0],c=M[1],h=c[0]-f[0],d=c[1]-f[1],l=B[0].position,p=B[1].position,b=p[0]-l[0],m=p[1]-l[1],g=Math.sqrt(h*h+d*d),v=Math.atan2(d,h),y=Math.sqrt(b*b+m*m),w=Math.atan2(m,b),A=.5*(c[0]+f[0]),S=.5*(c[1]+f[1]),s=.5*(p[0]+l[0]-f[0]-c[0]),u=.5*(p[1]+l[1]-f[1]-c[1]),_=y/g,E=w-v;T.interacting=!0,T.emit("interaction",{type:"pinch",buttons:0,mods:{},x0:A,y0:S,dx:s,dy:u,dz:0,dsx:_,dsy:_,dsz:1,theta:w,dtheta:E,originalEvent:e}),A,S}B[0]&&(M[0]=B[0].position.slice()),B[1]&&(M[1]=B[1].position.slice())}function m(e){for(var t=0;t<e.changedTouches.length;t++){var r=e.changedTouches[t],n=I(r);if(-1!==n){B[n]=null,x--;var i=0===n?1:0;B[i]&&B[i].touch}}f||2===x||(T.interacting=!1,f=!0),x<2&&(T.interacting=!1,T.emit("interactionend",{type:0===x?"touchend":"pinchend",buttons:0,mods:{},x0:0,y0:0,dx:0,dy:0,dz:0,dsx:1,dsy:1,dsz:1,theta:0,dtheta:0,originalEvent:e}))}function g(){a||(a=!0,u.enabled=!0,C.addEventListener("wheel",c,!1),C.addEventListener("mousedown",d,!1),window.addEventListener("mousemove",l,!1),window.addEventListener("mouseup",h,!1),C.addEventListener("touchstart",p,!1),window.addEventListener("touchmove",b,!1),window.addEventListener("touchend",m,!1),window.addEventListener("touchcancel",m,!1))}return g(),T.enable=g,T.disable=function(){a&&(a=!1,u.enabled=!1,C.removeEventListener("wheel",c,!1),C.removeEventListener("mousedown",d,!1),window.removeEventListener("mousemove",l,!1),window.removeEventListener("mouseup",h,!1),C.removeEventListener("touchstart",p,!1),window.removeEventListener("touchmove",b,!1),window.removeEventListener("touchend",m,!1),window.removeEventListener("touchcancel",m,!1))},T};var v=e("mouse-event"),y=e("mouse-change"),D=e("mouse-event-offset"),w=e("event-emitter");function A(){this.position=[0,0],this.touch=null}},{"event-emitter":122,"mouse-change":186,"mouse-event":188,"mouse-event-offset":187}],263:[function(e,t,r){var n=e("glslify");t.exports=function(e){return e({vert:n(["\n precision mediump float;\n#define GLSLIFY 1\n\n attribute vec2 xy;\n varying vec2 v_rgbNW;\n varying vec2 v_rgbNE;\n varying vec2 v_rgbSW;\n varying vec2 v_rgbSE;\n varying vec2 v_rgbM;\n uniform vec2 uResolution;\n //To save 9 dependent texture reads, you can compute\n//these in the vertex shader and use the optimized\n//frag.glsl function in your frag shader. \n\n//This is best suited for mobile devices, like iOS.\n\nvoid texcoords(vec2 fragCoord, vec2 resolution,\n\t\t\tout vec2 v_rgbNW, out vec2 v_rgbNE,\n\t\t\tout vec2 v_rgbSW, out vec2 v_rgbSE,\n\t\t\tout vec2 v_rgbM) {\n\tvec2 inverseVP = 1.0 / resolution.xy;\n\tv_rgbNW = (fragCoord + vec2(-1.0, -1.0)) * inverseVP;\n\tv_rgbNE = (fragCoord + vec2(1.0, -1.0)) * inverseVP;\n\tv_rgbSW = (fragCoord + vec2(-1.0, 1.0)) * inverseVP;\n\tv_rgbSE = (fragCoord + vec2(1.0, 1.0)) * inverseVP;\n\tv_rgbM = vec2(fragCoord * inverseVP);\n}\n\n void main () {\n vec2 fragCoord = (xy * 0.5 + 0.5) * uResolution;\n texcoords(fragCoord, uResolution, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n gl_Position = vec4(xy, 0, 1);\n }\n ",""]),frag:n(['\n precision mediump float;\n#define GLSLIFY 1\n\n\n /**\nBasic FXAA implementation based on the code on geeks3d.com with the\nmodification that the texture2DLod stuff was removed since it\'s\nunsupported by WebGL.\n\n--\n\nFrom:\nhttps://github.com/mitsuhiko/webgl-meincraft\n\nCopyright (c) 2011 by Armin Ronacher.\n\nSome rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials provided\n with the distribution.\n\n * The names of the contributors may not be used to endorse or\n promote products derived from this software without specific\n prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n#ifndef FXAA_REDUCE_MIN\n #define FXAA_REDUCE_MIN (1.0/ 128.0)\n#endif\n#ifndef FXAA_REDUCE_MUL\n #define FXAA_REDUCE_MUL (1.0 / 8.0)\n#endif\n#ifndef FXAA_SPAN_MAX\n #define FXAA_SPAN_MAX 8.0\n#endif\n\n//optimized version for mobile, where dependent \n//texture reads can be a bottleneck\nvec4 fxaa(sampler2D tex, vec2 fragCoord, vec2 resolution,\n vec2 v_rgbNW, vec2 v_rgbNE, \n vec2 v_rgbSW, vec2 v_rgbSE, \n vec2 v_rgbM) {\n vec4 color;\n mediump vec2 inverseVP = vec2(1.0 / resolution.x, 1.0 / resolution.y);\n vec3 rgbNW = texture2D(tex, v_rgbNW).xyz;\n vec3 rgbNE = texture2D(tex, v_rgbNE).xyz;\n vec3 rgbSW = texture2D(tex, v_rgbSW).xyz;\n vec3 rgbSE = texture2D(tex, v_rgbSE).xyz;\n vec4 texColor = texture2D(tex, v_rgbM);\n vec3 rgbM = texColor.xyz;\n vec3 luma = vec3(0.299, 0.587, 0.114);\n float lumaNW = dot(rgbNW, luma);\n float lumaNE = dot(rgbNE, luma);\n float lumaSW = dot(rgbSW, luma);\n float lumaSE = dot(rgbSE, luma);\n float lumaM = dot(rgbM, luma);\n float lumaMin = min(lumaM, min(min(lumaNW, lumaNE), min(lumaSW, lumaSE)));\n float lumaMax = max(lumaM, max(max(lumaNW, lumaNE), max(lumaSW, lumaSE)));\n \n mediump vec2 dir;\n dir.x = -((lumaNW + lumaNE) - (lumaSW + lumaSE));\n dir.y = ((lumaNW + lumaSW) - (lumaNE + lumaSE));\n \n float dirReduce = max((lumaNW + lumaNE + lumaSW + lumaSE) *\n (0.25 * FXAA_REDUCE_MUL), FXAA_REDUCE_MIN);\n \n float rcpDirMin = 1.0 / (min(abs(dir.x), abs(dir.y)) + dirReduce);\n dir = min(vec2(FXAA_SPAN_MAX, FXAA_SPAN_MAX),\n max(vec2(-FXAA_SPAN_MAX, -FXAA_SPAN_MAX),\n dir * rcpDirMin)) * inverseVP;\n \n vec3 rgbA = 0.5 * (\n texture2D(tex, fragCoord * inverseVP + dir * (1.0 / 3.0 - 0.5)).xyz +\n texture2D(tex, fragCoord * inverseVP + dir * (2.0 / 3.0 - 0.5)).xyz);\n vec3 rgbB = rgbA * 0.5 + 0.25 * (\n texture2D(tex, fragCoord * inverseVP + dir * -0.5).xyz +\n texture2D(tex, fragCoord * inverseVP + dir * 0.5).xyz);\n\n float lumaB = dot(rgbB, luma);\n if ((lumaB < lumaMin) || (lumaB > lumaMax))\n color = vec4(rgbA, texColor.a);\n else\n color = vec4(rgbB, texColor.a);\n return color;\n}\n\n varying vec2 v_rgbNW;\n varying vec2 v_rgbNE;\n varying vec2 v_rgbSW;\n varying vec2 v_rgbSE;\n varying vec2 v_rgbM;\n\n uniform sampler2D src;\n uniform vec2 uResolution;\n\n void main () {\n gl_FragColor = fxaa(src, gl_FragCoord.xy, uResolution, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n }\n ',""]),attributes:{xy:[-4,-4,0,4,4,-4]},uniforms:{src:e.prop("src")},framebuffer:e.prop("dst"),depth:{enable:!1},count:3})}},{glslify:147}],264:[function(e,t,r){"use strict";var n=e("glslify");t.exports=function(e){return e({vert:"\n precision mediump float;\n attribute vec3 aVertex, aNormal;\n attribute vec2 aUV;\n uniform mat4 uProjection, uView, uModel;\n varying vec3 vNormal;\n varying vec2 vUV;\n void main () {\n vNormal = aNormal;\n vUV = aUV;\n gl_Position = uProjection * uView * uModel * vec4(aVertex, 1);\n }\n ",frag:n(["\n #extension GL_OES_standard_derivatives : enable\n precision mediump float;\n#define GLSLIFY 1\n\n float gridFactor_0 (float parameter, float width, float feather) {\n float w1 = width - feather * 0.5;\n float d = fwidth(parameter);\n float looped = 0.5 - abs(mod(parameter, 1.0) - 0.5);\n return smoothstep(d * w1, d * (w1 + feather), looped);\n}\n\nfloat gridFactor_0 (vec2 parameter, float width, float feather) {\n float w1 = width - feather * 0.5;\n vec2 d = fwidth(parameter);\n vec2 looped = 0.5 - abs(mod(parameter, 1.0) - 0.5);\n vec2 a2 = smoothstep(d * w1, d * (w1 + feather), looped);\n return min(a2.x, a2.y);\n}\n\nfloat gridFactor_0 (vec3 parameter, float width, float feather) {\n float w1 = width - feather * 0.5;\n vec3 d = fwidth(parameter);\n vec3 looped = 0.5 - abs(mod(parameter, 1.0) - 0.5);\n vec3 a3 = smoothstep(d * w1, d * (w1 + feather), looped);\n return min(min(a3.x, a3.y), a3.z);\n}\n\nfloat gridFactor_0 (vec4 parameter, float width, float feather) {\n float w1 = width - feather * 0.5;\n vec4 d = fwidth(parameter);\n vec4 looped = 0.5 - abs(mod(parameter, 1.0) - 0.5);\n vec4 a4 = smoothstep(d * w1, d * (w1 + feather), looped);\n return min(min(min(a4.x, a4.y), a4.z), a4.w);\n}\n\nfloat gridFactor_0 (float parameter, float width) {\n float d = fwidth(parameter);\n float looped = 0.5 - abs(mod(parameter, 1.0) - 0.5);\n return smoothstep(d * (width - 0.5), d * (width + 0.5), looped);\n}\n\nfloat gridFactor_0 (vec2 parameter, float width) {\n vec2 d = fwidth(parameter);\n vec2 looped = 0.5 - abs(mod(parameter, 1.0) - 0.5);\n vec2 a2 = smoothstep(d * (width - 0.5), d * (width + 0.5), looped);\n return min(a2.x, a2.y);\n}\n\nfloat gridFactor_0 (vec3 parameter, float width) {\n vec3 d = fwidth(parameter);\n vec3 looped = 0.5 - abs(mod(parameter, 1.0) - 0.5);\n vec3 a3 = smoothstep(d * (width - 0.5), d * (width + 0.5), looped);\n return min(min(a3.x, a3.y), a3.z);\n}\n\nfloat gridFactor_0 (vec4 parameter, float width) {\n vec4 d = fwidth(parameter);\n vec4 looped = 0.5 - abs(mod(parameter, 1.0) - 0.5);\n vec4 a4 = smoothstep(d * (width - 0.5), d * (width + 0.5), looped);\n return min(min(min(a4.x, a4.y), a4.z), a4.z);\n}\n\n uniform float uSpacing, uLineWidth;\n uniform vec4 uColor;\n varying vec3 vNormal;\n varying vec2 vUV;\n void main () {\n float gridFactor = 1.0 - gridFactor_0(vUV, uLineWidth, 1.0);\n if (gridFactor < 0.01) discard;\n gl_FragColor = vec4(\n uColor.rgb,\n uColor.a * gridFactor * smoothstep(20.0, 10.0, length(vUV))\n );\n }\n ",""]),blend:{enable:!0,func:{srcRGB:"src alpha",srcAlpha:1,dstRGB:"one minus src alpha",dstAlpha:1}},attributes:{aVertex:function(e,t){return t.getVertexBuffer()},aNormal:function(e,t){return t.getNormalBuffer()},aUV:function(e,t){return t.getUVBuffer()}},uniforms:{uModel:function(e,t){return t.getModelMatrix()},uColor:function(e,t){return t.getProperty("color")},uLineWidth:function(e,t){return(void 0===t.getProperty("lineWidth")?1:t.getProperty("lineWidth"))*e.pixelRatio}},elements:function(e,t){return t.getFaceBuffer()},count:function(e,t){return t.getNbFaces()}})}},{glslify:147}],265:[function(e,t,r){"use strict";t.exports={mesh:e("./mesh"),grid:e("./grid"),fxaa:e("./fxaa")}},{"./fxaa":263,"./grid":264,"./mesh":266}],266:[function(e,t,r){"use strict";var n=e("glslify");t.exports=function(e){return e({vert:n(["\n #define PER_FRAGMENT_MATCAP\n\n precision mediump float;\n#define GLSLIFY 1\n\n\n attribute vec3 aVertex, aNormal;\n uniform vec3 uEye;\n uniform mat4 uProjection, uView, uModel;\n varying vec3 vNormal;\n\n #ifdef PER_FRAGMENT_MATCAP\n varying vec3 vViewEyeDir, vViewNormal;\n #else\n vec2 matcap(vec3 eye, vec3 normal) {\n vec3 reflected = reflect(eye, normal);\n float m = 2.8284271247461903 * sqrt( reflected.z+1.0 );\n return reflected.xy / m + 0.5;\n}\n\n varying vec3 vColor;\n uniform sampler2D uMatcap;\n #endif\n\n void main () {\n vNormal = aNormal;\n vec4 position = uModel * vec4(aVertex, 1);\n\n #ifdef PER_FRAGMENT_MATCAP\n vViewNormal = mat3(uView) * vNormal;\n vViewEyeDir = mat3(uView) * normalize(position.xyz - uEye);\n #else\n vec3 viewNormal = mat3(uView) * vNormal;\n vec3 viewEyeDir = mat3(uView) * normalize(position.xyz - uEye);\n vColor = texture2D(uMatcap, matcap(viewEyeDir, viewNormal)).rgb;\n #endif\n\n gl_Position = uProjection * uView * position;\n }\n ",""]),frag:n(["\n #define PER_FRAGMENT_MATCAP\n\n precision mediump float;\n#define GLSLIFY 1\n\n\n #ifdef PER_FRAGMENT_MATCAP\n varying vec3 vViewNormal, vViewEyeDir;\n uniform sampler2D uMatcap;\n vec2 matcap(vec3 eye, vec3 normal) {\n vec3 reflected = reflect(eye, normal);\n float m = 2.8284271247461903 * sqrt( reflected.z+1.0 );\n return reflected.xy / m + 0.5;\n}\n\n #else\n varying vec3 vColor;\n #endif\n\n void main () {\n vec3 color;\n\n #ifdef PER_FRAGMENT_MATCAP\n color = texture2D(uMatcap, matcap(vViewEyeDir, vViewNormal)).rgb;\n #else\n color = vColor;\n #endif\n\n gl_FragColor = vec4(color, 1);\n }\n ",""]),attributes:{aVertex:function(e,t){return t.getVertexBuffer()},aNormal:function(e,t){return t.getNormalBuffer()}},uniforms:{uModel:function(e,t){return t.getModelMatrix()},uMatcap:function(e,t){return t.getProperty("matcap")}},elements:function(e,t){return t.getFaceBuffer()},count:function(e,t){return t.getNbFaces()}})}},{glslify:147}],267:[function(e,t,r){"use strict";var n=e("regl"),i=e("resl"),u=(e("./camera"),e("./renderers"));function a(s){if(!(this instanceof a))return new a(s);var e=void 0===(s=s||{}).maxPixelRatio?1.5:s.maxPixelRatio;s.pixelRatio=void 0===s.pixelRatio?Math.min(e,window.devicePixelRatio):s.pixelRatio,s.antialias=void 0!==s.antialias&&!!s.antialias,this._fxaa=void 0===s.fxaa||!!s.fxaa,this._fxaa&&(this.antialias=!1),this._renderData={};var t=function(){n({pixelRatio:s.pixelRatio,optionalExtensions:["oes_standard_derivatives","oes_element_index_uint"],attributes:{antialias:s.antialias},onDone:function(e,t){if(e)return s&&s.onDone(e);this._regl=t;var r=[0,0];this._setUniforms=t({uniforms:{uResolution:function(e){return r[0]=e.framebufferWidth,r[1]=e.framebufferHeight,r}}}),this._fxaa&&(this._fxaaFbo=t.framebuffer({width:this._regl._gl.canvas.width,height:this._regl._gl.canvas.height}));for(var n={},i=Object.keys(u),a=0;a<i.length;a++){var o=i[a];n[o]=u[o](t)}this._renderData.renderers=n,this._renderData.regl=t,this.resize=this.resize.bind(this),s.onDone&&s.onDone(e,this,this._resources)}.bind(this)})}.bind(this);this._resources={},s.resources&&Object.keys(s.resources).length?i({manifest:s.resources,onDone:function(e){this._resources=e,t()}.bind(this)}):t()}(t.exports=a).prototype={getRegl:function(){return this._regl},getResource:function(e){return this._resources[e]},start:function(){this._raf=this._regl.frame(function(){try{this._setUniforms(function(){this._fxaa?(this._fxaaFbo.use(function(){this._renderFn&&this._renderFn(this._renderData)}.bind(this)),this._renderData.renderers.fxaa({src:this._fxaaFbo})):this._renderFn&&this._renderFn(this._renderData)}.bind(this))}catch(e){console.error(e),this.stop()}}.bind(this))},stop:function(){this._raf&&(this._raf.cancel(),this._raf=null)},setRenderFn:function(e){this._renderFn=e},resize:function(){this._fxaa&&(this._fxaaFbo=this._fxaaFbo({width:this._regl._gl.canvas.width,height:this._regl._gl.canvas.height}))}}},{"./camera":259,"./renderers":265,regl:227,resl:228}]},{},[257]);
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment