bsv2 2.0.21 → 2.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bsv2.bundle.js +1 -1
- package/dist/bsv2.cjs.js +1 -1
- package/dist/bsv2.mjs +1 -1
- package/dist/bsv2.module.js +1 -1
- package/package.json +5 -4
- package/webpack.config.js +1 -1
- package/.babelrc +0 -10
package/dist/bsv2.bundle.js
CHANGED
|
@@ -4,5 +4,5 @@ var Tt=Object.defineProperty;var i=(Ot,vt)=>Tt(Ot,"name",{value:vt,configurable:
|
|
|
4
4
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/const _=A(9742),Y=A(645),z=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;$.Buffer=m,$.SlowBuffer=w,$.INSPECT_MAX_BYTES=50;const k=2147483647;$.kMaxLength=k,m.TYPED_ARRAY_SUPPORT=d(),!m.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function d(){try{const I=new Uint8Array(1),s={foo:function(){return 42}};return Object.setPrototypeOf(s,Uint8Array.prototype),Object.setPrototypeOf(I,s),I.foo()===42}catch{return!1}}i(d,"typedArraySupport"),Object.defineProperty(m.prototype,"parent",{enumerable:!0,get:function(){if(m.isBuffer(this))return this.buffer}}),Object.defineProperty(m.prototype,"offset",{enumerable:!0,get:function(){if(m.isBuffer(this))return this.byteOffset}});function b(I){if(I>k)throw new RangeError('The value "'+I+'" is invalid for option "size"');const s=new Uint8Array(I);return Object.setPrototypeOf(s,m.prototype),s}i(b,"createBuffer");function m(I,s,c){if(typeof I=="number"){if(typeof s=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return a(I)}return B(I,s,c)}i(m,"Buffer"),m.poolSize=8192;function B(I,s,c){if(typeof I=="string")return l(I,s);if(ArrayBuffer.isView(I))return v(I);if(I==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I);if(Oe(I,ArrayBuffer)||I&&Oe(I.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Oe(I,SharedArrayBuffer)||I&&Oe(I.buffer,SharedArrayBuffer)))return y(I,s,c);if(typeof I=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const D=I.valueOf&&I.valueOf();if(D!=null&&D!==I)return m.from(D,s,c);const q=g(I);if(q)return q;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof I[Symbol.toPrimitive]=="function")return m.from(I[Symbol.toPrimitive]("string"),s,c);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I)}i(B,"from"),m.from=function(I,s,c){return B(I,s,c)},Object.setPrototypeOf(m.prototype,Uint8Array.prototype),Object.setPrototypeOf(m,Uint8Array);function P(I){if(typeof I!="number")throw new TypeError('"size" argument must be of type number');if(I<0)throw new RangeError('The value "'+I+'" is invalid for option "size"')}i(P,"assertSize");function p(I,s,c){return P(I),I<=0?b(I):s!==void 0?typeof c=="string"?b(I).fill(s,c):b(I).fill(s):b(I)}i(p,"alloc"),m.alloc=function(I,s,c){return p(I,s,c)};function a(I){return P(I),b(I<0?0:R(I)|0)}i(a,"allocUnsafe"),m.allocUnsafe=function(I){return a(I)},m.allocUnsafeSlow=function(I){return a(I)};function l(I,s){if((typeof s!="string"||s==="")&&(s="utf8"),!m.isEncoding(s))throw new TypeError("Unknown encoding: "+s);const c=O(I,s)|0;let D=b(c);const q=D.write(I,s);return q!==c&&(D=D.slice(0,q)),D}i(l,"fromString");function u(I){const s=I.length<0?0:R(I.length)|0,c=b(s);for(let D=0;D<s;D+=1)c[D]=I[D]&255;return c}i(u,"fromArrayLike");function v(I){if(Oe(I,Uint8Array)){const s=new Uint8Array(I);return y(s.buffer,s.byteOffset,s.byteLength)}return u(I)}i(v,"fromArrayView");function y(I,s,c){if(s<0||I.byteLength<s)throw new RangeError('"offset" is outside of buffer bounds');if(I.byteLength<s+(c||0))throw new RangeError('"length" is outside of buffer bounds');let D;return s===void 0&&c===void 0?D=new Uint8Array(I):c===void 0?D=new Uint8Array(I,s):D=new Uint8Array(I,s,c),Object.setPrototypeOf(D,m.prototype),D}i(y,"fromArrayBuffer");function g(I){if(m.isBuffer(I)){const s=R(I.length)|0,c=b(s);return c.length===0||I.copy(c,0,0,s),c}if(I.length!==void 0)return typeof I.length!="number"||Pe(I.length)?b(0):u(I);if(I.type==="Buffer"&&Array.isArray(I.data))return u(I.data)}i(g,"fromObject");function R(I){if(I>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return I|0}i(R,"checked");function w(I){return+I!=I&&(I=0),m.alloc(+I)}i(w,"SlowBuffer"),m.isBuffer=i(function(s){return s!=null&&s._isBuffer===!0&&s!==m.prototype},"isBuffer"),m.compare=i(function(s,c){if(Oe(s,Uint8Array)&&(s=m.from(s,s.offset,s.byteLength)),Oe(c,Uint8Array)&&(c=m.from(c,c.offset,c.byteLength)),!m.isBuffer(s)||!m.isBuffer(c))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===c)return 0;let D=s.length,q=c.length;for(let se=0,ne=Math.min(D,q);se<ne;++se)if(s[se]!==c[se]){D=s[se],q=c[se];break}return D<q?-1:q<D?1:0},"compare"),m.isEncoding=i(function(s){switch(String(s).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},"isEncoding"),m.concat=i(function(s,c){if(!Array.isArray(s))throw new TypeError('"list" argument must be an Array of Buffers');if(s.length===0)return m.alloc(0);let D;if(c===void 0)for(c=0,D=0;D<s.length;++D)c+=s[D].length;const q=m.allocUnsafe(c);let se=0;for(D=0;D<s.length;++D){let ne=s[D];if(Oe(ne,Uint8Array))se+ne.length>q.length?(m.isBuffer(ne)||(ne=m.from(ne)),ne.copy(q,se)):Uint8Array.prototype.set.call(q,ne,se);else if(m.isBuffer(ne))ne.copy(q,se);else throw new TypeError('"list" argument must be an Array of Buffers');se+=ne.length}return q},"concat");function O(I,s){if(m.isBuffer(I))return I.length;if(ArrayBuffer.isView(I)||Oe(I,ArrayBuffer))return I.byteLength;if(typeof I!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof I);const c=I.length,D=arguments.length>2&&arguments[2]===!0;if(!D&&c===0)return 0;let q=!1;for(;;)switch(s){case"ascii":case"latin1":case"binary":return c;case"utf8":case"utf-8":return ye(I).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c*2;case"hex":return c>>>1;case"base64":return ke(I).length;default:if(q)return D?-1:ye(I).length;s=(""+s).toLowerCase(),q=!0}}i(O,"byteLength"),m.byteLength=O;function C(I,s,c){let D=!1;if((s===void 0||s<0)&&(s=0),s>this.length||((c===void 0||c>this.length)&&(c=this.length),c<=0)||(c>>>=0,s>>>=0,c<=s))return"";for(I||(I="utf8");;)switch(I){case"hex":return N(this,s,c);case"utf8":case"utf-8":return E(this,s,c);case"ascii":return h(this,s,c);case"latin1":case"binary":return S(this,s,c);case"base64":return te(this,s,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,s,c);default:if(D)throw new TypeError("Unknown encoding: "+I);I=(I+"").toLowerCase(),D=!0}}i(C,"slowToString"),m.prototype._isBuffer=!0;function L(I,s,c){const D=I[s];I[s]=I[c],I[c]=D}i(L,"swap"),m.prototype.swap16=i(function(){const s=this.length;if(s%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let c=0;c<s;c+=2)L(this,c,c+1);return this},"swap16"),m.prototype.swap32=i(function(){const s=this.length;if(s%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let c=0;c<s;c+=4)L(this,c,c+3),L(this,c+1,c+2);return this},"swap32"),m.prototype.swap64=i(function(){const s=this.length;if(s%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let c=0;c<s;c+=8)L(this,c,c+7),L(this,c+1,c+6),L(this,c+2,c+5),L(this,c+3,c+4);return this},"swap64"),m.prototype.toString=i(function(){const s=this.length;return s===0?"":arguments.length===0?E(this,0,s):C.apply(this,arguments)},"toString"),m.prototype.toLocaleString=m.prototype.toString,m.prototype.equals=i(function(s){if(!m.isBuffer(s))throw new TypeError("Argument must be a Buffer");return this===s?!0:m.compare(this,s)===0},"equals"),m.prototype.inspect=i(function(){let s="";const c=$.INSPECT_MAX_BYTES;return s=this.toString("hex",0,c).replace(/(.{2})/g,"$1 ").trim(),this.length>c&&(s+=" ... "),"<Buffer "+s+">"},"inspect"),z&&(m.prototype[z]=m.prototype.inspect),m.prototype.compare=i(function(s,c,D,q,se){if(Oe(s,Uint8Array)&&(s=m.from(s,s.offset,s.byteLength)),!m.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(c===void 0&&(c=0),D===void 0&&(D=s?s.length:0),q===void 0&&(q=0),se===void 0&&(se=this.length),c<0||D>s.length||q<0||se>this.length)throw new RangeError("out of range index");if(q>=se&&c>=D)return 0;if(q>=se)return-1;if(c>=D)return 1;if(c>>>=0,D>>>=0,q>>>=0,se>>>=0,this===s)return 0;let ne=se-q,Ie=D-c;const De=Math.min(ne,Ie),Le=this.slice(q,se),Ne=s.slice(c,D);for(let Ve=0;Ve<De;++Ve)if(Le[Ve]!==Ne[Ve]){ne=Le[Ve],Ie=Ne[Ve];break}return ne<Ie?-1:Ie<ne?1:0},"compare");function V(I,s,c,D,q){if(I.length===0)return-1;if(typeof c=="string"?(D=c,c=0):c>2147483647?c=2147483647:c<-2147483648&&(c=-2147483648),c=+c,Pe(c)&&(c=q?0:I.length-1),c<0&&(c=I.length+c),c>=I.length){if(q)return-1;c=I.length-1}else if(c<0)if(q)c=0;else return-1;if(typeof s=="string"&&(s=m.from(s,D)),m.isBuffer(s))return s.length===0?-1:Q(I,s,c,D,q);if(typeof s=="number")return s=s&255,typeof Uint8Array.prototype.indexOf=="function"?q?Uint8Array.prototype.indexOf.call(I,s,c):Uint8Array.prototype.lastIndexOf.call(I,s,c):Q(I,[s],c,D,q);throw new TypeError("val must be string, number or Buffer")}i(V,"bidirectionalIndexOf");function Q(I,s,c,D,q){let se=1,ne=I.length,Ie=s.length;if(D!==void 0&&(D=String(D).toLowerCase(),D==="ucs2"||D==="ucs-2"||D==="utf16le"||D==="utf-16le")){if(I.length<2||s.length<2)return-1;se=2,ne/=2,Ie/=2,c/=2}function De(Ne,Ve){return se===1?Ne[Ve]:Ne.readUInt16BE(Ve*se)}i(De,"read");let Le;if(q){let Ne=-1;for(Le=c;Le<ne;Le++)if(De(I,Le)===De(s,Ne===-1?0:Le-Ne)){if(Ne===-1&&(Ne=Le),Le-Ne+1===Ie)return Ne*se}else Ne!==-1&&(Le-=Le-Ne),Ne=-1}else for(c+Ie>ne&&(c=ne-Ie),Le=c;Le>=0;Le--){let Ne=!0;for(let Ve=0;Ve<Ie;Ve++)if(De(I,Le+Ve)!==De(s,Ve)){Ne=!1;break}if(Ne)return Le}return-1}i(Q,"arrayIndexOf"),m.prototype.includes=i(function(s,c,D){return this.indexOf(s,c,D)!==-1},"includes"),m.prototype.indexOf=i(function(s,c,D){return V(this,s,c,D,!0)},"indexOf"),m.prototype.lastIndexOf=i(function(s,c,D){return V(this,s,c,D,!1)},"lastIndexOf");function ie(I,s,c,D){c=Number(c)||0;const q=I.length-c;D?(D=Number(D),D>q&&(D=q)):D=q;const se=s.length;D>se/2&&(D=se/2);let ne;for(ne=0;ne<D;++ne){const Ie=parseInt(s.substr(ne*2,2),16);if(Pe(Ie))return ne;I[c+ne]=Ie}return ne}i(ie,"hexWrite");function ae(I,s,c,D){return me(ye(s,I.length-c),I,c,D)}i(ae,"utf8Write");function oe(I,s,c,D){return me(Ae(s),I,c,D)}i(oe,"asciiWrite");function ge(I,s,c,D){return me(ke(s),I,c,D)}i(ge,"base64Write");function le(I,s,c,D){return me(_e(s,I.length-c),I,c,D)}i(le,"ucs2Write"),m.prototype.write=i(function(s,c,D,q){if(c===void 0)q="utf8",D=this.length,c=0;else if(D===void 0&&typeof c=="string")q=c,D=this.length,c=0;else if(isFinite(c))c=c>>>0,isFinite(D)?(D=D>>>0,q===void 0&&(q="utf8")):(q=D,D=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const se=this.length-c;if((D===void 0||D>se)&&(D=se),s.length>0&&(D<0||c<0)||c>this.length)throw new RangeError("Attempt to write outside buffer bounds");q||(q="utf8");let ne=!1;for(;;)switch(q){case"hex":return ie(this,s,c,D);case"utf8":case"utf-8":return ae(this,s,c,D);case"ascii":case"latin1":case"binary":return oe(this,s,c,D);case"base64":return ge(this,s,c,D);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,s,c,D);default:if(ne)throw new TypeError("Unknown encoding: "+q);q=(""+q).toLowerCase(),ne=!0}},"write"),m.prototype.toJSON=i(function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},"toJSON");function te(I,s,c){return s===0&&c===I.length?_.fromByteArray(I):_.fromByteArray(I.slice(s,c))}i(te,"base64Slice");function E(I,s,c){c=Math.min(I.length,c);const D=[];let q=s;for(;q<c;){const se=I[q];let ne=null,Ie=se>239?4:se>223?3:se>191?2:1;if(q+Ie<=c){let De,Le,Ne,Ve;switch(Ie){case 1:se<128&&(ne=se);break;case 2:De=I[q+1],(De&192)===128&&(Ve=(se&31)<<6|De&63,Ve>127&&(ne=Ve));break;case 3:De=I[q+1],Le=I[q+2],(De&192)===128&&(Le&192)===128&&(Ve=(se&15)<<12|(De&63)<<6|Le&63,Ve>2047&&(Ve<55296||Ve>57343)&&(ne=Ve));break;case 4:De=I[q+1],Le=I[q+2],Ne=I[q+3],(De&192)===128&&(Le&192)===128&&(Ne&192)===128&&(Ve=(se&15)<<18|(De&63)<<12|(Le&63)<<6|Ne&63,Ve>65535&&Ve<1114112&&(ne=Ve))}}ne===null?(ne=65533,Ie=1):ne>65535&&(ne-=65536,D.push(ne>>>10&1023|55296),ne=56320|ne&1023),D.push(ne),q+=Ie}return o(D)}i(E,"utf8Slice");const r=4096;function o(I){const s=I.length;if(s<=r)return String.fromCharCode.apply(String,I);let c="",D=0;for(;D<s;)c+=String.fromCharCode.apply(String,I.slice(D,D+=r));return c}i(o,"decodeCodePointsArray");function h(I,s,c){let D="";c=Math.min(I.length,c);for(let q=s;q<c;++q)D+=String.fromCharCode(I[q]&127);return D}i(h,"asciiSlice");function S(I,s,c){let D="";c=Math.min(I.length,c);for(let q=s;q<c;++q)D+=String.fromCharCode(I[q]);return D}i(S,"latin1Slice");function N(I,s,c){const D=I.length;(!s||s<0)&&(s=0),(!c||c<0||c>D)&&(c=D);let q="";for(let se=s;se<c;++se)q+=Ke[I[se]];return q}i(N,"hexSlice");function G(I,s,c){const D=I.slice(s,c);let q="";for(let se=0;se<D.length-1;se+=2)q+=String.fromCharCode(D[se]+D[se+1]*256);return q}i(G,"utf16leSlice"),m.prototype.slice=i(function(s,c){const D=this.length;s=~~s,c=c===void 0?D:~~c,s<0?(s+=D,s<0&&(s=0)):s>D&&(s=D),c<0?(c+=D,c<0&&(c=0)):c>D&&(c=D),c<s&&(c=s);const q=this.subarray(s,c);return Object.setPrototypeOf(q,m.prototype),q},"slice");function J(I,s,c){if(I%1!==0||I<0)throw new RangeError("offset is not uint");if(I+s>c)throw new RangeError("Trying to access beyond buffer length")}i(J,"checkOffset"),m.prototype.readUintLE=m.prototype.readUIntLE=i(function(s,c,D){s=s>>>0,c=c>>>0,D||J(s,c,this.length);let q=this[s],se=1,ne=0;for(;++ne<c&&(se*=256);)q+=this[s+ne]*se;return q},"readUIntLE"),m.prototype.readUintBE=m.prototype.readUIntBE=i(function(s,c,D){s=s>>>0,c=c>>>0,D||J(s,c,this.length);let q=this[s+--c],se=1;for(;c>0&&(se*=256);)q+=this[s+--c]*se;return q},"readUIntBE"),m.prototype.readUint8=m.prototype.readUInt8=i(function(s,c){return s=s>>>0,c||J(s,1,this.length),this[s]},"readUInt8"),m.prototype.readUint16LE=m.prototype.readUInt16LE=i(function(s,c){return s=s>>>0,c||J(s,2,this.length),this[s]|this[s+1]<<8},"readUInt16LE"),m.prototype.readUint16BE=m.prototype.readUInt16BE=i(function(s,c){return s=s>>>0,c||J(s,2,this.length),this[s]<<8|this[s+1]},"readUInt16BE"),m.prototype.readUint32LE=m.prototype.readUInt32LE=i(function(s,c){return s=s>>>0,c||J(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+this[s+3]*16777216},"readUInt32LE"),m.prototype.readUint32BE=m.prototype.readUInt32BE=i(function(s,c){return s=s>>>0,c||J(s,4,this.length),this[s]*16777216+(this[s+1]<<16|this[s+2]<<8|this[s+3])},"readUInt32BE"),m.prototype.readBigUInt64LE=Ce(i(function(s){s=s>>>0,Se(s,"offset");const c=this[s],D=this[s+7];(c===void 0||D===void 0)&&K(s,this.length-8);const q=c+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24,se=this[++s]+this[++s]*2**8+this[++s]*2**16+D*2**24;return BigInt(q)+(BigInt(se)<<BigInt(32))},"readBigUInt64LE")),m.prototype.readBigUInt64BE=Ce(i(function(s){s=s>>>0,Se(s,"offset");const c=this[s],D=this[s+7];(c===void 0||D===void 0)&&K(s,this.length-8);const q=c*2**24+this[++s]*2**16+this[++s]*2**8+this[++s],se=this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+D;return(BigInt(q)<<BigInt(32))+BigInt(se)},"readBigUInt64BE")),m.prototype.readIntLE=i(function(s,c,D){s=s>>>0,c=c>>>0,D||J(s,c,this.length);let q=this[s],se=1,ne=0;for(;++ne<c&&(se*=256);)q+=this[s+ne]*se;return se*=128,q>=se&&(q-=Math.pow(2,8*c)),q},"readIntLE"),m.prototype.readIntBE=i(function(s,c,D){s=s>>>0,c=c>>>0,D||J(s,c,this.length);let q=c,se=1,ne=this[s+--q];for(;q>0&&(se*=256);)ne+=this[s+--q]*se;return se*=128,ne>=se&&(ne-=Math.pow(2,8*c)),ne},"readIntBE"),m.prototype.readInt8=i(function(s,c){return s=s>>>0,c||J(s,1,this.length),this[s]&128?(255-this[s]+1)*-1:this[s]},"readInt8"),m.prototype.readInt16LE=i(function(s,c){s=s>>>0,c||J(s,2,this.length);const D=this[s]|this[s+1]<<8;return D&32768?D|4294901760:D},"readInt16LE"),m.prototype.readInt16BE=i(function(s,c){s=s>>>0,c||J(s,2,this.length);const D=this[s+1]|this[s]<<8;return D&32768?D|4294901760:D},"readInt16BE"),m.prototype.readInt32LE=i(function(s,c){return s=s>>>0,c||J(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},"readInt32LE"),m.prototype.readInt32BE=i(function(s,c){return s=s>>>0,c||J(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},"readInt32BE"),m.prototype.readBigInt64LE=Ce(i(function(s){s=s>>>0,Se(s,"offset");const c=this[s],D=this[s+7];(c===void 0||D===void 0)&&K(s,this.length-8);const q=this[s+4]+this[s+5]*2**8+this[s+6]*2**16+(D<<24);return(BigInt(q)<<BigInt(32))+BigInt(c+this[++s]*256+this[++s]*65536+this[++s]*16777216)},"readBigInt64LE")),m.prototype.readBigInt64BE=Ce(i(function(s){s=s>>>0,Se(s,"offset");const c=this[s],D=this[s+7];(c===void 0||D===void 0)&&K(s,this.length-8);const q=(c<<24)+this[++s]*2**16+this[++s]*2**8+this[++s];return(BigInt(q)<<BigInt(32))+BigInt(this[++s]*16777216+this[++s]*65536+this[++s]*256+D)},"readBigInt64BE")),m.prototype.readFloatLE=i(function(s,c){return s=s>>>0,c||J(s,4,this.length),Y.read(this,s,!0,23,4)},"readFloatLE"),m.prototype.readFloatBE=i(function(s,c){return s=s>>>0,c||J(s,4,this.length),Y.read(this,s,!1,23,4)},"readFloatBE"),m.prototype.readDoubleLE=i(function(s,c){return s=s>>>0,c||J(s,8,this.length),Y.read(this,s,!0,52,8)},"readDoubleLE"),m.prototype.readDoubleBE=i(function(s,c){return s=s>>>0,c||J(s,8,this.length),Y.read(this,s,!1,52,8)},"readDoubleBE");function F(I,s,c,D,q,se){if(!m.isBuffer(I))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>q||s<se)throw new RangeError('"value" argument is out of bounds');if(c+D>I.length)throw new RangeError("Index out of range")}i(F,"checkInt"),m.prototype.writeUintLE=m.prototype.writeUIntLE=i(function(s,c,D,q){if(s=+s,c=c>>>0,D=D>>>0,!q){const Ie=Math.pow(2,8*D)-1;F(this,s,c,D,Ie,0)}let se=1,ne=0;for(this[c]=s&255;++ne<D&&(se*=256);)this[c+ne]=s/se&255;return c+D},"writeUIntLE"),m.prototype.writeUintBE=m.prototype.writeUIntBE=i(function(s,c,D,q){if(s=+s,c=c>>>0,D=D>>>0,!q){const Ie=Math.pow(2,8*D)-1;F(this,s,c,D,Ie,0)}let se=D-1,ne=1;for(this[c+se]=s&255;--se>=0&&(ne*=256);)this[c+se]=s/ne&255;return c+D},"writeUIntBE"),m.prototype.writeUint8=m.prototype.writeUInt8=i(function(s,c,D){return s=+s,c=c>>>0,D||F(this,s,c,1,255,0),this[c]=s&255,c+1},"writeUInt8"),m.prototype.writeUint16LE=m.prototype.writeUInt16LE=i(function(s,c,D){return s=+s,c=c>>>0,D||F(this,s,c,2,65535,0),this[c]=s&255,this[c+1]=s>>>8,c+2},"writeUInt16LE"),m.prototype.writeUint16BE=m.prototype.writeUInt16BE=i(function(s,c,D){return s=+s,c=c>>>0,D||F(this,s,c,2,65535,0),this[c]=s>>>8,this[c+1]=s&255,c+2},"writeUInt16BE"),m.prototype.writeUint32LE=m.prototype.writeUInt32LE=i(function(s,c,D){return s=+s,c=c>>>0,D||F(this,s,c,4,4294967295,0),this[c+3]=s>>>24,this[c+2]=s>>>16,this[c+1]=s>>>8,this[c]=s&255,c+4},"writeUInt32LE"),m.prototype.writeUint32BE=m.prototype.writeUInt32BE=i(function(s,c,D){return s=+s,c=c>>>0,D||F(this,s,c,4,4294967295,0),this[c]=s>>>24,this[c+1]=s>>>16,this[c+2]=s>>>8,this[c+3]=s&255,c+4},"writeUInt32BE");function f(I,s,c,D,q){he(s,D,q,I,c,7);let se=Number(s&BigInt(4294967295));I[c++]=se,se=se>>8,I[c++]=se,se=se>>8,I[c++]=se,se=se>>8,I[c++]=se;let ne=Number(s>>BigInt(32)&BigInt(4294967295));return I[c++]=ne,ne=ne>>8,I[c++]=ne,ne=ne>>8,I[c++]=ne,ne=ne>>8,I[c++]=ne,c}i(f,"wrtBigUInt64LE");function H(I,s,c,D,q){he(s,D,q,I,c,7);let se=Number(s&BigInt(4294967295));I[c+7]=se,se=se>>8,I[c+6]=se,se=se>>8,I[c+5]=se,se=se>>8,I[c+4]=se;let ne=Number(s>>BigInt(32)&BigInt(4294967295));return I[c+3]=ne,ne=ne>>8,I[c+2]=ne,ne=ne>>8,I[c+1]=ne,ne=ne>>8,I[c]=ne,c+8}i(H,"wrtBigUInt64BE"),m.prototype.writeBigUInt64LE=Ce(i(function(s,c=0){return f(this,s,c,BigInt(0),BigInt("0xffffffffffffffff"))},"writeBigUInt64LE")),m.prototype.writeBigUInt64BE=Ce(i(function(s,c=0){return H(this,s,c,BigInt(0),BigInt("0xffffffffffffffff"))},"writeBigUInt64BE")),m.prototype.writeIntLE=i(function(s,c,D,q){if(s=+s,c=c>>>0,!q){const De=Math.pow(2,8*D-1);F(this,s,c,D,De-1,-De)}let se=0,ne=1,Ie=0;for(this[c]=s&255;++se<D&&(ne*=256);)s<0&&Ie===0&&this[c+se-1]!==0&&(Ie=1),this[c+se]=(s/ne>>0)-Ie&255;return c+D},"writeIntLE"),m.prototype.writeIntBE=i(function(s,c,D,q){if(s=+s,c=c>>>0,!q){const De=Math.pow(2,8*D-1);F(this,s,c,D,De-1,-De)}let se=D-1,ne=1,Ie=0;for(this[c+se]=s&255;--se>=0&&(ne*=256);)s<0&&Ie===0&&this[c+se+1]!==0&&(Ie=1),this[c+se]=(s/ne>>0)-Ie&255;return c+D},"writeIntBE"),m.prototype.writeInt8=i(function(s,c,D){return s=+s,c=c>>>0,D||F(this,s,c,1,127,-128),s<0&&(s=255+s+1),this[c]=s&255,c+1},"writeInt8"),m.prototype.writeInt16LE=i(function(s,c,D){return s=+s,c=c>>>0,D||F(this,s,c,2,32767,-32768),this[c]=s&255,this[c+1]=s>>>8,c+2},"writeInt16LE"),m.prototype.writeInt16BE=i(function(s,c,D){return s=+s,c=c>>>0,D||F(this,s,c,2,32767,-32768),this[c]=s>>>8,this[c+1]=s&255,c+2},"writeInt16BE"),m.prototype.writeInt32LE=i(function(s,c,D){return s=+s,c=c>>>0,D||F(this,s,c,4,2147483647,-2147483648),this[c]=s&255,this[c+1]=s>>>8,this[c+2]=s>>>16,this[c+3]=s>>>24,c+4},"writeInt32LE"),m.prototype.writeInt32BE=i(function(s,c,D){return s=+s,c=c>>>0,D||F(this,s,c,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[c]=s>>>24,this[c+1]=s>>>16,this[c+2]=s>>>8,this[c+3]=s&255,c+4},"writeInt32BE"),m.prototype.writeBigInt64LE=Ce(i(function(s,c=0){return f(this,s,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))},"writeBigInt64LE")),m.prototype.writeBigInt64BE=Ce(i(function(s,c=0){return H(this,s,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))},"writeBigInt64BE"));function we(I,s,c,D,q,se){if(c+D>I.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("Index out of range")}i(we,"checkIEEE754");function xe(I,s,c,D,q){return s=+s,c=c>>>0,q||we(I,s,c,4,34028234663852886e22,-34028234663852886e22),Y.write(I,s,c,D,23,4),c+4}i(xe,"writeFloat"),m.prototype.writeFloatLE=i(function(s,c,D){return xe(this,s,c,!0,D)},"writeFloatLE"),m.prototype.writeFloatBE=i(function(s,c,D){return xe(this,s,c,!1,D)},"writeFloatBE");function Ee(I,s,c,D,q){return s=+s,c=c>>>0,q||we(I,s,c,8,17976931348623157e292,-17976931348623157e292),Y.write(I,s,c,D,52,8),c+8}i(Ee,"writeDouble"),m.prototype.writeDoubleLE=i(function(s,c,D){return Ee(this,s,c,!0,D)},"writeDoubleLE"),m.prototype.writeDoubleBE=i(function(s,c,D){return Ee(this,s,c,!1,D)},"writeDoubleBE"),m.prototype.copy=i(function(s,c,D,q){if(!m.isBuffer(s))throw new TypeError("argument should be a Buffer");if(D||(D=0),!q&&q!==0&&(q=this.length),c>=s.length&&(c=s.length),c||(c=0),q>0&&q<D&&(q=D),q===D||s.length===0||this.length===0)return 0;if(c<0)throw new RangeError("targetStart out of bounds");if(D<0||D>=this.length)throw new RangeError("Index out of range");if(q<0)throw new RangeError("sourceEnd out of bounds");q>this.length&&(q=this.length),s.length-c<q-D&&(q=s.length-c+D);const se=q-D;return this===s&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(c,D,q):Uint8Array.prototype.set.call(s,this.subarray(D,q),c),se},"copy"),m.prototype.fill=i(function(s,c,D,q){if(typeof s=="string"){if(typeof c=="string"?(q=c,c=0,D=this.length):typeof D=="string"&&(q=D,D=this.length),q!==void 0&&typeof q!="string")throw new TypeError("encoding must be a string");if(typeof q=="string"&&!m.isEncoding(q))throw new TypeError("Unknown encoding: "+q);if(s.length===1){const ne=s.charCodeAt(0);(q==="utf8"&&ne<128||q==="latin1")&&(s=ne)}}else typeof s=="number"?s=s&255:typeof s=="boolean"&&(s=Number(s));if(c<0||this.length<c||this.length<D)throw new RangeError("Out of range index");if(D<=c)return this;c=c>>>0,D=D===void 0?this.length:D>>>0,s||(s=0);let se;if(typeof s=="number")for(se=c;se<D;++se)this[se]=s;else{const ne=m.isBuffer(s)?s:m.from(s,q),Ie=ne.length;if(Ie===0)throw new TypeError('The value "'+s+'" is invalid for argument "value"');for(se=0;se<D-c;++se)this[se+c]=ne[se%Ie]}return this},"fill");const U={};function X(I,s,c){U[I]=class extends c{static{i(this,"NodeError")}constructor(){super(),Object.defineProperty(this,"message",{value:s.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${I}]`,this.stack,delete this.name}get code(){return I}set code(q){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:q,writable:!0})}toString(){return`${this.name} [${I}]: ${this.message}`}}}i(X,"E"),X("ERR_BUFFER_OUT_OF_BOUNDS",function(I){return I?`${I} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),X("ERR_INVALID_ARG_TYPE",function(I,s){return`The "${I}" argument must be of type number. Received type ${typeof s}`},TypeError),X("ERR_OUT_OF_RANGE",function(I,s,c){let D=`The value of "${I}" is out of range.`,q=c;return Number.isInteger(c)&&Math.abs(c)>4294967296?q=Z(String(c)):typeof c=="bigint"&&(q=String(c),(c>BigInt(2)**BigInt(32)||c<-(BigInt(2)**BigInt(32)))&&(q=Z(q)),q+="n"),D+=` It must be ${s}. Received ${q}`,D},RangeError);function Z(I){let s="",c=I.length;const D=I[0]==="-"?1:0;for(;c>=D+4;c-=3)s=`_${I.slice(c-3,c)}${s}`;return`${I.slice(0,c)}${s}`}i(Z,"addNumericalSeparator");function ue(I,s,c){Se(s,"offset"),(I[s]===void 0||I[s+c]===void 0)&&K(s,I.length-(c+1))}i(ue,"checkBounds");function he(I,s,c,D,q,se){if(I>c||I<s){const ne=typeof s=="bigint"?"n":"";let Ie;throw se>3?s===0||s===BigInt(0)?Ie=`>= 0${ne} and < 2${ne} ** ${(se+1)*8}${ne}`:Ie=`>= -(2${ne} ** ${(se+1)*8-1}${ne}) and < 2 ** ${(se+1)*8-1}${ne}`:Ie=`>= ${s}${ne} and <= ${c}${ne}`,new U.ERR_OUT_OF_RANGE("value",Ie,I)}ue(D,q,se)}i(he,"checkIntBI");function Se(I,s){if(typeof I!="number")throw new U.ERR_INVALID_ARG_TYPE(s,"number",I)}i(Se,"validateNumber");function K(I,s,c){throw Math.floor(I)!==I?(Se(I,c),new U.ERR_OUT_OF_RANGE(c||"offset","an integer",I)):s<0?new U.ERR_BUFFER_OUT_OF_BOUNDS:new U.ERR_OUT_OF_RANGE(c||"offset",`>= ${c?1:0} and <= ${s}`,I)}i(K,"boundsError");const j=/[^+/0-9A-Za-z-_]/g;function fe(I){if(I=I.split("=")[0],I=I.trim().replace(j,""),I.length<2)return"";for(;I.length%4!==0;)I=I+"=";return I}i(fe,"base64clean");function ye(I,s){s=s||1/0;let c;const D=I.length;let q=null;const se=[];for(let ne=0;ne<D;++ne){if(c=I.charCodeAt(ne),c>55295&&c<57344){if(!q){if(c>56319){(s-=3)>-1&&se.push(239,191,189);continue}else if(ne+1===D){(s-=3)>-1&&se.push(239,191,189);continue}q=c;continue}if(c<56320){(s-=3)>-1&&se.push(239,191,189),q=c;continue}c=(q-55296<<10|c-56320)+65536}else q&&(s-=3)>-1&&se.push(239,191,189);if(q=null,c<128){if((s-=1)<0)break;se.push(c)}else if(c<2048){if((s-=2)<0)break;se.push(c>>6|192,c&63|128)}else if(c<65536){if((s-=3)<0)break;se.push(c>>12|224,c>>6&63|128,c&63|128)}else if(c<1114112){if((s-=4)<0)break;se.push(c>>18|240,c>>12&63|128,c>>6&63|128,c&63|128)}else throw new Error("Invalid code point")}return se}i(ye,"utf8ToBytes");function Ae(I){const s=[];for(let c=0;c<I.length;++c)s.push(I.charCodeAt(c)&255);return s}i(Ae,"asciiToBytes");function _e(I,s){let c,D,q;const se=[];for(let ne=0;ne<I.length&&!((s-=2)<0);++ne)c=I.charCodeAt(ne),D=c>>8,q=c%256,se.push(q),se.push(D);return se}i(_e,"utf16leToBytes");function ke(I){return _.toByteArray(fe(I))}i(ke,"base64ToBytes");function me(I,s,c,D){let q;for(q=0;q<D&&!(q+c>=s.length||q>=I.length);++q)s[q+c]=I[q];return q}i(me,"blitBuffer");function Oe(I,s){return I instanceof s||I!=null&&I.constructor!=null&&I.constructor.name!=null&&I.constructor.name===s.name}i(Oe,"isInstance");function Pe(I){return I!==I}i(Pe,"numberIsNaN");const Ke=function(){const I="0123456789abcdef",s=new Array(256);for(let c=0;c<16;++c){const D=c*16;for(let q=0;q<16;++q)s[D+q]=I[c]+I[q]}return s}();function Ce(I){return typeof BigInt>"u"?$e:I}i(Ce,"defineBigIntMethod");function $e(){throw new Error("BigInt not supported")}i($e,"BufferBigIntNotDefined")},8028:(re,$,A)=>{var _=A(2318);re.exports=function(Y){return new _().update(Y).digest()}},7187:re=>{"use strict";var $=typeof Reflect=="object"?Reflect:null,A=$&&typeof $.apply=="function"?$.apply:i(function(C,L,V){return Function.prototype.apply.call(C,L,V)},"ReflectApply"),_;$&&typeof $.ownKeys=="function"?_=$.ownKeys:Object.getOwnPropertySymbols?_=i(function(C){return Object.getOwnPropertyNames(C).concat(Object.getOwnPropertySymbols(C))},"ReflectOwnKeys"):_=i(function(C){return Object.getOwnPropertyNames(C)},"ReflectOwnKeys");function Y(O){console&&console.warn&&console.warn(O)}i(Y,"ProcessEmitWarning");var z=Number.isNaN||i(function(C){return C!==C},"NumberIsNaN");function k(){k.init.call(this)}i(k,"EventEmitter"),re.exports=k,re.exports.once=g,k.EventEmitter=k,k.prototype._events=void 0,k.prototype._eventsCount=0,k.prototype._maxListeners=void 0;var d=10;function b(O){if(typeof O!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof O)}i(b,"checkListener"),Object.defineProperty(k,"defaultMaxListeners",{enumerable:!0,get:function(){return d},set:function(O){if(typeof O!="number"||O<0||z(O))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+O+".");d=O}}),k.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},k.prototype.setMaxListeners=i(function(C){if(typeof C!="number"||C<0||z(C))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+C+".");return this._maxListeners=C,this},"setMaxListeners");function m(O){return O._maxListeners===void 0?k.defaultMaxListeners:O._maxListeners}i(m,"_getMaxListeners"),k.prototype.getMaxListeners=i(function(){return m(this)},"getMaxListeners"),k.prototype.emit=i(function(C){for(var L=[],V=1;V<arguments.length;V++)L.push(arguments[V]);var Q=C==="error",ie=this._events;if(ie!==void 0)Q=Q&&ie.error===void 0;else if(!Q)return!1;if(Q){var ae;if(L.length>0&&(ae=L[0]),ae instanceof Error)throw ae;var oe=new Error("Unhandled error."+(ae?" ("+ae.message+")":""));throw oe.context=ae,oe}var ge=ie[C];if(ge===void 0)return!1;if(typeof ge=="function")A(ge,this,L);else for(var le=ge.length,te=u(ge,le),V=0;V<le;++V)A(te[V],this,L);return!0},"emit");function B(O,C,L,V){var Q,ie,ae;if(b(L),ie=O._events,ie===void 0?(ie=O._events=Object.create(null),O._eventsCount=0):(ie.newListener!==void 0&&(O.emit("newListener",C,L.listener?L.listener:L),ie=O._events),ae=ie[C]),ae===void 0)ae=ie[C]=L,++O._eventsCount;else if(typeof ae=="function"?ae=ie[C]=V?[L,ae]:[ae,L]:V?ae.unshift(L):ae.push(L),Q=m(O),Q>0&&ae.length>Q&&!ae.warned){ae.warned=!0;var oe=new Error("Possible EventEmitter memory leak detected. "+ae.length+" "+String(C)+" listeners added. Use emitter.setMaxListeners() to increase limit");oe.name="MaxListenersExceededWarning",oe.emitter=O,oe.type=C,oe.count=ae.length,Y(oe)}return O}i(B,"_addListener"),k.prototype.addListener=i(function(C,L){return B(this,C,L,!1)},"addListener"),k.prototype.on=k.prototype.addListener,k.prototype.prependListener=i(function(C,L){return B(this,C,L,!0)},"prependListener");function P(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}i(P,"onceWrapper");function p(O,C,L){var V={fired:!1,wrapFn:void 0,target:O,type:C,listener:L},Q=P.bind(V);return Q.listener=L,V.wrapFn=Q,Q}i(p,"_onceWrap"),k.prototype.once=i(function(C,L){return b(L),this.on(C,p(this,C,L)),this},"once"),k.prototype.prependOnceListener=i(function(C,L){return b(L),this.prependListener(C,p(this,C,L)),this},"prependOnceListener"),k.prototype.removeListener=i(function(C,L){var V,Q,ie,ae,oe;if(b(L),Q=this._events,Q===void 0)return this;if(V=Q[C],V===void 0)return this;if(V===L||V.listener===L)--this._eventsCount===0?this._events=Object.create(null):(delete Q[C],Q.removeListener&&this.emit("removeListener",C,V.listener||L));else if(typeof V!="function"){for(ie=-1,ae=V.length-1;ae>=0;ae--)if(V[ae]===L||V[ae].listener===L){oe=V[ae].listener,ie=ae;break}if(ie<0)return this;ie===0?V.shift():v(V,ie),V.length===1&&(Q[C]=V[0]),Q.removeListener!==void 0&&this.emit("removeListener",C,oe||L)}return this},"removeListener"),k.prototype.off=k.prototype.removeListener,k.prototype.removeAllListeners=i(function(C){var L,V,Q;if(V=this._events,V===void 0)return this;if(V.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):V[C]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete V[C]),this;if(arguments.length===0){var ie=Object.keys(V),ae;for(Q=0;Q<ie.length;++Q)ae=ie[Q],ae!=="removeListener"&&this.removeAllListeners(ae);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(L=V[C],typeof L=="function")this.removeListener(C,L);else if(L!==void 0)for(Q=L.length-1;Q>=0;Q--)this.removeListener(C,L[Q]);return this},"removeAllListeners");function a(O,C,L){var V=O._events;if(V===void 0)return[];var Q=V[C];return Q===void 0?[]:typeof Q=="function"?L?[Q.listener||Q]:[Q]:L?y(Q):u(Q,Q.length)}i(a,"_listeners"),k.prototype.listeners=i(function(C){return a(this,C,!0)},"listeners"),k.prototype.rawListeners=i(function(C){return a(this,C,!1)},"rawListeners"),k.listenerCount=function(O,C){return typeof O.listenerCount=="function"?O.listenerCount(C):l.call(O,C)},k.prototype.listenerCount=l;function l(O){var C=this._events;if(C!==void 0){var L=C[O];if(typeof L=="function")return 1;if(L!==void 0)return L.length}return 0}i(l,"listenerCount"),k.prototype.eventNames=i(function(){return this._eventsCount>0?_(this._events):[]},"eventNames");function u(O,C){for(var L=new Array(C),V=0;V<C;++V)L[V]=O[V];return L}i(u,"arrayClone");function v(O,C){for(;C+1<O.length;C++)O[C]=O[C+1];O.pop()}i(v,"spliceOne");function y(O){for(var C=new Array(O.length),L=0;L<C.length;++L)C[L]=O[L].listener||O[L];return C}i(y,"unwrapListeners");function g(O,C){return new Promise(function(L,V){function Q(ae){O.removeListener(C,ie),V(ae)}i(Q,"errorListener");function ie(){typeof O.removeListener=="function"&&O.removeListener("error",Q),L([].slice.call(arguments))}i(ie,"resolver"),w(O,C,ie,{once:!0}),C!=="error"&&R(O,Q,{once:!0})})}i(g,"once");function R(O,C,L){typeof O.on=="function"&&w(O,"error",C,L)}i(R,"addErrorHandlerIfEventEmitter");function w(O,C,L,V){if(typeof O.on=="function")V.once?O.once(C,L):O.on(C,L);else if(typeof O.addEventListener=="function")O.addEventListener(C,i(function Q(ie){V.once&&O.removeEventListener(C,Q),L(ie)},"wrapListener"));else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof O)}i(w,"eventTargetAgnosticAddListener")},3349:(re,$,A)=>{"use strict";var _=A(9509).Buffer,Y=A(8473).Transform,z=A(5717);function k(b,m){if(!_.isBuffer(b)&&typeof b!="string")throw new TypeError(m+" must be a string or a buffer")}i(k,"throwIfNotStringOrBuffer");function d(b){Y.call(this),this._block=_.allocUnsafe(b),this._blockSize=b,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}i(d,"HashBase"),z(d,Y),d.prototype._transform=function(b,m,B){var P=null;try{this.update(b,m)}catch(p){P=p}B(P)},d.prototype._flush=function(b){var m=null;try{this.push(this.digest())}catch(B){m=B}b(m)},d.prototype.update=function(b,m){if(k(b,"Data"),this._finalized)throw new Error("Digest already called");_.isBuffer(b)||(b=_.from(b,m));for(var B=this._block,P=0;this._blockOffset+b.length-P>=this._blockSize;){for(var p=this._blockOffset;p<this._blockSize;)B[p++]=b[P++];this._update(),this._blockOffset=0}for(;P<b.length;)B[this._blockOffset++]=b[P++];for(var a=0,l=b.length*8;l>0;++a)this._length[a]+=l,l=this._length[a]/4294967296|0,l>0&&(this._length[a]-=4294967296*l);return this},d.prototype._update=function(){throw new Error("_update is not implemented")},d.prototype.digest=function(b){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var m=this._digest();b!==void 0&&(m=m.toString(b)),this._block.fill(0),this._blockOffset=0;for(var B=0;B<4;++B)this._length[B]=0;return m},d.prototype._digest=function(){throw new Error("_digest is not implemented")},re.exports=d},3715:(re,$,A)=>{var _=$;_.utils=A(6436),_.common=A(5772),_.sha=A(9041),_.ripemd=A(2949),_.hmac=A(2344),_.sha1=_.sha.sha1,_.sha256=_.sha.sha256,_.sha224=_.sha.sha224,_.sha384=_.sha.sha384,_.sha512=_.sha.sha512,_.ripemd160=_.ripemd.ripemd160},5772:(re,$,A)=>{"use strict";var _=A(6436),Y=A(9746);function z(){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(z,"BlockHash"),$.BlockHash=z,z.prototype.update=i(function(d,b){if(d=_.toArray(d,b),this.pending?this.pending=this.pending.concat(d):this.pending=d,this.pendingTotal+=d.length,this.pending.length>=this._delta8){d=this.pending;var m=d.length%this._delta8;this.pending=d.slice(d.length-m,d.length),this.pending.length===0&&(this.pending=null),d=_.join32(d,0,d.length-m,this.endian);for(var B=0;B<d.length;B+=this._delta32)this._update(d,B,B+this._delta32)}return this},"update"),z.prototype.digest=i(function(d){return this.update(this._pad()),Y(this.pending===null),this._digest(d)},"digest"),z.prototype._pad=i(function(){var d=this.pendingTotal,b=this._delta8,m=b-(d+this.padLength)%b,B=new Array(m+this.padLength);B[0]=128;for(var P=1;P<m;P++)B[P]=0;if(d<<=3,this.endian==="big"){for(var p=8;p<this.padLength;p++)B[P++]=0;B[P++]=0,B[P++]=0,B[P++]=0,B[P++]=0,B[P++]=d>>>24&255,B[P++]=d>>>16&255,B[P++]=d>>>8&255,B[P++]=d&255}else for(B[P++]=d&255,B[P++]=d>>>8&255,B[P++]=d>>>16&255,B[P++]=d>>>24&255,B[P++]=0,B[P++]=0,B[P++]=0,B[P++]=0,p=8;p<this.padLength;p++)B[P++]=0;return B},"pad")},2344:(re,$,A)=>{"use strict";var _=A(6436),Y=A(9746);function z(k,d,b){if(!(this instanceof z))return new z(k,d,b);this.Hash=k,this.blockSize=k.blockSize/8,this.outSize=k.outSize/8,this.inner=null,this.outer=null,this._init(_.toArray(d,b))}i(z,"Hmac"),re.exports=z,z.prototype._init=i(function(d){d.length>this.blockSize&&(d=new this.Hash().update(d).digest()),Y(d.length<=this.blockSize);for(var b=d.length;b<this.blockSize;b++)d.push(0);for(b=0;b<d.length;b++)d[b]^=54;for(this.inner=new this.Hash().update(d),b=0;b<d.length;b++)d[b]^=106;this.outer=new this.Hash().update(d)},"init"),z.prototype.update=i(function(d,b){return this.inner.update(d,b),this},"update"),z.prototype.digest=i(function(d){return this.outer.update(this.inner.digest()),this.outer.digest(d)},"digest")},2949:(re,$,A)=>{"use strict";var _=A(6436),Y=A(5772),z=_.rotl32,k=_.sum32,d=_.sum32_3,b=_.sum32_4,m=Y.BlockHash;function B(){if(!(this instanceof B))return new B;m.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}i(B,"RIPEMD160"),_.inherits(B,m),$.ripemd160=B,B.blockSize=512,B.outSize=160,B.hmacStrength=192,B.padLength=64,B.prototype._update=i(function(R,w){for(var O=this.h[0],C=this.h[1],L=this.h[2],V=this.h[3],Q=this.h[4],ie=O,ae=C,oe=L,ge=V,le=Q,te=0;te<80;te++){var E=k(z(b(O,P(te,C,L,V),R[l[te]+w],p(te)),v[te]),Q);O=Q,Q=V,V=z(L,10),L=C,C=E,E=k(z(b(ie,P(79-te,ae,oe,ge),R[u[te]+w],a(te)),y[te]),le),ie=le,le=ge,ge=z(oe,10),oe=ae,ae=E}E=d(this.h[1],L,ge),this.h[1]=d(this.h[2],V,le),this.h[2]=d(this.h[3],Q,ie),this.h[3]=d(this.h[4],O,ae),this.h[4]=d(this.h[0],C,oe),this.h[0]=E},"update"),B.prototype._digest=i(function(R){return R==="hex"?_.toHex32(this.h,"little"):_.split32(this.h,"little")},"digest");function P(g,R,w,O){return g<=15?R^w^O:g<=31?R&w|~R&O:g<=47?(R|~w)^O:g<=63?R&O|w&~O:R^(w|~O)}i(P,"f");function p(g){return g<=15?0:g<=31?1518500249:g<=47?1859775393:g<=63?2400959708:2840853838}i(p,"K");function a(g){return g<=15?1352829926:g<=31?1548603684:g<=47?1836072691:g<=63?2053994217:0}i(a,"Kh");var l=[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],u=[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],v=[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],y=[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]},9041:(re,$,A)=>{"use strict";$.sha1=A(4761),$.sha224=A(799),$.sha256=A(9344),$.sha384=A(772),$.sha512=A(5900)},4761:(re,$,A)=>{"use strict";var _=A(6436),Y=A(5772),z=A(7038),k=_.rotl32,d=_.sum32,b=_.sum32_5,m=z.ft_1,B=Y.BlockHash,P=[1518500249,1859775393,2400959708,3395469782];function p(){if(!(this instanceof p))return new p;B.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}i(p,"SHA1"),_.inherits(p,B),re.exports=p,p.blockSize=512,p.outSize=160,p.hmacStrength=80,p.padLength=64,p.prototype._update=i(function(l,u){for(var v=this.W,y=0;y<16;y++)v[y]=l[u+y];for(;y<v.length;y++)v[y]=k(v[y-3]^v[y-8]^v[y-14]^v[y-16],1);var g=this.h[0],R=this.h[1],w=this.h[2],O=this.h[3],C=this.h[4];for(y=0;y<v.length;y++){var L=~~(y/20),V=b(k(g,5),m(L,R,w,O),C,v[y],P[L]);C=O,O=w,w=k(R,30),R=g,g=V}this.h[0]=d(this.h[0],g),this.h[1]=d(this.h[1],R),this.h[2]=d(this.h[2],w),this.h[3]=d(this.h[3],O),this.h[4]=d(this.h[4],C)},"_update"),p.prototype._digest=i(function(l){return l==="hex"?_.toHex32(this.h,"big"):_.split32(this.h,"big")},"digest")},799:(re,$,A)=>{"use strict";var _=A(6436),Y=A(9344);function z(){if(!(this instanceof z))return new z;Y.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}i(z,"SHA224"),_.inherits(z,Y),re.exports=z,z.blockSize=512,z.outSize=224,z.hmacStrength=192,z.padLength=64,z.prototype._digest=i(function(d){return d==="hex"?_.toHex32(this.h.slice(0,7),"big"):_.split32(this.h.slice(0,7),"big")},"digest")},9344:(re,$,A)=>{"use strict";var _=A(6436),Y=A(5772),z=A(7038),k=A(9746),d=_.sum32,b=_.sum32_4,m=_.sum32_5,B=z.ch32,P=z.maj32,p=z.s0_256,a=z.s1_256,l=z.g0_256,u=z.g1_256,v=Y.BlockHash,y=[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 g(){if(!(this instanceof g))return new g;v.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}i(g,"SHA256"),_.inherits(g,v),re.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=i(function(w,O){for(var C=this.W,L=0;L<16;L++)C[L]=w[O+L];for(;L<C.length;L++)C[L]=b(u(C[L-2]),C[L-7],l(C[L-15]),C[L-16]);var V=this.h[0],Q=this.h[1],ie=this.h[2],ae=this.h[3],oe=this.h[4],ge=this.h[5],le=this.h[6],te=this.h[7];for(k(this.k.length===C.length),L=0;L<C.length;L++){var E=m(te,a(oe),B(oe,ge,le),this.k[L],C[L]),r=d(p(V),P(V,Q,ie));te=le,le=ge,ge=oe,oe=d(ae,E),ae=ie,ie=Q,Q=V,V=d(E,r)}this.h[0]=d(this.h[0],V),this.h[1]=d(this.h[1],Q),this.h[2]=d(this.h[2],ie),this.h[3]=d(this.h[3],ae),this.h[4]=d(this.h[4],oe),this.h[5]=d(this.h[5],ge),this.h[6]=d(this.h[6],le),this.h[7]=d(this.h[7],te)},"_update"),g.prototype._digest=i(function(w){return w==="hex"?_.toHex32(this.h,"big"):_.split32(this.h,"big")},"digest")},772:(re,$,A)=>{"use strict";var _=A(6436),Y=A(5900);function z(){if(!(this instanceof z))return new z;Y.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}i(z,"SHA384"),_.inherits(z,Y),re.exports=z,z.blockSize=1024,z.outSize=384,z.hmacStrength=192,z.padLength=128,z.prototype._digest=i(function(d){return d==="hex"?_.toHex32(this.h.slice(0,12),"big"):_.split32(this.h.slice(0,12),"big")},"digest")},5900:(re,$,A)=>{"use strict";var _=A(6436),Y=A(5772),z=A(9746),k=_.rotr64_hi,d=_.rotr64_lo,b=_.shr64_hi,m=_.shr64_lo,B=_.sum64,P=_.sum64_hi,p=_.sum64_lo,a=_.sum64_4_hi,l=_.sum64_4_lo,u=_.sum64_5_hi,v=_.sum64_5_lo,y=Y.BlockHash,g=[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 R(){if(!(this instanceof R))return new R;y.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}i(R,"SHA512"),_.inherits(R,y),re.exports=R,R.blockSize=1024,R.outSize=512,R.hmacStrength=192,R.padLength=128,R.prototype._prepareBlock=i(function(r,o){for(var h=this.W,S=0;S<32;S++)h[S]=r[o+S];for(;S<h.length;S+=2){var N=le(h[S-4],h[S-3]),G=te(h[S-4],h[S-3]),J=h[S-14],F=h[S-13],f=oe(h[S-30],h[S-29]),H=ge(h[S-30],h[S-29]),we=h[S-32],xe=h[S-31];h[S]=a(N,G,J,F,f,H,we,xe),h[S+1]=l(N,G,J,F,f,H,we,xe)}},"_prepareBlock"),R.prototype._update=i(function(r,o){this._prepareBlock(r,o);var h=this.W,S=this.h[0],N=this.h[1],G=this.h[2],J=this.h[3],F=this.h[4],f=this.h[5],H=this.h[6],we=this.h[7],xe=this.h[8],Ee=this.h[9],U=this.h[10],X=this.h[11],Z=this.h[12],ue=this.h[13],he=this.h[14],Se=this.h[15];z(this.k.length===h.length);for(var K=0;K<h.length;K+=2){var j=he,fe=Se,ye=ie(xe,Ee),Ae=ae(xe,Ee),_e=w(xe,Ee,U,X,Z,ue),ke=O(xe,Ee,U,X,Z,ue),me=this.k[K],Oe=this.k[K+1],Pe=h[K],Ke=h[K+1],Ce=u(j,fe,ye,Ae,_e,ke,me,Oe,Pe,Ke),$e=v(j,fe,ye,Ae,_e,ke,me,Oe,Pe,Ke);j=V(S,N),fe=Q(S,N),ye=C(S,N,G,J,F,f),Ae=L(S,N,G,J,F,f);var I=P(j,fe,ye,Ae),s=p(j,fe,ye,Ae);he=Z,Se=ue,Z=U,ue=X,U=xe,X=Ee,xe=P(H,we,Ce,$e),Ee=p(we,we,Ce,$e),H=F,we=f,F=G,f=J,G=S,J=N,S=P(Ce,$e,I,s),N=p(Ce,$e,I,s)}B(this.h,0,S,N),B(this.h,2,G,J),B(this.h,4,F,f),B(this.h,6,H,we),B(this.h,8,xe,Ee),B(this.h,10,U,X),B(this.h,12,Z,ue),B(this.h,14,he,Se)},"_update"),R.prototype._digest=i(function(r){return r==="hex"?_.toHex32(this.h,"big"):_.split32(this.h,"big")},"digest");function w(E,r,o,h,S){var N=E&o^~E&S;return N<0&&(N+=4294967296),N}i(w,"ch64_hi");function O(E,r,o,h,S,N){var G=r&h^~r&N;return G<0&&(G+=4294967296),G}i(O,"ch64_lo");function C(E,r,o,h,S){var N=E&o^E&S^o&S;return N<0&&(N+=4294967296),N}i(C,"maj64_hi");function L(E,r,o,h,S,N){var G=r&h^r&N^h&N;return G<0&&(G+=4294967296),G}i(L,"maj64_lo");function V(E,r){var o=k(E,r,28),h=k(r,E,2),S=k(r,E,7),N=o^h^S;return N<0&&(N+=4294967296),N}i(V,"s0_512_hi");function Q(E,r){var o=d(E,r,28),h=d(r,E,2),S=d(r,E,7),N=o^h^S;return N<0&&(N+=4294967296),N}i(Q,"s0_512_lo");function ie(E,r){var o=k(E,r,14),h=k(E,r,18),S=k(r,E,9),N=o^h^S;return N<0&&(N+=4294967296),N}i(ie,"s1_512_hi");function ae(E,r){var o=d(E,r,14),h=d(E,r,18),S=d(r,E,9),N=o^h^S;return N<0&&(N+=4294967296),N}i(ae,"s1_512_lo");function oe(E,r){var o=k(E,r,1),h=k(E,r,8),S=b(E,r,7),N=o^h^S;return N<0&&(N+=4294967296),N}i(oe,"g0_512_hi");function ge(E,r){var o=d(E,r,1),h=d(E,r,8),S=m(E,r,7),N=o^h^S;return N<0&&(N+=4294967296),N}i(ge,"g0_512_lo");function le(E,r){var o=k(E,r,19),h=k(r,E,29),S=b(E,r,6),N=o^h^S;return N<0&&(N+=4294967296),N}i(le,"g1_512_hi");function te(E,r){var o=d(E,r,19),h=d(r,E,29),S=m(E,r,6),N=o^h^S;return N<0&&(N+=4294967296),N}i(te,"g1_512_lo")},7038:(re,$,A)=>{"use strict";var _=A(6436),Y=_.rotr32;function z(a,l,u,v){if(a===0)return k(l,u,v);if(a===1||a===3)return b(l,u,v);if(a===2)return d(l,u,v)}i(z,"ft_1"),$.ft_1=z;function k(a,l,u){return a&l^~a&u}i(k,"ch32"),$.ch32=k;function d(a,l,u){return a&l^a&u^l&u}i(d,"maj32"),$.maj32=d;function b(a,l,u){return a^l^u}i(b,"p32"),$.p32=b;function m(a){return Y(a,2)^Y(a,13)^Y(a,22)}i(m,"s0_256"),$.s0_256=m;function B(a){return Y(a,6)^Y(a,11)^Y(a,25)}i(B,"s1_256"),$.s1_256=B;function P(a){return Y(a,7)^Y(a,18)^a>>>3}i(P,"g0_256"),$.g0_256=P;function p(a){return Y(a,17)^Y(a,19)^a>>>10}i(p,"g1_256"),$.g1_256=p},6436:(re,$,A)=>{"use strict";var _=A(9746),Y=A(5717);$.inherits=Y;function z(te,E){return(te.charCodeAt(E)&64512)!==55296||E<0||E+1>=te.length?!1:(te.charCodeAt(E+1)&64512)===56320}i(z,"isSurrogatePair");function k(te,E){if(Array.isArray(te))return te.slice();if(!te)return[];var r=[];if(typeof te=="string")if(E){if(E==="hex")for(te=te.replace(/[^a-z0-9]+/ig,""),te.length%2!==0&&(te="0"+te),h=0;h<te.length;h+=2)r.push(parseInt(te[h]+te[h+1],16))}else for(var o=0,h=0;h<te.length;h++){var S=te.charCodeAt(h);S<128?r[o++]=S:S<2048?(r[o++]=S>>6|192,r[o++]=S&63|128):z(te,h)?(S=65536+((S&1023)<<10)+(te.charCodeAt(++h)&1023),r[o++]=S>>18|240,r[o++]=S>>12&63|128,r[o++]=S>>6&63|128,r[o++]=S&63|128):(r[o++]=S>>12|224,r[o++]=S>>6&63|128,r[o++]=S&63|128)}else for(h=0;h<te.length;h++)r[h]=te[h]|0;return r}i(k,"toArray"),$.toArray=k;function d(te){for(var E="",r=0;r<te.length;r++)E+=B(te[r].toString(16));return E}i(d,"toHex"),$.toHex=d;function b(te){var E=te>>>24|te>>>8&65280|te<<8&16711680|(te&255)<<24;return E>>>0}i(b,"htonl"),$.htonl=b;function m(te,E){for(var r="",o=0;o<te.length;o++){var h=te[o];E==="little"&&(h=b(h)),r+=P(h.toString(16))}return r}i(m,"toHex32"),$.toHex32=m;function B(te){return te.length===1?"0"+te:te}i(B,"zero2"),$.zero2=B;function P(te){return te.length===7?"0"+te:te.length===6?"00"+te:te.length===5?"000"+te:te.length===4?"0000"+te:te.length===3?"00000"+te:te.length===2?"000000"+te:te.length===1?"0000000"+te:te}i(P,"zero8"),$.zero8=P;function p(te,E,r,o){var h=r-E;_(h%4===0);for(var S=new Array(h/4),N=0,G=E;N<S.length;N++,G+=4){var J;o==="big"?J=te[G]<<24|te[G+1]<<16|te[G+2]<<8|te[G+3]:J=te[G+3]<<24|te[G+2]<<16|te[G+1]<<8|te[G],S[N]=J>>>0}return S}i(p,"join32"),$.join32=p;function a(te,E){for(var r=new Array(te.length*4),o=0,h=0;o<te.length;o++,h+=4){var S=te[o];E==="big"?(r[h]=S>>>24,r[h+1]=S>>>16&255,r[h+2]=S>>>8&255,r[h+3]=S&255):(r[h+3]=S>>>24,r[h+2]=S>>>16&255,r[h+1]=S>>>8&255,r[h]=S&255)}return r}i(a,"split32"),$.split32=a;function l(te,E){return te>>>E|te<<32-E}i(l,"rotr32"),$.rotr32=l;function u(te,E){return te<<E|te>>>32-E}i(u,"rotl32"),$.rotl32=u;function v(te,E){return te+E>>>0}i(v,"sum32"),$.sum32=v;function y(te,E,r){return te+E+r>>>0}i(y,"sum32_3"),$.sum32_3=y;function g(te,E,r,o){return te+E+r+o>>>0}i(g,"sum32_4"),$.sum32_4=g;function R(te,E,r,o,h){return te+E+r+o+h>>>0}i(R,"sum32_5"),$.sum32_5=R;function w(te,E,r,o){var h=te[E],S=te[E+1],N=o+S>>>0,G=(N<o?1:0)+r+h;te[E]=G>>>0,te[E+1]=N}i(w,"sum64"),$.sum64=w;function O(te,E,r,o){var h=E+o>>>0,S=(h<E?1:0)+te+r;return S>>>0}i(O,"sum64_hi"),$.sum64_hi=O;function C(te,E,r,o){var h=E+o;return h>>>0}i(C,"sum64_lo"),$.sum64_lo=C;function L(te,E,r,o,h,S,N,G){var J=0,F=E;F=F+o>>>0,J+=F<E?1:0,F=F+S>>>0,J+=F<S?1:0,F=F+G>>>0,J+=F<G?1:0;var f=te+r+h+N+J;return f>>>0}i(L,"sum64_4_hi"),$.sum64_4_hi=L;function V(te,E,r,o,h,S,N,G){var J=E+o+S+G;return J>>>0}i(V,"sum64_4_lo"),$.sum64_4_lo=V;function Q(te,E,r,o,h,S,N,G,J,F){var f=0,H=E;H=H+o>>>0,f+=H<E?1:0,H=H+S>>>0,f+=H<S?1:0,H=H+G>>>0,f+=H<G?1:0,H=H+F>>>0,f+=H<F?1:0;var we=te+r+h+N+J+f;return we>>>0}i(Q,"sum64_5_hi"),$.sum64_5_hi=Q;function ie(te,E,r,o,h,S,N,G,J,F){var f=E+o+S+G+F;return f>>>0}i(ie,"sum64_5_lo"),$.sum64_5_lo=ie;function ae(te,E,r){var o=E<<32-r|te>>>r;return o>>>0}i(ae,"rotr64_hi"),$.rotr64_hi=ae;function oe(te,E,r){var o=te<<32-r|E>>>r;return o>>>0}i(oe,"rotr64_lo"),$.rotr64_lo=oe;function ge(te,E,r){return te>>>r}i(ge,"shr64_hi"),$.shr64_hi=ge;function le(te,E,r){var o=te<<32-r|E>>>r;return o>>>0}i(le,"shr64_lo"),$.shr64_lo=le},2156:(re,$,A)=>{"use strict";var _=A(3715),Y=A(4504),z=A(9746);function k(d){if(!(this instanceof k))return new k(d);this.hash=d.hash,this.predResist=!!d.predResist,this.outLen=this.hash.outSize,this.minEntropy=d.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var b=Y.toArray(d.entropy,d.entropyEnc||"hex"),m=Y.toArray(d.nonce,d.nonceEnc||"hex"),B=Y.toArray(d.pers,d.persEnc||"hex");z(b.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(b,m,B)}i(k,"HmacDRBG"),re.exports=k,k.prototype._init=i(function(b,m,B){var P=b.concat(m).concat(B);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var p=0;p<this.V.length;p++)this.K[p]=0,this.V[p]=1;this._update(P),this._reseed=1,this.reseedInterval=281474976710656},"init"),k.prototype._hmac=i(function(){return new _.hmac(this.hash,this.K)},"hmac"),k.prototype._update=i(function(b){var m=this._hmac().update(this.V).update([0]);b&&(m=m.update(b)),this.K=m.digest(),this.V=this._hmac().update(this.V).digest(),b&&(this.K=this._hmac().update(this.V).update([1]).update(b).digest(),this.V=this._hmac().update(this.V).digest())},"update"),k.prototype.reseed=i(function(b,m,B,P){typeof m!="string"&&(P=B,B=m,m=null),b=Y.toArray(b,m),B=Y.toArray(B,P),z(b.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(b.concat(B||[])),this._reseed=1},"reseed"),k.prototype.generate=i(function(b,m,B,P){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof m!="string"&&(P=B,B=m,m=null),B&&(B=Y.toArray(B,P||"hex"),this._update(B));for(var p=[];p.length<b;)this.V=this._hmac().update(this.V).digest(),p=p.concat(this.V);var a=p.slice(0,b);return this._update(B),this._reseed++,Y.encode(a,m)},"generate")},645:(re,$)=>{/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */$.read=function(A,_,Y,z,k){var d,b,m=k*8-z-1,B=(1<<m)-1,P=B>>1,p=-7,a=Y?k-1:0,l=Y?-1:1,u=A[_+a];for(a+=l,d=u&(1<<-p)-1,u>>=-p,p+=m;p>0;d=d*256+A[_+a],a+=l,p-=8);for(b=d&(1<<-p)-1,d>>=-p,p+=z;p>0;b=b*256+A[_+a],a+=l,p-=8);if(d===0)d=1-P;else{if(d===B)return b?NaN:(u?-1:1)*(1/0);b=b+Math.pow(2,z),d=d-P}return(u?-1:1)*b*Math.pow(2,d-z)},$.write=function(A,_,Y,z,k,d){var b,m,B,P=d*8-k-1,p=(1<<P)-1,a=p>>1,l=k===23?Math.pow(2,-24)-Math.pow(2,-77):0,u=z?0:d-1,v=z?1:-1,y=_<0||_===0&&1/_<0?1:0;for(_=Math.abs(_),isNaN(_)||_===1/0?(m=isNaN(_)?1:0,b=p):(b=Math.floor(Math.log(_)/Math.LN2),_*(B=Math.pow(2,-b))<1&&(b--,B*=2),b+a>=1?_+=l/B:_+=l*Math.pow(2,1-a),_*B>=2&&(b++,B/=2),b+a>=p?(m=0,b=p):b+a>=1?(m=(_*B-1)*Math.pow(2,k),b=b+a):(m=_*Math.pow(2,a-1)*Math.pow(2,k),b=0));k>=8;A[Y+u]=m&255,u+=v,m/=256,k-=8);for(b=b<<k|m,P+=k;P>0;A[Y+u]=b&255,u+=v,b/=256,P-=8);A[Y+u-v]|=y*128}},5717:re=>{typeof Object.create=="function"?re.exports=i(function(A,_){_&&(A.super_=_,A.prototype=Object.create(_.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}))},"inherits"):re.exports=i(function(A,_){if(_){A.super_=_;var Y=i(function(){},"TempCtor");Y.prototype=_.prototype,A.prototype=new Y,A.prototype.constructor=A}},"inherits")},2318:(re,$,A)=>{"use strict";var _=A(5717),Y=A(3349),z=A(9509).Buffer,k=new Array(16);function d(){Y.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}i(d,"MD5"),_(d,Y),d.prototype._update=function(){for(var a=k,l=0;l<16;++l)a[l]=this._block.readInt32LE(l*4);var u=this._a,v=this._b,y=this._c,g=this._d;u=m(u,v,y,g,a[0],3614090360,7),g=m(g,u,v,y,a[1],3905402710,12),y=m(y,g,u,v,a[2],606105819,17),v=m(v,y,g,u,a[3],3250441966,22),u=m(u,v,y,g,a[4],4118548399,7),g=m(g,u,v,y,a[5],1200080426,12),y=m(y,g,u,v,a[6],2821735955,17),v=m(v,y,g,u,a[7],4249261313,22),u=m(u,v,y,g,a[8],1770035416,7),g=m(g,u,v,y,a[9],2336552879,12),y=m(y,g,u,v,a[10],4294925233,17),v=m(v,y,g,u,a[11],2304563134,22),u=m(u,v,y,g,a[12],1804603682,7),g=m(g,u,v,y,a[13],4254626195,12),y=m(y,g,u,v,a[14],2792965006,17),v=m(v,y,g,u,a[15],1236535329,22),u=B(u,v,y,g,a[1],4129170786,5),g=B(g,u,v,y,a[6],3225465664,9),y=B(y,g,u,v,a[11],643717713,14),v=B(v,y,g,u,a[0],3921069994,20),u=B(u,v,y,g,a[5],3593408605,5),g=B(g,u,v,y,a[10],38016083,9),y=B(y,g,u,v,a[15],3634488961,14),v=B(v,y,g,u,a[4],3889429448,20),u=B(u,v,y,g,a[9],568446438,5),g=B(g,u,v,y,a[14],3275163606,9),y=B(y,g,u,v,a[3],4107603335,14),v=B(v,y,g,u,a[8],1163531501,20),u=B(u,v,y,g,a[13],2850285829,5),g=B(g,u,v,y,a[2],4243563512,9),y=B(y,g,u,v,a[7],1735328473,14),v=B(v,y,g,u,a[12],2368359562,20),u=P(u,v,y,g,a[5],4294588738,4),g=P(g,u,v,y,a[8],2272392833,11),y=P(y,g,u,v,a[11],1839030562,16),v=P(v,y,g,u,a[14],4259657740,23),u=P(u,v,y,g,a[1],2763975236,4),g=P(g,u,v,y,a[4],1272893353,11),y=P(y,g,u,v,a[7],4139469664,16),v=P(v,y,g,u,a[10],3200236656,23),u=P(u,v,y,g,a[13],681279174,4),g=P(g,u,v,y,a[0],3936430074,11),y=P(y,g,u,v,a[3],3572445317,16),v=P(v,y,g,u,a[6],76029189,23),u=P(u,v,y,g,a[9],3654602809,4),g=P(g,u,v,y,a[12],3873151461,11),y=P(y,g,u,v,a[15],530742520,16),v=P(v,y,g,u,a[2],3299628645,23),u=p(u,v,y,g,a[0],4096336452,6),g=p(g,u,v,y,a[7],1126891415,10),y=p(y,g,u,v,a[14],2878612391,15),v=p(v,y,g,u,a[5],4237533241,21),u=p(u,v,y,g,a[12],1700485571,6),g=p(g,u,v,y,a[3],2399980690,10),y=p(y,g,u,v,a[10],4293915773,15),v=p(v,y,g,u,a[1],2240044497,21),u=p(u,v,y,g,a[8],1873313359,6),g=p(g,u,v,y,a[15],4264355552,10),y=p(y,g,u,v,a[6],2734768916,15),v=p(v,y,g,u,a[13],1309151649,21),u=p(u,v,y,g,a[4],4149444226,6),g=p(g,u,v,y,a[11],3174756917,10),y=p(y,g,u,v,a[2],718787259,15),v=p(v,y,g,u,a[9],3951481745,21),this._a=this._a+u|0,this._b=this._b+v|0,this._c=this._c+y|0,this._d=this._d+g|0},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var a=z.allocUnsafe(16);return a.writeInt32LE(this._a,0),a.writeInt32LE(this._b,4),a.writeInt32LE(this._c,8),a.writeInt32LE(this._d,12),a};function b(a,l){return a<<l|a>>>32-l}i(b,"rotl");function m(a,l,u,v,y,g,R){return b(a+(l&u|~l&v)+y+g|0,R)+l|0}i(m,"fnF");function B(a,l,u,v,y,g,R){return b(a+(l&v|u&~v)+y+g|0,R)+l|0}i(B,"fnG");function P(a,l,u,v,y,g,R){return b(a+(l^u^v)+y+g|0,R)+l|0}i(P,"fnH");function p(a,l,u,v,y,g,R){return b(a+(u^(l|~v))+y+g|0,R)+l|0}i(p,"fnI"),re.exports=d},9746:re=>{re.exports=$;function $(A,_){if(!A)throw new Error(_||"Assertion failed")}i($,"assert"),$.equal=i(function(_,Y,z){if(_!=Y)throw new Error(z||"Assertion failed: "+_+" != "+Y)},"assertEqual")},4504:(re,$)=>{"use strict";var A=$;function _(k,d){if(Array.isArray(k))return k.slice();if(!k)return[];var b=[];if(typeof k!="string"){for(var m=0;m<k.length;m++)b[m]=k[m]|0;return b}if(d==="hex"){k=k.replace(/[^a-z0-9]+/ig,""),k.length%2!==0&&(k="0"+k);for(var m=0;m<k.length;m+=2)b.push(parseInt(k[m]+k[m+1],16))}else for(var m=0;m<k.length;m++){var B=k.charCodeAt(m),P=B>>8,p=B&255;P?b.push(P,p):b.push(p)}return b}i(_,"toArray"),A.toArray=_;function Y(k){return k.length===1?"0"+k:k}i(Y,"zero2"),A.zero2=Y;function z(k){for(var d="",b=0;b<k.length;b++)d+=Y(k[b].toString(16));return d}i(z,"toHex"),A.toHex=z,A.encode=i(function(d,b){return b==="hex"?z(d):d},"encode")},5632:(re,$,A)=>{$.pbkdf2=A(8638),$.pbkdf2Sync=A(1257)},8638:(re,$,A)=>{var _=A(9509).Buffer,Y=A(7357),z=A(2368),k=A(1257),d=A(7777),b,m=A.g.crypto&&A.g.crypto.subtle,B={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},P=[];function p(y){if(A.g.process&&!A.g.process.browser||!m||!m.importKey||!m.deriveBits)return Promise.resolve(!1);if(P[y]!==void 0)return P[y];b=b||_.alloc(8);var g=u(b,b,10,128,y).then(function(){return!0}).catch(function(){return!1});return P[y]=g,g}i(p,"checkNative");var a;function l(){return a||(A.g.process&&A.g.process.nextTick?a=A.g.process.nextTick:A.g.queueMicrotask?a=A.g.queueMicrotask:A.g.setImmediate?a=A.g.setImmediate:a=A.g.setTimeout,a)}i(l,"getNextTick");function u(y,g,R,w,O){return m.importKey("raw",y,{name:"PBKDF2"},!1,["deriveBits"]).then(function(C){return m.deriveBits({name:"PBKDF2",salt:g,iterations:R,hash:{name:O}},C,w<<3)}).then(function(C){return _.from(C)})}i(u,"browserPbkdf2");function v(y,g){y.then(function(R){l()(function(){g(null,R)})},function(R){l()(function(){g(R)})})}i(v,"resolvePromise"),re.exports=function(y,g,R,w,O,C){typeof O=="function"&&(C=O,O=void 0),O=O||"sha1";var L=B[O.toLowerCase()];if(!L||typeof A.g.Promise!="function"){l()(function(){var V;try{V=k(y,g,R,w,O)}catch(Q){return C(Q)}C(null,V)});return}if(Y(R,w),y=d(y,z,"Password"),g=d(g,z,"Salt"),typeof C!="function")throw new Error("No callback provided to pbkdf2");v(p(L).then(function(V){return V?u(y,g,R,w,L):k(y,g,R,w,O)}),C)}},2368:(re,$,A)=>{var _=A(4155),Y;if(A.g.process&&A.g.process.browser)Y="utf-8";else if(A.g.process&&A.g.process.version){var z=parseInt(_.version.split(".")[0].slice(1),10);Y=z>=6?"utf-8":"binary"}else Y="utf-8";re.exports=Y},7357:re=>{var $=Math.pow(2,30)-1;re.exports=function(A,_){if(typeof A!="number")throw new TypeError("Iterations not a number");if(A<0)throw new TypeError("Bad iterations");if(typeof _!="number")throw new TypeError("Key length not a number");if(_<0||_>$||_!==_)throw new TypeError("Bad key length")}},1257:(re,$,A)=>{var _=A(8028),Y=A(9785),z=A(9072),k=A(9509).Buffer,d=A(7357),b=A(2368),m=A(7777),B=k.alloc(128),P={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function p(u,v,y){var g=a(u),R=u==="sha512"||u==="sha384"?128:64;v.length>R?v=g(v):v.length<R&&(v=k.concat([v,B],R));for(var w=k.allocUnsafe(R+P[u]),O=k.allocUnsafe(R+P[u]),C=0;C<R;C++)w[C]=v[C]^54,O[C]=v[C]^92;var L=k.allocUnsafe(R+y+4);w.copy(L,0,0,R),this.ipad1=L,this.ipad2=w,this.opad=O,this.alg=u,this.blocksize=R,this.hash=g,this.size=P[u]}i(p,"Hmac"),p.prototype.run=function(u,v){u.copy(v,this.blocksize);var y=this.hash(v);return y.copy(this.opad,this.blocksize),this.hash(this.opad)};function a(u){function v(g){return z(u).update(g).digest()}i(v,"shaFunc");function y(g){return new Y().update(g).digest()}return i(y,"rmd160Func"),u==="rmd160"||u==="ripemd160"?y:u==="md5"?_:v}i(a,"getDigest");function l(u,v,y,g,R){d(y,g),u=m(u,b,"Password"),v=m(v,b,"Salt"),R=R||"sha1";var w=new p(R,u,v.length),O=k.allocUnsafe(g),C=k.allocUnsafe(v.length+4);v.copy(C,0,0,v.length);for(var L=0,V=P[R],Q=Math.ceil(g/V),ie=1;ie<=Q;ie++){C.writeUInt32BE(ie,v.length);for(var ae=w.run(C,w.ipad1),oe=ae,ge=1;ge<y;ge++){oe=w.run(oe,w.ipad2);for(var le=0;le<V;le++)ae[le]^=oe[le]}ae.copy(O,L),L+=V}return O}i(l,"pbkdf2"),re.exports=l},7777:(re,$,A)=>{var _=A(9509).Buffer;re.exports=function(Y,z,k){if(_.isBuffer(Y))return Y;if(typeof Y=="string")return _.from(Y,z);if(ArrayBuffer.isView(Y))return _.from(Y.buffer);throw new TypeError(k+" must be a string, a Buffer, a typed array or a DataView")}},4155:re=>{var $=re.exports={},A,_;function Y(){throw new Error("setTimeout has not been defined")}i(Y,"defaultSetTimout");function z(){throw new Error("clearTimeout has not been defined")}i(z,"defaultClearTimeout"),function(){try{typeof setTimeout=="function"?A=setTimeout:A=Y}catch{A=Y}try{typeof clearTimeout=="function"?_=clearTimeout:_=z}catch{_=z}}();function k(v){if(A===setTimeout)return setTimeout(v,0);if((A===Y||!A)&&setTimeout)return A=setTimeout,setTimeout(v,0);try{return A(v,0)}catch{try{return A.call(null,v,0)}catch{return A.call(this,v,0)}}}i(k,"runTimeout");function d(v){if(_===clearTimeout)return clearTimeout(v);if((_===z||!_)&&clearTimeout)return _=clearTimeout,clearTimeout(v);try{return _(v)}catch{try{return _.call(null,v)}catch{return _.call(this,v)}}}i(d,"runClearTimeout");var b=[],m=!1,B,P=-1;function p(){!m||!B||(m=!1,B.length?b=B.concat(b):P=-1,b.length&&a())}i(p,"cleanUpNextTick");function a(){if(!m){var v=k(p);m=!0;for(var y=b.length;y;){for(B=b,b=[];++P<y;)B&&B[P].run();P=-1,y=b.length}B=null,m=!1,d(v)}}i(a,"drainQueue"),$.nextTick=function(v){var y=new Array(arguments.length-1);if(arguments.length>1)for(var g=1;g<arguments.length;g++)y[g-1]=arguments[g];b.push(new l(v,y)),b.length===1&&!m&&k(a)};function l(v,y){this.fun=v,this.array=y}i(l,"Item"),l.prototype.run=function(){this.fun.apply(null,this.array)},$.title="browser",$.browser=!0,$.env={},$.argv=[],$.version="",$.versions={};function u(){}i(u,"noop"),$.on=u,$.addListener=u,$.once=u,$.off=u,$.removeListener=u,$.removeAllListeners=u,$.emit=u,$.prependListener=u,$.prependOnceListener=u,$.listeners=function(v){return[]},$.binding=function(v){throw new Error("process.binding is not supported")},$.cwd=function(){return"/"},$.chdir=function(v){throw new Error("process.chdir is not supported")},$.umask=function(){return 0}},1798:(re,$,A)=>{"use strict";var _=A(4155),Y=65536,z=4294967295;function k(){throw new Error(`Secure random number generation is not supported by this browser.
|
|
7
|
-
Use Chrome, Firefox or Internet Explorer 11`)}i(k,"oldBrowser");var d=A(9509).Buffer,b=A.g.crypto||A.g.msCrypto;b&&b.getRandomValues?re.exports=m:re.exports=k;function m(B,P){if(B>z)throw new RangeError("requested too many random bytes");var p=d.allocUnsafe(B);if(B>0)if(B>Y)for(var a=0;a<B;a+=Y)b.getRandomValues(p.slice(a,a+Y));else b.getRandomValues(p);return typeof P=="function"?_.nextTick(function(){P(null,p)}):p}i(m,"randomBytes")},4281:re=>{"use strict";function $(b,m){b.prototype=Object.create(m.prototype),b.prototype.constructor=b,b.__proto__=m}i($,"_inheritsLoose");var A={};function _(b,m,B){B||(B=Error);function P(a,l,u){return typeof m=="string"?m:m(a,l,u)}i(P,"getMessage");var p=function(a){$(l,a);function l(u,v,y){return a.call(this,P(u,v,y))||this}return i(l,"NodeError"),l}(B);p.prototype.name=B.name,p.prototype.code=b,A[b]=p}i(_,"createErrorType");function Y(b,m){if(Array.isArray(b)){var B=b.length;return b=b.map(function(P){return String(P)}),B>2?"one of ".concat(m," ").concat(b.slice(0,B-1).join(", "),", or ")+b[B-1]:B===2?"one of ".concat(m," ").concat(b[0]," or ").concat(b[1]):"of ".concat(m," ").concat(b[0])}else return"of ".concat(m," ").concat(String(b))}i(Y,"oneOf");function z(b,m,B){return b.substr(!B||B<0?0:+B,m.length)===m}i(z,"startsWith");function k(b,m,B){return(B===void 0||B>b.length)&&(B=b.length),b.substring(B-m.length,B)===m}i(k,"endsWith");function d(b,m,B){return typeof B!="number"&&(B=0),B+m.length>b.length?!1:b.indexOf(m,B)!==-1}i(d,"includes"),_("ERR_INVALID_OPT_VALUE",function(b,m){return'The value "'+m+'" is invalid for option "'+b+'"'},TypeError),_("ERR_INVALID_ARG_TYPE",function(b,m,B){var P;typeof m=="string"&&z(m,"not ")?(P="must not be",m=m.replace(/^not /,"")):P="must be";var p;if(k(b," argument"))p="The ".concat(b," ").concat(P," ").concat(Y(m,"type"));else{var a=d(b,".")?"property":"argument";p='The "'.concat(b,'" ').concat(a," ").concat(P," ").concat(Y(m,"type"))}return p+=". Received type ".concat(typeof B),p},TypeError),_("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),_("ERR_METHOD_NOT_IMPLEMENTED",function(b){return"The "+b+" method is not implemented"}),_("ERR_STREAM_PREMATURE_CLOSE","Premature close"),_("ERR_STREAM_DESTROYED",function(b){return"Cannot call "+b+" after a stream was destroyed"}),_("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),_("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),_("ERR_STREAM_WRITE_AFTER_END","write after end"),_("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),_("ERR_UNKNOWN_ENCODING",function(b){return"Unknown encoding: "+b},TypeError),_("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),re.exports.q=A},6753:(re,$,A)=>{"use strict";var _=A(4155),Y=Object.keys||function(a){var l=[];for(var u in a)l.push(u);return l};re.exports=B;var z=A(9481),k=A(4229);A(5717)(B,z);for(var d=Y(k.prototype),b=0;b<d.length;b++){var m=d[b];B.prototype[m]||(B.prototype[m]=k.prototype[m])}function B(a){if(!(this instanceof B))return new B(a);z.call(this,a),k.call(this,a),this.allowHalfOpen=!0,a&&(a.readable===!1&&(this.readable=!1),a.writable===!1&&(this.writable=!1),a.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",P)))}i(B,"Duplex"),Object.defineProperty(B.prototype,"writableHighWaterMark",{enumerable:!1,get:i(function(){return this._writableState.highWaterMark},"get")}),Object.defineProperty(B.prototype,"writableBuffer",{enumerable:!1,get:i(function(){return this._writableState&&this._writableState.getBuffer()},"get")}),Object.defineProperty(B.prototype,"writableLength",{enumerable:!1,get:i(function(){return this._writableState.length},"get")});function P(){this._writableState.ended||_.nextTick(p,this)}i(P,"onend");function p(a){a.end()}i(p,"onEndNT"),Object.defineProperty(B.prototype,"destroyed",{enumerable:!1,get:i(function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},"get"),set:i(function(l){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=l,this._writableState.destroyed=l)},"set")})},2725:(re,$,A)=>{"use strict";re.exports=Y;var _=A(4605);A(5717)(Y,_);function Y(z){if(!(this instanceof Y))return new Y(z);_.call(this,z)}i(Y,"PassThrough"),Y.prototype._transform=function(z,k,d){d(null,z)}},9481:(re,$,A)=>{"use strict";var _=A(4155);re.exports=le;var Y;le.ReadableState=ge;var z=A(7187).EventEmitter,k=i(function(j,fe){return j.listeners(fe).length},"EElistenerCount"),d=A(2503),b=A(8764).Buffer,m=(typeof A.g<"u"?A.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function B(K){return b.from(K)}i(B,"_uint8ArrayToBuffer");function P(K){return b.isBuffer(K)||K instanceof m}i(P,"_isUint8Array");var p=A(4616),a;p&&p.debuglog?a=p.debuglog("stream"):a=i(function(){},"debug");var l=A(7327),u=A(1195),v=A(2457),y=v.getHighWaterMark,g=A(4281).q,R=g.ERR_INVALID_ARG_TYPE,w=g.ERR_STREAM_PUSH_AFTER_EOF,O=g.ERR_METHOD_NOT_IMPLEMENTED,C=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,L,V,Q;A(5717)(le,d);var ie=u.errorOrDestroy,ae=["error","close","destroy","pause","resume"];function oe(K,j,fe){if(typeof K.prependListener=="function")return K.prependListener(j,fe);!K._events||!K._events[j]?K.on(j,fe):Array.isArray(K._events[j])?K._events[j].unshift(fe):K._events[j]=[fe,K._events[j]]}i(oe,"prependListener");function ge(K,j,fe){Y=Y||A(6753),K=K||{},typeof fe!="boolean"&&(fe=j instanceof Y),this.objectMode=!!K.objectMode,fe&&(this.objectMode=this.objectMode||!!K.readableObjectMode),this.highWaterMark=y(this,K,"readableHighWaterMark",fe),this.buffer=new l,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=K.emitClose!==!1,this.autoDestroy=!!K.autoDestroy,this.destroyed=!1,this.defaultEncoding=K.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,K.encoding&&(L||(L=A(2553).s),this.decoder=new L(K.encoding),this.encoding=K.encoding)}i(ge,"ReadableState");function le(K){if(Y=Y||A(6753),!(this instanceof le))return new le(K);var j=this instanceof Y;this._readableState=new ge(K,this,j),this.readable=!0,K&&(typeof K.read=="function"&&(this._read=K.read),typeof K.destroy=="function"&&(this._destroy=K.destroy)),d.call(this)}i(le,"Readable"),Object.defineProperty(le.prototype,"destroyed",{enumerable:!1,get:i(function(){return this._readableState===void 0?!1:this._readableState.destroyed},"get"),set:i(function(j){this._readableState&&(this._readableState.destroyed=j)},"set")}),le.prototype.destroy=u.destroy,le.prototype._undestroy=u.undestroy,le.prototype._destroy=function(K,j){j(K)},le.prototype.push=function(K,j){var fe=this._readableState,ye;return fe.objectMode?ye=!0:typeof K=="string"&&(j=j||fe.defaultEncoding,j!==fe.encoding&&(K=b.from(K,j),j=""),ye=!0),te(this,K,j,!1,ye)},le.prototype.unshift=function(K){return te(this,K,null,!0,!1)};function te(K,j,fe,ye,Ae){a("readableAddChunk",j);var _e=K._readableState;if(j===null)_e.reading=!1,N(K,_e);else{var ke;if(Ae||(ke=r(_e,j)),ke)ie(K,ke);else if(_e.objectMode||j&&j.length>0)if(typeof j!="string"&&!_e.objectMode&&Object.getPrototypeOf(j)!==b.prototype&&(j=B(j)),ye)_e.endEmitted?ie(K,new C):E(K,_e,j,!0);else if(_e.ended)ie(K,new w);else{if(_e.destroyed)return!1;_e.reading=!1,_e.decoder&&!fe?(j=_e.decoder.write(j),_e.objectMode||j.length!==0?E(K,_e,j,!1):F(K,_e)):E(K,_e,j,!1)}else ye||(_e.reading=!1,F(K,_e))}return!_e.ended&&(_e.length<_e.highWaterMark||_e.length===0)}i(te,"readableAddChunk");function E(K,j,fe,ye){j.flowing&&j.length===0&&!j.sync?(j.awaitDrain=0,K.emit("data",fe)):(j.length+=j.objectMode?1:fe.length,ye?j.buffer.unshift(fe):j.buffer.push(fe),j.needReadable&&G(K)),F(K,j)}i(E,"addChunk");function r(K,j){var fe;return!P(j)&&typeof j!="string"&&j!==void 0&&!K.objectMode&&(fe=new R("chunk",["string","Buffer","Uint8Array"],j)),fe}i(r,"chunkInvalid"),le.prototype.isPaused=function(){return this._readableState.flowing===!1},le.prototype.setEncoding=function(K){L||(L=A(2553).s);var j=new L(K);this._readableState.decoder=j,this._readableState.encoding=this._readableState.decoder.encoding;for(var fe=this._readableState.buffer.head,ye="";fe!==null;)ye+=j.write(fe.data),fe=fe.next;return this._readableState.buffer.clear(),ye!==""&&this._readableState.buffer.push(ye),this._readableState.length=ye.length,this};var o=1073741824;function h(K){return K>=o?K=o:(K--,K|=K>>>1,K|=K>>>2,K|=K>>>4,K|=K>>>8,K|=K>>>16,K++),K}i(h,"computeNewHighWaterMark");function S(K,j){return K<=0||j.length===0&&j.ended?0:j.objectMode?1:K!==K?j.flowing&&j.length?j.buffer.head.data.length:j.length:(K>j.highWaterMark&&(j.highWaterMark=h(K)),K<=j.length?K:j.ended?j.length:(j.needReadable=!0,0))}i(S,"howMuchToRead"),le.prototype.read=function(K){a("read",K),K=parseInt(K,10);var j=this._readableState,fe=K;if(K!==0&&(j.emittedReadable=!1),K===0&&j.needReadable&&((j.highWaterMark!==0?j.length>=j.highWaterMark:j.length>0)||j.ended))return a("read: emitReadable",j.length,j.ended),j.length===0&&j.ended?ue(this):G(this),null;if(K=S(K,j),K===0&&j.ended)return j.length===0&&ue(this),null;var ye=j.needReadable;a("need readable",ye),(j.length===0||j.length-K<j.highWaterMark)&&(ye=!0,a("length less than watermark",ye)),j.ended||j.reading?(ye=!1,a("reading or ended",ye)):ye&&(a("do read"),j.reading=!0,j.sync=!0,j.length===0&&(j.needReadable=!0),this._read(j.highWaterMark),j.sync=!1,j.reading||(K=S(fe,j)));var Ae;return K>0?Ae=Z(K,j):Ae=null,Ae===null?(j.needReadable=j.length<=j.highWaterMark,K=0):(j.length-=K,j.awaitDrain=0),j.length===0&&(j.ended||(j.needReadable=!0),fe!==K&&j.ended&&ue(this)),Ae!==null&&this.emit("data",Ae),Ae};function N(K,j){if(a("onEofChunk"),!j.ended){if(j.decoder){var fe=j.decoder.end();fe&&fe.length&&(j.buffer.push(fe),j.length+=j.objectMode?1:fe.length)}j.ended=!0,j.sync?G(K):(j.needReadable=!1,j.emittedReadable||(j.emittedReadable=!0,J(K)))}}i(N,"onEofChunk");function G(K){var j=K._readableState;a("emitReadable",j.needReadable,j.emittedReadable),j.needReadable=!1,j.emittedReadable||(a("emitReadable",j.flowing),j.emittedReadable=!0,_.nextTick(J,K))}i(G,"emitReadable");function J(K){var j=K._readableState;a("emitReadable_",j.destroyed,j.length,j.ended),!j.destroyed&&(j.length||j.ended)&&(K.emit("readable"),j.emittedReadable=!1),j.needReadable=!j.flowing&&!j.ended&&j.length<=j.highWaterMark,X(K)}i(J,"emitReadable_");function F(K,j){j.readingMore||(j.readingMore=!0,_.nextTick(f,K,j))}i(F,"maybeReadMore");function f(K,j){for(;!j.reading&&!j.ended&&(j.length<j.highWaterMark||j.flowing&&j.length===0);){var fe=j.length;if(a("maybeReadMore read 0"),K.read(0),fe===j.length)break}j.readingMore=!1}i(f,"maybeReadMore_"),le.prototype._read=function(K){ie(this,new O("_read()"))},le.prototype.pipe=function(K,j){var fe=this,ye=this._readableState;switch(ye.pipesCount){case 0:ye.pipes=K;break;case 1:ye.pipes=[ye.pipes,K];break;default:ye.pipes.push(K);break}ye.pipesCount+=1,a("pipe count=%d opts=%j",ye.pipesCount,j);var Ae=(!j||j.end!==!1)&&K!==_.stdout&&K!==_.stderr,_e=Ae?me:c;ye.endEmitted?_.nextTick(_e):fe.once("end",_e),K.on("unpipe",ke);function ke(D,q){a("onunpipe"),D===fe&&q&&q.hasUnpiped===!1&&(q.hasUnpiped=!0,Ke())}i(ke,"onunpipe");function me(){a("onend"),K.end()}i(me,"onend");var Oe=H(fe);K.on("drain",Oe);var Pe=!1;function Ke(){a("cleanup"),K.removeListener("close",I),K.removeListener("finish",s),K.removeListener("drain",Oe),K.removeListener("error",$e),K.removeListener("unpipe",ke),fe.removeListener("end",me),fe.removeListener("end",c),fe.removeListener("data",Ce),Pe=!0,ye.awaitDrain&&(!K._writableState||K._writableState.needDrain)&&Oe()}i(Ke,"cleanup"),fe.on("data",Ce);function Ce(D){a("ondata");var q=K.write(D);a("dest.write",q),q===!1&&((ye.pipesCount===1&&ye.pipes===K||ye.pipesCount>1&&Se(ye.pipes,K)!==-1)&&!Pe&&(a("false write response, pause",ye.awaitDrain),ye.awaitDrain++),fe.pause())}i(Ce,"ondata");function $e(D){a("onerror",D),c(),K.removeListener("error",$e),k(K,"error")===0&&ie(K,D)}i($e,"onerror"),oe(K,"error",$e);function I(){K.removeListener("finish",s),c()}i(I,"onclose"),K.once("close",I);function s(){a("onfinish"),K.removeListener("close",I),c()}i(s,"onfinish"),K.once("finish",s);function c(){a("unpipe"),fe.unpipe(K)}return i(c,"unpipe"),K.emit("pipe",fe),ye.flowing||(a("pipe resume"),fe.resume()),K};function H(K){return i(function(){var fe=K._readableState;a("pipeOnDrain",fe.awaitDrain),fe.awaitDrain&&fe.awaitDrain--,fe.awaitDrain===0&&k(K,"data")&&(fe.flowing=!0,X(K))},"pipeOnDrainFunctionResult")}i(H,"pipeOnDrain"),le.prototype.unpipe=function(K){var j=this._readableState,fe={hasUnpiped:!1};if(j.pipesCount===0)return this;if(j.pipesCount===1)return K&&K!==j.pipes?this:(K||(K=j.pipes),j.pipes=null,j.pipesCount=0,j.flowing=!1,K&&K.emit("unpipe",this,fe),this);if(!K){var ye=j.pipes,Ae=j.pipesCount;j.pipes=null,j.pipesCount=0,j.flowing=!1;for(var _e=0;_e<Ae;_e++)ye[_e].emit("unpipe",this,{hasUnpiped:!1});return this}var ke=Se(j.pipes,K);return ke===-1?this:(j.pipes.splice(ke,1),j.pipesCount-=1,j.pipesCount===1&&(j.pipes=j.pipes[0]),K.emit("unpipe",this,fe),this)},le.prototype.on=function(K,j){var fe=d.prototype.on.call(this,K,j),ye=this._readableState;return K==="data"?(ye.readableListening=this.listenerCount("readable")>0,ye.flowing!==!1&&this.resume()):K==="readable"&&!ye.endEmitted&&!ye.readableListening&&(ye.readableListening=ye.needReadable=!0,ye.flowing=!1,ye.emittedReadable=!1,a("on readable",ye.length,ye.reading),ye.length?G(this):ye.reading||_.nextTick(xe,this)),fe},le.prototype.addListener=le.prototype.on,le.prototype.removeListener=function(K,j){var fe=d.prototype.removeListener.call(this,K,j);return K==="readable"&&_.nextTick(we,this),fe},le.prototype.removeAllListeners=function(K){var j=d.prototype.removeAllListeners.apply(this,arguments);return(K==="readable"||K===void 0)&&_.nextTick(we,this),j};function we(K){var j=K._readableState;j.readableListening=K.listenerCount("readable")>0,j.resumeScheduled&&!j.paused?j.flowing=!0:K.listenerCount("data")>0&&K.resume()}i(we,"updateReadableListening");function xe(K){a("readable nexttick read 0"),K.read(0)}i(xe,"nReadingNextTick"),le.prototype.resume=function(){var K=this._readableState;return K.flowing||(a("resume"),K.flowing=!K.readableListening,Ee(this,K)),K.paused=!1,this};function Ee(K,j){j.resumeScheduled||(j.resumeScheduled=!0,_.nextTick(U,K,j))}i(Ee,"resume");function U(K,j){a("resume",j.reading),j.reading||K.read(0),j.resumeScheduled=!1,K.emit("resume"),X(K),j.flowing&&!j.reading&&K.read(0)}i(U,"resume_"),le.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function X(K){var j=K._readableState;for(a("flow",j.flowing);j.flowing&&K.read()!==null;);}i(X,"flow"),le.prototype.wrap=function(K){var j=this,fe=this._readableState,ye=!1;K.on("end",function(){if(a("wrapped end"),fe.decoder&&!fe.ended){var ke=fe.decoder.end();ke&&ke.length&&j.push(ke)}j.push(null)}),K.on("data",function(ke){if(a("wrapped data"),fe.decoder&&(ke=fe.decoder.write(ke)),!(fe.objectMode&&ke==null)&&!(!fe.objectMode&&(!ke||!ke.length))){var me=j.push(ke);me||(ye=!0,K.pause())}});for(var Ae in K)this[Ae]===void 0&&typeof K[Ae]=="function"&&(this[Ae]=i(function(me){return i(function(){return K[me].apply(K,arguments)},"methodWrapReturnFunction")},"methodWrap")(Ae));for(var _e=0;_e<ae.length;_e++)K.on(ae[_e],this.emit.bind(this,ae[_e]));return this._read=function(ke){a("wrapped _read",ke),ye&&(ye=!1,K.resume())},this},typeof Symbol=="function"&&(le.prototype[Symbol.asyncIterator]=function(){return V===void 0&&(V=A(5850)),V(this)}),Object.defineProperty(le.prototype,"readableHighWaterMark",{enumerable:!1,get:i(function(){return this._readableState.highWaterMark},"get")}),Object.defineProperty(le.prototype,"readableBuffer",{enumerable:!1,get:i(function(){return this._readableState&&this._readableState.buffer},"get")}),Object.defineProperty(le.prototype,"readableFlowing",{enumerable:!1,get:i(function(){return this._readableState.flowing},"get"),set:i(function(j){this._readableState&&(this._readableState.flowing=j)},"set")}),le._fromList=Z,Object.defineProperty(le.prototype,"readableLength",{enumerable:!1,get:i(function(){return this._readableState.length},"get")});function Z(K,j){if(j.length===0)return null;var fe;return j.objectMode?fe=j.buffer.shift():!K||K>=j.length?(j.decoder?fe=j.buffer.join(""):j.buffer.length===1?fe=j.buffer.first():fe=j.buffer.concat(j.length),j.buffer.clear()):fe=j.buffer.consume(K,j.decoder),fe}i(Z,"fromList");function ue(K){var j=K._readableState;a("endReadable",j.endEmitted),j.endEmitted||(j.ended=!0,_.nextTick(he,j,K))}i(ue,"endReadable");function he(K,j){if(a("endReadableNT",K.endEmitted,K.length),!K.endEmitted&&K.length===0&&(K.endEmitted=!0,j.readable=!1,j.emit("end"),K.autoDestroy)){var fe=j._writableState;(!fe||fe.autoDestroy&&fe.finished)&&j.destroy()}}i(he,"endReadableNT"),typeof Symbol=="function"&&(le.from=function(K,j){return Q===void 0&&(Q=A(5167)),Q(le,K,j)});function Se(K,j){for(var fe=0,ye=K.length;fe<ye;fe++)if(K[fe]===j)return fe;return-1}i(Se,"indexOf")},4605:(re,$,A)=>{"use strict";re.exports=B;var _=A(4281).q,Y=_.ERR_METHOD_NOT_IMPLEMENTED,z=_.ERR_MULTIPLE_CALLBACK,k=_.ERR_TRANSFORM_ALREADY_TRANSFORMING,d=_.ERR_TRANSFORM_WITH_LENGTH_0,b=A(6753);A(5717)(B,b);function m(a,l){var u=this._transformState;u.transforming=!1;var v=u.writecb;if(v===null)return this.emit("error",new z);u.writechunk=null,u.writecb=null,l!=null&&this.push(l),v(a);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}i(m,"afterTransform");function B(a){if(!(this instanceof B))return new B(a);b.call(this,a),this._transformState={afterTransform:m.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,a&&(typeof a.transform=="function"&&(this._transform=a.transform),typeof a.flush=="function"&&(this._flush=a.flush)),this.on("prefinish",P)}i(B,"Transform");function P(){var a=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(l,u){p(a,l,u)}):p(this,null,null)}i(P,"prefinish"),B.prototype.push=function(a,l){return this._transformState.needTransform=!1,b.prototype.push.call(this,a,l)},B.prototype._transform=function(a,l,u){u(new Y("_transform()"))},B.prototype._write=function(a,l,u){var v=this._transformState;if(v.writecb=u,v.writechunk=a,v.writeencoding=l,!v.transforming){var y=this._readableState;(v.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},B.prototype._read=function(a){var l=this._transformState;l.writechunk!==null&&!l.transforming?(l.transforming=!0,this._transform(l.writechunk,l.writeencoding,l.afterTransform)):l.needTransform=!0},B.prototype._destroy=function(a,l){b.prototype._destroy.call(this,a,function(u){l(u)})};function p(a,l,u){if(l)return a.emit("error",l);if(u!=null&&a.push(u),a._writableState.length)throw new d;if(a._transformState.transforming)throw new k;return a.push(null)}i(p,"done")},4229:(re,$,A)=>{"use strict";var _=A(4155);re.exports=ge;function Y(X,Z,ue){this.chunk=X,this.encoding=Z,this.callback=ue,this.next=null}i(Y,"WriteReq");function z(X){var Z=this;this.next=null,this.entry=null,this.finish=function(){U(Z,X)}}i(z,"CorkedRequest");var k;ge.WritableState=ae;var d={deprecate:A(4927)},b=A(2503),m=A(8764).Buffer,B=(typeof A.g<"u"?A.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function P(X){return m.from(X)}i(P,"_uint8ArrayToBuffer");function p(X){return m.isBuffer(X)||X instanceof B}i(p,"_isUint8Array");var a=A(1195),l=A(2457),u=l.getHighWaterMark,v=A(4281).q,y=v.ERR_INVALID_ARG_TYPE,g=v.ERR_METHOD_NOT_IMPLEMENTED,R=v.ERR_MULTIPLE_CALLBACK,w=v.ERR_STREAM_CANNOT_PIPE,O=v.ERR_STREAM_DESTROYED,C=v.ERR_STREAM_NULL_VALUES,L=v.ERR_STREAM_WRITE_AFTER_END,V=v.ERR_UNKNOWN_ENCODING,Q=a.errorOrDestroy;A(5717)(ge,b);function ie(){}i(ie,"nop");function ae(X,Z,ue){k=k||A(6753),X=X||{},typeof ue!="boolean"&&(ue=Z instanceof k),this.objectMode=!!X.objectMode,ue&&(this.objectMode=this.objectMode||!!X.writableObjectMode),this.highWaterMark=u(this,X,"writableHighWaterMark",ue),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var he=X.decodeStrings===!1;this.decodeStrings=!he,this.defaultEncoding=X.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Se){N(Z,Se)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=X.emitClose!==!1,this.autoDestroy=!!X.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new z(this)}i(ae,"WritableState"),ae.prototype.getBuffer=i(function(){for(var Z=this.bufferedRequest,ue=[];Z;)ue.push(Z),Z=Z.next;return ue},"getBuffer"),function(){try{Object.defineProperty(ae.prototype,"buffer",{get:d.deprecate(i(function(){return this.getBuffer()},"writableStateBufferGetter"),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var oe;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(oe=Function.prototype[Symbol.hasInstance],Object.defineProperty(ge,Symbol.hasInstance,{value:i(function(Z){return oe.call(this,Z)?!0:this!==ge?!1:Z&&Z._writableState instanceof ae},"value")})):oe=i(function(Z){return Z instanceof this},"realHasInstance");function ge(X){k=k||A(6753);var Z=this instanceof k;if(!Z&&!oe.call(ge,this))return new ge(X);this._writableState=new ae(X,this,Z),this.writable=!0,X&&(typeof X.write=="function"&&(this._write=X.write),typeof X.writev=="function"&&(this._writev=X.writev),typeof X.destroy=="function"&&(this._destroy=X.destroy),typeof X.final=="function"&&(this._final=X.final)),b.call(this)}i(ge,"Writable"),ge.prototype.pipe=function(){Q(this,new w)};function le(X,Z){var ue=new L;Q(X,ue),_.nextTick(Z,ue)}i(le,"writeAfterEnd");function te(X,Z,ue,he){var Se;return ue===null?Se=new C:typeof ue!="string"&&!Z.objectMode&&(Se=new y("chunk",["string","Buffer"],ue)),Se?(Q(X,Se),_.nextTick(he,Se),!1):!0}i(te,"validChunk"),ge.prototype.write=function(X,Z,ue){var he=this._writableState,Se=!1,K=!he.objectMode&&p(X);return K&&!m.isBuffer(X)&&(X=P(X)),typeof Z=="function"&&(ue=Z,Z=null),K?Z="buffer":Z||(Z=he.defaultEncoding),typeof ue!="function"&&(ue=ie),he.ending?le(this,ue):(K||te(this,he,X,ue))&&(he.pendingcb++,Se=r(this,he,K,X,Z,ue)),Se},ge.prototype.cork=function(){this._writableState.corked++},ge.prototype.uncork=function(){var X=this._writableState;X.corked&&(X.corked--,!X.writing&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&F(this,X))},ge.prototype.setDefaultEncoding=i(function(Z){if(typeof Z=="string"&&(Z=Z.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Z+"").toLowerCase())>-1))throw new V(Z);return this._writableState.defaultEncoding=Z,this},"setDefaultEncoding"),Object.defineProperty(ge.prototype,"writableBuffer",{enumerable:!1,get:i(function(){return this._writableState&&this._writableState.getBuffer()},"get")});function E(X,Z,ue){return!X.objectMode&&X.decodeStrings!==!1&&typeof Z=="string"&&(Z=m.from(Z,ue)),Z}i(E,"decodeChunk"),Object.defineProperty(ge.prototype,"writableHighWaterMark",{enumerable:!1,get:i(function(){return this._writableState.highWaterMark},"get")});function r(X,Z,ue,he,Se,K){if(!ue){var j=E(Z,he,Se);he!==j&&(ue=!0,Se="buffer",he=j)}var fe=Z.objectMode?1:he.length;Z.length+=fe;var ye=Z.length<Z.highWaterMark;if(ye||(Z.needDrain=!0),Z.writing||Z.corked){var Ae=Z.lastBufferedRequest;Z.lastBufferedRequest={chunk:he,encoding:Se,isBuf:ue,callback:K,next:null},Ae?Ae.next=Z.lastBufferedRequest:Z.bufferedRequest=Z.lastBufferedRequest,Z.bufferedRequestCount+=1}else o(X,Z,!1,fe,he,Se,K);return ye}i(r,"writeOrBuffer");function o(X,Z,ue,he,Se,K,j){Z.writelen=he,Z.writecb=j,Z.writing=!0,Z.sync=!0,Z.destroyed?Z.onwrite(new O("write")):ue?X._writev(Se,Z.onwrite):X._write(Se,K,Z.onwrite),Z.sync=!1}i(o,"doWrite");function h(X,Z,ue,he,Se){--Z.pendingcb,ue?(_.nextTick(Se,he),_.nextTick(xe,X,Z),X._writableState.errorEmitted=!0,Q(X,he)):(Se(he),X._writableState.errorEmitted=!0,Q(X,he),xe(X,Z))}i(h,"onwriteError");function S(X){X.writing=!1,X.writecb=null,X.length-=X.writelen,X.writelen=0}i(S,"onwriteStateUpdate");function N(X,Z){var ue=X._writableState,he=ue.sync,Se=ue.writecb;if(typeof Se!="function")throw new R;if(S(ue),Z)h(X,ue,he,Z,Se);else{var K=f(ue)||X.destroyed;!K&&!ue.corked&&!ue.bufferProcessing&&ue.bufferedRequest&&F(X,ue),he?_.nextTick(G,X,ue,K,Se):G(X,ue,K,Se)}}i(N,"onwrite");function G(X,Z,ue,he){ue||J(X,Z),Z.pendingcb--,he(),xe(X,Z)}i(G,"afterWrite");function J(X,Z){Z.length===0&&Z.needDrain&&(Z.needDrain=!1,X.emit("drain"))}i(J,"onwriteDrain");function F(X,Z){Z.bufferProcessing=!0;var ue=Z.bufferedRequest;if(X._writev&&ue&&ue.next){var he=Z.bufferedRequestCount,Se=new Array(he),K=Z.corkedRequestsFree;K.entry=ue;for(var j=0,fe=!0;ue;)Se[j]=ue,ue.isBuf||(fe=!1),ue=ue.next,j+=1;Se.allBuffers=fe,o(X,Z,!0,Z.length,Se,"",K.finish),Z.pendingcb++,Z.lastBufferedRequest=null,K.next?(Z.corkedRequestsFree=K.next,K.next=null):Z.corkedRequestsFree=new z(Z),Z.bufferedRequestCount=0}else{for(;ue;){var ye=ue.chunk,Ae=ue.encoding,_e=ue.callback,ke=Z.objectMode?1:ye.length;if(o(X,Z,!1,ke,ye,Ae,_e),ue=ue.next,Z.bufferedRequestCount--,Z.writing)break}ue===null&&(Z.lastBufferedRequest=null)}Z.bufferedRequest=ue,Z.bufferProcessing=!1}i(F,"clearBuffer"),ge.prototype._write=function(X,Z,ue){ue(new g("_write()"))},ge.prototype._writev=null,ge.prototype.end=function(X,Z,ue){var he=this._writableState;return typeof X=="function"?(ue=X,X=null,Z=null):typeof Z=="function"&&(ue=Z,Z=null),X!=null&&this.write(X,Z),he.corked&&(he.corked=1,this.uncork()),he.ending||Ee(this,he,ue),this},Object.defineProperty(ge.prototype,"writableLength",{enumerable:!1,get:i(function(){return this._writableState.length},"get")});function f(X){return X.ending&&X.length===0&&X.bufferedRequest===null&&!X.finished&&!X.writing}i(f,"needFinish");function H(X,Z){X._final(function(ue){Z.pendingcb--,ue&&Q(X,ue),Z.prefinished=!0,X.emit("prefinish"),xe(X,Z)})}i(H,"callFinal");function we(X,Z){!Z.prefinished&&!Z.finalCalled&&(typeof X._final=="function"&&!Z.destroyed?(Z.pendingcb++,Z.finalCalled=!0,_.nextTick(H,X,Z)):(Z.prefinished=!0,X.emit("prefinish")))}i(we,"prefinish");function xe(X,Z){var ue=f(Z);if(ue&&(we(X,Z),Z.pendingcb===0&&(Z.finished=!0,X.emit("finish"),Z.autoDestroy))){var he=X._readableState;(!he||he.autoDestroy&&he.endEmitted)&&X.destroy()}return ue}i(xe,"finishMaybe");function Ee(X,Z,ue){Z.ending=!0,xe(X,Z),ue&&(Z.finished?_.nextTick(ue):X.once("finish",ue)),Z.ended=!0,X.writable=!1}i(Ee,"endWritable");function U(X,Z,ue){var he=X.entry;for(X.entry=null;he;){var Se=he.callback;Z.pendingcb--,Se(ue),he=he.next}Z.corkedRequestsFree.next=X}i(U,"onCorkedFinish"),Object.defineProperty(ge.prototype,"destroyed",{enumerable:!1,get:i(function(){return this._writableState===void 0?!1:this._writableState.destroyed},"get"),set:i(function(Z){this._writableState&&(this._writableState.destroyed=Z)},"set")}),ge.prototype.destroy=a.destroy,ge.prototype._undestroy=a.undestroy,ge.prototype._destroy=function(X,Z){Z(X)}},5850:(re,$,A)=>{"use strict";var _=A(4155),Y;function z(L,V,Q){return V=k(V),V in L?Object.defineProperty(L,V,{value:Q,enumerable:!0,configurable:!0,writable:!0}):L[V]=Q,L}i(z,"_defineProperty");function k(L){var V=d(L,"string");return typeof V=="symbol"?V:String(V)}i(k,"_toPropertyKey");function d(L,V){if(typeof L!="object"||L===null)return L;var Q=L[Symbol.toPrimitive];if(Q!==void 0){var ie=Q.call(L,V||"default");if(typeof ie!="object")return ie;throw new TypeError("@@toPrimitive must return a primitive value.")}return(V==="string"?String:Number)(L)}i(d,"_toPrimitive");var b=A(8610),m=Symbol("lastResolve"),B=Symbol("lastReject"),P=Symbol("error"),p=Symbol("ended"),a=Symbol("lastPromise"),l=Symbol("handlePromise"),u=Symbol("stream");function v(L,V){return{value:L,done:V}}i(v,"createIterResult");function y(L){var V=L[m];if(V!==null){var Q=L[u].read();Q!==null&&(L[a]=null,L[m]=null,L[B]=null,V(v(Q,!1)))}}i(y,"readAndResolve");function g(L){_.nextTick(y,L)}i(g,"onReadable");function R(L,V){return function(Q,ie){L.then(function(){if(V[p]){Q(v(void 0,!0));return}V[l](Q,ie)},ie)}}i(R,"wrapForNext");var w=Object.getPrototypeOf(function(){}),O=Object.setPrototypeOf((Y={get stream(){return this[u]},next:i(function(){var V=this,Q=this[P];if(Q!==null)return Promise.reject(Q);if(this[p])return Promise.resolve(v(void 0,!0));if(this[u].destroyed)return new Promise(function(ge,le){_.nextTick(function(){V[P]?le(V[P]):ge(v(void 0,!0))})});var ie=this[a],ae;if(ie)ae=new Promise(R(ie,this));else{var oe=this[u].read();if(oe!==null)return Promise.resolve(v(oe,!1));ae=new Promise(this[l])}return this[a]=ae,ae},"next")},z(Y,Symbol.asyncIterator,function(){return this}),z(Y,"return",i(function(){var V=this;return new Promise(function(Q,ie){V[u].destroy(null,function(ae){if(ae){ie(ae);return}Q(v(void 0,!0))})})},"_return")),Y),w),C=i(function(V){var Q,ie=Object.create(O,(Q={},z(Q,u,{value:V,writable:!0}),z(Q,m,{value:null,writable:!0}),z(Q,B,{value:null,writable:!0}),z(Q,P,{value:null,writable:!0}),z(Q,p,{value:V._readableState.endEmitted,writable:!0}),z(Q,l,{value:i(function(oe,ge){var le=ie[u].read();le?(ie[a]=null,ie[m]=null,ie[B]=null,oe(v(le,!1))):(ie[m]=oe,ie[B]=ge)},"value"),writable:!0}),Q));return ie[a]=null,b(V,function(ae){if(ae&&ae.code!=="ERR_STREAM_PREMATURE_CLOSE"){var oe=ie[B];oe!==null&&(ie[a]=null,ie[m]=null,ie[B]=null,oe(ae)),ie[P]=ae;return}var ge=ie[m];ge!==null&&(ie[a]=null,ie[m]=null,ie[B]=null,ge(v(void 0,!0))),ie[p]=!0}),V.on("readable",g.bind(null,ie)),ie},"createReadableStreamAsyncIterator");re.exports=C},7327:(re,$,A)=>{"use strict";function _(y,g){var R=Object.keys(y);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(y);g&&(w=w.filter(function(O){return Object.getOwnPropertyDescriptor(y,O).enumerable})),R.push.apply(R,w)}return R}i(_,"ownKeys");function Y(y){for(var g=1;g<arguments.length;g++){var R=arguments[g]!=null?arguments[g]:{};g%2?_(Object(R),!0).forEach(function(w){z(y,w,R[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(R)):_(Object(R)).forEach(function(w){Object.defineProperty(y,w,Object.getOwnPropertyDescriptor(R,w))})}return y}i(Y,"_objectSpread");function z(y,g,R){return g=m(g),g in y?Object.defineProperty(y,g,{value:R,enumerable:!0,configurable:!0,writable:!0}):y[g]=R,y}i(z,"_defineProperty");function k(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}i(k,"_classCallCheck");function d(y,g){for(var R=0;R<g.length;R++){var w=g[R];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(y,m(w.key),w)}}i(d,"_defineProperties");function b(y,g,R){return g&&d(y.prototype,g),R&&d(y,R),Object.defineProperty(y,"prototype",{writable:!1}),y}i(b,"_createClass");function m(y){var g=B(y,"string");return typeof g=="symbol"?g:String(g)}i(m,"_toPropertyKey");function B(y,g){if(typeof y!="object"||y===null)return y;var R=y[Symbol.toPrimitive];if(R!==void 0){var w=R.call(y,g||"default");if(typeof w!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return(g==="string"?String:Number)(y)}i(B,"_toPrimitive");var P=A(8764),p=P.Buffer,a=A(2361),l=a.inspect,u=l&&l.custom||"inspect";function v(y,g,R){p.prototype.copy.call(y,g,R)}i(v,"copyBuffer"),re.exports=function(){function y(){k(this,y),this.head=null,this.tail=null,this.length=0}return i(y,"BufferList"),b(y,[{key:"push",value:i(function(R){var w={data:R,next:null};this.length>0?this.tail.next=w:this.head=w,this.tail=w,++this.length},"push")},{key:"unshift",value:i(function(R){var w={data:R,next:this.head};this.length===0&&(this.tail=w),this.head=w,++this.length},"unshift")},{key:"shift",value:i(function(){if(this.length!==0){var R=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,R}},"shift")},{key:"clear",value:i(function(){this.head=this.tail=null,this.length=0},"clear")},{key:"join",value:i(function(R){if(this.length===0)return"";for(var w=this.head,O=""+w.data;w=w.next;)O+=R+w.data;return O},"join")},{key:"concat",value:i(function(R){if(this.length===0)return p.alloc(0);for(var w=p.allocUnsafe(R>>>0),O=this.head,C=0;O;)v(O.data,w,C),C+=O.data.length,O=O.next;return w},"concat")},{key:"consume",value:i(function(R,w){var O;return R<this.head.data.length?(O=this.head.data.slice(0,R),this.head.data=this.head.data.slice(R)):R===this.head.data.length?O=this.shift():O=w?this._getString(R):this._getBuffer(R),O},"consume")},{key:"first",value:i(function(){return this.head.data},"first")},{key:"_getString",value:i(function(R){var w=this.head,O=1,C=w.data;for(R-=C.length;w=w.next;){var L=w.data,V=R>L.length?L.length:R;if(V===L.length?C+=L:C+=L.slice(0,R),R-=V,R===0){V===L.length?(++O,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=L.slice(V));break}++O}return this.length-=O,C},"_getString")},{key:"_getBuffer",value:i(function(R){var w=p.allocUnsafe(R),O=this.head,C=1;for(O.data.copy(w),R-=O.data.length;O=O.next;){var L=O.data,V=R>L.length?L.length:R;if(L.copy(w,w.length-R,0,V),R-=V,R===0){V===L.length?(++C,O.next?this.head=O.next:this.head=this.tail=null):(this.head=O,O.data=L.slice(V));break}++C}return this.length-=C,w},"_getBuffer")},{key:u,value:i(function(R,w){return l(this,Y(Y({},w),{},{depth:0,customInspect:!1}))},"value")}]),y}()},1195:(re,$,A)=>{"use strict";var _=A(4155);function Y(B,P){var p=this,a=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return a||l?(P?P(B):B&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,_.nextTick(b,this,B)):_.nextTick(b,this,B)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(B||null,function(u){!P&&u?p._writableState?p._writableState.errorEmitted?_.nextTick(k,p):(p._writableState.errorEmitted=!0,_.nextTick(z,p,u)):_.nextTick(z,p,u):P?(_.nextTick(k,p),P(u)):_.nextTick(k,p)}),this)}i(Y,"destroy");function z(B,P){b(B,P),k(B)}i(z,"emitErrorAndCloseNT");function k(B){B._writableState&&!B._writableState.emitClose||B._readableState&&!B._readableState.emitClose||B.emit("close")}i(k,"emitCloseNT");function d(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}i(d,"undestroy");function b(B,P){B.emit("error",P)}i(b,"emitErrorNT");function m(B,P){var p=B._readableState,a=B._writableState;p&&p.autoDestroy||a&&a.autoDestroy?B.destroy(P):B.emit("error",P)}i(m,"errorOrDestroy"),re.exports={destroy:Y,undestroy:d,errorOrDestroy:m}},8610:(re,$,A)=>{"use strict";var _=A(4281).q.ERR_STREAM_PREMATURE_CLOSE;function Y(b){var m=!1;return function(){if(!m){m=!0;for(var B=arguments.length,P=new Array(B),p=0;p<B;p++)P[p]=arguments[p];b.apply(this,P)}}}i(Y,"once");function z(){}i(z,"noop");function k(b){return b.setHeader&&typeof b.abort=="function"}i(k,"isRequest");function d(b,m,B){if(typeof m=="function")return d(b,null,m);m||(m={}),B=Y(B||z);var P=m.readable||m.readable!==!1&&b.readable,p=m.writable||m.writable!==!1&&b.writable,a=i(function(){b.writable||u()},"onlegacyfinish"),l=b._writableState&&b._writableState.finished,u=i(function(){p=!1,l=!0,P||B.call(b)},"onfinish"),v=b._readableState&&b._readableState.endEmitted,y=i(function(){P=!1,v=!0,p||B.call(b)},"onend"),g=i(function(C){B.call(b,C)},"onerror"),R=i(function(){var C;if(P&&!v)return(!b._readableState||!b._readableState.ended)&&(C=new _),B.call(b,C);if(p&&!l)return(!b._writableState||!b._writableState.ended)&&(C=new _),B.call(b,C)},"onclose"),w=i(function(){b.req.on("finish",u)},"onrequest");return k(b)?(b.on("complete",u),b.on("abort",R),b.req?w():b.on("request",w)):p&&!b._writableState&&(b.on("end",a),b.on("close",a)),b.on("end",y),b.on("finish",u),m.error!==!1&&b.on("error",g),b.on("close",R),function(){b.removeListener("complete",u),b.removeListener("abort",R),b.removeListener("request",w),b.req&&b.req.removeListener("finish",u),b.removeListener("end",a),b.removeListener("close",a),b.removeListener("finish",u),b.removeListener("end",y),b.removeListener("error",g),b.removeListener("close",R)}}i(d,"eos"),re.exports=d},5167:re=>{re.exports=function(){throw new Error("Readable.from is not available in the browser")}},9946:(re,$,A)=>{"use strict";var _;function Y(u){var v=!1;return function(){v||(v=!0,u.apply(void 0,arguments))}}i(Y,"once");var z=A(4281).q,k=z.ERR_MISSING_ARGS,d=z.ERR_STREAM_DESTROYED;function b(u){if(u)throw u}i(b,"noop");function m(u){return u.setHeader&&typeof u.abort=="function"}i(m,"isRequest");function B(u,v,y,g){g=Y(g);var R=!1;u.on("close",function(){R=!0}),_===void 0&&(_=A(8610)),_(u,{readable:v,writable:y},function(O){if(O)return g(O);R=!0,g()});var w=!1;return function(O){if(!R&&!w){if(w=!0,m(u))return u.abort();if(typeof u.destroy=="function")return u.destroy();g(O||new d("pipe"))}}}i(B,"destroyer");function P(u){u()}i(P,"call");function p(u,v){return u.pipe(v)}i(p,"pipe");function a(u){return!u.length||typeof u[u.length-1]!="function"?b:u.pop()}i(a,"popCallback");function l(){for(var u=arguments.length,v=new Array(u),y=0;y<u;y++)v[y]=arguments[y];var g=a(v);if(Array.isArray(v[0])&&(v=v[0]),v.length<2)throw new k("streams");var R,w=v.map(function(O,C){var L=C<v.length-1,V=C>0;return B(O,L,V,function(Q){R||(R=Q),Q&&w.forEach(P),!L&&(w.forEach(P),g(R))})});return v.reduce(p)}i(l,"pipeline"),re.exports=l},2457:(re,$,A)=>{"use strict";var _=A(4281).q.ERR_INVALID_OPT_VALUE;function Y(k,d,b){return k.highWaterMark!=null?k.highWaterMark:d?k[b]:null}i(Y,"highWaterMarkFrom");function z(k,d,b,m){var B=Y(d,m,b);if(B!=null){if(!(isFinite(B)&&Math.floor(B)===B)||B<0){var P=m?b:"highWaterMark";throw new _(P,B)}return Math.floor(B)}return k.objectMode?16:16384}i(z,"getHighWaterMark"),re.exports={getHighWaterMark:z}},2503:(re,$,A)=>{re.exports=A(7187).EventEmitter},8473:(re,$,A)=>{$=re.exports=A(9481),$.Stream=$,$.Readable=$,$.Writable=A(4229),$.Duplex=A(6753),$.Transform=A(4605),$.PassThrough=A(2725),$.finished=A(8610),$.pipeline=A(9946)},9785:(re,$,A)=>{"use strict";var _=A(8764).Buffer,Y=A(5717),z=A(3349),k=new Array(16),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],b=[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],m=[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],B=[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],P=[0,1518500249,1859775393,2400959708,2840853838],p=[1352829926,1548603684,1836072691,2053994217,0];function a(){z.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}i(a,"RIPEMD160"),Y(a,z),a.prototype._update=function(){for(var w=k,O=0;O<16;++O)w[O]=this._block.readInt32LE(O*4);for(var C=this._a|0,L=this._b|0,V=this._c|0,Q=this._d|0,ie=this._e|0,ae=this._a|0,oe=this._b|0,ge=this._c|0,le=this._d|0,te=this._e|0,E=0;E<80;E+=1){var r,o;E<16?(r=u(C,L,V,Q,ie,w[d[E]],P[0],m[E]),o=R(ae,oe,ge,le,te,w[b[E]],p[0],B[E])):E<32?(r=v(C,L,V,Q,ie,w[d[E]],P[1],m[E]),o=g(ae,oe,ge,le,te,w[b[E]],p[1],B[E])):E<48?(r=y(C,L,V,Q,ie,w[d[E]],P[2],m[E]),o=y(ae,oe,ge,le,te,w[b[E]],p[2],B[E])):E<64?(r=g(C,L,V,Q,ie,w[d[E]],P[3],m[E]),o=v(ae,oe,ge,le,te,w[b[E]],p[3],B[E])):(r=R(C,L,V,Q,ie,w[d[E]],P[4],m[E]),o=u(ae,oe,ge,le,te,w[b[E]],p[4],B[E])),C=ie,ie=Q,Q=l(V,10),V=L,L=r,ae=te,te=le,le=l(ge,10),ge=oe,oe=o}var h=this._b+V+le|0;this._b=this._c+Q+te|0,this._c=this._d+ie+ae|0,this._d=this._e+C+oe|0,this._e=this._a+L+ge|0,this._a=h},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var w=_.alloc?_.alloc(20):new _(20);return w.writeInt32LE(this._a,0),w.writeInt32LE(this._b,4),w.writeInt32LE(this._c,8),w.writeInt32LE(this._d,12),w.writeInt32LE(this._e,16),w};function l(w,O){return w<<O|w>>>32-O}i(l,"rotl");function u(w,O,C,L,V,Q,ie,ae){return l(w+(O^C^L)+Q+ie|0,ae)+V|0}i(u,"fn1");function v(w,O,C,L,V,Q,ie,ae){return l(w+(O&C|~O&L)+Q+ie|0,ae)+V|0}i(v,"fn2");function y(w,O,C,L,V,Q,ie,ae){return l(w+((O|~C)^L)+Q+ie|0,ae)+V|0}i(y,"fn3");function g(w,O,C,L,V,Q,ie,ae){return l(w+(O&L|C&~L)+Q+ie|0,ae)+V|0}i(g,"fn4");function R(w,O,C,L,V,Q,ie,ae){return l(w+(O^(C|~L))+Q+ie|0,ae)+V|0}i(R,"fn5"),re.exports=a},9509:(re,$,A)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var _=A(8764),Y=_.Buffer;function z(d,b){for(var m in d)b[m]=d[m]}i(z,"copyProps"),Y.from&&Y.alloc&&Y.allocUnsafe&&Y.allocUnsafeSlow?re.exports=_:(z(_,$),$.Buffer=k);function k(d,b,m){return Y(d,b,m)}i(k,"SafeBuffer"),k.prototype=Object.create(Y.prototype),z(Y,k),k.from=function(d,b,m){if(typeof d=="number")throw new TypeError("Argument must not be a number");return Y(d,b,m)},k.alloc=function(d,b,m){if(typeof d!="number")throw new TypeError("Argument must be a number");var B=Y(d);return b!==void 0?typeof m=="string"?B.fill(b,m):B.fill(b):B.fill(0),B},k.allocUnsafe=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return Y(d)},k.allocUnsafeSlow=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return _.SlowBuffer(d)}},4189:(re,$,A)=>{var _=A(9509).Buffer;function Y(z,k){this._block=_.alloc(z),this._finalSize=k,this._blockSize=z,this._len=0}i(Y,"Hash"),Y.prototype.update=function(z,k){typeof z=="string"&&(k=k||"utf8",z=_.from(z,k));for(var d=this._block,b=this._blockSize,m=z.length,B=this._len,P=0;P<m;){for(var p=B%b,a=Math.min(m-P,b-p),l=0;l<a;l++)d[p+l]=z[P+l];B+=a,P+=a,B%b===0&&this._update(d)}return this._len+=m,this},Y.prototype.digest=function(z){var k=this._len%this._blockSize;this._block[k]=128,this._block.fill(0,k+1),k>=this._finalSize&&(this._update(this._block),this._block.fill(0));var d=this._len*8;if(d<=4294967295)this._block.writeUInt32BE(d,this._blockSize-4);else{var b=(d&4294967295)>>>0,m=(d-b)/4294967296;this._block.writeUInt32BE(m,this._blockSize-8),this._block.writeUInt32BE(b,this._blockSize-4)}this._update(this._block);var B=this._hash();return z?B.toString(z):B},Y.prototype._update=function(){throw new Error("_update must be implemented by subclass")},re.exports=Y},9072:(re,$,A)=>{var _=re.exports=i(function(z){z=z.toLowerCase();var k=_[z];if(!k)throw new Error(z+" is not supported (we accept pull requests)");return new k},"SHA");_.sha=A(4448),_.sha1=A(8336),_.sha224=A(8432),_.sha256=A(7499),_.sha384=A(1686),_.sha512=A(7816)},4448:(re,$,A)=>{var _=A(5717),Y=A(4189),z=A(9509).Buffer,k=[1518500249,1859775393,-1894007588,-899497514],d=new Array(80);function b(){this.init(),this._w=d,Y.call(this,64,56)}i(b,"Sha"),_(b,Y),b.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function m(p){return p<<5|p>>>27}i(m,"rotl5");function B(p){return p<<30|p>>>2}i(B,"rotl30");function P(p,a,l,u){return p===0?a&l|~a&u:p===2?a&l|a&u|l&u:a^l^u}i(P,"ft"),b.prototype._update=function(p){for(var a=this._w,l=this._a|0,u=this._b|0,v=this._c|0,y=this._d|0,g=this._e|0,R=0;R<16;++R)a[R]=p.readInt32BE(R*4);for(;R<80;++R)a[R]=a[R-3]^a[R-8]^a[R-14]^a[R-16];for(var w=0;w<80;++w){var O=~~(w/20),C=m(l)+P(O,u,v,y)+g+a[w]+k[O]|0;g=y,y=v,v=B(u),u=l,l=C}this._a=l+this._a|0,this._b=u+this._b|0,this._c=v+this._c|0,this._d=y+this._d|0,this._e=g+this._e|0},b.prototype._hash=function(){var p=z.allocUnsafe(20);return p.writeInt32BE(this._a|0,0),p.writeInt32BE(this._b|0,4),p.writeInt32BE(this._c|0,8),p.writeInt32BE(this._d|0,12),p.writeInt32BE(this._e|0,16),p},re.exports=b},8336:(re,$,A)=>{var _=A(5717),Y=A(4189),z=A(9509).Buffer,k=[1518500249,1859775393,-1894007588,-899497514],d=new Array(80);function b(){this.init(),this._w=d,Y.call(this,64,56)}i(b,"Sha1"),_(b,Y),b.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function m(a){return a<<1|a>>>31}i(m,"rotl1");function B(a){return a<<5|a>>>27}i(B,"rotl5");function P(a){return a<<30|a>>>2}i(P,"rotl30");function p(a,l,u,v){return a===0?l&u|~l&v:a===2?l&u|l&v|u&v:l^u^v}i(p,"ft"),b.prototype._update=function(a){for(var l=this._w,u=this._a|0,v=this._b|0,y=this._c|0,g=this._d|0,R=this._e|0,w=0;w<16;++w)l[w]=a.readInt32BE(w*4);for(;w<80;++w)l[w]=m(l[w-3]^l[w-8]^l[w-14]^l[w-16]);for(var O=0;O<80;++O){var C=~~(O/20),L=B(u)+p(C,v,y,g)+R+l[O]+k[C]|0;R=g,g=y,y=P(v),v=u,u=L}this._a=u+this._a|0,this._b=v+this._b|0,this._c=y+this._c|0,this._d=g+this._d|0,this._e=R+this._e|0},b.prototype._hash=function(){var a=z.allocUnsafe(20);return a.writeInt32BE(this._a|0,0),a.writeInt32BE(this._b|0,4),a.writeInt32BE(this._c|0,8),a.writeInt32BE(this._d|0,12),a.writeInt32BE(this._e|0,16),a},re.exports=b},8432:(re,$,A)=>{var _=A(5717),Y=A(7499),z=A(4189),k=A(9509).Buffer,d=new Array(64);function b(){this.init(),this._w=d,z.call(this,64,56)}i(b,"Sha224"),_(b,Y),b.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},b.prototype._hash=function(){var m=k.allocUnsafe(28);return m.writeInt32BE(this._a,0),m.writeInt32BE(this._b,4),m.writeInt32BE(this._c,8),m.writeInt32BE(this._d,12),m.writeInt32BE(this._e,16),m.writeInt32BE(this._f,20),m.writeInt32BE(this._g,24),m},re.exports=b},7499:(re,$,A)=>{var _=A(5717),Y=A(4189),z=A(9509).Buffer,k=[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],d=new Array(64);function b(){this.init(),this._w=d,Y.call(this,64,56)}i(b,"Sha256"),_(b,Y),b.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function m(u,v,y){return y^u&(v^y)}i(m,"ch");function B(u,v,y){return u&v|y&(u|v)}i(B,"maj");function P(u){return(u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10)}i(P,"sigma0");function p(u){return(u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7)}i(p,"sigma1");function a(u){return(u>>>7|u<<25)^(u>>>18|u<<14)^u>>>3}i(a,"gamma0");function l(u){return(u>>>17|u<<15)^(u>>>19|u<<13)^u>>>10}i(l,"gamma1"),b.prototype._update=function(u){for(var v=this._w,y=this._a|0,g=this._b|0,R=this._c|0,w=this._d|0,O=this._e|0,C=this._f|0,L=this._g|0,V=this._h|0,Q=0;Q<16;++Q)v[Q]=u.readInt32BE(Q*4);for(;Q<64;++Q)v[Q]=l(v[Q-2])+v[Q-7]+a(v[Q-15])+v[Q-16]|0;for(var ie=0;ie<64;++ie){var ae=V+p(O)+m(O,C,L)+k[ie]+v[ie]|0,oe=P(y)+B(y,g,R)|0;V=L,L=C,C=O,O=w+ae|0,w=R,R=g,g=y,y=ae+oe|0}this._a=y+this._a|0,this._b=g+this._b|0,this._c=R+this._c|0,this._d=w+this._d|0,this._e=O+this._e|0,this._f=C+this._f|0,this._g=L+this._g|0,this._h=V+this._h|0},b.prototype._hash=function(){var u=z.allocUnsafe(32);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u.writeInt32BE(this._h,28),u},re.exports=b},1686:(re,$,A)=>{var _=A(5717),Y=A(7816),z=A(4189),k=A(9509).Buffer,d=new Array(160);function b(){this.init(),this._w=d,z.call(this,128,112)}i(b,"Sha384"),_(b,Y),b.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},b.prototype._hash=function(){var m=k.allocUnsafe(48);function B(P,p,a){m.writeInt32BE(P,a),m.writeInt32BE(p,a+4)}return i(B,"writeInt64BE"),B(this._ah,this._al,0),B(this._bh,this._bl,8),B(this._ch,this._cl,16),B(this._dh,this._dl,24),B(this._eh,this._el,32),B(this._fh,this._fl,40),m},re.exports=b},7816:(re,$,A)=>{var _=A(5717),Y=A(4189),z=A(9509).Buffer,k=[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],d=new Array(160);function b(){this.init(),this._w=d,Y.call(this,128,112)}i(b,"Sha512"),_(b,Y),b.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function m(g,R,w){return w^g&(R^w)}i(m,"Ch");function B(g,R,w){return g&R|w&(g|R)}i(B,"maj");function P(g,R){return(g>>>28|R<<4)^(R>>>2|g<<30)^(R>>>7|g<<25)}i(P,"sigma0");function p(g,R){return(g>>>14|R<<18)^(g>>>18|R<<14)^(R>>>9|g<<23)}i(p,"sigma1");function a(g,R){return(g>>>1|R<<31)^(g>>>8|R<<24)^g>>>7}i(a,"Gamma0");function l(g,R){return(g>>>1|R<<31)^(g>>>8|R<<24)^(g>>>7|R<<25)}i(l,"Gamma0l");function u(g,R){return(g>>>19|R<<13)^(R>>>29|g<<3)^g>>>6}i(u,"Gamma1");function v(g,R){return(g>>>19|R<<13)^(R>>>29|g<<3)^(g>>>6|R<<26)}i(v,"Gamma1l");function y(g,R){return g>>>0<R>>>0?1:0}i(y,"getCarry"),b.prototype._update=function(g){for(var R=this._w,w=this._ah|0,O=this._bh|0,C=this._ch|0,L=this._dh|0,V=this._eh|0,Q=this._fh|0,ie=this._gh|0,ae=this._hh|0,oe=this._al|0,ge=this._bl|0,le=this._cl|0,te=this._dl|0,E=this._el|0,r=this._fl|0,o=this._gl|0,h=this._hl|0,S=0;S<32;S+=2)R[S]=g.readInt32BE(S*4),R[S+1]=g.readInt32BE(S*4+4);for(;S<160;S+=2){var N=R[S-30],G=R[S-15*2+1],J=a(N,G),F=l(G,N);N=R[S-4],G=R[S-4+1];var f=u(N,G),H=v(G,N),we=R[S-7*2],xe=R[S-7*2+1],Ee=R[S-16*2],U=R[S-16*2+1],X=F+xe|0,Z=J+we+y(X,F)|0;X=X+H|0,Z=Z+f+y(X,H)|0,X=X+U|0,Z=Z+Ee+y(X,U)|0,R[S]=Z,R[S+1]=X}for(var ue=0;ue<160;ue+=2){Z=R[ue],X=R[ue+1];var he=B(w,O,C),Se=B(oe,ge,le),K=P(w,oe),j=P(oe,w),fe=p(V,E),ye=p(E,V),Ae=k[ue],_e=k[ue+1],ke=m(V,Q,ie),me=m(E,r,o),Oe=h+ye|0,Pe=ae+fe+y(Oe,h)|0;Oe=Oe+me|0,Pe=Pe+ke+y(Oe,me)|0,Oe=Oe+_e|0,Pe=Pe+Ae+y(Oe,_e)|0,Oe=Oe+X|0,Pe=Pe+Z+y(Oe,X)|0;var Ke=j+Se|0,Ce=K+he+y(Ke,j)|0;ae=ie,h=o,ie=Q,o=r,Q=V,r=E,E=te+Oe|0,V=L+Pe+y(E,te)|0,L=C,te=le,C=O,le=ge,O=w,ge=oe,oe=Oe+Ke|0,w=Pe+Ce+y(oe,Oe)|0}this._al=this._al+oe|0,this._bl=this._bl+ge|0,this._cl=this._cl+le|0,this._dl=this._dl+te|0,this._el=this._el+E|0,this._fl=this._fl+r|0,this._gl=this._gl+o|0,this._hl=this._hl+h|0,this._ah=this._ah+w+y(this._al,oe)|0,this._bh=this._bh+O+y(this._bl,ge)|0,this._ch=this._ch+C+y(this._cl,le)|0,this._dh=this._dh+L+y(this._dl,te)|0,this._eh=this._eh+V+y(this._el,E)|0,this._fh=this._fh+Q+y(this._fl,r)|0,this._gh=this._gh+ie+y(this._gl,o)|0,this._hh=this._hh+ae+y(this._hl,h)|0},b.prototype._hash=function(){var g=z.allocUnsafe(64);function R(w,O,C){g.writeInt32BE(w,C),g.writeInt32BE(O,C+4)}return i(R,"writeInt64BE"),R(this._ah,this._al,0),R(this._bh,this._bl,8),R(this._ch,this._cl,16),R(this._dh,this._dl,24),R(this._eh,this._el,32),R(this._fh,this._fl,40),R(this._gh,this._gl,48),R(this._hh,this._hl,56),g},re.exports=b},2553:(re,$,A)=>{"use strict";var _=A(9509).Buffer,Y=_.isEncoding||function(w){switch(w=""+w,w&&w.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function z(w){if(!w)return"utf8";for(var O;;)switch(w){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return w;default:if(O)return;w=(""+w).toLowerCase(),O=!0}}i(z,"_normalizeEncoding");function k(w){var O=z(w);if(typeof O!="string"&&(_.isEncoding===Y||!Y(w)))throw new Error("Unknown encoding: "+w);return O||w}i(k,"normalizeEncoding"),$.s=d;function d(w){this.encoding=k(w);var O;switch(this.encoding){case"utf16le":this.text=l,this.end=u,O=4;break;case"utf8":this.fillLast=P,O=4;break;case"base64":this.text=v,this.end=y,O=3;break;default:this.write=g,this.end=R;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=_.allocUnsafe(O)}i(d,"StringDecoder"),d.prototype.write=function(w){if(w.length===0)return"";var O,C;if(this.lastNeed){if(O=this.fillLast(w),O===void 0)return"";C=this.lastNeed,this.lastNeed=0}else C=0;return C<w.length?O?O+this.text(w,C):this.text(w,C):O||""},d.prototype.end=a,d.prototype.text=p,d.prototype.fillLast=function(w){if(this.lastNeed<=w.length)return w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,w.length),this.lastNeed-=w.length};function b(w){return w<=127?0:w>>5===6?2:w>>4===14?3:w>>3===30?4:w>>6===2?-1:-2}i(b,"utf8CheckByte");function m(w,O,C){var L=O.length-1;if(L<C)return 0;var V=b(O[L]);return V>=0?(V>0&&(w.lastNeed=V-1),V):--L<C||V===-2?0:(V=b(O[L]),V>=0?(V>0&&(w.lastNeed=V-2),V):--L<C||V===-2?0:(V=b(O[L]),V>=0?(V>0&&(V===2?V=0:w.lastNeed=V-3),V):0))}i(m,"utf8CheckIncomplete");function B(w,O,C){if((O[0]&192)!==128)return w.lastNeed=0,"\uFFFD";if(w.lastNeed>1&&O.length>1){if((O[1]&192)!==128)return w.lastNeed=1,"\uFFFD";if(w.lastNeed>2&&O.length>2&&(O[2]&192)!==128)return w.lastNeed=2,"\uFFFD"}}i(B,"utf8CheckExtraBytes");function P(w){var O=this.lastTotal-this.lastNeed,C=B(this,w,O);if(C!==void 0)return C;if(this.lastNeed<=w.length)return w.copy(this.lastChar,O,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,O,0,w.length),this.lastNeed-=w.length}i(P,"utf8FillLast");function p(w,O){var C=m(this,w,O);if(!this.lastNeed)return w.toString("utf8",O);this.lastTotal=C;var L=w.length-(C-this.lastNeed);return w.copy(this.lastChar,0,L),w.toString("utf8",O,L)}i(p,"utf8Text");function a(w){var O=w&&w.length?this.write(w):"";return this.lastNeed?O+"\uFFFD":O}i(a,"utf8End");function l(w,O){if((w.length-O)%2===0){var C=w.toString("utf16le",O);if(C){var L=C.charCodeAt(C.length-1);if(L>=55296&&L<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1],C.slice(0,-1)}return C}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=w[w.length-1],w.toString("utf16le",O,w.length-1)}i(l,"utf16Text");function u(w){var O=w&&w.length?this.write(w):"";if(this.lastNeed){var C=this.lastTotal-this.lastNeed;return O+this.lastChar.toString("utf16le",0,C)}return O}i(u,"utf16End");function v(w,O){var C=(w.length-O)%3;return C===0?w.toString("base64",O):(this.lastNeed=3-C,this.lastTotal=3,C===1?this.lastChar[0]=w[w.length-1]:(this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1]),w.toString("base64",O,w.length-C))}i(v,"base64Text");function y(w){var O=w&&w.length?this.write(w):"";return this.lastNeed?O+this.lastChar.toString("base64",0,3-this.lastNeed):O}i(y,"base64End");function g(w){return w.toString(this.encoding)}i(g,"simpleWrite");function R(w){return w&&w.length?this.write(w):""}i(R,"simpleEnd")},4927:(re,$,A)=>{re.exports=_;function _(z,k){if(Y("noDeprecation"))return z;var d=!1;function b(){if(!d){if(Y("throwDeprecation"))throw new Error(k);Y("traceDeprecation")?console.trace(k):console.warn(k),d=!0}return z.apply(this,arguments)}return i(b,"deprecated"),b}i(_,"deprecate");function Y(z){try{if(!A.g.localStorage)return!1}catch{return!1}var k=A.g.localStorage[z];return k==null?!1:String(k).toLowerCase()==="true"}i(Y,"config")},6601:()=>{},9214:()=>{},2361:()=>{},4616:()=>{},2726:re=>{"use strict";re.exports={i8:"7.0.1"}}},vt={};function Be(re){var $=vt[re];if($!==void 0)return $.exports;var A=vt[re]={id:re,loaded:!1,exports:{}};return Ot[re].call(A.exports,A,A.exports,Be),A.loaded=!0,A.exports}i(Be,"__webpack_require__"),Be.n=re=>{var $=re&&re.__esModule?()=>re.default:()=>re;return Be.d($,{a:$}),$},Be.d=(re,$)=>{for(var A in $)Be.o($,A)&&!Be.o(re,A)&&Object.defineProperty(re,A,{enumerable:!0,get:$[A]})},Be.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),Be.o=(re,$)=>Object.prototype.hasOwnProperty.call(re,$),Be.r=re=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(re,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(re,"__esModule",{value:!0})},Be.nmd=re=>(re.paths=[],re.children||(re.children=[]),re);var Nt={};return(()=>{"use strict";Be.r(Nt),Be.d(Nt,{Ach:()=>pt,Address:()=>Ce,Aes:()=>ft,Aescbc:()=>ut,Base58:()=>ie,Base58Check:()=>N,Bip32:()=>I,Bip39:()=>se,Block:()=>Ze,BlockHeader:()=>qe,Bn:()=>l,Br:()=>g,Bsm:()=>Ne,Bw:()=>w,Cbc:()=>Fe,Constants:()=>H,Ecdsa:()=>De,Ecies:()=>ht,Hash:()=>h,Interp:()=>de,KeyPair:()=>ne,OpCode:()=>U,Point:()=>he,PrivKey:()=>_e,PubKey:()=>K,Random:()=>ye,Script:()=>Pe,Sig:()=>me,SigOperations:()=>et,Struct:()=>V,Tx:()=>Ge,TxBuilder:()=>At,TxIn:()=>je,TxOut:()=>ze,TxOutMap:()=>yt,TxVerifier:()=>Xe,VarInt:()=>Ue,Workers:()=>r,WorkersResult:()=>le,cmp:()=>oe,deps:()=>_t,en:()=>s,es:()=>D,getConstants:()=>we,jp:()=>c,version:()=>It});var re=Be(4297),$=Be.n(re),A=Be(3550),_=Be.n(A),Y=Be(7191),z=Be.n(Y),k=Be(4666),d=Be.n(k),b=Be(3715),m=Be.n(b),B=Be(5632),P=Be(8764);const p={i8:"2.0.21"};var a=Be(8764).Buffer;function l(M,e,...t){if(!(this instanceof l))return new l(M,e,...t);_().call(this,M,e,...t)}i(l,"Bn"),Object.keys(_()).forEach(function(M){l[M]=_()[M]}),l.prototype=Object.create(_().prototype),l.prototype.constructor=l;function u(M){const e=a.alloc(M.length);for(let t=0;t<M.length;t++)e[t]=M[M.length-1-t];return e}i(u,"reverseBuf"),l.prototype.fromHex=function(M,e){return this.fromBuffer(a.from(M,"hex"),e)},l.prototype.toHex=function(M){return this.toBuffer(M).toString("hex")},l.prototype.toJSON=function(){return this.toString()},l.prototype.fromJSON=function(M){return l(M).copy(this),this},l.prototype.fromNumber=function(M){return l(M).copy(this),this},l.prototype.toNumber=function(){return parseInt(this.toString(10),10)},l.prototype.fromString=function(M,e){return l(M,e).copy(this),this},l.fromBuffer=function(M,e={endian:"big"}){e.endian==="little"&&(M=u(M));const t=M.toString("hex");return new l(t,16)},l.prototype.fromBuffer=function(M,e){return l.fromBuffer(M,e).copy(this),this},l.prototype.toBuffer=function(M={size:void 0,endian:"big"}){let e;if(M.size){const n=this.toString(16,2),x=n.length/2;if(e=a.from(n,"hex"),x!==M.size){if(x>M.size)e=e.slice(x-e.length,e.length);else if(x<M.size){const T=a.alloc(M.size);for(let W=0;W<e.length;W++)T[T.length-1-W]=e[e.length-1-W];for(let W=0;W<M.size-x;W++)T[W]=0;e=T}}}else{const n=this.toString(16,2);e=a.from(n,"hex")}M.endian==="little"&&(e=u(e));const t=a.from([0]);return a.compare(e,t)===0?a.from([]):e},l.prototype.toFastBuffer=l.prototype.toBuffer,l.fromFastBuffer=l.fromBuffer,l.prototype.fromFastBuffer=l.prototype.fromBuffer,l.prototype.fromSm=function(M,e={endian:"big"}){return M.length===0&&this.fromBuffer(a.from([0])),e.endian==="little"&&(M=u(M)),M[0]&128?(M[0]=M[0]&127,this.fromBuffer(M),this.neg().copy(this)):this.fromBuffer(M),this},l.prototype.toSm=function(M={endian:"big"}){const e=M.endian;let t;return this.cmp(0)===-1?(t=this.neg().toBuffer(),t[0]&128?t=a.concat([a.from([128]),t]):t[0]=t[0]|128):(t=this.toBuffer(),t[0]&128&&(t=a.concat([a.from([0]),t]))),t.length===1&t[0]===0&&(t=a.from([])),e==="little"&&(t=u(t)),t},l.prototype.fromBits=function(M,e={strict:!1}){let t=a.alloc(4);if(t.writeUInt32BE(M,0),M=t.readInt32BE(0),e.strict&&M&8388608)throw new Error("negative bit set");const n=M>>24,x=M&8388607;if(t=a.alloc(4),t.writeInt32BE(x),n<=3)t=t.slice(1,n+1);else{const T=a.alloc(n-3);T.fill(0),t=a.concat([t,T])}return this.fromBuffer(t),M&8388608&&l(0).sub(this).copy(this),this},l.prototype.toBits=function(){let M;this.lt(0)?M=this.neg().toBuffer():M=this.toBuffer();let e=M.length,t;if(e>3)t=a.concat([a.from([0]),M.slice(0,3)]).readUInt32BE(0);else if(e<=3){const x=a.alloc(3-e+1);x.fill(0),t=a.concat([x,M.slice(0,e)]).readUInt32BE(0)}t&8388608&&(t>>=8,e++),this.lt(0)&&(t|=8388608);const n=e<<24|t;return M=a.alloc(4),M.writeInt32BE(n,0),M.readUInt32BE(0)},l.prototype.fromScriptNumBuffer=function(M,e,t,n=!1){if(t===void 0&&(t=4),M.length>t)throw new Error(`script number overflow nMaxNumSize: ${t}`);if(e&&M.length>0&&!(M[M.length-1]&127)&&(M.length<=1||!(M[M.length-2]&128)))throw new Error("non-minimally encoded script number");return M.byteLength===0||M.byteLength<=t,this.fromSm(M,{endian:"little"})},l.prototype.toScriptNumBuffer=function(M){return this.toSm({endian:"little"})},l.prototype.neg=function(){const M=_().prototype.neg.call(this),e=Object.create(l.prototype);return M.copy(e),e},l.prototype.add=function(M){const e=_().prototype.add.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.sub=function(M){const e=_().prototype.sub.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.mul=function(M){const e=_().prototype.mul.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.mod=function(M){const e=_().prototype.mod.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.umod=function(M){const e=_().prototype.umod.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.invm=function(M){const e=_().prototype.invm.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.div=function(M){const e=_().prototype.div.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.ushln=function(M){const e=_().prototype.ushln.call(this,M),t=Object.create(l.prototype);return e.copy(t),t},l.prototype.ushrn=function(M){const e=_().prototype.ushrn.call(this,M),t=Object.create(l.prototype);return e.copy(t),t},l.prototype.cmp=function(M){return _().prototype.cmp.call(this,M)};function v(M){l.prototype["_"+M]=l.prototype[M];const e=i(function(t){return typeof t=="string"?t=new l(t):typeof t=="number"&&(t=new l(t.toString())),this["_"+M](t)},"f");l.prototype[M]=e}i(v,"decorate"),l.prototype.eq=function(M){return this.cmp(M)===0},l.prototype.neq=function(M){return this.cmp(M)!==0},l.prototype.gt=function(M){return this.cmp(M)>0},l.prototype.geq=function(M){return this.cmp(M)>=0},l.prototype.lt=function(M){return this.cmp(M)<0},l.prototype.leq=function(M){return this.cmp(M)<=0},v("add"),v("sub"),v("mul"),v("mod"),v("invm"),v("div"),v("cmp"),v("gt"),v("geq"),v("lt"),v("leq");var y=Be(8764).Buffer;class g{static{i(this,"Br")}constructor(e){this.fromObject({buf:e})}fromObject(e){return this.buf=e.buf||this.buf||void 0,this.pos=e.pos||this.pos||0,this}eof(){return this.pos>=this.buf.length}read(e=this.buf.length){const t=this.buf.slice(this.pos,this.pos+e);return this.pos=this.pos+e,t}readReverse(e=this.buf.length){const t=this.buf.slice(this.pos,this.pos+e);this.pos=this.pos+e;const n=y.alloc(t.length);for(let x=0;x<n.length;x++)n[x]=t[t.length-1-x];return n}readUInt8(){const e=this.buf.readUInt8(this.pos);return this.pos=this.pos+1,e}readInt8(){const e=this.buf.readInt8(this.pos);return this.pos=this.pos+1,e}readUInt16BE(){const e=this.buf.readUInt16BE(this.pos);return this.pos=this.pos+2,e}readInt16BE(){const e=this.buf.readInt16BE(this.pos);return this.pos=this.pos+2,e}readUInt16LE(){const e=this.buf.readUInt16LE(this.pos);return this.pos=this.pos+2,e}readInt16LE(){const e=this.buf.readInt16LE(this.pos);return this.pos=this.pos+2,e}readUInt32BE(){const e=this.buf.readUInt32BE(this.pos);return this.pos=this.pos+4,e}readInt32BE(){const e=this.buf.readInt32BE(this.pos);return this.pos=this.pos+4,e}readUInt32LE(){const e=this.buf.readUInt32LE(this.pos);return this.pos=this.pos+4,e}readInt32LE(){const e=this.buf.readInt32LE(this.pos);return this.pos=this.pos+4,e}readUInt64BEBn(){const e=this.buf.slice(this.pos,this.pos+8),t=new l().fromBuffer(e);return this.pos=this.pos+8,t}readUInt64LEBn(){const e=this.readReverse(8);return new l().fromBuffer(e)}readVarIntNum(){const e=this.readUInt8();let t,n;switch(e){case 253:return this.readUInt16LE();case 254:return this.readUInt32LE();case 255:if(t=this.readUInt64LEBn(),n=t.toNumber(),n<=Math.pow(2,53))return n;throw new Error("number too large to retain precision - use readVarIntBn");default:return e}}readVarIntBuf(){switch(this.buf.readUInt8(this.pos)){case 253:return this.read(3);case 254:return this.read(5);case 255:return this.read(9);default:return this.read(1)}}readVarIntBn(){const e=this.readUInt8();switch(e){case 253:return new l(this.readUInt16LE());case 254:return new l(this.readUInt32LE());case 255:return this.readUInt64LEBn();default:return new l(e)}}}var R=Be(8764).Buffer;class w{static{i(this,"Bw")}constructor(e){this.fromObject({bufs:e})}fromObject(e){return this.bufs=e.bufs||this.bufs||[],this}getLength(){let e=0;for(const t in this.bufs){const n=this.bufs[t];e=e+n.length}return e}toBuffer(){return R.concat(this.bufs)}write(e){return this.bufs.push(e),this}writeReverse(e){const t=R.alloc(e.length);for(let n=0;n<t.length;n++)t[n]=e[e.length-1-n];return this.bufs.push(t),this}writeUInt8(e){const t=R.alloc(1);return t.writeUInt8(e,0),this.write(t),this}writeInt8(e){const t=R.alloc(1);return t.writeInt8(e,0),this.write(t),this}writeUInt16BE(e){const t=R.alloc(2);return t.writeUInt16BE(e,0),this.write(t),this}writeInt16BE(e){const t=R.alloc(2);return t.writeInt16BE(e,0),this.write(t),this}writeUInt16LE(e){const t=R.alloc(2);return t.writeUInt16LE(e,0),this.write(t),this}writeInt16LE(e){const t=R.alloc(2);return t.writeInt16LE(e,0),this.write(t),this}writeUInt32BE(e){const t=R.alloc(4);return t.writeUInt32BE(e,0),this.write(t),this}writeInt32BE(e){const t=R.alloc(4);return t.writeInt32BE(e,0),this.write(t),this}writeUInt32LE(e){const t=R.alloc(4);return t.writeUInt32LE(e,0),this.write(t),this}writeInt32LE(e){const t=R.alloc(4);return t.writeInt32LE(e,0),this.write(t),this}writeUInt64BEBn(e){const t=e.toBuffer({size:8});return this.write(t),this}writeUInt64LEBn(e){const t=e.toBuffer({size:8});return this.writeReverse(t),this}writeVarIntNum(e){const t=w.varIntBufNum(e);return this.write(t),this}writeVarIntBn(e){const t=w.varIntBufBn(e);return this.write(t),this}static varIntBufNum(e){let t;return e<253?(t=R.alloc(1),t.writeUInt8(e,0)):e<65536?(t=R.alloc(3),t.writeUInt8(253,0),t.writeUInt16LE(e,1)):e<4294967296?(t=R.alloc(5),t.writeUInt8(254,0),t.writeUInt32LE(e,1)):(t=R.alloc(9),t.writeUInt8(255,0),t.writeInt32LE(e&-1,1),t.writeUInt32LE(Math.floor(e/4294967296),5)),t}static varIntBufBn(e){let t;const n=e.toNumber();if(n<253)t=R.alloc(1),t.writeUInt8(n,0);else if(n<65536)t=R.alloc(3),t.writeUInt8(253,0),t.writeUInt16LE(n,1);else if(n<4294967296)t=R.alloc(5),t.writeUInt8(254,0),t.writeUInt32LE(n,1);else{const x=new w;x.writeUInt8(255),x.writeUInt64LEBn(e),t=x.toBuffer()}return t}}function O(M){const e=typeof M=="string"?M.charCodeAt(0):M;return e>=97&&e<=102||e>=65&&e<=70||e>=48&&e<=57}i(O,"isHexadecimal");var C=Be(8764).Buffer;const L=O;class V{static{i(this,"Struct")}constructor(e){this.fromObject(e)}fromObject(e){if(!e)return this;for(const t of Object.keys(e))e[t]!==void 0&&(this[t]=e[t]);return this}static fromObject(e){return new this().fromObject(e)}fromBr(e){throw e instanceof g?new Error("not implemented"):new Error("br must be a buffer reader")}static fromBr(e){return new this().fromBr(e)}asyncFromBr(e){throw e instanceof g?new Error("not implemented"):new Error("br must be a buffer reader")}static asyncFromBr(e){return new this().asyncFromBr(e)}toBw(e){throw new Error("not implemented")}asyncToBw(e){throw new Error("not implemented")}*genFromBuffers(){throw new Error("not implemented")}*expect(e,t){let n=t;const x=new w;let T=0;for(t&&(x.write(t),T+=t.length);T<e;)n=yield e-T,n&&(x.write(n),T+=n.length);n=x.toBuffer();const W=T-e,ee=n.slice(n.length-W,n.length);return n=n.slice(0,n.length-W),{buf:n,remainderbuf:ee}}fromBuffer(e,...t){if(!C.isBuffer(e))throw new Error("buf must be a buffer");const n=new g(e);return this.fromBr(n,...t)}static fromBuffer(...e){return new this().fromBuffer(...e)}asyncFromBuffer(e,...t){if(!C.isBuffer(e))throw new Error("buf must be a buffer");const n=new g(e);return this.asyncFromBr(n,...t)}static asyncFromBuffer(e,...t){return new this().asyncFromBuffer(e,...t)}fromFastBuffer(e,...t){return e.length===0?this:this.fromBuffer(e,...t)}static fromFastBuffer(...e){return new this().fromFastBuffer(...e)}toBuffer(...e){return this.toBw(...e).toBuffer()}asyncToBuffer(...e){return this.asyncToBw(...e).then(t=>t.toBuffer())}toFastBuffer(...e){return Object.keys(this).length===0?C.alloc(0):this.toBuffer(...e)}fromHex(e,...t){if(!L(e))throw new Error("invalid hex string");const n=C.from(e,"hex");return this.fromBuffer(n,...t)}static fromHex(e,...t){return new this().fromHex(e,...t)}asyncFromHex(e,...t){if(!L(e))throw new Error("invalid hex string");const n=C.from(e,"hex");return this.asyncFromBuffer(n,...t)}static asyncFromHex(e,...t){return new this().asyncFromHex(e,...t)}fromFastHex(e,...t){if(!L(e))throw new Error("invalid hex string");const n=C.from(e,"hex");return this.fromFastBuffer(n,...t)}static fromFastHex(e,...t){return new this().fromFastHex(e,...t)}toHex(...e){return this.toBuffer(...e).toString("hex")}asyncToHex(...e){return this.asyncToBuffer(...e).then(t=>t.toString("hex"))}toFastHex(...e){return this.toFastBuffer(...e).toString("hex")}fromString(e,...t){if(typeof e!="string")throw new Error("str must be a string");return this.fromHex(e,...t)}static fromString(e,...t){return new this().fromString(e,...t)}asyncFromString(e,...t){if(typeof e!="string")throw new Error("str must be a string");return this.asyncFromHex(e,...t)}static asyncFromString(e,...t){return new this().asyncFromString(e,...t)}toString(...e){return this.toHex(...e)}asyncToString(...e){return this.asyncToHex(...e)}fromJSON(e){throw new Error("not implemented")}static fromJSON(e,...t){return new this().fromJSON(e,...t)}asyncFromJSON(e,...t){throw new Error("not implemented")}static asyncFromJSON(e,...t){return new this().asyncFromJSON(e,...t)}toJSON(){var e={};for(var t in this)if(Array.isArray(this[t])){const x=[];for(var n in this[t])typeof this[t][n].toJSON=="function"?x.push(this[t][n].toJSON()):x.push(JSON.stringify(this[t][n]));e[t]=x}else if(this[t]===null)e[t]=this[t];else if(typeof this[t]=="object"&&typeof this[t].toJSON=="function")e[t]=this[t].toJSON();else if(typeof this[t]=="boolean"||typeof this[t]=="number"||typeof this[t]=="string")e[t]=this[t];else if(C.isBuffer(this[t]))e[t]=this[t].toString("hex");else if(this[t]instanceof Map)e[t]=JSON.stringify(this[t]);else if(typeof this[t]=="object")throw new Error("not implemented");return e}asyncToJSON(){throw new Error("not implemented")}clone(){return this.cloneByJSON()}cloneByBuffer(){return new this.constructor().fromBuffer(this.toBuffer())}cloneByFastBuffer(){return new this.constructor().fromFastBuffer(this.toFastBuffer())}cloneByHex(){return new this.constructor().fromHex(this.toHex())}cloneByString(){return new this.constructor().fromString(this.toString())}cloneByJSON(){return new this.constructor().fromJSON(this.toJSON())}}var Q=Be(8764).Buffer;class ie extends V{static{i(this,"Base58")}constructor(e){super({buf:e})}fromHex(e){return this.fromBuffer(Q.from(e,"hex"))}toHex(){return this.toBuffer().toString("hex")}static encode(e){if(!Q.isBuffer(e))throw new Error("Input should be a buffer");return z().encode(e)}static decode(e){if(typeof e!="string")throw new Error("Input should be a string");return Q.from(z().decode(e))}fromBuffer(e){return this.buf=e,this}fromString(e){const t=ie.decode(e);return this.buf=t,this}toBuffer(){return this.buf}toString(){return ie.encode(this.buf)}}var ae=Be(8764).Buffer;const oe=i((M,e)=>{if(!ae.isBuffer(M)||!ae.isBuffer(e))throw new Error("buf1 and buf2 must be buffers");if(M.length!==e.length)return!1;let t=0;for(let n=0;n<M.length;n++){const x=M[n],T=e[n];t|=x^T}return t===0},"cmp");var ge=Be(8764).Buffer;class le extends V{static{i(this,"WorkersResult")}constructor(e,t,n){super({resbuf:e,isError:t,id:n})}fromResult(e,t){return e.toFastBuffer?this.resbuf=e.toFastBuffer():ge.isBuffer(e)?this.resbuf=e:this.resbuf=ge.from(JSON.stringify(e)),this.isError=!1,this.id=t,this}static fromResult(e,t){return new this().fromResult(e,t)}fromError(e,t){return this.resbuf=ge.from(JSON.stringify(e.message)),this.isError=!0,this.id=t,this}toBw(e){return e||(e=new w),e.writeVarIntNum(this.resbuf.length),e.write(this.resbuf),e.writeUInt8(Number(this.isError)),e.writeVarIntNum(this.id),e}fromBr(e){const t=e.readVarIntNum();return this.resbuf=e.read(t),this.isError=!!e.readUInt8(),this.id=e.readVarIntNum(),this}}var te=Be(4155);let E;class r{static{i(this,"Workers")}constructor(e=[],t=0,n=[],x=new Map){this.nativeWorkers=e,this.lastid=t,this.incompconsteRes=n,this.promisemap=x}asyncObjectMethod(e,t,n,x=this.lastid+1){if(!n)throw new Error("must specify args");const T=e[t](...n);return new le().fromResult(T,x)}static asyncObjectMethod(e,t,n,x){return E||(E=new r),E.asyncObjectMethod(e,t,n,x)}asyncClassMethod(e,t,n,x=this.lastid+1){if(!n)throw new Error("must specify args");const T=e[t](...n);return new le().fromResult(T,x)}static asyncClassMethod(e,t,n,x){return E||(E=new r),E.asyncClassMethod(e,t,n,x)}static endGlobalWorkers(){E&&!te.browser&&(E=void 0)}}var o=Be(8764).Buffer;class h{static{i(this,"Hash")}}h.sha1=function(M){if(!o.isBuffer(M))throw new Error("sha1 hash must be of a buffer");const e=m().sha1,t=new e().update(M).digest();return o.from(t)},h.sha1.blockSize=512,h.asyncSha1=async function(M){const e=[M];return(await r.asyncClassMethod(h,"sha1",e)).resbuf},h.sha256=function(M){if(!o.isBuffer(M))throw new Error("sha256 hash must be of a buffer");const e=m().sha256,t=new e().update(M).digest();return o.from(t)},h.sha256.blockSize=512,h.asyncSha256=async function(M){const e=[M];return(await r.asyncClassMethod(h,"sha256",e)).resbuf},h.sha256Sha256=function(M){try{return h.sha256(h.sha256(M))}catch(e){throw new Error("sha256Sha256 hash must be of a buffer: "+e)}},h.asyncSha256Sha256=async function(M){const e=[M];return(await r.asyncClassMethod(h,"sha256Sha256",e)).resbuf},h.ripemd160=function(M){if(!o.isBuffer(M))throw new Error("ripemd160 hash must be of a buffer");const e=m().ripemd160,t=new e().update(M).digest();return o.from(t)},h.asyncRipemd160=async function(M){const e=[M];return(await r.asyncClassMethod(h,"ripemd160",e)).resbuf},h.sha256Ripemd160=function(M){try{return h.ripemd160(h.sha256(M))}catch(e){throw new Error("sha256Ripemd160 hash must be of a buffer: "+e)}},h.asyncSha256Ripemd160=async function(M){const e=[M];return(await r.asyncClassMethod(h,"sha256Ripemd160",e)).resbuf},h.sha512=function(M){if(!o.isBuffer(M))throw new Error("sha512 hash must be of a buffer");const e=m().sha512,t=new e().update(M).digest();return o.from(t)},h.asyncSha512=async function(M){const e=[M];return(await r.asyncClassMethod(h,"sha512",e)).resbuf},h.sha512.blockSize=1024,h.hmac=function(M,e,t){if(M!=="sha1"&&M!=="sha256"&&M!=="sha512")throw new Error("invalid choice of hash function");const n=h[M];if(!o.isBuffer(e)||!o.isBuffer(t))throw new Error("data and key must be buffers");const x=n.blockSize/8;if(t.length>x&&(t=n(t)),t.length<x){const ee=o.alloc(x);ee.fill(0,t.length),t.copy(ee),t=ee}const T=o.alloc(x),W=o.alloc(x);for(let ee=0;ee<x;ee++)T[ee]=92^t[ee],W[ee]=54^t[ee];return n(o.concat([T,n(o.concat([W,e]))]))},h.sha1Hmac=function(M,e){return h.hmac("sha1",M,e)},h.asyncSha1Hmac=async function(M,e){const t=[M,e];return(await r.asyncClassMethod(h,"sha1Hmac",t)).resbuf},h.sha1Hmac.bitsize=160,h.sha256Hmac=function(M,e){return h.hmac("sha256",M,e)},h.asyncSha256Hmac=async function(M,e){const t=[M,e];return(await r.asyncClassMethod(h,"sha256Hmac",t)).resbuf},h.sha256Hmac.bitsize=256,h.sha512Hmac=function(M,e){return h.hmac("sha512",M,e)},h.asyncSha512Hmac=async function(M,e){const t=[M,e];return(await r.asyncClassMethod(h,"sha512Hmac",t)).resbuf},h.sha512Hmac.bitsize=512;var S=Be(8764).Buffer;class N extends V{static{i(this,"Base58Check")}constructor(e){super({buf:e})}fromHex(e){return this.fromBuffer(S.from(e,"hex"))}toHex(){return this.toBuffer().toString("hex")}static decode(e){if(typeof e!="string")throw new Error("Input must be a string");const t=ie.decode(e);if(t.length<4)throw new Error("Input string too short");const n=t.slice(0,-4),x=t.slice(-4),W=h.sha256Sha256(n).slice(0,4);if(!oe(x,W))throw new Error("Checksum mismatch");return n}static encode(e){if(!S.isBuffer(e))throw new Error("Input must be a buffer");const t=S.alloc(e.length+4),n=h.sha256Sha256(e);return e.copy(t),n.copy(t,e.length),ie.encode(t)}fromBuffer(e){return this.buf=e,this}fromString(e){const t=N.decode(e);return this.buf=t,this}toBuffer(){return this.buf}toString(){return N.encode(this.buf)}}var G=Be(4155);class J{static{i(this,"Config")}constructor(e){this.keyDefined=t=>t in e,this.getValue=t=>e[t]}get(e){if(this.keyDefined(e))return this.getValue(e);throw new Error(`Unknown configuration: ${e}`)}}class F{static{i(this,"ConfigBuilder")}constructor(){this.variables={}}build(){return new J(this.variables)}addValue(e,t){if(t===void 0)throw new Error(`Failed to add "${e}" property. The value cannot be undefined`);if(e in this.variables)throw new Error(`"${e}" already has a value defined.`);return this.variables[e]=t,this}addValueWithDefault(e,t,n){if(n===void 0)throw new Error(`Failed to add "${e}" property. Default value cannot be undefined`);return this.addValue(e,t===void 0?n:t)}}const f=new F().addValue("NETWORK",G.env.NETWORK||"mainnet").build(),H={};if(H.Mainnet={MaxSize:33554432,Port:8333,Address:{pubKeyHash:0,payToScriptHash:5},Bip32:{pubKey:76067358,privKey:76066276},Block:{maxNBits:486604799,magicNum:3823236072},Msg:{magicNum:3823236072,versionBytesNum:70015},PrivKey:{versionByteNum:128},TxBuilder:{dust:0,feePerKbNum:50},Workers:{timeout:6e4}},H.Testnet=Object.assign({},H.Mainnet,{Port:18333,Address:{pubKeyHash:111,payToScriptHash:196},Bip32:{pubKey:70617039,privKey:70615956},Block:{maxNBits:486604799,magicNum:4108710900},Msg:{magicNum:4108710900,versionBytesNum:70015},PrivKey:{versionByteNum:239}}),H.Regtest=Object.assign({},H.Mainnet,{Port:18444,Address:{pubKeyHash:111,payToScriptHash:196},Bip32:{pubKey:70617039,privKey:70615956},Block:{maxNBits:545259519,magicNum:3669344250},Msg:{magicNum:3669344250,versionBytesNum:70015},PrivKey:{versionByteNum:239}}),H.STN=Object.assign({},H.Mainnet,{Port:9333,Address:{pubKeyHash:111,payToScriptHash:196},Bip32:{pubKey:70617039,privKey:70615956},Block:{maxNBits:486604799,magicNum:4224632057},Msg:{magicNum:4224632057,versionBytesNum:70015},PrivKey:{versionByteNum:239}}),f.get("NETWORK")==="testnet")H.Default=Object.assign({},H.Testnet);else if(f.get("NETWORK")==="mainnet")H.Default=Object.assign({},H.Mainnet);else if(f.get("NETWORK")==="regtest")H.Default=Object.assign({},H.Regtest);else if(f.get("NETWORK")==="stn")H.Default=Object.assign({},H.STN);else throw new Error(`must set network in environment variable - mainnet, testnet, regtest or stn?, received ${f.get("NETWORK")}`);const we=i(M=>H.Mainnet.Msg.magicNum===M?H.Mainnet:H.Testnet.Msg.magicNum===M?H.Testnet:H.Regtest.Msg.magicNum===M?H.Regtest:H.STN.Msg.magicNum===M?H.STN:H.Default,"getConstants"),xe={FALSE:0,0:0,PUSHDATA1:76,PUSHDATA2:77,PUSHDATA4:78,"1NEGATE":79,RESERVED:80,TRUE:81,1:81,2:82,3:83,4:84,5:85,6:86,7:87,8:88,9:89,10:90,11:91,12:92,13:93,14:94,15:95,16:96,NOP:97,VER:98,IF:99,NOTIF:100,VERIF:101,VERNOTIF:102,ELSE:103,ENDIF:104,VERIFY:105,RETURN:106,TOALTSTACK:107,FROMALTSTACK:108,"2DROP":109,"2DUP":110,"3DUP":111,"2OVER":112,"2ROT":113,"2SWAP":114,IFDUP:115,DEPTH:116,DROP:117,DUP:118,NIP:119,OVER:120,PICK:121,ROLL:122,ROT:123,SWAP:124,TUCK:125,CAT:126,SUBSTR:127,SPLIT:127,LEFT:128,NUM2BIN:128,RIGHT:129,BIN2NUM:129,SIZE:130,INVERT:131,AND:132,OR:133,XOR:134,EQUAL:135,EQUALVERIFY:136,RESERVED1:137,RESERVED2:138,"1ADD":139,"1SUB":140,"2MUL":141,"2DIV":142,NEGATE:143,ABS:144,NOT:145,"0NOTEQUAL":146,ADD:147,SUB:148,MUL:149,DIV:150,MOD:151,LSHIFT:152,RSHIFT:153,BOOLAND:154,BOOLOR:155,NUMEQUAL:156,NUMEQUALVERIFY:157,NUMNOTEQUAL:158,LESSTHAN:159,GREATERTHAN:160,LESSTHANOREQUAL:161,GREATERTHANOREQUAL:162,MIN:163,MAX:164,WITHIN:165,RIPEMD160:166,SHA1:167,SHA256:168,HASH160:169,HASH256:170,CODESEPARATOR:171,CHECKSIG:172,CHECKSIGVERIFY:173,CHECKMULTISIG:174,CHECKMULTISIGVERIFY:175,NOP1:176,NOP2:177,CHECKLOCKTIMEVERIFY:177,NOP3:178,CHECKSEQUENCEVERIFY:178,NOP4:179,NOP5:180,NOP6:181,NOP7:182,NOP8:183,NOP9:184,NOP10:185,SMALLDATA:249,SMALLINTEGER:250,PUBKEYS:251,PUBKEYHASH:253,PUBKEY:254,INVALIDOPCODE:255},Ee={OP_FALSE:0,OP_0:0,OP_PUSHDATA1:76,OP_PUSHDATA2:77,OP_PUSHDATA4:78,OP_1NEGATE:79,OP_RESERVED:80,OP_TRUE:81,OP_1:81,OP_2:82,OP_3:83,OP_4:84,OP_5:85,OP_6:86,OP_7:87,OP_8:88,OP_9:89,OP_10:90,OP_11:91,OP_12:92,OP_13:93,OP_14:94,OP_15:95,OP_16:96,OP_NOP:97,OP_VER:98,OP_IF:99,OP_NOTIF:100,OP_VERIF:101,OP_VERNOTIF:102,OP_ELSE:103,OP_ENDIF:104,OP_VERIFY:105,OP_RETURN:106,OP_TOALTSTACK:107,OP_FROMALTSTACK:108,OP_2DROP:109,OP_2DUP:110,OP_3DUP:111,OP_2OVER:112,OP_2ROT:113,OP_2SWAP:114,OP_IFDUP:115,OP_DEPTH:116,OP_DROP:117,OP_DUP:118,OP_NIP:119,OP_OVER:120,OP_PICK:121,OP_ROLL:122,OP_ROT:123,OP_SWAP:124,OP_TUCK:125,OP_CAT:126,OP_SUBSTR:127,OP_SPLIT:127,OP_LEFT:128,OP_NUM2BIN:128,OP_RIGHT:129,OP_BIN2NUM:129,OP_SIZE:130,OP_INVERT:131,OP_AND:132,OP_OR:133,OP_XOR:134,OP_EQUAL:135,OP_EQUALVERIFY:136,OP_RESERVED1:137,OP_RESERVED2:138,OP_1ADD:139,OP_1SUB:140,OP_2MUL:141,OP_2DIV:142,OP_NEGATE:143,OP_ABS:144,OP_NOT:145,OP_0NOTEQUAL:146,OP_ADD:147,OP_SUB:148,OP_MUL:149,OP_DIV:150,OP_MOD:151,OP_LSHIFT:152,OP_RSHIFT:153,OP_BOOLAND:154,OP_BOOLOR:155,OP_NUMEQUAL:156,OP_NUMEQUALVERIFY:157,OP_NUMNOTEQUAL:158,OP_LESSTHAN:159,OP_GREATERTHAN:160,OP_LESSTHANOREQUAL:161,OP_GREATERTHANOREQUAL:162,OP_MIN:163,OP_MAX:164,OP_WITHIN:165,OP_RIPEMD160:166,OP_SHA1:167,OP_SHA256:168,OP_HASH160:169,OP_HASH256:170,OP_CODESEPARATOR:171,OP_CHECKSIG:172,OP_CHECKSIGVERIFY:173,OP_CHECKMULTISIG:174,OP_CHECKMULTISIGVERIFY:175,OP_NOP1:176,OP_NOP2:177,OP_CHECKLOCKTIMEVERIFY:177,OP_NOP3:178,OP_CHECKSEQUENCEVERIFY:178,OP_NOP4:179,OP_NOP5:180,OP_NOP6:181,OP_NOP7:182,OP_NOP8:183,OP_NOP9:184,OP_NOP10:185,OP_SMALLDATA:249,OP_SMALLINTEGER:250,OP_PUBKEYS:251,OP_PUBKEYHASH:253,OP_PUBKEY:254,OP_INVALIDOPCODE:255};class U extends V{static{i(this,"OpCode")}constructor(e){super({num:e})}fromNumber(e){return this.num=e,this}static fromNumber(e){return new this().fromNumber(e)}toNumber(){return this.num}fromString(e){const t=Ee[e];if(t===void 0)throw new Error("Invalid opCodeStr");return this.num=t,this}fromNoOpString(e){const t=xe[e];if(t===void 0)throw new Error("Invalid opCodeStr");return this.num=t,this}static fromString(e){return new this().fromString(e)}static fromNoOpString(e){return new this().fromNoOpString(e)}toString(){const e=U.str[this.num];return e===void 0?this.num>0&&this.num<U.OP_PUSHDATA1?this.num.toString():"OP_"+this.num.toNumber():e}toNoOpString(){const e=U.noopstr[this.num];return e===void 0?this.num>0&&this.num<U.OP_PUSHDATA1?this.num.toString():this.num.toNumber():e}}U.str={},U.noopstr={};for(const M in Ee)U[M]=Ee[M],Object.prototype.hasOwnProperty.call(Ee,M)&&(U.str[Ee[M]]=M);for(const M in xe)U[M]=xe[M],Object.prototype.hasOwnProperty.call(xe,M)&&(U.noopstr[xe[M]]=M);const X=d().curves.secp256k1,ue=X.curve.point().constructor;class he extends ue{static{i(this,"Point")}constructor(e,t,n){super(X.curve,e,t,n)}static fromX(e,t){const n=X.curve.pointFromX(t,e);return Object.create(he.prototype).copyFrom(n)}copyFrom(e){if(!(e instanceof ue))throw new Error("point should be an external point");return Object.keys(e).forEach(function(t){this[t]=e[t]}.bind(this)),this}add(e){return e=ue.prototype.add.call(this,e),Object.create(he.prototype).copyFrom(e)}mul(e){if(!e.lt(he.getN()))throw new Error("point mul out of range");const t=ue.prototype.mul.call(this,e);return Object.create(he.prototype).copyFrom(t)}mulAdd(e,t,n){const x=ue.prototype.mulAdd.call(this,e,t,n);return t=Object.create(he.prototype),t.copyFrom(x)}getX(){const e=ue.prototype.getX.call(this),t=Object.create(l.prototype);return e.copy(t),t}getY(){const e=ue.prototype.getY.call(this),t=Object.create(l.prototype);return e.copy(t),t}fromX(e,t){const n=he.fromX(e,t);return this.copyFrom(n)}toJSON(){return{x:this.getX().toString(),y:this.getY().toString()}}fromJSON(e){const t=new l().fromString(e.x),n=new l().fromString(e.y),x=new he(t,n);return this.copyFrom(x)}toString(){return JSON.stringify(this.toJSON())}fromString(e){const t=JSON.parse(e),n=new he().fromJSON(t);return this.copyFrom(n)}static getG(){const e=X.curve.g;return Object.create(he.prototype).copyFrom(e)}static getN(){return new l(X.curve.n.toArray())}validate(){if(he.fromX(this.getY().isOdd(),this.getX()).getY().cmp(this.getY())!==0)throw new Error("Invalid y value of public key");if(!(this.getX().gt(-1)&&this.getX().lt(he.getN()))||!(this.getY().gt(-1)&&this.getY().lt(he.getN())))throw new Error("Point does not lie on the curve");return this}}var Se=Be(8764).Buffer;class K extends V{static{i(this,"PubKey")}constructor(e,t){super({point:e,compressed:t})}fromJSON(e){return this.fromFastHex(e),this}toJSON(){return this.toFastHex()}fromPrivKey(e){return this.fromObject({point:he.getG().mul(e.bn),compressed:e.compressed}),this}static fromPrivKey(e){return new this().fromPrivKey(e)}async asyncFromPrivKey(e){const t=await r.asyncObjectMethod(this,"fromPrivKey",[e]);return this.fromFastBuffer(t.resbuf)}static asyncFromPrivKey(e){return new this().asyncFromPrivKey(e)}fromBuffer(e,t){return this.fromDer(e,t)}async asyncFromBuffer(e,t){const n=[e,t],x=await r.asyncObjectMethod(this,"fromBuffer",n);return this.fromFastBuffer(x.resbuf)}fromFastBuffer(e){if(e.length===0)return this;const t=!!e[0];return e=e.slice(1),this.fromDer(e),this.compressed=t,this}fromDer(e,t){if(t===void 0?t=!0:t=!1,e[0]===4||!t&&(e[0]===6||e[0]===7)){const n=e.slice(1,33),x=e.slice(33,65);if(n.length!==32||x.length!==32||e.length!==65)throw new Error("LEngth of x and y must be 32 bytes");const T=new l(n),W=new l(x);this.point=new he(T,W),this.compressed=!1}else if(e[0]===3){const n=e.slice(1),x=new l(n);this.fromX(!0,x),this.compressed=!0}else if(e[0]===2){const n=e.slice(1),x=new l(n);this.fromX(!1,x),this.compressed=!0}else throw new Error("Invalid DER format pubKey");return this}static fromDer(e,t){return new this().fromDer(e,t)}fromString(e){return this.fromDer(Se.from(e,"hex")),this}fromX(e,t){if(typeof e!="boolean")throw new Error("Must specify whether y is odd or not (true or false)");return this.point=he.fromX(e,t),this}static fromX(e,t){return new this().fromX(e,t)}toBuffer(){const e=this.compressed===void 0?!0:this.compressed;return this.toDer(e)}toFastBuffer(){if(!this.point)return Se.alloc(0);const e=new w,t=this.compressed===void 0?!0:!!this.compressed;return e.writeUInt8(Number(t)),e.write(this.toDer(!1)),e.toBuffer()}toDer(e){if(e=e===void 0?this.compressed:e,typeof e!="boolean")throw new Error("Must specify whether the public key is compressed or not (true or false)");const t=this.point.getX(),n=this.point.getY(),x=t.toBuffer({size:32}),T=n.toBuffer({size:32});let W;return e?(T[T.length-1]%2?W=Se.from([3]):W=Se.from([2]),Se.concat([W,x])):(W=Se.from([4]),Se.concat([W,x,T]))}toString(){const e=this.compressed===void 0?!0:this.compressed;return this.toDer(e).toString("hex")}static isCompressedOrUncompressed(e){if(e.length<33)return!1;if(e[0]===4){if(e.length!==65)return!1}else if(e[0]===2||e[0]===3){if(e.length!==33)return!1}else return!1;return!0}validate(){if(this.point.isInfinity())throw new Error("point: Point cannot be equal to Infinity");if(this.point.eq(new he(new l(0),new l(0))))throw new Error("point: Point cannot be equal to 0, 0");return this.point.validate(),this}}var j=Be(1798),fe=Be.n(j);class ye{static{i(this,"Random")}}ye.getRandomBuffer=function(M){return fe()(M)};var Ae=Be(8764).Buffer;class _e extends V{static{i(this,"priv_key_PrivKey")}constructor(e,t,n=null){super({bn:e,compressed:t}),n=n||H.Default.PrivKey,this.Constants=n}fromJSON(e){return this.fromHex(e),this}toJSON(){return this.toHex()}fromRandom(){let e,t,n;do e=ye.getRandomBuffer(32),t=new l().fromBuffer(e),n=t.lt(he.getN());while(!n);return this.fromObject({bn:t,compressed:!0}),this}static fromRandom(){return new this().fromRandom()}toBuffer(){let e=this.compressed;e===void 0&&(e=!0);const t=this.bn.toBuffer({size:32});let n;return e?n=Ae.concat([Ae.from([this.Constants.versionByteNum]),t,Ae.from([1])]):n=Ae.concat([Ae.from([this.Constants.versionByteNum]),t]),n}fromBuffer(e){if(e.length===34&&e[33]===1)this.compressed=!0;else if(e.length===33)this.compressed=!1;else throw new Error("Length of privKey buffer must be 33 (uncompressed pubKey) or 34 (compressed pubKey)");if(e[0]!==this.Constants.versionByteNum)throw new Error("Invalid versionByteNum byte");return this.fromBn(new l().fromBuffer(e.slice(1,33)))}toBn(){return this.bn}fromBn(e){return this.bn=e,this}static fromBn(e){return new this().fromBn(e)}validate(){if(!this.bn.lt(he.getN()))throw new Error("Number must be less than N");if(typeof this.compressed!="boolean")throw new Error("Must specify whether the corresponding public key is compressed or not (true or false)");return this}toWif(){return N.encode(this.toBuffer())}fromWif(e){return this.fromBuffer(N.decode(e))}static fromWif(e){return new this().fromWif(e)}toString(){return this.toWif()}fromString(e){return this.fromWif(e)}}_e.Mainnet=class extends _e{constructor(M,e){super(M,e,H.Mainnet.PrivKey)}},_e.Testnet=class extends _e{constructor(M,e){super(M,e,H.Testnet.PrivKey)}};var ke=Be(8764).Buffer;class me extends V{static{i(this,"Sig")}constructor(e,t,n,x,T){super({r:e,s:t,nHashType:n,recovery:x,compressed:T})}fromBuffer(e){try{return this.fromDer(e,!0)}catch{}try{return this.fromCompact(e)}catch{}return this.fromTxFormat(e)}toBuffer(){return this.nHashType!==void 0?this.toTxFormat():this.recovery!==void 0?this.toCompact():this.toDer()}fromCompact(e){let t=!0,n=e.slice(0,1)[0]-27-4;if(n<0&&(t=!1,n=n+4),!(n===0||n===1||n===2||n===3))throw new Error("i must be 0, 1, 2, or 3");this.compressed=t,this.recovery=n;const x=e.slice(1);return this.fromRS(x),this}static fromCompact(e){return new this().fromCompact(e)}fromRS(e){const t=e.slice(0,32),n=e.slice(32,64);if(t.length!==32)throw new Error("r must be 32 bytes");if(n.length!==32||e.length>64)throw new Error("s must be 32 bytes");return this.r=new l().fromBuffer(t),this.s=new l().fromBuffer(n),this}static fromRS(e){return new this().fromRS(e)}fromDer(e,t){const n=me.parseDer(e,t);return this.r=n.r,this.s=n.s,this}static fromDer(e,t){return new this().fromDer(e,t)}fromTxFormat(e){if(e.length===0)return this.r=new l(1),this.s=new l(1),this.nHashType=1,this;const t=e.readUInt8(e.length-1),n=e.slice(0,e.length-1);return this.fromDer(n,!1),this.nHashType=t,this}static fromTxFormat(e){return new this().fromTxFormat(e)}fromString(e){return this.fromHex(e)}static parseDer(e,t){if(t===void 0&&(t=!0),!ke.isBuffer(e))throw new Error("DER formatted signature should be a buffer");const n=e[0];if(n!==48)throw new Error("Header byte should be 0x30");let x=e[1];const T=e.slice(2).length;if(t&&x!==T)throw new Error("LEngth byte should length of what follows");x=x<T?x:T;const W=e[2];if(W!==2)throw new Error("Integer byte for r should be 0x02");const ee=e[3],pe=e.slice(4,4+ee),be=new l().fromBuffer(pe),Re=e[4]===0;if(ee!==pe.length)throw new Error("LEngth of r incorrect");const Te=e[4+ee+0];if(Te!==2)throw new Error("Integer byte for s should be 0x02");const He=e[4+ee+1],ot=e.slice(4+ee+2,4+ee+2+He),ce=new l().fromBuffer(ot),ve=e[4+ee+2+2]===0;if(He!==ot.length)throw new Error("LEngth of s incorrect");const Me=4+ee+2+He;if(x!==Me-2)throw new Error("LEngth of signature incorrect");return{header:n,length:x,rheader:W,rlength:ee,rneg:Re,rbuf:pe,r:be,sheader:Te,slength:He,sneg:ve,sbuf:ot,s:ce}}static IsTxDer(e){if(e.length<9||e.length>73||e[0]!==48||e[1]!==e.length-3)return!1;const t=e[3];if(5+t>=e.length)return!1;const n=e[5+t];if(t+n+7!==e.length)return!1;const x=e.slice(4);if(e[2]!==2||t===0||x[0]&128||t>1&&x[0]===0&&!(x[1]&128))return!1;const T=e.slice(6+t);return!(e[6+t-2]!==2||n===0||T[0]&128||n>1&&T[0]===0&&!(T[1]&128))}hasLowS(){return!(this.s.lt(1)||this.s.gt(l.fromBuffer(ke.from("7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0","hex"))))}hasDefinedHashType(){return!(this.nHashType<me.SIGHASH_ALL||this.nHashType>me.SIGHASH_SINGLE)}toCompact(e,t){if(e=typeof e=="number"?e:this.recovery,t=typeof t=="boolean"?t:this.compressed,!(e===0||e===1||e===2||e===3))throw new Error("recovery must be equal to 0, 1, 2, or 3");let n=e+27+4;t===!1&&(n=n-4);const x=ke.from([n]),T=this.r.toBuffer({size:32}),W=this.s.toBuffer({size:32});return ke.concat([x,T,W])}toRS(){return ke.concat([this.r.toBuffer({size:32}),this.s.toBuffer({size:32})])}toDer(){const e=this.r.toBuffer(),t=this.s.toBuffer(),n=e[0]&128,x=t[0]&128,T=n?ke.concat([ke.from([0]),e]):e,W=x?ke.concat([ke.from([0]),t]):t,ee=2+T.length+2+W.length,pe=T.length,be=W.length;return ke.concat([ke.from([48,ee,2,pe]),T,ke.from([2,be]),W])}toTxFormat(){const e=this.toDer(),t=ke.alloc(1);return t.writeUInt8(this.nHashType,0),ke.concat([e,t])}toString(){return this.toHex()}}me.SIGHASH_ALL=1,me.SIGHASH_NONE=2,me.SIGHASH_SINGLE=3,me.SIGHASH_FORKID=64,me.SIGHASH_ANYONECANPAY=128;var Oe=Be(8764).Buffer;class Pe extends V{static{i(this,"Script")}constructor(e=[]){super({chunks:e})}fromJSON(e){return this.fromString(e)}toJSON(){return this.toString()}fromBuffer(e){this.chunks=[];const t=new g(e);for(;!t.eof();){const n=t.readUInt8();let x=0,T=Oe.from([]);if(n>0&&n<U.OP_PUSHDATA1)x=n,this.chunks.push({buf:t.read(x),len:x,opCodeNum:n});else if(n===U.OP_PUSHDATA1){try{x=t.readUInt8(),T=t.read(x)}catch{t.read()}this.chunks.push({buf:T,len:x,opCodeNum:n})}else if(n===U.OP_PUSHDATA2){try{x=t.readUInt16LE(),T=t.read(x)}catch{t.read()}this.chunks.push({buf:T,len:x,opCodeNum:n})}else if(n===U.OP_PUSHDATA4){try{x=t.readUInt32LE(),T=t.read(x)}catch{t.read()}this.chunks.push({buf:T,len:x,opCodeNum:n})}else this.chunks.push({opCodeNum:n})}return this}toBuffer(){const e=new w;for(let t=0;t<this.chunks.length;t++){const n=this.chunks[t],x=n.opCodeNum;e.writeUInt8(x),n.buf&&(x<U.OP_PUSHDATA1?e.write(n.buf):x===U.OP_PUSHDATA1?(e.writeUInt8(n.len),e.write(n.buf)):x===U.OP_PUSHDATA2?(e.writeUInt16LE(n.len),e.write(n.buf)):x===U.OP_PUSHDATA4&&(e.writeUInt32LE(n.len),e.write(n.buf)))}return e.toBuffer()}fromString(e){if(this.chunks=[],e===""||e===void 0)return this;const t=e.split(" ");let n=0;for(;n<t.length;){const x=t[n];let T;try{T=new U().fromString(x).toNumber()}catch{}if(T===void 0)if(T=parseInt(x,10),T>0&&T<U.OP_PUSHDATA1)this.chunks.push({buf:Oe.from(t[n+1].slice(2),"hex"),len:T,opCodeNum:T}),n=n+2;else if(T===0)this.chunks.push({opCodeNum:0}),n=n+1;else throw new Error("Invalid script");else if(T===U.OP_PUSHDATA1||T===U.OP_PUSHDATA2||T===U.OP_PUSHDATA4){if(t[n+2].slice(0,2)!=="0x")throw new Error("Pushdata data must start with 0x");this.chunks.push({buf:Oe.from(t[n+2].slice(2),"hex"),len:parseInt(t[n+1],10),opCodeNum:T}),n=n+3}else this.chunks.push({opCodeNum:T}),n=n+1}return this}toString(e={noOp:!1}){let t="";for(let n=0;n<this.chunks.length;n++){const x=this.chunks[n],T=x.opCodeNum.hasOwnProperty("num")?x.opCodeNum.num:x.opCodeNum;x.buf?((T===U.OP_PUSHDATA1||T===U.OP_PUSHDATA2||T===U.OP_PUSHDATA4)&&(t=e.noOp?t+" "+new U(T).toNoOpString():t+" "+new U(T).toString()),t=t+" "+x.len,t=t+" 0x"+x.buf.toString("hex")):U.str[T]!==void 0||U.noopstr[T]!==void 0?t=e.noOp?t+" "+new U(T).toNoOpString():t+" "+new U(T).toString():t=t+" 0x"+T.toString(16)}return t.substr(1)}fromBitcoindString(e){const t=new w,n=e.split(" ");let x;for(x=0;x<n.length;x++){const W=n[x];if(W!=="")if(W[0]==="0"&&W[1]==="x"){const ee=W.slice(2);t.write(Oe.from(ee,"hex"))}else if(W[0]==="'"){const ee=W.slice(1,W.length-1),pe=Oe.from(ee),be=new Pe().writeBuffer(pe).toBuffer();t.write(be)}else if(U["OP_"+W]!==void 0){const ee="OP_"+W,pe=U[ee];t.writeUInt8(pe)}else if(typeof U[W]=="number"){const pe=U[W];t.writeUInt8(pe)}else{if(isNaN(parseInt(W,10)))throw new Error("Could not determine type of script value");{const ee=new l(W),be=new Pe().writeBn(ee).toBuffer();t.write(be)}}}const T=t.toBuffer();return this.fromBuffer(T)}static fromBitcoindString(e){return new this().fromBitcoindString(e)}toBitcoindString(){let e="";for(let t=0;t<this.chunks.length;t++){const n=this.chunks[t];if(n.buf){const T=new Pe([n]).toBuffer().toString("hex");e=e+" 0x"+T}else if(U.str[n.opCodeNum]!==void 0){const x=new U(n.opCodeNum).toString();e=e+" "+x.slice(3)}else e=e+" 0x"+n.opCodeNum.toString(16)}return e.substr(1)}fromAsmString(e){this.chunks=[];const t=e.split(" ");let n=0;for(;n<t.length;){const x=t[n];let T,W;try{T=U.fromString(x),W=T.toNumber()}catch{T=void 0,W=void 0}if(x==="0")W=0,this.chunks.push({opCodeNum:W}),n=n+1;else if(x==="-1")W=U.OP_1NEGATE,this.chunks.push({opCodeNum:W}),n=n+1;else if(T===void 0){const ee=t[n],pe=Oe.from(ee,"hex");if(pe.toString("hex")!==ee)throw new Error("invalid hex string in script");const be=pe.length;be>=0&&be<U.OP_PUSHDATA1?W=be:be<Math.pow(2,8)?W=U.OP_PUSHDATA1:be<Math.pow(2,16)?W=U.OP_PUSHDATA2:be<Math.pow(2,32)&&(W=U.OP_PUSHDATA4),this.chunks.push({buf:pe,len:pe.length,opCodeNum:W}),n=n+1}else this.chunks.push({opCodeNum:W}),n=n+1}return this}static fromAsmString(e){return new this().fromAsmString(e)}toAsmString(e={noOp:!1}){for(var t="",n=0;n<this.chunks.length;n++){var x=this.chunks[n];t+=this._chunkToString(x,e)}return t.substr(1)}_chunkToString(e,t={noOp:!1}){var n=e.opCodeNum,x="";if(e.buf)e.len>0&&(x=x+" "+e.buf.toString("hex"));else if(typeof U.str[n]<"u")n===0?x=x+" 0":n===79?x=x+" -1":x=t.noOp?x+" "+new U(n).toNoOpString():x+" "+new U(n).toString();else{var T=n.toString(16);T.length%2!==0&&(T="0"+T),x=x+" "+T}return x}fromOpReturnData(e){return this.writeOpCode(U.OP_RETURN),this.writeBuffer(e),this}static fromOpReturnData(e){return new this().fromOpReturnData(e)}fromSafeData(e){return this.writeOpCode(U.OP_FALSE),this.writeOpCode(U.OP_RETURN),this.writeBuffer(e),this}static fromSafeData(e){return new this().fromSafeData(e)}fromSafeDataArray(e){this.writeOpCode(U.OP_FALSE),this.writeOpCode(U.OP_RETURN);for(const t in e){const n=e[t];this.writeBuffer(n)}return this}static fromSafeDataArray(e){return new this().fromSafeDataArray(e)}getData(){if(this.isSafeDataOut())return this.chunks.slice(2).map(n=>n.buf);if(this.isOpReturn())return this.chunks.slice(1).map(n=>n.buf);throw new Error("Unrecognized script type to get data from")}fromPubKeyHash(e){if(e.length!==20)throw new Error("hashBuf must be a 20 byte buffer");return this.writeOpCode(U.OP_DUP),this.writeOpCode(U.OP_HASH160),this.writeBuffer(e),this.writeOpCode(U.OP_EQUALVERIFY),this.writeOpCode(U.OP_CHECKSIG),this}static fromPubKeyHash(e){return new this().fromPubKeyHash(e)}static sortPubKeys(e){return e.slice().sort((t,n)=>{const x=t.toBuffer(),T=n.toBuffer(),W=Math.max(x.length,T.length);for(let ee=0;ee<=W;ee++){if(x[ee]===void 0)return-1;if(T[ee]===void 0)return 1;if(x[ee]<T[ee])return-1;if(x[ee]>T[ee])return 1}})}fromPubKeys(e,t,n=!0){if(typeof e!="number")throw new Error("m must be a number");n===!0&&(t=Pe.sortPubKeys(t)),this.writeOpCode(e+U.OP_1-1);for(const x in t)this.writeBuffer(t[x].toBuffer());return this.writeOpCode(t.length+U.OP_1-1),this.writeOpCode(U.OP_CHECKMULTISIG),this}static fromPubKeys(e,t,n){return new this().fromPubKeys(e,t,n)}removeCodeseparators(){const e=[];for(let t=0;t<this.chunks.length;t++)this.chunks[t].opCodeNum!==U.OP_CODESEPARATOR&&e.push(this.chunks[t]);return this.chunks=e,this}isPushOnly(){for(let e=0;e<this.chunks.length;e++)if(this.chunks[e].opCodeNum>U.OP_16)return!1;return!0}isNonSpendable(){const e=this.chunks[0].opCodeNum===U.OP_FALSE,t=this.chunks[1]&&this.chunks[1].opCodeNum===U.OP_RETURN;return!!e&&!!t}isOpReturn(){return this.chunks[0].opCodeNum===U.OP_RETURN&&this.chunks.filter(e=>Oe.isBuffer(e.buf)).length===this.chunks.slice(1).length}isSafeDataOut(){if(this.chunks.length<2||this.chunks[0].opCodeNum!==U.OP_FALSE)return!1;var e=this.chunks.slice(1),t=new Pe(e);return t.isOpReturn()}isPubKeyHashOut(){return!!(this.chunks[0]&&this.chunks[0].opCodeNum===U.OP_DUP&&this.chunks[1]&&this.chunks[1].opCodeNum===U.OP_HASH160&&this.chunks[2].buf&&this.chunks[3]&&this.chunks[3].opCodeNum===U.OP_EQUALVERIFY&&this.chunks[4]&&this.chunks[4].opCodeNum===U.OP_CHECKSIG)}isPubKeyHashIn(){return!!(this.chunks.length===2&&(this.chunks[0].buf||this.chunks[0].opCodeNum===U.OP_0)&&(this.chunks[1].buf||this.chunks[0].opCodeNum===U.OP_0))}isScriptHashOut(){const e=this.toBuffer();return e.length===23&&e[0]===U.OP_HASH160&&e[1]===20&&e[22]===U.OP_EQUAL}isScriptHashIn(){if(!this.isPushOnly())return!1;try{new Pe().fromBuffer(this.chunks[this.chunks.length-1].buf)}catch{return!1}return!0}isMultiSigOut(){const e=this.chunks[0].opCodeNum-U.OP_1+1;if(!(e>=1&&e<=16)||!this.chunks.slice(1,this.chunks.length-2).every(x=>{try{const T=x.buf;return new K().fromDer(T).validate(),!0}catch{return!1}}))return!1;const n=this.chunks[this.chunks.length-2].opCodeNum-U.OP_1+1;return!(!(n>=e&&n<=16)||this.chunks[1+n+1].opCodeNum!==U.OP_CHECKMULTISIG)}isMultiSigIn(){if(this.chunks[0].opCodeNum!==U.OP_0)return!1;const e=this.chunks.slice(1);return e.length<1?!1:e.every(t=>Oe.isBuffer(t.buf)&&me.IsTxDer(t.buf))}findAndDelete(e){const t=e.toBuffer();for(let n=0;n<this.chunks.length;n++){const T=new Pe([this.chunks[n]]).toBuffer();oe(t,T)&&this.chunks.splice(n,1)}return this}writeScript(e){return this.chunks=this.chunks.concat(e.chunks),this}static writeScript(e){return new this().writeScript(e)}writeString(e){const t=new Pe().fromString(e);return this.chunks=this.chunks.concat(t.chunks),this}static writeString(e){return new this().writeString(e)}writeOpCode(e){return this.chunks.push({opCodeNum:e}),this}static writeOpCode(e){return new this().writeOpCode(e)}setChunkOpCode(e,t){return this.chunks[e]={opCodeNum:t},this}writeBn(e){if(e.cmp(0)===U.OP_0)this.chunks.push({opCodeNum:U.OP_0});else if(e.cmp(-1)===0)this.chunks.push({opCodeNum:U.OP_1NEGATE});else if(e.cmp(1)>=0&&e.cmp(16)<=0)this.chunks.push({opCodeNum:e.toNumber()+U.OP_1-1});else{const t=e.toSm({endian:"little"});this.writeBuffer(t)}return this}static writeBn(e){return new this().writeBn(e)}writeNumber(e){return this.writeBn(new l().fromNumber(e)),this}static writeNumber(e){return new this().writeNumber(e)}setChunkBn(e,t){return this.chunks[e]=new Pe().writeBn(t).chunks[0],this}writeBuffer(e){let t;const n=e.length;if(e.length>0&&e.length<U.OP_PUSHDATA1)t=e.length;else if(e.length===0)t=U.OP_0;else if(e.length<Math.pow(2,8))t=U.OP_PUSHDATA1;else if(e.length<Math.pow(2,16))t=U.OP_PUSHDATA2;else if(e.length<Math.pow(2,32))t=U.OP_PUSHDATA4;else throw new Error("You can't push that much data");return this.chunks.push({buf:e,len:n,opCodeNum:t}),this}static writeBuffer(e){return new this().writeBuffer(e)}setChunkBuffer(e,t){return this.chunks[e]=new Pe().writeBuffer(t).chunks[0],this}checkMinimalPush(e){const t=this.chunks[e],n=t.buf,x=t.opCodeNum;return n?n.length===0?x===U.OP_0:n.length===1&&n[0]>=1&&n[0]<=16?x===U.OP_1+(n[0]-1):n.length===1&&n[0]===129?x===U.OP_1NEGATE:n.length<=75?x===n.length:n.length<=255?x===U.OP_PUSHDATA1:n.length<=65535?x===U.OP_PUSHDATA2:!0:!0}}var Ke=Be(8764).Buffer;class Ce extends V{static{i(this,"Address")}constructor(e,t,n=null){super({versionByteNum:e,hashBuf:t}),n=n||H.Default.Address,this.Constants=n}fromBuffer(e){if(e.length!==21)throw new Error("address buffers must be exactly 21 bytes");if(e[0]!==this.Constants.pubKeyHash)throw new Error("address: invalid versionByteNum byte");return this.versionByteNum=e[0],this.hashBuf=e.slice(1),this}fromPubKeyHashBuf(e){return this.hashBuf=e,this.versionByteNum=this.Constants.pubKeyHash,this}static fromPubKeyHashBuf(e){return new this().fromPubKeyHashBuf(e)}fromPubKey(e){const t=h.sha256Ripemd160(e.toBuffer());return this.fromPubKeyHashBuf(t)}static fromPubKey(e){return new this().fromPubKey(e)}async asyncFromPubKey(e){const t=[e],n=await r.asyncObjectMethod(this,"fromPubKey",t);return this.fromFastBuffer(n.resbuf)}static asyncFromPubKey(e){return new this().asyncFromPubKey(e)}fromPrivKey(e){const t=new K().fromPrivKey(e),n=h.sha256Ripemd160(t.toBuffer());return this.fromPubKeyHashBuf(n)}static fromPrivKey(e){return new this().fromPrivKey(e)}async asyncFromPrivKey(e){const t=[e],n=await r.asyncObjectMethod(this,"fromPrivKey",t);return this.fromFastBuffer(n.resbuf)}static asyncFromPrivKey(e){return new this().fromPrivKey(e)}fromRandom(){const e=new _e().fromRandom();return this.fromPrivKey(e)}static fromRandom(){return new this().fromRandom()}async asyncFromRandom(){const e=[],t=await r.asyncObjectMethod(this,"fromRandom",e);return this.fromFastBuffer(t.resbuf)}static asyncFromRandom(){return new this().fromRandom()}fromString(e){const t=N.decode(e);return this.fromBuffer(t)}async asyncFromString(e){const t=[e],n=await r.asyncObjectMethod(this,"fromString",t);return this.fromFastBuffer(n.resbuf)}static asyncFromString(e){return new this().asyncFromString(e)}static isValid(e){let t;try{t=new Ce().fromString(e)}catch{return!1}return t.isValid()}isValid(){try{return this.validate(),!0}catch{return!1}}toTxOutScript(){const e=new Pe;return e.writeOpCode(U.OP_DUP),e.writeOpCode(U.OP_HASH160),e.writeBuffer(this.hashBuf),e.writeOpCode(U.OP_EQUALVERIFY),e.writeOpCode(U.OP_CHECKSIG),e}fromTxInScript(e){const t=h.sha256Ripemd160(e.chunks[1].buf||Ke.from("00".repeat(32),"hex"));return this.fromPubKeyHashBuf(t)}static fromTxInScript(e){return new this().fromTxInScript(e)}fromTxOutScript(e){return this.fromPubKeyHashBuf(e.chunks[2].buf)}static fromTxOutScript(e){return new this().fromTxOutScript(e)}toBuffer(){const e=Ke.from([this.versionByteNum]);return Ke.concat([e,this.hashBuf])}toJSON(){const e={};return this.hashBuf&&(e.hashBuf=this.hashBuf.toString("hex")),typeof this.versionByteNum<"u"&&(e.versionByteNum=this.versionByteNum),e}fromJSON(e){return e.hashBuf&&(this.hashBuf=Ke.from(e.hashBuf,"hex")),typeof e.versionByteNum<"u"&&(this.versionByteNum=e.versionByteNum),this}toString(){return N.encode(this.toBuffer())}async asyncToString(){const e=[],t=await r.asyncObjectMethod(this,"toString",e);return JSON.parse(t.resbuf.toString())}validate(){if(!Ke.isBuffer(this.hashBuf)||this.hashBuf.length!==20)throw new Error("hashBuf must be a buffer of 20 bytes");if(this.versionByteNum!==this.Constants.pubKeyHash)throw new Error("invalid versionByteNum");return this}}Ce.Mainnet=class extends Ce{constructor(M,e){super(M,e,H.Mainnet.Address)}},Ce.Testnet=class extends Ce{constructor(M,e){super(M,e,H.Testnet.Address)}};var $e=Be(8764).Buffer;class I extends V{static{i(this,"Bip32")}constructor(e,t,n,x,T,W,ee,pe=null,be=_e){super({versionBytesNum:e,depth:t,parentFingerPrint:n,childIndex:x,chainCode:T,privKey:W,pubKey:ee}),pe=pe||H.Default.Bip32,this.Constants=pe,this.PrivKey=be}fromRandom(){return this.versionBytesNum=this.Constants.privKey,this.depth=0,this.parentFingerPrint=$e.from([0,0,0,0]),this.childIndex=0,this.chainCode=ye.getRandomBuffer(32),this.privKey=new this.PrivKey().fromRandom(),this.pubKey=new K().fromPrivKey(this.privKey),this}static fromRandom(){return new this().fromRandom()}fromString(e){return this.fromBuffer(N.decode(e))}async asyncFromString(e){const t=[e],n=await r.asyncObjectMethod(this,"fromString",t);return this.fromFastBuffer(n.resbuf)}fromSeed(e){if(!$e.isBuffer(e))throw new Error("bytes must be a buffer");if(e.length<128/8)throw new Error("Need more than 128 bits of entropy");if(e.length>512/8)throw new Error("More than 512 bits of entropy is nonstandard");const t=h.sha512Hmac(e,$e.from("Bitcoin seed"));return this.depth=0,this.parentFingerPrint=$e.from([0,0,0,0]),this.childIndex=0,this.chainCode=t.slice(32,64),this.versionBytesNum=this.Constants.privKey,this.privKey=new this.PrivKey().fromBn(l().fromBuffer(t.slice(0,32))),this.pubKey=new K().fromPrivKey(this.privKey),this}static fromSeed(e){return new this().fromSeed(e)}async asyncFromSeed(e){const t=await r.asyncObjectMethod(this,"fromSeed",[e]);return this.fromFastBuffer(t.resbuf)}static asyncFromSeed(e){return new this().asyncFromSeed(e)}fromBuffer(e){if(e.length!==78)throw new Error("incorrect bip32 data length");this.versionBytesNum=e.slice(0,4).readUInt32BE(0),this.depth=e.slice(4,5).readUInt8(0),this.parentFingerPrint=e.slice(5,9),this.childIndex=e.slice(9,13).readUInt32BE(0),this.chainCode=e.slice(13,45);const t=e.slice(45,78),n=this.versionBytesNum===this.Constants.privKey,x=this.versionBytesNum===this.Constants.pubKey;if(n&&t[0]===0)this.privKey=new this.PrivKey().fromBn(l().fromBuffer(t.slice(1,33))),this.pubKey=new K().fromPrivKey(this.privKey);else if(x&&(t[0]===2||t[0]===3))this.pubKey=new K().fromDer(t);else throw new Error("Invalid key");return this}fromFastBuffer(e){if(e.length===0)return this;if(e.length!==78&&e.length!==111)throw new Error("incorrect bip32 fastBuffer data length: "+e.length);this.versionBytesNum=e.slice(0,4).readUInt32BE(0),this.depth=e.slice(4,5).readUInt8(0),this.parentFingerPrint=e.slice(5,9),this.childIndex=e.slice(9,13).readUInt32BE(0),this.chainCode=e.slice(13,45);const t=e.slice(45,e.length),n=this.versionBytesNum===this.Constants.privKey,x=this.versionBytesNum===this.Constants.pubKey;if(n&&t[0]===0&&e.length===78)this.privKey=new this.PrivKey().fromBn(l().fromBuffer(t.slice(1,33))),this.pubKey=new K().fromPrivKey(this.privKey);else if(x&&e.length===111)this.pubKey=new K().fromFastBuffer(t),this.pubKey.compressed=!0;else throw new Error("Invalid key");return this}derive(e){const t=e.split("/");if(e==="m")return this;let n=this;for(const x in t){const T=t[x];if(x==="0"){if(T!=="m")throw new Error("invalid path");continue}if(parseInt(T.replace("'",""),10).toString()!==T.replace("'",""))throw new Error("invalid path");const W=T.length>1&&T[T.length-1]==="'";let ee=parseInt(W?T.slice(0,T.length-1):T,10)&2147483647;W&&(ee+=2147483648),n=n.deriveChild(ee)}return n}async asyncDerive(e){const t=await r.asyncObjectMethod(this,"derive",[e]);return new this.constructor().fromFastBuffer(t.resbuf)}deriveChild(e){if(typeof e!="number")throw new Error("i must be a number");let t=[];t.push(e>>24&255),t.push(e>>16&255),t.push(e>>8&255),t.push(e&255),t=$e.from(t);const n=(e&2147483648)!==0,x=this.versionBytesNum===this.Constants.privKey;if(n&&(!this.privKey||!x))throw new Error("Cannot do private key derivation without private key");let T=null;if(this.privKey){let ee=null;n?ee=$e.concat([$e.from([0]),this.privKey.bn.toBuffer({size:32}),t]):ee=$e.concat([this.pubKey.toBuffer({size:32}),t]);const pe=h.sha512Hmac(ee,this.chainCode),be=l().fromBuffer(pe.slice(0,32),{size:32}),Re=pe.slice(32,64),Te=be.add(this.privKey.bn).mod(he.getN());T=new this.constructor,T.chainCode=Re,T.privKey=new this.PrivKey().fromBn(Te),T.pubKey=new K().fromPrivKey(T.privKey)}else{const ee=$e.concat([this.pubKey.toBuffer(),t]),pe=h.sha512Hmac(ee,this.chainCode),be=l().fromBuffer(pe.slice(0,32)),Re=pe.slice(32,64),Te=he.getG().mul(be),He=this.pubKey.point,ot=Te.add(He),ce=new K;ce.point=ot,T=new this.constructor,T.chainCode=Re,T.pubKey=ce}T.childIndex=e;const W=h.sha256Ripemd160(this.pubKey.toBuffer());return T.parentFingerPrint=W.slice(0,4),T.versionBytesNum=this.versionBytesNum,T.depth=this.depth+1,T}toPublic(){const e=new this.constructor().fromObject(this);return e.versionBytesNum=this.Constants.pubKey,e.privKey=void 0,e}toBuffer(){const e=this.versionBytesNum===this.Constants.privKey,t=this.versionBytesNum===this.Constants.pubKey;if(e)return new w().writeUInt32BE(this.versionBytesNum).writeUInt8(this.depth).write(this.parentFingerPrint).writeUInt32BE(this.childIndex).write(this.chainCode).writeUInt8(0).write(this.privKey.bn.toBuffer({size:32})).toBuffer();if(t){if(this.pubKey.compressed===!1)throw new Error("cannot convert bip32 to buffer if pubKey is not compressed");return new w().writeUInt32BE(this.versionBytesNum).writeUInt8(this.depth).write(this.parentFingerPrint).writeUInt32BE(this.childIndex).write(this.chainCode).write(this.pubKey.toBuffer()).toBuffer()}else throw new Error("bip32: invalid versionBytesNum byte")}toFastBuffer(){if(!this.versionBytesNum)return $e.alloc(0);const e=this.versionBytesNum===this.Constants.privKey,t=this.versionBytesNum===this.Constants.pubKey;if(e)return new w().writeUInt32BE(this.versionBytesNum).writeUInt8(this.depth).write(this.parentFingerPrint).writeUInt32BE(this.childIndex).write(this.chainCode).writeUInt8(0).write(this.privKey.bn.toBuffer({size:32})).toBuffer();if(t)return new w().writeUInt32BE(this.versionBytesNum).writeUInt8(this.depth).write(this.parentFingerPrint).writeUInt32BE(this.childIndex).write(this.chainCode).write(this.pubKey.toFastBuffer()).toBuffer();throw new Error("bip32: invalid versionBytesNum byte")}toString(){return N.encode(this.toBuffer())}async asyncToString(){const e=await r.asyncObjectMethod(this,"toString",[]);return JSON.parse(e.resbuf.toString())}toJSON(){return this.toFastHex()}fromJSON(e){return this.fromFastHex(e)}isPrivate(){return this.versionBytesNum===this.Constants.privKey}}I.Mainnet=class extends I{constructor(M,e,t,n,x,T,W){super(M,e,t,n,x,T,W,H.Mainnet.Bip32,_e.Mainnet)}},I.Testnet=class extends I{constructor(M,e,t,n,x,T,W){super(M,e,t,n,x,T,W,H.Testnet.Bip32,_e.Testnet)}};const s=["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"];s.space=" ";const c=["\u3042\u3044\u3053\u304F\u3057\u3093","\u3042\u3044\u3055\u3064","\u3042\u3044\u3060","\u3042\u304A\u305E\u3089","\u3042\u304B\u3061\u3083\u3093","\u3042\u304D\u308B","\u3042\u3051\u304C\u305F","\u3042\u3051\u308B","\u3042\u3053\u304C\u308C\u308B","\u3042\u3055\u3044","\u3042\u3055\u3072","\u3042\u3057\u3042\u3068","\u3042\u3058\u308F\u3046","\u3042\u305A\u304B\u308B","\u3042\u305A\u304D","\u3042\u305D\u3076","\u3042\u305F\u3048\u308B","\u3042\u305F\u305F\u3081\u308B","\u3042\u305F\u308A\u307E\u3048","\u3042\u305F\u308B","\u3042\u3064\u3044","\u3042\u3064\u304B\u3046","\u3042\u3063\u3057\u3085\u304F","\u3042\u3064\u307E\u308A","\u3042\u3064\u3081\u308B","\u3042\u3066\u306A","\u3042\u3066\u306F\u307E\u308B","\u3042\u3072\u308B","\u3042\u3076\u3089","\u3042\u3076\u308B","\u3042\u3075\u308C\u308B","\u3042\u307E\u3044","\u3042\u307E\u3069","\u3042\u307E\u3084\u304B\u3059","\u3042\u307E\u308A","\u3042\u307F\u3082\u306E","\u3042\u3081\u308A\u304B","\u3042\u3084\u307E\u308B","\u3042\u3086\u3080","\u3042\u3089\u3044\u3050\u307E","\u3042\u3089\u3057","\u3042\u3089\u3059\u3058","\u3042\u3089\u305F\u3081\u308B","\u3042\u3089\u3086\u308B","\u3042\u3089\u308F\u3059","\u3042\u308A\u304C\u3068\u3046","\u3042\u308F\u305B\u308B","\u3042\u308F\u3066\u308B","\u3042\u3093\u3044","\u3042\u3093\u304C\u3044","\u3042\u3093\u3053","\u3042\u3093\u305C\u3093","\u3042\u3093\u3066\u3044","\u3042\u3093\u306A\u3044","\u3042\u3093\u307E\u308A","\u3044\u3044\u3060\u3059","\u3044\u304A\u3093","\u3044\u304C\u3044","\u3044\u304C\u304F","\u3044\u304D\u304A\u3044","\u3044\u304D\u306A\u308A","\u3044\u304D\u3082\u306E","\u3044\u304D\u308B","\u3044\u304F\u3058","\u3044\u304F\u3076\u3093","\u3044\u3051\u3070\u306A","\u3044\u3051\u3093","\u3044\u3053\u3046","\u3044\u3053\u304F","\u3044\u3053\u3064","\u3044\u3055\u307E\u3057\u3044","\u3044\u3055\u3093","\u3044\u3057\u304D","\u3044\u3058\u3085\u3046","\u3044\u3058\u3087\u3046","\u3044\u3058\u308F\u308B","\u3044\u305A\u307F","\u3044\u305A\u308C","\u3044\u305B\u3044","\u3044\u305B\u3048\u3073","\u3044\u305B\u304B\u3044","\u3044\u305B\u304D","\u3044\u305C\u3093","\u3044\u305D\u3046\u308D\u3046","\u3044\u305D\u304C\u3057\u3044","\u3044\u3060\u3044","\u3044\u3060\u304F","\u3044\u305F\u305A\u3089","\u3044\u305F\u307F","\u3044\u305F\u308A\u3042","\u3044\u3061\u304A\u3046","\u3044\u3061\u3058","\u3044\u3061\u3069","\u3044\u3061\u3070","\u3044\u3061\u3076","\u3044\u3061\u308A\u3085\u3046","\u3044\u3064\u304B","\u3044\u3063\u3057\u3085\u3093","\u3044\u3063\u305B\u3044","\u3044\u3063\u305D\u3046","\u3044\u3063\u305F\u3093","\u3044\u3063\u3061","\u3044\u3063\u3066\u3044","\u3044\u3063\u307D\u3046","\u3044\u3066\u3056","\u3044\u3066\u3093","\u3044\u3069\u3046","\u3044\u3068\u3053","\u3044\u306A\u3044","\u3044\u306A\u304B","\u3044\u306D\u3080\u308A","\u3044\u306E\u3061","\u3044\u306E\u308B","\u3044\u306F\u3064","\u3044\u3070\u308B","\u3044\u306F\u3093","\u3044\u3073\u304D","\u3044\u3072\u3093","\u3044\u3075\u304F","\u3044\u3078\u3093","\u3044\u307B\u3046","\u3044\u307F\u3093","\u3044\u3082\u3046\u3068","\u3044\u3082\u305F\u308C","\u3044\u3082\u308A","\u3044\u3084\u304C\u308B","\u3044\u3084\u3059","\u3044\u3088\u304B\u3093","\u3044\u3088\u304F","\u3044\u3089\u3044","\u3044\u3089\u3059\u3068","\u3044\u308A\u3050\u3061","\u3044\u308A\u3087\u3046","\u3044\u308C\u3044","\u3044\u308C\u3082\u306E","\u3044\u308C\u308B","\u3044\u308D\u3048\u3093\u3074\u3064","\u3044\u308F\u3044","\u3044\u308F\u3046","\u3044\u308F\u304B\u3093","\u3044\u308F\u3070","\u3044\u308F\u3086\u308B","\u3044\u3093\u3052\u3093\u307E\u3081","\u3044\u3093\u3055\u3064","\u3044\u3093\u3057\u3087\u3046","\u3044\u3093\u3088\u3046","\u3046\u3048\u304D","\u3046\u3048\u308B","\u3046\u304A\u3056","\u3046\u304C\u3044","\u3046\u304B\u3076","\u3046\u304B\u3079\u308B","\u3046\u304D\u308F","\u3046\u304F\u3089\u3044\u306A","\u3046\u304F\u308C\u308C","\u3046\u3051\u305F\u307E\u308F\u308B","\u3046\u3051\u3064\u3051","\u3046\u3051\u3068\u308B","\u3046\u3051\u3082\u3064","\u3046\u3051\u308B","\u3046\u3054\u304B\u3059","\u3046\u3054\u304F","\u3046\u3053\u3093","\u3046\u3055\u304E","\u3046\u3057\u306A\u3046","\u3046\u3057\u308D\u304C\u307F","\u3046\u3059\u3044","\u3046\u3059\u304E","\u3046\u3059\u3050\u3089\u3044","\u3046\u3059\u3081\u308B","\u3046\u305B\u3064","\u3046\u3061\u3042\u308F\u305B","\u3046\u3061\u304C\u308F","\u3046\u3061\u304D","\u3046\u3061\u3085\u3046","\u3046\u3063\u304B\u308A","\u3046\u3064\u304F\u3057\u3044","\u3046\u3063\u305F\u3048\u308B","\u3046\u3064\u308B","\u3046\u3069\u3093","\u3046\u306A\u304E","\u3046\u306A\u3058","\u3046\u306A\u305A\u304F","\u3046\u306A\u308B","\u3046\u306D\u308B","\u3046\u306E\u3046","\u3046\u3076\u3052","\u3046\u3076\u3054\u3048","\u3046\u307E\u308C\u308B","\u3046\u3081\u308B","\u3046\u3082\u3046","\u3046\u3084\u307E\u3046","\u3046\u3088\u304F","\u3046\u3089\u304C\u3048\u3059","\u3046\u3089\u3050\u3061","\u3046\u3089\u306A\u3044","\u3046\u308A\u3042\u3052","\u3046\u308A\u304D\u308C","\u3046\u308B\u3055\u3044","\u3046\u308C\u3057\u3044","\u3046\u308C\u3086\u304D","\u3046\u308C\u308B","\u3046\u308D\u3053","\u3046\u308F\u304D","\u3046\u308F\u3055","\u3046\u3093\u3053\u3046","\u3046\u3093\u3061\u3093","\u3046\u3093\u3066\u3093","\u3046\u3093\u3069\u3046","\u3048\u3044\u3048\u3093","\u3048\u3044\u304C","\u3048\u3044\u304D\u3087\u3046","\u3048\u3044\u3054","\u3048\u3044\u305B\u3044","\u3048\u3044\u3076\u3093","\u3048\u3044\u3088\u3046","\u3048\u3044\u308F","\u3048\u304A\u308A","\u3048\u304C\u304A","\u3048\u304C\u304F","\u3048\u304D\u305F\u3044","\u3048\u304F\u305B\u308B","\u3048\u3057\u3083\u304F","\u3048\u3059\u3066","\u3048\u3064\u3089\u3093","\u3048\u306E\u3050","\u3048\u307B\u3046\u307E\u304D","\u3048\u307B\u3093","\u3048\u307E\u304D","\u3048\u3082\u3058","\u3048\u3082\u306E","\u3048\u3089\u3044","\u3048\u3089\u3076","\u3048\u308A\u3042","\u3048\u3093\u3048\u3093","\u3048\u3093\u304B\u3044","\u3048\u3093\u304E","\u3048\u3093\u3052\u304D","\u3048\u3093\u3057\u3085\u3046","\u3048\u3093\u305C\u3064","\u3048\u3093\u305D\u304F","\u3048\u3093\u3061\u3087\u3046","\u3048\u3093\u3068\u3064","\u304A\u3044\u304B\u3051\u308B","\u304A\u3044\u3053\u3059","\u304A\u3044\u3057\u3044","\u304A\u3044\u3064\u304F","\u304A\u3046\u3048\u3093","\u304A\u3046\u3055\u307E","\u304A\u3046\u3058","\u304A\u3046\u305B\u3064","\u304A\u3046\u305F\u3044","\u304A\u3046\u3075\u304F","\u304A\u3046\u3079\u3044","\u304A\u3046\u3088\u3046","\u304A\u3048\u308B","\u304A\u304A\u3044","\u304A\u304A\u3046","\u304A\u304A\u3069\u304A\u308A","\u304A\u304A\u3084","\u304A\u304A\u3088\u305D","\u304A\u304B\u3048\u308A","\u304A\u304B\u305A","\u304A\u304C\u3080","\u304A\u304B\u308F\u308A","\u304A\u304E\u306A\u3046","\u304A\u304D\u308B","\u304A\u304F\u3055\u307E","\u304A\u304F\u3058\u3087\u3046","\u304A\u304F\u308A\u304C\u306A","\u304A\u304F\u308B","\u304A\u304F\u308C\u308B","\u304A\u3053\u3059","\u304A\u3053\u306A\u3046","\u304A\u3053\u308B","\u304A\u3055\u3048\u308B","\u304A\u3055\u306A\u3044","\u304A\u3055\u3081\u308B","\u304A\u3057\u3044\u308C","\u304A\u3057\u3048\u308B","\u304A\u3058\u304E","\u304A\u3058\u3055\u3093","\u304A\u3057\u3083\u308C","\u304A\u305D\u3089\u304F","\u304A\u305D\u308F\u308B","\u304A\u305F\u304C\u3044","\u304A\u305F\u304F","\u304A\u3060\u3084\u304B","\u304A\u3061\u3064\u304F","\u304A\u3063\u3068","\u304A\u3064\u308A","\u304A\u3067\u304B\u3051","\u304A\u3068\u3057\u3082\u306E","\u304A\u3068\u306A\u3057\u3044","\u304A\u3069\u308A","\u304A\u3069\u308D\u304B\u3059","\u304A\u3070\u3055\u3093","\u304A\u307E\u3044\u308A","\u304A\u3081\u3067\u3068\u3046","\u304A\u3082\u3044\u3067","\u304A\u3082\u3046","\u304A\u3082\u305F\u3044","\u304A\u3082\u3061\u3083","\u304A\u3084\u3064","\u304A\u3084\u3086\u3073","\u304A\u3088\u307C\u3059","\u304A\u3089\u3093\u3060","\u304A\u308D\u3059","\u304A\u3093\u304C\u304F","\u304A\u3093\u3051\u3044","\u304A\u3093\u3057\u3083","\u304A\u3093\u305B\u3093","\u304A\u3093\u3060\u3093","\u304A\u3093\u3061\u3085\u3046","\u304A\u3093\u3069\u3051\u3044","\u304B\u3042\u3064","\u304B\u3044\u304C","\u304C\u3044\u304D","\u304C\u3044\u3051\u3093","\u304C\u3044\u3053\u3046","\u304B\u3044\u3055\u3064","\u304B\u3044\u3057\u3083","\u304B\u3044\u3059\u3044\u3088\u304F","\u304B\u3044\u305C\u3093","\u304B\u3044\u305E\u3046\u3069","\u304B\u3044\u3064\u3046","\u304B\u3044\u3066\u3093","\u304B\u3044\u3068\u3046","\u304B\u3044\u3075\u304F","\u304C\u3044\u3078\u304D","\u304B\u3044\u307B\u3046","\u304B\u3044\u3088\u3046","\u304C\u3044\u3089\u3044","\u304B\u3044\u308F","\u304B\u3048\u308B","\u304B\u304A\u308A","\u304B\u304B\u3048\u308B","\u304B\u304C\u304F","\u304B\u304C\u3057","\u304B\u304C\u307F","\u304B\u304F\u3054","\u304B\u304F\u3068\u304F","\u304B\u3056\u308B","\u304C\u305E\u3046","\u304B\u305F\u3044","\u304B\u305F\u3061","\u304C\u3061\u3087\u3046","\u304C\u3063\u304D\u3085\u3046","\u304C\u3063\u3053\u3046","\u304C\u3063\u3055\u3093","\u304C\u3063\u3057\u3087\u3046","\u304B\u306A\u3056\u308F\u3057","\u304B\u306E\u3046","\u304C\u306F\u304F","\u304B\u3076\u304B","\u304B\u307B\u3046","\u304B\u307B\u3054","\u304B\u307E\u3046","\u304B\u307E\u307C\u3053","\u304B\u3081\u308C\u304A\u3093","\u304B\u3086\u3044","\u304B\u3088\u3046\u3073","\u304B\u3089\u3044","\u304B\u308B\u3044","\u304B\u308D\u3046","\u304B\u308F\u304F","\u304B\u308F\u3089","\u304C\u3093\u304B","\u304B\u3093\u3051\u3044","\u304B\u3093\u3053\u3046","\u304B\u3093\u3057\u3083","\u304B\u3093\u305D\u3046","\u304B\u3093\u305F\u3093","\u304B\u3093\u3061","\u304C\u3093\u3070\u308B","\u304D\u3042\u3044","\u304D\u3042\u3064","\u304D\u3044\u308D","\u304E\u3044\u3093","\u304D\u3046\u3044","\u304D\u3046\u3093","\u304D\u3048\u308B","\u304D\u304A\u3046","\u304D\u304A\u304F","\u304D\u304A\u3061","\u304D\u304A\u3093","\u304D\u304B\u3044","\u304D\u304B\u304F","\u304D\u304B\u3093\u3057\u3083","\u304D\u304D\u3066","\u304D\u304F\u3070\u308A","\u304D\u304F\u3089\u3052","\u304D\u3051\u3093\u305B\u3044","\u304D\u3053\u3046","\u304D\u3053\u3048\u308B","\u304D\u3053\u304F","\u304D\u3055\u3044","\u304D\u3055\u304F","\u304D\u3055\u307E","\u304D\u3055\u3089\u304E","\u304E\u3058\u304B\u304C\u304F","\u304E\u3057\u304D","\u304E\u3058\u305F\u3044\u3051\u3093","\u304E\u3058\u306B\u3063\u3066\u3044","\u304E\u3058\u3085\u3064\u3057\u3083","\u304D\u3059\u3046","\u304D\u305B\u3044","\u304D\u305B\u304D","\u304D\u305B\u3064","\u304D\u305D\u3046","\u304D\u305E\u304F","\u304D\u305E\u3093","\u304D\u305F\u3048\u308B","\u304D\u3061\u3087\u3046","\u304D\u3064\u3048\u3093","\u304E\u3063\u3061\u308A","\u304D\u3064\u3064\u304D","\u304D\u3064\u306D","\u304D\u3066\u3044","\u304D\u3069\u3046","\u304D\u3069\u304F","\u304D\u306A\u3044","\u304D\u306A\u304C","\u304D\u306A\u3053","\u304D\u306C\u3054\u3057","\u304D\u306D\u3093","\u304D\u306E\u3046","\u304D\u306E\u3057\u305F","\u304D\u306F\u304F","\u304D\u3073\u3057\u3044","\u304D\u3072\u3093","\u304D\u3075\u304F","\u304D\u3076\u3093","\u304D\u307C\u3046","\u304D\u307B\u3093","\u304D\u307E\u308B","\u304D\u307F\u3064","\u304D\u3080\u305A\u304B\u3057\u3044","\u304D\u3081\u308B","\u304D\u3082\u3060\u3081\u3057","\u304D\u3082\u3061","\u304D\u3082\u306E","\u304D\u3083\u304F","\u304D\u3084\u304F","\u304E\u3085\u3046\u306B\u304F","\u304D\u3088\u3046","\u304D\u3087\u3046\u308A\u3085\u3046","\u304D\u3089\u3044","\u304D\u3089\u304F","\u304D\u308A\u3093","\u304D\u308C\u3044","\u304D\u308C\u3064","\u304D\u308D\u304F","\u304E\u308D\u3093","\u304D\u308F\u3081\u308B","\u304E\u3093\u3044\u308D","\u304D\u3093\u304B\u304F\u3058","\u304D\u3093\u3058\u3087","\u304D\u3093\u3088\u3046\u3073","\u3050\u3042\u3044","\u304F\u3044\u305A","\u304F\u3046\u304B\u3093","\u304F\u3046\u304D","\u304F\u3046\u3050\u3093","\u304F\u3046\u3053\u3046","\u3050\u3046\u305B\u3044","\u304F\u3046\u305D\u3046","\u3050\u3046\u305F\u3089","\u304F\u3046\u3075\u304F","\u304F\u3046\u307C","\u304F\u304B\u3093","\u304F\u304D\u3087\u3046","\u304F\u3052\u3093","\u3050\u3053\u3046","\u304F\u3055\u3044","\u304F\u3055\u304D","\u304F\u3055\u3070\u306A","\u304F\u3055\u308B","\u304F\u3057\u3083\u307F","\u304F\u3057\u3087\u3046","\u304F\u3059\u306E\u304D","\u304F\u3059\u308A\u3086\u3073","\u304F\u305B\u3052","\u304F\u305B\u3093","\u3050\u305F\u3044\u3066\u304D","\u304F\u3060\u3055\u308B","\u304F\u305F\u3073\u308C\u308B","\u304F\u3061\u3053\u307F","\u304F\u3061\u3055\u304D","\u304F\u3064\u3057\u305F","\u3050\u3063\u3059\u308A","\u304F\u3064\u308D\u3050","\u304F\u3068\u3046\u3066\u3093","\u304F\u3069\u304F","\u304F\u306A\u3093","\u304F\u306D\u304F\u306D","\u304F\u306E\u3046","\u304F\u3075\u3046","\u304F\u307F\u3042\u308F\u305B","\u304F\u307F\u305F\u3066\u308B","\u304F\u3081\u308B","\u304F\u3084\u304F\u3057\u3087","\u304F\u3089\u3059","\u304F\u3089\u3079\u308B","\u304F\u308B\u307E","\u304F\u308C\u308B","\u304F\u308D\u3046","\u304F\u308F\u3057\u3044","\u3050\u3093\u304B\u3093","\u3050\u3093\u3057\u3087\u304F","\u3050\u3093\u305F\u3044","\u3050\u3093\u3066","\u3051\u3042\u306A","\u3051\u3044\u304B\u304F","\u3051\u3044\u3051\u3093","\u3051\u3044\u3053","\u3051\u3044\u3055\u3064","\u3052\u3044\u3058\u3085\u3064","\u3051\u3044\u305F\u3044","\u3052\u3044\u306E\u3046\u3058\u3093","\u3051\u3044\u308C\u304D","\u3051\u3044\u308D","\u3051\u304A\u3068\u3059","\u3051\u304A\u308A\u3082\u306E","\u3052\u304D\u304B","\u3052\u304D\u3052\u3093","\u3052\u304D\u3060\u3093","\u3052\u304D\u3061\u3093","\u3052\u304D\u3068\u3064","\u3052\u304D\u306F","\u3052\u304D\u3084\u304F","\u3052\u3053\u3046","\u3052\u3053\u304F\u3058\u3087\u3046","\u3052\u3056\u3044","\u3051\u3055\u304D","\u3052\u3056\u3093","\u3051\u3057\u304D","\u3051\u3057\u3054\u3080","\u3051\u3057\u3087\u3046","\u3052\u3059\u3068","\u3051\u305F\u3070","\u3051\u3061\u3083\u3063\u3077","\u3051\u3061\u3089\u3059","\u3051\u3064\u3042\u3064","\u3051\u3064\u3044","\u3051\u3064\u3048\u304D","\u3051\u3063\u3053\u3093","\u3051\u3064\u3058\u3087","\u3051\u3063\u305B\u304D","\u3051\u3063\u3066\u3044","\u3051\u3064\u307E\u3064","\u3052\u3064\u3088\u3046\u3073","\u3052\u3064\u308C\u3044","\u3051\u3064\u308D\u3093","\u3052\u3069\u304F","\u3051\u3068\u3070\u3059","\u3051\u3068\u308B","\u3051\u306A\u3052","\u3051\u306A\u3059","\u3051\u306A\u307F","\u3051\u306C\u304D","\u3052\u306D\u3064","\u3051\u306D\u3093","\u3051\u306F\u3044","\u3052\u3072\u3093","\u3051\u3076\u304B\u3044","\u3052\u307C\u304F","\u3051\u307E\u308A","\u3051\u307F\u304B\u308B","\u3051\u3080\u3057","\u3051\u3080\u308A","\u3051\u3082\u306E","\u3051\u3089\u3044","\u3051\u308D\u3051\u308D","\u3051\u308F\u3057\u3044","\u3051\u3093\u3044","\u3051\u3093\u3048\u3064","\u3051\u3093\u304A","\u3051\u3093\u304B","\u3052\u3093\u304D","\u3051\u3093\u3052\u3093","\u3051\u3093\u3053\u3046","\u3051\u3093\u3055\u304F","\u3051\u3093\u3057\u3085\u3046","\u3051\u3093\u3059\u3046","\u3052\u3093\u305D\u3046","\u3051\u3093\u3061\u304F","\u3051\u3093\u3066\u3044","\u3051\u3093\u3068\u3046","\u3051\u3093\u306A\u3044","\u3051\u3093\u306B\u3093","\u3052\u3093\u3076\u3064","\u3051\u3093\u307E","\u3051\u3093\u307F\u3093","\u3051\u3093\u3081\u3044","\u3051\u3093\u3089\u3093","\u3051\u3093\u308A","\u3053\u3042\u304F\u307E","\u3053\u3044\u306C","\u3053\u3044\u3073\u3068","\u3054\u3046\u3044","\u3053\u3046\u3048\u3093","\u3053\u3046\u304A\u3093","\u3053\u3046\u304B\u3093","\u3054\u3046\u304D\u3085\u3046","\u3054\u3046\u3051\u3044","\u3053\u3046\u3053\u3046","\u3053\u3046\u3055\u3044","\u3053\u3046\u3058","\u3053\u3046\u3059\u3044","\u3054\u3046\u305B\u3044","\u3053\u3046\u305D\u304F","\u3053\u3046\u305F\u3044","\u3053\u3046\u3061\u3083","\u3053\u3046\u3064\u3046","\u3053\u3046\u3066\u3044","\u3053\u3046\u3069\u3046","\u3053\u3046\u306A\u3044","\u3053\u3046\u306F\u3044","\u3054\u3046\u307B\u3046","\u3054\u3046\u307E\u3093","\u3053\u3046\u3082\u304F","\u3053\u3046\u308A\u3064","\u3053\u3048\u308B","\u3053\u304A\u308A","\u3054\u304B\u3044","\u3054\u304C\u3064","\u3054\u304B\u3093","\u3053\u304F\u3054","\u3053\u304F\u3055\u3044","\u3053\u304F\u3068\u3046","\u3053\u304F\u306A\u3044","\u3053\u304F\u306F\u304F","\u3053\u3050\u307E","\u3053\u3051\u3044","\u3053\u3051\u308B","\u3053\u3053\u306E\u304B","\u3053\u3053\u308D","\u3053\u3055\u3081","\u3053\u3057\u3064","\u3053\u3059\u3046","\u3053\u305B\u3044","\u3053\u305B\u304D","\u3053\u305C\u3093","\u3053\u305D\u3060\u3066","\u3053\u305F\u3044","\u3053\u305F\u3048\u308B","\u3053\u305F\u3064","\u3053\u3061\u3087\u3046","\u3053\u3063\u304B","\u3053\u3064\u3053\u3064","\u3053\u3064\u3070\u3093","\u3053\u3064\u3076","\u3053\u3066\u3044","\u3053\u3066\u3093","\u3053\u3068\u304C\u3089","\u3053\u3068\u3057","\u3053\u3068\u3070","\u3053\u3068\u308A","\u3053\u306A\u3054\u306A","\u3053\u306D\u3053\u306D","\u3053\u306E\u307E\u307E","\u3053\u306E\u307F","\u3053\u306E\u3088","\u3054\u306F\u3093","\u3053\u3072\u3064\u3058","\u3053\u3075\u3046","\u3053\u3075\u3093","\u3053\u307C\u308C\u308B","\u3054\u307E\u3042\u3076\u3089","\u3053\u307E\u304B\u3044","\u3054\u307E\u3059\u308A","\u3053\u307E\u3064\u306A","\u3053\u307E\u308B","\u3053\u3080\u304E\u3053","\u3053\u3082\u3058","\u3053\u3082\u3061","\u3053\u3082\u306E","\u3053\u3082\u3093","\u3053\u3084\u304F","\u3053\u3084\u307E","\u3053\u3086\u3046","\u3053\u3086\u3073","\u3053\u3088\u3044","\u3053\u3088\u3046","\u3053\u308A\u308B","\u3053\u308C\u304F\u3057\u3087\u3093","\u3053\u308D\u3063\u3051","\u3053\u308F\u3082\u3066","\u3053\u308F\u308C\u308B","\u3053\u3093\u3044\u3093","\u3053\u3093\u304B\u3044","\u3053\u3093\u304D","\u3053\u3093\u3057\u3085\u3046","\u3053\u3093\u3059\u3044","\u3053\u3093\u3060\u3066","\u3053\u3093\u3068\u3093","\u3053\u3093\u306A\u3093","\u3053\u3093\u3073\u306B","\u3053\u3093\u307D\u3093","\u3053\u3093\u307E\u3051","\u3053\u3093\u3084","\u3053\u3093\u308C\u3044","\u3053\u3093\u308F\u304F","\u3056\u3044\u3048\u304D","\u3055\u3044\u304B\u3044","\u3055\u3044\u304D\u3093","\u3056\u3044\u3052\u3093","\u3056\u3044\u3053","\u3055\u3044\u3057\u3087","\u3055\u3044\u305B\u3044","\u3056\u3044\u305F\u304F","\u3056\u3044\u3061\u3085\u3046","\u3055\u3044\u3066\u304D","\u3056\u3044\u308A\u3087\u3046","\u3055\u3046\u306A","\u3055\u304B\u3044\u3057","\u3055\u304C\u3059","\u3055\u304B\u306A","\u3055\u304B\u307F\u3061","\u3055\u304C\u308B","\u3055\u304E\u3087\u3046","\u3055\u304F\u3057","\u3055\u304F\u3072\u3093","\u3055\u304F\u3089","\u3055\u3053\u304F","\u3055\u3053\u3064","\u3055\u305A\u304B\u308B","\u3056\u305B\u304D","\u3055\u305F\u3093","\u3055\u3064\u3048\u3044","\u3056\u3064\u304A\u3093","\u3056\u3063\u304B","\u3056\u3064\u304C\u304F","\u3055\u3063\u304D\u3087\u304F","\u3056\u3063\u3057","\u3055\u3064\u3058\u3093","\u3056\u3063\u305D\u3046","\u3055\u3064\u305F\u3070","\u3055\u3064\u307E\u3044\u3082","\u3055\u3066\u3044","\u3055\u3068\u3044\u3082","\u3055\u3068\u3046","\u3055\u3068\u304A\u3084","\u3055\u3068\u3057","\u3055\u3068\u308B","\u3055\u306E\u3046","\u3055\u3070\u304F","\u3055\u3073\u3057\u3044","\u3055\u3079\u3064","\u3055\u307B\u3046","\u3055\u307B\u3069","\u3055\u307E\u3059","\u3055\u307F\u3057\u3044","\u3055\u307F\u3060\u308C","\u3055\u3080\u3051","\u3055\u3081\u308B","\u3055\u3084\u3048\u3093\u3069\u3046","\u3055\u3086\u3046","\u3055\u3088\u3046","\u3055\u3088\u304F","\u3055\u3089\u3060","\u3056\u308B\u305D\u3070","\u3055\u308F\u3084\u304B","\u3055\u308F\u308B","\u3055\u3093\u3044\u3093","\u3055\u3093\u304B","\u3055\u3093\u304D\u3083\u304F","\u3055\u3093\u3053\u3046","\u3055\u3093\u3055\u3044","\u3056\u3093\u3057\u3087","\u3055\u3093\u3059\u3046","\u3055\u3093\u305B\u3044","\u3055\u3093\u305D","\u3055\u3093\u3061","\u3055\u3093\u307E","\u3055\u3093\u307F","\u3055\u3093\u3089\u3093","\u3057\u3042\u3044","\u3057\u3042\u3052","\u3057\u3042\u3055\u3063\u3066","\u3057\u3042\u308F\u305B","\u3057\u3044\u304F","\u3057\u3044\u3093","\u3057\u3046\u3061","\u3057\u3048\u3044","\u3057\u304A\u3051","\u3057\u304B\u3044","\u3057\u304B\u304F","\u3058\u304B\u3093","\u3057\u3054\u3068","\u3057\u3059\u3046","\u3058\u3060\u3044","\u3057\u305F\u3046\u3051","\u3057\u305F\u304E","\u3057\u305F\u3066","\u3057\u305F\u307F","\u3057\u3061\u3087\u3046","\u3057\u3061\u308A\u3093","\u3057\u3063\u304B\u308A","\u3057\u3064\u3058","\u3057\u3064\u3082\u3093","\u3057\u3066\u3044","\u3057\u3066\u304D","\u3057\u3066\u3064","\u3058\u3066\u3093","\u3058\u3069\u3046","\u3057\u306A\u304E\u308C","\u3057\u306A\u3082\u306E","\u3057\u306A\u3093","\u3057\u306D\u307E","\u3057\u306D\u3093","\u3057\u306E\u3050","\u3057\u306E\u3076","\u3057\u306F\u3044","\u3057\u3070\u304B\u308A","\u3057\u306F\u3064","\u3057\u306F\u3089\u3044","\u3057\u306F\u3093","\u3057\u3072\u3087\u3046","\u3057\u3075\u304F","\u3058\u3076\u3093","\u3057\u3078\u3044","\u3057\u307B\u3046","\u3057\u307B\u3093","\u3057\u307E\u3046","\u3057\u307E\u308B","\u3057\u307F\u3093","\u3057\u3080\u3051\u308B","\u3058\u3080\u3057\u3087","\u3057\u3081\u3044","\u3057\u3081\u308B","\u3057\u3082\u3093","\u3057\u3083\u3044\u3093","\u3057\u3083\u3046\u3093","\u3057\u3083\u304A\u3093","\u3058\u3083\u304C\u3044\u3082","\u3057\u3084\u304F\u3057\u3087","\u3057\u3083\u304F\u307B\u3046","\u3057\u3083\u3051\u3093","\u3057\u3083\u3053","\u3057\u3083\u3056\u3044","\u3057\u3083\u3057\u3093","\u3057\u3083\u305B\u3093","\u3057\u3083\u305D\u3046","\u3057\u3083\u305F\u3044","\u3057\u3083\u3061\u3087\u3046","\u3057\u3083\u3063\u304D\u3093","\u3058\u3083\u307E","\u3057\u3083\u308A\u3093","\u3057\u3083\u308C\u3044","\u3058\u3086\u3046","\u3058\u3085\u3046\u3057\u3087","\u3057\u3085\u304F\u306F\u304F","\u3058\u3085\u3057\u3093","\u3057\u3085\u3063\u305B\u304D","\u3057\u3085\u307F","\u3057\u3085\u3089\u3070","\u3058\u3085\u3093\u3070\u3093","\u3057\u3087\u3046\u304B\u3044","\u3057\u3087\u304F\u305F\u304F","\u3057\u3087\u3063\u3051\u3093","\u3057\u3087\u3069\u3046","\u3057\u3087\u3082\u3064","\u3057\u3089\u305B\u308B","\u3057\u3089\u3079\u308B","\u3057\u3093\u304B","\u3057\u3093\u3053\u3046","\u3058\u3093\u3058\u3083","\u3057\u3093\u305B\u3044\u3058","\u3057\u3093\u3061\u304F","\u3057\u3093\u308A\u3093","\u3059\u3042\u3052","\u3059\u3042\u3057","\u3059\u3042\u306A","\u305A\u3042\u3093","\u3059\u3044\u3048\u3044","\u3059\u3044\u304B","\u3059\u3044\u3068\u3046","\u305A\u3044\u3076\u3093","\u3059\u3044\u3088\u3046\u3073","\u3059\u3046\u304C\u304F","\u3059\u3046\u3058\u3064","\u3059\u3046\u305B\u3093","\u3059\u304A\u3069\u308A","\u3059\u304D\u307E","\u3059\u304F\u3046","\u3059\u304F\u306A\u3044","\u3059\u3051\u308B","\u3059\u3054\u3044","\u3059\u3053\u3057","\u305A\u3055\u3093","\u3059\u305A\u3057\u3044","\u3059\u3059\u3080","\u3059\u3059\u3081\u308B","\u3059\u3063\u304B\u308A","\u305A\u3063\u3057\u308A","\u305A\u3063\u3068","\u3059\u3066\u304D","\u3059\u3066\u308B","\u3059\u306D\u308B","\u3059\u306E\u3053","\u3059\u306F\u3060","\u3059\u3070\u3089\u3057\u3044","\u305A\u3072\u3087\u3046","\u305A\u3076\u306C\u308C","\u3059\u3076\u308A","\u3059\u3075\u308C","\u3059\u3079\u3066","\u3059\u3079\u308B","\u305A\u307B\u3046","\u3059\u307C\u3093","\u3059\u307E\u3044","\u3059\u3081\u3057","\u3059\u3082\u3046","\u3059\u3084\u304D","\u3059\u3089\u3059\u3089","\u3059\u308B\u3081","\u3059\u308C\u3061\u304C\u3046","\u3059\u308D\u3063\u3068","\u3059\u308F\u308B","\u3059\u3093\u305C\u3093","\u3059\u3093\u307D\u3046","\u305B\u3042\u3076\u3089","\u305B\u3044\u304B\u3064","\u305B\u3044\u3052\u3093","\u305B\u3044\u3058","\u305B\u3044\u3088\u3046","\u305B\u304A\u3046","\u305B\u304B\u3044\u304B\u3093","\u305B\u304D\u306B\u3093","\u305B\u304D\u3080","\u305B\u304D\u3086","\u305B\u304D\u3089\u3093\u3046\u3093","\u305B\u3051\u3093","\u305B\u3053\u3046","\u305B\u3059\u3058","\u305B\u305F\u3044","\u305B\u305F\u3051","\u305B\u3063\u304B\u304F","\u305B\u3063\u304D\u3083\u304F","\u305C\u3063\u304F","\u305B\u3063\u3051\u3093","\u305B\u3063\u3053\u3064","\u305B\u3063\u3055\u305F\u304F\u307E","\u305B\u3064\u305E\u304F","\u305B\u3064\u3060\u3093","\u305B\u3064\u3067\u3093","\u305B\u3063\u3071\u3093","\u305B\u3064\u3073","\u305B\u3064\u3076\u3093","\u305B\u3064\u3081\u3044","\u305B\u3064\u308A\u3064","\u305B\u306A\u304B","\u305B\u306E\u3073","\u305B\u306F\u3070","\u305B\u3073\u308D","\u305B\u307C\u306D","\u305B\u307E\u3044","\u305B\u307E\u308B","\u305B\u3081\u308B","\u305B\u3082\u305F\u308C","\u305B\u308A\u3075","\u305C\u3093\u3042\u304F","\u305B\u3093\u3044","\u305B\u3093\u3048\u3044","\u305B\u3093\u304B","\u305B\u3093\u304D\u3087","\u305B\u3093\u304F","\u305B\u3093\u3052\u3093","\u305C\u3093\u3054","\u305B\u3093\u3055\u3044","\u305B\u3093\u3057\u3085","\u305B\u3093\u3059\u3044","\u305B\u3093\u305B\u3044","\u305B\u3093\u305E","\u305B\u3093\u305F\u304F","\u305B\u3093\u3061\u3087\u3046","\u305B\u3093\u3066\u3044","\u305B\u3093\u3068\u3046","\u305B\u3093\u306C\u304D","\u305B\u3093\u306D\u3093","\u305B\u3093\u3071\u3044","\u305C\u3093\u3076","\u305C\u3093\u307D\u3046","\u305B\u3093\u3080","\u305B\u3093\u3081\u3093\u3058\u3087","\u305B\u3093\u3082\u3093","\u305B\u3093\u3084\u304F","\u305B\u3093\u3086\u3046","\u305B\u3093\u3088\u3046","\u305C\u3093\u3089","\u305C\u3093\u308A\u3083\u304F","\u305B\u3093\u308C\u3044","\u305B\u3093\u308D","\u305D\u3042\u304F","\u305D\u3044\u3068\u3052\u308B","\u305D\u3044\u306D","\u305D\u3046\u304C\u3093\u304D\u3087\u3046","\u305D\u3046\u304D","\u305D\u3046\u3054","\u305D\u3046\u3057\u3093","\u305D\u3046\u3060\u3093","\u305D\u3046\u306A\u3093","\u305D\u3046\u3073","\u305D\u3046\u3081\u3093","\u305D\u3046\u308A","\u305D\u3048\u3082\u306E","\u305D\u3048\u3093","\u305D\u304C\u3044","\u305D\u3052\u304D","\u305D\u3053\u3046","\u305D\u3053\u305D\u3053","\u305D\u3056\u3044","\u305D\u3057\u306A","\u305D\u305B\u3044","\u305D\u305B\u3093","\u305D\u305D\u3050","\u305D\u3060\u3066\u308B","\u305D\u3064\u3046","\u305D\u3064\u3048\u3093","\u305D\u3063\u304B\u3093","\u305D\u3064\u304E\u3087\u3046","\u305D\u3063\u3051\u3064","\u305D\u3063\u3053\u3046","\u305D\u3063\u305B\u3093","\u305D\u3063\u3068","\u305D\u3068\u304C\u308F","\u305D\u3068\u3065\u3089","\u305D\u306A\u3048\u308B","\u305D\u306A\u305F","\u305D\u3075\u307C","\u305D\u307C\u304F","\u305D\u307C\u308D","\u305D\u307E\u3064","\u305D\u307E\u308B","\u305D\u3080\u304F","\u305D\u3080\u308A\u3048","\u305D\u3081\u308B","\u305D\u3082\u305D\u3082","\u305D\u3088\u304B\u305C","\u305D\u3089\u307E\u3081","\u305D\u308D\u3046","\u305D\u3093\u304B\u3044","\u305D\u3093\u3051\u3044","\u305D\u3093\u3056\u3044","\u305D\u3093\u3057\u3064","\u305D\u3093\u305E\u304F","\u305D\u3093\u3061\u3087\u3046","\u305E\u3093\u3073","\u305E\u3093\u3076\u3093","\u305D\u3093\u307F\u3093","\u305F\u3042\u3044","\u305F\u3044\u3044\u3093","\u305F\u3044\u3046\u3093","\u305F\u3044\u3048\u304D","\u305F\u3044\u304A\u3046","\u3060\u3044\u304C\u304F","\u305F\u3044\u304D","\u305F\u3044\u3050\u3046","\u305F\u3044\u3051\u3093","\u305F\u3044\u3053","\u305F\u3044\u3056\u3044","\u3060\u3044\u3058\u3087\u3046\u3076","\u3060\u3044\u3059\u304D","\u305F\u3044\u305B\u3064","\u305F\u3044\u305D\u3046","\u3060\u3044\u305F\u3044","\u305F\u3044\u3061\u3087\u3046","\u305F\u3044\u3066\u3044","\u3060\u3044\u3069\u3053\u308D","\u305F\u3044\u306A\u3044","\u305F\u3044\u306D\u3064","\u305F\u3044\u306E\u3046","\u305F\u3044\u306F\u3093","\u3060\u3044\u3072\u3087\u3046","\u305F\u3044\u3075\u3046","\u305F\u3044\u3078\u3093","\u305F\u3044\u307B","\u305F\u3044\u307E\u3064\u3070\u306A","\u305F\u3044\u307F\u3093\u3050","\u305F\u3044\u3080","\u305F\u3044\u3081\u3093","\u305F\u3044\u3084\u304D","\u305F\u3044\u3088\u3046","\u305F\u3044\u3089","\u305F\u3044\u308A\u3087\u304F","\u305F\u3044\u308B","\u305F\u3044\u308F\u3093","\u305F\u3046\u3048","\u305F\u3048\u308B","\u305F\u304A\u3059","\u305F\u304A\u308B","\u305F\u304A\u308C\u308B","\u305F\u304B\u3044","\u305F\u304B\u306D","\u305F\u304D\u3073","\u305F\u304F\u3055\u3093","\u305F\u3053\u304F","\u305F\u3053\u3084\u304D","\u305F\u3055\u3044","\u305F\u3057\u3056\u3093","\u3060\u3058\u3083\u308C","\u305F\u3059\u3051\u308B","\u305F\u305A\u3055\u308F\u308B","\u305F\u305D\u304C\u308C","\u305F\u305F\u304B\u3046","\u305F\u305F\u304F","\u305F\u3060\u3057\u3044","\u305F\u305F\u307F","\u305F\u3061\u3070\u306A","\u3060\u3063\u304B\u3044","\u3060\u3063\u304D\u3083\u304F","\u3060\u3063\u3053","\u3060\u3063\u3057\u3085\u3064","\u3060\u3063\u305F\u3044","\u305F\u3066\u308B","\u305F\u3068\u3048\u308B","\u305F\u306A\u3070\u305F","\u305F\u306B\u3093","\u305F\u306C\u304D","\u305F\u306E\u3057\u307F","\u305F\u306F\u3064","\u305F\u3076\u3093","\u305F\u3079\u308B","\u305F\u307C\u3046","\u305F\u307E\u3054","\u305F\u307E\u308B","\u3060\u3080\u308B","\u305F\u3081\u3044\u304D","\u305F\u3081\u3059","\u305F\u3081\u308B","\u305F\u3082\u3064","\u305F\u3084\u3059\u3044","\u305F\u3088\u308B","\u305F\u3089\u3059","\u305F\u308A\u304D\u307B\u3093\u304C\u3093","\u305F\u308A\u3087\u3046","\u305F\u308A\u308B","\u305F\u308B\u3068","\u305F\u308C\u308B","\u305F\u308C\u3093\u3068","\u305F\u308D\u3063\u3068","\u305F\u308F\u3080\u308C\u308B","\u3060\u3093\u3042\u3064","\u305F\u3093\u3044","\u305F\u3093\u304A\u3093","\u305F\u3093\u304B","\u305F\u3093\u304D","\u305F\u3093\u3051\u3093","\u305F\u3093\u3054","\u305F\u3093\u3055\u3093","\u305F\u3093\u3058\u3087\u3046\u3073","\u3060\u3093\u305B\u3044","\u305F\u3093\u305D\u304F","\u305F\u3093\u305F\u3044","\u3060\u3093\u3061","\u305F\u3093\u3066\u3044","\u305F\u3093\u3068\u3046","\u3060\u3093\u306A","\u305F\u3093\u306B\u3093","\u3060\u3093\u306D\u3064","\u305F\u3093\u306E\u3046","\u305F\u3093\u3074\u3093","\u3060\u3093\u307C\u3046","\u305F\u3093\u307E\u3064","\u305F\u3093\u3081\u3044","\u3060\u3093\u308C\u3064","\u3060\u3093\u308D","\u3060\u3093\u308F","\u3061\u3042\u3044","\u3061\u3042\u3093","\u3061\u3044\u304D","\u3061\u3044\u3055\u3044","\u3061\u3048\u3093","\u3061\u304B\u3044","\u3061\u304B\u3089","\u3061\u304D\u3085\u3046","\u3061\u304D\u3093","\u3061\u3051\u3044\u305A","\u3061\u3051\u3093","\u3061\u3053\u304F","\u3061\u3055\u3044","\u3061\u3057\u304D","\u3061\u3057\u308A\u3087\u3046","\u3061\u305B\u3044","\u3061\u305D\u3046","\u3061\u305F\u3044","\u3061\u305F\u3093","\u3061\u3061\u304A\u3084","\u3061\u3064\u3058\u3087","\u3061\u3066\u304D","\u3061\u3066\u3093","\u3061\u306C\u304D","\u3061\u306C\u308A","\u3061\u306E\u3046","\u3061\u3072\u3087\u3046","\u3061\u3078\u3044\u305B\u3093","\u3061\u307B\u3046","\u3061\u307E\u305F","\u3061\u307F\u3064","\u3061\u307F\u3069\u308D","\u3061\u3081\u3044\u3069","\u3061\u3083\u3093\u3053\u306A\u3079","\u3061\u3085\u3046\u3044","\u3061\u3086\u308A\u3087\u304F","\u3061\u3087\u3046\u3057","\u3061\u3087\u3055\u304F\u3051\u3093","\u3061\u3089\u3057","\u3061\u3089\u307F","\u3061\u308A\u304C\u307F","\u3061\u308A\u3087\u3046","\u3061\u308B\u3069","\u3061\u308F\u308F","\u3061\u3093\u305F\u3044","\u3061\u3093\u3082\u304F","\u3064\u3044\u304B","\u3064\u3044\u305F\u3061","\u3064\u3046\u304B","\u3064\u3046\u3058\u3087\u3046","\u3064\u3046\u306F\u3093","\u3064\u3046\u308F","\u3064\u304B\u3046","\u3064\u304B\u308C\u308B","\u3064\u304F\u306D","\u3064\u304F\u308B","\u3064\u3051\u306D","\u3064\u3051\u308B","\u3064\u3054\u3046","\u3064\u305F\u3048\u308B","\u3064\u3065\u304F","\u3064\u3064\u3058","\u3064\u3064\u3080","\u3064\u3068\u3081\u308B","\u3064\u306A\u304C\u308B","\u3064\u306A\u307F","\u3064\u306D\u3065\u306D","\u3064\u306E\u308B","\u3064\u3076\u3059","\u3064\u307E\u3089\u306A\u3044","\u3064\u307E\u308B","\u3064\u307F\u304D","\u3064\u3081\u305F\u3044","\u3064\u3082\u308A","\u3064\u3082\u308B","\u3064\u3088\u3044","\u3064\u308B\u307C","\u3064\u308B\u307F\u304F","\u3064\u308F\u3082\u306E","\u3064\u308F\u308A","\u3066\u3042\u3057","\u3066\u3042\u3066","\u3066\u3042\u307F","\u3066\u3044\u304A\u3093","\u3066\u3044\u304B","\u3066\u3044\u304D","\u3066\u3044\u3051\u3044","\u3066\u3044\u3053\u304F","\u3066\u3044\u3055\u3064","\u3066\u3044\u3057","\u3066\u3044\u305B\u3044","\u3066\u3044\u305F\u3044","\u3066\u3044\u3069","\u3066\u3044\u306D\u3044","\u3066\u3044\u3072\u3087\u3046","\u3066\u3044\u3078\u3093","\u3066\u3044\u307C\u3046","\u3066\u3046\u3061","\u3066\u304A\u304F\u308C","\u3066\u304D\u3068\u3046","\u3066\u304F\u3073","\u3067\u3053\u307C\u3053","\u3066\u3055\u304E\u3087\u3046","\u3066\u3055\u3052","\u3066\u3059\u308A","\u3066\u305D\u3046","\u3066\u3061\u304C\u3044","\u3066\u3061\u3087\u3046","\u3066\u3064\u304C\u304F","\u3066\u3064\u3065\u304D","\u3067\u3063\u3071","\u3066\u3064\u307C\u3046","\u3066\u3064\u3084","\u3067\u306C\u304B\u3048","\u3066\u306C\u304D","\u3066\u306C\u3050\u3044","\u3066\u306E\u3072\u3089","\u3066\u306F\u3044","\u3066\u3076\u304F\u308D","\u3066\u3075\u3060","\u3066\u307B\u3069\u304D","\u3066\u307B\u3093","\u3066\u307E\u3048","\u3066\u307E\u304D\u305A\u3057","\u3066\u307F\u3058\u304B","\u3066\u307F\u3084\u3052","\u3066\u3089\u3059","\u3066\u308C\u3073","\u3066\u308F\u3051","\u3066\u308F\u305F\u3057","\u3067\u3093\u3042\u3064","\u3066\u3093\u3044\u3093","\u3066\u3093\u304B\u3044","\u3066\u3093\u304D","\u3066\u3093\u3050","\u3066\u3093\u3051\u3093","\u3066\u3093\u3054\u304F","\u3066\u3093\u3055\u3044","\u3066\u3093\u3057","\u3066\u3093\u3059\u3046","\u3067\u3093\u3061","\u3066\u3093\u3066\u304D","\u3066\u3093\u3068\u3046","\u3066\u3093\u306A\u3044","\u3066\u3093\u3077\u3089","\u3066\u3093\u307C\u3046\u3060\u3044","\u3066\u3093\u3081\u3064","\u3066\u3093\u3089\u3093\u304B\u3044","\u3067\u3093\u308A\u3087\u304F","\u3067\u3093\u308F","\u3069\u3042\u3044","\u3068\u3044\u308C","\u3069\u3046\u304B\u3093","\u3068\u3046\u304D\u3085\u3046","\u3069\u3046\u3050","\u3068\u3046\u3057","\u3068\u3046\u3080\u304E","\u3068\u304A\u3044","\u3068\u304A\u304B","\u3068\u304A\u304F","\u3068\u304A\u3059","\u3068\u304A\u308B","\u3068\u304B\u3044","\u3068\u304B\u3059","\u3068\u304D\u304A\u308A","\u3068\u304D\u3069\u304D","\u3068\u304F\u3044","\u3068\u304F\u3057\u3085\u3046","\u3068\u304F\u3066\u3093","\u3068\u304F\u306B","\u3068\u304F\u3079\u3064","\u3068\u3051\u3044","\u3068\u3051\u308B","\u3068\u3053\u3084","\u3068\u3055\u304B","\u3068\u3057\u3087\u304B\u3093","\u3068\u305D\u3046","\u3068\u305F\u3093","\u3068\u3061\u3085\u3046","\u3068\u3063\u304D\u3085\u3046","\u3068\u3063\u304F\u3093","\u3068\u3064\u305C\u3093","\u3068\u3064\u306B\u3085\u3046","\u3068\u3069\u3051\u308B","\u3068\u3068\u306E\u3048\u308B","\u3068\u306A\u3044","\u3068\u306A\u3048\u308B","\u3068\u306A\u308A","\u3068\u306E\u3055\u307E","\u3068\u3070\u3059","\u3069\u3076\u304C\u308F","\u3068\u307B\u3046","\u3068\u307E\u308B","\u3068\u3081\u308B","\u3068\u3082\u3060\u3061","\u3068\u3082\u308B","\u3069\u3088\u3046\u3073","\u3068\u3089\u3048\u308B","\u3068\u3093\u304B\u3064","\u3069\u3093\u3076\u308A","\u306A\u3044\u304B\u304F","\u306A\u3044\u3053\u3046","\u306A\u3044\u3057\u3087","\u306A\u3044\u3059","\u306A\u3044\u305B\u3093","\u306A\u3044\u305D\u3046","\u306A\u304A\u3059","\u306A\u304C\u3044","\u306A\u304F\u3059","\u306A\u3052\u308B","\u306A\u3053\u3046\u3069","\u306A\u3055\u3051","\u306A\u305F\u3067\u3053\u3053","\u306A\u3063\u3068\u3046","\u306A\u3064\u3084\u3059\u307F","\u306A\u306A\u304A\u3057","\u306A\u306B\u3054\u3068","\u306A\u306B\u3082\u306E","\u306A\u306B\u308F","\u306A\u306E\u304B","\u306A\u3075\u3060","\u306A\u307E\u3044\u304D","\u306A\u307E\u3048","\u306A\u307E\u307F","\u306A\u307F\u3060","\u306A\u3081\u3089\u304B","\u306A\u3081\u308B","\u306A\u3084\u3080","\u306A\u3089\u3046","\u306A\u3089\u3073","\u306A\u3089\u3076","\u306A\u308C\u308B","\u306A\u308F\u3068\u3073","\u306A\u308F\u3070\u308A","\u306B\u3042\u3046","\u306B\u3044\u304C\u305F","\u306B\u3046\u3051","\u306B\u304A\u3044","\u306B\u304B\u3044","\u306B\u304C\u3066","\u306B\u304D\u3073","\u306B\u304F\u3057\u307F","\u306B\u304F\u307E\u3093","\u306B\u3052\u308B","\u306B\u3055\u3093\u304B\u305F\u3093\u305D","\u306B\u3057\u304D","\u306B\u305B\u3082\u306E","\u306B\u3061\u3058\u3087\u3046","\u306B\u3061\u3088\u3046\u3073","\u306B\u3063\u304B","\u306B\u3063\u304D","\u306B\u3063\u3051\u3044","\u306B\u3063\u3053\u3046","\u306B\u3063\u3055\u3093","\u306B\u3063\u3057\u3087\u304F","\u306B\u3063\u3059\u3046","\u306B\u3063\u305B\u304D","\u306B\u3063\u3066\u3044","\u306B\u306A\u3046","\u306B\u307B\u3093","\u306B\u307E\u3081","\u306B\u3082\u3064","\u306B\u3084\u308A","\u306B\u3085\u3046\u3044\u3093","\u306B\u308A\u3093\u3057\u3083","\u306B\u308F\u3068\u308A","\u306B\u3093\u3044","\u306B\u3093\u304B","\u306B\u3093\u304D","\u306B\u3093\u3052\u3093","\u306B\u3093\u3057\u304D","\u306B\u3093\u305A\u3046","\u306B\u3093\u305D\u3046","\u306B\u3093\u305F\u3044","\u306B\u3093\u3061","\u306B\u3093\u3066\u3044","\u306B\u3093\u306B\u304F","\u306B\u3093\u3077","\u306B\u3093\u307E\u308A","\u306B\u3093\u3080","\u306B\u3093\u3081\u3044","\u306B\u3093\u3088\u3046","\u306C\u3044\u304F\u304E","\u306C\u304B\u3059","\u306C\u3050\u3044\u3068\u308B","\u306C\u3050\u3046","\u306C\u304F\u3082\u308A","\u306C\u3059\u3080","\u306C\u307E\u3048\u3073","\u306C\u3081\u308A","\u306C\u3089\u3059","\u306C\u3093\u3061\u3083\u304F","\u306D\u3042\u3052","\u306D\u3044\u304D","\u306D\u3044\u308B","\u306D\u3044\u308D","\u306D\u3050\u305B","\u306D\u304F\u305F\u3044","\u306D\u304F\u3089","\u306D\u3053\u305C","\u306D\u3053\u3080","\u306D\u3055\u3052","\u306D\u3059\u3054\u3059","\u306D\u305D\u3079\u308B","\u306D\u3060\u3093","\u306D\u3064\u3044","\u306D\u3063\u3057\u3093","\u306D\u3064\u305E\u3046","\u306D\u3063\u305F\u3044\u304E\u3087","\u306D\u3076\u305D\u304F","\u306D\u3075\u3060","\u306D\u307C\u3046","\u306D\u307B\u308A\u306F\u307B\u308A","\u306D\u307E\u304D","\u306D\u307E\u308F\u3057","\u306D\u307F\u307F","\u306D\u3080\u3044","\u306D\u3080\u305F\u3044","\u306D\u3082\u3068","\u306D\u3089\u3046","\u306D\u308F\u3056","\u306D\u3093\u3044\u308A","\u306D\u3093\u304A\u3057","\u306D\u3093\u304B\u3093","\u306D\u3093\u304D\u3093","\u306D\u3093\u3050","\u306D\u3093\u3056","\u306D\u3093\u3057","\u306D\u3093\u3061\u3083\u304F","\u306D\u3093\u3069","\u306D\u3093\u3074","\u306D\u3093\u3076\u3064","\u306D\u3093\u307E\u3064","\u306D\u3093\u308A\u3087\u3046","\u306D\u3093\u308C\u3044","\u306E\u3044\u305A","\u306E\u304A\u3065\u307E","\u306E\u304C\u3059","\u306E\u304D\u306A\u307F","\u306E\u3053\u304E\u308A","\u306E\u3053\u3059","\u306E\u3053\u308B","\u306E\u305B\u308B","\u306E\u305E\u304F","\u306E\u305E\u3080","\u306E\u305F\u307E\u3046","\u306E\u3061\u307B\u3069","\u306E\u3063\u304F","\u306E\u3070\u3059","\u306E\u306F\u3089","\u306E\u3079\u308B","\u306E\u307C\u308B","\u306E\u307F\u3082\u306E","\u306E\u3084\u307E","\u306E\u3089\u3044\u306C","\u306E\u3089\u306D\u3053","\u306E\u308A\u3082\u306E","\u306E\u308A\u3086\u304D","\u306E\u308C\u3093","\u306E\u3093\u304D","\u3070\u3042\u3044","\u306F\u3042\u304F","\u3070\u3042\u3055\u3093","\u3070\u3044\u304B","\u3070\u3044\u304F","\u306F\u3044\u3051\u3093","\u306F\u3044\u3054","\u306F\u3044\u3057\u3093","\u306F\u3044\u3059\u3044","\u306F\u3044\u305B\u3093","\u306F\u3044\u305D\u3046","\u306F\u3044\u3061","\u3070\u3044\u3070\u3044","\u306F\u3044\u308C\u3064","\u306F\u3048\u308B","\u306F\u304A\u308B","\u306F\u304B\u3044","\u3070\u304B\u308A","\u306F\u304B\u308B","\u306F\u304F\u3057\u3085","\u306F\u3051\u3093","\u306F\u3053\u3076","\u306F\u3055\u307F","\u306F\u3055\u3093","\u306F\u3057\u3054","\u3070\u3057\u3087","\u306F\u3057\u308B","\u306F\u305B\u308B","\u3071\u305D\u3053\u3093","\u306F\u305D\u3093","\u306F\u305F\u3093","\u306F\u3061\u307F\u3064","\u306F\u3064\u304A\u3093","\u306F\u3063\u304B\u304F","\u306F\u3065\u304D","\u306F\u3063\u304D\u308A","\u306F\u3063\u304F\u3064","\u306F\u3063\u3051\u3093","\u306F\u3063\u3053\u3046","\u306F\u3063\u3055\u3093","\u306F\u3063\u3057\u3093","\u306F\u3063\u305F\u3064","\u306F\u3063\u3061\u3085\u3046","\u306F\u3063\u3066\u3093","\u306F\u3063\u3074\u3087\u3046","\u306F\u3063\u307D\u3046","\u306F\u306A\u3059","\u306F\u306A\u3073","\u306F\u306B\u304B\u3080","\u306F\u3076\u3089\u3057","\u306F\u307F\u304C\u304D","\u306F\u3080\u304B\u3046","\u306F\u3081\u3064","\u306F\u3084\u3044","\u306F\u3084\u3057","\u306F\u3089\u3046","\u306F\u308D\u3046\u3043\u3093","\u306F\u308F\u3044","\u306F\u3093\u3044","\u306F\u3093\u3048\u3044","\u306F\u3093\u304A\u3093","\u306F\u3093\u304B\u304F","\u306F\u3093\u304D\u3087\u3046","\u3070\u3093\u3050\u307F","\u306F\u3093\u3053","\u306F\u3093\u3057\u3083","\u306F\u3093\u3059\u3046","\u306F\u3093\u3060\u3093","\u3071\u3093\u3061","\u3071\u3093\u3064","\u306F\u3093\u3066\u3044","\u306F\u3093\u3068\u3057","\u306F\u3093\u306E\u3046","\u306F\u3093\u3071","\u306F\u3093\u3076\u3093","\u306F\u3093\u307A\u3093","\u306F\u3093\u307C\u3046\u304D","\u306F\u3093\u3081\u3044","\u306F\u3093\u3089\u3093","\u306F\u3093\u308D\u3093","\u3072\u3044\u304D","\u3072\u3046\u3093","\u3072\u3048\u308B","\u3072\u304B\u304F","\u3072\u304B\u308A","\u3072\u304B\u308B","\u3072\u304B\u3093","\u3072\u304F\u3044","\u3072\u3051\u3064","\u3072\u3053\u3046\u304D","\u3072\u3053\u304F","\u3072\u3055\u3044","\u3072\u3055\u3057\u3076\u308A","\u3072\u3055\u3093","\u3073\u3058\u3085\u3064\u304B\u3093","\u3072\u3057\u3087","\u3072\u305D\u304B","\u3072\u305D\u3080","\u3072\u305F\u3080\u304D","\u3072\u3060\u308A","\u3072\u305F\u308B","\u3072\u3064\u304E","\u3072\u3063\u3053\u3057","\u3072\u3063\u3057","\u3072\u3064\u3058\u3085\u3072\u3093","\u3072\u3063\u3059","\u3072\u3064\u305C\u3093","\u3074\u3063\u305F\u308A","\u3074\u3063\u3061\u308A","\u3072\u3064\u3088\u3046","\u3072\u3066\u3044","\u3072\u3068\u3054\u307F","\u3072\u306A\u307E\u3064\u308A","\u3072\u306A\u3093","\u3072\u306D\u308B","\u3072\u306F\u3093","\u3072\u3073\u304F","\u3072\u3072\u3087\u3046","\u3072\u307B\u3046","\u3072\u307E\u308F\u308A","\u3072\u307E\u3093","\u3072\u307F\u3064","\u3072\u3081\u3044","\u3072\u3081\u3058\u3057","\u3072\u3084\u3051","\u3072\u3084\u3059","\u3072\u3088\u3046","\u3073\u3087\u3046\u304D","\u3072\u3089\u304C\u306A","\u3072\u3089\u304F","\u3072\u308A\u3064","\u3072\u308A\u3087\u3046","\u3072\u308B\u307E","\u3072\u308B\u3084\u3059\u307F","\u3072\u308C\u3044","\u3072\u308D\u3044","\u3072\u308D\u3046","\u3072\u308D\u304D","\u3072\u308D\u3086\u304D","\u3072\u3093\u304B\u304F","\u3072\u3093\u3051\u3064","\u3072\u3093\u3053\u3093","\u3072\u3093\u3057\u3085","\u3072\u3093\u305D\u3046","\u3074\u3093\u3061","\u3072\u3093\u3071\u3093","\u3073\u3093\u307C\u3046","\u3075\u3042\u3093","\u3075\u3044\u3046\u3061","\u3075\u3046\u3051\u3044","\u3075\u3046\u305B\u3093","\u3077\u3046\u305F\u308D\u3046","\u3075\u3046\u3068\u3046","\u3075\u3046\u3075","\u3075\u3048\u308B","\u3075\u304A\u3093","\u3075\u304B\u3044","\u3075\u304D\u3093","\u3075\u304F\u3056\u3064","\u3075\u304F\u3076\u304F\u308D","\u3075\u3053\u3046","\u3075\u3055\u3044","\u3075\u3057\u304E","\u3075\u3058\u307F","\u3075\u3059\u307E","\u3075\u305B\u3044","\u3075\u305B\u3050","\u3075\u305D\u304F","\u3076\u305F\u306B\u304F","\u3075\u305F\u3093","\u3075\u3061\u3087\u3046","\u3075\u3064\u3046","\u3075\u3064\u304B","\u3075\u3063\u304B\u3064","\u3075\u3063\u304D","\u3075\u3063\u3053\u304F","\u3076\u3069\u3046","\u3075\u3068\u308B","\u3075\u3068\u3093","\u3075\u306E\u3046","\u3075\u306F\u3044","\u3075\u3072\u3087\u3046","\u3075\u3078\u3093","\u3075\u307E\u3093","\u3075\u307F\u3093","\u3075\u3081\u3064","\u3075\u3081\u3093","\u3075\u3088\u3046","\u3075\u308A\u3053","\u3075\u308A\u308B","\u3075\u308B\u3044","\u3075\u3093\u3044\u304D","\u3076\u3093\u304C\u304F","\u3076\u3093\u3050","\u3075\u3093\u3057\u3064","\u3076\u3093\u305B\u304D","\u3075\u3093\u305D\u3046","\u3076\u3093\u307D\u3046","\u3078\u3044\u3042\u3093","\u3078\u3044\u304A\u3093","\u3078\u3044\u304C\u3044","\u3078\u3044\u304D","\u3078\u3044\u3052\u3093","\u3078\u3044\u3053\u3046","\u3078\u3044\u3055","\u3078\u3044\u3057\u3083","\u3078\u3044\u305B\u3064","\u3078\u3044\u305D","\u3078\u3044\u305F\u304F","\u3078\u3044\u3066\u3093","\u3078\u3044\u306D\u3064","\u3078\u3044\u308F","\u3078\u304D\u304C","\u3078\u3053\u3080","\u3079\u306B\u3044\u308D","\u3079\u306B\u3057\u3087\u3046\u304C","\u3078\u3089\u3059","\u3078\u3093\u304B\u3093","\u3079\u3093\u304D\u3087\u3046","\u3079\u3093\u3054\u3057","\u3078\u3093\u3055\u3044","\u3078\u3093\u305F\u3044","\u3079\u3093\u308A","\u307B\u3042\u3093","\u307B\u3044\u304F","\u307C\u3046\u304E\u3087","\u307B\u3046\u3053\u304F","\u307B\u3046\u305D\u3046","\u307B\u3046\u307B\u3046","\u307B\u3046\u3082\u3093","\u307B\u3046\u308A\u3064","\u307B\u3048\u308B","\u307B\u304A\u3093","\u307B\u304B\u3093","\u307B\u304D\u3087\u3046","\u307C\u304D\u3093","\u307B\u304F\u308D","\u307B\u3051\u3064","\u307B\u3051\u3093","\u307B\u3053\u3046","\u307B\u3053\u308B","\u307B\u3057\u3044","\u307B\u3057\u3064","\u307B\u3057\u3085","\u307B\u3057\u3087\u3046","\u307B\u305B\u3044","\u307B\u305D\u3044","\u307B\u305D\u304F","\u307B\u305F\u3066","\u307B\u305F\u308B","\u307D\u3061\u3076\u304F\u308D","\u307B\u3063\u304D\u3087\u304F","\u307B\u3063\u3055","\u307B\u3063\u305F\u3093","\u307B\u3068\u3093\u3069","\u307B\u3081\u308B","\u307B\u3093\u3044","\u307B\u3093\u304D","\u307B\u3093\u3051","\u307B\u3093\u3057\u3064","\u307B\u3093\u3084\u304F","\u307E\u3044\u306B\u3061","\u307E\u304B\u3044","\u307E\u304B\u305B\u308B","\u307E\u304C\u308B","\u307E\u3051\u308B","\u307E\u3053\u3068","\u307E\u3055\u3064","\u307E\u3058\u3081","\u307E\u3059\u304F","\u307E\u305C\u308B","\u307E\u3064\u308A","\u307E\u3068\u3081","\u307E\u306A\u3076","\u307E\u306C\u3051","\u307E\u306D\u304F","\u307E\u307B\u3046","\u307E\u3082\u308B","\u307E\u3086\u3052","\u307E\u3088\u3046","\u307E\u308D\u3084\u304B","\u307E\u308F\u3059","\u307E\u308F\u308A","\u307E\u308F\u308B","\u307E\u3093\u304C","\u307E\u3093\u304D\u3064","\u307E\u3093\u305E\u304F","\u307E\u3093\u306A\u304B","\u307F\u3044\u3089","\u307F\u3046\u3061","\u307F\u3048\u308B","\u307F\u304C\u304F","\u307F\u304B\u305F","\u307F\u304B\u3093","\u307F\u3051\u3093","\u307F\u3053\u3093","\u307F\u3058\u304B\u3044","\u307F\u3059\u3044","\u307F\u3059\u3048\u308B","\u307F\u305B\u308B","\u307F\u3063\u304B","\u307F\u3064\u304B\u308B","\u307F\u3064\u3051\u308B","\u307F\u3066\u3044","\u307F\u3068\u3081\u308B","\u307F\u306A\u3068","\u307F\u306A\u307F\u304B\u3055\u3044","\u307F\u306D\u3089\u308B","\u307F\u306E\u3046","\u307F\u306E\u304C\u3059","\u307F\u307B\u3093","\u307F\u3082\u3068","\u307F\u3084\u3052","\u307F\u3089\u3044","\u307F\u308A\u3087\u304F","\u307F\u308F\u304F","\u307F\u3093\u304B","\u307F\u3093\u305E\u304F","\u3080\u3044\u304B","\u3080\u3048\u304D","\u3080\u3048\u3093","\u3080\u304B\u3044","\u3080\u304B\u3046","\u3080\u304B\u3048","\u3080\u304B\u3057","\u3080\u304E\u3061\u3083","\u3080\u3051\u308B","\u3080\u3052\u3093","\u3080\u3055\u307C\u308B","\u3080\u3057\u3042\u3064\u3044","\u3080\u3057\u3070","\u3080\u3058\u3085\u3093","\u3080\u3057\u308D","\u3080\u3059\u3046","\u3080\u3059\u3053","\u3080\u3059\u3076","\u3080\u3059\u3081","\u3080\u305B\u308B","\u3080\u305B\u3093","\u3080\u3061\u3085\u3046","\u3080\u306A\u3057\u3044","\u3080\u306E\u3046","\u3080\u3084\u307F","\u3080\u3088\u3046","\u3080\u3089\u3055\u304D","\u3080\u308A\u3087\u3046","\u3080\u308D\u3093","\u3081\u3044\u3042\u3093","\u3081\u3044\u3046\u3093","\u3081\u3044\u3048\u3093","\u3081\u3044\u304B\u304F","\u3081\u3044\u304D\u3087\u304F","\u3081\u3044\u3055\u3044","\u3081\u3044\u3057","\u3081\u3044\u305D\u3046","\u3081\u3044\u3076\u3064","\u3081\u3044\u308C\u3044","\u3081\u3044\u308F\u304F","\u3081\u3050\u307E\u308C\u308B","\u3081\u3056\u3059","\u3081\u3057\u305F","\u3081\u305A\u3089\u3057\u3044","\u3081\u3060\u3064","\u3081\u307E\u3044","\u3081\u3084\u3059","\u3081\u3093\u304D\u3087","\u3081\u3093\u305B\u304D","\u3081\u3093\u3069\u3046","\u3082\u3046\u3057\u3042\u3052\u308B","\u3082\u3046\u3069\u3046\u3051\u3093","\u3082\u3048\u308B","\u3082\u304F\u3057","\u3082\u304F\u3066\u304D","\u3082\u304F\u3088\u3046\u3073","\u3082\u3061\u308D\u3093","\u3082\u3069\u308B","\u3082\u3089\u3046","\u3082\u3093\u304F","\u3082\u3093\u3060\u3044","\u3084\u304A\u3084","\u3084\u3051\u308B","\u3084\u3055\u3044","\u3084\u3055\u3057\u3044","\u3084\u3059\u3044","\u3084\u3059\u305F\u308D\u3046","\u3084\u3059\u307F","\u3084\u305B\u308B","\u3084\u305D\u3046","\u3084\u305F\u3044","\u3084\u3061\u3093","\u3084\u3063\u3068","\u3084\u3063\u3071\u308A","\u3084\u3076\u308B","\u3084\u3081\u308B","\u3084\u3084\u3053\u3057\u3044","\u3084\u3088\u3044","\u3084\u308F\u3089\u304B\u3044","\u3086\u3046\u304D","\u3086\u3046\u3073\u3093\u304D\u3087\u304F","\u3086\u3046\u3079","\u3086\u3046\u3081\u3044","\u3086\u3051\u3064","\u3086\u3057\u3085\u3064","\u3086\u305B\u3093","\u3086\u305D\u3046","\u3086\u305F\u304B","\u3086\u3061\u3083\u304F","\u3086\u3067\u308B","\u3086\u306B\u3085\u3046","\u3086\u3073\u308F","\u3086\u3089\u3044","\u3086\u308C\u308B","\u3088\u3046\u3044","\u3088\u3046\u304B","\u3088\u3046\u304D\u3085\u3046","\u3088\u3046\u3058","\u3088\u3046\u3059","\u3088\u3046\u3061\u3048\u3093","\u3088\u304B\u305C","\u3088\u304B\u3093","\u3088\u304D\u3093","\u3088\u304F\u305B\u3044","\u3088\u304F\u307C\u3046","\u3088\u3051\u3044","\u3088\u3054\u308C\u308B","\u3088\u3055\u3093","\u3088\u3057\u3085\u3046","\u3088\u305D\u3046","\u3088\u305D\u304F","\u3088\u3063\u304B","\u3088\u3066\u3044","\u3088\u3069\u304C\u308F\u304F","\u3088\u306D\u3064","\u3088\u3084\u304F","\u3088\u3086\u3046","\u3088\u308D\u3053\u3076","\u3088\u308D\u3057\u3044","\u3089\u3044\u3046","\u3089\u304F\u304C\u304D","\u3089\u304F\u3054","\u3089\u304F\u3055\u3064","\u3089\u304F\u3060","\u3089\u3057\u3093\u3070\u3093","\u3089\u305B\u3093","\u3089\u305E\u304F","\u3089\u305F\u3044","\u3089\u3063\u304B","\u3089\u308C\u3064","\u308A\u3048\u304D","\u308A\u304B\u3044","\u308A\u304D\u3055\u304F","\u308A\u304D\u305B\u3064","\u308A\u304F\u3050\u3093","\u308A\u304F\u3064","\u308A\u3051\u3093","\u308A\u3053\u3046","\u308A\u305B\u3044","\u308A\u305D\u3046","\u308A\u305D\u304F","\u308A\u3066\u3093","\u308A\u306D\u3093","\u308A\u3086\u3046","\u308A\u3085\u3046\u304C\u304F","\u308A\u3088\u3046","\u308A\u3087\u3046\u308A","\u308A\u3087\u304B\u3093","\u308A\u3087\u304F\u3061\u3083","\u308A\u3087\u3053\u3046","\u308A\u308A\u304F","\u308A\u308C\u304D","\u308A\u308D\u3093","\u308A\u3093\u3054","\u308B\u3044\u3051\u3044","\u308B\u3044\u3055\u3044","\u308B\u3044\u3058","\u308B\u3044\u305B\u304D","\u308B\u3059\u3070\u3093","\u308B\u308A\u304C\u308F\u3089","\u308C\u3044\u304B\u3093","\u308C\u3044\u304E","\u308C\u3044\u305B\u3044","\u308C\u3044\u305E\u3046\u3053","\u308C\u3044\u3068\u3046","\u308C\u3044\u307C\u3046","\u308C\u304D\u3057","\u308C\u304D\u3060\u3044","\u308C\u3093\u3042\u3044","\u308C\u3093\u3051\u3044","\u308C\u3093\u3053\u3093","\u308C\u3093\u3055\u3044","\u308C\u3093\u3057\u3085\u3046","\u308C\u3093\u305E\u304F","\u308C\u3093\u3089\u304F","\u308D\u3046\u304B","\u308D\u3046\u3054","\u308D\u3046\u3058\u3093","\u308D\u3046\u305D\u304F","\u308D\u304F\u304C","\u308D\u3053\u3064","\u308D\u3058\u3046\u3089","\u308D\u3057\u3085\u3064","\u308D\u305B\u3093","\u308D\u3066\u3093","\u308D\u3081\u3093","\u308D\u308C\u3064","\u308D\u3093\u304E","\u308D\u3093\u3071","\u308D\u3093\u3076\u3093","\u308D\u3093\u308A","\u308F\u304B\u3059","\u308F\u304B\u3081","\u308F\u304B\u3084\u307E","\u308F\u304B\u308C\u308B","\u308F\u3057\u3064","\u308F\u3058\u307E\u3057","\u308F\u3059\u308C\u3082\u306E","\u308F\u3089\u3046","\u308F\u308C\u308B"];c.space="\u3000";const D=["a\u0301baco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","accio\u0301n","aceite","acelga","acento","aceptar","a\u0301cido","aclarar","acne\u0301","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","ae\u0301reo","afectar","aficio\u0301n","afinar","afirmar","a\u0301gil","agitar","agoni\u0301a","agosto","agotar","agregar","agrio","agua","agudo","a\u0301guila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacra\u0301n","alambre","alarma","alba","a\u0301lbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodo\u0301n","aliado","aliento","alivio","alma","almeja","almi\u0301bar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","a\u0301mbar","a\u0301mbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","ande\u0301n","anemia","a\u0301ngulo","anillo","a\u0301nimo","ani\u0301s","anotar","antena","antiguo","antojo","anual","anular","anuncio","an\u0303adir","an\u0303ejo","an\u0303o","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","aran\u0303a","arar","a\u0301rbitro","a\u0301rbol","arbusto","archivo","arco","arder","ardilla","arduo","a\u0301rea","a\u0301rido","aries","armoni\u0301a","arne\u0301s","aroma","arpa","arpo\u0301n","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","a\u0301spero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","a\u0301tico","atleta","a\u0301tomo","atraer","atroz","atu\u0301n","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avio\u0301n","aviso","ayer","ayuda","ayuno","azafra\u0301n","azar","azote","azu\u0301car","azufre","azul","baba","babor","bache","bahi\u0301a","baile","bajar","balanza","balco\u0301n","balde","bambu\u0301","banco","banda","ban\u0303o","barba","barco","barniz","barro","ba\u0301scula","basto\u0301n","basura","batalla","bateri\u0301a","batir","batuta","bau\u0301l","bazar","bebe\u0301","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsa\u0301i","borde","borrar","bosque","bote","boti\u0301n","bo\u0301veda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufo\u0301n","bu\u0301ho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzo\u0301n","caballo","cabeza","cabina","cabra","cacao","cada\u0301ver","cadena","caer","cafe\u0301","cai\u0301da","caima\u0301n","caja","cajo\u0301n","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","ca\u0301ncer","candil","canela","canguro","canica","canto","can\u0303a","can\u0303o\u0301n","caoba","caos","capaz","capita\u0301n","capote","captar","capucha","cara","carbo\u0301n","ca\u0301rcel","careta","carga","carin\u0303o","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","ce\u0301lebre","celoso","ce\u0301lula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","ce\u0301sped","cetro","chacal","chaleco","champu\u0301","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclo\u0301n","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","cipre\u0301s","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","cli\u0301nica","cobre","coccio\u0301n","cochino","cocina","coco","co\u0301digo","codo","cofre","coger","cohete","coji\u0301n","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","co\u0301modo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazo\u0301n","corbata","corcho","cordo\u0301n","corona","correr","coser","cosmos","costa","cra\u0301neo","cra\u0301ter","crear","crecer","crei\u0301do","crema","cri\u0301a","crimen","cripta","crisis","cromo","cro\u0301nica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupo\u0301n","cu\u0301pula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","da\u0301til","deber","de\u0301bil","de\u0301cada","decir","dedo","defensa","definir","dejar","delfi\u0301n","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvi\u0301o","detalle","detener","deuda","di\u0301a","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difi\u0301cil","digno","dilema","diluir","dinero","directo","dirigir","disco","disen\u0303o","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","drago\u0301n","droga","ducha","duda","duelo","duen\u0303o","dulce","du\u0301o","duque","durar","dureza","duro","e\u0301bano","ebrio","echar","eco","ecuador","edad","edicio\u0301n","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","e\u0301lite","elixir","elogio","eludir","embudo","emitir","emocio\u0301n","empate","empen\u0303o","empleo","empresa","enano","encargo","enchufe","enci\u0301a","enemigo","enero","enfado","enfermo","engan\u0303o","enigma","enlace","enorme","enredo","ensayo","ensen\u0303ar","entero","entrar","envase","envi\u0301o","e\u0301poca","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espi\u0301a","esposa","espuma","esqui\u0301","estar","este","estilo","estufa","etapa","eterno","e\u0301tica","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","e\u0301xito","experto","explicar","exponer","extremo","fa\u0301brica","fa\u0301bula","fachada","fa\u0301cil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","farao\u0301n","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fe\u0301rtil","fervor","festi\u0301n","fiable","fianza","fiar","fibra","ficcio\u0301n","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flu\u0301or","fobia","foca","fogata","fogo\u0301n","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","fra\u0301gil","franja","frase","fraude","frei\u0301r","freno","fresa","fri\u0301o","frito","fruta","fuego","fuente","fuerza","fuga","fumar","funcio\u0301n","funda","furgo\u0301n","furia","fusil","fu\u0301tbol","futuro","gacela","gafas","gaita","gajo","gala","galeri\u0301a","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavila\u0301n","gemelo","gemir","gen","ge\u0301nero","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gra\u0301fico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","gru\u0301a","grueso","grumo","grupo","guante","guapo","guardia","guerra","gui\u0301a","guin\u0303o","guion","guiso","guitarra","gusano","gustar","haber","ha\u0301bil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazan\u0303a","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","he\u0301roe","hervir","hielo","hierro","hi\u0301gado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","hu\u0301medo","humilde","humo","hundir","huraca\u0301n","hurto","icono","ideal","idioma","i\u0301dolo","iglesia","iglu\u0301","igual","ilegal","ilusio\u0301n","imagen","ima\u0301n","imitar","impar","imperio","imponer","impulso","incapaz","i\u0301ndice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","intere\u0301s","i\u0301ntimo","intuir","inu\u0301til","invierno","ira","iris","ironi\u0301a","isla","islote","jabali\u0301","jabo\u0301n","jamo\u0301n","jarabe","jardi\u0301n","jarra","jaula","jazmi\u0301n","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","ju\u0301piter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladro\u0301n","lagarto","la\u0301grima","laguna","laico","lamer","la\u0301mina","la\u0301mpara","lana","lancha","langosta","lanza","la\u0301piz","largo","larva","la\u0301stima","lata","la\u0301tex","latir","laurel","lavar","lazo","leal","leccio\u0301n","leche","lector","leer","legio\u0301n","legumbre","lejano","lengua","lento","len\u0303a","leo\u0301n","leopardo","lesio\u0301n","letal","letra","leve","leyenda","libertad","libro","licor","li\u0301der","lidiar","lienzo","liga","ligero","lima","li\u0301mite","limo\u0301n","limpio","lince","lindo","li\u0301nea","lingote","lino","linterna","li\u0301quido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","locio\u0301n","loco","locura","lo\u0301gica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","mai\u0301z","maldad","maleta","malla","malo","mama\u0301","mambo","mamut","manco","mando","manejar","manga","maniqui\u0301","manjar","mano","manso","manta","man\u0303ana","mapa","ma\u0301quina","mar","marco","marea","marfil","margen","marido","ma\u0301rmol","marro\u0301n","martes","marzo","masa","ma\u0301scara","masivo","matar","materia","matiz","matriz","ma\u0301ximo","mayor","mazorca","mecha","medalla","medio","me\u0301dula","mejilla","mejor","melena","melo\u0301n","memoria","menor","mensaje","mente","menu\u0301","mercado","merengue","me\u0301rito","mes","meso\u0301n","meta","meter","me\u0301todo","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millo\u0301n","mimo","mina","minero","mi\u0301nimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","mocio\u0301n","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","mon\u0303o","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","mo\u0301vil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","mun\u0303eca","mural","muro","mu\u0301sculo","museo","musgo","mu\u0301sica","muslo","na\u0301car","nacio\u0301n","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","na\u0301usea","naval","nave","navidad","necio","ne\u0301ctar","negar","negocio","negro","neo\u0301n","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","nin\u0303ez","nin\u0303o","ni\u0301tido","nivel","nobleza","noche","no\u0301mina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","nu\u0301cleo","nudillo","nudo","nuera","nueve","nuez","nulo","nu\u0301mero","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","oce\u0301ano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oi\u0301do","oi\u0301r","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opcio\u0301n","o\u0301pera","opinar","oponer","optar","o\u0301ptica","opuesto","oracio\u0301n","orador","oral","o\u0301rbita","orca","orden","oreja","o\u0301rgano","orgi\u0301a","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadi\u0301a","oscuro","osezno","oso","ostra","oton\u0303o","otro","oveja","o\u0301vulo","o\u0301xido","oxi\u0301geno","oyente","ozono","pacto","padre","paella","pa\u0301gina","pago","pai\u0301s","pa\u0301jaro","palabra","palco","paleta","pa\u0301lido","palma","paloma","palpar","pan","panal","pa\u0301nico","pantera","pan\u0303uelo","papa\u0301","papel","papilla","paquete","parar","parcela","pared","parir","paro","pa\u0301rpado","parque","pa\u0301rrafo","parte","pasar","paseo","pasio\u0301n","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peato\u0301n","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldan\u0303o","pelea","peligro","pellejo","pelo","peluca","pena","pensar","pen\u0303o\u0301n","peo\u0301n","peor","pepino","pequen\u0303o","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pe\u0301simo","pestan\u0303a","pe\u0301talo","petro\u0301leo","pez","pezun\u0303a","picar","picho\u0301n","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","pin\u0303a","piojo","pipa","pirata","pisar","piscina","piso","pista","pito\u0301n","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesi\u0301a","poeta","polen","polici\u0301a","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porcio\u0301n","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","pri\u0301ncipe","prisio\u0301n","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","pro\u0301ximo","prueba","pu\u0301blico","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmo\u0301n","pulpo","pulso","puma","punto","pun\u0303al","pun\u0303o","pupa","pupila","pure\u0301","quedar","queja","quemar","querer","queso","quieto","qui\u0301mica","quince","quitar","ra\u0301bano","rabia","rabo","racio\u0301n","radical","rai\u0301z","rama","rampa","rancho","rango","rapaz","ra\u0301pido","rapto","rasgo","raspa","rato","rayo","raza","razo\u0301n","reaccio\u0301n","realidad","reban\u0303o","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refra\u0301n","refugio","regalo","regir","regla","regreso","rehe\u0301n","reino","rei\u0301r","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","reve\u0301s","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","ri\u0301gido","rigor","rinco\u0301n","rin\u0303o\u0301n","ri\u0301o","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubi\u0301","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sa\u0301bado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmo\u0301n","salo\u0301n","salsa","salto","salud","salvar","samba","sancio\u0301n","sandi\u0301a","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sarte\u0301n","sastre","sata\u0301n","sauna","saxofo\u0301n","seccio\u0301n","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","sen\u0303al","sen\u0303or","separar","sepia","sequi\u0301a","ser","serie","sermo\u0301n","servir","sesenta","sesio\u0301n","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","si\u0301laba","silbar","silencio","silla","si\u0301mbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","so\u0301lido","soltar","solucio\u0301n","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","soste\u0301n","so\u0301tano","suave","subir","suceso","sudor","suegra","suelo","suen\u0303o","suerte","sufrir","sujeto","sulta\u0301n","sumar","superar","suplir","suponer","supremo","sur","surco","suren\u0303o","surgir","susto","sutil","tabaco","tabique","tabla","tabu\u0301","taco","tacto","tajo","talar","talco","talento","talla","talo\u0301n","taman\u0303o","tambor","tango","tanque","tapa","tapete","tapia","tapo\u0301n","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazo\u0301n","teatro","techo","tecla","te\u0301cnica","tejado","tejer","tejido","tela","tele\u0301fono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teori\u0301a","terapia","terco","te\u0301rmino","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburo\u0301n","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","ti\u0301mido","timo","tinta","ti\u0301o","ti\u0301pico","tipo","tira","tiro\u0301n","tita\u0301n","ti\u0301tere","ti\u0301tulo","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","to\u0301rax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","to\u0301xico","trabajo","tractor","traer","tra\u0301fico","trago","traje","tramo","trance","trato","trauma","trazar","tre\u0301bol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tuberi\u0301a","tubo","tuerto","tumba","tumor","tu\u0301nel","tu\u0301nica","turbina","turismo","turno","tutor","ubicar","u\u0301lcera","umbral","unidad","unir","universo","uno","untar","un\u0303a","urbano","urbe","urgente","urna","usar","usuario","u\u0301til","utopi\u0301a","uva","vaca","vaci\u0301o","vacuna","vagar","vago","vaina","vajilla","vale","va\u0301lido","valle","valor","va\u0301lvula","vampiro","vara","variar","varo\u0301n","vaso","vecino","vector","vehi\u0301culo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vi\u0301a","viaje","vibrar","vicio","vi\u0301ctima","vida","vi\u0301deo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","vin\u0303edo","violi\u0301n","viral","virgo","virtud","visor","vi\u0301spera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volca\u0301n","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"];D.space=" ";var q=Be(8764).Buffer;class se extends V{static{i(this,"Bip39")}constructor(e,t,n){super({mnemonic:e,seed:t,wordlist:n}),this.Wordlist=s,this.es=D,this.jp=c}setLang(e){switch(e){default:case"en":this.Wordlist=s;break;case"es":this.Wordlist=D;break;case"jp":this.Wordlist=c;break}}toBw(e){if(e||(e=new w),this.mnemonic){const t=q.from(this.mnemonic);e.writeVarIntNum(t.length),e.write(t)}else e.writeVarIntNum(0);return this.seed?(e.writeVarIntNum(this.seed.length),e.write(this.seed)):e.writeVarIntNum(0),e}fromBr(e){const t=e.readVarIntNum();t>0&&(this.mnemonic=e.read(t).toString());const n=e.readVarIntNum();return n>0&&(this.seed=e.read(n)),this}fromRandom(e){if(e||(e=128),e%32!==0)throw new Error("bits must be multiple of 32");if(e<128)throw new Error("bits must be at least 128");const t=ye.getRandomBuffer(e/8);return this.entropy2Mnemonic(t),this.mnemonic2Seed(),this}static fromRandom(e){return new this().fromRandom(e)}async asyncFromRandom(e){e||(e=128);const t=ye.getRandomBuffer(e/8);let n=await r.asyncObjectMethod(this,"entropy2Mnemonic",[t]);const x=new se().fromFastBuffer(n.resbuf);return n=await r.asyncObjectMethod(x,"mnemonic2Seed",[]),this.fromFastBuffer(n.resbuf)}static asyncFromRandom(e){return new this().asyncFromRandom(e)}fromEntropy(e){return this.entropy2Mnemonic(e),this}static fromEntropy(e){return new this().fromEntropy(e)}async asyncFromEntropy(e){const t=await r.asyncObjectMethod(this,"fromEntropy",[e]);return this.fromFastBuffer(t.resbuf)}static asyncFromEntropy(e){return new this().asyncFromEntropy(e)}fromString(e){return this.mnemonic=e.trim(),this}toString(){return this.mnemonic}toSeed(e){return this.mnemonic2Seed(e),this.seed}async asyncToSeed(e){e===void 0&&(e="");const t=[e];return(await r.asyncObjectMethod(this,"toSeed",t)).resbuf}entropy2Mnemonic(e){if(!q.isBuffer(e)||e.length<128/8)throw new Error("Entropy is less than 128 bits. It must be 128 bits or more.");const t=h.sha256(e);let n="";const x=e.length*8;for(let ee=0;ee<e.length;ee++)n=n+("00000000"+e[ee].toString(2)).slice(-8);let T=t[0].toString(2);if(T=("00000000"+T).slice(-8).slice(0,x/32),n=n+T,n.length%11!==0)throw new Error("internal error - entropy not an even multiple of 11 bits - "+n.length);let W="";for(let ee=0;ee<n.length/11;ee++){W!==""&&(W=W+this.Wordlist.space);const pe=parseInt(n.slice(ee*11,(ee+1)*11),2);W=W+this.Wordlist[pe]}return this.mnemonic=W,this}check(){const t=this.mnemonic.split(this.Wordlist.space);let n="";for(let Re=0;Re<t.length;Re++){const Te=this.Wordlist.indexOf(t[Re]);if(Te<0)return!1;n=n+("00000000000"+Te.toString(2)).slice(-11)}if(n.length%11!==0)throw new Error("internal error - entropy not an even multiple of 11 bits - "+n.length);const x=n.length/33,T=n.slice(-x),W=n.slice(0,n.length-x),ee=q.alloc(W.length/8);for(let Re=0;Re<W.length/8;Re++)ee.writeUInt8(parseInt(n.slice(Re*8,(Re+1)*8),2),Re);let be=h.sha256(ee)[0].toString(2);return be=("00000000"+be).slice(-8).slice(0,x),be===T}mnemonic2Seed(e=""){let t=this.mnemonic;if(!this.check())throw new Error("Mnemonic does not pass the check - was the mnemonic typed incorrectly? Are there extra spaces?");if(typeof e!="string")throw new Error("passphrase must be a string or undefined");t=t.normalize("NFKD"),e=e.normalize("NFKD");const n=q.from(t),x=q.concat([q.from("mnemonic"),q.from(e)]);return this.seed=B.pbkdf2Sync(n,x,2048,64,"sha512"),this}isValid(e=""){let t;try{t=!!this.mnemonic2Seed(e)}catch{t=!1}return t}static isValid(e,t=""){return new se(e).isValid(t)}}class ne extends V{static{i(this,"KeyPair")}constructor(e,t,n=_e){super({privKey:e,pubKey:t}),this.PrivKey=n}fromJSON(e){return e.privKey&&(this.privKey=this.PrivKey.fromJSON(e.privKey)),e.pubKey&&(this.pubKey=K.fromJSON(e.pubKey)),this}fromBr(e){const t=e.readUInt8();t>0&&(this.privKey=new this.PrivKey().fromFastBuffer(e.read(t)));const n=e.readUInt8();return n>0&&(this.pubKey=new K().fromFastBuffer(e.read(n))),this}toBw(e){if(e||(e=new w),this.privKey){const t=this.privKey.toFastBuffer();e.writeUInt8(t.length),e.write(t)}else e.writeUInt8(0);if(this.pubKey){const t=this.pubKey.toFastBuffer();e.writeUInt8(t.length),e.write(t)}else e.writeUInt8(0);return e}fromString(e){return this.fromJSON(JSON.parse(e))}toString(){return JSON.stringify(this.toJSON())}toPublic(){const e=new ne().fromObject(this);return e.privKey=void 0,e}fromPrivKey(e){return this.privKey=e,this.pubKey=new K().fromPrivKey(e),this}static fromPrivKey(e){return new this().fromPrivKey(e)}async asyncFromPrivKey(e){return this.privKey=e,this.pubKey=await new K().asyncFromPrivKey(e),this}static asyncFromPrivKey(e){return new this().asyncFromPrivKey(e)}fromRandom(){return this.privKey=new this.PrivKey().fromRandom(),this.pubKey=new K().fromPrivKey(this.privKey),this}static fromRandom(){return new this().fromRandom()}async asyncFromRandom(){return this.privKey=new this.PrivKey().fromRandom(),this.asyncFromPrivKey(this.privKey)}static asyncFromRandom(){return new this().asyncFromRandom()}}ne.Mainnet=class extends ne{constructor(M,e){super(M,e,_e.Mainnet)}},ne.Testnet=class extends ne{constructor(M,e){super(M,e,_e.Testnet)}};var Ie=Be(8764).Buffer;class De extends V{static{i(this,"Ecdsa")}constructor(e,t,n,x,T,W){super({sig:e,keyPair:t,hashBuf:n,k:x,endian:T,verified:W})}toJSON(){return{sig:this.sig?this.sig.toString():void 0,keyPair:this.keyPair?this.keyPair.toBuffer().toString("hex"):void 0,hashBuf:this.hashBuf?this.hashBuf.toString("hex"):void 0,k:this.k?this.k.toString():void 0,endian:this.endian,verified:this.verified}}fromJSON(e){return this.sig=e.sig?new me().fromString(e.sig):void 0,this.keyPair=e.keyPair?new ne().fromBuffer(Ie.from(e.keyPair,"hex")):void 0,this.hashBuf=e.hashBuf?Ie.from(e.hashBuf,"hex"):void 0,this.k=e.k?new l().fromString(e.k):void 0,this.endian=e.endian,this.verified=e.verified,this}toBuffer(){const e=JSON.stringify(this.toJSON());return Ie.from(e)}fromBuffer(e){const t=JSON.parse(e.toString());return this.fromJSON(t)}calcrecovery(){for(let e=0;e<4;e++){let t;this.sig.recovery=e;try{t=this.sig2PubKey()}catch{continue}if(t.point.eq(this.keyPair.pubKey.point)){const n=this.keyPair.pubKey.compressed;return this.sig.compressed=this.keyPair.pubKey.compressed===void 0?!0:n,this}}throw this.sig.recovery=void 0,new Error("Unable to find valid recovery factor")}async asyncCalcrecovery(){const e=await r.asyncObjectMethod(this,"calcrecovery",[]);return this.fromFastBuffer(e.resbuf)}static calcrecovery(e,t,n){return new De().fromObject({sig:e,keyPair:new ne().fromObject({pubKey:t}),hashBuf:n}).calcrecovery().sig}static async asyncCalcrecovery(e,t,n){const x=await r.asyncClassMethod(De,"calcrecovery",[e,t,n]);return new me().fromFastBuffer(x.resbuf)}fromString(e){const t=JSON.parse(e);return t.hashBuf&&(this.hashBuf=Ie.from(t.hashBuf,"hex")),t.keyPair&&(this.keyPair=new ne().fromString(t.keyPair)),t.sig&&(this.sig=new me().fromString(t.sig)),t.k&&(this.k=new l(t.k,10)),this}randomK(){const e=he.getN();let t;do t=new l().fromBuffer(ye.getRandomBuffer(32));while(!(t.lt(e)&&t.gt(0)));return this.k=t,this}deterministicK(e){let t=Ie.alloc(32);t.fill(1);let n=Ie.alloc(32);n.fill(0);const x=this.keyPair.privKey.bn.toBuffer({size:32});n=h.sha256Hmac(Ie.concat([t,Ie.from([0]),x,this.hashBuf]),n),t=h.sha256Hmac(t,n),n=h.sha256Hmac(Ie.concat([t,Ie.from([1]),x,this.hashBuf]),n),t=h.sha256Hmac(t,n),t=h.sha256Hmac(t,n);let T=new l().fromBuffer(t);const W=he.getN();e===void 0&&(e=0);for(let ee=0;ee<e||!(T.lt(W)&&T.gt(0));ee++)n=h.sha256Hmac(Ie.concat([t,Ie.from([0])]),n),t=h.sha256Hmac(t,n),t=h.sha256Hmac(t,n),T=new l().fromBuffer(t);return this.k=T,this}sig2PubKey(){const e=this.sig.recovery;if(!(e===0||e===1||e===2||e===3))throw new Error("i must be equal to 0, 1, 2, or 3");const t=new l().fromBuffer(this.hashBuf),n=this.sig.r,x=this.sig.s,T=e&1,W=e>>1,ee=he.getN(),pe=he.getG(),be=W?n.add(ee):n,Re=he.fromX(T,be);let Te="";try{Re.mul(ee)}catch(Me){Te=Me.message}if(Te!=="point mul out of range")throw new Error("nR is not a valid curve point");const He=t.neg().umod(ee),ot=n.invm(ee),ce=Re.mul(x).add(pe.mul(He)).mul(ot),ve=new K(ce);return ve.compressed=this.sig.compressed,ve.validate(),ve}async asyncSig2PubKey(){const e=await r.asyncObjectMethod(this,"sig2PubKey",[]);return K.fromFastBuffer(e.resbuf)}static sig2PubKey(e,t){return new De().fromObject({sig:e,hashBuf:t}).sig2PubKey()}static async asyncSig2PubKey(e,t){return await new De().fromObject({sig:e,hashBuf:t}).asyncSig2PubKey()}verifyStr(e=!0){if(!Ie.isBuffer(this.hashBuf)||this.hashBuf.length!==32)return"hashBuf must be a 32 byte buffer";try{this.keyPair.pubKey.validate()}catch(Re){return"Invalid pubKey: "+Re}const t=this.sig.r,n=this.sig.s;if(!(t.gt(0)&&t.lt(he.getN()))||!(n.gt(0)&&n.lt(he.getN())))return"r and s not in range";if(e&&!this.sig.hasLowS())return"s is too high and does not satisfy low s contraint - see bip 62";const x=new l().fromBuffer(this.hashBuf,this.endian?{endian:this.endian}:void 0),T=he.getN(),W=n.invm(T),ee=W.mul(x).mod(T),pe=W.mul(t).mod(T),be=he.getG().mulAdd(ee,this.keyPair.pubKey.point,pe);return be.isInfinity()?"p is infinity":be.getX().mod(T).cmp(t)!==0?"Invalid signature":!1}sign(){const e=this.endian==="little"?new g(this.hashBuf).readReverse():this.hashBuf,t=this.keyPair.privKey,n=t.bn;if(!e||!t||!n)throw new Error("invalid parameters");if(!Ie.isBuffer(e)||e.length!==32)throw new Error("hashBuf must be a 32 byte buffer");const x=he.getN(),T=he.getG(),W=new l().fromBuffer(e);let ee=0,pe,be,Re,Te;do(!this.k||ee>0)&&this.deterministicK(ee),ee++,pe=this.k,be=T.mul(pe),Re=be.getX().mod(x),Te=pe.invm(x).mul(W.add(n.mul(Re))).mod(x);while(Re.cmp(0)<=0||Te.cmp(0)<=0);return Te.gt(new l().fromBuffer(Ie.from("7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0","hex")))&&(Te=he.getN().sub(Te)),this.sig=me.fromObject({r:Re,s:Te,compressed:this.keyPair.pubKey.compressed}),this}async asyncSign(){const e=await r.asyncObjectMethod(this,"sign",[]);return this.fromFastBuffer(e.resbuf)}signRandomK(){return this.randomK(),this.sign()}toString(){const e={};return this.hashBuf&&(e.hashBuf=this.hashBuf.toString("hex")),this.keyPair&&(e.keyPair=this.keyPair.toString()),this.sig&&(e.sig=this.sig.toString()),this.k&&(e.k=this.k.toString()),JSON.stringify(e)}verify(e=!0){return this.verifyStr(e)?this.verified=!1:this.verified=!0,this}async asyncVerify(e=!0){const t=await r.asyncObjectMethod(this,"verify",[e]);return this.fromFastBuffer(t.resbuf)}static sign(e,t,n){return new De().fromObject({hashBuf:e,endian:n,keyPair:t}).sign().sig}static async asyncSign(e,t,n){const x=new De().fromObject({hashBuf:e,endian:n,keyPair:t});return await x.asyncSign(),x.sig}static verify(e,t,n,x,T=!0){return new De().fromObject({hashBuf:e,endian:x,sig:t,keyPair:new ne().fromObject({pubKey:n})}).verify(T).verified}static async asyncVerify(e,t,n,x,T=!0){const W=new De().fromObject({hashBuf:e,endian:x,sig:t,keyPair:new ne().fromObject({pubKey:n})});return await W.asyncVerify(T),W.verified}}var Le=Be(8764).Buffer;class Ne extends V{static{i(this,"Bsm")}constructor(e,t,n,x,T){super({messageBuf:e,keyPair:t,sig:n,address:x,verified:T})}static magicHash(e){if(!Le.isBuffer(e))throw new Error("messageBuf must be a buffer");const t=new w;t.writeVarIntNum(Ne.magicBytes.length),t.write(Ne.magicBytes),t.writeVarIntNum(e.length),t.write(e);const n=t.toBuffer();return h.sha256Sha256(n)}static async asyncMagicHash(e){const t=[e];return(await r.asyncClassMethod(Ne,"magicHash",t)).resbuf}static sign(e,t){const n=new Ne(e,t);return n.sign(),n.sig.toCompact().toString("base64")}static async asyncSign(e,t){const n=[e,t],x=await r.asyncClassMethod(Ne,"sign",n);return JSON.parse(x.resbuf.toString())}static verify(e,t,n){const x=Le.from(t,"base64"),T=new Ne;return T.messageBuf=e,T.sig=new me().fromCompact(x),T.address=n,T.verify().verified}static async asyncVerify(e,t,n){const x=[e,t,n],T=await r.asyncClassMethod(Ne,"verify",x);return JSON.parse(T.resbuf.toString())}sign(){const e=Ne.magicHash(this.messageBuf),t=new De().fromObject({hashBuf:e,keyPair:this.keyPair});return t.sign(),t.calcrecovery(),this.sig=t.sig,this}verify(){const e=Ne.magicHash(this.messageBuf),t=new De;if(t.hashBuf=e,t.sig=this.sig,t.keyPair=new ne,t.keyPair.pubKey=t.sig2PubKey(),!t.verify())return this.verified=!1,this;const n=new Ce().fromPubKey(t.keyPair.pubKey,void 0,this.sig.compressed);return oe(n.hashBuf,this.address.hashBuf)?this.verified=!0:this.verified=!1,this}}Ne.magicBytes=Le.from(`Bitcoin Signed Message:
|
|
7
|
+
Use Chrome, Firefox or Internet Explorer 11`)}i(k,"oldBrowser");var d=A(9509).Buffer,b=A.g.crypto||A.g.msCrypto;b&&b.getRandomValues?re.exports=m:re.exports=k;function m(B,P){if(B>z)throw new RangeError("requested too many random bytes");var p=d.allocUnsafe(B);if(B>0)if(B>Y)for(var a=0;a<B;a+=Y)b.getRandomValues(p.slice(a,a+Y));else b.getRandomValues(p);return typeof P=="function"?_.nextTick(function(){P(null,p)}):p}i(m,"randomBytes")},4281:re=>{"use strict";function $(b,m){b.prototype=Object.create(m.prototype),b.prototype.constructor=b,b.__proto__=m}i($,"_inheritsLoose");var A={};function _(b,m,B){B||(B=Error);function P(a,l,u){return typeof m=="string"?m:m(a,l,u)}i(P,"getMessage");var p=function(a){$(l,a);function l(u,v,y){return a.call(this,P(u,v,y))||this}return i(l,"NodeError"),l}(B);p.prototype.name=B.name,p.prototype.code=b,A[b]=p}i(_,"createErrorType");function Y(b,m){if(Array.isArray(b)){var B=b.length;return b=b.map(function(P){return String(P)}),B>2?"one of ".concat(m," ").concat(b.slice(0,B-1).join(", "),", or ")+b[B-1]:B===2?"one of ".concat(m," ").concat(b[0]," or ").concat(b[1]):"of ".concat(m," ").concat(b[0])}else return"of ".concat(m," ").concat(String(b))}i(Y,"oneOf");function z(b,m,B){return b.substr(!B||B<0?0:+B,m.length)===m}i(z,"startsWith");function k(b,m,B){return(B===void 0||B>b.length)&&(B=b.length),b.substring(B-m.length,B)===m}i(k,"endsWith");function d(b,m,B){return typeof B!="number"&&(B=0),B+m.length>b.length?!1:b.indexOf(m,B)!==-1}i(d,"includes"),_("ERR_INVALID_OPT_VALUE",function(b,m){return'The value "'+m+'" is invalid for option "'+b+'"'},TypeError),_("ERR_INVALID_ARG_TYPE",function(b,m,B){var P;typeof m=="string"&&z(m,"not ")?(P="must not be",m=m.replace(/^not /,"")):P="must be";var p;if(k(b," argument"))p="The ".concat(b," ").concat(P," ").concat(Y(m,"type"));else{var a=d(b,".")?"property":"argument";p='The "'.concat(b,'" ').concat(a," ").concat(P," ").concat(Y(m,"type"))}return p+=". Received type ".concat(typeof B),p},TypeError),_("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),_("ERR_METHOD_NOT_IMPLEMENTED",function(b){return"The "+b+" method is not implemented"}),_("ERR_STREAM_PREMATURE_CLOSE","Premature close"),_("ERR_STREAM_DESTROYED",function(b){return"Cannot call "+b+" after a stream was destroyed"}),_("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),_("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),_("ERR_STREAM_WRITE_AFTER_END","write after end"),_("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),_("ERR_UNKNOWN_ENCODING",function(b){return"Unknown encoding: "+b},TypeError),_("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),re.exports.q=A},6753:(re,$,A)=>{"use strict";var _=A(4155),Y=Object.keys||function(a){var l=[];for(var u in a)l.push(u);return l};re.exports=B;var z=A(9481),k=A(4229);A(5717)(B,z);for(var d=Y(k.prototype),b=0;b<d.length;b++){var m=d[b];B.prototype[m]||(B.prototype[m]=k.prototype[m])}function B(a){if(!(this instanceof B))return new B(a);z.call(this,a),k.call(this,a),this.allowHalfOpen=!0,a&&(a.readable===!1&&(this.readable=!1),a.writable===!1&&(this.writable=!1),a.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",P)))}i(B,"Duplex"),Object.defineProperty(B.prototype,"writableHighWaterMark",{enumerable:!1,get:i(function(){return this._writableState.highWaterMark},"get")}),Object.defineProperty(B.prototype,"writableBuffer",{enumerable:!1,get:i(function(){return this._writableState&&this._writableState.getBuffer()},"get")}),Object.defineProperty(B.prototype,"writableLength",{enumerable:!1,get:i(function(){return this._writableState.length},"get")});function P(){this._writableState.ended||_.nextTick(p,this)}i(P,"onend");function p(a){a.end()}i(p,"onEndNT"),Object.defineProperty(B.prototype,"destroyed",{enumerable:!1,get:i(function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},"get"),set:i(function(l){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=l,this._writableState.destroyed=l)},"set")})},2725:(re,$,A)=>{"use strict";re.exports=Y;var _=A(4605);A(5717)(Y,_);function Y(z){if(!(this instanceof Y))return new Y(z);_.call(this,z)}i(Y,"PassThrough"),Y.prototype._transform=function(z,k,d){d(null,z)}},9481:(re,$,A)=>{"use strict";var _=A(4155);re.exports=le;var Y;le.ReadableState=ge;var z=A(7187).EventEmitter,k=i(function(j,fe){return j.listeners(fe).length},"EElistenerCount"),d=A(2503),b=A(8764).Buffer,m=(typeof A.g<"u"?A.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function B(K){return b.from(K)}i(B,"_uint8ArrayToBuffer");function P(K){return b.isBuffer(K)||K instanceof m}i(P,"_isUint8Array");var p=A(4616),a;p&&p.debuglog?a=p.debuglog("stream"):a=i(function(){},"debug");var l=A(7327),u=A(1195),v=A(2457),y=v.getHighWaterMark,g=A(4281).q,R=g.ERR_INVALID_ARG_TYPE,w=g.ERR_STREAM_PUSH_AFTER_EOF,O=g.ERR_METHOD_NOT_IMPLEMENTED,C=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,L,V,Q;A(5717)(le,d);var ie=u.errorOrDestroy,ae=["error","close","destroy","pause","resume"];function oe(K,j,fe){if(typeof K.prependListener=="function")return K.prependListener(j,fe);!K._events||!K._events[j]?K.on(j,fe):Array.isArray(K._events[j])?K._events[j].unshift(fe):K._events[j]=[fe,K._events[j]]}i(oe,"prependListener");function ge(K,j,fe){Y=Y||A(6753),K=K||{},typeof fe!="boolean"&&(fe=j instanceof Y),this.objectMode=!!K.objectMode,fe&&(this.objectMode=this.objectMode||!!K.readableObjectMode),this.highWaterMark=y(this,K,"readableHighWaterMark",fe),this.buffer=new l,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=K.emitClose!==!1,this.autoDestroy=!!K.autoDestroy,this.destroyed=!1,this.defaultEncoding=K.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,K.encoding&&(L||(L=A(2553).s),this.decoder=new L(K.encoding),this.encoding=K.encoding)}i(ge,"ReadableState");function le(K){if(Y=Y||A(6753),!(this instanceof le))return new le(K);var j=this instanceof Y;this._readableState=new ge(K,this,j),this.readable=!0,K&&(typeof K.read=="function"&&(this._read=K.read),typeof K.destroy=="function"&&(this._destroy=K.destroy)),d.call(this)}i(le,"Readable"),Object.defineProperty(le.prototype,"destroyed",{enumerable:!1,get:i(function(){return this._readableState===void 0?!1:this._readableState.destroyed},"get"),set:i(function(j){this._readableState&&(this._readableState.destroyed=j)},"set")}),le.prototype.destroy=u.destroy,le.prototype._undestroy=u.undestroy,le.prototype._destroy=function(K,j){j(K)},le.prototype.push=function(K,j){var fe=this._readableState,ye;return fe.objectMode?ye=!0:typeof K=="string"&&(j=j||fe.defaultEncoding,j!==fe.encoding&&(K=b.from(K,j),j=""),ye=!0),te(this,K,j,!1,ye)},le.prototype.unshift=function(K){return te(this,K,null,!0,!1)};function te(K,j,fe,ye,Ae){a("readableAddChunk",j);var _e=K._readableState;if(j===null)_e.reading=!1,N(K,_e);else{var ke;if(Ae||(ke=r(_e,j)),ke)ie(K,ke);else if(_e.objectMode||j&&j.length>0)if(typeof j!="string"&&!_e.objectMode&&Object.getPrototypeOf(j)!==b.prototype&&(j=B(j)),ye)_e.endEmitted?ie(K,new C):E(K,_e,j,!0);else if(_e.ended)ie(K,new w);else{if(_e.destroyed)return!1;_e.reading=!1,_e.decoder&&!fe?(j=_e.decoder.write(j),_e.objectMode||j.length!==0?E(K,_e,j,!1):F(K,_e)):E(K,_e,j,!1)}else ye||(_e.reading=!1,F(K,_e))}return!_e.ended&&(_e.length<_e.highWaterMark||_e.length===0)}i(te,"readableAddChunk");function E(K,j,fe,ye){j.flowing&&j.length===0&&!j.sync?(j.awaitDrain=0,K.emit("data",fe)):(j.length+=j.objectMode?1:fe.length,ye?j.buffer.unshift(fe):j.buffer.push(fe),j.needReadable&&G(K)),F(K,j)}i(E,"addChunk");function r(K,j){var fe;return!P(j)&&typeof j!="string"&&j!==void 0&&!K.objectMode&&(fe=new R("chunk",["string","Buffer","Uint8Array"],j)),fe}i(r,"chunkInvalid"),le.prototype.isPaused=function(){return this._readableState.flowing===!1},le.prototype.setEncoding=function(K){L||(L=A(2553).s);var j=new L(K);this._readableState.decoder=j,this._readableState.encoding=this._readableState.decoder.encoding;for(var fe=this._readableState.buffer.head,ye="";fe!==null;)ye+=j.write(fe.data),fe=fe.next;return this._readableState.buffer.clear(),ye!==""&&this._readableState.buffer.push(ye),this._readableState.length=ye.length,this};var o=1073741824;function h(K){return K>=o?K=o:(K--,K|=K>>>1,K|=K>>>2,K|=K>>>4,K|=K>>>8,K|=K>>>16,K++),K}i(h,"computeNewHighWaterMark");function S(K,j){return K<=0||j.length===0&&j.ended?0:j.objectMode?1:K!==K?j.flowing&&j.length?j.buffer.head.data.length:j.length:(K>j.highWaterMark&&(j.highWaterMark=h(K)),K<=j.length?K:j.ended?j.length:(j.needReadable=!0,0))}i(S,"howMuchToRead"),le.prototype.read=function(K){a("read",K),K=parseInt(K,10);var j=this._readableState,fe=K;if(K!==0&&(j.emittedReadable=!1),K===0&&j.needReadable&&((j.highWaterMark!==0?j.length>=j.highWaterMark:j.length>0)||j.ended))return a("read: emitReadable",j.length,j.ended),j.length===0&&j.ended?ue(this):G(this),null;if(K=S(K,j),K===0&&j.ended)return j.length===0&&ue(this),null;var ye=j.needReadable;a("need readable",ye),(j.length===0||j.length-K<j.highWaterMark)&&(ye=!0,a("length less than watermark",ye)),j.ended||j.reading?(ye=!1,a("reading or ended",ye)):ye&&(a("do read"),j.reading=!0,j.sync=!0,j.length===0&&(j.needReadable=!0),this._read(j.highWaterMark),j.sync=!1,j.reading||(K=S(fe,j)));var Ae;return K>0?Ae=Z(K,j):Ae=null,Ae===null?(j.needReadable=j.length<=j.highWaterMark,K=0):(j.length-=K,j.awaitDrain=0),j.length===0&&(j.ended||(j.needReadable=!0),fe!==K&&j.ended&&ue(this)),Ae!==null&&this.emit("data",Ae),Ae};function N(K,j){if(a("onEofChunk"),!j.ended){if(j.decoder){var fe=j.decoder.end();fe&&fe.length&&(j.buffer.push(fe),j.length+=j.objectMode?1:fe.length)}j.ended=!0,j.sync?G(K):(j.needReadable=!1,j.emittedReadable||(j.emittedReadable=!0,J(K)))}}i(N,"onEofChunk");function G(K){var j=K._readableState;a("emitReadable",j.needReadable,j.emittedReadable),j.needReadable=!1,j.emittedReadable||(a("emitReadable",j.flowing),j.emittedReadable=!0,_.nextTick(J,K))}i(G,"emitReadable");function J(K){var j=K._readableState;a("emitReadable_",j.destroyed,j.length,j.ended),!j.destroyed&&(j.length||j.ended)&&(K.emit("readable"),j.emittedReadable=!1),j.needReadable=!j.flowing&&!j.ended&&j.length<=j.highWaterMark,X(K)}i(J,"emitReadable_");function F(K,j){j.readingMore||(j.readingMore=!0,_.nextTick(f,K,j))}i(F,"maybeReadMore");function f(K,j){for(;!j.reading&&!j.ended&&(j.length<j.highWaterMark||j.flowing&&j.length===0);){var fe=j.length;if(a("maybeReadMore read 0"),K.read(0),fe===j.length)break}j.readingMore=!1}i(f,"maybeReadMore_"),le.prototype._read=function(K){ie(this,new O("_read()"))},le.prototype.pipe=function(K,j){var fe=this,ye=this._readableState;switch(ye.pipesCount){case 0:ye.pipes=K;break;case 1:ye.pipes=[ye.pipes,K];break;default:ye.pipes.push(K);break}ye.pipesCount+=1,a("pipe count=%d opts=%j",ye.pipesCount,j);var Ae=(!j||j.end!==!1)&&K!==_.stdout&&K!==_.stderr,_e=Ae?me:c;ye.endEmitted?_.nextTick(_e):fe.once("end",_e),K.on("unpipe",ke);function ke(D,q){a("onunpipe"),D===fe&&q&&q.hasUnpiped===!1&&(q.hasUnpiped=!0,Ke())}i(ke,"onunpipe");function me(){a("onend"),K.end()}i(me,"onend");var Oe=H(fe);K.on("drain",Oe);var Pe=!1;function Ke(){a("cleanup"),K.removeListener("close",I),K.removeListener("finish",s),K.removeListener("drain",Oe),K.removeListener("error",$e),K.removeListener("unpipe",ke),fe.removeListener("end",me),fe.removeListener("end",c),fe.removeListener("data",Ce),Pe=!0,ye.awaitDrain&&(!K._writableState||K._writableState.needDrain)&&Oe()}i(Ke,"cleanup"),fe.on("data",Ce);function Ce(D){a("ondata");var q=K.write(D);a("dest.write",q),q===!1&&((ye.pipesCount===1&&ye.pipes===K||ye.pipesCount>1&&Se(ye.pipes,K)!==-1)&&!Pe&&(a("false write response, pause",ye.awaitDrain),ye.awaitDrain++),fe.pause())}i(Ce,"ondata");function $e(D){a("onerror",D),c(),K.removeListener("error",$e),k(K,"error")===0&&ie(K,D)}i($e,"onerror"),oe(K,"error",$e);function I(){K.removeListener("finish",s),c()}i(I,"onclose"),K.once("close",I);function s(){a("onfinish"),K.removeListener("close",I),c()}i(s,"onfinish"),K.once("finish",s);function c(){a("unpipe"),fe.unpipe(K)}return i(c,"unpipe"),K.emit("pipe",fe),ye.flowing||(a("pipe resume"),fe.resume()),K};function H(K){return i(function(){var fe=K._readableState;a("pipeOnDrain",fe.awaitDrain),fe.awaitDrain&&fe.awaitDrain--,fe.awaitDrain===0&&k(K,"data")&&(fe.flowing=!0,X(K))},"pipeOnDrainFunctionResult")}i(H,"pipeOnDrain"),le.prototype.unpipe=function(K){var j=this._readableState,fe={hasUnpiped:!1};if(j.pipesCount===0)return this;if(j.pipesCount===1)return K&&K!==j.pipes?this:(K||(K=j.pipes),j.pipes=null,j.pipesCount=0,j.flowing=!1,K&&K.emit("unpipe",this,fe),this);if(!K){var ye=j.pipes,Ae=j.pipesCount;j.pipes=null,j.pipesCount=0,j.flowing=!1;for(var _e=0;_e<Ae;_e++)ye[_e].emit("unpipe",this,{hasUnpiped:!1});return this}var ke=Se(j.pipes,K);return ke===-1?this:(j.pipes.splice(ke,1),j.pipesCount-=1,j.pipesCount===1&&(j.pipes=j.pipes[0]),K.emit("unpipe",this,fe),this)},le.prototype.on=function(K,j){var fe=d.prototype.on.call(this,K,j),ye=this._readableState;return K==="data"?(ye.readableListening=this.listenerCount("readable")>0,ye.flowing!==!1&&this.resume()):K==="readable"&&!ye.endEmitted&&!ye.readableListening&&(ye.readableListening=ye.needReadable=!0,ye.flowing=!1,ye.emittedReadable=!1,a("on readable",ye.length,ye.reading),ye.length?G(this):ye.reading||_.nextTick(xe,this)),fe},le.prototype.addListener=le.prototype.on,le.prototype.removeListener=function(K,j){var fe=d.prototype.removeListener.call(this,K,j);return K==="readable"&&_.nextTick(we,this),fe},le.prototype.removeAllListeners=function(K){var j=d.prototype.removeAllListeners.apply(this,arguments);return(K==="readable"||K===void 0)&&_.nextTick(we,this),j};function we(K){var j=K._readableState;j.readableListening=K.listenerCount("readable")>0,j.resumeScheduled&&!j.paused?j.flowing=!0:K.listenerCount("data")>0&&K.resume()}i(we,"updateReadableListening");function xe(K){a("readable nexttick read 0"),K.read(0)}i(xe,"nReadingNextTick"),le.prototype.resume=function(){var K=this._readableState;return K.flowing||(a("resume"),K.flowing=!K.readableListening,Ee(this,K)),K.paused=!1,this};function Ee(K,j){j.resumeScheduled||(j.resumeScheduled=!0,_.nextTick(U,K,j))}i(Ee,"resume");function U(K,j){a("resume",j.reading),j.reading||K.read(0),j.resumeScheduled=!1,K.emit("resume"),X(K),j.flowing&&!j.reading&&K.read(0)}i(U,"resume_"),le.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function X(K){var j=K._readableState;for(a("flow",j.flowing);j.flowing&&K.read()!==null;);}i(X,"flow"),le.prototype.wrap=function(K){var j=this,fe=this._readableState,ye=!1;K.on("end",function(){if(a("wrapped end"),fe.decoder&&!fe.ended){var ke=fe.decoder.end();ke&&ke.length&&j.push(ke)}j.push(null)}),K.on("data",function(ke){if(a("wrapped data"),fe.decoder&&(ke=fe.decoder.write(ke)),!(fe.objectMode&&ke==null)&&!(!fe.objectMode&&(!ke||!ke.length))){var me=j.push(ke);me||(ye=!0,K.pause())}});for(var Ae in K)this[Ae]===void 0&&typeof K[Ae]=="function"&&(this[Ae]=i(function(me){return i(function(){return K[me].apply(K,arguments)},"methodWrapReturnFunction")},"methodWrap")(Ae));for(var _e=0;_e<ae.length;_e++)K.on(ae[_e],this.emit.bind(this,ae[_e]));return this._read=function(ke){a("wrapped _read",ke),ye&&(ye=!1,K.resume())},this},typeof Symbol=="function"&&(le.prototype[Symbol.asyncIterator]=function(){return V===void 0&&(V=A(5850)),V(this)}),Object.defineProperty(le.prototype,"readableHighWaterMark",{enumerable:!1,get:i(function(){return this._readableState.highWaterMark},"get")}),Object.defineProperty(le.prototype,"readableBuffer",{enumerable:!1,get:i(function(){return this._readableState&&this._readableState.buffer},"get")}),Object.defineProperty(le.prototype,"readableFlowing",{enumerable:!1,get:i(function(){return this._readableState.flowing},"get"),set:i(function(j){this._readableState&&(this._readableState.flowing=j)},"set")}),le._fromList=Z,Object.defineProperty(le.prototype,"readableLength",{enumerable:!1,get:i(function(){return this._readableState.length},"get")});function Z(K,j){if(j.length===0)return null;var fe;return j.objectMode?fe=j.buffer.shift():!K||K>=j.length?(j.decoder?fe=j.buffer.join(""):j.buffer.length===1?fe=j.buffer.first():fe=j.buffer.concat(j.length),j.buffer.clear()):fe=j.buffer.consume(K,j.decoder),fe}i(Z,"fromList");function ue(K){var j=K._readableState;a("endReadable",j.endEmitted),j.endEmitted||(j.ended=!0,_.nextTick(he,j,K))}i(ue,"endReadable");function he(K,j){if(a("endReadableNT",K.endEmitted,K.length),!K.endEmitted&&K.length===0&&(K.endEmitted=!0,j.readable=!1,j.emit("end"),K.autoDestroy)){var fe=j._writableState;(!fe||fe.autoDestroy&&fe.finished)&&j.destroy()}}i(he,"endReadableNT"),typeof Symbol=="function"&&(le.from=function(K,j){return Q===void 0&&(Q=A(5167)),Q(le,K,j)});function Se(K,j){for(var fe=0,ye=K.length;fe<ye;fe++)if(K[fe]===j)return fe;return-1}i(Se,"indexOf")},4605:(re,$,A)=>{"use strict";re.exports=B;var _=A(4281).q,Y=_.ERR_METHOD_NOT_IMPLEMENTED,z=_.ERR_MULTIPLE_CALLBACK,k=_.ERR_TRANSFORM_ALREADY_TRANSFORMING,d=_.ERR_TRANSFORM_WITH_LENGTH_0,b=A(6753);A(5717)(B,b);function m(a,l){var u=this._transformState;u.transforming=!1;var v=u.writecb;if(v===null)return this.emit("error",new z);u.writechunk=null,u.writecb=null,l!=null&&this.push(l),v(a);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}i(m,"afterTransform");function B(a){if(!(this instanceof B))return new B(a);b.call(this,a),this._transformState={afterTransform:m.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,a&&(typeof a.transform=="function"&&(this._transform=a.transform),typeof a.flush=="function"&&(this._flush=a.flush)),this.on("prefinish",P)}i(B,"Transform");function P(){var a=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(l,u){p(a,l,u)}):p(this,null,null)}i(P,"prefinish"),B.prototype.push=function(a,l){return this._transformState.needTransform=!1,b.prototype.push.call(this,a,l)},B.prototype._transform=function(a,l,u){u(new Y("_transform()"))},B.prototype._write=function(a,l,u){var v=this._transformState;if(v.writecb=u,v.writechunk=a,v.writeencoding=l,!v.transforming){var y=this._readableState;(v.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},B.prototype._read=function(a){var l=this._transformState;l.writechunk!==null&&!l.transforming?(l.transforming=!0,this._transform(l.writechunk,l.writeencoding,l.afterTransform)):l.needTransform=!0},B.prototype._destroy=function(a,l){b.prototype._destroy.call(this,a,function(u){l(u)})};function p(a,l,u){if(l)return a.emit("error",l);if(u!=null&&a.push(u),a._writableState.length)throw new d;if(a._transformState.transforming)throw new k;return a.push(null)}i(p,"done")},4229:(re,$,A)=>{"use strict";var _=A(4155);re.exports=ge;function Y(X,Z,ue){this.chunk=X,this.encoding=Z,this.callback=ue,this.next=null}i(Y,"WriteReq");function z(X){var Z=this;this.next=null,this.entry=null,this.finish=function(){U(Z,X)}}i(z,"CorkedRequest");var k;ge.WritableState=ae;var d={deprecate:A(4927)},b=A(2503),m=A(8764).Buffer,B=(typeof A.g<"u"?A.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function P(X){return m.from(X)}i(P,"_uint8ArrayToBuffer");function p(X){return m.isBuffer(X)||X instanceof B}i(p,"_isUint8Array");var a=A(1195),l=A(2457),u=l.getHighWaterMark,v=A(4281).q,y=v.ERR_INVALID_ARG_TYPE,g=v.ERR_METHOD_NOT_IMPLEMENTED,R=v.ERR_MULTIPLE_CALLBACK,w=v.ERR_STREAM_CANNOT_PIPE,O=v.ERR_STREAM_DESTROYED,C=v.ERR_STREAM_NULL_VALUES,L=v.ERR_STREAM_WRITE_AFTER_END,V=v.ERR_UNKNOWN_ENCODING,Q=a.errorOrDestroy;A(5717)(ge,b);function ie(){}i(ie,"nop");function ae(X,Z,ue){k=k||A(6753),X=X||{},typeof ue!="boolean"&&(ue=Z instanceof k),this.objectMode=!!X.objectMode,ue&&(this.objectMode=this.objectMode||!!X.writableObjectMode),this.highWaterMark=u(this,X,"writableHighWaterMark",ue),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var he=X.decodeStrings===!1;this.decodeStrings=!he,this.defaultEncoding=X.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Se){N(Z,Se)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=X.emitClose!==!1,this.autoDestroy=!!X.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new z(this)}i(ae,"WritableState"),ae.prototype.getBuffer=i(function(){for(var Z=this.bufferedRequest,ue=[];Z;)ue.push(Z),Z=Z.next;return ue},"getBuffer"),function(){try{Object.defineProperty(ae.prototype,"buffer",{get:d.deprecate(i(function(){return this.getBuffer()},"writableStateBufferGetter"),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var oe;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(oe=Function.prototype[Symbol.hasInstance],Object.defineProperty(ge,Symbol.hasInstance,{value:i(function(Z){return oe.call(this,Z)?!0:this!==ge?!1:Z&&Z._writableState instanceof ae},"value")})):oe=i(function(Z){return Z instanceof this},"realHasInstance");function ge(X){k=k||A(6753);var Z=this instanceof k;if(!Z&&!oe.call(ge,this))return new ge(X);this._writableState=new ae(X,this,Z),this.writable=!0,X&&(typeof X.write=="function"&&(this._write=X.write),typeof X.writev=="function"&&(this._writev=X.writev),typeof X.destroy=="function"&&(this._destroy=X.destroy),typeof X.final=="function"&&(this._final=X.final)),b.call(this)}i(ge,"Writable"),ge.prototype.pipe=function(){Q(this,new w)};function le(X,Z){var ue=new L;Q(X,ue),_.nextTick(Z,ue)}i(le,"writeAfterEnd");function te(X,Z,ue,he){var Se;return ue===null?Se=new C:typeof ue!="string"&&!Z.objectMode&&(Se=new y("chunk",["string","Buffer"],ue)),Se?(Q(X,Se),_.nextTick(he,Se),!1):!0}i(te,"validChunk"),ge.prototype.write=function(X,Z,ue){var he=this._writableState,Se=!1,K=!he.objectMode&&p(X);return K&&!m.isBuffer(X)&&(X=P(X)),typeof Z=="function"&&(ue=Z,Z=null),K?Z="buffer":Z||(Z=he.defaultEncoding),typeof ue!="function"&&(ue=ie),he.ending?le(this,ue):(K||te(this,he,X,ue))&&(he.pendingcb++,Se=r(this,he,K,X,Z,ue)),Se},ge.prototype.cork=function(){this._writableState.corked++},ge.prototype.uncork=function(){var X=this._writableState;X.corked&&(X.corked--,!X.writing&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&F(this,X))},ge.prototype.setDefaultEncoding=i(function(Z){if(typeof Z=="string"&&(Z=Z.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Z+"").toLowerCase())>-1))throw new V(Z);return this._writableState.defaultEncoding=Z,this},"setDefaultEncoding"),Object.defineProperty(ge.prototype,"writableBuffer",{enumerable:!1,get:i(function(){return this._writableState&&this._writableState.getBuffer()},"get")});function E(X,Z,ue){return!X.objectMode&&X.decodeStrings!==!1&&typeof Z=="string"&&(Z=m.from(Z,ue)),Z}i(E,"decodeChunk"),Object.defineProperty(ge.prototype,"writableHighWaterMark",{enumerable:!1,get:i(function(){return this._writableState.highWaterMark},"get")});function r(X,Z,ue,he,Se,K){if(!ue){var j=E(Z,he,Se);he!==j&&(ue=!0,Se="buffer",he=j)}var fe=Z.objectMode?1:he.length;Z.length+=fe;var ye=Z.length<Z.highWaterMark;if(ye||(Z.needDrain=!0),Z.writing||Z.corked){var Ae=Z.lastBufferedRequest;Z.lastBufferedRequest={chunk:he,encoding:Se,isBuf:ue,callback:K,next:null},Ae?Ae.next=Z.lastBufferedRequest:Z.bufferedRequest=Z.lastBufferedRequest,Z.bufferedRequestCount+=1}else o(X,Z,!1,fe,he,Se,K);return ye}i(r,"writeOrBuffer");function o(X,Z,ue,he,Se,K,j){Z.writelen=he,Z.writecb=j,Z.writing=!0,Z.sync=!0,Z.destroyed?Z.onwrite(new O("write")):ue?X._writev(Se,Z.onwrite):X._write(Se,K,Z.onwrite),Z.sync=!1}i(o,"doWrite");function h(X,Z,ue,he,Se){--Z.pendingcb,ue?(_.nextTick(Se,he),_.nextTick(xe,X,Z),X._writableState.errorEmitted=!0,Q(X,he)):(Se(he),X._writableState.errorEmitted=!0,Q(X,he),xe(X,Z))}i(h,"onwriteError");function S(X){X.writing=!1,X.writecb=null,X.length-=X.writelen,X.writelen=0}i(S,"onwriteStateUpdate");function N(X,Z){var ue=X._writableState,he=ue.sync,Se=ue.writecb;if(typeof Se!="function")throw new R;if(S(ue),Z)h(X,ue,he,Z,Se);else{var K=f(ue)||X.destroyed;!K&&!ue.corked&&!ue.bufferProcessing&&ue.bufferedRequest&&F(X,ue),he?_.nextTick(G,X,ue,K,Se):G(X,ue,K,Se)}}i(N,"onwrite");function G(X,Z,ue,he){ue||J(X,Z),Z.pendingcb--,he(),xe(X,Z)}i(G,"afterWrite");function J(X,Z){Z.length===0&&Z.needDrain&&(Z.needDrain=!1,X.emit("drain"))}i(J,"onwriteDrain");function F(X,Z){Z.bufferProcessing=!0;var ue=Z.bufferedRequest;if(X._writev&&ue&&ue.next){var he=Z.bufferedRequestCount,Se=new Array(he),K=Z.corkedRequestsFree;K.entry=ue;for(var j=0,fe=!0;ue;)Se[j]=ue,ue.isBuf||(fe=!1),ue=ue.next,j+=1;Se.allBuffers=fe,o(X,Z,!0,Z.length,Se,"",K.finish),Z.pendingcb++,Z.lastBufferedRequest=null,K.next?(Z.corkedRequestsFree=K.next,K.next=null):Z.corkedRequestsFree=new z(Z),Z.bufferedRequestCount=0}else{for(;ue;){var ye=ue.chunk,Ae=ue.encoding,_e=ue.callback,ke=Z.objectMode?1:ye.length;if(o(X,Z,!1,ke,ye,Ae,_e),ue=ue.next,Z.bufferedRequestCount--,Z.writing)break}ue===null&&(Z.lastBufferedRequest=null)}Z.bufferedRequest=ue,Z.bufferProcessing=!1}i(F,"clearBuffer"),ge.prototype._write=function(X,Z,ue){ue(new g("_write()"))},ge.prototype._writev=null,ge.prototype.end=function(X,Z,ue){var he=this._writableState;return typeof X=="function"?(ue=X,X=null,Z=null):typeof Z=="function"&&(ue=Z,Z=null),X!=null&&this.write(X,Z),he.corked&&(he.corked=1,this.uncork()),he.ending||Ee(this,he,ue),this},Object.defineProperty(ge.prototype,"writableLength",{enumerable:!1,get:i(function(){return this._writableState.length},"get")});function f(X){return X.ending&&X.length===0&&X.bufferedRequest===null&&!X.finished&&!X.writing}i(f,"needFinish");function H(X,Z){X._final(function(ue){Z.pendingcb--,ue&&Q(X,ue),Z.prefinished=!0,X.emit("prefinish"),xe(X,Z)})}i(H,"callFinal");function we(X,Z){!Z.prefinished&&!Z.finalCalled&&(typeof X._final=="function"&&!Z.destroyed?(Z.pendingcb++,Z.finalCalled=!0,_.nextTick(H,X,Z)):(Z.prefinished=!0,X.emit("prefinish")))}i(we,"prefinish");function xe(X,Z){var ue=f(Z);if(ue&&(we(X,Z),Z.pendingcb===0&&(Z.finished=!0,X.emit("finish"),Z.autoDestroy))){var he=X._readableState;(!he||he.autoDestroy&&he.endEmitted)&&X.destroy()}return ue}i(xe,"finishMaybe");function Ee(X,Z,ue){Z.ending=!0,xe(X,Z),ue&&(Z.finished?_.nextTick(ue):X.once("finish",ue)),Z.ended=!0,X.writable=!1}i(Ee,"endWritable");function U(X,Z,ue){var he=X.entry;for(X.entry=null;he;){var Se=he.callback;Z.pendingcb--,Se(ue),he=he.next}Z.corkedRequestsFree.next=X}i(U,"onCorkedFinish"),Object.defineProperty(ge.prototype,"destroyed",{enumerable:!1,get:i(function(){return this._writableState===void 0?!1:this._writableState.destroyed},"get"),set:i(function(Z){this._writableState&&(this._writableState.destroyed=Z)},"set")}),ge.prototype.destroy=a.destroy,ge.prototype._undestroy=a.undestroy,ge.prototype._destroy=function(X,Z){Z(X)}},5850:(re,$,A)=>{"use strict";var _=A(4155),Y;function z(L,V,Q){return V=k(V),V in L?Object.defineProperty(L,V,{value:Q,enumerable:!0,configurable:!0,writable:!0}):L[V]=Q,L}i(z,"_defineProperty");function k(L){var V=d(L,"string");return typeof V=="symbol"?V:String(V)}i(k,"_toPropertyKey");function d(L,V){if(typeof L!="object"||L===null)return L;var Q=L[Symbol.toPrimitive];if(Q!==void 0){var ie=Q.call(L,V||"default");if(typeof ie!="object")return ie;throw new TypeError("@@toPrimitive must return a primitive value.")}return(V==="string"?String:Number)(L)}i(d,"_toPrimitive");var b=A(8610),m=Symbol("lastResolve"),B=Symbol("lastReject"),P=Symbol("error"),p=Symbol("ended"),a=Symbol("lastPromise"),l=Symbol("handlePromise"),u=Symbol("stream");function v(L,V){return{value:L,done:V}}i(v,"createIterResult");function y(L){var V=L[m];if(V!==null){var Q=L[u].read();Q!==null&&(L[a]=null,L[m]=null,L[B]=null,V(v(Q,!1)))}}i(y,"readAndResolve");function g(L){_.nextTick(y,L)}i(g,"onReadable");function R(L,V){return function(Q,ie){L.then(function(){if(V[p]){Q(v(void 0,!0));return}V[l](Q,ie)},ie)}}i(R,"wrapForNext");var w=Object.getPrototypeOf(function(){}),O=Object.setPrototypeOf((Y={get stream(){return this[u]},next:i(function(){var V=this,Q=this[P];if(Q!==null)return Promise.reject(Q);if(this[p])return Promise.resolve(v(void 0,!0));if(this[u].destroyed)return new Promise(function(ge,le){_.nextTick(function(){V[P]?le(V[P]):ge(v(void 0,!0))})});var ie=this[a],ae;if(ie)ae=new Promise(R(ie,this));else{var oe=this[u].read();if(oe!==null)return Promise.resolve(v(oe,!1));ae=new Promise(this[l])}return this[a]=ae,ae},"next")},z(Y,Symbol.asyncIterator,function(){return this}),z(Y,"return",i(function(){var V=this;return new Promise(function(Q,ie){V[u].destroy(null,function(ae){if(ae){ie(ae);return}Q(v(void 0,!0))})})},"_return")),Y),w),C=i(function(V){var Q,ie=Object.create(O,(Q={},z(Q,u,{value:V,writable:!0}),z(Q,m,{value:null,writable:!0}),z(Q,B,{value:null,writable:!0}),z(Q,P,{value:null,writable:!0}),z(Q,p,{value:V._readableState.endEmitted,writable:!0}),z(Q,l,{value:i(function(oe,ge){var le=ie[u].read();le?(ie[a]=null,ie[m]=null,ie[B]=null,oe(v(le,!1))):(ie[m]=oe,ie[B]=ge)},"value"),writable:!0}),Q));return ie[a]=null,b(V,function(ae){if(ae&&ae.code!=="ERR_STREAM_PREMATURE_CLOSE"){var oe=ie[B];oe!==null&&(ie[a]=null,ie[m]=null,ie[B]=null,oe(ae)),ie[P]=ae;return}var ge=ie[m];ge!==null&&(ie[a]=null,ie[m]=null,ie[B]=null,ge(v(void 0,!0))),ie[p]=!0}),V.on("readable",g.bind(null,ie)),ie},"createReadableStreamAsyncIterator");re.exports=C},7327:(re,$,A)=>{"use strict";function _(y,g){var R=Object.keys(y);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(y);g&&(w=w.filter(function(O){return Object.getOwnPropertyDescriptor(y,O).enumerable})),R.push.apply(R,w)}return R}i(_,"ownKeys");function Y(y){for(var g=1;g<arguments.length;g++){var R=arguments[g]!=null?arguments[g]:{};g%2?_(Object(R),!0).forEach(function(w){z(y,w,R[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(R)):_(Object(R)).forEach(function(w){Object.defineProperty(y,w,Object.getOwnPropertyDescriptor(R,w))})}return y}i(Y,"_objectSpread");function z(y,g,R){return g=m(g),g in y?Object.defineProperty(y,g,{value:R,enumerable:!0,configurable:!0,writable:!0}):y[g]=R,y}i(z,"_defineProperty");function k(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}i(k,"_classCallCheck");function d(y,g){for(var R=0;R<g.length;R++){var w=g[R];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(y,m(w.key),w)}}i(d,"_defineProperties");function b(y,g,R){return g&&d(y.prototype,g),R&&d(y,R),Object.defineProperty(y,"prototype",{writable:!1}),y}i(b,"_createClass");function m(y){var g=B(y,"string");return typeof g=="symbol"?g:String(g)}i(m,"_toPropertyKey");function B(y,g){if(typeof y!="object"||y===null)return y;var R=y[Symbol.toPrimitive];if(R!==void 0){var w=R.call(y,g||"default");if(typeof w!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return(g==="string"?String:Number)(y)}i(B,"_toPrimitive");var P=A(8764),p=P.Buffer,a=A(2361),l=a.inspect,u=l&&l.custom||"inspect";function v(y,g,R){p.prototype.copy.call(y,g,R)}i(v,"copyBuffer"),re.exports=function(){function y(){k(this,y),this.head=null,this.tail=null,this.length=0}return i(y,"BufferList"),b(y,[{key:"push",value:i(function(R){var w={data:R,next:null};this.length>0?this.tail.next=w:this.head=w,this.tail=w,++this.length},"push")},{key:"unshift",value:i(function(R){var w={data:R,next:this.head};this.length===0&&(this.tail=w),this.head=w,++this.length},"unshift")},{key:"shift",value:i(function(){if(this.length!==0){var R=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,R}},"shift")},{key:"clear",value:i(function(){this.head=this.tail=null,this.length=0},"clear")},{key:"join",value:i(function(R){if(this.length===0)return"";for(var w=this.head,O=""+w.data;w=w.next;)O+=R+w.data;return O},"join")},{key:"concat",value:i(function(R){if(this.length===0)return p.alloc(0);for(var w=p.allocUnsafe(R>>>0),O=this.head,C=0;O;)v(O.data,w,C),C+=O.data.length,O=O.next;return w},"concat")},{key:"consume",value:i(function(R,w){var O;return R<this.head.data.length?(O=this.head.data.slice(0,R),this.head.data=this.head.data.slice(R)):R===this.head.data.length?O=this.shift():O=w?this._getString(R):this._getBuffer(R),O},"consume")},{key:"first",value:i(function(){return this.head.data},"first")},{key:"_getString",value:i(function(R){var w=this.head,O=1,C=w.data;for(R-=C.length;w=w.next;){var L=w.data,V=R>L.length?L.length:R;if(V===L.length?C+=L:C+=L.slice(0,R),R-=V,R===0){V===L.length?(++O,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=L.slice(V));break}++O}return this.length-=O,C},"_getString")},{key:"_getBuffer",value:i(function(R){var w=p.allocUnsafe(R),O=this.head,C=1;for(O.data.copy(w),R-=O.data.length;O=O.next;){var L=O.data,V=R>L.length?L.length:R;if(L.copy(w,w.length-R,0,V),R-=V,R===0){V===L.length?(++C,O.next?this.head=O.next:this.head=this.tail=null):(this.head=O,O.data=L.slice(V));break}++C}return this.length-=C,w},"_getBuffer")},{key:u,value:i(function(R,w){return l(this,Y(Y({},w),{},{depth:0,customInspect:!1}))},"value")}]),y}()},1195:(re,$,A)=>{"use strict";var _=A(4155);function Y(B,P){var p=this,a=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return a||l?(P?P(B):B&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,_.nextTick(b,this,B)):_.nextTick(b,this,B)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(B||null,function(u){!P&&u?p._writableState?p._writableState.errorEmitted?_.nextTick(k,p):(p._writableState.errorEmitted=!0,_.nextTick(z,p,u)):_.nextTick(z,p,u):P?(_.nextTick(k,p),P(u)):_.nextTick(k,p)}),this)}i(Y,"destroy");function z(B,P){b(B,P),k(B)}i(z,"emitErrorAndCloseNT");function k(B){B._writableState&&!B._writableState.emitClose||B._readableState&&!B._readableState.emitClose||B.emit("close")}i(k,"emitCloseNT");function d(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}i(d,"undestroy");function b(B,P){B.emit("error",P)}i(b,"emitErrorNT");function m(B,P){var p=B._readableState,a=B._writableState;p&&p.autoDestroy||a&&a.autoDestroy?B.destroy(P):B.emit("error",P)}i(m,"errorOrDestroy"),re.exports={destroy:Y,undestroy:d,errorOrDestroy:m}},8610:(re,$,A)=>{"use strict";var _=A(4281).q.ERR_STREAM_PREMATURE_CLOSE;function Y(b){var m=!1;return function(){if(!m){m=!0;for(var B=arguments.length,P=new Array(B),p=0;p<B;p++)P[p]=arguments[p];b.apply(this,P)}}}i(Y,"once");function z(){}i(z,"noop");function k(b){return b.setHeader&&typeof b.abort=="function"}i(k,"isRequest");function d(b,m,B){if(typeof m=="function")return d(b,null,m);m||(m={}),B=Y(B||z);var P=m.readable||m.readable!==!1&&b.readable,p=m.writable||m.writable!==!1&&b.writable,a=i(function(){b.writable||u()},"onlegacyfinish"),l=b._writableState&&b._writableState.finished,u=i(function(){p=!1,l=!0,P||B.call(b)},"onfinish"),v=b._readableState&&b._readableState.endEmitted,y=i(function(){P=!1,v=!0,p||B.call(b)},"onend"),g=i(function(C){B.call(b,C)},"onerror"),R=i(function(){var C;if(P&&!v)return(!b._readableState||!b._readableState.ended)&&(C=new _),B.call(b,C);if(p&&!l)return(!b._writableState||!b._writableState.ended)&&(C=new _),B.call(b,C)},"onclose"),w=i(function(){b.req.on("finish",u)},"onrequest");return k(b)?(b.on("complete",u),b.on("abort",R),b.req?w():b.on("request",w)):p&&!b._writableState&&(b.on("end",a),b.on("close",a)),b.on("end",y),b.on("finish",u),m.error!==!1&&b.on("error",g),b.on("close",R),function(){b.removeListener("complete",u),b.removeListener("abort",R),b.removeListener("request",w),b.req&&b.req.removeListener("finish",u),b.removeListener("end",a),b.removeListener("close",a),b.removeListener("finish",u),b.removeListener("end",y),b.removeListener("error",g),b.removeListener("close",R)}}i(d,"eos"),re.exports=d},5167:re=>{re.exports=function(){throw new Error("Readable.from is not available in the browser")}},9946:(re,$,A)=>{"use strict";var _;function Y(u){var v=!1;return function(){v||(v=!0,u.apply(void 0,arguments))}}i(Y,"once");var z=A(4281).q,k=z.ERR_MISSING_ARGS,d=z.ERR_STREAM_DESTROYED;function b(u){if(u)throw u}i(b,"noop");function m(u){return u.setHeader&&typeof u.abort=="function"}i(m,"isRequest");function B(u,v,y,g){g=Y(g);var R=!1;u.on("close",function(){R=!0}),_===void 0&&(_=A(8610)),_(u,{readable:v,writable:y},function(O){if(O)return g(O);R=!0,g()});var w=!1;return function(O){if(!R&&!w){if(w=!0,m(u))return u.abort();if(typeof u.destroy=="function")return u.destroy();g(O||new d("pipe"))}}}i(B,"destroyer");function P(u){u()}i(P,"call");function p(u,v){return u.pipe(v)}i(p,"pipe");function a(u){return!u.length||typeof u[u.length-1]!="function"?b:u.pop()}i(a,"popCallback");function l(){for(var u=arguments.length,v=new Array(u),y=0;y<u;y++)v[y]=arguments[y];var g=a(v);if(Array.isArray(v[0])&&(v=v[0]),v.length<2)throw new k("streams");var R,w=v.map(function(O,C){var L=C<v.length-1,V=C>0;return B(O,L,V,function(Q){R||(R=Q),Q&&w.forEach(P),!L&&(w.forEach(P),g(R))})});return v.reduce(p)}i(l,"pipeline"),re.exports=l},2457:(re,$,A)=>{"use strict";var _=A(4281).q.ERR_INVALID_OPT_VALUE;function Y(k,d,b){return k.highWaterMark!=null?k.highWaterMark:d?k[b]:null}i(Y,"highWaterMarkFrom");function z(k,d,b,m){var B=Y(d,m,b);if(B!=null){if(!(isFinite(B)&&Math.floor(B)===B)||B<0){var P=m?b:"highWaterMark";throw new _(P,B)}return Math.floor(B)}return k.objectMode?16:16384}i(z,"getHighWaterMark"),re.exports={getHighWaterMark:z}},2503:(re,$,A)=>{re.exports=A(7187).EventEmitter},8473:(re,$,A)=>{$=re.exports=A(9481),$.Stream=$,$.Readable=$,$.Writable=A(4229),$.Duplex=A(6753),$.Transform=A(4605),$.PassThrough=A(2725),$.finished=A(8610),$.pipeline=A(9946)},9785:(re,$,A)=>{"use strict";var _=A(8764).Buffer,Y=A(5717),z=A(3349),k=new Array(16),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],b=[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],m=[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],B=[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],P=[0,1518500249,1859775393,2400959708,2840853838],p=[1352829926,1548603684,1836072691,2053994217,0];function a(){z.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}i(a,"RIPEMD160"),Y(a,z),a.prototype._update=function(){for(var w=k,O=0;O<16;++O)w[O]=this._block.readInt32LE(O*4);for(var C=this._a|0,L=this._b|0,V=this._c|0,Q=this._d|0,ie=this._e|0,ae=this._a|0,oe=this._b|0,ge=this._c|0,le=this._d|0,te=this._e|0,E=0;E<80;E+=1){var r,o;E<16?(r=u(C,L,V,Q,ie,w[d[E]],P[0],m[E]),o=R(ae,oe,ge,le,te,w[b[E]],p[0],B[E])):E<32?(r=v(C,L,V,Q,ie,w[d[E]],P[1],m[E]),o=g(ae,oe,ge,le,te,w[b[E]],p[1],B[E])):E<48?(r=y(C,L,V,Q,ie,w[d[E]],P[2],m[E]),o=y(ae,oe,ge,le,te,w[b[E]],p[2],B[E])):E<64?(r=g(C,L,V,Q,ie,w[d[E]],P[3],m[E]),o=v(ae,oe,ge,le,te,w[b[E]],p[3],B[E])):(r=R(C,L,V,Q,ie,w[d[E]],P[4],m[E]),o=u(ae,oe,ge,le,te,w[b[E]],p[4],B[E])),C=ie,ie=Q,Q=l(V,10),V=L,L=r,ae=te,te=le,le=l(ge,10),ge=oe,oe=o}var h=this._b+V+le|0;this._b=this._c+Q+te|0,this._c=this._d+ie+ae|0,this._d=this._e+C+oe|0,this._e=this._a+L+ge|0,this._a=h},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var w=_.alloc?_.alloc(20):new _(20);return w.writeInt32LE(this._a,0),w.writeInt32LE(this._b,4),w.writeInt32LE(this._c,8),w.writeInt32LE(this._d,12),w.writeInt32LE(this._e,16),w};function l(w,O){return w<<O|w>>>32-O}i(l,"rotl");function u(w,O,C,L,V,Q,ie,ae){return l(w+(O^C^L)+Q+ie|0,ae)+V|0}i(u,"fn1");function v(w,O,C,L,V,Q,ie,ae){return l(w+(O&C|~O&L)+Q+ie|0,ae)+V|0}i(v,"fn2");function y(w,O,C,L,V,Q,ie,ae){return l(w+((O|~C)^L)+Q+ie|0,ae)+V|0}i(y,"fn3");function g(w,O,C,L,V,Q,ie,ae){return l(w+(O&L|C&~L)+Q+ie|0,ae)+V|0}i(g,"fn4");function R(w,O,C,L,V,Q,ie,ae){return l(w+(O^(C|~L))+Q+ie|0,ae)+V|0}i(R,"fn5"),re.exports=a},9509:(re,$,A)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var _=A(8764),Y=_.Buffer;function z(d,b){for(var m in d)b[m]=d[m]}i(z,"copyProps"),Y.from&&Y.alloc&&Y.allocUnsafe&&Y.allocUnsafeSlow?re.exports=_:(z(_,$),$.Buffer=k);function k(d,b,m){return Y(d,b,m)}i(k,"SafeBuffer"),k.prototype=Object.create(Y.prototype),z(Y,k),k.from=function(d,b,m){if(typeof d=="number")throw new TypeError("Argument must not be a number");return Y(d,b,m)},k.alloc=function(d,b,m){if(typeof d!="number")throw new TypeError("Argument must be a number");var B=Y(d);return b!==void 0?typeof m=="string"?B.fill(b,m):B.fill(b):B.fill(0),B},k.allocUnsafe=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return Y(d)},k.allocUnsafeSlow=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return _.SlowBuffer(d)}},4189:(re,$,A)=>{var _=A(9509).Buffer;function Y(z,k){this._block=_.alloc(z),this._finalSize=k,this._blockSize=z,this._len=0}i(Y,"Hash"),Y.prototype.update=function(z,k){typeof z=="string"&&(k=k||"utf8",z=_.from(z,k));for(var d=this._block,b=this._blockSize,m=z.length,B=this._len,P=0;P<m;){for(var p=B%b,a=Math.min(m-P,b-p),l=0;l<a;l++)d[p+l]=z[P+l];B+=a,P+=a,B%b===0&&this._update(d)}return this._len+=m,this},Y.prototype.digest=function(z){var k=this._len%this._blockSize;this._block[k]=128,this._block.fill(0,k+1),k>=this._finalSize&&(this._update(this._block),this._block.fill(0));var d=this._len*8;if(d<=4294967295)this._block.writeUInt32BE(d,this._blockSize-4);else{var b=(d&4294967295)>>>0,m=(d-b)/4294967296;this._block.writeUInt32BE(m,this._blockSize-8),this._block.writeUInt32BE(b,this._blockSize-4)}this._update(this._block);var B=this._hash();return z?B.toString(z):B},Y.prototype._update=function(){throw new Error("_update must be implemented by subclass")},re.exports=Y},9072:(re,$,A)=>{var _=re.exports=i(function(z){z=z.toLowerCase();var k=_[z];if(!k)throw new Error(z+" is not supported (we accept pull requests)");return new k},"SHA");_.sha=A(4448),_.sha1=A(8336),_.sha224=A(8432),_.sha256=A(7499),_.sha384=A(1686),_.sha512=A(7816)},4448:(re,$,A)=>{var _=A(5717),Y=A(4189),z=A(9509).Buffer,k=[1518500249,1859775393,-1894007588,-899497514],d=new Array(80);function b(){this.init(),this._w=d,Y.call(this,64,56)}i(b,"Sha"),_(b,Y),b.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function m(p){return p<<5|p>>>27}i(m,"rotl5");function B(p){return p<<30|p>>>2}i(B,"rotl30");function P(p,a,l,u){return p===0?a&l|~a&u:p===2?a&l|a&u|l&u:a^l^u}i(P,"ft"),b.prototype._update=function(p){for(var a=this._w,l=this._a|0,u=this._b|0,v=this._c|0,y=this._d|0,g=this._e|0,R=0;R<16;++R)a[R]=p.readInt32BE(R*4);for(;R<80;++R)a[R]=a[R-3]^a[R-8]^a[R-14]^a[R-16];for(var w=0;w<80;++w){var O=~~(w/20),C=m(l)+P(O,u,v,y)+g+a[w]+k[O]|0;g=y,y=v,v=B(u),u=l,l=C}this._a=l+this._a|0,this._b=u+this._b|0,this._c=v+this._c|0,this._d=y+this._d|0,this._e=g+this._e|0},b.prototype._hash=function(){var p=z.allocUnsafe(20);return p.writeInt32BE(this._a|0,0),p.writeInt32BE(this._b|0,4),p.writeInt32BE(this._c|0,8),p.writeInt32BE(this._d|0,12),p.writeInt32BE(this._e|0,16),p},re.exports=b},8336:(re,$,A)=>{var _=A(5717),Y=A(4189),z=A(9509).Buffer,k=[1518500249,1859775393,-1894007588,-899497514],d=new Array(80);function b(){this.init(),this._w=d,Y.call(this,64,56)}i(b,"Sha1"),_(b,Y),b.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function m(a){return a<<1|a>>>31}i(m,"rotl1");function B(a){return a<<5|a>>>27}i(B,"rotl5");function P(a){return a<<30|a>>>2}i(P,"rotl30");function p(a,l,u,v){return a===0?l&u|~l&v:a===2?l&u|l&v|u&v:l^u^v}i(p,"ft"),b.prototype._update=function(a){for(var l=this._w,u=this._a|0,v=this._b|0,y=this._c|0,g=this._d|0,R=this._e|0,w=0;w<16;++w)l[w]=a.readInt32BE(w*4);for(;w<80;++w)l[w]=m(l[w-3]^l[w-8]^l[w-14]^l[w-16]);for(var O=0;O<80;++O){var C=~~(O/20),L=B(u)+p(C,v,y,g)+R+l[O]+k[C]|0;R=g,g=y,y=P(v),v=u,u=L}this._a=u+this._a|0,this._b=v+this._b|0,this._c=y+this._c|0,this._d=g+this._d|0,this._e=R+this._e|0},b.prototype._hash=function(){var a=z.allocUnsafe(20);return a.writeInt32BE(this._a|0,0),a.writeInt32BE(this._b|0,4),a.writeInt32BE(this._c|0,8),a.writeInt32BE(this._d|0,12),a.writeInt32BE(this._e|0,16),a},re.exports=b},8432:(re,$,A)=>{var _=A(5717),Y=A(7499),z=A(4189),k=A(9509).Buffer,d=new Array(64);function b(){this.init(),this._w=d,z.call(this,64,56)}i(b,"Sha224"),_(b,Y),b.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},b.prototype._hash=function(){var m=k.allocUnsafe(28);return m.writeInt32BE(this._a,0),m.writeInt32BE(this._b,4),m.writeInt32BE(this._c,8),m.writeInt32BE(this._d,12),m.writeInt32BE(this._e,16),m.writeInt32BE(this._f,20),m.writeInt32BE(this._g,24),m},re.exports=b},7499:(re,$,A)=>{var _=A(5717),Y=A(4189),z=A(9509).Buffer,k=[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],d=new Array(64);function b(){this.init(),this._w=d,Y.call(this,64,56)}i(b,"Sha256"),_(b,Y),b.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function m(u,v,y){return y^u&(v^y)}i(m,"ch");function B(u,v,y){return u&v|y&(u|v)}i(B,"maj");function P(u){return(u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10)}i(P,"sigma0");function p(u){return(u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7)}i(p,"sigma1");function a(u){return(u>>>7|u<<25)^(u>>>18|u<<14)^u>>>3}i(a,"gamma0");function l(u){return(u>>>17|u<<15)^(u>>>19|u<<13)^u>>>10}i(l,"gamma1"),b.prototype._update=function(u){for(var v=this._w,y=this._a|0,g=this._b|0,R=this._c|0,w=this._d|0,O=this._e|0,C=this._f|0,L=this._g|0,V=this._h|0,Q=0;Q<16;++Q)v[Q]=u.readInt32BE(Q*4);for(;Q<64;++Q)v[Q]=l(v[Q-2])+v[Q-7]+a(v[Q-15])+v[Q-16]|0;for(var ie=0;ie<64;++ie){var ae=V+p(O)+m(O,C,L)+k[ie]+v[ie]|0,oe=P(y)+B(y,g,R)|0;V=L,L=C,C=O,O=w+ae|0,w=R,R=g,g=y,y=ae+oe|0}this._a=y+this._a|0,this._b=g+this._b|0,this._c=R+this._c|0,this._d=w+this._d|0,this._e=O+this._e|0,this._f=C+this._f|0,this._g=L+this._g|0,this._h=V+this._h|0},b.prototype._hash=function(){var u=z.allocUnsafe(32);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u.writeInt32BE(this._h,28),u},re.exports=b},1686:(re,$,A)=>{var _=A(5717),Y=A(7816),z=A(4189),k=A(9509).Buffer,d=new Array(160);function b(){this.init(),this._w=d,z.call(this,128,112)}i(b,"Sha384"),_(b,Y),b.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},b.prototype._hash=function(){var m=k.allocUnsafe(48);function B(P,p,a){m.writeInt32BE(P,a),m.writeInt32BE(p,a+4)}return i(B,"writeInt64BE"),B(this._ah,this._al,0),B(this._bh,this._bl,8),B(this._ch,this._cl,16),B(this._dh,this._dl,24),B(this._eh,this._el,32),B(this._fh,this._fl,40),m},re.exports=b},7816:(re,$,A)=>{var _=A(5717),Y=A(4189),z=A(9509).Buffer,k=[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],d=new Array(160);function b(){this.init(),this._w=d,Y.call(this,128,112)}i(b,"Sha512"),_(b,Y),b.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function m(g,R,w){return w^g&(R^w)}i(m,"Ch");function B(g,R,w){return g&R|w&(g|R)}i(B,"maj");function P(g,R){return(g>>>28|R<<4)^(R>>>2|g<<30)^(R>>>7|g<<25)}i(P,"sigma0");function p(g,R){return(g>>>14|R<<18)^(g>>>18|R<<14)^(R>>>9|g<<23)}i(p,"sigma1");function a(g,R){return(g>>>1|R<<31)^(g>>>8|R<<24)^g>>>7}i(a,"Gamma0");function l(g,R){return(g>>>1|R<<31)^(g>>>8|R<<24)^(g>>>7|R<<25)}i(l,"Gamma0l");function u(g,R){return(g>>>19|R<<13)^(R>>>29|g<<3)^g>>>6}i(u,"Gamma1");function v(g,R){return(g>>>19|R<<13)^(R>>>29|g<<3)^(g>>>6|R<<26)}i(v,"Gamma1l");function y(g,R){return g>>>0<R>>>0?1:0}i(y,"getCarry"),b.prototype._update=function(g){for(var R=this._w,w=this._ah|0,O=this._bh|0,C=this._ch|0,L=this._dh|0,V=this._eh|0,Q=this._fh|0,ie=this._gh|0,ae=this._hh|0,oe=this._al|0,ge=this._bl|0,le=this._cl|0,te=this._dl|0,E=this._el|0,r=this._fl|0,o=this._gl|0,h=this._hl|0,S=0;S<32;S+=2)R[S]=g.readInt32BE(S*4),R[S+1]=g.readInt32BE(S*4+4);for(;S<160;S+=2){var N=R[S-30],G=R[S-15*2+1],J=a(N,G),F=l(G,N);N=R[S-4],G=R[S-4+1];var f=u(N,G),H=v(G,N),we=R[S-7*2],xe=R[S-7*2+1],Ee=R[S-16*2],U=R[S-16*2+1],X=F+xe|0,Z=J+we+y(X,F)|0;X=X+H|0,Z=Z+f+y(X,H)|0,X=X+U|0,Z=Z+Ee+y(X,U)|0,R[S]=Z,R[S+1]=X}for(var ue=0;ue<160;ue+=2){Z=R[ue],X=R[ue+1];var he=B(w,O,C),Se=B(oe,ge,le),K=P(w,oe),j=P(oe,w),fe=p(V,E),ye=p(E,V),Ae=k[ue],_e=k[ue+1],ke=m(V,Q,ie),me=m(E,r,o),Oe=h+ye|0,Pe=ae+fe+y(Oe,h)|0;Oe=Oe+me|0,Pe=Pe+ke+y(Oe,me)|0,Oe=Oe+_e|0,Pe=Pe+Ae+y(Oe,_e)|0,Oe=Oe+X|0,Pe=Pe+Z+y(Oe,X)|0;var Ke=j+Se|0,Ce=K+he+y(Ke,j)|0;ae=ie,h=o,ie=Q,o=r,Q=V,r=E,E=te+Oe|0,V=L+Pe+y(E,te)|0,L=C,te=le,C=O,le=ge,O=w,ge=oe,oe=Oe+Ke|0,w=Pe+Ce+y(oe,Oe)|0}this._al=this._al+oe|0,this._bl=this._bl+ge|0,this._cl=this._cl+le|0,this._dl=this._dl+te|0,this._el=this._el+E|0,this._fl=this._fl+r|0,this._gl=this._gl+o|0,this._hl=this._hl+h|0,this._ah=this._ah+w+y(this._al,oe)|0,this._bh=this._bh+O+y(this._bl,ge)|0,this._ch=this._ch+C+y(this._cl,le)|0,this._dh=this._dh+L+y(this._dl,te)|0,this._eh=this._eh+V+y(this._el,E)|0,this._fh=this._fh+Q+y(this._fl,r)|0,this._gh=this._gh+ie+y(this._gl,o)|0,this._hh=this._hh+ae+y(this._hl,h)|0},b.prototype._hash=function(){var g=z.allocUnsafe(64);function R(w,O,C){g.writeInt32BE(w,C),g.writeInt32BE(O,C+4)}return i(R,"writeInt64BE"),R(this._ah,this._al,0),R(this._bh,this._bl,8),R(this._ch,this._cl,16),R(this._dh,this._dl,24),R(this._eh,this._el,32),R(this._fh,this._fl,40),R(this._gh,this._gl,48),R(this._hh,this._hl,56),g},re.exports=b},2553:(re,$,A)=>{"use strict";var _=A(9509).Buffer,Y=_.isEncoding||function(w){switch(w=""+w,w&&w.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function z(w){if(!w)return"utf8";for(var O;;)switch(w){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return w;default:if(O)return;w=(""+w).toLowerCase(),O=!0}}i(z,"_normalizeEncoding");function k(w){var O=z(w);if(typeof O!="string"&&(_.isEncoding===Y||!Y(w)))throw new Error("Unknown encoding: "+w);return O||w}i(k,"normalizeEncoding"),$.s=d;function d(w){this.encoding=k(w);var O;switch(this.encoding){case"utf16le":this.text=l,this.end=u,O=4;break;case"utf8":this.fillLast=P,O=4;break;case"base64":this.text=v,this.end=y,O=3;break;default:this.write=g,this.end=R;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=_.allocUnsafe(O)}i(d,"StringDecoder"),d.prototype.write=function(w){if(w.length===0)return"";var O,C;if(this.lastNeed){if(O=this.fillLast(w),O===void 0)return"";C=this.lastNeed,this.lastNeed=0}else C=0;return C<w.length?O?O+this.text(w,C):this.text(w,C):O||""},d.prototype.end=a,d.prototype.text=p,d.prototype.fillLast=function(w){if(this.lastNeed<=w.length)return w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,w.length),this.lastNeed-=w.length};function b(w){return w<=127?0:w>>5===6?2:w>>4===14?3:w>>3===30?4:w>>6===2?-1:-2}i(b,"utf8CheckByte");function m(w,O,C){var L=O.length-1;if(L<C)return 0;var V=b(O[L]);return V>=0?(V>0&&(w.lastNeed=V-1),V):--L<C||V===-2?0:(V=b(O[L]),V>=0?(V>0&&(w.lastNeed=V-2),V):--L<C||V===-2?0:(V=b(O[L]),V>=0?(V>0&&(V===2?V=0:w.lastNeed=V-3),V):0))}i(m,"utf8CheckIncomplete");function B(w,O,C){if((O[0]&192)!==128)return w.lastNeed=0,"\uFFFD";if(w.lastNeed>1&&O.length>1){if((O[1]&192)!==128)return w.lastNeed=1,"\uFFFD";if(w.lastNeed>2&&O.length>2&&(O[2]&192)!==128)return w.lastNeed=2,"\uFFFD"}}i(B,"utf8CheckExtraBytes");function P(w){var O=this.lastTotal-this.lastNeed,C=B(this,w,O);if(C!==void 0)return C;if(this.lastNeed<=w.length)return w.copy(this.lastChar,O,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,O,0,w.length),this.lastNeed-=w.length}i(P,"utf8FillLast");function p(w,O){var C=m(this,w,O);if(!this.lastNeed)return w.toString("utf8",O);this.lastTotal=C;var L=w.length-(C-this.lastNeed);return w.copy(this.lastChar,0,L),w.toString("utf8",O,L)}i(p,"utf8Text");function a(w){var O=w&&w.length?this.write(w):"";return this.lastNeed?O+"\uFFFD":O}i(a,"utf8End");function l(w,O){if((w.length-O)%2===0){var C=w.toString("utf16le",O);if(C){var L=C.charCodeAt(C.length-1);if(L>=55296&&L<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1],C.slice(0,-1)}return C}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=w[w.length-1],w.toString("utf16le",O,w.length-1)}i(l,"utf16Text");function u(w){var O=w&&w.length?this.write(w):"";if(this.lastNeed){var C=this.lastTotal-this.lastNeed;return O+this.lastChar.toString("utf16le",0,C)}return O}i(u,"utf16End");function v(w,O){var C=(w.length-O)%3;return C===0?w.toString("base64",O):(this.lastNeed=3-C,this.lastTotal=3,C===1?this.lastChar[0]=w[w.length-1]:(this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1]),w.toString("base64",O,w.length-C))}i(v,"base64Text");function y(w){var O=w&&w.length?this.write(w):"";return this.lastNeed?O+this.lastChar.toString("base64",0,3-this.lastNeed):O}i(y,"base64End");function g(w){return w.toString(this.encoding)}i(g,"simpleWrite");function R(w){return w&&w.length?this.write(w):""}i(R,"simpleEnd")},4927:(re,$,A)=>{re.exports=_;function _(z,k){if(Y("noDeprecation"))return z;var d=!1;function b(){if(!d){if(Y("throwDeprecation"))throw new Error(k);Y("traceDeprecation")?console.trace(k):console.warn(k),d=!0}return z.apply(this,arguments)}return i(b,"deprecated"),b}i(_,"deprecate");function Y(z){try{if(!A.g.localStorage)return!1}catch{return!1}var k=A.g.localStorage[z];return k==null?!1:String(k).toLowerCase()==="true"}i(Y,"config")},6601:()=>{},9214:()=>{},2361:()=>{},4616:()=>{},2726:re=>{"use strict";re.exports={i8:"7.0.1"}}},vt={};function Be(re){var $=vt[re];if($!==void 0)return $.exports;var A=vt[re]={id:re,loaded:!1,exports:{}};return Ot[re].call(A.exports,A,A.exports,Be),A.loaded=!0,A.exports}i(Be,"__webpack_require__"),Be.n=re=>{var $=re&&re.__esModule?()=>re.default:()=>re;return Be.d($,{a:$}),$},Be.d=(re,$)=>{for(var A in $)Be.o($,A)&&!Be.o(re,A)&&Object.defineProperty(re,A,{enumerable:!0,get:$[A]})},Be.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),Be.o=(re,$)=>Object.prototype.hasOwnProperty.call(re,$),Be.r=re=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(re,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(re,"__esModule",{value:!0})},Be.nmd=re=>(re.paths=[],re.children||(re.children=[]),re);var Nt={};return(()=>{"use strict";Be.r(Nt),Be.d(Nt,{Ach:()=>pt,Address:()=>Ce,Aes:()=>ft,Aescbc:()=>ut,Base58:()=>ie,Base58Check:()=>N,Bip32:()=>I,Bip39:()=>se,Block:()=>Ze,BlockHeader:()=>qe,Bn:()=>l,Br:()=>g,Bsm:()=>Ne,Bw:()=>w,Cbc:()=>Fe,Constants:()=>H,Ecdsa:()=>De,Ecies:()=>ht,Hash:()=>h,Interp:()=>de,KeyPair:()=>ne,OpCode:()=>U,Point:()=>he,PrivKey:()=>_e,PubKey:()=>K,Random:()=>ye,Script:()=>Pe,Sig:()=>me,SigOperations:()=>et,Struct:()=>V,Tx:()=>Ge,TxBuilder:()=>At,TxIn:()=>je,TxOut:()=>ze,TxOutMap:()=>yt,TxVerifier:()=>Xe,VarInt:()=>Ue,Workers:()=>r,WorkersResult:()=>le,cmp:()=>oe,deps:()=>_t,en:()=>s,es:()=>D,getConstants:()=>we,jp:()=>c,version:()=>It});var re=Be(4297),$=Be.n(re),A=Be(3550),_=Be.n(A),Y=Be(7191),z=Be.n(Y),k=Be(4666),d=Be.n(k),b=Be(3715),m=Be.n(b),B=Be(5632),P=Be(8764);const p={i8:"2.0.23"};var a=Be(8764).Buffer;function l(M,e,...t){if(!(this instanceof l))return new l(M,e,...t);_().call(this,M,e,...t)}i(l,"Bn"),Object.keys(_()).forEach(function(M){l[M]=_()[M]}),l.prototype=Object.create(_().prototype),l.prototype.constructor=l;function u(M){const e=a.alloc(M.length);for(let t=0;t<M.length;t++)e[t]=M[M.length-1-t];return e}i(u,"reverseBuf"),l.prototype.fromHex=function(M,e){return this.fromBuffer(a.from(M,"hex"),e)},l.prototype.toHex=function(M){return this.toBuffer(M).toString("hex")},l.prototype.toJSON=function(){return this.toString()},l.prototype.fromJSON=function(M){return l(M).copy(this),this},l.prototype.fromNumber=function(M){return l(M).copy(this),this},l.prototype.toNumber=function(){return parseInt(this.toString(10),10)},l.prototype.fromString=function(M,e){return l(M,e).copy(this),this},l.fromBuffer=function(M,e={endian:"big"}){e.endian==="little"&&(M=u(M));const t=M.toString("hex");return new l(t,16)},l.prototype.fromBuffer=function(M,e){return l.fromBuffer(M,e).copy(this),this},l.prototype.toBuffer=function(M={size:void 0,endian:"big"}){let e;if(M.size){const n=this.toString(16,2),x=n.length/2;if(e=a.from(n,"hex"),x!==M.size){if(x>M.size)e=e.slice(x-e.length,e.length);else if(x<M.size){const T=a.alloc(M.size);for(let W=0;W<e.length;W++)T[T.length-1-W]=e[e.length-1-W];for(let W=0;W<M.size-x;W++)T[W]=0;e=T}}}else{const n=this.toString(16,2);e=a.from(n,"hex")}M.endian==="little"&&(e=u(e));const t=a.from([0]);return a.compare(e,t)===0?a.from([]):e},l.prototype.toFastBuffer=l.prototype.toBuffer,l.fromFastBuffer=l.fromBuffer,l.prototype.fromFastBuffer=l.prototype.fromBuffer,l.prototype.fromSm=function(M,e={endian:"big"}){return M.length===0&&this.fromBuffer(a.from([0])),e.endian==="little"&&(M=u(M)),M[0]&128?(M[0]=M[0]&127,this.fromBuffer(M),this.neg().copy(this)):this.fromBuffer(M),this},l.prototype.toSm=function(M={endian:"big"}){const e=M.endian;let t;return this.cmp(0)===-1?(t=this.neg().toBuffer(),t[0]&128?t=a.concat([a.from([128]),t]):t[0]=t[0]|128):(t=this.toBuffer(),t[0]&128&&(t=a.concat([a.from([0]),t]))),t.length===1&t[0]===0&&(t=a.from([])),e==="little"&&(t=u(t)),t},l.prototype.fromBits=function(M,e={strict:!1}){let t=a.alloc(4);if(t.writeUInt32BE(M,0),M=t.readInt32BE(0),e.strict&&M&8388608)throw new Error("negative bit set");const n=M>>24,x=M&8388607;if(t=a.alloc(4),t.writeInt32BE(x),n<=3)t=t.slice(1,n+1);else{const T=a.alloc(n-3);T.fill(0),t=a.concat([t,T])}return this.fromBuffer(t),M&8388608&&l(0).sub(this).copy(this),this},l.prototype.toBits=function(){let M;this.lt(0)?M=this.neg().toBuffer():M=this.toBuffer();let e=M.length,t;if(e>3)t=a.concat([a.from([0]),M.slice(0,3)]).readUInt32BE(0);else if(e<=3){const x=a.alloc(3-e+1);x.fill(0),t=a.concat([x,M.slice(0,e)]).readUInt32BE(0)}t&8388608&&(t>>=8,e++),this.lt(0)&&(t|=8388608);const n=e<<24|t;return M=a.alloc(4),M.writeInt32BE(n,0),M.readUInt32BE(0)},l.prototype.fromScriptNumBuffer=function(M,e,t,n=!1){if(t===void 0&&(t=4),M.length>t)throw new Error(`script number overflow nMaxNumSize: ${t}`);if(e&&M.length>0&&!(M[M.length-1]&127)&&(M.length<=1||!(M[M.length-2]&128)))throw new Error("non-minimally encoded script number");return M.byteLength===0||M.byteLength<=t,this.fromSm(M,{endian:"little"})},l.prototype.toScriptNumBuffer=function(M){return this.toSm({endian:"little"})},l.prototype.neg=function(){const M=_().prototype.neg.call(this),e=Object.create(l.prototype);return M.copy(e),e},l.prototype.add=function(M){const e=_().prototype.add.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.sub=function(M){const e=_().prototype.sub.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.mul=function(M){const e=_().prototype.mul.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.mod=function(M){const e=_().prototype.mod.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.umod=function(M){const e=_().prototype.umod.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.invm=function(M){const e=_().prototype.invm.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.div=function(M){const e=_().prototype.div.call(this,M);return M=Object.create(l.prototype),e.copy(M),M},l.prototype.ushln=function(M){const e=_().prototype.ushln.call(this,M),t=Object.create(l.prototype);return e.copy(t),t},l.prototype.ushrn=function(M){const e=_().prototype.ushrn.call(this,M),t=Object.create(l.prototype);return e.copy(t),t},l.prototype.cmp=function(M){return _().prototype.cmp.call(this,M)};function v(M){l.prototype["_"+M]=l.prototype[M];const e=i(function(t){return typeof t=="string"?t=new l(t):typeof t=="number"&&(t=new l(t.toString())),this["_"+M](t)},"f");l.prototype[M]=e}i(v,"decorate"),l.prototype.eq=function(M){return this.cmp(M)===0},l.prototype.neq=function(M){return this.cmp(M)!==0},l.prototype.gt=function(M){return this.cmp(M)>0},l.prototype.geq=function(M){return this.cmp(M)>=0},l.prototype.lt=function(M){return this.cmp(M)<0},l.prototype.leq=function(M){return this.cmp(M)<=0},v("add"),v("sub"),v("mul"),v("mod"),v("invm"),v("div"),v("cmp"),v("gt"),v("geq"),v("lt"),v("leq");var y=Be(8764).Buffer;class g{static{i(this,"Br")}constructor(e){this.fromObject({buf:e})}fromObject(e){return this.buf=e.buf||this.buf||void 0,this.pos=e.pos||this.pos||0,this}eof(){return this.pos>=this.buf.length}read(e=this.buf.length){const t=this.buf.slice(this.pos,this.pos+e);return this.pos=this.pos+e,t}readReverse(e=this.buf.length){const t=this.buf.slice(this.pos,this.pos+e);this.pos=this.pos+e;const n=y.alloc(t.length);for(let x=0;x<n.length;x++)n[x]=t[t.length-1-x];return n}readUInt8(){const e=this.buf.readUInt8(this.pos);return this.pos=this.pos+1,e}readInt8(){const e=this.buf.readInt8(this.pos);return this.pos=this.pos+1,e}readUInt16BE(){const e=this.buf.readUInt16BE(this.pos);return this.pos=this.pos+2,e}readInt16BE(){const e=this.buf.readInt16BE(this.pos);return this.pos=this.pos+2,e}readUInt16LE(){const e=this.buf.readUInt16LE(this.pos);return this.pos=this.pos+2,e}readInt16LE(){const e=this.buf.readInt16LE(this.pos);return this.pos=this.pos+2,e}readUInt32BE(){const e=this.buf.readUInt32BE(this.pos);return this.pos=this.pos+4,e}readInt32BE(){const e=this.buf.readInt32BE(this.pos);return this.pos=this.pos+4,e}readUInt32LE(){const e=this.buf.readUInt32LE(this.pos);return this.pos=this.pos+4,e}readInt32LE(){const e=this.buf.readInt32LE(this.pos);return this.pos=this.pos+4,e}readUInt64BEBn(){const e=this.buf.slice(this.pos,this.pos+8),t=new l().fromBuffer(e);return this.pos=this.pos+8,t}readUInt64LEBn(){const e=this.readReverse(8);return new l().fromBuffer(e)}readVarIntNum(){const e=this.readUInt8();let t,n;switch(e){case 253:return this.readUInt16LE();case 254:return this.readUInt32LE();case 255:if(t=this.readUInt64LEBn(),n=t.toNumber(),n<=Math.pow(2,53))return n;throw new Error("number too large to retain precision - use readVarIntBn");default:return e}}readVarIntBuf(){switch(this.buf.readUInt8(this.pos)){case 253:return this.read(3);case 254:return this.read(5);case 255:return this.read(9);default:return this.read(1)}}readVarIntBn(){const e=this.readUInt8();switch(e){case 253:return new l(this.readUInt16LE());case 254:return new l(this.readUInt32LE());case 255:return this.readUInt64LEBn();default:return new l(e)}}}var R=Be(8764).Buffer;class w{static{i(this,"Bw")}constructor(e){this.fromObject({bufs:e})}fromObject(e){return this.bufs=e.bufs||this.bufs||[],this}getLength(){let e=0;for(const t in this.bufs){const n=this.bufs[t];e=e+n.length}return e}toBuffer(){return R.concat(this.bufs)}write(e){return this.bufs.push(e),this}writeReverse(e){const t=R.alloc(e.length);for(let n=0;n<t.length;n++)t[n]=e[e.length-1-n];return this.bufs.push(t),this}writeUInt8(e){const t=R.alloc(1);return t.writeUInt8(e,0),this.write(t),this}writeInt8(e){const t=R.alloc(1);return t.writeInt8(e,0),this.write(t),this}writeUInt16BE(e){const t=R.alloc(2);return t.writeUInt16BE(e,0),this.write(t),this}writeInt16BE(e){const t=R.alloc(2);return t.writeInt16BE(e,0),this.write(t),this}writeUInt16LE(e){const t=R.alloc(2);return t.writeUInt16LE(e,0),this.write(t),this}writeInt16LE(e){const t=R.alloc(2);return t.writeInt16LE(e,0),this.write(t),this}writeUInt32BE(e){const t=R.alloc(4);return t.writeUInt32BE(e,0),this.write(t),this}writeInt32BE(e){const t=R.alloc(4);return t.writeInt32BE(e,0),this.write(t),this}writeUInt32LE(e){const t=R.alloc(4);return t.writeUInt32LE(e,0),this.write(t),this}writeInt32LE(e){const t=R.alloc(4);return t.writeInt32LE(e,0),this.write(t),this}writeUInt64BEBn(e){const t=e.toBuffer({size:8});return this.write(t),this}writeUInt64LEBn(e){const t=e.toBuffer({size:8});return this.writeReverse(t),this}writeVarIntNum(e){const t=w.varIntBufNum(e);return this.write(t),this}writeVarIntBn(e){const t=w.varIntBufBn(e);return this.write(t),this}static varIntBufNum(e){let t;return e<253?(t=R.alloc(1),t.writeUInt8(e,0)):e<65536?(t=R.alloc(3),t.writeUInt8(253,0),t.writeUInt16LE(e,1)):e<4294967296?(t=R.alloc(5),t.writeUInt8(254,0),t.writeUInt32LE(e,1)):(t=R.alloc(9),t.writeUInt8(255,0),t.writeInt32LE(e&-1,1),t.writeUInt32LE(Math.floor(e/4294967296),5)),t}static varIntBufBn(e){let t;const n=e.toNumber();if(n<253)t=R.alloc(1),t.writeUInt8(n,0);else if(n<65536)t=R.alloc(3),t.writeUInt8(253,0),t.writeUInt16LE(n,1);else if(n<4294967296)t=R.alloc(5),t.writeUInt8(254,0),t.writeUInt32LE(n,1);else{const x=new w;x.writeUInt8(255),x.writeUInt64LEBn(e),t=x.toBuffer()}return t}}function O(M){const e=typeof M=="string"?M.charCodeAt(0):M;return e>=97&&e<=102||e>=65&&e<=70||e>=48&&e<=57}i(O,"isHexadecimal");var C=Be(8764).Buffer;const L=O;class V{static{i(this,"Struct")}constructor(e){this.fromObject(e)}fromObject(e){if(!e)return this;for(const t of Object.keys(e))e[t]!==void 0&&(this[t]=e[t]);return this}static fromObject(e){return new this().fromObject(e)}fromBr(e){throw e instanceof g?new Error("not implemented"):new Error("br must be a buffer reader")}static fromBr(e){return new this().fromBr(e)}asyncFromBr(e){throw e instanceof g?new Error("not implemented"):new Error("br must be a buffer reader")}static asyncFromBr(e){return new this().asyncFromBr(e)}toBw(e){throw new Error("not implemented")}asyncToBw(e){throw new Error("not implemented")}*genFromBuffers(){throw new Error("not implemented")}*expect(e,t){let n=t;const x=new w;let T=0;for(t&&(x.write(t),T+=t.length);T<e;)n=yield e-T,n&&(x.write(n),T+=n.length);n=x.toBuffer();const W=T-e,ee=n.slice(n.length-W,n.length);return n=n.slice(0,n.length-W),{buf:n,remainderbuf:ee}}fromBuffer(e,...t){if(!C.isBuffer(e))throw new Error("buf must be a buffer");const n=new g(e);return this.fromBr(n,...t)}static fromBuffer(...e){return new this().fromBuffer(...e)}asyncFromBuffer(e,...t){if(!C.isBuffer(e))throw new Error("buf must be a buffer");const n=new g(e);return this.asyncFromBr(n,...t)}static asyncFromBuffer(e,...t){return new this().asyncFromBuffer(e,...t)}fromFastBuffer(e,...t){return e.length===0?this:this.fromBuffer(e,...t)}static fromFastBuffer(...e){return new this().fromFastBuffer(...e)}toBuffer(...e){return this.toBw(...e).toBuffer()}asyncToBuffer(...e){return this.asyncToBw(...e).then(t=>t.toBuffer())}toFastBuffer(...e){return Object.keys(this).length===0?C.alloc(0):this.toBuffer(...e)}fromHex(e,...t){if(!L(e))throw new Error("invalid hex string");const n=C.from(e,"hex");return this.fromBuffer(n,...t)}static fromHex(e,...t){return new this().fromHex(e,...t)}asyncFromHex(e,...t){if(!L(e))throw new Error("invalid hex string");const n=C.from(e,"hex");return this.asyncFromBuffer(n,...t)}static asyncFromHex(e,...t){return new this().asyncFromHex(e,...t)}fromFastHex(e,...t){if(!L(e))throw new Error("invalid hex string");const n=C.from(e,"hex");return this.fromFastBuffer(n,...t)}static fromFastHex(e,...t){return new this().fromFastHex(e,...t)}toHex(...e){return this.toBuffer(...e).toString("hex")}asyncToHex(...e){return this.asyncToBuffer(...e).then(t=>t.toString("hex"))}toFastHex(...e){return this.toFastBuffer(...e).toString("hex")}fromString(e,...t){if(typeof e!="string")throw new Error("str must be a string");return this.fromHex(e,...t)}static fromString(e,...t){return new this().fromString(e,...t)}asyncFromString(e,...t){if(typeof e!="string")throw new Error("str must be a string");return this.asyncFromHex(e,...t)}static asyncFromString(e,...t){return new this().asyncFromString(e,...t)}toString(...e){return this.toHex(...e)}asyncToString(...e){return this.asyncToHex(...e)}fromJSON(e){throw new Error("not implemented")}static fromJSON(e,...t){return new this().fromJSON(e,...t)}asyncFromJSON(e,...t){throw new Error("not implemented")}static asyncFromJSON(e,...t){return new this().asyncFromJSON(e,...t)}toJSON(){var e={};for(var t in this)if(Array.isArray(this[t])){const x=[];for(var n in this[t])typeof this[t][n].toJSON=="function"?x.push(this[t][n].toJSON()):x.push(JSON.stringify(this[t][n]));e[t]=x}else if(this[t]===null)e[t]=this[t];else if(typeof this[t]=="object"&&typeof this[t].toJSON=="function")e[t]=this[t].toJSON();else if(typeof this[t]=="boolean"||typeof this[t]=="number"||typeof this[t]=="string")e[t]=this[t];else if(C.isBuffer(this[t]))e[t]=this[t].toString("hex");else if(this[t]instanceof Map)e[t]=JSON.stringify(this[t]);else if(typeof this[t]=="object")throw new Error("not implemented");return e}asyncToJSON(){throw new Error("not implemented")}clone(){return this.cloneByJSON()}cloneByBuffer(){return new this.constructor().fromBuffer(this.toBuffer())}cloneByFastBuffer(){return new this.constructor().fromFastBuffer(this.toFastBuffer())}cloneByHex(){return new this.constructor().fromHex(this.toHex())}cloneByString(){return new this.constructor().fromString(this.toString())}cloneByJSON(){return new this.constructor().fromJSON(this.toJSON())}}var Q=Be(8764).Buffer;class ie extends V{static{i(this,"Base58")}constructor(e){super({buf:e})}fromHex(e){return this.fromBuffer(Q.from(e,"hex"))}toHex(){return this.toBuffer().toString("hex")}static encode(e){if(!Q.isBuffer(e))throw new Error("Input should be a buffer");return z().encode(e)}static decode(e){if(typeof e!="string")throw new Error("Input should be a string");return Q.from(z().decode(e))}fromBuffer(e){return this.buf=e,this}fromString(e){const t=ie.decode(e);return this.buf=t,this}toBuffer(){return this.buf}toString(){return ie.encode(this.buf)}}var ae=Be(8764).Buffer;const oe=i((M,e)=>{if(!ae.isBuffer(M)||!ae.isBuffer(e))throw new Error("buf1 and buf2 must be buffers");if(M.length!==e.length)return!1;let t=0;for(let n=0;n<M.length;n++){const x=M[n],T=e[n];t|=x^T}return t===0},"cmp");var ge=Be(8764).Buffer;class le extends V{static{i(this,"WorkersResult")}constructor(e,t,n){super({resbuf:e,isError:t,id:n})}fromResult(e,t){return e.toFastBuffer?this.resbuf=e.toFastBuffer():ge.isBuffer(e)?this.resbuf=e:this.resbuf=ge.from(JSON.stringify(e)),this.isError=!1,this.id=t,this}static fromResult(e,t){return new this().fromResult(e,t)}fromError(e,t){return this.resbuf=ge.from(JSON.stringify(e.message)),this.isError=!0,this.id=t,this}toBw(e){return e||(e=new w),e.writeVarIntNum(this.resbuf.length),e.write(this.resbuf),e.writeUInt8(Number(this.isError)),e.writeVarIntNum(this.id),e}fromBr(e){const t=e.readVarIntNum();return this.resbuf=e.read(t),this.isError=!!e.readUInt8(),this.id=e.readVarIntNum(),this}}var te=Be(4155);let E;class r{static{i(this,"Workers")}constructor(e=[],t=0,n=[],x=new Map){this.nativeWorkers=e,this.lastid=t,this.incompconsteRes=n,this.promisemap=x}asyncObjectMethod(e,t,n,x=this.lastid+1){if(!n)throw new Error("must specify args");const T=e[t](...n);return new le().fromResult(T,x)}static asyncObjectMethod(e,t,n,x){return E||(E=new r),E.asyncObjectMethod(e,t,n,x)}asyncClassMethod(e,t,n,x=this.lastid+1){if(!n)throw new Error("must specify args");const T=e[t](...n);return new le().fromResult(T,x)}static asyncClassMethod(e,t,n,x){return E||(E=new r),E.asyncClassMethod(e,t,n,x)}static endGlobalWorkers(){E&&!te.browser&&(E=void 0)}}var o=Be(8764).Buffer;class h{static{i(this,"Hash")}}h.sha1=function(M){if(!o.isBuffer(M))throw new Error("sha1 hash must be of a buffer");const e=m().sha1,t=new e().update(M).digest();return o.from(t)},h.sha1.blockSize=512,h.asyncSha1=async function(M){const e=[M];return(await r.asyncClassMethod(h,"sha1",e)).resbuf},h.sha256=function(M){if(!o.isBuffer(M))throw new Error("sha256 hash must be of a buffer");const e=m().sha256,t=new e().update(M).digest();return o.from(t)},h.sha256.blockSize=512,h.asyncSha256=async function(M){const e=[M];return(await r.asyncClassMethod(h,"sha256",e)).resbuf},h.sha256Sha256=function(M){try{return h.sha256(h.sha256(M))}catch(e){throw new Error("sha256Sha256 hash must be of a buffer: "+e)}},h.asyncSha256Sha256=async function(M){const e=[M];return(await r.asyncClassMethod(h,"sha256Sha256",e)).resbuf},h.ripemd160=function(M){if(!o.isBuffer(M))throw new Error("ripemd160 hash must be of a buffer");const e=m().ripemd160,t=new e().update(M).digest();return o.from(t)},h.asyncRipemd160=async function(M){const e=[M];return(await r.asyncClassMethod(h,"ripemd160",e)).resbuf},h.sha256Ripemd160=function(M){try{return h.ripemd160(h.sha256(M))}catch(e){throw new Error("sha256Ripemd160 hash must be of a buffer: "+e)}},h.asyncSha256Ripemd160=async function(M){const e=[M];return(await r.asyncClassMethod(h,"sha256Ripemd160",e)).resbuf},h.sha512=function(M){if(!o.isBuffer(M))throw new Error("sha512 hash must be of a buffer");const e=m().sha512,t=new e().update(M).digest();return o.from(t)},h.asyncSha512=async function(M){const e=[M];return(await r.asyncClassMethod(h,"sha512",e)).resbuf},h.sha512.blockSize=1024,h.hmac=function(M,e,t){if(M!=="sha1"&&M!=="sha256"&&M!=="sha512")throw new Error("invalid choice of hash function");const n=h[M];if(!o.isBuffer(e)||!o.isBuffer(t))throw new Error("data and key must be buffers");const x=n.blockSize/8;if(t.length>x&&(t=n(t)),t.length<x){const ee=o.alloc(x);ee.fill(0,t.length),t.copy(ee),t=ee}const T=o.alloc(x),W=o.alloc(x);for(let ee=0;ee<x;ee++)T[ee]=92^t[ee],W[ee]=54^t[ee];return n(o.concat([T,n(o.concat([W,e]))]))},h.sha1Hmac=function(M,e){return h.hmac("sha1",M,e)},h.asyncSha1Hmac=async function(M,e){const t=[M,e];return(await r.asyncClassMethod(h,"sha1Hmac",t)).resbuf},h.sha1Hmac.bitsize=160,h.sha256Hmac=function(M,e){return h.hmac("sha256",M,e)},h.asyncSha256Hmac=async function(M,e){const t=[M,e];return(await r.asyncClassMethod(h,"sha256Hmac",t)).resbuf},h.sha256Hmac.bitsize=256,h.sha512Hmac=function(M,e){return h.hmac("sha512",M,e)},h.asyncSha512Hmac=async function(M,e){const t=[M,e];return(await r.asyncClassMethod(h,"sha512Hmac",t)).resbuf},h.sha512Hmac.bitsize=512;var S=Be(8764).Buffer;class N extends V{static{i(this,"Base58Check")}constructor(e){super({buf:e})}fromHex(e){return this.fromBuffer(S.from(e,"hex"))}toHex(){return this.toBuffer().toString("hex")}static decode(e){if(typeof e!="string")throw new Error("Input must be a string");const t=ie.decode(e);if(t.length<4)throw new Error("Input string too short");const n=t.slice(0,-4),x=t.slice(-4),W=h.sha256Sha256(n).slice(0,4);if(!oe(x,W))throw new Error("Checksum mismatch");return n}static encode(e){if(!S.isBuffer(e))throw new Error("Input must be a buffer");const t=S.alloc(e.length+4),n=h.sha256Sha256(e);return e.copy(t),n.copy(t,e.length),ie.encode(t)}fromBuffer(e){return this.buf=e,this}fromString(e){const t=N.decode(e);return this.buf=t,this}toBuffer(){return this.buf}toString(){return N.encode(this.buf)}}var G=Be(4155);class J{static{i(this,"Config")}constructor(e){this.keyDefined=t=>t in e,this.getValue=t=>e[t]}get(e){if(this.keyDefined(e))return this.getValue(e);throw new Error(`Unknown configuration: ${e}`)}}class F{static{i(this,"ConfigBuilder")}constructor(){this.variables={}}build(){return new J(this.variables)}addValue(e,t){if(t===void 0)throw new Error(`Failed to add "${e}" property. The value cannot be undefined`);if(e in this.variables)throw new Error(`"${e}" already has a value defined.`);return this.variables[e]=t,this}addValueWithDefault(e,t,n){if(n===void 0)throw new Error(`Failed to add "${e}" property. Default value cannot be undefined`);return this.addValue(e,t===void 0?n:t)}}const f=new F().addValue("NETWORK",G.env.NETWORK||"mainnet").build(),H={};if(H.Mainnet={MaxSize:33554432,Port:8333,Address:{pubKeyHash:0,payToScriptHash:5},Bip32:{pubKey:76067358,privKey:76066276},Block:{maxNBits:486604799,magicNum:3823236072},Msg:{magicNum:3823236072,versionBytesNum:70015},PrivKey:{versionByteNum:128},TxBuilder:{dust:0,feePerKbNum:50},Workers:{timeout:6e4}},H.Testnet=Object.assign({},H.Mainnet,{Port:18333,Address:{pubKeyHash:111,payToScriptHash:196},Bip32:{pubKey:70617039,privKey:70615956},Block:{maxNBits:486604799,magicNum:4108710900},Msg:{magicNum:4108710900,versionBytesNum:70015},PrivKey:{versionByteNum:239}}),H.Regtest=Object.assign({},H.Mainnet,{Port:18444,Address:{pubKeyHash:111,payToScriptHash:196},Bip32:{pubKey:70617039,privKey:70615956},Block:{maxNBits:545259519,magicNum:3669344250},Msg:{magicNum:3669344250,versionBytesNum:70015},PrivKey:{versionByteNum:239}}),H.STN=Object.assign({},H.Mainnet,{Port:9333,Address:{pubKeyHash:111,payToScriptHash:196},Bip32:{pubKey:70617039,privKey:70615956},Block:{maxNBits:486604799,magicNum:4224632057},Msg:{magicNum:4224632057,versionBytesNum:70015},PrivKey:{versionByteNum:239}}),f.get("NETWORK")==="testnet")H.Default=Object.assign({},H.Testnet);else if(f.get("NETWORK")==="mainnet")H.Default=Object.assign({},H.Mainnet);else if(f.get("NETWORK")==="regtest")H.Default=Object.assign({},H.Regtest);else if(f.get("NETWORK")==="stn")H.Default=Object.assign({},H.STN);else throw new Error(`must set network in environment variable - mainnet, testnet, regtest or stn?, received ${f.get("NETWORK")}`);const we=i(M=>H.Mainnet.Msg.magicNum===M?H.Mainnet:H.Testnet.Msg.magicNum===M?H.Testnet:H.Regtest.Msg.magicNum===M?H.Regtest:H.STN.Msg.magicNum===M?H.STN:H.Default,"getConstants"),xe={FALSE:0,0:0,PUSHDATA1:76,PUSHDATA2:77,PUSHDATA4:78,"1NEGATE":79,RESERVED:80,TRUE:81,1:81,2:82,3:83,4:84,5:85,6:86,7:87,8:88,9:89,10:90,11:91,12:92,13:93,14:94,15:95,16:96,NOP:97,VER:98,IF:99,NOTIF:100,VERIF:101,VERNOTIF:102,ELSE:103,ENDIF:104,VERIFY:105,RETURN:106,TOALTSTACK:107,FROMALTSTACK:108,"2DROP":109,"2DUP":110,"3DUP":111,"2OVER":112,"2ROT":113,"2SWAP":114,IFDUP:115,DEPTH:116,DROP:117,DUP:118,NIP:119,OVER:120,PICK:121,ROLL:122,ROT:123,SWAP:124,TUCK:125,CAT:126,SUBSTR:127,SPLIT:127,LEFT:128,NUM2BIN:128,RIGHT:129,BIN2NUM:129,SIZE:130,INVERT:131,AND:132,OR:133,XOR:134,EQUAL:135,EQUALVERIFY:136,RESERVED1:137,RESERVED2:138,"1ADD":139,"1SUB":140,"2MUL":141,"2DIV":142,NEGATE:143,ABS:144,NOT:145,"0NOTEQUAL":146,ADD:147,SUB:148,MUL:149,DIV:150,MOD:151,LSHIFT:152,RSHIFT:153,BOOLAND:154,BOOLOR:155,NUMEQUAL:156,NUMEQUALVERIFY:157,NUMNOTEQUAL:158,LESSTHAN:159,GREATERTHAN:160,LESSTHANOREQUAL:161,GREATERTHANOREQUAL:162,MIN:163,MAX:164,WITHIN:165,RIPEMD160:166,SHA1:167,SHA256:168,HASH160:169,HASH256:170,CODESEPARATOR:171,CHECKSIG:172,CHECKSIGVERIFY:173,CHECKMULTISIG:174,CHECKMULTISIGVERIFY:175,NOP1:176,NOP2:177,CHECKLOCKTIMEVERIFY:177,NOP3:178,CHECKSEQUENCEVERIFY:178,NOP4:179,NOP5:180,NOP6:181,NOP7:182,NOP8:183,NOP9:184,NOP10:185,SMALLDATA:249,SMALLINTEGER:250,PUBKEYS:251,PUBKEYHASH:253,PUBKEY:254,INVALIDOPCODE:255},Ee={OP_FALSE:0,OP_0:0,OP_PUSHDATA1:76,OP_PUSHDATA2:77,OP_PUSHDATA4:78,OP_1NEGATE:79,OP_RESERVED:80,OP_TRUE:81,OP_1:81,OP_2:82,OP_3:83,OP_4:84,OP_5:85,OP_6:86,OP_7:87,OP_8:88,OP_9:89,OP_10:90,OP_11:91,OP_12:92,OP_13:93,OP_14:94,OP_15:95,OP_16:96,OP_NOP:97,OP_VER:98,OP_IF:99,OP_NOTIF:100,OP_VERIF:101,OP_VERNOTIF:102,OP_ELSE:103,OP_ENDIF:104,OP_VERIFY:105,OP_RETURN:106,OP_TOALTSTACK:107,OP_FROMALTSTACK:108,OP_2DROP:109,OP_2DUP:110,OP_3DUP:111,OP_2OVER:112,OP_2ROT:113,OP_2SWAP:114,OP_IFDUP:115,OP_DEPTH:116,OP_DROP:117,OP_DUP:118,OP_NIP:119,OP_OVER:120,OP_PICK:121,OP_ROLL:122,OP_ROT:123,OP_SWAP:124,OP_TUCK:125,OP_CAT:126,OP_SUBSTR:127,OP_SPLIT:127,OP_LEFT:128,OP_NUM2BIN:128,OP_RIGHT:129,OP_BIN2NUM:129,OP_SIZE:130,OP_INVERT:131,OP_AND:132,OP_OR:133,OP_XOR:134,OP_EQUAL:135,OP_EQUALVERIFY:136,OP_RESERVED1:137,OP_RESERVED2:138,OP_1ADD:139,OP_1SUB:140,OP_2MUL:141,OP_2DIV:142,OP_NEGATE:143,OP_ABS:144,OP_NOT:145,OP_0NOTEQUAL:146,OP_ADD:147,OP_SUB:148,OP_MUL:149,OP_DIV:150,OP_MOD:151,OP_LSHIFT:152,OP_RSHIFT:153,OP_BOOLAND:154,OP_BOOLOR:155,OP_NUMEQUAL:156,OP_NUMEQUALVERIFY:157,OP_NUMNOTEQUAL:158,OP_LESSTHAN:159,OP_GREATERTHAN:160,OP_LESSTHANOREQUAL:161,OP_GREATERTHANOREQUAL:162,OP_MIN:163,OP_MAX:164,OP_WITHIN:165,OP_RIPEMD160:166,OP_SHA1:167,OP_SHA256:168,OP_HASH160:169,OP_HASH256:170,OP_CODESEPARATOR:171,OP_CHECKSIG:172,OP_CHECKSIGVERIFY:173,OP_CHECKMULTISIG:174,OP_CHECKMULTISIGVERIFY:175,OP_NOP1:176,OP_NOP2:177,OP_CHECKLOCKTIMEVERIFY:177,OP_NOP3:178,OP_CHECKSEQUENCEVERIFY:178,OP_NOP4:179,OP_NOP5:180,OP_NOP6:181,OP_NOP7:182,OP_NOP8:183,OP_NOP9:184,OP_NOP10:185,OP_SMALLDATA:249,OP_SMALLINTEGER:250,OP_PUBKEYS:251,OP_PUBKEYHASH:253,OP_PUBKEY:254,OP_INVALIDOPCODE:255};class U extends V{static{i(this,"OpCode")}constructor(e){super({num:e})}fromNumber(e){return this.num=e,this}static fromNumber(e){return new this().fromNumber(e)}toNumber(){return this.num}fromString(e){const t=Ee[e];if(t===void 0)throw new Error("Invalid opCodeStr");return this.num=t,this}fromNoOpString(e){const t=xe[e];if(t===void 0)throw new Error("Invalid opCodeStr");return this.num=t,this}static fromString(e){return new this().fromString(e)}static fromNoOpString(e){return new this().fromNoOpString(e)}toString(){const e=U.str[this.num];return e===void 0?this.num>0&&this.num<U.OP_PUSHDATA1?this.num.toString():"OP_"+this.num.toNumber():e}toNoOpString(){const e=U.noopstr[this.num];return e===void 0?this.num>0&&this.num<U.OP_PUSHDATA1?this.num.toString():this.num.toNumber():e}}U.str={},U.noopstr={};for(const M in Ee)U[M]=Ee[M],Object.prototype.hasOwnProperty.call(Ee,M)&&(U.str[Ee[M]]=M);for(const M in xe)U[M]=xe[M],Object.prototype.hasOwnProperty.call(xe,M)&&(U.noopstr[xe[M]]=M);const X=d().curves.secp256k1,ue=X.curve.point().constructor;class he extends ue{static{i(this,"Point")}constructor(e,t,n){super(X.curve,e,t,n)}static fromX(e,t){const n=X.curve.pointFromX(t,e);return Object.create(he.prototype).copyFrom(n)}copyFrom(e){if(!(e instanceof ue))throw new Error("point should be an external point");return Object.keys(e).forEach(function(t){this[t]=e[t]}.bind(this)),this}add(e){return e=ue.prototype.add.call(this,e),Object.create(he.prototype).copyFrom(e)}mul(e){if(!e.lt(he.getN()))throw new Error("point mul out of range");const t=ue.prototype.mul.call(this,e);return Object.create(he.prototype).copyFrom(t)}mulAdd(e,t,n){const x=ue.prototype.mulAdd.call(this,e,t,n);return t=Object.create(he.prototype),t.copyFrom(x)}getX(){const e=ue.prototype.getX.call(this),t=Object.create(l.prototype);return e.copy(t),t}getY(){const e=ue.prototype.getY.call(this),t=Object.create(l.prototype);return e.copy(t),t}fromX(e,t){const n=he.fromX(e,t);return this.copyFrom(n)}toJSON(){return{x:this.getX().toString(),y:this.getY().toString()}}fromJSON(e){const t=new l().fromString(e.x),n=new l().fromString(e.y),x=new he(t,n);return this.copyFrom(x)}toString(){return JSON.stringify(this.toJSON())}fromString(e){const t=JSON.parse(e),n=new he().fromJSON(t);return this.copyFrom(n)}static getG(){const e=X.curve.g;return Object.create(he.prototype).copyFrom(e)}static getN(){return new l(X.curve.n.toArray())}validate(){if(he.fromX(this.getY().isOdd(),this.getX()).getY().cmp(this.getY())!==0)throw new Error("Invalid y value of public key");if(!(this.getX().gt(-1)&&this.getX().lt(he.getN()))||!(this.getY().gt(-1)&&this.getY().lt(he.getN())))throw new Error("Point does not lie on the curve");return this}}var Se=Be(8764).Buffer;class K extends V{static{i(this,"PubKey")}constructor(e,t){super({point:e,compressed:t})}fromJSON(e){return this.fromFastHex(e),this}toJSON(){return this.toFastHex()}fromPrivKey(e){return this.fromObject({point:he.getG().mul(e.bn),compressed:e.compressed}),this}static fromPrivKey(e){return new this().fromPrivKey(e)}async asyncFromPrivKey(e){const t=await r.asyncObjectMethod(this,"fromPrivKey",[e]);return this.fromFastBuffer(t.resbuf)}static asyncFromPrivKey(e){return new this().asyncFromPrivKey(e)}fromBuffer(e,t){return this.fromDer(e,t)}async asyncFromBuffer(e,t){const n=[e,t],x=await r.asyncObjectMethod(this,"fromBuffer",n);return this.fromFastBuffer(x.resbuf)}fromFastBuffer(e){if(e.length===0)return this;const t=!!e[0];return e=e.slice(1),this.fromDer(e),this.compressed=t,this}fromDer(e,t){if(t===void 0?t=!0:t=!1,e[0]===4||!t&&(e[0]===6||e[0]===7)){const n=e.slice(1,33),x=e.slice(33,65);if(n.length!==32||x.length!==32||e.length!==65)throw new Error("LEngth of x and y must be 32 bytes");const T=new l(n),W=new l(x);this.point=new he(T,W),this.compressed=!1}else if(e[0]===3){const n=e.slice(1),x=new l(n);this.fromX(!0,x),this.compressed=!0}else if(e[0]===2){const n=e.slice(1),x=new l(n);this.fromX(!1,x),this.compressed=!0}else throw new Error("Invalid DER format pubKey");return this}static fromDer(e,t){return new this().fromDer(e,t)}fromString(e){return this.fromDer(Se.from(e,"hex")),this}fromX(e,t){if(typeof e!="boolean")throw new Error("Must specify whether y is odd or not (true or false)");return this.point=he.fromX(e,t),this}static fromX(e,t){return new this().fromX(e,t)}toBuffer(){const e=this.compressed===void 0?!0:this.compressed;return this.toDer(e)}toFastBuffer(){if(!this.point)return Se.alloc(0);const e=new w,t=this.compressed===void 0?!0:!!this.compressed;return e.writeUInt8(Number(t)),e.write(this.toDer(!1)),e.toBuffer()}toDer(e){if(e=e===void 0?this.compressed:e,typeof e!="boolean")throw new Error("Must specify whether the public key is compressed or not (true or false)");const t=this.point.getX(),n=this.point.getY(),x=t.toBuffer({size:32}),T=n.toBuffer({size:32});let W;return e?(T[T.length-1]%2?W=Se.from([3]):W=Se.from([2]),Se.concat([W,x])):(W=Se.from([4]),Se.concat([W,x,T]))}toString(){const e=this.compressed===void 0?!0:this.compressed;return this.toDer(e).toString("hex")}static isCompressedOrUncompressed(e){if(e.length<33)return!1;if(e[0]===4){if(e.length!==65)return!1}else if(e[0]===2||e[0]===3){if(e.length!==33)return!1}else return!1;return!0}validate(){if(this.point.isInfinity())throw new Error("point: Point cannot be equal to Infinity");if(this.point.eq(new he(new l(0),new l(0))))throw new Error("point: Point cannot be equal to 0, 0");return this.point.validate(),this}}var j=Be(1798),fe=Be.n(j);class ye{static{i(this,"Random")}}ye.getRandomBuffer=function(M){return fe()(M)};var Ae=Be(8764).Buffer;class _e extends V{static{i(this,"priv_key_PrivKey")}constructor(e,t,n=null){super({bn:e,compressed:t}),n=n||H.Default.PrivKey,this.Constants=n}fromJSON(e){return this.fromHex(e),this}toJSON(){return this.toHex()}fromRandom(){let e,t,n;do e=ye.getRandomBuffer(32),t=new l().fromBuffer(e),n=t.lt(he.getN());while(!n);return this.fromObject({bn:t,compressed:!0}),this}static fromRandom(){return new this().fromRandom()}toBuffer(){let e=this.compressed;e===void 0&&(e=!0);const t=this.bn.toBuffer({size:32});let n;return e?n=Ae.concat([Ae.from([this.Constants.versionByteNum]),t,Ae.from([1])]):n=Ae.concat([Ae.from([this.Constants.versionByteNum]),t]),n}fromBuffer(e){if(e.length===34&&e[33]===1)this.compressed=!0;else if(e.length===33)this.compressed=!1;else throw new Error("Length of privKey buffer must be 33 (uncompressed pubKey) or 34 (compressed pubKey)");if(e[0]!==this.Constants.versionByteNum)throw new Error("Invalid versionByteNum byte");return this.fromBn(new l().fromBuffer(e.slice(1,33)))}toBn(){return this.bn}fromBn(e){return this.bn=e,this}static fromBn(e){return new this().fromBn(e)}validate(){if(!this.bn.lt(he.getN()))throw new Error("Number must be less than N");if(typeof this.compressed!="boolean")throw new Error("Must specify whether the corresponding public key is compressed or not (true or false)");return this}toWif(){return N.encode(this.toBuffer())}fromWif(e){return this.fromBuffer(N.decode(e))}static fromWif(e){return new this().fromWif(e)}toString(){return this.toWif()}fromString(e){return this.fromWif(e)}}_e.Mainnet=class extends _e{constructor(M,e){super(M,e,H.Mainnet.PrivKey)}},_e.Testnet=class extends _e{constructor(M,e){super(M,e,H.Testnet.PrivKey)}};var ke=Be(8764).Buffer;class me extends V{static{i(this,"Sig")}constructor(e,t,n,x,T){super({r:e,s:t,nHashType:n,recovery:x,compressed:T})}fromBuffer(e){try{return this.fromDer(e,!0)}catch{}try{return this.fromCompact(e)}catch{}return this.fromTxFormat(e)}toBuffer(){return this.nHashType!==void 0?this.toTxFormat():this.recovery!==void 0?this.toCompact():this.toDer()}fromCompact(e){let t=!0,n=e.slice(0,1)[0]-27-4;if(n<0&&(t=!1,n=n+4),!(n===0||n===1||n===2||n===3))throw new Error("i must be 0, 1, 2, or 3");this.compressed=t,this.recovery=n;const x=e.slice(1);return this.fromRS(x),this}static fromCompact(e){return new this().fromCompact(e)}fromRS(e){const t=e.slice(0,32),n=e.slice(32,64);if(t.length!==32)throw new Error("r must be 32 bytes");if(n.length!==32||e.length>64)throw new Error("s must be 32 bytes");return this.r=new l().fromBuffer(t),this.s=new l().fromBuffer(n),this}static fromRS(e){return new this().fromRS(e)}fromDer(e,t){const n=me.parseDer(e,t);return this.r=n.r,this.s=n.s,this}static fromDer(e,t){return new this().fromDer(e,t)}fromTxFormat(e){if(e.length===0)return this.r=new l(1),this.s=new l(1),this.nHashType=1,this;const t=e.readUInt8(e.length-1),n=e.slice(0,e.length-1);return this.fromDer(n,!1),this.nHashType=t,this}static fromTxFormat(e){return new this().fromTxFormat(e)}fromString(e){return this.fromHex(e)}static parseDer(e,t){if(t===void 0&&(t=!0),!ke.isBuffer(e))throw new Error("DER formatted signature should be a buffer");const n=e[0];if(n!==48)throw new Error("Header byte should be 0x30");let x=e[1];const T=e.slice(2).length;if(t&&x!==T)throw new Error("LEngth byte should length of what follows");x=x<T?x:T;const W=e[2];if(W!==2)throw new Error("Integer byte for r should be 0x02");const ee=e[3],pe=e.slice(4,4+ee),be=new l().fromBuffer(pe),Re=e[4]===0;if(ee!==pe.length)throw new Error("LEngth of r incorrect");const Te=e[4+ee+0];if(Te!==2)throw new Error("Integer byte for s should be 0x02");const He=e[4+ee+1],ot=e.slice(4+ee+2,4+ee+2+He),ce=new l().fromBuffer(ot),ve=e[4+ee+2+2]===0;if(He!==ot.length)throw new Error("LEngth of s incorrect");const Me=4+ee+2+He;if(x!==Me-2)throw new Error("LEngth of signature incorrect");return{header:n,length:x,rheader:W,rlength:ee,rneg:Re,rbuf:pe,r:be,sheader:Te,slength:He,sneg:ve,sbuf:ot,s:ce}}static IsTxDer(e){if(e.length<9||e.length>73||e[0]!==48||e[1]!==e.length-3)return!1;const t=e[3];if(5+t>=e.length)return!1;const n=e[5+t];if(t+n+7!==e.length)return!1;const x=e.slice(4);if(e[2]!==2||t===0||x[0]&128||t>1&&x[0]===0&&!(x[1]&128))return!1;const T=e.slice(6+t);return!(e[6+t-2]!==2||n===0||T[0]&128||n>1&&T[0]===0&&!(T[1]&128))}hasLowS(){return!(this.s.lt(1)||this.s.gt(l.fromBuffer(ke.from("7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0","hex"))))}hasDefinedHashType(){return!(this.nHashType<me.SIGHASH_ALL||this.nHashType>me.SIGHASH_SINGLE)}toCompact(e,t){if(e=typeof e=="number"?e:this.recovery,t=typeof t=="boolean"?t:this.compressed,!(e===0||e===1||e===2||e===3))throw new Error("recovery must be equal to 0, 1, 2, or 3");let n=e+27+4;t===!1&&(n=n-4);const x=ke.from([n]),T=this.r.toBuffer({size:32}),W=this.s.toBuffer({size:32});return ke.concat([x,T,W])}toRS(){return ke.concat([this.r.toBuffer({size:32}),this.s.toBuffer({size:32})])}toDer(){const e=this.r.toBuffer(),t=this.s.toBuffer(),n=e[0]&128,x=t[0]&128,T=n?ke.concat([ke.from([0]),e]):e,W=x?ke.concat([ke.from([0]),t]):t,ee=2+T.length+2+W.length,pe=T.length,be=W.length;return ke.concat([ke.from([48,ee,2,pe]),T,ke.from([2,be]),W])}toTxFormat(){const e=this.toDer(),t=ke.alloc(1);return t.writeUInt8(this.nHashType,0),ke.concat([e,t])}toString(){return this.toHex()}}me.SIGHASH_ALL=1,me.SIGHASH_NONE=2,me.SIGHASH_SINGLE=3,me.SIGHASH_FORKID=64,me.SIGHASH_ANYONECANPAY=128;var Oe=Be(8764).Buffer;class Pe extends V{static{i(this,"Script")}constructor(e=[]){super({chunks:e})}fromJSON(e){return this.fromString(e)}toJSON(){return this.toString()}fromBuffer(e){this.chunks=[];const t=new g(e);for(;!t.eof();){const n=t.readUInt8();let x=0,T=Oe.from([]);if(n>0&&n<U.OP_PUSHDATA1)x=n,this.chunks.push({buf:t.read(x),len:x,opCodeNum:n});else if(n===U.OP_PUSHDATA1){try{x=t.readUInt8(),T=t.read(x)}catch{t.read()}this.chunks.push({buf:T,len:x,opCodeNum:n})}else if(n===U.OP_PUSHDATA2){try{x=t.readUInt16LE(),T=t.read(x)}catch{t.read()}this.chunks.push({buf:T,len:x,opCodeNum:n})}else if(n===U.OP_PUSHDATA4){try{x=t.readUInt32LE(),T=t.read(x)}catch{t.read()}this.chunks.push({buf:T,len:x,opCodeNum:n})}else this.chunks.push({opCodeNum:n})}return this}toBuffer(){const e=new w;for(let t=0;t<this.chunks.length;t++){const n=this.chunks[t],x=n.opCodeNum;e.writeUInt8(x),n.buf&&(x<U.OP_PUSHDATA1?e.write(n.buf):x===U.OP_PUSHDATA1?(e.writeUInt8(n.len),e.write(n.buf)):x===U.OP_PUSHDATA2?(e.writeUInt16LE(n.len),e.write(n.buf)):x===U.OP_PUSHDATA4&&(e.writeUInt32LE(n.len),e.write(n.buf)))}return e.toBuffer()}fromString(e){if(this.chunks=[],e===""||e===void 0)return this;const t=e.split(" ");let n=0;for(;n<t.length;){const x=t[n];let T;try{T=new U().fromString(x).toNumber()}catch{}if(T===void 0)if(T=parseInt(x,10),T>0&&T<U.OP_PUSHDATA1)this.chunks.push({buf:Oe.from(t[n+1].slice(2),"hex"),len:T,opCodeNum:T}),n=n+2;else if(T===0)this.chunks.push({opCodeNum:0}),n=n+1;else throw new Error("Invalid script");else if(T===U.OP_PUSHDATA1||T===U.OP_PUSHDATA2||T===U.OP_PUSHDATA4){if(t[n+2].slice(0,2)!=="0x")throw new Error("Pushdata data must start with 0x");this.chunks.push({buf:Oe.from(t[n+2].slice(2),"hex"),len:parseInt(t[n+1],10),opCodeNum:T}),n=n+3}else this.chunks.push({opCodeNum:T}),n=n+1}return this}toString(e={noOp:!1}){let t="";for(let n=0;n<this.chunks.length;n++){const x=this.chunks[n],T=x.opCodeNum.hasOwnProperty("num")?x.opCodeNum.num:x.opCodeNum;x.buf?((T===U.OP_PUSHDATA1||T===U.OP_PUSHDATA2||T===U.OP_PUSHDATA4)&&(t=e.noOp?t+" "+new U(T).toNoOpString():t+" "+new U(T).toString()),t=t+" "+x.len,t=t+" 0x"+x.buf.toString("hex")):U.str[T]!==void 0||U.noopstr[T]!==void 0?t=e.noOp?t+" "+new U(T).toNoOpString():t+" "+new U(T).toString():t=t+" 0x"+T.toString(16)}return t.substr(1)}fromBitcoindString(e){const t=new w,n=e.split(" ");let x;for(x=0;x<n.length;x++){const W=n[x];if(W!=="")if(W[0]==="0"&&W[1]==="x"){const ee=W.slice(2);t.write(Oe.from(ee,"hex"))}else if(W[0]==="'"){const ee=W.slice(1,W.length-1),pe=Oe.from(ee),be=new Pe().writeBuffer(pe).toBuffer();t.write(be)}else if(U["OP_"+W]!==void 0){const ee="OP_"+W,pe=U[ee];t.writeUInt8(pe)}else if(typeof U[W]=="number"){const pe=U[W];t.writeUInt8(pe)}else{if(isNaN(parseInt(W,10)))throw new Error("Could not determine type of script value");{const ee=new l(W),be=new Pe().writeBn(ee).toBuffer();t.write(be)}}}const T=t.toBuffer();return this.fromBuffer(T)}static fromBitcoindString(e){return new this().fromBitcoindString(e)}toBitcoindString(){let e="";for(let t=0;t<this.chunks.length;t++){const n=this.chunks[t];if(n.buf){const T=new Pe([n]).toBuffer().toString("hex");e=e+" 0x"+T}else if(U.str[n.opCodeNum]!==void 0){const x=new U(n.opCodeNum).toString();e=e+" "+x.slice(3)}else e=e+" 0x"+n.opCodeNum.toString(16)}return e.substr(1)}fromAsmString(e){this.chunks=[];const t=e.split(" ");let n=0;for(;n<t.length;){const x=t[n];let T,W;try{T=U.fromString(x),W=T.toNumber()}catch{T=void 0,W=void 0}if(x==="0")W=0,this.chunks.push({opCodeNum:W}),n=n+1;else if(x==="-1")W=U.OP_1NEGATE,this.chunks.push({opCodeNum:W}),n=n+1;else if(T===void 0){const ee=t[n],pe=Oe.from(ee,"hex");if(pe.toString("hex")!==ee)throw new Error("invalid hex string in script");const be=pe.length;be>=0&&be<U.OP_PUSHDATA1?W=be:be<Math.pow(2,8)?W=U.OP_PUSHDATA1:be<Math.pow(2,16)?W=U.OP_PUSHDATA2:be<Math.pow(2,32)&&(W=U.OP_PUSHDATA4),this.chunks.push({buf:pe,len:pe.length,opCodeNum:W}),n=n+1}else this.chunks.push({opCodeNum:W}),n=n+1}return this}static fromAsmString(e){return new this().fromAsmString(e)}toAsmString(e={noOp:!1}){for(var t="",n=0;n<this.chunks.length;n++){var x=this.chunks[n];t+=this._chunkToString(x,e)}return t.substr(1)}_chunkToString(e,t={noOp:!1}){var n=e.opCodeNum,x="";if(e.buf)e.len>0&&(x=x+" "+e.buf.toString("hex"));else if(typeof U.str[n]<"u")n===0?x=x+" 0":n===79?x=x+" -1":x=t.noOp?x+" "+new U(n).toNoOpString():x+" "+new U(n).toString();else{var T=n.toString(16);T.length%2!==0&&(T="0"+T),x=x+" "+T}return x}fromOpReturnData(e){return this.writeOpCode(U.OP_RETURN),this.writeBuffer(e),this}static fromOpReturnData(e){return new this().fromOpReturnData(e)}fromSafeData(e){return this.writeOpCode(U.OP_FALSE),this.writeOpCode(U.OP_RETURN),this.writeBuffer(e),this}static fromSafeData(e){return new this().fromSafeData(e)}fromSafeDataArray(e){this.writeOpCode(U.OP_FALSE),this.writeOpCode(U.OP_RETURN);for(const t in e){const n=e[t];this.writeBuffer(n)}return this}static fromSafeDataArray(e){return new this().fromSafeDataArray(e)}getData(){if(this.isSafeDataOut())return this.chunks.slice(2).map(n=>n.buf);if(this.isOpReturn())return this.chunks.slice(1).map(n=>n.buf);throw new Error("Unrecognized script type to get data from")}fromPubKeyHash(e){if(e.length!==20)throw new Error("hashBuf must be a 20 byte buffer");return this.writeOpCode(U.OP_DUP),this.writeOpCode(U.OP_HASH160),this.writeBuffer(e),this.writeOpCode(U.OP_EQUALVERIFY),this.writeOpCode(U.OP_CHECKSIG),this}static fromPubKeyHash(e){return new this().fromPubKeyHash(e)}static sortPubKeys(e){return e.slice().sort((t,n)=>{const x=t.toBuffer(),T=n.toBuffer(),W=Math.max(x.length,T.length);for(let ee=0;ee<=W;ee++){if(x[ee]===void 0)return-1;if(T[ee]===void 0)return 1;if(x[ee]<T[ee])return-1;if(x[ee]>T[ee])return 1}})}fromPubKeys(e,t,n=!0){if(typeof e!="number")throw new Error("m must be a number");n===!0&&(t=Pe.sortPubKeys(t)),this.writeOpCode(e+U.OP_1-1);for(const x in t)this.writeBuffer(t[x].toBuffer());return this.writeOpCode(t.length+U.OP_1-1),this.writeOpCode(U.OP_CHECKMULTISIG),this}static fromPubKeys(e,t,n){return new this().fromPubKeys(e,t,n)}removeCodeseparators(){const e=[];for(let t=0;t<this.chunks.length;t++)this.chunks[t].opCodeNum!==U.OP_CODESEPARATOR&&e.push(this.chunks[t]);return this.chunks=e,this}isPushOnly(){for(let e=0;e<this.chunks.length;e++)if(this.chunks[e].opCodeNum>U.OP_16)return!1;return!0}isNonSpendable(){const e=this.chunks[0].opCodeNum===U.OP_FALSE,t=this.chunks[1]&&this.chunks[1].opCodeNum===U.OP_RETURN;return!!e&&!!t}isOpReturn(){return this.chunks[0].opCodeNum===U.OP_RETURN&&this.chunks.filter(e=>Oe.isBuffer(e.buf)).length===this.chunks.slice(1).length}isSafeDataOut(){if(this.chunks.length<2||this.chunks[0].opCodeNum!==U.OP_FALSE)return!1;var e=this.chunks.slice(1),t=new Pe(e);return t.isOpReturn()}isPubKeyHashOut(){return!!(this.chunks[0]&&this.chunks[0].opCodeNum===U.OP_DUP&&this.chunks[1]&&this.chunks[1].opCodeNum===U.OP_HASH160&&this.chunks[2].buf&&this.chunks[3]&&this.chunks[3].opCodeNum===U.OP_EQUALVERIFY&&this.chunks[4]&&this.chunks[4].opCodeNum===U.OP_CHECKSIG)}isPubKeyHashIn(){return!!(this.chunks.length===2&&(this.chunks[0].buf||this.chunks[0].opCodeNum===U.OP_0)&&(this.chunks[1].buf||this.chunks[0].opCodeNum===U.OP_0))}isScriptHashOut(){const e=this.toBuffer();return e.length===23&&e[0]===U.OP_HASH160&&e[1]===20&&e[22]===U.OP_EQUAL}isScriptHashIn(){if(!this.isPushOnly())return!1;try{new Pe().fromBuffer(this.chunks[this.chunks.length-1].buf)}catch{return!1}return!0}isMultiSigOut(){const e=this.chunks[0].opCodeNum-U.OP_1+1;if(!(e>=1&&e<=16)||!this.chunks.slice(1,this.chunks.length-2).every(x=>{try{const T=x.buf;return new K().fromDer(T).validate(),!0}catch{return!1}}))return!1;const n=this.chunks[this.chunks.length-2].opCodeNum-U.OP_1+1;return!(!(n>=e&&n<=16)||this.chunks[1+n+1].opCodeNum!==U.OP_CHECKMULTISIG)}isMultiSigIn(){if(this.chunks[0].opCodeNum!==U.OP_0)return!1;const e=this.chunks.slice(1);return e.length<1?!1:e.every(t=>Oe.isBuffer(t.buf)&&me.IsTxDer(t.buf))}findAndDelete(e){const t=e.toBuffer();for(let n=0;n<this.chunks.length;n++){const T=new Pe([this.chunks[n]]).toBuffer();oe(t,T)&&this.chunks.splice(n,1)}return this}writeScript(e){return this.chunks=this.chunks.concat(e.chunks),this}static writeScript(e){return new this().writeScript(e)}writeString(e){const t=new Pe().fromString(e);return this.chunks=this.chunks.concat(t.chunks),this}static writeString(e){return new this().writeString(e)}writeOpCode(e){return this.chunks.push({opCodeNum:e}),this}static writeOpCode(e){return new this().writeOpCode(e)}setChunkOpCode(e,t){return this.chunks[e]={opCodeNum:t},this}writeBn(e){if(e.cmp(0)===U.OP_0)this.chunks.push({opCodeNum:U.OP_0});else if(e.cmp(-1)===0)this.chunks.push({opCodeNum:U.OP_1NEGATE});else if(e.cmp(1)>=0&&e.cmp(16)<=0)this.chunks.push({opCodeNum:e.toNumber()+U.OP_1-1});else{const t=e.toSm({endian:"little"});this.writeBuffer(t)}return this}static writeBn(e){return new this().writeBn(e)}writeNumber(e){return this.writeBn(new l().fromNumber(e)),this}static writeNumber(e){return new this().writeNumber(e)}setChunkBn(e,t){return this.chunks[e]=new Pe().writeBn(t).chunks[0],this}writeBuffer(e){let t;const n=e.length;if(e.length>0&&e.length<U.OP_PUSHDATA1)t=e.length;else if(e.length===0)t=U.OP_0;else if(e.length<Math.pow(2,8))t=U.OP_PUSHDATA1;else if(e.length<Math.pow(2,16))t=U.OP_PUSHDATA2;else if(e.length<Math.pow(2,32))t=U.OP_PUSHDATA4;else throw new Error("You can't push that much data");return this.chunks.push({buf:e,len:n,opCodeNum:t}),this}static writeBuffer(e){return new this().writeBuffer(e)}setChunkBuffer(e,t){return this.chunks[e]=new Pe().writeBuffer(t).chunks[0],this}checkMinimalPush(e){const t=this.chunks[e],n=t.buf,x=t.opCodeNum;return n?n.length===0?x===U.OP_0:n.length===1&&n[0]>=1&&n[0]<=16?x===U.OP_1+(n[0]-1):n.length===1&&n[0]===129?x===U.OP_1NEGATE:n.length<=75?x===n.length:n.length<=255?x===U.OP_PUSHDATA1:n.length<=65535?x===U.OP_PUSHDATA2:!0:!0}}var Ke=Be(8764).Buffer;class Ce extends V{static{i(this,"Address")}constructor(e,t,n=null){super({versionByteNum:e,hashBuf:t}),n=n||H.Default.Address,this.Constants=n}fromBuffer(e){if(e.length!==21)throw new Error("address buffers must be exactly 21 bytes");if(e[0]!==this.Constants.pubKeyHash)throw new Error("address: invalid versionByteNum byte");return this.versionByteNum=e[0],this.hashBuf=e.slice(1),this}fromPubKeyHashBuf(e){return this.hashBuf=e,this.versionByteNum=this.Constants.pubKeyHash,this}static fromPubKeyHashBuf(e){return new this().fromPubKeyHashBuf(e)}fromPubKey(e){const t=h.sha256Ripemd160(e.toBuffer());return this.fromPubKeyHashBuf(t)}static fromPubKey(e){return new this().fromPubKey(e)}async asyncFromPubKey(e){const t=[e],n=await r.asyncObjectMethod(this,"fromPubKey",t);return this.fromFastBuffer(n.resbuf)}static asyncFromPubKey(e){return new this().asyncFromPubKey(e)}fromPrivKey(e){const t=new K().fromPrivKey(e),n=h.sha256Ripemd160(t.toBuffer());return this.fromPubKeyHashBuf(n)}static fromPrivKey(e){return new this().fromPrivKey(e)}async asyncFromPrivKey(e){const t=[e],n=await r.asyncObjectMethod(this,"fromPrivKey",t);return this.fromFastBuffer(n.resbuf)}static asyncFromPrivKey(e){return new this().fromPrivKey(e)}fromRandom(){const e=new _e().fromRandom();return this.fromPrivKey(e)}static fromRandom(){return new this().fromRandom()}async asyncFromRandom(){const e=[],t=await r.asyncObjectMethod(this,"fromRandom",e);return this.fromFastBuffer(t.resbuf)}static asyncFromRandom(){return new this().fromRandom()}fromString(e){const t=N.decode(e);return this.fromBuffer(t)}async asyncFromString(e){const t=[e],n=await r.asyncObjectMethod(this,"fromString",t);return this.fromFastBuffer(n.resbuf)}static asyncFromString(e){return new this().asyncFromString(e)}static isValid(e){let t;try{t=new Ce().fromString(e)}catch{return!1}return t.isValid()}isValid(){try{return this.validate(),!0}catch{return!1}}toTxOutScript(){const e=new Pe;return e.writeOpCode(U.OP_DUP),e.writeOpCode(U.OP_HASH160),e.writeBuffer(this.hashBuf),e.writeOpCode(U.OP_EQUALVERIFY),e.writeOpCode(U.OP_CHECKSIG),e}fromTxInScript(e){const t=h.sha256Ripemd160(e.chunks[1].buf||Ke.from("00".repeat(32),"hex"));return this.fromPubKeyHashBuf(t)}static fromTxInScript(e){return new this().fromTxInScript(e)}fromTxOutScript(e){return this.fromPubKeyHashBuf(e.chunks[2].buf)}static fromTxOutScript(e){return new this().fromTxOutScript(e)}toBuffer(){const e=Ke.from([this.versionByteNum]);return Ke.concat([e,this.hashBuf])}toJSON(){const e={};return this.hashBuf&&(e.hashBuf=this.hashBuf.toString("hex")),typeof this.versionByteNum<"u"&&(e.versionByteNum=this.versionByteNum),e}fromJSON(e){return e.hashBuf&&(this.hashBuf=Ke.from(e.hashBuf,"hex")),typeof e.versionByteNum<"u"&&(this.versionByteNum=e.versionByteNum),this}toString(){return N.encode(this.toBuffer())}async asyncToString(){const e=[],t=await r.asyncObjectMethod(this,"toString",e);return JSON.parse(t.resbuf.toString())}validate(){if(!Ke.isBuffer(this.hashBuf)||this.hashBuf.length!==20)throw new Error("hashBuf must be a buffer of 20 bytes");if(this.versionByteNum!==this.Constants.pubKeyHash)throw new Error("invalid versionByteNum");return this}}Ce.Mainnet=class extends Ce{constructor(M,e){super(M,e,H.Mainnet.Address)}},Ce.Testnet=class extends Ce{constructor(M,e){super(M,e,H.Testnet.Address)}};var $e=Be(8764).Buffer;class I extends V{static{i(this,"Bip32")}constructor(e,t,n,x,T,W,ee,pe=null,be=_e){super({versionBytesNum:e,depth:t,parentFingerPrint:n,childIndex:x,chainCode:T,privKey:W,pubKey:ee}),pe=pe||H.Default.Bip32,this.Constants=pe,this.PrivKey=be}fromRandom(){return this.versionBytesNum=this.Constants.privKey,this.depth=0,this.parentFingerPrint=$e.from([0,0,0,0]),this.childIndex=0,this.chainCode=ye.getRandomBuffer(32),this.privKey=new this.PrivKey().fromRandom(),this.pubKey=new K().fromPrivKey(this.privKey),this}static fromRandom(){return new this().fromRandom()}fromString(e){return this.fromBuffer(N.decode(e))}async asyncFromString(e){const t=[e],n=await r.asyncObjectMethod(this,"fromString",t);return this.fromFastBuffer(n.resbuf)}fromSeed(e){if(!$e.isBuffer(e))throw new Error("bytes must be a buffer");if(e.length<128/8)throw new Error("Need more than 128 bits of entropy");if(e.length>512/8)throw new Error("More than 512 bits of entropy is nonstandard");const t=h.sha512Hmac(e,$e.from("Bitcoin seed"));return this.depth=0,this.parentFingerPrint=$e.from([0,0,0,0]),this.childIndex=0,this.chainCode=t.slice(32,64),this.versionBytesNum=this.Constants.privKey,this.privKey=new this.PrivKey().fromBn(l().fromBuffer(t.slice(0,32))),this.pubKey=new K().fromPrivKey(this.privKey),this}static fromSeed(e){return new this().fromSeed(e)}async asyncFromSeed(e){const t=await r.asyncObjectMethod(this,"fromSeed",[e]);return this.fromFastBuffer(t.resbuf)}static asyncFromSeed(e){return new this().asyncFromSeed(e)}fromBuffer(e){if(e.length!==78)throw new Error("incorrect bip32 data length");this.versionBytesNum=e.slice(0,4).readUInt32BE(0),this.depth=e.slice(4,5).readUInt8(0),this.parentFingerPrint=e.slice(5,9),this.childIndex=e.slice(9,13).readUInt32BE(0),this.chainCode=e.slice(13,45);const t=e.slice(45,78),n=this.versionBytesNum===this.Constants.privKey,x=this.versionBytesNum===this.Constants.pubKey;if(n&&t[0]===0)this.privKey=new this.PrivKey().fromBn(l().fromBuffer(t.slice(1,33))),this.pubKey=new K().fromPrivKey(this.privKey);else if(x&&(t[0]===2||t[0]===3))this.pubKey=new K().fromDer(t);else throw new Error("Invalid key");return this}fromFastBuffer(e){if(e.length===0)return this;if(e.length!==78&&e.length!==111)throw new Error("incorrect bip32 fastBuffer data length: "+e.length);this.versionBytesNum=e.slice(0,4).readUInt32BE(0),this.depth=e.slice(4,5).readUInt8(0),this.parentFingerPrint=e.slice(5,9),this.childIndex=e.slice(9,13).readUInt32BE(0),this.chainCode=e.slice(13,45);const t=e.slice(45,e.length),n=this.versionBytesNum===this.Constants.privKey,x=this.versionBytesNum===this.Constants.pubKey;if(n&&t[0]===0&&e.length===78)this.privKey=new this.PrivKey().fromBn(l().fromBuffer(t.slice(1,33))),this.pubKey=new K().fromPrivKey(this.privKey);else if(x&&e.length===111)this.pubKey=new K().fromFastBuffer(t),this.pubKey.compressed=!0;else throw new Error("Invalid key");return this}derive(e){const t=e.split("/");if(e==="m")return this;let n=this;for(const x in t){const T=t[x];if(x==="0"){if(T!=="m")throw new Error("invalid path");continue}if(parseInt(T.replace("'",""),10).toString()!==T.replace("'",""))throw new Error("invalid path");const W=T.length>1&&T[T.length-1]==="'";let ee=parseInt(W?T.slice(0,T.length-1):T,10)&2147483647;W&&(ee+=2147483648),n=n.deriveChild(ee)}return n}async asyncDerive(e){const t=await r.asyncObjectMethod(this,"derive",[e]);return new this.constructor().fromFastBuffer(t.resbuf)}deriveChild(e){if(typeof e!="number")throw new Error("i must be a number");let t=[];t.push(e>>24&255),t.push(e>>16&255),t.push(e>>8&255),t.push(e&255),t=$e.from(t);const n=(e&2147483648)!==0,x=this.versionBytesNum===this.Constants.privKey;if(n&&(!this.privKey||!x))throw new Error("Cannot do private key derivation without private key");let T=null;if(this.privKey){let ee=null;n?ee=$e.concat([$e.from([0]),this.privKey.bn.toBuffer({size:32}),t]):ee=$e.concat([this.pubKey.toBuffer({size:32}),t]);const pe=h.sha512Hmac(ee,this.chainCode),be=l().fromBuffer(pe.slice(0,32),{size:32}),Re=pe.slice(32,64),Te=be.add(this.privKey.bn).mod(he.getN());T=new this.constructor,T.chainCode=Re,T.privKey=new this.PrivKey().fromBn(Te),T.pubKey=new K().fromPrivKey(T.privKey)}else{const ee=$e.concat([this.pubKey.toBuffer(),t]),pe=h.sha512Hmac(ee,this.chainCode),be=l().fromBuffer(pe.slice(0,32)),Re=pe.slice(32,64),Te=he.getG().mul(be),He=this.pubKey.point,ot=Te.add(He),ce=new K;ce.point=ot,T=new this.constructor,T.chainCode=Re,T.pubKey=ce}T.childIndex=e;const W=h.sha256Ripemd160(this.pubKey.toBuffer());return T.parentFingerPrint=W.slice(0,4),T.versionBytesNum=this.versionBytesNum,T.depth=this.depth+1,T}toPublic(){const e=new this.constructor().fromObject(this);return e.versionBytesNum=this.Constants.pubKey,e.privKey=void 0,e}toBuffer(){const e=this.versionBytesNum===this.Constants.privKey,t=this.versionBytesNum===this.Constants.pubKey;if(e)return new w().writeUInt32BE(this.versionBytesNum).writeUInt8(this.depth).write(this.parentFingerPrint).writeUInt32BE(this.childIndex).write(this.chainCode).writeUInt8(0).write(this.privKey.bn.toBuffer({size:32})).toBuffer();if(t){if(this.pubKey.compressed===!1)throw new Error("cannot convert bip32 to buffer if pubKey is not compressed");return new w().writeUInt32BE(this.versionBytesNum).writeUInt8(this.depth).write(this.parentFingerPrint).writeUInt32BE(this.childIndex).write(this.chainCode).write(this.pubKey.toBuffer()).toBuffer()}else throw new Error("bip32: invalid versionBytesNum byte")}toFastBuffer(){if(!this.versionBytesNum)return $e.alloc(0);const e=this.versionBytesNum===this.Constants.privKey,t=this.versionBytesNum===this.Constants.pubKey;if(e)return new w().writeUInt32BE(this.versionBytesNum).writeUInt8(this.depth).write(this.parentFingerPrint).writeUInt32BE(this.childIndex).write(this.chainCode).writeUInt8(0).write(this.privKey.bn.toBuffer({size:32})).toBuffer();if(t)return new w().writeUInt32BE(this.versionBytesNum).writeUInt8(this.depth).write(this.parentFingerPrint).writeUInt32BE(this.childIndex).write(this.chainCode).write(this.pubKey.toFastBuffer()).toBuffer();throw new Error("bip32: invalid versionBytesNum byte")}toString(){return N.encode(this.toBuffer())}async asyncToString(){const e=await r.asyncObjectMethod(this,"toString",[]);return JSON.parse(e.resbuf.toString())}toJSON(){return this.toFastHex()}fromJSON(e){return this.fromFastHex(e)}isPrivate(){return this.versionBytesNum===this.Constants.privKey}}I.Mainnet=class extends I{constructor(M,e,t,n,x,T,W){super(M,e,t,n,x,T,W,H.Mainnet.Bip32,_e.Mainnet)}},I.Testnet=class extends I{constructor(M,e,t,n,x,T,W){super(M,e,t,n,x,T,W,H.Testnet.Bip32,_e.Testnet)}};const s=["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"];s.space=" ";const c=["\u3042\u3044\u3053\u304F\u3057\u3093","\u3042\u3044\u3055\u3064","\u3042\u3044\u3060","\u3042\u304A\u305E\u3089","\u3042\u304B\u3061\u3083\u3093","\u3042\u304D\u308B","\u3042\u3051\u304C\u305F","\u3042\u3051\u308B","\u3042\u3053\u304C\u308C\u308B","\u3042\u3055\u3044","\u3042\u3055\u3072","\u3042\u3057\u3042\u3068","\u3042\u3058\u308F\u3046","\u3042\u305A\u304B\u308B","\u3042\u305A\u304D","\u3042\u305D\u3076","\u3042\u305F\u3048\u308B","\u3042\u305F\u305F\u3081\u308B","\u3042\u305F\u308A\u307E\u3048","\u3042\u305F\u308B","\u3042\u3064\u3044","\u3042\u3064\u304B\u3046","\u3042\u3063\u3057\u3085\u304F","\u3042\u3064\u307E\u308A","\u3042\u3064\u3081\u308B","\u3042\u3066\u306A","\u3042\u3066\u306F\u307E\u308B","\u3042\u3072\u308B","\u3042\u3076\u3089","\u3042\u3076\u308B","\u3042\u3075\u308C\u308B","\u3042\u307E\u3044","\u3042\u307E\u3069","\u3042\u307E\u3084\u304B\u3059","\u3042\u307E\u308A","\u3042\u307F\u3082\u306E","\u3042\u3081\u308A\u304B","\u3042\u3084\u307E\u308B","\u3042\u3086\u3080","\u3042\u3089\u3044\u3050\u307E","\u3042\u3089\u3057","\u3042\u3089\u3059\u3058","\u3042\u3089\u305F\u3081\u308B","\u3042\u3089\u3086\u308B","\u3042\u3089\u308F\u3059","\u3042\u308A\u304C\u3068\u3046","\u3042\u308F\u305B\u308B","\u3042\u308F\u3066\u308B","\u3042\u3093\u3044","\u3042\u3093\u304C\u3044","\u3042\u3093\u3053","\u3042\u3093\u305C\u3093","\u3042\u3093\u3066\u3044","\u3042\u3093\u306A\u3044","\u3042\u3093\u307E\u308A","\u3044\u3044\u3060\u3059","\u3044\u304A\u3093","\u3044\u304C\u3044","\u3044\u304C\u304F","\u3044\u304D\u304A\u3044","\u3044\u304D\u306A\u308A","\u3044\u304D\u3082\u306E","\u3044\u304D\u308B","\u3044\u304F\u3058","\u3044\u304F\u3076\u3093","\u3044\u3051\u3070\u306A","\u3044\u3051\u3093","\u3044\u3053\u3046","\u3044\u3053\u304F","\u3044\u3053\u3064","\u3044\u3055\u307E\u3057\u3044","\u3044\u3055\u3093","\u3044\u3057\u304D","\u3044\u3058\u3085\u3046","\u3044\u3058\u3087\u3046","\u3044\u3058\u308F\u308B","\u3044\u305A\u307F","\u3044\u305A\u308C","\u3044\u305B\u3044","\u3044\u305B\u3048\u3073","\u3044\u305B\u304B\u3044","\u3044\u305B\u304D","\u3044\u305C\u3093","\u3044\u305D\u3046\u308D\u3046","\u3044\u305D\u304C\u3057\u3044","\u3044\u3060\u3044","\u3044\u3060\u304F","\u3044\u305F\u305A\u3089","\u3044\u305F\u307F","\u3044\u305F\u308A\u3042","\u3044\u3061\u304A\u3046","\u3044\u3061\u3058","\u3044\u3061\u3069","\u3044\u3061\u3070","\u3044\u3061\u3076","\u3044\u3061\u308A\u3085\u3046","\u3044\u3064\u304B","\u3044\u3063\u3057\u3085\u3093","\u3044\u3063\u305B\u3044","\u3044\u3063\u305D\u3046","\u3044\u3063\u305F\u3093","\u3044\u3063\u3061","\u3044\u3063\u3066\u3044","\u3044\u3063\u307D\u3046","\u3044\u3066\u3056","\u3044\u3066\u3093","\u3044\u3069\u3046","\u3044\u3068\u3053","\u3044\u306A\u3044","\u3044\u306A\u304B","\u3044\u306D\u3080\u308A","\u3044\u306E\u3061","\u3044\u306E\u308B","\u3044\u306F\u3064","\u3044\u3070\u308B","\u3044\u306F\u3093","\u3044\u3073\u304D","\u3044\u3072\u3093","\u3044\u3075\u304F","\u3044\u3078\u3093","\u3044\u307B\u3046","\u3044\u307F\u3093","\u3044\u3082\u3046\u3068","\u3044\u3082\u305F\u308C","\u3044\u3082\u308A","\u3044\u3084\u304C\u308B","\u3044\u3084\u3059","\u3044\u3088\u304B\u3093","\u3044\u3088\u304F","\u3044\u3089\u3044","\u3044\u3089\u3059\u3068","\u3044\u308A\u3050\u3061","\u3044\u308A\u3087\u3046","\u3044\u308C\u3044","\u3044\u308C\u3082\u306E","\u3044\u308C\u308B","\u3044\u308D\u3048\u3093\u3074\u3064","\u3044\u308F\u3044","\u3044\u308F\u3046","\u3044\u308F\u304B\u3093","\u3044\u308F\u3070","\u3044\u308F\u3086\u308B","\u3044\u3093\u3052\u3093\u307E\u3081","\u3044\u3093\u3055\u3064","\u3044\u3093\u3057\u3087\u3046","\u3044\u3093\u3088\u3046","\u3046\u3048\u304D","\u3046\u3048\u308B","\u3046\u304A\u3056","\u3046\u304C\u3044","\u3046\u304B\u3076","\u3046\u304B\u3079\u308B","\u3046\u304D\u308F","\u3046\u304F\u3089\u3044\u306A","\u3046\u304F\u308C\u308C","\u3046\u3051\u305F\u307E\u308F\u308B","\u3046\u3051\u3064\u3051","\u3046\u3051\u3068\u308B","\u3046\u3051\u3082\u3064","\u3046\u3051\u308B","\u3046\u3054\u304B\u3059","\u3046\u3054\u304F","\u3046\u3053\u3093","\u3046\u3055\u304E","\u3046\u3057\u306A\u3046","\u3046\u3057\u308D\u304C\u307F","\u3046\u3059\u3044","\u3046\u3059\u304E","\u3046\u3059\u3050\u3089\u3044","\u3046\u3059\u3081\u308B","\u3046\u305B\u3064","\u3046\u3061\u3042\u308F\u305B","\u3046\u3061\u304C\u308F","\u3046\u3061\u304D","\u3046\u3061\u3085\u3046","\u3046\u3063\u304B\u308A","\u3046\u3064\u304F\u3057\u3044","\u3046\u3063\u305F\u3048\u308B","\u3046\u3064\u308B","\u3046\u3069\u3093","\u3046\u306A\u304E","\u3046\u306A\u3058","\u3046\u306A\u305A\u304F","\u3046\u306A\u308B","\u3046\u306D\u308B","\u3046\u306E\u3046","\u3046\u3076\u3052","\u3046\u3076\u3054\u3048","\u3046\u307E\u308C\u308B","\u3046\u3081\u308B","\u3046\u3082\u3046","\u3046\u3084\u307E\u3046","\u3046\u3088\u304F","\u3046\u3089\u304C\u3048\u3059","\u3046\u3089\u3050\u3061","\u3046\u3089\u306A\u3044","\u3046\u308A\u3042\u3052","\u3046\u308A\u304D\u308C","\u3046\u308B\u3055\u3044","\u3046\u308C\u3057\u3044","\u3046\u308C\u3086\u304D","\u3046\u308C\u308B","\u3046\u308D\u3053","\u3046\u308F\u304D","\u3046\u308F\u3055","\u3046\u3093\u3053\u3046","\u3046\u3093\u3061\u3093","\u3046\u3093\u3066\u3093","\u3046\u3093\u3069\u3046","\u3048\u3044\u3048\u3093","\u3048\u3044\u304C","\u3048\u3044\u304D\u3087\u3046","\u3048\u3044\u3054","\u3048\u3044\u305B\u3044","\u3048\u3044\u3076\u3093","\u3048\u3044\u3088\u3046","\u3048\u3044\u308F","\u3048\u304A\u308A","\u3048\u304C\u304A","\u3048\u304C\u304F","\u3048\u304D\u305F\u3044","\u3048\u304F\u305B\u308B","\u3048\u3057\u3083\u304F","\u3048\u3059\u3066","\u3048\u3064\u3089\u3093","\u3048\u306E\u3050","\u3048\u307B\u3046\u307E\u304D","\u3048\u307B\u3093","\u3048\u307E\u304D","\u3048\u3082\u3058","\u3048\u3082\u306E","\u3048\u3089\u3044","\u3048\u3089\u3076","\u3048\u308A\u3042","\u3048\u3093\u3048\u3093","\u3048\u3093\u304B\u3044","\u3048\u3093\u304E","\u3048\u3093\u3052\u304D","\u3048\u3093\u3057\u3085\u3046","\u3048\u3093\u305C\u3064","\u3048\u3093\u305D\u304F","\u3048\u3093\u3061\u3087\u3046","\u3048\u3093\u3068\u3064","\u304A\u3044\u304B\u3051\u308B","\u304A\u3044\u3053\u3059","\u304A\u3044\u3057\u3044","\u304A\u3044\u3064\u304F","\u304A\u3046\u3048\u3093","\u304A\u3046\u3055\u307E","\u304A\u3046\u3058","\u304A\u3046\u305B\u3064","\u304A\u3046\u305F\u3044","\u304A\u3046\u3075\u304F","\u304A\u3046\u3079\u3044","\u304A\u3046\u3088\u3046","\u304A\u3048\u308B","\u304A\u304A\u3044","\u304A\u304A\u3046","\u304A\u304A\u3069\u304A\u308A","\u304A\u304A\u3084","\u304A\u304A\u3088\u305D","\u304A\u304B\u3048\u308A","\u304A\u304B\u305A","\u304A\u304C\u3080","\u304A\u304B\u308F\u308A","\u304A\u304E\u306A\u3046","\u304A\u304D\u308B","\u304A\u304F\u3055\u307E","\u304A\u304F\u3058\u3087\u3046","\u304A\u304F\u308A\u304C\u306A","\u304A\u304F\u308B","\u304A\u304F\u308C\u308B","\u304A\u3053\u3059","\u304A\u3053\u306A\u3046","\u304A\u3053\u308B","\u304A\u3055\u3048\u308B","\u304A\u3055\u306A\u3044","\u304A\u3055\u3081\u308B","\u304A\u3057\u3044\u308C","\u304A\u3057\u3048\u308B","\u304A\u3058\u304E","\u304A\u3058\u3055\u3093","\u304A\u3057\u3083\u308C","\u304A\u305D\u3089\u304F","\u304A\u305D\u308F\u308B","\u304A\u305F\u304C\u3044","\u304A\u305F\u304F","\u304A\u3060\u3084\u304B","\u304A\u3061\u3064\u304F","\u304A\u3063\u3068","\u304A\u3064\u308A","\u304A\u3067\u304B\u3051","\u304A\u3068\u3057\u3082\u306E","\u304A\u3068\u306A\u3057\u3044","\u304A\u3069\u308A","\u304A\u3069\u308D\u304B\u3059","\u304A\u3070\u3055\u3093","\u304A\u307E\u3044\u308A","\u304A\u3081\u3067\u3068\u3046","\u304A\u3082\u3044\u3067","\u304A\u3082\u3046","\u304A\u3082\u305F\u3044","\u304A\u3082\u3061\u3083","\u304A\u3084\u3064","\u304A\u3084\u3086\u3073","\u304A\u3088\u307C\u3059","\u304A\u3089\u3093\u3060","\u304A\u308D\u3059","\u304A\u3093\u304C\u304F","\u304A\u3093\u3051\u3044","\u304A\u3093\u3057\u3083","\u304A\u3093\u305B\u3093","\u304A\u3093\u3060\u3093","\u304A\u3093\u3061\u3085\u3046","\u304A\u3093\u3069\u3051\u3044","\u304B\u3042\u3064","\u304B\u3044\u304C","\u304C\u3044\u304D","\u304C\u3044\u3051\u3093","\u304C\u3044\u3053\u3046","\u304B\u3044\u3055\u3064","\u304B\u3044\u3057\u3083","\u304B\u3044\u3059\u3044\u3088\u304F","\u304B\u3044\u305C\u3093","\u304B\u3044\u305E\u3046\u3069","\u304B\u3044\u3064\u3046","\u304B\u3044\u3066\u3093","\u304B\u3044\u3068\u3046","\u304B\u3044\u3075\u304F","\u304C\u3044\u3078\u304D","\u304B\u3044\u307B\u3046","\u304B\u3044\u3088\u3046","\u304C\u3044\u3089\u3044","\u304B\u3044\u308F","\u304B\u3048\u308B","\u304B\u304A\u308A","\u304B\u304B\u3048\u308B","\u304B\u304C\u304F","\u304B\u304C\u3057","\u304B\u304C\u307F","\u304B\u304F\u3054","\u304B\u304F\u3068\u304F","\u304B\u3056\u308B","\u304C\u305E\u3046","\u304B\u305F\u3044","\u304B\u305F\u3061","\u304C\u3061\u3087\u3046","\u304C\u3063\u304D\u3085\u3046","\u304C\u3063\u3053\u3046","\u304C\u3063\u3055\u3093","\u304C\u3063\u3057\u3087\u3046","\u304B\u306A\u3056\u308F\u3057","\u304B\u306E\u3046","\u304C\u306F\u304F","\u304B\u3076\u304B","\u304B\u307B\u3046","\u304B\u307B\u3054","\u304B\u307E\u3046","\u304B\u307E\u307C\u3053","\u304B\u3081\u308C\u304A\u3093","\u304B\u3086\u3044","\u304B\u3088\u3046\u3073","\u304B\u3089\u3044","\u304B\u308B\u3044","\u304B\u308D\u3046","\u304B\u308F\u304F","\u304B\u308F\u3089","\u304C\u3093\u304B","\u304B\u3093\u3051\u3044","\u304B\u3093\u3053\u3046","\u304B\u3093\u3057\u3083","\u304B\u3093\u305D\u3046","\u304B\u3093\u305F\u3093","\u304B\u3093\u3061","\u304C\u3093\u3070\u308B","\u304D\u3042\u3044","\u304D\u3042\u3064","\u304D\u3044\u308D","\u304E\u3044\u3093","\u304D\u3046\u3044","\u304D\u3046\u3093","\u304D\u3048\u308B","\u304D\u304A\u3046","\u304D\u304A\u304F","\u304D\u304A\u3061","\u304D\u304A\u3093","\u304D\u304B\u3044","\u304D\u304B\u304F","\u304D\u304B\u3093\u3057\u3083","\u304D\u304D\u3066","\u304D\u304F\u3070\u308A","\u304D\u304F\u3089\u3052","\u304D\u3051\u3093\u305B\u3044","\u304D\u3053\u3046","\u304D\u3053\u3048\u308B","\u304D\u3053\u304F","\u304D\u3055\u3044","\u304D\u3055\u304F","\u304D\u3055\u307E","\u304D\u3055\u3089\u304E","\u304E\u3058\u304B\u304C\u304F","\u304E\u3057\u304D","\u304E\u3058\u305F\u3044\u3051\u3093","\u304E\u3058\u306B\u3063\u3066\u3044","\u304E\u3058\u3085\u3064\u3057\u3083","\u304D\u3059\u3046","\u304D\u305B\u3044","\u304D\u305B\u304D","\u304D\u305B\u3064","\u304D\u305D\u3046","\u304D\u305E\u304F","\u304D\u305E\u3093","\u304D\u305F\u3048\u308B","\u304D\u3061\u3087\u3046","\u304D\u3064\u3048\u3093","\u304E\u3063\u3061\u308A","\u304D\u3064\u3064\u304D","\u304D\u3064\u306D","\u304D\u3066\u3044","\u304D\u3069\u3046","\u304D\u3069\u304F","\u304D\u306A\u3044","\u304D\u306A\u304C","\u304D\u306A\u3053","\u304D\u306C\u3054\u3057","\u304D\u306D\u3093","\u304D\u306E\u3046","\u304D\u306E\u3057\u305F","\u304D\u306F\u304F","\u304D\u3073\u3057\u3044","\u304D\u3072\u3093","\u304D\u3075\u304F","\u304D\u3076\u3093","\u304D\u307C\u3046","\u304D\u307B\u3093","\u304D\u307E\u308B","\u304D\u307F\u3064","\u304D\u3080\u305A\u304B\u3057\u3044","\u304D\u3081\u308B","\u304D\u3082\u3060\u3081\u3057","\u304D\u3082\u3061","\u304D\u3082\u306E","\u304D\u3083\u304F","\u304D\u3084\u304F","\u304E\u3085\u3046\u306B\u304F","\u304D\u3088\u3046","\u304D\u3087\u3046\u308A\u3085\u3046","\u304D\u3089\u3044","\u304D\u3089\u304F","\u304D\u308A\u3093","\u304D\u308C\u3044","\u304D\u308C\u3064","\u304D\u308D\u304F","\u304E\u308D\u3093","\u304D\u308F\u3081\u308B","\u304E\u3093\u3044\u308D","\u304D\u3093\u304B\u304F\u3058","\u304D\u3093\u3058\u3087","\u304D\u3093\u3088\u3046\u3073","\u3050\u3042\u3044","\u304F\u3044\u305A","\u304F\u3046\u304B\u3093","\u304F\u3046\u304D","\u304F\u3046\u3050\u3093","\u304F\u3046\u3053\u3046","\u3050\u3046\u305B\u3044","\u304F\u3046\u305D\u3046","\u3050\u3046\u305F\u3089","\u304F\u3046\u3075\u304F","\u304F\u3046\u307C","\u304F\u304B\u3093","\u304F\u304D\u3087\u3046","\u304F\u3052\u3093","\u3050\u3053\u3046","\u304F\u3055\u3044","\u304F\u3055\u304D","\u304F\u3055\u3070\u306A","\u304F\u3055\u308B","\u304F\u3057\u3083\u307F","\u304F\u3057\u3087\u3046","\u304F\u3059\u306E\u304D","\u304F\u3059\u308A\u3086\u3073","\u304F\u305B\u3052","\u304F\u305B\u3093","\u3050\u305F\u3044\u3066\u304D","\u304F\u3060\u3055\u308B","\u304F\u305F\u3073\u308C\u308B","\u304F\u3061\u3053\u307F","\u304F\u3061\u3055\u304D","\u304F\u3064\u3057\u305F","\u3050\u3063\u3059\u308A","\u304F\u3064\u308D\u3050","\u304F\u3068\u3046\u3066\u3093","\u304F\u3069\u304F","\u304F\u306A\u3093","\u304F\u306D\u304F\u306D","\u304F\u306E\u3046","\u304F\u3075\u3046","\u304F\u307F\u3042\u308F\u305B","\u304F\u307F\u305F\u3066\u308B","\u304F\u3081\u308B","\u304F\u3084\u304F\u3057\u3087","\u304F\u3089\u3059","\u304F\u3089\u3079\u308B","\u304F\u308B\u307E","\u304F\u308C\u308B","\u304F\u308D\u3046","\u304F\u308F\u3057\u3044","\u3050\u3093\u304B\u3093","\u3050\u3093\u3057\u3087\u304F","\u3050\u3093\u305F\u3044","\u3050\u3093\u3066","\u3051\u3042\u306A","\u3051\u3044\u304B\u304F","\u3051\u3044\u3051\u3093","\u3051\u3044\u3053","\u3051\u3044\u3055\u3064","\u3052\u3044\u3058\u3085\u3064","\u3051\u3044\u305F\u3044","\u3052\u3044\u306E\u3046\u3058\u3093","\u3051\u3044\u308C\u304D","\u3051\u3044\u308D","\u3051\u304A\u3068\u3059","\u3051\u304A\u308A\u3082\u306E","\u3052\u304D\u304B","\u3052\u304D\u3052\u3093","\u3052\u304D\u3060\u3093","\u3052\u304D\u3061\u3093","\u3052\u304D\u3068\u3064","\u3052\u304D\u306F","\u3052\u304D\u3084\u304F","\u3052\u3053\u3046","\u3052\u3053\u304F\u3058\u3087\u3046","\u3052\u3056\u3044","\u3051\u3055\u304D","\u3052\u3056\u3093","\u3051\u3057\u304D","\u3051\u3057\u3054\u3080","\u3051\u3057\u3087\u3046","\u3052\u3059\u3068","\u3051\u305F\u3070","\u3051\u3061\u3083\u3063\u3077","\u3051\u3061\u3089\u3059","\u3051\u3064\u3042\u3064","\u3051\u3064\u3044","\u3051\u3064\u3048\u304D","\u3051\u3063\u3053\u3093","\u3051\u3064\u3058\u3087","\u3051\u3063\u305B\u304D","\u3051\u3063\u3066\u3044","\u3051\u3064\u307E\u3064","\u3052\u3064\u3088\u3046\u3073","\u3052\u3064\u308C\u3044","\u3051\u3064\u308D\u3093","\u3052\u3069\u304F","\u3051\u3068\u3070\u3059","\u3051\u3068\u308B","\u3051\u306A\u3052","\u3051\u306A\u3059","\u3051\u306A\u307F","\u3051\u306C\u304D","\u3052\u306D\u3064","\u3051\u306D\u3093","\u3051\u306F\u3044","\u3052\u3072\u3093","\u3051\u3076\u304B\u3044","\u3052\u307C\u304F","\u3051\u307E\u308A","\u3051\u307F\u304B\u308B","\u3051\u3080\u3057","\u3051\u3080\u308A","\u3051\u3082\u306E","\u3051\u3089\u3044","\u3051\u308D\u3051\u308D","\u3051\u308F\u3057\u3044","\u3051\u3093\u3044","\u3051\u3093\u3048\u3064","\u3051\u3093\u304A","\u3051\u3093\u304B","\u3052\u3093\u304D","\u3051\u3093\u3052\u3093","\u3051\u3093\u3053\u3046","\u3051\u3093\u3055\u304F","\u3051\u3093\u3057\u3085\u3046","\u3051\u3093\u3059\u3046","\u3052\u3093\u305D\u3046","\u3051\u3093\u3061\u304F","\u3051\u3093\u3066\u3044","\u3051\u3093\u3068\u3046","\u3051\u3093\u306A\u3044","\u3051\u3093\u306B\u3093","\u3052\u3093\u3076\u3064","\u3051\u3093\u307E","\u3051\u3093\u307F\u3093","\u3051\u3093\u3081\u3044","\u3051\u3093\u3089\u3093","\u3051\u3093\u308A","\u3053\u3042\u304F\u307E","\u3053\u3044\u306C","\u3053\u3044\u3073\u3068","\u3054\u3046\u3044","\u3053\u3046\u3048\u3093","\u3053\u3046\u304A\u3093","\u3053\u3046\u304B\u3093","\u3054\u3046\u304D\u3085\u3046","\u3054\u3046\u3051\u3044","\u3053\u3046\u3053\u3046","\u3053\u3046\u3055\u3044","\u3053\u3046\u3058","\u3053\u3046\u3059\u3044","\u3054\u3046\u305B\u3044","\u3053\u3046\u305D\u304F","\u3053\u3046\u305F\u3044","\u3053\u3046\u3061\u3083","\u3053\u3046\u3064\u3046","\u3053\u3046\u3066\u3044","\u3053\u3046\u3069\u3046","\u3053\u3046\u306A\u3044","\u3053\u3046\u306F\u3044","\u3054\u3046\u307B\u3046","\u3054\u3046\u307E\u3093","\u3053\u3046\u3082\u304F","\u3053\u3046\u308A\u3064","\u3053\u3048\u308B","\u3053\u304A\u308A","\u3054\u304B\u3044","\u3054\u304C\u3064","\u3054\u304B\u3093","\u3053\u304F\u3054","\u3053\u304F\u3055\u3044","\u3053\u304F\u3068\u3046","\u3053\u304F\u306A\u3044","\u3053\u304F\u306F\u304F","\u3053\u3050\u307E","\u3053\u3051\u3044","\u3053\u3051\u308B","\u3053\u3053\u306E\u304B","\u3053\u3053\u308D","\u3053\u3055\u3081","\u3053\u3057\u3064","\u3053\u3059\u3046","\u3053\u305B\u3044","\u3053\u305B\u304D","\u3053\u305C\u3093","\u3053\u305D\u3060\u3066","\u3053\u305F\u3044","\u3053\u305F\u3048\u308B","\u3053\u305F\u3064","\u3053\u3061\u3087\u3046","\u3053\u3063\u304B","\u3053\u3064\u3053\u3064","\u3053\u3064\u3070\u3093","\u3053\u3064\u3076","\u3053\u3066\u3044","\u3053\u3066\u3093","\u3053\u3068\u304C\u3089","\u3053\u3068\u3057","\u3053\u3068\u3070","\u3053\u3068\u308A","\u3053\u306A\u3054\u306A","\u3053\u306D\u3053\u306D","\u3053\u306E\u307E\u307E","\u3053\u306E\u307F","\u3053\u306E\u3088","\u3054\u306F\u3093","\u3053\u3072\u3064\u3058","\u3053\u3075\u3046","\u3053\u3075\u3093","\u3053\u307C\u308C\u308B","\u3054\u307E\u3042\u3076\u3089","\u3053\u307E\u304B\u3044","\u3054\u307E\u3059\u308A","\u3053\u307E\u3064\u306A","\u3053\u307E\u308B","\u3053\u3080\u304E\u3053","\u3053\u3082\u3058","\u3053\u3082\u3061","\u3053\u3082\u306E","\u3053\u3082\u3093","\u3053\u3084\u304F","\u3053\u3084\u307E","\u3053\u3086\u3046","\u3053\u3086\u3073","\u3053\u3088\u3044","\u3053\u3088\u3046","\u3053\u308A\u308B","\u3053\u308C\u304F\u3057\u3087\u3093","\u3053\u308D\u3063\u3051","\u3053\u308F\u3082\u3066","\u3053\u308F\u308C\u308B","\u3053\u3093\u3044\u3093","\u3053\u3093\u304B\u3044","\u3053\u3093\u304D","\u3053\u3093\u3057\u3085\u3046","\u3053\u3093\u3059\u3044","\u3053\u3093\u3060\u3066","\u3053\u3093\u3068\u3093","\u3053\u3093\u306A\u3093","\u3053\u3093\u3073\u306B","\u3053\u3093\u307D\u3093","\u3053\u3093\u307E\u3051","\u3053\u3093\u3084","\u3053\u3093\u308C\u3044","\u3053\u3093\u308F\u304F","\u3056\u3044\u3048\u304D","\u3055\u3044\u304B\u3044","\u3055\u3044\u304D\u3093","\u3056\u3044\u3052\u3093","\u3056\u3044\u3053","\u3055\u3044\u3057\u3087","\u3055\u3044\u305B\u3044","\u3056\u3044\u305F\u304F","\u3056\u3044\u3061\u3085\u3046","\u3055\u3044\u3066\u304D","\u3056\u3044\u308A\u3087\u3046","\u3055\u3046\u306A","\u3055\u304B\u3044\u3057","\u3055\u304C\u3059","\u3055\u304B\u306A","\u3055\u304B\u307F\u3061","\u3055\u304C\u308B","\u3055\u304E\u3087\u3046","\u3055\u304F\u3057","\u3055\u304F\u3072\u3093","\u3055\u304F\u3089","\u3055\u3053\u304F","\u3055\u3053\u3064","\u3055\u305A\u304B\u308B","\u3056\u305B\u304D","\u3055\u305F\u3093","\u3055\u3064\u3048\u3044","\u3056\u3064\u304A\u3093","\u3056\u3063\u304B","\u3056\u3064\u304C\u304F","\u3055\u3063\u304D\u3087\u304F","\u3056\u3063\u3057","\u3055\u3064\u3058\u3093","\u3056\u3063\u305D\u3046","\u3055\u3064\u305F\u3070","\u3055\u3064\u307E\u3044\u3082","\u3055\u3066\u3044","\u3055\u3068\u3044\u3082","\u3055\u3068\u3046","\u3055\u3068\u304A\u3084","\u3055\u3068\u3057","\u3055\u3068\u308B","\u3055\u306E\u3046","\u3055\u3070\u304F","\u3055\u3073\u3057\u3044","\u3055\u3079\u3064","\u3055\u307B\u3046","\u3055\u307B\u3069","\u3055\u307E\u3059","\u3055\u307F\u3057\u3044","\u3055\u307F\u3060\u308C","\u3055\u3080\u3051","\u3055\u3081\u308B","\u3055\u3084\u3048\u3093\u3069\u3046","\u3055\u3086\u3046","\u3055\u3088\u3046","\u3055\u3088\u304F","\u3055\u3089\u3060","\u3056\u308B\u305D\u3070","\u3055\u308F\u3084\u304B","\u3055\u308F\u308B","\u3055\u3093\u3044\u3093","\u3055\u3093\u304B","\u3055\u3093\u304D\u3083\u304F","\u3055\u3093\u3053\u3046","\u3055\u3093\u3055\u3044","\u3056\u3093\u3057\u3087","\u3055\u3093\u3059\u3046","\u3055\u3093\u305B\u3044","\u3055\u3093\u305D","\u3055\u3093\u3061","\u3055\u3093\u307E","\u3055\u3093\u307F","\u3055\u3093\u3089\u3093","\u3057\u3042\u3044","\u3057\u3042\u3052","\u3057\u3042\u3055\u3063\u3066","\u3057\u3042\u308F\u305B","\u3057\u3044\u304F","\u3057\u3044\u3093","\u3057\u3046\u3061","\u3057\u3048\u3044","\u3057\u304A\u3051","\u3057\u304B\u3044","\u3057\u304B\u304F","\u3058\u304B\u3093","\u3057\u3054\u3068","\u3057\u3059\u3046","\u3058\u3060\u3044","\u3057\u305F\u3046\u3051","\u3057\u305F\u304E","\u3057\u305F\u3066","\u3057\u305F\u307F","\u3057\u3061\u3087\u3046","\u3057\u3061\u308A\u3093","\u3057\u3063\u304B\u308A","\u3057\u3064\u3058","\u3057\u3064\u3082\u3093","\u3057\u3066\u3044","\u3057\u3066\u304D","\u3057\u3066\u3064","\u3058\u3066\u3093","\u3058\u3069\u3046","\u3057\u306A\u304E\u308C","\u3057\u306A\u3082\u306E","\u3057\u306A\u3093","\u3057\u306D\u307E","\u3057\u306D\u3093","\u3057\u306E\u3050","\u3057\u306E\u3076","\u3057\u306F\u3044","\u3057\u3070\u304B\u308A","\u3057\u306F\u3064","\u3057\u306F\u3089\u3044","\u3057\u306F\u3093","\u3057\u3072\u3087\u3046","\u3057\u3075\u304F","\u3058\u3076\u3093","\u3057\u3078\u3044","\u3057\u307B\u3046","\u3057\u307B\u3093","\u3057\u307E\u3046","\u3057\u307E\u308B","\u3057\u307F\u3093","\u3057\u3080\u3051\u308B","\u3058\u3080\u3057\u3087","\u3057\u3081\u3044","\u3057\u3081\u308B","\u3057\u3082\u3093","\u3057\u3083\u3044\u3093","\u3057\u3083\u3046\u3093","\u3057\u3083\u304A\u3093","\u3058\u3083\u304C\u3044\u3082","\u3057\u3084\u304F\u3057\u3087","\u3057\u3083\u304F\u307B\u3046","\u3057\u3083\u3051\u3093","\u3057\u3083\u3053","\u3057\u3083\u3056\u3044","\u3057\u3083\u3057\u3093","\u3057\u3083\u305B\u3093","\u3057\u3083\u305D\u3046","\u3057\u3083\u305F\u3044","\u3057\u3083\u3061\u3087\u3046","\u3057\u3083\u3063\u304D\u3093","\u3058\u3083\u307E","\u3057\u3083\u308A\u3093","\u3057\u3083\u308C\u3044","\u3058\u3086\u3046","\u3058\u3085\u3046\u3057\u3087","\u3057\u3085\u304F\u306F\u304F","\u3058\u3085\u3057\u3093","\u3057\u3085\u3063\u305B\u304D","\u3057\u3085\u307F","\u3057\u3085\u3089\u3070","\u3058\u3085\u3093\u3070\u3093","\u3057\u3087\u3046\u304B\u3044","\u3057\u3087\u304F\u305F\u304F","\u3057\u3087\u3063\u3051\u3093","\u3057\u3087\u3069\u3046","\u3057\u3087\u3082\u3064","\u3057\u3089\u305B\u308B","\u3057\u3089\u3079\u308B","\u3057\u3093\u304B","\u3057\u3093\u3053\u3046","\u3058\u3093\u3058\u3083","\u3057\u3093\u305B\u3044\u3058","\u3057\u3093\u3061\u304F","\u3057\u3093\u308A\u3093","\u3059\u3042\u3052","\u3059\u3042\u3057","\u3059\u3042\u306A","\u305A\u3042\u3093","\u3059\u3044\u3048\u3044","\u3059\u3044\u304B","\u3059\u3044\u3068\u3046","\u305A\u3044\u3076\u3093","\u3059\u3044\u3088\u3046\u3073","\u3059\u3046\u304C\u304F","\u3059\u3046\u3058\u3064","\u3059\u3046\u305B\u3093","\u3059\u304A\u3069\u308A","\u3059\u304D\u307E","\u3059\u304F\u3046","\u3059\u304F\u306A\u3044","\u3059\u3051\u308B","\u3059\u3054\u3044","\u3059\u3053\u3057","\u305A\u3055\u3093","\u3059\u305A\u3057\u3044","\u3059\u3059\u3080","\u3059\u3059\u3081\u308B","\u3059\u3063\u304B\u308A","\u305A\u3063\u3057\u308A","\u305A\u3063\u3068","\u3059\u3066\u304D","\u3059\u3066\u308B","\u3059\u306D\u308B","\u3059\u306E\u3053","\u3059\u306F\u3060","\u3059\u3070\u3089\u3057\u3044","\u305A\u3072\u3087\u3046","\u305A\u3076\u306C\u308C","\u3059\u3076\u308A","\u3059\u3075\u308C","\u3059\u3079\u3066","\u3059\u3079\u308B","\u305A\u307B\u3046","\u3059\u307C\u3093","\u3059\u307E\u3044","\u3059\u3081\u3057","\u3059\u3082\u3046","\u3059\u3084\u304D","\u3059\u3089\u3059\u3089","\u3059\u308B\u3081","\u3059\u308C\u3061\u304C\u3046","\u3059\u308D\u3063\u3068","\u3059\u308F\u308B","\u3059\u3093\u305C\u3093","\u3059\u3093\u307D\u3046","\u305B\u3042\u3076\u3089","\u305B\u3044\u304B\u3064","\u305B\u3044\u3052\u3093","\u305B\u3044\u3058","\u305B\u3044\u3088\u3046","\u305B\u304A\u3046","\u305B\u304B\u3044\u304B\u3093","\u305B\u304D\u306B\u3093","\u305B\u304D\u3080","\u305B\u304D\u3086","\u305B\u304D\u3089\u3093\u3046\u3093","\u305B\u3051\u3093","\u305B\u3053\u3046","\u305B\u3059\u3058","\u305B\u305F\u3044","\u305B\u305F\u3051","\u305B\u3063\u304B\u304F","\u305B\u3063\u304D\u3083\u304F","\u305C\u3063\u304F","\u305B\u3063\u3051\u3093","\u305B\u3063\u3053\u3064","\u305B\u3063\u3055\u305F\u304F\u307E","\u305B\u3064\u305E\u304F","\u305B\u3064\u3060\u3093","\u305B\u3064\u3067\u3093","\u305B\u3063\u3071\u3093","\u305B\u3064\u3073","\u305B\u3064\u3076\u3093","\u305B\u3064\u3081\u3044","\u305B\u3064\u308A\u3064","\u305B\u306A\u304B","\u305B\u306E\u3073","\u305B\u306F\u3070","\u305B\u3073\u308D","\u305B\u307C\u306D","\u305B\u307E\u3044","\u305B\u307E\u308B","\u305B\u3081\u308B","\u305B\u3082\u305F\u308C","\u305B\u308A\u3075","\u305C\u3093\u3042\u304F","\u305B\u3093\u3044","\u305B\u3093\u3048\u3044","\u305B\u3093\u304B","\u305B\u3093\u304D\u3087","\u305B\u3093\u304F","\u305B\u3093\u3052\u3093","\u305C\u3093\u3054","\u305B\u3093\u3055\u3044","\u305B\u3093\u3057\u3085","\u305B\u3093\u3059\u3044","\u305B\u3093\u305B\u3044","\u305B\u3093\u305E","\u305B\u3093\u305F\u304F","\u305B\u3093\u3061\u3087\u3046","\u305B\u3093\u3066\u3044","\u305B\u3093\u3068\u3046","\u305B\u3093\u306C\u304D","\u305B\u3093\u306D\u3093","\u305B\u3093\u3071\u3044","\u305C\u3093\u3076","\u305C\u3093\u307D\u3046","\u305B\u3093\u3080","\u305B\u3093\u3081\u3093\u3058\u3087","\u305B\u3093\u3082\u3093","\u305B\u3093\u3084\u304F","\u305B\u3093\u3086\u3046","\u305B\u3093\u3088\u3046","\u305C\u3093\u3089","\u305C\u3093\u308A\u3083\u304F","\u305B\u3093\u308C\u3044","\u305B\u3093\u308D","\u305D\u3042\u304F","\u305D\u3044\u3068\u3052\u308B","\u305D\u3044\u306D","\u305D\u3046\u304C\u3093\u304D\u3087\u3046","\u305D\u3046\u304D","\u305D\u3046\u3054","\u305D\u3046\u3057\u3093","\u305D\u3046\u3060\u3093","\u305D\u3046\u306A\u3093","\u305D\u3046\u3073","\u305D\u3046\u3081\u3093","\u305D\u3046\u308A","\u305D\u3048\u3082\u306E","\u305D\u3048\u3093","\u305D\u304C\u3044","\u305D\u3052\u304D","\u305D\u3053\u3046","\u305D\u3053\u305D\u3053","\u305D\u3056\u3044","\u305D\u3057\u306A","\u305D\u305B\u3044","\u305D\u305B\u3093","\u305D\u305D\u3050","\u305D\u3060\u3066\u308B","\u305D\u3064\u3046","\u305D\u3064\u3048\u3093","\u305D\u3063\u304B\u3093","\u305D\u3064\u304E\u3087\u3046","\u305D\u3063\u3051\u3064","\u305D\u3063\u3053\u3046","\u305D\u3063\u305B\u3093","\u305D\u3063\u3068","\u305D\u3068\u304C\u308F","\u305D\u3068\u3065\u3089","\u305D\u306A\u3048\u308B","\u305D\u306A\u305F","\u305D\u3075\u307C","\u305D\u307C\u304F","\u305D\u307C\u308D","\u305D\u307E\u3064","\u305D\u307E\u308B","\u305D\u3080\u304F","\u305D\u3080\u308A\u3048","\u305D\u3081\u308B","\u305D\u3082\u305D\u3082","\u305D\u3088\u304B\u305C","\u305D\u3089\u307E\u3081","\u305D\u308D\u3046","\u305D\u3093\u304B\u3044","\u305D\u3093\u3051\u3044","\u305D\u3093\u3056\u3044","\u305D\u3093\u3057\u3064","\u305D\u3093\u305E\u304F","\u305D\u3093\u3061\u3087\u3046","\u305E\u3093\u3073","\u305E\u3093\u3076\u3093","\u305D\u3093\u307F\u3093","\u305F\u3042\u3044","\u305F\u3044\u3044\u3093","\u305F\u3044\u3046\u3093","\u305F\u3044\u3048\u304D","\u305F\u3044\u304A\u3046","\u3060\u3044\u304C\u304F","\u305F\u3044\u304D","\u305F\u3044\u3050\u3046","\u305F\u3044\u3051\u3093","\u305F\u3044\u3053","\u305F\u3044\u3056\u3044","\u3060\u3044\u3058\u3087\u3046\u3076","\u3060\u3044\u3059\u304D","\u305F\u3044\u305B\u3064","\u305F\u3044\u305D\u3046","\u3060\u3044\u305F\u3044","\u305F\u3044\u3061\u3087\u3046","\u305F\u3044\u3066\u3044","\u3060\u3044\u3069\u3053\u308D","\u305F\u3044\u306A\u3044","\u305F\u3044\u306D\u3064","\u305F\u3044\u306E\u3046","\u305F\u3044\u306F\u3093","\u3060\u3044\u3072\u3087\u3046","\u305F\u3044\u3075\u3046","\u305F\u3044\u3078\u3093","\u305F\u3044\u307B","\u305F\u3044\u307E\u3064\u3070\u306A","\u305F\u3044\u307F\u3093\u3050","\u305F\u3044\u3080","\u305F\u3044\u3081\u3093","\u305F\u3044\u3084\u304D","\u305F\u3044\u3088\u3046","\u305F\u3044\u3089","\u305F\u3044\u308A\u3087\u304F","\u305F\u3044\u308B","\u305F\u3044\u308F\u3093","\u305F\u3046\u3048","\u305F\u3048\u308B","\u305F\u304A\u3059","\u305F\u304A\u308B","\u305F\u304A\u308C\u308B","\u305F\u304B\u3044","\u305F\u304B\u306D","\u305F\u304D\u3073","\u305F\u304F\u3055\u3093","\u305F\u3053\u304F","\u305F\u3053\u3084\u304D","\u305F\u3055\u3044","\u305F\u3057\u3056\u3093","\u3060\u3058\u3083\u308C","\u305F\u3059\u3051\u308B","\u305F\u305A\u3055\u308F\u308B","\u305F\u305D\u304C\u308C","\u305F\u305F\u304B\u3046","\u305F\u305F\u304F","\u305F\u3060\u3057\u3044","\u305F\u305F\u307F","\u305F\u3061\u3070\u306A","\u3060\u3063\u304B\u3044","\u3060\u3063\u304D\u3083\u304F","\u3060\u3063\u3053","\u3060\u3063\u3057\u3085\u3064","\u3060\u3063\u305F\u3044","\u305F\u3066\u308B","\u305F\u3068\u3048\u308B","\u305F\u306A\u3070\u305F","\u305F\u306B\u3093","\u305F\u306C\u304D","\u305F\u306E\u3057\u307F","\u305F\u306F\u3064","\u305F\u3076\u3093","\u305F\u3079\u308B","\u305F\u307C\u3046","\u305F\u307E\u3054","\u305F\u307E\u308B","\u3060\u3080\u308B","\u305F\u3081\u3044\u304D","\u305F\u3081\u3059","\u305F\u3081\u308B","\u305F\u3082\u3064","\u305F\u3084\u3059\u3044","\u305F\u3088\u308B","\u305F\u3089\u3059","\u305F\u308A\u304D\u307B\u3093\u304C\u3093","\u305F\u308A\u3087\u3046","\u305F\u308A\u308B","\u305F\u308B\u3068","\u305F\u308C\u308B","\u305F\u308C\u3093\u3068","\u305F\u308D\u3063\u3068","\u305F\u308F\u3080\u308C\u308B","\u3060\u3093\u3042\u3064","\u305F\u3093\u3044","\u305F\u3093\u304A\u3093","\u305F\u3093\u304B","\u305F\u3093\u304D","\u305F\u3093\u3051\u3093","\u305F\u3093\u3054","\u305F\u3093\u3055\u3093","\u305F\u3093\u3058\u3087\u3046\u3073","\u3060\u3093\u305B\u3044","\u305F\u3093\u305D\u304F","\u305F\u3093\u305F\u3044","\u3060\u3093\u3061","\u305F\u3093\u3066\u3044","\u305F\u3093\u3068\u3046","\u3060\u3093\u306A","\u305F\u3093\u306B\u3093","\u3060\u3093\u306D\u3064","\u305F\u3093\u306E\u3046","\u305F\u3093\u3074\u3093","\u3060\u3093\u307C\u3046","\u305F\u3093\u307E\u3064","\u305F\u3093\u3081\u3044","\u3060\u3093\u308C\u3064","\u3060\u3093\u308D","\u3060\u3093\u308F","\u3061\u3042\u3044","\u3061\u3042\u3093","\u3061\u3044\u304D","\u3061\u3044\u3055\u3044","\u3061\u3048\u3093","\u3061\u304B\u3044","\u3061\u304B\u3089","\u3061\u304D\u3085\u3046","\u3061\u304D\u3093","\u3061\u3051\u3044\u305A","\u3061\u3051\u3093","\u3061\u3053\u304F","\u3061\u3055\u3044","\u3061\u3057\u304D","\u3061\u3057\u308A\u3087\u3046","\u3061\u305B\u3044","\u3061\u305D\u3046","\u3061\u305F\u3044","\u3061\u305F\u3093","\u3061\u3061\u304A\u3084","\u3061\u3064\u3058\u3087","\u3061\u3066\u304D","\u3061\u3066\u3093","\u3061\u306C\u304D","\u3061\u306C\u308A","\u3061\u306E\u3046","\u3061\u3072\u3087\u3046","\u3061\u3078\u3044\u305B\u3093","\u3061\u307B\u3046","\u3061\u307E\u305F","\u3061\u307F\u3064","\u3061\u307F\u3069\u308D","\u3061\u3081\u3044\u3069","\u3061\u3083\u3093\u3053\u306A\u3079","\u3061\u3085\u3046\u3044","\u3061\u3086\u308A\u3087\u304F","\u3061\u3087\u3046\u3057","\u3061\u3087\u3055\u304F\u3051\u3093","\u3061\u3089\u3057","\u3061\u3089\u307F","\u3061\u308A\u304C\u307F","\u3061\u308A\u3087\u3046","\u3061\u308B\u3069","\u3061\u308F\u308F","\u3061\u3093\u305F\u3044","\u3061\u3093\u3082\u304F","\u3064\u3044\u304B","\u3064\u3044\u305F\u3061","\u3064\u3046\u304B","\u3064\u3046\u3058\u3087\u3046","\u3064\u3046\u306F\u3093","\u3064\u3046\u308F","\u3064\u304B\u3046","\u3064\u304B\u308C\u308B","\u3064\u304F\u306D","\u3064\u304F\u308B","\u3064\u3051\u306D","\u3064\u3051\u308B","\u3064\u3054\u3046","\u3064\u305F\u3048\u308B","\u3064\u3065\u304F","\u3064\u3064\u3058","\u3064\u3064\u3080","\u3064\u3068\u3081\u308B","\u3064\u306A\u304C\u308B","\u3064\u306A\u307F","\u3064\u306D\u3065\u306D","\u3064\u306E\u308B","\u3064\u3076\u3059","\u3064\u307E\u3089\u306A\u3044","\u3064\u307E\u308B","\u3064\u307F\u304D","\u3064\u3081\u305F\u3044","\u3064\u3082\u308A","\u3064\u3082\u308B","\u3064\u3088\u3044","\u3064\u308B\u307C","\u3064\u308B\u307F\u304F","\u3064\u308F\u3082\u306E","\u3064\u308F\u308A","\u3066\u3042\u3057","\u3066\u3042\u3066","\u3066\u3042\u307F","\u3066\u3044\u304A\u3093","\u3066\u3044\u304B","\u3066\u3044\u304D","\u3066\u3044\u3051\u3044","\u3066\u3044\u3053\u304F","\u3066\u3044\u3055\u3064","\u3066\u3044\u3057","\u3066\u3044\u305B\u3044","\u3066\u3044\u305F\u3044","\u3066\u3044\u3069","\u3066\u3044\u306D\u3044","\u3066\u3044\u3072\u3087\u3046","\u3066\u3044\u3078\u3093","\u3066\u3044\u307C\u3046","\u3066\u3046\u3061","\u3066\u304A\u304F\u308C","\u3066\u304D\u3068\u3046","\u3066\u304F\u3073","\u3067\u3053\u307C\u3053","\u3066\u3055\u304E\u3087\u3046","\u3066\u3055\u3052","\u3066\u3059\u308A","\u3066\u305D\u3046","\u3066\u3061\u304C\u3044","\u3066\u3061\u3087\u3046","\u3066\u3064\u304C\u304F","\u3066\u3064\u3065\u304D","\u3067\u3063\u3071","\u3066\u3064\u307C\u3046","\u3066\u3064\u3084","\u3067\u306C\u304B\u3048","\u3066\u306C\u304D","\u3066\u306C\u3050\u3044","\u3066\u306E\u3072\u3089","\u3066\u306F\u3044","\u3066\u3076\u304F\u308D","\u3066\u3075\u3060","\u3066\u307B\u3069\u304D","\u3066\u307B\u3093","\u3066\u307E\u3048","\u3066\u307E\u304D\u305A\u3057","\u3066\u307F\u3058\u304B","\u3066\u307F\u3084\u3052","\u3066\u3089\u3059","\u3066\u308C\u3073","\u3066\u308F\u3051","\u3066\u308F\u305F\u3057","\u3067\u3093\u3042\u3064","\u3066\u3093\u3044\u3093","\u3066\u3093\u304B\u3044","\u3066\u3093\u304D","\u3066\u3093\u3050","\u3066\u3093\u3051\u3093","\u3066\u3093\u3054\u304F","\u3066\u3093\u3055\u3044","\u3066\u3093\u3057","\u3066\u3093\u3059\u3046","\u3067\u3093\u3061","\u3066\u3093\u3066\u304D","\u3066\u3093\u3068\u3046","\u3066\u3093\u306A\u3044","\u3066\u3093\u3077\u3089","\u3066\u3093\u307C\u3046\u3060\u3044","\u3066\u3093\u3081\u3064","\u3066\u3093\u3089\u3093\u304B\u3044","\u3067\u3093\u308A\u3087\u304F","\u3067\u3093\u308F","\u3069\u3042\u3044","\u3068\u3044\u308C","\u3069\u3046\u304B\u3093","\u3068\u3046\u304D\u3085\u3046","\u3069\u3046\u3050","\u3068\u3046\u3057","\u3068\u3046\u3080\u304E","\u3068\u304A\u3044","\u3068\u304A\u304B","\u3068\u304A\u304F","\u3068\u304A\u3059","\u3068\u304A\u308B","\u3068\u304B\u3044","\u3068\u304B\u3059","\u3068\u304D\u304A\u308A","\u3068\u304D\u3069\u304D","\u3068\u304F\u3044","\u3068\u304F\u3057\u3085\u3046","\u3068\u304F\u3066\u3093","\u3068\u304F\u306B","\u3068\u304F\u3079\u3064","\u3068\u3051\u3044","\u3068\u3051\u308B","\u3068\u3053\u3084","\u3068\u3055\u304B","\u3068\u3057\u3087\u304B\u3093","\u3068\u305D\u3046","\u3068\u305F\u3093","\u3068\u3061\u3085\u3046","\u3068\u3063\u304D\u3085\u3046","\u3068\u3063\u304F\u3093","\u3068\u3064\u305C\u3093","\u3068\u3064\u306B\u3085\u3046","\u3068\u3069\u3051\u308B","\u3068\u3068\u306E\u3048\u308B","\u3068\u306A\u3044","\u3068\u306A\u3048\u308B","\u3068\u306A\u308A","\u3068\u306E\u3055\u307E","\u3068\u3070\u3059","\u3069\u3076\u304C\u308F","\u3068\u307B\u3046","\u3068\u307E\u308B","\u3068\u3081\u308B","\u3068\u3082\u3060\u3061","\u3068\u3082\u308B","\u3069\u3088\u3046\u3073","\u3068\u3089\u3048\u308B","\u3068\u3093\u304B\u3064","\u3069\u3093\u3076\u308A","\u306A\u3044\u304B\u304F","\u306A\u3044\u3053\u3046","\u306A\u3044\u3057\u3087","\u306A\u3044\u3059","\u306A\u3044\u305B\u3093","\u306A\u3044\u305D\u3046","\u306A\u304A\u3059","\u306A\u304C\u3044","\u306A\u304F\u3059","\u306A\u3052\u308B","\u306A\u3053\u3046\u3069","\u306A\u3055\u3051","\u306A\u305F\u3067\u3053\u3053","\u306A\u3063\u3068\u3046","\u306A\u3064\u3084\u3059\u307F","\u306A\u306A\u304A\u3057","\u306A\u306B\u3054\u3068","\u306A\u306B\u3082\u306E","\u306A\u306B\u308F","\u306A\u306E\u304B","\u306A\u3075\u3060","\u306A\u307E\u3044\u304D","\u306A\u307E\u3048","\u306A\u307E\u307F","\u306A\u307F\u3060","\u306A\u3081\u3089\u304B","\u306A\u3081\u308B","\u306A\u3084\u3080","\u306A\u3089\u3046","\u306A\u3089\u3073","\u306A\u3089\u3076","\u306A\u308C\u308B","\u306A\u308F\u3068\u3073","\u306A\u308F\u3070\u308A","\u306B\u3042\u3046","\u306B\u3044\u304C\u305F","\u306B\u3046\u3051","\u306B\u304A\u3044","\u306B\u304B\u3044","\u306B\u304C\u3066","\u306B\u304D\u3073","\u306B\u304F\u3057\u307F","\u306B\u304F\u307E\u3093","\u306B\u3052\u308B","\u306B\u3055\u3093\u304B\u305F\u3093\u305D","\u306B\u3057\u304D","\u306B\u305B\u3082\u306E","\u306B\u3061\u3058\u3087\u3046","\u306B\u3061\u3088\u3046\u3073","\u306B\u3063\u304B","\u306B\u3063\u304D","\u306B\u3063\u3051\u3044","\u306B\u3063\u3053\u3046","\u306B\u3063\u3055\u3093","\u306B\u3063\u3057\u3087\u304F","\u306B\u3063\u3059\u3046","\u306B\u3063\u305B\u304D","\u306B\u3063\u3066\u3044","\u306B\u306A\u3046","\u306B\u307B\u3093","\u306B\u307E\u3081","\u306B\u3082\u3064","\u306B\u3084\u308A","\u306B\u3085\u3046\u3044\u3093","\u306B\u308A\u3093\u3057\u3083","\u306B\u308F\u3068\u308A","\u306B\u3093\u3044","\u306B\u3093\u304B","\u306B\u3093\u304D","\u306B\u3093\u3052\u3093","\u306B\u3093\u3057\u304D","\u306B\u3093\u305A\u3046","\u306B\u3093\u305D\u3046","\u306B\u3093\u305F\u3044","\u306B\u3093\u3061","\u306B\u3093\u3066\u3044","\u306B\u3093\u306B\u304F","\u306B\u3093\u3077","\u306B\u3093\u307E\u308A","\u306B\u3093\u3080","\u306B\u3093\u3081\u3044","\u306B\u3093\u3088\u3046","\u306C\u3044\u304F\u304E","\u306C\u304B\u3059","\u306C\u3050\u3044\u3068\u308B","\u306C\u3050\u3046","\u306C\u304F\u3082\u308A","\u306C\u3059\u3080","\u306C\u307E\u3048\u3073","\u306C\u3081\u308A","\u306C\u3089\u3059","\u306C\u3093\u3061\u3083\u304F","\u306D\u3042\u3052","\u306D\u3044\u304D","\u306D\u3044\u308B","\u306D\u3044\u308D","\u306D\u3050\u305B","\u306D\u304F\u305F\u3044","\u306D\u304F\u3089","\u306D\u3053\u305C","\u306D\u3053\u3080","\u306D\u3055\u3052","\u306D\u3059\u3054\u3059","\u306D\u305D\u3079\u308B","\u306D\u3060\u3093","\u306D\u3064\u3044","\u306D\u3063\u3057\u3093","\u306D\u3064\u305E\u3046","\u306D\u3063\u305F\u3044\u304E\u3087","\u306D\u3076\u305D\u304F","\u306D\u3075\u3060","\u306D\u307C\u3046","\u306D\u307B\u308A\u306F\u307B\u308A","\u306D\u307E\u304D","\u306D\u307E\u308F\u3057","\u306D\u307F\u307F","\u306D\u3080\u3044","\u306D\u3080\u305F\u3044","\u306D\u3082\u3068","\u306D\u3089\u3046","\u306D\u308F\u3056","\u306D\u3093\u3044\u308A","\u306D\u3093\u304A\u3057","\u306D\u3093\u304B\u3093","\u306D\u3093\u304D\u3093","\u306D\u3093\u3050","\u306D\u3093\u3056","\u306D\u3093\u3057","\u306D\u3093\u3061\u3083\u304F","\u306D\u3093\u3069","\u306D\u3093\u3074","\u306D\u3093\u3076\u3064","\u306D\u3093\u307E\u3064","\u306D\u3093\u308A\u3087\u3046","\u306D\u3093\u308C\u3044","\u306E\u3044\u305A","\u306E\u304A\u3065\u307E","\u306E\u304C\u3059","\u306E\u304D\u306A\u307F","\u306E\u3053\u304E\u308A","\u306E\u3053\u3059","\u306E\u3053\u308B","\u306E\u305B\u308B","\u306E\u305E\u304F","\u306E\u305E\u3080","\u306E\u305F\u307E\u3046","\u306E\u3061\u307B\u3069","\u306E\u3063\u304F","\u306E\u3070\u3059","\u306E\u306F\u3089","\u306E\u3079\u308B","\u306E\u307C\u308B","\u306E\u307F\u3082\u306E","\u306E\u3084\u307E","\u306E\u3089\u3044\u306C","\u306E\u3089\u306D\u3053","\u306E\u308A\u3082\u306E","\u306E\u308A\u3086\u304D","\u306E\u308C\u3093","\u306E\u3093\u304D","\u3070\u3042\u3044","\u306F\u3042\u304F","\u3070\u3042\u3055\u3093","\u3070\u3044\u304B","\u3070\u3044\u304F","\u306F\u3044\u3051\u3093","\u306F\u3044\u3054","\u306F\u3044\u3057\u3093","\u306F\u3044\u3059\u3044","\u306F\u3044\u305B\u3093","\u306F\u3044\u305D\u3046","\u306F\u3044\u3061","\u3070\u3044\u3070\u3044","\u306F\u3044\u308C\u3064","\u306F\u3048\u308B","\u306F\u304A\u308B","\u306F\u304B\u3044","\u3070\u304B\u308A","\u306F\u304B\u308B","\u306F\u304F\u3057\u3085","\u306F\u3051\u3093","\u306F\u3053\u3076","\u306F\u3055\u307F","\u306F\u3055\u3093","\u306F\u3057\u3054","\u3070\u3057\u3087","\u306F\u3057\u308B","\u306F\u305B\u308B","\u3071\u305D\u3053\u3093","\u306F\u305D\u3093","\u306F\u305F\u3093","\u306F\u3061\u307F\u3064","\u306F\u3064\u304A\u3093","\u306F\u3063\u304B\u304F","\u306F\u3065\u304D","\u306F\u3063\u304D\u308A","\u306F\u3063\u304F\u3064","\u306F\u3063\u3051\u3093","\u306F\u3063\u3053\u3046","\u306F\u3063\u3055\u3093","\u306F\u3063\u3057\u3093","\u306F\u3063\u305F\u3064","\u306F\u3063\u3061\u3085\u3046","\u306F\u3063\u3066\u3093","\u306F\u3063\u3074\u3087\u3046","\u306F\u3063\u307D\u3046","\u306F\u306A\u3059","\u306F\u306A\u3073","\u306F\u306B\u304B\u3080","\u306F\u3076\u3089\u3057","\u306F\u307F\u304C\u304D","\u306F\u3080\u304B\u3046","\u306F\u3081\u3064","\u306F\u3084\u3044","\u306F\u3084\u3057","\u306F\u3089\u3046","\u306F\u308D\u3046\u3043\u3093","\u306F\u308F\u3044","\u306F\u3093\u3044","\u306F\u3093\u3048\u3044","\u306F\u3093\u304A\u3093","\u306F\u3093\u304B\u304F","\u306F\u3093\u304D\u3087\u3046","\u3070\u3093\u3050\u307F","\u306F\u3093\u3053","\u306F\u3093\u3057\u3083","\u306F\u3093\u3059\u3046","\u306F\u3093\u3060\u3093","\u3071\u3093\u3061","\u3071\u3093\u3064","\u306F\u3093\u3066\u3044","\u306F\u3093\u3068\u3057","\u306F\u3093\u306E\u3046","\u306F\u3093\u3071","\u306F\u3093\u3076\u3093","\u306F\u3093\u307A\u3093","\u306F\u3093\u307C\u3046\u304D","\u306F\u3093\u3081\u3044","\u306F\u3093\u3089\u3093","\u306F\u3093\u308D\u3093","\u3072\u3044\u304D","\u3072\u3046\u3093","\u3072\u3048\u308B","\u3072\u304B\u304F","\u3072\u304B\u308A","\u3072\u304B\u308B","\u3072\u304B\u3093","\u3072\u304F\u3044","\u3072\u3051\u3064","\u3072\u3053\u3046\u304D","\u3072\u3053\u304F","\u3072\u3055\u3044","\u3072\u3055\u3057\u3076\u308A","\u3072\u3055\u3093","\u3073\u3058\u3085\u3064\u304B\u3093","\u3072\u3057\u3087","\u3072\u305D\u304B","\u3072\u305D\u3080","\u3072\u305F\u3080\u304D","\u3072\u3060\u308A","\u3072\u305F\u308B","\u3072\u3064\u304E","\u3072\u3063\u3053\u3057","\u3072\u3063\u3057","\u3072\u3064\u3058\u3085\u3072\u3093","\u3072\u3063\u3059","\u3072\u3064\u305C\u3093","\u3074\u3063\u305F\u308A","\u3074\u3063\u3061\u308A","\u3072\u3064\u3088\u3046","\u3072\u3066\u3044","\u3072\u3068\u3054\u307F","\u3072\u306A\u307E\u3064\u308A","\u3072\u306A\u3093","\u3072\u306D\u308B","\u3072\u306F\u3093","\u3072\u3073\u304F","\u3072\u3072\u3087\u3046","\u3072\u307B\u3046","\u3072\u307E\u308F\u308A","\u3072\u307E\u3093","\u3072\u307F\u3064","\u3072\u3081\u3044","\u3072\u3081\u3058\u3057","\u3072\u3084\u3051","\u3072\u3084\u3059","\u3072\u3088\u3046","\u3073\u3087\u3046\u304D","\u3072\u3089\u304C\u306A","\u3072\u3089\u304F","\u3072\u308A\u3064","\u3072\u308A\u3087\u3046","\u3072\u308B\u307E","\u3072\u308B\u3084\u3059\u307F","\u3072\u308C\u3044","\u3072\u308D\u3044","\u3072\u308D\u3046","\u3072\u308D\u304D","\u3072\u308D\u3086\u304D","\u3072\u3093\u304B\u304F","\u3072\u3093\u3051\u3064","\u3072\u3093\u3053\u3093","\u3072\u3093\u3057\u3085","\u3072\u3093\u305D\u3046","\u3074\u3093\u3061","\u3072\u3093\u3071\u3093","\u3073\u3093\u307C\u3046","\u3075\u3042\u3093","\u3075\u3044\u3046\u3061","\u3075\u3046\u3051\u3044","\u3075\u3046\u305B\u3093","\u3077\u3046\u305F\u308D\u3046","\u3075\u3046\u3068\u3046","\u3075\u3046\u3075","\u3075\u3048\u308B","\u3075\u304A\u3093","\u3075\u304B\u3044","\u3075\u304D\u3093","\u3075\u304F\u3056\u3064","\u3075\u304F\u3076\u304F\u308D","\u3075\u3053\u3046","\u3075\u3055\u3044","\u3075\u3057\u304E","\u3075\u3058\u307F","\u3075\u3059\u307E","\u3075\u305B\u3044","\u3075\u305B\u3050","\u3075\u305D\u304F","\u3076\u305F\u306B\u304F","\u3075\u305F\u3093","\u3075\u3061\u3087\u3046","\u3075\u3064\u3046","\u3075\u3064\u304B","\u3075\u3063\u304B\u3064","\u3075\u3063\u304D","\u3075\u3063\u3053\u304F","\u3076\u3069\u3046","\u3075\u3068\u308B","\u3075\u3068\u3093","\u3075\u306E\u3046","\u3075\u306F\u3044","\u3075\u3072\u3087\u3046","\u3075\u3078\u3093","\u3075\u307E\u3093","\u3075\u307F\u3093","\u3075\u3081\u3064","\u3075\u3081\u3093","\u3075\u3088\u3046","\u3075\u308A\u3053","\u3075\u308A\u308B","\u3075\u308B\u3044","\u3075\u3093\u3044\u304D","\u3076\u3093\u304C\u304F","\u3076\u3093\u3050","\u3075\u3093\u3057\u3064","\u3076\u3093\u305B\u304D","\u3075\u3093\u305D\u3046","\u3076\u3093\u307D\u3046","\u3078\u3044\u3042\u3093","\u3078\u3044\u304A\u3093","\u3078\u3044\u304C\u3044","\u3078\u3044\u304D","\u3078\u3044\u3052\u3093","\u3078\u3044\u3053\u3046","\u3078\u3044\u3055","\u3078\u3044\u3057\u3083","\u3078\u3044\u305B\u3064","\u3078\u3044\u305D","\u3078\u3044\u305F\u304F","\u3078\u3044\u3066\u3093","\u3078\u3044\u306D\u3064","\u3078\u3044\u308F","\u3078\u304D\u304C","\u3078\u3053\u3080","\u3079\u306B\u3044\u308D","\u3079\u306B\u3057\u3087\u3046\u304C","\u3078\u3089\u3059","\u3078\u3093\u304B\u3093","\u3079\u3093\u304D\u3087\u3046","\u3079\u3093\u3054\u3057","\u3078\u3093\u3055\u3044","\u3078\u3093\u305F\u3044","\u3079\u3093\u308A","\u307B\u3042\u3093","\u307B\u3044\u304F","\u307C\u3046\u304E\u3087","\u307B\u3046\u3053\u304F","\u307B\u3046\u305D\u3046","\u307B\u3046\u307B\u3046","\u307B\u3046\u3082\u3093","\u307B\u3046\u308A\u3064","\u307B\u3048\u308B","\u307B\u304A\u3093","\u307B\u304B\u3093","\u307B\u304D\u3087\u3046","\u307C\u304D\u3093","\u307B\u304F\u308D","\u307B\u3051\u3064","\u307B\u3051\u3093","\u307B\u3053\u3046","\u307B\u3053\u308B","\u307B\u3057\u3044","\u307B\u3057\u3064","\u307B\u3057\u3085","\u307B\u3057\u3087\u3046","\u307B\u305B\u3044","\u307B\u305D\u3044","\u307B\u305D\u304F","\u307B\u305F\u3066","\u307B\u305F\u308B","\u307D\u3061\u3076\u304F\u308D","\u307B\u3063\u304D\u3087\u304F","\u307B\u3063\u3055","\u307B\u3063\u305F\u3093","\u307B\u3068\u3093\u3069","\u307B\u3081\u308B","\u307B\u3093\u3044","\u307B\u3093\u304D","\u307B\u3093\u3051","\u307B\u3093\u3057\u3064","\u307B\u3093\u3084\u304F","\u307E\u3044\u306B\u3061","\u307E\u304B\u3044","\u307E\u304B\u305B\u308B","\u307E\u304C\u308B","\u307E\u3051\u308B","\u307E\u3053\u3068","\u307E\u3055\u3064","\u307E\u3058\u3081","\u307E\u3059\u304F","\u307E\u305C\u308B","\u307E\u3064\u308A","\u307E\u3068\u3081","\u307E\u306A\u3076","\u307E\u306C\u3051","\u307E\u306D\u304F","\u307E\u307B\u3046","\u307E\u3082\u308B","\u307E\u3086\u3052","\u307E\u3088\u3046","\u307E\u308D\u3084\u304B","\u307E\u308F\u3059","\u307E\u308F\u308A","\u307E\u308F\u308B","\u307E\u3093\u304C","\u307E\u3093\u304D\u3064","\u307E\u3093\u305E\u304F","\u307E\u3093\u306A\u304B","\u307F\u3044\u3089","\u307F\u3046\u3061","\u307F\u3048\u308B","\u307F\u304C\u304F","\u307F\u304B\u305F","\u307F\u304B\u3093","\u307F\u3051\u3093","\u307F\u3053\u3093","\u307F\u3058\u304B\u3044","\u307F\u3059\u3044","\u307F\u3059\u3048\u308B","\u307F\u305B\u308B","\u307F\u3063\u304B","\u307F\u3064\u304B\u308B","\u307F\u3064\u3051\u308B","\u307F\u3066\u3044","\u307F\u3068\u3081\u308B","\u307F\u306A\u3068","\u307F\u306A\u307F\u304B\u3055\u3044","\u307F\u306D\u3089\u308B","\u307F\u306E\u3046","\u307F\u306E\u304C\u3059","\u307F\u307B\u3093","\u307F\u3082\u3068","\u307F\u3084\u3052","\u307F\u3089\u3044","\u307F\u308A\u3087\u304F","\u307F\u308F\u304F","\u307F\u3093\u304B","\u307F\u3093\u305E\u304F","\u3080\u3044\u304B","\u3080\u3048\u304D","\u3080\u3048\u3093","\u3080\u304B\u3044","\u3080\u304B\u3046","\u3080\u304B\u3048","\u3080\u304B\u3057","\u3080\u304E\u3061\u3083","\u3080\u3051\u308B","\u3080\u3052\u3093","\u3080\u3055\u307C\u308B","\u3080\u3057\u3042\u3064\u3044","\u3080\u3057\u3070","\u3080\u3058\u3085\u3093","\u3080\u3057\u308D","\u3080\u3059\u3046","\u3080\u3059\u3053","\u3080\u3059\u3076","\u3080\u3059\u3081","\u3080\u305B\u308B","\u3080\u305B\u3093","\u3080\u3061\u3085\u3046","\u3080\u306A\u3057\u3044","\u3080\u306E\u3046","\u3080\u3084\u307F","\u3080\u3088\u3046","\u3080\u3089\u3055\u304D","\u3080\u308A\u3087\u3046","\u3080\u308D\u3093","\u3081\u3044\u3042\u3093","\u3081\u3044\u3046\u3093","\u3081\u3044\u3048\u3093","\u3081\u3044\u304B\u304F","\u3081\u3044\u304D\u3087\u304F","\u3081\u3044\u3055\u3044","\u3081\u3044\u3057","\u3081\u3044\u305D\u3046","\u3081\u3044\u3076\u3064","\u3081\u3044\u308C\u3044","\u3081\u3044\u308F\u304F","\u3081\u3050\u307E\u308C\u308B","\u3081\u3056\u3059","\u3081\u3057\u305F","\u3081\u305A\u3089\u3057\u3044","\u3081\u3060\u3064","\u3081\u307E\u3044","\u3081\u3084\u3059","\u3081\u3093\u304D\u3087","\u3081\u3093\u305B\u304D","\u3081\u3093\u3069\u3046","\u3082\u3046\u3057\u3042\u3052\u308B","\u3082\u3046\u3069\u3046\u3051\u3093","\u3082\u3048\u308B","\u3082\u304F\u3057","\u3082\u304F\u3066\u304D","\u3082\u304F\u3088\u3046\u3073","\u3082\u3061\u308D\u3093","\u3082\u3069\u308B","\u3082\u3089\u3046","\u3082\u3093\u304F","\u3082\u3093\u3060\u3044","\u3084\u304A\u3084","\u3084\u3051\u308B","\u3084\u3055\u3044","\u3084\u3055\u3057\u3044","\u3084\u3059\u3044","\u3084\u3059\u305F\u308D\u3046","\u3084\u3059\u307F","\u3084\u305B\u308B","\u3084\u305D\u3046","\u3084\u305F\u3044","\u3084\u3061\u3093","\u3084\u3063\u3068","\u3084\u3063\u3071\u308A","\u3084\u3076\u308B","\u3084\u3081\u308B","\u3084\u3084\u3053\u3057\u3044","\u3084\u3088\u3044","\u3084\u308F\u3089\u304B\u3044","\u3086\u3046\u304D","\u3086\u3046\u3073\u3093\u304D\u3087\u304F","\u3086\u3046\u3079","\u3086\u3046\u3081\u3044","\u3086\u3051\u3064","\u3086\u3057\u3085\u3064","\u3086\u305B\u3093","\u3086\u305D\u3046","\u3086\u305F\u304B","\u3086\u3061\u3083\u304F","\u3086\u3067\u308B","\u3086\u306B\u3085\u3046","\u3086\u3073\u308F","\u3086\u3089\u3044","\u3086\u308C\u308B","\u3088\u3046\u3044","\u3088\u3046\u304B","\u3088\u3046\u304D\u3085\u3046","\u3088\u3046\u3058","\u3088\u3046\u3059","\u3088\u3046\u3061\u3048\u3093","\u3088\u304B\u305C","\u3088\u304B\u3093","\u3088\u304D\u3093","\u3088\u304F\u305B\u3044","\u3088\u304F\u307C\u3046","\u3088\u3051\u3044","\u3088\u3054\u308C\u308B","\u3088\u3055\u3093","\u3088\u3057\u3085\u3046","\u3088\u305D\u3046","\u3088\u305D\u304F","\u3088\u3063\u304B","\u3088\u3066\u3044","\u3088\u3069\u304C\u308F\u304F","\u3088\u306D\u3064","\u3088\u3084\u304F","\u3088\u3086\u3046","\u3088\u308D\u3053\u3076","\u3088\u308D\u3057\u3044","\u3089\u3044\u3046","\u3089\u304F\u304C\u304D","\u3089\u304F\u3054","\u3089\u304F\u3055\u3064","\u3089\u304F\u3060","\u3089\u3057\u3093\u3070\u3093","\u3089\u305B\u3093","\u3089\u305E\u304F","\u3089\u305F\u3044","\u3089\u3063\u304B","\u3089\u308C\u3064","\u308A\u3048\u304D","\u308A\u304B\u3044","\u308A\u304D\u3055\u304F","\u308A\u304D\u305B\u3064","\u308A\u304F\u3050\u3093","\u308A\u304F\u3064","\u308A\u3051\u3093","\u308A\u3053\u3046","\u308A\u305B\u3044","\u308A\u305D\u3046","\u308A\u305D\u304F","\u308A\u3066\u3093","\u308A\u306D\u3093","\u308A\u3086\u3046","\u308A\u3085\u3046\u304C\u304F","\u308A\u3088\u3046","\u308A\u3087\u3046\u308A","\u308A\u3087\u304B\u3093","\u308A\u3087\u304F\u3061\u3083","\u308A\u3087\u3053\u3046","\u308A\u308A\u304F","\u308A\u308C\u304D","\u308A\u308D\u3093","\u308A\u3093\u3054","\u308B\u3044\u3051\u3044","\u308B\u3044\u3055\u3044","\u308B\u3044\u3058","\u308B\u3044\u305B\u304D","\u308B\u3059\u3070\u3093","\u308B\u308A\u304C\u308F\u3089","\u308C\u3044\u304B\u3093","\u308C\u3044\u304E","\u308C\u3044\u305B\u3044","\u308C\u3044\u305E\u3046\u3053","\u308C\u3044\u3068\u3046","\u308C\u3044\u307C\u3046","\u308C\u304D\u3057","\u308C\u304D\u3060\u3044","\u308C\u3093\u3042\u3044","\u308C\u3093\u3051\u3044","\u308C\u3093\u3053\u3093","\u308C\u3093\u3055\u3044","\u308C\u3093\u3057\u3085\u3046","\u308C\u3093\u305E\u304F","\u308C\u3093\u3089\u304F","\u308D\u3046\u304B","\u308D\u3046\u3054","\u308D\u3046\u3058\u3093","\u308D\u3046\u305D\u304F","\u308D\u304F\u304C","\u308D\u3053\u3064","\u308D\u3058\u3046\u3089","\u308D\u3057\u3085\u3064","\u308D\u305B\u3093","\u308D\u3066\u3093","\u308D\u3081\u3093","\u308D\u308C\u3064","\u308D\u3093\u304E","\u308D\u3093\u3071","\u308D\u3093\u3076\u3093","\u308D\u3093\u308A","\u308F\u304B\u3059","\u308F\u304B\u3081","\u308F\u304B\u3084\u307E","\u308F\u304B\u308C\u308B","\u308F\u3057\u3064","\u308F\u3058\u307E\u3057","\u308F\u3059\u308C\u3082\u306E","\u308F\u3089\u3046","\u308F\u308C\u308B"];c.space="\u3000";const D=["a\u0301baco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","accio\u0301n","aceite","acelga","acento","aceptar","a\u0301cido","aclarar","acne\u0301","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","ae\u0301reo","afectar","aficio\u0301n","afinar","afirmar","a\u0301gil","agitar","agoni\u0301a","agosto","agotar","agregar","agrio","agua","agudo","a\u0301guila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacra\u0301n","alambre","alarma","alba","a\u0301lbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodo\u0301n","aliado","aliento","alivio","alma","almeja","almi\u0301bar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","a\u0301mbar","a\u0301mbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","ande\u0301n","anemia","a\u0301ngulo","anillo","a\u0301nimo","ani\u0301s","anotar","antena","antiguo","antojo","anual","anular","anuncio","an\u0303adir","an\u0303ejo","an\u0303o","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","aran\u0303a","arar","a\u0301rbitro","a\u0301rbol","arbusto","archivo","arco","arder","ardilla","arduo","a\u0301rea","a\u0301rido","aries","armoni\u0301a","arne\u0301s","aroma","arpa","arpo\u0301n","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","a\u0301spero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","a\u0301tico","atleta","a\u0301tomo","atraer","atroz","atu\u0301n","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avio\u0301n","aviso","ayer","ayuda","ayuno","azafra\u0301n","azar","azote","azu\u0301car","azufre","azul","baba","babor","bache","bahi\u0301a","baile","bajar","balanza","balco\u0301n","balde","bambu\u0301","banco","banda","ban\u0303o","barba","barco","barniz","barro","ba\u0301scula","basto\u0301n","basura","batalla","bateri\u0301a","batir","batuta","bau\u0301l","bazar","bebe\u0301","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsa\u0301i","borde","borrar","bosque","bote","boti\u0301n","bo\u0301veda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufo\u0301n","bu\u0301ho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzo\u0301n","caballo","cabeza","cabina","cabra","cacao","cada\u0301ver","cadena","caer","cafe\u0301","cai\u0301da","caima\u0301n","caja","cajo\u0301n","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","ca\u0301ncer","candil","canela","canguro","canica","canto","can\u0303a","can\u0303o\u0301n","caoba","caos","capaz","capita\u0301n","capote","captar","capucha","cara","carbo\u0301n","ca\u0301rcel","careta","carga","carin\u0303o","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","ce\u0301lebre","celoso","ce\u0301lula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","ce\u0301sped","cetro","chacal","chaleco","champu\u0301","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclo\u0301n","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","cipre\u0301s","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","cli\u0301nica","cobre","coccio\u0301n","cochino","cocina","coco","co\u0301digo","codo","cofre","coger","cohete","coji\u0301n","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","co\u0301modo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazo\u0301n","corbata","corcho","cordo\u0301n","corona","correr","coser","cosmos","costa","cra\u0301neo","cra\u0301ter","crear","crecer","crei\u0301do","crema","cri\u0301a","crimen","cripta","crisis","cromo","cro\u0301nica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupo\u0301n","cu\u0301pula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","da\u0301til","deber","de\u0301bil","de\u0301cada","decir","dedo","defensa","definir","dejar","delfi\u0301n","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvi\u0301o","detalle","detener","deuda","di\u0301a","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difi\u0301cil","digno","dilema","diluir","dinero","directo","dirigir","disco","disen\u0303o","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","drago\u0301n","droga","ducha","duda","duelo","duen\u0303o","dulce","du\u0301o","duque","durar","dureza","duro","e\u0301bano","ebrio","echar","eco","ecuador","edad","edicio\u0301n","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","e\u0301lite","elixir","elogio","eludir","embudo","emitir","emocio\u0301n","empate","empen\u0303o","empleo","empresa","enano","encargo","enchufe","enci\u0301a","enemigo","enero","enfado","enfermo","engan\u0303o","enigma","enlace","enorme","enredo","ensayo","ensen\u0303ar","entero","entrar","envase","envi\u0301o","e\u0301poca","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espi\u0301a","esposa","espuma","esqui\u0301","estar","este","estilo","estufa","etapa","eterno","e\u0301tica","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","e\u0301xito","experto","explicar","exponer","extremo","fa\u0301brica","fa\u0301bula","fachada","fa\u0301cil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","farao\u0301n","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fe\u0301rtil","fervor","festi\u0301n","fiable","fianza","fiar","fibra","ficcio\u0301n","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flu\u0301or","fobia","foca","fogata","fogo\u0301n","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","fra\u0301gil","franja","frase","fraude","frei\u0301r","freno","fresa","fri\u0301o","frito","fruta","fuego","fuente","fuerza","fuga","fumar","funcio\u0301n","funda","furgo\u0301n","furia","fusil","fu\u0301tbol","futuro","gacela","gafas","gaita","gajo","gala","galeri\u0301a","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavila\u0301n","gemelo","gemir","gen","ge\u0301nero","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gra\u0301fico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","gru\u0301a","grueso","grumo","grupo","guante","guapo","guardia","guerra","gui\u0301a","guin\u0303o","guion","guiso","guitarra","gusano","gustar","haber","ha\u0301bil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazan\u0303a","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","he\u0301roe","hervir","hielo","hierro","hi\u0301gado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","hu\u0301medo","humilde","humo","hundir","huraca\u0301n","hurto","icono","ideal","idioma","i\u0301dolo","iglesia","iglu\u0301","igual","ilegal","ilusio\u0301n","imagen","ima\u0301n","imitar","impar","imperio","imponer","impulso","incapaz","i\u0301ndice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","intere\u0301s","i\u0301ntimo","intuir","inu\u0301til","invierno","ira","iris","ironi\u0301a","isla","islote","jabali\u0301","jabo\u0301n","jamo\u0301n","jarabe","jardi\u0301n","jarra","jaula","jazmi\u0301n","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","ju\u0301piter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladro\u0301n","lagarto","la\u0301grima","laguna","laico","lamer","la\u0301mina","la\u0301mpara","lana","lancha","langosta","lanza","la\u0301piz","largo","larva","la\u0301stima","lata","la\u0301tex","latir","laurel","lavar","lazo","leal","leccio\u0301n","leche","lector","leer","legio\u0301n","legumbre","lejano","lengua","lento","len\u0303a","leo\u0301n","leopardo","lesio\u0301n","letal","letra","leve","leyenda","libertad","libro","licor","li\u0301der","lidiar","lienzo","liga","ligero","lima","li\u0301mite","limo\u0301n","limpio","lince","lindo","li\u0301nea","lingote","lino","linterna","li\u0301quido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","locio\u0301n","loco","locura","lo\u0301gica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","mai\u0301z","maldad","maleta","malla","malo","mama\u0301","mambo","mamut","manco","mando","manejar","manga","maniqui\u0301","manjar","mano","manso","manta","man\u0303ana","mapa","ma\u0301quina","mar","marco","marea","marfil","margen","marido","ma\u0301rmol","marro\u0301n","martes","marzo","masa","ma\u0301scara","masivo","matar","materia","matiz","matriz","ma\u0301ximo","mayor","mazorca","mecha","medalla","medio","me\u0301dula","mejilla","mejor","melena","melo\u0301n","memoria","menor","mensaje","mente","menu\u0301","mercado","merengue","me\u0301rito","mes","meso\u0301n","meta","meter","me\u0301todo","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millo\u0301n","mimo","mina","minero","mi\u0301nimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","mocio\u0301n","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","mon\u0303o","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","mo\u0301vil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","mun\u0303eca","mural","muro","mu\u0301sculo","museo","musgo","mu\u0301sica","muslo","na\u0301car","nacio\u0301n","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","na\u0301usea","naval","nave","navidad","necio","ne\u0301ctar","negar","negocio","negro","neo\u0301n","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","nin\u0303ez","nin\u0303o","ni\u0301tido","nivel","nobleza","noche","no\u0301mina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","nu\u0301cleo","nudillo","nudo","nuera","nueve","nuez","nulo","nu\u0301mero","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","oce\u0301ano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oi\u0301do","oi\u0301r","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opcio\u0301n","o\u0301pera","opinar","oponer","optar","o\u0301ptica","opuesto","oracio\u0301n","orador","oral","o\u0301rbita","orca","orden","oreja","o\u0301rgano","orgi\u0301a","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadi\u0301a","oscuro","osezno","oso","ostra","oton\u0303o","otro","oveja","o\u0301vulo","o\u0301xido","oxi\u0301geno","oyente","ozono","pacto","padre","paella","pa\u0301gina","pago","pai\u0301s","pa\u0301jaro","palabra","palco","paleta","pa\u0301lido","palma","paloma","palpar","pan","panal","pa\u0301nico","pantera","pan\u0303uelo","papa\u0301","papel","papilla","paquete","parar","parcela","pared","parir","paro","pa\u0301rpado","parque","pa\u0301rrafo","parte","pasar","paseo","pasio\u0301n","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peato\u0301n","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldan\u0303o","pelea","peligro","pellejo","pelo","peluca","pena","pensar","pen\u0303o\u0301n","peo\u0301n","peor","pepino","pequen\u0303o","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pe\u0301simo","pestan\u0303a","pe\u0301talo","petro\u0301leo","pez","pezun\u0303a","picar","picho\u0301n","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","pin\u0303a","piojo","pipa","pirata","pisar","piscina","piso","pista","pito\u0301n","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesi\u0301a","poeta","polen","polici\u0301a","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porcio\u0301n","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","pri\u0301ncipe","prisio\u0301n","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","pro\u0301ximo","prueba","pu\u0301blico","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmo\u0301n","pulpo","pulso","puma","punto","pun\u0303al","pun\u0303o","pupa","pupila","pure\u0301","quedar","queja","quemar","querer","queso","quieto","qui\u0301mica","quince","quitar","ra\u0301bano","rabia","rabo","racio\u0301n","radical","rai\u0301z","rama","rampa","rancho","rango","rapaz","ra\u0301pido","rapto","rasgo","raspa","rato","rayo","raza","razo\u0301n","reaccio\u0301n","realidad","reban\u0303o","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refra\u0301n","refugio","regalo","regir","regla","regreso","rehe\u0301n","reino","rei\u0301r","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","reve\u0301s","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","ri\u0301gido","rigor","rinco\u0301n","rin\u0303o\u0301n","ri\u0301o","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubi\u0301","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sa\u0301bado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmo\u0301n","salo\u0301n","salsa","salto","salud","salvar","samba","sancio\u0301n","sandi\u0301a","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sarte\u0301n","sastre","sata\u0301n","sauna","saxofo\u0301n","seccio\u0301n","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","sen\u0303al","sen\u0303or","separar","sepia","sequi\u0301a","ser","serie","sermo\u0301n","servir","sesenta","sesio\u0301n","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","si\u0301laba","silbar","silencio","silla","si\u0301mbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","so\u0301lido","soltar","solucio\u0301n","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","soste\u0301n","so\u0301tano","suave","subir","suceso","sudor","suegra","suelo","suen\u0303o","suerte","sufrir","sujeto","sulta\u0301n","sumar","superar","suplir","suponer","supremo","sur","surco","suren\u0303o","surgir","susto","sutil","tabaco","tabique","tabla","tabu\u0301","taco","tacto","tajo","talar","talco","talento","talla","talo\u0301n","taman\u0303o","tambor","tango","tanque","tapa","tapete","tapia","tapo\u0301n","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazo\u0301n","teatro","techo","tecla","te\u0301cnica","tejado","tejer","tejido","tela","tele\u0301fono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teori\u0301a","terapia","terco","te\u0301rmino","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburo\u0301n","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","ti\u0301mido","timo","tinta","ti\u0301o","ti\u0301pico","tipo","tira","tiro\u0301n","tita\u0301n","ti\u0301tere","ti\u0301tulo","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","to\u0301rax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","to\u0301xico","trabajo","tractor","traer","tra\u0301fico","trago","traje","tramo","trance","trato","trauma","trazar","tre\u0301bol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tuberi\u0301a","tubo","tuerto","tumba","tumor","tu\u0301nel","tu\u0301nica","turbina","turismo","turno","tutor","ubicar","u\u0301lcera","umbral","unidad","unir","universo","uno","untar","un\u0303a","urbano","urbe","urgente","urna","usar","usuario","u\u0301til","utopi\u0301a","uva","vaca","vaci\u0301o","vacuna","vagar","vago","vaina","vajilla","vale","va\u0301lido","valle","valor","va\u0301lvula","vampiro","vara","variar","varo\u0301n","vaso","vecino","vector","vehi\u0301culo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vi\u0301a","viaje","vibrar","vicio","vi\u0301ctima","vida","vi\u0301deo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","vin\u0303edo","violi\u0301n","viral","virgo","virtud","visor","vi\u0301spera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volca\u0301n","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"];D.space=" ";var q=Be(8764).Buffer;class se extends V{static{i(this,"Bip39")}constructor(e,t,n){super({mnemonic:e,seed:t,wordlist:n}),this.Wordlist=s,this.es=D,this.jp=c}setLang(e){switch(e){default:case"en":this.Wordlist=s;break;case"es":this.Wordlist=D;break;case"jp":this.Wordlist=c;break}}toBw(e){if(e||(e=new w),this.mnemonic){const t=q.from(this.mnemonic);e.writeVarIntNum(t.length),e.write(t)}else e.writeVarIntNum(0);return this.seed?(e.writeVarIntNum(this.seed.length),e.write(this.seed)):e.writeVarIntNum(0),e}fromBr(e){const t=e.readVarIntNum();t>0&&(this.mnemonic=e.read(t).toString());const n=e.readVarIntNum();return n>0&&(this.seed=e.read(n)),this}fromRandom(e){if(e||(e=128),e%32!==0)throw new Error("bits must be multiple of 32");if(e<128)throw new Error("bits must be at least 128");const t=ye.getRandomBuffer(e/8);return this.entropy2Mnemonic(t),this.mnemonic2Seed(),this}static fromRandom(e){return new this().fromRandom(e)}async asyncFromRandom(e){e||(e=128);const t=ye.getRandomBuffer(e/8);let n=await r.asyncObjectMethod(this,"entropy2Mnemonic",[t]);const x=new se().fromFastBuffer(n.resbuf);return n=await r.asyncObjectMethod(x,"mnemonic2Seed",[]),this.fromFastBuffer(n.resbuf)}static asyncFromRandom(e){return new this().asyncFromRandom(e)}fromEntropy(e){return this.entropy2Mnemonic(e),this}static fromEntropy(e){return new this().fromEntropy(e)}async asyncFromEntropy(e){const t=await r.asyncObjectMethod(this,"fromEntropy",[e]);return this.fromFastBuffer(t.resbuf)}static asyncFromEntropy(e){return new this().asyncFromEntropy(e)}fromString(e){return this.mnemonic=e.trim(),this}toString(){return this.mnemonic}toSeed(e){return this.mnemonic2Seed(e),this.seed}async asyncToSeed(e){e===void 0&&(e="");const t=[e];return(await r.asyncObjectMethod(this,"toSeed",t)).resbuf}entropy2Mnemonic(e){if(!q.isBuffer(e)||e.length<128/8)throw new Error("Entropy is less than 128 bits. It must be 128 bits or more.");const t=h.sha256(e);let n="";const x=e.length*8;for(let ee=0;ee<e.length;ee++)n=n+("00000000"+e[ee].toString(2)).slice(-8);let T=t[0].toString(2);if(T=("00000000"+T).slice(-8).slice(0,x/32),n=n+T,n.length%11!==0)throw new Error("internal error - entropy not an even multiple of 11 bits - "+n.length);let W="";for(let ee=0;ee<n.length/11;ee++){W!==""&&(W=W+this.Wordlist.space);const pe=parseInt(n.slice(ee*11,(ee+1)*11),2);W=W+this.Wordlist[pe]}return this.mnemonic=W,this}check(){const t=this.mnemonic.split(this.Wordlist.space);let n="";for(let Re=0;Re<t.length;Re++){const Te=this.Wordlist.indexOf(t[Re]);if(Te<0)return!1;n=n+("00000000000"+Te.toString(2)).slice(-11)}if(n.length%11!==0)throw new Error("internal error - entropy not an even multiple of 11 bits - "+n.length);const x=n.length/33,T=n.slice(-x),W=n.slice(0,n.length-x),ee=q.alloc(W.length/8);for(let Re=0;Re<W.length/8;Re++)ee.writeUInt8(parseInt(n.slice(Re*8,(Re+1)*8),2),Re);let be=h.sha256(ee)[0].toString(2);return be=("00000000"+be).slice(-8).slice(0,x),be===T}mnemonic2Seed(e=""){let t=this.mnemonic;if(!this.check())throw new Error("Mnemonic does not pass the check - was the mnemonic typed incorrectly? Are there extra spaces?");if(typeof e!="string")throw new Error("passphrase must be a string or undefined");t=t.normalize("NFKD"),e=e.normalize("NFKD");const n=q.from(t),x=q.concat([q.from("mnemonic"),q.from(e)]);return this.seed=B.pbkdf2Sync(n,x,2048,64,"sha512"),this}isValid(e=""){let t;try{t=!!this.mnemonic2Seed(e)}catch{t=!1}return t}static isValid(e,t=""){return new se(e).isValid(t)}}class ne extends V{static{i(this,"KeyPair")}constructor(e,t,n=_e){super({privKey:e,pubKey:t}),this.PrivKey=n}fromJSON(e){return e.privKey&&(this.privKey=this.PrivKey.fromJSON(e.privKey)),e.pubKey&&(this.pubKey=K.fromJSON(e.pubKey)),this}fromBr(e){const t=e.readUInt8();t>0&&(this.privKey=new this.PrivKey().fromFastBuffer(e.read(t)));const n=e.readUInt8();return n>0&&(this.pubKey=new K().fromFastBuffer(e.read(n))),this}toBw(e){if(e||(e=new w),this.privKey){const t=this.privKey.toFastBuffer();e.writeUInt8(t.length),e.write(t)}else e.writeUInt8(0);if(this.pubKey){const t=this.pubKey.toFastBuffer();e.writeUInt8(t.length),e.write(t)}else e.writeUInt8(0);return e}fromString(e){return this.fromJSON(JSON.parse(e))}toString(){return JSON.stringify(this.toJSON())}toPublic(){const e=new ne().fromObject(this);return e.privKey=void 0,e}fromPrivKey(e){return this.privKey=e,this.pubKey=new K().fromPrivKey(e),this}static fromPrivKey(e){return new this().fromPrivKey(e)}async asyncFromPrivKey(e){return this.privKey=e,this.pubKey=await new K().asyncFromPrivKey(e),this}static asyncFromPrivKey(e){return new this().asyncFromPrivKey(e)}fromRandom(){return this.privKey=new this.PrivKey().fromRandom(),this.pubKey=new K().fromPrivKey(this.privKey),this}static fromRandom(){return new this().fromRandom()}async asyncFromRandom(){return this.privKey=new this.PrivKey().fromRandom(),this.asyncFromPrivKey(this.privKey)}static asyncFromRandom(){return new this().asyncFromRandom()}}ne.Mainnet=class extends ne{constructor(M,e){super(M,e,_e.Mainnet)}},ne.Testnet=class extends ne{constructor(M,e){super(M,e,_e.Testnet)}};var Ie=Be(8764).Buffer;class De extends V{static{i(this,"Ecdsa")}constructor(e,t,n,x,T,W){super({sig:e,keyPair:t,hashBuf:n,k:x,endian:T,verified:W})}toJSON(){return{sig:this.sig?this.sig.toString():void 0,keyPair:this.keyPair?this.keyPair.toBuffer().toString("hex"):void 0,hashBuf:this.hashBuf?this.hashBuf.toString("hex"):void 0,k:this.k?this.k.toString():void 0,endian:this.endian,verified:this.verified}}fromJSON(e){return this.sig=e.sig?new me().fromString(e.sig):void 0,this.keyPair=e.keyPair?new ne().fromBuffer(Ie.from(e.keyPair,"hex")):void 0,this.hashBuf=e.hashBuf?Ie.from(e.hashBuf,"hex"):void 0,this.k=e.k?new l().fromString(e.k):void 0,this.endian=e.endian,this.verified=e.verified,this}toBuffer(){const e=JSON.stringify(this.toJSON());return Ie.from(e)}fromBuffer(e){const t=JSON.parse(e.toString());return this.fromJSON(t)}calcrecovery(){for(let e=0;e<4;e++){let t;this.sig.recovery=e;try{t=this.sig2PubKey()}catch{continue}if(t.point.eq(this.keyPair.pubKey.point)){const n=this.keyPair.pubKey.compressed;return this.sig.compressed=this.keyPair.pubKey.compressed===void 0?!0:n,this}}throw this.sig.recovery=void 0,new Error("Unable to find valid recovery factor")}async asyncCalcrecovery(){const e=await r.asyncObjectMethod(this,"calcrecovery",[]);return this.fromFastBuffer(e.resbuf)}static calcrecovery(e,t,n){return new De().fromObject({sig:e,keyPair:new ne().fromObject({pubKey:t}),hashBuf:n}).calcrecovery().sig}static async asyncCalcrecovery(e,t,n){const x=await r.asyncClassMethod(De,"calcrecovery",[e,t,n]);return new me().fromFastBuffer(x.resbuf)}fromString(e){const t=JSON.parse(e);return t.hashBuf&&(this.hashBuf=Ie.from(t.hashBuf,"hex")),t.keyPair&&(this.keyPair=new ne().fromString(t.keyPair)),t.sig&&(this.sig=new me().fromString(t.sig)),t.k&&(this.k=new l(t.k,10)),this}randomK(){const e=he.getN();let t;do t=new l().fromBuffer(ye.getRandomBuffer(32));while(!(t.lt(e)&&t.gt(0)));return this.k=t,this}deterministicK(e){let t=Ie.alloc(32);t.fill(1);let n=Ie.alloc(32);n.fill(0);const x=this.keyPair.privKey.bn.toBuffer({size:32});n=h.sha256Hmac(Ie.concat([t,Ie.from([0]),x,this.hashBuf]),n),t=h.sha256Hmac(t,n),n=h.sha256Hmac(Ie.concat([t,Ie.from([1]),x,this.hashBuf]),n),t=h.sha256Hmac(t,n),t=h.sha256Hmac(t,n);let T=new l().fromBuffer(t);const W=he.getN();e===void 0&&(e=0);for(let ee=0;ee<e||!(T.lt(W)&&T.gt(0));ee++)n=h.sha256Hmac(Ie.concat([t,Ie.from([0])]),n),t=h.sha256Hmac(t,n),t=h.sha256Hmac(t,n),T=new l().fromBuffer(t);return this.k=T,this}sig2PubKey(){const e=this.sig.recovery;if(!(e===0||e===1||e===2||e===3))throw new Error("i must be equal to 0, 1, 2, or 3");const t=new l().fromBuffer(this.hashBuf),n=this.sig.r,x=this.sig.s,T=e&1,W=e>>1,ee=he.getN(),pe=he.getG(),be=W?n.add(ee):n,Re=he.fromX(T,be);let Te="";try{Re.mul(ee)}catch(Me){Te=Me.message}if(Te!=="point mul out of range")throw new Error("nR is not a valid curve point");const He=t.neg().umod(ee),ot=n.invm(ee),ce=Re.mul(x).add(pe.mul(He)).mul(ot),ve=new K(ce);return ve.compressed=this.sig.compressed,ve.validate(),ve}async asyncSig2PubKey(){const e=await r.asyncObjectMethod(this,"sig2PubKey",[]);return K.fromFastBuffer(e.resbuf)}static sig2PubKey(e,t){return new De().fromObject({sig:e,hashBuf:t}).sig2PubKey()}static async asyncSig2PubKey(e,t){return await new De().fromObject({sig:e,hashBuf:t}).asyncSig2PubKey()}verifyStr(e=!0){if(!Ie.isBuffer(this.hashBuf)||this.hashBuf.length!==32)return"hashBuf must be a 32 byte buffer";try{this.keyPair.pubKey.validate()}catch(Re){return"Invalid pubKey: "+Re}const t=this.sig.r,n=this.sig.s;if(!(t.gt(0)&&t.lt(he.getN()))||!(n.gt(0)&&n.lt(he.getN())))return"r and s not in range";if(e&&!this.sig.hasLowS())return"s is too high and does not satisfy low s contraint - see bip 62";const x=new l().fromBuffer(this.hashBuf,this.endian?{endian:this.endian}:void 0),T=he.getN(),W=n.invm(T),ee=W.mul(x).mod(T),pe=W.mul(t).mod(T),be=he.getG().mulAdd(ee,this.keyPair.pubKey.point,pe);return be.isInfinity()?"p is infinity":be.getX().mod(T).cmp(t)!==0?"Invalid signature":!1}sign(){const e=this.endian==="little"?new g(this.hashBuf).readReverse():this.hashBuf,t=this.keyPair.privKey,n=t.bn;if(!e||!t||!n)throw new Error("invalid parameters");if(!Ie.isBuffer(e)||e.length!==32)throw new Error("hashBuf must be a 32 byte buffer");const x=he.getN(),T=he.getG(),W=new l().fromBuffer(e);let ee=0,pe,be,Re,Te;do(!this.k||ee>0)&&this.deterministicK(ee),ee++,pe=this.k,be=T.mul(pe),Re=be.getX().mod(x),Te=pe.invm(x).mul(W.add(n.mul(Re))).mod(x);while(Re.cmp(0)<=0||Te.cmp(0)<=0);return Te.gt(new l().fromBuffer(Ie.from("7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0","hex")))&&(Te=he.getN().sub(Te)),this.sig=me.fromObject({r:Re,s:Te,compressed:this.keyPair.pubKey.compressed}),this}async asyncSign(){const e=await r.asyncObjectMethod(this,"sign",[]);return this.fromFastBuffer(e.resbuf)}signRandomK(){return this.randomK(),this.sign()}toString(){const e={};return this.hashBuf&&(e.hashBuf=this.hashBuf.toString("hex")),this.keyPair&&(e.keyPair=this.keyPair.toString()),this.sig&&(e.sig=this.sig.toString()),this.k&&(e.k=this.k.toString()),JSON.stringify(e)}verify(e=!0){return this.verifyStr(e)?this.verified=!1:this.verified=!0,this}async asyncVerify(e=!0){const t=await r.asyncObjectMethod(this,"verify",[e]);return this.fromFastBuffer(t.resbuf)}static sign(e,t,n){return new De().fromObject({hashBuf:e,endian:n,keyPair:t}).sign().sig}static async asyncSign(e,t,n){const x=new De().fromObject({hashBuf:e,endian:n,keyPair:t});return await x.asyncSign(),x.sig}static verify(e,t,n,x,T=!0){return new De().fromObject({hashBuf:e,endian:x,sig:t,keyPair:new ne().fromObject({pubKey:n})}).verify(T).verified}static async asyncVerify(e,t,n,x,T=!0){const W=new De().fromObject({hashBuf:e,endian:x,sig:t,keyPair:new ne().fromObject({pubKey:n})});return await W.asyncVerify(T),W.verified}}var Le=Be(8764).Buffer;class Ne extends V{static{i(this,"Bsm")}constructor(e,t,n,x,T){super({messageBuf:e,keyPair:t,sig:n,address:x,verified:T})}static magicHash(e){if(!Le.isBuffer(e))throw new Error("messageBuf must be a buffer");const t=new w;t.writeVarIntNum(Ne.magicBytes.length),t.write(Ne.magicBytes),t.writeVarIntNum(e.length),t.write(e);const n=t.toBuffer();return h.sha256Sha256(n)}static async asyncMagicHash(e){const t=[e];return(await r.asyncClassMethod(Ne,"magicHash",t)).resbuf}static sign(e,t){const n=new Ne(e,t);return n.sign(),n.sig.toCompact().toString("base64")}static async asyncSign(e,t){const n=[e,t],x=await r.asyncClassMethod(Ne,"sign",n);return JSON.parse(x.resbuf.toString())}static verify(e,t,n){const x=Le.from(t,"base64"),T=new Ne;return T.messageBuf=e,T.sig=new me().fromCompact(x),T.address=n,T.verify().verified}static async asyncVerify(e,t,n){const x=[e,t,n],T=await r.asyncClassMethod(Ne,"verify",x);return JSON.parse(T.resbuf.toString())}sign(){const e=Ne.magicHash(this.messageBuf),t=new De().fromObject({hashBuf:e,keyPair:this.keyPair});return t.sign(),t.calcrecovery(),this.sig=t.sig,this}verify(){const e=Ne.magicHash(this.messageBuf),t=new De;if(t.hashBuf=e,t.sig=this.sig,t.keyPair=new ne,t.keyPair.pubKey=t.sig2PubKey(),!t.verify())return this.verified=!1,this;const n=new Ce().fromPubKey(t.keyPair.pubKey,void 0,this.sig.compressed);return oe(n.hashBuf,this.address.hashBuf)?this.verified=!0:this.verified=!1,this}}Ne.magicBytes=Le.from(`Bitcoin Signed Message:
|
|
8
8
|
`);var Ve=Be(8764).Buffer;class qe extends V{static{i(this,"BlockHeader")}constructor(e,t,n,x,T,W){super({versionBytesNum:e,prevBlockHashBuf:t,merkleRootBuf:n,time:x,bits:T,nonce:W})}fromJSON(e){return this.fromObject({versionBytesNum:e.versionBytesNum,prevBlockHashBuf:Ve.from(e.prevBlockHashBuf,"hex"),merkleRootBuf:Ve.from(e.merkleRootBuf,"hex"),time:e.time,bits:e.bits,nonce:e.nonce}),this}toJSON(){return{versionBytesNum:this.versionBytesNum,prevBlockHashBuf:this.prevBlockHashBuf.toString("hex"),merkleRootBuf:this.merkleRootBuf.toString("hex"),time:this.time,bits:this.bits,nonce:this.nonce}}fromBr(e){return this.versionBytesNum=e.readUInt32LE(),this.prevBlockHashBuf=e.read(32),this.merkleRootBuf=e.read(32),this.time=e.readUInt32LE(),this.bits=e.readUInt32LE(),this.nonce=e.readUInt32LE(),this}toBw(e){return e||(e=new w),e.writeUInt32LE(this.versionBytesNum),e.write(this.prevBlockHashBuf),e.write(this.merkleRootBuf),e.writeUInt32LE(this.time),e.writeUInt32LE(this.bits),e.writeUInt32LE(this.nonce),e}}var nt=Be(8764).Buffer;class bt extends V{static{i(this,"Merkle")}constructor(e,t,n,x){super({hashBuf:e,buf:t,merkle1:n,merkle2:x})}hash(){if(this.hashBuf)return this.hashBuf;if(this.buf)return h.sha256Sha256(this.buf);const e=this.merkle1.hash(),t=this.merkle2.hash();return this.buf=nt.concat([e,t]),h.sha256Sha256(this.buf)}fromBuffers(e){if(e.length<1)throw new Error("buffers must have a length");e=e.slice();const t=Math.log2(e.length);if(!Number.isInteger(t)){const W=e[e.length-1];var n=Math.pow(2,Math.ceil(t));for(let ee=e.length;ee<n;ee++)e.push(W)}const x=e.slice(0,e.length/2),T=e.slice(e.length/2);return this.fromBufferArrays(x,T),this}static fromBuffers(e){return new this().fromBuffers(e)}fromBufferArrays(e,t){if(e.length===1)return this.merkle1=new bt(void 0,e[0]),this.merkle2=new bt(void 0,t[0]),this;const n=e.slice(0,e.length/2),x=e.slice(e.length/2);this.merkle1=new bt().fromBufferArrays(n,x);const T=t.slice(0,t.length/2),W=t.slice(t.length/2);return this.merkle2=new bt().fromBufferArrays(T,W),this}static fromBufferArrays(e,t){return new this().fromBufferArrays(e,t)}leavesNum(){if(this.merkle1)return this.merkle1.leavesNum()+this.merkle2.leavesNum();if(this.buf)return 1;throw new Error("invalid number of leaves")}}var We=Be(8764).Buffer;class Qe extends V{static{i(this,"HashCache")}constructor(e,t,n){super(),this.fromObject({prevoutsHashBuf:e,sequenceHashBuf:t,outputsHashBuf:n})}fromBuffer(e){return this.fromJSON(JSON.parse(e.toString()))}toBuffer(){return We.from(JSON.stringify(this.toJSON()))}fromJSON(e){return this.prevoutsHashBuf=e.prevoutsHashBuf?We.from(e.prevoutsHashBuf,"hex"):void 0,this.sequenceHashBuf=e.sequenceHashBuf?We.from(e.sequenceHashBuf,"hex"):void 0,this.outputsHashBuf=e.outputsHashBuf?We.from(e.outputsHashBuf,"hex"):void 0,this}toJSON(){return{prevoutsHashBuf:this.prevoutsHashBuf?this.prevoutsHashBuf.toString("hex"):void 0,sequenceHashBuf:this.sequenceHashBuf?this.sequenceHashBuf.toString("hex"):void 0,outputsHashBuf:this.outputsHashBuf?this.outputsHashBuf.toString("hex"):void 0}}}var Rt=Be(8764).Buffer;class Ue extends V{static{i(this,"VarInt")}constructor(e){super({buf:e})}fromJSON(e){return this.fromObject({buf:Rt.from(e,"hex")}),this}toJSON(){return this.buf.toString("hex")}fromBuffer(e){return this.buf=e,this}fromBr(e){return this.buf=e.readVarIntBuf(),this}fromBn(e){return this.buf=new w().writeVarIntBn(e).toBuffer(),this}static fromBn(e){return new this().fromBn(e)}fromNumber(e){return this.buf=new w().writeVarIntNum(e).toBuffer(),this}static fromNumber(e){return new this().fromNumber(e)}toBuffer(){return this.buf}toBn(){return new g(this.buf).readVarIntBn()}toNumber(){return new g(this.buf).readVarIntNum()}}var rt=Be(8764).Buffer;class je extends V{static{i(this,"TxIn")}constructor(e,t,n,x,T=4294967295){super({txHashBuf:e,txOutNum:t,scriptVi:n,script:x,nSequence:T})}setScript(e){return this.scriptVi=Ue.fromNumber(e.toBuffer().length),this.script=e,this}fromProperties(e,t,n,x){return this.fromObject({txHashBuf:e,txOutNum:t,nSequence:x}),this.setScript(n),this}static fromProperties(e,t,n,x){return new this().fromProperties(e,t,n,x)}fromJSON(e){return this.fromObject({txHashBuf:typeof e.txHashBuf<"u"?rt.from(e.txHashBuf,"hex"):void 0,txOutNum:e.txOutNum,scriptVi:typeof e.scriptVi<"u"?Ue.fromJSON(e.scriptVi):void 0,script:typeof e.script<"u"?Pe.fromJSON(e.script):void 0,nSequence:e.nSequence}),this}toJSON(){return{txHashBuf:typeof this.txHashBuf<"u"?this.txHashBuf.toString("hex"):void 0,txOutNum:this.txOutNum,scriptVi:typeof this.scriptVi<"u"?this.scriptVi.toJSON():void 0,script:typeof this.script<"u"?this.script.toJSON():void 0,nSequence:this.nSequence}}fromBr(e){return this.txHashBuf=e.read(32),this.txOutNum=e.readUInt32LE(),this.scriptVi=Ue.fromBuffer(e.readVarIntBuf()),this.script=Pe.fromBuffer(e.read(this.scriptVi.toNumber())),this.nSequence=e.readUInt32LE(),this}toBw(e){return e||(e=new w),e.write(this.txHashBuf),e.writeUInt32LE(this.txOutNum),e.write(this.scriptVi.buf),e.write(this.script.toBuffer()),e.writeUInt32LE(this.nSequence),e}fromPubKeyHashTxOut(e,t,n,x){const T=new Pe;if(n.script.isPubKeyHashOut())T.writeOpCode(U.OP_0),x?T.writeBuffer(x.toBuffer()):T.writeOpCode(U.OP_0);else throw new Error("txOut must be of type pubKeyHash");return this.txHashBuf=e,this.txOutNum=t,this.setScript(T),this}hasNullInput(){return this.txHashBuf.toString("hex")==="0000000000000000000000000000000000000000000000000000000000000000"&&this.txOutNum===4294967295}setNullInput(){this.txHashBuf=rt.alloc(32),this.txHashBuf.fill(0),this.txOutNum=4294967295}}je.LOCKTIME_VERIFY_SEQUENCE=1,je.SEQUENCE_FINAL=4294967295,je.SEQUENCE_LOCKTIME_DISABLE_FLAG=1<<31,je.SEQUENCE_LOCKTIME_TYPE_FLAG=1<<22,je.SEQUENCE_LOCKTIME_MASK=65535,je.SEQUENCE_LOCKTIME_GRANULARITY=9;class ze extends V{static{i(this,"TxOut")}constructor(e,t,n){super({valueBn:e,scriptVi:t,script:n})}setScript(e){return this.scriptVi=Ue.fromNumber(e.toBuffer().length),this.script=e,this}fromProperties(e,t){return this.fromObject({valueBn:e}),this.setScript(t),this}static fromProperties(e,t){return new this().fromProperties(e,t)}fromJSON(e){return this.fromObject({valueBn:new l().fromJSON(e.valueBn),scriptVi:new Ue().fromJSON(e.scriptVi),script:new Pe().fromJSON(e.script)}),this}toJSON(){return{valueBn:this.valueBn.toJSON(),scriptVi:this.scriptVi.toJSON(),script:this.script.toJSON()}}fromBr(e){return this.valueBn=e.readUInt64LEBn(),this.scriptVi=Ue.fromNumber(e.readVarIntNum()),this.script=new Pe().fromBuffer(e.read(this.scriptVi.toNumber())),this}toBw(e){return e||(e=new w),e.writeUInt64LEBn(this.valueBn),e.write(this.scriptVi.buf),e.write(this.script.toBuffer()),e}}var Ye=Be(8764).Buffer;class Ge extends V{static{i(this,"Tx")}constructor(e=1,t=Ue.fromNumber(0),n=[],x=Ue.fromNumber(0),T=[],W=0){super({versionBytesNum:e,txInsVi:t,txIns:n,txOutsVi:x,txOuts:T,nLockTime:W})}fromJSON(e){const t=[];e.txIns.forEach(function(x){t.push(new je().fromJSON(x))});const n=[];return e.txOuts.forEach(function(x){n.push(new ze().fromJSON(x))}),this.fromObject({versionBytesNum:e.versionBytesNum,txInsVi:new Ue().fromJSON(e.txInsVi),txIns:t,txOutsVi:new Ue().fromJSON(e.txOutsVi),txOuts:n,nLockTime:e.nLockTime}),this}toJSON(){const e=[];this.txIns.forEach(function(n){e.push(n.toJSON())});const t=[];return this.txOuts.forEach(function(n){t.push(n.toJSON())}),{versionBytesNum:this.versionBytesNum,txInsVi:this.txInsVi.toJSON(),txIns:e,txOutsVi:this.txOutsVi.toJSON(),txOuts:t,nLockTime:this.nLockTime}}fromBr(e){this.versionBytesNum=e.readUInt32LE(),this.txInsVi=new Ue(e.readVarIntBuf());const t=this.txInsVi.toNumber();this.txIns=[];for(let x=0;x<t;x++)this.txIns.push(new je().fromBr(e));this.txOutsVi=new Ue(e.readVarIntBuf());const n=this.txOutsVi.toNumber();this.txOuts=[];for(let x=0;x<n;x++)this.txOuts.push(new ze().fromBr(e));return this.nLockTime=e.readUInt32LE(),this}toBw(e){e||(e=new w),e.writeUInt32LE(this.versionBytesNum),e.write(this.txInsVi.buf);for(let t=0;t<this.txIns.length;t++)this.txIns[t].toBw(e);e.write(this.txOutsVi.buf);for(let t=0;t<this.txOuts.length;t++)this.txOuts[t].toBw(e);return e.writeUInt32LE(this.nLockTime),e}hashPrevouts(){const e=new w;for(const t in this.txIns){const n=this.txIns[t];e.write(n.txHashBuf),e.writeUInt32LE(n.txOutNum)}return h.sha256Sha256(e.toBuffer())}hashSequence(){const e=new w;for(const t in this.txIns){const n=this.txIns[t];e.writeUInt32LE(n.nSequence)}return h.sha256Sha256(e.toBuffer())}hashOutputs(){const e=new w;for(const t in this.txOuts){const n=this.txOuts[t];e.write(n.toBuffer())}return h.sha256Sha256(e.toBuffer())}sighash(e,t,n,x,T=0,W=new Qe){const ee=this.sighashPreimage(e,t,n,x,T,W);return ee.compare(Ye.from("0000000000000000000000000000000000000000000000000000000000000001","hex"))===0?ee:new g(h.sha256Sha256(ee)).readReverse()}async asyncSighash(e,t,n,x,T=0,W={}){return(await r.asyncObjectMethod(this,"sighash",[e,t,n,x,T,W])).resbuf}sighashPreimage(e,t,n,x,T=0,W=new Qe){if(e&me.SIGHASH_FORKID&&T&Ge.SCRIPT_ENABLE_SIGHASH_FORKID){let be=Ye.alloc(32,0),Re=Ye.alloc(32,0),Te=Ye.alloc(32,0);e&me.SIGHASH_ANYONECANPAY||(be=W.prevoutsHashBuf?W.prevoutsHashBuf:W.prevoutsHashBuf=this.hashPrevouts()),!(e&me.SIGHASH_ANYONECANPAY)&&(e&31)!==me.SIGHASH_SINGLE&&(e&31)!==me.SIGHASH_NONE&&(Re=W.sequenceHashBuf?W.sequenceHashBuf:W.sequenceHashBuf=this.hashSequence()),(e&31)!==me.SIGHASH_SINGLE&&(e&31)!==me.SIGHASH_NONE?Te=W.outputsHashBuf?W.outputsHashBuf:W.outputsHashBuf=this.hashOutputs():(e&31)===me.SIGHASH_SINGLE&&t<this.txOuts.length&&(Te=h.sha256Sha256(this.txOuts[t].toBuffer()));const He=new w;return He.writeUInt32LE(this.versionBytesNum),He.write(be),He.write(Re),He.write(this.txIns[t].txHashBuf),He.writeUInt32LE(this.txIns[t].txOutNum),He.writeVarIntNum(n.toBuffer().length),He.write(n.toBuffer()),He.writeUInt64LEBn(x),He.writeUInt32LE(this.txIns[t].nSequence),He.write(Te),He.writeUInt32LE(this.nLockTime),He.writeUInt32LE(e>>>0),He.toBuffer()}const ee=this.cloneByBuffer();n=new Pe().fromBuffer(n.toBuffer()),n.removeCodeseparators();for(let be=0;be<ee.txIns.length;be++)ee.txIns[be]=je.fromBuffer(ee.txIns[be].toBuffer()).setScript(new Pe);if(ee.txIns[t]=je.fromBuffer(ee.txIns[t].toBuffer()).setScript(n),(e&31)===me.SIGHASH_NONE){ee.txOuts.length=0,ee.txOutsVi=Ue.fromNumber(0);for(let be=0;be<ee.txIns.length;be++)be!==t&&(ee.txIns[be].nSequence=0)}else if((e&31)===me.SIGHASH_SINGLE){if(t>ee.txOuts.length-1)return Ye.from("0000000000000000000000000000000000000000000000000000000000000001","hex");ee.txOuts.length=t+1,ee.txOutsVi=Ue.fromNumber(t+1);for(let be=0;be<ee.txOuts.length;be++)be<t&&(ee.txOuts[be]=ze.fromProperties(new l().fromBuffer(Ye.from("ffffffffffffffff","hex")),new Pe));for(let be=0;be<ee.txIns.length;be++)be!==t&&(ee.txIns[be].nSequence=0)}return e&me.SIGHASH_ANYONECANPAY&&(ee.txIns[0]=ee.txIns[t],ee.txIns.length=1,ee.txInsVi=Ue.fromNumber(1)),new w().write(ee.toBuffer()).writeInt32LE(e).toBuffer()}async asyncSighashPreimage(e,t,n,x,T=0,W={}){return(await r.asyncObjectMethod(this,"sighashPreimage",[e,t,n,x,T,W])).resbuf}sign(e,t=me.SIGHASH_ALL|me.SIGHASH_FORKID,n,x,T,W=Ge.SCRIPT_ENABLE_SIGHASH_FORKID,ee={}){const pe=this.sighash(t,n,x,T,W,ee);return De.sign(pe,e,"little").fromObject({nHashType:t})}async asyncSign(e,t=me.SIGHASH_ALL|me.SIGHASH_FORKID,n,x,T,W=Ge.SCRIPT_ENABLE_SIGHASH_FORKID,ee={}){const pe=await r.asyncObjectMethod(this,"sign",[e,t,n,x,T,W,ee]);return new me().fromFastBuffer(pe.resbuf)}verify(e,t,n,x,T=!1,W,ee=Ge.SCRIPT_ENABLE_SIGHASH_FORKID,pe={}){const be=this.sighash(e.nHashType,n,x,W,ee,pe);return De.verify(be,e,t,"little",T)}async asyncVerify(e,t,n,x,T=!1,W,ee=Ge.SCRIPT_ENABLE_SIGHASH_FORKID,pe={}){const be=await r.asyncObjectMethod(this,"verify",[e,t,n,x,T,W,ee,pe]);return JSON.parse(be.resbuf.toString())}hash(){return h.sha256Sha256(this.toBuffer())}async asyncHash(){return(await r.asyncObjectMethod(this,"hash",[])).resbuf}id(){return new g(this.hash()).readReverse().toString("hex")}async asyncId(){const e=await r.asyncObjectMethod(this,"id",[]);return JSON.parse(e.resbuf.toString())}addTxIn(e,t,n,x){let T;return e instanceof je?T=e:T=new je().fromObject({txHashBuf:e,txOutNum:t,nSequence:x}).setScript(n),this.txIns.push(T),this.txInsVi=Ue.fromNumber(this.txInsVi.toNumber()+1),this}addTxOut(e,t){let n;return e instanceof ze?n=e:n=new ze().fromObject({valueBn:e}).setScript(t),this.txOuts.push(n),this.txOutsVi=Ue.fromNumber(this.txOutsVi.toNumber()+1),this}isCoinbase(){return this.txIns.length===1&&this.txIns[0].hasNullInput()}sort(){return this.txIns.sort((e,t)=>new g(e.txHashBuf).readReverse().compare(new g(t.txHashBuf).readReverse())||e.txOutNum-t.txOutNum),this.txOuts.sort((e,t)=>e.valueBn.sub(t.valueBn).toNumber()||e.script.toBuffer().compare(t.script.toBuffer())),this}}Ge.MAX_MONEY=21e6*1e8,Ge.SCRIPT_ENABLE_SIGHASH_FORKID=65536;var st=Be(8764).Buffer;class Ze extends V{static{i(this,"Block")}constructor(e,t,n){super({blockHeader:e,txsVi:t,txs:n})}fromJSON(e){const t=[];return e.txs.forEach(function(n){t.push(new Ge().fromJSON(n))}),this.fromObject({blockHeader:new qe().fromJSON(e.blockHeader),txsVi:new Ue().fromJSON(e.txsVi),txs:t}),this}toJSON(){const e=[];return this.txs.forEach(function(t){e.push(t.toJSON())}),{blockHeader:this.blockHeader.toJSON(),txsVi:this.txsVi.toJSON(),txs:e}}fromBr(e){this.blockHeader=new qe().fromBr(e),this.txsVi=new Ue(e.readVarIntBuf());const t=this.txsVi.toNumber();this.txs=[];for(let n=0;n<t;n++)this.txs.push(new Ge().fromBr(e));return this}toBw(e){e||(e=new w),e.write(this.blockHeader.toBuffer()),e.write(this.txsVi.buf);const t=this.txsVi.toNumber();for(let n=0;n<t;n++)this.txs[n].toBw(e);return e}hash(){return h.sha256Sha256(this.blockHeader.toBuffer())}async asyncHash(){return(await r.asyncObjectMethod(this,"hash",[])).resbuf}id(){return new g(this.hash()).readReverse().toString("hex")}async asyncId(){const e=await r.asyncObjectMethod(this,"id",[]);return JSON.parse(e.resbuf.toString())}verifyMerkleRoot(){const e=this.txs.map(n=>n.toBuffer()),t=bt.fromBuffers(e).hash();return st.compare(t,this.blockHeader.merkleRootBuf)}static iterateTxs(e){const t=new g(e),n=new qe().fromBr(t),x=new Ue(t.readVarIntBuf()),T=x.toNumber();return{blockHeader:n,txsVi:x,txsNum:T,*[Symbol.iterator](){for(let W=0;W<T;W++)yield new Ge().fromBr(t)}}}}Ze.MAX_BLOCK_SIZE=1e6;var dt=Be(8764).Buffer;class de extends V{static{i(this,"Interp")}constructor(e,t,n,x=[],T=[],W=0,ee=0,pe=0,be=[],Re="",Te=de.defaultFlags,He=new l(0)){super({script:e,tx:t,nIn:n,stack:x,altStack:T,pc:W,pBeginCodeHash:ee,nOpCount:pe,ifStack:be,errStr:Re,flags:Te,valueBn:He})}initialize(){return this.script=new Pe,this.stack=[],this.altStack=[],this.pc=0,this.pBeginCodeHash=0,this.nOpCount=0,this.ifStack=[],this.errStr="",this.flags=de.defaultFlags,this.scriptLimit=1e7,this.stackLimit=1e7,this}fromJSON(e){return this.fromJSONNoTx(e),this.tx=e.tx?new Ge().fromJSON(e.tx):void 0,this}fromJSONNoTx(e){return this.fromObject({script:e.script!==void 0?new Pe().fromJSON(e.script):void 0,nIn:e.nIn}),this.stack=[],e.stack.forEach(function(t){this.stack.push(dt.from(t,"hex"))}.bind(this)),this.altStack=[],e.altStack.forEach(function(t){this.altStack.push(dt.from(t,"hex"))}.bind(this)),this.fromObject({pc:e.pc,pBeginCodeHash:e.pBeginCodeHash,nOpCount:e.nOpCount,ifStack:e.ifStack,errStr:e.errStr,flags:e.flags}),this}fromBr(e){let t=e.readVarIntNum(),n=e.read(t);this.fromJSONNoTx(JSON.parse(n.toString()));let x=e.readVarIntNum();if(x>0){let T=e.read(x);this.tx=new Ge().fromFastBuffer(T)}return this}toJSON(){let e=this.toJSONNoTx();return e.tx=this.tx?this.tx.toJSON():void 0,e}toJSONNoTx(){let e=[];this.stack.forEach(function(n){e.push(n.toString("hex"))});let t=[];return this.altStack.forEach(function(n){t.push(n.toString("hex"))}),{script:this.script?this.script.toJSON():void 0,nIn:this.nIn,stack:e,altStack:t,pc:this.pc,pBeginCodeHash:this.pBeginCodeHash,nOpCount:this.nOpCount,ifStack:this.ifStack,errStr:this.errStr,flags:this.flags}}toBw(e){e||(e=new w);let t=dt.from(JSON.stringify(this.toJSONNoTx()));if(e.writeVarIntNum(t.length),e.write(t),this.tx){let n=this.tx.toFastBuffer();e.writeVarIntNum(n.length),e.write(n)}else e.writeVarIntNum(0);return e}static getFlags(e){let t=0;return e.indexOf("NONE")!==-1&&(t=t|de.SCRIPT_VERIFY_NONE),e.indexOf("P2SH")!==-1&&(t=t|de.SCRIPT_VERIFY_P2SH),e.indexOf("STRICTENC")!==-1&&(t=t|de.SCRIPT_VERIFY_STRICTENC),e.indexOf("DERSIG")!==-1&&(t=t|de.SCRIPT_VERIFY_DERSIG),e.indexOf("LOW_S")!==-1&&(t=t|de.SCRIPT_VERIFY_LOW_S),e.indexOf("NULLDUMMY")!==-1&&(t=t|de.SCRIPT_VERIFY_NULLDUMMY),e.indexOf("SIGPUSHONLY")!==-1&&(t=t|de.SCRIPT_VERIFY_SIGPUSHONLY),e.indexOf("MINIMALDATA")!==-1&&(t=t|de.SCRIPT_VERIFY_MINIMALDATA),e.indexOf("DISCOURAGE_UPGRADABLE_NOPS")!==-1&&(t=t|de.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS),e.indexOf("CLEANSTACK")!==-1&&(t=t|de.SCRIPT_VERIFY_CLEANSTACK),e.indexOf("CHECKLOCKTIMEVERIFY")!==-1&&(t=t|de.SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY),e.indexOf("CHECKSEQUENCEVERIFY")!==-1&&(t=t|de.SCRIPT_VERIFY_CHECKSEQUENCEVERIFY),e.indexOf("SIGHASH_FORKID")!==-1&&(t=t|de.SCRIPT_ENABLE_SIGHASH_FORKID),t}static castToBool(e){for(let t=0;t<e.length;t++)if(e[t]!==0)return!(t===e.length-1&&e[t]===128);return!1}checkSigEncoding(e){if(e.length===0)return!0;if(this.flags&(de.SCRIPT_VERIFY_DERSIG|de.SCRIPT_VERIFY_LOW_S|de.SCRIPT_VERIFY_STRICTENC)&&!me.IsTxDer(e))return this.errStr="SCRIPT_ERR_SIG_DER",!1;if(this.flags&de.SCRIPT_VERIFY_LOW_S){if(!new me().fromTxFormat(e).hasLowS())return this.errStr="SCRIPT_ERR_SIG_DER",!1}else if(this.flags&de.SCRIPT_VERIFY_STRICTENC&&!new me().fromTxFormat(e).hasDefinedHashType())return this.errStr="SCRIPT_ERR_SIG_HASHTYPE",!1;return!0}checkPubKeyEncoding(e){return this.flags&de.SCRIPT_VERIFY_STRICTENC&&!K.isCompressedOrUncompressed(e)?(this.errStr="SCRIPT_ERR_PUBKEYTYPE",!1):!0}checkLockTime(e){return!(!(this.tx.nLockTime<de.LOCKTIME_THRESHOLD&&e<de.LOCKTIME_THRESHOLD||this.tx.nLockTime>=de.LOCKTIME_THRESHOLD&&e>=de.LOCKTIME_THRESHOLD)||e>this.tx.nLockTime||je.SEQUENCE_FINAL===this.tx.txIns[this.nIn].nSequence)}checkSequence(e){let t=this.tx.txIns[this.nIn].nSequence;if(this.tx.versionBytesNum<2||t&je.SEQUENCE_LOCKTIME_DISABLE_FLAG)return!1;let n=je.SEQUENCE_LOCKTIME_TYPE_FLAG|je.SEQUENCE_LOCKTIME_MASK,x=t&n,T=e&n;return!(!(x<je.SEQUENCE_LOCKTIME_TYPE_FLAG&&T<je.SEQUENCE_LOCKTIME_TYPE_FLAG||x>=je.SEQUENCE_LOCKTIME_TYPE_FLAG&&T>=je.SEQUENCE_LOCKTIME_TYPE_FLAG)||T>x)}*eval(){this.script.toBuffer().length>this.scriptLimit&&(this.errStr="SCRIPT_ERR_SCRIPT_SIZE",yield!1);try{for(;this.pc<this.script.chunks.length;){let e=this.step();e?yield e:yield!1}this.stack.length+this.altStack.length>this.stackLimit&&(this.errStr="SCRIPT_ERR_STACK_SIZE",yield!1)}catch(e){this.errStr="SCRIPT_ERR_UNKNOWN_ERROR: "+e,yield!1}this.ifStack.length>0&&(this.errStr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",yield!1),yield!0}step(){let e=(this.flags&de.SCRIPT_VERIFY_MINIMALDATA)!==0,t=!(this.ifStack.indexOf(!1)+1),n=this.script.chunks[this.pc];this.pc++;let x=n.opCodeNum;if(x===void 0)return this.errStr="SCRIPT_ERR_BAD_OPCODE",!1;if(x>U.OP_16&&++this.nOpCount>201)return this.errStr="SCRIPT_ERR_OP_COUNT",!1;if(x===U.OP_LEFT||x===U.OP_RIGHT||x===U.OP_2MUL||x===U.OP_2DIV)return this.errStr="SCRIPT_ERR_DISABLED_OPCODE",!1;if(t&&x>=0&&x<=U.OP_PUSHDATA4){if(e&&!this.script.checkMinimalPush(this.pc-1))return this.errStr="SCRIPT_ERR_MINIMALDATA",!1;if(!n.buf)this.stack.push(de.false);else{if(n.len!==n.buf.length)throw new Error("LEngth of push value not equal to length of data");this.stack.push(n.buf)}}else if(t||U.OP_IF<=x&&x<=U.OP_ENDIF)switch(x){case U.OP_1NEGATE:case U.OP_1:case U.OP_2:case U.OP_3:case U.OP_4:case U.OP_5:case U.OP_6:case U.OP_7:case U.OP_8:case U.OP_9:case U.OP_10:case U.OP_11:case U.OP_12:case U.OP_13:case U.OP_14:case U.OP_15:case U.OP_16:{let ce=x-(U.OP_1-1),ve=new l(ce).toScriptNumBuffer();this.stack.push(ve)}break;case U.OP_NOP:break;case U.OP_CHECKLOCKTIMEVERIFY:{if(!(this.flags&de.SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY)){if(this.flags&de.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errStr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break}if(this.stack.length<1)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-1],Me=new l().fromScriptNumBuffer(ce,e,5).toNumber();if(Me<0)return this.errStr="SCRIPT_ERR_NEGATIVE_LOCKTIME",!1;if(!this.checkLockTime(Me))return this.errStr="SCRIPT_ERR_UNSATISFIED_LOCKTIME",!1}break;case U.OP_CHECKSEQUENCEVERIFY:{if(!(this.flags&de.SCRIPT_VERIFY_CHECKSEQUENCEVERIFY)){if(this.flags&de.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errStr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break}if(this.stack.length<1)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-1],Me=new l().fromScriptNumBuffer(ce,e,5).toNumber();if(Me<0)return this.errStr="SCRIPT_ERR_NEGATIVE_LOCKTIME",!1;if(Me&je.SEQUENCE_LOCKTIME_DISABLE_FLAG)break;if(!this.checkSequence(Me))return this.errStr="SCRIPT_ERR_UNSATISFIED_LOCKTIME",!1}break;case U.OP_NOP1:case U.OP_NOP3:case U.OP_NOP4:case U.OP_NOP5:case U.OP_NOP6:case U.OP_NOP7:case U.OP_NOP8:case U.OP_NOP9:case U.OP_NOP10:if(this.flags&de.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errStr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break;case U.OP_IF:case U.OP_NOTIF:{let ce=!1;if(t){if(this.stack.length<1)return this.errStr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;let ve=this.stack.pop();ce=de.castToBool(ve),x===U.OP_NOTIF&&(ce=!ce)}this.ifStack.push(ce)}break;case U.OP_ELSE:if(this.ifStack.length===0)return this.errStr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;this.ifStack[this.ifStack.length-1]=!this.ifStack[this.ifStack.length-1];break;case U.OP_ENDIF:if(this.ifStack.length===0)return this.errStr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;this.ifStack.pop();break;case U.OP_VERIFY:{if(this.stack.length<1)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-1];if(de.castToBool(ce))this.stack.pop();else return this.errStr="SCRIPT_ERR_VERIFY",!1}break;case U.OP_RETURN:return this.errStr="SCRIPT_ERR_OP_RETURN",!1;case U.OP_TOALTSTACK:if(this.stack.length<1)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.altStack.push(this.stack.pop());break;case U.OP_FROMALTSTACK:if(this.altStack.length<1)return this.errStr="SCRIPT_ERR_INVALID_ALTSTACK_OPERATION",!1;this.stack.push(this.altStack.pop());break;case U.OP_2DROP:if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.pop(),this.stack.pop();break;case U.OP_2DUP:{if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-2],ve=this.stack[this.stack.length-1];this.stack.push(ce),this.stack.push(ve)}break;case U.OP_3DUP:{if(this.stack.length<3)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-3],ve=this.stack[this.stack.length-2],Me=this.stack[this.stack.length-1];this.stack.push(ce),this.stack.push(ve),this.stack.push(Me)}break;case U.OP_2OVER:{if(this.stack.length<4)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-4],ve=this.stack[this.stack.length-3];this.stack.push(ce),this.stack.push(ve)}break;case U.OP_2ROT:{if(this.stack.length<6)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack.splice(this.stack.length-6,2);this.stack.push(ce[0]),this.stack.push(ce[1])}break;case U.OP_2SWAP:{if(this.stack.length<4)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack.splice(this.stack.length-4,2);this.stack.push(ce[0]),this.stack.push(ce[1])}break;case U.OP_IFDUP:{if(this.stack.length<1)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-1];de.castToBool(ce)&&this.stack.push(ce)}break;case U.OP_DEPTH:{let ce=new l(this.stack.length).toScriptNumBuffer();this.stack.push(ce)}break;case U.OP_DROP:if(this.stack.length<1)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.pop();break;case U.OP_DUP:if(this.stack.length<1)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.push(this.stack[this.stack.length-1]);break;case U.OP_NIP:if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.splice(this.stack.length-2,1);break;case U.OP_OVER:if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.push(this.stack[this.stack.length-2]);break;case U.OP_PICK:case U.OP_ROLL:{if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-1],Me=new l().fromScriptNumBuffer(ce,e,de.DEFAULT_SCRIPT_NUM_LENGTH_POLICY_AFTER_GENESIS).toNumber();if(this.stack.pop(),Me<0||Me>=this.stack.length)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;ce=this.stack[this.stack.length-Me-1],x===U.OP_ROLL&&this.stack.splice(this.stack.length-Me-1,1),this.stack.push(ce)}break;case U.OP_ROT:{if(this.stack.length<3)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-3],ve=this.stack[this.stack.length-2],Me=this.stack[this.stack.length-1];this.stack[this.stack.length-3]=ve,this.stack[this.stack.length-2]=Me,this.stack[this.stack.length-1]=ce}break;case U.OP_SWAP:{if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-2],ve=this.stack[this.stack.length-1];this.stack[this.stack.length-2]=ve,this.stack[this.stack.length-1]=ce}break;case U.OP_TUCK:if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.splice(this.stack.length-2,0,this.stack[this.stack.length-1]);break;case U.OP_SIZE:{if(this.stack.length<1)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=new l(this.stack[this.stack.length-1].length);this.stack.push(ce.toScriptNumBuffer())}break;case U.OP_OR:case U.OP_AND:case U.OP_XOR:if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let T=this.stack[this.stack.length-2],W=this.stack[this.stack.length-1];if(T.length!=W.length)return this.errStr="SCRIPT_ERR_INVALID_OPERAND_SIZE",!1;switch(x){case U.OP_AND:for(let ce=0;ce<T.length;ce++)T[ce]&=W[ce];break;case U.OP_OR:for(let ce=0;ce<T.length;ce++)T[ce]|=W[ce];break;case U.OP_XOR:for(let ce=0;ce<T.length;ce++)T[ce]^=W[ce];break}this.stack.pop();break;case U.OP_INVERT:if(this.stack.length<1)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ee=this.stack[this.stack.length-1];for(let ce=0;ce<ee.length;ce++)ee[ce]=~ee[ce];break;case U.OP_LSHIFT:case U.OP_RSHIFT:{if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-2],ve=new l(ce),Me=new l().fromScriptNumBuffer(this.stack[this.stack.length-1],e,de.DEFAULT_SCRIPT_NUM_LENGTH_POLICY_AFTER_GENESIS).toNumber();if(Me<0)return this.errStr="SCRIPT_ERR_INVALID_NUMBER_RANGE",!1;switch(this.stack.pop(),this.stack.pop(),x){case U.OP_LSHIFT:ve=ve.ushln(Me);break;case U.OP_RSHIFT:ve=ve.ushrn(Me);break}let ct=ve.toBuffer().slice(-ce.length);ct.length<ce.length&&(ct=dt.concat([dt.alloc(ce.length-ct.length),ct])),this.stack.push(ct);break}case U.OP_EQUAL:case U.OP_EQUALVERIFY:{if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-2],ve=this.stack[this.stack.length-1],Me=oe(ce,ve);if(this.stack.pop(),this.stack.pop(),this.stack.push(Me?de.true:de.false),x===U.OP_EQUALVERIFY)if(Me)this.stack.pop();else return this.errStr="SCRIPT_ERR_EQUALVERIFY",!1}break;case U.OP_1ADD:case U.OP_1SUB:case U.OP_NEGATE:case U.OP_ABS:case U.OP_NOT:case U.OP_0NOTEQUAL:{if(this.stack.length<1)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-1],ve=new l().fromScriptNumBuffer(ce,e,de.DEFAULT_SCRIPT_NUM_LENGTH_POLICY_AFTER_GENESIS);switch(x){case U.OP_1ADD:ve=ve.add(1);break;case U.OP_1SUB:ve=ve.sub(1);break;case U.OP_NEGATE:ve=ve.neg();break;case U.OP_ABS:ve.lt(0)&&(ve=ve.neg());break;case U.OP_NOT:ve=new l(ve.eq(0)+0);break;case U.OP_0NOTEQUAL:ve=new l(ve.neq(0)+0);break}this.stack.pop(),this.stack.push(ve.toScriptNumBuffer())}break;case U.OP_ADD:case U.OP_SUB:case U.OP_MUL:case U.OP_DIV:case U.OP_MOD:case U.OP_BOOLAND:case U.OP_BOOLOR:case U.OP_NUMEQUAL:case U.OP_NUMEQUALVERIFY:case U.OP_NUMNOTEQUAL:case U.OP_LESSTHAN:case U.OP_GREATERTHAN:case U.OP_LESSTHANOREQUAL:case U.OP_GREATERTHANOREQUAL:case U.OP_MIN:case U.OP_MAX:{if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=new l().fromScriptNumBuffer(this.stack[this.stack.length-2],e,de.DEFAULT_SCRIPT_NUM_LENGTH_POLICY_AFTER_GENESIS),ve=new l().fromScriptNumBuffer(this.stack[this.stack.length-1],e,de.DEFAULT_SCRIPT_NUM_LENGTH_POLICY_AFTER_GENESIS),Me=new l(0);switch(x){case U.OP_ADD:Me=ce.add(ve);break;case U.OP_SUB:Me=ce.sub(ve);break;case U.OP_MUL:Me=ce.mul(ve);break;case U.OP_DIV:if(ve==0)return this.errStr="SCRIPT_ERR_DIV_BY_ZERO",!1;Me=ce.div(ve);break;case U.OP_MOD:if(ve==0)return this.errStr="SCRIPT_ERR_DIV_BY_ZERO",!1;Me=ce.mod(ve);break;case U.OP_BOOLAND:Me=new l((ce.neq(0)&&ve.neq(0))+0);break;case U.OP_BOOLOR:Me=new l((ce.neq(0)||ve.neq(0))+0);break;case U.OP_NUMEQUAL:Me=new l(ce.eq(ve)+0);break;case U.OP_NUMEQUALVERIFY:Me=new l(ce.eq(ve)+0);break;case U.OP_NUMNOTEQUAL:Me=new l(ce.neq(ve)+0);break;case U.OP_LESSTHAN:Me=new l(ce.lt(ve)+0);break;case U.OP_GREATERTHAN:Me=new l(ce.gt(ve)+0);break;case U.OP_LESSTHANOREQUAL:Me=new l(ce.leq(ve)+0);break;case U.OP_GREATERTHANOREQUAL:Me=new l(ce.geq(ve)+0);break;case U.OP_MIN:Me=ce.lt(ve)?ce:ve;break;case U.OP_MAX:Me=ce.gt(ve)?ce:ve;break}if(this.stack.pop(),this.stack.pop(),this.stack.push(Me.toScriptNumBuffer()),x===U.OP_NUMEQUALVERIFY)if(de.castToBool(this.stack[this.stack.length-1]))this.stack.pop();else return this.errStr="SCRIPT_ERR_NUMEQUALVERIFY",!1}break;case U.OP_WITHIN:{if(this.stack.length<3)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=new l().fromScriptNumBuffer(this.stack[this.stack.length-3],e,de.DEFAULT_SCRIPT_NUM_LENGTH_POLICY_AFTER_GENESIS),ve=new l().fromScriptNumBuffer(this.stack[this.stack.length-2],e,de.DEFAULT_SCRIPT_NUM_LENGTH_POLICY_AFTER_GENESIS),Me=new l().fromScriptNumBuffer(this.stack[this.stack.length-1],e,de.DEFAULT_SCRIPT_NUM_LENGTH_POLICY_AFTER_GENESIS),ct=ve.leq(ce)&&ce.lt(Me);this.stack.pop(),this.stack.pop(),this.stack.pop(),this.stack.push(ct?de.true:de.false)}break;case U.OP_RIPEMD160:case U.OP_SHA1:case U.OP_SHA256:case U.OP_HASH160:case U.OP_HASH256:{if(this.stack.length<1)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-1],ve;x===U.OP_RIPEMD160?ve=h.ripemd160(ce):x===U.OP_SHA1?ve=h.sha1(ce):x===U.OP_SHA256?ve=h.sha256(ce):x===U.OP_HASH160?ve=h.sha256Ripemd160(ce):x===U.OP_HASH256&&(ve=h.sha256Sha256(ce)),this.stack.pop(),this.stack.push(ve)}break;case U.OP_CODESEPARATOR:this.pBeginCodeHash=this.pc;break;case U.OP_CHECKSIG:case U.OP_CHECKSIGVERIFY:{if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ce=this.stack[this.stack.length-2],ve=this.stack[this.stack.length-1],Me=new Pe().fromObject({chunks:this.script.chunks.slice(this.pBeginCodeHash)});if((ce.length>0?ce.readUInt8(ce.length-1):0)&me.SIGHASH_FORKID){if(!(this.flags&de.SCRIPT_ENABLE_SIGHASH_FORKID))return this.errStr="SCRIPT_ERR_ILLEGAL_FORKID",!1}else Me.findAndDelete(new Pe().writeBuffer(ce));if(!this.checkSigEncoding(ce)||!this.checkPubKeyEncoding(ve))return!1;let mt;try{let Bt=new me().fromTxFormat(ce),xt=new K().fromBuffer(ve,!1);mt=this.tx.verify(Bt,xt,this.nIn,Me,!!(this.flags&de.SCRIPT_VERIFY_LOW_S),this.valueBn,this.flags)}catch{mt=!1}if(this.stack.pop(),this.stack.pop(),this.stack.push(mt?de.true:de.false),x===U.OP_CHECKSIGVERIFY)if(mt)this.stack.pop();else return this.errStr="SCRIPT_ERR_CHECKSIGVERIFY",!1}break;case U.OP_CHECKMULTISIG:case U.OP_CHECKMULTISIGVERIFY:{let ce=1;if(this.stack.length<ce)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ve=new l().fromScriptNumBuffer(this.stack[this.stack.length-ce],e).toNumber();if(ve<0||ve>20)return this.errStr="SCRIPT_ERR_PUBKEY_COUNT",!1;if(this.nOpCount+=ve,this.nOpCount>201)return this.errStr="SCRIPT_ERR_OP_COUNT",!1;let Me=++ce;if(ce+=ve,this.stack.length<ce)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let ct=new l().fromScriptNumBuffer(this.stack[this.stack.length-ce],e).toNumber();if(ct<0||ct>ve)return this.errStr="SCRIPT_ERR_SIG_COUNT",!1;let mt=++ce;if(ce+=ct,this.stack.length<ce)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let Bt=new Pe().fromObject({chunks:this.script.chunks.slice(this.pBeginCodeHash)});for(let wt=0;wt<ct;wt++){let gt=this.stack[this.stack.length-mt-wt];if((gt.length>0?gt.readUInt8(gt.length-1):0)&me.SIGHASH_FORKID){if(!(this.flags&de.SCRIPT_ENABLE_SIGHASH_FORKID))return this.errStr="SCRIPT_ERR_ILLEGAL_FORKID",!1}else Bt.findAndDelete(new Pe().writeBuffer(gt))}let xt=!0;for(;xt&&ct>0;){let wt=this.stack[this.stack.length-mt],gt=this.stack[this.stack.length-Me];if(!this.checkSigEncoding(wt)||!this.checkPubKeyEncoding(gt))return!1;let Pt;try{let Mt=new me().fromTxFormat(wt),kt=new K().fromBuffer(gt,!1);Pt=this.tx.verify(Mt,kt,this.nIn,Bt,!!(this.flags&de.SCRIPT_VERIFY_LOW_S),this.valueBn,this.flags)}catch{Pt=!1}Pt&&(mt++,ct--),Me++,ve--,ct>ve&&(xt=!1)}for(;ce-- >1;)this.stack.pop();if(this.stack.length<1)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(this.flags&de.SCRIPT_VERIFY_NULLDUMMY&&this.stack[this.stack.length-1].length)return this.errStr="SCRIPT_ERR_SIG_NULLDUMMY",!1;if(this.stack.pop(),this.stack.push(xt?de.true:de.false),x===U.OP_CHECKMULTISIGVERIFY)if(xt)this.stack.pop();else return this.errStr="SCRIPT_ERR_CHECKMULTISIGVERIFY",!1}break;case U.OP_CAT:if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let pe=this.stack[this.stack.length-2],be=this.stack[this.stack.length-1];this.stack[this.stack.length-2]=dt.concat([pe,be]),this.stack.pop();break;case U.OP_SPLIT:if(this.stack.length<2)return this.errStr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;let Re=this.stack[this.stack.length-2],Te=new l().fromScriptNumBuffer(this.stack[this.stack.length-1],e);if(Te.lt(0)||Te.gt(Re.length))return this.errStr="SCRIPT_ERR_INVALID_SPLIT_RANGE",!1;let He=Re.slice(0,Te),ot=Re.slice(Te);this.stack.pop(),this.stack.pop(),this.stack.push(He),this.stack.push(ot);break;default:return this.errStr="SCRIPT_ERR_BAD_OPCODE",!1}return!0}verify(e,t,n,x,T,W){let ee=this.results(e,t,n,x,T,W);for(let pe of ee)if(!pe)return!1;return!0}*results(e,t,n,x,T,W){let ee;this.fromObject({script:e,tx:n,nIn:x,flags:T,valueBn:W}),T&de.SCRIPT_VERIFY_SIGPUSHONLY&&!e.isPushOnly()&&(this.errStr=this.errStr||"SCRIPT_ERR_SIG_PUSHONLY",yield!1),yield*this.eval(),T&de.SCRIPT_VERIFY_P2SH&&(ee=this.stack.slice());let pe=this.stack;this.initialize(),this.fromObject({script:t,stack:pe,tx:n,nIn:x,flags:T,valueBn:W}),yield*this.eval(),this.stack.length===0&&(this.errStr=this.errStr||"SCRIPT_ERR_EVAL_FALSE",yield!1);let be=this.stack[this.stack.length-1];if(de.castToBool(be)||(this.errStr=this.errStr||"SCRIPT_ERR_EVAL_FALSE",yield!1),T&de.SCRIPT_VERIFY_P2SH&&t.isScriptHashOut()){e.isPushOnly()||(this.errStr=this.errStr||"SCRIPT_ERR_SIG_PUSHONLY",yield!1);let Re=pe;if(pe=ee,ee=Re,pe.length===0)throw new Error("internal error - stack copy empty");let Te=pe[pe.length-1],He=new Pe().fromBuffer(Te);pe.pop(),this.initialize(),this.fromObject({script:He,stack:pe,tx:n,nIn:x,flags:T,valueBn:W}),yield*this.eval(),pe.length===0&&(this.errStr=this.errStr||"SCRIPT_ERR_EVAL_FALSE",yield!1),de.castToBool(pe[pe.length-1])?yield!0:(this.errStr=this.errStr||"SCRIPT_ERR_EVAL_FALSE",yield!1)}if(T&de.SCRIPT_VERIFY_CLEANSTACK){if(!(T&de.SCRIPT_VERIFY_P2SH))throw new Error("cannot use CLEANSTACK without P2SH");pe.length!==1&&(this.errStr=this.errStr||"SCRIPT_ERR_CLEANSTACK",yield!1)}yield!0}getDebugObject(){let e=this.pc-1;return{errStr:this.errStr,scriptStr:this.script?this.script.toString():"no script found",pc:e,stack:this.stack.map(t=>t.toString("hex")),altStack:this.altStack.map(t=>t.toString("hex")),opCodeStr:this.script?U.fromNumber(this.script.chunks[e].opCodeNum).toString():"no script found"}}getDebugString(){return JSON.stringify(this.getDebugObject(),null,2)}}de.true=dt.from([1]),de.false=dt.from([]),de.DEFAULT_SCRIPT_NUM_LENGTH_POLICY_AFTER_GENESIS=1e4,de.LOCKTIME_THRESHOLD=5e8,de.SCRIPT_VERIFY_NONE=0,de.SCRIPT_VERIFY_P2SH=1,de.SCRIPT_VERIFY_STRICTENC=2,de.SCRIPT_VERIFY_DERSIG=4,de.SCRIPT_VERIFY_LOW_S=8,de.SCRIPT_VERIFY_NULLDUMMY=16,de.SCRIPT_VERIFY_SIGPUSHONLY=32,de.SCRIPT_VERIFY_MINIMALDATA=64,de.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS=128,de.SCRIPT_VERIFY_CLEANSTACK=256,de.SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY=512,de.SCRIPT_VERIFY_CHECKSEQUENCEVERIFY=1024,de.SCRIPT_ENABLE_SIGHASH_FORKID=65536,de.defaultFlags=de.SCRIPT_VERIFY_P2SH|de.SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY;class et extends V{static{i(this,"SigOperations")}constructor(e=new Map){super({map:e})}toJSON(){const e={};return this.map.forEach((t,n)=>{e[n]=t.map(x=>({nScriptChunk:x.nScriptChunk,type:x.type,addressStr:x.addressStr,nHashType:x.nHashType,log:x.log}))}),e}fromJSON(e){return Object.keys(e).forEach(t=>{this.map.set(t,e[t].map(n=>({nScriptChunk:n.nScriptChunk,type:n.type,addressStr:n.addressStr,nHashType:n.nHashType,log:n.log})))}),this}setOne(e,t,n,x="sig",T,W=me.SIGHASH_ALL|me.SIGHASH_FORKID){const ee=e.toString("hex")+":"+t,pe={nScriptChunk:n,type:x,addressStr:T,nHashType:W};return this.map.set(ee,[pe]),this}setMany(e,t,n){const x=e.toString("hex")+":"+t;return n=n.map(T=>({type:T.type||"sig",nHashType:T.nHashType||me.SIGHASH_ALL|me.SIGHASH_FORKID,...T})),this.map.set(x,n),this}addOne(e,t,n,x="sig",T,W=me.SIGHASH_ALL|me.SIGHASH_FORKID){const ee=this.get(e,t)||[];return ee.push({nScriptChunk:n,type:x,addressStr:T,nHashType:W}),this.setMany(e,t,ee),this}get(e,t){const n=e.toString("hex")+":"+t;return this.map.get(n)||[]}}class yt extends V{static{i(this,"TxOutMap")}constructor(e=new Map){super({map:e})}toJSON(){const e={};return this.map.forEach((t,n)=>{e[n]=t.toHex()}),e}fromJSON(e){return Object.keys(e).forEach(t=>{this.map.set(t,ze.fromHex(e[t]))}),this}set(e,t,n){const x=e.toString("hex")+":"+t;return this.map.set(x,n),this}get(e,t){const n=e.toString("hex")+":"+t;return this.map.get(n)}setTx(e){const t=e.hash().toString("hex");return e.txOuts.forEach((n,x)=>{const T=t+":"+x;this.map.set(T,n)}),this}}var it=Be(8764).Buffer;const tt=H.Default.TxBuilder;class At extends V{static{i(this,"TxBuilder")}constructor(e=new Ge,t=[],n=[],x=new yt,T=new et,W,ee,pe,be=tt.feePerKbNum,Re=0,Te=1,He=1,ot=tt.dust,ce=!1,ve=new Qe){super({tx:e,txIns:t,txOuts:n,uTxOutMap:x,sigOperations:T,changeScript:W,changeAmountBn:ee,feeAmountBn:pe,feePerKbNum:be,nLockTime:Re,versionBytesNum:Te,sigsPerInput:He,dust:ot,dustChangeToFees:ce,hashCache:ve})}toJSON(){const e={};return e.tx=this.tx.toHex(),e.txIns=this.txIns.map(t=>t.toHex()),e.txOuts=this.txOuts.map(t=>t.toHex()),e.uTxOutMap=this.uTxOutMap.toJSON(),e.sigOperations=this.sigOperations.toJSON(),e.changeScript=this.changeScript?this.changeScript.toHex():void 0,e.changeAmountBn=this.changeAmountBn?this.changeAmountBn.toNumber():void 0,e.feeAmountBn=this.feeAmountBn?this.feeAmountBn.toNumber():void 0,e.feePerKbNum=this.feePerKbNum,e.sigsPerInput=this.sigsPerInput,e.dust=this.dust,e.dustChangeToFees=this.dustChangeToFees,e.hashCache=this.hashCache.toJSON(),e}fromJSON(e){return this.tx=new Ge().fromHex(e.tx),this.txIns=e.txIns.map(t=>je.fromHex(t)),this.txOuts=e.txOuts.map(t=>ze.fromHex(t)),this.uTxOutMap=new yt().fromJSON(e.uTxOutMap),this.sigOperations=new et().fromJSON(e.sigOperations),this.changeScript=e.changeScript?new Pe().fromHex(e.changeScript):void 0,this.changeAmountBn=e.changeAmountBn?new l(e.changeAmountBn):void 0,this.feeAmountBn=e.feeAmountBn?new l(e.feeAmountBn):void 0,this.feePerKbNum=e.feePerKbNum||this.feePerKbNum,this.sigsPerInput=e.sigsPerInput||this.sigsPerInput,this.dust=e.dust||this.dust,this.dustChangeToFees=e.dustChangeToFees||this.dustChangeToFees,this.hashCache=Qe.fromJSON(e.hashCache),this}setFeePerKbNum(e){if(typeof e!="number"||e<0)throw new Error("cannot set a fee of zero or less");return this.feePerKbNum=e,this}setChangeAddress(e){return this.changeScript=e.toTxOutScript(),this}setChangeScript(e){return this.changeScript=e,this}setNLocktime(e){return this.nLockTime=e,this}setVersion(e){return this.versionBytesNum=e,this}setDust(e=tt.dust){return this.dust=e,this}sendDustChangeToFees(e=!1){return this.dustChangeToFees=e,this}importPartiallySignedTx(e,t=this.uTxOutMap,n=this.sigOperations){return this.tx=e,this.uTxOutMap=t,this.sigOperations=n,this}inputFromScript(e,t,n,x,T){if(!it.isBuffer(e)||typeof t!="number"||!(n instanceof ze)||!(x instanceof Pe))throw new Error("invalid one of: txHashBuf, txOutNum, txOut, script");return this.txIns.push(je.fromProperties(e,t,x,T)),this.uTxOutMap.set(e,t,n),this}addSigOperation(e,t,n,x,T,W){return this.sigOperations.addOne(e,t,n,x,T,W),this}inputFromPubKeyHash(e,t,n,x,T,W){if(!it.isBuffer(e)||typeof t!="number"||!(n instanceof ze))throw new Error("invalid one of: txHashBuf, txOutNum, txOut");this.txIns.push(new je().fromObject({nSequence:T}).fromPubKeyHashTxOut(e,t,n,x)),this.uTxOutMap.set(e,t,n);const ee=Ce.fromTxOutScript(n.script).toString();return this.addSigOperation(e,t,0,"sig",ee,W),this.addSigOperation(e,t,1,"pubKey",ee),this}outputToAddress(e,t){if(!(t instanceof Ce)||!(e instanceof l))throw new Error("addr must be an Address, and valueBn must be a Bn");const n=new Pe().fromPubKeyHash(t.hashBuf);return this.outputToScript(e,n),this}outputToScript(e,t){if(!(t instanceof Pe)||!(e instanceof l))throw new Error("script must be a Script, and valueBn must be a Bn");const n=ze.fromProperties(e,t);return this.txOuts.push(n),this}buildOutputs(){let e=new l(0);return this.txOuts.forEach(t=>{if(t.valueBn.lt(this.dust)&&!t.script.isNonSpendable())throw new Error("cannot create output lesser than dust");e=e.add(t.valueBn),this.tx.addTxOut(t)}),e}buildInputs(e,t=0){let n=new l(0);for(const x of this.txIns){const T=this.uTxOutMap.get(x.txHashBuf,x.txOutNum);if(n=n.add(T.valueBn),this.tx.addTxIn(x),n.geq(e)){if(t<=0)break;t--}}if(n.lt(e))throw new Error("not enough funds for outputs: inAmountBn "+n.toNumber()+" outAmountBn "+e.toNumber());return n}estimateSize(){let n=this.tx.toBuffer().length;return this.tx.txIns.forEach(x=>{const{txHashBuf:T,txOutNum:W}=x;this.sigOperations.get(T,W).forEach(pe=>{const{nScriptChunk:be,type:Re}=pe,He=new Pe([x.script.chunks[be]]).toBuffer().length;if(n-=He,Re==="sig")n+=72;else if(pe.type==="pubKey")n+=35;else throw new Error("unsupported sig operations type")})}),n=n+1,Math.round(n)}estimateFee(e=new l(0)){const t=Math.ceil(this.estimateSize()/1e3*this.feePerKbNum);return new l(t).add(e)}build(e={useAllInputs:!1}){let t;if(this.txIns.length<=0)throw Error("tx-builder number of inputs must be greater than 0");if(!this.changeScript)throw new Error("must specify change script to use build method");for(let n=e.useAllInputs?this.txIns.length-1:0;n<this.txIns.length;n++){this.tx=new Ge;const x=this.buildOutputs(),T=ze.fromProperties(new l(0),this.changeScript);this.tx.addTxOut(T);let W;try{W=this.buildInputs(x,n)}catch(ee){throw ee.message.includes("not enough funds for outputs")?new Error("unable to gather enough inputs for outputs and fee"):ee}if(this.changeAmountBn=W.sub(x),T.valueBn=this.changeAmountBn,t=this.estimateFee(),this.changeAmountBn.geq(t)&&this.changeAmountBn.sub(t).gt(this.dust))break}if(this.changeAmountBn.geq(t)){if(this.feeAmountBn=t,this.changeAmountBn=this.changeAmountBn.sub(this.feeAmountBn),this.tx.txOuts[this.tx.txOuts.length-1].valueBn=this.changeAmountBn,this.changeAmountBn.lt(this.dust))if(this.dustChangeToFees)this.tx.txOuts.pop(),this.tx.txOutsVi=Ue.fromNumber(this.tx.txOutsVi.toNumber()-1),this.feeAmountBn=this.feeAmountBn.add(this.changeAmountBn),this.changeAmountBn=new l(0);else throw new Error("unable to create change amount greater than dust");if(this.tx.nLockTime=this.nLockTime,this.tx.versionBytesNum=this.versionBytesNum,this.tx.txOuts.length===0)throw new Error("outputs length is zero - unable to create any outputs greater than dust");return this}else throw new Error("unable to gather enough inputs for outputs and fee")}sort(){return this.tx.sort(),this}static allSigsPresent(e,t){let n=0;for(let x=1;x<t.chunks.length-1;x++)t.chunks[x].buf&&n++;return n===e}static removeBlankSigs(e){e=new Pe(e.chunks.slice());for(let t=1;t<e.chunks.length-1;t++)e.chunks[t].buf||e.chunks.splice(t,1);return e}fillSig(e,t,n){const x=this.tx.txIns[e];return x.script.chunks[t]=new Pe().writeBuffer(n.toTxFormat()).chunks[0],x.scriptVi=Ue.fromNumber(x.script.toBuffer().length),this}getSig(e,t=me.SIGHASH_ALL|me.SIGHASH_FORKID,n,x,T=Ge.SCRIPT_ENABLE_SIGHASH_FORKID){let W;if(t&me.SIGHASH_FORKID&&T&Ge.SCRIPT_ENABLE_SIGHASH_FORKID){const ee=this.tx.txIns[n].txHashBuf,pe=this.tx.txIns[n].txOutNum,be=this.uTxOutMap.get(ee,pe);if(!be)throw new Error("for SIGHASH_FORKID must provide UTXOs");W=be.valueBn}return this.tx.sign(e,t,n,x,W,T,this.hashCache)}asyncGetSig(e,t=me.SIGHASH_ALL|me.SIGHASH_FORKID,n,x,T=Ge.SCRIPT_ENABLE_SIGHASH_FORKID){let W;if(t&me.SIGHASH_FORKID&&T&Ge.SCRIPT_ENABLE_SIGHASH_FORKID){const ee=this.tx.txIns[n].txHashBuf,pe=this.tx.txIns[n].txOutNum,be=this.uTxOutMap.get(ee,pe);if(!be)throw new Error("for SIGHASH_FORKID must provide UTXOs");W=be.valueBn}return this.tx.asyncSign(e,t,n,x,W,T,this.hashCache)}signTxIn(e,t,n,x,T=me.SIGHASH_ALL|me.SIGHASH_FORKID,W=Ge.SCRIPT_ENABLE_SIGHASH_FORKID){const ee=this.tx.txIns[e],pe=ee.script;if(x===void 0&&pe.isPubKeyHashIn()&&(x=0),x===void 0)throw new Error("cannot sign unknown script type for input "+e);const be=ee.txHashBuf,Re=ee.txOutNum;n||(n=this.uTxOutMap.get(be,Re));const He=n.script,ot=this.getSig(t,T,e,He,W,this.hashCache);return this.fillSig(e,x,ot),this}async asyncSignTxIn(e,t,n,x,T=me.SIGHASH_ALL|me.SIGHASH_FORKID,W=Ge.SCRIPT_ENABLE_SIGHASH_FORKID){const ee=this.tx.txIns[e],pe=ee.script;if(x===void 0&&pe.isPubKeyHashIn()&&(x=0),x===void 0)throw new Error("cannot sign unknown script type for input "+e);const be=ee.txHashBuf,Re=ee.txOutNum;n||(n=this.uTxOutMap.get(be,Re));const He=n.script,ot=await this.asyncGetSig(t,T,e,He,W,this.hashCache);return this.fillSig(e,x,ot),this}signWithKeyPairs(e){const t={};for(const n of e){const x=Ce.fromPubKey(n.pubKey).toString();t[x]=n}for(const n in this.tx.txIns){const x=this.tx.txIns[n],T=this.sigOperations.get(x.txHashBuf,x.txOutNum);for(const W of T){const{nScriptChunk:ee,type:pe,addressStr:be,nHashType:Re}=W,Te=t[be];if(!Te){W.log=`cannot find keyPair for addressStr ${be}`;continue}const He=this.uTxOutMap.get(x.txHashBuf,x.txOutNum);if(pe==="sig")this.signTxIn(n,Te,He,ee,Re),W.log="successfully inserted signature";else if(pe==="pubKey")x.script.chunks[ee]=new Pe().writeBuffer(Te.pubKey.toBuffer()).chunks[0],x.setScript(x.script),W.log="successfully inserted public key";else{W.log=`cannot perform operation of type ${pe}`;continue}}}return this}}class Xe extends V{static{i(this,"TxVerifier")}constructor(e,t,n,x){super({tx:e,txOutMap:t,errStr:n,interp:x})}verify(e=de.SCRIPT_ENABLE_SIGHASH_FORKID){return!this.checkStr()&&!this.verifyStr(e)}async asyncVerify(e){const t=await this.asyncVerifyStr(e);return!this.checkStr()&&!t}static verify(e,t,n){return new Xe(e,t).verify(n)}static asyncVerify(e,t,n){return new Xe(e,t).asyncVerify(n)}checkStr(){if(this.tx.txIns.length===0||this.tx.txInsVi.toNumber()===0)return this.errStr="transaction txIns empty",this.errStr;if(this.tx.txOuts.length===0||this.tx.txOutsVi.toNumber()===0)return this.errStr="transaction txOuts empty",this.errStr;if(this.tx.toBuffer().length>Ze.MAX_BLOCK_SIZE)return this.errStr="transaction over the maximum block size",this.errStr;let e=new l(0);for(let n=0;n<this.tx.txOuts.length;n++){const x=this.tx.txOuts[n];if(x.valueBn.lt(0))return this.errStr="transaction txOut "+n+" negative",this.errStr;if(x.valueBn.gt(Ge.MAX_MONEY))return this.errStr="transaction txOut "+n+" greater than MAX_MONEY",this.errStr;if(e=e.add(x.valueBn),e.gt(Ge.MAX_MONEY))return this.errStr="transaction txOut "+n+" total output greater than MAX_MONEY",this.errStr}const t={};for(let n=0;n<this.tx.txIns.length;n++){const x=this.tx.txIns[n],T=x.txHashBuf.toString("hex")+":"+x.txOutNum;if(t[T]!==void 0)return this.errStr="transaction input "+n+" duplicate input",this.errStr;t[T]=!0}if(this.tx.isCoinbase()){const n=this.tx.txIns[0].script.toBuffer();if(n.length<2||n.length>100)return this.errStr="coinbase trasaction script size invalid",this.errStr}else for(let n=0;n<this.tx.txIns.length;n++)if(this.tx.txIns[n].hasNullInput())return this.errStr="transaction input "+n+" has null input",this.errStr;return!1}verifyStr(e){for(let t=0;t<this.tx.txIns.length;t++)if(!this.verifyNIn(t,e))return this.errStr="input "+t+" failed script verify",this.errStr;return!1}async asyncVerifyStr(e){for(let t=0;t<this.tx.txIns.length;t++)if(!await this.asyncVerifyNIn(t,e))return this.errStr="input "+t+" failed script verify",this.errStr;return!1}verifyNIn(e,t){const n=this.tx.txIns[e],x=n.script,T=this.txOutMap.get(n.txHashBuf,n.txOutNum);if(!T)return console.log("output "+n.txOutNum+" not found"),!1;const W=T.script,ee=T.valueBn;return this.interp=new de,this.interp.verify(x,W,this.tx,e,t,ee)}async asyncVerifyNIn(e,t){const n=this.tx.txIns[e],x=n.script,T=this.txOutMap.get(n.txHashBuf,n.txOutNum);if(!T)return console.log("output "+n.txOutNum+" not found"),!1;const W=T.script,ee=T.valueBn;this.interp=new de;const pe=await r.asyncObjectMethod(this.interp,"verify",[x,W,this.tx,e,t,ee]);return JSON.parse(pe.resbuf.toString())}getDebugObject(){return{errStr:this.errStr,interpFailure:this.interp?this.interp.getDebugObject():void 0}}getDebugString(){return JSON.stringify(this.getDebugObject(),null,2)}}var at=Be(8764).Buffer;class ft{static{i(this,"Aes")}}ft.encrypt=function(M,e){const t=ft.buf2Words(e),n=ft.buf2Words(M),T=new($())(t).encrypt(n);return ft.words2Buf(T)},ft.decrypt=function(M,e){const t=ft.buf2Words(M),n=ft.buf2Words(e),T=new($())(n).decrypt(t);return ft.words2Buf(T)},ft.buf2Words=function(M){if(M.length%4)throw new Error("buf length must be a multiple of 4");const e=[];for(let t=0;t<M.length/4;t++)e.push(M.readUInt32BE(t*4));return e},ft.words2Buf=function(M){const e=at.alloc(M.length*4);for(let t=0;t<M.length;t++)e.writeUInt32BE(M[t],t*4);return e};var Je=Be(8764).Buffer;class Fe{static{i(this,"Cbc")}}Fe.buf2BlocksBuf=function(M,e){const t=e/8,n=[];for(let x=0;x<=M.length/t;x++){let T=M.slice(x*t,x*t+t);T.length<e&&(T=Fe.pkcs7Pad(T,e)),n.push(T)}return n},Fe.blockBufs2Buf=function(M){let e=M[M.length-1];return e=Fe.pkcs7Unpad(e),M[M.length-1]=e,Je.concat(M)},Fe.encrypt=function(M,e,t,n){const x=e.length*8,T=Fe.buf2BlocksBuf(M,x),W=Fe.encryptBlocks(T,e,t,n);return Je.concat(W)},Fe.decrypt=function(M,e,t,n){const x=e.length,T=[];for(let pe=0;pe<M.length/x;pe++)T.push(M.slice(pe*x,pe*x+x));const W=Fe.decryptBlocks(T,e,t,n);return Fe.blockBufs2Buf(W)},Fe.encryptBlock=function(M,e,t,n){const x=Fe.xorBufs(M,e);return t.encrypt(x,n)},Fe.decryptBlock=function(M,e,t,n){const x=t.decrypt(M,n);return Fe.xorBufs(x,e)},Fe.encryptBlocks=function(M,e,t,n){const x=[];for(let T=0;T<M.length;T++){const W=M[T],ee=Fe.encryptBlock(W,e,t,n);x.push(ee),e=ee}return x},Fe.decryptBlocks=function(M,e,t,n){const x=[];for(let T=0;T<M.length;T++){const W=M[T],ee=Fe.decryptBlock(W,e,t,n);x.push(ee),e=W}return x},Fe.pkcs7Pad=function(M,e){const n=e/8-M.length,x=Je.alloc(n);return x.fill(n),Je.concat([M,x])},Fe.pkcs7Unpad=function(M){const e=M[M.length-1],t=M.slice(M.length-e,M.length),n=Je.alloc(e);if(n.fill(e),!oe(t,n))throw new Error("invalid padding");return M.slice(0,M.length-e)},Fe.xorBufs=function(M,e){if(M.length!==e.length)throw new Error("bufs must have the same length");const t=Je.alloc(M.length);for(let n=0;n<M.length;n++)t[n]=M[n]^e[n];return t};var St=Be(8764).Buffer;class ut{static{i(this,"Aescbc")}}ut.encrypt=function(M,e,t,n=!0){t=t||ye.getRandomBuffer(128/8);const x=Fe.encrypt(M,t,ft,e);return n?St.concat([t,x]):x},ut.decrypt=function(M,e,t=!1){if(t){const n=M;return Fe.decrypt(n,t,ft,e)}else{const n=M.slice(0,16),x=M.slice(128/8);return Fe.decrypt(x,n,ft,e)}};var Et=Be(8764).Buffer;class pt{static{i(this,"Ach")}}pt.encrypt=function(M,e,t){const n=ut.encrypt(M,e,t),x=h.sha256Hmac(n,e);return Et.concat([x,n])},pt.asyncEncrypt=async function(M,e,t){t||(t=ye.getRandomBuffer(128/8));const n=[M,e,t];return(await r.asyncClassMethod(pt,"encrypt",n)).resbuf},pt.decrypt=function(M,e){if(M.length<512/8)throw new Error("The encrypted data must be at least 256+128+128 bits, which is the length of the Hmac plus the iv plus the smallest encrypted data size");const t=M.slice(0,256/8);M=M.slice(256/8,M.length);const n=h.sha256Hmac(M,e);if(!oe(t,n))throw new Error("Message authentication failed - Hmacs are not equivalent");return ut.decrypt(M,e)},pt.asyncDecrypt=async function(M,e){const t=[M,e];return(await r.asyncClassMethod(pt,"decrypt",t)).resbuf};var lt=Be(8764).Buffer;class ht{static{i(this,"Ecies")}}ht.ivkEkM=function(M,e){const t=M.bn,x=e.point.mul(t),W=new K(x).toBuffer(),ee=h.sha512(W);return{iv:ee.slice(0,16),kE:ee.slice(16,32),kM:ee.slice(32,64)}},ht.electrumEncrypt=function(M,e,t,n=!1){if(!lt.isBuffer(M))throw new Error("messageBuf must be a buffer");let x;t===null&&(t=ne.fromRandom()),n||(x=t.pubKey.toDer(!0));const{iv:T,kE:W,kM:ee}=ht.ivkEkM(t.privKey,e),pe=ut.encrypt(M,W,T,!1),be=lt.from("BIE1");let Re;x?Re=lt.concat([be,x,pe]):Re=lt.concat([be,pe]);const Te=h.sha256Hmac(Re,ee);return lt.concat([Re,Te])},ht.electrumDecrypt=function(M,e,t=null){if(!lt.isBuffer(M))throw new Error("encBuf must be a buffer");const n=32;if(!M.slice(0,4).equals(lt.from("BIE1")))throw new Error("Invalid Magic");let T=4;if(t===null){const He=M.slice(4,37);t=K.fromDer(He),T=37}const{iv:W,kE:ee,kM:pe}=ht.ivkEkM(e,t),be=M.slice(T,M.length-n),Re=M.slice(M.length-n,M.length),Te=h.sha256Hmac(M.slice(0,M.length-n),pe);if(!Re.equals(Te))throw new Error("Invalid checksum");return ut.decrypt(be,ee,W)},ht.bitcoreEncrypt=function(M,e,t,n){t||(t=ne.fromRandom());const x=t.privKey.bn,W=t.pubKey.toDer(!0),Re=e.point.mul(x).getX().toBuffer({size:32}),Te=h.sha512(Re),He=Te.slice(0,32),ot=Te.slice(32,64),ce=ut.encrypt(M,He,n),ve=h.sha256Hmac(ce,ot);return lt.concat([W,ce,ve])},ht.asyncBitcoreEncrypt=async function(M,e,t,n){t||(t=await ne.asyncFromRandom()),n||(n=ye.getRandomBuffer(128/8));const x=[M,e,t,n];return(await r.asyncClassMethod(ht,"bitcoreEncrypt",x)).resbuf},ht.bitcoreDecrypt=function(M,e){const t=e.bn,T=K.fromDer(M.slice(0,33)).point.mul(t);if(T.eq(new he))throw new Error("P equals 0");const ee=T.getX().toBuffer({size:32}),pe=h.sha512(ee),be=pe.slice(0,32),Re=pe.slice(32,64),Te=M.slice(33,M.length-32),He=M.slice(M.length-32,M.length),ot=h.sha256Hmac(Te,Re);if(!oe(He,ot))throw new Error("Invalid checksum");return ut.decrypt(Te,be)},ht.asyncBitcoreDecrypt=async function(M,e){const t=[M,e];return(await r.asyncClassMethod(ht,"bitcoreDecrypt",t)).resbuf};const _t={aes:$(),bnjs:_(),bs58:z(),elliptic:d(),hashjs:m(),pbkdf2:B,Buffer:P.Buffer},It=p.i8})(),Nt})());
|