decode-lz-options
Version:
Decode LayerZero options with one command
3 lines (2 loc) • 966 kB
JavaScript
'use strict';
var _q=Object.create;var Dg=Object.defineProperty;var bq=Object.getOwnPropertyDescriptor;var wq=Object.getOwnPropertyNames;var Eq=Object.getPrototypeOf,Sq=Object.prototype.hasOwnProperty;var Dq=(t,e,r)=>e in t?Dg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var nt=(t=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(t,{get:(e,r)=>(typeof require!="undefined"?require:e)[r]}):t)(function(t){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var xq=(t,e)=>()=>(t&&(e=t(t=0)),e);var H=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Cq=(t,e)=>{for(var r in e)Dg(t,r,{get:e[r],enumerable:!0});},DC=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wq(e))!Sq.call(t,i)&&i!==r&&Dg(t,i,{get:()=>e[i],enumerable:!(n=bq(e,i))||n.enumerable});return t};var So=(t,e,r)=>(r=t!=null?_q(Eq(t)):{},DC(e||!t||!t.__esModule?Dg(r,"default",{value:t,enumerable:!0}):r,t)),Oq=t=>DC(Dg({},"__esModule",{value:!0}),t);var xC=(t,e,r)=>(Dq(t,typeof e!="symbol"?e+"":e,r),r);var kC=H((FC,vw)=>{(function(t,e){function r(k,m){if(!k)throw new Error(m||"Assertion failed")}function n(k,m){k.super_=m;var b=function(){};b.prototype=m.prototype,k.prototype=new b,k.prototype.constructor=k;}function i(k,m,b){if(i.isBN(k))return k;this.negative=0,this.words=null,this.length=0,this.red=null,k!==null&&((m==="le"||m==="be")&&(b=m,m=10),this._init(k||0,m||10,b||"be"));}typeof t=="object"?t.exports=i:e.BN=i,i.BN=i,i.wordSize=26;var o;try{typeof window!="undefined"&&typeof window.Buffer!="undefined"?o=window.Buffer:o=nt("buffer").Buffer;}catch(k){}i.isBN=function(m){return m instanceof i?!0:m!==null&&typeof m=="object"&&m.constructor.wordSize===i.wordSize&&Array.isArray(m.words)},i.max=function(m,b){return m.cmp(b)>0?m:b},i.min=function(m,b){return m.cmp(b)<0?m:b},i.prototype._init=function(m,b,A){if(typeof m=="number")return this._initNumber(m,b,A);if(typeof m=="object")return this._initArray(m,b,A);b==="hex"&&(b=16),r(b===(b|0)&&b>=2&&b<=36),m=m.toString().replace(/\s+/g,"");var L=0;m[0]==="-"&&(L++,this.negative=1),L<m.length&&(b===16?this._parseHex(m,L,A):(this._parseBase(m,b,L),A==="le"&&this._initArray(this.toArray(),b,A)));},i.prototype._initNumber=function(m,b,A){m<0&&(this.negative=1,m=-m),m<67108864?(this.words=[m&67108863],this.length=1):m<4503599627370496?(this.words=[m&67108863,m/67108864&67108863],this.length=2):(r(m<9007199254740992),this.words=[m&67108863,m/67108864&67108863,1],this.length=3),A==="le"&&this._initArray(this.toArray(),b,A);},i.prototype._initArray=function(m,b,A){if(r(typeof m.length=="number"),m.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(m.length/3),this.words=new Array(this.length);for(var L=0;L<this.length;L++)this.words[L]=0;var q,J,ie=0;if(A==="be")for(L=m.length-1,q=0;L>=0;L-=3)J=m[L]|m[L-1]<<8|m[L-2]<<16,this.words[q]|=J<<ie&67108863,this.words[q+1]=J>>>26-ie&67108863,ie+=24,ie>=26&&(ie-=26,q++);else if(A==="le")for(L=0,q=0;L<m.length;L+=3)J=m[L]|m[L+1]<<8|m[L+2]<<16,this.words[q]|=J<<ie&67108863,this.words[q+1]=J>>>26-ie&67108863,ie+=24,ie>=26&&(ie-=26,q++);return this._strip()};function u(k,m){var b=k.charCodeAt(m);if(b>=48&&b<=57)return b-48;if(b>=65&&b<=70)return b-55;if(b>=97&&b<=102)return b-87;r(!1,"Invalid character in "+k);}function f(k,m,b){var A=u(k,b);return b-1>=m&&(A|=u(k,b-1)<<4),A}i.prototype._parseHex=function(m,b,A){this.length=Math.ceil((m.length-b)/6),this.words=new Array(this.length);for(var L=0;L<this.length;L++)this.words[L]=0;var q=0,J=0,ie;if(A==="be")for(L=m.length-1;L>=b;L-=2)ie=f(m,b,L)<<q,this.words[J]|=ie&67108863,q>=18?(q-=18,J+=1,this.words[J]|=ie>>>26):q+=8;else {var Y=m.length-b;for(L=Y%2===0?b+1:b;L<m.length;L+=2)ie=f(m,b,L)<<q,this.words[J]|=ie&67108863,q>=18?(q-=18,J+=1,this.words[J]|=ie>>>26):q+=8;}this._strip();};function g(k,m,b,A){for(var L=0,q=0,J=Math.min(k.length,b),ie=m;ie<J;ie++){var Y=k.charCodeAt(ie)-48;L*=A,Y>=49?q=Y-49+10:Y>=17?q=Y-17+10:q=Y,r(Y>=0&&q<A,"Invalid character"),L+=q;}return L}i.prototype._parseBase=function(m,b,A){this.words=[0],this.length=1;for(var L=0,q=1;q<=67108863;q*=b)L++;L--,q=q/b|0;for(var J=m.length-A,ie=J%L,Y=Math.min(J,J-ie)+A,O=0,z=A;z<Y;z+=L)O=g(m,z,z+L,b),this.imuln(q),this.words[0]+O<67108864?this.words[0]+=O:this._iaddn(O);if(ie!==0){var He=1;for(O=g(m,z,m.length,b),z=0;z<ie;z++)He*=b;this.imuln(He),this.words[0]+O<67108864?this.words[0]+=O:this._iaddn(O);}this._strip();},i.prototype.copy=function(m){m.words=new Array(this.length);for(var b=0;b<this.length;b++)m.words[b]=this.words[b];m.length=this.length,m.negative=this.negative,m.red=this.red;};function v(k,m){k.words=m.words,k.length=m.length,k.negative=m.negative,k.red=m.red;}if(i.prototype._move=function(m){v(m,this);},i.prototype.clone=function(){var m=new i(null);return this.copy(m),m},i.prototype._expand=function(m){for(;this.length<m;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol!="undefined"&&typeof Symbol.for=="function")try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=T;}catch(k){i.prototype.inspect=T;}else i.prototype.inspect=T;function T(){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"],R=[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];i.prototype.toString=function(m,b){m=m||10,b=b|0||1;var A;if(m===16||m==="hex"){A="";for(var L=0,q=0,J=0;J<this.length;J++){var ie=this.words[J],Y=((ie<<L|q)&16777215).toString(16);q=ie>>>24-L&16777215,L+=2,L>=26&&(L-=26,J--),q!==0||J!==this.length-1?A=D[6-Y.length]+Y+A:A=Y+A;}for(q!==0&&(A=q.toString(16)+A);A.length%b!==0;)A="0"+A;return this.negative!==0&&(A="-"+A),A}if(m===(m|0)&&m>=2&&m<=36){var O=R[m],z=M[m];A="";var He=this.clone();for(He.negative=0;!He.isZero();){var ne=He.modrn(z).toString(m);He=He.idivn(z),He.isZero()?A=ne+A:A=D[O-ne.length]+ne+A;}for(this.isZero()&&(A="0"+A);A.length%b!==0;)A="0"+A;return this.negative!==0&&(A="-"+A),A}r(!1,"Base should be between 2 and 36");},i.prototype.toNumber=function(){var m=this.words[0];return this.length===2?m+=this.words[1]*67108864:this.length===3&&this.words[2]===1?m+=4503599627370496+this.words[1]*67108864:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-m:m},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(m,b){return this.toArrayLike(o,m,b)}),i.prototype.toArray=function(m,b){return this.toArrayLike(Array,m,b)};var W=function(m,b){return m.allocUnsafe?m.allocUnsafe(b):new m(b)};i.prototype.toArrayLike=function(m,b,A){this._strip();var L=this.byteLength(),q=A||Math.max(1,L);r(L<=q,"byte array longer than desired length"),r(q>0,"Requested array length <= 0");var J=W(m,q),ie=b==="le"?"LE":"BE";return this["_toArrayLike"+ie](J,L),J},i.prototype._toArrayLikeLE=function(m,b){for(var A=0,L=0,q=0,J=0;q<this.length;q++){var ie=this.words[q]<<J|L;m[A++]=ie&255,A<m.length&&(m[A++]=ie>>8&255),A<m.length&&(m[A++]=ie>>16&255),J===6?(A<m.length&&(m[A++]=ie>>24&255),L=0,J=0):(L=ie>>>24,J+=2);}if(A<m.length)for(m[A++]=L;A<m.length;)m[A++]=0;},i.prototype._toArrayLikeBE=function(m,b){for(var A=m.length-1,L=0,q=0,J=0;q<this.length;q++){var ie=this.words[q]<<J|L;m[A--]=ie&255,A>=0&&(m[A--]=ie>>8&255),A>=0&&(m[A--]=ie>>16&255),J===6?(A>=0&&(m[A--]=ie>>24&255),L=0,J=0):(L=ie>>>24,J+=2);}if(A>=0)for(m[A--]=L;A>=0;)m[A--]=0;},Math.clz32?i.prototype._countBits=function(m){return 32-Math.clz32(m)}:i.prototype._countBits=function(m){var b=m,A=0;return b>=4096&&(A+=13,b>>>=13),b>=64&&(A+=7,b>>>=7),b>=8&&(A+=4,b>>>=4),b>=2&&(A+=2,b>>>=2),A+b},i.prototype._zeroBits=function(m){if(m===0)return 26;var b=m,A=0;return b&8191||(A+=13,b>>>=13),b&127||(A+=7,b>>>=7),b&15||(A+=4,b>>>=4),b&3||(A+=2,b>>>=2),b&1||A++,A},i.prototype.bitLength=function(){var m=this.words[this.length-1],b=this._countBits(m);return (this.length-1)*26+b};function se(k){for(var m=new Array(k.bitLength()),b=0;b<m.length;b++){var A=b/26|0,L=b%26;m[b]=k.words[A]>>>L&1;}return m}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var m=0,b=0;b<this.length;b++){var A=this._zeroBits(this.words[b]);if(m+=A,A!==26)break}return m},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(m){return this.negative!==0?this.abs().inotn(m).iaddn(1):this.clone()},i.prototype.fromTwos=function(m){return this.testn(m-1)?this.notn(m).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(m){for(;this.length<m.length;)this.words[this.length++]=0;for(var b=0;b<m.length;b++)this.words[b]=this.words[b]|m.words[b];return this._strip()},i.prototype.ior=function(m){return r((this.negative|m.negative)===0),this.iuor(m)},i.prototype.or=function(m){return this.length>m.length?this.clone().ior(m):m.clone().ior(this)},i.prototype.uor=function(m){return this.length>m.length?this.clone().iuor(m):m.clone().iuor(this)},i.prototype.iuand=function(m){var b;this.length>m.length?b=m:b=this;for(var A=0;A<b.length;A++)this.words[A]=this.words[A]&m.words[A];return this.length=b.length,this._strip()},i.prototype.iand=function(m){return r((this.negative|m.negative)===0),this.iuand(m)},i.prototype.and=function(m){return this.length>m.length?this.clone().iand(m):m.clone().iand(this)},i.prototype.uand=function(m){return this.length>m.length?this.clone().iuand(m):m.clone().iuand(this)},i.prototype.iuxor=function(m){var b,A;this.length>m.length?(b=this,A=m):(b=m,A=this);for(var L=0;L<A.length;L++)this.words[L]=b.words[L]^A.words[L];if(this!==b)for(;L<b.length;L++)this.words[L]=b.words[L];return this.length=b.length,this._strip()},i.prototype.ixor=function(m){return r((this.negative|m.negative)===0),this.iuxor(m)},i.prototype.xor=function(m){return this.length>m.length?this.clone().ixor(m):m.clone().ixor(this)},i.prototype.uxor=function(m){return this.length>m.length?this.clone().iuxor(m):m.clone().iuxor(this)},i.prototype.inotn=function(m){r(typeof m=="number"&&m>=0);var b=Math.ceil(m/26)|0,A=m%26;this._expand(b),A>0&&b--;for(var L=0;L<b;L++)this.words[L]=~this.words[L]&67108863;return A>0&&(this.words[L]=~this.words[L]&67108863>>26-A),this._strip()},i.prototype.notn=function(m){return this.clone().inotn(m)},i.prototype.setn=function(m,b){r(typeof m=="number"&&m>=0);var A=m/26|0,L=m%26;return this._expand(A+1),b?this.words[A]=this.words[A]|1<<L:this.words[A]=this.words[A]&~(1<<L),this._strip()},i.prototype.iadd=function(m){var b;if(this.negative!==0&&m.negative===0)return this.negative=0,b=this.isub(m),this.negative^=1,this._normSign();if(this.negative===0&&m.negative!==0)return m.negative=0,b=this.isub(m),m.negative=1,b._normSign();var A,L;this.length>m.length?(A=this,L=m):(A=m,L=this);for(var q=0,J=0;J<L.length;J++)b=(A.words[J]|0)+(L.words[J]|0)+q,this.words[J]=b&67108863,q=b>>>26;for(;q!==0&&J<A.length;J++)b=(A.words[J]|0)+q,this.words[J]=b&67108863,q=b>>>26;if(this.length=A.length,q!==0)this.words[this.length]=q,this.length++;else if(A!==this)for(;J<A.length;J++)this.words[J]=A.words[J];return this},i.prototype.add=function(m){var b;return m.negative!==0&&this.negative===0?(m.negative=0,b=this.sub(m),m.negative^=1,b):m.negative===0&&this.negative!==0?(this.negative=0,b=m.sub(this),this.negative=1,b):this.length>m.length?this.clone().iadd(m):m.clone().iadd(this)},i.prototype.isub=function(m){if(m.negative!==0){m.negative=0;var b=this.iadd(m);return m.negative=1,b._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(m),this.negative=1,this._normSign();var A=this.cmp(m);if(A===0)return this.negative=0,this.length=1,this.words[0]=0,this;var L,q;A>0?(L=this,q=m):(L=m,q=this);for(var J=0,ie=0;ie<q.length;ie++)b=(L.words[ie]|0)-(q.words[ie]|0)+J,J=b>>26,this.words[ie]=b&67108863;for(;J!==0&&ie<L.length;ie++)b=(L.words[ie]|0)+J,J=b>>26,this.words[ie]=b&67108863;if(J===0&&ie<L.length&&L!==this)for(;ie<L.length;ie++)this.words[ie]=L.words[ie];return this.length=Math.max(this.length,ie),L!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(m){return this.clone().isub(m)};function le(k,m,b){b.negative=m.negative^k.negative;var A=k.length+m.length|0;b.length=A,A=A-1|0;var L=k.words[0]|0,q=m.words[0]|0,J=L*q,ie=J&67108863,Y=J/67108864|0;b.words[0]=ie;for(var O=1;O<A;O++){for(var z=Y>>>26,He=Y&67108863,ne=Math.min(O,m.length-1),I=Math.max(0,O-k.length+1);I<=ne;I++){var B=O-I|0;L=k.words[B]|0,q=m.words[I]|0,J=L*q+He,z+=J/67108864|0,He=J&67108863;}b.words[O]=He|0,Y=z|0;}return Y!==0?b.words[O]=Y|0:b.length--,b._strip()}var ue=function(m,b,A){var L=m.words,q=b.words,J=A.words,ie=0,Y,O,z,He=L[0]|0,ne=He&8191,I=He>>>13,B=L[1]|0,Z=B&8191,_e=B>>>13,Le=L[2]|0,Se=Le&8191,ze=Le>>>13,at=L[3]|0,We=at&8191,ht=at>>>13,pn=L[4]|0,jt=pn&8191,gr=pn>>>13,ce=L[5]|0,De=ce&8191,Qe=ce>>>13,Dt=L[6]|0,_t=Dt&8191,Pt=Dt>>>13,vr=L[7]|0,Rt=vr&8191,Ut=vr>>>13,Zn=L[8]|0,En=Zn&8191,Jr=Zn>>>13,zo=L[9]|0,Br=zo&8191,mn=zo>>>13,Us=q[0]|0,Sn=Us&8191,Fn=Us>>>13,Vl=q[1]|0,Tr=Vl&8191,Dn=Vl>>>13,$u=q[2]|0,jn=$u&8191,Un=$u>>>13,nf=q[3]|0,Xr=nf&8191,xn=nf>>>13,Wl=q[4]|0,kn=Wl&8191,Bn=Wl>>>13,Oo=q[5]|0,on=Oo&8191,Nr=Oo>>>13,zu=q[6]|0,qr=zu&8191,Hn=zu>>>13,of=q[7]|0,Cn=of&8191,On=of>>>13,sf=q[8]|0,Qr=sf&8191,gn=sf>>>13,Gl=q[9]|0,$n=Gl&8191,vn=Gl>>>13;A.negative=m.negative^b.negative,A.length=19,Y=Math.imul(ne,Sn),O=Math.imul(ne,Fn),O=O+Math.imul(I,Sn)|0,z=Math.imul(I,Fn);var Hs=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(Hs>>>26)|0,Hs&=67108863,Y=Math.imul(Z,Sn),O=Math.imul(Z,Fn),O=O+Math.imul(_e,Sn)|0,z=Math.imul(_e,Fn),Y=Y+Math.imul(ne,Tr)|0,O=O+Math.imul(ne,Dn)|0,O=O+Math.imul(I,Tr)|0,z=z+Math.imul(I,Dn)|0;var eu=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(eu>>>26)|0,eu&=67108863,Y=Math.imul(Se,Sn),O=Math.imul(Se,Fn),O=O+Math.imul(ze,Sn)|0,z=Math.imul(ze,Fn),Y=Y+Math.imul(Z,Tr)|0,O=O+Math.imul(Z,Dn)|0,O=O+Math.imul(_e,Tr)|0,z=z+Math.imul(_e,Dn)|0,Y=Y+Math.imul(ne,jn)|0,O=O+Math.imul(ne,Un)|0,O=O+Math.imul(I,jn)|0,z=z+Math.imul(I,Un)|0;var ls=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(ls>>>26)|0,ls&=67108863,Y=Math.imul(We,Sn),O=Math.imul(We,Fn),O=O+Math.imul(ht,Sn)|0,z=Math.imul(ht,Fn),Y=Y+Math.imul(Se,Tr)|0,O=O+Math.imul(Se,Dn)|0,O=O+Math.imul(ze,Tr)|0,z=z+Math.imul(ze,Dn)|0,Y=Y+Math.imul(Z,jn)|0,O=O+Math.imul(Z,Un)|0,O=O+Math.imul(_e,jn)|0,z=z+Math.imul(_e,Un)|0,Y=Y+Math.imul(ne,Xr)|0,O=O+Math.imul(ne,xn)|0,O=O+Math.imul(I,Xr)|0,z=z+Math.imul(I,xn)|0;var $s=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+($s>>>26)|0,$s&=67108863,Y=Math.imul(jt,Sn),O=Math.imul(jt,Fn),O=O+Math.imul(gr,Sn)|0,z=Math.imul(gr,Fn),Y=Y+Math.imul(We,Tr)|0,O=O+Math.imul(We,Dn)|0,O=O+Math.imul(ht,Tr)|0,z=z+Math.imul(ht,Dn)|0,Y=Y+Math.imul(Se,jn)|0,O=O+Math.imul(Se,Un)|0,O=O+Math.imul(ze,jn)|0,z=z+Math.imul(ze,Un)|0,Y=Y+Math.imul(Z,Xr)|0,O=O+Math.imul(Z,xn)|0,O=O+Math.imul(_e,Xr)|0,z=z+Math.imul(_e,xn)|0,Y=Y+Math.imul(ne,kn)|0,O=O+Math.imul(ne,Bn)|0,O=O+Math.imul(I,kn)|0,z=z+Math.imul(I,Bn)|0;var cs=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(cs>>>26)|0,cs&=67108863,Y=Math.imul(De,Sn),O=Math.imul(De,Fn),O=O+Math.imul(Qe,Sn)|0,z=Math.imul(Qe,Fn),Y=Y+Math.imul(jt,Tr)|0,O=O+Math.imul(jt,Dn)|0,O=O+Math.imul(gr,Tr)|0,z=z+Math.imul(gr,Dn)|0,Y=Y+Math.imul(We,jn)|0,O=O+Math.imul(We,Un)|0,O=O+Math.imul(ht,jn)|0,z=z+Math.imul(ht,Un)|0,Y=Y+Math.imul(Se,Xr)|0,O=O+Math.imul(Se,xn)|0,O=O+Math.imul(ze,Xr)|0,z=z+Math.imul(ze,xn)|0,Y=Y+Math.imul(Z,kn)|0,O=O+Math.imul(Z,Bn)|0,O=O+Math.imul(_e,kn)|0,z=z+Math.imul(_e,Bn)|0,Y=Y+Math.imul(ne,on)|0,O=O+Math.imul(ne,Nr)|0,O=O+Math.imul(I,on)|0,z=z+Math.imul(I,Nr)|0;var ro=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(ro>>>26)|0,ro&=67108863,Y=Math.imul(_t,Sn),O=Math.imul(_t,Fn),O=O+Math.imul(Pt,Sn)|0,z=Math.imul(Pt,Fn),Y=Y+Math.imul(De,Tr)|0,O=O+Math.imul(De,Dn)|0,O=O+Math.imul(Qe,Tr)|0,z=z+Math.imul(Qe,Dn)|0,Y=Y+Math.imul(jt,jn)|0,O=O+Math.imul(jt,Un)|0,O=O+Math.imul(gr,jn)|0,z=z+Math.imul(gr,Un)|0,Y=Y+Math.imul(We,Xr)|0,O=O+Math.imul(We,xn)|0,O=O+Math.imul(ht,Xr)|0,z=z+Math.imul(ht,xn)|0,Y=Y+Math.imul(Se,kn)|0,O=O+Math.imul(Se,Bn)|0,O=O+Math.imul(ze,kn)|0,z=z+Math.imul(ze,Bn)|0,Y=Y+Math.imul(Z,on)|0,O=O+Math.imul(Z,Nr)|0,O=O+Math.imul(_e,on)|0,z=z+Math.imul(_e,Nr)|0,Y=Y+Math.imul(ne,qr)|0,O=O+Math.imul(ne,Hn)|0,O=O+Math.imul(I,qr)|0,z=z+Math.imul(I,Hn)|0;var Lr=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,Y=Math.imul(Rt,Sn),O=Math.imul(Rt,Fn),O=O+Math.imul(Ut,Sn)|0,z=Math.imul(Ut,Fn),Y=Y+Math.imul(_t,Tr)|0,O=O+Math.imul(_t,Dn)|0,O=O+Math.imul(Pt,Tr)|0,z=z+Math.imul(Pt,Dn)|0,Y=Y+Math.imul(De,jn)|0,O=O+Math.imul(De,Un)|0,O=O+Math.imul(Qe,jn)|0,z=z+Math.imul(Qe,Un)|0,Y=Y+Math.imul(jt,Xr)|0,O=O+Math.imul(jt,xn)|0,O=O+Math.imul(gr,Xr)|0,z=z+Math.imul(gr,xn)|0,Y=Y+Math.imul(We,kn)|0,O=O+Math.imul(We,Bn)|0,O=O+Math.imul(ht,kn)|0,z=z+Math.imul(ht,Bn)|0,Y=Y+Math.imul(Se,on)|0,O=O+Math.imul(Se,Nr)|0,O=O+Math.imul(ze,on)|0,z=z+Math.imul(ze,Nr)|0,Y=Y+Math.imul(Z,qr)|0,O=O+Math.imul(Z,Hn)|0,O=O+Math.imul(_e,qr)|0,z=z+Math.imul(_e,Hn)|0,Y=Y+Math.imul(ne,Cn)|0,O=O+Math.imul(ne,On)|0,O=O+Math.imul(I,Cn)|0,z=z+Math.imul(I,On)|0;var jr=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(jr>>>26)|0,jr&=67108863,Y=Math.imul(En,Sn),O=Math.imul(En,Fn),O=O+Math.imul(Jr,Sn)|0,z=Math.imul(Jr,Fn),Y=Y+Math.imul(Rt,Tr)|0,O=O+Math.imul(Rt,Dn)|0,O=O+Math.imul(Ut,Tr)|0,z=z+Math.imul(Ut,Dn)|0,Y=Y+Math.imul(_t,jn)|0,O=O+Math.imul(_t,Un)|0,O=O+Math.imul(Pt,jn)|0,z=z+Math.imul(Pt,Un)|0,Y=Y+Math.imul(De,Xr)|0,O=O+Math.imul(De,xn)|0,O=O+Math.imul(Qe,Xr)|0,z=z+Math.imul(Qe,xn)|0,Y=Y+Math.imul(jt,kn)|0,O=O+Math.imul(jt,Bn)|0,O=O+Math.imul(gr,kn)|0,z=z+Math.imul(gr,Bn)|0,Y=Y+Math.imul(We,on)|0,O=O+Math.imul(We,Nr)|0,O=O+Math.imul(ht,on)|0,z=z+Math.imul(ht,Nr)|0,Y=Y+Math.imul(Se,qr)|0,O=O+Math.imul(Se,Hn)|0,O=O+Math.imul(ze,qr)|0,z=z+Math.imul(ze,Hn)|0,Y=Y+Math.imul(Z,Cn)|0,O=O+Math.imul(Z,On)|0,O=O+Math.imul(_e,Cn)|0,z=z+Math.imul(_e,On)|0,Y=Y+Math.imul(ne,Qr)|0,O=O+Math.imul(ne,gn)|0,O=O+Math.imul(I,Qr)|0,z=z+Math.imul(I,gn)|0;var go=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(go>>>26)|0,go&=67108863,Y=Math.imul(Br,Sn),O=Math.imul(Br,Fn),O=O+Math.imul(mn,Sn)|0,z=Math.imul(mn,Fn),Y=Y+Math.imul(En,Tr)|0,O=O+Math.imul(En,Dn)|0,O=O+Math.imul(Jr,Tr)|0,z=z+Math.imul(Jr,Dn)|0,Y=Y+Math.imul(Rt,jn)|0,O=O+Math.imul(Rt,Un)|0,O=O+Math.imul(Ut,jn)|0,z=z+Math.imul(Ut,Un)|0,Y=Y+Math.imul(_t,Xr)|0,O=O+Math.imul(_t,xn)|0,O=O+Math.imul(Pt,Xr)|0,z=z+Math.imul(Pt,xn)|0,Y=Y+Math.imul(De,kn)|0,O=O+Math.imul(De,Bn)|0,O=O+Math.imul(Qe,kn)|0,z=z+Math.imul(Qe,Bn)|0,Y=Y+Math.imul(jt,on)|0,O=O+Math.imul(jt,Nr)|0,O=O+Math.imul(gr,on)|0,z=z+Math.imul(gr,Nr)|0,Y=Y+Math.imul(We,qr)|0,O=O+Math.imul(We,Hn)|0,O=O+Math.imul(ht,qr)|0,z=z+Math.imul(ht,Hn)|0,Y=Y+Math.imul(Se,Cn)|0,O=O+Math.imul(Se,On)|0,O=O+Math.imul(ze,Cn)|0,z=z+Math.imul(ze,On)|0,Y=Y+Math.imul(Z,Qr)|0,O=O+Math.imul(Z,gn)|0,O=O+Math.imul(_e,Qr)|0,z=z+Math.imul(_e,gn)|0,Y=Y+Math.imul(ne,$n)|0,O=O+Math.imul(ne,vn)|0,O=O+Math.imul(I,$n)|0,z=z+Math.imul(I,vn)|0;var zn=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(zn>>>26)|0,zn&=67108863,Y=Math.imul(Br,Tr),O=Math.imul(Br,Dn),O=O+Math.imul(mn,Tr)|0,z=Math.imul(mn,Dn),Y=Y+Math.imul(En,jn)|0,O=O+Math.imul(En,Un)|0,O=O+Math.imul(Jr,jn)|0,z=z+Math.imul(Jr,Un)|0,Y=Y+Math.imul(Rt,Xr)|0,O=O+Math.imul(Rt,xn)|0,O=O+Math.imul(Ut,Xr)|0,z=z+Math.imul(Ut,xn)|0,Y=Y+Math.imul(_t,kn)|0,O=O+Math.imul(_t,Bn)|0,O=O+Math.imul(Pt,kn)|0,z=z+Math.imul(Pt,Bn)|0,Y=Y+Math.imul(De,on)|0,O=O+Math.imul(De,Nr)|0,O=O+Math.imul(Qe,on)|0,z=z+Math.imul(Qe,Nr)|0,Y=Y+Math.imul(jt,qr)|0,O=O+Math.imul(jt,Hn)|0,O=O+Math.imul(gr,qr)|0,z=z+Math.imul(gr,Hn)|0,Y=Y+Math.imul(We,Cn)|0,O=O+Math.imul(We,On)|0,O=O+Math.imul(ht,Cn)|0,z=z+Math.imul(ht,On)|0,Y=Y+Math.imul(Se,Qr)|0,O=O+Math.imul(Se,gn)|0,O=O+Math.imul(ze,Qr)|0,z=z+Math.imul(ze,gn)|0,Y=Y+Math.imul(Z,$n)|0,O=O+Math.imul(Z,vn)|0,O=O+Math.imul(_e,$n)|0,z=z+Math.imul(_e,vn)|0;var ci=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(ci>>>26)|0,ci&=67108863,Y=Math.imul(Br,jn),O=Math.imul(Br,Un),O=O+Math.imul(mn,jn)|0,z=Math.imul(mn,Un),Y=Y+Math.imul(En,Xr)|0,O=O+Math.imul(En,xn)|0,O=O+Math.imul(Jr,Xr)|0,z=z+Math.imul(Jr,xn)|0,Y=Y+Math.imul(Rt,kn)|0,O=O+Math.imul(Rt,Bn)|0,O=O+Math.imul(Ut,kn)|0,z=z+Math.imul(Ut,Bn)|0,Y=Y+Math.imul(_t,on)|0,O=O+Math.imul(_t,Nr)|0,O=O+Math.imul(Pt,on)|0,z=z+Math.imul(Pt,Nr)|0,Y=Y+Math.imul(De,qr)|0,O=O+Math.imul(De,Hn)|0,O=O+Math.imul(Qe,qr)|0,z=z+Math.imul(Qe,Hn)|0,Y=Y+Math.imul(jt,Cn)|0,O=O+Math.imul(jt,On)|0,O=O+Math.imul(gr,Cn)|0,z=z+Math.imul(gr,On)|0,Y=Y+Math.imul(We,Qr)|0,O=O+Math.imul(We,gn)|0,O=O+Math.imul(ht,Qr)|0,z=z+Math.imul(ht,gn)|0,Y=Y+Math.imul(Se,$n)|0,O=O+Math.imul(Se,vn)|0,O=O+Math.imul(ze,$n)|0,z=z+Math.imul(ze,vn)|0;var To=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(To>>>26)|0,To&=67108863,Y=Math.imul(Br,Xr),O=Math.imul(Br,xn),O=O+Math.imul(mn,Xr)|0,z=Math.imul(mn,xn),Y=Y+Math.imul(En,kn)|0,O=O+Math.imul(En,Bn)|0,O=O+Math.imul(Jr,kn)|0,z=z+Math.imul(Jr,Bn)|0,Y=Y+Math.imul(Rt,on)|0,O=O+Math.imul(Rt,Nr)|0,O=O+Math.imul(Ut,on)|0,z=z+Math.imul(Ut,Nr)|0,Y=Y+Math.imul(_t,qr)|0,O=O+Math.imul(_t,Hn)|0,O=O+Math.imul(Pt,qr)|0,z=z+Math.imul(Pt,Hn)|0,Y=Y+Math.imul(De,Cn)|0,O=O+Math.imul(De,On)|0,O=O+Math.imul(Qe,Cn)|0,z=z+Math.imul(Qe,On)|0,Y=Y+Math.imul(jt,Qr)|0,O=O+Math.imul(jt,gn)|0,O=O+Math.imul(gr,Qr)|0,z=z+Math.imul(gr,gn)|0,Y=Y+Math.imul(We,$n)|0,O=O+Math.imul(We,vn)|0,O=O+Math.imul(ht,$n)|0,z=z+Math.imul(ht,vn)|0;var Wi=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,Y=Math.imul(Br,kn),O=Math.imul(Br,Bn),O=O+Math.imul(mn,kn)|0,z=Math.imul(mn,Bn),Y=Y+Math.imul(En,on)|0,O=O+Math.imul(En,Nr)|0,O=O+Math.imul(Jr,on)|0,z=z+Math.imul(Jr,Nr)|0,Y=Y+Math.imul(Rt,qr)|0,O=O+Math.imul(Rt,Hn)|0,O=O+Math.imul(Ut,qr)|0,z=z+Math.imul(Ut,Hn)|0,Y=Y+Math.imul(_t,Cn)|0,O=O+Math.imul(_t,On)|0,O=O+Math.imul(Pt,Cn)|0,z=z+Math.imul(Pt,On)|0,Y=Y+Math.imul(De,Qr)|0,O=O+Math.imul(De,gn)|0,O=O+Math.imul(Qe,Qr)|0,z=z+Math.imul(Qe,gn)|0,Y=Y+Math.imul(jt,$n)|0,O=O+Math.imul(jt,vn)|0,O=O+Math.imul(gr,$n)|0,z=z+Math.imul(gr,vn)|0;var fi=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(fi>>>26)|0,fi&=67108863,Y=Math.imul(Br,on),O=Math.imul(Br,Nr),O=O+Math.imul(mn,on)|0,z=Math.imul(mn,Nr),Y=Y+Math.imul(En,qr)|0,O=O+Math.imul(En,Hn)|0,O=O+Math.imul(Jr,qr)|0,z=z+Math.imul(Jr,Hn)|0,Y=Y+Math.imul(Rt,Cn)|0,O=O+Math.imul(Rt,On)|0,O=O+Math.imul(Ut,Cn)|0,z=z+Math.imul(Ut,On)|0,Y=Y+Math.imul(_t,Qr)|0,O=O+Math.imul(_t,gn)|0,O=O+Math.imul(Pt,Qr)|0,z=z+Math.imul(Pt,gn)|0,Y=Y+Math.imul(De,$n)|0,O=O+Math.imul(De,vn)|0,O=O+Math.imul(Qe,$n)|0,z=z+Math.imul(Qe,vn)|0;var zs=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(zs>>>26)|0,zs&=67108863,Y=Math.imul(Br,qr),O=Math.imul(Br,Hn),O=O+Math.imul(mn,qr)|0,z=Math.imul(mn,Hn),Y=Y+Math.imul(En,Cn)|0,O=O+Math.imul(En,On)|0,O=O+Math.imul(Jr,Cn)|0,z=z+Math.imul(Jr,On)|0,Y=Y+Math.imul(Rt,Qr)|0,O=O+Math.imul(Rt,gn)|0,O=O+Math.imul(Ut,Qr)|0,z=z+Math.imul(Ut,gn)|0,Y=Y+Math.imul(_t,$n)|0,O=O+Math.imul(_t,vn)|0,O=O+Math.imul(Pt,$n)|0,z=z+Math.imul(Pt,vn)|0;var Vu=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(Vu>>>26)|0,Vu&=67108863,Y=Math.imul(Br,Cn),O=Math.imul(Br,On),O=O+Math.imul(mn,Cn)|0,z=Math.imul(mn,On),Y=Y+Math.imul(En,Qr)|0,O=O+Math.imul(En,gn)|0,O=O+Math.imul(Jr,Qr)|0,z=z+Math.imul(Jr,gn)|0,Y=Y+Math.imul(Rt,$n)|0,O=O+Math.imul(Rt,vn)|0,O=O+Math.imul(Ut,$n)|0,z=z+Math.imul(Ut,vn)|0;var tu=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(tu>>>26)|0,tu&=67108863,Y=Math.imul(Br,Qr),O=Math.imul(Br,gn),O=O+Math.imul(mn,Qr)|0,z=Math.imul(mn,gn),Y=Y+Math.imul(En,$n)|0,O=O+Math.imul(En,vn)|0,O=O+Math.imul(Jr,$n)|0,z=z+Math.imul(Jr,vn)|0;var Vs=(ie+Y|0)+((O&8191)<<13)|0;ie=(z+(O>>>13)|0)+(Vs>>>26)|0,Vs&=67108863,Y=Math.imul(Br,$n),O=Math.imul(Br,vn),O=O+Math.imul(mn,$n)|0,z=Math.imul(mn,vn);var bi=(ie+Y|0)+((O&8191)<<13)|0;return ie=(z+(O>>>13)|0)+(bi>>>26)|0,bi&=67108863,J[0]=Hs,J[1]=eu,J[2]=ls,J[3]=$s,J[4]=cs,J[5]=ro,J[6]=Lr,J[7]=jr,J[8]=go,J[9]=zn,J[10]=ci,J[11]=To,J[12]=Wi,J[13]=fi,J[14]=zs,J[15]=Vu,J[16]=tu,J[17]=Vs,J[18]=bi,ie!==0&&(J[19]=ie,A.length++),A};Math.imul||(ue=le);function ge(k,m,b){b.negative=m.negative^k.negative,b.length=k.length+m.length;for(var A=0,L=0,q=0;q<b.length-1;q++){var J=L;L=0;for(var ie=A&67108863,Y=Math.min(q,m.length-1),O=Math.max(0,q-k.length+1);O<=Y;O++){var z=q-O,He=k.words[z]|0,ne=m.words[O]|0,I=He*ne,B=I&67108863;J=J+(I/67108864|0)|0,B=B+ie|0,ie=B&67108863,J=J+(B>>>26)|0,L+=J>>>26,J&=67108863;}b.words[q]=ie,A=J,J=L;}return A!==0?b.words[q]=A:b.length--,b._strip()}function we(k,m,b){return ge(k,m,b)}i.prototype.mulTo=function(m,b){var A,L=this.length+m.length;return this.length===10&&m.length===10?A=ue(this,m,b):L<63?A=le(this,m,b):L<1024?A=ge(this,m,b):A=we(this,m,b),A};i.prototype.mul=function(m){var b=new i(null);return b.words=new Array(this.length+m.length),this.mulTo(m,b)},i.prototype.mulf=function(m){var b=new i(null);return b.words=new Array(this.length+m.length),we(this,m,b)},i.prototype.imul=function(m){return this.clone().mulTo(m,this)},i.prototype.imuln=function(m){var b=m<0;b&&(m=-m),r(typeof m=="number"),r(m<67108864);for(var A=0,L=0;L<this.length;L++){var q=(this.words[L]|0)*m,J=(q&67108863)+(A&67108863);A>>=26,A+=q/67108864|0,A+=J>>>26,this.words[L]=J&67108863;}return A!==0&&(this.words[L]=A,this.length++),b?this.ineg():this},i.prototype.muln=function(m){return this.clone().imuln(m)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(m){var b=se(m);if(b.length===0)return new i(1);for(var A=this,L=0;L<b.length&&b[L]===0;L++,A=A.sqr());if(++L<b.length)for(var q=A.sqr();L<b.length;L++,q=q.sqr())b[L]!==0&&(A=A.mul(q));return A},i.prototype.iushln=function(m){r(typeof m=="number"&&m>=0);var b=m%26,A=(m-b)/26,L=67108863>>>26-b<<26-b,q;if(b!==0){var J=0;for(q=0;q<this.length;q++){var ie=this.words[q]&L,Y=(this.words[q]|0)-ie<<b;this.words[q]=Y|J,J=ie>>>26-b;}J&&(this.words[q]=J,this.length++);}if(A!==0){for(q=this.length-1;q>=0;q--)this.words[q+A]=this.words[q];for(q=0;q<A;q++)this.words[q]=0;this.length+=A;}return this._strip()},i.prototype.ishln=function(m){return r(this.negative===0),this.iushln(m)},i.prototype.iushrn=function(m,b,A){r(typeof m=="number"&&m>=0);var L;b?L=(b-b%26)/26:L=0;var q=m%26,J=Math.min((m-q)/26,this.length),ie=67108863^67108863>>>q<<q,Y=A;if(L-=J,L=Math.max(0,L),Y){for(var O=0;O<J;O++)Y.words[O]=this.words[O];Y.length=J;}if(J!==0)if(this.length>J)for(this.length-=J,O=0;O<this.length;O++)this.words[O]=this.words[O+J];else this.words[0]=0,this.length=1;var z=0;for(O=this.length-1;O>=0&&(z!==0||O>=L);O--){var He=this.words[O]|0;this.words[O]=z<<26-q|He>>>q,z=He&ie;}return Y&&z!==0&&(Y.words[Y.length++]=z),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(m,b,A){return r(this.negative===0),this.iushrn(m,b,A)},i.prototype.shln=function(m){return this.clone().ishln(m)},i.prototype.ushln=function(m){return this.clone().iushln(m)},i.prototype.shrn=function(m){return this.clone().ishrn(m)},i.prototype.ushrn=function(m){return this.clone().iushrn(m)},i.prototype.testn=function(m){r(typeof m=="number"&&m>=0);var b=m%26,A=(m-b)/26,L=1<<b;if(this.length<=A)return !1;var q=this.words[A];return !!(q&L)},i.prototype.imaskn=function(m){r(typeof m=="number"&&m>=0);var b=m%26,A=(m-b)/26;if(r(this.negative===0,"imaskn works only with positive numbers"),this.length<=A)return this;if(b!==0&&A++,this.length=Math.min(A,this.length),b!==0){var L=67108863^67108863>>>b<<b;this.words[this.length-1]&=L;}return this._strip()},i.prototype.maskn=function(m){return this.clone().imaskn(m)},i.prototype.iaddn=function(m){return r(typeof m=="number"),r(m<67108864),m<0?this.isubn(-m):this.negative!==0?this.length===1&&(this.words[0]|0)<=m?(this.words[0]=m-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(m),this.negative=1,this):this._iaddn(m)},i.prototype._iaddn=function(m){this.words[0]+=m;for(var b=0;b<this.length&&this.words[b]>=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+1),this},i.prototype.isubn=function(m){if(r(typeof m=="number"),r(m<67108864),m<0)return this.iaddn(-m);if(this.negative!==0)return this.negative=0,this.iaddn(m),this.negative=1,this;if(this.words[0]-=m,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var b=0;b<this.length&&this.words[b]<0;b++)this.words[b]+=67108864,this.words[b+1]-=1;return this._strip()},i.prototype.addn=function(m){return this.clone().iaddn(m)},i.prototype.subn=function(m){return this.clone().isubn(m)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(m,b,A){var L=m.length+A,q;this._expand(L);var J,ie=0;for(q=0;q<m.length;q++){J=(this.words[q+A]|0)+ie;var Y=(m.words[q]|0)*b;J-=Y&67108863,ie=(J>>26)-(Y/67108864|0),this.words[q+A]=J&67108863;}for(;q<this.length-A;q++)J=(this.words[q+A]|0)+ie,ie=J>>26,this.words[q+A]=J&67108863;if(ie===0)return this._strip();for(r(ie===-1),ie=0,q=0;q<this.length;q++)J=-(this.words[q]|0)+ie,ie=J>>26,this.words[q]=J&67108863;return this.negative=1,this._strip()},i.prototype._wordDiv=function(m,b){var A=this.length-m.length,L=this.clone(),q=m,J=q.words[q.length-1]|0,ie=this._countBits(J);A=26-ie,A!==0&&(q=q.ushln(A),L.iushln(A),J=q.words[q.length-1]|0);var Y=L.length-q.length,O;if(b!=="mod"){O=new i(null),O.length=Y+1,O.words=new Array(O.length);for(var z=0;z<O.length;z++)O.words[z]=0;}var He=L.clone()._ishlnsubmul(q,1,Y);He.negative===0&&(L=He,O&&(O.words[Y]=1));for(var ne=Y-1;ne>=0;ne--){var I=(L.words[q.length+ne]|0)*67108864+(L.words[q.length+ne-1]|0);for(I=Math.min(I/J|0,67108863),L._ishlnsubmul(q,I,ne);L.negative!==0;)I--,L.negative=0,L._ishlnsubmul(q,1,ne),L.isZero()||(L.negative^=1);O&&(O.words[ne]=I);}return O&&O._strip(),L._strip(),b!=="div"&&A!==0&&L.iushrn(A),{div:O||null,mod:L}},i.prototype.divmod=function(m,b,A){if(r(!m.isZero()),this.isZero())return {div:new i(0),mod:new i(0)};var L,q,J;return this.negative!==0&&m.negative===0?(J=this.neg().divmod(m,b),b!=="mod"&&(L=J.div.neg()),b!=="div"&&(q=J.mod.neg(),A&&q.negative!==0&&q.iadd(m)),{div:L,mod:q}):this.negative===0&&m.negative!==0?(J=this.divmod(m.neg(),b),b!=="mod"&&(L=J.div.neg()),{div:L,mod:J.mod}):this.negative&m.negative?(J=this.neg().divmod(m.neg(),b),b!=="div"&&(q=J.mod.neg(),A&&q.negative!==0&&q.isub(m)),{div:J.div,mod:q}):m.length>this.length||this.cmp(m)<0?{div:new i(0),mod:this}:m.length===1?b==="div"?{div:this.divn(m.words[0]),mod:null}:b==="mod"?{div:null,mod:new i(this.modrn(m.words[0]))}:{div:this.divn(m.words[0]),mod:new i(this.modrn(m.words[0]))}:this._wordDiv(m,b)},i.prototype.div=function(m){return this.divmod(m,"div",!1).div},i.prototype.mod=function(m){return this.divmod(m,"mod",!1).mod},i.prototype.umod=function(m){return this.divmod(m,"mod",!0).mod},i.prototype.divRound=function(m){var b=this.divmod(m);if(b.mod.isZero())return b.div;var A=b.div.negative!==0?b.mod.isub(m):b.mod,L=m.ushrn(1),q=m.andln(1),J=A.cmp(L);return J<0||q===1&&J===0?b.div:b.div.negative!==0?b.div.isubn(1):b.div.iaddn(1)},i.prototype.modrn=function(m){var b=m<0;b&&(m=-m),r(m<=67108863);for(var A=(1<<26)%m,L=0,q=this.length-1;q>=0;q--)L=(A*L+(this.words[q]|0))%m;return b?-L:L},i.prototype.modn=function(m){return this.modrn(m)},i.prototype.idivn=function(m){var b=m<0;b&&(m=-m),r(m<=67108863);for(var A=0,L=this.length-1;L>=0;L--){var q=(this.words[L]|0)+A*67108864;this.words[L]=q/m|0,A=q%m;}return this._strip(),b?this.ineg():this},i.prototype.divn=function(m){return this.clone().idivn(m)},i.prototype.egcd=function(m){r(m.negative===0),r(!m.isZero());var b=this,A=m.clone();b.negative!==0?b=b.umod(m):b=b.clone();for(var L=new i(1),q=new i(0),J=new i(0),ie=new i(1),Y=0;b.isEven()&&A.isEven();)b.iushrn(1),A.iushrn(1),++Y;for(var O=A.clone(),z=b.clone();!b.isZero();){for(var He=0,ne=1;!(b.words[0]&ne)&&He<26;++He,ne<<=1);if(He>0)for(b.iushrn(He);He-- >0;)(L.isOdd()||q.isOdd())&&(L.iadd(O),q.isub(z)),L.iushrn(1),q.iushrn(1);for(var I=0,B=1;!(A.words[0]&B)&&I<26;++I,B<<=1);if(I>0)for(A.iushrn(I);I-- >0;)(J.isOdd()||ie.isOdd())&&(J.iadd(O),ie.isub(z)),J.iushrn(1),ie.iushrn(1);b.cmp(A)>=0?(b.isub(A),L.isub(J),q.isub(ie)):(A.isub(b),J.isub(L),ie.isub(q));}return {a:J,b:ie,gcd:A.iushln(Y)}},i.prototype._invmp=function(m){r(m.negative===0),r(!m.isZero());var b=this,A=m.clone();b.negative!==0?b=b.umod(m):b=b.clone();for(var L=new i(1),q=new i(0),J=A.clone();b.cmpn(1)>0&&A.cmpn(1)>0;){for(var ie=0,Y=1;!(b.words[0]&Y)&&ie<26;++ie,Y<<=1);if(ie>0)for(b.iushrn(ie);ie-- >0;)L.isOdd()&&L.iadd(J),L.iushrn(1);for(var O=0,z=1;!(A.words[0]&z)&&O<26;++O,z<<=1);if(O>0)for(A.iushrn(O);O-- >0;)q.isOdd()&&q.iadd(J),q.iushrn(1);b.cmp(A)>=0?(b.isub(A),L.isub(q)):(A.isub(b),q.isub(L));}var He;return b.cmpn(1)===0?He=L:He=q,He.cmpn(0)<0&&He.iadd(m),He},i.prototype.gcd=function(m){if(this.isZero())return m.abs();if(m.isZero())return this.abs();var b=this.clone(),A=m.clone();b.negative=0,A.negative=0;for(var L=0;b.isEven()&&A.isEven();L++)b.iushrn(1),A.iushrn(1);do{for(;b.isEven();)b.iushrn(1);for(;A.isEven();)A.iushrn(1);var q=b.cmp(A);if(q<0){var J=b;b=A,A=J;}else if(q===0||A.cmpn(1)===0)break;b.isub(A);}while(!0);return A.iushln(L)},i.prototype.invm=function(m){return this.egcd(m).a.umod(m)},i.prototype.isEven=function(){return (this.words[0]&1)===0},i.prototype.isOdd=function(){return (this.words[0]&1)===1},i.prototype.andln=function(m){return this.words[0]&m},i.prototype.bincn=function(m){r(typeof m=="number");var b=m%26,A=(m-b)/26,L=1<<b;if(this.length<=A)return this._expand(A+1),this.words[A]|=L,this;for(var q=L,J=A;q!==0&&J<this.length;J++){var ie=this.words[J]|0;ie+=q,q=ie>>>26,ie&=67108863,this.words[J]=ie;}return q!==0&&(this.words[J]=q,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(m){var b=m<0;if(this.negative!==0&&!b)return -1;if(this.negative===0&&b)return 1;this._strip();var A;if(this.length>1)A=1;else {b&&(m=-m),r(m<=67108863,"Number is too big");var L=this.words[0]|0;A=L===m?0:L<m?-1:1;}return this.negative!==0?-A|0:A},i.prototype.cmp=function(m){if(this.negative!==0&&m.negative===0)return -1;if(this.negative===0&&m.negative!==0)return 1;var b=this.ucmp(m);return this.negative!==0?-b|0:b},i.prototype.ucmp=function(m){if(this.length>m.length)return 1;if(this.length<m.length)return -1;for(var b=0,A=this.length-1;A>=0;A--){var L=this.words[A]|0,q=m.words[A]|0;if(L!==q){L<q?b=-1:L>q&&(b=1);break}}return b},i.prototype.gtn=function(m){return this.cmpn(m)===1},i.prototype.gt=function(m){return this.cmp(m)===1},i.prototype.gten=function(m){return this.cmpn(m)>=0},i.prototype.gte=function(m){return this.cmp(m)>=0},i.prototype.ltn=function(m){return this.cmpn(m)===-1},i.prototype.lt=function(m){return this.cmp(m)===-1},i.prototype.lten=function(m){return this.cmpn(m)<=0},i.prototype.lte=function(m){return this.cmp(m)<=0},i.prototype.eqn=function(m){return this.cmpn(m)===0},i.prototype.eq=function(m){return this.cmp(m)===0},i.red=function(m){return new it(m)},i.prototype.toRed=function(m){return r(!this.red,"Already a number in reduction context"),r(this.negative===0,"red works only with positives"),m.convertTo(this)._forceRed(m)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(m){return this.red=m,this},i.prototype.forceRed=function(m){return r(!this.red,"Already a number in reduction context"),this._forceRed(m)},i.prototype.redAdd=function(m){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,m)},i.prototype.redIAdd=function(m){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,m)},i.prototype.redSub=function(m){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,m)},i.prototype.redISub=function(m){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,m)},i.prototype.redShl=function(m){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,m)},i.prototype.redMul=function(m){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,m),this.red.mul(this,m)},i.prototype.redIMul=function(m){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,m),this.red.imul(this,m)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(m){return r(this.red&&!m.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,m)};var Te={k256:null,p224:null,p192:null,p25519:null};function Me(k,m){this.name=k,this.p=new i(m,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp();}Me.prototype._tmp=function(){var m=new i(null);return m.words=new Array(Math.ceil(this.n/13)),m},Me.prototype.ireduce=function(m){var b=m,A;do this.split(b,this.tmp),b=this.imulK(b),b=b.iadd(this.tmp),A=b.bitLength();while(A>this.n);var L=A<this.n?-1:b.ucmp(this.p);return L===0?(b.words[0]=0,b.length=1):L>0?b.isub(this.p):b.strip!==void 0?b.strip():b._strip(),b},Me.prototype.split=function(m,b){m.iushrn(this.n,0,b);},Me.prototype.imulK=function(m){return m.imul(this.k)};function Oe(){Me.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f");}n(Oe,Me),Oe.prototype.split=function(m,b){for(var A=4194303,L=Math.min(m.length,9),q=0;q<L;q++)b.words[q]=m.words[q];if(b.length=L,m.length<=9){m.words[0]=0,m.length=1;return}var J=m.words[9];for(b.words[b.length++]=J&A,q=10;q<m.length;q++){var ie=m.words[q]|0;m.words[q-10]=(ie&A)<<4|J>>>22,J=ie;}J>>>=22,m.words[q-10]=J,J===0&&m.length>10?m.length-=10:m.length-=9;},Oe.prototype.imulK=function(m){m.words[m.length]=0,m.words[m.length+1]=0,m.length+=2;for(var b=0,A=0;A<m.length;A++){var L=m.words[A]|0;b+=L*977,m.words[A]=b&67108863,b=L*64+(b/67108864|0);}return m.words[m.length-1]===0&&(m.length--,m.words[m.length-1]===0&&m.length--),m};function je(){Me.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001");}n(je,Me);function Fe(){Me.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff");}n(Fe,Me);function Bt(){Me.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed");}n(Bt,Me),Bt.prototype.imulK=function(m){for(var b=0,A=0;A<m.length;A++){var L=(m.words[A]|0)*19+b,q=L&67108863;L>>>=26,m.words[A]=q,b=L;}return b!==0&&(m.words[m.length++]=b),m},i._prime=function(m){if(Te[m])return Te[m];var b;if(m==="k256")b=new Oe;else if(m==="p224")b=new je;else if(m==="p192")b=new Fe;else if(m==="p25519")b=new Bt;else throw new Error("Unknown prime "+m);return Te[m]=b,b};function it(k){if(typeof k=="string"){var m=i._prime(k);this.m=m.p,this.prime=m;}else r(k.gtn(1),"modulus must be greater than 1"),this.m=k,this.prime=null;}it.prototype._verify1=function(m){r(m.negative===0,"red works only with positives"),r(m.red,"red works only with red numbers");},it.prototype._verify2=function(m,b){r((m.negative|b.negative)===0,"red works only with positives"),r(m.red&&m.red===b.red,"red works only with red numbers");},it.prototype.imod=function(m){return this.prime?this.prime.ireduce(m)._forceRed(this):(v(m,m.umod(this.m)._forceRed(this)),m)},it.prototype.neg=function(m){return m.isZero()?m.clone():this.m.sub(m)._forceRed(this)},it.prototype.add=function(m,b){this._verify2(m,b);var A=m.add(b);return A.cmp(this.m)>=0&&A.isub(this.m),A._forceRed(this)},it.prototype.iadd=function(m,b){this._verify2(m,b);var A=m.iadd(b);return A.cmp(this.m)>=0&&A.isub(this.m),A},it.prototype.sub=function(m,b){this._verify2(m,b);var A=m.sub(b);return A.cmpn(0)<0&&A.iadd(this.m),A._forceRed(this)},it.prototype.isub=function(m,b){this._verify2(m,b);var A=m.isub(b);return A.cmpn(0)<0&&A.iadd(this.m),A},it.prototype.shl=function(m,b){return this._verify1(m),this.imod(m.ushln(b))},it.prototype.imul=function(m,b){return this._verify2(m,b),this.imod(m.imul(b))},it.prototype.mul=function(m,b){return this._verify2(m,b),this.imod(m.mul(b))},it.prototype.isqr=function(m){return this.imul(m,m.clone())},it.prototype.sqr=function(m){return this.mul(m,m)},it.prototype.sqrt=function(m){if(m.isZero())return m.clone();var b=this.m.andln(3);if(r(b%2===1),b===3){var A=this.m.add(new i(1)).iushrn(2);return this.pow(m,A)}for(var L=this.m.subn(1),q=0;!L.isZero()&&L.andln(1)===0;)q++,L.iushrn(1);r(!L.isZero());var J=new i(1).toRed(this),ie=J.redNeg(),Y=this.m.subn(1).iushrn(1),O=this.m.bitLength();for(O=new i(2*O*O).toRed(this);this.pow(O,Y).cmp(ie)!==0;)O.redIAdd(ie);for(var z=this.pow(O,L),He=this.pow(m,L.addn(1).iushrn(1)),ne=this.pow(m,L),I=q;ne.cmp(J)!==0;){for(var B=ne,Z=0;B.cmp(J)!==0;Z++)B=B.redSqr();r(Z<I);var _e=this.pow(z,new i(1).iushln(I-Z-1));He=He.redMul(_e),z=_e.redSqr(),ne=ne.redMul(z),I=Z;}return He},it.prototype.invm=function(m){var b=m._invmp(this.m);return b.negative!==0?(b.negative=0,this.imod(b).redNeg()):this.imod(b)},it.prototype.pow=function(m,b){if(b.isZero())return new i(1).toRed(this);if(b.cmpn(1)===0)return m.clone();var A=4,L=new Array(1<<A);L[0]=new i(1).toRed(this),L[1]=m;for(var q=2;q<L.length;q++)L[q]=this.mul(L[q-1],m);var J=L[0],ie=0,Y=0,O=b.bitLength()%26;for(O===0&&(O=26),q=b.length-1;q>=0;q--){for(var z=b.words[q],He=O-1;He>=0;He--){var ne=z>>He&1;if(J!==L[0]&&(J=this.sqr(J)),ne===0&&ie===0){Y=0;continue}ie<<=1,ie|=ne,Y++,!(Y!==A&&(q!==0||He!==0))&&(J=this.mul(J,L[ie]),Y=0,ie=0);}O=26;}return J},it.prototype.convertTo=function(m){var b=m.umod(this.m);return b===m?b.clone():b},it.prototype.convertFrom=function(m){var b=m.clone();return b.red=null,b},i.mont=function(m){return new tt(m)};function tt(k){it.call(this,k),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(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);}n(tt,it),tt.prototype.convertTo=function(m){return this.imod(m.ushln(this.shift))},tt.prototype.convertFrom=function(m){var b=this.imod(m.mul(this.rinv));return b.red=null,b},tt.prototype.imul=function(m,b){if(m.isZero()||b.isZero())return m.words[0]=0,m.length=1,m;var A=m.imul(b),L=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=A.isub(L).iushrn(this.shift),J=q;return q.cmp(this.m)>=0?J=q.isub(this.m):q.cmpn(0)<0&&(J=q.iadd(this.m)),J._forceRed(this)},tt.prototype.mul=function(m,b){if(m.isZero()||b.isZero())return new i(0)._forceRed(this);var A=m.mul(b),L=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=A.isub(L).iushrn(this.shift),J=q;return q.cmp(this.m)>=0?J=q.isub(this.m):q.cmpn(0)<0&&(J=q.iadd(this.m)),J._forceRed(this)},tt.prototype.invm=function(m){var b=this.imod(m._invmp(this.m).mul(this.r2));return b._forceRed(this)};})(typeof vw=="undefined"||vw,FC);});var $C=H((One,HC)=>{function Rq(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),r=0;r<e.length;r++)e[r]=255;for(var n=0;n<t.length;n++){var i=t.charAt(n),o=i.charCodeAt(0);if(e[o]!==255)throw new TypeError(i+" is ambiguous");e[o]=n;}var u=t.length,f=t.charAt(0),g=Math.log(u)/Math.log(256),v=Math.log(256)/Math.log(u);function T(M){if(M instanceof Uint8Array||(ArrayBuffer.isView(M)?M=new Uint8Array(M.buffer,M.byteOffset,M.byteLength):Array.isArray(M)&&(M=Uint8Array.from(M))),!(M instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(M.length===0)return "";for(var W=0,se=0,le=0,ue=M.length;le!==ue&&M[le]===0;)le++,W++;for(var ge=(ue-le)*v+1>>>0,we=new Uint8Array(ge);le!==ue;){for(var ve=M[le],Te=0,Me=ge-1;(ve!==0||Te<se)&&Me!==-1;Me--,Te++)ve+=256*we[Me]>>>0,we[Me]=ve%u>>>0,ve=ve/u>>>0;if(ve!==0)throw new Error("Non-zero carry");se=Te,le++;}for(var Oe=ge-se;Oe!==ge&&we[Oe]===0;)Oe++;for(var je=f.repeat(W);Oe<ge;++Oe)je+=t.charAt(we[Oe]);return je}function D(M){if(typeof M!="string")throw new TypeError("Expected String");if(M.length===0)return new Uint8Array;for(var W=0,se=0,le=0;M[W]===f;)se++,W++;for(var ue=(M.length-W)*g+1>>>0,ge=new Uint8Array(ue);M[W];){var we=e[M.charCodeAt(W)];if(we===255)return;for(var ve=0,Te=ue-1;(we!==0||ve<le)&&Te!==-1;Te--,ve++)we+=u*ge[Te]>>>0,ge[Te]=we%256>>>0,we=we/256>>>0;if(we!==0)throw new Error("Non-zero carry");le=ve,W++;}for(var Me=ue-le;Me!==ue&&ge[Me]===0;)Me++;for(var Oe=new Uint8Array(se+(ue-Me)),je=se;Me!==ue;)Oe[je++]=ge[Me++];return Oe}function R(M){var W=D(M);if(W)return W;throw new Error("Non-base"+u+" character")}return {encode:T,decodeUnsafe:D,decode:R}}HC.exports=Rq;});var VC=H((Tne,zC)=>{var Aq=$C(),Mq="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";zC.exports=Aq(Mq);});var Sw=H((Qne,eO)=>{var QC=Object.getOwnPropertySymbols,zq=Object.prototype.hasOwnProperty,Vq=Object.prototype.propertyIsEnumerable;function Wq(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function Gq(){try{if(!Object.assign)return !1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return !1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(e).map(function(o){return e[o]});if(n.join("")!=="0123456789")return !1;var i={};return "abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o;}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch(o){return !1}}eO.exports=Gq()?Object.assign:function(t,e){for(var r,n=Wq(t),i,o=1;o<arguments.length;o++){r=Object(arguments[o]);for(var u in r)zq.call(r,u)&&(n[u]=r[u]);if(QC){i=QC(r);for(var f=0;f<i.length;f++)Vq.call(r,i[f])&&(n[i[f]]=r[i[f]]);}}return n};});var gO=H(zr=>{var xw=Sw(),Up=60103,nO=60106;zr.Fragment=60107;zr.StrictMode=60108;zr.Profiler=60114;var iO=60109,oO=60110,sO=60112;zr.Suspense=60113;var aO=60115,uO=60116;typeof Symbol=="function"&&Symbol.for&&(Ga=Symbol.for,Up=Ga("react.element"),nO=Ga("react.portal"),zr.Fragment=Ga("react.fragment"),zr.StrictMode=Ga("react.strict_mode"),zr.Profiler=Ga("react.profiler"),iO=Ga("react.provider"),oO=Ga("react.context"),sO=Ga("react.forward_ref"),zr.Suspense=Ga("react.suspense"),aO=Ga("react.memo"),uO=Ga("react.lazy"));var Ga,tO=typeof Symbol=="function"&&Symbol.iterator;function Yq(t){return t===null||typeof t!="object"?null:(t=tO&&t[tO]||t["@@iterator"],typeof t=="function"?t:null)}function Tg(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return "Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var lO={isMounted:function(){return !1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},cO={};function Hp(t,e,r){this.props=t,this.context=e,this.refs=cO,this.updater=r||lO;}Hp.prototype.isReactComponent={};Hp.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error(Tg(85));this.updater.enqueueSetState(this,t,e,"setState");};Hp.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate");};function fO(){}fO.prototype=Hp.prototype;function Cw(t,e,r){this.props=t,this.context=e,this.refs=cO,this.updater=r||lO;}var Ow=Cw.prototype=new fO;Ow.constructor=Cw;xw(Ow,Hp.prototype);Ow.isPureReactComponent=!0;var Tw={current:null},hO=Object.prototype.hasOwnProperty,dO={key:!0,ref:!0,__self:!0,__source:!0};function pO(t,e,r){var n,i={},o=null,u=null;if(e!=null)for(n in e.ref!==void 0&&(u=e.ref),e.key!==void 0&&(o=""+e.key),e)hO.call(e,n)&&!dO.hasOwnProperty(n)&&(i[n]=e[n]);var f=arguments.length-2;if(f===1)i.children=r;else if(1<f){for(var g=Array(f),v=0;v<f;v++)g[v]=arguments[v+2];i.children=g;}if(t&&t.defaultProps)for(n in f=t.defaultProps,f)i[n]===void 0&&(i[n]=f[n]);return {$$typeof:Up,type:t,key:o,ref:u,props:i,_owner:Tw.current}}function Zq(t,e){return {$$typeof:Up,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function Rw(t){return typeof t=="object"&&t!==null&&t.$$typeof===Up}function Kq(t){var e={"=":"=0",":":"=2"};return "$"+t.replace(/[=:]/g,function(r){return e[r]})}var rO=/\/+/g;function Dw(t,e){return typeof t=="object"&&t!==null&&t.key!=null?Kq(""+t.key):e.toString(36)}function uy(t,e,r,n,i){var o=typeof t;(o==="undefined"||o==="boolean")&&(t=null);var u=!1;if(t===null)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(t.$$type