56 lines
2.5 MiB
JavaScript
Raw Normal View History

2025-04-29 10:26:25 +08:00
(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{0:function(e,t){},"0006":function(e,t,n){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},"000b":function(e,t,n){"use strict";n.r(t);var l=n("2e07"),r=n.n(l);for(var a in l)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return l[e]}))}(a);t["default"]=r.a},"0065":function(e,t,n){"use strict";n.r(t);var l=n("0977"),r=n("000b");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);var i=n("828b"),u=Object(i["a"])(r["default"],l["b"],l["c"],!1,null,"59d74e64",null,!1,l["a"],void 0);t["default"]=u.exports},"00ab":function(e,t,n){"use strict";n.r(t);var l=n("928f"),r=n("10f5");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);var i=n("828b"),u=Object(i["a"])(r["default"],l["b"],l["c"],!1,null,null,null,!1,l["a"],void 0);t["default"]=u.exports},"00e2":function(e,t,n){"use strict";var l=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t._buyaccount=function(e){return r.default.post({url:"/api/pub/buyaccount",data:e})},t._buyguide=function(e){return r.default.post({url:"/api/pub/buyguide",data:e})},t._payorderres=function(e){return r.default.post({url:"/api/pub/payorderres",data:e})};var r=l(n("ee98"))},"00e3":function(e,t,n){"use strict";(function(e){var l=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var l,r,a=n.call(e),i=[];try{while((void 0===t||t-- >0)&&!(l=a.next()).done)i.push(l.value)}catch(u){r={error:u}}finally{try{l&&!l.done&&(n=a["return"])&&n.call(a)}finally{if(r)throw r.error}}return i},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isZeroAddress=t.zeroAddress=t.importPublic=t.privateToAddress=t.privateToPublic=t.publicToAddress=t.pubToAddress=t.isValidPublic=t.isValidPrivate=t.generateAddress2=t.generateAddress=t.isValidChecksumAddress=t.toChecksumAddress=t.isValidAddress=t.Account=void 0;var a=r(n("37e3")),i=n("05cd"),u=n("0e2e"),o=n("6aea"),s=n("9379"),c=n("6bd7"),f=n("445a"),d=n("33e2"),h=n("e81b"),p=function(){function e(e,t,n,l){void 0===e&&(e=new i.BN(0)),void 0===t&&(t=new i.BN(0)),void 0===n&&(n=s.KECCAK256_RLP),void 0===l&&(l=s.KECCAK256_NULL),this.nonce=e,this.balance=t,this.stateRoot=n,this.codeHash=l,this._validate()}return e.fromAccountData=function(t){var n=t.nonce,l=t.balance,r=t.stateRoot,a=t.codeHash;return new e(n?new i.BN((0,c.toBuffer)(n)):void 0,l?new i.BN((0,c.toBuffer)(l)):void 0,r?(0,c.toBuffer)(r):void 0,a?(0,c.toBuffer)(a):void 0)},e.fromRlpSerializedAccount=function(e){var t=i.rlp.decode(e);if(!Array.isArray(t))throw new Error("Invalid serialized account input. Must be array");return this.fromValuesArray(t)},e.fromValuesArray=function(t){var n=l(t,4),r=n[0],a=n[1],u=n[2],o=n[3];return new e(new i.BN(r),new i.BN(a),u,o)},e.prototype._validate=function(){if(this.nonce.lt(new i.BN(0)))throw new Error("nonce must be greater than zero");if(this.balance.lt(new i.BN(0)))throw new Error("balance must be greater than zero");if(32!==this.stateRoot.length)throw new Error("stateRoot must have a length of 32");if(32!==this.codeHash.length)throw new Error("codeHash must have a length of 32")},e.prototype.raw=function(){return[(0,h.bnToUnpaddedBuffer)(this.nonce),(0,h.bnToUnpaddedBuffer)(this.balance),this.stateRoot,this.codeHash]},e.prototype.serialize=function(){return i.rlp.encode(this.raw())},e.prototype.isContract=function(){return!this.codeHash.equals(s.KECCAK256_NULL)},e.prototype.isEmpty=function(){return this.balance.isZero()&&this.nonce.isZero()&&this.codeHash.equals(s.KECCAK256_NULL)},e}();t.Account=p;t.isValidAddress=function(e){try{(0,d.assertIsString)(e)}catch(t){return!1}return/^0x[0-9a-fA-F]{40}$/.test(e)};t.toChecksumAddress=function(e,t){(0,d.assertIsHexString)(e);var n=(0,o.stripHexPrefix)(e).toLowerCase(),l="";if(t){var r=(0,h.toType)(t,h.TypeOutput.BN);l=r.toString()+"0x"}for(var a=(0,f.keccakFromString)(l+n).toString("hex"),i=
2025-04-19 15:38:48 +08:00
/*
object-assign
(c) Sindre Sorhus
@license MIT
2025-04-29 10:26:25 +08:00
*/var l=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var l=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==l.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,t){for(var n,u,o=i(e),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]),n)r.call(n,c)&&(o[c]=n[c]);if(l){u=l(n);for(var f=0;f<u.length;f++)a.call(n,u[f])&&(o[u[f]]=n[u[f]])}}return o}},"0446":function(e,t,n){var l=n("5f79").Buffer;function r(e){l.isBuffer(e)||(e=l.from(e));for(var t=e.length/4|0,n=new Array(t),r=0;r<t;r++)n[r]=e.readUInt32BE(4*r);return n}function a(e){for(;0<e.length;e++)e[0]=0}function i(e,t,n,l,r){for(var a,i,u,o,s=n[0],c=n[1],f=n[2],d=n[3],h=e[0]^t[0],p=e[1]^t[1],v=e[2]^t[2],b=e[3]^t[3],m=4,g=1;g<r;g++)a=s[h>>>24]^c[p>>>16&255]^f[v>>>8&255]^d[255&b]^t[m++],i=s[p>>>24]^c[v>>>16&255]^f[b>>>8&255]^d[255&h]^t[m++],u=s[v>>>24]^c[b>>>16&255]^f[h>>>8&255]^d[255&p]^t[m++],o=s[b>>>24]^c[h>>>16&255]^f[p>>>8&255]^d[255&v]^t[m++],h=a,p=i,v=u,b=o;return a=(l[h>>>24]<<24|l[p>>>16&255]<<16|l[v>>>8&255]<<8|l[255&b])^t[m++],i=(l[p>>>24]<<24|l[v>>>16&255]<<16|l[b>>>8&255]<<8|l[255&h])^t[m++],u=(l[v>>>24]<<24|l[b>>>16&255]<<16|l[h>>>8&255]<<8|l[255&p])^t[m++],o=(l[b>>>24]<<24|l[h>>>16&255]<<16|l[p>>>8&255]<<8|l[255&v])^t[m++],a>>>=0,i>>>=0,u>>>=0,o>>>=0,[a,i,u,o]}var u=[0,1,2,4,8,16,32,64,128,27,54],o=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],l=[],r=[[],[],[],[]],a=[[],[],[],[]],i=0,u=0,o=0;o<256;++o){var s=u^u<<1^u<<2^u<<3^u<<4;s=s>>>8^255&s^99,n[i]=s,l[s]=i;var c=e[i],f=e[c],d=e[f],h=257*e[s]^16843008*s;r[0][i]=h<<24|h>>>8,r[1][i]=h<<16|h>>>16,r[2][i]=h<<8|h>>>24,r[3][i]=h,h=16843009*d^65537*f^257*c^16843008*i,a[0][s]=h<<24|h>>>8,a[1][s]=h<<16|h>>>16,a[2][s]=h<<8|h>>>24,a[3][s]=h,0===i?i=u=1:(i=c^e[e[e[d^c]]],u^=e[e[u]])}return{SBOX:n,INV_SBOX:l,SUB_MIX:r,INV_SUB_MIX:a}}();function s(e){this._key=r(e),this._reset()}s.blockSize=16,s.keySize=32,s.prototype.blockSize=s.blockSize,s.prototype.keySize=s.keySize,s.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,l=4*(n+1),r=[],a=0;a<t;a++)r[a]=e[a];for(a=t;a<l;a++){var i=r[a-1];a%t===0?(i=i<<8|i>>>24,i=o.SBOX[i>>>24]<<24|o.SBOX[i>>>16&255]<<16|o.SBOX[i>>>8&255]<<8|o.SBOX[255&i],i^=u[a/t|0]<<24):t>6&&a%t===4&&(i=o.SBOX[i>>>24]<<24|o.SBOX[i>>>16&255]<<16|o.SBOX[i>>>8&255]<<8|o.SBOX[255&i]),r[a]=r[a-t]^i}for(var s=[],c=0;c<l;c++){var f=l-c,d=r[f-(c%4?0:4)];s[c]=c<4||f<=4?d:o.INV_SUB_MIX[0][o.SBOX[d>>>24]]^o.INV_SUB_MIX[1][o.SBOX[d>>>16&255]]^o.INV_SUB_MIX[2][o.SBOX[d>>>8&255]]^o.INV_SUB_MIX[3][o.SBOX[255&d]]}this._nRounds=n,this._keySchedule=r,this._invKeySchedule=s},s.prototype.encryptBlockRaw=function(e){return e=r(e),i(e,this._keySchedule,o.SUB_MIX,o.SBOX,this._nRounds)},s.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=l.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},s.prototype.decryptBlock=function(e){e=r(e);var t=e[1];e[1]=e[3],e[3]=t;var n=i(e,this._invKeySchedule,o.INV_SUB_MIX,o.INV_SBOX,this._nRounds),a=l.allocUnsafe(16);return a.writeUInt32BE(n[0],0),a.writeUInt32BE(n[3],4),a.writeUInt32BE(n[2],8),a.writeUInt32BE(n[1],12),a},s.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},e.exports.AES=s},"0461":function(e,t,n){"use strict";n.r(t);var l=n("682e"),r=n("9e94");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);var i=n("828b"),u=Object(i["a"])(r["default"],l["b"],l["c"],!1,null,"76752b88",null,!1,l
/*!
* RSA library for Node.js
*
* Author: rzcoder
* License MIT
*/
var l=n("4587"),r=n("a6eb"),a=(n("548f"),n("24b8").Ber,n("c417")._),i=n("c417"),u=n("8f7b"),o=n("457a");"undefined"===typeof l.RSA_NO_PADDING&&(l.RSA_NO_PADDING=3),e.exports=function(){var e={node10:["md4","md5","ripemd160","sha1","sha224","sha256","sha384","sha512"],node:["md4","md5","ripemd160","sha1","sha224","sha256","sha384","sha512"],iojs:["md4","md5","ripemd160","sha1","sha224","sha256","sha384","sha512"],browser:["md5","ripemd160","sha1","sha256","sha512"]},n={private:"pkcs1-private-pem","private-der":"pkcs1-private-der",public:"pkcs8-public-pem","public-der":"pkcs8-public-der"};function l(e,n,u){if(!(this instanceof l))return new l(e,n,u);a.isObject(n)&&(u=n,n=void 0),this.$options={signingScheme:"pkcs1",signingSchemeOptions:{hash:"sha256",saltLength:null},encryptionScheme:"pkcs1_oaep",encryptionSchemeOptions:{hash:"sha1",label:null},environment:i.detectEnvironment(),rsaUtils:this},this.keyPair=new r.Key,this.$cache={},t.isBuffer(e)||a.isString(e)?this.importKey(e,n):a.isObject(e)&&this.generateKeyPair(e.b,e.e),this.setOptions(u)}return l.prototype.setOptions=function(t){if(t=t||{},t.environment&&(this.$options.environment=t.environment),t.signingScheme){if(a.isString(t.signingScheme)){var n=t.signingScheme.toLowerCase().split("-");1==n.length?e.node.indexOf(n[0])>-1?(this.$options.signingSchemeOptions={hash:n[0]},this.$options.signingScheme="pkcs1"):(this.$options.signingScheme=n[0],this.$options.signingSchemeOptions={hash:null}):(this.$options.signingSchemeOptions={hash:n[1]},this.$options.signingScheme=n[0])}else a.isObject(t.signingScheme)&&(this.$options.signingScheme=t.signingScheme.scheme||"pkcs1",this.$options.signingSchemeOptions=a.omit(t.signingScheme,"scheme"));if(!u.isSignature(this.$options.signingScheme))throw Error("Unsupported signing scheme");if(this.$options.signingSchemeOptions.hash&&-1===e[this.$options.environment].indexOf(this.$options.signingSchemeOptions.hash))throw Error("Unsupported hashing algorithm for "+this.$options.environment+" environment")}if(t.encryptionScheme){if(a.isString(t.encryptionScheme)?(this.$options.encryptionScheme=t.encryptionScheme.toLowerCase(),this.$options.encryptionSchemeOptions={}):a.isObject(t.encryptionScheme)&&(this.$options.encryptionScheme=t.encryptionScheme.scheme||"pkcs1_oaep",this.$options.encryptionSchemeOptions=a.omit(t.encryptionScheme,"scheme")),!u.isEncryption(this.$options.encryptionScheme))throw Error("Unsupported encryption scheme");if(this.$options.encryptionSchemeOptions.hash&&-1===e[this.$options.environment].indexOf(this.$options.encryptionSchemeOptions.hash))throw Error("Unsupported hashing algorithm for "+this.$options.environment+" environment")}this.keyPair.setOptions(this.$options)},l.prototype.generateKeyPair=function(e,t){if(e=e||2048,t=t||65537,e%8!==0)throw Error("Key size must be a multiple of 8.");return this.keyPair.generate(e,t.toString(16)),this.$cache={},this},l.prototype.importKey=function(e,t){if(!e)throw Error("Empty key given");if(t&&(t=n[t]||t),!o.detectAndImport(this.keyPair,e,t)&&void 0===t)throw Error("Key format must be specified");return this.$cache={},this},l.prototype.exportKey=function(e){return e=e||"private",e=n[e]||e,this.$cache[e]||(this.$cache[e]=o.detectAndExport(this.keyPair,e)),this.$cache[e]},l.prototype.isPrivate=function(){return this.keyPair.isPrivate()},l.prototype.isPublic=function(e){return this.keyPair.isPublic(e)},l.prototype.isEmpty=function(e){return!(this.keyPair.n||this.keyPair.e||this.keyPair.d)},l.prototype.encrypt=function(e,t,n){return this.$$encryptKey(!1,e,t,n)},l.prototype.decrypt=function(e,t){return this.$$decryptKey(!1,e,t)},l.prototype.encryptPrivate=function(e,t,n){return this.$$encryptKey(!0,e,t,n)},l.prototype.decryptPublic=function(e,t){return this.$$decryptKey(!0,e,t)},l.prototype.$$encryptKey=function(e,t,n,l){try{var r=this.keyPair.encrypt(this.$getDataForEncrypt(t,l),e);return"buffer"!=n&&n?r.toString(n):r}catch(a){throw Error("Error during encryption. Original error: "+a)}},l.prototype.$$decryptKey=function(e,n,l){try{n=a.isString(n)?t.from(n,"base64"):n;var r=this.keyPai
2025-04-19 15:38:48 +08:00
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
2025-04-29 10:26:25 +08:00
var l=n("10ab"),r=n("ba37"),a=n("b0e47");function i(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(e,t){if(i()<t)throw new RangeError("Invalid typed array length");return o.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=o.prototype):(null===e&&(e=new o(t)),e.length=t),e}function o(e,t,n){if(!o.TYPED_ARRAY_SUPPORT&&!(this instanceof o))return new o(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return s(this,e,t,n)}function s(e,t,n,l){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,l){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(l||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===l?new Uint8Array(t):void 0===l?new Uint8Array(t,n):new Uint8Array(t,n,l);o.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=o.prototype):e=d(e,t);return e}(e,t,n,l):"string"===typeof t?function(e,t,n){"string"===typeof n&&""!==n||(n="utf8");if(!o.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var l=0|p(t,n);e=u(e,l);var r=e.write(t,n);r!==l&&(e=e.slice(0,r));return e}(e,t,n):function(e,t){if(o.isBuffer(t)){var n=0|h(t.length);return e=u(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||function(e){return e!==e}(t.length)?u(e,0):d(e,t);if("Buffer"===t.type&&a(t.data))return d(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(c(t),e=u(e,t<0?0:0|h(t)),!o.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|h(t.length);e=u(e,n);for(var l=0;l<n;l+=1)e[l]=255&t[l];return e}function h(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function p(e,t){if(o.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var l=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(l)return L(e).length;t=(""+t).toLowerCase(),l=!0}}function v(e,t,n){var l=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return M(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(l)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),l=!0}}function b(e,t,n){var l=e[t];e[t]=e[n],e[n]=l}function m(e,t,n,l,r){if(0===e.length)return-1;if("string"===typeof n?(l=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof t&&(t=o.from(t,l)),o.isBuffer(t))return 0===t.length?-1:g(e,t,n,l,r);if("number"===typeof t)return t&=255,o.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,l,r);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,l,r){var a,i=1,u=e.length,o=t.length;i
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */var l=n("67ad"),r=n("0bdb"),a=n("127e"),i=n("ee10"),u=n("3b2d");Object.defineProperty(t,"__esModule",{value:!0}),t.Hash=t.nextTick=t.byteSwapIfBE=t.byteSwap=t.isLE=t.rotl=t.rotr=t.createView=t.u32=t.u8=void 0,t.isBytes=function(e){return e instanceof Uint8Array||null!=e&&"object"===u(e)&&"Uint8Array"===e.constructor.name},t.byteSwap32=function(e){for(var n=0;n<e.length;n++)e[n]=(0,t.byteSwap)(e[n])},t.bytesToHex=function(e){(0,s.bytes)(e);for(var t="",n=0;n<e.length;n++)t+=c[e[n]];return t},t.hexToBytes=function(e){if("string"!==typeof e)throw new Error("hex string expected, got "+u(e));var t=e.length,n=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);for(var l=new Uint8Array(n),r=0,a=0;r<n;r++,a+=2){var i=d(e.charCodeAt(a)),o=d(e.charCodeAt(a+1));if(void 0===i||void 0===o){var s=e[a]+e[a+1];throw new Error('hex string expected, got non-hex character "'+s+'" at index '+a)}l[r]=16*i+o}return l},t.asyncLoop=function(e,t,n){return p.apply(this,arguments)},t.utf8ToBytes=v,t.toBytes=b,t.concatBytes=function(){for(var e=0,t=0;t<arguments.length;t++){var n=t<0||arguments.length<=t?void 0:arguments[t];(0,s.bytes)(n),e+=n.length}for(var l=new Uint8Array(e),r=0,a=0;r<arguments.length;r++){var i=r<0||arguments.length<=r?void 0:arguments[r];l.set(i,a),a+=i.length}return l},t.checkOpts=function(e,t){if(void 0!==t&&"[object Object]"!==g.call(t))throw new Error("Options should be object or undefined");var n=Object.assign(e,t);return n},t.wrapConstructor=function(e){var t=function(t){return e().update(b(t)).digest()},n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=function(){return e()},t},t.wrapConstructorWithOpts=function(e){var t=function(t,n){return e(n).update(b(t)).digest()},n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=function(t){return e(t)},t},t.wrapXOFConstructorWithOpts=function(e){var t=function(t,n){return e(n).update(b(t)).digest()},n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=function(t){return e(t)},t},t.randomBytes=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;if(o.crypto&&"function"===typeof o.crypto.getRandomValues)return o.crypto.getRandomValues(new Uint8Array(e));if(o.crypto&&"function"===typeof o.crypto.randomBytes)return o.crypto.randomBytes(e);throw new Error("crypto.getRandomValues must be defined")};var o=n("6cc5"),s=n("d885");t.u8=function(e){return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)};t.u32=function(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))};t.createView=function(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)};t.rotr=function(e,t){return e<<32-t|e>>>t};t.rotl=function(e,t){return e<<t|e>>>32-t>>>0},t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];t.byteSwap=function(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255},t.byteSwapIfBE=t.isLE?function(e){return e}:function(e){return(0,t.byteSwap)(e)};var c=Array.from({length:256},(function(e,t){return t.toString(16).padStart(2,"0")}));var f={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function d(e){return e>=f._0&&e<=f._9?e-f._0:e>=f._A&&e<=f._F?e-(f._A-10):e>=f._a&&e<=f._f?e-(f._a-10):void 0}var h=function(){var e=i(a.mark((function e(){return a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function p(){return p=i(a.mark((function e(n,l,r){var i,u,o;return a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:i=Date.now(),u=0;case 2:if(!(u<n)){e.next=13;break}if(r(u),o=Date.now()-i,!(o>=0&&o<l)){e.next=7;break}return e.abrupt("continue",10);case 7:return e.next=9,(0,t.nextTick)();case 9:i+=o;case 10:u++,e.next=2;break;case 13:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function v(e){if("string"!==typeof e)throw new Error("utf8ToBytes expected string, got ".concat(u(e)));return new Uint8Array((new TextEncoder).encode(e))}function b(e){return"string"===typeof
/*! MIT License. Copyright 2015-2018 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */
(function(t){"use strict";function n(e){return parseInt(e)===e}function l(e){if(!n(e.length))return!1;for(var t=0;t<e.length;t++)if(!n(e[t])||e[t]<0||e[t]>255)return!1;return!0}function r(e,t){if(e.buffer&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!l(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(n(e.length)&&l(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function a(e){return new Uint8Array(e)}function i(e,t,n,l,r){null==l&&null==r||(e=e.slice?e.slice(l,r):Array.prototype.slice.call(e,l,r)),t.set(e,n)}var u=function(){return{toBytes:function(e){var t=[],n=0;e=encodeURI(e);while(n<e.length){var l=e.charCodeAt(n++);37===l?(t.push(parseInt(e.substr(n,2),16)),n+=2):t.push(l)}return r(t)},fromBytes:function(e){var t=[],n=0;while(n<e.length){var l=e[n];l<128?(t.push(String.fromCharCode(l)),n++):l>191&&l<224?(t.push(String.fromCharCode((31&l)<<6|63&e[n+1])),n+=2):(t.push(String.fromCharCode((15&l)<<12|(63&e[n+1])<<6|63&e[n+2])),n+=3)}return t.join("")}}}(),o=function(){var e="0123456789abcdef";return{toBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},fromBytes:function(t){for(var n=[],l=0;l<t.length;l++){var r=t[l];n.push(e[(240&r)>>4]+e[15&r])}return n.join("")}}}(),s={16:10,24:12,32:14},c=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],f=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],d=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],h=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,15
2025-04-19 15:38:48 +08:00
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
2025-04-29 10:26:25 +08:00
*/function r(e,t){if(e===t)return 0;for(var n=e.length,l=t.length,r=0,a=Math.min(n,l);r<a;++r)if(e[r]!==t[r]){n=e[r],l=t[r];break}return n<l?-1:l<n?1:0}function a(e){return t.Buffer&&"function"===typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var i=n("38c2"),u=Object.prototype.hasOwnProperty,o=Array.prototype.slice,s=function(){return"foo"===function(){}.name}();function c(e){return Object.prototype.toString.call(e)}function f(e){return!a(e)&&("function"===typeof t.ArrayBuffer&&("function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var d=e.exports=g,h=/\s*function\s+([^\(\s]*)\s*/;function p(e){if(i.isFunction(e)){if(s)return e.name;var t=e.toString(),n=t.match(h);return n&&n[1]}}function v(e,t){return"string"===typeof e?e.length<t?e:e.slice(0,t):e}function b(e){if(s||!i.isFunction(e))return i.inspect(e);var t=p(e),n=t?": "+t:"";return"[Function"+n+"]"}function m(e,t,n,l,r){throw new d.AssertionError({message:n,actual:e,expected:t,operator:l,stackStartFunction:r})}function g(e,t){e||m(e,!0,t,"==",d.ok)}function y(e,t,n,l){if(e===t)return!0;if(a(e)&&a(t))return 0===r(e,t);if(i.isDate(e)&&i.isDate(t))return e.getTime()===t.getTime();if(i.isRegExp(e)&&i.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"===typeof e||null!==t&&"object"===typeof t){if(f(e)&&f(t)&&c(e)===c(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===r(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(a(e)!==a(t))return!1;l=l||{actual:[],expected:[]};var u=l.actual.indexOf(e);return-1!==u&&u===l.expected.indexOf(t)||(l.actual.push(e),l.expected.push(t),function(e,t,n,l){if(null===e||void 0===e||null===t||void 0===t)return!1;if(i.isPrimitive(e)||i.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var r=_(e),a=_(t);if(r&&!a||!r&&a)return!1;if(r)return e=o.call(e),t=o.call(t),y(e,t,n);var u,s,c=k(e),f=k(t);if(c.length!==f.length)return!1;for(c.sort(),f.sort(),s=c.length-1;s>=0;s--)if(c[s]!==f[s])return!1;for(s=c.length-1;s>=0;s--)if(u=c[s],!y(e[u],t[u],n,l))return!1;return!0}(e,t,n,l))}return n?e===t:e==t}function _(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function w(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(n){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function x(e,t,n,l){var r;if("function"!==typeof t)throw new TypeError('"block" argument must be a function');"string"===typeof n&&(l=n,n=null),r=function(e){var t;try{e()}catch(n){t=n}return t}(t),l=(n&&n.name?" ("+n.name+").":".")+(l?" "+l:"."),e&&!r&&m(r,n,"Missing expected exception"+l);var a="string"===typeof l,u=!e&&i.isError(r),o=!e&&r&&!n;if((u&&a&&w(r,n)||o)&&m(r,n,"Got unwanted exception"+l),e&&r&&n&&!w(r,n)||!e&&r)throw r}d.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return v(b(e.actual),128)+" "+e.operator+" "+v(b(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||m;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var l=n.stack,r=p(t),a=l.indexOf("\n"+r);if(a>=0){var i=l.indexOf("\n",a+1);l=l.substring(i+1)}this.stack=l}}},i.inherits(d.AssertionError,Error),d.fail=m,d.ok=g,d.equal=function(e,t,n){e!=t&&m(e,t,n,"==",d.equal)},d.notEqual=function(e,t,n){e==t&&m(e,t,n,"!=",d.notEqual)},d.deepEqual=function(e,t,n){y(e,t,!1)||m(e,t,n,"deepEqual",d.deepEqual)},d.deepStrictEqual=function(e,t,n){y(e,t,!0)||m(e,t,n,"deepStrictEqual",d.deepStrictEqual)},d.notDeepEqual=function(e,t,n){y(e,t,!1)&&m(e,t,n,"notDeepEqual",d.notDeepEqual)},d.notDeepStrictEqual=function e(t,n,l){y(t,n,!0)&&m(t,n,l,"notDeepStrictEqual",e)},d.strictEqual=function(e,t,n){e!==t&&m(e,t,n,"===",
2025-04-19 15:38:48 +08:00
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
2025-04-29 10:26:25 +08:00
var l=n("12e3"),r=l.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=l:(a(l,t),t.Buffer=i),i.prototype=Object.create(r.prototype),a(r,i),i.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},i.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var l=r(e);return void 0!==t?"string"===typeof n?l.fill(t,n):l.fill(t):l.fill(0),l},i.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r(e)},i.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return l.SlowBuffer(e)}},"5f85":function(e,t,n){"use strict";var l=n("5f79").Buffer,r=l.isEncoding||function(e){switch(e=""+e,e&&e.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 a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";var t;while(1)switch(e){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 e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!==typeof t&&(l.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=o,this.end=s,t=4;break;case"utf8":this.fillLast=u,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=l.allocUnsafe(t)}function i(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function u(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function o(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var l=n.charCodeAt(n.length-1);if(l>=55296&&l<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function s(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t},a.prototype.text=function(e,t){var n=function(e,t,n){var l=t.length-1;if(l<n)return 0;var r=i(t[l]);if(r>=0)return r>0&&(e.lastNeed=r-1),r;if(--l<n||-2===r)return 0;if(r=i(t[l]),r>=0)return r>0&&(e.lastNeed=r-2),r;if(--l<n||-2===r)return 0;if(r=i(t[l]),r>=0)return r>0&&(2===r?r=0:e.lastNeed=r-3),r;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var l=e.length-(n-this.lastNeed);return e.copy(this.lastChar,
2025-04-19 15:38:48 +08:00
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
2025-04-29 10:26:25 +08:00
var p=n("c25b"),v=n("f7bb"),b=n("a915"),m=n("a915");var g=b.bytesToNumberBE,y=b.hexToBytes;t.DER={Err:function(e){a(n,e);var t=f(n);function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r(this,n),t.call(this,e)}return l(n)}(o(Error)),_parseInt:function(e){var n=t.DER.Err;if(e.length<2||2!==e[0])throw new n("Invalid signature integer tag");var l=e[1],r=e.subarray(2,l+2);if(!l||r.length!==l)throw new n("Invalid signature integer: wrong length");if(128&r[0])throw new n("Invalid signature integer: negative");if(0===r[0]&&!(128&r[1]))throw new n("Invalid signature integer: unnecessary leading zero");return{d:g(r),l:e.subarray(l+2)}},toSig:function(e){var n=t.DER.Err,l="string"===typeof e?y(e):e;b.abytes(l);var r=l.length;if(r<2||48!=l[0])throw new n("Invalid signature tag");if(l[1]!==r-2)throw new n("Invalid signature: incorrect length");var a=t.DER._parseInt(l.subarray(2)),i=a.d,u=a.l,o=t.DER._parseInt(u),s=o.d,c=o.l;if(c.length)throw new n("Invalid signature: left bytes after parsing");return{r:i,s:s}},hexFromSig:function(e){var t=function(e){return 8&Number.parseInt(e[0],16)?"00"+e:e},n=function(e){var t=e.toString(16);return 1&t.length?"0".concat(t):t},l=t(n(e.s)),r=t(n(e.r)),a=l.length/2,i=r.length/2,u=n(a),o=n(i);return"30".concat(n(i+a+4),"02").concat(o).concat(r,"02").concat(u).concat(l)}};var _=BigInt(0),w=BigInt(1),x=BigInt(2),k=BigInt(3),S=BigInt(4);function E(e){var t=function(e){var t=(0,p.validateBasic)(e);b.validateObject(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});var n=t.endo,l=t.Fp,r=t.a;if(n){if(!l.eql(r,l.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!==c(n)||"bigint"!==typeof n.beta||"function"!==typeof n.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze(h({},t))}(e),n=t.Fp,a=t.toBytes||function(e,t,l){var r=t.toAffine();return b.concatBytes(Uint8Array.from([4]),n.toBytes(r.x),n.toBytes(r.y))},i=t.fromBytes||function(e){var t=e.subarray(1),l=n.fromBytes(t.subarray(0,n.BYTES)),r=n.fromBytes(t.subarray(n.BYTES,2*n.BYTES));return{x:l,y:r}};function u(e){var l=t.a,r=t.b,a=n.sqr(e),i=n.mul(a,e);return n.add(n.add(i,n.mul(e,l)),r)}if(!n.eql(n.sqr(t.Gy),u(t.Gx)))throw new Error("bad generator point: equation left != right");function o(e){return"bigint"===typeof e&&_<e&&e<t.n}function s(e){if(!o(e))throw new Error("Expected valid bigint: 0 < bigint < curve.n")}function f(e){var n,l=t.allowedPrivateKeyLengths,r=t.nByteLength,a=t.wrapPrivateKey,i=t.n;if(l&&"bigint"!==typeof e){if(b.isBytes(e)&&(e=b.bytesToHex(e)),"string"!==typeof e||!l.includes(e.length))throw new Error("Invalid key");e=e.padStart(2*r,"0")}try{n="bigint"===typeof e?e:b.bytesToNumberBE((0,m.ensureBytes)("private key",e,r))}catch(u){throw new Error("private key must be ".concat(r," bytes, hex or bigint, not ").concat(c(e)))}return a&&(n=v.mod(n,i)),s(n),n}var d=new Map;function g(e){if(!(e instanceof y))throw new Error("ProjectivePoint expected")}var y=function(){function e(t,l,a){if(r(this,e),this.px=t,this.py=l,this.pz=a,null==t||!n.isValid(t))throw new Error("x required");if(null==l||!n.isValid(l))throw new Error("y required");if(null==a||!n.isValid(a))throw new Error("z required")}return l(e,[{key:"x",get:function(){return this.toAffine().x}},{key:"y",get:function(){return this.toAffine().y}},{key:"_setWindowSize",value:function(e){this._WINDOW_SIZE=e,d.delete(this)}},{key:"assertValidity",value:function(){if(this.is0()){if(t.allowInfinityPoint&&!n.is0(this.py))return;throw new Error("bad point: ZERO")}var e=this.toAffine(),l=e.x,r=e.y;if(!n.isValid(l)||!n.isValid(r))throw new Error("bad point: x or y not FE");var a=n.sqr(r),i=u(l);if(!n.eql(a,i))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}},{key:"hasEvenY",value:function(){var e=this.toAffine(),
2025-04-19 15:38:48 +08:00
/**
* [js-sha3]{@link https://github.com/emn178/js-sha3}
*
* @version 0.9.3
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2015-2023
* @license MIT
*/
2025-04-29 10:26:25 +08:00
(function(){"use strict";var i="object"===("undefined"===typeof window?"undefined":a(window)),u=i?window:{};u.JS_SHA3_NO_WINDOW&&(i=!1);var o=!i&&"object"===("undefined"===typeof self?"undefined":a(self)),s=!u.JS_SHA3_NO_NODE_JS&&"object"===("undefined"===typeof e?"undefined":a(e))&&e.versions&&e.versions.node;s?u=global:o&&(u=self);for(var c=!u.JS_SHA3_NO_COMMON_JS&&"object"===a(l)&&l.exports,f=n("9c4a"),d=!u.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,h="0123456789abcdef".split(""),p=[4,1024,262144,67108864],v=[0,8,16,24],b=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],m=[224,256,384,512],g=[128,256],y=["hex","buffer","arrayBuffer","array","digest"],_={128:168,256:136},w=u.JS_SHA3_NO_NODE_JS||!Array.isArray?function(e){return"[object Array]"===Object.prototype.toString.call(e)}:Array.isArray,x=!d||!u.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView?ArrayBuffer.isView:function(e){return"object"===a(e)&&e.buffer&&e.buffer.constructor===ArrayBuffer},k=function(e){var t=a(e);if("string"===t)return[e,!0];if("object"!==t||null===e)throw new Error("input is invalid type");if(d&&e.constructor===ArrayBuffer)return[new Uint8Array(e),!1];if(!w(e)&&!x(e))throw new Error("input is invalid type");return[e,!1]},S=function(e){return 0===k(e)[0].length},E=function(e){for(var t=[],n=0;n<e.length;++n)t[n]=e[n];return t},C=function(e,t,n){return function(l){return new U(e,t,e).update(l)[n]()}},A=function(e,t,n){return function(l,r){return new U(e,t,r).update(l)[n]()}},M=function(e,t,n){return function(t,l,r,a){return B["cshake"+e].update(t,l,r,a)[n]()}},O=function(e,t,n){return function(t,l,r,a){return B["kmac"+e].update(t,l,r,a)[n]()}},P=function(e,t,n,l){for(var r=0;r<y.length;++r){var a=y[r];e[a]=t(n,l,a)}return e},T=function(e,t){var n=C(e,t,"hex");return n.create=function(){return new U(e,t,e)},n.update=function(e){return n.create().update(e)},P(n,C,e,t)},I=[{name:"keccak",padding:[1,256,65536,16777216],bits:m,createMethod:T},{name:"sha3",padding:[6,1536,393216,100663296],bits:m,createMethod:T},{name:"shake",padding:[31,7936,2031616,520093696],bits:g,createMethod:function(e,t){var n=A(e,t,"hex");return n.create=function(n){return new U(e,t,n)},n.update=function(e,t){return n.create(t).update(e)},P(n,A,e,t)}},{name:"cshake",padding:p,bits:g,createMethod:function(e,t){var n=_[e],l=M(e,0,"hex");return l.create=function(l,r,a){return S(r)&&S(a)?B["shake"+e].create(l):new U(e,t,l).bytepad([r,a],n)},l.update=function(e,t,n,r){return l.create(t,n,r).update(e)},P(l,M,e,t)}},{name:"kmac",padding:p,bits:g,createMethod:function(e,t){var n=_[e],l=O(e,0,"hex");return l.create=function(l,r,a){return new F(e,t,r).bytepad(["KMAC",a],n).bytepad([l],n)},l.update=function(e,t,n,r){return l.create(e,n,r).update(t)},P(l,O,e,t)}}],B={},$=[],j=0;j<I.length;++j)for(var N=I[j],D=N.bits,R=0;R<D.length;++R){var z=N.name+"_"+D[R];if($.push(z),B[z]=N.createMethod(D[R],N.padding),"sha3"!==N.name){var L=N.name+D[R];$.push(L),B[L]=B[z]}}function U(e,t,n){this.blocks=[],this.s=[],this.padding=t,this.outputBits=n,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(e<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(31&n)>>3;for(var l=0;l<50;++l)this.s[l]=0}function F(e,t,n){U.call(this,e,t,n)}U.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t=k(e);e=t[0];var n,l,r=t[1],a=this.blocks,i=this.byteCount,u=e.length,o=this.blockCount,s=0,c=this.s;while(s<u){if(this.reset)for(this.reset=!1,a[0]=this.block,n=1;n<o+1;++n)a[n]=0;if(r)for(n=this.start;s<u&&n<i;++s)l=e.charCodeAt(s),l<128?a[n>>2]|=l<<v[3&n++]:l<2048?(a[n>>2]|=(192|l>>6)<<v[3&n++],a[n>>2]|=(128|63&l)<<v[3&n++]):l<55296||l>=57344?(a[n>>2]|=(224|l>>12)<<v[3&n++],a[n>>2]|=(128|l>>6&63)<<v[3&n++],a
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=r=function(){return n},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,n={},a=Object.prototype,i=a.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",f=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,n){return e[t]=n}}function h(e,t,n,l){var r=t&&t.prototype instanceof y?t:y,a=Object.create(r.prototype),i=new I(l||[]);return u(a,"_invoke",{value:M(e,n,i)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=h;var v="suspendedStart",b="executing",m="completed",g={};function y(){}function _(){}function w(){}var x={};d(x,s,(function(){return this}));var k=Object.getPrototypeOf,S=k&&k(k(B([])));S&&S!==a&&i.call(S,s)&&(x=S);var E=w.prototype=y.prototype=Object.create(x);function C(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function n(r,a,u,o){var s=p(e[r],e,a);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==l(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,u,o)}),(function(e){n("throw",e,u,o)})):t.resolve(f).then((function(e){c.value=e,u(c)}),(function(e){return n("throw",e,u,o)}))}o(s.arg)}var r;u(this,"_invoke",{value:function(e,l){function a(){return new t((function(t,r){n(e,l,t,r)}))}return r=r?r.then(a,a):a()}})}function M(e,n,l){var r=v;return function(a,i){if(r===b)throw Error("Generator is already running");if(r===m){if("throw"===a)throw i;return{value:t,done:!0}}for(l.method=a,l.arg=i;;){var u=l.delegate;if(u){var o=O(u,l);if(o){if(o===g)continue;return o}}if("next"===l.method)l.sent=l._sent=l.arg;else if("throw"===l.method){if(r===v)throw r=m,l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);r=b;var s=p(e,n,l);if("normal"===s.type){if(r=l.done?m:"suspendedYield",s.arg===g)continue;return{value:s.arg,done:l.done}}"throw"===s.type&&(r=m,l.method="throw",l.arg=s.arg)}}}function O(e,n){var l=n.method,r=e.iterator[l];if(r===t)return n.delegate=null,"throw"===l&&e.iterator["return"]&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==l&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+l+"' method")),g;var a=p(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function B(e){if(e||""===e){var n=e[s];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(l(e)+" is not iterable")}return _.prototype=w,u(E,"constructor",{value:w,configurable:!0}),u(w,"constructor",{value:_,configurable:!0}),_.displayName=d(w,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,d(e,f,"GeneratorFunction")),e.prototype=Object.create(E),e},n.awrap=function(e){return{__await:e}},C(A.prototype),d(A.prototype,c,(function(){return this})),n.AsyncIterator=A,n.async=functi
/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function u(e){if(!Number.isSafeInteger(e))throw new Error("Wrong integer: ".concat(e))}function o(e){return e instanceof Uint8Array||null!=e&&"object"===(0,r.default)(e)&&"Uint8Array"===e.constructor.name}function s(){for(var e=function(e){return e},t=function(e,t){return function(n){return e(t(n))}},n=arguments.length,l=new Array(n),r=0;r<n;r++)l[r]=arguments[r];var a=l.map((function(e){return e.encode})).reduceRight(t,e),i=l.map((function(e){return e.decode})).reduce(t,e);return{encode:a,decode:i}}function c(e){return{encode:function(t){if(!Array.isArray(t)||t.length&&"number"!==typeof t[0])throw new Error("alphabet.encode input should be an array of numbers");return t.map((function(t){if(u(t),t<0||t>=e.length)throw new Error("Digit index outside alphabet: ".concat(t," (alphabet: ").concat(e.length,")"));return e[t]}))},decode:function(t){if(!Array.isArray(t)||t.length&&"string"!==typeof t[0])throw new Error("alphabet.decode input should be array of strings");return t.map((function(t){if("string"!==typeof t)throw new Error("alphabet.decode: not string element=".concat(t));var n=e.indexOf(t);if(-1===n)throw new Error('Unknown letter: "'.concat(t,'". Allowed: ').concat(e));return n}))}}}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if("string"!==typeof e)throw new Error("join separator should be string");return{encode:function(t){if(!Array.isArray(t)||t.length&&"string"!==typeof t[0])throw new Error("join.encode input should be array of strings");var n,l=a(t);try{for(l.s();!(n=l.n()).done;){var r=n.value;if("string"!==typeof r)throw new Error("join.encode: non-string input=".concat(r))}}catch(i){l.e(i)}finally{l.f()}return t.join(e)},decode:function(t){if("string"!==typeof t)throw new Error("join.decode input should be string");return t.split(e)}}}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"=";if(u(e),"string"!==typeof t)throw new Error("padding chr should be string");return{encode:function(n){if(!Array.isArray(n)||n.length&&"string"!==typeof n[0])throw new Error("padding.encode input should be array of strings");var l,r=a(n);try{for(r.s();!(l=r.n()).done;){var i=l.value;if("string"!==typeof i)throw new Error("padding.encode: non-string input=".concat(i))}}catch(u){r.e(u)}finally{r.f()}while(n.length*e%8)n.push(t);return n},decode:function(n){if(!Array.isArray(n)||n.length&&"string"!==typeof n[0])throw new Error("padding.encode input should be array of strings");var l,r=a(n);try{for(r.s();!(l=r.n()).done;){var i=l.value;if("string"!==typeof i)throw new Error("padding.decode: non-string input=".concat(i))}}catch(o){r.e(o)}finally{r.f()}var u=n.length;if(u*e%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;u>0&&n[u-1]===t;u--)if(!((u-1)*e%8))throw new Error("Invalid padding: string has too much padding");return n.slice(0,u)}}}function h(e){if("function"!==typeof e)throw new Error("normalize fn should be function");return{encode:function(e){return e},decode:function(t){return e(t)}}}function p(e,t,n){if(t<2)throw new Error("convertRadix: wrong from=".concat(t,", base cannot be less than 2"));if(n<2)throw new Error("convertRadix: wrong to=".concat(n,", base cannot be less than 2"));if(!Array.isArray(e))throw new Error("convertRadix: data should be array");if(!e.length)return[];var l=0,r=[],a=Array.from(e);a.forEach((function(e){if(u(e),e<0||e>=t)throw new Error("Wrong integer: ".concat(e))}));while(1){for(var i=0,o=!0,s=l;s<a.length;s++){var c=a[s],f=t*i+c;if(!Number.isSafeInteger(f)||t*i/t!==i||f-c!==t*i)throw new Error("convertRadix: carry overflow");i=f%n;var d=Math.floor(f/n);if(a[s]=d,!Number.isSafeInteger(d)||d*n+i!==f)throw new Error("convertRadix: carry overflow");o&&(d?o=!1:l=s)}if(r.push(i),o)break}for(var h=0;h<e.length-1&&0===e[h];h++)r.push(0);return r.reverse()}var v=function(e,t){return e+(t-function e(t,n){return n?e(n,t%n):t}(e,t))};function b(e,t,n,l){if(!Array.isArray(e))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)thr
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
var a=BigInt(0),i=BigInt(1),u=BigInt(2);function o(e){return e instanceof Uint8Array||null!=e&&"object"===r(e)&&"Uint8Array"===e.constructor.name}function s(e){if(!o(e))throw new Error("Uint8Array expected")}var c=Array.from({length:256},(function(e,t){return t.toString(16).padStart(2,"0")}));function f(e){s(e);for(var t="",n=0;n<e.length;n++)t+=c[e[n]];return t}function d(e){var t=e.toString(16);return 1&t.length?"0".concat(t):t}function h(e){if("string"!==typeof e)throw new Error("hex string expected, got "+r(e));return BigInt(""===e?"0":"0x".concat(e))}var p={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function v(e){return e>=p._0&&e<=p._9?e-p._0:e>=p._A&&e<=p._F?e-(p._A-10):e>=p._a&&e<=p._f?e-(p._a-10):void 0}function b(e){if("string"!==typeof e)throw new Error("hex string expected, got "+r(e));var t=e.length,n=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);for(var l=new Uint8Array(n),a=0,i=0;a<n;a++,i+=2){var u=v(e.charCodeAt(i)),o=v(e.charCodeAt(i+1));if(void 0===u||void 0===o){var s=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+s+'" at index '+i)}l[a]=16*u+o}return l}function m(e,t){return b(e.toString(16).padStart(2*t,"0"))}function g(){for(var e=0,t=0;t<arguments.length;t++){var n=t<0||arguments.length<=t?void 0:arguments[t];s(n),e+=n.length}for(var l=new Uint8Array(e),r=0,a=0;r<arguments.length;r++){var i=r<0||arguments.length<=r?void 0:arguments[r];l.set(i,a),a+=i.length}return l}t.bitMask=function(e){return(u<<BigInt(e-1))-i};var y=function(e){return new Uint8Array(e)},_=function(e){return Uint8Array.from(e)};var w={bigint:function(e){return"bigint"===typeof e},function:function(e){return"function"===typeof e},boolean:function(e){return"boolean"===typeof e},string:function(e){return"string"===typeof e},stringOrUint8Array:function(e){return"string"===typeof e||o(e)},isSafeInteger:function(e){return Number.isSafeInteger(e)},array:function(e){return Array.isArray(e)},field:function(e,t){return t.Fp.isValid(e)},hash:function(e){return"function"===typeof e&&Number.isSafeInteger(e.outputLen)}}},a950:function(e,t,n){"use strict";n.r(t);var l=n("0161"),r=n.n(l);for(var a in l)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return l[e]}))}(a);t["default"]=r.a},a982:function(e,t,n){"use strict";n.r(t);var l=n("32e3"),r=n.n(l);for(var a in l)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return l[e]}))}(a);t["default"]=r.a},a9f7:function(e,t,n){"use strict";var l=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n("127e")),a=l(n("ee10")),i=n("06ab"),u={data:function(){return{swiperList:[]}},onShow:function(){this.getMinerlist()},methods:{getMinerlist:function(){var e=this;return(0,a.default)(r.default.mark((function t(){var n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,i._minerlist)({page:1,listrow:9999999});case 2:n=t.sent,1===n.code&&(e.swiperList=n.data);case 4:case"end":return t.stop()}}),t)})))()},timeOptions:function(e){var t=new Date(e),n=t.getFullYear(),l=(t.getMonth()+1).toString().padStart(2,"0"),r=t.getDate().toString().padStart(2,"0"),a=t.getHours().toString().padStart(2,"0"),i=t.getMinutes().toString().padStart(2,"0"),u=t.getSeconds().toString().padStart(2,"0");return"".concat(n,"-").concat(l,"-").concat(r," ").concat(a,":").concat(i,":").concat(u)},fuzhi:function(e){uni.setClipboardData({data:e,success:function(){uni.showToast({title:"\u8907\u88fd\u6210\u529f"})}})}}};t.default=u},aa1b:function(e,t,n){"use strict";n.r(t);var l=n("17d3"),r=n("4e47");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);var i=n("828b"),u=Object(i["a"])(r["default"],l["b"],l["c"],!1,null,null,null,!1,l["a"],void 0);t["default"]=u.exports},aad9:function(e,t,n){"use strict";n.r(t);var l=n("d752"),r=n("0413");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);var i=n("828b"),u=Object(i["a"])(r["default"],l["b"],l["c"],!1,null,"015faaa0",null,!1,l["a"],void 0);t["default"]=u.exports},aaed
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,n,l,r){var a,i,u=8*r-l-1,o=(1<<u)-1,s=o>>1,c=-7,f=n?r-1:0,d=n?-1:1,h=e[t+f];for(f+=d,a=h&(1<<-c)-1,h>>=-c,c+=u;c>0;a=256*a+e[t+f],f+=d,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=l;c>0;i=256*i+e[t+f],f+=d,c-=8);if(0===a)a=1-s;else{if(a===o)return i?NaN:1/0*(h?-1:1);i+=Math.pow(2,l),a-=s}return(h?-1:1)*i*Math.pow(2,a-l)},t.write=function(e,t,n,l,r,a){var i,u,o,s=8*a-r-1,c=(1<<s)-1,f=c>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,h=l?0:a-1,p=l?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(o=Math.pow(2,-i))<1&&(i--,o*=2),t+=i+f>=1?d/o:d*Math.pow(2,1-f),t*o>=2&&(i++,o/=2),i+f>=c?(u=0,i=c):i+f>=1?(u=(t*o-1)*Math.pow(2,r),i+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,r),i=0));r>=8;e[n+h]=255&u,h+=p,u/=256,r-=8);for(i=i<<r|u,s+=r;s>0;e[n+h]=255&i,h+=p,i/=256,s-=8);e[n+h-p]|=128*v}},bb45:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return l}));var l={"u-Input":n("859b").default,uModal:n("0065").default},r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","container"),attrs:{_i:0}},[n("web-view",{attrs:{"webview-styles":e._$s(1,"a-webview-styles",e.webviewStyles),_i:1},on:{message:e.handleWebViewMessage}}),n("view",{staticClass:e._$s(2,"sc","paymoney"),attrs:{_i:2}},[n("view",{staticClass:e._$s(3,"sc","titcont"),attrs:{_i:3}},[n("view",{staticClass:e._$s(4,"sc","image"),attrs:{_i:4}},[n("image",{attrs:{src:e._$s(5,"a-src",e.BASE_URL+e.detail.img),_i:5}})]),n("view",{staticClass:e._$s(6,"sc","cont"),attrs:{_i:6}},[e._v(e._$s(6,"t0-0",e._s(e.detail.title_cn)))])]),n("view",{staticClass:e._$s(7,"sc","money"),attrs:{_i:7}},[n("view",{staticClass:e._$s(8,"sc","moneytit"),attrs:{_i:8}}),n("view",{staticClass:e._$s(9,"sc","moneynum"),attrs:{_i:9}},[e._v(e._$s(9,"t0-0",e._s(e.detail.usdt)))])])]),n("view",{staticClass:e._$s(10,"sc","paymentmethod"),attrs:{_i:10}},[n("view",{staticClass:e._$s(11,"sc","p_tit"),attrs:{_i:11}}),n("view",{staticClass:e._$s(12,"sc","moneybi"),attrs:{_i:12}},[n("view",{staticClass:e._$s(13,"sc","m_item"),attrs:{_i:13}},[n("view",{staticClass:e._$s(14,"sc","m_left"),attrs:{_i:14}},[n("view",{staticClass:e._$s(15,"sc","img"),attrs:{_i:15}},[n("image",{attrs:{_i:16}})]),n("view")]),n("view",{staticClass:e._$s(18,"sc","m_right"),attrs:{_i:18}},[n("label",{staticClass:e._$s(19,"sc","radio"),attrs:{_i:19}},[n("radio",{})])])])])]),e._$s(21,"i",e.modalNamezz)?n("view",{staticClass:e._$s(21,"sc","modal"),attrs:{_i:21}},[n("view",{staticClass:e._$s(22,"sc","modal-content"),attrs:{_i:22}},[n("view",{staticClass:e._$s(23,"sc","modal-header"),attrs:{_i:23}},[n("view",{staticClass:e._$s(24,"sc","zz_content"),attrs:{_i:24}})]),n("view",{staticClass:e._$s(25,"sc","modal-body"),attrs:{_i:25}},[n("view",{staticClass:e._$s(26,"sc","modal-item zf_mod_item"),attrs:{_i:26}},[n("text",{staticClass:e._$s(27,"sc","modal-label"),attrs:{_i:27}}),n("view",[e._v(e._$s(28,"t0-0",e._s(e.userInfos.email)))])]),n("view",{staticClass:e._$s(29,"sc","modal-item"),attrs:{_i:29}},[n("text",{staticClass:e._$s(30,"sc","modal-label"),attrs:{_i:30}}),n("u--input",{attrs:{color:"#fff",value:e.zhifuMimaZz,password:e.showPassword2,border:"none",_i:31},on:{input:e.handleInput2}}),n("img",{attrs:{src:e._$s(32,"a-src",e.showPassword2?e.hidepwdImg:e.showpwdImg),_i:32},on:{click:function(t){return e.changePassword()}}})],1),n("view",{staticClass:e._$s(33,"sc","modal-item zf_mod_item"),attrs:{_i:33}},[n("text",{staticClass:e._$s(34,"sc","modal-label"),attrs:{_i:34}}),n("u--input",{attrs:{color:"#fff",border:"none",_i:35},model:{value:e._$s(35,"v-model",e.emailCode),callback:function(t){e.emailCode=t},expression:"emailCode"}}),n("view",{staticClass:e._$s(36,"sc","sendcode"),attrs:{_i:36},on:{click:e.tosendemail}},[e._v(e._$s(36,"t0-0",e._s(e.emaiTip)))])],1),n("view",{staticClass:e._$s(37,"sc","modal-item zf_mod_item"),attrs:{_i:37}},[n("text",{staticClass:e._$s(38,"sc","modal-label"),attrs:{_i:38}}),n("u--input",{attrs:{color:"#fff",border:"none",_i:39},mode
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
var i=n("f7bb"),u=n("a915"),o=BigInt(0),s=BigInt(1)},c274:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:function(){}}}},c2b3:function(e,t,n){"use strict";var l=n("4e45"),r=n("81eb"),a=n("2c2e"),i=n("07a0"),u=l.assert;function o(e){i.call(this,"short",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function s(e,t,n,l){i.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new r(t,16),this.y=new r(n,16),l&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,n,l){i.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===l?(this.x=this.curve.one,this.y=this.curve.one,this.z=new r(0)):(this.x=new r(t,16),this.y=new r(n,16),this.z=new r(l,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}a(o,i),e.exports=o,o.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n,l;if(e.beta)t=new r(e.beta,16).toRed(this.red);else{var a=this._getEndoRoots(this.p);t=a[0].cmp(a[1])<0?a[0]:a[1],t=t.toRed(this.red)}if(e.lambda)n=new r(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?n=i[0]:(n=i[1],u(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return l=e.basis?e.basis.map((function(e){return{a:new r(e.a,16),b:new r(e.b,16)}})):this._getEndoBasis(n),{beta:t,lambda:n,basis:l}}},o.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:r.mont(e),n=new r(2).toRed(t).redInvm(),l=n.redNeg(),a=new r(3).toRed(t).redNeg().redSqrt().redMul(n),i=l.redAdd(a).fromRed(),u=l.redSub(a).fromRed();return[i,u]},o.prototype._getEndoBasis=function(e){var t,n,l,a,i,u,o,s,c,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,h=this.n.clone(),p=new r(1),v=new r(0),b=new r(0),m=new r(1),g=0;while(0!==d.cmpn(0)){var y=h.div(d);s=h.sub(y.mul(d)),c=b.sub(y.mul(p));var _=m.sub(y.mul(v));if(!l&&s.cmp(f)<0)t=o.neg(),n=p,l=s.neg(),a=c;else if(l&&2===++g)break;o=s,h=d,d=s,b=p,p=c,m=v,v=_}i=s.neg(),u=c;var w=l.sqr().add(a.sqr()),x=i.sqr().add(u.sqr());return x.cmp(w)>=0&&(i=t,u=n),l.negative&&(l=l.neg(),a=a.neg()),i.negative&&(i=i.neg(),u=u.neg()),[{a:l,b:a},{a:i,b:u}]},o.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],l=t[1],r=l.b.mul(e).divRound(this.n),a=n.b.neg().mul(e).divRound(this.n),i=r.mul(n.a),u=a.mul(l.a),o=r.mul(n.b),s=a.mul(l.b),c=e.sub(i).sub(u),f=o.add(s).neg();return{k1:c,k2:f}},o.prototype.pointFromX=function(e,t){e=new r(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),l=n.redSqrt();if(0!==l.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var a=l.fromRed().isOdd();return(t&&!a||!t&&a)&&(l=l.redNeg()),this.point(e,l)},o.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,l=this.a.redMul(t),r=t.redSqr().redMul(t).redIAdd(l).redIAdd(this.b);return 0===n.redSqr().redISub(r).cmpn(0)},o.prototype._endoWnafMulAdd=function(e,t,n){for(var l=this._endoWnafT1,r=this._endoWnafT2,a=0;a<e.length;a++){var i=this._endoSplit(t[a]),u=e[a],o=u._getBeta();i.k1.negative&&(i.k1.ineg(),u=u.neg(!0)),i.k2.negative&&(i.k2.ineg(),o=o.neg(!0)),l[2*a]=u,l[2*a+1]=o,r[2*a]=i.k1,r[2*a+1]=i.k2}for(var s=this._wnafMulAdd(1,l,r,2*a,n),c=0;c<2*a;c++)l[c]=null,r[c]=null;return s},a(s,i.BasePoint),o.prototype.point=function(e,t,n){return new s(this,e,t,n)},o.prototype.pointFromJSON=function(e,t){return s.fromJSON(this,e,t)},s.pr
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
var i=n("8c11"),u=n("22b8"),o=n("8020");function s(e){return{hash:e,hmac:function(t){for(var n=arguments.length,l=new Array(n>1?n-1:0),r=1;r<n;r++)l[r-1]=arguments[r];return(0,i.hmac)(e,t,u.concatBytes.apply(void 0,l))},randomBytes:u.randomBytes}}},ccc9:function(e,t,n){"use strict";var l=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n("d325")),a={name:"u-gap",mixins:[uni.$u.mpMixin,uni.$u.mixin,r.default],computed:{gapStyle:function(){var e={backgroundColor:this.bgColor,height:uni.$u.addUnit(this.height),marginTop:uni.$u.addUnit(this.marginTop),marginBottom:uni.$u.addUnit(this.marginBottom)};return uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))}}};t.default=a},ccdd:function(e,t,n){"use strict";n.r(t);var l=n("31ef"),r=n("705e");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);var i=n("828b"),u=Object(i["a"])(r["default"],l["b"],l["c"],!1,null,null,null,!1,l["a"],void 0);t["default"]=u.exports},cce3:function(e,t){e.exports=function(e,t){var n=e.length,l=-1;while(++l<n)e[l]^=t[l];return e}},cd35:function(e,t,n){"use strict";var l=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.label_to_encoding=t.encoders=t.decoders=void 0;var r=l(n("4d5c")),a=n("91ba"),i=n("a524"),u=n("92af"),o=n("eba4"),s=n("596f"),c=n("f13b"),f=n("580b"),d=n("9fbe"),h=n("a4af"),p=n("31d9"),v=l(n("665c")),b={};t.label_to_encoding=b,r.default.forEach((function(e){var t=e.encodings;t.forEach((function(e){e.labels.forEach((function(t){b[t]=e}))}))}));var m={"UTF-8":function(){return new a.UTF8Encoder},GBK:function(e){return new u.GB18030Encoder(e,!0)},gb18030:function(){return new u.GB18030Encoder},Big5:function(){return new o.Big5Encoder},"EUC-JP":function(){return new s.EUCJPEncoder},"EUC-KR":function(){return new c.EUCKREncoder},"ISO-2022-JP":function(){return new f.ISO2022JPEncoder},"UTF-16BE":function(){return new i.UTF16Encoder(!0)},"UTF-16LE":function(){return new i.UTF16Encoder},"x-user-defined":function(){return new d.XUserDefinedEncoder},Shift_JIS:function(){return new h.ShiftJISEncoder}};t.encoders=m;var g={"UTF-8":function(e){return new a.UTF8Decoder(e)},GBK:function(e){return new u.GB18030Decoder(e)},gb18030:function(e){return new u.GB18030Decoder(e)},Big5:function(e){return new o.Big5Decoder(e)},"EUC-JP":function(e){return new s.EUCJPDecoder(e)},"EUC-KR":function(e){return new c.EUCKRDecoder(e)},"ISO-2022-JP":function(e){return new f.ISO2022JPDecoder(e)},"UTF-16BE":function(e){return new i.UTF16Decoder(!0,e)},"UTF-16LE":function(e){return new i.UTF16Decoder(!1,e)},"x-user-defined":function(){return new d.XUserDefinedDecoder},Shift_JIS:function(e){return new h.ShiftJISDecoder(e)}};t.decoders=g,r.default.forEach((function(e){var t=e.heading,n=e.encodings;"Legacy single-byte encodings"==t&&n.forEach((function(e){var t=e.name,n=(0,v.default)(t.toLowerCase());g[t]=function(e){return new p.SingleByteDecoder(n,e)},m[t]=function(e){return new p.SingleByteEncoder(n,e)}}))}))},cd43:function(e,t,n){"use strict";var l=n("2947");e.exports=l.isStandardBrowserEnv()?function(){return{write:function(e,t,n,r,a,i){var u=[];u.push(e+"="+encodeURIComponent(t)),l.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),l.isString(r)&&u.push("path="+r),l.isString(a)&&u.push("domain="+a),!0===i&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},cd4c:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0}}},cd98:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uvText",{attrs:{type:e.type,show:e.sh
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
var l=n("25dd"),r=n("22b8"),a=n("cb95"),i=n("9886"),u=n("f7bb"),o=n("a915"),s=n("8020"),c=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),f=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),d=BigInt(1),h=BigInt(2),p=function(e,t){return(e+t/h)/t};function v(e){var t=c,n=BigInt(3),l=BigInt(6),r=BigInt(11),a=BigInt(22),i=BigInt(23),o=BigInt(44),s=BigInt(88),f=e*e*e%t,d=f*f*e%t,p=(0,u.pow2)(d,n,t)*d%t,v=(0,u.pow2)(p,n,t)*d%t,m=(0,u.pow2)(v,h,t)*f%t,g=(0,u.pow2)(m,r,t)*m%t,y=(0,u.pow2)(g,a,t)*g%t,_=(0,u.pow2)(y,o,t)*y%t,w=(0,u.pow2)(_,s,t)*_%t,x=(0,u.pow2)(w,o,t)*y%t,k=(0,u.pow2)(x,n,t)*d%t,S=(0,u.pow2)(k,i,t)*g%t,E=(0,u.pow2)(S,l,t)*f%t,C=(0,u.pow2)(E,h,t);if(!b.eql(b.sqr(C),e))throw new Error("Cannot find square root");return C}var b=(0,u.Field)(c,void 0,void 0,{sqrt:v});t.secp256k1=(0,a.createCurve)({a:BigInt(0),b:BigInt(7),Fp:b,n:f,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:function(e){var t=f,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),l=-d*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),r=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),a=n,i=BigInt("0x100000000000000000000000000000000"),o=p(a*e,t),s=p(-l*e,t),c=(0,u.mod)(e-o*n-s*r,t),h=(0,u.mod)(-o*l-s*a,t),v=c>i,b=h>i;if(v&&(c=t-c),b&&(h=t-h),c>i||h>i)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:v,k1:c,k2neg:b,k2:h}}}},l.sha256);var m=BigInt(0),g=function(e){return"bigint"===typeof e&&m<e&&e<c},y={};function _(e){var t=y[e];if(void 0===t){var n=(0,l.sha256)(Uint8Array.from(e,(function(e){return e.charCodeAt(0)})));t=(0,o.concatBytes)(n,n),y[e]=t}for(var r=arguments.length,a=new Array(r>1?r-1:0),i=1;i<r;i++)a[i-1]=arguments[i];return(0,l.sha256)(o.concatBytes.apply(void 0,[t].concat(a)))}var w=function(e){return e.toRawBytes(!0).slice(1)},x=function(e){return(0,o.numberToBytesBE)(e,32)},k=function(e){return(0,u.mod)(e,c)},S=function(e){return(0,u.mod)(e,f)},E=t.secp256k1.ProjectivePoint;function C(e){var n=t.secp256k1.utils.normPrivateKeyToScalar(e),l=E.fromPrivateKey(n),r=l.hasEvenY()?n:S(-n);return{scalar:r,bytes:w(l)}}function A(e){if(!g(e))throw new Error("bad x: need 0 < x < p");var t=k(e*e),n=k(t*e+BigInt(7)),l=v(n);l%h!==m&&(l=k(-l));var r=new E(e,l,d);return r.assertValidity(),r}function M(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return S((0,o.bytesToNumberBE)(_.apply(void 0,["BIP0340/challenge"].concat(t))))}function O(e){return C(e).bytes}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,r.randomBytes)(32),l=(0,o.ensureBytes)("message",e),a=C(t),i=a.bytes,u=a.scalar,s=(0,o.ensureBytes)("auxRand",n,32),c=x(u^(0,o.bytesToNumberBE)(_("BIP0340/aux",s))),f=_("BIP0340/nonce",c,i,l),d=S((0,o.bytesToNumberBE)(f));if(d===m)throw new Error("sign failed: k is zero");var h=C(d),p=h.bytes,v=h.scalar,b=M(p,i,l),g=new Uint8Array(64);if(g.set(p,0),g.set(x(S(v+b*u)),32),!T(g,l,i))throw new Error("sign: Invalid signature produced");return g}function T(e,t,n){var l=(0,o.ensureBytes)("signature",e,64),r=(0,o.ensureBytes)("message",t),a=(0,o.ensureBytes)("publicKey",n,32);try{var i=A((0,o.bytesToNumberBE)(a)),u=(0,o.bytesToNumberBE)(l.subarray(0,32));if(!g(u))return!1;var s=(0,o.bytesToNumberBE)(l.subarray(32,64));if(!function(e){return"bigint"===typeof e&&m<e&&e<f}(s))return!1;var c=M(x(u),w(i),r),d=function(e,t,n){return E.BASE.multiplyAndAddUnsafe(e,t,n)}(i,s,S(-c));return!(!d||!d.hasEvenY()||d.toAffine().x!==u)}catch(h){return!1}}t.schnorr=function(){return{getPublicKey:O,sign:P,verify:T,utils:{randomPrivateKey:t.secp256k1.utils.randomPrivateKey,lift_x:A,pointToBytes:w,numberToBytesBE:o.numberToBytesBE,bytesToNumberBE:o.bytesToNumberBE,taggedHash:_,mod:u.mod}}}();var I=function(){return(0,i.isogenyMap)(b,[["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7","0x7d3
2025-04-19 15:38:48 +08:00
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
2025-04-29 10:26:25 +08:00
var r=n("a915"),a=BigInt(0),i=BigInt(1),u=BigInt(2),o=BigInt(3),s=BigInt(4),c=BigInt(5),f=BigInt(8);BigInt(9),BigInt(16);function d(e,t){var n=e%t;return n>=a?n:t+n}function h(e,t,n){if(n<=a||t<a)throw new Error("Expected power/modulo > 0");if(n===i)return a;var l=i;while(t>a)t&i&&(l=l*e%n),e=e*e%n,t>>=i;return l}function p(e,t){if(e===a||t<=a)throw new Error("invert: expected positive integers, got n=".concat(e," mod=").concat(t));var n=d(e,t),l=t,r=a,u=i,o=i,s=a;while(n!==a){var c=l/n,f=l%n,h=r-o*c,p=u-s*c;l=n,n=f,r=o,u=s,o=h,s=p}var v=l;if(v!==i)throw new Error("invert: does not exist");return d(r,t)}function v(e){var t,n,l,r=(e-i)/u;for(t=e-i,n=0;t%u===a;t/=u,n++);for(l=u;l<e&&h(l,r,e)!==e-i;l++);if(1===n){var o=(e+i)/s;return function(e,t){var n=e.pow(t,o);if(!e.eql(e.sqr(n),t))throw new Error("Cannot find square root");return n}}var c=(t+i)/u;return function(e,a){if(e.pow(a,r)===e.neg(e.ONE))throw new Error("Cannot find square root");var u=n,o=e.pow(e.mul(e.ONE,l),t),s=e.pow(a,c),f=e.pow(a,t);while(!e.eql(f,e.ONE)){if(e.eql(f,e.ZERO))return e.ZERO;for(var d=1,h=e.sqr(f);d<u;d++){if(e.eql(h,e.ONE))break;h=e.sqr(h)}var p=e.pow(o,i<<BigInt(u-d-1));o=e.sqr(p),s=e.mul(s,p),f=e.mul(f,o),u=d}return s}}function b(e){if(e%s===o){var t=(e+i)/s;return function(e,n){var l=e.pow(n,t);if(!e.eql(e.sqr(l),n))throw new Error("Cannot find square root");return l}}if(e%f===c){var n=(e-c)/f;return function(e,t){var l=e.mul(t,u),r=e.pow(l,n),a=e.mul(t,r),i=e.mul(e.mul(a,u),r),o=e.mul(a,e.sub(i,e.ONE));if(!e.eql(e.sqr(o),t))throw new Error("Cannot find square root");return o}}return v(e)}t.isNegativeLE=function(e,t){return(d(e,t)&i)===i};var m=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function g(e,t,n){if(n<a)throw new Error("Expected power > 0");if(n===a)return e.ONE;if(n===i)return t;var l=e.ONE,r=t;while(n>a)n&i&&(l=e.mul(l,r)),r=e.sqr(r),n>>=i;return l}function y(e,t){var n=new Array(t.length),l=t.reduce((function(t,l,r){return e.is0(l)?t:(n[r]=t,e.mul(t,l))}),e.ONE),r=e.inv(l);return t.reduceRight((function(t,l,r){return e.is0(l)?t:(n[r]=e.mul(t,n[r]),e.mul(t,l))}),r),n}function _(e,t){var n=void 0!==t?t:e.toString(2).length,l=Math.ceil(n/8);return{nBitLength:n,nByteLength:l}}function w(e){if("bigint"!==typeof e)throw new Error("field order must be bigint");var t=e.toString(2).length;return Math.ceil(t/8)}function x(e){var t=w(e);return t+Math.ceil(t/2)}},f822:function(e,t){e.exports=null},f824:function(e,t,n){"use strict";n.r(t);var l=n("bf80"),r=n("7988");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);var i=n("828b"),u=Object(i["a"])(r["default"],l["b"],l["c"],!1,null,null,null,!1,l["a"],void 0);t["default"]=u.exports},f865:function(e,t,n){"use strict";n.r(t);var l=n("adac"),r=n.n(l);for(var a in l)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return l[e]}))}(a);t["default"]=r.a},f874:function(e,t,n){"use strict";var l=n("5f79").Buffer,r=n(2);function a(e,t,n){e.copy(t,n)}e.exports=function(){function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";var t=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return l.alloc(0);if(1===this.length)return this.head.data;var t=l.allocUnsafe(e>>>0),n=this.head,r=0;while(n)a(n.data,t,r),r+=n.data.length,n=n.next;return t},e}(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototy