1;e.splice(0,1));}return function(n,i,a,o,s){var u,l,f,p,v,m,g,b,w,_,k,x,S,A,E,P,C,T=n.s==i.s?1:-1,O=n.c,I=i.c;if(!O||!O[0]||!I||!I[0])return new $(n.s&&i.s&&(O?!I||O[0]!=I[0]:I)?O&&0==O[0]||!I?0*T:T/0:NaN);for(b=new $(T),w=b.c=[],l=n.e-i.e,T=a+l+1,s||(s=d,l=y(n.e/h)-y(i.e/h),T=T/h|0),f=0;I[f]==(O[f]||0);f++);if(I[f]>(O[f]||0)&&l--,T<0)w.push(1),p=!0;else{for(A=O.length,P=I.length,f=0,T+=2,v=c(s/(I[0]+1)),v>1&&(I=e(I,v,s),O=e(O,v,s),P=I.length,A=O.length),S=P,_=O.slice(0,P),k=_.length;k=s/2&&E++;do{if(v=0,u=t(I,_,P,k),u<0){if(x=_[0],P!=k&&(x=x*s+(_[1]||0)),v=c(x/E),v>1){v>=s&&(v=s-1),m=e(I,v,s),g=m.length,k=_.length;while(1==t(m,_,g,k))v--,r(m,P=10;T/=10,f++);D(b,a+(b.e=f+l*h-1)+1,o,p)}else b.e=l,b.r=+p;return b}}(),i=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(a,o,s,u){var c,f=s?o:o.replace(i,"");if(n.test(f))a.s=isNaN(f)?null:f<0?-1:1;else{if(!s&&(f=f.replace(e,(function(e,t,r){return c="x"==(r=r.toLowerCase())?16:"b"==r?2:8,u&&u!=c?e:t})),u&&(c=u,f=f.replace(t,"$1").replace(r,"0.$1")),o!=f))return new $(f,c);if($.DEBUG)throw Error(l+"Not a"+(u?" base "+u:"")+" number: "+o);a.s=null}a.c=a.e=null}}(),a.absoluteValue=a.abs=function(){var e=new $(this);return e.s<0&&(e.s=1),e},a.comparedTo=function(e,t){return _(this,new $(e,t))},a.decimalPlaces=a.dp=function(e,t){var r,n,i,a=this;if(null!=e)return k(e,0,g),null==t?t=P:k(t,0,8),D(new $(a),e+a.e+1,t);if(!(r=a.c))return null;if(n=((i=r.length-1)-y(this.e/h))*h,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},a.dividedBy=a.div=function(e,r){return t(this,new $(e,r),E,P)},a.dividedToIntegerBy=a.idiv=function(e,r){return t(this,new $(e,r),0,1)},a.exponentiatedBy=a.pow=function(e,t){var r,n,i,a,s,f,d,p,v,m=this;if(e=new $(e),e.c&&!e.isInteger())throw Error(l+"Exponent not an integer: "+z(e));if(null!=t&&(t=new $(t)),f=e.e>14,!m.c||!m.c[0]||1==m.c[0]&&!m.e&&1==m.c.length||!e.c||!e.c[0])return v=new $(Math.pow(+z(m),f?2-x(e):+z(e))),t?v.mod(t):v;if(d=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new $(NaN);n=!d&&m.isInteger()&&t.isInteger(),n&&(m=m.mod(t))}else{if(e.e>9&&(m.e>0||m.e<-1||(0==m.e?m.c[0]>1||f&&m.c[1]>=24e7:m.c[0]<8e13||f&&m.c[0]<=9999975e7)))return a=m.s<0&&x(e)?-0:0,m.e>-1&&(a=1/a),new $(d?1/a:a);R&&(a=u(R/h+2))}for(f?(r=new $(.5),d&&(e.s=1),p=x(e)):(i=Math.abs(+z(e)),p=i%2),v=new $(o);;){if(p){if(v=v.times(m),!v.c)break;a?v.c.length>a&&(v.c.length=a):n&&(v=v.mod(t))}if(i){if(i=c(i/2),0===i)break;p=i%2}else if(e=e.times(r),D(e,e.e+1,1),e.e>14)p=x(e);else{if(i=+z(e),0===i)break;p=i%2}m=m.times(m),a?m.c&&m.c.length>a&&(m.c.length=a):n&&(m=m.mod(t))}return n?v:(d&&(v=o.div(v)),t?v.mod(t):a?D(v,R,P,s):v)},a.integerValue=function(e){var t=new $(this);return null==e?e=P:k(e,0,8),D(t,t.e+1,e)},a.isEqualTo=a.eq=function(e,t){return 0===_(this,new $(e,t))},a.isFinite=function(){return!!this.c},a.isGreaterThan=a.gt=function(e,t){return _(this,new $(e,t))>0},a.isGreaterThanOrEqualTo=a.gte=function(e,t){return 1===(t=_(this,new $(e,t)))||0===t},a.isInteger=function(){return!!this.c&&y(this.e/h)>this.c.length-2},a.isLessThan=a.lt=function(e,t){return _(this,new $(e,t))<0},a.isLessThanOrEqualTo=a.lte=function(e,t){return-1===(t=_(this,new $(e,t)))||0===t},a.isNaN=function(){return!this.s},a.isNegative=function(){return this.s<0},a.isPositive=function(){return this.s>0},a.isZero=function(){return!!this.c&&0==this.c[0]},a.minus=function(e,t){var r,n,i,a,o=this,s=o.s;if(e=new $(e,t),t=e.s,!s||!t)return new $(NaN);if(s!=t)return e.s=-t,o.plus(e);var u=o.e/h,c=e.e/h,l=o.c,f=e.c;if(!u||!c){if(!l||!f)return l?(e.s=-t,e):new $(f?o:NaN);if(!l[0]||!f[0])return f[0]?(e.s=-t,e):new $(l[0]?o:3==P?-0:0)}if(u=y(u),c=y(c),l=l.slice(),s=u-c){for((a=s<0)?(s=-s,i=l):(c=u,i=f),i.reverse(),t=s;t--;i.push(0));i.reverse()}else for(n=(a=(s=l.length)<(t=f.length))?s:t,s=t=0;t0)for(;t--;l[r++]=0);for(t=d-1;n>s;){if(l[--n]=0;){for(r=0,p=x[i]%w,v=x[i]/w|0,o=u,a=i+o;a>i;)c=k[--o]%w,l=k[o]/w|0,s=v*c+l*p,c=p*c+s%w*w+g[a]+r,r=(c/b|0)+(s/w|0)+v*l,g[a--]=c%b;g[a]=r}return r?++n:g.splice(0,1),F(e,g,n)},a.negated=function(){var e=new $(this);return e.s=-e.s||null,e},a.plus=function(e,t){var r,n=this,i=n.s;if(e=new $(e,t),t=e.s,!i||!t)return new $(NaN);if(i!=t)return e.s=-t,n.minus(e);var a=n.e/h,o=e.e/h,s=n.c,u=e.c;if(!a||!o){if(!s||!u)return new $(i/0);if(!s[0]||!u[0])return u[0]?e:new $(s[0]?n:0*i)}if(a=y(a),o=y(o),s=s.slice(),i=a-o){for(i>0?(o=a,r=u):(i=-i,r=s),r.reverse();i--;r.push(0));r.reverse()}for(i=s.length,t=u.length,i-t<0&&(r=u,u=s,s=r,t=i),i=0;t;)i=(s[--t]=s[t]+u[t]+i)/d|0,s[t]=d===s[t]?0:s[t]%d;return i&&(s=[i].concat(s),++o),F(e,s,o)},a.precision=a.sd=function(e,t){var r,n,i,a=this;if(null!=e&&e!==!!e)return k(e,1,g),null==t?t=P:k(t,0,8),D(new $(a),e,t);if(!(r=a.c))return null;if(i=r.length-1,n=i*h+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return e&&a.e+1>n&&(n=a.e+1),n},a.shiftedBy=function(e){return k(e,-p,p),this.times("1e"+e)},a.squareRoot=a.sqrt=function(){var e,r,n,i,a,o=this,s=o.c,u=o.s,c=o.e,l=E+4,f=new $("0.5");if(1!==u||!s||!s[0])return new $(!u||u<0&&(!s||s[0])?NaN:s?o:1/0);if(u=Math.sqrt(+z(o)),0==u||u==1/0?(r=w(s),(r.length+c)%2==0&&(r+="0"),u=Math.sqrt(+r),c=y((c+1)/2)-(c<0||c%2),u==1/0?r="5e"+c:(r=u.toExponential(),r=r.slice(0,r.indexOf("e")+1)+c),n=new $(r)):n=new $(u+""),n.c[0])for(c=n.e,u=c+l,u<3&&(u=0);;)if(a=n,n=f.times(a.plus(t(o,a,l,1))),w(a.c).slice(0,u)===(r=w(n.c)).slice(0,u)){if(n.e0&&v>0){for(a=v%s||s,f=p.substr(0,a);a0&&(f+=c+p.slice(a)),h&&(f="-"+f)}n=d?f+(r.decimalSeparator||"")+((u=+r.fractionGroupSize)?d.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):d):f}return(r.prefix||"")+n+(r.suffix||"")},a.toFraction=function(e){var r,n,i,a,s,u,c,f,d,p,m,g,b=this,y=b.c;if(null!=e&&(c=new $(e),!c.isInteger()&&(c.c||1!==c.s)||c.lt(o)))throw Error(l+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+z(c));if(!y)return new $(b);for(r=new $(o),d=n=new $(o),i=f=new $(o),g=w(y),s=r.e=g.length-b.e-1,r.c[0]=v[(u=s%h)<0?h+u:u],e=!e||c.comparedTo(r)>0?s>0?r:d:c,u=I,I=1/0,c=new $(g),f.c[0]=0;;){if(p=t(c,r,0,1),a=n.plus(p.times(i)),1==a.comparedTo(e))break;n=i,i=a,d=f.plus(p.times(a=d)),f=a,r=c.minus(p.times(a=r)),c=a}return a=t(e.minus(n),i,0,1),f=f.plus(a.times(d)),n=n.plus(a.times(i)),f.s=d.s=b.s,s*=2,m=t(d,i,s,P).minus(b).abs().comparedTo(t(f,n,s,P).minus(b).abs())<1?[d,i]:[f,n],I=u,m},a.toNumber=function(){return+z(this)},a.toPrecision=function(e,t){return null!=e&&k(e,1,g),U(this,e,t,2)},a.toString=function(e){var t,n=this,i=n.s,a=n.e;return null===a?i?(t="Infinity",i<0&&(t="-"+t)):t="NaN":(null==e?t=a<=C||a>=T?S(w(n.c),a):A(w(n.c),a,"0"):10===e?(n=D(new $(n),E+a+1,P),t=A(w(n.c),n.e,"0")):(k(e,2,M.length,"Base"),t=r(A(w(n.c),a,"0"),10,e,i,!0)),i<0&&n.c[0]&&(t="-"+t)),t},a.valueOf=a.toJSON=function(){return z(this)},a._isBigNumber=!0,null!=e&&$.set(e),$}function y(e){var t=0|e;return e>0||e===t?t:t-1}function w(e){for(var t,r,n=1,i=e.length,a=e[0]+"";nc^r?1:-1;for(s=(u=i.length)<(c=a.length)?u:c,o=0;oa[o]^r?1:-1;return u==c?0:u>c^r?1:-1}function k(e,t,r,n){if(er||e!==c(e))throw Error(l+(n||"Argument")+("number"==typeof e?er?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function x(e){var t=e.c.length-1;return y(e.e/h)==t&&e.c[t]%2!=0}function S(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function A(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(n=e.length,++t>n){for(i=r,t-=n;--t;i+=r);e+=i}else t0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},i.prototype._pad=function(e,t){if(0===t)return!1;while(t1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,i.default)(t),a=(0,i.default)(e);return!!(a&&r&&a>r)}e.exports=t.default,e.exports.default=t.default},"0266":function(e){e.exports=JSON.parse('{"name":"chainstart","comment":"Start of the Ethereum main chain","eip":{"url":"","status":""},"status":"","gasConfig":{"minGasLimit":{"v":5000,"d":"Minimum the gas limit may ever be"},"gasLimitBoundDivisor":{"v":1024,"d":"The bound divisor of the gas limit, used in update calculations"}},"gasPrices":{"base":{"v":2,"d":"Gas base cost, used e.g. for ChainID opcode (Istanbul)"},"tierStep":{"v":[0,2,3,5,8,10,20],"d":"Once per operation, for a selection of them"},"exp":{"v":10,"d":"Once per EXP instuction"},"expByte":{"v":10,"d":"Times ceil(log256(exponent)) for the EXP instruction"},"sha3":{"v":30,"d":"Once per SHA3 operation"},"sha3Word":{"v":6,"d":"Once per word of the SHA3 operation\'s data"},"sload":{"v":50,"d":"Once per SLOAD operation"},"sstoreSet":{"v":20000,"d":"Once per SSTORE operation if the zeroness changes from zero"},"sstoreReset":{"v":5000,"d":"Once per SSTORE operation if the zeroness does not change from zero"},"sstoreRefund":{"v":15000,"d":"Once per SSTORE operation if the zeroness changes to zero"},"jumpdest":{"v":1,"d":"Refunded gas, once per SSTORE operation if the zeroness changes to zero"},"log":{"v":375,"d":"Per LOG* operation"},"logData":{"v":8,"d":"Per byte in a LOG* operation\'s data"},"logTopic":{"v":375,"d":"Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas"},"create":{"v":32000,"d":"Once per CREATE operation & contract-creation transaction"},"call":{"v":40,"d":"Once per CALL operation & message call transaction"},"callStipend":{"v":2300,"d":"Free gas given at beginning of call"},"callValueTransfer":{"v":9000,"d":"Paid for CALL when the value transfor is non-zero"},"callNewAccount":{"v":25000,"d":"Paid for CALL when the destination address didn\'t exist prior"},"selfdestructRefund":{"v":24000,"d":"Refunded following a selfdestruct operation"},"memory":{"v":3,"d":"Times the address of the (highest referenced byte in memory + 1). NOTE: referencing happens on read, write and in instructions such as RETURN and CALL"},"quadCoeffDiv":{"v":512,"d":"Divisor for the quadratic particle of the memory cost equation"},"createData":{"v":200,"d":""},"tx":{"v":21000,"d":"Per transaction. NOTE: Not payable on data of calls between transactions"},"txCreation":{"v":32000,"d":"The cost of creating a contract via tx"},"txDataZero":{"v":4,"d":"Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions"},"txDataNonZero":{"v":68,"d":"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"},"copy":{"v":3,"d":"Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added"},"ecRecover":{"v":3000,"d":""},"sha256":{"v":60,"d":""},"sha256Word":{"v":12,"d":""},"ripemd160":{"v":600,"d":""},"ripemd160Word":{"v":120,"d":""},"identity":{"v":15,"d":""},"identityWord":{"v":3,"d":""}},"vm":{"stackLimit":{"v":1024,"d":"Maximum size of VM stack allowed"},"callCreateDepth":{"v":1024,"d":"Maximum depth of call/create stack"},"maxExtraDataSize":{"v":32,"d":"Maximum size extra data may be after Genesis"}},"pow":{"minimumDifficulty":{"v":131072,"d":"The minimum that the difficulty may ever be"},"difficultyBoundDivisor":{"v":2048,"d":"The bound divisor of the difficulty, used in the update calculations"},"durationLimit":{"v":13,"d":"The decision boundary on the blocktime duration used to determine whether difficulty should go up or not"},"epochDuration":{"v":30000,"d":"Duration between proof-of-work epochs"},"timebombPeriod":{"v":100000,"d":"Exponential difficulty timebomb period"},"minerReward":{"v":"5000000000000000000","d":"the amount a miner get rewarded for mining a block"}},"casper":{},"sharding":{}}')},"02db":function(e,t){var r=[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];t.p1600=function(e){for(var t=0;t<24;++t){var n=e[0]^e[10]^e[20]^e[30]^e[40],i=e[1]^e[11]^e[21]^e[31]^e[41],a=e[2]^e[12]^e[22]^e[32]^e[42],o=e[3]^e[13]^e[23]^e[33]^e[43],s=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],c=e[6]^e[16]^e[26]^e[36]^e[46],l=e[7]^e[17]^e[27]^e[37]^e[47],f=e[8]^e[18]^e[28]^e[38]^e[48],d=e[9]^e[19]^e[29]^e[39]^e[49],h=f^(a<<1|o>>>31),p=d^(o<<1|a>>>31),v=e[0]^h,m=e[1]^p,g=e[10]^h,b=e[11]^p,y=e[20]^h,w=e[21]^p,_=e[30]^h,k=e[31]^p,x=e[40]^h,S=e[41]^p;h=n^(s<<1|u>>>31),p=i^(u<<1|s>>>31);var A=e[2]^h,E=e[3]^p,P=e[12]^h,C=e[13]^p,T=e[22]^h,O=e[23]^p,I=e[32]^h,j=e[33]^p,N=e[42]^h,R=e[43]^p;h=a^(c<<1|l>>>31),p=o^(l<<1|c>>>31);var B=e[4]^h,M=e[5]^p,$=e[14]^h,U=e[15]^p,L=e[24]^h,F=e[25]^p,D=e[34]^h,z=e[35]^p,H=e[44]^h,q=e[45]^p;h=s^(f<<1|d>>>31),p=u^(d<<1|f>>>31);var W=e[6]^h,K=e[7]^p,V=e[16]^h,G=e[17]^p,X=e[26]^h,J=e[27]^p,Z=e[36]^h,Y=e[37]^p,Q=e[46]^h,ee=e[47]^p;h=c^(n<<1|i>>>31),p=l^(i<<1|n>>>31);var te=e[8]^h,re=e[9]^p,ne=e[18]^h,ie=e[19]^p,ae=e[28]^h,oe=e[29]^p,se=e[38]^h,ue=e[39]^p,ce=e[48]^h,le=e[49]^p,fe=v,de=m,he=b<<4|g>>>28,pe=g<<4|b>>>28,ve=y<<3|w>>>29,me=w<<3|y>>>29,ge=k<<9|_>>>23,be=_<<9|k>>>23,ye=x<<18|S>>>14,we=S<<18|x>>>14,_e=A<<1|E>>>31,ke=E<<1|A>>>31,xe=C<<12|P>>>20,Se=P<<12|C>>>20,Ae=T<<10|O>>>22,Ee=O<<10|T>>>22,Pe=j<<13|I>>>19,Ce=I<<13|j>>>19,Te=N<<2|R>>>30,Oe=R<<2|N>>>30,Ie=M<<30|B>>>2,je=B<<30|M>>>2,Ne=$<<6|U>>>26,Re=U<<6|$>>>26,Be=F<<11|L>>>21,Me=L<<11|F>>>21,$e=D<<15|z>>>17,Ue=z<<15|D>>>17,Le=q<<29|H>>>3,Fe=H<<29|q>>>3,De=W<<28|K>>>4,ze=K<<28|W>>>4,He=G<<23|V>>>9,qe=V<<23|G>>>9,We=X<<25|J>>>7,Ke=J<<25|X>>>7,Ve=Z<<21|Y>>>11,Ge=Y<<21|Z>>>11,Xe=ee<<24|Q>>>8,Je=Q<<24|ee>>>8,Ze=te<<27|re>>>5,Ye=re<<27|te>>>5,Qe=ne<<20|ie>>>12,et=ie<<20|ne>>>12,tt=oe<<7|ae>>>25,rt=ae<<7|oe>>>25,nt=se<<8|ue>>>24,it=ue<<8|se>>>24,at=ce<<14|le>>>18,ot=le<<14|ce>>>18;e[0]=fe^~xe&Be,e[1]=de^~Se&Me,e[10]=De^~Qe&ve,e[11]=ze^~et&me,e[20]=_e^~Ne&We,e[21]=ke^~Re&Ke,e[30]=Ze^~he&Ae,e[31]=Ye^~pe&Ee,e[40]=Ie^~He&tt,e[41]=je^~qe&rt,e[2]=xe^~Be&Ve,e[3]=Se^~Me&Ge,e[12]=Qe^~ve&Pe,e[13]=et^~me&Ce,e[22]=Ne^~We&nt,e[23]=Re^~Ke&it,e[32]=he^~Ae&$e,e[33]=pe^~Ee&Ue,e[42]=He^~tt&ge,e[43]=qe^~rt&be,e[4]=Be^~Ve&at,e[5]=Me^~Ge&ot,e[14]=ve^~Pe&Le,e[15]=me^~Ce&Fe,e[24]=We^~nt&ye,e[25]=Ke^~it&we,e[34]=Ae^~$e&Xe,e[35]=Ee^~Ue&Je,e[44]=tt^~ge&Te,e[45]=rt^~be&Oe,e[6]=Ve^~at&fe,e[7]=Ge^~ot&de,e[16]=Pe^~Le&De,e[17]=Ce^~Fe&ze,e[26]=nt^~ye&_e,e[27]=it^~we&ke,e[36]=$e^~Xe&Ze,e[37]=Ue^~Je&Ye,e[46]=ge^~Te&Ie,e[47]=be^~Oe&je,e[8]=at^~fe&xe,e[9]=ot^~de&Se,e[18]=Le^~De&Qe,e[19]=Fe^~ze&et,e[28]=ye^~_e&Ne,e[29]=we^~ke&Re,e[38]=Xe^~Ze&he,e[39]=Je^~Ye&pe,e[48]=Te^~Ie&He,e[49]=Oe^~je&qe,e[0]^=r[2*t],e[1]^=r[2*t+1]}}},"032a":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r("0f54");function i(e){if(e.key[0]!==n.InputTypes.SIGHASH_TYPE)throw new Error("Decode Error: could not decode sighashType with key 0x"+e.key.toString("hex"));return e.value.readUInt32LE(0)}function a(t){var r=e.from([n.InputTypes.SIGHASH_TYPE]),i=e.allocUnsafe(4);return i.writeUInt32LE(t,0),{key:r,value:i}}function o(e){return"number"===typeof e}function s(e,t){return!!e&&!!t&&void 0===e.sighashType}t.decode=i,t.encode=a,t.expected="number",t.check=o,t.canAdd=s}).call(this,r("b639").Buffer)},"0378":function(e,t,r){"use strict";r.r(t);var n=r("0cb5"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"038d":function(e,t,r){"use strict";(function(e){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;rt)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}function l(e,t){var r=e.readUInt32LE(t),n=e.readUInt32LE(t+4);return n*=4294967296,c(n+r,9007199254740991),n+r}function f(e,t,r){return c(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8}function d(e){if(e.length<1)return e;for(var t=e.length-1,r=0,n=0;n1&&void 0!==arguments[1]?arguments[1]:0;n(this,e),this.buffer=t,this.offset=r,s(o.tuple(o.Buffer,o.UInt32),[t,r])}return a(e,[{key:"writeUInt8",value:function(e){this.offset=this.buffer.writeUInt8(e,this.offset)}},{key:"writeInt32",value:function(e){this.offset=this.buffer.writeInt32LE(e,this.offset)}},{key:"writeUInt32",value:function(e){this.offset=this.buffer.writeUInt32LE(e,this.offset)}},{key:"writeUInt64",value:function(e){this.offset=f(this.buffer,e,this.offset)}},{key:"writeVarInt",value:function(e){u.encode(e,this.buffer,this.offset),this.offset+=u.encode.bytes}},{key:"writeSlice",value:function(e){if(this.buffer.length1&&void 0!==arguments[1]?arguments[1]:0;n(this,e),this.buffer=t,this.offset=r,s(o.tuple(o.Buffer,o.UInt32),[t,r])}return a(e,[{key:"readUInt8",value:function(){var e=this.buffer.readUInt8(this.offset);return this.offset++,e}},{key:"readInt32",value:function(){var e=this.buffer.readInt32LE(this.offset);return this.offset+=4,e}},{key:"readUInt32",value:function(){var e=this.buffer.readUInt32LE(this.offset);return this.offset+=4,e}},{key:"readUInt64",value:function(){var e=l(this.buffer,this.offset);return this.offset+=8,e}},{key:"readVarInt",value:function(){var e=u.decode(this.buffer,this.offset);return this.offset+=u.decode.bytes,e}},{key:"readSlice",value:function(e){if(this.buffer.length>6!==2)break;o++}return o}return e===i.OVERRUN?r.length-t-1:0}function f(e,t,r,n,a){return e===i.OVERLONG?(n.push(a),0):(n.push(65533),l(e,t,r,n,a))}t.UnicodeNormalizationForm=n,function(e){e["current"]="",e["NFC"]="NFC",e["NFD"]="NFD",e["NFKC"]="NFKC",e["NFKD"]="NFKD"}(n||(t.UnicodeNormalizationForm=n={})),t.Utf8ErrorReason=i,function(e){e["UNEXPECTED_CONTINUE"]="unexpected continuation byte",e["BAD_PREFIX"]="bad codepoint prefix",e["OVERRUN"]="string overrun",e["MISSING_CONTINUE"]="missing continuation byte",e["OUT_OF_RANGE"]="out of UTF-8 range",e["UTF16_SURROGATE"]="UTF-16 surrogate",e["OVERLONG"]="overlong representation"}(i||(t.Utf8ErrorReason=i={}));var d=Object.freeze({error:c,ignore:l,replace:f});function h(e,t){null==t&&(t=d.error),e=(0,a.arrayify)(e);var r=[],n=0;while(n>7!==0){var s=null,u=null;if(192===(224&o))s=1,u=127;else if(224===(240&o))s=2,u=2047;else{if(240!==(248&o)){n+=t(128===(192&o)?i.UNEXPECTED_CONTINUE:i.BAD_PREFIX,n-1,e,r);continue}s=3,u=65535}if(n-1+s>=e.length)n+=t(i.OVERRUN,n-1,e,r);else{for(var c=o&(1<<8-s-1)-1,l=0;l1114111?n+=t(i.OUT_OF_RANGE,n-1-s,e,r,c):c>=55296&&c<=57343?n+=t(i.UTF16_SURROGATE,n-1-s,e,r,c):c<=u?n+=t(i.OVERLONG,n-1-s,e,r,c):r.push(c))}}else r.push(o)}return r}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.current;t!=n.current&&(u.checkNormalize(),e=e.normalize(t));for(var r=[],i=0;i>6|192),r.push(63&o|128);else if(55296==(64512&o)){i++;var s=e.charCodeAt(i);if(i>=e.length||56320!==(64512&s))throw new Error("invalid utf-8 string");var c=65536+((1023&o)<<10)+(1023&s);r.push(c>>18|240),r.push(c>>12&63|128),r.push(c>>6&63|128),r.push(63&c|128)}else r.push(o>>12|224),r.push(o>>6&63|128),r.push(63&o|128)}return(0,a.arrayify)(r)}function v(e){var t="0000"+e.toString(16);return"\\u"+t.substring(t.length-4)}function m(e,t){return'"'+h(e,t).map((function(e){if(e<256){switch(e){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(e>=32&&e<127)return String.fromCharCode(e)}return e<=65535?v(e):(e-=65536,v(55296+(e>>10&1023))+v(56320+(1023&e)))})).join("")+'"'}function g(e){return e.map((function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10&1023),56320+(1023&e)))})).join("")}function b(e,t){return g(h(e,t))}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.current;return h(p(e,t))}t.Utf8ErrorFuncs=d},"056e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0;var n="signing-key/5.5.0";t.version=n},"05ac":function(e,t){e.exports="/static/tongyonh/create_wallet.png"},"05b5":function(e,t,r){"use strict";r.r(t);var n=r("36be"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"05d4":function(e,t){e.exports="/static/tongyonh/x-circle.png"},"0610":function(e,t,r){"use strict";r.r(t);var n=r("6a33"),i=r("ea0f");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);var o,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"0d4c8696",null,!1,n["a"],o);t["default"]=u.exports},"064e":function(e,t,r){"use strict";var n=r("e2ad"),i=r("ddf5"),a=r("243a"),o=function(){var e=this;n.packageInit(this,arguments),[new i({name:"getId",call:"net_version",params:0,outputFormatter:parseInt}),new i({name:"isListening",call:"net_listening",params:0}),new i({name:"getPeerCount",call:"net_peerCount",params:0,outputFormatter:a.hexToNumber})].forEach((function(t){t.attachToObject(e),t.setRequestManager(e._requestManager)}))};n.addProviders(o),e.exports=o},"0676":function(e,t){function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=r},"06d2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[a-z]+\/[a-z0-9\-\+]+$/i,o=/^[a-z\-]+=[a-z0-9\-]+$/i,s=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;function u(e){(0,n.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),i=r.shift();if("data:"!==i.substr(0,5))return!1;var u=i.substr(5);if(""!==u&&!a.test(u))return!1;for(var c=0;c1&&void 0!==arguments[1]?arguments[1]:"all";(0,n.default)(e);var r=a[t];return r&&r.test(e)}e.exports=t.default,e.exports.default=t.default},"071e":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default,uRadioGroup:r("f6c7").default,uRadio:r("ff36").default},i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("view",[r("navigation",{attrs:{showBack:!0,bgnum:!0,_i:1}},[e._v(e._$s(1,"t0-0",e._s(e.i18n.curr2)))]),r("view",{staticClass:e._$s(2,"sc","main"),attrs:{_i:2}},[r("view",{staticClass:e._$s(3,"sc","main_con"),attrs:{_i:3}},[r("u-radio-group",{attrs:{_i:4},on:{change:e.radioGroupChange},model:{value:e._$s(4,"v-model",e.currency),callback:function(t){e.currency=t},expression:"currency"}},e._l(e._$s(5,"f",{forItems:e.list}),(function(t,n,i,a){return r("view",{key:e._$s(5,"f",{forIndex:i,key:n}),staticClass:e._$s("5-"+a,"sc","item flex"),attrs:{_i:"5-"+a},on:{click:function(t){return e.handove("en")}}},[r("view",{staticClass:e._$s("6-"+a,"sc","text1"),attrs:{_i:"6-"+a}},[e._v(e._$s("6-"+a,"t0-0",e._s(t.lang)))]),r("u-radio",{attrs:{name:t.name,disabled:t.disabled,"active-color":"#5B53FF",_i:"7-"+a},on:{change:e.radioChange}})],1)})),0),r("view",{staticClass:e._$s(8,"sc","select_btn"),attrs:{_i:8},on:{click:e.confirmCurrency}},[e._v(e._$s(8,"t0-0",e._s(e.i18n.langSelect)))])],1)])],1)},a=[]},"0758":function(e,t,r){"use strict";(function(e){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r127)a++,i.writeUIntLE(a,0,6),n=u.signWithEntropy(t,this.__D,i);return n}},{key:"verify",value:function(e,t){return u.verify(e,this.publicKey,t)}},{key:"privateKey",get:function(){return this.__D}},{key:"publicKey",get:function(){return this.__Q||(this.__Q=u.pointFromScalar(this.__D,this.compressed)),this.__Q}}]),t}();function p(e,t){if(l(s.Buffer256bit,e),!u.isPrivate(e))throw new TypeError("Private key not in range [1, n)");return l(d,t),new h(e,void 0,t)}function v(e,t){return l(u.isPoint,e),l(d,t),new h(void 0,e,t)}function m(e,t){var r=f.decode(e),n=r.version;if(s.Array(t)){if(t=t.filter((function(e){return n===e.wif})).pop(),!t)throw new Error("Unknown network version")}else if(t=t||o.bitcoin,n!==t.wif)throw new Error("Invalid network version");return p(r.privateKey,{compressed:r.compressed,network:t})}function g(e){l(d,e),void 0===e&&(e={});var t,r=e.rng||c;do{t=r(32),l(s.Buffer256bit,t)}while(!u.isPrivate(t));return p(t,e)}t.fromPrivateKey=p,t.fromPublicKey=v,t.fromWIF=m,t.makeRandom=g}).call(this,r("b639").Buffer)},"0769":function(e,t,r){"use strict";r.r(t);var n=r("a001"),i=r("b31d");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);var o,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"7a4a12cd",null,!1,n["a"],o);t["default"]=u.exports},"07f2":function(e,t,r){"use strict";var n=r("c3c0"),i=r("6eed");function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(a,i),e.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},"085b":function(e,t,r){"use strict";var n=r("3742"),i=r("107b").errors,a=r("ba10"),o=r("107b").formatters;function s(e){a.call(this),this.id=null,this.callback=n.identity,this.arguments=null,this.lastBlock=null,this.options={subscription:e.subscription,type:e.type,requestManager:e.requestManager}}s.prototype=Object.create(a.prototype),s.prototype.constructor=s,s.prototype._extractCallback=function(e){if(n.isFunction(e[e.length-1]))return e.pop()},s.prototype._validateArgs=function(e){var t=this.options.subscription;if(t||(t={}),t.params||(t.params=0),e.length!==t.params)throw i.InvalidNumberOfParams(e.length,t.params,t.subscriptionName)},s.prototype._formatInput=function(e){var t=this.options.subscription;if(!t)return e;if(!t.inputFormatter)return e;var r=t.inputFormatter.map((function(t,r){return t?t(e[r]):e[r]}));return r},s.prototype._formatOutput=function(e){var t=this.options.subscription;return t&&t.outputFormatter&&e?t.outputFormatter(e):e},s.prototype._toPayload=function(e){var t=[];if(this.callback=this._extractCallback(e)||n.identity,this.subscriptionMethod||(this.subscriptionMethod=e.shift(),this.options.subscription.subscriptionName&&(this.subscriptionMethod=this.options.subscription.subscriptionName)),this.arguments||(this.arguments=this._formatInput(e),this._validateArgs(this.arguments),e=[]),t.push(this.subscriptionMethod),t=t.concat(this.arguments),e.length)throw new Error("Only a callback is allowed as parameter on an already instantiated subscription.");return{method:this.options.type+"_subscribe",params:t}},s.prototype.unsubscribe=function(e){this.options.requestManager.removeSubscription(this.id,e),this.id=null,this.lastBlock=null,this.removeAllListeners()},s.prototype.subscribe=function(){var e=this,t=Array.prototype.slice.call(arguments),r=this._toPayload(t);if(!r)return this;if(!this.options.requestManager.provider)return setTimeout((function(){var t=new Error("No provider set.");e.callback(t,null,e),e.emit("error",t)}),0),this;if(!this.options.requestManager.provider.on)return setTimeout((function(){var t=new Error("The current provider doesn't support subscriptions: "+e.options.requestManager.provider.constructor.name);e.callback(t,null,e),e.emit("error",t)}),0),this;if(this.lastBlock&&n.isObject(this.options.params)&&(r.params[1]=this.options.params,r.params[1].fromBlock=o.inputBlockNumberFormatter(this.lastBlock+1)),this.id&&this.unsubscribe(),this.options.params=r.params[1],"logs"===r.params[0]&&n.isObject(r.params[1])&&r.params[1].hasOwnProperty("fromBlock")&&isFinite(r.params[1].fromBlock)){var i=Object.assign({},r.params[1]);this.options.requestManager.send({method:"eth_getLogs",params:[i]},(function(t,r){t?setTimeout((function(){e.callback(t,null,e),e.emit("error",t)}),0):r.forEach((function(t){var r=e._formatOutput(t);e.callback(null,r,e),e.emit("data",r)}))}))}return"object"===typeof r.params[1]&&delete r.params[1].fromBlock,this.options.requestManager.send(r,(function(t,i){!t&&i?(e.id=i,e.method=r.params[0],e.emit("connected",i),e.options.requestManager.addSubscription(e,(function(t,r){t?(e.callback(t,!1,e),e.emit("error",t)):(n.isArray(r)||(r=[r]),r.forEach((function(t){var r=e._formatOutput(t);if(e.lastBlock=n.isObject(r)?r.blockNumber:null,n.isFunction(e.options.subscription.subscriptionHandler))return e.options.subscription.subscriptionHandler.call(e,r);e.emit("data",r),e.callback(null,r,e)})))}))):setTimeout((function(){e.callback(t,!1,e),e.emit("error",t)}),0)})),this},s.prototype.resubscribe=function(){this.options.requestManager.removeSubscription(this.id),this.id=null,this.subscribe(this.callback)},e.exports=s},"087f":function(e,t,r){var n=r("3fb5"),i=r("b672"),a=r("8707").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function f(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,a=0|this._d,s=0|this._e,u=0;u<16;++u)t[u]=e.readInt32BE(4*u);for(;u<80;++u)t[u]=t[u-3]^t[u-8]^t[u-14]^t[u-16];for(var d=0;d<80;++d){var h=~~(d/20),p=c(r)+f(h,n,i,a)+s+t[d]+o[h]|0;s=a,a=i,i=l(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},u.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},"088f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AbiCoder",{enumerable:!0,get:function(){return n.AbiCoder}}),Object.defineProperty(t,"checkResultErrors",{enumerable:!0,get:function(){return n.checkResultErrors}}),Object.defineProperty(t,"ConstructorFragment",{enumerable:!0,get:function(){return n.ConstructorFragment}}),Object.defineProperty(t,"defaultAbiCoder",{enumerable:!0,get:function(){return n.defaultAbiCoder}}),Object.defineProperty(t,"ErrorFragment",{enumerable:!0,get:function(){return n.ErrorFragment}}),Object.defineProperty(t,"EventFragment",{enumerable:!0,get:function(){return n.EventFragment}}),Object.defineProperty(t,"FormatTypes",{enumerable:!0,get:function(){return n.FormatTypes}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return n.Fragment}}),Object.defineProperty(t,"FunctionFragment",{enumerable:!0,get:function(){return n.FunctionFragment}}),Object.defineProperty(t,"Indexed",{enumerable:!0,get:function(){return n.Indexed}}),Object.defineProperty(t,"Interface",{enumerable:!0,get:function(){return n.Interface}}),Object.defineProperty(t,"LogDescription",{enumerable:!0,get:function(){return n.LogDescription}}),Object.defineProperty(t,"ParamType",{enumerable:!0,get:function(){return n.ParamType}}),Object.defineProperty(t,"TransactionDescription",{enumerable:!0,get:function(){return n.TransactionDescription}}),Object.defineProperty(t,"getAddress",{enumerable:!0,get:function(){return i.getAddress}}),Object.defineProperty(t,"getCreate2Address",{enumerable:!0,get:function(){return i.getCreate2Address}}),Object.defineProperty(t,"getContractAddress",{enumerable:!0,get:function(){return i.getContractAddress}}),Object.defineProperty(t,"getIcapAddress",{enumerable:!0,get:function(){return i.getIcapAddress}}),Object.defineProperty(t,"isAddress",{enumerable:!0,get:function(){return i.isAddress}}),Object.defineProperty(t,"base58",{enumerable:!0,get:function(){return o.Base58}}),Object.defineProperty(t,"arrayify",{enumerable:!0,get:function(){return s.arrayify}}),Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return s.concat}}),Object.defineProperty(t,"hexConcat",{enumerable:!0,get:function(){return s.hexConcat}}),Object.defineProperty(t,"hexDataSlice",{enumerable:!0,get:function(){return s.hexDataSlice}}),Object.defineProperty(t,"hexDataLength",{enumerable:!0,get:function(){return s.hexDataLength}}),Object.defineProperty(t,"hexlify",{enumerable:!0,get:function(){return s.hexlify}}),Object.defineProperty(t,"hexStripZeros",{enumerable:!0,get:function(){return s.hexStripZeros}}),Object.defineProperty(t,"hexValue",{enumerable:!0,get:function(){return s.hexValue}}),Object.defineProperty(t,"hexZeroPad",{enumerable:!0,get:function(){return s.hexZeroPad}}),Object.defineProperty(t,"isBytes",{enumerable:!0,get:function(){return s.isBytes}}),Object.defineProperty(t,"isBytesLike",{enumerable:!0,get:function(){return s.isBytesLike}}),Object.defineProperty(t,"isHexString",{enumerable:!0,get:function(){return s.isHexString}}),Object.defineProperty(t,"joinSignature",{enumerable:!0,get:function(){return s.joinSignature}}),Object.defineProperty(t,"zeroPad",{enumerable:!0,get:function(){return s.zeroPad}}),Object.defineProperty(t,"splitSignature",{enumerable:!0,get:function(){return s.splitSignature}}),Object.defineProperty(t,"stripZeros",{enumerable:!0,get:function(){return s.stripZeros}}),Object.defineProperty(t,"_TypedDataEncoder",{enumerable:!0,get:function(){return u._TypedDataEncoder}}),Object.defineProperty(t,"hashMessage",{enumerable:!0,get:function(){return u.hashMessage}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return u.id}}),Object.defineProperty(t,"isValidName",{enumerable:!0,get:function(){return u.isValidName}}),Object.defineProperty(t,"namehash",{enumerable:!0,get:function(){return u.namehash}}),Object.defineProperty(t,"defaultPath",{enumerable:!0,get:function(){return c.defaultPath}}),Object.defineProperty(t,"entropyToMnemonic",{enumerable:!0,get:function(){return c.entropyToMnemonic}}),Object.defineProperty(t,"getAccountPath",{enumerable:!0,get:function(){return c.getAccountPath}}),Object.defineProperty(t,"HDNode",{enumerable:!0,get:function(){return c.HDNode}}),Object.defineProperty(t,"isValidMnemonic",{enumerable:!0,get:function(){return c.isValidMnemonic}}),Object.defineProperty(t,"mnemonicToEntropy",{enumerable:!0,get:function(){return c.mnemonicToEntropy}}),Object.defineProperty(t,"mnemonicToSeed",{enumerable:!0,get:function(){return c.mnemonicToSeed}}),Object.defineProperty(t,"getJsonWalletAddress",{enumerable:!0,get:function(){return l.getJsonWalletAddress}}),Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return f.keccak256}}),Object.defineProperty(t,"Logger",{enumerable:!0,get:function(){return d.Logger}}),Object.defineProperty(t,"computeHmac",{enumerable:!0,get:function(){return h.computeHmac}}),Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return h.ripemd160}}),Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return h.sha256}}),Object.defineProperty(t,"sha512",{enumerable:!0,get:function(){return h.sha512}}),Object.defineProperty(t,"SupportedAlgorithm",{enumerable:!0,get:function(){return h.SupportedAlgorithm}}),Object.defineProperty(t,"solidityKeccak256",{enumerable:!0,get:function(){return p.keccak256}}),Object.defineProperty(t,"solidityPack",{enumerable:!0,get:function(){return p.pack}}),Object.defineProperty(t,"soliditySha256",{enumerable:!0,get:function(){return p.sha256}}),Object.defineProperty(t,"randomBytes",{enumerable:!0,get:function(){return v.randomBytes}}),Object.defineProperty(t,"shuffled",{enumerable:!0,get:function(){return v.shuffled}}),Object.defineProperty(t,"checkProperties",{enumerable:!0,get:function(){return m.checkProperties}}),Object.defineProperty(t,"deepCopy",{enumerable:!0,get:function(){return m.deepCopy}}),Object.defineProperty(t,"defineReadOnly",{enumerable:!0,get:function(){return m.defineReadOnly}}),Object.defineProperty(t,"getStatic",{enumerable:!0,get:function(){return m.getStatic}}),Object.defineProperty(t,"resolveProperties",{enumerable:!0,get:function(){return m.resolveProperties}}),Object.defineProperty(t,"shallowCopy",{enumerable:!0,get:function(){return m.shallowCopy}}),Object.defineProperty(t,"computePublicKey",{enumerable:!0,get:function(){return b.computePublicKey}}),Object.defineProperty(t,"recoverPublicKey",{enumerable:!0,get:function(){return b.recoverPublicKey}}),Object.defineProperty(t,"SigningKey",{enumerable:!0,get:function(){return b.SigningKey}}),Object.defineProperty(t,"formatBytes32String",{enumerable:!0,get:function(){return y.formatBytes32String}}),Object.defineProperty(t,"nameprep",{enumerable:!0,get:function(){return y.nameprep}}),Object.defineProperty(t,"parseBytes32String",{enumerable:!0,get:function(){return y.parseBytes32String}}),Object.defineProperty(t,"_toEscapedUtf8String",{enumerable:!0,get:function(){return y._toEscapedUtf8String}}),Object.defineProperty(t,"toUtf8Bytes",{enumerable:!0,get:function(){return y.toUtf8Bytes}}),Object.defineProperty(t,"toUtf8CodePoints",{enumerable:!0,get:function(){return y.toUtf8CodePoints}}),Object.defineProperty(t,"toUtf8String",{enumerable:!0,get:function(){return y.toUtf8String}}),Object.defineProperty(t,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return y.Utf8ErrorFuncs}}),Object.defineProperty(t,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return y.UnicodeNormalizationForm}}),Object.defineProperty(t,"Utf8ErrorReason",{enumerable:!0,get:function(){return y.Utf8ErrorReason}}),Object.defineProperty(t,"accessListify",{enumerable:!0,get:function(){return w.accessListify}}),Object.defineProperty(t,"computeAddress",{enumerable:!0,get:function(){return w.computeAddress}}),Object.defineProperty(t,"parseTransaction",{enumerable:!0,get:function(){return w.parse}}),Object.defineProperty(t,"recoverAddress",{enumerable:!0,get:function(){return w.recoverAddress}}),Object.defineProperty(t,"serializeTransaction",{enumerable:!0,get:function(){return w.serialize}}),Object.defineProperty(t,"TransactionTypes",{enumerable:!0,get:function(){return w.TransactionTypes}}),Object.defineProperty(t,"commify",{enumerable:!0,get:function(){return _.commify}}),Object.defineProperty(t,"formatEther",{enumerable:!0,get:function(){return _.formatEther}}),Object.defineProperty(t,"parseEther",{enumerable:!0,get:function(){return _.parseEther}}),Object.defineProperty(t,"formatUnits",{enumerable:!0,get:function(){return _.formatUnits}}),Object.defineProperty(t,"parseUnits",{enumerable:!0,get:function(){return _.parseUnits}}),Object.defineProperty(t,"verifyMessage",{enumerable:!0,get:function(){return k.verifyMessage}}),Object.defineProperty(t,"verifyTypedData",{enumerable:!0,get:function(){return k.verifyTypedData}}),Object.defineProperty(t,"_fetchData",{enumerable:!0,get:function(){return x._fetchData}}),Object.defineProperty(t,"fetchJson",{enumerable:!0,get:function(){return x.fetchJson}}),Object.defineProperty(t,"poll",{enumerable:!0,get:function(){return x.poll}}),t.RLP=t.base64=void 0;var n=r("f6b4"),i=r("0f1c"),a=A(r("7260"));t.base64=a;var o=r("f01b"),s=r("ecb6"),u=r("3b83"),c=r("98a5"),l=r("bedc"),f=r("183c"),d=r("20ed"),h=r("5639"),p=r("9c67"),v=r("83b7"),m=r("16a3"),g=A(r("467a"));t.RLP=g;var b=r("bcc2"),y=r("86c8"),w=r("e43f"),_=r("1391"),k=r("403a"),x=r("35bf");function S(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function A(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}},"0891":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default,uMessageInput:r("4139").default},i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("view",[r("navigation",{attrs:{showBack:!0,bgnum:!1,_i:1}},[r("text",{staticClass:e._$s(2,"sc","big_title"),attrs:{_i:2}},[e._v(e._$s(2,"t0-0",e._s(e.i18n.transPaw)))])]),r("view",{staticClass:e._$s(3,"sc","main"),attrs:{_i:3}},[e._$s(4,"i",e.borNum)?r("view",{staticClass:e._$s(4,"sc","big_title"),attrs:{_i:4}},[e._v(e._$s(4,"t0-0",e._s(e.i18n.settransPaw)))]):e._e(),e._$s(5,"i",e.borNum2)?r("view",{staticClass:e._$s(5,"sc","big_title"),attrs:{_i:5}},[e._v(e._$s(5,"t0-0",e._s(e.i18n.transPawAgain)))]):e._e(),r("view",{staticClass:e._$s(6,"sc","title"),attrs:{_i:6}},[e._v(e._$s(6,"t0-0",e._s(e.i18n.Securetransaction))),r("br"),e._v(e._$s(6,"t2-0",e._s(e.i18n.Securetransaction2)))]),e._$s(8,"i",e.borNum)?r("u-message-input",{attrs:{"inactive-color":"#E0E5F2","active-color":"#5B53FF",width:94,maxlength:6,mode:"box",focus:e.fes,"dot-fill":!0,_i:8},on:{finish:e.finish}}):e._e(),e._$s(9,"i",e.borNum2)?r("u-message-input",{attrs:{"inactive-color":e.info?"#F16063":"#E0E5F2","active-color":"#5B53FF",width:94,maxlength:6,mode:"box",focus:e.fes,"dot-fill":!0,_i:9},on:{finish:e.finish2,change:e.back}}):e._e(),e._$s(10,"i",e.info)?r("view",{staticClass:e._$s(10,"sc","infoText"),attrs:{_i:10}},[e._v(e._$s(10,"t0-0",e._s(e.i18n.Passworddiscrepansies)))]):e._e()],1)],1)},a=[]},"0893":function(e,t,r){"use strict";(function(e){function n(e){return s(e)||o(e)||a(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function o(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function s(e){if(Array.isArray(e))return u(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rt)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}function p(e,t){var r=e.readUInt32LE(t),n=e.readUInt32LE(t+4);return n*=4294967296,h(n+r,9007199254740991),n+r}function v(e,t,r){return h(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8}t.range=function(e){return n(Array(e).keys())},t.reverseBuffer=l,t.keyValsToBuffer=f,t.keyValToBuffer=d,t.readUInt64LE=p,t.writeUInt64LE=v}).call(this,r("b639").Buffer)},"08db":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.locales=void 0;var n=a(r("3ce7")),i=r("3c37");function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,n.default)(e),t in i.alphanumeric)return i.alphanumeric[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))}var s=Object.keys(i.alphanumeric);t.locales=s},"0953":function(e,t){e.exports=function(e){if("string"!==typeof e)throw new Error("[is-hex-prefixed] value must be type 'string', is currently type "+typeof e+", while checking isHexPrefixed.");return"0x"===e.slice(0,2)}},"0960":function(e,t,r){e.exports=r("b19a")},"0972":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r("98e6"),i=r("a099"),a=r("11dc"),o=r("61c7"),s=o._default,u="Invalid mnemonic",c="Invalid entropy",l="Invalid mnemonic checksum",f="A wordlist is required but a default could not be found.\nPlease pass a 2048 word array explicitly.";function d(e,t,r,n,a){return Promise.resolve().then((function(){return new Promise((function(o,s){var u=function(e,t){return e?s(e):o(t)};i.pbkdf2(e,t,r,n,a,u)}))}))}function h(e){return(e||"").normalize("NFKD")}function p(e,t,r){while(e.length32)throw new Error(c);if(m.length%4!==0)throw new Error(c);var b=e.from(m),y=g(b);if(y!==d)throw new Error(l);return b.toString("hex")}function k(t,r){if(e.isBuffer(t)||(t=e.from(t,"hex")),r=r||s,!r)throw new Error(f);if(t.length<16)throw new TypeError(c);if(t.length>32)throw new TypeError(c);if(t.length%4!==0)throw new TypeError(c);var n=m(Array.from(t)),i=g(t),a=n+i,o=a.match(/(.{1,11})/g),u=o.map((function(e){var t=v(e);return r[t]}));return"\u3042\u3044\u3053\u304f\u3057\u3093"===r[0]?u.join("\u3000"):u.join(" ")}function x(e,t,r){if(e=e||128,e%32!==0)throw new TypeError(c);return t=t||a,k(t(e/8),r)}function S(e,t){try{_(e,t)}catch(r){return!1}return!0}function A(e){var t=o.wordlists[e];if(!t)throw new Error('Could not find wordlist for language "'+e+'"');s=t}function E(){if(!s)throw new Error("No Default Wordlist set");return Object.keys(o.wordlists).filter((function(e){return"JA"!==e&&"EN"!==e&&o.wordlists[e].every((function(e,t){return e===s[t]}))}))[0]}t.mnemonicToSeedSync=y,t.mnemonicToSeed=w,t.mnemonicToEntropy=_,t.entropyToMnemonic=k,t.generateMnemonic=x,t.validateMnemonic=S,t.setDefaultWordlist=A,t.getDefaultWordlist=E;var P=r("61c7");t.wordlists=P.wordlists}).call(this,r("b639").Buffer)},"09a1":function(e){e.exports=JSON.parse('{"name":"kovan","chainId":42,"networkId":42,"comment":"Parity PoA test network","url":"https://kovan-testnet.github.io/website/","genesis":{"hash":"0xa3c565fc15c7478862d50ccd6561e3c06b24cc509bf388941c25ea985ce32cb9","timestamp":null,"gasLimit":6000000,"difficulty":131072,"nonce":"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","extraData":"0x","stateRoot":"0x2480155b48a1cea17d67dbfdfaafe821c1d19cdd478c5358e8ec56dec24502b2"},"hardforks":[{"name":"chainstart","block":0,"consensus":"poa","finality":null},{"name":"homestead","block":0,"consensus":"poa","finality":null},{"name":"dao","block":0,"consensus":"poa","finality":null},{"name":"tangerineWhistle","block":0,"consensus":"poa","finality":null},{"name":"spuriousDragon","block":0,"consensus":"poa","finality":null},{"name":"byzantium","block":5067000,"consensus":"poa","finality":null},{"name":"constantinople","block":9200000,"consensus":"poa","finality":null},{"name":"petersburg","block":10255201,"consensus":"poa","finality":null},{"name":"istanbul","block":14111141,"consensus":"poa","finality":null}],"bootstrapNodes":[{"ip":"116.203.116.241","port":30303,"id":"16898006ba2cd4fa8bf9a3dfe32684c178fa861df144bfc21fe800dc4838a03e342056951fa9fd533dcb0be1219e306106442ff2cf1f7e9f8faa5f2fc1a3aa45","location":"","comment":"1"},{"ip":"3.217.96.11","port":30303,"id":"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0","location":"","comment":"2"},{"ip":"108.61.170.124","port":30303,"id":"740e1c8ea64e71762c71a463a04e2046070a0c9394fcab5891d41301dc473c0cff00ebab5a9bc87fbcb610ab98ac18225ff897bc8b7b38def5975d5ceb0a7d7c","location":"","comment":"3"},{"ip":"157.230.31.163","port":30303,"id":"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0","location":"","comment":"4"}]}')},"09d6":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(0,n.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")}e.exports=t.default,e.exports.default=t.default},"09ed":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r("8e09")),n(r("2e38"));function n(e){return e&&e.__esModule?e:{default:e}}var i={data:function(){return{teee:this.$t("index").DAPPwebsite,list2:[{name:"No more tips next time",checked:!1,disabled:!1}],show:!1,value:"",type:"text",border:!0,list:[{name:this.$t("index").Popular},{name:this.$t("index").Lending},{name:this.$t("index").Trade},{name:this.$t("index").Yield},{name:this.$t("index").Stake}],current:0}},computed:{i18n:function(){return this.$t("index")}},methods:{change:function(e){this.current=e}}};t.default=i},"09f5":function(e,t,r){var n=r("39f5"),i=r("8707").Buffer,a=r("6430"),o=r("3fb5");function s(e,t,r,o){a.call(this),this._cipher=new n.AES(t),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=o,this._mode=e}o(s,a),s.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},e.exports=s},"0a73":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=a(r("3ce7")),i=a(r("74cd"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return(0,n.default)(e),(0,i.default)(e)&&24===e.length}e.exports=t.default,e.exports.default=t.default},"0b16":function(e,t,r){"use strict";var n=r("1985"),i=r("35e8");function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=_,t.resolve=x,t.resolveObject=S,t.format=k,t.Url=a;var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(c),f=["'"].concat(l),d=["%","/","?",";","#"].concat(f),h=["/","?","#"],p=255,v=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},w=r("b383");function _(e,t,r){if(e&&i.isObject(e)&&e instanceof a)return e;var n=new a;return n.parse(e,t,r),n}function k(e){return i.isString(e)&&(e=_(e)),e instanceof a?e.format():a.prototype.format.call(e)}function x(e,t){return _(e,!1,!0).resolve(t)}function S(e,t){return e?_(e,!1,!0).resolveObject(t):t}a.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a127?B+="x":B+=R[M];if(!B.match(v)){var U=j.slice(0,T),L=j.slice(T+1),F=R.match(m);F&&(U.push(F[1]),L.unshift(F[2])),L.length&&(_="/"+L.join(".")+_),this.hostname=U.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=n.toASCII(this.hostname));var D=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+D,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!g[S])for(T=0,N=f.length;T0)&&r.host.split("@");A&&(r.auth=A.shift(),r.host=r.hostname=A.shift())}return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=x.slice(-1)[0],P=(r.host||e.host||x.length>1)&&("."===E||".."===E)||""===E,C=0,T=x.length;T>=0;T--)E=x[T],"."===E?x.splice(T,1):".."===E?(x.splice(T,1),C++):C&&(x.splice(T,1),C--);if(!_&&!k)for(;C--;C)x.unshift("..");!_||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),P&&"/"!==x.join("/").substr(-1)&&x.push("");var O=""===x[0]||x[0]&&"/"===x[0].charAt(0);if(S){r.hostname=r.host=O?"":x.length?x.shift():"";A=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");A&&(r.auth=A.shift(),r.host=r.hostname=A.shift())}return _=_||r.host&&x.length,_&&!O&&x.unshift(""),x.length?r.pathname=x.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"0b44":function(e,t,r){"use strict";function n(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw o}}}}function i(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=8&&(o[a++]=i>>>n-8&255,n-=8);return o.buffer}function s(e,t){var r=e.byteLength,n=new Uint8Array(e),i=t.indexOf("=")===t.length-1;i&&(t=t.substring(0,t.length-1));for(var a=0,o=0,s="",u=0;u=5)s+=t[o>>>a-5&31],a-=5}if(a>0&&(s+=t[o<<5-a&31]),i)while(s.length%8!==0)s+="=";return s}e.exports=function(e){return{encode:function(t){return s("string"===typeof t?Uint8Array.from(t):t,e)},decode:function(t){var r,i=n(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(e.indexOf(a)<0)throw new Error("invalid base32 character")}}catch(s){i.e(s)}finally{i.f()}return o(t,e)}}}},"0b53":function(e,t){var r="0123456789abcdef".split(""),n=[1,256,65536,16777216],i=[0,8,16,24],a=[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],o=function(e){return{blocks:[],reset:!0,block:0,start:0,blockCount:1600-(e<<1)>>5,outputBlocks:e>>5,s:function(e){return[].concat(e,e,e,e,e)}([0,0,0,0,0,0,0,0,0,0])}},s=function(e,t){var a,o=t.length,s=e.blocks,c=e.blockCount<<2,l=e.blockCount,f=e.outputBlocks,d=e.s,h=0;while(h>2]|=t[h]<>2]|=a<>2]|=(192|a>>6)<>2]|=(128|63&a)<=57344?(s[m>>2]|=(224|a>>12)<>2]|=(128|a>>6&63)<>2]|=(128|63&a)<>2]|=(240|a>>18)<>2]|=(128|a>>12&63)<>2]|=(128|a>>6&63)<>2]|=(128|63&a)<=c){for(e.start=m-c,e.block=s[l],m=0;m>2]|=n[3&m],e.lastByteIndex===c)for(s[0]=s[l],m=1;m>4&15]+r[15&p]+r[p>>12&15]+r[p>>8&15]+r[p>>20&15]+r[p>>16&15]+r[p>>28&15]+r[p>>24&15];g%l===0&&(u(d),m=0)}return"0x"+v},u=function(e){var t,r,n,i,o,s,u,c,l,f,d,h,p,v,m,g,b,y,w,_,k,x,S,A,E,P,C,T,O,I,j,N,R,B,M,$,U,L,F,D,z,H,q,W,K,V,G,X,J,Z,Y,Q,ee,te,re,ne,ie,ae,oe,se,ue,ce,le;for(n=0;n<48;n+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],o=e[1]^e[11]^e[21]^e[31]^e[41],s=e[2]^e[12]^e[22]^e[32]^e[42],u=e[3]^e[13]^e[23]^e[33]^e[43],c=e[4]^e[14]^e[24]^e[34]^e[44],l=e[5]^e[15]^e[25]^e[35]^e[45],f=e[6]^e[16]^e[26]^e[36]^e[46],d=e[7]^e[17]^e[27]^e[37]^e[47],h=e[8]^e[18]^e[28]^e[38]^e[48],p=e[9]^e[19]^e[29]^e[39]^e[49],t=h^(s<<1|u>>>31),r=p^(u<<1|s>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=i^(c<<1|l>>>31),r=o^(l<<1|c>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=s^(f<<1|d>>>31),r=u^(d<<1|f>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=c^(h<<1|p>>>31),r=l^(p<<1|h>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=f^(i<<1|o>>>31),r=d^(o<<1|i>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,v=e[0],m=e[1],V=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,T=e[20]<<3|e[21]>>>29,O=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ue=e[30]<<9|e[31]>>>23,H=e[40]<<18|e[41]>>>14,q=e[41]<<18|e[40]>>>14,B=e[2]<<1|e[3]>>>31,M=e[3]<<1|e[2]>>>31,g=e[13]<<12|e[12]>>>20,b=e[12]<<12|e[13]>>>20,X=e[22]<<10|e[23]>>>22,J=e[23]<<10|e[22]>>>22,I=e[33]<<13|e[32]>>>19,j=e[32]<<13|e[33]>>>19,ce=e[42]<<2|e[43]>>>30,le=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,$=e[14]<<6|e[15]>>>26,U=e[15]<<6|e[14]>>>26,y=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,Z=e[34]<<15|e[35]>>>17,Y=e[35]<<15|e[34]>>>17,N=e[45]<<29|e[44]>>>3,R=e[44]<<29|e[45]>>>3,A=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,L=e[26]<<25|e[27]>>>7,F=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,k=e[37]<<21|e[36]>>>11,Q=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,W=e[8]<<27|e[9]>>>5,K=e[9]<<27|e[8]>>>5,P=e[18]<<20|e[19]>>>12,C=e[19]<<20|e[18]>>>12,ae=e[29]<<7|e[28]>>>25,oe=e[28]<<7|e[29]>>>25,D=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,x=e[48]<<14|e[49]>>>18,S=e[49]<<14|e[48]>>>18,e[0]=v^~g&y,e[1]=m^~b&w,e[10]=A^~P&T,e[11]=E^~C&O,e[20]=B^~$&L,e[21]=M^~U&F,e[30]=W^~V&X,e[31]=K^~G&J,e[40]=te^~ne&ae,e[41]=re^~ie&oe,e[2]=g^~y&_,e[3]=b^~w&k,e[12]=P^~T&I,e[13]=C^~O&j,e[22]=$^~L&D,e[23]=U^~F&z,e[32]=V^~X&Z,e[33]=G^~J&Y,e[42]=ne^~ae&se,e[43]=ie^~oe&ue,e[4]=y^~_&x,e[5]=w^~k&S,e[14]=T^~I&N,e[15]=O^~j&R,e[24]=L^~D&H,e[25]=F^~z&q,e[34]=X^~Z&Q,e[35]=J^~Y&ee,e[44]=ae^~se&ce,e[45]=oe^~ue&le,e[6]=_^~x&v,e[7]=k^~S&m,e[16]=I^~N&A,e[17]=j^~R&E,e[26]=D^~H&B,e[27]=z^~q&M,e[36]=Z^~Q&W,e[37]=Y^~ee&K,e[46]=se^~ce&te,e[47]=ue^~le&re,e[8]=x^~v&g,e[9]=S^~m&b,e[18]=N^~A&P,e[19]=R^~E&C,e[28]=H^~B&$,e[29]=q^~M&U,e[38]=Q^~W&V,e[39]=ee^~K&G,e[48]=ce^~te&ne,e[49]=le^~re&ie,e[0]^=a[n],e[1]^=a[n+1]},c=function(e){return function(t){var r;if("0x"===t.slice(0,2)){r=[];for(var n=2,i=t.length;n=0}return"object"===o(t)?t.hasOwnProperty(e):!(!t||"function"!==typeof t.indexOf)&&t.indexOf(e)>=0}e.exports=t.default,e.exports.default=t.default},"0ccd":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=a(r("3fcd"));function a(e){return e&&e.__esModule?e:{default:e}}var o={name:"tki-qrcode",props:{cid:{type:String,default:"tki-qrcode-canvas"},size:{type:Number,default:200},unit:{type:String,default:"upx"},show:{type:Boolean,default:!0},val:{type:String,default:""},background:{type:String,default:"#ffffff"},foreground:{type:String,default:"#000000"},pdground:{type:String,default:"#000000"},icon:{type:String,default:""},iconSize:{type:Number,default:40},lv:{type:Number,default:3},onval:{type:Boolean,default:!1},loadMake:{type:Boolean,default:!1},usingComponents:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},loadingText:{type:String,default:"\u4e8c\u7ef4\u7801\u751f\u6210\u4e2d"}},data:function(){return{result:""}},methods:{_makeCode:function(){var e=this;this._empty(this.val)?uni.showToast({title:"\u4e8c\u7ef4\u7801\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a",icon:"none",duration:2e3}):n=new i.default({context:e,canvasId:e.cid,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText,text:e.val,size:e.cpSize,background:e.background,foreground:e.foreground,pdground:e.pdground,correctLevel:e.lv,image:e.icon,imageSize:e.iconSize,cbResult:function(t){e._result(t)}})},_clearCode:function(){this._result(""),n.clear()},_saveCode:function(){var e=this;""!=this.result&&uni.saveImageToPhotosAlbum({filePath:e.result,success:function(){uni.showToast({title:"\u4e8c\u7ef4\u7801\u4fdd\u5b58\u6210\u529f",icon:"success",duration:2e3})}})},_result:function(e){this.result=e,this.$emit("result",e)},_empty:function(e){var t=typeof e,r=!1;return"number"==t&&""==String(e)||"undefined"==t?r=!0:"object"==t?"{}"!=JSON.stringify(e)&&"[]"!=JSON.stringify(e)&&null!=e||(r=!0):"string"==t?""!=e&&"undefined"!=e&&"null"!=e&&"{}"!=e&&"[]"!=e||(r=!0):"function"==t&&(r=!1),r}},watch:{size:function(e,t){var r=this;e==t||this._empty(e)||(this.cSize=e,this._empty(this.val)||setTimeout((function(){r._makeCode()}),100))},val:function(e,t){var r=this;this.onval&&(e==t||this._empty(e)||setTimeout((function(){r._makeCode()}),0))}},computed:{cpSize:function(){return"upx"==this.unit?uni.upx2px(this.size):this.size}},mounted:function(){var e=this;this.loadMake&&(this._empty(this.val)||setTimeout((function(){e._makeCode()}),0))}};t.default=o},"0cd5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pbkdf2=a;var n=r("ecb6"),i=r("5639");function a(e,t,r,a,o){var s;e=(0,n.arrayify)(e),t=(0,n.arrayify)(t);var u,c,l=1,f=new Uint8Array(a),d=new Uint8Array(t.length+4);d.set(t);for(var h=1;h<=l;h++){d[t.length]=h>>24&255,d[t.length+1]=h>>16&255,d[t.length+2]=h>>8&255,d[t.length+3]=255&h;var p=(0,n.arrayify)((0,i.computeHmac)(o,e,d));s||(s=p.length,c=new Uint8Array(s),l=Math.ceil(a/s),u=a-(l-1)*s),c.set(p);for(var v=1;v1?t-1:0),n=1;n1){var c=s.pop();u=s.join("---COMMA---"),0===c.indexOf(" at ")?u+=c:u+="---COMMA---"+c}else u=s[0];console[o](u)}r.r(t),r.d(t,"log",(function(){return o})),r.d(t,"default",(function(){return s}))},"0e7b":function(e,t){e.exports="/static/tongyonh/arrow-up-leftp.png"},"0ea2":function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"0f1c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAddress=b,t.isAddress=y,t.getIcapAddress=w,t.getContractAddress=_,t.getCreate2Address=k;var n=r("ecb6"),i=r("846b"),a=r("183c"),o=r("467a"),s=r("20ed"),u=r("2f20"),c=new s.Logger(u.version);function l(e){(0,n.isHexString)(e,20)||c.throwArgumentError("invalid address","address",e),e=e.toLowerCase();for(var t=e.substring(2).split(""),r=new Uint8Array(40),i=0;i<40;i++)r[i]=t[i].charCodeAt(0);for(var o=(0,n.arrayify)((0,a.keccak256)(r)),s=0;s<40;s+=2)o[s>>1]>>4>=8&&(t[s]=t[s].toUpperCase()),(15&o[s>>1])>=8&&(t[s+1]=t[s+1].toUpperCase());return"0x"+t.join("")}var f=9007199254740991;function d(e){return Math.log10?Math.log10(e):Math.log(e)/Math.LN10}for(var h={},p=0;p<10;p++)h[String(p)]=String(p);for(var v=0;v<26;v++)h[String.fromCharCode(65+v)]=String(10+v);var m=Math.floor(d(f));function g(e){e=e.toUpperCase(),e=e.substring(4)+e.substring(0,2)+"00";var t=e.split("").map((function(e){return h[e]})).join("");while(t.length>=m){var r=t.substring(0,m);t=parseInt(r,10)%97+t.substring(r.length)}var n=String(98-parseInt(t,10)%97);while(n.length<2)n="0"+n;return n}function b(e){var t=null;if("string"!==typeof e&&c.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),t=l(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&c.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){e.substring(2,4)!==g(e)&&c.throwArgumentError("bad icap checksum","address",e),t=(0,i._base36To16)(e.substring(4));while(t.length<40)t="0"+t;t=l("0x"+t)}else c.throwArgumentError("invalid address","address",e);return t}function y(e){try{return b(e),!0}catch(t){}return!1}function w(e){var t=(0,i._base16To36)(b(e).substring(2)).toUpperCase();while(t.length<30)t="0"+t;return"XE"+g("XE00"+t)+t}function _(e){var t=null;try{t=b(e.from)}catch(s){c.throwArgumentError("missing from address","transaction",e)}var r=(0,n.stripZeros)((0,n.arrayify)(i.BigNumber.from(e.nonce).toHexString()));return b((0,n.hexDataSlice)((0,a.keccak256)((0,o.encode)([t,r])),12))}function k(e,t,r){return 32!==(0,n.hexDataLength)(t)&&c.throwArgumentError("salt must be 32 bytes","salt",t),32!==(0,n.hexDataLength)(r)&&c.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",r),b((0,n.hexDataSlice)((0,a.keccak256)((0,n.concat)(["0xff",b(e),t,r])),12))}},"0f2c":function(e,t,r){var n=r("2aee"),i=r("f460"),a=r("83d5"),o=r("399f"),s=r("a958"),u=r("98e6"),c=r("5291"),l=r("8707").Buffer;function f(e,t){var r=e.modulus.byteLength(),n=u("sha1").update(l.alloc(0)).digest(),o=n.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,o+1),c=t.slice(o+1),f=a(s,i(c,o)),d=a(c,i(f,r-o-1));if(h(n,d.slice(0,o)))throw new Error("decryption error");var p=o;while(0===d[p])p++;if(1!==d[p++])throw new Error("decryption error");return d.slice(p)}function d(e,t,r){var n=t.slice(0,2),i=2,a=0;while(0!==t[i++])if(i>=t.length){a++;break}var o=t.slice(2,i-1);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&a++,o.length<8&&a++,a)throw new Error("decryption error");return t.slice(i)}function h(e,t){e=l.from(e),t=l.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var i=-1;while(++ih||new o(t).cmp(u.modulus)>=0)throw new Error("decryption error");a=r?c(new o(t),u):s(t,u);var p=l.alloc(h-a.length);if(a=l.concat([p,a],h),4===i)return f(u,a);if(1===i)return d(u,a,r);if(3===i)return a;throw new Error("unknown padding")}},"0f48":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r("5a80"),i=r("5a80"),a=r("3efa"),o=r("6bda"),s=e.from("aa21a9ed","hex");function u(e){var t=n.compile(e);return t.length>37&&t[0]===i.OPS.OP_RETURN&&36===t[1]&&t.slice(2,6).equals(s)}function c(t){o(a.Hash256bit,t);var r=e.allocUnsafe(36);return s.copy(r,0),t.copy(r,4),n.compile([i.OPS.OP_RETURN,r])}function l(e){return o(u,e),n.decompile(e)[1].slice(4,36)}t.check=u,u.toJSON=function(){return"Witness commitment output"},t.encode=c,t.decode=l}).call(this,r("b639").Buffer)},"0f54":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e["UNSIGNED_TX"]=0]="UNSIGNED_TX",e[e["GLOBAL_XPUB"]=1]="GLOBAL_XPUB"}(t.GlobalTypes||(t.GlobalTypes={})),t.GLOBAL_TYPE_NAMES=["unsignedTx","globalXpub"],function(e){e[e["NON_WITNESS_UTXO"]=0]="NON_WITNESS_UTXO",e[e["WITNESS_UTXO"]=1]="WITNESS_UTXO",e[e["PARTIAL_SIG"]=2]="PARTIAL_SIG",e[e["SIGHASH_TYPE"]=3]="SIGHASH_TYPE",e[e["REDEEM_SCRIPT"]=4]="REDEEM_SCRIPT",e[e["WITNESS_SCRIPT"]=5]="WITNESS_SCRIPT",e[e["BIP32_DERIVATION"]=6]="BIP32_DERIVATION",e[e["FINAL_SCRIPTSIG"]=7]="FINAL_SCRIPTSIG",e[e["FINAL_SCRIPTWITNESS"]=8]="FINAL_SCRIPTWITNESS",e[e["POR_COMMITMENT"]=9]="POR_COMMITMENT"}(t.InputTypes||(t.InputTypes={})),t.INPUT_TYPE_NAMES=["nonWitnessUtxo","witnessUtxo","partialSig","sighashType","redeemScript","witnessScript","bip32Derivation","finalScriptSig","finalScriptWitness","porCommitment"],function(e){e[e["REDEEM_SCRIPT"]=0]="REDEEM_SCRIPT",e[e["WITNESS_SCRIPT"]=1]="WITNESS_SCRIPT",e[e["BIP32_DERIVATION"]=2]="BIP32_DERIVATION"}(t.OutputTypes||(t.OutputTypes={})),t.OUTPUT_TYPE_NAMES=["redeemScript","witnessScript","bip32Derivation"]},"0f93":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default,uMask:r("0610").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",[n("navigation",{attrs:{showBack:!0,bgnum:!0,_i:1}},[n("text",{staticClass:e._$s(2,"sc","big_title"),attrs:{_i:2}},[e._v(e._$s(2,"t0-0",e._s(e.i18n.Transactiondetails)))])]),n("view",{staticClass:e._$s(3,"sc","main"),attrs:{_i:3}},[n("view",{staticClass:e._$s(4,"sc","main_con"),attrs:{_i:4}},[n("view",{staticClass:e._$s(5,"sc","yuan"),attrs:{_i:5}},[n("image",{staticClass:e._$s(6,"sc","img1"),attrs:{src:e._$s(6,"a-src",r("a0b8")),_i:6}})]),n("view",{staticClass:e._$s(7,"sc","title"),attrs:{_i:7}},[e._v(e._$s(7,"t0-0",e._s(e.i18n.Confirmed)))]),n("view",{staticClass:e._$s(8,"sc","scroll"),attrs:{_i:8}},[n("view",{staticClass:e._$s(9,"sc","title_con flex"),attrs:{_i:9}},[n("view",{staticClass:e._$s(10,"sc","text1"),attrs:{_i:10}},[e._v(e._$s(10,"t0-0",e._s(e.i18n.Amount)))]),n("view",{staticClass:e._$s(11,"sc","text1"),attrs:{_i:11}},[e._v(e._$s(11,"t0-0",e._s(e.info.amount))+e._$s(11,"t0-1",e._s(e.info.coin)))])]),n("view",{staticClass:e._$s(12,"sc","title_con flex"),attrs:{_i:12}},[n("view",{staticClass:e._$s(13,"sc","text1"),attrs:{_i:13}},[e._v(e._$s(13,"t0-0",e._s(e.i18n.Time)))]),n("view",{staticClass:e._$s(14,"sc","text2"),attrs:{_i:14}},[e._v(e._$s(14,"t0-0",e._s(e.info.transactionTime)))])]),n("view",{staticClass:e._$s(15,"sc","title_con flex"),attrs:{_i:15}},[n("view",{staticClass:e._$s(16,"sc","text2"),attrs:{_i:16}},[e._v(e._$s(16,"t0-0",e._s(e.i18n.TxFee)))]),n("view",{staticClass:e._$s(17,"sc","text2"),attrs:{_i:17}},[e._v(e._$s(17,"t0-0",e._s(e.info.fee))+e._$s(17,"t0-1",e._s(e.info.chainName)))])]),n("view",{staticClass:e._$s(18,"sc","item"),attrs:{_i:18}},[n("view",{staticClass:e._$s(19,"sc","text1"),attrs:{_i:19}},[e._v(e._$s(19,"t0-0",e._s(e.i18n.TransactionID)))]),n("view",{staticClass:e._$s(20,"sc","text2"),attrs:{_i:20}},[e._v(e._$s(20,"t0-0",e._s(e.info.txid))),n("image",{staticClass:e._$s(21,"sc","img"),attrs:{src:e._$s(21,"a-src",r("1650")),_i:21},on:{click:function(t){return e.copyTextMethod(e.info.txid)}}})])]),n("view",{staticClass:e._$s(22,"sc","item"),attrs:{_i:22}},[n("view",{staticClass:e._$s(23,"sc","text1"),attrs:{_i:23}},[e._v(e._$s(23,"t0-0",e._s(e.i18n.Sendaddress))),e._$s(24,"i",e.isIn)?n("text",[e._v(e._$s(24,"t0-0",e._s(e.i18n.others)))]):n("text",[e._v(e._$s(25,"t0-0",e._s(e.i18n.me)))])]),n("view",{staticClass:e._$s(26,"sc","text2"),attrs:{_i:26}},[e._v(e._$s(26,"t0-0",e._s(e.info.fromAddress))),n("image",{staticClass:e._$s(27,"sc","img"),attrs:{src:e._$s(27,"a-src",r("1650")),_i:27},on:{click:function(t){return e.copyTextMethod(e.info.fromAddress)}}})])]),n("view",{staticClass:e._$s(28,"sc","item"),attrs:{_i:28}},[n("view",{staticClass:e._$s(29,"sc","text1"),attrs:{_i:29}},[e._v(e._$s(29,"t0-0",e._s(e.i18n.Receivingaddress))),e._$s(30,"i",e.isIn)?n("text",[e._v(e._$s(30,"t0-0",e._s(e.i18n.me)))]):n("text",[e._v(e._$s(31,"t0-0",e._s(e.i18n.others)))])]),n("view",{staticClass:e._$s(32,"sc","text2"),attrs:{_i:32}},[e._v(e._$s(32,"t0-0",e._s(e.info.toAddress))),n("image",{staticClass:e._$s(33,"sc","img"),attrs:{src:e._$s(33,"a-src",r("1650")),_i:33},on:{click:function(t){return e.copyTextMethod(e.info.toAddress)}}})])])]),n("view",{staticClass:e._$s(34,"sc","item goto"),attrs:{_i:34},on:{click:e.toDetail}},[e._v(e._$s(34,"t0-0",e._s(e.i18n.moreinformation)))])]),n("u-mask",{attrs:{show:e.show,"z-index":"10",_i:35}})],1)],1)},a=[]},"0f9f":function(e,t,r){"use strict";r.r(t);var n=r("2437"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"0fe2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloudflareProvider=void 0;var n=s(r("a34a")),i=r("3d6d"),a=r("20ed"),o=r("9684");function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;ro)throw new RangeError("requested too many random bytes");var r=u.allocUnsafe(e);if(e>0)if(e>a)for(var n=0;n21)throw new TypeError(e+" is too long");var r=t.readUInt8(0),n=t.slice(1);return{version:r,hash:n}}function f(t){var r=s.decode(t),n=s.fromWords(r.words.slice(1));return{version:r.words[0],prefix:r.prefix,data:e.from(n)}}function d(t,r){c(o.tuple(o.Hash160bit,o.UInt8),arguments);var n=e.allocUnsafe(21);return n.writeUInt8(r,0),t.copy(n,1),u.encode(n)}function h(e,t,r){var n=s.toWords(e);return n.unshift(t),s.encode(r,n)}function p(e,t){t=t||n.bitcoin;try{return i.p2pkh({output:e,network:t}).address}catch(r){}try{return i.p2sh({output:e,network:t}).address}catch(r){}try{return i.p2wpkh({output:e,network:t}).address}catch(r){}try{return i.p2wsh({output:e,network:t}).address}catch(r){}throw new Error(a.toASM(e)+" has no matching Address")}function v(e,t){var r,a;t=t||n.bitcoin;try{r=l(e)}catch(o){}if(r){if(r.version===t.pubKeyHash)return i.p2pkh({hash:r.hash}).output;if(r.version===t.scriptHash)return i.p2sh({hash:r.hash}).output}else{try{a=f(e)}catch(o){}if(a){if(a.prefix!==t.bech32)throw new Error(e+" has an invalid prefix");if(0===a.version){if(20===a.data.length)return i.p2wpkh({hash:a.data}).output;if(32===a.data.length)return i.p2wsh({hash:a.data}).output}}}throw new Error(e+" has no matching Script")}t.fromBase58Check=l,t.fromBech32=f,t.toBase58Check=d,t.toBech32=h,t.fromOutputScript=p,t.toOutputScript=v}).call(this,r("b639").Buffer)},1298:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","maintoP"),attrs:{_i:0}},[n("navigation",{staticClass:e._$s(1,"sc","aaa"),attrs:{showBack:!1,bgnum:!0,_i:1}},[n("image",{staticClass:e._$s(2,"sc","back"),attrs:{src:e._$s(2,"a-src",r("6a29")),_i:2},on:{click:function(t){return e.back()}}}),n("image",{staticClass:e._$s(3,"sc","renYou2"),attrs:{src:e._$s(3,"a-src",r("dfd0")),_i:3},on:{click:e.goAdd},slot:"logo"}),n("text",{staticClass:e._$s(4,"sc","big_title"),attrs:{_i:4}},[e._v(e._$s(4,"t0-0",e._s(e.item.projectName)))])]),n("view",{staticClass:e._$s(5,"sc","main"),attrs:{_i:5}},e._l(e._$s(6,"f",{forItems:e.result}),(function(t,i,a,o){return n("view",{key:e._$s(6,"f",{forIndex:a,key:i}),staticClass:e._$s("6-"+o,"sc","item"),attrs:{_i:"6-"+o}},[n("view",{staticClass:e._$s("7-"+o,"sc","top"),attrs:{_i:"7-"+o}},[n("image",{staticClass:e._$s("8-"+o,"sc","img"),attrs:{src:e._$s("8-"+o,"a-src",e.wallet.coinList[0].icon),_i:"8-"+o}}),e._v(e._$s("7-"+o,"t1-0",e._s(t.address))),n("image",{staticClass:e._$s("9-"+o,"sc","img lfet"),attrs:{src:e._$s("9-"+o,"a-src",r("acf3")),_i:"9-"+o},on:{click:function(t){return e.goDetail(i)}}})]),n("view",{staticClass:e._$s("10-"+o,"sc","top"),attrs:{_i:"10-"+o}},[n("text",{staticClass:e._$s("11-"+o,"sc","textleft"),attrs:{_i:"11-"+o}},[e._v(e._$s("11-"+o,"t0-0",e._s(e.i18n.Contracts)))]),e._v(e._$s("10-"+o,"t1-0",e._s(t.contract)))]),n("view",{staticClass:e._$s("12-"+o,"sc","top"),attrs:{_i:"12-"+o}},[n("text",{staticClass:e._$s("13-"+o,"sc","textleft texttt"),attrs:{_i:"13-"+o}},[e._v(e._$s("13-"+o,"t0-0",e._s(e.i18n.ID)))]),e._v(e._$s("12-"+o,"t1-0",e._s(t.tonkenId)))])])})),0)],1)},a=[]},"12a7":function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0))return!0;for(var t=0,r=this._supportedHardforks;t=i},e.prototype.activeOnBlock=function(e,t){return this.hardforkIsActiveOnBlock(null,e,t)},e.prototype.hardforkGteHardfork=function(e,t,r){r=void 0!==r?r:{};var n,i=void 0!==r.onlyActive&&r.onlyActive;e=this._chooseHardfork(e,r.onlySupported),n=i?this.activeHardforks(null,r):this.hardforks();for(var a=-1,o=-1,s=0,u=0,c=n;u=o},e.prototype.gteHardfork=function(e,t){return this.hardforkGteHardfork(null,e,t)},e.prototype.hardforkIsActiveOnChain=function(e,t){t=void 0!==t?t:{};var r=void 0!==t.onlySupported&&t.onlySupported;e=this._chooseHardfork(e,r);for(var n=0,i=this.hardforks();n0)return r[r.length-1]["name"];throw new Error("No (supported) active hardfork found")},e.prototype.hardforkBlock=function(e){return e=this._chooseHardfork(e,!1),this._getHardfork(e)["block"]},e.prototype.isHardforkBlock=function(e,t){return t=this._chooseHardfork(t,!1),this.hardforkBlock(t)===e},e.prototype.consensus=function(e){return e=this._chooseHardfork(e),this._getHardfork(e)["consensus"]},e.prototype.finality=function(e){return e=this._chooseHardfork(e),this._getHardfork(e)["finality"]},e.prototype.genesis=function(){return this._chainParams["genesis"]},e.prototype.hardforks=function(){return this._chainParams["hardforks"]},e.prototype.bootstrapNodes=function(){return this._chainParams["bootstrapNodes"]},e.prototype.hardfork=function(){return this._hardfork},e.prototype.chainId=function(){return this._chainParams["chainId"]},e.prototype.chainName=function(){return i.chains["names"][this.chainId()]||this._chainParams["name"]},e.prototype.networkId=function(){return this._chainParams["networkId"]},e}();t.default=o},"12bb":function(e,t,r){"use strict";r.r(t);var n=r("18bc"),i=r("893b");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);var o,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"63c22e0c",null,!1,n["a"],o);t["default"]=u.exports},"12c5":function(e,t,r){
+(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{0:function(e,t){},"00c8":function(e,t,r){(function(n){var i;(function(a){"use strict";var o,s=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,u=Math.ceil,c=Math.floor,l="[BigNumber Error] ",f=l+"Number primitive has more than 15 significant digits: ",d=1e14,h=14,p=9007199254740991,v=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],m=1e7,b=1e9;function g(e){var t,r,i,a=$.prototype={constructor:$,toString:null,valueOf:null},o=new $(1),E=20,C=4,P=-7,T=21,O=-1e7,I=1e7,j=!1,B=1,N=0,R={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},M="0123456789abcdefghijklmnopqrstuvwxyz";function $(e,t){var n,a,o,u,l,d,v,m,b=this;if(!(b instanceof $))return new $(e,t);if(null==t){if(e&&!0===e._isBigNumber)return b.s=e.s,void(!e.c||e.e>I?b.c=b.e=null:e.e=10;l/=10,u++);return void(u>I?b.c=b.e=null:(b.e=u,b.c=[e]))}m=String(e)}else{if(!s.test(m=String(e)))return i(b,m,d);b.s=45==m.charCodeAt(0)?(m=m.slice(1),-1):1}(u=m.indexOf("."))>-1&&(m=m.replace(".","")),(l=m.search(/e/i))>0?(u<0&&(u=l),u+=+m.slice(l+1),m=m.substring(0,l)):u<0&&(u=m.length)}else{if(k(t,2,M.length,"Base"),10==t)return b=new $(e),D(b,E+b.e+1,C);if(m=String(e),d="number"==typeof e){if(0*e!=0)return i(b,m,d,t);if(b.s=1/e<0?(m=m.slice(1),-1):1,$.DEBUG&&m.replace(/^0\.0*|\./,"").length>15)throw Error(f+e)}else b.s=45===m.charCodeAt(0)?(m=m.slice(1),-1):1;for(n=M.slice(0,t),u=l=0,v=m.length;lu){u=v;continue}}else if(!o&&(m==m.toUpperCase()&&(m=m.toLowerCase())||m==m.toLowerCase()&&(m=m.toUpperCase()))){o=!0,l=-1,u=0;continue}return i(b,String(e),d,t)}d=!1,m=r(m,t,10,b.s),(u=m.indexOf("."))>-1?m=m.replace(".",""):u=m.length}for(l=0;48===m.charCodeAt(l);l++);for(v=m.length;48===m.charCodeAt(--v););if(m=m.slice(l,++v)){if(v-=l,d&&$.DEBUG&&v>15&&(e>p||e!==c(e)))throw Error(f+b.s*e);if((u=u-l-1)>I)b.c=b.e=null;else if(u=T)?S(u,o):A(u,o,"0");else if(e=D(new $(e),t,r),a=e.e,u=w(e.c),s=u.length,1==n||2==n&&(t<=a||a<=P)){for(;ss){if(--t>0)for(u+=".";t--;u+="0");}else if(t+=a-s,t>0)for(a+1==s&&(u+=".");t--;u+="0");return e.s<0&&i?"-"+u:u}function F(e,t){for(var r,n=1,i=new $(e[0]);n=10;i/=10,n++);return(r=n+r*h-1)>I?e.c=e.e=null:r=10;s/=10,i++);if(a=t-i,a<0)a+=h,o=t,l=m[f=0],p=l/b[i-o-1]%10|0;else if(f=u((a+1)/h),f>=m.length){if(!n)break e;for(;m.length<=f;m.push(0));l=p=0,i=1,a%=h,o=a-h+1}else{for(l=s=m[f],i=1;s>=10;s/=10,i++);a%=h,o=a-h+i,p=o<0?0:l/b[i-o-1]%10|0}if(n=n||t<0||null!=m[f+1]||(o<0?l:l%b[i-o-1]),n=r<4?(p||n)&&(0==r||r==(e.s<0?3:2)):p>5||5==p&&(4==r||n||6==r&&(a>0?o>0?l/b[i-o]:0:m[f-1])%10&1||r==(e.s<0?8:7)),t<1||!m[0])return m.length=0,n?(t-=e.e+1,m[0]=b[(h-t%h)%h],e.e=-t||0):m[0]=e.e=0,e;if(0==a?(m.length=f,s=1,f--):(m.length=f+1,s=b[h-a],m[f]=o>0?c(l/b[i-o]%b[o])*s:0),n)for(;;){if(0==f){for(a=1,o=m[0];o>=10;o/=10,a++);for(o=m[0]+=s,s=1;o>=10;o/=10,s++);a!=s&&(e.e++,m[0]==d&&(m[0]=1));break}if(m[f]+=s,m[f]!=d)break;m[f--]=0,s=1}for(a=m.length;0===m[--a];m.pop());}e.e>I?e.c=e.e=null:e.e=T?S(t,r):A(t,r,"0"),e.s<0?"-"+t:t)}return $.clone=g,$.ROUND_UP=0,$.ROUND_DOWN=1,$.ROUND_CEIL=2,$.ROUND_FLOOR=3,$.ROUND_HALF_UP=4,$.ROUND_HALF_DOWN=5,$.ROUND_HALF_EVEN=6,$.ROUND_HALF_CEIL=7,$.ROUND_HALF_FLOOR=8,$.EUCLID=9,$.config=$.set=function(e){var t,r;if(null!=e){if("object"!=typeof e)throw Error(l+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(r=e[t],k(r,0,b,t),E=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(r=e[t],k(r,0,8,t),C=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&(r=e[t],r&&r.pop?(k(r[0],-b,0,t),k(r[1],0,b,t),P=r[0],T=r[1]):(k(r,-b,b,t),P=-(T=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if(r=e[t],r&&r.pop)k(r[0],-b,-1,t),k(r[1],1,b,t),O=r[0],I=r[1];else{if(k(r,-b,b,t),!r)throw Error(l+t+" cannot be zero: "+r);O=-(I=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if(r=e[t],r!==!!r)throw Error(l+t+" not true or false: "+r);if(r){if("undefined"==typeof n||!n||!n.getRandomValues&&!n.randomBytes)throw j=!r,Error(l+"crypto unavailable");j=r}else j=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(r=e[t],k(r,0,9,t),B=r),e.hasOwnProperty(t="POW_PRECISION")&&(r=e[t],k(r,0,b,t),N=r),e.hasOwnProperty(t="FORMAT")){if(r=e[t],"object"!=typeof r)throw Error(l+t+" not an object: "+r);R=r}if(e.hasOwnProperty(t="ALPHABET")){if(r=e[t],"string"!=typeof r||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(l+t+" invalid: "+r);M=r}}return{DECIMAL_PLACES:E,ROUNDING_MODE:C,EXPONENTIAL_AT:[P,T],RANGE:[O,I],CRYPTO:j,MODULO_MODE:B,POW_PRECISION:N,FORMAT:R,ALPHABET:M}},$.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!$.DEBUG)return!0;var t,r,n=e.c,i=e.e,a=e.s;e:if("[object Array]"=={}.toString.call(n)){if((1===a||-1===a)&&i>=-b&&i<=b&&i===c(i)){if(0===n[0]){if(0===i&&1===n.length)return!0;break e}if(t=(i+1)%h,t<1&&(t+=h),String(n[0]).length==t){for(t=0;t=d||r!==c(r))break e;if(0!==r)return!0}}}else if(null===n&&null===i&&(null===a||1===a||-1===a))return!0;throw Error(l+"Invalid BigNumber: "+e)},$.maximum=$.max=function(){return F(arguments,a.lt)},$.minimum=$.min=function(){return F(arguments,a.gt)},$.random=function(){var e=9007199254740992,t=Math.random()*e&2097151?function(){return c(Math.random()*e)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(e){var r,i,a,s,f,d=0,p=[],m=new $(o);if(null==e?e=E:k(e,0,b),s=u(e/h),j)if(n.getRandomValues){for(r=n.getRandomValues(new Uint32Array(s*=2));d>>11),f>=9e15?(i=n.getRandomValues(new Uint32Array(2)),r[d]=i[0],r[d+1]=i[1]):(p.push(f%1e14),d+=2);d=s/2}else{if(!n.randomBytes)throw j=!1,Error(l+"crypto unavailable");for(r=n.randomBytes(s*=7);d=9e15?n.randomBytes(7).copy(r,d):(p.push(f%1e14),d+=7);d=s/7}if(!j)for(;d=10;f/=10,d++);dr-1&&(null==o[i+1]&&(o[i+1]=0),o[i+1]+=o[i]/r|0,o[i]%=r)}return o.reverse()}return function(n,i,a,o,s){var u,c,l,f,d,h,p,v,m=n.indexOf("."),b=E,g=C;for(m>=0&&(f=N,N=0,n=n.replace(".",""),v=new $(i),h=v.pow(n.length-m),N=f,v.c=r(A(w(h.c),h.e,"0"),10,a,e),v.e=v.c.length),p=r(n,i,a,s?(u=M,e):(u=e,M)),l=f=p.length;0==p[--f];p.pop());if(!p[0])return u.charAt(0);if(m<0?--l:(h.c=p,h.e=l,h.s=o,h=t(h,v,b,g,a),p=h.c,d=h.r,l=h.e),c=l+b+1,m=p[c],f=a/2,d=d||c<0||null!=p[c+1],d=g<4?(null!=m||d)&&(0==g||g==(h.s<0?3:2)):m>f||m==f&&(4==g||d||6==g&&1&p[c-1]||g==(h.s<0?8:7)),c<1||!p[0])n=d?A(u.charAt(1),-b,u.charAt(0)):u.charAt(0);else{if(p.length=c,d)for(--a;++p[--c]>a;)p[c]=0,c||(++l,p=[1].concat(p));for(f=p.length;!p[--f];);for(m=0,n="";m<=f;n+=u.charAt(p[m++]));n=A(n,l,u.charAt(0))}return n}}(),t=function(){function e(e,t,r){var n,i,a,o,s=0,u=e.length,c=t%m,l=t/m|0;for(e=e.slice();u--;)a=e[u]%m,o=e[u]/m|0,n=l*a+o*c,i=c*a+n%m*m+s,s=(i/r|0)+(n/m|0)+l*o,e[u]=i%r;return s&&(e=[s].concat(e)),e}function t(e,t,r,n){var i,a;if(r!=n)a=r>n?1:-1;else for(i=a=0;it[i]?1:-1;break}return a}function r(e,t,r,n){for(var i=0;r--;)e[r]-=i,i=e[r]1;e.splice(0,1));}return function(n,i,a,o,s){var u,l,f,p,v,m,b,g,w,_,k,x,S,A,E,C,P,T=n.s==i.s?1:-1,O=n.c,I=i.c;if(!O||!O[0]||!I||!I[0])return new $(n.s&&i.s&&(O?!I||O[0]!=I[0]:I)?O&&0==O[0]||!I?0*T:T/0:NaN);for(g=new $(T),w=g.c=[],l=n.e-i.e,T=a+l+1,s||(s=d,l=y(n.e/h)-y(i.e/h),T=T/h|0),f=0;I[f]==(O[f]||0);f++);if(I[f]>(O[f]||0)&&l--,T<0)w.push(1),p=!0;else{for(A=O.length,C=I.length,f=0,T+=2,v=c(s/(I[0]+1)),v>1&&(I=e(I,v,s),O=e(O,v,s),C=I.length,A=O.length),S=C,_=O.slice(0,C),k=_.length;k=s/2&&E++;do{if(v=0,u=t(I,_,C,k),u<0){if(x=_[0],C!=k&&(x=x*s+(_[1]||0)),v=c(x/E),v>1){v>=s&&(v=s-1),m=e(I,v,s),b=m.length,k=_.length;while(1==t(m,_,b,k))v--,r(m,C=10;T/=10,f++);D(g,a+(g.e=f+l*h-1)+1,o,p)}else g.e=l,g.r=+p;return g}}(),i=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(a,o,s,u){var c,f=s?o:o.replace(i,"");if(n.test(f))a.s=isNaN(f)?null:f<0?-1:1;else{if(!s&&(f=f.replace(e,(function(e,t,r){return c="x"==(r=r.toLowerCase())?16:"b"==r?2:8,u&&u!=c?e:t})),u&&(c=u,f=f.replace(t,"$1").replace(r,"0.$1")),o!=f))return new $(f,c);if($.DEBUG)throw Error(l+"Not a"+(u?" base "+u:"")+" number: "+o);a.s=null}a.c=a.e=null}}(),a.absoluteValue=a.abs=function(){var e=new $(this);return e.s<0&&(e.s=1),e},a.comparedTo=function(e,t){return _(this,new $(e,t))},a.decimalPlaces=a.dp=function(e,t){var r,n,i,a=this;if(null!=e)return k(e,0,b),null==t?t=C:k(t,0,8),D(new $(a),e+a.e+1,t);if(!(r=a.c))return null;if(n=((i=r.length-1)-y(this.e/h))*h,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},a.dividedBy=a.div=function(e,r){return t(this,new $(e,r),E,C)},a.dividedToIntegerBy=a.idiv=function(e,r){return t(this,new $(e,r),0,1)},a.exponentiatedBy=a.pow=function(e,t){var r,n,i,a,s,f,d,p,v,m=this;if(e=new $(e),e.c&&!e.isInteger())throw Error(l+"Exponent not an integer: "+z(e));if(null!=t&&(t=new $(t)),f=e.e>14,!m.c||!m.c[0]||1==m.c[0]&&!m.e&&1==m.c.length||!e.c||!e.c[0])return v=new $(Math.pow(+z(m),f?2-x(e):+z(e))),t?v.mod(t):v;if(d=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new $(NaN);n=!d&&m.isInteger()&&t.isInteger(),n&&(m=m.mod(t))}else{if(e.e>9&&(m.e>0||m.e<-1||(0==m.e?m.c[0]>1||f&&m.c[1]>=24e7:m.c[0]<8e13||f&&m.c[0]<=9999975e7)))return a=m.s<0&&x(e)?-0:0,m.e>-1&&(a=1/a),new $(d?1/a:a);N&&(a=u(N/h+2))}for(f?(r=new $(.5),d&&(e.s=1),p=x(e)):(i=Math.abs(+z(e)),p=i%2),v=new $(o);;){if(p){if(v=v.times(m),!v.c)break;a?v.c.length>a&&(v.c.length=a):n&&(v=v.mod(t))}if(i){if(i=c(i/2),0===i)break;p=i%2}else if(e=e.times(r),D(e,e.e+1,1),e.e>14)p=x(e);else{if(i=+z(e),0===i)break;p=i%2}m=m.times(m),a?m.c&&m.c.length>a&&(m.c.length=a):n&&(m=m.mod(t))}return n?v:(d&&(v=o.div(v)),t?v.mod(t):a?D(v,N,C,s):v)},a.integerValue=function(e){var t=new $(this);return null==e?e=C:k(e,0,8),D(t,t.e+1,e)},a.isEqualTo=a.eq=function(e,t){return 0===_(this,new $(e,t))},a.isFinite=function(){return!!this.c},a.isGreaterThan=a.gt=function(e,t){return _(this,new $(e,t))>0},a.isGreaterThanOrEqualTo=a.gte=function(e,t){return 1===(t=_(this,new $(e,t)))||0===t},a.isInteger=function(){return!!this.c&&y(this.e/h)>this.c.length-2},a.isLessThan=a.lt=function(e,t){return _(this,new $(e,t))<0},a.isLessThanOrEqualTo=a.lte=function(e,t){return-1===(t=_(this,new $(e,t)))||0===t},a.isNaN=function(){return!this.s},a.isNegative=function(){return this.s<0},a.isPositive=function(){return this.s>0},a.isZero=function(){return!!this.c&&0==this.c[0]},a.minus=function(e,t){var r,n,i,a,o=this,s=o.s;if(e=new $(e,t),t=e.s,!s||!t)return new $(NaN);if(s!=t)return e.s=-t,o.plus(e);var u=o.e/h,c=e.e/h,l=o.c,f=e.c;if(!u||!c){if(!l||!f)return l?(e.s=-t,e):new $(f?o:NaN);if(!l[0]||!f[0])return f[0]?(e.s=-t,e):new $(l[0]?o:3==C?-0:0)}if(u=y(u),c=y(c),l=l.slice(),s=u-c){for((a=s<0)?(s=-s,i=l):(c=u,i=f),i.reverse(),t=s;t--;i.push(0));i.reverse()}else for(n=(a=(s=l.length)<(t=f.length))?s:t,s=t=0;t0)for(;t--;l[r++]=0);for(t=d-1;n>s;){if(l[--n]=0;){for(r=0,p=x[i]%w,v=x[i]/w|0,o=u,a=i+o;a>i;)c=k[--o]%w,l=k[o]/w|0,s=v*c+l*p,c=p*c+s%w*w+b[a]+r,r=(c/g|0)+(s/w|0)+v*l,b[a--]=c%g;b[a]=r}return r?++n:b.splice(0,1),L(e,b,n)},a.negated=function(){var e=new $(this);return e.s=-e.s||null,e},a.plus=function(e,t){var r,n=this,i=n.s;if(e=new $(e,t),t=e.s,!i||!t)return new $(NaN);if(i!=t)return e.s=-t,n.minus(e);var a=n.e/h,o=e.e/h,s=n.c,u=e.c;if(!a||!o){if(!s||!u)return new $(i/0);if(!s[0]||!u[0])return u[0]?e:new $(s[0]?n:0*i)}if(a=y(a),o=y(o),s=s.slice(),i=a-o){for(i>0?(o=a,r=u):(i=-i,r=s),r.reverse();i--;r.push(0));r.reverse()}for(i=s.length,t=u.length,i-t<0&&(r=u,u=s,s=r,t=i),i=0;t;)i=(s[--t]=s[t]+u[t]+i)/d|0,s[t]=d===s[t]?0:s[t]%d;return i&&(s=[i].concat(s),++o),L(e,s,o)},a.precision=a.sd=function(e,t){var r,n,i,a=this;if(null!=e&&e!==!!e)return k(e,1,b),null==t?t=C:k(t,0,8),D(new $(a),e,t);if(!(r=a.c))return null;if(i=r.length-1,n=i*h+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return e&&a.e+1>n&&(n=a.e+1),n},a.shiftedBy=function(e){return k(e,-p,p),this.times("1e"+e)},a.squareRoot=a.sqrt=function(){var e,r,n,i,a,o=this,s=o.c,u=o.s,c=o.e,l=E+4,f=new $("0.5");if(1!==u||!s||!s[0])return new $(!u||u<0&&(!s||s[0])?NaN:s?o:1/0);if(u=Math.sqrt(+z(o)),0==u||u==1/0?(r=w(s),(r.length+c)%2==0&&(r+="0"),u=Math.sqrt(+r),c=y((c+1)/2)-(c<0||c%2),u==1/0?r="5e"+c:(r=u.toExponential(),r=r.slice(0,r.indexOf("e")+1)+c),n=new $(r)):n=new $(u+""),n.c[0])for(c=n.e,u=c+l,u<3&&(u=0);;)if(a=n,n=f.times(a.plus(t(o,a,l,1))),w(a.c).slice(0,u)===(r=w(n.c)).slice(0,u)){if(n.e0&&v>0){for(a=v%s||s,f=p.substr(0,a);a0&&(f+=c+p.slice(a)),h&&(f="-"+f)}n=d?f+(r.decimalSeparator||"")+((u=+r.fractionGroupSize)?d.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):d):f}return(r.prefix||"")+n+(r.suffix||"")},a.toFraction=function(e){var r,n,i,a,s,u,c,f,d,p,m,b,g=this,y=g.c;if(null!=e&&(c=new $(e),!c.isInteger()&&(c.c||1!==c.s)||c.lt(o)))throw Error(l+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+z(c));if(!y)return new $(g);for(r=new $(o),d=n=new $(o),i=f=new $(o),b=w(y),s=r.e=b.length-g.e-1,r.c[0]=v[(u=s%h)<0?h+u:u],e=!e||c.comparedTo(r)>0?s>0?r:d:c,u=I,I=1/0,c=new $(b),f.c[0]=0;;){if(p=t(c,r,0,1),a=n.plus(p.times(i)),1==a.comparedTo(e))break;n=i,i=a,d=f.plus(p.times(a=d)),f=a,r=c.minus(p.times(a=r)),c=a}return a=t(e.minus(n),i,0,1),f=f.plus(a.times(d)),n=n.plus(a.times(i)),f.s=d.s=g.s,s*=2,m=t(d,i,s,C).minus(g).abs().comparedTo(t(f,n,s,C).minus(g).abs())<1?[d,i]:[f,n],I=u,m},a.toNumber=function(){return+z(this)},a.toPrecision=function(e,t){return null!=e&&k(e,1,b),U(this,e,t,2)},a.toString=function(e){var t,n=this,i=n.s,a=n.e;return null===a?i?(t="Infinity",i<0&&(t="-"+t)):t="NaN":(null==e?t=a<=P||a>=T?S(w(n.c),a):A(w(n.c),a,"0"):10===e?(n=D(new $(n),E+a+1,C),t=A(w(n.c),n.e,"0")):(k(e,2,M.length,"Base"),t=r(A(w(n.c),a,"0"),10,e,i,!0)),i<0&&n.c[0]&&(t="-"+t)),t},a.valueOf=a.toJSON=function(){return z(this)},a._isBigNumber=!0,null!=e&&$.set(e),$}function y(e){var t=0|e;return e>0||e===t?t:t-1}function w(e){for(var t,r,n=1,i=e.length,a=e[0]+"";nc^r?1:-1;for(s=(u=i.length)<(c=a.length)?u:c,o=0;oa[o]^r?1:-1;return u==c?0:u>c^r?1:-1}function k(e,t,r,n){if(er||e!==c(e))throw Error(l+(n||"Argument")+("number"==typeof e?er?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function x(e){var t=e.c.length-1;return y(e.e/h)==t&&e.c[t]%2!=0}function S(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function A(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(n=e.length,++t>n){for(i=r,t-=n;--t;i+=r);e+=i}else t0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},i.prototype._pad=function(e,t){if(0===t)return!1;while(t1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,i.default)(t),a=(0,i.default)(e);return!!(a&&r&&a>r)}e.exports=t.default,e.exports.default=t.default},"0266":function(e){e.exports=JSON.parse('{"name":"chainstart","comment":"Start of the Ethereum main chain","eip":{"url":"","status":""},"status":"","gasConfig":{"minGasLimit":{"v":5000,"d":"Minimum the gas limit may ever be"},"gasLimitBoundDivisor":{"v":1024,"d":"The bound divisor of the gas limit, used in update calculations"}},"gasPrices":{"base":{"v":2,"d":"Gas base cost, used e.g. for ChainID opcode (Istanbul)"},"tierStep":{"v":[0,2,3,5,8,10,20],"d":"Once per operation, for a selection of them"},"exp":{"v":10,"d":"Once per EXP instuction"},"expByte":{"v":10,"d":"Times ceil(log256(exponent)) for the EXP instruction"},"sha3":{"v":30,"d":"Once per SHA3 operation"},"sha3Word":{"v":6,"d":"Once per word of the SHA3 operation\'s data"},"sload":{"v":50,"d":"Once per SLOAD operation"},"sstoreSet":{"v":20000,"d":"Once per SSTORE operation if the zeroness changes from zero"},"sstoreReset":{"v":5000,"d":"Once per SSTORE operation if the zeroness does not change from zero"},"sstoreRefund":{"v":15000,"d":"Once per SSTORE operation if the zeroness changes to zero"},"jumpdest":{"v":1,"d":"Refunded gas, once per SSTORE operation if the zeroness changes to zero"},"log":{"v":375,"d":"Per LOG* operation"},"logData":{"v":8,"d":"Per byte in a LOG* operation\'s data"},"logTopic":{"v":375,"d":"Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas"},"create":{"v":32000,"d":"Once per CREATE operation & contract-creation transaction"},"call":{"v":40,"d":"Once per CALL operation & message call transaction"},"callStipend":{"v":2300,"d":"Free gas given at beginning of call"},"callValueTransfer":{"v":9000,"d":"Paid for CALL when the value transfor is non-zero"},"callNewAccount":{"v":25000,"d":"Paid for CALL when the destination address didn\'t exist prior"},"selfdestructRefund":{"v":24000,"d":"Refunded following a selfdestruct operation"},"memory":{"v":3,"d":"Times the address of the (highest referenced byte in memory + 1). NOTE: referencing happens on read, write and in instructions such as RETURN and CALL"},"quadCoeffDiv":{"v":512,"d":"Divisor for the quadratic particle of the memory cost equation"},"createData":{"v":200,"d":""},"tx":{"v":21000,"d":"Per transaction. NOTE: Not payable on data of calls between transactions"},"txCreation":{"v":32000,"d":"The cost of creating a contract via tx"},"txDataZero":{"v":4,"d":"Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions"},"txDataNonZero":{"v":68,"d":"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"},"copy":{"v":3,"d":"Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added"},"ecRecover":{"v":3000,"d":""},"sha256":{"v":60,"d":""},"sha256Word":{"v":12,"d":""},"ripemd160":{"v":600,"d":""},"ripemd160Word":{"v":120,"d":""},"identity":{"v":15,"d":""},"identityWord":{"v":3,"d":""}},"vm":{"stackLimit":{"v":1024,"d":"Maximum size of VM stack allowed"},"callCreateDepth":{"v":1024,"d":"Maximum depth of call/create stack"},"maxExtraDataSize":{"v":32,"d":"Maximum size extra data may be after Genesis"}},"pow":{"minimumDifficulty":{"v":131072,"d":"The minimum that the difficulty may ever be"},"difficultyBoundDivisor":{"v":2048,"d":"The bound divisor of the difficulty, used in the update calculations"},"durationLimit":{"v":13,"d":"The decision boundary on the blocktime duration used to determine whether difficulty should go up or not"},"epochDuration":{"v":30000,"d":"Duration between proof-of-work epochs"},"timebombPeriod":{"v":100000,"d":"Exponential difficulty timebomb period"},"minerReward":{"v":"5000000000000000000","d":"the amount a miner get rewarded for mining a block"}},"casper":{},"sharding":{}}')},"02db":function(e,t){var r=[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];t.p1600=function(e){for(var t=0;t<24;++t){var n=e[0]^e[10]^e[20]^e[30]^e[40],i=e[1]^e[11]^e[21]^e[31]^e[41],a=e[2]^e[12]^e[22]^e[32]^e[42],o=e[3]^e[13]^e[23]^e[33]^e[43],s=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],c=e[6]^e[16]^e[26]^e[36]^e[46],l=e[7]^e[17]^e[27]^e[37]^e[47],f=e[8]^e[18]^e[28]^e[38]^e[48],d=e[9]^e[19]^e[29]^e[39]^e[49],h=f^(a<<1|o>>>31),p=d^(o<<1|a>>>31),v=e[0]^h,m=e[1]^p,b=e[10]^h,g=e[11]^p,y=e[20]^h,w=e[21]^p,_=e[30]^h,k=e[31]^p,x=e[40]^h,S=e[41]^p;h=n^(s<<1|u>>>31),p=i^(u<<1|s>>>31);var A=e[2]^h,E=e[3]^p,C=e[12]^h,P=e[13]^p,T=e[22]^h,O=e[23]^p,I=e[32]^h,j=e[33]^p,B=e[42]^h,N=e[43]^p;h=a^(c<<1|l>>>31),p=o^(l<<1|c>>>31);var R=e[4]^h,M=e[5]^p,$=e[14]^h,U=e[15]^p,F=e[24]^h,L=e[25]^p,D=e[34]^h,z=e[35]^p,H=e[44]^h,q=e[45]^p;h=s^(f<<1|d>>>31),p=u^(d<<1|f>>>31);var W=e[6]^h,K=e[7]^p,V=e[16]^h,G=e[17]^p,X=e[26]^h,J=e[27]^p,Y=e[36]^h,Z=e[37]^p,Q=e[46]^h,ee=e[47]^p;h=c^(n<<1|i>>>31),p=l^(i<<1|n>>>31);var te=e[8]^h,re=e[9]^p,ne=e[18]^h,ie=e[19]^p,ae=e[28]^h,oe=e[29]^p,se=e[38]^h,ue=e[39]^p,ce=e[48]^h,le=e[49]^p,fe=v,de=m,he=g<<4|b>>>28,pe=b<<4|g>>>28,ve=y<<3|w>>>29,me=w<<3|y>>>29,be=k<<9|_>>>23,ge=_<<9|k>>>23,ye=x<<18|S>>>14,we=S<<18|x>>>14,_e=A<<1|E>>>31,ke=E<<1|A>>>31,xe=P<<12|C>>>20,Se=C<<12|P>>>20,Ae=T<<10|O>>>22,Ee=O<<10|T>>>22,Ce=j<<13|I>>>19,Pe=I<<13|j>>>19,Te=B<<2|N>>>30,Oe=N<<2|B>>>30,Ie=M<<30|R>>>2,je=R<<30|M>>>2,Be=$<<6|U>>>26,Ne=U<<6|$>>>26,Re=L<<11|F>>>21,Me=F<<11|L>>>21,$e=D<<15|z>>>17,Ue=z<<15|D>>>17,Fe=q<<29|H>>>3,Le=H<<29|q>>>3,De=W<<28|K>>>4,ze=K<<28|W>>>4,He=G<<23|V>>>9,qe=V<<23|G>>>9,We=X<<25|J>>>7,Ke=J<<25|X>>>7,Ve=Y<<21|Z>>>11,Ge=Z<<21|Y>>>11,Xe=ee<<24|Q>>>8,Je=Q<<24|ee>>>8,Ye=te<<27|re>>>5,Ze=re<<27|te>>>5,Qe=ne<<20|ie>>>12,et=ie<<20|ne>>>12,tt=oe<<7|ae>>>25,rt=ae<<7|oe>>>25,nt=se<<8|ue>>>24,it=ue<<8|se>>>24,at=ce<<14|le>>>18,ot=le<<14|ce>>>18;e[0]=fe^~xe&Re,e[1]=de^~Se&Me,e[10]=De^~Qe&ve,e[11]=ze^~et&me,e[20]=_e^~Be&We,e[21]=ke^~Ne&Ke,e[30]=Ye^~he&Ae,e[31]=Ze^~pe&Ee,e[40]=Ie^~He&tt,e[41]=je^~qe&rt,e[2]=xe^~Re&Ve,e[3]=Se^~Me&Ge,e[12]=Qe^~ve&Ce,e[13]=et^~me&Pe,e[22]=Be^~We&nt,e[23]=Ne^~Ke&it,e[32]=he^~Ae&$e,e[33]=pe^~Ee&Ue,e[42]=He^~tt&be,e[43]=qe^~rt&ge,e[4]=Re^~Ve&at,e[5]=Me^~Ge&ot,e[14]=ve^~Ce&Fe,e[15]=me^~Pe&Le,e[24]=We^~nt&ye,e[25]=Ke^~it&we,e[34]=Ae^~$e&Xe,e[35]=Ee^~Ue&Je,e[44]=tt^~be&Te,e[45]=rt^~ge&Oe,e[6]=Ve^~at&fe,e[7]=Ge^~ot&de,e[16]=Ce^~Fe&De,e[17]=Pe^~Le&ze,e[26]=nt^~ye&_e,e[27]=it^~we&ke,e[36]=$e^~Xe&Ye,e[37]=Ue^~Je&Ze,e[46]=be^~Te&Ie,e[47]=ge^~Oe&je,e[8]=at^~fe&xe,e[9]=ot^~de&Se,e[18]=Fe^~De&Qe,e[19]=Le^~ze&et,e[28]=ye^~_e&Be,e[29]=we^~ke&Ne,e[38]=Xe^~Ye&he,e[39]=Je^~Ze&pe,e[48]=Te^~Ie&He,e[49]=Oe^~je&qe,e[0]^=r[2*t],e[1]^=r[2*t+1]}}},"032a":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r("0f54");function i(e){if(e.key[0]!==n.InputTypes.SIGHASH_TYPE)throw new Error("Decode Error: could not decode sighashType with key 0x"+e.key.toString("hex"));return e.value.readUInt32LE(0)}function a(t){var r=e.from([n.InputTypes.SIGHASH_TYPE]),i=e.allocUnsafe(4);return i.writeUInt32LE(t,0),{key:r,value:i}}function o(e){return"number"===typeof e}function s(e,t){return!!e&&!!t&&void 0===e.sighashType}t.decode=i,t.encode=a,t.expected="number",t.check=o,t.canAdd=s}).call(this,r("b639").Buffer)},"0378":function(e,t,r){"use strict";r.r(t);var n=r("0cb5"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"038d":function(e,t,r){"use strict";(function(e){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;rt)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}function l(e,t){var r=e.readUInt32LE(t),n=e.readUInt32LE(t+4);return n*=4294967296,c(n+r,9007199254740991),n+r}function f(e,t,r){return c(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8}function d(e){if(e.length<1)return e;for(var t=e.length-1,r=0,n=0;n1&&void 0!==arguments[1]?arguments[1]:0;n(this,e),this.buffer=t,this.offset=r,s(o.tuple(o.Buffer,o.UInt32),[t,r])}return a(e,[{key:"writeUInt8",value:function(e){this.offset=this.buffer.writeUInt8(e,this.offset)}},{key:"writeInt32",value:function(e){this.offset=this.buffer.writeInt32LE(e,this.offset)}},{key:"writeUInt32",value:function(e){this.offset=this.buffer.writeUInt32LE(e,this.offset)}},{key:"writeUInt64",value:function(e){this.offset=f(this.buffer,e,this.offset)}},{key:"writeVarInt",value:function(e){u.encode(e,this.buffer,this.offset),this.offset+=u.encode.bytes}},{key:"writeSlice",value:function(e){if(this.buffer.length1&&void 0!==arguments[1]?arguments[1]:0;n(this,e),this.buffer=t,this.offset=r,s(o.tuple(o.Buffer,o.UInt32),[t,r])}return a(e,[{key:"readUInt8",value:function(){var e=this.buffer.readUInt8(this.offset);return this.offset++,e}},{key:"readInt32",value:function(){var e=this.buffer.readInt32LE(this.offset);return this.offset+=4,e}},{key:"readUInt32",value:function(){var e=this.buffer.readUInt32LE(this.offset);return this.offset+=4,e}},{key:"readUInt64",value:function(){var e=l(this.buffer,this.offset);return this.offset+=8,e}},{key:"readVarInt",value:function(){var e=u.decode(this.buffer,this.offset);return this.offset+=u.decode.bytes,e}},{key:"readSlice",value:function(e){if(this.buffer.length>6!==2)break;o++}return o}return e===i.OVERRUN?r.length-t-1:0}function f(e,t,r,n,a){return e===i.OVERLONG?(n.push(a),0):(n.push(65533),l(e,t,r,n,a))}t.UnicodeNormalizationForm=n,function(e){e["current"]="",e["NFC"]="NFC",e["NFD"]="NFD",e["NFKC"]="NFKC",e["NFKD"]="NFKD"}(n||(t.UnicodeNormalizationForm=n={})),t.Utf8ErrorReason=i,function(e){e["UNEXPECTED_CONTINUE"]="unexpected continuation byte",e["BAD_PREFIX"]="bad codepoint prefix",e["OVERRUN"]="string overrun",e["MISSING_CONTINUE"]="missing continuation byte",e["OUT_OF_RANGE"]="out of UTF-8 range",e["UTF16_SURROGATE"]="UTF-16 surrogate",e["OVERLONG"]="overlong representation"}(i||(t.Utf8ErrorReason=i={}));var d=Object.freeze({error:c,ignore:l,replace:f});function h(e,t){null==t&&(t=d.error),e=(0,a.arrayify)(e);var r=[],n=0;while(n>7!==0){var s=null,u=null;if(192===(224&o))s=1,u=127;else if(224===(240&o))s=2,u=2047;else{if(240!==(248&o)){n+=t(128===(192&o)?i.UNEXPECTED_CONTINUE:i.BAD_PREFIX,n-1,e,r);continue}s=3,u=65535}if(n-1+s>=e.length)n+=t(i.OVERRUN,n-1,e,r);else{for(var c=o&(1<<8-s-1)-1,l=0;l1114111?n+=t(i.OUT_OF_RANGE,n-1-s,e,r,c):c>=55296&&c<=57343?n+=t(i.UTF16_SURROGATE,n-1-s,e,r,c):c<=u?n+=t(i.OVERLONG,n-1-s,e,r,c):r.push(c))}}else r.push(o)}return r}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.current;t!=n.current&&(u.checkNormalize(),e=e.normalize(t));for(var r=[],i=0;i>6|192),r.push(63&o|128);else if(55296==(64512&o)){i++;var s=e.charCodeAt(i);if(i>=e.length||56320!==(64512&s))throw new Error("invalid utf-8 string");var c=65536+((1023&o)<<10)+(1023&s);r.push(c>>18|240),r.push(c>>12&63|128),r.push(c>>6&63|128),r.push(63&c|128)}else r.push(o>>12|224),r.push(o>>6&63|128),r.push(63&o|128)}return(0,a.arrayify)(r)}function v(e){var t="0000"+e.toString(16);return"\\u"+t.substring(t.length-4)}function m(e,t){return'"'+h(e,t).map((function(e){if(e<256){switch(e){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(e>=32&&e<127)return String.fromCharCode(e)}return e<=65535?v(e):(e-=65536,v(55296+(e>>10&1023))+v(56320+(1023&e)))})).join("")+'"'}function b(e){return e.map((function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10&1023),56320+(1023&e)))})).join("")}function g(e,t){return b(h(e,t))}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.current;return h(p(e,t))}t.Utf8ErrorFuncs=d},"056e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0;var n="signing-key/5.5.0";t.version=n},"05ac":function(e,t){e.exports="/static/tongyonh/create_wallet.png"},"05b5":function(e,t,r){"use strict";r.r(t);var n=r("36be"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"05d4":function(e,t){e.exports="/static/tongyonh/x-circle.png"},"0610":function(e,t,r){"use strict";r.r(t);var n=r("6a33"),i=r("ea0f");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);var o,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"0d4c8696",null,!1,n["a"],o);t["default"]=u.exports},"064e":function(e,t,r){"use strict";var n=r("e2ad"),i=r("ddf5"),a=r("243a"),o=function(){var e=this;n.packageInit(this,arguments),[new i({name:"getId",call:"net_version",params:0,outputFormatter:parseInt}),new i({name:"isListening",call:"net_listening",params:0}),new i({name:"getPeerCount",call:"net_peerCount",params:0,outputFormatter:a.hexToNumber})].forEach((function(t){t.attachToObject(e),t.setRequestManager(e._requestManager)}))};n.addProviders(o),e.exports=o},"0676":function(e,t){function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=r},"06d2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[a-z]+\/[a-z0-9\-\+]+$/i,o=/^[a-z\-]+=[a-z0-9\-]+$/i,s=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;function u(e){(0,n.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),i=r.shift();if("data:"!==i.substr(0,5))return!1;var u=i.substr(5);if(""!==u&&!a.test(u))return!1;for(var c=0;c1&&void 0!==arguments[1]?arguments[1]:"all";(0,n.default)(e);var r=a[t];return r&&r.test(e)}e.exports=t.default,e.exports.default=t.default},"071e":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default,uRadioGroup:r("f6c7").default,uRadio:r("ff36").default},i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("view",[r("navigation",{attrs:{showBack:!0,bgnum:!0,_i:1}},[e._v(e._$s(1,"t0-0",e._s(e.i18n.curr2)))]),r("view",{staticClass:e._$s(2,"sc","main"),attrs:{_i:2}},[r("view",{staticClass:e._$s(3,"sc","main_con"),attrs:{_i:3}},[r("u-radio-group",{attrs:{_i:4},on:{change:e.radioGroupChange},model:{value:e._$s(4,"v-model",e.currency),callback:function(t){e.currency=t},expression:"currency"}},e._l(e._$s(5,"f",{forItems:e.list}),(function(t,n,i,a){return r("view",{key:e._$s(5,"f",{forIndex:i,key:n}),staticClass:e._$s("5-"+a,"sc","item flex"),attrs:{_i:"5-"+a},on:{click:function(t){return e.handove("en")}}},[r("view",{staticClass:e._$s("6-"+a,"sc","text1"),attrs:{_i:"6-"+a}},[e._v(e._$s("6-"+a,"t0-0",e._s(t.lang)))]),r("u-radio",{attrs:{name:t.name,disabled:t.disabled,"active-color":"#5B53FF",_i:"7-"+a},on:{change:e.radioChange}})],1)})),0),r("view",{staticClass:e._$s(8,"sc","select_btn"),attrs:{_i:8},on:{click:e.confirmCurrency}},[e._v(e._$s(8,"t0-0",e._s(e.i18n.langSelect)))])],1)])],1)},a=[]},"0758":function(e,t,r){"use strict";(function(e){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r127)a++,i.writeUIntLE(a,0,6),n=u.signWithEntropy(t,this.__D,i);return n}},{key:"verify",value:function(e,t){return u.verify(e,this.publicKey,t)}},{key:"privateKey",get:function(){return this.__D}},{key:"publicKey",get:function(){return this.__Q||(this.__Q=u.pointFromScalar(this.__D,this.compressed)),this.__Q}}]),t}();function p(e,t){if(l(s.Buffer256bit,e),!u.isPrivate(e))throw new TypeError("Private key not in range [1, n)");return l(d,t),new h(e,void 0,t)}function v(e,t){return l(u.isPoint,e),l(d,t),new h(void 0,e,t)}function m(e,t){var r=f.decode(e),n=r.version;if(s.Array(t)){if(t=t.filter((function(e){return n===e.wif})).pop(),!t)throw new Error("Unknown network version")}else if(t=t||o.bitcoin,n!==t.wif)throw new Error("Invalid network version");return p(r.privateKey,{compressed:r.compressed,network:t})}function b(e){l(d,e),void 0===e&&(e={});var t,r=e.rng||c;do{t=r(32),l(s.Buffer256bit,t)}while(!u.isPrivate(t));return p(t,e)}t.fromPrivateKey=p,t.fromPublicKey=v,t.fromWIF=m,t.makeRandom=b}).call(this,r("b639").Buffer)},"0769":function(e,t,r){"use strict";r.r(t);var n=r("a001"),i=r("b31d");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);var o,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"7a4a12cd",null,!1,n["a"],o);t["default"]=u.exports},"07f2":function(e,t,r){"use strict";var n=r("c3c0"),i=r("6eed");function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(a,i),e.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},"085b":function(e,t,r){"use strict";var n=r("3742"),i=r("107b").errors,a=r("ba10"),o=r("107b").formatters;function s(e){a.call(this),this.id=null,this.callback=n.identity,this.arguments=null,this.lastBlock=null,this.options={subscription:e.subscription,type:e.type,requestManager:e.requestManager}}s.prototype=Object.create(a.prototype),s.prototype.constructor=s,s.prototype._extractCallback=function(e){if(n.isFunction(e[e.length-1]))return e.pop()},s.prototype._validateArgs=function(e){var t=this.options.subscription;if(t||(t={}),t.params||(t.params=0),e.length!==t.params)throw i.InvalidNumberOfParams(e.length,t.params,t.subscriptionName)},s.prototype._formatInput=function(e){var t=this.options.subscription;if(!t)return e;if(!t.inputFormatter)return e;var r=t.inputFormatter.map((function(t,r){return t?t(e[r]):e[r]}));return r},s.prototype._formatOutput=function(e){var t=this.options.subscription;return t&&t.outputFormatter&&e?t.outputFormatter(e):e},s.prototype._toPayload=function(e){var t=[];if(this.callback=this._extractCallback(e)||n.identity,this.subscriptionMethod||(this.subscriptionMethod=e.shift(),this.options.subscription.subscriptionName&&(this.subscriptionMethod=this.options.subscription.subscriptionName)),this.arguments||(this.arguments=this._formatInput(e),this._validateArgs(this.arguments),e=[]),t.push(this.subscriptionMethod),t=t.concat(this.arguments),e.length)throw new Error("Only a callback is allowed as parameter on an already instantiated subscription.");return{method:this.options.type+"_subscribe",params:t}},s.prototype.unsubscribe=function(e){this.options.requestManager.removeSubscription(this.id,e),this.id=null,this.lastBlock=null,this.removeAllListeners()},s.prototype.subscribe=function(){var e=this,t=Array.prototype.slice.call(arguments),r=this._toPayload(t);if(!r)return this;if(!this.options.requestManager.provider)return setTimeout((function(){var t=new Error("No provider set.");e.callback(t,null,e),e.emit("error",t)}),0),this;if(!this.options.requestManager.provider.on)return setTimeout((function(){var t=new Error("The current provider doesn't support subscriptions: "+e.options.requestManager.provider.constructor.name);e.callback(t,null,e),e.emit("error",t)}),0),this;if(this.lastBlock&&n.isObject(this.options.params)&&(r.params[1]=this.options.params,r.params[1].fromBlock=o.inputBlockNumberFormatter(this.lastBlock+1)),this.id&&this.unsubscribe(),this.options.params=r.params[1],"logs"===r.params[0]&&n.isObject(r.params[1])&&r.params[1].hasOwnProperty("fromBlock")&&isFinite(r.params[1].fromBlock)){var i=Object.assign({},r.params[1]);this.options.requestManager.send({method:"eth_getLogs",params:[i]},(function(t,r){t?setTimeout((function(){e.callback(t,null,e),e.emit("error",t)}),0):r.forEach((function(t){var r=e._formatOutput(t);e.callback(null,r,e),e.emit("data",r)}))}))}return"object"===typeof r.params[1]&&delete r.params[1].fromBlock,this.options.requestManager.send(r,(function(t,i){!t&&i?(e.id=i,e.method=r.params[0],e.emit("connected",i),e.options.requestManager.addSubscription(e,(function(t,r){t?(e.callback(t,!1,e),e.emit("error",t)):(n.isArray(r)||(r=[r]),r.forEach((function(t){var r=e._formatOutput(t);if(e.lastBlock=n.isObject(r)?r.blockNumber:null,n.isFunction(e.options.subscription.subscriptionHandler))return e.options.subscription.subscriptionHandler.call(e,r);e.emit("data",r),e.callback(null,r,e)})))}))):setTimeout((function(){e.callback(t,!1,e),e.emit("error",t)}),0)})),this},s.prototype.resubscribe=function(){this.options.requestManager.removeSubscription(this.id),this.id=null,this.subscribe(this.callback)},e.exports=s},"087f":function(e,t,r){var n=r("3fb5"),i=r("b672"),a=r("8707").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function f(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,a=0|this._d,s=0|this._e,u=0;u<16;++u)t[u]=e.readInt32BE(4*u);for(;u<80;++u)t[u]=t[u-3]^t[u-8]^t[u-14]^t[u-16];for(var d=0;d<80;++d){var h=~~(d/20),p=c(r)+f(h,n,i,a)+s+t[d]+o[h]|0;s=a,a=i,i=l(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},u.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},"088f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AbiCoder",{enumerable:!0,get:function(){return n.AbiCoder}}),Object.defineProperty(t,"checkResultErrors",{enumerable:!0,get:function(){return n.checkResultErrors}}),Object.defineProperty(t,"ConstructorFragment",{enumerable:!0,get:function(){return n.ConstructorFragment}}),Object.defineProperty(t,"defaultAbiCoder",{enumerable:!0,get:function(){return n.defaultAbiCoder}}),Object.defineProperty(t,"ErrorFragment",{enumerable:!0,get:function(){return n.ErrorFragment}}),Object.defineProperty(t,"EventFragment",{enumerable:!0,get:function(){return n.EventFragment}}),Object.defineProperty(t,"FormatTypes",{enumerable:!0,get:function(){return n.FormatTypes}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return n.Fragment}}),Object.defineProperty(t,"FunctionFragment",{enumerable:!0,get:function(){return n.FunctionFragment}}),Object.defineProperty(t,"Indexed",{enumerable:!0,get:function(){return n.Indexed}}),Object.defineProperty(t,"Interface",{enumerable:!0,get:function(){return n.Interface}}),Object.defineProperty(t,"LogDescription",{enumerable:!0,get:function(){return n.LogDescription}}),Object.defineProperty(t,"ParamType",{enumerable:!0,get:function(){return n.ParamType}}),Object.defineProperty(t,"TransactionDescription",{enumerable:!0,get:function(){return n.TransactionDescription}}),Object.defineProperty(t,"getAddress",{enumerable:!0,get:function(){return i.getAddress}}),Object.defineProperty(t,"getCreate2Address",{enumerable:!0,get:function(){return i.getCreate2Address}}),Object.defineProperty(t,"getContractAddress",{enumerable:!0,get:function(){return i.getContractAddress}}),Object.defineProperty(t,"getIcapAddress",{enumerable:!0,get:function(){return i.getIcapAddress}}),Object.defineProperty(t,"isAddress",{enumerable:!0,get:function(){return i.isAddress}}),Object.defineProperty(t,"base58",{enumerable:!0,get:function(){return o.Base58}}),Object.defineProperty(t,"arrayify",{enumerable:!0,get:function(){return s.arrayify}}),Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return s.concat}}),Object.defineProperty(t,"hexConcat",{enumerable:!0,get:function(){return s.hexConcat}}),Object.defineProperty(t,"hexDataSlice",{enumerable:!0,get:function(){return s.hexDataSlice}}),Object.defineProperty(t,"hexDataLength",{enumerable:!0,get:function(){return s.hexDataLength}}),Object.defineProperty(t,"hexlify",{enumerable:!0,get:function(){return s.hexlify}}),Object.defineProperty(t,"hexStripZeros",{enumerable:!0,get:function(){return s.hexStripZeros}}),Object.defineProperty(t,"hexValue",{enumerable:!0,get:function(){return s.hexValue}}),Object.defineProperty(t,"hexZeroPad",{enumerable:!0,get:function(){return s.hexZeroPad}}),Object.defineProperty(t,"isBytes",{enumerable:!0,get:function(){return s.isBytes}}),Object.defineProperty(t,"isBytesLike",{enumerable:!0,get:function(){return s.isBytesLike}}),Object.defineProperty(t,"isHexString",{enumerable:!0,get:function(){return s.isHexString}}),Object.defineProperty(t,"joinSignature",{enumerable:!0,get:function(){return s.joinSignature}}),Object.defineProperty(t,"zeroPad",{enumerable:!0,get:function(){return s.zeroPad}}),Object.defineProperty(t,"splitSignature",{enumerable:!0,get:function(){return s.splitSignature}}),Object.defineProperty(t,"stripZeros",{enumerable:!0,get:function(){return s.stripZeros}}),Object.defineProperty(t,"_TypedDataEncoder",{enumerable:!0,get:function(){return u._TypedDataEncoder}}),Object.defineProperty(t,"hashMessage",{enumerable:!0,get:function(){return u.hashMessage}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return u.id}}),Object.defineProperty(t,"isValidName",{enumerable:!0,get:function(){return u.isValidName}}),Object.defineProperty(t,"namehash",{enumerable:!0,get:function(){return u.namehash}}),Object.defineProperty(t,"defaultPath",{enumerable:!0,get:function(){return c.defaultPath}}),Object.defineProperty(t,"entropyToMnemonic",{enumerable:!0,get:function(){return c.entropyToMnemonic}}),Object.defineProperty(t,"getAccountPath",{enumerable:!0,get:function(){return c.getAccountPath}}),Object.defineProperty(t,"HDNode",{enumerable:!0,get:function(){return c.HDNode}}),Object.defineProperty(t,"isValidMnemonic",{enumerable:!0,get:function(){return c.isValidMnemonic}}),Object.defineProperty(t,"mnemonicToEntropy",{enumerable:!0,get:function(){return c.mnemonicToEntropy}}),Object.defineProperty(t,"mnemonicToSeed",{enumerable:!0,get:function(){return c.mnemonicToSeed}}),Object.defineProperty(t,"getJsonWalletAddress",{enumerable:!0,get:function(){return l.getJsonWalletAddress}}),Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return f.keccak256}}),Object.defineProperty(t,"Logger",{enumerable:!0,get:function(){return d.Logger}}),Object.defineProperty(t,"computeHmac",{enumerable:!0,get:function(){return h.computeHmac}}),Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return h.ripemd160}}),Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return h.sha256}}),Object.defineProperty(t,"sha512",{enumerable:!0,get:function(){return h.sha512}}),Object.defineProperty(t,"SupportedAlgorithm",{enumerable:!0,get:function(){return h.SupportedAlgorithm}}),Object.defineProperty(t,"solidityKeccak256",{enumerable:!0,get:function(){return p.keccak256}}),Object.defineProperty(t,"solidityPack",{enumerable:!0,get:function(){return p.pack}}),Object.defineProperty(t,"soliditySha256",{enumerable:!0,get:function(){return p.sha256}}),Object.defineProperty(t,"randomBytes",{enumerable:!0,get:function(){return v.randomBytes}}),Object.defineProperty(t,"shuffled",{enumerable:!0,get:function(){return v.shuffled}}),Object.defineProperty(t,"checkProperties",{enumerable:!0,get:function(){return m.checkProperties}}),Object.defineProperty(t,"deepCopy",{enumerable:!0,get:function(){return m.deepCopy}}),Object.defineProperty(t,"defineReadOnly",{enumerable:!0,get:function(){return m.defineReadOnly}}),Object.defineProperty(t,"getStatic",{enumerable:!0,get:function(){return m.getStatic}}),Object.defineProperty(t,"resolveProperties",{enumerable:!0,get:function(){return m.resolveProperties}}),Object.defineProperty(t,"shallowCopy",{enumerable:!0,get:function(){return m.shallowCopy}}),Object.defineProperty(t,"computePublicKey",{enumerable:!0,get:function(){return g.computePublicKey}}),Object.defineProperty(t,"recoverPublicKey",{enumerable:!0,get:function(){return g.recoverPublicKey}}),Object.defineProperty(t,"SigningKey",{enumerable:!0,get:function(){return g.SigningKey}}),Object.defineProperty(t,"formatBytes32String",{enumerable:!0,get:function(){return y.formatBytes32String}}),Object.defineProperty(t,"nameprep",{enumerable:!0,get:function(){return y.nameprep}}),Object.defineProperty(t,"parseBytes32String",{enumerable:!0,get:function(){return y.parseBytes32String}}),Object.defineProperty(t,"_toEscapedUtf8String",{enumerable:!0,get:function(){return y._toEscapedUtf8String}}),Object.defineProperty(t,"toUtf8Bytes",{enumerable:!0,get:function(){return y.toUtf8Bytes}}),Object.defineProperty(t,"toUtf8CodePoints",{enumerable:!0,get:function(){return y.toUtf8CodePoints}}),Object.defineProperty(t,"toUtf8String",{enumerable:!0,get:function(){return y.toUtf8String}}),Object.defineProperty(t,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return y.Utf8ErrorFuncs}}),Object.defineProperty(t,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return y.UnicodeNormalizationForm}}),Object.defineProperty(t,"Utf8ErrorReason",{enumerable:!0,get:function(){return y.Utf8ErrorReason}}),Object.defineProperty(t,"accessListify",{enumerable:!0,get:function(){return w.accessListify}}),Object.defineProperty(t,"computeAddress",{enumerable:!0,get:function(){return w.computeAddress}}),Object.defineProperty(t,"parseTransaction",{enumerable:!0,get:function(){return w.parse}}),Object.defineProperty(t,"recoverAddress",{enumerable:!0,get:function(){return w.recoverAddress}}),Object.defineProperty(t,"serializeTransaction",{enumerable:!0,get:function(){return w.serialize}}),Object.defineProperty(t,"TransactionTypes",{enumerable:!0,get:function(){return w.TransactionTypes}}),Object.defineProperty(t,"commify",{enumerable:!0,get:function(){return _.commify}}),Object.defineProperty(t,"formatEther",{enumerable:!0,get:function(){return _.formatEther}}),Object.defineProperty(t,"parseEther",{enumerable:!0,get:function(){return _.parseEther}}),Object.defineProperty(t,"formatUnits",{enumerable:!0,get:function(){return _.formatUnits}}),Object.defineProperty(t,"parseUnits",{enumerable:!0,get:function(){return _.parseUnits}}),Object.defineProperty(t,"verifyMessage",{enumerable:!0,get:function(){return k.verifyMessage}}),Object.defineProperty(t,"verifyTypedData",{enumerable:!0,get:function(){return k.verifyTypedData}}),Object.defineProperty(t,"_fetchData",{enumerable:!0,get:function(){return x._fetchData}}),Object.defineProperty(t,"fetchJson",{enumerable:!0,get:function(){return x.fetchJson}}),Object.defineProperty(t,"poll",{enumerable:!0,get:function(){return x.poll}}),t.RLP=t.base64=void 0;var n=r("f6b4"),i=r("0f1c"),a=A(r("7260"));t.base64=a;var o=r("f01b"),s=r("ecb6"),u=r("3b83"),c=r("98a5"),l=r("bedc"),f=r("183c"),d=r("20ed"),h=r("5639"),p=r("9c67"),v=r("83b7"),m=r("16a3"),b=A(r("467a"));t.RLP=b;var g=r("bcc2"),y=r("86c8"),w=r("e43f"),_=r("1391"),k=r("403a"),x=r("35bf");function S(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function A(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}},"0891":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default,uMessageInput:r("4139").default},i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("view",[r("navigation",{attrs:{showBack:!0,bgnum:!1,_i:1}},[r("text",{staticClass:e._$s(2,"sc","big_title"),attrs:{_i:2}},[e._v(e._$s(2,"t0-0",e._s(e.i18n.transPaw)))])]),r("view",{staticClass:e._$s(3,"sc","main"),attrs:{_i:3}},[e._$s(4,"i",e.borNum)?r("view",{staticClass:e._$s(4,"sc","big_title"),attrs:{_i:4}},[e._v(e._$s(4,"t0-0",e._s(e.i18n.settransPaw)))]):e._e(),e._$s(5,"i",e.borNum2)?r("view",{staticClass:e._$s(5,"sc","big_title"),attrs:{_i:5}},[e._v(e._$s(5,"t0-0",e._s(e.i18n.transPawAgain)))]):e._e(),r("view",{staticClass:e._$s(6,"sc","title"),attrs:{_i:6}},[e._v(e._$s(6,"t0-0",e._s(e.i18n.Securetransaction))),r("br"),e._v(e._$s(6,"t2-0",e._s(e.i18n.Securetransaction2)))]),e._$s(8,"i",e.borNum)?r("u-message-input",{attrs:{"inactive-color":"#E0E5F2","active-color":"#5B53FF",width:94,maxlength:6,mode:"box",focus:e.fes,"dot-fill":!0,_i:8},on:{finish:e.finish}}):e._e(),e._$s(9,"i",e.borNum2)?r("u-message-input",{attrs:{"inactive-color":e.info?"#F16063":"#E0E5F2","active-color":"#5B53FF",width:94,maxlength:6,mode:"box",focus:e.fes,"dot-fill":!0,_i:9},on:{finish:e.finish2,change:e.back}}):e._e(),e._$s(10,"i",e.info)?r("view",{staticClass:e._$s(10,"sc","infoText"),attrs:{_i:10}},[e._v(e._$s(10,"t0-0",e._s(e.i18n.Passworddiscrepansies)))]):e._e()],1)],1)},a=[]},"0893":function(e,t,r){"use strict";(function(e){function n(e){return s(e)||o(e)||a(e)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function o(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function s(e){if(Array.isArray(e))return u(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rt)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}function p(e,t){var r=e.readUInt32LE(t),n=e.readUInt32LE(t+4);return n*=4294967296,h(n+r,9007199254740991),n+r}function v(e,t,r){return h(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8}t.range=function(e){return n(Array(e).keys())},t.reverseBuffer=l,t.keyValsToBuffer=f,t.keyValToBuffer=d,t.readUInt64LE=p,t.writeUInt64LE=v}).call(this,r("b639").Buffer)},"08db":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.locales=void 0;var n=a(r("3ce7")),i=r("3c37");function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,n.default)(e),t in i.alphanumeric)return i.alphanumeric[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))}var s=Object.keys(i.alphanumeric);t.locales=s},"0953":function(e,t){e.exports=function(e){if("string"!==typeof e)throw new Error("[is-hex-prefixed] value must be type 'string', is currently type "+typeof e+", while checking isHexPrefixed.");return"0x"===e.slice(0,2)}},"0960":function(e,t,r){e.exports=r("b19a")},"0972":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r("98e6"),i=r("a099"),a=r("11dc"),o=r("61c7"),s=o._default,u="Invalid mnemonic",c="Invalid entropy",l="Invalid mnemonic checksum",f="A wordlist is required but a default could not be found.\nPlease pass a 2048 word array explicitly.";function d(e,t,r,n,a){return Promise.resolve().then((function(){return new Promise((function(o,s){var u=function(e,t){return e?s(e):o(t)};i.pbkdf2(e,t,r,n,a,u)}))}))}function h(e){return(e||"").normalize("NFKD")}function p(e,t,r){while(e.length32)throw new Error(c);if(m.length%4!==0)throw new Error(c);var g=e.from(m),y=b(g);if(y!==d)throw new Error(l);return g.toString("hex")}function k(t,r){if(e.isBuffer(t)||(t=e.from(t,"hex")),r=r||s,!r)throw new Error(f);if(t.length<16)throw new TypeError(c);if(t.length>32)throw new TypeError(c);if(t.length%4!==0)throw new TypeError(c);var n=m(Array.from(t)),i=b(t),a=n+i,o=a.match(/(.{1,11})/g),u=o.map((function(e){var t=v(e);return r[t]}));return"\u3042\u3044\u3053\u304f\u3057\u3093"===r[0]?u.join("\u3000"):u.join(" ")}function x(e,t,r){if(e=e||128,e%32!==0)throw new TypeError(c);return t=t||a,k(t(e/8),r)}function S(e,t){try{_(e,t)}catch(r){return!1}return!0}function A(e){var t=o.wordlists[e];if(!t)throw new Error('Could not find wordlist for language "'+e+'"');s=t}function E(){if(!s)throw new Error("No Default Wordlist set");return Object.keys(o.wordlists).filter((function(e){return"JA"!==e&&"EN"!==e&&o.wordlists[e].every((function(e,t){return e===s[t]}))}))[0]}t.mnemonicToSeedSync=y,t.mnemonicToSeed=w,t.mnemonicToEntropy=_,t.entropyToMnemonic=k,t.generateMnemonic=x,t.validateMnemonic=S,t.setDefaultWordlist=A,t.getDefaultWordlist=E;var C=r("61c7");t.wordlists=C.wordlists}).call(this,r("b639").Buffer)},"09a1":function(e){e.exports=JSON.parse('{"name":"kovan","chainId":42,"networkId":42,"comment":"Parity PoA test network","url":"https://kovan-testnet.github.io/website/","genesis":{"hash":"0xa3c565fc15c7478862d50ccd6561e3c06b24cc509bf388941c25ea985ce32cb9","timestamp":null,"gasLimit":6000000,"difficulty":131072,"nonce":"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","extraData":"0x","stateRoot":"0x2480155b48a1cea17d67dbfdfaafe821c1d19cdd478c5358e8ec56dec24502b2"},"hardforks":[{"name":"chainstart","block":0,"consensus":"poa","finality":null},{"name":"homestead","block":0,"consensus":"poa","finality":null},{"name":"dao","block":0,"consensus":"poa","finality":null},{"name":"tangerineWhistle","block":0,"consensus":"poa","finality":null},{"name":"spuriousDragon","block":0,"consensus":"poa","finality":null},{"name":"byzantium","block":5067000,"consensus":"poa","finality":null},{"name":"constantinople","block":9200000,"consensus":"poa","finality":null},{"name":"petersburg","block":10255201,"consensus":"poa","finality":null},{"name":"istanbul","block":14111141,"consensus":"poa","finality":null}],"bootstrapNodes":[{"ip":"116.203.116.241","port":30303,"id":"16898006ba2cd4fa8bf9a3dfe32684c178fa861df144bfc21fe800dc4838a03e342056951fa9fd533dcb0be1219e306106442ff2cf1f7e9f8faa5f2fc1a3aa45","location":"","comment":"1"},{"ip":"3.217.96.11","port":30303,"id":"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0","location":"","comment":"2"},{"ip":"108.61.170.124","port":30303,"id":"740e1c8ea64e71762c71a463a04e2046070a0c9394fcab5891d41301dc473c0cff00ebab5a9bc87fbcb610ab98ac18225ff897bc8b7b38def5975d5ceb0a7d7c","location":"","comment":"3"},{"ip":"157.230.31.163","port":30303,"id":"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0","location":"","comment":"4"}]}')},"09d6":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(0,n.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")}e.exports=t.default,e.exports.default=t.default},"09ed":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r("8e09")),n(r("2e38"));function n(e){return e&&e.__esModule?e:{default:e}}var i={data:function(){return{teee:this.$t("index").DAPPwebsite,list2:[{name:"No more tips next time",checked:!1,disabled:!1}],show:!1,value:"",type:"text",border:!0,list:[{name:this.$t("index").Popular},{name:this.$t("index").Lending},{name:this.$t("index").Trade},{name:this.$t("index").Yield},{name:this.$t("index").Stake}],current:0}},computed:{i18n:function(){return this.$t("index")}},methods:{change:function(e){this.current=e}}};t.default=i},"09f5":function(e,t,r){var n=r("39f5"),i=r("8707").Buffer,a=r("6430"),o=r("3fb5");function s(e,t,r,o){a.call(this),this._cipher=new n.AES(t),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=o,this._mode=e}o(s,a),s.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},e.exports=s},"0a73":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=a(r("3ce7")),i=a(r("74cd"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return(0,n.default)(e),(0,i.default)(e)&&24===e.length}e.exports=t.default,e.exports.default=t.default},"0b16":function(e,t,r){"use strict";var n=r("1985"),i=r("35e8");function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=_,t.resolve=x,t.resolveObject=S,t.format=k,t.Url=a;var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(c),f=["'"].concat(l),d=["%","/","?",";","#"].concat(f),h=["/","?","#"],p=255,v=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,b={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},w=r("b383");function _(e,t,r){if(e&&i.isObject(e)&&e instanceof a)return e;var n=new a;return n.parse(e,t,r),n}function k(e){return i.isString(e)&&(e=_(e)),e instanceof a?e.format():a.prototype.format.call(e)}function x(e,t){return _(e,!1,!0).resolve(t)}function S(e,t){return e?_(e,!1,!0).resolveObject(t):t}a.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a127?R+="x":R+=N[M];if(!R.match(v)){var U=j.slice(0,T),F=j.slice(T+1),L=N.match(m);L&&(U.push(L[1]),F.unshift(L[2])),F.length&&(_="/"+F.join(".")+_),this.hostname=U.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=n.toASCII(this.hostname));var D=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+D,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!b[S])for(T=0,B=f.length;T0)&&r.host.split("@");A&&(r.auth=A.shift(),r.host=r.hostname=A.shift())}return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=x.slice(-1)[0],C=(r.host||e.host||x.length>1)&&("."===E||".."===E)||""===E,P=0,T=x.length;T>=0;T--)E=x[T],"."===E?x.splice(T,1):".."===E?(x.splice(T,1),P++):P&&(x.splice(T,1),P--);if(!_&&!k)for(;P--;P)x.unshift("..");!_||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),C&&"/"!==x.join("/").substr(-1)&&x.push("");var O=""===x[0]||x[0]&&"/"===x[0].charAt(0);if(S){r.hostname=r.host=O?"":x.length?x.shift():"";A=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");A&&(r.auth=A.shift(),r.host=r.hostname=A.shift())}return _=_||r.host&&x.length,_&&!O&&x.unshift(""),x.length?r.pathname=x.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"0b44":function(e,t,r){"use strict";function n(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw o}}}}function i(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=8&&(o[a++]=i>>>n-8&255,n-=8);return o.buffer}function s(e,t){var r=e.byteLength,n=new Uint8Array(e),i=t.indexOf("=")===t.length-1;i&&(t=t.substring(0,t.length-1));for(var a=0,o=0,s="",u=0;u=5)s+=t[o>>>a-5&31],a-=5}if(a>0&&(s+=t[o<<5-a&31]),i)while(s.length%8!==0)s+="=";return s}e.exports=function(e){return{encode:function(t){return s("string"===typeof t?Uint8Array.from(t):t,e)},decode:function(t){var r,i=n(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(e.indexOf(a)<0)throw new Error("invalid base32 character")}}catch(s){i.e(s)}finally{i.f()}return o(t,e)}}}},"0b53":function(e,t){var r="0123456789abcdef".split(""),n=[1,256,65536,16777216],i=[0,8,16,24],a=[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],o=function(e){return{blocks:[],reset:!0,block:0,start:0,blockCount:1600-(e<<1)>>5,outputBlocks:e>>5,s:function(e){return[].concat(e,e,e,e,e)}([0,0,0,0,0,0,0,0,0,0])}},s=function(e,t){var a,o=t.length,s=e.blocks,c=e.blockCount<<2,l=e.blockCount,f=e.outputBlocks,d=e.s,h=0;while(h>2]|=t[h]<>2]|=a<>2]|=(192|a>>6)<>2]|=(128|63&a)<=57344?(s[m>>2]|=(224|a>>12)<>2]|=(128|a>>6&63)<>2]|=(128|63&a)<>2]|=(240|a>>18)<>2]|=(128|a>>12&63)<>2]|=(128|a>>6&63)<>2]|=(128|63&a)<=c){for(e.start=m-c,e.block=s[l],m=0;m>2]|=n[3&m],e.lastByteIndex===c)for(s[0]=s[l],m=1;m>4&15]+r[15&p]+r[p>>12&15]+r[p>>8&15]+r[p>>20&15]+r[p>>16&15]+r[p>>28&15]+r[p>>24&15];b%l===0&&(u(d),m=0)}return"0x"+v},u=function(e){var t,r,n,i,o,s,u,c,l,f,d,h,p,v,m,b,g,y,w,_,k,x,S,A,E,C,P,T,O,I,j,B,N,R,M,$,U,F,L,D,z,H,q,W,K,V,G,X,J,Y,Z,Q,ee,te,re,ne,ie,ae,oe,se,ue,ce,le;for(n=0;n<48;n+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],o=e[1]^e[11]^e[21]^e[31]^e[41],s=e[2]^e[12]^e[22]^e[32]^e[42],u=e[3]^e[13]^e[23]^e[33]^e[43],c=e[4]^e[14]^e[24]^e[34]^e[44],l=e[5]^e[15]^e[25]^e[35]^e[45],f=e[6]^e[16]^e[26]^e[36]^e[46],d=e[7]^e[17]^e[27]^e[37]^e[47],h=e[8]^e[18]^e[28]^e[38]^e[48],p=e[9]^e[19]^e[29]^e[39]^e[49],t=h^(s<<1|u>>>31),r=p^(u<<1|s>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=i^(c<<1|l>>>31),r=o^(l<<1|c>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=s^(f<<1|d>>>31),r=u^(d<<1|f>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=c^(h<<1|p>>>31),r=l^(p<<1|h>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=f^(i<<1|o>>>31),r=d^(o<<1|i>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,v=e[0],m=e[1],V=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,T=e[20]<<3|e[21]>>>29,O=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ue=e[30]<<9|e[31]>>>23,H=e[40]<<18|e[41]>>>14,q=e[41]<<18|e[40]>>>14,R=e[2]<<1|e[3]>>>31,M=e[3]<<1|e[2]>>>31,b=e[13]<<12|e[12]>>>20,g=e[12]<<12|e[13]>>>20,X=e[22]<<10|e[23]>>>22,J=e[23]<<10|e[22]>>>22,I=e[33]<<13|e[32]>>>19,j=e[32]<<13|e[33]>>>19,ce=e[42]<<2|e[43]>>>30,le=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,$=e[14]<<6|e[15]>>>26,U=e[15]<<6|e[14]>>>26,y=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,Y=e[34]<<15|e[35]>>>17,Z=e[35]<<15|e[34]>>>17,B=e[45]<<29|e[44]>>>3,N=e[44]<<29|e[45]>>>3,A=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,F=e[26]<<25|e[27]>>>7,L=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,k=e[37]<<21|e[36]>>>11,Q=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,W=e[8]<<27|e[9]>>>5,K=e[9]<<27|e[8]>>>5,C=e[18]<<20|e[19]>>>12,P=e[19]<<20|e[18]>>>12,ae=e[29]<<7|e[28]>>>25,oe=e[28]<<7|e[29]>>>25,D=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,x=e[48]<<14|e[49]>>>18,S=e[49]<<14|e[48]>>>18,e[0]=v^~b&y,e[1]=m^~g&w,e[10]=A^~C&T,e[11]=E^~P&O,e[20]=R^~$&F,e[21]=M^~U&L,e[30]=W^~V&X,e[31]=K^~G&J,e[40]=te^~ne&ae,e[41]=re^~ie&oe,e[2]=b^~y&_,e[3]=g^~w&k,e[12]=C^~T&I,e[13]=P^~O&j,e[22]=$^~F&D,e[23]=U^~L&z,e[32]=V^~X&Y,e[33]=G^~J&Z,e[42]=ne^~ae&se,e[43]=ie^~oe&ue,e[4]=y^~_&x,e[5]=w^~k&S,e[14]=T^~I&B,e[15]=O^~j&N,e[24]=F^~D&H,e[25]=L^~z&q,e[34]=X^~Y&Q,e[35]=J^~Z&ee,e[44]=ae^~se&ce,e[45]=oe^~ue&le,e[6]=_^~x&v,e[7]=k^~S&m,e[16]=I^~B&A,e[17]=j^~N&E,e[26]=D^~H&R,e[27]=z^~q&M,e[36]=Y^~Q&W,e[37]=Z^~ee&K,e[46]=se^~ce&te,e[47]=ue^~le&re,e[8]=x^~v&b,e[9]=S^~m&g,e[18]=B^~A&C,e[19]=N^~E&P,e[28]=H^~R&$,e[29]=q^~M&U,e[38]=Q^~W&V,e[39]=ee^~K&G,e[48]=ce^~te&ne,e[49]=le^~re&ie,e[0]^=a[n],e[1]^=a[n+1]},c=function(e){return function(t){var r;if("0x"===t.slice(0,2)){r=[];for(var n=2,i=t.length;n=0}return"object"===o(t)?t.hasOwnProperty(e):!(!t||"function"!==typeof t.indexOf)&&t.indexOf(e)>=0}e.exports=t.default,e.exports.default=t.default},"0ccd":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=a(r("3fcd"));function a(e){return e&&e.__esModule?e:{default:e}}var o={name:"tki-qrcode",props:{cid:{type:String,default:"tki-qrcode-canvas"},size:{type:Number,default:200},unit:{type:String,default:"upx"},show:{type:Boolean,default:!0},val:{type:String,default:""},background:{type:String,default:"#ffffff"},foreground:{type:String,default:"#000000"},pdground:{type:String,default:"#000000"},icon:{type:String,default:""},iconSize:{type:Number,default:40},lv:{type:Number,default:3},onval:{type:Boolean,default:!1},loadMake:{type:Boolean,default:!1},usingComponents:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},loadingText:{type:String,default:"\u4e8c\u7ef4\u7801\u751f\u6210\u4e2d"}},data:function(){return{result:""}},methods:{_makeCode:function(){var e=this;this._empty(this.val)?uni.showToast({title:"\u4e8c\u7ef4\u7801\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a",icon:"none",duration:2e3}):n=new i.default({context:e,canvasId:e.cid,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText,text:e.val,size:e.cpSize,background:e.background,foreground:e.foreground,pdground:e.pdground,correctLevel:e.lv,image:e.icon,imageSize:e.iconSize,cbResult:function(t){e._result(t)}})},_clearCode:function(){this._result(""),n.clear()},_saveCode:function(){var e=this;""!=this.result&&uni.saveImageToPhotosAlbum({filePath:e.result,success:function(){uni.showToast({title:"\u4e8c\u7ef4\u7801\u4fdd\u5b58\u6210\u529f",icon:"success",duration:2e3})}})},_result:function(e){this.result=e,this.$emit("result",e)},_empty:function(e){var t=typeof e,r=!1;return"number"==t&&""==String(e)||"undefined"==t?r=!0:"object"==t?"{}"!=JSON.stringify(e)&&"[]"!=JSON.stringify(e)&&null!=e||(r=!0):"string"==t?""!=e&&"undefined"!=e&&"null"!=e&&"{}"!=e&&"[]"!=e||(r=!0):"function"==t&&(r=!1),r}},watch:{size:function(e,t){var r=this;e==t||this._empty(e)||(this.cSize=e,this._empty(this.val)||setTimeout((function(){r._makeCode()}),100))},val:function(e,t){var r=this;this.onval&&(e==t||this._empty(e)||setTimeout((function(){r._makeCode()}),0))}},computed:{cpSize:function(){return"upx"==this.unit?uni.upx2px(this.size):this.size}},mounted:function(){var e=this;this.loadMake&&(this._empty(this.val)||setTimeout((function(){e._makeCode()}),0))}};t.default=o},"0cd5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pbkdf2=a;var n=r("ecb6"),i=r("5639");function a(e,t,r,a,o){var s;e=(0,n.arrayify)(e),t=(0,n.arrayify)(t);var u,c,l=1,f=new Uint8Array(a),d=new Uint8Array(t.length+4);d.set(t);for(var h=1;h<=l;h++){d[t.length]=h>>24&255,d[t.length+1]=h>>16&255,d[t.length+2]=h>>8&255,d[t.length+3]=255&h;var p=(0,n.arrayify)((0,i.computeHmac)(o,e,d));s||(s=p.length,c=new Uint8Array(s),l=Math.ceil(a/s),u=a-(l-1)*s),c.set(p);for(var v=1;v1?t-1:0),n=1;n1){var c=s.pop();u=s.join("---COMMA---"),0===c.indexOf(" at ")?u+=c:u+="---COMMA---"+c}else u=s[0];console[o](u)}r.r(t),r.d(t,"log",(function(){return o})),r.d(t,"default",(function(){return s}))},"0df2":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default,uMessageInput:r("4139").default},i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("view",[r("navigation",{attrs:{showBack:!0,bgnum:!1,_i:1}},[r("text",{staticClass:e._$s(2,"sc","big_title"),attrs:{_i:2}})]),r("view",{staticClass:e._$s(3,"sc","main"),attrs:{_i:3}},[r("view",{staticClass:e._$s(4,"sc","big_title big_title2"),attrs:{_i:4}}),r("u-message-input",{attrs:{"inactive-color":e.info?"#F16063":"#E0E5F2","active-color":"#5B53FF",width:94,maxlength:6,mode:"box",focus:e.fes,"dot-fill":!0,_i:5},on:{finish:e.finish2,change:e.back}}),e._$s(6,"i",e.info)?r("view",{staticClass:e._$s(6,"sc","infoText"),attrs:{_i:6}}):e._e()],1)],1)},a=[]},"0e7b":function(e,t){e.exports="/static/tongyonh/arrow-up-leftp.png"},"0ea2":function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"0f1c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAddress=g,t.isAddress=y,t.getIcapAddress=w,t.getContractAddress=_,t.getCreate2Address=k;var n=r("ecb6"),i=r("846b"),a=r("183c"),o=r("467a"),s=r("20ed"),u=r("2f20"),c=new s.Logger(u.version);function l(e){(0,n.isHexString)(e,20)||c.throwArgumentError("invalid address","address",e),e=e.toLowerCase();for(var t=e.substring(2).split(""),r=new Uint8Array(40),i=0;i<40;i++)r[i]=t[i].charCodeAt(0);for(var o=(0,n.arrayify)((0,a.keccak256)(r)),s=0;s<40;s+=2)o[s>>1]>>4>=8&&(t[s]=t[s].toUpperCase()),(15&o[s>>1])>=8&&(t[s+1]=t[s+1].toUpperCase());return"0x"+t.join("")}var f=9007199254740991;function d(e){return Math.log10?Math.log10(e):Math.log(e)/Math.LN10}for(var h={},p=0;p<10;p++)h[String(p)]=String(p);for(var v=0;v<26;v++)h[String.fromCharCode(65+v)]=String(10+v);var m=Math.floor(d(f));function b(e){e=e.toUpperCase(),e=e.substring(4)+e.substring(0,2)+"00";var t=e.split("").map((function(e){return h[e]})).join("");while(t.length>=m){var r=t.substring(0,m);t=parseInt(r,10)%97+t.substring(r.length)}var n=String(98-parseInt(t,10)%97);while(n.length<2)n="0"+n;return n}function g(e){var t=null;if("string"!==typeof e&&c.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),t=l(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&c.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){e.substring(2,4)!==b(e)&&c.throwArgumentError("bad icap checksum","address",e),t=(0,i._base36To16)(e.substring(4));while(t.length<40)t="0"+t;t=l("0x"+t)}else c.throwArgumentError("invalid address","address",e);return t}function y(e){try{return g(e),!0}catch(t){}return!1}function w(e){var t=(0,i._base16To36)(g(e).substring(2)).toUpperCase();while(t.length<30)t="0"+t;return"XE"+b("XE00"+t)+t}function _(e){var t=null;try{t=g(e.from)}catch(s){c.throwArgumentError("missing from address","transaction",e)}var r=(0,n.stripZeros)((0,n.arrayify)(i.BigNumber.from(e.nonce).toHexString()));return g((0,n.hexDataSlice)((0,a.keccak256)((0,o.encode)([t,r])),12))}function k(e,t,r){return 32!==(0,n.hexDataLength)(t)&&c.throwArgumentError("salt must be 32 bytes","salt",t),32!==(0,n.hexDataLength)(r)&&c.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",r),g((0,n.hexDataSlice)((0,a.keccak256)((0,n.concat)(["0xff",g(e),t,r])),12))}},"0f2c":function(e,t,r){var n=r("2aee"),i=r("f460"),a=r("83d5"),o=r("399f"),s=r("a958"),u=r("98e6"),c=r("5291"),l=r("8707").Buffer;function f(e,t){var r=e.modulus.byteLength(),n=u("sha1").update(l.alloc(0)).digest(),o=n.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,o+1),c=t.slice(o+1),f=a(s,i(c,o)),d=a(c,i(f,r-o-1));if(h(n,d.slice(0,o)))throw new Error("decryption error");var p=o;while(0===d[p])p++;if(1!==d[p++])throw new Error("decryption error");return d.slice(p)}function d(e,t,r){var n=t.slice(0,2),i=2,a=0;while(0!==t[i++])if(i>=t.length){a++;break}var o=t.slice(2,i-1);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&a++,o.length<8&&a++,a)throw new Error("decryption error");return t.slice(i)}function h(e,t){e=l.from(e),t=l.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var i=-1;while(++ih||new o(t).cmp(u.modulus)>=0)throw new Error("decryption error");a=r?c(new o(t),u):s(t,u);var p=l.alloc(h-a.length);if(a=l.concat([p,a],h),4===i)return f(u,a);if(1===i)return d(u,a,r);if(3===i)return a;throw new Error("unknown padding")}},"0f48":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r("5a80"),i=r("5a80"),a=r("3efa"),o=r("6bda"),s=e.from("aa21a9ed","hex");function u(e){var t=n.compile(e);return t.length>37&&t[0]===i.OPS.OP_RETURN&&36===t[1]&&t.slice(2,6).equals(s)}function c(t){o(a.Hash256bit,t);var r=e.allocUnsafe(36);return s.copy(r,0),t.copy(r,4),n.compile([i.OPS.OP_RETURN,r])}function l(e){return o(u,e),n.decompile(e)[1].slice(4,36)}t.check=u,u.toJSON=function(){return"Witness commitment output"},t.encode=c,t.decode=l}).call(this,r("b639").Buffer)},"0f54":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e["UNSIGNED_TX"]=0]="UNSIGNED_TX",e[e["GLOBAL_XPUB"]=1]="GLOBAL_XPUB"}(t.GlobalTypes||(t.GlobalTypes={})),t.GLOBAL_TYPE_NAMES=["unsignedTx","globalXpub"],function(e){e[e["NON_WITNESS_UTXO"]=0]="NON_WITNESS_UTXO",e[e["WITNESS_UTXO"]=1]="WITNESS_UTXO",e[e["PARTIAL_SIG"]=2]="PARTIAL_SIG",e[e["SIGHASH_TYPE"]=3]="SIGHASH_TYPE",e[e["REDEEM_SCRIPT"]=4]="REDEEM_SCRIPT",e[e["WITNESS_SCRIPT"]=5]="WITNESS_SCRIPT",e[e["BIP32_DERIVATION"]=6]="BIP32_DERIVATION",e[e["FINAL_SCRIPTSIG"]=7]="FINAL_SCRIPTSIG",e[e["FINAL_SCRIPTWITNESS"]=8]="FINAL_SCRIPTWITNESS",e[e["POR_COMMITMENT"]=9]="POR_COMMITMENT"}(t.InputTypes||(t.InputTypes={})),t.INPUT_TYPE_NAMES=["nonWitnessUtxo","witnessUtxo","partialSig","sighashType","redeemScript","witnessScript","bip32Derivation","finalScriptSig","finalScriptWitness","porCommitment"],function(e){e[e["REDEEM_SCRIPT"]=0]="REDEEM_SCRIPT",e[e["WITNESS_SCRIPT"]=1]="WITNESS_SCRIPT",e[e["BIP32_DERIVATION"]=2]="BIP32_DERIVATION"}(t.OutputTypes||(t.OutputTypes={})),t.OUTPUT_TYPE_NAMES=["redeemScript","witnessScript","bip32Derivation"]},"0f93":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default,uMask:r("0610").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",[n("navigation",{attrs:{showBack:!0,bgnum:!0,_i:1}},[n("text",{staticClass:e._$s(2,"sc","big_title"),attrs:{_i:2}},[e._v(e._$s(2,"t0-0",e._s(e.i18n.Transactiondetails)))])]),n("view",{staticClass:e._$s(3,"sc","main"),attrs:{_i:3}},[n("view",{staticClass:e._$s(4,"sc","main_con"),attrs:{_i:4}},[n("view",{staticClass:e._$s(5,"sc","yuan"),attrs:{_i:5}},[n("image",{staticClass:e._$s(6,"sc","img1"),attrs:{src:e._$s(6,"a-src",r("a0b8")),_i:6}})]),n("view",{staticClass:e._$s(7,"sc","title"),attrs:{_i:7}},[e._v(e._$s(7,"t0-0",e._s(e.i18n.Confirmed)))]),n("view",{staticClass:e._$s(8,"sc","scroll"),attrs:{_i:8}},[n("view",{staticClass:e._$s(9,"sc","title_con flex"),attrs:{_i:9}},[n("view",{staticClass:e._$s(10,"sc","text1"),attrs:{_i:10}},[e._v(e._$s(10,"t0-0",e._s(e.i18n.Amount)))]),n("view",{staticClass:e._$s(11,"sc","text1"),attrs:{_i:11}},[e._v(e._$s(11,"t0-0",e._s(e.info.amount))+e._$s(11,"t0-1",e._s(e.info.coin)))])]),n("view",{staticClass:e._$s(12,"sc","title_con flex"),attrs:{_i:12}},[n("view",{staticClass:e._$s(13,"sc","text1"),attrs:{_i:13}},[e._v(e._$s(13,"t0-0",e._s(e.i18n.Time)))]),n("view",{staticClass:e._$s(14,"sc","text2"),attrs:{_i:14}},[e._v(e._$s(14,"t0-0",e._s(e.info.transactionTime)))])]),n("view",{staticClass:e._$s(15,"sc","title_con flex"),attrs:{_i:15}},[n("view",{staticClass:e._$s(16,"sc","text2"),attrs:{_i:16}},[e._v(e._$s(16,"t0-0",e._s(e.i18n.TxFee)))]),n("view",{staticClass:e._$s(17,"sc","text2"),attrs:{_i:17}},[e._v(e._$s(17,"t0-0",e._s(e.info.fee))+e._$s(17,"t0-1",e._s(e.info.chainName)))])]),n("view",{staticClass:e._$s(18,"sc","item"),attrs:{_i:18}},[n("view",{staticClass:e._$s(19,"sc","text1"),attrs:{_i:19}},[e._v(e._$s(19,"t0-0",e._s(e.i18n.TransactionID)))]),n("view",{staticClass:e._$s(20,"sc","text2"),attrs:{_i:20}},[e._v(e._$s(20,"t0-0",e._s(e.info.txid))),n("image",{staticClass:e._$s(21,"sc","img"),attrs:{src:e._$s(21,"a-src",r("1650")),_i:21},on:{click:function(t){return e.copyTextMethod(e.info.txid)}}})])]),n("view",{staticClass:e._$s(22,"sc","item"),attrs:{_i:22}},[n("view",{staticClass:e._$s(23,"sc","text1"),attrs:{_i:23}},[e._v(e._$s(23,"t0-0",e._s(e.i18n.Sendaddress))),e._$s(24,"i",e.isIn)?n("text",[e._v(e._$s(24,"t0-0",e._s(e.i18n.others)))]):n("text",[e._v(e._$s(25,"t0-0",e._s(e.i18n.me)))])]),n("view",{staticClass:e._$s(26,"sc","text2"),attrs:{_i:26}},[e._v(e._$s(26,"t0-0",e._s(e.info.fromAddress))),n("image",{staticClass:e._$s(27,"sc","img"),attrs:{src:e._$s(27,"a-src",r("1650")),_i:27},on:{click:function(t){return e.copyTextMethod(e.info.fromAddress)}}})])]),n("view",{staticClass:e._$s(28,"sc","item"),attrs:{_i:28}},[n("view",{staticClass:e._$s(29,"sc","text1"),attrs:{_i:29}},[e._v(e._$s(29,"t0-0",e._s(e.i18n.Receivingaddress))),e._$s(30,"i",e.isIn)?n("text",[e._v(e._$s(30,"t0-0",e._s(e.i18n.me)))]):n("text",[e._v(e._$s(31,"t0-0",e._s(e.i18n.others)))])]),n("view",{staticClass:e._$s(32,"sc","text2"),attrs:{_i:32}},[e._v(e._$s(32,"t0-0",e._s(e.info.toAddress))),n("image",{staticClass:e._$s(33,"sc","img"),attrs:{src:e._$s(33,"a-src",r("1650")),_i:33},on:{click:function(t){return e.copyTextMethod(e.info.toAddress)}}})])])]),n("view",{staticClass:e._$s(34,"sc","item goto"),attrs:{_i:34},on:{click:e.toDetail}},[e._v(e._$s(34,"t0-0",e._s(e.i18n.moreinformation)))])]),n("u-mask",{attrs:{show:e.show,"z-index":"10",_i:35}})],1)],1)},a=[]},"0f9f":function(e,t,r){"use strict";r.r(t);var n=r("2437"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"0fe2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloudflareProvider=void 0;var n=s(r("a34a")),i=r("3d6d"),a=r("20ed"),o=r("9684");function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;ro)throw new RangeError("requested too many random bytes");var r=u.allocUnsafe(e);if(e>0)if(e>a)for(var n=0;n21)throw new TypeError(e+" is too long");var r=t.readUInt8(0),n=t.slice(1);return{version:r,hash:n}}function f(t){var r=s.decode(t),n=s.fromWords(r.words.slice(1));return{version:r.words[0],prefix:r.prefix,data:e.from(n)}}function d(t,r){c(o.tuple(o.Hash160bit,o.UInt8),arguments);var n=e.allocUnsafe(21);return n.writeUInt8(r,0),t.copy(n,1),u.encode(n)}function h(e,t,r){var n=s.toWords(e);return n.unshift(t),s.encode(r,n)}function p(e,t){t=t||n.bitcoin;try{return i.p2pkh({output:e,network:t}).address}catch(r){}try{return i.p2sh({output:e,network:t}).address}catch(r){}try{return i.p2wpkh({output:e,network:t}).address}catch(r){}try{return i.p2wsh({output:e,network:t}).address}catch(r){}throw new Error(a.toASM(e)+" has no matching Address")}function v(e,t){var r,a;t=t||n.bitcoin;try{r=l(e)}catch(o){}if(r){if(r.version===t.pubKeyHash)return i.p2pkh({hash:r.hash}).output;if(r.version===t.scriptHash)return i.p2sh({hash:r.hash}).output}else{try{a=f(e)}catch(o){}if(a){if(a.prefix!==t.bech32)throw new Error(e+" has an invalid prefix");if(0===a.version){if(20===a.data.length)return i.p2wpkh({hash:a.data}).output;if(32===a.data.length)return i.p2wsh({hash:a.data}).output}}}throw new Error(e+" has no matching Script")}t.fromBase58Check=l,t.fromBech32=f,t.toBase58Check=d,t.toBech32=h,t.fromOutputScript=p,t.toOutputScript=v}).call(this,r("b639").Buffer)},1298:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var n={navigation:r("8e09").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{staticClass:e._$s(0,"sc","maintoP"),attrs:{_i:0}},[n("navigation",{staticClass:e._$s(1,"sc","aaa"),attrs:{showBack:!1,bgnum:!0,_i:1}},[n("image",{staticClass:e._$s(2,"sc","back"),attrs:{src:e._$s(2,"a-src",r("6a29")),_i:2},on:{click:function(t){return e.back()}}}),n("image",{staticClass:e._$s(3,"sc","renYou2"),attrs:{src:e._$s(3,"a-src",r("dfd0")),_i:3},on:{click:e.goAdd},slot:"logo"}),n("text",{staticClass:e._$s(4,"sc","big_title"),attrs:{_i:4}},[e._v(e._$s(4,"t0-0",e._s(e.item.projectName)))])]),n("view",{staticClass:e._$s(5,"sc","main"),attrs:{_i:5}},e._l(e._$s(6,"f",{forItems:e.result}),(function(t,i,a,o){return n("view",{key:e._$s(6,"f",{forIndex:a,key:i}),staticClass:e._$s("6-"+o,"sc","item"),attrs:{_i:"6-"+o}},[n("view",{staticClass:e._$s("7-"+o,"sc","top"),attrs:{_i:"7-"+o}},[n("image",{staticClass:e._$s("8-"+o,"sc","img"),attrs:{src:e._$s("8-"+o,"a-src",e.wallet.coinList[0].icon),_i:"8-"+o}}),e._v(e._$s("7-"+o,"t1-0",e._s(t.address))),n("image",{staticClass:e._$s("9-"+o,"sc","img lfet"),attrs:{src:e._$s("9-"+o,"a-src",r("acf3")),_i:"9-"+o},on:{click:function(t){return e.goDetail(i)}}})]),n("view",{staticClass:e._$s("10-"+o,"sc","top"),attrs:{_i:"10-"+o}},[n("text",{staticClass:e._$s("11-"+o,"sc","textleft"),attrs:{_i:"11-"+o}},[e._v(e._$s("11-"+o,"t0-0",e._s(e.i18n.Contracts)))]),e._v(e._$s("10-"+o,"t1-0",e._s(t.contract)))]),n("view",{staticClass:e._$s("12-"+o,"sc","top"),attrs:{_i:"12-"+o}},[n("text",{staticClass:e._$s("13-"+o,"sc","textleft texttt"),attrs:{_i:"13-"+o}},[e._v(e._$s("13-"+o,"t0-0",e._s(e.i18n.ID)))]),e._v(e._$s("12-"+o,"t1-0",e._s(t.tonkenId)))])])})),0)],1)},a=[]},"12a7":function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0))return!0;for(var t=0,r=this._supportedHardforks;t=i},e.prototype.activeOnBlock=function(e,t){return this.hardforkIsActiveOnBlock(null,e,t)},e.prototype.hardforkGteHardfork=function(e,t,r){r=void 0!==r?r:{};var n,i=void 0!==r.onlyActive&&r.onlyActive;e=this._chooseHardfork(e,r.onlySupported),n=i?this.activeHardforks(null,r):this.hardforks();for(var a=-1,o=-1,s=0,u=0,c=n;u=o},e.prototype.gteHardfork=function(e,t){return this.hardforkGteHardfork(null,e,t)},e.prototype.hardforkIsActiveOnChain=function(e,t){t=void 0!==t?t:{};var r=void 0!==t.onlySupported&&t.onlySupported;e=this._chooseHardfork(e,r);for(var n=0,i=this.hardforks();n0)return r[r.length-1]["name"];throw new Error("No (supported) active hardfork found")},e.prototype.hardforkBlock=function(e){return e=this._chooseHardfork(e,!1),this._getHardfork(e)["block"]},e.prototype.isHardforkBlock=function(e,t){return t=this._chooseHardfork(t,!1),this.hardforkBlock(t)===e},e.prototype.consensus=function(e){return e=this._chooseHardfork(e),this._getHardfork(e)["consensus"]},e.prototype.finality=function(e){return e=this._chooseHardfork(e),this._getHardfork(e)["finality"]},e.prototype.genesis=function(){return this._chainParams["genesis"]},e.prototype.hardforks=function(){return this._chainParams["hardforks"]},e.prototype.bootstrapNodes=function(){return this._chainParams["bootstrapNodes"]},e.prototype.hardfork=function(){return this._hardfork},e.prototype.chainId=function(){return this._chainParams["chainId"]},e.prototype.chainName=function(){return i.chains["names"][this.chainId()]||this._chainParams["name"]},e.prototype.networkId=function(){return this._chainParams["networkId"]},e}();t.default=o},"12bb":function(e,t,r){"use strict";r.r(t);var n=r("18bc"),i=r("893b");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);var o,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"63c22e0c",null,!1,n["a"],o);t["default"]=u.exports},"12c5":function(e,t,r){
/*!
* v2.1.4-104-gc868b3a
*
*/
-(function(t,r){e.exports=r()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){"use strict";r.d(t,"j",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"h",(function(){return s})),r.d(t,"b",(function(){return u})),r.d(t,"k",(function(){return c})),r.d(t,"e",(function(){return l})),r.d(t,"g",(function(){return f})),r.d(t,"i",(function(){return d})),r.d(t,"a",(function(){return h})),r.d(t,"f",(function(){return p}));var n=r(1),i=c((function(e,t){var r=t.length;return c((function(n){for(var i=0;il&&(V("Max buffer length exceeded: textNode"),e=Math.max(e,a.length)),B.length>l&&(V("Max buffer length exceeded: numberNode"),e=Math.max(e,B.length)),R=l-e+H}function V(e){void 0!==a&&(s(a),u(),a=void 0),t=Error(e+"\nLn: "+W+"\nCol: "+q+"\nChr: "+r),c(Object(n["o"])(void 0,void 0,t))}function G(){if(U===h)return s({}),u(),void($=!0);U===p&&0===z||V("Unexpected end"),void 0!==a&&(s(a),u(),a=void 0),$=!0}function X(e){return"\r"===e||"\n"===e||" "===e||"\t"===e}function J(e){if(!t){if($)return V("Cannot write after close");var n=0;r=e[0];while(r){if(n>0&&(i=r),r=e[n++],!r)break;switch(H++,"\n"===r?(W++,q=0):q++,U){case h:if("{"===r)U=v;else if("["===r)U=g;else if(!X(r))return V("Non-whitespace before {[.");continue;case w:case v:if(X(r))continue;if(U===w)L.push(_);else{if("}"===r){s({}),u(),U=L.pop()||p;continue}L.push(m)}if('"'!==r)return V('Malformed object key should start with " ');U=y;continue;case _:case m:if(X(r))continue;if(":"===r)U===m?(L.push(m),void 0!==a&&(s({}),o(a),a=void 0),z++):void 0!==a&&(o(a),a=void 0),U=p;else if("}"===r)void 0!==a&&(s(a),u(),a=void 0),u(),z--,U=L.pop()||p;else{if(","!==r)return V("Bad object");U===m&&L.push(m),void 0!==a&&(s(a),u(),a=void 0),U=w}continue;case g:case p:if(X(r))continue;if(U===g){if(s([]),z++,U=p,"]"===r){u(),z--,U=L.pop()||p;continue}L.push(b)}if('"'===r)U=y;else if("{"===r)U=v;else if("["===r)U=g;else if("t"===r)U=k;else if("f"===r)U=A;else if("n"===r)U=T;else if("-"===r)B+=r;else if("0"===r)B+=r,U=N;else{if(-1==="123456789".indexOf(r))return V("Bad value");B+=r,U=N}continue;case b:if(","===r)L.push(b),void 0!==a&&(s(a),u(),a=void 0),U=p;else{if("]"!==r){if(X(r))continue;return V("Bad array")}void 0!==a&&(s(a),u(),a=void 0),u(),z--,U=L.pop()||p}continue;case y:void 0===a&&(a="");var c=n-1;e:while(1){while(D>0)if(F+=r,r=e.charAt(n++),4===D?(a+=String.fromCharCode(parseInt(F,16)),D=0,c=n-1):D++,!r)break e;if('"'===r&&!M){U=L.pop()||p,a+=e.substring(c,n-1);break}if("\\"===r&&!M&&(M=!0,a+=e.substring(c,n-1),r=e.charAt(n++),!r))break;if(M){if(M=!1,"n"===r?a+="\n":"r"===r?a+="\r":"t"===r?a+="\t":"f"===r?a+="\f":"b"===r?a+="\b":"u"===r?(D=1,F=""):a+=r,r=e.charAt(n++),c=n-1,r)continue;break}f.lastIndex=n;var l=f.exec(e);if(!l){n=e.length+1,a+=e.substring(c,n-1);break}if(n=l.index+1,r=e.charAt(l.index),!r){a+=e.substring(c,n-1);break}}continue;case k:if(!r)continue;if("r"!==r)return V("Invalid true started with t"+r);U=x;continue;case x:if(!r)continue;if("u"!==r)return V("Invalid true started with tr"+r);U=S;continue;case S:if(!r)continue;if("e"!==r)return V("Invalid true started with tru"+r);s(!0),u(),U=L.pop()||p;continue;case A:if(!r)continue;if("a"!==r)return V("Invalid false started with f"+r);U=E;continue;case E:if(!r)continue;if("l"!==r)return V("Invalid false started with fa"+r);U=P;continue;case P:if(!r)continue;if("s"!==r)return V("Invalid false started with fal"+r);U=C;continue;case C:if(!r)continue;if("e"!==r)return V("Invalid false started with fals"+r);s(!1),u(),U=L.pop()||p;continue;case T:if(!r)continue;if("u"!==r)return V("Invalid null started with n"+r);U=O;continue;case O:if(!r)continue;if("l"!==r)return V("Invalid null started with nu"+r);U=I;continue;case I:if(!r)continue;if("l"!==r)return V("Invalid null started with nul"+r);s(null),u(),U=L.pop()||p;continue;case j:if("."!==r)return V("Leading zero not followed by .");B+=r,U=N;continue;case N:if(-1!=="0123456789".indexOf(r))B+=r;else if("."===r){if(-1!==B.indexOf("."))return V("Invalid number has two dots");B+=r}else if("e"===r||"E"===r){if(-1!==B.indexOf("e")||-1!==B.indexOf("E"))return V("Invalid number has two exponential");B+=r}else if("+"===r||"-"===r){if("e"!==i&&"E"!==i)return V("Invalid symbol in number");B+=r}else B&&(s(parseFloat(B)),u(),B=""),n--,U=L.pop()||p;continue;default:return V("Unknown state: "+U)}}H>=R&&K()}}e(n["m"]).on(J),e(n["n"]).on(G)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return c}));var n=r(19),i=r(3),a=r(2),o=r(20),s=r(0);function u(){return new XMLHttpRequest}function c(e,t,r,u,c,l,f){var d=e(i["m"]).emit,h=e(i["b"]).emit,p=0,v=!0;function m(){if("2"===String(t.status)[0]){var e=t.responseText,r=(" "+e.substr(p)).substr(1);r&&d(r),p=Object(a["e"])(e)}}function g(t){try{v&&e(i["c"]).emit(t.status,Object(o["a"])(t.getAllResponseHeaders())),v=!1}catch(r){}}e(i["a"]).on((function(){t.onreadystatechange=null,t.abort()})),"onprogress"in t&&(t.onprogress=m),t.onreadystatechange=function(){switch(t.readyState){case 2:case 3:return g(t);case 4:g(t);var r="2"===String(t.status)[0];r?(m(),e(i["n"]).emit()):h(Object(i["o"])(t.status,t.responseText))}};try{for(var b in t.open(r,u,!0),l)t.setRequestHeader(b,l[b]);Object(n["a"])(window.location,Object(n["b"])(u))||t.setRequestHeader("X-Requested-With","XMLHttpRequest"),t.withCredentials=f,t.send(c)}catch(y){window.setTimeout(Object(s["j"])(h,Object(i["o"])(void 0,void 0,y)),0)}}},function(e,t,r){"use strict";function n(e,t){function r(e){return{"http:":80,"https:":443}[e]}function n(t){return String(t.port||r(t.protocol||e.protocol))}return!!(t.protocol&&t.protocol!==e.protocol||t.host&&t.host!==e.host||t.host&&n(t)!==n(e))}function i(e){var t=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/,r=t.exec(e)||[];return{protocol:r[1]||"",host:r[2]||"",port:r[3]||""}}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}))},function(e,t,r){"use strict";function n(e){var t={};return e&&e.split("\r\n").forEach((function(e){var r=e.indexOf(": ");t[e.substring(0,r)]=e.substring(r+2)})),t}r.d(t,"a",(function(){return n}))}])["default"]}))},"12ef":function(e,t,r){"use strict";(function(t){var n=r("085b"),i=function(e){this.name=e.name,this.type=e.type,this.subscriptions=e.subscriptions||{},this.requestManager=null};i.prototype.setRequestManager=function(e){this.requestManager=e},i.prototype.attachToObject=function(e){var t=this.buildCall(),r=this.name.split(".");r.length>1?(e[r[0]]=e[r[0]]||{},e[r[0]][r[1]]=t):e[r[0]]=t},i.prototype.buildCall=function(){var e=this;return function(){e.subscriptions[arguments[0]]||t("warn","Subscription "+JSON.stringify(arguments[0])+" doesn't exist. Subscribing anyway."," at node_modules/web3-core-subscriptions/lib/index.js:48");var r=new n({subscription:e.subscriptions[arguments[0]]||{},requestManager:e.requestManager,type:e.type});return r.subscribe.apply(r,arguments)}},e.exports={subscriptions:i,subscription:n}}).call(this,r("0de9")["default"])},1383:function(e,t,r){var n=r("fb75");e.exports={isValidAddress:function(e){return!!/^0x[0-9a-fA-F]{40}$/.test(e)&&(!(!/^0x[0-9a-f]{40}$/.test(e)&&!/^0x?[0-9A-F]{40}$/.test(e))||this.verifyChecksum(e))},verifyChecksum:function(e){e=e.replace("0x","");for(var t=n.keccak256(e.toLowerCase()),r=0;r<40;r++)if(parseInt(t[r],16)>7&&e[r].toUpperCase()!==e[r]||parseInt(t[r],16)<=7&&e[r].toLowerCase()!==e[r])return!1;return!0}}},1391:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commify=u,t.formatUnits=c,t.parseUnits=l,t.formatEther=f,t.parseEther=d;var n=r("846b"),i=r("20ed"),a=r("675e"),o=new i.Logger(a.version),s=["wei","kwei","mwei","gwei","szabo","finney","ether"];function u(e){var t=String(e).split(".");(t.length>2||!t[0].match(/^-?[0-9]*$/)||t[1]&&!t[1].match(/^[0-9]*$/)||"."===e||"-."===e)&&o.throwArgumentError("invalid value","value",e);var r=t[0],n="";"-"===r.substring(0,1)&&(n="-",r=r.substring(1));while("0"===r.substring(0,1))r=r.substring(1);""===r&&(r="0");var i="";2===t.length&&(i="."+(t[1]||"0"));while(i.length>2&&"0"===i[i.length-1])i=i.substring(0,i.length-1);var a=[];while(r.length){if(r.length<=3){a.unshift(r);break}var s=r.length-3;a.unshift(r.substring(s)),r=r.substring(0,s)}return n+a.join(",")+i}function c(e,t){if("string"===typeof t){var r=s.indexOf(t);-1!==r&&(t=3*r)}return(0,n.formatFixed)(e,null!=t?t:18)}function l(e,t){if("string"!==typeof e&&o.throwArgumentError("value must be a string","value",e),"string"===typeof t){var r=s.indexOf(t);-1!==r&&(t=3*r)}return(0,n.parseFixed)(e,null!=t?t:18)}function f(e){return c(e,18)}function d(e){return l(e,18)}},"13af":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatFixed=g,t.parseFixed=b,t.FixedNumber=t.FixedFormat=void 0;var n=r("ecb6"),i=r("20ed"),a=r("efc1"),o=r("fd39");function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r=0&&e<=256&&!(e%1)?"1"+v.substring(0,e):l.throwArgumentError("invalid decimal size","decimals",e)}function g(e,t){null==t&&(t=0);var r=m(t);e=o.BigNumber.from(e);var n=e.lt(d);n&&(e=e.mul(h));var i=e.mod(r).toString();while(i.length2&&l.throwArgumentError("too many decimal points","value",e);var a=i[0],s=i[1];a||(a="0"),s||(s="0");while("0"===s[s.length-1])s=s.substring(0,s.length-1);s.length>r.length-1&&p("fractional component exceeds decimals","underflow","parseFixed"),""===s&&(s="0");while(s.length80&&l.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",i),new e(f,r,n,i)}}]),e}();t.FixedFormat=y;var w=function(){function e(t,r,n,a){s(this,e),l.checkNew(this instanceof e?this.constructor:void 0,e),t!==f&&l.throwError("cannot use FixedNumber constructor; use FixedNumber.from",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=a,this._hex=r,this._value=n,this._isFixedNumber=!0,Object.freeze(this)}return c(e,[{key:"_checkFormat",value:function(e){this.format.name!==e.format.name&&l.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}},{key:"addUnsafe",value:function(t){this._checkFormat(t);var r=b(this._value,this.format.decimals),n=b(t._value,t.format.decimals);return e.fromValue(r.add(n),this.format.decimals,this.format)}},{key:"subUnsafe",value:function(t){this._checkFormat(t);var r=b(this._value,this.format.decimals),n=b(t._value,t.format.decimals);return e.fromValue(r.sub(n),this.format.decimals,this.format)}},{key:"mulUnsafe",value:function(t){this._checkFormat(t);var r=b(this._value,this.format.decimals),n=b(t._value,t.format.decimals);return e.fromValue(r.mul(n).div(this.format._multiplier),this.format.decimals,this.format)}},{key:"divUnsafe",value:function(t){this._checkFormat(t);var r=b(this._value,this.format.decimals),n=b(t._value,t.format.decimals);return e.fromValue(r.mul(this.format._multiplier).div(n),this.format.decimals,this.format)}},{key:"floor",value:function(){var t=this.toString().split(".");1===t.length&&t.push("0");var r=e.from(t[0],this.format),n=!t[1].match(/^(0*)$/);return this.isNegative()&&n&&(r=r.subUnsafe(_.toFormat(r.format))),r}},{key:"ceiling",value:function(){var t=this.toString().split(".");1===t.length&&t.push("0");var r=e.from(t[0],this.format),n=!t[1].match(/^(0*)$/);return!this.isNegative()&&n&&(r=r.addUnsafe(_.toFormat(r.format))),r}},{key:"round",value:function(t){null==t&&(t=0);var r=this.toString().split(".");if(1===r.length&&r.push("0"),(t<0||t>80||t%1)&&l.throwArgumentError("invalid decimal count","decimals",t),r[1].length<=t)return this;var n=e.from("1"+v.substring(0,t),this.format),i=k.toFormat(this.format);return this.mulUnsafe(n).addUnsafe(i).floor().divUnsafe(n)}},{key:"isZero",value:function(){return"0.0"===this._value||"0"===this._value}},{key:"isNegative",value:function(){return"-"===this._value[0]}},{key:"toString",value:function(){return this._value}},{key:"toHexString",value:function(e){if(null==e)return this._hex;e%8&&l.throwArgumentError("invalid byte width","width",e);var t=o.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,n.hexZeroPad)(t,e/8)}},{key:"toUnsafeFloat",value:function(){return parseFloat(this.toString())}},{key:"toFormat",value:function(t){return e.fromString(this._value,t)}}],[{key:"fromValue",value:function(t,r,n){return null!=n||null==r||(0,o.isBigNumberish)(r)||(n=r,r=null),null==r&&(r=0),null==n&&(n="fixed"),e.fromString(g(t,r),y.from(n))}},{key:"fromString",value:function(t,r){null==r&&(r="fixed");var i=y.from(r),a=b(t,i.decimals);!i.signed&&a.lt(d)&&p("unsigned value cannot be negative","overflow","value",t);var o=null;i.signed?o=a.toTwos(i.width).toHexString():(o=a.toHexString(),o=(0,n.hexZeroPad)(o,i.width/8));var s=g(a,i.decimals);return new e(f,o,s,i)}},{key:"fromBytes",value:function(t,r){null==r&&(r="fixed");var i=y.from(r);if((0,n.arrayify)(t).length>i.width/8)throw new Error("overflow");var a=o.BigNumber.from(t);i.signed&&(a=a.fromTwos(i.width));var s=a.toTwos((i.signed?0:1)+i.width).toHexString(),u=g(a,i.decimals);return new e(f,s,u,i)}},{key:"from",value:function(t,r){if("string"===typeof t)return e.fromString(t,r);if((0,n.isBytes)(t))return e.fromBytes(t,r);try{return e.fromValue(t,0,r)}catch(a){if(a.code!==i.Logger.errors.INVALID_ARGUMENT)throw a}return l.throwArgumentError("invalid FixedNumber value","value",t)}},{key:"isFixedNumber",value:function(e){return!(!e||!e._isFixedNumber)}}]),e}();t.FixedNumber=w;var _=w.from(1),k=w.from("0.5")},"13e2":function(e,t,r){"use strict";var n=r("c3c0"),i=r("edc9"),a=r("aa56"),o=n.rotl32,s=n.sum32,u=n.sum32_5,c=a.ft_1,l=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(d,l),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n=0}function g(e,t){return e>=t[0]&&e<=t[1]}function b(e,t){return e.length>=t[0]&&e.length<=t[1]}function y(e){var t=/^\d{3,4}-\d{7,8}(-\d{3,4})?$/;return t.test(e)}function w(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function _(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(r){return!1}return!1}function k(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function x(e){return"[object Object]"===Object.prototype.toString.call(e)}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(t,"}$")).test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={email:n,mobile:i,url:a,date:o,dateISO:s,number:u,digits:c,idCard:l,carNo:f,amount:d,chinese:h,letter:p,enOrNum:v,contains:m,range:g,rangeLength:b,empty:w,isEmpty:w,jsonString:_,landline:y,object:x,array:k,code:S};t.default=A},1533:function(e,t){e.exports="/static/tongyonh/backj.png"},1545:function(e,t,r){"use strict";t.utils=r("5ee7"),t.Cipher=r("0184"),t.DES=r("4e2b"),t.CBC=r("0da4"),t.EDE=r("1fec")},1567:function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){return e.config=t,r&&(e.code=r),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},1573:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.EC=void 0;var n=a(r("399f")),i=a(r("7d92"));function a(e){return e&&e.__esModule?e:{default:e}}"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e||"undefined"!==typeof self&&self;function o(e,t,r){return r={path:t,exports:{},require:function(e,t){return s(e,void 0===t||null===t?r.path:t)}},e(r,r.exports),r.exports}function s(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var u=c;function c(e,t){if(!e)throw new Error(t||"Assertion failed")}c.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)};var l=o((function(e,t){var r=t;function n(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!==typeof e){for(var n=0;n>8,o=255&i;a?r.push(a,o):r.push(o)}return r}function i(e){return 1===e.length?"0"+e:e}function a(e){for(var t="",r=0;r(i>>1)-1?(i>>1)-u:u,a.isubn(s)):s=0,n[o]=s,a.iushrn(1)}return n}function a(e,t){var r=[[],[]];e=e.clone(),t=t.clone();var n,i=0,a=0;while(e.cmpn(-i)>0||t.cmpn(-a)>0){var o,s,u=e.andln(3)+i&3,c=t.andln(3)+a&3;3===u&&(u=-1),3===c&&(c=-1),0===(1&u)?o=0:(n=e.andln(7)+i&7,o=3!==n&&5!==n||2!==c?u:-u),r[0].push(o),0===(1&c)?s=0:(n=t.andln(7)+a&7,s=3!==n&&5!==n||2!==u?c:-c),r[1].push(s),2*i===o+1&&(i=1-i),2*a===s+1&&(a=1-a),e.iushrn(1),t.iushrn(1)}return r}function o(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}}function s(e){return"string"===typeof e?r.toArray(e,"hex"):e}function c(e){return new n.default(e,"hex","le")}r.assert=u,r.toArray=l.toArray,r.zero2=l.zero2,r.toHex=l.toHex,r.encode=l.encode,r.getNAF=i,r.getJSF=a,r.cachedProperty=o,r.parseBytes=s,r.intFromLE=c})),d=f.getNAF,h=f.getJSF,p=f.assert;function v(e,t){this.type=e,this.p=new n.default(t.p,16),this.red=t.prime?n.default.red(t.prime):n.default.mont(this.p),this.zero=new n.default(0).toRed(this.red),this.one=new n.default(1).toRed(this.red),this.two=new n.default(2).toRed(this.red),this.n=t.n&&new n.default(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var m=v;function g(e,t){this.curve=e,this.type=t,this.precomputed=null}v.prototype.point=function(){throw new Error("Not implemented")},v.prototype.validate=function(){throw new Error("Not implemented")},v.prototype._fixedNafMul=function(e,t){p(e.precomputed);var r=e._getDoubles(),n=d(t,1,this._bitLength),i=(1<=a;u--)o=(o<<1)+n[u];s.push(o)}for(var c=this.jpoint(null,null,null),l=this.jpoint(null,null,null),f=i;f>0;f--){for(a=0;a=0;s--){for(var u=0;s>=0&&0===a[s];s--)u++;if(s>=0&&u++,o=o.dblp(u),s<0)break;var c=a[s];p(0!==c),o="affine"===e.type?c>0?o.mixedAdd(i[c-1>>1]):o.mixedAdd(i[-c-1>>1].neg()):c>0?o.add(i[c-1>>1]):o.add(i[-c-1>>1].neg())}return"affine"===e.type?o.toP():o},v.prototype._wnafMulAdd=function(e,t,r,n,i){var a,o,s,u=this._wnafT1,c=this._wnafT2,l=this._wnafT3,f=0;for(a=0;a=1;a-=2){var v=a-1,m=a;if(1===u[v]&&1===u[m]){var g=[t[v],null,null,t[m]];0===t[v].y.cmp(t[m].y)?(g[1]=t[v].add(t[m]),g[2]=t[v].toJ().mixedAdd(t[m].neg())):0===t[v].y.cmp(t[m].y.redNeg())?(g[1]=t[v].toJ().mixedAdd(t[m]),g[2]=t[v].add(t[m].neg())):(g[1]=t[v].toJ().mixedAdd(t[m]),g[2]=t[v].toJ().mixedAdd(t[m].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],y=h(r[v],r[m]);for(f=Math.max(y[0].length,f),l[v]=new Array(f),l[m]=new Array(f),o=0;o=0;a--){var S=0;while(a>=0){var A=!0;for(o=0;o=0&&S++,k=k.dblp(S),a<0)break;for(o=0;o0?s=c[o][E-1>>1]:E<0&&(s=c[o][-E-1>>1].neg()),k="affine"===s.type?k.mixedAdd(s):k.add(s))}}for(a=0;a=Math.ceil((e.bitLength()+1)/t.step)},g.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=0&&(o=t,s=r),i.negative&&(i=i.neg(),a=a.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:i,b:a},{a:o,b:s}]},w.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),a=r.b.neg().mul(e).divRound(this.n),o=i.mul(r.a),s=a.mul(n.a),u=i.mul(r.b),c=a.mul(n.b),l=e.sub(o).sub(s),f=u.add(c).neg();return{k1:l,k2:f}},w.prototype.pointFromX=function(e,t){e=new n.default(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),i=r.redSqrt();if(0!==i.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var a=i.fromRed().isOdd();return(t&&!a||!t&&a)&&(i=i.redNeg()),this.point(e,i)},w.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},w.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,a=0;a":""},k.prototype.isInfinity=function(){return this.inf},k.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},k.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),a=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},k.prototype.getX=function(){return this.x.fromRed()},k.prototype.getY=function(){return this.y.fromRed()},k.prototype.mul=function(e){return e=new n.default(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},k.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},k.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},k.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},k.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},k.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e},b(x,m.BasePoint),w.prototype.jpoint=function(e,t,r){return new x(this,e,t,r)},x.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},x.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},x.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),u=a.redSub(o);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),l=c.redMul(s),f=n.redMul(c),d=u.redSqr().redIAdd(l).redISub(f).redISub(f),h=u.redMul(f.redISub(d)).redISub(a.redMul(l)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,h,p)},x.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,a=e.y.redMul(t).redMul(this.z),o=r.redSub(n),s=i.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=o.redSqr(),c=u.redMul(o),l=r.redMul(u),f=s.redSqr().redIAdd(c).redISub(l).redISub(l),d=s.redMul(l.redISub(f)).redISub(i.redMul(c)),h=this.z.redMul(o);return this.curve.jpoint(f,d,h)},x.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var r=this;for(t=0;t=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},x.prototype.inspect=function(){return this.isInfinity()?"":""},x.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var S=o((function(e,t){var r=t;r.base=m,r.short=_,r.mont=null,r.edwards=null})),A=o((function(e,t){var r,n=t,a=f.assert;function o(e){"short"===e.type?this.curve=new S.short(e):"edwards"===e.type?this.curve=new S.edwards(e):this.curve=new S.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function s(e,t){Object.defineProperty(n,e,{configurable:!0,enumerable:!0,get:function(){var r=new o(t);return Object.defineProperty(n,e,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=o,s("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.default.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),s("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.default.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),s("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.default.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),s("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.default.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),s("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.default.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),s("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.default.sha256,gRed:!1,g:["9"]}),s("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.default.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=null.crash()}catch(u){r=void 0}s("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.default.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})}));function E(e){if(!(this instanceof E))return new E(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=l.toArray(e.entropy,e.entropyEnc||"hex"),r=l.toArray(e.nonce,e.nonceEnc||"hex"),n=l.toArray(e.pers,e.persEnc||"hex");u(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}var P=E;E.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},E.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof t&&(n=r,r=t,t=null),r&&(r=l.toArray(r,n||"hex"),this._update(r));var i=[];while(i.length"};var I=f.assert;function j(e,t){if(e instanceof j)return e;this._importDER(e,t)||(I(e.r&&e.s,"Signature without r or s"),this.r=new n.default(e.r,16),this.s=new n.default(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var N=j;function R(){this.place=0}function B(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,a=0,o=t.place;a>>=0;return!(i<=127)&&(t.place=o,i)}function M(e){var t=0,r=e.length-1;while(!e[t]&&!(128&e[t+1])&&t>>3);e.push(128|r);while(--r)e.push(t>>>(r<<3)&255);e.push(t)}}j.prototype._importDER=function(e,t){e=f.toArray(e,t);var r=new R;if(48!==e[r.place++])return!1;var i=B(e,r);if(!1===i)return!1;if(i+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var a=B(e,r);if(!1===a)return!1;var o=e.slice(r.place,a+r.place);if(r.place+=a,2!==e[r.place++])return!1;var s=B(e,r);if(!1===s)return!1;if(e.length!==s+r.place)return!1;var u=e.slice(r.place,s+r.place);if(0===o[0]){if(!(128&o[1]))return!1;o=o.slice(1)}if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}return this.r=new n.default(o),this.s=new n.default(u),this.recoveryParam=null,!0},j.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=M(t),r=M(r);while(!r[0]&&!(128&r[1]))r=r.slice(1);var n=[2];$(n,t.length),n=n.concat(t),n.push(2),$(n,r.length);var i=n.concat(r),a=[48];return $(a,i.length),a=a.concat(i),f.encode(a,e)};var U=function(){throw new Error("unsupported")},L=f.assert;function F(e){if(!(this instanceof F))return new F(e);"string"===typeof e&&(L(Object.prototype.hasOwnProperty.call(A,e),"Unknown curve "+e),e=A[e]),e instanceof A.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var D=F;F.prototype.keyPair=function(e){return new O(this,e)},F.prototype.keyFromPrivate=function(e,t){return O.fromPrivate(this,e,t)},F.prototype.keyFromPublic=function(e,t){return O.fromPublic(this,e,t)},F.prototype.genKeyPair=function(e){e||(e={});for(var t=new P({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||U(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),i=this.n.sub(new n.default(2));;){var a=new n.default(t.generate(r));if(!(a.cmp(i)>0))return a.iaddn(1),this.keyFromPrivate(a)}},F.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},F.prototype.sign=function(e,t,r,i){"object"===typeof r&&(i=r,r=null),i||(i={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n.default(e,16));for(var a=this.n.byteLength(),o=t.getPrivate().toArray("be",a),s=e.toArray("be",a),u=new P({hash:this.hash,entropy:o,nonce:s,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new n.default(1)),l=0;;l++){var f=i.k?i.k(l):new n.default(u.generate(this.n.byteLength()));if(f=this._truncateToN(f,!0),!(f.cmpn(1)<=0||f.cmp(c)>=0)){var d=this.g.mul(f);if(!d.isInfinity()){var h=d.getX(),p=h.umod(this.n);if(0!==p.cmpn(0)){var v=f.invm(this.n).mul(p.mul(t.getPrivate()).iadd(e));if(v=v.umod(this.n),0!==v.cmpn(0)){var m=(d.getY().isOdd()?1:0)|(0!==h.cmp(p)?2:0);return i.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),m^=1),new N({r:p,s:v,recoveryParam:m})}}}}}},F.prototype.verify=function(e,t,r,i){e=this._truncateToN(new n.default(e,16)),r=this.keyFromPublic(r,i),t=new N(t,"hex");var a=t.r,o=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,u=o.invm(this.n),c=u.mul(e).umod(this.n),l=u.mul(a).umod(this.n);return this.curve._maxwellTrick?(s=this.g.jmulAdd(c,r.getPublic(),l),!s.isInfinity()&&s.eqXToP(a)):(s=this.g.mulAdd(c,r.getPublic(),l),!s.isInfinity()&&0===s.getX().umod(this.n).cmp(a))},F.prototype.recoverPubKey=function(e,t,r,i){L((3&r)===r,"The recovery param is more than two bits"),t=new N(t,i);var a=this.n,o=new n.default(e),s=t.r,u=t.s,c=1&r,l=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");s=l?this.curve.pointFromX(s.add(this.curve.n),c):this.curve.pointFromX(s,c);var f=t.r.invm(a),d=a.sub(o).mul(f).umod(a),h=u.mul(f).umod(a);return this.g.mulAdd(d,s,h)},F.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new N(t,n),null!==t.recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var a;try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var z=o((function(e,t){var r=t;r.version={version:"6.5.4"}.version,r.utils=f,r.rand=function(){throw new Error("unsupported")},r.curve=S,r.curves=A,r.ec=D,r.eddsa=null})),H=z.ec;t.EC=H}).call(this,r("c8ba"))},1650:function(e,t){e.exports="/static/tongyonh/copy_24px.png"},"16a3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineReadOnly=l,t.getStatic=f,t.resolveProperties=d,t.checkProperties=h,t.shallowCopy=p,t.deepCopy=b,t.Description=void 0;var n=o(r("a34a")),i=r("20ed"),a=r("8909");function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{u(n.next(e))}catch(t){a(t)}}function s(e){try{u(n["throw"](e))}catch(t){a(t)}}function u(e){e.done?r(e.value):i(e.value).then(o,s)}u((n=n.apply(e,t||[])).next())}))},c=new i.Logger(a.version);function l(e,t,r){Object.defineProperty(e,t,{enumerable:!0,value:r,writable:!1})}function f(e,t){for(var r=0;r<32;r++){if(e[t])return e[t];if(!e.prototype||"object"!==typeof e.prototype)break;e=Object.getPrototypeOf(e.prototype).constructor}return null}function d(e){return u(this,void 0,void 0,n.default.mark((function t(){var r,i;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=Object.keys(e).map((function(t){var r=e[t];return Promise.resolve(r).then((function(e){return{key:t,value:e}}))})),t.next=3,Promise.all(r);case 3:return i=t.sent,t.abrupt("return",i.reduce((function(e,t){return e[t.key]=t.value,e}),{}));case 5:case"end":return t.stop()}}),t)})))}function h(e,t){e&&"object"===typeof e||c.throwArgumentError("invalid object","object",e),Object.keys(e).forEach((function(r){t[r]||c.throwArgumentError("invalid object key - "+r,"transaction:"+r,e)}))}function p(e){var t={};for(var r in e)t[r]=e[r];return t}var v={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function m(e){if(void 0===e||null===e||v[typeof e])return!0;if(Array.isArray(e)||"object"===typeof e){if(!Object.isFrozen(e))return!1;for(var t=Object.keys(e),r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0)for(u in s=o.data.data[0],e("log",s,11111," at utils/BtcUtil.js:17"),s)a=s[u];t.next=10;break;case 8:t.prev=8,t.t0=t["catch"](1);case 10:return t.abrupt("return",a);case 11:case"end":return t.stop()}}),t,null,[[1,8]])})));function r(e,r){return t.apply(this,arguments)}return r}(),sendTransaction:function(){var t=s(n.default.mark((function t(r,a,o,s){var c,l,f,d;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return c=new u.ECPair.fromWIF(s),l=new u.TransactionBuilder(i.default.constant.btcNetwork),l.setVersion(1),l.addInput("5799a647d6b89a9f73122d75faee6f5a0210bd3cb22c48a70d35eac33ce5d426",0),l.addOutput(a,2e6),e("log",l,1111111111," at utils/BtcUtil.js:38"),l.sign(0,c),f=l.build().toHex(),e("log",f," at utils/BtcUtil.js:44"),t.next=11,fetch("https://api.blockcypher.com/v1/btc/test3/txs/push",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({tx:f})});case 11:d=t.sent,e("log",d," at utils/BtcUtil.js:52");case 13:case"end":return t.stop()}}),t)})));function r(e,r,n,i){return t.apply(this,arguments)}return r}()},l=c;t.default=l}).call(this,r("0de9")["default"])},1913:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("view",{staticClass:e._$s(0,"sc","u-icon"),class:e._$s(0,"c",["u-icon--"+e.labelPos]),style:e._$s(0,"s",[e.customStyle]),attrs:{_i:0},on:{click:e.click}},[e._$s(1,"i",e.isImg)?r("image",{staticClass:e._$s(1,"sc","u-icon__img"),style:e._$s(1,"s",[e.imgStyle]),attrs:{src:e._$s(1,"a-src",e.name),mode:e._$s(1,"a-mode",e.imgMode),_i:1}}):r("text",{staticClass:e._$s(2,"sc","u-icon__icon"),class:e._$s(2,"c",e.customClass),style:e._$s(2,"s",[e.iconStyle]),attrs:{"hover-class":e._$s(2,"a-hover-class",e.hoverClass),_i:2},on:{touchstart:e.touchstart}},[e._$s(3,"i",e.showDecimalIcon)?r("text",{staticClass:e._$s(3,"sc","u-icon__decimal"),class:e._$s(3,"c",e.decimalIconClass),style:e._$s(3,"s",[e.decimalIconStyle]),attrs:{"hover-class":e._$s(3,"a-hover-class",e.hoverClass),_i:3}}):e._e()]),e._$s(4,"i",""!==e.label)?r("text",{staticClass:e._$s(4,"sc","u-icon__label"),style:e._$s(4,"s",{color:e.labelColor,fontSize:e.$u.addUnit(e.labelSize),marginLeft:"right"==e.labelPos?e.$u.addUnit(e.marginLeft):0,marginTop:"bottom"==e.labelPos?e.$u.addUnit(e.marginTop):0,marginRight:"left"==e.labelPos?e.$u.addUnit(e.marginRight):0,marginBottom:"top"==e.labelPos?e.$u.addUnit(e.marginBottom):0}),attrs:{_i:4}},[e._v(e._$s(4,"t0-0",e._s(e.label)))]):e._e()])},a=[]},1985:function(e,t,r){(function(e,n){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(a){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n&&n;o.global!==o&&o.window!==o&&o.self;var s,u=2147483647,c=36,l=1,f=26,d=38,h=700,p=72,v=128,m="-",g=/^xn--/,b=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=c-l,k=Math.floor,x=String.fromCharCode;function S(e){throw new RangeError(w[e])}function A(e,t){var r=e.length,n=[];while(r--)n[r]=t(e[r]);return n}function E(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(y,".");var i=e.split("."),a=A(i,t).join(".");return n+a}function P(e){var t,r,n=[],i=0,a=e.length;while(i=55296&&t<=56319&&i65535&&(e-=65536,t+=x(e>>>10&1023|55296),e=56320|1023&e),t+=x(e),t})).join("")}function T(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,r){var n=0;for(e=r?k(e/h):e>>1,e+=k(e/t);e>_*f>>1;n+=c)e=k(e/_);return k(n+(_+1)*e/(e+d))}function j(e){var t,r,n,i,a,o,s,d,h,g,b=[],y=e.length,w=0,_=v,x=p;for(r=e.lastIndexOf(m),r<0&&(r=0),n=0;n=128&&S("not-basic"),b.push(e.charCodeAt(n));for(i=r>0?r+1:0;i=y&&S("invalid-input"),d=T(e.charCodeAt(i++)),(d>=c||d>k((u-w)/o))&&S("overflow"),w+=d*o,h=s<=x?l:s>=x+f?f:s-x,dk(u/g)&&S("overflow"),o*=g}t=b.length+1,x=I(w-a,t,0==a),k(w/t)>u-_&&S("overflow"),_+=k(w/t),w%=t,b.splice(w++,0,_)}return C(b)}function N(e){var t,r,n,i,a,o,s,d,h,g,b,y,w,_,A,E=[];for(e=P(e),y=e.length,t=v,r=0,a=p,o=0;o=t&&bk((u-r)/w)&&S("overflow"),r+=(s-t)*w,t=s,o=0;ou&&S("overflow"),b==t){for(d=r,h=c;;h+=c){if(g=h<=a?l:h>=a+f?f:h-a,d=0;u--)t=i.substring(u,u+1),r=parseInt(t,10),s?(r*=2,o+=r>=10?r+1:r):o+=r,s=!s;return parseInt(e.substr(e.length-1),10)===(1e4-o)%10}e.exports=t.default,e.exports.default=t.default},"1a2a":function(e,t,r){"use strict";var n=r("3fb5"),i=r("d424"),a=r("6430"),o=r("8707").Buffer,s=r("5a76"),u=r("b5ca"),c=r("69f2"),l=o.alloc(128);function f(e,t){a.call(this,"digest"),"string"===typeof t&&(t=o.from(t));var r="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>r){var n="rmd160"===e?new u:c(e);t=n.update(t).digest()}else t.length8)throw"Invalid input length";var t=n.ZERO,r=new n(2).pow(8),i=0;switch(9-e.length){case 1:t=t.add(e[i++]);case 2:t=t.multiply(r).add(e[i++]);case 3:t=t.multiply(r).add(e[i++]);case 4:t=t.multiply(r).add(e[i++]);case 5:t=t.multiply(r).add(e[i++]);case 6:t=t.multiply(r).add(e[i++]);case 7:t=t.multiply(r).add(e[i++]);case 8:t=t.multiply(r).add(e[i++]);break;default:throw"Impossible condition"}return t}function v(e,t){var r=new Uint8Array(t);if(t<1||t>8)throw"Invalid input length";for(var i=new n(2).pow(8),a=t-1;a>=0;a--)r[a]=e.remainder(i).toJSValue(),e=e.divide(i);return r}return e.encode_block=function(e,t,n){if(e.length<1||e.length>u)throw"Invalid block length: "+e.length;var i=p(e),s=a[e.length]-1;while(1===i.compare(0)){var c=i.divRem(o),l=c[1];i=c[0],t[n+s]=r[l.toJSValue()],s--}return t},e.encode=function(t){var n=l(t);if(0===n.length)return"";var i,o=Math.floor(n.length/s),c=n.length%s,f=o*u+a[c],d=new Uint8Array(f);for(i=0;i0&&(d=e.encode_block(n.subarray(o*s,o*s+c),d,o*u)),h(d)},e.decode_block=function(e,t,i){if(e.length<1||e.length>u)throw"Invalid block length: "+e.length;var l=a.indexOf(e.length);if(l<=0)throw"Invalid block size";for(var f=new n(0),d=new n(1),h=e.length-1;h>=0;h--){var p=r.indexOf(e[h]);if(p<0)throw"Invalid symbol";var m=d.multiply(p).add(f);if(1===m.compare(c))throw"Overflow";f=m,d=d.multiply(o)}if(l0&&(c=e.decode_block(t.subarray(r*u,r*u+n),c,r*s)),f(c)},e}();e.exports=i},"1a99":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r("a34a"));i(r("8e09")),i(r("8be2"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,u,"next",e)}function u(e){a(o,n,i,s,u,"throw",e)}s(void 0)}))}}var s={data:function(){return{teee1:this.$t("index").entercontractaddress,teee2:this.$t("index").entertokenID,caddress:"",tid:"",wallet:{},nftIndex:0,walletInfo:{},address:"",proid:""}},onLoad:function(){uni.getStorageSync("wallet")?(this.address=uni.getStorageSync("wallet").address,this.wallet=uni.getStorageSync("wallet"),this.wallet.address=this.wallet.address.substring(0,6)+"..."+this.wallet.address.substring(25,this.wallet.address.length)):(this.wallet=uni.getStorageSync("walletInfo").BTC[0],this.wallet.address=this.wallet.address.substring(0,6)+"..."+this.wallet.address,e("log",this.wallet,111," at pages/menu/collection/addCollection/index.vue:76"))},computed:{i18n:function(){return this.$t("index")}},methods:{back:function(){uni.reLaunch({url:"../collectionDetail/index"})},Add:function(){var e=this;return o(n.default.mark((function t(){var r,i;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(""!=e.caddress){t.next=3;break}return uni.showToast({title:e.$t("index").entercontractaddress,icon:"none",duration:1500}),t.abrupt("return");case 3:if(""!=e.tid){t.next=6;break}return uni.showToast({title:e.$t("index").entertokenID,icon:"none",duration:1500}),t.abrupt("return");case 6:return e.proid=uni.getStorageSync("proid"),r={address:e.address,contract:e.caddress,tonkenId:e.tid,nftProjectId:e.proid},t.next=10,e.$api.addNftCollection(r);case 10:i=t.sent,200==i.code?(uni.showToast({title:e.$t("index").Successful,icon:"success",duration:1500}),setTimeout((function(){uni.navigateTo({url:"../collectionDetail/index"})}),1500)):uni.showToast({title:i.msg,icon:"error",duration:1500});case 12:case"end":return t.stop()}}),t)})))()}}};t.default=s}).call(this,r("0de9")["default"])},"1b7b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HashZero=void 0;var n="0x0000000000000000000000000000000000000000000000000000000000000000";t.HashZero=n},"1b8c":function(e,t,r){"use strict";r.r(t);var n=r("d2ab"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"1bdc":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r("a34a"));i(r("8e09")),i(r("8be2"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,u,"next",e)}function u(e){a(o,n,i,s,u,"throw",e)}s(void 0)}))}}var s={data:function(){return{address:"",collectinInfo:[],ethInfo:{},showbottom:!1,test:{},testindex:0}},onLoad:function(){this.ethInfo=uni.getStorageSync("walletInfo").ETH,e("log",this.ethInfo,444," at pages/menu/collection/index.vue:88"),uni.getStorageSync("wallet")?this.address=uni.getStorageSync("wallet").address:this.address=uni.getStorageSync("walletInfo").BTC[0].address,this.getCollection()},computed:{i18n:function(){return this.$t("index")}},onPullDownRefresh:function(){e("log","refresh"," at pages/menu/collection/index.vue:106"),this.getCollection(),setTimeout((function(){uni.stopPullDownRefresh()}),500)},methods:{showMsg:function(e,t){this.test=e,this.testindex=t,"ETH"==uni.getStorageSync("wallet").type?(this.showbottom=!1,this.goDetail()):this.showbottom=!0},getCollection:function(){var e=this;return o(n.default.mark((function t(){var r,i;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={address:e.address},t.next=3,e.$api.getNftProjectList(r);case 3:i=t.sent,e.collectinInfo=i.data;case 5:case"end":return t.stop()}}),t)})))()},goDetail2:function(t,r){uni.setStorageSync("proid",this.test.id),uni.setStorageSync("wallet",t),uni.setStorageSync("walleti",t.address),e("log",t,444," at pages/menu/collection/index.vue:137"),uni.setStorageSync("nftIndex",this.testindex);var n=JSON.stringify(this.test);uni.setStorageSync("nftitem",this.test),uni.navigateTo({url:"./collectionDetail/index?type="+n}),this.showbottom=!1},goDetail:function(e,t){uni.setStorageSync("proid",this.test.id),uni.setStorageSync("nftIndex",this.testindex),uni.setStorageSync("nftitem",this.test),uni.navigateTo({url:"./collectionDetail/index"}),this.showbottom=!1}}};t.default=s}).call(this,r("0de9")["default"])},"1c0b":function(e,t){e.exports="/static/tongyonh/trash.png"},"1c46":function(e,t,r){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=r("11dc"),t.createHash=t.Hash=r("98e6"),t.createHmac=t.Hmac=r("1a2a");var n=r("116d"),i=Object.keys(n),a=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return a};var o=r("a099");t.pbkdf2=o.pbkdf2,t.pbkdf2Sync=o.pbkdf2Sync;var s=r("956a");t.Cipher=s.Cipher,t.createCipher=s.createCipher,t.Cipheriv=s.Cipheriv,t.createCipheriv=s.createCipheriv,t.Decipher=s.Decipher,t.createDecipher=s.createDecipher,t.Decipheriv=s.Decipheriv,t.createDecipheriv=s.createDecipheriv,t.getCiphers=s.getCiphers,t.listCiphers=s.listCiphers;var u=r("00dc");t.DiffieHellmanGroup=u.DiffieHellmanGroup,t.createDiffieHellmanGroup=u.createDiffieHellmanGroup,t.getDiffieHellman=u.getDiffieHellman,t.createDiffieHellman=u.createDiffieHellman,t.DiffieHellman=u.DiffieHellman;var c=r("b692");t.createSign=c.createSign,t.Sign=c.Sign,t.createVerify=c.createVerify,t.Verify=c.Verify,t.createECDH=r("e1d3");var l=r("6442");t.publicEncrypt=l.publicEncrypt,t.privateEncrypt=l.privateEncrypt,t.publicDecrypt=l.publicDecrypt,t.privateDecrypt=l.privateDecrypt;var f=r("75cc");t.randomFill=f.randomFill,t.randomFillSync=f.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},"1c76":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("5a80"),i=r("cb58"),a=r("7787"),o=r("7f2c"),s=r("257a"),u=r("6df7"),c=r("e363"),l=r("feaf"),f=r("edaf"),d={P2MS:"multisig",NONSTANDARD:"nonstandard",NULLDATA:"nulldata",P2PK:"pubkey",P2PKH:"pubkeyhash",P2SH:"scripthash",P2WPKH:"witnesspubkeyhash",P2WSH:"witnessscripthash",WITNESS_COMMITMENT:"witnesscommitment"};function h(e){if(l.output.check(e))return d.P2WPKH;if(f.output.check(e))return d.P2WSH;if(s.output.check(e))return d.P2PKH;if(u.output.check(e))return d.P2SH;var t=n.decompile(e);if(!t)throw new TypeError("Invalid script");return i.output.check(t)?d.P2MS:o.output.check(t)?d.P2PK:c.output.check(t)?d.WITNESS_COMMITMENT:a.output.check(t)?d.NULLDATA:d.NONSTANDARD}function p(e,t){var r=n.decompile(e);if(!r)throw new TypeError("Invalid script");return s.input.check(r)?d.P2PKH:u.input.check(r,t)?d.P2SH:i.input.check(r,t)?d.P2MS:o.input.check(r)?d.P2PK:d.NONSTANDARD}function v(e,t){var r=n.decompile(e);if(!r)throw new TypeError("Invalid script");return l.input.check(r)?d.P2WPKH:f.input.check(r,t)?d.P2WSH:d.NONSTANDARD}t.types=d,t.output=h,t.input=p,t.witness=v},"1ca9":function(e,t,r){"use strict";r.r(t);var n=r("8b65"),i=r("e0d3");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);var o,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"a00d8ec8",null,!1,n["a"],o);t["default"]=u.exports},"1cbd":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FallbackProvider=void 0;var n=p(r("a34a")),i=r("3c6c"),a=r("846b"),o=r("ecb6"),s=r("16a3"),u=r("83b7"),c=r("35bf"),l=r("bb34"),f=r("3b61"),d=r("20ed"),h=r("9684");function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;rt?null:(n+i)/2}function O(e){if(null===e)return"null";if("number"===typeof e||"boolean"===typeof e)return JSON.stringify(e);if("string"===typeof e)return e;if(a.BigNumber.isBigNumber(e))return e.toString();if(Array.isArray(e))return JSON.stringify(e.map((function(e){return O(e)})));if("object"===typeof e){var t=Object.keys(e);return t.sort(),"{"+t.map((function(t){var r=e[t];return r="function"===typeof r?"[function]":O(r),JSON.stringify(t)+":"+r})).join(",")+"}"}throw new Error("unknown value type: "+typeof e)}var I=1;function j(e){var t=null,r=null,n=new Promise((function(n){t=function(){r&&(clearTimeout(r),r=null),n()},r=setTimeout(t,e)})),i=function(e){return n=n.then(e),n};function a(){return n}return{cancel:t,getPromise:a,wait:i}}var N=[d.Logger.errors.CALL_EXCEPTION,d.Logger.errors.INSUFFICIENT_FUNDS,d.Logger.errors.NONCE_EXPIRED,d.Logger.errors.REPLACEMENT_UNDERPRICED,d.Logger.errors.UNPREDICTABLE_GAS_LIMIT],R=["address","args","errorArgs","errorSignature","method","transaction"];function B(e,t){var r={weight:e.weight};return Object.defineProperty(r,"provider",{get:function(){return e.provider}}),e.start&&(r.start=e.start),t&&(r.duration=t-e.start),e.done&&(e.error?r.error=e.error:r.result=e.result||null),r}function M(e,t){return function(r){var n={};r.forEach((function(t){var r=e(t.result);n[r]||(n[r]={count:0,result:t.result}),n[r].count++}));for(var i=Object.keys(n),a=0;a=t)return o.result}}}function $(e,t,r){var n=O;switch(t){case"getBlockNumber":return function(t){var r=t.map((function(e){return e.result})),n=T(t.map((function(e){return e.result})),2);if(null!=n)return n=Math.ceil(n),r.indexOf(n+1)>=0&&n++,n>=e._highestBlockNumber&&(e._highestBlockNumber=n),e._highestBlockNumber};case"getGasPrice":return function(e){var t=e.map((function(e){return e.result}));return t.sort(),t[Math.floor(t.length/2)]};case"getEtherPrice":return function(e){return T(e.map((function(e){return e.result})))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":n=function(e){return null==e?null:(e=(0,s.shallowCopy)(e),e.confirmations=-1,O(e))};break;case"getBlock":n=r.includeTransactions?function(e){return null==e?null:(e=(0,s.shallowCopy)(e),e.transactions=e.transactions.map((function(e){return e=(0,s.shallowCopy)(e),e.confirmations=-1,e})),O(e))}:function(e){return null==e?null:O(e)};break;default:throw new Error("unknown method: "+t)}return M(n,e.quorum)}function U(e,t){return A(this,void 0,void 0,n.default.mark((function r(){var i;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(i=e.provider,!(null!=i.blockNumber&&i.blockNumber>=t||-1===t)){r.next=3;break}return r.abrupt("return",i);case 3:return r.abrupt("return",(0,c.poll)((function(){return new Promise((function(r,n){setTimeout((function(){return i.blockNumber>=t?r(i):e.cancelled?r(null):r(void 0)}),0)}))}),{oncePoll:i}));case 4:case"end":return r.stop()}}),r)})))}function L(e,t,r,i){return A(this,void 0,void 0,n.default.mark((function a(){var s,u;return n.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:s=e.provider,n.t0=r,n.next="getBlockNumber"===n.t0||"getGasPrice"===n.t0?4:"getEtherPrice"===n.t0?5:"getBalance"===n.t0||"getTransactionCount"===n.t0||"getCode"===n.t0?8:"getStorageAt"===n.t0?13:"getBlock"===n.t0?18:"call"===n.t0||"estimateGas"===n.t0?23:"getTransaction"===n.t0||"getTransactionReceipt"===n.t0?28:"getLogs"===n.t0?29:35;break;case 4:return n.abrupt("return",s[r]());case 5:if(!s.getEtherPrice){n.next=7;break}return n.abrupt("return",s.getEtherPrice());case 7:return n.abrupt("break",35);case 8:if(!i.blockTag||!(0,o.isHexString)(i.blockTag)){n.next=12;break}return n.next=11,U(e,t);case 11:s=n.sent;case 12:return n.abrupt("return",s[r](i.address,i.blockTag||"latest"));case 13:if(!i.blockTag||!(0,o.isHexString)(i.blockTag)){n.next=17;break}return n.next=16,U(e,t);case 16:s=n.sent;case 17:return n.abrupt("return",s.getStorageAt(i.address,i.position,i.blockTag||"latest"));case 18:if(!i.blockTag||!(0,o.isHexString)(i.blockTag)){n.next=22;break}return n.next=21,U(e,t);case 21:s=n.sent;case 22:return n.abrupt("return",s[i.includeTransactions?"getBlockWithTransactions":"getBlock"](i.blockTag||i.blockHash));case 23:if(!i.blockTag||!(0,o.isHexString)(i.blockTag)){n.next=27;break}return n.next=26,U(e,t);case 26:s=n.sent;case 27:return n.abrupt("return",s[r](i.transaction));case 28:return n.abrupt("return",s[r](i.transactionHash));case 29:if(u=i.filter,!(u.fromBlock&&(0,o.isHexString)(u.fromBlock)||u.toBlock&&(0,o.isHexString)(u.toBlock))){n.next=34;break}return n.next=33,U(e,t);case 33:s=n.sent;case 34:return n.abrupt("return",s.getLogs(u));case 35:return n.abrupt("return",E.throwError("unknown method error",d.Logger.errors.UNKNOWN_ERROR,{method:r,params:i}));case 36:case"end":return n.stop()}}),a)})))}var F=function(e){b(r,e);var t=w(r);function r(e,n){var a;v(this,r),E.checkNew(this instanceof r?this.constructor:void 0,r),0===e.length&&E.throwArgumentError("missing providers","providers",e);var o=e.map((function(e,t){if(i.Provider.isProvider(e)){var r=(0,f.isCommunityResource)(e)?2e3:750,n=1;return Object.freeze({provider:e,weight:1,stallTimeout:r,priority:n})}var a=(0,s.shallowCopy)(e);null==a.priority&&(a.priority=1),null==a.stallTimeout&&(a.stallTimeout=(0,f.isCommunityResource)(e)?2e3:750),null==a.weight&&(a.weight=1);var o=a.weight;return(o%1||o>512||o<1)&&E.throwArgumentError("invalid weight; must be integer in [1, 512]","providers[".concat(t,"].weight"),o),Object.freeze(a)})),u=o.reduce((function(e,t){return e+t.weight}),0);null==n?n=u/2:n>u&&E.throwArgumentError("quorum will always fail; larger than total weight","quorum",n);var c=C(o.map((function(e){return e.provider.network})));return null==c&&(c=new Promise((function(e,t){setTimeout((function(){a.detectNetwork().then(e,t)}),0)}))),a=t.call(this,c),(0,s.defineReadOnly)(k(a),"providerConfigs",Object.freeze(o)),(0,s.defineReadOnly)(k(a),"quorum",n),a._highestBlockNumber=-1,a}return g(r,[{key:"detectNetwork",value:function(){return A(this,void 0,void 0,n.default.mark((function e(){var t;return n.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(this.providerConfigs.map((function(e){return e.provider.getNetwork()})));case 2:return t=e.sent,e.abrupt("return",C(t));case 4:case"end":return e.stop()}}),e,this)})))}},{key:"perform",value:function(e,t){return A(this,void 0,void 0,n.default.mark((function r(){var i,a,o,c,l,f,h,p,v,m,g=this;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if("sendTransaction"!==e){r.next=13;break}return r.next=3,Promise.all(this.providerConfigs.map((function(e){return e.provider.sendTransaction(t.signedTransaction).then((function(e){return e.hash}),(function(e){return e}))})));case 3:i=r.sent,a=0;case 5:if(!(a=g.quorum)){r.next=19;break}if(v=c(d),void 0===v){r.next=15;break}return l.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0})),r.abrupt("return",{v:v});case 15:if(p){r.next=18;break}return r.next=18,j(100).getPromise();case 18:p=!1;case 19:if(m=l.reduce((function(e,t){if(!t.done||null==t.error)return e;var r=t.error.code;return N.indexOf(r)>=0&&(e[r]||(e[r]={error:t.error,weight:0}),e[r].weight+=t.weight),e}),{}),Object.keys(m).forEach((function(e){var t=m[e];if(!(t.weight0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function l(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function f(e,t,r){return 3*(t+r)/4-r}function d(e){var t,r,n=c(e),o=n[0],s=n[1],u=new a(f(e,o,s)),l=0,d=s>0?o-4:o;for(r=0;r>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u}function h(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function p(e,t,r){for(var n,i=[],a=t;au?u:s+o));return 1===i?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fe8":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionFragment=t.ConstructorFragment=t.EventFragment=t.Fragment=t.ParamType=t.FormatTypes=void 0;var n=r("846b"),i=r("16a3"),a=r("20ed"),o=r("d87f");function s(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function c(e){var t=d();return function(){var r,n=h(e);if(t){var i=h(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r=0||"tuple"===e)&&w[t])return!0;return(y[t]||"payable"===t)&&g.throwArgumentError("invalid modifier","name",t),!1}function k(e,t){var r=e;function n(t){g.throwArgumentError("unexpected character at position ".concat(t),"param",e)}function i(e){var r={type:"",name:"",parent:e,state:{allowType:!0}};return t&&(r.indexed=!1),r}e=e.replace(/\s/g," ");for(var a={type:"",name:"",state:{allowType:!0}},o=a,s=0;s2&&g.throwArgumentError("invalid human-readable ABI signature","value",e),r[1].match(/^[0-9]+$/)||g.throwArgumentError("invalid human-readable ABI signature gas","value",e),t.gas=n.BigNumber.from(r[1]),r[0]):e}function I(t,r){r.constant=!1,r.payable=!1,r.stateMutability="nonpayable",t.split(" ").forEach((function(t){switch(t.trim()){case"constant":r.constant=!0;break;case"payable":r.payable=!0,r.stateMutability="payable";break;case"nonpayable":r.payable=!1,r.stateMutability="nonpayable";break;case"pure":r.constant=!0,r.stateMutability="pure";break;case"view":r.constant=!0,r.stateMutability="view";break;case"external":case"public":case"":break;default:e("log","unknown modifier: "+t," at node_modules/@ethersproject/abi/lib.esm/fragments.js:506")}}))}function j(e){var t={constant:!1,payable:!0,stateMutability:"payable"};return null!=e.stateMutability?(t.stateMutability=e.stateMutability,t.constant="view"===t.stateMutability||"pure"===t.stateMutability,null!=e.constant&&!!e.constant!==t.constant&&g.throwArgumentError("cannot have constant function with mutability "+t.stateMutability,"value",e),t.payable="payable"===t.stateMutability,null!=e.payable&&!!e.payable!==t.payable&&g.throwArgumentError("cannot have payable function with mutability "+t.stateMutability,"value",e)):null!=e.payable?(t.payable=!!e.payable,null!=e.constant||t.payable||"constructor"===e.type||g.throwArgumentError("unable to determine stateMutability","value",e),t.constant=!!e.constant,t.constant?t.stateMutability="view":t.stateMutability=t.payable?"payable":"nonpayable",t.payable&&t.constant&&g.throwArgumentError("cannot have constant payable function","value",e)):null!=e.constant?(t.constant=!!e.constant,t.payable=!t.constant,t.stateMutability=t.constant?"view":"payable"):"constructor"!==e.type&&g.throwArgumentError("unable to determine stateMutability","value",e),t}t.EventFragment=T;var N=function(e){s(r,e);var t=c(r);function r(){return p(this,r),t.apply(this,arguments)}return m(r,[{key:"format",value:function(e){if(e||(e=S.sighash),S[e]||g.throwArgumentError("invalid format type","format",e),e===S.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payble:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});e===S.sighash&&g.throwError("cannot format a constructor for sighash",a.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var t="constructor("+this.inputs.map((function(t){return t.format(e)})).join(e===S.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "),t.trim()}}],[{key:"from",value:function(e){return"string"===typeof e?r.fromString(e):r.fromObject(e)}},{key:"fromObject",value:function(e){if(r.isConstructorFragment(e))return e;"constructor"!==e.type&&g.throwArgumentError("invalid constructor object","value",e);var t=j(e);t.constant&&g.throwArgumentError("constructor cannot be constant","value",e);var i={name:null,type:e.type,inputs:e.inputs?e.inputs.map(E.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?n.BigNumber.from(e.gas):null};return new r(b,i)}},{key:"fromString",value:function(e){var t={type:"constructor"};e=O(e,t);var n=e.match(U);return n&&"constructor"===n[1].trim()||g.throwArgumentError("invalid constructor string","value",e),t.inputs=P(n[2].trim(),!1),I(n[3].trim(),t),r.fromObject(t)}},{key:"isConstructorFragment",value:function(e){return e&&e._isFragment&&"constructor"===e.type}}]),r}(C);t.ConstructorFragment=N;var R=function(e){s(r,e);var t=c(r);function r(){return p(this,r),t.apply(this,arguments)}return m(r,[{key:"format",value:function(e){if(e||(e=S.sighash),S[e]||g.throwArgumentError("invalid format type","format",e),e===S.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payble:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))})),ouputs:this.outputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==S.sighash&&(t+="function "),t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===S.full?", ":",")+") ",e!==S.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "):this.constant&&(t+="view "),this.outputs&&this.outputs.length&&(t+="returns ("+this.outputs.map((function(t){return t.format(e)})).join(", ")+") "),null!=this.gas&&(t+="@"+this.gas.toString()+" ")),t.trim()}}],[{key:"from",value:function(e){return"string"===typeof e?r.fromString(e):r.fromObject(e)}},{key:"fromObject",value:function(e){if(r.isFunctionFragment(e))return e;"function"!==e.type&&g.throwArgumentError("invalid function object","value",e);var t=j(e),i={type:e.type,name:$(e.name),constant:t.constant,inputs:e.inputs?e.inputs.map(E.fromObject):[],outputs:e.outputs?e.outputs.map(E.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?n.BigNumber.from(e.gas):null};return new r(b,i)}},{key:"fromString",value:function(e){var t={type:"function"};e=O(e,t);var n=e.split(" returns ");n.length>2&&g.throwArgumentError("invalid function string","value",e);var i=n[0].match(U);if(i||g.throwArgumentError("invalid function signature","value",e),t.name=i[1].trim(),t.name&&$(t.name),t.inputs=P(i[2],!1),I(i[3].trim(),t),n.length>1){var a=n[1].match(U);""==a[1].trim()&&""==a[3].trim()||g.throwArgumentError("unexpected tokens","value",e),t.outputs=P(a[2],!1)}else t.outputs=[];return r.fromObject(t)}},{key:"isFunctionFragment",value:function(e){return e&&e._isFragment&&"function"===e.type}}]),r}(N);function B(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}t.FunctionFragment=R;var M=new RegExp("^[A-Za-z_][A-Za-z0-9_]*$");function $(e){return e&&e.match(M)||g.throwArgumentError('invalid identifier "'.concat(e,'"'),"value",e),e}var U=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");function L(e){e=e.trim();for(var t=[],r="",n=0,i=0;ic[r]||console.log.apply(console,t)}},{key:"debug",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n>4],r+=m[15&t[a]];i.push(e+"=Uint8Array(0x"+r+")")}else i.push(e+"="+JSON.stringify(t))}catch(o){i.push(e+"="+JSON.stringify(n[e].toString()))}})),i.push("code=".concat(r)),i.push("version=".concat(this.version));var a=t;i.length&&(t+=" ("+i.join(", ")+")");var o=new Error(t);return o.reason=a,o.code=r,Object.keys(n).forEach((function(e){o[e]=n[e]})),o}},{key:"throwError",value:function(e,t,r){throw this.makeError(e,t,r)}},{key:"throwArgumentError",value:function(t,r,n){return this.throwError(t,e.errors.INVALID_ARGUMENT,{argument:r,value:n})}},{key:"assert",value:function(e,t,r,n){e||this.throwError(t,r,n)}},{key:"assertArgument",value:function(e,t,r,n){e||this.throwArgumentError(t,r,n)}},{key:"checkNormalize",value:function(t){null==t&&(t="platform missing String.prototype.normalize"),v&&this.throwError("platform missing String.prototype.normalize",e.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:v})}},{key:"checkSafeUint53",value:function(t,r){"number"===typeof t&&(null==r&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}},{key:"checkArgumentCount",value:function(t,r,n){n=n?": "+n:"",tr&&this.throwError("too many arguments"+n,e.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}},{key:"checkNew",value:function(t,r){t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})}},{key:"checkAbstract",value:function(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",e.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})}}],[{key:"globalLogger",value:function(){return f||(f=new e(n.version)),f}},{key:"setCensorship",value:function(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),s){if(!t)return;this.globalLogger().throwError("error censorship permanent",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}u=!!t,s=!!r}},{key:"setLogLevel",value:function(t){var r=c[t.toLowerCase()];null!=r?l=r:e.globalLogger().warn("invalid log level - "+t)}},{key:"from",value:function(t){return new e(t)}}]),e}();t.Logger=g,g.errors=p,g.levels=h},"20f6":function(e,t,r){var n=t;n.der=r("cfbd"),n.pem=r("8df7")},2113:function(e,t,r){"use strict";r.r(t);var n=r("74bf"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},2137:function(e,t,r){"use strict";var n=r("c3c0"),i=r("da3e");function a(e,t,r){if(!(this instanceof a))return new a(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}e.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t0?(t.unshift(r),t):[r]},f.prototype.checkInterfaceSupport=function(){var e=a(n.mark((function e(r,i){var a;return n.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(l[i]){e.next=2;break}return e.abrupt("return");case 2:return a=!1,e.prev=3,e.next=6,r.methods.supportsInterface(l[i]).call();case 6:a=e.sent,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](3),t("warn",'Could not verify interface of resolver contract at "'+r.options.address+'". '," at node_modules/web3-eth-ens/lib/lib/ResolverMethodHandler.js:214");case 12:if(a){e.next=14;break}throw u.ResolverMethodMissingError(r.options.address,i);case 14:case"end":return e.stop()}}),e,null,[[3,9]])})));return function(t,r){return e.apply(this,arguments)}}(),e.exports=f}).call(this,r("0de9")["default"])},2236:function(e,t,r){var n=r("5a43");function i(e){if(Array.isArray(e))return n(e)}e.exports=i},2366:function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);function i(e,t){var n=t||0,i=r;return[i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]]].join("")}e.exports=i},2382:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"u-popup",props:{show:{type:Boolean,default:!1},mode:{type:String,default:"left"},mask:{type:Boolean,default:!0},length:{type:[Number,String],default:"auto"},zoom:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},customStyle:{type:Object,default:function(){return{}}},value:{type:Boolean,default:!1},popup:{type:Boolean,default:!0},borderRadius:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:""},closeable:{type:Boolean,default:!1},closeIcon:{type:String,default:"close"},closeIconPos:{type:String,default:"top-right"},closeIconColor:{type:String,default:"#909399"},closeIconSize:{type:[String,Number],default:"30"},width:{type:String,default:""},height:{type:String,default:""},negativeTop:{type:[String,Number],default:0},maskCustomStyle:{type:Object,default:function(){return{}}},duration:{type:[String,Number],default:250}},data:function(){return{visibleSync:!1,showDrawer:!1,timer:null,closeFromInner:!1}},computed:{style:function(){var e={};if("left"==this.mode||"right"==this.mode?e={width:this.width?this.getUnitValue(this.width):this.getUnitValue(this.length),height:"100%",transform:"translate3D(".concat("left"==this.mode?"-100%":"100%",",0px,0px)")}:"top"!=this.mode&&"bottom"!=this.mode||(e={width:"100%",height:this.height?this.getUnitValue(this.height):this.getUnitValue(this.length),transform:"translate3D(0px,".concat("top"==this.mode?"-100%":"100%",",0px)")}),e.zIndex=this.uZindex,this.borderRadius){switch(this.mode){case"left":e.borderRadius="0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0");break;case"top":e.borderRadius="0 0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx");break;case"right":e.borderRadius="".concat(this.borderRadius,"rpx 0 0 ").concat(this.borderRadius,"rpx");break;case"bottom":e.borderRadius="".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0 0");break;default:}e.overflow="hidden"}return this.duration&&(e.transition="all ".concat(this.duration/1e3,"s linear")),e},centerStyle:function(){var e={};return e.width=this.width?this.getUnitValue(this.width):this.getUnitValue(this.length),e.height=this.height?this.getUnitValue(this.height):"auto",e.zIndex=this.uZindex,e.marginTop="-".concat(this.$u.addUnit(this.negativeTop)),this.borderRadius&&(e.borderRadius="".concat(this.borderRadius,"rpx"),e.overflow="hidden"),e},uZindex:function(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},watch:{value:function(e){e?this.open():this.closeFromInner||this.close(),this.closeFromInner=!1}},mounted:function(){this.value&&this.open()},methods:{getUnitValue:function(e){return/(%|px|rpx|auto)$/.test(e)?e:e+"rpx"},maskClick:function(){this.close()},close:function(){this.closeFromInner=!0,this.change("showDrawer","visibleSync",!1)},modeCenterClose:function(e){"center"==e&&this.maskCloseAble&&this.close()},open:function(){this.change("visibleSync","showDrawer",!0)},change:function(e,t,r){var n=this;1==this.popup&&this.$emit("input",r),this[e]=r,r?this.$nextTick((function(){n[t]=r,n.$emit(r?"open":"close")})):this.timer=setTimeout((function(){n[t]=r,n.$emit(r?"open":"close")}),this.duration)}}};t.default=n},"23c4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.halfWidth=void 0;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}var a=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function o(e){return(0,n.default)(e),a.test(e)}t.halfWidth=a},"23c4e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/,o=/^([0-9a-fA-F]){12}$/;function s(e,t){return(0,n.default)(e),t&&t.no_colons?o.test(e):a.test(e)}e.exports=t.default,e.exports.default=t.default},"240f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.locales=void 0;var n=a(r("3ce7")),i=r("3c37");function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){(0,n.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?i.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var a=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||a>=t.min)&&(!t.hasOwnProperty("max")||a<=t.max)&&(!t.hasOwnProperty("lt")||at.gt)}var s=Object.keys(i.decimal);t.locales=s},2437:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r("8e09")),n(r("db0c"));function n(e){return e&&e.__esModule?e:{default:e}}var i={data:function(){return{show:!1,info:{},isIn:!0,toTop:!1}},computed:{i18n:function(){return this.$t("index")}},methods:{toDetail:function(){var e;"TRX"==this.info.chainName?e=this.$SystemConfiguration.constant.trxTransctionDetail+this.info.txid:"ETH"==this.info.chainName&&(e=this.$SystemConfiguration.constant.ethTransctionDetail+this.info.txid),plus.runtime.openURL(e)},copyTextMethod:function(t){e("log",t," at pages/menu/transction/detail/index.vue:141");var r=this;e("log",123132," at pages/menu/transction/detail/index.vue:155"),uni.hideToast(),uni.setClipboardData({data:t,success:function(){uni.showToast({title:r.$t("index").CopySuccessful,icon:"none",duration:1500})}})}},onLoad:function(t){this.info=uni.getStorageSync("transDetail"),e("log",this.info,787878," at pages/menu/transction/detail/index.vue:172"),this.isIn="in"===this.info.type,e("log",this.isIn," at pages/menu/transction/detail/index.vue:174")}};t.default=i}).call(this,r("0de9")["default"])},"243a":function(e,t,r){var n=r("3742"),i=r("7e30"),a=r("89d2"),o=r("fe9c"),s=r("11dc"),u=r("399f"),c=function(e,t,r,i,a){return!n.isObject(e)||e instanceof Error||!e.data||((n.isObject(e.data)||n.isArray(e.data))&&(e.data=JSON.stringify(e.data,null,2)),e=e.message+"\n"+e.data),n.isString(e)&&(e=new Error(e)),n.isFunction(i)&&i(e,a),n.isFunction(r)&&((t&&n.isFunction(t.listeners)&&t.listeners("error").length||n.isFunction(i))&&t.catch((function(){})),setTimeout((function(){r(e)}),1)),t&&n.isFunction(t.emit)&&setTimeout((function(){t.emit("error",e,a),t.removeAllListeners()}),1),t},l=function(e){return n.isObject(e)&&e.name&&-1!==e.name.indexOf("(")?e.name:e.name+"("+f(!1,e.inputs).join(",")+")"},f=function e(t,r){var i=[];return r.forEach((function(r){if("object"===typeof r.components){if("tuple"!==r.type.substring(0,5))throw new Error("components found but type is not tuple; report on GitHub");var a="",o=r.type.indexOf("[");o>=0&&(a=r.type.substring(o));var s=e(t,r.components);n.isArray(s)&&t?i.push("tuple("+s.join(",")+")"+a):t?i.push("("+s+")"):i.push("("+s.join(",")+")"+a)}else i.push(r.type)})),i},d=function(e){return"0x"+s(e).toString("hex")},h=function(e){if(!a.isHexStrict(e))throw new Error("The parameter must be a valid HEX string.");var t="",r=0,n=e.length;for("0x"===e.substring(0,2)&&(r=2);r7?r+=e[n].toUpperCase():r+=e[n];return r},y=function(e,t){if(e==t)return 0;if("genesis"!=e&&"earliest"!=e&&0!=e||"genesis"!=t&&"earliest"!=t&&0!=t){if("genesis"==e||"earliest"==e)return-1;if("genesis"==t||"earliest"==t)return 1;if("latest"==e)return"pending"==t?-1:1;if("latest"===t)return"pending"==e?1:-1;if("pending"==e)return 1;if("pending"==t)return-1;var r=new u(e),n=new u(t);return r.lt(n)?-1:r.eq(n)?0:1}return 0};e.exports={_fireError:c,_jsonInterfaceMethodToString:l,_flattenTypes:f,randomHex:d,_:n,BN:a.BN,isBN:a.isBN,isBigNumber:a.isBigNumber,isHex:a.isHex,isHexStrict:a.isHexStrict,sha3:a.sha3,sha3Raw:a.sha3Raw,keccak256:a.sha3,soliditySha3:o.soliditySha3,soliditySha3Raw:o.soliditySha3Raw,encodePacked:o.encodePacked,isAddress:a.isAddress,checkAddressChecksum:a.checkAddressChecksum,toChecksumAddress:b,toHex:a.toHex,toBN:a.toBN,bytesToHex:a.bytesToHex,hexToBytes:a.hexToBytes,hexToNumberString:a.hexToNumberString,hexToNumber:a.hexToNumber,toDecimal:a.hexToNumber,numberToHex:a.numberToHex,fromDecimal:a.numberToHex,hexToUtf8:a.hexToUtf8,hexToString:a.hexToUtf8,toUtf8:a.hexToUtf8,stripHexPrefix:a.stripHexPrefix,utf8ToHex:a.utf8ToHex,stringToHex:a.utf8ToHex,fromUtf8:a.utf8ToHex,hexToAscii:h,toAscii:h,asciiToHex:p,fromAscii:p,unitMap:i.unitMap,toWei:g,fromWei:m,padLeft:a.leftPad,leftPad:a.leftPad,padRight:a.rightPad,rightPad:a.rightPad,toTwosComplement:a.toTwosComplement,isBloom:a.isBloom,isUserEthereumAddressInBloom:a.isUserEthereumAddressInBloom,isContractAddressInBloom:a.isContractAddressInBloom,isTopic:a.isTopic,isTopicInBloom:a.isTopicInBloom,isInBloom:a.isInBloom,compareBlockNumbers:y}},"245c":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=c;var n=r("ecb6"),i=r("20ed"),a=r("a721"),o=new i.Logger(a.version),s=null;try{if(s=window,null==s)throw new Error("try next")}catch(l){try{if(s=e,null==s)throw new Error("try next")}catch(l){s={}}}var u=s.crypto||s.msCrypto;function c(e){(e<=0||e>1024||e%1||e!=e)&&o.throwArgumentError("invalid length","length",e);var t=new Uint8Array(e);return u.getRandomValues(t),(0,n.arrayify)(t)}u&&u.getRandomValues||(o.warn("WARNING: Missing strong random number source"),u={getRandomValues:function(e){return o.throwError("no secure random source avaialble",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}})}).call(this,r("c8ba"))},"249c":function(e,t){e.exports="/static/tongyonh/Frame70.png"},"24c0":function(e){e.exports=JSON.parse('{"name":"byzantium","comment":"Hardfork with new precompiles, instructions and other protocol changes","eip":{"url":"https://eips.ethereum.org/EIPS/eip-609","status":"Final"},"gasConfig":{},"gasPrices":{"modexpGquaddivisor":{"v":20,"d":"Gquaddivisor from modexp precompile for gas calculation"},"ecAdd":{"v":500,"d":"Gas costs for curve addition precompile"},"ecMul":{"v":40000,"d":"Gas costs for curve multiplication precompile"},"ecPairing":{"v":100000,"d":"Base gas costs for curve pairing precompile"},"ecPairingWord":{"v":80000,"d":"Gas costs regarding curve pairing precompile input length"}},"vm":{},"pow":{"minerReward":{"v":"3000000000000000000","d":"the amount a miner get rewarded for mining a block"}},"casper":{},"sharding":{}}')},"24ea":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.importPublic=t.privateToPublic=t.privateToAddress=t.publicToAddress=t.pubToAddress=t.isValidPublic=t.isValidPrivate=t.isPrecompiled=t.generateAddress2=t.generateAddress=t.isValidChecksumAddress=t.toChecksumAddress=t.isZeroAddress=t.isValidAddress=t.zeroAddress=void 0;var n=r("f654"),i=r("d725"),a=r("bb4c"),o=r("399f"),s=r("556d"),u=r("0d39");t.zeroAddress=function(){var e=20,t=s.zeros(e);return s.bufferToHex(t)},t.isValidAddress=function(e){return/^0x[0-9a-fA-F]{40}$/.test(e)},t.isZeroAddress=function(e){var r=t.zeroAddress();return r===s.addHexPrefix(e)},t.toChecksumAddress=function(e,t){e=i.stripHexPrefix(e).toLowerCase();for(var r=void 0!==t?t.toString()+"0x":"",n=u.keccak(r+e).toString("hex"),a="0x",o=0;o=8?a+=e[o].toUpperCase():a+=e[o];return a},t.isValidChecksumAddress=function(e,r){return t.isValidAddress(e)&&t.toChecksumAddress(e,r)===e},t.generateAddress=function(t,r){t=s.toBuffer(t);var n=new o(r);return n.isZero()?u.rlphash([t,null]).slice(-20):u.rlphash([t,e.from(n.toArray())]).slice(-20)},t.generateAddress2=function(t,r,i){var a=s.toBuffer(t),o=s.toBuffer(r),c=s.toBuffer(i);n(20===a.length),n(32===o.length);var l=u.keccak256(e.concat([e.from("ff","hex"),a,o,u.keccak256(c)]));return l.slice(-20)},t.isPrecompiled=function(e){var t=s.unpad(e);return 1===t.length&&t[0]>=1&&t[0]<=8},t.isValidPrivate=function(e){return a.privateKeyVerify(e)},t.isValidPublic=function(t,r){return void 0===r&&(r=!1),64===t.length?a.publicKeyVerify(e.concat([e.from([4]),t])):!!r&&a.publicKeyVerify(t)},t.pubToAddress=function(e,t){return void 0===t&&(t=!1),e=s.toBuffer(e),t&&64!==e.length&&(e=a.publicKeyConvert(e,!1).slice(1)),n(64===e.length),u.keccak(e).slice(-20)},t.publicToAddress=t.pubToAddress,t.privateToAddress=function(e){return t.publicToAddress(t.privateToPublic(e))},t.privateToPublic=function(e){return e=s.toBuffer(e),a.publicKeyCreate(e,!1).slice(1)},t.importPublic=function(e){return e=s.toBuffer(e),64!==e.length&&(e=a.publicKeyConvert(e,!1).slice(1)),e}}).call(this,r("b639").Buffer)},"24f5":function(e,t,r){"use strict";(function(t){
+(function(t,r){e.exports=r()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){"use strict";r.d(t,"j",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"h",(function(){return s})),r.d(t,"b",(function(){return u})),r.d(t,"k",(function(){return c})),r.d(t,"e",(function(){return l})),r.d(t,"g",(function(){return f})),r.d(t,"i",(function(){return d})),r.d(t,"a",(function(){return h})),r.d(t,"f",(function(){return p}));var n=r(1),i=c((function(e,t){var r=t.length;return c((function(n){for(var i=0;il&&(V("Max buffer length exceeded: textNode"),e=Math.max(e,a.length)),R.length>l&&(V("Max buffer length exceeded: numberNode"),e=Math.max(e,R.length)),N=l-e+H}function V(e){void 0!==a&&(s(a),u(),a=void 0),t=Error(e+"\nLn: "+W+"\nCol: "+q+"\nChr: "+r),c(Object(n["o"])(void 0,void 0,t))}function G(){if(U===h)return s({}),u(),void($=!0);U===p&&0===z||V("Unexpected end"),void 0!==a&&(s(a),u(),a=void 0),$=!0}function X(e){return"\r"===e||"\n"===e||" "===e||"\t"===e}function J(e){if(!t){if($)return V("Cannot write after close");var n=0;r=e[0];while(r){if(n>0&&(i=r),r=e[n++],!r)break;switch(H++,"\n"===r?(W++,q=0):q++,U){case h:if("{"===r)U=v;else if("["===r)U=b;else if(!X(r))return V("Non-whitespace before {[.");continue;case w:case v:if(X(r))continue;if(U===w)F.push(_);else{if("}"===r){s({}),u(),U=F.pop()||p;continue}F.push(m)}if('"'!==r)return V('Malformed object key should start with " ');U=y;continue;case _:case m:if(X(r))continue;if(":"===r)U===m?(F.push(m),void 0!==a&&(s({}),o(a),a=void 0),z++):void 0!==a&&(o(a),a=void 0),U=p;else if("}"===r)void 0!==a&&(s(a),u(),a=void 0),u(),z--,U=F.pop()||p;else{if(","!==r)return V("Bad object");U===m&&F.push(m),void 0!==a&&(s(a),u(),a=void 0),U=w}continue;case b:case p:if(X(r))continue;if(U===b){if(s([]),z++,U=p,"]"===r){u(),z--,U=F.pop()||p;continue}F.push(g)}if('"'===r)U=y;else if("{"===r)U=v;else if("["===r)U=b;else if("t"===r)U=k;else if("f"===r)U=A;else if("n"===r)U=T;else if("-"===r)R+=r;else if("0"===r)R+=r,U=B;else{if(-1==="123456789".indexOf(r))return V("Bad value");R+=r,U=B}continue;case g:if(","===r)F.push(g),void 0!==a&&(s(a),u(),a=void 0),U=p;else{if("]"!==r){if(X(r))continue;return V("Bad array")}void 0!==a&&(s(a),u(),a=void 0),u(),z--,U=F.pop()||p}continue;case y:void 0===a&&(a="");var c=n-1;e:while(1){while(D>0)if(L+=r,r=e.charAt(n++),4===D?(a+=String.fromCharCode(parseInt(L,16)),D=0,c=n-1):D++,!r)break e;if('"'===r&&!M){U=F.pop()||p,a+=e.substring(c,n-1);break}if("\\"===r&&!M&&(M=!0,a+=e.substring(c,n-1),r=e.charAt(n++),!r))break;if(M){if(M=!1,"n"===r?a+="\n":"r"===r?a+="\r":"t"===r?a+="\t":"f"===r?a+="\f":"b"===r?a+="\b":"u"===r?(D=1,L=""):a+=r,r=e.charAt(n++),c=n-1,r)continue;break}f.lastIndex=n;var l=f.exec(e);if(!l){n=e.length+1,a+=e.substring(c,n-1);break}if(n=l.index+1,r=e.charAt(l.index),!r){a+=e.substring(c,n-1);break}}continue;case k:if(!r)continue;if("r"!==r)return V("Invalid true started with t"+r);U=x;continue;case x:if(!r)continue;if("u"!==r)return V("Invalid true started with tr"+r);U=S;continue;case S:if(!r)continue;if("e"!==r)return V("Invalid true started with tru"+r);s(!0),u(),U=F.pop()||p;continue;case A:if(!r)continue;if("a"!==r)return V("Invalid false started with f"+r);U=E;continue;case E:if(!r)continue;if("l"!==r)return V("Invalid false started with fa"+r);U=C;continue;case C:if(!r)continue;if("s"!==r)return V("Invalid false started with fal"+r);U=P;continue;case P:if(!r)continue;if("e"!==r)return V("Invalid false started with fals"+r);s(!1),u(),U=F.pop()||p;continue;case T:if(!r)continue;if("u"!==r)return V("Invalid null started with n"+r);U=O;continue;case O:if(!r)continue;if("l"!==r)return V("Invalid null started with nu"+r);U=I;continue;case I:if(!r)continue;if("l"!==r)return V("Invalid null started with nul"+r);s(null),u(),U=F.pop()||p;continue;case j:if("."!==r)return V("Leading zero not followed by .");R+=r,U=B;continue;case B:if(-1!=="0123456789".indexOf(r))R+=r;else if("."===r){if(-1!==R.indexOf("."))return V("Invalid number has two dots");R+=r}else if("e"===r||"E"===r){if(-1!==R.indexOf("e")||-1!==R.indexOf("E"))return V("Invalid number has two exponential");R+=r}else if("+"===r||"-"===r){if("e"!==i&&"E"!==i)return V("Invalid symbol in number");R+=r}else R&&(s(parseFloat(R)),u(),R=""),n--,U=F.pop()||p;continue;default:return V("Unknown state: "+U)}}H>=N&&K()}}e(n["m"]).on(J),e(n["n"]).on(G)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return c}));var n=r(19),i=r(3),a=r(2),o=r(20),s=r(0);function u(){return new XMLHttpRequest}function c(e,t,r,u,c,l,f){var d=e(i["m"]).emit,h=e(i["b"]).emit,p=0,v=!0;function m(){if("2"===String(t.status)[0]){var e=t.responseText,r=(" "+e.substr(p)).substr(1);r&&d(r),p=Object(a["e"])(e)}}function b(t){try{v&&e(i["c"]).emit(t.status,Object(o["a"])(t.getAllResponseHeaders())),v=!1}catch(r){}}e(i["a"]).on((function(){t.onreadystatechange=null,t.abort()})),"onprogress"in t&&(t.onprogress=m),t.onreadystatechange=function(){switch(t.readyState){case 2:case 3:return b(t);case 4:b(t);var r="2"===String(t.status)[0];r?(m(),e(i["n"]).emit()):h(Object(i["o"])(t.status,t.responseText))}};try{for(var g in t.open(r,u,!0),l)t.setRequestHeader(g,l[g]);Object(n["a"])(window.location,Object(n["b"])(u))||t.setRequestHeader("X-Requested-With","XMLHttpRequest"),t.withCredentials=f,t.send(c)}catch(y){window.setTimeout(Object(s["j"])(h,Object(i["o"])(void 0,void 0,y)),0)}}},function(e,t,r){"use strict";function n(e,t){function r(e){return{"http:":80,"https:":443}[e]}function n(t){return String(t.port||r(t.protocol||e.protocol))}return!!(t.protocol&&t.protocol!==e.protocol||t.host&&t.host!==e.host||t.host&&n(t)!==n(e))}function i(e){var t=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/,r=t.exec(e)||[];return{protocol:r[1]||"",host:r[2]||"",port:r[3]||""}}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}))},function(e,t,r){"use strict";function n(e){var t={};return e&&e.split("\r\n").forEach((function(e){var r=e.indexOf(": ");t[e.substring(0,r)]=e.substring(r+2)})),t}r.d(t,"a",(function(){return n}))}])["default"]}))},"12ef":function(e,t,r){"use strict";(function(t){var n=r("085b"),i=function(e){this.name=e.name,this.type=e.type,this.subscriptions=e.subscriptions||{},this.requestManager=null};i.prototype.setRequestManager=function(e){this.requestManager=e},i.prototype.attachToObject=function(e){var t=this.buildCall(),r=this.name.split(".");r.length>1?(e[r[0]]=e[r[0]]||{},e[r[0]][r[1]]=t):e[r[0]]=t},i.prototype.buildCall=function(){var e=this;return function(){e.subscriptions[arguments[0]]||t("warn","Subscription "+JSON.stringify(arguments[0])+" doesn't exist. Subscribing anyway."," at node_modules/web3-core-subscriptions/lib/index.js:48");var r=new n({subscription:e.subscriptions[arguments[0]]||{},requestManager:e.requestManager,type:e.type});return r.subscribe.apply(r,arguments)}},e.exports={subscriptions:i,subscription:n}}).call(this,r("0de9")["default"])},1383:function(e,t,r){var n=r("fb75");e.exports={isValidAddress:function(e){return!!/^0x[0-9a-fA-F]{40}$/.test(e)&&(!(!/^0x[0-9a-f]{40}$/.test(e)&&!/^0x?[0-9A-F]{40}$/.test(e))||this.verifyChecksum(e))},verifyChecksum:function(e){e=e.replace("0x","");for(var t=n.keccak256(e.toLowerCase()),r=0;r<40;r++)if(parseInt(t[r],16)>7&&e[r].toUpperCase()!==e[r]||parseInt(t[r],16)<=7&&e[r].toLowerCase()!==e[r])return!1;return!0}}},1391:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commify=u,t.formatUnits=c,t.parseUnits=l,t.formatEther=f,t.parseEther=d;var n=r("846b"),i=r("20ed"),a=r("675e"),o=new i.Logger(a.version),s=["wei","kwei","mwei","gwei","szabo","finney","ether"];function u(e){var t=String(e).split(".");(t.length>2||!t[0].match(/^-?[0-9]*$/)||t[1]&&!t[1].match(/^[0-9]*$/)||"."===e||"-."===e)&&o.throwArgumentError("invalid value","value",e);var r=t[0],n="";"-"===r.substring(0,1)&&(n="-",r=r.substring(1));while("0"===r.substring(0,1))r=r.substring(1);""===r&&(r="0");var i="";2===t.length&&(i="."+(t[1]||"0"));while(i.length>2&&"0"===i[i.length-1])i=i.substring(0,i.length-1);var a=[];while(r.length){if(r.length<=3){a.unshift(r);break}var s=r.length-3;a.unshift(r.substring(s)),r=r.substring(0,s)}return n+a.join(",")+i}function c(e,t){if("string"===typeof t){var r=s.indexOf(t);-1!==r&&(t=3*r)}return(0,n.formatFixed)(e,null!=t?t:18)}function l(e,t){if("string"!==typeof e&&o.throwArgumentError("value must be a string","value",e),"string"===typeof t){var r=s.indexOf(t);-1!==r&&(t=3*r)}return(0,n.parseFixed)(e,null!=t?t:18)}function f(e){return c(e,18)}function d(e){return l(e,18)}},"13af":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatFixed=b,t.parseFixed=g,t.FixedNumber=t.FixedFormat=void 0;var n=r("ecb6"),i=r("20ed"),a=r("efc1"),o=r("fd39");function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r=0&&e<=256&&!(e%1)?"1"+v.substring(0,e):l.throwArgumentError("invalid decimal size","decimals",e)}function b(e,t){null==t&&(t=0);var r=m(t);e=o.BigNumber.from(e);var n=e.lt(d);n&&(e=e.mul(h));var i=e.mod(r).toString();while(i.length2&&l.throwArgumentError("too many decimal points","value",e);var a=i[0],s=i[1];a||(a="0"),s||(s="0");while("0"===s[s.length-1])s=s.substring(0,s.length-1);s.length>r.length-1&&p("fractional component exceeds decimals","underflow","parseFixed"),""===s&&(s="0");while(s.length80&&l.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",i),new e(f,r,n,i)}}]),e}();t.FixedFormat=y;var w=function(){function e(t,r,n,a){s(this,e),l.checkNew(this instanceof e?this.constructor:void 0,e),t!==f&&l.throwError("cannot use FixedNumber constructor; use FixedNumber.from",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=a,this._hex=r,this._value=n,this._isFixedNumber=!0,Object.freeze(this)}return c(e,[{key:"_checkFormat",value:function(e){this.format.name!==e.format.name&&l.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}},{key:"addUnsafe",value:function(t){this._checkFormat(t);var r=g(this._value,this.format.decimals),n=g(t._value,t.format.decimals);return e.fromValue(r.add(n),this.format.decimals,this.format)}},{key:"subUnsafe",value:function(t){this._checkFormat(t);var r=g(this._value,this.format.decimals),n=g(t._value,t.format.decimals);return e.fromValue(r.sub(n),this.format.decimals,this.format)}},{key:"mulUnsafe",value:function(t){this._checkFormat(t);var r=g(this._value,this.format.decimals),n=g(t._value,t.format.decimals);return e.fromValue(r.mul(n).div(this.format._multiplier),this.format.decimals,this.format)}},{key:"divUnsafe",value:function(t){this._checkFormat(t);var r=g(this._value,this.format.decimals),n=g(t._value,t.format.decimals);return e.fromValue(r.mul(this.format._multiplier).div(n),this.format.decimals,this.format)}},{key:"floor",value:function(){var t=this.toString().split(".");1===t.length&&t.push("0");var r=e.from(t[0],this.format),n=!t[1].match(/^(0*)$/);return this.isNegative()&&n&&(r=r.subUnsafe(_.toFormat(r.format))),r}},{key:"ceiling",value:function(){var t=this.toString().split(".");1===t.length&&t.push("0");var r=e.from(t[0],this.format),n=!t[1].match(/^(0*)$/);return!this.isNegative()&&n&&(r=r.addUnsafe(_.toFormat(r.format))),r}},{key:"round",value:function(t){null==t&&(t=0);var r=this.toString().split(".");if(1===r.length&&r.push("0"),(t<0||t>80||t%1)&&l.throwArgumentError("invalid decimal count","decimals",t),r[1].length<=t)return this;var n=e.from("1"+v.substring(0,t),this.format),i=k.toFormat(this.format);return this.mulUnsafe(n).addUnsafe(i).floor().divUnsafe(n)}},{key:"isZero",value:function(){return"0.0"===this._value||"0"===this._value}},{key:"isNegative",value:function(){return"-"===this._value[0]}},{key:"toString",value:function(){return this._value}},{key:"toHexString",value:function(e){if(null==e)return this._hex;e%8&&l.throwArgumentError("invalid byte width","width",e);var t=o.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,n.hexZeroPad)(t,e/8)}},{key:"toUnsafeFloat",value:function(){return parseFloat(this.toString())}},{key:"toFormat",value:function(t){return e.fromString(this._value,t)}}],[{key:"fromValue",value:function(t,r,n){return null!=n||null==r||(0,o.isBigNumberish)(r)||(n=r,r=null),null==r&&(r=0),null==n&&(n="fixed"),e.fromString(b(t,r),y.from(n))}},{key:"fromString",value:function(t,r){null==r&&(r="fixed");var i=y.from(r),a=g(t,i.decimals);!i.signed&&a.lt(d)&&p("unsigned value cannot be negative","overflow","value",t);var o=null;i.signed?o=a.toTwos(i.width).toHexString():(o=a.toHexString(),o=(0,n.hexZeroPad)(o,i.width/8));var s=b(a,i.decimals);return new e(f,o,s,i)}},{key:"fromBytes",value:function(t,r){null==r&&(r="fixed");var i=y.from(r);if((0,n.arrayify)(t).length>i.width/8)throw new Error("overflow");var a=o.BigNumber.from(t);i.signed&&(a=a.fromTwos(i.width));var s=a.toTwos((i.signed?0:1)+i.width).toHexString(),u=b(a,i.decimals);return new e(f,s,u,i)}},{key:"from",value:function(t,r){if("string"===typeof t)return e.fromString(t,r);if((0,n.isBytes)(t))return e.fromBytes(t,r);try{return e.fromValue(t,0,r)}catch(a){if(a.code!==i.Logger.errors.INVALID_ARGUMENT)throw a}return l.throwArgumentError("invalid FixedNumber value","value",t)}},{key:"isFixedNumber",value:function(e){return!(!e||!e._isFixedNumber)}}]),e}();t.FixedNumber=w;var _=w.from(1),k=w.from("0.5")},"13e2":function(e,t,r){"use strict";var n=r("c3c0"),i=r("edc9"),a=r("aa56"),o=n.rotl32,s=n.sum32,u=n.sum32_5,c=a.ft_1,l=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(d,l),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n=0}function b(e,t){return e>=t[0]&&e<=t[1]}function g(e,t){return e.length>=t[0]&&e.length<=t[1]}function y(e){var t=/^\d{3,4}-\d{7,8}(-\d{3,4})?$/;return t.test(e)}function w(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function _(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(r){return!1}return!1}function k(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function x(e){return"[object Object]"===Object.prototype.toString.call(e)}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(t,"}$")).test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A={email:n,mobile:i,url:a,date:o,dateISO:s,number:u,digits:c,idCard:l,carNo:f,amount:d,chinese:h,letter:p,enOrNum:v,contains:m,range:b,rangeLength:g,empty:w,isEmpty:w,jsonString:_,landline:y,object:x,array:k,code:S};t.default=A},1533:function(e,t){e.exports="/static/tongyonh/backj.png"},1545:function(e,t,r){"use strict";t.utils=r("5ee7"),t.Cipher=r("0184"),t.DES=r("4e2b"),t.CBC=r("0da4"),t.EDE=r("1fec")},1567:function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){return e.config=t,r&&(e.code=r),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},1573:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.EC=void 0;var n=a(r("399f")),i=a(r("7d92"));function a(e){return e&&e.__esModule?e:{default:e}}"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e||"undefined"!==typeof self&&self;function o(e,t,r){return r={path:t,exports:{},require:function(e,t){return s(e,void 0===t||null===t?r.path:t)}},e(r,r.exports),r.exports}function s(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var u=c;function c(e,t){if(!e)throw new Error(t||"Assertion failed")}c.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)};var l=o((function(e,t){var r=t;function n(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!==typeof e){for(var n=0;n>8,o=255&i;a?r.push(a,o):r.push(o)}return r}function i(e){return 1===e.length?"0"+e:e}function a(e){for(var t="",r=0;r(i>>1)-1?(i>>1)-u:u,a.isubn(s)):s=0,n[o]=s,a.iushrn(1)}return n}function a(e,t){var r=[[],[]];e=e.clone(),t=t.clone();var n,i=0,a=0;while(e.cmpn(-i)>0||t.cmpn(-a)>0){var o,s,u=e.andln(3)+i&3,c=t.andln(3)+a&3;3===u&&(u=-1),3===c&&(c=-1),0===(1&u)?o=0:(n=e.andln(7)+i&7,o=3!==n&&5!==n||2!==c?u:-u),r[0].push(o),0===(1&c)?s=0:(n=t.andln(7)+a&7,s=3!==n&&5!==n||2!==u?c:-c),r[1].push(s),2*i===o+1&&(i=1-i),2*a===s+1&&(a=1-a),e.iushrn(1),t.iushrn(1)}return r}function o(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}}function s(e){return"string"===typeof e?r.toArray(e,"hex"):e}function c(e){return new n.default(e,"hex","le")}r.assert=u,r.toArray=l.toArray,r.zero2=l.zero2,r.toHex=l.toHex,r.encode=l.encode,r.getNAF=i,r.getJSF=a,r.cachedProperty=o,r.parseBytes=s,r.intFromLE=c})),d=f.getNAF,h=f.getJSF,p=f.assert;function v(e,t){this.type=e,this.p=new n.default(t.p,16),this.red=t.prime?n.default.red(t.prime):n.default.mont(this.p),this.zero=new n.default(0).toRed(this.red),this.one=new n.default(1).toRed(this.red),this.two=new n.default(2).toRed(this.red),this.n=t.n&&new n.default(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var m=v;function b(e,t){this.curve=e,this.type=t,this.precomputed=null}v.prototype.point=function(){throw new Error("Not implemented")},v.prototype.validate=function(){throw new Error("Not implemented")},v.prototype._fixedNafMul=function(e,t){p(e.precomputed);var r=e._getDoubles(),n=d(t,1,this._bitLength),i=(1<=a;u--)o=(o<<1)+n[u];s.push(o)}for(var c=this.jpoint(null,null,null),l=this.jpoint(null,null,null),f=i;f>0;f--){for(a=0;a=0;s--){for(var u=0;s>=0&&0===a[s];s--)u++;if(s>=0&&u++,o=o.dblp(u),s<0)break;var c=a[s];p(0!==c),o="affine"===e.type?c>0?o.mixedAdd(i[c-1>>1]):o.mixedAdd(i[-c-1>>1].neg()):c>0?o.add(i[c-1>>1]):o.add(i[-c-1>>1].neg())}return"affine"===e.type?o.toP():o},v.prototype._wnafMulAdd=function(e,t,r,n,i){var a,o,s,u=this._wnafT1,c=this._wnafT2,l=this._wnafT3,f=0;for(a=0;a=1;a-=2){var v=a-1,m=a;if(1===u[v]&&1===u[m]){var b=[t[v],null,null,t[m]];0===t[v].y.cmp(t[m].y)?(b[1]=t[v].add(t[m]),b[2]=t[v].toJ().mixedAdd(t[m].neg())):0===t[v].y.cmp(t[m].y.redNeg())?(b[1]=t[v].toJ().mixedAdd(t[m]),b[2]=t[v].add(t[m].neg())):(b[1]=t[v].toJ().mixedAdd(t[m]),b[2]=t[v].toJ().mixedAdd(t[m].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],y=h(r[v],r[m]);for(f=Math.max(y[0].length,f),l[v]=new Array(f),l[m]=new Array(f),o=0;o=0;a--){var S=0;while(a>=0){var A=!0;for(o=0;o=0&&S++,k=k.dblp(S),a<0)break;for(o=0;o0?s=c[o][E-1>>1]:E<0&&(s=c[o][-E-1>>1].neg()),k="affine"===s.type?k.mixedAdd(s):k.add(s))}}for(a=0;a=Math.ceil((e.bitLength()+1)/t.step)},b.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=0&&(o=t,s=r),i.negative&&(i=i.neg(),a=a.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:i,b:a},{a:o,b:s}]},w.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),a=r.b.neg().mul(e).divRound(this.n),o=i.mul(r.a),s=a.mul(n.a),u=i.mul(r.b),c=a.mul(n.b),l=e.sub(o).sub(s),f=u.add(c).neg();return{k1:l,k2:f}},w.prototype.pointFromX=function(e,t){e=new n.default(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),i=r.redSqrt();if(0!==i.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var a=i.fromRed().isOdd();return(t&&!a||!t&&a)&&(i=i.redNeg()),this.point(e,i)},w.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},w.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,a=0;a":""},k.prototype.isInfinity=function(){return this.inf},k.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},k.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),a=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},k.prototype.getX=function(){return this.x.fromRed()},k.prototype.getY=function(){return this.y.fromRed()},k.prototype.mul=function(e){return e=new n.default(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},k.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},k.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},k.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},k.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},k.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e},g(x,m.BasePoint),w.prototype.jpoint=function(e,t,r){return new x(this,e,t,r)},x.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},x.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},x.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),u=a.redSub(o);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),l=c.redMul(s),f=n.redMul(c),d=u.redSqr().redIAdd(l).redISub(f).redISub(f),h=u.redMul(f.redISub(d)).redISub(a.redMul(l)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,h,p)},x.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,a=e.y.redMul(t).redMul(this.z),o=r.redSub(n),s=i.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=o.redSqr(),c=u.redMul(o),l=r.redMul(u),f=s.redSqr().redIAdd(c).redISub(l).redISub(l),d=s.redMul(l.redISub(f)).redISub(i.redMul(c)),h=this.z.redMul(o);return this.curve.jpoint(f,d,h)},x.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var r=this;for(t=0;t=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},x.prototype.inspect=function(){return this.isInfinity()?"":""},x.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var S=o((function(e,t){var r=t;r.base=m,r.short=_,r.mont=null,r.edwards=null})),A=o((function(e,t){var r,n=t,a=f.assert;function o(e){"short"===e.type?this.curve=new S.short(e):"edwards"===e.type?this.curve=new S.edwards(e):this.curve=new S.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function s(e,t){Object.defineProperty(n,e,{configurable:!0,enumerable:!0,get:function(){var r=new o(t);return Object.defineProperty(n,e,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=o,s("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.default.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),s("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.default.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),s("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.default.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),s("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.default.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),s("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.default.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),s("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.default.sha256,gRed:!1,g:["9"]}),s("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.default.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=null.crash()}catch(u){r=void 0}s("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.default.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})}));function E(e){if(!(this instanceof E))return new E(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=l.toArray(e.entropy,e.entropyEnc||"hex"),r=l.toArray(e.nonce,e.nonceEnc||"hex"),n=l.toArray(e.pers,e.persEnc||"hex");u(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}var C=E;E.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},E.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof t&&(n=r,r=t,t=null),r&&(r=l.toArray(r,n||"hex"),this._update(r));var i=[];while(i.length"};var I=f.assert;function j(e,t){if(e instanceof j)return e;this._importDER(e,t)||(I(e.r&&e.s,"Signature without r or s"),this.r=new n.default(e.r,16),this.s=new n.default(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var B=j;function N(){this.place=0}function R(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,a=0,o=t.place;a>>=0;return!(i<=127)&&(t.place=o,i)}function M(e){var t=0,r=e.length-1;while(!e[t]&&!(128&e[t+1])&&t>>3);e.push(128|r);while(--r)e.push(t>>>(r<<3)&255);e.push(t)}}j.prototype._importDER=function(e,t){e=f.toArray(e,t);var r=new N;if(48!==e[r.place++])return!1;var i=R(e,r);if(!1===i)return!1;if(i+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var a=R(e,r);if(!1===a)return!1;var o=e.slice(r.place,a+r.place);if(r.place+=a,2!==e[r.place++])return!1;var s=R(e,r);if(!1===s)return!1;if(e.length!==s+r.place)return!1;var u=e.slice(r.place,s+r.place);if(0===o[0]){if(!(128&o[1]))return!1;o=o.slice(1)}if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}return this.r=new n.default(o),this.s=new n.default(u),this.recoveryParam=null,!0},j.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=M(t),r=M(r);while(!r[0]&&!(128&r[1]))r=r.slice(1);var n=[2];$(n,t.length),n=n.concat(t),n.push(2),$(n,r.length);var i=n.concat(r),a=[48];return $(a,i.length),a=a.concat(i),f.encode(a,e)};var U=function(){throw new Error("unsupported")},F=f.assert;function L(e){if(!(this instanceof L))return new L(e);"string"===typeof e&&(F(Object.prototype.hasOwnProperty.call(A,e),"Unknown curve "+e),e=A[e]),e instanceof A.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var D=L;L.prototype.keyPair=function(e){return new O(this,e)},L.prototype.keyFromPrivate=function(e,t){return O.fromPrivate(this,e,t)},L.prototype.keyFromPublic=function(e,t){return O.fromPublic(this,e,t)},L.prototype.genKeyPair=function(e){e||(e={});for(var t=new C({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||U(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),i=this.n.sub(new n.default(2));;){var a=new n.default(t.generate(r));if(!(a.cmp(i)>0))return a.iaddn(1),this.keyFromPrivate(a)}},L.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},L.prototype.sign=function(e,t,r,i){"object"===typeof r&&(i=r,r=null),i||(i={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n.default(e,16));for(var a=this.n.byteLength(),o=t.getPrivate().toArray("be",a),s=e.toArray("be",a),u=new C({hash:this.hash,entropy:o,nonce:s,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new n.default(1)),l=0;;l++){var f=i.k?i.k(l):new n.default(u.generate(this.n.byteLength()));if(f=this._truncateToN(f,!0),!(f.cmpn(1)<=0||f.cmp(c)>=0)){var d=this.g.mul(f);if(!d.isInfinity()){var h=d.getX(),p=h.umod(this.n);if(0!==p.cmpn(0)){var v=f.invm(this.n).mul(p.mul(t.getPrivate()).iadd(e));if(v=v.umod(this.n),0!==v.cmpn(0)){var m=(d.getY().isOdd()?1:0)|(0!==h.cmp(p)?2:0);return i.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),m^=1),new B({r:p,s:v,recoveryParam:m})}}}}}},L.prototype.verify=function(e,t,r,i){e=this._truncateToN(new n.default(e,16)),r=this.keyFromPublic(r,i),t=new B(t,"hex");var a=t.r,o=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,u=o.invm(this.n),c=u.mul(e).umod(this.n),l=u.mul(a).umod(this.n);return this.curve._maxwellTrick?(s=this.g.jmulAdd(c,r.getPublic(),l),!s.isInfinity()&&s.eqXToP(a)):(s=this.g.mulAdd(c,r.getPublic(),l),!s.isInfinity()&&0===s.getX().umod(this.n).cmp(a))},L.prototype.recoverPubKey=function(e,t,r,i){F((3&r)===r,"The recovery param is more than two bits"),t=new B(t,i);var a=this.n,o=new n.default(e),s=t.r,u=t.s,c=1&r,l=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");s=l?this.curve.pointFromX(s.add(this.curve.n),c):this.curve.pointFromX(s,c);var f=t.r.invm(a),d=a.sub(o).mul(f).umod(a),h=u.mul(f).umod(a);return this.g.mulAdd(d,s,h)},L.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new B(t,n),null!==t.recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var a;try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var z=o((function(e,t){var r=t;r.version={version:"6.5.4"}.version,r.utils=f,r.rand=function(){throw new Error("unsupported")},r.curve=S,r.curves=A,r.ec=D,r.eddsa=null})),H=z.ec;t.EC=H}).call(this,r("c8ba"))},1650:function(e,t){e.exports="/static/tongyonh/copy_24px.png"},"16a3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineReadOnly=l,t.getStatic=f,t.resolveProperties=d,t.checkProperties=h,t.shallowCopy=p,t.deepCopy=g,t.Description=void 0;var n=o(r("a34a")),i=r("20ed"),a=r("8909");function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{u(n.next(e))}catch(t){a(t)}}function s(e){try{u(n["throw"](e))}catch(t){a(t)}}function u(e){e.done?r(e.value):i(e.value).then(o,s)}u((n=n.apply(e,t||[])).next())}))},c=new i.Logger(a.version);function l(e,t,r){Object.defineProperty(e,t,{enumerable:!0,value:r,writable:!1})}function f(e,t){for(var r=0;r<32;r++){if(e[t])return e[t];if(!e.prototype||"object"!==typeof e.prototype)break;e=Object.getPrototypeOf(e.prototype).constructor}return null}function d(e){return u(this,void 0,void 0,n.default.mark((function t(){var r,i;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=Object.keys(e).map((function(t){var r=e[t];return Promise.resolve(r).then((function(e){return{key:t,value:e}}))})),t.next=3,Promise.all(r);case 3:return i=t.sent,t.abrupt("return",i.reduce((function(e,t){return e[t.key]=t.value,e}),{}));case 5:case"end":return t.stop()}}),t)})))}function h(e,t){e&&"object"===typeof e||c.throwArgumentError("invalid object","object",e),Object.keys(e).forEach((function(r){t[r]||c.throwArgumentError("invalid object key - "+r,"transaction:"+r,e)}))}function p(e){var t={};for(var r in e)t[r]=e[r];return t}var v={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function m(e){if(void 0===e||null===e||v[typeof e])return!0;if(Array.isArray(e)||"object"===typeof e){if(!Object.isFrozen(e))return!1;for(var t=Object.keys(e),r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0)for(u in s=o.data.data[0],e("log",s,11111," at utils/BtcUtil.js:17"),s)a=s[u];t.next=10;break;case 8:t.prev=8,t.t0=t["catch"](1);case 10:return t.abrupt("return",a);case 11:case"end":return t.stop()}}),t,null,[[1,8]])})));function r(e,r){return t.apply(this,arguments)}return r}(),btcToSatoshi:function(e){return Math.ceil(1e8*e)},sendTransaction:function(){var t=s(n.default.mark((function t(r,a,o,s){var c,l,f,d,h,p,v,m,b,g,y,w,_,k,x;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,fetch(i.default.constant.btcUtxo+r);case 2:return c=t.sent,t.next=5,c.json();case 5:l=t.sent,f=l.data.txs,d=[],h=o,p=0,v=0;case 11:if(!(vh)){t.next=16;break}return t.abrupt("break",20);case 16:h-=f[v].value;case 17:v++,t.next=11;break;case 20:if(!(p<=o)){t.next=22;break}throw new Error("Insufficient balance");case 22:for(e("log",p,o," at utils/BtcUtil.js:50"),m=this.btcToSatoshi(1e-4),p=this.btcToSatoshi(p),o=this.btcToSatoshi(o),b=p-m-o,g=new u.ECPair.fromWIF(s,i.default.constant.btcNetwork),y=new u.TransactionBuilder(i.default.constant.btcNetwork),w=0;w= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=c-l,k=Math.floor,x=String.fromCharCode;function S(e){throw new RangeError(w[e])}function A(e,t){var r=e.length,n=[];while(r--)n[r]=t(e[r]);return n}function E(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(y,".");var i=e.split("."),a=A(i,t).join(".");return n+a}function C(e){var t,r,n=[],i=0,a=e.length;while(i=55296&&t<=56319&&i65535&&(e-=65536,t+=x(e>>>10&1023|55296),e=56320|1023&e),t+=x(e),t})).join("")}function T(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,r){var n=0;for(e=r?k(e/h):e>>1,e+=k(e/t);e>_*f>>1;n+=c)e=k(e/_);return k(n+(_+1)*e/(e+d))}function j(e){var t,r,n,i,a,o,s,d,h,b,g=[],y=e.length,w=0,_=v,x=p;for(r=e.lastIndexOf(m),r<0&&(r=0),n=0;n=128&&S("not-basic"),g.push(e.charCodeAt(n));for(i=r>0?r+1:0;i=y&&S("invalid-input"),d=T(e.charCodeAt(i++)),(d>=c||d>k((u-w)/o))&&S("overflow"),w+=d*o,h=s<=x?l:s>=x+f?f:s-x,dk(u/b)&&S("overflow"),o*=b}t=g.length+1,x=I(w-a,t,0==a),k(w/t)>u-_&&S("overflow"),_+=k(w/t),w%=t,g.splice(w++,0,_)}return P(g)}function B(e){var t,r,n,i,a,o,s,d,h,b,g,y,w,_,A,E=[];for(e=C(e),y=e.length,t=v,r=0,a=p,o=0;o=t&&gk((u-r)/w)&&S("overflow"),r+=(s-t)*w,t=s,o=0;ou&&S("overflow"),g==t){for(d=r,h=c;;h+=c){if(b=h<=a?l:h>=a+f?f:h-a,d=0;u--)t=i.substring(u,u+1),r=parseInt(t,10),s?(r*=2,o+=r>=10?r+1:r):o+=r,s=!s;return parseInt(e.substr(e.length-1),10)===(1e4-o)%10}e.exports=t.default,e.exports.default=t.default},"1a2a":function(e,t,r){"use strict";var n=r("3fb5"),i=r("d424"),a=r("6430"),o=r("8707").Buffer,s=r("5a76"),u=r("b5ca"),c=r("69f2"),l=o.alloc(128);function f(e,t){a.call(this,"digest"),"string"===typeof t&&(t=o.from(t));var r="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>r){var n="rmd160"===e?new u:c(e);t=n.update(t).digest()}else t.length8)throw"Invalid input length";var t=n.ZERO,r=new n(2).pow(8),i=0;switch(9-e.length){case 1:t=t.add(e[i++]);case 2:t=t.multiply(r).add(e[i++]);case 3:t=t.multiply(r).add(e[i++]);case 4:t=t.multiply(r).add(e[i++]);case 5:t=t.multiply(r).add(e[i++]);case 6:t=t.multiply(r).add(e[i++]);case 7:t=t.multiply(r).add(e[i++]);case 8:t=t.multiply(r).add(e[i++]);break;default:throw"Impossible condition"}return t}function v(e,t){var r=new Uint8Array(t);if(t<1||t>8)throw"Invalid input length";for(var i=new n(2).pow(8),a=t-1;a>=0;a--)r[a]=e.remainder(i).toJSValue(),e=e.divide(i);return r}return e.encode_block=function(e,t,n){if(e.length<1||e.length>u)throw"Invalid block length: "+e.length;var i=p(e),s=a[e.length]-1;while(1===i.compare(0)){var c=i.divRem(o),l=c[1];i=c[0],t[n+s]=r[l.toJSValue()],s--}return t},e.encode=function(t){var n=l(t);if(0===n.length)return"";var i,o=Math.floor(n.length/s),c=n.length%s,f=o*u+a[c],d=new Uint8Array(f);for(i=0;i0&&(d=e.encode_block(n.subarray(o*s,o*s+c),d,o*u)),h(d)},e.decode_block=function(e,t,i){if(e.length<1||e.length>u)throw"Invalid block length: "+e.length;var l=a.indexOf(e.length);if(l<=0)throw"Invalid block size";for(var f=new n(0),d=new n(1),h=e.length-1;h>=0;h--){var p=r.indexOf(e[h]);if(p<0)throw"Invalid symbol";var m=d.multiply(p).add(f);if(1===m.compare(c))throw"Overflow";f=m,d=d.multiply(o)}if(l0&&(c=e.decode_block(t.subarray(r*u,r*u+n),c,r*s)),f(c)},e}();e.exports=i},"1a99":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r("a34a"));i(r("8e09")),i(r("8be2"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,u,"next",e)}function u(e){a(o,n,i,s,u,"throw",e)}s(void 0)}))}}var s={data:function(){return{teee1:this.$t("index").entercontractaddress,teee2:this.$t("index").entertokenID,caddress:"",tid:"",wallet:{},nftIndex:0,walletInfo:{},address:"",proid:""}},onLoad:function(){uni.getStorageSync("wallet")?(this.address=uni.getStorageSync("wallet").address,this.wallet=uni.getStorageSync("wallet"),this.wallet.address=this.wallet.address.substring(0,6)+"..."+this.wallet.address.substring(25,this.wallet.address.length)):(this.wallet=uni.getStorageSync("walletInfo").BTC[0],this.wallet.address=this.wallet.address.substring(0,6)+"..."+this.wallet.address,e("log",this.wallet,111," at pages/menu/collection/addCollection/index.vue:76"))},computed:{i18n:function(){return this.$t("index")}},methods:{back:function(){uni.reLaunch({url:"../collectionDetail/index"})},Add:function(){var e=this;return o(n.default.mark((function t(){var r,i;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(""!=e.caddress){t.next=3;break}return uni.showToast({title:e.$t("index").entercontractaddress,icon:"none",duration:1500}),t.abrupt("return");case 3:if(""!=e.tid){t.next=6;break}return uni.showToast({title:e.$t("index").entertokenID,icon:"none",duration:1500}),t.abrupt("return");case 6:return e.proid=uni.getStorageSync("proid"),r={address:e.address,contract:e.caddress,tonkenId:e.tid,nftProjectId:e.proid},t.next=10,e.$api.addNftCollection(r);case 10:i=t.sent,200==i.code?(uni.showToast({title:e.$t("index").Successful,icon:"success",duration:1500}),setTimeout((function(){uni.navigateTo({url:"../collectionDetail/index"})}),1500)):uni.showToast({title:i.msg,icon:"error",duration:1500});case 12:case"end":return t.stop()}}),t)})))()}}};t.default=s}).call(this,r("0de9")["default"])},"1b7b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HashZero=void 0;var n="0x0000000000000000000000000000000000000000000000000000000000000000";t.HashZero=n},"1b8c":function(e,t,r){"use strict";r.r(t);var n=r("d2ab"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"1bdc":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r("a34a"));i(r("8e09")),i(r("8be2"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,u,"next",e)}function u(e){a(o,n,i,s,u,"throw",e)}s(void 0)}))}}var s={data:function(){return{address:"",collectinInfo:[],ethInfo:{},showbottom:!1,test:{},testindex:0}},onLoad:function(){this.ethInfo=uni.getStorageSync("walletInfo").ETH,e("log",this.ethInfo,444," at pages/menu/collection/index.vue:88"),uni.getStorageSync("wallet")?this.address=uni.getStorageSync("wallet").address:this.address=uni.getStorageSync("walletInfo").BTC[0].address,this.getCollection()},computed:{i18n:function(){return this.$t("index")}},onPullDownRefresh:function(){e("log","refresh"," at pages/menu/collection/index.vue:106"),this.getCollection(),setTimeout((function(){uni.stopPullDownRefresh()}),500)},methods:{showMsg:function(e,t){this.test=e,this.testindex=t,"ETH"==uni.getStorageSync("wallet").type?(this.showbottom=!1,this.goDetail()):this.showbottom=!0},getCollection:function(){var e=this;return o(n.default.mark((function t(){var r,i;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={address:e.address},t.next=3,e.$api.getNftProjectList(r);case 3:i=t.sent,e.collectinInfo=i.data;case 5:case"end":return t.stop()}}),t)})))()},goDetail2:function(t,r){uni.setStorageSync("proid",this.test.id),uni.setStorageSync("wallet",t),uni.setStorageSync("walleti",t.address),e("log",t,444," at pages/menu/collection/index.vue:137"),uni.setStorageSync("nftIndex",this.testindex);var n=JSON.stringify(this.test);uni.setStorageSync("nftitem",this.test),uni.navigateTo({url:"./collectionDetail/index?type="+n}),this.showbottom=!1},goDetail:function(e,t){uni.setStorageSync("proid",this.test.id),uni.setStorageSync("nftIndex",this.testindex),uni.setStorageSync("nftitem",this.test),uni.navigateTo({url:"./collectionDetail/index"}),this.showbottom=!1}}};t.default=s}).call(this,r("0de9")["default"])},"1c0b":function(e,t){e.exports="/static/tongyonh/trash.png"},"1c46":function(e,t,r){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=r("11dc"),t.createHash=t.Hash=r("98e6"),t.createHmac=t.Hmac=r("1a2a");var n=r("116d"),i=Object.keys(n),a=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return a};var o=r("a099");t.pbkdf2=o.pbkdf2,t.pbkdf2Sync=o.pbkdf2Sync;var s=r("956a");t.Cipher=s.Cipher,t.createCipher=s.createCipher,t.Cipheriv=s.Cipheriv,t.createCipheriv=s.createCipheriv,t.Decipher=s.Decipher,t.createDecipher=s.createDecipher,t.Decipheriv=s.Decipheriv,t.createDecipheriv=s.createDecipheriv,t.getCiphers=s.getCiphers,t.listCiphers=s.listCiphers;var u=r("00dc");t.DiffieHellmanGroup=u.DiffieHellmanGroup,t.createDiffieHellmanGroup=u.createDiffieHellmanGroup,t.getDiffieHellman=u.getDiffieHellman,t.createDiffieHellman=u.createDiffieHellman,t.DiffieHellman=u.DiffieHellman;var c=r("b692");t.createSign=c.createSign,t.Sign=c.Sign,t.createVerify=c.createVerify,t.Verify=c.Verify,t.createECDH=r("e1d3");var l=r("6442");t.publicEncrypt=l.publicEncrypt,t.privateEncrypt=l.privateEncrypt,t.publicDecrypt=l.publicDecrypt,t.privateDecrypt=l.privateDecrypt;var f=r("75cc");t.randomFill=f.randomFill,t.randomFillSync=f.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},"1c76":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("5a80"),i=r("cb58"),a=r("7787"),o=r("7f2c"),s=r("257a"),u=r("6df7"),c=r("e363"),l=r("feaf"),f=r("edaf"),d={P2MS:"multisig",NONSTANDARD:"nonstandard",NULLDATA:"nulldata",P2PK:"pubkey",P2PKH:"pubkeyhash",P2SH:"scripthash",P2WPKH:"witnesspubkeyhash",P2WSH:"witnessscripthash",WITNESS_COMMITMENT:"witnesscommitment"};function h(e){if(l.output.check(e))return d.P2WPKH;if(f.output.check(e))return d.P2WSH;if(s.output.check(e))return d.P2PKH;if(u.output.check(e))return d.P2SH;var t=n.decompile(e);if(!t)throw new TypeError("Invalid script");return i.output.check(t)?d.P2MS:o.output.check(t)?d.P2PK:c.output.check(t)?d.WITNESS_COMMITMENT:a.output.check(t)?d.NULLDATA:d.NONSTANDARD}function p(e,t){var r=n.decompile(e);if(!r)throw new TypeError("Invalid script");return s.input.check(r)?d.P2PKH:u.input.check(r,t)?d.P2SH:i.input.check(r,t)?d.P2MS:o.input.check(r)?d.P2PK:d.NONSTANDARD}function v(e,t){var r=n.decompile(e);if(!r)throw new TypeError("Invalid script");return l.input.check(r)?d.P2WPKH:f.input.check(r,t)?d.P2WSH:d.NONSTANDARD}t.types=d,t.output=h,t.input=p,t.witness=v},"1ca9":function(e,t,r){"use strict";r.r(t);var n=r("8b65"),i=r("e0d3");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);var o,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"a00d8ec8",null,!1,n["a"],o);t["default"]=u.exports},"1cbd":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FallbackProvider=void 0;var n=p(r("a34a")),i=r("3c6c"),a=r("846b"),o=r("ecb6"),s=r("16a3"),u=r("83b7"),c=r("35bf"),l=r("bb34"),f=r("3b61"),d=r("20ed"),h=r("9684");function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;rt?null:(n+i)/2}function O(e){if(null===e)return"null";if("number"===typeof e||"boolean"===typeof e)return JSON.stringify(e);if("string"===typeof e)return e;if(a.BigNumber.isBigNumber(e))return e.toString();if(Array.isArray(e))return JSON.stringify(e.map((function(e){return O(e)})));if("object"===typeof e){var t=Object.keys(e);return t.sort(),"{"+t.map((function(t){var r=e[t];return r="function"===typeof r?"[function]":O(r),JSON.stringify(t)+":"+r})).join(",")+"}"}throw new Error("unknown value type: "+typeof e)}var I=1;function j(e){var t=null,r=null,n=new Promise((function(n){t=function(){r&&(clearTimeout(r),r=null),n()},r=setTimeout(t,e)})),i=function(e){return n=n.then(e),n};function a(){return n}return{cancel:t,getPromise:a,wait:i}}var B=[d.Logger.errors.CALL_EXCEPTION,d.Logger.errors.INSUFFICIENT_FUNDS,d.Logger.errors.NONCE_EXPIRED,d.Logger.errors.REPLACEMENT_UNDERPRICED,d.Logger.errors.UNPREDICTABLE_GAS_LIMIT],N=["address","args","errorArgs","errorSignature","method","transaction"];function R(e,t){var r={weight:e.weight};return Object.defineProperty(r,"provider",{get:function(){return e.provider}}),e.start&&(r.start=e.start),t&&(r.duration=t-e.start),e.done&&(e.error?r.error=e.error:r.result=e.result||null),r}function M(e,t){return function(r){var n={};r.forEach((function(t){var r=e(t.result);n[r]||(n[r]={count:0,result:t.result}),n[r].count++}));for(var i=Object.keys(n),a=0;a=t)return o.result}}}function $(e,t,r){var n=O;switch(t){case"getBlockNumber":return function(t){var r=t.map((function(e){return e.result})),n=T(t.map((function(e){return e.result})),2);if(null!=n)return n=Math.ceil(n),r.indexOf(n+1)>=0&&n++,n>=e._highestBlockNumber&&(e._highestBlockNumber=n),e._highestBlockNumber};case"getGasPrice":return function(e){var t=e.map((function(e){return e.result}));return t.sort(),t[Math.floor(t.length/2)]};case"getEtherPrice":return function(e){return T(e.map((function(e){return e.result})))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":n=function(e){return null==e?null:(e=(0,s.shallowCopy)(e),e.confirmations=-1,O(e))};break;case"getBlock":n=r.includeTransactions?function(e){return null==e?null:(e=(0,s.shallowCopy)(e),e.transactions=e.transactions.map((function(e){return e=(0,s.shallowCopy)(e),e.confirmations=-1,e})),O(e))}:function(e){return null==e?null:O(e)};break;default:throw new Error("unknown method: "+t)}return M(n,e.quorum)}function U(e,t){return A(this,void 0,void 0,n.default.mark((function r(){var i;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(i=e.provider,!(null!=i.blockNumber&&i.blockNumber>=t||-1===t)){r.next=3;break}return r.abrupt("return",i);case 3:return r.abrupt("return",(0,c.poll)((function(){return new Promise((function(r,n){setTimeout((function(){return i.blockNumber>=t?r(i):e.cancelled?r(null):r(void 0)}),0)}))}),{oncePoll:i}));case 4:case"end":return r.stop()}}),r)})))}function F(e,t,r,i){return A(this,void 0,void 0,n.default.mark((function a(){var s,u;return n.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:s=e.provider,n.t0=r,n.next="getBlockNumber"===n.t0||"getGasPrice"===n.t0?4:"getEtherPrice"===n.t0?5:"getBalance"===n.t0||"getTransactionCount"===n.t0||"getCode"===n.t0?8:"getStorageAt"===n.t0?13:"getBlock"===n.t0?18:"call"===n.t0||"estimateGas"===n.t0?23:"getTransaction"===n.t0||"getTransactionReceipt"===n.t0?28:"getLogs"===n.t0?29:35;break;case 4:return n.abrupt("return",s[r]());case 5:if(!s.getEtherPrice){n.next=7;break}return n.abrupt("return",s.getEtherPrice());case 7:return n.abrupt("break",35);case 8:if(!i.blockTag||!(0,o.isHexString)(i.blockTag)){n.next=12;break}return n.next=11,U(e,t);case 11:s=n.sent;case 12:return n.abrupt("return",s[r](i.address,i.blockTag||"latest"));case 13:if(!i.blockTag||!(0,o.isHexString)(i.blockTag)){n.next=17;break}return n.next=16,U(e,t);case 16:s=n.sent;case 17:return n.abrupt("return",s.getStorageAt(i.address,i.position,i.blockTag||"latest"));case 18:if(!i.blockTag||!(0,o.isHexString)(i.blockTag)){n.next=22;break}return n.next=21,U(e,t);case 21:s=n.sent;case 22:return n.abrupt("return",s[i.includeTransactions?"getBlockWithTransactions":"getBlock"](i.blockTag||i.blockHash));case 23:if(!i.blockTag||!(0,o.isHexString)(i.blockTag)){n.next=27;break}return n.next=26,U(e,t);case 26:s=n.sent;case 27:return n.abrupt("return",s[r](i.transaction));case 28:return n.abrupt("return",s[r](i.transactionHash));case 29:if(u=i.filter,!(u.fromBlock&&(0,o.isHexString)(u.fromBlock)||u.toBlock&&(0,o.isHexString)(u.toBlock))){n.next=34;break}return n.next=33,U(e,t);case 33:s=n.sent;case 34:return n.abrupt("return",s.getLogs(u));case 35:return n.abrupt("return",E.throwError("unknown method error",d.Logger.errors.UNKNOWN_ERROR,{method:r,params:i}));case 36:case"end":return n.stop()}}),a)})))}var L=function(e){g(r,e);var t=w(r);function r(e,n){var a;v(this,r),E.checkNew(this instanceof r?this.constructor:void 0,r),0===e.length&&E.throwArgumentError("missing providers","providers",e);var o=e.map((function(e,t){if(i.Provider.isProvider(e)){var r=(0,f.isCommunityResource)(e)?2e3:750,n=1;return Object.freeze({provider:e,weight:1,stallTimeout:r,priority:n})}var a=(0,s.shallowCopy)(e);null==a.priority&&(a.priority=1),null==a.stallTimeout&&(a.stallTimeout=(0,f.isCommunityResource)(e)?2e3:750),null==a.weight&&(a.weight=1);var o=a.weight;return(o%1||o>512||o<1)&&E.throwArgumentError("invalid weight; must be integer in [1, 512]","providers[".concat(t,"].weight"),o),Object.freeze(a)})),u=o.reduce((function(e,t){return e+t.weight}),0);null==n?n=u/2:n>u&&E.throwArgumentError("quorum will always fail; larger than total weight","quorum",n);var c=P(o.map((function(e){return e.provider.network})));return null==c&&(c=new Promise((function(e,t){setTimeout((function(){a.detectNetwork().then(e,t)}),0)}))),a=t.call(this,c),(0,s.defineReadOnly)(k(a),"providerConfigs",Object.freeze(o)),(0,s.defineReadOnly)(k(a),"quorum",n),a._highestBlockNumber=-1,a}return b(r,[{key:"detectNetwork",value:function(){return A(this,void 0,void 0,n.default.mark((function e(){var t;return n.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(this.providerConfigs.map((function(e){return e.provider.getNetwork()})));case 2:return t=e.sent,e.abrupt("return",P(t));case 4:case"end":return e.stop()}}),e,this)})))}},{key:"perform",value:function(e,t){return A(this,void 0,void 0,n.default.mark((function r(){var i,a,o,c,l,f,h,p,v,m,b=this;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if("sendTransaction"!==e){r.next=13;break}return r.next=3,Promise.all(this.providerConfigs.map((function(e){return e.provider.sendTransaction(t.signedTransaction).then((function(e){return e.hash}),(function(e){return e}))})));case 3:i=r.sent,a=0;case 5:if(!(a=b.quorum)){r.next=19;break}if(v=c(d),void 0===v){r.next=15;break}return l.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0})),r.abrupt("return",{v:v});case 15:if(p){r.next=18;break}return r.next=18,j(100).getPromise();case 18:p=!1;case 19:if(m=l.reduce((function(e,t){if(!t.done||null==t.error)return e;var r=t.error.code;return B.indexOf(r)>=0&&(e[r]||(e[r]={error:t.error,weight:0}),e[r].weight+=t.weight),e}),{}),Object.keys(m).forEach((function(e){var t=m[e];if(!(t.weight0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function l(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function f(e,t,r){return 3*(t+r)/4-r}function d(e){var t,r,n=c(e),o=n[0],s=n[1],u=new a(f(e,o,s)),l=0,d=s>0?o-4:o;for(r=0;r>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u}function h(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function p(e,t,r){for(var n,i=[],a=t;au?u:s+o));return 1===i?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fe8":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionFragment=t.ConstructorFragment=t.EventFragment=t.Fragment=t.ParamType=t.FormatTypes=void 0;var n=r("846b"),i=r("16a3"),a=r("20ed"),o=r("d87f");function s(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function c(e){var t=d();return function(){var r,n=h(e);if(t){var i=h(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r=0||"tuple"===e)&&w[t])return!0;return(y[t]||"payable"===t)&&b.throwArgumentError("invalid modifier","name",t),!1}function k(e,t){var r=e;function n(t){b.throwArgumentError("unexpected character at position ".concat(t),"param",e)}function i(e){var r={type:"",name:"",parent:e,state:{allowType:!0}};return t&&(r.indexed=!1),r}e=e.replace(/\s/g," ");for(var a={type:"",name:"",state:{allowType:!0}},o=a,s=0;s2&&b.throwArgumentError("invalid human-readable ABI signature","value",e),r[1].match(/^[0-9]+$/)||b.throwArgumentError("invalid human-readable ABI signature gas","value",e),t.gas=n.BigNumber.from(r[1]),r[0]):e}function I(t,r){r.constant=!1,r.payable=!1,r.stateMutability="nonpayable",t.split(" ").forEach((function(t){switch(t.trim()){case"constant":r.constant=!0;break;case"payable":r.payable=!0,r.stateMutability="payable";break;case"nonpayable":r.payable=!1,r.stateMutability="nonpayable";break;case"pure":r.constant=!0,r.stateMutability="pure";break;case"view":r.constant=!0,r.stateMutability="view";break;case"external":case"public":case"":break;default:e("log","unknown modifier: "+t," at node_modules/@ethersproject/abi/lib.esm/fragments.js:506")}}))}function j(e){var t={constant:!1,payable:!0,stateMutability:"payable"};return null!=e.stateMutability?(t.stateMutability=e.stateMutability,t.constant="view"===t.stateMutability||"pure"===t.stateMutability,null!=e.constant&&!!e.constant!==t.constant&&b.throwArgumentError("cannot have constant function with mutability "+t.stateMutability,"value",e),t.payable="payable"===t.stateMutability,null!=e.payable&&!!e.payable!==t.payable&&b.throwArgumentError("cannot have payable function with mutability "+t.stateMutability,"value",e)):null!=e.payable?(t.payable=!!e.payable,null!=e.constant||t.payable||"constructor"===e.type||b.throwArgumentError("unable to determine stateMutability","value",e),t.constant=!!e.constant,t.constant?t.stateMutability="view":t.stateMutability=t.payable?"payable":"nonpayable",t.payable&&t.constant&&b.throwArgumentError("cannot have constant payable function","value",e)):null!=e.constant?(t.constant=!!e.constant,t.payable=!t.constant,t.stateMutability=t.constant?"view":"payable"):"constructor"!==e.type&&b.throwArgumentError("unable to determine stateMutability","value",e),t}t.EventFragment=T;var B=function(e){s(r,e);var t=c(r);function r(){return p(this,r),t.apply(this,arguments)}return m(r,[{key:"format",value:function(e){if(e||(e=S.sighash),S[e]||b.throwArgumentError("invalid format type","format",e),e===S.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payble:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});e===S.sighash&&b.throwError("cannot format a constructor for sighash",a.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var t="constructor("+this.inputs.map((function(t){return t.format(e)})).join(e===S.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "),t.trim()}}],[{key:"from",value:function(e){return"string"===typeof e?r.fromString(e):r.fromObject(e)}},{key:"fromObject",value:function(e){if(r.isConstructorFragment(e))return e;"constructor"!==e.type&&b.throwArgumentError("invalid constructor object","value",e);var t=j(e);t.constant&&b.throwArgumentError("constructor cannot be constant","value",e);var i={name:null,type:e.type,inputs:e.inputs?e.inputs.map(E.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?n.BigNumber.from(e.gas):null};return new r(g,i)}},{key:"fromString",value:function(e){var t={type:"constructor"};e=O(e,t);var n=e.match(U);return n&&"constructor"===n[1].trim()||b.throwArgumentError("invalid constructor string","value",e),t.inputs=C(n[2].trim(),!1),I(n[3].trim(),t),r.fromObject(t)}},{key:"isConstructorFragment",value:function(e){return e&&e._isFragment&&"constructor"===e.type}}]),r}(P);t.ConstructorFragment=B;var N=function(e){s(r,e);var t=c(r);function r(){return p(this,r),t.apply(this,arguments)}return m(r,[{key:"format",value:function(e){if(e||(e=S.sighash),S[e]||b.throwArgumentError("invalid format type","format",e),e===S.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payble:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))})),ouputs:this.outputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==S.sighash&&(t+="function "),t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===S.full?", ":",")+") ",e!==S.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "):this.constant&&(t+="view "),this.outputs&&this.outputs.length&&(t+="returns ("+this.outputs.map((function(t){return t.format(e)})).join(", ")+") "),null!=this.gas&&(t+="@"+this.gas.toString()+" ")),t.trim()}}],[{key:"from",value:function(e){return"string"===typeof e?r.fromString(e):r.fromObject(e)}},{key:"fromObject",value:function(e){if(r.isFunctionFragment(e))return e;"function"!==e.type&&b.throwArgumentError("invalid function object","value",e);var t=j(e),i={type:e.type,name:$(e.name),constant:t.constant,inputs:e.inputs?e.inputs.map(E.fromObject):[],outputs:e.outputs?e.outputs.map(E.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?n.BigNumber.from(e.gas):null};return new r(g,i)}},{key:"fromString",value:function(e){var t={type:"function"};e=O(e,t);var n=e.split(" returns ");n.length>2&&b.throwArgumentError("invalid function string","value",e);var i=n[0].match(U);if(i||b.throwArgumentError("invalid function signature","value",e),t.name=i[1].trim(),t.name&&$(t.name),t.inputs=C(i[2],!1),I(i[3].trim(),t),n.length>1){var a=n[1].match(U);""==a[1].trim()&&""==a[3].trim()||b.throwArgumentError("unexpected tokens","value",e),t.outputs=C(a[2],!1)}else t.outputs=[];return r.fromObject(t)}},{key:"isFunctionFragment",value:function(e){return e&&e._isFragment&&"function"===e.type}}]),r}(B);function R(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}t.FunctionFragment=N;var M=new RegExp("^[A-Za-z_][A-Za-z0-9_]*$");function $(e){return e&&e.match(M)||b.throwArgumentError('invalid identifier "'.concat(e,'"'),"value",e),e}var U=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");function F(e){e=e.trim();for(var t=[],r="",n=0,i=0;ic[r]||console.log.apply(console,t)}},{key:"debug",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n>4],r+=m[15&t[a]];i.push(e+"=Uint8Array(0x"+r+")")}else i.push(e+"="+JSON.stringify(t))}catch(o){i.push(e+"="+JSON.stringify(n[e].toString()))}})),i.push("code=".concat(r)),i.push("version=".concat(this.version));var a=t;i.length&&(t+=" ("+i.join(", ")+")");var o=new Error(t);return o.reason=a,o.code=r,Object.keys(n).forEach((function(e){o[e]=n[e]})),o}},{key:"throwError",value:function(e,t,r){throw this.makeError(e,t,r)}},{key:"throwArgumentError",value:function(t,r,n){return this.throwError(t,e.errors.INVALID_ARGUMENT,{argument:r,value:n})}},{key:"assert",value:function(e,t,r,n){e||this.throwError(t,r,n)}},{key:"assertArgument",value:function(e,t,r,n){e||this.throwArgumentError(t,r,n)}},{key:"checkNormalize",value:function(t){null==t&&(t="platform missing String.prototype.normalize"),v&&this.throwError("platform missing String.prototype.normalize",e.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:v})}},{key:"checkSafeUint53",value:function(t,r){"number"===typeof t&&(null==r&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}},{key:"checkArgumentCount",value:function(t,r,n){n=n?": "+n:"",tr&&this.throwError("too many arguments"+n,e.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}},{key:"checkNew",value:function(t,r){t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})}},{key:"checkAbstract",value:function(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",e.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})}}],[{key:"globalLogger",value:function(){return f||(f=new e(n.version)),f}},{key:"setCensorship",value:function(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),s){if(!t)return;this.globalLogger().throwError("error censorship permanent",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}u=!!t,s=!!r}},{key:"setLogLevel",value:function(t){var r=c[t.toLowerCase()];null!=r?l=r:e.globalLogger().warn("invalid log level - "+t)}},{key:"from",value:function(t){return new e(t)}}]),e}();t.Logger=b,b.errors=p,b.levels=h},"20f6":function(e,t,r){var n=t;n.der=r("cfbd"),n.pem=r("8df7")},2113:function(e,t,r){"use strict";r.r(t);var n=r("74bf"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},2137:function(e,t,r){"use strict";var n=r("c3c0"),i=r("da3e");function a(e,t,r){if(!(this instanceof a))return new a(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}e.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t0?(t.unshift(r),t):[r]},f.prototype.checkInterfaceSupport=function(){var e=a(n.mark((function e(r,i){var a;return n.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(l[i]){e.next=2;break}return e.abrupt("return");case 2:return a=!1,e.prev=3,e.next=6,r.methods.supportsInterface(l[i]).call();case 6:a=e.sent,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](3),t("warn",'Could not verify interface of resolver contract at "'+r.options.address+'". '," at node_modules/web3-eth-ens/lib/lib/ResolverMethodHandler.js:214");case 12:if(a){e.next=14;break}throw u.ResolverMethodMissingError(r.options.address,i);case 14:case"end":return e.stop()}}),e,null,[[3,9]])})));return function(t,r){return e.apply(this,arguments)}}(),e.exports=f}).call(this,r("0de9")["default"])},2236:function(e,t,r){var n=r("5a43");function i(e){if(Array.isArray(e))return n(e)}e.exports=i},2366:function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);function i(e,t){var n=t||0,i=r;return[i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]]].join("")}e.exports=i},2382:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"u-popup",props:{show:{type:Boolean,default:!1},mode:{type:String,default:"left"},mask:{type:Boolean,default:!0},length:{type:[Number,String],default:"auto"},zoom:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},customStyle:{type:Object,default:function(){return{}}},value:{type:Boolean,default:!1},popup:{type:Boolean,default:!0},borderRadius:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:""},closeable:{type:Boolean,default:!1},closeIcon:{type:String,default:"close"},closeIconPos:{type:String,default:"top-right"},closeIconColor:{type:String,default:"#909399"},closeIconSize:{type:[String,Number],default:"30"},width:{type:String,default:""},height:{type:String,default:""},negativeTop:{type:[String,Number],default:0},maskCustomStyle:{type:Object,default:function(){return{}}},duration:{type:[String,Number],default:250}},data:function(){return{visibleSync:!1,showDrawer:!1,timer:null,closeFromInner:!1}},computed:{style:function(){var e={};if("left"==this.mode||"right"==this.mode?e={width:this.width?this.getUnitValue(this.width):this.getUnitValue(this.length),height:"100%",transform:"translate3D(".concat("left"==this.mode?"-100%":"100%",",0px,0px)")}:"top"!=this.mode&&"bottom"!=this.mode||(e={width:"100%",height:this.height?this.getUnitValue(this.height):this.getUnitValue(this.length),transform:"translate3D(0px,".concat("top"==this.mode?"-100%":"100%",",0px)")}),e.zIndex=this.uZindex,this.borderRadius){switch(this.mode){case"left":e.borderRadius="0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0");break;case"top":e.borderRadius="0 0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx");break;case"right":e.borderRadius="".concat(this.borderRadius,"rpx 0 0 ").concat(this.borderRadius,"rpx");break;case"bottom":e.borderRadius="".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0 0");break;default:}e.overflow="hidden"}return this.duration&&(e.transition="all ".concat(this.duration/1e3,"s linear")),e},centerStyle:function(){var e={};return e.width=this.width?this.getUnitValue(this.width):this.getUnitValue(this.length),e.height=this.height?this.getUnitValue(this.height):"auto",e.zIndex=this.uZindex,e.marginTop="-".concat(this.$u.addUnit(this.negativeTop)),this.borderRadius&&(e.borderRadius="".concat(this.borderRadius,"rpx"),e.overflow="hidden"),e},uZindex:function(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},watch:{value:function(e){e?this.open():this.closeFromInner||this.close(),this.closeFromInner=!1}},mounted:function(){this.value&&this.open()},methods:{getUnitValue:function(e){return/(%|px|rpx|auto)$/.test(e)?e:e+"rpx"},maskClick:function(){this.close()},close:function(){this.closeFromInner=!0,this.change("showDrawer","visibleSync",!1)},modeCenterClose:function(e){"center"==e&&this.maskCloseAble&&this.close()},open:function(){this.change("visibleSync","showDrawer",!0)},change:function(e,t,r){var n=this;1==this.popup&&this.$emit("input",r),this[e]=r,r?this.$nextTick((function(){n[t]=r,n.$emit(r?"open":"close")})):this.timer=setTimeout((function(){n[t]=r,n.$emit(r?"open":"close")}),this.duration)}}};t.default=n},"23c4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.halfWidth=void 0;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}var a=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function o(e){return(0,n.default)(e),a.test(e)}t.halfWidth=a},"23c4e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/,o=/^([0-9a-fA-F]){12}$/;function s(e,t){return(0,n.default)(e),t&&t.no_colons?o.test(e):a.test(e)}e.exports=t.default,e.exports.default=t.default},"240f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.locales=void 0;var n=a(r("3ce7")),i=r("3c37");function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){(0,n.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?i.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var a=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||a>=t.min)&&(!t.hasOwnProperty("max")||a<=t.max)&&(!t.hasOwnProperty("lt")||at.gt)}var s=Object.keys(i.decimal);t.locales=s},2437:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(r("8e09")),n(r("db0c"));function n(e){return e&&e.__esModule?e:{default:e}}var i={data:function(){return{show:!1,info:{},isIn:!0,toTop:!1}},computed:{i18n:function(){return this.$t("index")}},methods:{toDetail:function(){var e;"TRX"==this.info.chainName?e=this.$SystemConfiguration.constant.trxTransctionDetail+this.info.txid:"ETH"==this.info.chainName&&(e=this.$SystemConfiguration.constant.ethTransctionDetail+this.info.txid),plus.runtime.openURL(e)},copyTextMethod:function(t){e("log",t," at pages/menu/transction/detail/index.vue:141");var r=this;e("log",123132," at pages/menu/transction/detail/index.vue:155"),uni.hideToast(),uni.setClipboardData({data:t,success:function(){uni.showToast({title:r.$t("index").CopySuccessful,icon:"none",duration:1500})}})}},onLoad:function(t){this.info=uni.getStorageSync("transDetail"),e("log",this.info,787878," at pages/menu/transction/detail/index.vue:172"),this.isIn="in"===this.info.type,e("log",this.isIn," at pages/menu/transction/detail/index.vue:174")}};t.default=i}).call(this,r("0de9")["default"])},"243a":function(e,t,r){var n=r("3742"),i=r("7e30"),a=r("89d2"),o=r("fe9c"),s=r("11dc"),u=r("399f"),c=function(e,t,r,i,a){return!n.isObject(e)||e instanceof Error||!e.data||((n.isObject(e.data)||n.isArray(e.data))&&(e.data=JSON.stringify(e.data,null,2)),e=e.message+"\n"+e.data),n.isString(e)&&(e=new Error(e)),n.isFunction(i)&&i(e,a),n.isFunction(r)&&((t&&n.isFunction(t.listeners)&&t.listeners("error").length||n.isFunction(i))&&t.catch((function(){})),setTimeout((function(){r(e)}),1)),t&&n.isFunction(t.emit)&&setTimeout((function(){t.emit("error",e,a),t.removeAllListeners()}),1),t},l=function(e){return n.isObject(e)&&e.name&&-1!==e.name.indexOf("(")?e.name:e.name+"("+f(!1,e.inputs).join(",")+")"},f=function e(t,r){var i=[];return r.forEach((function(r){if("object"===typeof r.components){if("tuple"!==r.type.substring(0,5))throw new Error("components found but type is not tuple; report on GitHub");var a="",o=r.type.indexOf("[");o>=0&&(a=r.type.substring(o));var s=e(t,r.components);n.isArray(s)&&t?i.push("tuple("+s.join(",")+")"+a):t?i.push("("+s+")"):i.push("("+s.join(",")+")"+a)}else i.push(r.type)})),i},d=function(e){return"0x"+s(e).toString("hex")},h=function(e){if(!a.isHexStrict(e))throw new Error("The parameter must be a valid HEX string.");var t="",r=0,n=e.length;for("0x"===e.substring(0,2)&&(r=2);r7?r+=e[n].toUpperCase():r+=e[n];return r},y=function(e,t){if(e==t)return 0;if("genesis"!=e&&"earliest"!=e&&0!=e||"genesis"!=t&&"earliest"!=t&&0!=t){if("genesis"==e||"earliest"==e)return-1;if("genesis"==t||"earliest"==t)return 1;if("latest"==e)return"pending"==t?-1:1;if("latest"===t)return"pending"==e?1:-1;if("pending"==e)return 1;if("pending"==t)return-1;var r=new u(e),n=new u(t);return r.lt(n)?-1:r.eq(n)?0:1}return 0};e.exports={_fireError:c,_jsonInterfaceMethodToString:l,_flattenTypes:f,randomHex:d,_:n,BN:a.BN,isBN:a.isBN,isBigNumber:a.isBigNumber,isHex:a.isHex,isHexStrict:a.isHexStrict,sha3:a.sha3,sha3Raw:a.sha3Raw,keccak256:a.sha3,soliditySha3:o.soliditySha3,soliditySha3Raw:o.soliditySha3Raw,encodePacked:o.encodePacked,isAddress:a.isAddress,checkAddressChecksum:a.checkAddressChecksum,toChecksumAddress:g,toHex:a.toHex,toBN:a.toBN,bytesToHex:a.bytesToHex,hexToBytes:a.hexToBytes,hexToNumberString:a.hexToNumberString,hexToNumber:a.hexToNumber,toDecimal:a.hexToNumber,numberToHex:a.numberToHex,fromDecimal:a.numberToHex,hexToUtf8:a.hexToUtf8,hexToString:a.hexToUtf8,toUtf8:a.hexToUtf8,stripHexPrefix:a.stripHexPrefix,utf8ToHex:a.utf8ToHex,stringToHex:a.utf8ToHex,fromUtf8:a.utf8ToHex,hexToAscii:h,toAscii:h,asciiToHex:p,fromAscii:p,unitMap:i.unitMap,toWei:b,fromWei:m,padLeft:a.leftPad,leftPad:a.leftPad,padRight:a.rightPad,rightPad:a.rightPad,toTwosComplement:a.toTwosComplement,isBloom:a.isBloom,isUserEthereumAddressInBloom:a.isUserEthereumAddressInBloom,isContractAddressInBloom:a.isContractAddressInBloom,isTopic:a.isTopic,isTopicInBloom:a.isTopicInBloom,isInBloom:a.isInBloom,compareBlockNumbers:y}},"245c":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=c;var n=r("ecb6"),i=r("20ed"),a=r("a721"),o=new i.Logger(a.version),s=null;try{if(s=window,null==s)throw new Error("try next")}catch(l){try{if(s=e,null==s)throw new Error("try next")}catch(l){s={}}}var u=s.crypto||s.msCrypto;function c(e){(e<=0||e>1024||e%1||e!=e)&&o.throwArgumentError("invalid length","length",e);var t=new Uint8Array(e);return u.getRandomValues(t),(0,n.arrayify)(t)}u&&u.getRandomValues||(o.warn("WARNING: Missing strong random number source"),u={getRandomValues:function(e){return o.throwError("no secure random source avaialble",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}})}).call(this,r("c8ba"))},"249c":function(e,t){e.exports="/static/tongyonh/Frame70.png"},"24c0":function(e){e.exports=JSON.parse('{"name":"byzantium","comment":"Hardfork with new precompiles, instructions and other protocol changes","eip":{"url":"https://eips.ethereum.org/EIPS/eip-609","status":"Final"},"gasConfig":{},"gasPrices":{"modexpGquaddivisor":{"v":20,"d":"Gquaddivisor from modexp precompile for gas calculation"},"ecAdd":{"v":500,"d":"Gas costs for curve addition precompile"},"ecMul":{"v":40000,"d":"Gas costs for curve multiplication precompile"},"ecPairing":{"v":100000,"d":"Base gas costs for curve pairing precompile"},"ecPairingWord":{"v":80000,"d":"Gas costs regarding curve pairing precompile input length"}},"vm":{},"pow":{"minerReward":{"v":"3000000000000000000","d":"the amount a miner get rewarded for mining a block"}},"casper":{},"sharding":{}}')},"24ea":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.importPublic=t.privateToPublic=t.privateToAddress=t.publicToAddress=t.pubToAddress=t.isValidPublic=t.isValidPrivate=t.isPrecompiled=t.generateAddress2=t.generateAddress=t.isValidChecksumAddress=t.toChecksumAddress=t.isZeroAddress=t.isValidAddress=t.zeroAddress=void 0;var n=r("f654"),i=r("d725"),a=r("bb4c"),o=r("399f"),s=r("556d"),u=r("0d39");t.zeroAddress=function(){var e=20,t=s.zeros(e);return s.bufferToHex(t)},t.isValidAddress=function(e){return/^0x[0-9a-fA-F]{40}$/.test(e)},t.isZeroAddress=function(e){var r=t.zeroAddress();return r===s.addHexPrefix(e)},t.toChecksumAddress=function(e,t){e=i.stripHexPrefix(e).toLowerCase();for(var r=void 0!==t?t.toString()+"0x":"",n=u.keccak(r+e).toString("hex"),a="0x",o=0;o=8?a+=e[o].toUpperCase():a+=e[o];return a},t.isValidChecksumAddress=function(e,r){return t.isValidAddress(e)&&t.toChecksumAddress(e,r)===e},t.generateAddress=function(t,r){t=s.toBuffer(t);var n=new o(r);return n.isZero()?u.rlphash([t,null]).slice(-20):u.rlphash([t,e.from(n.toArray())]).slice(-20)},t.generateAddress2=function(t,r,i){var a=s.toBuffer(t),o=s.toBuffer(r),c=s.toBuffer(i);n(20===a.length),n(32===o.length);var l=u.keccak256(e.concat([e.from("ff","hex"),a,o,u.keccak256(c)]));return l.slice(-20)},t.isPrecompiled=function(e){var t=s.unpad(e);return 1===t.length&&t[0]>=1&&t[0]<=8},t.isValidPrivate=function(e){return a.privateKeyVerify(e)},t.isValidPublic=function(t,r){return void 0===r&&(r=!1),64===t.length?a.publicKeyVerify(e.concat([e.from([4]),t])):!!r&&a.publicKeyVerify(t)},t.pubToAddress=function(e,t){return void 0===t&&(t=!1),e=s.toBuffer(e),t&&64!==e.length&&(e=a.publicKeyConvert(e,!1).slice(1)),n(64===e.length),u.keccak(e).slice(-20)},t.publicToAddress=t.pubToAddress,t.privateToAddress=function(e){return t.publicToAddress(t.privateToPublic(e))},t.privateToPublic=function(e){return e=s.toBuffer(e),a.publicKeyCreate(e,!1).slice(1)},t.importPublic=function(e){return e=s.toBuffer(e),64!==e.length&&(e=a.publicKeyConvert(e,!1).slice(1)),e}}).call(this,r("b639").Buffer)},"24f5":function(e,t,r){"use strict";(function(t){
/**
* [js-sha3]{@link https://github.com/emn178/js-sha3}
*
@@ -12,18 +12,18 @@
* @copyright Chen, Yi-Cyuan 2015-2017
* @license MIT
*/
-var r="input is invalid type",n="object"===typeof window,i=n?window:{};i.JS_SHA3_NO_WINDOW&&(n=!1);var a=!n&&"object"===typeof self,o=!i.JS_SHA3_NO_NODE_JS&&"object"===typeof t&&t.versions&&t.versions.node;o?i=global:a&&(i=self);var s=!i.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,u="0123456789abcdef".split(""),c=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],f=[1,256,65536,16777216],d=[6,1536,393216,100663296],h=[0,8,16,24],p=[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],v=[224,256,384,512],m=[128,256],g=["hex","buffer","arrayBuffer","array","digest"],b={128:168,256:136};!i.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!s||!i.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});for(var y=function(e,t,r){return function(n){return new $(e,t,e).update(n)[r]()}},w=function(e,t,r){return function(n,i){return new $(e,t,i).update(n)[r]()}},_=function(e,t,r){return function(t,n,i,a){return T["cshake"+e].update(t,n,i,a)[r]()}},k=function(e,t,r){return function(t,n,i,a){return T["kmac"+e].update(t,n,i,a)[r]()}},x=function(e,t,r,n){for(var i=0;i>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function U(e,t,r){$.call(this,e,t,r)}$.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if("string"!==n){if("object"!==n)throw r;if(null===e)throw r;if(s&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!s||!ArrayBuffer.isView(e)))throw r;t=!0}var i,a,o=this.blocks,u=this.byteCount,c=e.length,l=this.blockCount,f=0,d=this.s;while(f>2]|=e[f]<>2]|=a<>2]|=(192|a>>6)<>2]|=(128|63&a)<=57344?(o[i>>2]|=(224|a>>12)<>2]|=(128|a>>6&63)<>2]|=(128|63&a)<>2]|=(240|a>>18)<>2]|=(128|a>>12&63)<>2]|=(128|a>>6&63)<>2]|=(128|63&a)<=u){for(this.start=i-u,this.block=o[l],i=0;i>=8,r=255&e;while(r>0)i.unshift(r),e>>=8,r=255&e,++n;return t?i.push(n):i.unshift(n),this.update(i),i.length},$.prototype.encodeString=function(e){var t,n=typeof e;if("string"!==n){if("object"!==n)throw r;if(null===e)throw r;if(s&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!s||!ArrayBuffer.isView(e)))throw r;t=!0}var i=0,a=e.length;if(t)i=a;else for(var o=0;o=57344?i+=3:(u=65536+((1023&u)<<10|1023&e.charCodeAt(++o)),i+=4)}return i+=this.encode(8*i),this.update(e),i},$.prototype.bytepad=function(e,t){for(var r=this.encode(t),n=0;n>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[r],t=1;t>4&15]+u[15&e]+u[e>>12&15]+u[e>>8&15]+u[e>>20&15]+u[e>>16&15]+u[e>>28&15]+u[e>>24&15];o%t===0&&(L(r),a=0)}return i&&(e=r[a],s+=u[e>>4&15]+u[15&e],i>1&&(s+=u[e>>12&15]+u[e>>8&15]),i>2&&(s+=u[e>>20&15]+u[e>>16&15])),s},$.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,a=0,o=0,s=this.outputBits>>3;e=i?new ArrayBuffer(n+1<<2):new ArrayBuffer(s);var u=new Uint32Array(e);while(o>8&255,u[e+2]=t>>16&255,u[e+3]=t>>24&255;s%r===0&&L(n)}return a&&(e=s<<2,t=n[o],u[e]=255&t,a>1&&(u[e+1]=t>>8&255),a>2&&(u[e+2]=t>>16&255)),u},U.prototype=new $,U.prototype.finalize=function(){return this.encode(this.outputBits,!0),$.prototype.finalize.call(this)};var L=function(e){var t,r,n,i,a,o,s,u,c,l,f,d,h,v,m,g,b,y,w,_,k,x,S,A,E,P,C,T,O,I,j,N,R,B,M,$,U,L,F,D,z,H,q,W,K,V,G,X,J,Z,Y,Q,ee,te,re,ne,ie,ae,oe,se,ue,ce,le;for(n=0;n<48;n+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],a=e[1]^e[11]^e[21]^e[31]^e[41],o=e[2]^e[12]^e[22]^e[32]^e[42],s=e[3]^e[13]^e[23]^e[33]^e[43],u=e[4]^e[14]^e[24]^e[34]^e[44],c=e[5]^e[15]^e[25]^e[35]^e[45],l=e[6]^e[16]^e[26]^e[36]^e[46],f=e[7]^e[17]^e[27]^e[37]^e[47],d=e[8]^e[18]^e[28]^e[38]^e[48],h=e[9]^e[19]^e[29]^e[39]^e[49],t=d^(o<<1|s>>>31),r=h^(s<<1|o>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=i^(u<<1|c>>>31),r=a^(c<<1|u>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=o^(l<<1|f>>>31),r=s^(f<<1|l>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=u^(d<<1|h>>>31),r=c^(h<<1|d>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=l^(i<<1|a>>>31),r=f^(a<<1|i>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,v=e[0],m=e[1],V=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,T=e[20]<<3|e[21]>>>29,O=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ue=e[30]<<9|e[31]>>>23,H=e[40]<<18|e[41]>>>14,q=e[41]<<18|e[40]>>>14,B=e[2]<<1|e[3]>>>31,M=e[3]<<1|e[2]>>>31,g=e[13]<<12|e[12]>>>20,b=e[12]<<12|e[13]>>>20,X=e[22]<<10|e[23]>>>22,J=e[23]<<10|e[22]>>>22,I=e[33]<<13|e[32]>>>19,j=e[32]<<13|e[33]>>>19,ce=e[42]<<2|e[43]>>>30,le=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,$=e[14]<<6|e[15]>>>26,U=e[15]<<6|e[14]>>>26,y=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,Z=e[34]<<15|e[35]>>>17,Y=e[35]<<15|e[34]>>>17,N=e[45]<<29|e[44]>>>3,R=e[44]<<29|e[45]>>>3,A=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,L=e[26]<<25|e[27]>>>7,F=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,k=e[37]<<21|e[36]>>>11,Q=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,W=e[8]<<27|e[9]>>>5,K=e[9]<<27|e[8]>>>5,P=e[18]<<20|e[19]>>>12,C=e[19]<<20|e[18]>>>12,ae=e[29]<<7|e[28]>>>25,oe=e[28]<<7|e[29]>>>25,D=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,x=e[48]<<14|e[49]>>>18,S=e[49]<<14|e[48]>>>18,e[0]=v^~g&y,e[1]=m^~b&w,e[10]=A^~P&T,e[11]=E^~C&O,e[20]=B^~$&L,e[21]=M^~U&F,e[30]=W^~V&X,e[31]=K^~G&J,e[40]=te^~ne&ae,e[41]=re^~ie&oe,e[2]=g^~y&_,e[3]=b^~w&k,e[12]=P^~T&I,e[13]=C^~O&j,e[22]=$^~L&D,e[23]=U^~F&z,e[32]=V^~X&Z,e[33]=G^~J&Y,e[42]=ne^~ae&se,e[43]=ie^~oe&ue,e[4]=y^~_&x,e[5]=w^~k&S,e[14]=T^~I&N,e[15]=O^~j&R,e[24]=L^~D&H,e[25]=F^~z&q,e[34]=X^~Z&Q,e[35]=J^~Y&ee,e[44]=ae^~se&ce,e[45]=oe^~ue&le,e[6]=_^~x&v,e[7]=k^~S&m,e[16]=I^~N&A,e[17]=j^~R&E,e[26]=D^~H&B,e[27]=z^~q&M,e[36]=Z^~Q&W,e[37]=Y^~ee&K,e[46]=se^~ce&te,e[47]=ue^~le&re,e[8]=x^~v&g,e[9]=S^~m&b,e[18]=N^~A&P,e[19]=R^~E&C,e[28]=H^~B&$,e[29]=q^~M&U,e[38]=Q^~W&V,e[39]=ee^~K&G,e[48]=ce^~te&ne,e[49]=le^~re&ie,e[0]^=p[n],e[1]^=p[n+1]};e.exports=T}).call(this,r("4362"))},"24f8":function(e,t,r){var n=r("9490"),i=r("0b16"),a=e.exports;for(var o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);function s(e){if("string"===typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}a.request=function(e,t){return e=s(e),n.request.call(this,e,t)},a.get=function(e,t){return e=s(e),n.get.call(this,e,t)}},"24fc":function(e,t,r){"use strict";r.r(t);var n=r("76e0"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"24fd":function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("view",{staticClass:e._$s(0,"sc","index-header "),attrs:{_i:0}},[r("view",{staticClass:e._$s(1,"sc","con"),attrs:{_i:1}},[r("view",{staticClass:e._$s(2,"sc","tabbar_item"),attrs:{_i:2},on:{click:function(t){return e.goToPage(1)}}},[r("view",{staticClass:e._$s(3,"sc","uni-tabbar_bd"),attrs:{_i:3}},[r("view",{staticClass:e._$s(4,"sc","uni-tabbar_icon"),attrs:{_i:4}},[r("image",{staticClass:e._$s(5,"sc","img1"),attrs:{src:e._$s(5,"a-src","/static/tongyonh/"+(1==e.selectActive?"Uniona":"Union")+".png"),_i:5}})]),r("view",{staticClass:e._$s(6,"sc","uni-tabbar_label"),class:e._$s(6,"c",["text",1==e.selectActive?"active":""]),attrs:{_i:6}},[e._v(e._$s(6,"t0-0",e._s(e.i18n.Wallet)))])])]),r("view",{staticClass:e._$s(7,"sc","tabbar_item"),attrs:{_i:7},on:{click:function(t){return e.goToPage(2)}}},[r("view",{staticClass:e._$s(8,"sc","uni-tabbar_bd"),attrs:{_i:8}},[r("view",{staticClass:e._$s(9,"sc","uni-tabbar_icon"),attrs:{_i:9}},[r("image",{staticClass:e._$s(10,"sc","img1"),attrs:{src:e._$s(10,"a-src","/static/tongyonh/"+(2==e.selectActive?"nft_icon2":"nft_icon")+".png"),_i:10}})]),r("view",{staticClass:e._$s(11,"sc","uni-tabbar_label"),class:e._$s(11,"c",["text",2==e.selectActive?"active":""]),attrs:{_i:11}},[e._v(e._$s(11,"t0-0",e._s(e.i18n.NFT)))])])]),r("view",{staticClass:e._$s(12,"sc","tabbar_item"),attrs:{_i:12},on:{click:function(t){return e.goToPage(3)}}},[r("view",{staticClass:e._$s(13,"sc","uni-tabbar_bd"),attrs:{_i:13}},[r("view",{staticClass:e._$s(14,"sc","uni-tabbar_icon"),attrs:{_i:14}},[r("image",{staticClass:e._$s(15,"sc","img1"),attrs:{src:e._$s(15,"a-src","/static/tongyonh/"+(3==e.selectActive?"market_icona":"market_icon")+".png"),_i:15}})]),r("view",{staticClass:e._$s(16,"sc","uni-tabbar_label"),class:e._$s(16,"c",["text",3==e.selectActive?"active":""]),attrs:{_i:16}},[e._v(e._$s(16,"t0-0",e._s(e.i18n.Market)))])])]),r("view",{staticClass:e._$s(17,"sc","tabbar_item"),attrs:{_i:17},on:{click:function(t){return e.goToPage(5)}}},[r("view",{staticClass:e._$s(18,"sc","uni-tabbar_bd"),attrs:{_i:18}},[r("view",{staticClass:e._$s(19,"sc","uni-tabbar_icon"),attrs:{_i:19}},[r("image",{staticClass:e._$s(20,"sc","img1"),attrs:{src:e._$s(20,"a-src","/static/tongyonh/"+(5==e.selectActive?"Profile_icon":"Profile_icona")+".png"),_i:20}})]),r("view",{staticClass:e._$s(21,"sc","uni-tabbar_label"),class:e._$s(21,"c",["text",5==e.selectActive?"active":""]),attrs:{_i:21}},[e._v(e._$s(21,"t0-0",e._s(e.i18n.Profile)))])])])])])},a=[]},"257a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("b79a");t.input=n;var i=r("77a7");t.output=i},"25b9":function(e,t,r){(function(e){var n=r("d26d"),i=r("774b"),a=function(e){var t=e.slice(0,2),r=e.slice(2),n="";return n="0x"===t?r:e,i.fromHexString(n)},o={swarm:function(e){var t=i.encode(a(e),"keccak-256");return new n(1,"swarm-manifest",t).buffer},ipfs:function(e){var t=i.fromB58String(e);return new n(1,"dag-pb",t).buffer},utf8:function(t){return e.from(t,"utf8")}},s={hexMultiHash:function(e){var t=new n(e);return i.decode(t.multihash).digest.toString("hex")},b58MultiHash:function(e){var t=new n(e);return i.toB58String(t.multihash)},utf8:function(e){return e.toString("utf8")}},u={"swarm-ns":{encode:o.swarm,decode:s.hexMultiHash},"ipfs-ns":{encode:o.ipfs,decode:s.b58MultiHash},"ipns-ns":{encode:o.ipfs,decode:s.b58MultiHash},default:{encode:o.utf8,decode:s.utf8}};t.hexStringToBuffer=a,t.profiles=u}).call(this,r("b639").Buffer)},2604:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=i(r("3ce7"));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;function o(e){return(0,n.default)(e),a.test(e)}e.exports=t.default,e.exports.default=t.default},2659:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TupleCoder=void 0;var n=r("938b"),i=r("f7da");function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var r=0;r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw o}}}}function i(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r-1,r=e.indexOf("-")>-1&&e.indexOf("_")>-1;return{encode:function(e){var n="";n="string"===typeof e?s.from(e).toString("base64"):e.toString("base64"),r&&(n=n.replace(/\+/g,"-").replace(/\//g,"_"));var i=n.indexOf("=");return i>0&&!t&&(n=n.substring(0,i)),n},decode:function(t){var r,i=n(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(e.indexOf(a)<0)throw new Error("invalid base64 character")}}catch(o){i.e(o)}finally{i.f()}return s.from(t,"base64")}}}},"277d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.looseArrayify=a,t.zpad=o,t.getPassword=s,t.searchPath=u,t.uuidV4=c;var n=r("ecb6"),i=r("86c8");function a(e){return"string"===typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),(0,n.arrayify)(e)}function o(e,t){e=String(e);while(e.lengtht)throw new TypeError("Script number overflow");if(r&&0===(127&e[n-1])&&(n<=1||0===(128&e[n-2])))throw new Error("Non-minimally encoded script number");if(5===n){var i=e.readUInt32LE(0),a=e.readUInt8(4);return 128&a?-(4294967296*(-129&a)+i):4294967296*a+i}for(var o=0,s=0;s2147483647?5:e>8388607?4:e>32767?3:e>127?2:e>0?1:0}function i(t){for(var r=Math.abs(t),i=n(r),a=e.allocUnsafe(i),o=t<0,s=0;s>=8;return 128&a[i-1]?a.writeUInt8(o?128:0,i-1):o&&(a[i-1]|=128),a}Object.defineProperty(t,"__esModule",{value:!0}),t.decode=r,t.encode=i}).call(this,r("b639").Buffer)},2858:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.langEn=void 0;var n=r("c9b1");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:1500;uni.showToast({title:e,icon:"none",duration:t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n;t.default=i},"28fe":function(e){e.exports=JSON.parse('{"name":"rinkeby","chainId":4,"networkId":4,"comment":"PoA test network","url":"https://www.rinkeby.io","genesis":{"hash":"0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177","timestamp":"0x58ee40ba","gasLimit":4700000,"difficulty":1,"nonce":"0x0000000000000000","extraData":"0x52657370656374206d7920617574686f7269746168207e452e436172746d616e42eb768f2244c8811c63729a21a3569731535f067ffc57839b00206d1ad20c69a1981b489f772031b279182d99e65703f0076e4812653aab85fca0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","stateRoot":"0x53580584816f617295ea26c0e17641e0120cab2f0a8ffb53a866fd53aa8e8c2d"},"hardforks":[{"name":"chainstart","block":0,"consensus":"poa","finality":null},{"name":"homestead","block":1,"consensus":"poa","finality":null},{"name":"dao","block":null,"consensus":"poa","finality":null},{"name":"tangerineWhistle","block":2,"consensus":"poa","finality":null},{"name":"spuriousDragon","block":3,"consensus":"poa","finality":null},{"name":"byzantium","block":1035301,"consensus":"poa","finality":null},{"name":"constantinople","block":3660663,"consensus":"poa","finality":null},{"name":"petersburg","block":4321234,"consensus":"poa","finality":null},{"name":"istanbul","block":5435345,"consensus":"poa","finality":null}],"bootstrapNodes":[{"ip":"52.169.42.101","port":30303,"id":"a24ac7c5484ef4ed0c5eb2d36620ba4e4aa13b8c84684e1b4aab0cebea2ae45cb4d375b77eab56516d34bfbd3c1a833fc51296ff084b770b94fb9028c4d25ccf","location":"","comment":"IE"},{"ip":"52.3.158.184","port":30303,"id":"343149e4feefa15d882d9fe4ac7d88f885bd05ebb735e547f12e12080a9fa07c8014ca6fd7f373123488102fe5e34111f8509cf0b7de3f5b44339c9f25e87cb8","location":"","comment":"INFURA"},{"ip":"159.89.28.211","port":30303,"id":"b6b28890b006743680c52e64e0d16db57f28124885595fa03a562be1d2bf0f3a1da297d56b13da25fb992888fd556d4c1a27b1f39d531bde7de1921c90061cc6","location":"","comment":"AKASHA"}]}')},"29b4":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r("a34a"));i(r("8e09")),i(r("8be2"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,u,"next",e)}function u(e){a(o,n,i,s,u,"throw",e)}s(void 0)}))}}var s={data:function(){return{item:{},wallet:{},address:"",result:[],result2:[],pageSize:10,pageNum:1}},onLoad:function(t){uni.getStorageSync("wallet")?(this.address=uni.getStorageSync("wallet").address,this.wallet=uni.getStorageSync("wallet"),this.wallet.address=this.wallet.address.substring(0,6)+"..."+this.wallet.address.substring(25,this.wallet.address.length)):(this.wallet=uni.getStorageSync("walletInfo").BTC[0],this.wallet.address=this.wallet.address.substring(0,6)+"..."+this.wallet.address.substring(25,this.wallet.address.length),e("log",this.wallet,111," at pages/menu/collection/collectionDetail/index.vue:60")),this.item=uni.getStorageSync("nftitem"),this.getProject(),this.getProject2()},onReachBottom:function(){this.pageSize+=5,this.getProject(),this.getProject2()},computed:{i18n:function(){return this.$t("index")}},methods:{back:function(){uni.reLaunch({url:"../index"})},getProject:function(){var e=this;return o(n.default.mark((function t(){var r,i,a;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={nftProjectId:e.item.id,address:e.address,pageSize:e.pageSize,pageNum:e.pageNum},t.next=3,e.$api.getNftCollectionList(r);case 3:for(i=t.sent,e.result=i.data.rows,a=0;a>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function U(e,t,r){$.call(this,e,t,r)}$.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if("string"!==n){if("object"!==n)throw r;if(null===e)throw r;if(s&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!s||!ArrayBuffer.isView(e)))throw r;t=!0}var i,a,o=this.blocks,u=this.byteCount,c=e.length,l=this.blockCount,f=0,d=this.s;while(f>2]|=e[f]<>2]|=a<>2]|=(192|a>>6)<>2]|=(128|63&a)<=57344?(o[i>>2]|=(224|a>>12)<>2]|=(128|a>>6&63)<>2]|=(128|63&a)<>2]|=(240|a>>18)<>2]|=(128|a>>12&63)<