(self.ldBronxApp=self.ldBronxApp||[]).push([[7713],{7900:(t,i,r)=>{i.publicEncrypt=r(16559),i.privateDecrypt=r(26138),i.privateEncrypt=function(t,r){return i.publicEncrypt(t,r,!0)},i.publicDecrypt=function(t,r){return i.privateDecrypt(t,r,!0)}},99199:(t,i,r)=>{var e=r(23482),n=r(89509).Buffer;function o(t){var i=n.allocUnsafe(4);return i.writeUInt32BE(t,0),i}t.exports=function(t,i){for(var r,h=n.alloc(0),s=0;h.length<i;)r=o(s++),h=n.concat([h,e("sha1").update(t).update(r).digest()]);return h.slice(0,i)}},92144:function(t,i,r){!function(t,i){"use strict";function e(t,i){if(!t)throw new Error(i||"Assertion failed")}function n(t,i){t.super_=i;var r=function(){};r.prototype=i.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,i,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==i&&"be"!==i||(r=i,i=10),this._init(t||0,i||10,r||"be"))}var h;"object"==typeof t?t.exports=o:i.BN=o,o.BN=o,o.wordSize=26;try{h="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(77108).Buffer}catch(t){}function s(t,i){var r=t.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function u(t,i,r){var e=s(t,r);return r-1>=i&&(e|=s(t,r-1)<<4),e}function a(t,i,r,e){for(var n=0,o=Math.min(t.length,r),h=i;h<o;h++){var s=t.charCodeAt(h)-48;n*=e,n+=s>=49?s-49+10:s>=17?s-17+10:s}return n}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,i){return t.cmp(i)>0?t:i},o.min=function(t,i){return t.cmp(i)<0?t:i},o.prototype._init=function(t,i,r){if("number"==typeof t)return this._initNumber(t,i,r);if("object"==typeof t)return this._initArray(t,i,r);"hex"===i&&(i=16),e(i===(0|i)&&i>=2&&i<=36);var n=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(n++,this.negative=1),n<t.length&&(16===i?this._parseHex(t,n,r):(this._parseBase(t,i,n),"le"===r&&this._initArray(this.toArray(),i,r)))},o.prototype._initNumber=function(t,i,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(e(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),i,r)},o.prototype._initArray=function(t,i,r){if(e("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var o,h,s=0;if("be"===r)for(n=t.length-1,o=0;n>=0;n-=3)h=t[n]|t[n-1]<<8|t[n-2]<<16,this.words[o]|=h<<s&67108863,this.words[o+1]=h>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(n=0,o=0;n<t.length;n+=3)h=t[n]|t[n+1]<<8|t[n+2]<<16,this.words[o]|=h<<s&67108863,this.words[o+1]=h>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,i,r){this.length=Math.ceil((t.length-i)/6),this.words=new Array(this.length);for(var e=0;e<this.length;e++)this.words[e]=0;var n,o=0,h=0;if("be"===r)for(e=t.length-1;e>=i;e-=2)n=u(t,i,e)<<o,this.words[h]|=67108863&n,o>=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;else for(e=(t.length-i)%2==0?i+1:i;e<t.length;e+=2)n=u(t,i,e)<<o,this.words[h]|=67108863&n,o>=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,i,r){this.words=[0],this.length=1;for(var e=0,n=1;n<=67108863;n*=i)e++;e--,n=n/i|0;for(var o=t.length-r,h=o%e,s=Math.min(o,o-h)+r,u=0,l=r;l<s;l+=e)u=a(t,l,l+e,i),this.imuln(n),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==h){var f=1;for(u=a(t,l,t.length,i),l=0;l<h;l++)f*=i;this.imuln(f),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","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"],f=[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],m=[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 d(t,i,r){r.negative=i.negative^t.negative;var e=t.length+i.length|0;r.length=e,e=e-1|0;var n=0|t.words[0],o=0|i.words[0],h=n*o,s=67108863&h,u=h/67108864|0;r.words[0]=s;for(var a=1;a<e;a++){for(var l=u>>>26,f=67108863&u,m=Math.min(a,i.length-1),d=Math.max(0,a-t.length+1);d<=m;d++){var p=a-d|0;l+=(h=(n=0|t.words[p])*(o=0|i.words[d])+f)/67108864|0,f=67108863&h}r.words[a]=0|f,u=0|l}return 0!==u?r.words[a]=0|u:r.length--,r.strip()}o.prototype.toString=function(t,i){var r;if(i=0|i||1,16===(t=t||10)||"hex"===t){r="";for(var n=0,o=0,h=0;h<this.length;h++){var s=this.words[h],u=(16777215&(s<<n|o)).toString(16);r=0!==(o=s>>>24-n&16777215)||h!==this.length-1?l[6-u.length]+u+r:u+r,(n+=2)>=26&&(n-=26,h--)}for(0!==o&&(r=o.toString(16)+r);r.length%i!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var a=f[t],d=m[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var c=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?c+r:l[a-c.length]+c+r}for(this.isZero()&&(r="0"+r);r.length%i!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}e(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&e(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,i){return e(void 0!==h),this.toArrayLike(h,t,i)},o.prototype.toArray=function(t,i){return this.toArrayLike(Array,t,i)},o.prototype.toArrayLike=function(t,i,r){var n=this.byteLength(),o=r||Math.max(1,n);e(n<=o,"byte array longer than desired length"),e(o>0,"Requested array length <= 0"),this.strip();var h,s,u="le"===i,a=new t(o),l=this.clone();if(u){for(s=0;!l.isZero();s++)h=l.andln(255),l.iushrn(8),a[s]=h;for(;s<o;s++)a[s]=0}else{for(s=0;s<o-n;s++)a[s]=0;for(s=0;!l.isZero();s++)h=l.andln(255),l.iushrn(8),a[o-s-1]=h}return a},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var i=t,r=0;return i>=4096&&(r+=13,i>>>=13),i>=64&&(r+=7,i>>>=7),i>=8&&(r+=4,i>>>=4),i>=2&&(r+=2,i>>>=2),r+i},o.prototype._zeroBits=function(t){if(0===t)return 26;var i=t,r=0;return 0==(8191&i)&&(r+=13,i>>>=13),0==(127&i)&&(r+=7,i>>>=7),0==(15&i)&&(r+=4,i>>>=4),0==(3&i)&&(r+=2,i>>>=2),0==(1&i)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],i=this._countBits(t);return 26*(this.length-1)+i},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var r=this._zeroBits(this.words[i]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},o.prototype.ior=function(t){return e(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var i;i=this.length>t.length?t:this;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=i.length,this.strip()},o.prototype.iand=function(t){return e(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var i,r;this.length>t.length?(i=this,r=t):(i=t,r=this);for(var e=0;e<r.length;e++)this.words[e]=i.words[e]^r.words[e];if(this!==i)for(;e<i.length;e++)this.words[e]=i.words[e];return this.length=i.length,this.strip()},o.prototype.ixor=function(t){return e(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){e("number"==typeof t&&t>=0);var i=0|Math.ceil(t/26),r=t%26;this._expand(i),r>0&&i--;for(var n=0;n<i;n++)this.words[n]=67108863&~this.words[n];return r>0&&(this.words[n]=~this.words[n]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,i){e("number"==typeof t&&t>=0);var r=t/26|0,n=t%26;return this._expand(r+1),this.words[r]=i?this.words[r]|1<<n:this.words[r]&~(1<<n),this.strip()},o.prototype.iadd=function(t){var i,r,e;if(0!==this.negative&&0===t.negative)return this.negative=0,i=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,i=this.isub(t),t.negative=1,i._normSign();this.length>t.length?(r=this,e=t):(r=t,e=this);for(var n=0,o=0;o<e.length;o++)i=(0|r.words[o])+(0|e.words[o])+n,this.words[o]=67108863&i,n=i>>>26;for(;0!==n&&o<r.length;o++)i=(0|r.words[o])+n,this.words[o]=67108863&i,n=i>>>26;if(this.length=r.length,0!==n)this.words[this.length]=n,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var i;return 0!==t.negative&&0===this.negative?(t.negative=0,i=this.sub(t),t.negative^=1,i):0===t.negative&&0!==this.negative?(this.negative=0,i=t.sub(this),this.negative=1,i):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var i=this.iadd(t);return t.negative=1,i._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,e,n=this.cmp(t);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;n>0?(r=this,e=t):(r=t,e=this);for(var o=0,h=0;h<e.length;h++)o=(i=(0|r.words[h])-(0|e.words[h])+o)>>26,this.words[h]=67108863&i;for(;0!==o&&h<r.length;h++)o=(i=(0|r.words[h])+o)>>26,this.words[h]=67108863&i;if(0===o&&h<r.length&&r!==this)for(;h<r.length;h++)this.words[h]=r.words[h];return this.length=Math.max(this.length,h),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,i,r){var e,n,o,h=t.words,s=i.words,u=r.words,a=0,l=0|h[0],f=8191&l,m=l>>>13,d=0|h[1],p=8191&d,c=d>>>13,v=0|h[2],g=8191&v,M=v>>>13,y=0|h[3],w=8191&y,b=y>>>13,_=0|h[4],x=8191&_,k=_>>>13,A=0|h[5],S=8191&A,j=A>>>13,O=0|h[6],R=8191&O,N=O>>>13,E=0|h[7],B=8191&E,L=E>>>13,D=0|h[8],P=8191&D,Z=D>>>13,q=0|h[9],T=8191&q,C=q>>>13,I=0|s[0],z=8191&I,H=I>>>13,F=0|s[1],U=8191&F,Q=F>>>13,V=0|s[2],K=8191&V,J=V>>>13,$=0|s[3],G=8191&$,W=$>>>13,X=0|s[4],Y=8191&X,tt=X>>>13,it=0|s[5],rt=8191&it,et=it>>>13,nt=0|s[6],ot=8191&nt,ht=nt>>>13,st=0|s[7],ut=8191&st,at=st>>>13,lt=0|s[8],ft=8191&lt,mt=lt>>>13,dt=0|s[9],pt=8191&dt,ct=dt>>>13;r.negative=t.negative^i.negative,r.length=19;var vt=(a+(e=Math.imul(f,z))|0)+((8191&(n=(n=Math.imul(f,H))+Math.imul(m,z)|0))<<13)|0;a=((o=Math.imul(m,H))+(n>>>13)|0)+(vt>>>26)|0,vt&=67108863,e=Math.imul(p,z),n=(n=Math.imul(p,H))+Math.imul(c,z)|0,o=Math.imul(c,H);var gt=(a+(e=e+Math.imul(f,U)|0)|0)+((8191&(n=(n=n+Math.imul(f,Q)|0)+Math.imul(m,U)|0))<<13)|0;a=((o=o+Math.imul(m,Q)|0)+(n>>>13)|0)+(gt>>>26)|0,gt&=67108863,e=Math.imul(g,z),n=(n=Math.imul(g,H))+Math.imul(M,z)|0,o=Math.imul(M,H),e=e+Math.imul(p,U)|0,n=(n=n+Math.imul(p,Q)|0)+Math.imul(c,U)|0,o=o+Math.imul(c,Q)|0;var Mt=(a+(e=e+Math.imul(f,K)|0)|0)+((8191&(n=(n=n+Math.imul(f,J)|0)+Math.imul(m,K)|0))<<13)|0;a=((o=o+Math.imul(m,J)|0)+(n>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,e=Math.imul(w,z),n=(n=Math.imul(w,H))+Math.imul(b,z)|0,o=Math.imul(b,H),e=e+Math.imul(g,U)|0,n=(n=n+Math.imul(g,Q)|0)+Math.imul(M,U)|0,o=o+Math.imul(M,Q)|0,e=e+Math.imul(p,K)|0,n=(n=n+Math.imul(p,J)|0)+Math.imul(c,K)|0,o=o+Math.imul(c,J)|0;var yt=(a+(e=e+Math.imul(f,G)|0)|0)+((8191&(n=(n=n+Math.imul(f,W)|0)+Math.imul(m,G)|0))<<13)|0;a=((o=o+Math.imul(m,W)|0)+(n>>>13)|0)+(yt>>>26)|0,yt&=67108863,e=Math.imul(x,z),n=(n=Math.imul(x,H))+Math.imul(k,z)|0,o=Math.imul(k,H),e=e+Math.imul(w,U)|0,n=(n=n+Math.imul(w,Q)|0)+Math.imul(b,U)|0,o=o+Math.imul(b,Q)|0,e=e+Math.imul(g,K)|0,n=(n=n+Math.imul(g,J)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,J)|0,e=e+Math.imul(p,G)|0,n=(n=n+Math.imul(p,W)|0)+Math.imul(c,G)|0,o=o+Math.imul(c,W)|0;var wt=(a+(e=e+Math.imul(f,Y)|0)|0)+((8191&(n=(n=n+Math.imul(f,tt)|0)+Math.imul(m,Y)|0))<<13)|0;a=((o=o+Math.imul(m,tt)|0)+(n>>>13)|0)+(wt>>>26)|0,wt&=67108863,e=Math.imul(S,z),n=(n=Math.imul(S,H))+Math.imul(j,z)|0,o=Math.imul(j,H),e=e+Math.imul(x,U)|0,n=(n=n+Math.imul(x,Q)|0)+Math.imul(k,U)|0,o=o+Math.imul(k,Q)|0,e=e+Math.imul(w,K)|0,n=(n=n+Math.imul(w,J)|0)+Math.imul(b,K)|0,o=o+Math.imul(b,J)|0,e=e+Math.imul(g,G)|0,n=(n=n+Math.imul(g,W)|0)+Math.imul(M,G)|0,o=o+Math.imul(M,W)|0,e=e+Math.imul(p,Y)|0,n=(n=n+Math.imul(p,tt)|0)+Math.imul(c,Y)|0,o=o+Math.imul(c,tt)|0;var bt=(a+(e=e+Math.imul(f,rt)|0)|0)+((8191&(n=(n=n+Math.imul(f,et)|0)+Math.imul(m,rt)|0))<<13)|0;a=((o=o+Math.imul(m,et)|0)+(n>>>13)|0)+(bt>>>26)|0,bt&=67108863,e=Math.imul(R,z),n=(n=Math.imul(R,H))+Math.imul(N,z)|0,o=Math.imul(N,H),e=e+Math.imul(S,U)|0,n=(n=n+Math.imul(S,Q)|0)+Math.imul(j,U)|0,o=o+Math.imul(j,Q)|0,e=e+Math.imul(x,K)|0,n=(n=n+Math.imul(x,J)|0)+Math.imul(k,K)|0,o=o+Math.imul(k,J)|0,e=e+Math.imul(w,G)|0,n=(n=n+Math.imul(w,W)|0)+Math.imul(b,G)|0,o=o+Math.imul(b,W)|0,e=e+Math.imul(g,Y)|0,n=(n=n+Math.imul(g,tt)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,tt)|0,e=e+Math.imul(p,rt)|0,n=(n=n+Math.imul(p,et)|0)+Math.imul(c,rt)|0,o=o+Math.imul(c,et)|0;var _t=(a+(e=e+Math.imul(f,ot)|0)|0)+((8191&(n=(n=n+Math.imul(f,ht)|0)+Math.imul(m,ot)|0))<<13)|0;a=((o=o+Math.imul(m,ht)|0)+(n>>>13)|0)+(_t>>>26)|0,_t&=67108863,e=Math.imul(B,z),n=(n=Math.imul(B,H))+Math.imul(L,z)|0,o=Math.imul(L,H),e=e+Math.imul(R,U)|0,n=(n=n+Math.imul(R,Q)|0)+Math.imul(N,U)|0,o=o+Math.imul(N,Q)|0,e=e+Math.imul(S,K)|0,n=(n=n+Math.imul(S,J)|0)+Math.imul(j,K)|0,o=o+Math.imul(j,J)|0,e=e+Math.imul(x,G)|0,n=(n=n+Math.imul(x,W)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,W)|0,e=e+Math.imul(w,Y)|0,n=(n=n+Math.imul(w,tt)|0)+Math.imul(b,Y)|0,o=o+Math.imul(b,tt)|0,e=e+Math.imul(g,rt)|0,n=(n=n+Math.imul(g,et)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,et)|0,e=e+Math.imul(p,ot)|0,n=(n=n+Math.imul(p,ht)|0)+Math.imul(c,ot)|0,o=o+Math.imul(c,ht)|0;var xt=(a+(e=e+Math.imul(f,ut)|0)|0)+((8191&(n=(n=n+Math.imul(f,at)|0)+Math.imul(m,ut)|0))<<13)|0;a=((o=o+Math.imul(m,at)|0)+(n>>>13)|0)+(xt>>>26)|0,xt&=67108863,e=Math.imul(P,z),n=(n=Math.imul(P,H))+Math.imul(Z,z)|0,o=Math.imul(Z,H),e=e+Math.imul(B,U)|0,n=(n=n+Math.imul(B,Q)|0)+Math.imul(L,U)|0,o=o+Math.imul(L,Q)|0,e=e+Math.imul(R,K)|0,n=(n=n+Math.imul(R,J)|0)+Math.imul(N,K)|0,o=o+Math.imul(N,J)|0,e=e+Math.imul(S,G)|0,n=(n=n+Math.imul(S,W)|0)+Math.imul(j,G)|0,o=o+Math.imul(j,W)|0,e=e+Math.imul(x,Y)|0,n=(n=n+Math.imul(x,tt)|0)+Math.imul(k,Y)|0,o=o+Math.imul(k,tt)|0,e=e+Math.imul(w,rt)|0,n=(n=n+Math.imul(w,et)|0)+Math.imul(b,rt)|0,o=o+Math.imul(b,et)|0,e=e+Math.imul(g,ot)|0,n=(n=n+Math.imul(g,ht)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,ht)|0,e=e+Math.imul(p,ut)|0,n=(n=n+Math.imul(p,at)|0)+Math.imul(c,ut)|0,o=o+Math.imul(c,at)|0;var kt=(a+(e=e+Math.imul(f,ft)|0)|0)+((8191&(n=(n=n+Math.imul(f,mt)|0)+Math.imul(m,ft)|0))<<13)|0;a=((o=o+Math.imul(m,mt)|0)+(n>>>13)|0)+(kt>>>26)|0,kt&=67108863,e=Math.imul(T,z),n=(n=Math.imul(T,H))+Math.imul(C,z)|0,o=Math.imul(C,H),e=e+Math.imul(P,U)|0,n=(n=n+Math.imul(P,Q)|0)+Math.imul(Z,U)|0,o=o+Math.imul(Z,Q)|0,e=e+Math.imul(B,K)|0,n=(n=n+Math.imul(B,J)|0)+Math.imul(L,K)|0,o=o+Math.imul(L,J)|0,e=e+Math.imul(R,G)|0,n=(n=n+Math.imul(R,W)|0)+Math.imul(N,G)|0,o=o+Math.imul(N,W)|0,e=e+Math.imul(S,Y)|0,n=(n=n+Math.imul(S,tt)|0)+Math.imul(j,Y)|0,o=o+Math.imul(j,tt)|0,e=e+Math.imul(x,rt)|0,n=(n=n+Math.imul(x,et)|0)+Math.imul(k,rt)|0,o=o+Math.imul(k,et)|0,e=e+Math.imul(w,ot)|0,n=(n=n+Math.imul(w,ht)|0)+Math.imul(b,ot)|0,o=o+Math.imul(b,ht)|0,e=e+Math.imul(g,ut)|0,n=(n=n+Math.imul(g,at)|0)+Math.imul(M,ut)|0,o=o+Math.imul(M,at)|0,e=e+Math.imul(p,ft)|0,n=(n=n+Math.imul(p,mt)|0)+Math.imul(c,ft)|0,o=o+Math.imul(c,mt)|0;var At=(a+(e=e+Math.imul(f,pt)|0)|0)+((8191&(n=(n=n+Math.imul(f,ct)|0)+Math.imul(m,pt)|0))<<13)|0;a=((o=o+Math.imul(m,ct)|0)+(n>>>13)|0)+(At>>>26)|0,At&=67108863,e=Math.imul(T,U),n=(n=Math.imul(T,Q))+Math.imul(C,U)|0,o=Math.imul(C,Q),e=e+Math.imul(P,K)|0,n=(n=n+Math.imul(P,J)|0)+Math.imul(Z,K)|0,o=o+Math.imul(Z,J)|0,e=e+Math.imul(B,G)|0,n=(n=n+Math.imul(B,W)|0)+Math.imul(L,G)|0,o=o+Math.imul(L,W)|0,e=e+Math.imul(R,Y)|0,n=(n=n+Math.imul(R,tt)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,tt)|0,e=e+Math.imul(S,rt)|0,n=(n=n+Math.imul(S,et)|0)+Math.imul(j,rt)|0,o=o+Math.imul(j,et)|0,e=e+Math.imul(x,ot)|0,n=(n=n+Math.imul(x,ht)|0)+Math.imul(k,ot)|0,o=o+Math.imul(k,ht)|0,e=e+Math.imul(w,ut)|0,n=(n=n+Math.imul(w,at)|0)+Math.imul(b,ut)|0,o=o+Math.imul(b,at)|0,e=e+Math.imul(g,ft)|0,n=(n=n+Math.imul(g,mt)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,mt)|0;var St=(a+(e=e+Math.imul(p,pt)|0)|0)+((8191&(n=(n=n+Math.imul(p,ct)|0)+Math.imul(c,pt)|0))<<13)|0;a=((o=o+Math.imul(c,ct)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863,e=Math.imul(T,K),n=(n=Math.imul(T,J))+Math.imul(C,K)|0,o=Math.imul(C,J),e=e+Math.imul(P,G)|0,n=(n=n+Math.imul(P,W)|0)+Math.imul(Z,G)|0,o=o+Math.imul(Z,W)|0,e=e+Math.imul(B,Y)|0,n=(n=n+Math.imul(B,tt)|0)+Math.imul(L,Y)|0,o=o+Math.imul(L,tt)|0,e=e+Math.imul(R,rt)|0,n=(n=n+Math.imul(R,et)|0)+Math.imul(N,rt)|0,o=o+Math.imul(N,et)|0,e=e+Math.imul(S,ot)|0,n=(n=n+Math.imul(S,ht)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,ht)|0,e=e+Math.imul(x,ut)|0,n=(n=n+Math.imul(x,at)|0)+Math.imul(k,ut)|0,o=o+Math.imul(k,at)|0,e=e+Math.imul(w,ft)|0,n=(n=n+Math.imul(w,mt)|0)+Math.imul(b,ft)|0,o=o+Math.imul(b,mt)|0;var jt=(a+(e=e+Math.imul(g,pt)|0)|0)+((8191&(n=(n=n+Math.imul(g,ct)|0)+Math.imul(M,pt)|0))<<13)|0;a=((o=o+Math.imul(M,ct)|0)+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,e=Math.imul(T,G),n=(n=Math.imul(T,W))+Math.imul(C,G)|0,o=Math.imul(C,W),e=e+Math.imul(P,Y)|0,n=(n=n+Math.imul(P,tt)|0)+Math.imul(Z,Y)|0,o=o+Math.imul(Z,tt)|0,e=e+Math.imul(B,rt)|0,n=(n=n+Math.imul(B,et)|0)+Math.imul(L,rt)|0,o=o+Math.imul(L,et)|0,e=e+Math.imul(R,ot)|0,n=(n=n+Math.imul(R,ht)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,ht)|0,e=e+Math.imul(S,ut)|0,n=(n=n+Math.imul(S,at)|0)+Math.imul(j,ut)|0,o=o+Math.imul(j,at)|0,e=e+Math.imul(x,ft)|0,n=(n=n+Math.imul(x,mt)|0)+Math.imul(k,ft)|0,o=o+Math.imul(k,mt)|0;var Ot=(a+(e=e+Math.imul(w,pt)|0)|0)+((8191&(n=(n=n+Math.imul(w,ct)|0)+Math.imul(b,pt)|0))<<13)|0;a=((o=o+Math.imul(b,ct)|0)+(n>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,e=Math.imul(T,Y),n=(n=Math.imul(T,tt))+Math.imul(C,Y)|0,o=Math.imul(C,tt),e=e+Math.imul(P,rt)|0,n=(n=n+Math.imul(P,et)|0)+Math.imul(Z,rt)|0,o=o+Math.imul(Z,et)|0,e=e+Math.imul(B,ot)|0,n=(n=n+Math.imul(B,ht)|0)+Math.imul(L,ot)|0,o=o+Math.imul(L,ht)|0,e=e+Math.imul(R,ut)|0,n=(n=n+Math.imul(R,at)|0)+Math.imul(N,ut)|0,o=o+Math.imul(N,at)|0,e=e+Math.imul(S,ft)|0,n=(n=n+Math.imul(S,mt)|0)+Math.imul(j,ft)|0,o=o+Math.imul(j,mt)|0;var Rt=(a+(e=e+Math.imul(x,pt)|0)|0)+((8191&(n=(n=n+Math.imul(x,ct)|0)+Math.imul(k,pt)|0))<<13)|0;a=((o=o+Math.imul(k,ct)|0)+(n>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,e=Math.imul(T,rt),n=(n=Math.imul(T,et))+Math.imul(C,rt)|0,o=Math.imul(C,et),e=e+Math.imul(P,ot)|0,n=(n=n+Math.imul(P,ht)|0)+Math.imul(Z,ot)|0,o=o+Math.imul(Z,ht)|0,e=e+Math.imul(B,ut)|0,n=(n=n+Math.imul(B,at)|0)+Math.imul(L,ut)|0,o=o+Math.imul(L,at)|0,e=e+Math.imul(R,ft)|0,n=(n=n+Math.imul(R,mt)|0)+Math.imul(N,ft)|0,o=o+Math.imul(N,mt)|0;var Nt=(a+(e=e+Math.imul(S,pt)|0)|0)+((8191&(n=(n=n+Math.imul(S,ct)|0)+Math.imul(j,pt)|0))<<13)|0;a=((o=o+Math.imul(j,ct)|0)+(n>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,e=Math.imul(T,ot),n=(n=Math.imul(T,ht))+Math.imul(C,ot)|0,o=Math.imul(C,ht),e=e+Math.imul(P,ut)|0,n=(n=n+Math.imul(P,at)|0)+Math.imul(Z,ut)|0,o=o+Math.imul(Z,at)|0,e=e+Math.imul(B,ft)|0,n=(n=n+Math.imul(B,mt)|0)+Math.imul(L,ft)|0,o=o+Math.imul(L,mt)|0;var Et=(a+(e=e+Math.imul(R,pt)|0)|0)+((8191&(n=(n=n+Math.imul(R,ct)|0)+Math.imul(N,pt)|0))<<13)|0;a=((o=o+Math.imul(N,ct)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863,e=Math.imul(T,ut),n=(n=Math.imul(T,at))+Math.imul(C,ut)|0,o=Math.imul(C,at),e=e+Math.imul(P,ft)|0,n=(n=n+Math.imul(P,mt)|0)+Math.imul(Z,ft)|0,o=o+Math.imul(Z,mt)|0;var Bt=(a+(e=e+Math.imul(B,pt)|0)|0)+((8191&(n=(n=n+Math.imul(B,ct)|0)+Math.imul(L,pt)|0))<<13)|0;a=((o=o+Math.imul(L,ct)|0)+(n>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,e=Math.imul(T,ft),n=(n=Math.imul(T,mt))+Math.imul(C,ft)|0,o=Math.imul(C,mt);var Lt=(a+(e=e+Math.imul(P,pt)|0)|0)+((8191&(n=(n=n+Math.imul(P,ct)|0)+Math.imul(Z,pt)|0))<<13)|0;a=((o=o+Math.imul(Z,ct)|0)+(n>>>13)|0)+(Lt>>>26)|0,Lt&=67108863;var Dt=(a+(e=Math.imul(T,pt))|0)+((8191&(n=(n=Math.imul(T,ct))+Math.imul(C,pt)|0))<<13)|0;return a=((o=Math.imul(C,ct))+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,u[0]=vt,u[1]=gt,u[2]=Mt,u[3]=yt,u[4]=wt,u[5]=bt,u[6]=_t,u[7]=xt,u[8]=kt,u[9]=At,u[10]=St,u[11]=jt,u[12]=Ot,u[13]=Rt,u[14]=Nt,u[15]=Et,u[16]=Bt,u[17]=Lt,u[18]=Dt,0!==a&&(u[19]=a,r.length++),r};function c(t,i,r){return(new v).mulp(t,i,r)}function v(t,i){this.x=t,this.y=i}Math.imul||(p=d),o.prototype.mulTo=function(t,i){var r,e=this.length+t.length;return r=10===this.length&&10===t.length?p(this,t,i):e<63?d(this,t,i):e<1024?function(t,i,r){r.negative=i.negative^t.negative,r.length=t.length+i.length;for(var e=0,n=0,o=0;o<r.length-1;o++){var h=n;n=0;for(var s=67108863&e,u=Math.min(o,i.length-1),a=Math.max(0,o-t.length+1);a<=u;a++){var l=o-a,f=(0|t.words[l])*(0|i.words[a]),m=67108863&f;s=67108863&(m=m+s|0),n+=(h=(h=h+(f/67108864|0)|0)+(m>>>26)|0)>>>26,h&=67108863}r.words[o]=s,e=h,h=n}return 0!==e?r.words[o]=e:r.length--,r.strip()}(this,t,i):c(this,t,i),r},v.prototype.makeRBT=function(t){for(var i=new Array(t),r=o.prototype._countBits(t)-1,e=0;e<t;e++)i[e]=this.revBin(e,r,t);return i},v.prototype.revBin=function(t,i,r){if(0===t||t===r-1)return t;for(var e=0,n=0;n<i;n++)e|=(1&t)<<i-n-1,t>>=1;return e},v.prototype.permute=function(t,i,r,e,n,o){for(var h=0;h<o;h++)e[h]=i[t[h]],n[h]=r[t[h]]},v.prototype.transform=function(t,i,r,e,n,o){this.permute(o,t,i,r,e,n);for(var h=1;h<n;h<<=1)for(var s=h<<1,u=Math.cos(2*Math.PI/s),a=Math.sin(2*Math.PI/s),l=0;l<n;l+=s)for(var f=u,m=a,d=0;d<h;d++){var p=r[l+d],c=e[l+d],v=r[l+d+h],g=e[l+d+h],M=f*v-m*g;g=f*g+m*v,v=M,r[l+d]=p+v,e[l+d]=c+g,r[l+d+h]=p-v,e[l+d+h]=c-g,d!==s&&(M=u*f-a*m,m=u*m+a*f,f=M)}},v.prototype.guessLen13b=function(t,i){var r=1|Math.max(i,t),e=1&r,n=0;for(r=r/2|0;r;r>>>=1)n++;return 1<<n+1+e},v.prototype.conjugate=function(t,i,r){if(!(r<=1))for(var e=0;e<r/2;e++){var n=t[e];t[e]=t[r-e-1],t[r-e-1]=n,n=i[e],i[e]=-i[r-e-1],i[r-e-1]=-n}},v.prototype.normalize13b=function(t,i){for(var r=0,e=0;e<i/2;e++){var n=8192*Math.round(t[2*e+1]/i)+Math.round(t[2*e]/i)+r;t[e]=67108863&n,r=n<67108864?0:n/67108864|0}return t},v.prototype.convert13b=function(t,i,r,n){for(var o=0,h=0;h<i;h++)o+=0|t[h],r[2*h]=8191&o,o>>>=13,r[2*h+1]=8191&o,o>>>=13;for(h=2*i;h<n;++h)r[h]=0;e(0===o),e(0==(-8192&o))},v.prototype.stub=function(t){for(var i=new Array(t),r=0;r<t;r++)i[r]=0;return i},v.prototype.mulp=function(t,i,r){var e=2*this.guessLen13b(t.length,i.length),n=this.makeRBT(e),o=this.stub(e),h=new Array(e),s=new Array(e),u=new Array(e),a=new Array(e),l=new Array(e),f=new Array(e),m=r.words;m.length=e,this.convert13b(t.words,t.length,h,e),this.convert13b(i.words,i.length,a,e),this.transform(h,o,s,u,e,n),this.transform(a,o,l,f,e,n);for(var d=0;d<e;d++){var p=s[d]*l[d]-u[d]*f[d];u[d]=s[d]*f[d]+u[d]*l[d],s[d]=p}return this.conjugate(s,u,e),this.transform(s,u,m,o,e,n),this.conjugate(m,o,e),this.normalize13b(m,e),r.negative=t.negative^i.negative,r.length=t.length+i.length,r.strip()},o.prototype.mul=function(t){var i=new o(null);return i.words=new Array(this.length+t.length),this.mulTo(t,i)},o.prototype.mulf=function(t){var i=new o(null);return i.words=new Array(this.length+t.length),c(this,t,i)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){e("number"==typeof t),e(t<67108864);for(var i=0,r=0;r<this.length;r++){var n=(0|this.words[r])*t,o=(67108863&n)+(67108863&i);i>>=26,i+=n/67108864|0,i+=o>>>26,this.words[r]=67108863&o}return 0!==i&&(this.words[r]=i,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var i=function(t){for(var i=new Array(t.bitLength()),r=0;r<i.length;r++){var e=r/26|0,n=r%26;i[r]=(t.words[e]&1<<n)>>>n}return i}(t);if(0===i.length)return new o(1);for(var r=this,e=0;e<i.length&&0===i[e];e++,r=r.sqr());if(++e<i.length)for(var n=r.sqr();e<i.length;e++,n=n.sqr())0!==i[e]&&(r=r.mul(n));return r},o.prototype.iushln=function(t){e("number"==typeof t&&t>=0);var i,r=t%26,n=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var h=0;for(i=0;i<this.length;i++){var s=this.words[i]&o,u=(0|this.words[i])-s<<r;this.words[i]=u|h,h=s>>>26-r}h&&(this.words[i]=h,this.length++)}if(0!==n){for(i=this.length-1;i>=0;i--)this.words[i+n]=this.words[i];for(i=0;i<n;i++)this.words[i]=0;this.length+=n}return this.strip()},o.prototype.ishln=function(t){return e(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,i,r){var n;e("number"==typeof t&&t>=0),n=i?(i-i%26)/26:0;var o=t%26,h=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(n-=h,n=Math.max(0,n),u){for(var a=0;a<h;a++)u.words[a]=this.words[a];u.length=h}if(0===h);else if(this.length>h)for(this.length-=h,a=0;a<this.length;a++)this.words[a]=this.words[a+h];else this.words[0]=0,this.length=1;var l=0;for(a=this.length-1;a>=0&&(0!==l||a>=n);a--){var f=0|this.words[a];this.words[a]=l<<26-o|f>>>o,l=f&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,i,r){return e(0===this.negative),this.iushrn(t,i,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){e("number"==typeof t&&t>=0);var i=t%26,r=(t-i)/26,n=1<<i;return!(this.length<=r)&&!!(this.words[r]&n)},o.prototype.imaskn=function(t){e("number"==typeof t&&t>=0);var i=t%26,r=(t-i)/26;if(e(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==i&&r++,this.length=Math.min(r,this.length),0!==i){var n=67108863^67108863>>>i<<i;this.words[this.length-1]&=n}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return e("number"==typeof t),e(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},o.prototype.isubn=function(t){if(e("number"==typeof t),e(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,i,r){var n,o,h=t.length+r;this._expand(h);var s=0;for(n=0;n<t.length;n++){o=(0|this.words[n+r])+s;var u=(0|t.words[n])*i;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[n+r]=67108863&o}for(;n<this.length-r;n++)s=(o=(0|this.words[n+r])+s)>>26,this.words[n+r]=67108863&o;if(0===s)return this.strip();for(e(-1===s),s=0,n=0;n<this.length;n++)s=(o=-(0|this.words[n])+s)>>26,this.words[n]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,i){var r=(this.length,t.length),e=this.clone(),n=t,h=0|n.words[n.length-1];0!==(r=26-this._countBits(h))&&(n=n.ushln(r),e.iushln(r),h=0|n.words[n.length-1]);var s,u=e.length-n.length;if("mod"!==i){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var a=0;a<s.length;a++)s.words[a]=0}var l=e.clone()._ishlnsubmul(n,1,u);0===l.negative&&(e=l,s&&(s.words[u]=1));for(var f=u-1;f>=0;f--){var m=67108864*(0|e.words[n.length+f])+(0|e.words[n.length+f-1]);for(m=Math.min(m/h|0,67108863),e._ishlnsubmul(n,m,f);0!==e.negative;)m--,e.negative=0,e._ishlnsubmul(n,1,f),e.isZero()||(e.negative^=1);s&&(s.words[f]=m)}return s&&s.strip(),e.strip(),"div"!==i&&0!==r&&e.iushrn(r),{div:s||null,mod:e}},o.prototype.divmod=function(t,i,r){return e(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,i),"mod"!==i&&(n=s.div.neg()),"div"!==i&&(h=s.mod.neg(),r&&0!==h.negative&&h.iadd(t)),{div:n,mod:h}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),i),"mod"!==i&&(n=s.div.neg()),{div:n,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),i),"div"!==i&&(h=s.mod.neg(),r&&0!==h.negative&&h.isub(t)),{div:s.div,mod:h}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===i?{div:this.divn(t.words[0]),mod:null}:"mod"===i?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,i);var n,h,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var i=this.divmod(t);if(i.mod.isZero())return i.div;var r=0!==i.div.negative?i.mod.isub(t):i.mod,e=t.ushrn(1),n=t.andln(1),o=r.cmp(e);return o<0||1===n&&0===o?i.div:0!==i.div.negative?i.div.isubn(1):i.div.iaddn(1)},o.prototype.modn=function(t){e(t<=67108863);for(var i=(1<<26)%t,r=0,n=this.length-1;n>=0;n--)r=(i*r+(0|this.words[n]))%t;return r},o.prototype.idivn=function(t){e(t<=67108863);for(var i=0,r=this.length-1;r>=0;r--){var n=(0|this.words[r])+67108864*i;this.words[r]=n/t|0,i=n%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){e(0===t.negative),e(!t.isZero());var i=this,r=t.clone();i=0!==i.negative?i.umod(t):i.clone();for(var n=new o(1),h=new o(0),s=new o(0),u=new o(1),a=0;i.isEven()&&r.isEven();)i.iushrn(1),r.iushrn(1),++a;for(var l=r.clone(),f=i.clone();!i.isZero();){for(var m=0,d=1;0==(i.words[0]&d)&&m<26;++m,d<<=1);if(m>0)for(i.iushrn(m);m-- >0;)(n.isOdd()||h.isOdd())&&(n.iadd(l),h.isub(f)),n.iushrn(1),h.iushrn(1);for(var p=0,c=1;0==(r.words[0]&c)&&p<26;++p,c<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(f)),s.iushrn(1),u.iushrn(1);i.cmp(r)>=0?(i.isub(r),n.isub(s),h.isub(u)):(r.isub(i),s.isub(n),u.isub(h))}return{a:s,b:u,gcd:r.iushln(a)}},o.prototype._invmp=function(t){e(0===t.negative),e(!t.isZero());var i=this,r=t.clone();i=0!==i.negative?i.umod(t):i.clone();for(var n,h=new o(1),s=new o(0),u=r.clone();i.cmpn(1)>0&&r.cmpn(1)>0;){for(var a=0,l=1;0==(i.words[0]&l)&&a<26;++a,l<<=1);if(a>0)for(i.iushrn(a);a-- >0;)h.isOdd()&&h.iadd(u),h.iushrn(1);for(var f=0,m=1;0==(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);i.cmp(r)>=0?(i.isub(r),h.isub(s)):(r.isub(i),s.isub(h))}return(n=0===i.cmpn(1)?h:s).cmpn(0)<0&&n.iadd(t),n},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var i=this.clone(),r=t.clone();i.negative=0,r.negative=0;for(var e=0;i.isEven()&&r.isEven();e++)i.iushrn(1),r.iushrn(1);for(;;){for(;i.isEven();)i.iushrn(1);for(;r.isEven();)r.iushrn(1);var n=i.cmp(r);if(n<0){var o=i;i=r,r=o}else if(0===n||0===r.cmpn(1))break;i.isub(r)}return r.iushln(e)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){e("number"==typeof t);var i=t%26,r=(t-i)/26,n=1<<i;if(this.length<=r)return this._expand(r+1),this.words[r]|=n,this;for(var o=n,h=r;0!==o&&h<this.length;h++){var s=0|this.words[h];o=(s+=o)>>>26,s&=67108863,this.words[h]=s}return 0!==o&&(this.words[h]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var i,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)i=1;else{r&&(t=-t),e(t<=67108863,"Number is too big");var n=0|this.words[0];i=n===t?0:n<t?-1:1}return 0!==this.negative?0|-i:i},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var i=this.ucmp(t);return 0!==this.negative?0|-i:i},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var i=0,r=this.length-1;r>=0;r--){var e=0|this.words[r],n=0|t.words[r];if(e!==n){e<n?i=-1:e>n&&(i=1);break}}return i},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new x(t)},o.prototype.toRed=function(t){return e(!this.red,"Already a number in reduction context"),e(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return e(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return e(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return e(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return e(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return e(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return e(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return e(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return e(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return e(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return e(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return e(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return e(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return e(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return e(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return e(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var g={k256:null,p224:null,p192:null,p25519:null};function M(t,i){this.name=t,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){M.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){M.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function b(){M.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){M.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function x(t){if("string"==typeof t){var i=o._prime(t);this.m=i.p,this.prime=i}else e(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function k(t){x.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}M.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},M.prototype.ireduce=function(t){var i,r=t;do{this.split(r,this.tmp),i=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(i>this.n);var e=i<this.n?-1:r.ucmp(this.p);return 0===e?(r.words[0]=0,r.length=1):e>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},M.prototype.split=function(t,i){t.iushrn(this.n,0,i)},M.prototype.imulK=function(t){return t.imul(this.k)},n(y,M),y.prototype.split=function(t,i){for(var r=4194303,e=Math.min(t.length,9),n=0;n<e;n++)i.words[n]=t.words[n];if(i.length=e,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(i.words[i.length++]=o&r,n=10;n<t.length;n++){var h=0|t.words[n];t.words[n-10]=(h&r)<<4|o>>>22,o=h}o>>>=22,t.words[n-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var i=0,r=0;r<t.length;r++){var e=0|t.words[r];i+=977*e,t.words[r]=67108863&i,i=64*e+(i/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},n(w,M),n(b,M),n(_,M),_.prototype.imulK=function(t){for(var i=0,r=0;r<t.length;r++){var e=19*(0|t.words[r])+i,n=67108863&e;e>>>=26,t.words[r]=n,i=e}return 0!==i&&(t.words[t.length++]=i),t},o._prime=function(t){if(g[t])return g[t];var i;if("k256"===t)i=new y;else if("p224"===t)i=new w;else if("p192"===t)i=new b;else{if("p25519"!==t)throw new Error("Unknown prime "+t);i=new _}return g[t]=i,i},x.prototype._verify1=function(t){e(0===t.negative,"red works only with positives"),e(t.red,"red works only with red numbers")},x.prototype._verify2=function(t,i){e(0==(t.negative|i.negative),"red works only with positives"),e(t.red&&t.red===i.red,"red works only with red numbers")},x.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},x.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},x.prototype.add=function(t,i){this._verify2(t,i);var r=t.add(i);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},x.prototype.iadd=function(t,i){this._verify2(t,i);var r=t.iadd(i);return r.cmp(this.m)>=0&&r.isub(this.m),r},x.prototype.sub=function(t,i){this._verify2(t,i);var r=t.sub(i);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},x.prototype.isub=function(t,i){this._verify2(t,i);var r=t.isub(i);return r.cmpn(0)<0&&r.iadd(this.m),r},x.prototype.shl=function(t,i){return this._verify1(t),this.imod(t.ushln(i))},x.prototype.imul=function(t,i){return this._verify2(t,i),this.imod(t.imul(i))},x.prototype.mul=function(t,i){return this._verify2(t,i),this.imod(t.mul(i))},x.prototype.isqr=function(t){return this.imul(t,t.clone())},x.prototype.sqr=function(t){return this.mul(t,t)},x.prototype.sqrt=function(t){if(t.isZero())return t.clone();var i=this.m.andln(3);if(e(i%2==1),3===i){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var n=this.m.subn(1),h=0;!n.isZero()&&0===n.andln(1);)h++,n.iushrn(1);e(!n.isZero());var s=new o(1).toRed(this),u=s.redNeg(),a=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,a).cmp(u);)l.redIAdd(u);for(var f=this.pow(l,n),m=this.pow(t,n.addn(1).iushrn(1)),d=this.pow(t,n),p=h;0!==d.cmp(s);){for(var c=d,v=0;0!==c.cmp(s);v++)c=c.redSqr();e(v<p);var g=this.pow(f,new o(1).iushln(p-v-1));m=m.redMul(g),f=g.redSqr(),d=d.redMul(f),p=v}return m},x.prototype.invm=function(t){var i=t._invmp(this.m);return 0!==i.negative?(i.negative=0,this.imod(i).redNeg()):this.imod(i)},x.prototype.pow=function(t,i){if(i.isZero())return new o(1).toRed(this);if(0===i.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var e=2;e<r.length;e++)r[e]=this.mul(r[e-1],t);var n=r[0],h=0,s=0,u=i.bitLength()%26;for(0===u&&(u=26),e=i.length-1;e>=0;e--){for(var a=i.words[e],l=u-1;l>=0;l--){var f=a>>l&1;n!==r[0]&&(n=this.sqr(n)),0!==f||0!==h?(h<<=1,h|=f,(4===++s||0===e&&0===l)&&(n=this.mul(n,r[h]),s=0,h=0)):s=0}u=26}return n},x.prototype.convertTo=function(t){var i=t.umod(this.m);return i===t?i.clone():i},x.prototype.convertFrom=function(t){var i=t.clone();return i.red=null,i},o.mont=function(t){return new k(t)},n(k,x),k.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},k.prototype.convertFrom=function(t){var i=this.imod(t.mul(this.rinv));return i.red=null,i},k.prototype.imul=function(t,i){if(t.isZero()||i.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(i),e=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(e).iushrn(this.shift),o=n;return n.cmp(this.m)>=0?o=n.isub(this.m):n.cmpn(0)<0&&(o=n.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(t,i){if(t.isZero()||i.isZero())return new o(0)._forceRed(this);var r=t.mul(i),e=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(e).iushrn(this.shift),h=n;return n.cmp(this.m)>=0?h=n.isub(this.m):n.cmpn(0)<0&&(h=n.iadd(this.m)),h._forceRed(this)},k.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=r.nmd(t),this)},26138:(t,i,r)=>{var e=r(70980),n=r(99199),o=r(57859),h=r(92144),s=r(23663),u=r(23482),a=r(84818),l=r(89509).Buffer;t.exports=function(t,i,r){var f;f=t.padding?t.padding:r?1:4;var m,d=e(t),p=d.modulus.byteLength();if(i.length>p||new h(i).cmp(d.modulus)>=0)throw new Error("decryption error");m=r?a(new h(i),d):s(i,d);var c=l.alloc(p-m.length);if(m=l.concat([c,m],p),4===f)return function(t,i){var r=t.modulus.byteLength(),e=u("sha1").update(l.alloc(0)).digest(),h=e.length;if(0!==i[0])throw new Error("decryption error");var s=i.slice(1,h+1),a=i.slice(h+1),f=o(s,n(a,h)),m=o(a,n(f,r-h-1));if(function(t,i){t=l.from(t),i=l.from(i);var r=0,e=t.length;t.length!==i.length&&(r++,e=Math.min(t.length,i.length));var n=-1;for(;++n<e;)r+=t[n]^i[n];return r}(e,m.slice(0,h)))throw new Error("decryption error");var d=h;for(;0===m[d];)d++;if(1!==m[d++])throw new Error("decryption error");return m.slice(d)}(d,m);if(1===f)return function(t,i,r){var e=i.slice(0,2),n=2,o=0;for(;0!==i[n++];)if(n>=i.length){o++;break}var h=i.slice(2,n-1);("0002"!==e.toString("hex")&&!r||"0001"!==e.toString("hex")&&r)&&o++;h.length<8&&o++;if(o)throw new Error("decryption error");return i.slice(n)}(0,m,r);if(3===f)return m;throw new Error("unknown padding")}},16559:(t,i,r)=>{var e=r(70980),n=r(61798),o=r(23482),h=r(99199),s=r(57859),u=r(92144),a=r(84818),l=r(23663),f=r(89509).Buffer;t.exports=function(t,i,r){var m;m=t.padding?t.padding:r?1:4;var d,p=e(t);if(4===m)d=function(t,i){var r=t.modulus.byteLength(),e=i.length,a=o("sha1").update(f.alloc(0)).digest(),l=a.length,m=2*l;if(e>r-m-2)throw new Error("message too long");var d=f.alloc(r-e-m-2),p=r-l-1,c=n(l),v=s(f.concat([a,d,f.alloc(1,1),i],p),h(c,p)),g=s(c,h(v,l));return new u(f.concat([f.alloc(1),g,v],r))}(p,i);else if(1===m)d=function(t,i,r){var e,o=i.length,h=t.modulus.byteLength();if(o>h-11)throw new Error("message too long");e=r?f.alloc(h-o-3,255):function(t){var i,r=f.allocUnsafe(t),e=0,o=n(2*t),h=0;for(;e<t;)h===o.length&&(o=n(2*t),h=0),(i=o[h++])&&(r[e++]=i);return r}(h-o-3);return new u(f.concat([f.from([0,r?1:2]),e,f.alloc(1),i],h))}(p,i,r);else{if(3!==m)throw new Error("unknown padding");if((d=new u(i)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return r?l(d,p):a(d,p)}},84818:(t,i,r)=>{var e=r(92144),n=r(89509).Buffer;t.exports=function(t,i){return n.from(t.toRed(e.mont(i.modulus)).redPow(new e(i.publicExponent)).fromRed().toArray())}},57859:t=>{t.exports=function(t,i){for(var r=t.length,e=-1;++e<r;)t[e]^=i[e];return t}},55798:t=>{"use strict";var i=String.prototype.replace,r=/%20/g,e="RFC1738",n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return i.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:e,RFC3986:n}},80129:(t,i,r)=>{"use strict";var e=r(58261),n=r(55235),o=r(55798);t.exports={formats:o,parse:n,stringify:e}},55235:(t,i,r)=>{"use strict";var e=r(12769),n=Object.prototype.hasOwnProperty,o=Array.isArray,h={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:e.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,i){return String.fromCharCode(parseInt(i,10))}))},u=function(t,i){return t&&"string"==typeof t&&i.comma&&t.indexOf(",")>-1?t.split(","):t},a=function(t,i,r,e){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,h=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(o),a=s?o.slice(0,s.index):o,l=[];if(a){if(!r.plainObjects&&n.call(Object.prototype,a)&&!r.allowPrototypes)return;l.push(a)}for(var f=0;r.depth>0&&null!==(s=h.exec(o))&&f<r.depth;){if(f+=1,!r.plainObjects&&n.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+o.slice(s.index)+"]"),function(t,i,r,e){for(var n=e?i:u(i,r),o=t.length-1;o>=0;--o){var h,s=t[o];if("[]"===s&&r.parseArrays)h=[].concat(n);else{h=r.plainObjects?Object.create(null):{};var a="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(a,10);r.parseArrays||""!==a?!isNaN(l)&&s!==a&&String(l)===a&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(h=[])[l]=n:"__proto__"!==a&&(h[a]=n):h={0:n}}n=h}return n}(l,i,r,e)}};t.exports=function(t,i){var r=function(t){if(!t)return h;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var i=void 0===t.charset?h.charset:t.charset;return{allowDots:void 0===t.allowDots?h.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:h.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:h.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:h.arrayLimit,charset:i,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:h.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:h.comma,decoder:"function"==typeof t.decoder?t.decoder:h.decoder,delimiter:"string"==typeof t.delimiter||e.isRegExp(t.delimiter)?t.delimiter:h.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:h.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:h.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:h.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:h.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:h.strictNullHandling}}(i);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var l="string"==typeof t?function(t,i){var r,a={__proto__:null},l=i.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=i.parameterLimit===1/0?void 0:i.parameterLimit,m=l.split(i.delimiter,f),d=-1,p=i.charset;if(i.charsetSentinel)for(r=0;r<m.length;++r)0===m[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===m[r]?p="utf-8":"utf8=%26%2310003%3B"===m[r]&&(p="iso-8859-1"),d=r,r=m.length);for(r=0;r<m.length;++r)if(r!==d){var c,v,g=m[r],M=g.indexOf("]="),y=-1===M?g.indexOf("="):M+1;-1===y?(c=i.decoder(g,h.decoder,p,"key"),v=i.strictNullHandling?null:""):(c=i.decoder(g.slice(0,y),h.decoder,p,"key"),v=e.maybeMap(u(g.slice(y+1),i),(function(t){return i.decoder(t,h.decoder,p,"value")}))),v&&i.interpretNumericEntities&&"iso-8859-1"===p&&(v=s(v)),g.indexOf("[]=")>-1&&(v=o(v)?[v]:v),n.call(a,c)?a[c]=e.combine(a[c],v):a[c]=v}return a}(t,r):t,f=r.plainObjects?Object.create(null):{},m=Object.keys(l),d=0;d<m.length;++d){var p=m[d],c=a(p,l[p],r,"string"==typeof t);f=e.merge(f,c,r)}return!0===r.allowSparse?f:e.compact(f)}},58261:(t,i,r)=>{"use strict";var e=r(37478),n=r(12769),o=r(55798),h=Object.prototype.hasOwnProperty,s={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,i){return t+"["+i+"]"},repeat:function(t){return t}},u=Array.isArray,a=Array.prototype.push,l=function(t,i){a.apply(t,u(i)?i:[i])},f=Date.prototype.toISOString,m=o.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:m,formatter:o.formatters[m],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},p={},c=function t(i,r,o,h,s,a,f,m,c,v,g,M,y,w,b,_){for(var x,k=i,A=_,S=0,j=!1;void 0!==(A=A.get(p))&&!j;){var O=A.get(i);if(S+=1,void 0!==O){if(O===S)throw new RangeError("Cyclic object value");j=!0}void 0===A.get(p)&&(S=0)}if("function"==typeof m?k=m(r,k):k instanceof Date?k=g(k):"comma"===o&&u(k)&&(k=n.maybeMap(k,(function(t){return t instanceof Date?g(t):t}))),null===k){if(s)return f&&!w?f(r,d.encoder,b,"key",M):r;k=""}if("string"==typeof(x=k)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||n.isBuffer(k))return f?[y(w?r:f(r,d.encoder,b,"key",M))+"="+y(f(k,d.encoder,b,"value",M))]:[y(r)+"="+y(String(k))];var R,N=[];if(void 0===k)return N;if("comma"===o&&u(k))w&&f&&(k=n.maybeMap(k,f)),R=[{value:k.length>0?k.join(",")||null:void 0}];else if(u(m))R=m;else{var E=Object.keys(k);R=c?E.sort(c):E}for(var B=h&&u(k)&&1===k.length?r+"[]":r,L=0;L<R.length;++L){var D=R[L],P="object"==typeof D&&void 0!==D.value?D.value:k[D];if(!a||null!==P){var Z=u(k)?"function"==typeof o?o(B,D):B:B+(v?"."+D:"["+D+"]");_.set(i,S);var q=e();q.set(p,_),l(N,t(P,Z,o,h,s,a,"comma"===o&&w&&u(k)?null:f,m,c,v,g,M,y,w,b,q))}}return N};t.exports=function(t,i){var r,n=t,a=function(t){if(!t)return d;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var i=t.charset||d.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o.default;if(void 0!==t.format){if(!h.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var e=o.formatters[r],n=d.filter;return("function"==typeof t.filter||u(t.filter))&&(n=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===t.allowDots?d.allowDots:!!t.allowDots,charset:i,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:d.charsetSentinel,delimiter:void 0===t.delimiter?d.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:d.encode,encoder:"function"==typeof t.encoder?t.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:d.encodeValuesOnly,filter:n,format:r,formatter:e,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:d.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:d.strictNullHandling}}(i);"function"==typeof a.filter?n=(0,a.filter)("",n):u(a.filter)&&(r=a.filter);var f,m=[];if("object"!=typeof n||null===n)return"";f=i&&i.arrayFormat in s?i.arrayFormat:i&&"indices"in i?i.indices?"indices":"repeat":"indices";var p=s[f];if(i&&"commaRoundTrip"in i&&"boolean"!=typeof i.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v="comma"===p&&i&&i.commaRoundTrip;r||(r=Object.keys(n)),a.sort&&r.sort(a.sort);for(var g=e(),M=0;M<r.length;++M){var y=r[M];a.skipNulls&&null===n[y]||l(m,c(n[y],y,p,v,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,g))}var w=m.join(a.delimiter),b=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),w.length>0?b+w:""}},12769:(t,i,r)=>{"use strict";var e=r(55798),n=Object.prototype.hasOwnProperty,o=Array.isArray,h=function(){for(var t=[],i=0;i<256;++i)t.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase());return t}(),s=function(t,i){for(var r=i&&i.plainObjects?Object.create(null):{},e=0;e<t.length;++e)void 0!==t[e]&&(r[e]=t[e]);return r};t.exports={arrayToObject:s,assign:function(t,i){return Object.keys(i).reduce((function(t,r){return t[r]=i[r],t}),t)},combine:function(t,i){return[].concat(t,i)},compact:function(t){for(var i=[{obj:{o:t},prop:"o"}],r=[],e=0;e<i.length;++e)for(var n=i[e],h=n.obj[n.prop],s=Object.keys(h),u=0;u<s.length;++u){var a=s[u],l=h[a];"object"==typeof l&&null!==l&&-1===r.indexOf(l)&&(i.push({obj:h,prop:a}),r.push(l))}return function(t){for(;t.length>1;){var i=t.pop(),r=i.obj[i.prop];if(o(r)){for(var e=[],n=0;n<r.length;++n)void 0!==r[n]&&e.push(r[n]);i.obj[i.prop]=e}}}(i),t},decode:function(t,i,r){var e=t.replace(/\+/g," ");if("iso-8859-1"===r)return e.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(e)}catch(t){return e}},encode:function(t,i,r,n,o){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var u="",a=0;a<s.length;++a){var l=s.charCodeAt(a);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===e.RFC1738&&(40===l||41===l)?u+=s.charAt(a):l<128?u+=h[l]:l<2048?u+=h[192|l>>6]+h[128|63&l]:l<55296||l>=57344?u+=h[224|l>>12]+h[128|l>>6&63]+h[128|63&l]:(a+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(a)),u+=h[240|l>>18]+h[128|l>>12&63]+h[128|l>>6&63]+h[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,i){if(o(t)){for(var r=[],e=0;e<t.length;e+=1)r.push(i(t[e]));return r}return i(t)},merge:function t(i,r,e){if(!r)return i;if("object"!=typeof r){if(o(i))i.push(r);else{if(!i||"object"!=typeof i)return[i,r];(e&&(e.plainObjects||e.allowPrototypes)||!n.call(Object.prototype,r))&&(i[r]=!0)}return i}if(!i||"object"!=typeof i)return[i].concat(r);var h=i;return o(i)&&!o(r)&&(h=s(i,e)),o(i)&&o(r)?(r.forEach((function(r,o){if(n.call(i,o)){var h=i[o];h&&"object"==typeof h&&r&&"object"==typeof r?i[o]=t(h,r,e):i.push(r)}else i[o]=r})),i):Object.keys(r).reduce((function(i,o){var h=r[o];return n.call(i,o)?i[o]=t(i[o],h,e):i[o]=h,i}),h)}}},17361:(t,i,r)=>{"use strict";function e(t,i){var r,e,n,o="";for(r in t)if(void 0!==(n=t[r]))if(Array.isArray(n))for(e=0;e<n.length;e++)o&&(o+="&"),o+=encodeURIComponent(r)+"="+encodeURIComponent(n[e]);else o&&(o+="&"),o+=encodeURIComponent(r)+"="+encodeURIComponent(n);return(i||"")+o}r.d(i,{c:()=>e})}}]);