1try{!function(){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},i=(new t.Error).stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="e4715ec2-9f3c-4465-a86e-80ab11471327",t._sentryDebugIdIdentifier="sentry-dbid-e4715ec2-9f3c-4465-a86e-80ab11471327")}()}catch(t){}!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=function(t){for(var i=1;i<arguments.length;i++){var r=arguments[i];if(null!=r)for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e])}return t}({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:quickswap-dapp":!0})}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7152],{15794:(t,i,r)=>{"use strict";var e=r(43071),h=r(19267);function n(){if(!(this instanceof n))return new n;h.call(this),this.h=[0xcbbb9d5d,0xc1059ed8,0x629a292a,0x367cd507,0x9159015a,0x3070dd17,0x152fecd8,0xf70e5939,0x67332667,0xffc00b31,0x8eb44a87,0x68581511,0xdb0c2e0d,0x64f98fa7,0x47b5481d,0xbefa4fa4]}e.inherits(n,h),t.exports=n,n.blockSize=1024,n.outSize=384,n.hmacStrength=192,n.padLength=128,n.prototype._digest=function(t){return"hex"===t?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")}},19267:(t,i,r)=>{"use strict";var e=r(43071),h=r(97523),n=r(59478),s=e.rotr64_hi,o=e.rotr64_lo,f=e.shr64_hi,u=e.shr64_lo,a=e.sum64,l=e.sum64_hi,d=e.sum64_lo,m=e.sum64_4_hi,c=e.sum64_4_lo,p=e.sum64_5_hi,g=e.sum64_5_lo,x=h.BlockHash,v=[0x428a2f98,0xd728ae22,0x71374491,0x23ef65cd,0xb5c0fbcf,0xec4d3b2f,0xe9b5dba5,0x8189dbbc,0x3956c25b,0xf348b538,0x59f111f1,0xb605d019,0x923f82a4,0xaf194f9b,0xab1c5ed5,0xda6d8118,0xd807aa98,0xa3030242,0x12835b01,0x45706fbe,0x243185be,0x4ee4b28c,0x550c7dc3,0xd5ffb4e2,0x72be5d74,0xf27b896f,0x80deb1fe,0x3b1696b1,0x9bdc06a7,0x25c71235,0xc19bf174,0xcf692694,0xe49b69c1,0x9ef14ad2,0xefbe4786,0x384f25e3,0xfc19dc6,0x8b8cd5b5,0x240ca1cc,0x77ac9c65,0x2de92c6f,0x592b0275,0x4a7484aa,0x6ea6e483,0x5cb0a9dc,0xbd41fbd4,0x76f988da,0x831153b5,0x983e5152,0xee66dfab,0xa831c66d,0x2db43210,0xb00327c8,0x98fb213f,0xbf597fc7,0xbeef0ee4,0xc6e00bf3,0x3da88fc2,0xd5a79147,0x930aa725,0x6ca6351,0xe003826f,0x14292967,0xa0e6e70,0x27b70a85,0x46d22ffc,0x2e1b2138,0x5c26c926,0x4d2c6dfc,0x5ac42aed,0x53380d13,0x9d95b3df,0x650a7354,0x8baf63de,0x766a0abb,0x3c77b2a8,0x81c2c92e,0x47edaee6,0x92722c85,0x1482353b,0xa2bfe8a1,0x4cf10364,0xa81a664b,0xbc423001,0xc24b8b70,0xd0f89791,0xc76c51a3,0x654be30,0xd192e819,0xd6ef5218,0xd6990624,0x5565a910,0xf40e3585,0x5771202a,0x106aa070,0x32bbd1b8,0x19a4c116,0xb8d2d0c8,0x1e376c08,0x5141ab53,0x2748774c,0xdf8eeb99,0x34b0bcb5,0xe19b48a8,0x391c0cb3,0xc5c95a63,0x4ed8aa4a,0xe3418acb,0x5b9cca4f,0x7763e373,0x682e6ff3,0xd6b2b8a3,0x748f82ee,0x5defb2fc,0x78a5636f,0x43172f60,0x84c87814,0xa1f0ab72,0x8cc70208,0x1a6439ec,0x90befffa,0x23631e28,0xa4506ceb,0xde82bde9,0xbef9a3f7,0xb2c67915,0xc67178f2,0xe372532b,0xca273ece,0xea26619c,0xd186b8c7,0x21c0c207,0xeada7dd6,0xcde0eb1e,0xf57d4f7f,0xee6ed178,0x6f067aa,0x72176fba,0xa637dc5,0xa2c898a6,0x113f9804,0xbef90dae,0x1b710b35,0x131c471b,0x28db77f5,0x23047d84,0x32caab7b,0x40c72493,0x3c9ebe0a,0x15c9bebc,0x431d67c4,0x9c100d4c,0x4cc5d4be,0xcb3e42b6,0x597f299c,0xfc657e2a,0x5fcb6fab,0x3ad6faec,0x6c44198c,0x4a475817];function M(){if(!(this instanceof M))return new M;x.call(this),this.h=[0x6a09e667,0xf3bcc908,0xbb67ae85,0x84caa73b,0x3c6ef372,0xfe94f82b,0xa54ff53a,0x5f1d36f1,0x510e527f,0xade682d1,0x9b05688c,0x2b3e6c1f,0x1f83d9ab,0xfb41bd6b,0x5be0cd19,0x137e2179],this.k=v,this.W=Array(160)}e.inherits(M,x),t.exports=M,M.blockSize=1024,M.outSize=512,M.hmacStrength=192,M.padLength=128,M.prototype._prepareBlock=function(t,i){for(var r=this.W,e=0;e<32;e++)r[e]=t[i+e];for(;e<r.length;e+=2){var h=function(t,i){var r=s(t,i,19)^s(i,t,29)^f(t,i,6);return r<0&&(r+=0x100000000),r}(r[e-4],r[e-3]),n=function(t,i){var r=o(t,i,19)^o(i,t,29)^u(t,i,6);return r<0&&(r+=0x100000000),r}(r[e-4],r[e-3]),a=r[e-14],l=r[e-13],d=function(t,i){var r=s(t,i,1)^s(t,i,8)^f(t,
1i,7);return r<0&&(r+=0x100000000),r}(r[e-30],r[e-29]),p=function(t,i){var r=o(t,i,1)^o(t,i,8)^u(t,i,7);return r<0&&(r+=0x100000000),r}(r[e-30],r[e-29]),g=r[e-32],x=r[e-31];r[e]=m(h,n,a,l,d,p,g,x),r[e+1]=c(h,n,a,l,d,p,g,x)}},M.prototype._update=function(t,i){this._prepareBlock(t,i);var r=this.W,e=this.h[0],h=this.h[1],f=this.h[2],u=this.h[3],m=this.h[4],c=this.h[5],x=this.h[6],v=this.h[7],M=this.h[8],b=this.h[9],y=this.h[10],w=this.h[11],_=this.h[12],k=this.h[13],S=this.h[14],A=this.h[15];n(this.k.length===r.length);for(var z=0;z<r.length;z+=2){var B=S,L=A,q=function(t,i){var r=s(t,i,14)^s(t,i,18)^s(i,t,9);return r<0&&(r+=0x100000000),r}(M,b),R=function(t,i){var r=o(t,i,14)^o(t,i,18)^o(i,t,9);return r<0&&(r+=0x100000000),r}(M,b),Z=function(t,i,r,e,h){var n=t&r^~t&h;return n<0&&(n+=0x100000000),n}(M,0,y,0,_,k),E=function(t,i,r,e,h,n){var s=i&e^~i&n;return s<0&&(s+=0x100000000),s}(0,b,0,w,0,k),I=this.k[z],N=this.k[z+1],H=r[z],T=r[z+1],j=p(B,L,q,R,Z,E,I,N,H,T),O=g(B,L,q,R,Z,E,I,N,H,T);B=function(t,i){var r=s(t,i,28)^s(i,t,2)^s(i,t,7);return r<0&&(r+=0x100000000),r}(e,h),L=function(t,i){var r=o(t,i,28)^o(i,t,2)^o(i,t,7);return r<0&&(r+=0x100000000),r}(e,h);var C=l(B,L,q=function(t,i,r,e,h){var n=t&r^t&h^r&h;return n<0&&(n+=0x100000000),n}(e,0,f,0,m,c),R=function(t,i,r,e,h,n){var s=i&e^i&n^e&n;return s<0&&(s+=0x100000000),s}(0,h,0,u,0,c)),W=d(B,L,q,R);S=_,A=k,_=y,k=w,y=M,w=b,M=l(x,v,j,O),b=d(v,v,j,O),x=m,v=c,m=f,c=u,f=e,u=h,e=l(j,O,C,W),h=d(j,O,C,W)}a(this.h,0,e,h),a(this.h,2,f,u),a(this.h,4,m,c),a(this.h,6,x,v),a(this.h,8,M,b),a(this.h,10,y,w),a(this.h,12,_,k),a(this.h,14,S,A)},M.prototype._digest=function(t){return"hex"===t?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},20072:(t,i,r)=>{"use strict";var e=r(43071),h=r(97523),n=r(40012),s=e.rotl32,o=e.sum32,f=e.sum32_5,u=n.ft_1,a=h.BlockHash,l=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6];function d(){if(!(this instanceof d))return new d;a.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.W=Array(80)}e.inherits(d,a),t.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(t,i){for(var r=this.W,e=0;e<16;e++)r[e]=t[i+e];for(;e<r.length;e++)r[e]=s(r[e-3]^r[e-8]^r[e-14]^r[e-16],1);var h=this.h[0],n=this.h[1],a=this.h[2],d=this.h[3],m=this.h[4];for(e=0;e<r.length;e++){var c=~~(e/20),p=f(s(h,5),u(c,n,a,d),m,r[e],l[c]);m=d,d=a,a=s(n,30),n=h,h=p}this.h[0]=o(this.h[0],h),this.h[1]=o(this.h[1],n),this.h[2]=o(this.h[2],a),this.h[3]=o(this.h[3],d),this.h[4]=o(this.h[4],m)},d.prototype._digest=function(t){return"hex"===t?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},33696:(t,i,r)=>{"use strict";i.sha1=r(20072),i.sha224=r(79903),i.sha256=r(87226),i.sha384=r(15794),i.sha512=r(19267)},40012:(t,i,r)=>{"use strict";var e=r(43071).rotr32;function h(t,i,r){return t&i^t&r^i&r}i.ft_1=function(t,i,r,e){var n;return 0===t?(n=i)&r^~n&e:1===t||3===t?i^r^e:2===t?h(i,r,e):void 0},i.ch32=function(t,i,r){return t&i^~t&r},i.maj32=h,i.p32=function(t,i,r){return t^i^r},i.s0_256=function(t){return e(t,2)^e(t,13)^e(t,22)},i.s1_256=function(t){return e(t,6)^e(t,11)^e(t,25)},i.g0_256=function(t){return e(t,7)^e(t,18)^t>>>3},i.g1_256=function(t){return e(t,17)^e(t,19)^t>>>10}},41485:(t,i,r)=>{i.utils=r(43071),i.common=r(97523),i.sha=r(33696),i.ripemd=r(52045),i.hmac=r(42497),i.sha1=i.sha.sha1,i.sha256=i.sha.sha256,i.sha224=i.sha.sha224,i.sha384=i.sha.sha384,i.sha512=i.sha.sha512,i.ripemd160=i.ripemd.ripemd160},42497:(t,i,r)=>{"use strict";var e=r(43071),h=r(59478);function n(t,i,r){if(!(this instanceof n))return new n(t,i,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(i,r))}t.exports=n,n.prototype._init=function(t){t.length>this.blockSize&&(t=new this.Hash().update(t).digest()),h(t.length<=this.blockSize);for(var i=t.length;i<this.blockSize;i++)t.push(0);for(i=0;i<t.length;i++)t[i]^=54;for(i=0,this.inner=new this.Hash().update(t);i<t.length;i++)t[i]^=106;this.outer=new this.Hash().update(t)},n.prototype.update=function(t,i){return this.inner.update(t,i),this},n.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},43071:(t,i,r)=>{"use strict";var e=r(59478);function h(t){return(t>>>24|t>>>8&65280|t<<8&0xff0000|(255&t)<<24)>>>0}function n(t){return 1===t.length?"0"+t:t}function s(t){if(7===t.length)return"0"+t;if(6===t.length)return"00"+t;if(5===t.length)return"000"+t;if(4===t.length)return"0000"+t;if(3===t.length)return"00000"+t;else if(2===t.length)return"000000"+t;else if(1===t.length)return"0000000"+t;else return t}i.inherits=r(76063),i.toArray=function(t,i){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"==typeof t)if(i){if("hex"===i)for((t=t.replace(/[^a-z0-9]+/ig,"")).length%2!=0&&(t="0"+t),h=0;h<t.length;h+=2)r.push(parseInt(t[h]+t[h+1],16))}else for(var e=0,h=0;h<t.length;h++){var n,s,o=t.charCodeAt(h);o<128?r[e++]=o:(o<2048?r[e++]=o>>
16|192:((n=t,s=h,(64512&n.charCodeAt(s))!=55296||s<0||s+1>=n.length?1:(64512&n.charCodeAt(s+1))!=56320)?r[e++]=o>>12|224:(o=65536+((1023&o)<<10)+(1023&t.charCodeAt(++h)),r[e++]=o>>18|240,r[e++]=o>>12&63|128),r[e++]=o>>6&63|128),r[e++]=63&o|128)}else for(h=0;h<t.length;h++)r[h]=0|t[h];return r},i.toHex=function(t){for(var i="",r=0;r<t.length;r++)i+=n(t[r].toString(16));return i},i.htonl=h,i.toHex32=function(t,i){for(var r="",e=0;e<t.length;e++){var n=t[e];"little"===i&&(n=h(n)),r+=s(n.toString(16))}return r},i.zero2=n,i.zero8=s,i.join32=function(t,i,r,h){var n,s=r-i;e(s%4==0);for(var o=Array(s/4),f=0,u=i;f<o.length;f++,u+=4)n="big"===h?t[u]<<24|t[u+1]<<16|t[u+2]<<8|t[u+3]:t[u+3]<<24|t[u+2]<<16|t[u+1]<<8|t[u],o[f]=n>>>0;return o},i.split32=function(t,i){for(var r=Array(4*t.length),e=0,h=0;e<t.length;e++,h+=4){var n=t[e];"big"===i?(r[h]=n>>>24,r[h+1]=n>>>16&255,r[h+2]=n>>>8&255,r[h+3]=255&n):(r[h+3]=n>>>24,r[h+2]=n>>>16&255,r[h+1]=n>>>8&255,r[h]=255&n)}return r},i.rotr32=function(t,i){return t>>>i|t<<32-i},i.rotl32=function(t,i){return t<<i|t>>>32-i},i.sum32=function(t,i){return t+i>>>0},i.sum32_3=function(t,i,r){return t+i+r>>>0},i.sum32_4=function(t,i,r,e){return t+i+r+e>>>0},i.sum32_5=function(t,i,r,e,h){return t+i+r+e+h>>>0},i.sum64=function(t,i,r,e){var h=t[i],n=e+t[i+1]>>>0;t[i]=+(n<e)+r+h>>>0,t[i+1]=n},i.sum64_hi=function(t,i,r,e){return+(i+e>>>0<i)+t+r>>>0},i.sum64_lo=function(t,i,r,e){return i+e>>>0},i.sum64_4_hi=function(t,i,r,e,h,n,s,o){var f,u=i;return t+r+h+s+(f=0+ +((u=u+e>>>0)<i)+ +((u=u+n>>>0)<n)+ +((u=u+o>>>0)<o))>>>0},i.sum64_4_lo=function(t,i,r,e,h,n,s,o){return i+e+n+o>>>0},i.sum64_5_hi=function(t,i,r,e,h,n,s,o,f,u){var a,l=i;return t+r+h+s+f+(a=0+ +((l=l+e>>>0)<i)+ +((l=l+n>>>0)<n)+ +((l=l+o>>>0)<o)+ +((l=l+u>>>0)<u))>>>0},i.sum64_5_lo=function(t,i,r,e,h,n,s,o,f,u){return i+e+n+o+u>>>0},i.rotr64_hi=function(t,i,r){return(i<<32-r|t>>>r)>>>0},i.rotr64_lo=function(t,i,r){return(t<<32-r|i>>>r)>>>0},i.shr64_hi=function(t,i,r){return t>>>r},i.shr64_lo=function(t,i,r){return(t<<32-r|i>>>r)>>>0}},52045:(t,i,r)=>{"use strict";var e=r(43071),h=r(97523),n=e.rotl32,s=e.sum32,o=e.sum32_3,f=e.sum32_4,u=h.BlockHash;function a(){if(!(this instanceof a))return new a;u.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.endian="little"}function l(t,i,r,e){return t<=15?i^r^e:t<=31?i&r|~i&e:t<=47?(i|~r)^e:t<=63?i&e|r&~e:i^(r|~e)}e.inherits(a,u),i.ripemd160=a,a.blockSize=512,a.outSize=160,a.hmacStrength=192,a.padLength=64,a.prototype._update=function(t,i){for(var r=this.h[0],e=this.h[1],h=this.h[2],u=this.h[3],a=this.h[4],g=r,x=e,v=h,M=u,b=a,y=0;y<80;y++){var w,_,k=s(n(f(r,l(y,e,h,u),t[d[y]+i],(w=y)<=15?0:w<=31?0x5a827999:w<=47?0x6ed9eba1:w<=63?0x8f1bbcdc:0xa953fd4e),c[y]),a);r=a,a=u,u=n(h,10),h=e,e=k,k=s(n(f(g,l(79-y,x,v,M),t[m[y]+i],(_=y)<=15?0x50a28be6:_<=31?0x5c4dd124:_<=47?0x6d703ef3:0x7a6d76e9*!!(_<=63)),p[y]),b),g=b,b=M,M=n(v,10),v=x,x=k}k=o(this.h[1],h,M),this.h[1]=o(this.h[2],u,b),this.h[2]=o(this.h[3],a,g),this.h[3]=o(this.h[4],r,x),this.h[4]=o(this.h[0],e,v),this.h[0]=k},a.prototype._digest=function(t){return"hex"===t?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var d=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],p=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},59478:t=>{function i(t,i){if(!t)throw Error(i||"Assertion failed")}t.exports=i,i.equal=function(t,i,r){if(t!=i)throw Error(r||"Assertion failed: "+t+" != "+i)}},59870:function(t,i,r){!function(t,i){"use strict";function e(t,i){if(!t)throw Error(i||"Assertion failed")}function h(t,i){t.super_=i;var r=function(){};r.prototype=i.prototype,t.prototype=new r,t.prototype.constructor=t}function n(t,i,r){if(n.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"))}
vendor: 45,112 bytes, line 1
1"object"==typeof t?t.exports=n:i.BN=n,n.BN=n,n.wordSize=26;try{l="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(39322).Buffer}catch(t){}function s(t,i){var r=t.charCodeAt(i);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void e(!1,"Invalid character in "+t)}function o(t,i,r){var e=s(t,r);return r-1>=i&&(e|=s(t,r-1)<<4),e}function f(t,i,r,h){for(var n=0,s=0,o=Math.min(t.length,r),f=i;f<o;f++){var u=t.charCodeAt(f)-48;n*=h,s=u>=49?u-49+10:u>=17?u-17+10:u,e(u>=0&&s<h,"Invalid character"),n+=s}return n}function u(t,i){t.words=i.words,t.length=i.length,t.negative=i.negative,t.red=i.red}if(n.isBN=function(t){return t instanceof n||null!==t&&"object"==typeof t&&t.constructor.wordSize===n.wordSize&&Array.isArray(t.words)},n.max=function(t,i){return t.cmp(i)>0?t:i},n.min=function(t,i){return 0>t.cmp(i)?t:i},n.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 h=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<t.length&&(16===i?this._parseHex(t,h,r):(this._parseBase(t,i,h),"le"===r&&this._initArray(this.toArray(),i,r)))},n.prototype._initNumber=function(t,i,r){t<0&&(this.negative=1,t=-t),t<0x4000000?(this.words=[0x3ffffff&t],this.length=1):t<0x10000000000000?(this.words=[0x3ffffff&t,t/0x4000000&0x3ffffff],this.length=2):(e(t<0x20000000000000),this.words=[0x3ffffff&t,t/0x4000000&0x3ffffff,1],this.length=3),"le"===r&&this._initArray(this.toArray(),i,r)},n.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=Array(this.length);for(var h,n,s=0;s<this.length;s++)this.words[s]=0;var o=0;if("be"===r)for(s=t.length-1,h=0;s>=0;s-=3)n=t[s]|t[s-1]<<8|t[s-2]<<16,this.words[h]|=n<<o&0x3ffffff,this.words[h+1]=n>>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,h++);else if("le"===r)for(s=0,h=0;s<t.length;s+=3)n=t[s]|t[s+1]<<8|t[s+2]<<16,this.words[h]|=n<<o&0x3ffffff,this.words[h+1]=n>>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,h++);return this._strip()},n.prototype._parseHex=function(t,i,r){this.length=Math.ceil((t.length-i)/6),this.words=Array(this.length);for(var e,h=0;h<this.length;h++)this.words[h]=0;var n=0,s=0;if("be"===r)for(h=t.length-1;h>=i;h-=2)e=o(t,i,h)<<n,this.words[s]|=0x3ffffff&e,n>=18?(n-=18,s+=1,this.words[s]|=e>>>26):n+=8;else for(h=(t.length-i)%2==0?i+1:i;h<t.length;h+=2)e=o(t,i,h)<<n,this.words[s]|=0x3ffffff&e,n>=18?(n-=18,s+=1,this.words[s]|=e>>>26):n+=8;this._strip()},n.prototype._parseBase=function(t,i,r){this.words=[0],this.length=1;for(var e=0,h=1;h<=0x3ffffff;h*=i)e++;e--,h=h/i|0;for(var n=t.length-r,s=n%e,o=Math.min(n,n-s)+r,u=0,a=r;a<o;a+=e)u=f(t,a,a+e,i),this.imuln(h),this.words[0]+u<0x4000000?this.words[0]+=u:this._iaddn(u);if(0!==s){var l=1;for(u=f(t,a,t.length,i),a=0;a<s;a++)l*=i;this.imuln(l),this.words[0]+u<0x4000000?this.words[0]+=u:this._iaddn(u)}this._strip()},n.prototype.copy=function(t){t.words=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},n.prototype._move=function(t){u(t,this)},n.prototype.clone=function(){var t=new n(null);return this.copy(t),t},n.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},n.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},n.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{n.prototype[Symbol.for("nodejs.util.inspect.custom")]=a}catch(t){n.prototype.inspect=a}else n.prototype.inspect=a;function a(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var l,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"],m=[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],c=[0,0,0x2000000,0x290d741,0x1000000,0x2e90edd,0x39aa400,0x267bf47,0x1000000,0x290d741,1e7,0x12959c3,0x222c000,0x3bd7765,7529536,0xadcea1,0x1000000,0x1704f61,0x206fc40,0x2cddcf9,64e6,4084101,5153632,6436343,7962624,9765625,0xb54ba0,0xdaf26b,0x1069c00,0x138f9ad,243e5,0x1b4d89f,0x2000000,0x25528a1,0x2b54a20,0x3216b93,0x39aa400];function p(t,i,r){r.negative=i.negative^t.negative;var e=t.length+i.length|0;r.length=e,e=e-1|0;var h=0|t.words[0],n=0|i.words[0],s=h*n,o=0x3ffffff&s,f=s/0x4000000|0;r.words[0]=o;for(var u=1;u<e;u++){for(var a=f>>>26,l=0x3ffffff&f,d=Math.min(u,i.length-1),m=Math.max(0,u-t.length+1);m<=d;m++){var c=u-m|0;a+=(s=(h=0|t.words[c])*(n=0|i.words[m])+l)/0x4000000|0,l=0x3ffffff&s}r.words[u]=0|l,f=0|a}return 0!==f?r.words[u]=0|f:r.length--,r._strip()}n.prototype.toString=function(t,i){if(i=0|i||1,16===(t=t||10)||"hex"===t){for(var r="",h=0,n=0,s=0;s<this.length;s++){var o=this.words[s],f=((o<<h|n)&0xffffff).toString(16);n=o>>>24-h&0xffffff,(h+=2)>=26&&(h-=26,s--),r=0!==n||s!==this.length-1?d[6-f.length]+f+r:f+r}for(0!==n&&(r=n.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 u=m[t],a=c[t];r="";var l=this.clone();for(l.negative=0;!l.isZero();){var p=l.modrn(a).toString(t);r=(l=l.idivn(a)).isZero()?p+r:d[u-p.length]+p+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")},n.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?t+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&e(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},n.prototype.toJSON=function(){return this.toString(16,2)},l&&(n.prototype.toBuffer=function(t,i){return this.toArrayLike(l,t,i)}),n.prototype.toArray=function(t,i){return this.toArrayLike(Array,t,i)},n.prototype.toArrayLike=function(t,i,r){this._strip();var h=this.byteLength(),n=r||Math.max(1,h);e(h<=n,"byte array longer than desired length"),e(n>0,"Requested array length <= 0");var s=t.allocUnsafe?t.allocUnsafe(n):new t(n);return this["_toArrayLike"+("le"===i?"LE":"BE")](s,h),s},n.prototype._toArrayLikeLE=function(t,i){for(var r=0,e=0,h=0,n=0;h<this.length;h++){var s=this.words[h]<<n|e;t[r++]=255&s,r<t.length&&(t[r++]=s>>8&255),r<t.length&&(t[r++]=s>>16&255),6===n?(r<t.length&&(t[r++]=s>>24&255),e=0,n=0):(e=s>>>24,n+=2)}if(r<t.length)for(t[r++]=e;r<t.length;)t[r++]=0},n.prototype._toArrayLikeBE=function(t,i){for(var r=t.length-1,e=0,h=0,n=0;h<this.length;h++){var s=this.words[h]<<n|e;t[r--]=255&s,r>=0&&(t[r--]=s>>8&255),r>=0&&(t[r--]=s>>16&255),6===n?(r>=0&&(t[r--]=s>>24&255),e=0,n=0):(e=s>>>24,n+=2)}if(r>=0)for(t[r--]=e;r>=0;)t[r--]=0},Math.clz32?n.prototype._countBits=function(t){return 32-Math.clz32(t)}:n.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},n.prototype._zeroBits=function(t){if(0===t)return 26;var i=t,r=0;return(8191&i)==0&&(r+=13,i>>>=13),(127&i)==0&&(r+=7,i>>>=7),(15&i)==0&&(r+=4,i>>>=4),(3&i)==0&&(r+=2,i>>>=2),(1&i)==0&&r++,r},n.prototype.bitLength=function(){var t=this.words[this.length-1],i=this._countBits(t);return(this.length-1)*26+i},n.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},n.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},n.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},n.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},n.prototype.isNeg=function(){return 0!==this.negative},n.prototype.neg=function(){return this.clone().ineg()},n.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},n.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()},n.prototype.ior=function(t){return e((this.negative|t.negative)==0),this.iuor(t)},n.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},n.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},n.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()},n.prototype.iand=function(t){return e((this.negative|t.negative)==0),this.iuand(t)},n.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},n.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},n.prototype.iuxor=function(t){this.length>t.length?(i=this,r=t):(i=t,r=this);for(var i,r,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()},n.prototype.ixor=function(t){return e((this.negative|t.negative)==0),this.iuxor(t)},n.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},n.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},n.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 h=0;h<i;h++)this.words[h]=0x3ffffff&~this.words[h];return r>0&&(this.words[h]=~this.words[h]&0x3ffffff>>26-r),this._strip()},n.prototype.notn=function(t){return this.clone().inotn(t)},n.prototype.setn=function(t,i){e("number"==typeof t&&t>=0);var r=t/26|0,h=t%26;return this._expand(r+1),i?this.words[r]=this.words[r]|1<<h:this.words[r]=this.words[r]&~(1<<h),this._strip()},n.prototype.iadd=function(t){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 i,r,e,h=0,n=0;n<e.length;n++)i=(0|r.words[n])+(0|e.words[n])+h,this.words[n]=0x3ffffff&i,h=i>>>26;for(;0!==h&&n<r.length;n++)i=(0|r.words[n])+h,this.words[n]=0x3ffffff&i,h=i>>>26;if(this.length=r.length,0!==h)this.words[this.length]=h,this.length++;else if(r!==this)for(;n<r.length;n++)this.words[n]=r.words[n];return this},n.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)},n.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var i,r,e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var h=this.cmp(t);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(i=this,r=t):(i=t,r=this);for(var n=0,s=0;s<r.length;s++)n=(e=(0|i.words[s])-(0|r.words[s])+n)>>26,this.words[s]=0x3ffffff&e;for(;0!==n&&s<i.length;s++)n=(e=(0|i.words[s])+n)>>26,this.words[s]=0x3ffffff&e;if(0===n&&s<i.length&&i!==this)for(;s<i.length;s++)this.words[s]=i.words[s];return this.length=Math.max(this.length,s),i!==this&&(this.negative=1),this._strip()},n.prototype.sub=function(t){return this.clone().isub(t)};var g=function(t,i,r){var e,h,n,s=t.words,o=i.words,f=r.words,u=0,a=0|s[0],l=8191&a,d=a>>>13,m=0|s[1],c=8191&m,p=m>>>13,g=0|s[2],x=8191&g,v=g>>>13,M=0|s[3],b=8191&M,y=M>>>13,w=0|s[4],_=8191&w,k=w>>>13,S=0|s[5],A=8191&S,z=S>>>13,B=0|s[6],L=8191&B,q=B>>>13,R=0|s[7],Z=8191&R,E=R>>>13,I=0|s[8],N=8191&I,H=I>>>13,T=0|s[9],j=8191&T,O=T>>>13,C=0|o[0],W=8191&C,D=C>>>13,P=0|o[1],K=8191&P,F=P>>>13,U=0|o[2],J=8191&U,G=U>>>13,Q=0|o[3],V=8191&Q,X=Q>>>13,Y=0|o[4],$=8191&Y,tt=Y>>>13,ti=0|o[5],tr=8191&ti,te=ti>>>13,th=0|o[6],tn=8191&th,ts=th>>>13,to=0|o[7],tf=8191&to,tu=to>>>13,ta=0|o[8],tl=8191&ta,td=ta>>>13,tm=0|o[9],tc=8191&tm,tp=tm>>>13;r.negative=t.negative^i.negative,r.length=19,e=Math.imul(l,W);var tg=(u+e|0)+((8191&(h=(h=Math.imul(l,D))+Math.imul(d,W)|0))<<13)|0;u=((n=Math.imul(d,D))+(h>>>13)|0)+(tg>>>26)|0,tg&=0x3ffffff,e=Math.imul(c,W),h=(h=Math.imul(c,D))+Math.imul(p,W)|0,n=Math.imul(p,D),e=e+Math.imul(l,K)|0;var tx=(u+e|0)+((8191&(h=(h=h+Math.imul(l,F)|0)+Math.imul(d,K)|0))<<13)|0;u=((n=n+Math.imul(d,F)|0)+(h>>>13)|0)+(tx>>>26)|0,tx&=0x3ffffff,e=Math.imul(x,W),h=(h=Math.imul(x,D))+Math.imul(v,W)|0,n=Math.imul(v,D),e=e+Math.imul(c,K)|0,h=(h=h+Math.imul(c,F)|0)+Math.imul(p,K)|0,n=n+Math.imul(p,F)|0,e=e+Math.imul(l,J)|0;var tv=(u+e|0)+((8191&(h=(h=h+Math.imul(l,G)|0)+Math.imul(d,J)|0))<<13)|0;u=((n=n+Math.imul(d,G)|0)+(h>>>13)|0)+(tv>>>26)|0,tv&=0x3ffffff,e=Math.imul(b,W),h=(h=Math.imul(b,D))+Math.imul(y,W)|0,n=Math.imul(y,D),e=e+Math.imul(x,K)|0,h=(h=h+Math.imul(x,F)|0)+Math.imul(v,K)|0,n=n+Math.imul(v,F)|0,e=e+Math.imul(c,J)|0,h=(h=h+Math.imul(c,G)|0)+Math.imul(p,J)|0,n=n+Math.imul(p,G)|0,e=e+Math.imul(l,V)|0;var tM=(u+e|0)+((8191&(h=(h=h+Math.imul(l,X)|0)+Math.imul(d,V)|0))<<13)|0;u=((n=n+Math.imul(d,X)|0)+(h>>>13)|0)+(tM>>>26)|0,tM&=0x3ffffff,e=Math.imul(_,W),h=(h=Math.imul(_,D))+Math.imul(k,W)|0,n=Math.imul(k,D),e=e+Math.imul(b,K)|0,h=(h=h+Math.imul(b,F)|0)+Math.imul(y,K)|0,n=n+Math.imul(y,F)|0,e=e+Math.imul(x,J)|0,h=(h=h+Math.imul(x,G)|0)+Math.imul(v,J)|0,n=n+Math.imul(v,G)|0,e=e+Math.imul(c,V)|0,h=(h=h+Math.imul(c,X)|0)+Math.imul(p,V)|0,n=n+Math.imul(p,X)|0,e=e+Math.imul(l,$)|0;var tb=(u+e|0)+((8191&(h=(h=h+Math.imul(l,tt)|0)+Math.imul(d,$)|0))<<13)|0;u=((n=n+Math.imul(d,tt)|0)+(h>>>13)|0)+(tb>>>26)|0,tb&=0x3ffffff,e=Math.imul(A,W),h=(h=Math.imul(A,D))+Math.imul(z,W)|0,n=Math.imul(z,D),e=e+Math.imul(_,K)|0,h=(h=h+Math.imul(_,F)|0)+Math.imul(k,K)|0,n=n+Math.imul(k,F)|0,e=e+Math.imul(b,J)|0,h=(h=h+Math.imul(b,G)|0)+Math.imul(y,J)|0,n=n+Math.imul(y,G)|0,e=e+Math.imul(x,V)|0,h=(h=h+Math.imul(x,X)|0)+Math.imul(v,V)|0,n=n+Math.imul(v,X)|0,e=e+Math.imul(c,$)|0,h=(h=h+Math.imul(c,tt)|0)+Math.imul(p,$)|0,n=n+Math.imul(p,tt)|0,e=e+Math.imul(l,tr)|0;var ty=(u+e|0)+((8191&(h=(h=h+Math.imul(l,te)|0)+Math.imul(d,tr)|0))<<13)|0;u=((n=n+Math.imul(d,te)|0)+(h>>>13)|0)+(ty>>>26)|0,ty&=0x3ffffff,e=Math.imul(L,W),h=(h=Math.imul(L,D))+Math.imul(q,W)|0,n=Math.imul(q,D),e=e+Math.imul(A,K)|0,h=(h=h+Math.imul(A,F)|0)+Math.imul(z,K)|0,n=n+Math.imul(z,F)|0,e=e+Math.imul(_,J)|0,h=(h=h+Math.imul(_,G)|0)+Math.imul(k,J)|0,n=n+Math.imul(k,G)|0,e=e+Math.imul(b,V)|0,h=(h=h+Math.imul(b,X)|0)+Math.imul(y,V)|0,n=n+Math.imul(y,X)|0,e=e+Math.imul(x,$)|0,h=(h=h+Math.imul(x,tt)|0)+Math.imul(v,$)|0,n=n+Math.imul(v,tt)|0,e=e+Math.imul(c,tr)|0,h=(h=h+Math.imul(c,te)|0)+Math.imul(p,tr)|0,n=n+Math.imul(p,te)|0,e=e+Math.imul(l,tn)|0;var tw=(u+e|0)+((8191&(h=(h=h+Math.imul(l,ts)|0)+Math.imul(d,tn)|0))<<13)|0;u=((n=n+Math.imul(d,ts)|0)+(h>>>13)|0)+(tw>>>26)|0,tw&=0x3ffffff,e=Math.imul(Z,W),h=(h=Math.imul(Z,D))+Math.imul(E,W)|0,n=Math.imul(E,D),e=e+Math.imul(L,K)|0,h=(h=h+Math.imul(L,F)|0)+Math.imul(q,K)|0,n=n+Math.imul(q,F)|0,e=e+Math.imul(A,J)|0,h=(h=h+Math.imul(A,G)|0)+Math.imul(z,J)|0,n=n+Math.imul(z,G)|0,e=e+Math.imul(_,V)|0,h=(h=h+Math.imul(_,X)|0)+Math.imul(k,V)|0,n=n+Math.imul(k,X)|0,e=e+Math.imul(b,$)|0,h=(h=h+Math.imul(b,tt)|0)+Math.imul(y,$)|0,n=n+Math.imul(y,tt)|0,e=e+Math.imul(x,tr)|0,h=(h=h+Math.imul(x,te)|0)+Math.imul(v,tr)|0,n=n+Math.imul(v,te)|0,e=e+Math.imul(c,tn)|0,h=(h=h+Math.imul(c,ts)|0)+Math.imul(p,tn)|0,n=n+Math.imul(p,ts)|0,e=e+Math.imul(l,tf)|0;var t_=(u+e|0)+((8191&(h=(h=h+Math.imul(l,tu)|0)+Math.imul(d,tf)|0))<<13)|0;u=((n=n+Math.imul(d,tu)|0)+(h>>>13)|0)+(t_>>>26)|0,t_&=0x3ffffff,e=Math.imul(N,W),h=(h=Math.imul(N,D))+Math.imul(H,W)|0,n=Math.imul(H,D),e=e+Math.imul(Z,K)|0,h=(h=h+Math.imul(Z,F)|0)+Math.imul(E,K)|0,n=n+Math.imul(E,F)|0,e=e+Math.imul(L,J)|0,h=(h=h+Math.imul(L,G)|0)+Math.imul(q,J)|0,n=n+Math.imul(q,G)|0,e=e+Math.imul(A,V)|0,h=(h=h+Math.imul(A,X)|0)+Math.imul(z,V)|0,n=n+Math.imul(z,X)|0,e=e+Math.imul(_,$)|0,h=(h=h+Math.imul(_,tt)|0)+Math.imul(k,$)|0,n=n+Math.imul(k,tt)|0,e=e+Math.imul(b,tr)|0,h=(h=h+Math.imul(b,te)|0)+Math.imul(y,tr)|0,n=n+Math.imul(y,te)|0,e=e+Math.imul(x,tn)|0,h=(h=h+Math.imul(x,ts)|0)+Math.imul(v,tn)|0,n=n+Math.imul(v,ts)|0,e=e+Math.imul(c,tf)|0,h=(h=h+Math.imul(c,tu)|0)+Math.imul(p,tf)|0,n=n+Math.imul(p,tu)|0,e=e+Math.imul(l,tl)|0;var tk=(u+e|0)+((8191&(h=(h=h+Math.imul(l,td)|0)+Math.imul(d,tl)|0))<<13)|0;u=((n=n+Math.imul(d,td)|0)+(h>>>13)|0)+(tk>>>26)|0,tk&=0x3ffffff,e=Math.imul(j,W),h=(h=Math.imul(j,D))+Math.imul(O,W)|0,n=Math.imul(O,D),e=e+Math.imul(N,K)|0,h=(h=h+Math.imul(N,F)|0)+Math.imul(H,K)|0,n=n+Math.imul(H,F)|0,e=e+Math.imul(Z,J)|0,h=(h=h+Math.imul(Z,G)|0)+Math.imul(E,J)|0,n=n+Math.imul(E,G)|0,e=e+Math.imul(L,V)|0,h=(h=h+Math.imul(L,X)|0)+Math.imul(q,V)|0,n=n+Math.imul(q,X)|0,e=e+Math.imul(A,$)|0,h=(h=h+Math.imul(A,tt)|0)+Math.imul(z,$)|0,n=n+Math.imul(z,tt)|0,e=e+Math.imul(_,tr)|0,h=(h=h+Math.imul(_,te)|0)+Math.imul(k,tr)|0,n=n+Math.imul(k,te)|0,e=e+Math.imul(b,tn)|0,h=(h=h+Math.imul(b,ts)|0)+Math.imul(y,tn)|0,n=n+Math.imul(y,ts)|0,e=e+Math.imul(x,tf)|0,h=(h=h+Math.imul(x,tu)|0)+Math.imul(v,tf)|0,n=n+Math.imul(v,tu)|0,e=e+Math.imul(c,tl)|0,h=(h=h+Math.imul(c,td)|0)+Math.imul(p,tl)|0,n=n+Math.imul(p,td)|0,e=e+Math.imul(l,tc)|0;var tS=(u+e|0)+((8191&(h=(h=h+Math.imul(l,tp)|0)+Math.imul(d,tc)|0))<<13)|0;u=((n=n+Math.imul(d,tp)|0)+(h>>>13)|0)+(tS>>>26)|0,tS&=0x3ffffff,e=Math.imul(j,K),h=(h=Math.imul(j,F))+Math.imul(O,K)|0,n=Math.imul(O,F),e=e+Math.imul(N,J)|0,h=(h=h+Math.imul(N,G)|0)+Math.imul(H,J)|0,n=n+Math.imul(H,G)|0,e=e+Math.imul(Z,V)|0,h=(h=h+Math.imul(Z,X)|0)+Math.imul(E,V)|0,n=n+Math.imul(E,X)|0,e=e+Math.imul(L,$)|0,h=(h=h+Math.imul(L,tt)|0)+Math.imul(q,$)|0,n=n+Math.imul(q,tt)|0,e=e+Math.imul(A,tr)|0,h=(h=h+Math.imul(A,te)|0)+Math.imul(z,tr)|0,n=n+Math.imul(z,te)|0,e=e+Math.imul(_,tn)|0,h=(h=h+Math.imul(_,ts)|0)+Math.imul(k,tn)|0,n=n+Math.imul(k,ts)|0,e=e+Math.imul(b,tf)|0,h=(h=h+Math.imul(b,tu)|0)+Math.imul(y,tf)|0,n=n+Math.imul(y,tu)|0,e=e+Math.imul(x,tl)|0,h=(h=h+Math.imul(x,td)|0)+Math.imul(v,tl)|0,n=n+Math.imul(v,td)|0,e=e+Math.imul(c,tc)|0;var tA=(u+e|0)+((8191&(h=(h=h+Math.imul(c,tp)|0)+Math.imul(p,tc)|0))<<13)|0;u=((n=n+Math.imul(p,tp)|0)+(h>>>13)|0)+(tA>>>26)|0,tA&=0x3ffffff,e=Math.imul(j,J),h=(h=Math.imul(j,G))+Math.imul(O,J)|0,n=Math.imul(O,G),e=e+Math.imul(N,V)|0,h=(h=h+Math.imul(N,X)|0)+Math.imul(H,V)|0,n=n+Math.imul(H,X)|0,e=e+Math.imul(Z,$)|0,h=(h=h+Math.imul(Z,tt)|0)+Math.imul(E,$)|0,n=n+Math.imul(E,tt)|0,e=e+Math.imul(L,tr)|0,h=(h=h+Math.imul(L,te)|0)+Math.imul(q,tr)|0,n=n+Math.imul(q,te)|0,e=e+Math.imul(A,tn)|0,h=(h=h+Math.imul(A,ts)|0)+Math.imul(z,tn)|0,n=n+Math.imul(z,ts)|0,e=e+Math.imul(_,tf)|0,h=(h=h+Math.imul(_,tu)|0)+Math.imul(k,tf)|0,n=n+Math.imul(k,tu)|0,e=e+Math.imul(b,tl)|0,h=(h=h+Math.imul(b,td)|0)+Math.imul(y,tl)|0,n=n+Math.imul(y,td)|0,e=e+Math.imul(x,tc)|0;var tz=(u+e|0)+((8191&(h=(h=h+Math.imul(x,tp)|0)+Math.imul(v,tc)|0))<<13)|0;u=((n=n+Math.imul(v,tp)|0)+(h>>>13)|0)+(tz>>>26)|0,tz&=0x3ffffff,e=Math.imul(j,V),h=(h=Math.imul(j,X))+Math.imul(O,V)|0,n=Math.imul(O,X),e=e+Math.imul(N,$)|0,h=(h=h+Math.imul(N,tt)|0)+Math.imul(H,$)|0,n=n+Math.imul(H,tt)|0,e=e+Math.imul(Z,tr)|0,h=(h=h+Math.imul(Z,te)|0)+Math.imul(E,tr)|0,n=n+Math.imul(E,te)|0,e=e+Math.imul(L,tn)|0,h=(h=h+Math.imul(L,ts)|0)+Math.imul(q,tn)|0,n=n+Math.imul(q,ts)|0,e=e+Math.imul(A,tf)|0,h=(h=h+Math.imul(A,tu)|0)+Math.imul(z,tf)|0,n=n+Math.imul(z,tu)|0,e=e+Math.imul(_,tl)|0,h=(h=h+Math.imul(_,td)|0)+Math.imul(k,tl)|0,n=n+Math.imul(k,td)|0,e=e+Math.imul(b,tc)|0;var tB=(u+e|0)+((8191&(h=(h=h+Math.imul(b,tp)|0)+Math.imul(y,tc)|0))<<13)|0;u=((n=n+Math.imul(y,tp)|0)+(h>>>13)|0)+(tB>>>26)|0,tB&=0x3ffffff,e=Math.imul(j,$),h=(h=Math.imul(j,tt))+Math.imul(O,$)|0,n=Math.imul(O,tt),e=e+Math.imul(N,tr)|0,h=(h=h+Math.imul(N,te)|0)+Math.imul(H,tr)|0,n=n+Math.imul(H,te)|0,e=e+Math.imul(Z,tn)|0,h=(h=h+Math.imul(Z,ts)|0)+Math.imul(E,tn)|0,n=n+Math.imul(E,ts)|0,e=e+Math.imul(L,tf)|0,h=(h=h+Math.imul(L,tu)|0)+Math.imul(q,tf)|0,n=n+Math.imul(q,tu)|0,e=e+Math.imul(A,tl)|0,h=(h=h+Math.imul(A,td)|0)+Math.imul(z,tl)|0,n=n+Math.imul(z,td)|0,e=e+Math.imul(_,tc)|0;var tL=(u+e|0)+((8191&(h=(h=h+Math.imul(_,tp)|0)+Math.imul(k,tc)|0))<<13)|0;u=((n=n+Math.imul(k,tp)|0)+(h>>>13)|0)+(tL>>>26)|0,tL&=0x3ffffff,e=Math.imul(j,tr),h=(h=Math.imul(j,te))+Math.imul(O,tr)|0,n=Math.imul(O,te),e=e+Math.imul(N,tn)|0,h=(h=h+Math.imul(N,ts)|0)+Math.imul(H,tn)|0,n=n+Math.imul(H,ts)|0,e=e+Math.imul(Z,tf)|0,h=(h=h+Math.imul(Z,tu)|0)+Math.imul(E,tf)|0,n=n+Math.imul(E,tu)|0,e=e+Math.imul(L,tl)|0,h=(h=h+Math.imul(L,td)|0)+Math.imul(q,tl)|0,n=n+Math.imul(q,td)|0,e=e+Math.imul(A,tc)|0;var tq=(u+e|0)+((8191&(h=(h=h+Math.imul(A,tp)|0)+Math.imul(z,tc)|0))<<13)|0;u=((n=n+Math.imul(z,tp)|0)+(h>>>13)|0)+(tq>>>26)|0,tq&=0x3ffffff,e=Math.imul(j,tn),h=(h=Math.imul(j,ts))+Math.imul(O,tn)|0,n=Math.imul(O,ts),e=e+Math.imul(N,tf)|0,h=(h=h+Math.imul(N,tu)|0)+Math.imul(H,tf)|0,n=n+Math.imul(H,tu)|0,e=e+Math.imul(Z,tl)|0,h=(h=h+Math.imul(Z,td)|0)+Math.imul(E,tl)|0,n=n+Math.imul(E,td)|0,e=e+Math.imul(L,tc)|0;var tR=(u+e|0)+((8191&(h=(h=h+Math.imul(L,tp)|0)+Math.imul(q,tc)|0))<<13)|0;u=((n=n+Math.imul(q,tp)|0)+(h>>>13)|0)+(tR>>>26)|0,tR&=0x3ffffff,e=Math.imul(j,tf),h=(h=Math.imul(j,tu))+Math.imul(O,tf)|0,n=Math.imul(O,tu),e=e+Math.imul(N,tl)|0,h=(h=h+Math.imul(N,td)|0)+Math.imul(H,tl)|0,n=n+Math.imul(H,td)|0,e=e+Math.imul(Z,tc)|0;var tZ=(u+e|0)+((8191&(h=(h=h+Math.imul(Z,tp)|0)+Math.imul(E,tc)|0))<<13)|0;u=((n=n+Math.imul(E,tp)|0)+(h>>>13)|0)+(tZ>>>26)|0,tZ&=0x3ffffff,e=Math.imul(j,tl),h=(h=Math.imul(j,td))+Math.imul(O,tl)|0,n=Math.imul(O,td),e=e+Math.imul(N,tc)|0;var tE=(u+e|0)+((8191&(h=(h=h+Math.imul(N,tp)|0)+Math.imul(H,tc)|0))<<13)|0;u=((n=n+Math.imul(H,tp)|0)+(h>>>13)|0)+(tE>>>26)|0,tE&=0x3ffffff,e=Math.imul(j,tc);var tI=(u+e|0)+((8191&(h=(h=Math.imul(j,tp))+Math.imul(O,tc)|0))<<13)|0;return u=((n=Math.imul(O,tp))+(h>>>13)|0)+(tI>>>26)|0,tI&=0x3ffffff,f[0]=tg,f[1]=tx,f[2]=tv,f[3]=tM,f[4]=tb,f[5]=ty,f[6]=tw,f[7]=t_,f[8]=tk,f[9]=tS,f[10]=tA,f[11]=tz,f[12]=tB,f[13]=tL,f[14]=tq,f[15]=tR,f[16]=tZ,f[17]=tE,f[18]=tI,0!==u&&(f[19]=u,r.length++),r};function x(t,i,r){r.negative=i.negative^t.negative,r.length=t.length+i.length;for(var e=0,h=0,n=0;n<r.length-1;n++){var s=h;h=0;for(var o=0x3ffffff&e,f=Math.min(n,i.length-1),u=Math.max(0,n-t.length+1);u<=f;u++){var a=n-u,l=(0|t.words[a])*(0|i.words[u]),d=0x3ffffff&l;s=s+(l/0x4000000|0)|0,o=0x3ffffff&(d=d+o|0),h+=(s=s+(d>>>26)|0)>>>26,s&=0x3ffffff}r.words[n]=o,e=s,s=h}return 0!==e?r.words[n]=e:r.length--,r._strip()}function v(t,i){this.x=t,this.y=i}Math.imul||(g=p),n.prototype.mulTo=function(t,i){var r,e=this.length+t.length;return 10===this.length&&10===t.length?r=g(this,t,i):e<63?r=p(this,t,i):r=x(this,t,i),r},v.prototype.makeRBT=function(t){for(var i=Array(t),r=n.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,h=0;h<i;h++)e|=(1&t)<<i-h-1,t>>=1;return e},v.prototype.permute=function(t,i,r,e,h,n){for(var s=0;s<n;s++)e[s]=i[t[s]],h[s]=r[t[s]]},v.prototype.transform=function(t,i,r,e,h,n){this.permute(n,t,i,r,e,h);for(var s=1;s<h;s<<=1)for(var o=s<<1,f=Math.cos(2*Math.PI/o),u=Math.sin(2*Math.PI/o),a=0;a<h;a+=o)for(var l=f,d=u,m=0;m<s;m++){var c=r[a+m],p=e[a+m],g=r[a+m+s],x=e[a+m+s],v=l*g-d*x;x=l*x+d*g,g=v,r[a+m]=c+g,e[a+m]=p+x,r[a+m+s]=c-g,e[a+m+s]=p-x,m!==o&&(v=f*l-u*d,d=f*d+u*l,l=v)}},v.prototype.guessLen13b=function(t,i){var r=1|Math.max(i,t),e=1&r,h=0;for(r=r/2|0;r;r>>>=1)h++;return 1<<h+1+e},v.prototype.conjugate=function(t,i,r){if(!(r<=1))for(var e=0;e<r/2;e++){var h=t[e];t[e]=t[r-e-1],t[r-e-1]=h,h=i[e],i[e]=-i[r-e-1],i[r-e-1]=-h}},v.prototype.normalize13b=function(t,i){for(var r=0,e=0;e<i/2;e++){var h=8192*Math.round(t[2*e+1]/i)+Math.round(t[2*e]/i)+r;t[e]=0x3ffffff&h,r=h<0x4000000?0:h/0x4000000|0}return t},v.prototype.convert13b=function(t,i,r,h){for(var n=0,s=0;s<i;s++)n+=0|t[s],r[2*s]=8191&n,n>>>=13,r[2*s+1]=8191&n,n>>>=13;for(s=2*i;s<h;++s)r[s]=0;e(0===n),e((-8192&n)==0)},v.prototype.stub=function(t){for(var i=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),h=this.makeRBT(e),n=this.stub(e),s=Array(e),o=Array(e),f=Array(e),u=Array(e),a=Array(e),l=Array(e),d=r.words;d.length=e,this.convert13b(t.words,t.length,s,e),this.convert13b(i.words,i.length,u,e),this.transform(s,n,o,f,e,h),this.transform(u,n,a,l,e,h);for(var m=0;m<e;m++){var c=o[m]*a[m]-f[m]*l[m];f[m]=o[m]*l[m]+f[m]*a[m],o[m]=c}return this.conjugate(o,f,e),this.transform(o,f,d,n,e,h),this.conjugate(d,n,e),this.normalize13b(d,e),r.negative=t.negative^i.negative,r.length=t.length+i.length,r._strip()},n.prototype.mul=function(t){var i=new n(null);return i.words=Array(this.length+t.length),this.mulTo(t,i)},n.prototype.mulf=function(t){var i=new n(null);return i.words=Array(this.length+t.length),x(this,t,i)},n.prototype.imul=function(t){return this.clone().mulTo(t,this)},n.prototype.imuln=function(t){var i=t<0;i&&(t=-t),e("number"==typeof t),e(t<0x4000000);for(var r=0,h=0;h<this.length;h++){var n=(0|this.words[h])*t,s=(0x3ffffff&n)+(0x3ffffff&r);r>>=26,r+=(n/0x4000000|0)+(s>>>26),this.words[h]=0x3ffffff&s}return 0!==r&&(this.words[h]=r,this.length++),i?this.ineg():this},n.prototype.muln=function(t){return this.clone().imuln(t)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(t){var i=function(t){for(var i=Array(t.bitLength()),r=0;r<i.length;r++){var e=r/26|0,h=r%26;i[r]=t.words[e]>>>h&1}return i}(t);if(0===i.length)return new n(1);for(var r=this,e=0;e<i.length&&0===i[e];e++,r=r.sqr());if(++e<i.length)for(var h=r.sqr();e<i.length;e++,h=h.sqr())0!==i[e]&&(r=r.mul(h));return r},n.prototype.iushln=function(t){e("number"==typeof t&&t>=0);var i,r=t%26,h=(t-r)/26,n=0x3ffffff>>>26-r<<26-r;if(0!==r){var s=0;for(i=0;i<this.length;i++){var o=this.words[i]&n,f=(0|this.words[i])-o<<r;this.words[i]=f|s,s=o>>>26-r}s&&(this.words[i]=s,this.length++)}if(0!==h){for(i=this.length-1;i>=0;i--)this.words[i+h]=this.words[i];for(i=0;i<h;i++)this.words[i]=0;this.length+=h}return this._strip()},n.prototype.ishln=function(t){return e(0===this.negative),this.iushln(t)},n.prototype.iushrn=function(t,i,r){e("number"==typeof t&&t>=0);var h=i?(i-i%26)/26:0,n=t%26,s=Math.min((t-n)/26,this.length),o=0x3ffffff^0x3ffffff>>>n<<n;if(h-=s,h=Math.max(0,h),r){for(var f=0;f<s;f++)r.words[f]=this.words[f];r.length=s}if(0===s);else if(this.length>s)for(this.length-=s,f=0;f<this.length;f++)this.words[f]=this.words[f+s];else this.words[0]=0,this.length=1;var u=0;for(f=this.length-1;f>=0&&(0!==u||f>=h);f--){var a=0|this.words[f];this.words[f]=u<<26-n|a>>>n,u=a&o}return r&&0!==u&&(r.words[r.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},n.prototype.ishrn=function(t,i,r){return e(0===this.negative),this.iushrn(t,i,r)},n.prototype.shln=function(t){return this.clone().ishln(t)},n.prototype.ushln=function(t){return this.clone().iushln(t)},n.prototype.shrn=function(t){return this.clone().ishrn(t)},n.prototype.ushrn=function(t){return this.clone().iushrn(t)},n.prototype.testn=function(t){e("number"==typeof t&&t>=0);var i=t%26,r=(t-i)/26;return!(this.length<=r)&&!!(this.words[r]&1<<i)},n.prototype.imaskn=function(t){e("number"==typeof t&&t>=0);var i=t%26,r=(t-i)/26;return(e(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)?this:(0!==i&&r++,this.length=Math.min(r,this.length),0!==i&&(this.words[this.length-1]&=0x3ffffff^0x3ffffff>>>i<<i),this._strip())},n.prototype.maskn=function(t){return this.clone().imaskn(t)},n.prototype.iaddn=function(t){return(e("number"==typeof t),e(t<0x4000000),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.negative=0,this.isubn(t),this.negative=1),this):this._iaddn(t)},n.prototype._iaddn=function(t){this.words[0]+=t;for(var i=0;i<this.length&&this.words[i]>=0x4000000;i++)this.words[i]-=0x4000000,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},n.prototype.isubn=function(t){if(e("number"==typeof t),e(t<0x4000000),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]+=0x4000000,this.words[i+1]-=1;return this._strip()},n.prototype.addn=function(t){return this.clone().iaddn(t)},n.prototype.subn=function(t){return this.clone().isubn(t)},n.prototype.iabs=function(){return this.negative=0,this},n.prototype.abs=function(){return this.clone().iabs()},n.prototype._ishlnsubmul=function(t,i,r){var h,n,s=t.length+r;this._expand(s);var o=0;for(h=0;h<t.length;h++){n=(0|this.words[h+r])+o;var f=(0|t.words[h])*i;n-=0x3ffffff&f,o=(n>>26)-(f/0x4000000|0),this.words[h+r]=0x3ffffff&n}for(;h<this.length-r;h++)o=(n=(0|this.words[h+r])+o)>>26,this.words[h+r]=0x3ffffff&n;if(0===o)return this._strip();for(e(-1===o),o=0,h=0;h<this.length;h++)o=(n=-(0|this.words[h])+o)>>26,this.words[h]=0x3ffffff&n;return this.negative=1,this._strip()},n.prototype._wordDiv=function(t,i){var r,e=this.length-t.length,h=this.clone(),s=t,o=0|s.words[s.length-1];0!=(e=26-this._countBits(o))&&(s=s.ushln(e),h.iushln(e),o=0|s.words[s.length-1]);var f=h.length-s.length;if("mod"!==i){(r=new n(null)).length=f+1,r.words=Array(r.length);for(var u=0;u<r.length;u++)r.words[u]=0}var a=h.clone()._ishlnsubmul(s,1,f);0===a.negative&&(h=a,r&&(r.words[f]=1));for(var l=f-1;l>=0;l--){var d=(0|h.words[s.length+l])*0x4000000+(0|h.words[s.length+l-1]);for(d=Math.min(d/o|0,0x3ffffff),h._ishlnsubmul(s,d,l);0!==h.negative;)d--,h.negative=0,h._ishlnsubmul(s,1,l),h.isZero()||(h.negative^=1);r&&(r.words[l]=d)}return r&&r._strip(),h._strip(),"div"!==i&&0!==e&&h.iushrn(e),{div:r||null,mod:h}},n.prototype.divmod=function(t,i,r){var h,s,o;return(e(!t.isZero()),this.isZero())?{div:new n(0),mod:new n(0)}:0!==this.negative&&0===t.negative?(o=this.neg().divmod(t,i),"mod"!==i&&(h=o.div.neg()),"div"!==i&&(s=o.mod.neg(),r&&0!==s.negative&&s.iadd(t)),{div:h,mod:s}):0===this.negative&&0!==t.negative?(o=this.divmod(t.neg(),i),"mod"!==i&&(h=o.div.neg()),{div:h,mod:o.mod}):(this.negative&t.negative)!=0?(o=this.neg().divmod(t.neg(),i),"div"!==i&&(s=o.mod.neg(),r&&0!==s.negative&&s.isub(t)),{div:o.div,mod:s}):t.length>this.length||0>this.cmp(t)?{div:new n(0),mod:this}:1===t.length?"div"===i?{div:this.divn(t.words[0]),mod:null}:"mod"===i?{div:null,mod:new n(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new n(this.modrn(t.words[0]))}:this._wordDiv(t,i)},n.prototype.div=function(t){return this.divmod(t,"div",!1).div},n.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},n.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},n.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),h=t.andln(1),n=r.cmp(e);return n<0||1===h&&0===n?i.div:0!==i.div.negative?i.div.isubn(1):i.div.iaddn(1)},n.prototype.modrn=function(t){var i=t<0;i&&(t=-t),e(t<=0x3ffffff);for(var r=0x4000000%t,h=0,n=this.length-1;n>=0;n--)h=(r*h+(0|this.words[n]))%t;return i?-h:h},n.prototype.modn=function(t){return this.modrn(t)},n.prototype.idivn=function(t){var i=t<0;i&&(t=-t),e(t<=0x3ffffff);for(var r=0,h=this.length-1;h>=0;h--){var n=(0|this.words[h])+0x4000000*r;this.words[h]=n/t|0,r=n%t}return this._strip(),i?this.ineg():this},n.prototype.divn=function(t){return this.clone().idivn(t)},n.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 h=new n(1),s=new n(0),o=new n(0),f=new n(1),u=0;i.isEven()&&r.isEven();)i.iushrn(1),r.iushrn(1),++u;for(var a=r.clone(),l=i.clone();!i.isZero();){for(var d=0,m=1;(i.words[0]&m)==0&&d<26;++d,m<<=1);if(d>0)for(i.iushrn(d);d-- >0;)(h.isOdd()||s.isOdd())&&(h.iadd(a),s.isub(l)),h.iushrn(1),s.iushrn(1);for(var c=0,p=1;(r.words[0]&p)==0&&c<26;++c,p<<=1);if(c>0)for(r.iushrn(c);c-- >0;)(o.isOdd()||f.isOdd())&&(o.iadd(a),f.isub(l)),o.iushrn(1),f.iushrn(1);i.cmp(r)>=0?(i.isub(r),h.isub(o),s.isub(f)):(r.isub(i),o.isub(h),f.isub(s))}return{a:o,b:f,gcd:r.iushln(u)}},n.prototype._invmp=function(t){e(0===t.negative),e(!t.isZero());var i,r=this,h=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var s=new n(1),o=new n(0),f=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var u=0,a=1;(r.words[0]&a)==0&&u<26;++u,a<<=1);if(u>0)for(r.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(f),s.iushrn(1);for(var l=0,d=1;(h.words[0]&d)==0&&l<26;++l,d<<=1);if(l>0)for(h.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(f),o.iushrn(1);r.cmp(h)>=0?(r.isub(h),s.isub(o)):(h.isub(r),o.isub(s))}return 0>(i=0===r.cmpn(1)?s:o).cmpn(0)&&i.iadd(t),i},n.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 h=i.cmp(r);if(h<0){var n=i;i=r,r=n}else if(0===h||0===r.cmpn(1))break;i.isub(r)}return r.iushln(e)},n.prototype.invm=function(t){return this.egcd(t).a.umod(t)},n.prototype.isEven=function(){return(1&this.words[0])==0},n.prototype.isOdd=function(){return(1&this.words[0])==1},n.prototype.andln=function(t){return this.words[0]&t},n.prototype.bincn=function(t){e("number"==typeof t);var i=t%26,r=(t-i)/26,h=1<<i;if(this.length<=r)return this._expand(r+1),this.words[r]|=h,this;for(var n=h,s=r;0!==n&&s<this.length;s++){var o=0|this.words[s];o+=n,n=o>>>26,o&=0x3ffffff,this.words[s]=o}return 0!==n&&(this.words[s]=n,this.length++),this},n.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},n.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<=0x3ffffff,"Number is too big");var h=0|this.words[0];i=h===t?0:h<t?-1:1}return 0!==this.negative?0|-i:i},n.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},n.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],h=0|t.words[r];if(e!==h){e<h?i=-1:e>h&&(i=1);break}}return i},n.prototype.gtn=function(t){return 1===this.cmpn(t)},n.prototype.gt=function(t){return 1===this.cmp(t)},n.prototype.gten=function(t){return this.cmpn(t)>=0},n.prototype.gte=function(t){return this.cmp(t)>=0},n.prototype.ltn=function(t){return -1===this.cmpn(t)},n.prototype.lt=function(t){return -1===this.cmp(t)},n.prototype.lten=function(t){return 0>=this.cmpn(t)},n.prototype.lte=function(t){return 0>=this.cmp(t)},n.prototype.eqn=function(t){return 0===this.cmpn(t)},n.prototype.eq=function(t){return 0===this.cmp(t)},n.red=function(t){return new S(t)},n.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)},n.prototype.fromRed=function(){return e(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(t){return this.red=t,this},n.prototype.forceRed=function(t){return e(!this.red,"Already a number in reduction context"),this._forceRed(t)},n.prototype.redAdd=function(t){return e(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},n.prototype.redIAdd=function(t){return e(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},n.prototype.redSub=function(t){return e(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},n.prototype.redISub=function(t){return e(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},n.prototype.redShl=function(t){return e(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},n.prototype.redMul=function(t){return e(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},n.prototype.redIMul=function(t){return e(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},n.prototype.redSqr=function(){return e(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return e(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return e(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return e(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return e(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(t){return e(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var M={k256:null,p224:null,p192:null,p25519:null};function b(t,i){this.name=t,this.p=new n(i,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(t){if("string"==typeof t){var i=n._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 A(t){S.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new n(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)}b.prototype._tmp=function(){var t=new n(null);return t.words=Array(Math.ceil(this.n/13)),t},b.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},b.prototype.split=function(t,i){t.iushrn(this.n,0,i)},b.prototype.imulK=function(t){return t.imul(this.k)},h(y,b),y.prototype.split=function(t,i){for(var r=Math.min(t.length,9),e=0;e<r;e++)i.words[e]=t.words[e];if(i.length=r,t.length<=9){t.words[0]=0,t.length=1;return}var h=t.words[9];for(e=10,i.words[i.length++]=4194303&h;e<t.length;e++){var n=0|t.words[e];t.words[e-10]=(4194303&n)<<4|h>>>22,h=n}h>>>=22,t.words[e-10]=h,0===h&&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]=0x3ffffff&i,i=64*e+(i/0x4000000|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},h(w,b),h(_,b),h(k,b),k.prototype.imulK=function(t){for(var i=0,r=0;r<t.length;r++){var e=(0|t.words[r])*19+i,h=0x3ffffff&e;e>>>=26,t.words[r]=h,i=e}return 0!==i&&(t.words[t.length++]=i),t},n._prime=function(t){var i;if(M[t])return M[t];if("k256"===t)i=new y;else if("p224"===t)i=new w;else if("p192"===t)i=new _;else if("p25519"===t)i=new k;else throw Error("Unknown prime "+t);return M[t]=i,i},S.prototype._verify1=function(t){e(0===t.negative,"red works only with positives"),e(t.red,"red works only with red numbers")},S.prototype._verify2=function(t,i){e((t.negative|i.negative)==0,"red works only with positives"),e(t.red&&t.red===i.red,"red works only with red numbers")},S.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(u(t,t.umod(this.m)._forceRed(this)),t)},S.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},S.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)},S.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},S.prototype.sub=function(t,i){this._verify2(t,i);var r=t.sub(i);return 0>r.cmpn(0)&&r.iadd(this.m),r._forceRed(this)},S.prototype.isub=function(t,i){this._verify2(t,i);var r=t.isub(i);return 0>r.cmpn(0)&&r.iadd(this.m),r},S.prototype.shl=function(t,i){return this._verify1(t),this.imod(t.ushln(i))},S.prototype.imul=function(t,i){return this._verify2(t,i),this.imod(t.imul(i))},S.prototype.mul=function(t,i){return this._verify2(t,i),this.imod(t.mul(i))},S.prototype.isqr=function(t){return this.imul(t,t.clone())},S.prototype.sqr=function(t){return this.mul(t,t)},S.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 n(1)).iushrn(2);return this.pow(t,r)}for(var h=this.m.subn(1),s=0;!h.isZero()&&0===h.andln(1);)s++,h.iushrn(1);e(!h.isZero());var o=new n(1).toRed(this),f=o.redNeg(),u=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new n(2*a*a).toRed(this);0!==this.pow(a,u).cmp(f);)a.redIAdd(f);for(var l=this.pow(a,h),d=this.pow(t,h.addn(1).iushrn(1)),m=this.pow(t,h),c=s;0!==m.cmp(o);){for(var p=m,g=0;0!==p.cmp(o);g++)p=p.redSqr();e(g<c);var x=this.pow(l,new n(1).iushln(c-g-1));d=d.redMul(x),l=x.redSqr(),m=m.redMul(l),c=g}return d},S.prototype.invm=function(t){var i=t._invmp(this.m);return 0!==i.negative?(i.negative=0,this.imod(i).redNeg()):this.imod(i)},S.prototype.pow=function(t,i){if(i.isZero())return new n(1).toRed(this);if(0===i.cmpn(1))return t.clone();var r=Array(16);r[0]=new n(1).toRed(this),r[1]=t;for(var e=2;e<r.length;e++)r[e]=this.mul(r[e-1],t);var h=r[0],s=0,o=0,f=i.bitLength()%26;for(0===f&&(f=26),e=i.length-1;e>=0;e--){for(var u=i.words[e],a=f-1;a>=0;a--){var l=u>>a&1;if(h!==r[0]&&(h=this.sqr(h)),0===l&&0===s){o=0;continue}s<<=1,s|=l,(4==++o||0===e&&0===a)&&(h=this.mul(h,r[s]),o=0,s=0)}f=26}return h},S.prototype.convertTo=function(t){var i=t.umod(this.m);return i===t?i.clone():i},S.prototype.convertFrom=function(t){var i=t.clone();return i.red=null,i},n.mont=function(t){return new A(t)},h(A,S),A.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},A.prototype.convertFrom=function(t){var i=this.imod(t.mul(this.rinv));return i.red=null,i},A.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),h=r.isub(e).iushrn(this.shift),n=h;return h.cmp(this.m)>=0?n=h.isub(this.m):0>h.cmpn(0)&&(n=h.iadd(this.m)),n._forceRed(this)},A.prototype.mul=function(t,i){if(t.isZero()||i.isZero())return new n(0)._forceRed(this);var r=t.mul(i),e=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=r.isub(e).iushrn(this.shift),s=h;return h.cmp(this.m)>=0?s=h.isub(this.m):0>h.cmpn(0)&&(s=h.iadd(this.m)),s._forceRed(this)},A.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=r.nmd(t),this)},76063:t=>{"function"==typeof Object.create?t.exports=function(t,i){i&&(t.super_=i,t.prototype=Object.create(i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,i){if(i){t.super_=i;var r=function(){};r.prototype=i.prototype,t.prototype=new r,t.prototype.constructor=t}}},79903:(t,i,r)=>{"use strict";var e=r(43071),h=r(87226);function n(){if(!(this instanceof n))return new n;h.call(this),this.h=[0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4]}e.inherits(n,h),t.exports=n,n.blockSize=512,n.outSize=224,n.hmacStrength=192,n.padLength=64,n.prototype._digest=function(t){return"hex"===t?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")}},87226:(t,i,r)=>{"use strict";var e=r(43071),h=r(97523),n=r(40012),s=r(59478),o=e.sum32,f=e.sum32_4,u=e.sum32_5,a=n.ch32,l=n.maj32,d=n.s0_256,m=n.s1_256,c=n.g0_256,p=n.g1_256,g=h.BlockHash,x=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc
176c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2];function v(){if(!(this instanceof v))return new v;g.call(this),this.h=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],this.k=x,this.W=Array(64)}e.inherits(v,g),t.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(t,i){for(var r=this.W,e=0;e<16;e++)r[e]=t[i+e];for(;e<r.length;e++)r[e]=f(p(r[e-2]),r[e-7],c(r[e-15]),r[e-16]);var h=this.h[0],n=this.h[1],g=this.h[2],x=this.h[3],v=this.h[4],M=this.h[5],b=this.h[6],y=this.h[7];for(s(this.k.length===r.length),e=0;e<r.length;e++){var w=u(y,m(v),a(v,M,b),this.k[e],r[e]),_=o(d(h),l(h,n,g));y=b,b=M,M=v,v=o(x,w),x=g,g=n,n=h,h=o(w,_)}this.h[0]=o(this.h[0],h),this.h[1]=o(this.h[1],n),this.h[2]=o(this.h[2],g),this.h[3]=o(this.h[3],x),this.h[4]=o(this.h[4],v),this.h[5]=o(this.h[5],M),this.h[6]=o(this.h[6],b),this.h[7]=o(this.h[7],y)},v.prototype._digest=function(t){return"hex"===t?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},97523:(t,i,r)=>{"use strict";var e=r(43071),h=r(59478);function n(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}i.BlockHash=n,n.prototype.update=function(t,i){if(t=e.toArray(t,i),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=e.join32(t,0,t.length-r,this.endian);for(var h=0;h<t.length;h+=this._delta32)this._update(t,h,h+this._delta32)}return this},n.prototype.digest=function(t){return this.update(this._pad()),h(null===this.pending),this._digest(t)},n.prototype._pad=function(){var t=this.pendingTotal,i=this._delta8,r=i-(t+this.padLength)%i,e=Array(r+this.padLength);e[0]=128;for(var h=1;h<r;h++)e[h]=0;if(t<<=3,"big"===this.endian){for(var n=8;n<this.padLength;n++)e[h++]=0;e[h++]=0,e[h++]=0,e[h++]=0,e[h++]=0,e[h++]=t>>>24&255,e[h++]=t>>>16&255,e[h++]=t>>>8&255,e[h++]=255&t}else for(n=8,e[h++]=255&t,e[h++]=t>>>8&255,e[h++]=t>>>16&255,e[h++]=t>>>24&255,e[h++]=0,e[h++]=0,e[h++]=0,e[h++]=0;n<this.padLength;n++)e[h++]=0;return e}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.