56 lines
2.5 MiB
JavaScript
56 lines
2.5 MiB
JavaScript
|
(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{0:function(e,t){},"00a4":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("view",{attrs:{animation:e._$s(0,"a-animation",e.animation),_i:0}},[n("view",{staticClass:e._$s(1,"sc","card"),attrs:{_i:1},on:{touchstart:e.handleTouchStart,touchmove:e.handleTouchMove,touchend:e.handleTouchEnd}},[n("view",{staticClass:e._$s(2,"sc","uni-flex uni-column"),attrs:{_i:2}},[n("view",{staticClass:e._$s(3,"sc","uni-flex-item"),attrs:{_i:3}},[n("view",{staticClass:e._$s(4,"sc","uni-flex uni-row"),attrs:{_i:4}},[n("view",{staticClass:e._$s(5,"sc","uni-flex-item title"),attrs:{_i:5}},[n("label",{class:e._$s(6,"c",[e.coinType[e.index]]),attrs:{_i:6}},[e._v(e._$s(6,"t0-0",e._s(e.coinType[e.index])))])]),n("view",{staticClass:e._$s(7,"sc","uni-flex-item"),attrs:{_i:7}},[n("button",{staticClass:e._$s(8,"sc","recharge"),attrs:{_i:8},on:{click:function(t){return e.$emit("recharge")}}}),n("button",{staticClass:e._$s(9,"sc","recharge"),attrs:{_i:9},on:{click:function(t){return e.$emit("changeMoney")}}})])])]),n("view",{staticClass:e._$s(10,"sc","uni-flex-item"),class:e._$s(10,"c",[e.coinType[e.index]]),attrs:{_i:10}},[n("label",{staticClass:e._$s(11,"sc","coinName"),attrs:{_i:11}},[e._v(e._$s(11,"t0-0",e._s(e.coinType[e.index])))]),n("label",[e._v(e._$s(12,"t0-0",e._s(e.balabces[e.coinType[e.index]])))])]),n("view",{staticClass:e._$s(13,"sc","uni-flex-item"),attrs:{_i:13}},[n("label",{staticClass:e._$s(14,"sc","coinName"),attrs:{_i:14}}),n("label",{staticClass:e._$s(15,"sc","usdt"),attrs:{_i:15}},[e._v(e._$s(15,"t0-0",e._s(e.balabces.USDT)))])]),n("view",{staticClass:e._$s(16,"sc","uni-flex-item uni-flex uni-row"),attrs:{_i:16}},[n("view",{staticClass:e._$s(17,"sc","uni-flex uni-column uni-flex-item"),attrs:{_i:17}},[n("view",{staticClass:e._$s(18,"sc","uni-flex-item title"),attrs:{_i:18}},[n("text",{class:e._$s(19,"c",[e.coinType[e.index]]),attrs:{_i:19}},[e._v(e._$s(19,"t0-0",e._s(e.coinType[e.index])))])]),n("view",{staticClass:e._$s(20,"sc","uni-flex-item val"),attrs:{_i:20}},[e._v(e._$s(20,"t0-0",e._s(e.incomes.allsettlefee)))]),n("view",{staticClass:e._$s(21,"sc","uni-flex-item"),attrs:{_i:21}})]),n("view",{staticClass:e._$s(22,"sc","uni-flex uni-column uni-flex-item"),attrs:{_i:22}},[n("view",{staticClass:e._$s(23,"sc","uni-flex-item title"),attrs:{_i:23}},[n("text",{class:e._$s(24,"c",[e.coinType[e.index]]),attrs:{_i:24}},[e._v(e._$s(24,"t0-0",e._s(e.coinType[e.index])))])]),n("view",{staticClass:e._$s(25,"sc","uni-flex-item val"),attrs:{_i:25}},[e._v(e._$s(25,"t0-0",e._s(e.incomes.allpayedfee)))]),n("view",{staticClass:e._$s(26,"sc","uni-flex-item"),attrs:{_i:26}})]),n("view",{staticClass:e._$s(27,"sc","uni-flex-item uni-flex"),attrs:{_i:27}},[n("button",{staticClass:e._$s(28,"sc","recharge"),attrs:{_i:28},on:{click:function(t){return e.$emit("blanceInfos")}}})])])])]),n("view",{staticClass:e._$s(29,"sc","A1"),attrs:{_i:29}}),n("view",{staticClass:e._$s(30,"sc","A2"),attrs:{_i:30}})])},r=[]},"00b3":function(e,t,n){"use strict";n.r(t);var l=n("9d15"),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},"0116":function(e,t,n){"use strict";var l=n("2c2e"),r=n("610c"),a=n("cfef"),i=n("5f79").Buffer,u=n("1177"),o=n("2d81"),s=n("25a4"),c=i.alloc(128);function f(e,t){a.call(this,"digest"),"string"===typeof t&&(t=i.from(t));var n="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>n){var l="rmd160"===e?new o:s(e);t=l.update(t).digest()}else t.length<n&&(t=i.concat([t,c],n));for(var r=this._ipad=i.allocUnsafe(n),u=this._opad=i.allocUnsafe(n),f=0;f<n;f++)r[f]=54^t[f],u[f]=92^t[f];this._hash="rmd160"===e?new o:s(e),this._hash.update(r)}l(f,a),f.prototype._update=function(e){this._hash.update(e)},f.prototype._final=function(){var e=this._hash.digest(),t="rmd160"===this._alg?new o:s(this._alg);return t.update(this._opad).update(e).digest()},e.exports=funct
|
||
|
/*
|
||
|
object-assign
|
||
|
(c) Sindre Sorhus
|
||
|
@license MIT
|
||
|
*/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},"04ef":function(e,t,n){"use strict";t.utils=n("88d4"),t.Cipher=n("0168"),t.DES=n("21cb"),t.CBC=n("9f25"),t.EDE=n("61e3")},"051f":function(e,t,n){(function(l){var r=n("4624")._,a=(n("548f"),n("4c11")),i=n("4624"),u=n("9d8e"),o=n("ef56");t.BigInteger=a,
|
||
|
/*!
|
||
|
* The buffer module from node.js, for the browser.
|
||
|
*
|
||
|
* @author Feross Aboukhadijeh <http://feross.org>
|
||
|
* @license MIT
|
||
|
*/
|
||
|
var l=n("10ab"),r=n("ba37"),a=n("b0e4");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 M(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 O(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;if
|
||
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
||
|
var l=n("d73a"),r=n("eec3"),a=n("da41"),i=n("1a08"),u=n("3a1a"),o=n("8144"),s=n("5113"),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 O(){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 M(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=O(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=O(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:M,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
|
||
|
/*!
|
||
|
* The buffer module from node.js, for the browser.
|
||
|
*
|
||
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
||
|
* @license MIT
|
||
|
*/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,"===",
|
||
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
||
|
var r=n("8144"),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)}},"3a1c":function(e,t,n){"use strict";var l=n("707d"),r=n("d962");e.exports=function(e,t,n){var a=this||r;return l.forEach(n,(function(n){e=n.call(a,e,t)})),e}},"3a48":function(e,t,n){"use strict";n.r(t);var l=n("bbea"),r=n("9014");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,"31f62091",null,!1,l["a"],void 0);t["default"]=u.exports},"3a55":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:function(){return[]},overlay:!0,showToast:!0}}},"3aaa":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("text",{staticClass:e._$s(0,"sc","u-link"),style:e._$s(0,"s",[e.linkStyle,e.$u.addStyle(e.customStyle)]),attrs:{_i:0},on:{click:function(t){return t.stopPropagation(),e.openLink(t)}}},[e._v(e._$s(0,"t0-0",e._s(e.text)))])},r=[]},"3b2d":function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"3bb6":function(e,t,n){"use strict";var l=n("47a9");Object.defineProperty(t,"__esModule
|
||
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
||
|
var p=n("9393"),v=n("3a1a"),b=n("8144"),m=n("8144");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(),
|
||
|
/*! 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
|
||
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||
|
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,
|
||
|
/*! 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)}}},8156: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("view",{staticClass:e._$s(0,"sc","mpvue-picker"),attrs:{_i:0}},[n("view",{class:e._$s(1,"c",{pickerMask:e.showPicker}),attrs:{_i:1},on:{click:e.maskClick}}),n("view",{staticClass:e._$s(2,"sc","mpvue-picker-content"),class:e._$s(2,"c",{"mpvue-picker-view-show":e.showPicker}),attrs:{_i:2}},[n("view",{staticClass:e._$s(3,"sc","mpvue-picker__hd"),attrs:{_i:3}},[n("view",{staticClass:e._$s(4,"sc","mpvue-picker__action"),attrs:{_i:4},on:{click:e.pickerCancel}}),n("view",{staticClass:e._$s(5,"sc","mpvue-picker__action"),attrs:{_i:5},on:{click:e.pickerConfirm}})]),n("picker-view",{staticClass:e._$s(6,"sc","mpvue-picker-view"),attrs:{value:e._$s(6,"a-value",e.pickerValue),_i:6},on:{change:e.pickerChange}},[n("picker-view-column",e._l(e._$s(8,"f",{forItems:e.provinceDataList}),(function(t,l,r,a){return n("view",{key:e._$s(8,"f",{forIndex:r,key:l}),staticClass:e._$s("8-"+a,"sc","picker-item"),attrs:{_i:"8-"+a}},[e._v(e._$s("8-"+a,"t0-0",e._s(t.label)))])})),0)])])])},r=[]},8178:function(e,t,n){"use strict";function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(e=String(e).toLowerCase(),e&&n.test(e)){if(4===e.length){for(var l="#",r=1;r<4;r+=1)l+=e.slice(r,r+1).concat(e.slice(r,r+1));e=l}for(var a=[],i=1;i<7;i+=2)a.push(parseInt("0x".concat(e.slice(i,i+2))));return t?"rgb(".concat(a[0],",").concat(a[1],",").concat(a[2],")"):a}if(/^(rgb|RGB)/.test(e)){var u=e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");return u.map((function(e){return Number(e)}))}return e}function r(e){var t=e;if(/^(rgb|RGB)/.test(t)){for(var n=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),l="#",r=0;r<n.length;r++){var a=Number(n[r]).toString(16);a=1==String(a).length?"".concat(0,a):a,"0"===a&&(a+=a),l+=a}return 7!==l.length&&(l=t),l}if(!/^#([
|
||
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
||
|
var i=n("3a1a"),u=n("8144"),o=BigInt(0),s=BigInt(1)},"93ac":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.show,text:e.text,prefixIcon:e.prefixIcon,suffixIcon:e.suffixIcon,mode:e.mode,href:e.href,format:e.format,call:e.call,openType:e.openType,bold:e.bold,block:e.block,lines:e.lines,color:e.color,decoration:e.decoration,size:e.size,iconStyle:e.iconStyle,margin:e.margin,lineHeight:e.lineHeight,align:e.align,wordWrap:e.wordWrap,customStyle:e.customStyle,_i:0},on:{click:function(t){return e.$emit("click")}}})},r=[]},"93bc":function(e,t,n){"use strict";var l=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n("7ca3")),a=l(n("68f4")),i=l(n("641f"));function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,l)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={name:"u-transition",data:function(){return{inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}},computed:{mergeStyle:function(){var e=this.viewStyle,t=this.customStyle;return o(o({transitionDuration:"".concat(this.duration,"ms"),transitionTimingFunction:this.timingFunction},uni.$u.addStyle(t)),e)}},mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default,a.default],watch:{show:{handler:function(e){e?this.vueEnter():this.vueLeave()},immediate:!0}}};t.default=s},"944c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=null;var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null!==l&&clearTimeout(l),n){var r=!l;l=setTimeout((function(){l=null}),t),r&&"function"===typeof e&&e()}else l=setTimeout((function(){"function"===typeof e&&e()}),t)};t.default=r},9479:function(e,t,n){"use strict";n.r(t);var l=n("a3c7"),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},"94f4":function(e,t,n){"use strict";var l=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n("151e")),a={name:"u-safe-bottom",mixins:[uni.$u.mpMixin,uni.$u.mixin,r.default],data:function(){return{safeAreaBottomHeight:0,isNvue:!1}},computed:{style:function(){return uni.$u.deepMerge({},uni.$u.addStyle(this.customStyle))}},mounted:function(){}};t.default=a},9500:function(e,t,n){"use strict";var l=n("2831"),r=l.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),a=l.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),i=l.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),u=l.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(i),this.key("subjectPublicKey").bitstr())})),o=l.define("RelativeDistinguishedName",(function(){this.setof(a)})),s=l.define("RDNSequence",(function(){this.seqof(o)})),c=l.define("Name",(function(){this.choice({rdnSequence:this.use(s)})})),f=l.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(r),this.key("notAfter").use(r))})),d=l.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),h=l.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this
|
||
|
/*! 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:O(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 O(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=M(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 M(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,M(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
|
||
|
/*! 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
|
||
|
/*! 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}},ba4a:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{Adress:"jlkadjfljf63416461464131312312"}},methods:{share:function(){uni.share({provider:"weixin",scene:"WXSceneSession",type:2,imageUrl:"/static/code.png",success:function(t){e("log","success:"+JSON.stringify(t)," at pages/wallet/paymentcode.vue:61")},fail:function(t){e("log","fail:"+JSON.stringify(t)," at pages/wallet/paymentcode.vue:64")}})},copyAdress:function(e){uni.setClipboardData({data:e,success:function(){uni.showToast({title:"\u8907\u88fd\u6210\u529f",icon:"success"})}})}}};t.default=n}).call(this,n("f3b9")["default"])},bac7: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("34cf")),i=l(n("7ca3")),u=l(n("ee10")),o=l(n("8b20"));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,l)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"u-tabs",mixins:[uni.$u.mpMixin,uni.$u.mixin,o.default],data:function(){return{firstTime:!0,scrollLeft:0,scrollViewWidth:0,lineOffsetLeft:0,tabsRect:{left:0},innerCurrent:0,moving:!1}},watch:{current:{immediate:!0,handler:function(e,t){var n=this;e!==this.innerCurrent&&(this.innerCurrent=e,this.$nextTick((function(){n.resize()})))}},list:function(){var e=this;this.$nextTick((function(){e.resize()}))}},computed:{textStyle:function(){var e=this;return function(t){var n={},l=t===e.innerCurrent?uni.$u.addStyle(e.activeStyle):uni.$u.addStyle(e.inactiveStyle);return e.list[t].disabled&&(n.color="#c8c9cc"),uni.$u.deepMerge(l,n)}},propsBadge:function(){return uni.$u.props.badge}},mounted:function(){var e=this;return(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.init();case 1:case"end":return t.stop()}}),t)})))()},methods:{setLineLeft:function(){var e=this,t=this.list[this.innerCurrent];if(t){var n=this.list.slice(0,this.innerCurrent).reduce((function(e,t){return e+t.rect.width}),0),l=uni.$u.getPx(this.lineWidth);this.lineOffsetLeft=n+(t.rect.width-l)/2,this.firstTime&&setTimeout((function(){e.firstTime=!1}),10)}},animation:function(e){},clickHandler:function(e,t){this.$emit("click",c(c({},e),{},{index:t})),e.disabled||(this.innerCurrent=t,this.resize(),this.$emit("change",c(c({},e),{},{index:t})))},longPressHandler:function(e,t){this.$emit("longPress",c(c({},e),{},{index:t}))},init:function(){var e=this;uni.$u.sleep().then((function(){e.resize()}))},setScrollLeft:function(){var e=this.list[this.innerCurrent],t=this.list.slice(0,this.innerCurrent).reduce((function(e,t){return e+t.rect.width}),0),n=uni.$u.sys().windowWidth,l=t-(this.tabsRect.width-e.rect.width)/2-(n-
|
||
|
/**
|
||
|
* [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
|
||
|
*/
|
||
|
(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]()}},O=function(e,t,n){return function(t,l,r,a){return B["cshake"+e].update(t,l,r,a)[n]()}},M=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=O(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,O,e,t)}},{name:"kmac",padding:p,bits:g,createMethod:function(e,t){var n=_[e],l=M(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,M,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
|
||
|
/*!
|
||
|
* RSA library for Node.js
|
||
|
*
|
||
|
* Author: rzcoder
|
||
|
* License MIT
|
||
|
*/
|
||
|
var l=n("4587"),r=n("051f"),a=(n("548f"),n("24b8").Ber,n("4624")._),i=n("4624"),u=n("9d8e"),o=n("ede3");"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
|
||
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
||
|
var i=n("33e9"),u=n("eec3"),o=n("5113");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}}},dacf:function(e,t,n){"use strict";var l=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n("7ca3")),a=l(n("bc46")),i=l(n("3107")),u=l(n("10f3")),o=l(n("97da")),s=l(n("8178")),c=l(n("a3c4")),f=l(n("944c")),d=l(n("2655")),h=l(n("d4dc")),p=l(n("8f66")),v=l(n("5b4d")),b=l(n("a5a7")),m=l(n("036a")),g=l(n("de0a"));function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,l)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w=_(_({route:o.default,date:h.default.timeFormat,colorGradient:s.default.colorGradient,hexToRgb:s.default.hexToRgb,rgbToHex:s.default.rgbToHex,colorToRgba:s.default.colorToRgba,test:c.default,type:["primary","success","error","warning","info"],http:new u.default,config:p.default,zIndex:b.default,debounce:f.default,throttle:d.default,mixin:a.default,mpMixin:i.default,props:v.default},h.default),{},{color:m.default,platform:g.default});uni.$u=w;var x={install:function(e){e.filter("timeFormat",(function(e,t){return uni.$u.timeFormat(e,t)})),e.filter("date",(function(e,t){return uni.$u.timeFormat(e,t)})),e.filter("timeFrom",(function(e,t){return uni.$u.timeFrom(e,t)})),e.prototype.$u=w,e.mixin(a.default)}};t.default=x},daea:function(e,t,n){"use strict";var l=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e&&!(0,r.default)(t))return(0,a.default)(e,t);return t};var r=l(n("80d7")),a=l(n("7d39"))},db61:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={code:{seconds:60,startText:"\u83b7\u53d6\u9a8c\u8bc1\u7801",changeText:"X\u79d2\u91cd\u65b0\u83b7\u53d6",endText:"\u91cd\u65b0\u83b7\u53d6",keepRunning:!1,uniqueKey:""}}},db86: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){this.twisted=1!==(0|e.a),this.mOneA=this.twisted&&-1===(0|e.a),this.extended=this.mOneA,i.call(this,"edwards",e),this.a=new r(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new r(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new r(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),u(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|e.c)}function s(e,t,n,l,a){i.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===l?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new r(t,16),this.y=new r(n,16),this.z=l?new r(l,16):this.curve.one,this.t=a&&new r(a,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.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}a(o,i),e.exports=o,o.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},o.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},o.prototype.jpoint=function(e,t,n,l){return this.point(e,t,n,l)},o.prototype.pointFromX=function(e,t){e=new r(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr(),l=this.c2.redSub(this.a.redMul(n)),a=this.one.redSub(this.c2.redMul(this.d).redMul(n)),i=l.redMul(a.redInvm()),u=i.redSqrt();if(0!==u.redSqr().redSub(i).cmp(this.zero))throw new Error("invalid point");var o=u.fromRed().isOdd
|
||
|
/*! 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("2e51"),s=n("9dd0");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
|