{div:e,mod:h.mod}):0!==(this.negative&a.negative)?(h=this.neg().divmod(a.neg(),b),"div"!==b&&(g=h.mod.neg(),c&&0!==g.negative&&g.isub(a)),{div:h.div,mod:g}):a.length>this.length||this.cmp(a)<0?{div:newf(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]),mod:null}:"mod"===b?{div:null,mod:newf(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:newf(this.modn(a.words[0]))}:this._wordDiv(a,b)},f.prototype.div=function(a){returnthis.divmod(a,"div",!1).div},f.prototype.mod=function(a){returnthis.divmod(a,"mod",!1).mod},f.prototype.umod=function(a){returnthis.divmod(a,"mod",!0).mod},f.prototype.divRound=function(a){varb=this.divmod(a);if(b.mod.isZero())returnb.div;varc=0!==b.div.negative?b.mod.isub(a):b.mod,d=a.ushrn(1),e=a.andln(1),f=c.cmp(d);returnf<0||1===e&&0===f?b.div:0!==b.div.negative?b.div.isubn(1):b.div.iaddn(1)},f.prototype.modn=function(a){d(a<=67108863);for(varb=(1<<26)%a,c=0,e=this.length-1;e>=0;e--)c=(b*c+(0|this.words[e]))%a;returnc},f.prototype.idivn=function(a){d(a<=67108863);for(varb=0,c=this.length-1;c>=0;c--){vare=(0|this.words[c])+67108864*b;this.words[c]=e/a|0,b=e%a}returnthis.strip()},f.prototype.divn=function(a){returnthis.clone().idivn(a)},f.prototype.egcd=function(a){d(0===a.negative),d(!a.isZero());varb=this,c=a.clone();b=0!==b.negative?b.umod(a):b.clone();for(vare=newf(1),g=newf(0),h=newf(0),i=newf(1),j=0;b.isEven()&&c.isEven();)b.iushrn(1),c.iushrn(1),++j;for(vark=c.clone(),l=b.clone();!b.isZero();){for(varm=0,n=1;0===(b.words[0]&n)&&m<26;++m,n<<=1);if(m>0)for(b.iushrn(m);m-->0;)(e.isOdd()||g.isOdd())&&(e.iadd(k),g.isub(l)),e.iushrn(1),g.iushrn(1);for(varo=0,p=1;0===(c.words[0]&p)&&o<26;++o,p<<=1);if(o>0)for(c.iushrn(o);o-->0;)(h.isOdd()||i.isOdd())&&(h.iadd(k),i.isub(l)),h.iushrn(1),i.iushrn(1);b.cmp(c)>=0?(b.isub(c),e.isub(h),g.isub(i)):(c.isub(b),h.isub(e),i.isub(g))}return{a:h,b:i,gcd:c.iushln(j)}},f.prototype._invmp=function(a){d(0===a.negative),d(!a.isZero());varb=this,c=a.clone();b=0!==b.negative?b.umod(a):b.clone();for(vare=newf(1),g=newf(0),h=c.clone();b.cmpn(1)>0&&c.cmpn(1)>0;){for(vari=0,j=1;0===(b.words[0]&j)&&i<26;++i,j<<=1);if(i>0)for(b.iushrn(i);i-->0;)e.isOdd()&&e.iadd(h),e.iushrn(1);for(vark=0,l=1;0===(c.words[0]&l)&&k<26;++k,l<<=1);if(k>0)for(c.iushrn(k);k-->0;)g.isOdd()&&g.iadd(h),g.iushrn(1);b.cmp(c)>=0?(b.isub(c),e.isub(g)):(c.isub(b),g.isub(e))}varm;returnm=0===b.cmpn(1)?e:g,m.cmpn(0)<0&&m.iadd(a),m},f.prototype.gcd=function(a){if(this.isZero())returna.abs();if(a.isZero())returnthis.abs();varb=this.clone(),c=a.clone();b.negative=0,c.negative=0;for(vard=0;b.isEven()&&c.isEven();d++)b.iushrn(1),c.iushrn(1);for(;;){for(;b.isEven();)b.iushrn(1);for(;c.isEven();)c.iushrn(1);vare=b.cmp(c);if(e<0){varf=b;b=c,c=f}elseif(0===e||0===c.cmpn(1))break;b.isub(c)}returnc.iushln(d)},f.prototype.invm=function(a){returnthis.egcd(a).a.umod(a)},f.prototype.isEven=function(){return0===(1&this.words[0])},f.prototype.isOdd=function(){return1===(1&this.words[0])},f.prototype.andln=function(a){returnthis.words[0]&a},f.prototype.bincn=function(a){d("number"==typeofa);varb=a%26,c=(a-b)/26,e=1<<b;if(this.length<=c)returnthis._expand(c+1),this.words[c]|=e,this;for(varf=e,g=c;0!==f&&g<this.length;g++){varh=0|this.words[g];h+=f,f=h>>>26,h&=67108863,this.words[g]=h}return0!==f&&(this.words[g]=f,this.length++),this},f.prototype.isZero=function(){return1===this.length&&0===this.words[0]},f.prototype.cmpn=function(a){varb=a<0;if(0!==this.negative&&!b)return-1;if(0===this.negative&&b)return1;this.strip();varc;if(this.length>1)c=1;else{b&&(a=-a),d(a<=67108863,"Number is too big");vare=0|this.words[0];c=e===a?0:e<a?-1:1}return0!==this.negative?0|-c:c},f.prototype.cmp=function(a){if(0!==this.negative&&0===a.negative)return-1;if(0===this.negative&&0!==a.negative)return1;varb=this.ucmp(a);return0!==this.negative?0|-b:b},f.prototype.ucmp=function(a){if(this.length>a.length)return1;if(this.length<a.length)return-1;for(varb=0,c=this.length-1;c>=0;c--){vard=0|this.words[c],e=0|a.words[c];if(d!==e){d<e?b=-1:d>e&&(b=1);break}}returnb},f.pro
a[26]=P^~R&J,a[27]=Q^~S&K,a[36]=Z^~_&T,a[37]=$^~aa&U,a[46]=ha^~ja&ba,a[47]=ia^~ka&ca,a[8]=x^~p&r,a[9]=y^~q&s,a[18]=H^~z&B,a[19]=I^~A&C,a[28]=R^~J&L,a[29]=S^~K&M,a[38]=_^~T&V,a[39]=aa^~U&W,a[48]=ja^~ba&da,a[49]=ka^~ca&ea,a[0]^=m[d],a[1]^=m[d+1]};if(g)b.exports=v;elsefor(varx=0;x<w.length;++x)e[w[x]]=v[w[x]]}()}).call(this,a("_process"),"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{})},{_process:18}],17:[function(a,b,c){functiond(a,b){if(!a)thrownewError(b||"Assertion failed")}b.exports=d,d.equal=function(a,b,c){if(a!=b)thrownewError(c||"Assertion failed: "+a+" != "+b)}},{}],18:[function(a,b,c){functiond(){thrownewError("setTimeout has not been defined")}functione(){thrownewError("clearTimeout has not been defined")}functionf(a){if(l===setTimeout)returnsetTimeout(a,0);if((l===d||!l)&&setTimeout)returnl=setTimeout,setTimeout(a,0);try{returnl(a,0)}catch(b){try{returnl.call(null,a,0)}catch(b){returnl.call(this,a,0)}}}functiong(a){if(m===clearTimeout)returnclearTimeout(a);if((m===e||!m)&&clearTimeout)returnm=clearTimeout,clearTimeout(a);try{returnm(a)}catch(b){try{returnm.call(null,a)}catch(b){returnm.call(this,a)}}}functionh(){q&&o&&(q=!1,o.length?p=o.concat(p):r=-1,p.length&&i())}functioni(){if(!q){vara=f(h);q=!0;for(varb=p.length;b;){for(o=p,p=[];++r<b;)o&&o[r].run();r=-1,b=p.length}o=null,q=!1,g(a)}}functionj(a,b){this.fun=a,this.array=b}functionk(){}varl,m,n=b.exports={};!function(){try{l="function"==typeofsetTimeout?setTimeout:d}catch(a){l=d}try{m="function"==typeofclearTimeout?clearTimeout:e}catch(a){m=e}}();varo,p=[],q=!1,r=-1;n.nextTick=function(a){varb=newArray(arguments.length-1);if(arguments.length>1)for(varc=1;c<arguments.length;c++)b[c-1]=arguments[c];p.push(newj(a,b)),1!==p.length||q||f(i)},j.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=k,n.addListener=k,n.once=k,n.off=k,n.removeListener=k,n.removeAllListeners=k,n.emit=k,n.prependListener=k,n.prependOnceListener=k,n.listeners=function(a){return[]},n.binding=function(a){thrownewError("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(a){thrownewError("process.chdir is not supported")},n.umask=function(){return0}},{}],19:[function(a,b,c){"use strict";functiond(a,b){functionc(b){thrownewError('unexpected character "'+a[b]+'" at position '+b+' in "'+a+'"')}for(vard={type:"",name:"",state:{allowType:!0}},e=d,f=0;f<a.length;f++){varg=a[f];switch(g){case"(":e.state.allowParams||c(f),deletee.state.allowType,e.components=[{type:"",name:"",parent:e,state:{allowType:!0}}],e=e.components[0];break;case")":deletee.state;varh=e;e=e.parent,e||c(f),deleteh.parent,deletee.state.allowParams,e.state.allowName=!0,e.state.allowArray=!0;break;case",":deletee.state;vari={type:"",name:"",parent:e.parent,state:{allowType:!0}};e.parent.components.push(i),deletee.parent,e=i;break;case" ":e.state.allowType&&""!==e.type&&(deletee.state.allowType,e.state.allowName=!0,e.state.allowParams=!0),e.state.allowName&&""!==e.name&&(b&&"indexed"===e.name?(e.indexed=!0,e.name=""):deletee.state.allowName);break;case"[":e.state.allowArray||c(f),e.type+=g,deletee.state.allowArray,deletee.state.allowName,e.state.readArray=!0;break;case"]":e.state.readArray||c(f),e.type+=g,deletee.state.readArray,e.state.allowArray=!0,e.state.allowName=!0;break;default:e.state.allowType?(e.type+=g,e.state.allowParams=!0,e.state.allowArray=!0):e.state.allowName?(e.name+=g,deletee.state.allowArray):e.state.readArray?e.type+=g:c(f)}}if(e.parent)thrownewError("unexpected eof");returndeleted.state,d}functione(a){varb={anonymous:!1,inputs:[],type:"event"},c=a.match(z);if(!c)thrownewError("invalid event: "+a);if(b.name=c[1].trim(),o(c[2]).forEach(function(a){a=d(a,!0),a.indexed=!!a.indexed,b.inputs.push(a)}),c[3].split(" ").forEach(function(a){switch(a){case"anonymous":b.anonymous=!0;break;case"":break;default:console.log("unknown modifier: "+mdifier)}}),b.name&&!b.name.match(A))throw