"use strict";(self.webpackChunkfrog=self.webpackChunkfrog||[]).push([[6558],{30972:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=r(74512);function n(t,e,r){return void 0===e&&(e=new Uint8Array(2)),void 0===r&&(r=0),e[r+0]=t>>>8,e[r+1]=t>>>0,e}function o(t,e,r){return void 0===e&&(e=new Uint8Array(2)),void 0===r&&(r=0),e[r+0]=t>>>0,e[r+1]=t>>>8,e}function s(t,e){return void 0===e&&(e=0),t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]}function h(t,e){return void 0===e&&(e=0),(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0}function a(t,e){return void 0===e&&(e=0),t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]}function f(t,e){return void 0===e&&(e=0),(t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e])>>>0}function u(t,e,r){return void 0===e&&(e=new Uint8Array(4)),void 0===r&&(r=0),e[r+0]=t>>>24,e[r+1]=t>>>16,e[r+2]=t>>>8,e[r+3]=t>>>0,e}function l(t,e,r){return void 0===e&&(e=new Uint8Array(4)),void 0===r&&(r=0),e[r+0]=t>>>0,e[r+1]=t>>>8,e[r+2]=t>>>16,e[r+3]=t>>>24,e}function _(t,e,r){return void 0===e&&(e=new Uint8Array(8)),void 0===r&&(r=0),u(t/4294967296>>>0,e,r),u(t>>>0,e,r+4),e}function c(t,e,r){return void 0===e&&(e=new Uint8Array(8)),void 0===r&&(r=0),l(t>>>0,e,r),l(t/4294967296>>>0,e,r+4),e}e.readInt16BE=function(t,e){return void 0===e&&(e=0),(t[e+0]<<8|t[e+1])<<16>>16},e.readUint16BE=function(t,e){return void 0===e&&(e=0),(t[e+0]<<8|t[e+1])>>>0},e.readInt16LE=function(t,e){return void 0===e&&(e=0),(t[e+1]<<8|t[e])<<16>>16},e.readUint16LE=function(t,e){return void 0===e&&(e=0),(t[e+1]<<8|t[e])>>>0},e.writeUint16BE=n,e.writeInt16BE=n,e.writeUint16LE=o,e.writeInt16LE=o,e.readInt32BE=s,e.readUint32BE=h,e.readInt32LE=a,e.readUint32LE=f,e.writeUint32BE=u,e.writeInt32BE=u,e.writeUint32LE=l,e.writeInt32LE=l,e.readInt64BE=function(t,e){void 0===e&&(e=0);var r=s(t,e),i=s(t,e+4);return 4294967296*r+i-4294967296*(i>>31)},e.readUint64BE=function(t,e){return void 0===e&&(e=0),4294967296*h(t,e)+h(t,e+4)},e.readInt64LE=function(t,e){void 0===e&&(e=0);var r=a(t,e);return 4294967296*a(t,e+4)+r-4294967296*(r>>31)},e.readUint64LE=function(t,e){void 0===e&&(e=0);var r=f(t,e);return 4294967296*f(t,e+4)+r},e.writeUint64BE=_,e.writeInt64BE=_,e.writeUint64LE=c,e.writeInt64LE=c,e.readUintBE=function(t,e,r){if(void 0===r&&(r=0),t%8!=0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(t/8>e.length-r)throw new Error("readUintBE: array is too short for the given bitLength");for(var i=0,n=1,o=t/8+r-1;o>=r;o--)i+=e[o]*n,n*=256;return i},e.readUintLE=function(t,e,r){if(void 0===r&&(r=0),t%8!=0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(t/8>e.length-r)throw new Error("readUintLE: array is too short for the given bitLength");for(var i=0,n=1,o=r;o=n;s--)r[s]=e/o&255,o*=256;return r},e.writeUintLE=function(t,e,r,n){if(void 0===r&&(r=new Uint8Array(t/8)),void 0===n&&(n=0),t%8!=0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!i.isSafeInteger(e))throw new Error("writeUintLE value must be an integer");for(var o=1,s=n;s{Object.defineProperty(e,"__esModule",{value:!0});var i=r(30972),n=r(76228);function o(t,e,r){for(var n=1634760805,o=857760878,s=2036477234,h=1797285236,a=r[3]<<24|r[2]<<16|r[1]<<8|r[0],f=r[7]<<24|r[6]<<16|r[5]<<8|r[4],u=r[11]<<24|r[10]<<16|r[9]<<8|r[8],l=r[15]<<24|r[14]<<16|r[13]<<8|r[12],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|0)>>>25|A<<7,m=(m^=I=I+(z=(z^=g=g+m|0)>>>24|z<<8)|0)>>>25|m<<7;i.writeUint32LE(g+n|0,t,0),i.writeUint32LE(E+o|0,t,4),i.writeUint32LE(L+s|0,t,8),i.writeUint32LE(S+h|0,t,12),i.writeUint32LE(U+a|0,t,16),i.writeUint32LE(m+f|0,t,20),i.writeUint32LE(A+u|0,t,24),i.writeUint32LE(M+l|0,t,28),i.writeUint32LE(H+_|0,t,32),i.writeUint32LE(B+c|0,t,36),i.writeUint32LE(I+d|0,t,40),i.writeUint32LE(k+w|0,t,44),i.writeUint32LE(O+y|0,t,48),i.writeUint32LE(C+b|0,t,52),i.writeUint32LE(F+v|0,t,56),i.writeUint32LE(z+p|0,t,60)}function s(t,e,r,i,s){if(void 0===s&&(s=0),32!==t.length)throw new Error("ChaCha: key size must be 32 bytes");if(i.length>>=8,e++;if(i>0)throw new Error("ChaCha: counter overflow")}e.streamXOR=s,e.stream=function(t,e,r,i){return void 0===i&&(i=0),n.wipe(r),s(t,e,r,r,i)}},51612:(t,e,r)=>{var i=r(29918),n=r(77360),o=r(76228),s=r(30972),h=r(26452);e.J4=32,e.PX=12,e.iW=16;var a=new Uint8Array(16),f=function(){function t(t){if(this.nonceLength=e.PX,this.tagLength=e.iW,t.length!==e.J4)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(t)}return t.prototype.seal=function(t,e,r,n){if(t.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var s=new Uint8Array(16);s.set(t,s.length-t.length);var h=new Uint8Array(32);i.stream(this._key,s,h,4);var a,f=e.length+this.tagLength;if(n){if(n.length!==f)throw new Error("ChaCha20Poly1305: incorrect destination length");a=n}else a=new Uint8Array(f);return i.streamXOR(this._key,s,e,a,4),this._authenticate(a.subarray(a.length-this.tagLength,a.length),h,a.subarray(0,a.length-this.tagLength),r),o.wipe(s),a},t.prototype.open=function(t,e,r,n){if(t.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(e.length0&&h.update(a.subarray(i.length%16))),h.update(r),r.length%16>0&&h.update(a.subarray(r.length%16));var f=new Uint8Array(8);i&&s.writeUint64LE(i.length,f),h.update(f),s.writeUint64LE(r.length,f),h.update(f);for(var u=h.digest(),l=0;l{function r(t,e){if(t.length!==e.length)return 0;for(var r=0,i=0;i>>8}Object.defineProperty(e,"__esModule",{value:!0}),e.select=function(t,e,r){return~(t-1)&e|t-1&r},e.lessOrEqual=function(t,e){return(0|t)-(0|e)-1>>>31&1},e.compare=r,e.equal=function(t,e){return 0!==t.length&&0!==e.length&&0!==r(t,e)}},34904:(t,e,r)=>{e._S=e.K=e.TP=e.wE=e.Ee=void 0;const i=r(37052),n=r(64974),o=r(76228);function s(t){const e=new Float64Array(16);if(t)for(let r=0;r>16&1),r[t-1]&=65535;r[15]=i[15]-32767-(r[14]>>16&1);const t=r[15]>>16&1;r[14]&=65535,y(i,r,1-t)}for(let e=0;e<16;e++)t[2*e]=255&i[e],t[2*e+1]=i[e]>>8}function v(t,e){let r=0;for(let i=0;i<32;i++)r|=t[i]^e[i];return(1&r-1>>>8)-1}function p(t,e){const r=new Uint8Array(32),i=new Uint8Array(32);return b(r,t),b(i,e),v(r,i)}function g(t){const e=new Uint8Array(32);return b(e,t),1&e[0]}function E(t,e,r){for(let i=0;i<16;i++)t[i]=e[i]+r[i]}function L(t,e,r){for(let i=0;i<16;i++)t[i]=e[i]-r[i]}function S(t,e,r){let i,n,o=0,s=0,h=0,a=0,f=0,u=0,l=0,_=0,c=0,d=0,w=0,y=0,b=0,v=0,p=0,g=0,E=0,L=0,S=0,U=0,m=0,A=0,M=0,H=0,B=0,I=0,k=0,O=0,C=0,F=0,z=0,P=r[0],R=r[1],T=r[2],N=r[3],K=r[4],D=r[5],G=r[6],X=r[7],j=r[8],V=r[9],q=r[10],x=r[11],Z=r[12],W=r[13],J=r[14],$=r[15];i=e[0],o+=i*P,s+=i*R,h+=i*T,a+=i*N,f+=i*K,u+=i*D,l+=i*G,_+=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i=a+n+65535,n=Math.floor(i/65536),a=i-65536*n,i=f+n+65535,n=Math.floor(i/65536),f=i-65536*n,i=u+n+65535,n=Math.floor(i/65536),u=i-65536*n,i=l+n+65535,n=Math.floor(i/65536),l=i-65536*n,i=_+n+65535,n=Math.floor(i/65536),_=i-65536*n,i=c+n+65535,n=Math.floor(i/65536),c=i-65536*n,i=d+n+65535,n=Math.floor(i/65536),d=i-65536*n,i=w+n+65535,n=Math.floor(i/65536),w=i-65536*n,i=y+n+65535,n=Math.floor(i/65536),y=i-65536*n,i=b+n+65535,n=Math.floor(i/65536),b=i-65536*n,i=v+n+65535,n=Math.floor(i/65536),v=i-65536*n,i=p+n+65535,n=Math.floor(i/65536),p=i-65536*n,i=g+n+65535,n=Math.floor(i/65536),g=i-65536*n,o+=n-1+37*(n-1),n=1,i=o+n+65535,n=Math.floor(i/65536),o=i-65536*n,i=s+n+65535,n=Math.floor(i/65536),s=i-65536*n,i=h+n+65535,n=Math.floor(i/65536),h=i-65536*n,i=a+n+65535,n=Math.floor(i/65536),a=i-65536*n,i=f+n+65535,n=Math.floor(i/65536),f=i-65536*n,i=u+n+65535,n=Math.floor(i/65536),u=i-65536*n,i=l+n+65535,n=Math.floor(i/65536),l=i-65536*n,i=_+n+65535,n=Math.floor(i/65536),_=i-65536*n,i=c+n+65535,n=Math.floor(i/65536),c=i-65536*n,i=d+n+65535,n=Math.floor(i/65536),d=i-65536*n,i=w+n+65535,n=Math.floor(i/65536),w=i-65536*n,i=y+n+65535,n=Math.floor(i/65536),y=i-65536*n,i=b+n+65535,n=Math.floor(i/65536),b=i-65536*n,i=v+n+65535,n=Math.floor(i/65536),v=i-65536*n,i=p+n+65535,n=Math.floor(i/65536),p=i-65536*n,i=g+n+65535,n=Math.floor(i/65536),g=i-65536*n,o+=n-1+37*(n-1),t[0]=o,t[1]=s,t[2]=h,t[3]=a,t[4]=f,t[5]=u,t[6]=l,t[7]=_,t[8]=c,t[9]=d,t[10]=w,t[11]=y,t[12]=b,t[13]=v,t[14]=p,t[15]=g}function U(t,e){S(t,e,e)}function m(t,e){const r=s();let i;for(i=0;i<16;i++)r[i]=e[i];for(i=253;i>=0;i--)U(r,r),2!==i&&4!==i&&S(r,r,e);for(i=0;i<16;i++)t[i]=r[i]}function A(t,e){const r=s(),i=s(),n=s(),o=s(),h=s(),a=s(),f=s(),l=s(),_=s();L(r,t[1],t[0]),L(_,e[1],e[0]),S(r,r,_),E(i,t[0],t[1]),E(_,e[0],e[1]),S(i,i,_),S(n,t[3],e[3]),S(n,n,u),S(o,t[2],e[2]),E(o,o,o),L(h,i,r),L(a,o,n),E(f,o,n),E(l,i,r),S(t[0],h,a),S(t[1],l,f),S(t[2],f,a),S(t[3],h,l)}function M(t,e,r){for(let i=0;i<4;i++)y(t[i],e[i],r)}function H(t,e){const r=s(),i=s(),n=s();m(n,e[2]),S(r,e[0],n),S(i,e[1],n),b(t,i),t[31]^=g(r)<<7}function B(t,e,r){d(t[0],h),d(t[1],a),d(t[2],a),d(t[3],h);for(let i=255;i>=0;--i){const n=r[i/8|0]>>(7&i)&1;M(t,e,n),A(e,t),A(t,t),M(t,e,n)}}function I(t,e){const r=[s(),s(),s(),s()];d(r[0],l),d(r[1],_),d(r[2],a),S(r[3],l,_),B(t,r,e)}function k(t){if(t.length!==e.TP)throw new Error(`ed25519: seed must be ${e.TP} bytes`);const r=(0,n.hash)(t);r[0]&=248,r[31]&=127,r[31]|=64;const i=new Uint8Array(32),o=[s(),s(),s(),s()];I(o,r),H(i,o);const h=new Uint8Array(64);return h.set(t),h.set(i,32),{publicKey:i,secretKey:h}}e.K=k;const O=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function C(t,e){let r,i,n,o;for(i=63;i>=32;--i){for(r=0,n=i-32,o=i-12;n>4)*O[n],r=e[n]>>8,e[n]&=255;for(n=0;n<32;n++)e[n]-=r*O[n];for(i=0;i<32;i++)e[i+1]+=e[i]>>8,t[i]=255&e[i]}function F(t){const e=new Float64Array(64);for(let r=0;r<64;r++)e[r]=t[r];for(let e=0;e<64;e++)t[e]=0;C(t,e)}function z(t,e){const r=s(),i=s(),n=s(),o=s(),u=s(),l=s(),_=s();return d(t[2],a),function(t,e){for(let r=0;r<16;r++)t[r]=e[2*r]+(e[2*r+1]<<8);t[15]&=32767}(t[1],e),U(n,t[1]),S(o,n,f),L(n,n,t[2]),E(o,t[2],o),U(u,o),U(l,u),S(_,l,u),S(r,_,n),S(r,r,o),function(t,e){const r=s();let i;for(i=0;i<16;i++)r[i]=e[i];for(i=250;i>=0;i--)U(r,r),1!==i&&S(r,r,e);for(i=0;i<16;i++)t[i]=r[i]}(r,r),S(r,r,n),S(r,r,o),S(r,r,o),S(t[0],r,o),U(i,t[0]),S(i,i,o),p(i,n)&&S(t[0],t[0],c),U(i,t[0]),S(i,i,o),p(i,n)?-1:(g(t[0])===e[31]>>7&&L(t[0],h,t[0]),S(t[3],t[0],t[1]),0)}e._S=function(t,e){const r=new Float64Array(64),i=[s(),s(),s(),s()],o=(0,n.hash)(t.subarray(0,32));o[0]&=248,o[31]&=127,o[31]|=64;const h=new Uint8Array(64);h.set(o.subarray(32),32);const a=new n.SHA512;a.update(h.subarray(32)),a.update(e);const f=a.digest();a.clean(),F(f),I(i,f),H(h,i),a.reset(),a.update(h.subarray(0,32)),a.update(t.subarray(32)),a.update(e);const u=a.digest();F(u);for(let t=0;t<32;t++)r[t]=f[t];for(let t=0;t<32;t++)for(let e=0;e<32;e++)r[t+e]+=u[t]*o[e];return C(h.subarray(32),r),h}},52670:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isSerializableHash=function(t){return void 0!==t.saveState&&void 0!==t.restoreState&&void 0!==t.cleanSavedState}},16804:(t,e,r)=>{var i=r(22412),n=r(76228),o=function(){function t(t,e,r,n){void 0===r&&(r=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=t,this._info=n;var o=i.hmac(this._hash,r,e);this._hmac=new i.HMAC(t,o),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return t.prototype._fillBuffer=function(){this._counter[0]++;var t=this._counter[0];if(0===t)throw new Error("hkdf: cannot expand more");this._hmac.reset(),t>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},t.prototype.expand=function(t){for(var e=new Uint8Array(t),r=0;r{Object.defineProperty(e,"__esModule",{value:!0});var i=r(52670),n=r(26452),o=r(76228),s=function(){function t(t,e){this._finished=!1,this._inner=new t,this._outer=new t,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var r=new Uint8Array(this.blockSize);e.length>this.blockSize?this._inner.update(e).finish(r).clean():r.set(e);for(var n=0;n{Object.defineProperty(e,"__esModule",{value:!0}),e.mul=Math.imul||function(t,e){var r=65535&t,i=65535&e;return r*i+((t>>>16&65535)*i+r*(e>>>16&65535)<<16>>>0)|0},e.add=function(t,e){return t+e|0},e.sub=function(t,e){return t-e|0},e.rotl=function(t,e){return t<>>32-e},e.rotr=function(t,e){return t<<32-e|t>>>e},e.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},e.MAX_SAFE_INTEGER=9007199254740991,e.isSafeInteger=function(t){return e.isInteger(t)&&t>=-e.MAX_SAFE_INTEGER&&t<=e.MAX_SAFE_INTEGER}},77360:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=r(26452),n=r(76228);e.DIGEST_LENGTH=16;var o=function(){function t(t){this.digestLength=e.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var r=t[0]|t[1]<<8;this._r[0]=8191&r;var i=t[2]|t[3]<<8;this._r[1]=8191&(r>>>13|i<<3);var n=t[4]|t[5]<<8;this._r[2]=7939&(i>>>10|n<<6);var o=t[6]|t[7]<<8;this._r[3]=8191&(n>>>7|o<<9);var s=t[8]|t[9]<<8;this._r[4]=255&(o>>>4|s<<12),this._r[5]=s>>>1&8190;var h=t[10]|t[11]<<8;this._r[6]=8191&(s>>>14|h<<2);var a=t[12]|t[13]<<8;this._r[7]=8065&(h>>>11|a<<5);var f=t[14]|t[15]<<8;this._r[8]=8191&(a>>>8|f<<8),this._r[9]=f>>>5&127,this._pad[0]=t[16]|t[17]<<8,this._pad[1]=t[18]|t[19]<<8,this._pad[2]=t[20]|t[21]<<8,this._pad[3]=t[22]|t[23]<<8,this._pad[4]=t[24]|t[25]<<8,this._pad[5]=t[26]|t[27]<<8,this._pad[6]=t[28]|t[29]<<8,this._pad[7]=t[30]|t[31]<<8}return t.prototype._blocks=function(t,e,r){for(var i=this._fin?0:2048,n=this._h[0],o=this._h[1],s=this._h[2],h=this._h[3],a=this._h[4],f=this._h[5],u=this._h[6],l=this._h[7],_=this._h[8],c=this._h[9],d=this._r[0],w=this._r[1],y=this._r[2],b=this._r[3],v=this._r[4],p=this._r[5],g=this._r[6],E=this._r[7],L=this._r[8],S=this._r[9];r>=16;){var U=t[e+0]|t[e+1]<<8;n+=8191&U;var m=t[e+2]|t[e+3]<<8;o+=8191&(U>>>13|m<<3);var A=t[e+4]|t[e+5]<<8;s+=8191&(m>>>10|A<<6);var M=t[e+6]|t[e+7]<<8;h+=8191&(A>>>7|M<<9);var H=t[e+8]|t[e+9]<<8;a+=8191&(M>>>4|H<<12),f+=H>>>1&8191;var B=t[e+10]|t[e+11]<<8;u+=8191&(H>>>14|B<<2);var I=t[e+12]|t[e+13]<<8;l+=8191&(B>>>11|I<<5);var k=t[e+14]|t[e+15]<<8,O=0,C=O;C+=n*d,C+=o*(5*S),C+=s*(5*L),C+=h*(5*E),O=(C+=a*(5*g))>>>13,C&=8191,C+=f*(5*p),C+=u*(5*v),C+=l*(5*b),C+=(_+=8191&(I>>>8|k<<8))*(5*y);var F=O+=(C+=(c+=k>>>5|i)*(5*w))>>>13;F+=n*w,F+=o*d,F+=s*(5*S),F+=h*(5*L),O=(F+=a*(5*E))>>>13,F&=8191,F+=f*(5*g),F+=u*(5*p),F+=l*(5*v),F+=_*(5*b),O+=(F+=c*(5*y))>>>13,F&=8191;var z=O;z+=n*y,z+=o*w,z+=s*d,z+=h*(5*S),O=(z+=a*(5*L))>>>13,z&=8191,z+=f*(5*E),z+=u*(5*g),z+=l*(5*p),z+=_*(5*v);var P=O+=(z+=c*(5*b))>>>13;P+=n*b,P+=o*y,P+=s*w,P+=h*d,O=(P+=a*(5*S))>>>13,P&=8191,P+=f*(5*L),P+=u*(5*E),P+=l*(5*g),P+=_*(5*p);var R=O+=(P+=c*(5*v))>>>13;R+=n*v,R+=o*b,R+=s*y,R+=h*w,O=(R+=a*d)>>>13,R&=8191,R+=f*(5*S),R+=u*(5*L),R+=l*(5*E),R+=_*(5*g);var T=O+=(R+=c*(5*p))>>>13;T+=n*p,T+=o*v,T+=s*b,T+=h*y,O=(T+=a*w)>>>13,T&=8191,T+=f*d,T+=u*(5*S),T+=l*(5*L),T+=_*(5*E);var N=O+=(T+=c*(5*g))>>>13;N+=n*g,N+=o*p,N+=s*v,N+=h*b,O=(N+=a*y)>>>13,N&=8191,N+=f*w,N+=u*d,N+=l*(5*S),N+=_*(5*L);var K=O+=(N+=c*(5*E))>>>13;K+=n*E,K+=o*g,K+=s*p,K+=h*v,O=(K+=a*b)>>>13,K&=8191,K+=f*y,K+=u*w,K+=l*d,K+=_*(5*S);var D=O+=(K+=c*(5*L))>>>13;D+=n*L,D+=o*E,D+=s*g,D+=h*p,O=(D+=a*v)>>>13,D&=8191,D+=f*b,D+=u*y,D+=l*w,D+=_*d;var G=O+=(D+=c*(5*S))>>>13;G+=n*S,G+=o*L,G+=s*E,G+=h*g,O=(G+=a*p)>>>13,G&=8191,G+=f*v,G+=u*b,G+=l*y,G+=_*w,n=C=8191&(O=(O=((O+=(G+=c*d)>>>13)<<2)+O|0)+(C&=8191)|0),o=F+=O>>>=13,s=z&=8191,h=P&=8191,a=R&=8191,f=T&=8191,u=N&=8191,l=K&=8191,_=D&=8191,c=G&=8191,e+=16,r-=16}this._h[0]=n,this._h[1]=o,this._h[2]=s,this._h[3]=h,this._h[4]=a,this._h[5]=f,this._h[6]=u,this._h[7]=l,this._h[8]=_,this._h[9]=c},t.prototype.finish=function(t,e){void 0===e&&(e=0);var r,i,n,o,s=new Uint16Array(10);if(this._leftover){for(o=this._leftover,this._buffer[o++]=1;o<16;o++)this._buffer[o]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(r=this._h[1]>>>13,this._h[1]&=8191,o=2;o<10;o++)this._h[o]+=r,r=this._h[o]>>>13,this._h[o]&=8191;for(this._h[0]+=5*r,r=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=r,r=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=r,s[0]=this._h[0]+5,r=s[0]>>>13,s[0]&=8191,o=1;o<10;o++)s[o]=this._h[o]+r,r=s[o]>>>13,s[o]&=8191;for(s[9]-=8192,i=(1^r)-1,o=0;o<10;o++)s[o]&=i;for(i=~i,o=0;o<10;o++)this._h[o]=this._h[o]&i|s[o];for(this._h[0]=65535&(this._h[0]|this._h[1]<<13),this._h[1]=65535&(this._h[1]>>>3|this._h[2]<<10),this._h[2]=65535&(this._h[2]>>>6|this._h[3]<<7),this._h[3]=65535&(this._h[3]>>>9|this._h[4]<<4),this._h[4]=65535&(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14),this._h[5]=65535&(this._h[6]>>>2|this._h[7]<<11),this._h[6]=65535&(this._h[7]>>>5|this._h[8]<<8),this._h[7]=65535&(this._h[8]>>>8|this._h[9]<<5),n=this._h[0]+this._pad[0],this._h[0]=65535&n,o=1;o<8;o++)n=(this._h[o]+this._pad[o]|0)+(n>>>16)|0,this._h[o]=65535&n;return t[e+0]=this._h[0]>>>0,t[e+1]=this._h[0]>>>8,t[e+2]=this._h[1]>>>0,t[e+3]=this._h[1]>>>8,t[e+4]=this._h[2]>>>0,t[e+5]=this._h[2]>>>8,t[e+6]=this._h[3]>>>0,t[e+7]=this._h[3]>>>8,t[e+8]=this._h[4]>>>0,t[e+9]=this._h[4]>>>8,t[e+10]=this._h[5]>>>0,t[e+11]=this._h[5]>>>8,t[e+12]=this._h[6]>>>0,t[e+13]=this._h[6]>>>8,t[e+14]=this._h[7]>>>0,t[e+15]=this._h[7]>>>8,this._finished=!0,this},t.prototype.update=function(t){var e,r=0,i=t.length;if(this._leftover){(e=16-this._leftover)>i&&(e=i);for(var n=0;n=16&&(e=i-i%16,this._blocks(t,r,e),r+=e,i-=e),i){for(n=0;n{Object.defineProperty(e,"__esModule",{value:!0}),e.randomStringForEntropy=e.randomString=e.randomUint32=e.randomBytes=e.defaultRandomSource=void 0;const i=r(15492),n=r(30972),o=r(76228);function s(t,r=e.defaultRandomSource){return r.randomBytes(t)}e.defaultRandomSource=new i.SystemRandomSource,e.randomBytes=s,e.randomUint32=function(t=e.defaultRandomSource){const r=s(4,t),i=(0,n.readUint32LE)(r);return(0,o.wipe)(r),i};const h="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function a(t,r=h,i=e.defaultRandomSource){if(r.length<2)throw new Error("randomString charset is too short");if(r.length>256)throw new Error("randomString charset is too long");let n="";const a=r.length,f=256-256%a;for(;t>0;){const e=s(Math.ceil(256*t/f),i);for(let i=0;i0;i++){const o=e[i];o{Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserRandomSource=void 0;e.BrowserRandomSource=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;const t="undefined"!=typeof self?self.crypto||self.msCrypto:null;t&&void 0!==t.getRandomValues&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");const e=new Uint8Array(t);for(let t=0;t{Object.defineProperty(e,"__esModule",{value:!0}),e.NodeRandomSource=void 0;const i=r(76228);e.NodeRandomSource=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;{const t=r(99432);t&&t.randomBytes&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let e=this._crypto.randomBytes(t);if(e.length!==t)throw new Error("NodeRandomSource: got fewer bytes than requested");const r=new Uint8Array(t);for(let t=0;t{Object.defineProperty(e,"__esModule",{value:!0}),e.SystemRandomSource=void 0;const i=r(87029),n=r(35821);e.SystemRandomSource=class{constructor(){return this.isAvailable=!1,this.name="",this._source=new i.BrowserRandomSource,this._source.isAvailable?(this.isAvailable=!0,void(this.name="Browser")):(this._source=new n.NodeRandomSource,this._source.isAvailable?(this.isAvailable=!0,void(this.name="Node")):void 0)}randomBytes(t){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(t)}}},50204:(t,e,r)=>{var i=r(30972),n=r(76228);e.On=32,e.cS=64;var o=function(){function t(){this.digestLength=e.On,this.blockSize=e.cS,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return t.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},t.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},t.prototype.clean=function(){n.wipe(this._buffer),n.wipe(this._temp),this.reset()},t.prototype.update=function(t,e){if(void 0===e&&(e=t.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var r=0;if(this._bytesHashed+=e,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=t[r++],e--;this._bufferLength===this.blockSize&&(h(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(e>=this.blockSize&&(r=h(this._temp,this._state,t,r,e),e%=this.blockSize);e>0;)this._buffer[this._bufferLength++]=t[r++],e--;return this},t.prototype.finish=function(t){if(!this._finished){var e=this._bytesHashed,r=this._bufferLength,n=e/536870912|0,o=e<<3,s=e%64<56?64:128;this._buffer[r]=128;for(var a=r+1;a0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},t.prototype.restoreState=function(t){return this._state.set(t.state),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},t.prototype.cleanSavedState=function(t){n.wipe(t.state),t.buffer&&n.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},t}();e.aD=o;var s=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function h(t,e,r,n,o){for(;o>=64;){for(var h=e[0],a=e[1],f=e[2],u=e[3],l=e[4],_=e[5],c=e[6],d=e[7],w=0;w<16;w++){var y=n+4*w;t[w]=i.readUint32BE(r,y)}for(w=16;w<64;w++){var b=t[w-2],v=(b>>>17|b<<15)^(b>>>19|b<<13)^b>>>10,p=((b=t[w-15])>>>7|b<<25)^(b>>>18|b<<14)^b>>>3;t[w]=(v+t[w-7]|0)+(p+t[w-16]|0)}for(w=0;w<64;w++){v=(((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&_^~l&c)|0)+(d+(s[w]+t[w]|0)|0)|0,p=((h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10))+(h&a^h&f^a&f)|0;d=c,c=_,_=l,l=u+v|0,u=f,f=a,a=h,h=v+p|0}e[0]+=h,e[1]+=a,e[2]+=f,e[3]+=u,e[4]+=l,e[5]+=_,e[6]+=c,e[7]+=d,n+=64,o-=64}return n}e.tW=function(t){var e=new o;e.update(t);var r=e.digest();return e.clean(),r}},64974:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=r(30972),n=r(76228);e.DIGEST_LENGTH=64,e.BLOCK_SIZE=128;var o=function(){function t(){this.digestLength=e.DIGEST_LENGTH,this.blockSize=e.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return t.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},t.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},t.prototype.clean=function(){n.wipe(this._buffer),n.wipe(this._tempHi),n.wipe(this._tempLo),this.reset()},t.prototype.update=function(t,r){if(void 0===r&&(r=t.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var i=0;if(this._bytesHashed+=r,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=t[i++],r--;this._bufferLength===this.blockSize&&(h(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(r>=this.blockSize&&(i=h(this._tempHi,this._tempLo,this._stateHi,this._stateLo,t,i,r),r%=this.blockSize);r>0;)this._buffer[this._bufferLength++]=t[i++],r--;return this},t.prototype.finish=function(t){if(!this._finished){var e=this._bytesHashed,r=this._bufferLength,n=e/536870912|0,o=e<<3,s=e%128<112?128:256;this._buffer[r]=128;for(var a=r+1;a0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},t.prototype.restoreState=function(t){return this._stateHi.set(t.stateHi),this._stateLo.set(t.stateLo),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},t.prototype.cleanSavedState=function(t){n.wipe(t.stateHi),n.wipe(t.stateLo),t.buffer&&n.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},t}();e.SHA512=o;var s=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function h(t,e,r,n,o,h,a){for(var f,u,l,_,c,d,w,y,b=r[0],v=r[1],p=r[2],g=r[3],E=r[4],L=r[5],S=r[6],U=r[7],m=n[0],A=n[1],M=n[2],H=n[3],B=n[4],I=n[5],k=n[6],O=n[7];a>=128;){for(var C=0;C<16;C++){var F=8*C+h;t[C]=i.readUint32BE(o,F),e[C]=i.readUint32BE(o,F+4)}for(C=0;C<80;C++){var z,P,R=b,T=v,N=p,K=g,D=E,G=L,X=S,j=m,V=A,q=M,x=H,Z=B,W=I,J=k;if(c=65535&(u=O),d=u>>>16,w=65535&(f=U),y=f>>>16,c+=65535&(u=(B>>>14|E<<18)^(B>>>18|E<<14)^(E>>>9|B<<23)),d+=u>>>16,w+=65535&(f=(E>>>14|B<<18)^(E>>>18|B<<14)^(B>>>9|E<<23)),y+=f>>>16,c+=65535&(u=B&I^~B&k),d+=u>>>16,w+=65535&(f=E&L^~E&S),y+=f>>>16,f=s[2*C],c+=65535&(u=s[2*C+1]),d+=u>>>16,w+=65535&f,y+=f>>>16,f=t[C%16],d+=(u=e[C%16])>>>16,w+=65535&f,y+=f>>>16,w+=(d+=(c+=65535&u)>>>16)>>>16,c=65535&(u=_=65535&c|d<<16),d=u>>>16,w=65535&(f=l=65535&w|(y+=w>>>16)<<16),y=f>>>16,c+=65535&(u=(m>>>28|b<<4)^(b>>>2|m<<30)^(b>>>7|m<<25)),d+=u>>>16,w+=65535&(f=(b>>>28|m<<4)^(m>>>2|b<<30)^(m>>>7|b<<25)),y+=f>>>16,d+=(u=m&A^m&M^A&M)>>>16,w+=65535&(f=b&v^b&p^v&p),y+=f>>>16,z=65535&(w+=(d+=(c+=65535&u)>>>16)>>>16)|(y+=w>>>16)<<16,P=65535&c|d<<16,c=65535&(u=x),d=u>>>16,w=65535&(f=K),y=f>>>16,d+=(u=_)>>>16,w+=65535&(f=l),y+=f>>>16,v=R,p=T,g=N,E=K=65535&(w+=(d+=(c+=65535&u)>>>16)>>>16)|(y+=w>>>16)<<16,L=D,S=G,U=X,b=z,A=j,M=V,H=q,B=x=65535&c|d<<16,I=Z,k=W,O=J,m=P,C%16==15)for(F=0;F<16;F++)f=t[F],c=65535&(u=e[F]),d=u>>>16,w=65535&f,y=f>>>16,f=t[(F+9)%16],c+=65535&(u=e[(F+9)%16]),d+=u>>>16,w+=65535&f,y+=f>>>16,l=t[(F+1)%16],c+=65535&(u=((_=e[(F+1)%16])>>>1|l<<31)^(_>>>8|l<<24)^(_>>>7|l<<25)),d+=u>>>16,w+=65535&(f=(l>>>1|_<<31)^(l>>>8|_<<24)^l>>>7),y+=f>>>16,l=t[(F+14)%16],d+=(u=((_=e[(F+14)%16])>>>19|l<<13)^(l>>>29|_<<3)^(_>>>6|l<<26))>>>16,w+=65535&(f=(l>>>19|_<<13)^(_>>>29|l<<3)^l>>>6),y+=f>>>16,y+=(w+=(d+=(c+=65535&u)>>>16)>>>16)>>>16,t[F]=65535&w|y<<16,e[F]=65535&c|d<<16}c=65535&(u=m),d=u>>>16,w=65535&(f=b),y=f>>>16,f=r[0],d+=(u=n[0])>>>16,w+=65535&f,y+=f>>>16,y+=(w+=(d+=(c+=65535&u)>>>16)>>>16)>>>16,r[0]=b=65535&w|y<<16,n[0]=m=65535&c|d<<16,c=65535&(u=A),d=u>>>16,w=65535&(f=v),y=f>>>16,f=r[1],d+=(u=n[1])>>>16,w+=65535&f,y+=f>>>16,y+=(w+=(d+=(c+=65535&u)>>>16)>>>16)>>>16,r[1]=v=65535&w|y<<16,n[1]=A=65535&c|d<<16,c=65535&(u=M),d=u>>>16,w=65535&(f=p),y=f>>>16,f=r[2],d+=(u=n[2])>>>16,w+=65535&f,y+=f>>>16,y+=(w+=(d+=(c+=65535&u)>>>16)>>>16)>>>16,r[2]=p=65535&w|y<<16,n[2]=M=65535&c|d<<16,c=65535&(u=H),d=u>>>16,w=65535&(f=g),y=f>>>16,f=r[3],d+=(u=n[3])>>>16,w+=65535&f,y+=f>>>16,y+=(w+=(d+=(c+=65535&u)>>>16)>>>16)>>>16,r[3]=g=65535&w|y<<16,n[3]=H=65535&c|d<<16,c=65535&(u=B),d=u>>>16,w=65535&(f=E),y=f>>>16,f=r[4],d+=(u=n[4])>>>16,w+=65535&f,y+=f>>>16,y+=(w+=(d+=(c+=65535&u)>>>16)>>>16)>>>16,r[4]=E=65535&w|y<<16,n[4]=B=65535&c|d<<16,c=65535&(u=I),d=u>>>16,w=65535&(f=L),y=f>>>16,f=r[5],d+=(u=n[5])>>>16,w+=65535&f,y+=f>>>16,y+=(w+=(d+=(c+=65535&u)>>>16)>>>16)>>>16,r[5]=L=65535&w|y<<16,n[5]=I=65535&c|d<<16,c=65535&(u=k),d=u>>>16,w=65535&(f=S),y=f>>>16,f=r[6],d+=(u=n[6])>>>16,w+=65535&f,y+=f>>>16,y+=(w+=(d+=(c+=65535&u)>>>16)>>>16)>>>16,r[6]=S=65535&w|y<<16,n[6]=k=65535&c|d<<16,c=65535&(u=O),d=u>>>16,w=65535&(f=U),y=f>>>16,f=r[7],d+=(u=n[7])>>>16,w+=65535&f,y+=f>>>16,y+=(w+=(d+=(c+=65535&u)>>>16)>>>16)>>>16,r[7]=U=65535&w|y<<16,n[7]=O=65535&c|d<<16,h+=128,a-=128}return h}e.hash=function(t){var e=new o;e.update(t);var r=e.digest();return e.clean(),r}},76228:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.wipe=function(t){for(var e=0;e{e.Tc=e.TZ=e.wE=e.Xx=void 0;const i=r(37052),n=r(76228);function o(t){const e=new Float64Array(16);if(t)for(let r=0;r=0;--t){const e=r[t>>>3]>>>(7&t)&1;f(n,s,e),f(d,w,e),u(y,n,d),l(n,n,d),u(d,s,w),l(s,s,w),c(w,y),c(b,n),_(n,d,n),_(d,s,y),u(y,n,d),l(n,n,d),c(s,n),l(d,w,b),_(n,d,h),u(n,n,w),_(d,d,n),_(n,w,b),_(w,s,i),c(s,y),f(n,s,e),f(d,w,e)}for(let t=0;t<16;t++)i[t+16]=n[t],i[t+32]=d[t],i[t+48]=s[t],i[t+64]=w[t];const v=i.subarray(32),p=i.subarray(16);!function(t,e){const r=o();for(let t=0;t<16;t++)r[t]=e[t];for(let t=253;t>=0;t--)c(r,r),2!==t&&4!==t&&_(r,r,e);for(let e=0;e<16;e++)t[e]=r[e]}(v,v),_(p,p,v);const g=new Uint8Array(32);return function(t,e){const r=o(),i=o();for(let t=0;t<16;t++)i[t]=e[t];a(i),a(i),a(i);for(let t=0;t<2;t++){r[0]=i[0]-65517;for(let t=1;t<15;t++)r[t]=i[t]-65535-(r[t-1]>>16&1),r[t-1]&=65535;r[15]=i[15]-32767-(r[14]>>16&1);const t=r[15]>>16&1;r[14]&=65535,f(i,r,1-t)}for(let e=0;e<16;e++)t[2*e]=255&i[e],t[2*e+1]=i[e]>>8}(g,p),g}function w(t){return d(t,s)}function y(t){if(t.length!==e.wE)throw new Error(`x25519: seed must be ${e.wE} bytes`);const r=new Uint8Array(t);return{publicKey:w(r),secretKey:r}}e.TZ=function(t){const e=(0,i.randomBytes)(32,t),r=y(e);return(0,n.wipe)(e),r},e.Tc=function(t,r,i=!1){if(t.length!==e.Xx)throw new Error("X25519: incorrect secret key length");if(r.length!==e.Xx)throw new Error("X25519: incorrect public key length");const n=d(t,r);if(i){let t=0;for(let e=0;e