(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{0:function(t,e){},"0116":function(t,e,n){"use strict";var r=n("2c2e"),i=n("610c"),o=n("cfef"),a=n("5f79").Buffer,s=n("1177"),c=n("2d81"),u=n("25a4"),f=a.alloc(128);function d(t,e){o.call(this,"digest"),"string"===typeof e&&(e=a.from(e));var n="sha512"===t||"sha384"===t?128:64;if(this._alg=t,this._key=e,e.length>n){var r="rmd160"===t?new c:u(t);e=r.update(e).digest()}else e.length0;r--)e+=this._buffer(t,e),n+=this._flushBuffer(i,n);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,n;return t&&(e=this.update(t)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(n):n},i.prototype._pad=function(t,e){if(0===e)return!1;while(e0){e=this.attr.productAttr.length?n.split(","):[];break}for(var r=0;r=0?(this.$set(this.attr.productSelect,"image",e.image),this.$set(this.attr.productSelect,"price",e.price),this.$set(this.attr.productSelect,"stock",e.stock),this.$set(this.attr.productSelect,"unique",e.unique),this.$set(this.attr.productSelect,"vip_price",e.vip_price),this.$set(this.attr.productSelect,"cart_num",this.storeInfo.min_qty?this.storeInfo.min_qty:1),this.$set(this,"attrValue",t)):(this.$set(this.attr.productSelect,"image",this.storeInfo.image),this.$set(this.attr.productSelect,"price",this.storeInfo.price),this.$set(this.attr.productSelect,"stock",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"cart_num",this.storeInfo.min_qty?this.storeInfo.min_qty:1),this.$set(this.attr.productSelect,"vip_price",this.storeInfo.vip_price),this.$set(this,"attrValue","")):(this.$set(this.attr.productSelect,"image",this.storeInfo.image),this.$set(this.attr.productSelect,"price",this.storeInfo.price),this.$set(this.attr.productSelect,"ot_price",this.storeInfo.ot_price),this.$set(this.attr.productSelect,"stock",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"cart_num",this.storeInfo.min_qty?this.storeInfo.min_qty:1),this.$set(this.attr.productSelect,"vip_price",this.storeInfo.vip_price),this.$set(this,"attrValue",""),this.$set(this,"attrTxt","请选择"))},attrVal:function(t){this.$set(this.attr.productAttr[t.indexw],"index",this.attr.productAttr[t.indexw].attr_values[t.indexn])},iptCartNum:function(t){this.$set(this.attr.productSelect,"cart_num",t)},onMyEvent:function(){this.$set(this.attr,"cartAttr",!1)},ChangeCartNumDuo:function(t){var e=this.productValue[this.attrValue];if(void 0!==e||this.attr.productAttr.length||(e=this.attr.productSelect),void 0!==e){var n=e.stock||0,r=this.attr.productSelect;this.ChangeCartNum(t,r,n,1)}},ChangeCartNumDan:function(t,e,n){if(t||!n.min_qty||n.cart_num!=n.min_qty){var r=this.tempArr[e],i=this.tempArr[e].stock;this.beforeCartNum=1,this.ChangeCartNum(t,r,i,0,n.id)}},ChangeSubDel:function(t){var e=this,n=e.cartData.cartList,r=[];n.forEach((function(t){r.push(t.id)})),(0,i.cartDel)(r.join(",")).then((function(t){e.$set(e.cartData,"cartList",[]),e.cartData.iScart=!1,e.totalPrice=0,e.page=1,e.loadend=!1,e.tempArr=[],e.productslist(),e.getCartNum()}))},ChangeOneDel:function(t,e){var n=this,r=n.cartData.cartList;(0,i.cartDel)(t.toString()).then((function(t){r.splice(e,1),r.length||(n.cartData.iScart=!1,n.page=1,n.loadend=!1,n.tempArr=[],n.productslist()),n.getCartNum()}))},goCatNum:function(){this.goCat(1,this.id,1)},closeList:function(t){this.$set(this.cartData,"iScart",t)},ChangeCartList:function(t,e){var n=this.cartData.cartList,r=n[e],i=n[e].trueStock;this.beforeCartNum=r.productInfo.min_qty?r.productInfo.min_qty:1,this.ChangeCartNum(t,r,i,0,r.product_id,e,1),n.length||(this.cartData.iScart=!1,this.page=1,this.loadend=!1,this.tempArr=[],this.productslist())},ChangeCartNum:function(t,e,n,r,i,o,a){if(t){if(e.cart_num++,e.cart_num>n)return r?(this.$set(this.attr.productSelect,"cart_num",n||1),this.$set(this,"cart_num",n||1)):(e.cart_num=n||0,this.$set(this,"tempArr",this.tempArr),this.$set(this.cartData,"cartList",this.cartData.cartList)),this.$util.Tips({title:"该产品没有更多库存了"});r||(a?(this.goCat(0,i,1,1,e.product_attr_unique),this.getTotalPrice()):this.goCat(0,i,1))}else e.cart_num--,0==e.cart_num&&(this.cartData.cartList.splice(o,1),r&&(this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"cart_num",1))),e.cart_num<0?r?(this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"cart_num",1)):(e.cart_num=0,this.$set(this,"tempArr",this.tempArr),this.$set(this.cartData,"cartList",this.cartData.cartList)):r||(a?(this.goCat(0,i,0,1,e.product_attr_unique),this.getTotalPrice()):this.goCat(0,i,0));this.tempArr.forEach((function(t){t.id==i&&(t.cart_num=e.cart_num)}))},goCat:function(t,e,n,i,o){var a=this;if(t){var s=a.productValue[this.attrValue];if(a.attr.productAttr.length&&void 0===s)return a.$util.Tips({title:"产品库存不足,请选择其它属性"})}var c={product_id:e,num:t?a.attr.productSelect.cart_num:a.beforeCartNum,type:n,unique:t?a.attr.productSelect.unique:i?o:""};(0,r.postCartNum)(c).then((function(e){t&&(a.attr.cartAttr=!1,a.tempArr.forEach((function(t,e){if(t.id==a.id){var n=a.attr.productSelect.stock,r=parseInt(t.cart_num)+parseInt(a.attr.productSelect.cart_num);t.cart_num=r>n?n:r}}))),a.$util.Tips({title:e.msg}),a.getCartNum(),i||a.getCartList(1)})).catch((function(t){return a.$util.Tips({title:t})}))},goCartDuo:function(e){this.isLogin?0==e.cart_button?e.is_presale_product?t.navigateTo({url:"/pages/activity/goods_details/index?id=".concat(e.id,"&type=6")}):t.navigateTo({url:"/pages/goods_details/index?id=".concat(e.id,"&fromType=1")}):(this.storeName=e.store_name,this.getAttrs(e.id),this.$set(this,"id",e.id),this.$set(this.attr,"cartAttr",!0)):(0,o.toLogin)()},goCartDan:function(e,n){this.isLogin?0==e.cart_button?e.is_presale_product?t.navigateTo({url:"/pages/activity/goods_details/index?id=".concat(e.id,"&type=6")}):t.navigateTo({url:"/pages/goods_details/index?id=".concat(e.id,"&fromType=1")}):(e.cart_num=e.min_qty?e.min_qty:1,this.beforeCartNum=e.min_qty?e.min_qty:1,this.goCat(0,e.id,1)):(0,o.toLogin)()}}};e.default=a}).call(this,n("df3c")["default"])},"0293":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{disabled:!1,text:"获取验证码",run:void 0,scrollTop:0}},provide:function(){var t=this;return{scrollTopFn:function(){return t.scrollTop}}},onPageScroll:function(t){this.scrollTop=t.scrollTop},methods:{sendCode:function(){var t=this;if(!this.disabled){this.disabled=!0;var e=60;this.text="剩余 "+e+"s",this.run=setInterval((function(){e-=1,e<0&&clearInterval(t.run),t.text="剩余 "+e+"s",t.text<"剩余 0s"&&(t.disabled=!1,t.text="重新获取")}),1e3)}}},beforeDestroy:function(){clearInterval(this.run)}};e.default=r},"0428":function(t,e,n){var r={ECB:n("53ac"),CBC:n("9544"),CFB:n("f2aa"),CFB8:n("67bc"),CFB1:n("9364"),OFB:n("1f5a"),CTR:n("4ac8"),GCM:n("4ac8")},i=n("e994");for(var o in i)i[o].module=r[i[o].mode];t.exports=i},"0446":function(t,e,n){var r=n("5f79").Buffer;function i(t){r.isBuffer(t)||(t=r.from(t));for(var e=t.length/4|0,n=new Array(e),i=0;i>>24]^f[p>>>16&255]^d[b>>>8&255]^h[255&g]^e[m++],a=u[p>>>24]^f[b>>>16&255]^d[g>>>8&255]^h[255&l]^e[m++],s=u[b>>>24]^f[g>>>16&255]^d[l>>>8&255]^h[255&p]^e[m++],c=u[g>>>24]^f[l>>>16&255]^d[p>>>8&255]^h[255&b]^e[m++],l=o,p=a,b=s,g=c;return o=(r[l>>>24]<<24|r[p>>>16&255]<<16|r[b>>>8&255]<<8|r[255&g])^e[m++],a=(r[p>>>24]<<24|r[b>>>16&255]<<16|r[g>>>8&255]<<8|r[255&l])^e[m++],s=(r[b>>>24]<<24|r[g>>>16&255]<<16|r[l>>>8&255]<<8|r[255&p])^e[m++],c=(r[g>>>24]<<24|r[l>>>16&255]<<16|r[p>>>8&255]<<8|r[255&b])^e[m++],o>>>=0,a>>>=0,s>>>=0,c>>>=0,[o,a,s,c]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,c=0;c<256;++c){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,n[a]=u,r[u]=a;var f=t[a],d=t[f],h=t[d],l=257*t[u]^16843008*u;i[0][a]=l<<24|l>>>8,i[1][a]=l<<16|l>>>16,i[2][a]=l<<8|l>>>24,i[3][a]=l,l=16843009*h^65537*d^257*f^16843008*a,o[0][u]=l<<24|l>>>8,o[1][u]=l<<16|l>>>16,o[2][u]=l<<8|l>>>24,o[3][u]=l,0===a?a=s=1:(a=f^t[t[t[h^f]]],s^=t[t[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function u(t){this._key=i(t),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,r=4*(n+1),i=[],o=0;o>>24,a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=s[o/e|0]<<24):e>6&&o%e===4&&(a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),i[o]=i[o-e]^a}for(var u=[],f=0;f>>24]]^c.INV_SUB_MIX[1][c.SBOX[h>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[h>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&h]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(t){return t=i(t),a(t,this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=r.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n},u.prototype.decryptBlock=function(t){t=i(t);var e=t[1];t[1]=t[3],t[3]=e;var n=a(t,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=u},"04ef":function(t,e,n){"use strict";e.utils=n("88d4"),e.Cipher=n("0168"),e.DES=n("21cb"),e.CBC=n("9f25"),e.EDE=n("61e3")},"055b":function(t,e,n){"use strict";var r=n("2c2e"),i=n("782c"),o=n("2d81"),a=n("25a4"),s=n("cfef");function c(t){s.call(this,"digest"),this._hash=t}r(c,s),c.prototype._update=function(t){this._hash.update(t)},c.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return t=t.toLowerCase(),"md5"===t?new i:"rmd160"===t||"ripemd160"===t?new o:new c(a(t))}},"07a0":function(t,e,n){"use strict";var r=n("81eb"),i=n("4e45"),o=i.getNAF,a=i.getJSF,s=i.assert;function c(t,e){this.type=t,this.p=new r(e.p,16),this.red=e.prime?r.red(e.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=e.n&&new r(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.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 n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(t,e){s(t.precomputed);var n=t._getDoubles(),r=o(e,1,this._bitLength),i=(1<=a;f--)c=(c<<1)+r[f];u.push(c)}for(var d=this.jpoint(null,null,null),h=this.jpoint(null,null,null),l=i;l>0;l--){for(a=0;a=0;u--){for(var f=0;u>=0&&0===a[u];u--)f++;if(u>=0&&f++,c=c.dblp(f),u<0)break;var d=a[u];s(0!==d),c="affine"===t.type?d>0?c.mixedAdd(i[d-1>>1]):c.mixedAdd(i[-d-1>>1].neg()):d>0?c.add(i[d-1>>1]):c.add(i[-d-1>>1].neg())}return"affine"===t.type?c.toP():c},c.prototype._wnafMulAdd=function(t,e,n,r,i){var s,c,u,f=this._wnafT1,d=this._wnafT2,h=this._wnafT3,l=0;for(s=0;s=1;s-=2){var b=s-1,g=s;if(1===f[b]&&1===f[g]){var m=[e[b],null,null,e[g]];0===e[b].y.cmp(e[g].y)?(m[1]=e[b].add(e[g]),m[2]=e[b].toJ().mixedAdd(e[g].neg())):0===e[b].y.cmp(e[g].y.redNeg())?(m[1]=e[b].toJ().mixedAdd(e[g]),m[2]=e[b].add(e[g].neg())):(m[1]=e[b].toJ().mixedAdd(e[g]),m[2]=e[b].toJ().mixedAdd(e[g].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],y=a(n[b],n[g]);for(l=Math.max(y[0].length,l),h[b]=new Array(l),h[g]=new Array(l),c=0;c=0;s--){var k=0;while(s>=0){var x=!0;for(c=0;c=0&&k++,S=S.dblp(k),s<0)break;for(c=0;c0?u=d[c][E-1>>1]:E<0&&(u=d[c][-E-1>>1].neg()),S="affine"===u.type?S.mixedAdd(u):S.add(u))}}for(s=0;s=Math.ceil((t.bitLength()+1)/e.step)},u.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i0||o>0){var f=new i;f.update(u),f.update(t),e&&f.update(e),u=f.digest();var d=0;if(a>0){var h=s.length-a;d=Math.min(a,u.length),u.copy(s,h,0,d),a-=d}if(d0){var l=c.length-o,p=Math.min(o,u.length-d);u.copy(c,l,d,d+p),o-=p}}return u.fill(0),{key:s,iv:c}}},"0ae6":function(t,e,n){var r=n("055b"),i=n("5f79").Buffer;function o(t){var e=i.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){var n,a=i.alloc(0),s=0;while(a.length=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},"0b4d":function(t,e,n){var r=n("2c2e"),i=n("0b34"),o=n("5f79").Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}function u(t,e,n){return n^t&(e^n)}function f(t,e,n){return t&e|n&(t|e)}function d(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function h(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function l(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function b(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function g(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function m(t,e){return t>>>0>>0?1:0}r(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,c=0|this._fh,v=0|this._gh,y=0|this._hh,_=0|this._al,w=0|this._bl,S=0|this._cl,A=0|this._dl,k=0|this._el,x=0|this._fl,E=0|this._gl,M=0|this._hl,C=0;C<32;C+=2)e[C]=t.readInt32BE(4*C),e[C+1]=t.readInt32BE(4*C+4);for(;C<160;C+=2){var O=e[C-30],I=e[C-30+1],T=l(O,I),P=p(I,O);O=e[C-4],I=e[C-4+1];var L=b(O,I),D=g(I,O),j=e[C-14],R=e[C-14+1],B=e[C-32],N=e[C-32+1],$=P+R|0,U=T+j+m($,P)|0;$=$+D|0,U=U+L+m($,D)|0,$=$+N|0,U=U+B+m($,N)|0,e[C]=U,e[C+1]=$}for(var F=0;F<160;F+=2){U=e[F],$=e[F+1];var q=f(n,r,i),z=f(_,w,S),H=d(n,_),V=d(_,n),K=h(s,k),G=h(k,s),W=a[F],Y=a[F+1],X=u(s,c,v),J=u(k,x,E),Z=M+G|0,Q=y+K+m(Z,M)|0;Z=Z+J|0,Q=Q+X+m(Z,J)|0,Z=Z+Y|0,Q=Q+W+m(Z,Y)|0,Z=Z+$|0,Q=Q+U+m(Z,$)|0;var tt=V+z|0,et=H+q+m(tt,V)|0;y=v,M=E,v=c,E=x,c=s,x=k,k=A+Z|0,s=o+Q+m(k,A)|0,o=i,A=S,i=r,S=w,r=n,w=_,_=Z+tt|0,n=Q+et+m(_,Z)|0}this._al=this._al+_|0,this._bl=this._bl+w|0,this._cl=this._cl+S|0,this._dl=this._dl+A|0,this._el=this._el+k|0,this._fl=this._fl+x|0,this._gl=this._gl+E|0,this._hl=this._hl+M|0,this._ah=this._ah+n+m(this._al,_)|0,this._bh=this._bh+r+m(this._bl,w)|0,this._ch=this._ch+i+m(this._cl,S)|0,this._dh=this._dh+o+m(this._dl,A)|0,this._eh=this._eh+s+m(this._el,k)|0,this._fh=this._fh+c+m(this._fl,x)|0,this._gh=this._gh+v+m(this._gl,E)|0,this._hh=this._hh+y+m(this._hl,M)|0},c.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=c},"0b50":function(t,e,n){"use strict";function r(t){const e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0);const r=t[n];e[r]=n})),e}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=r(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=r(e.tag)},"0bdb":function(t,e,n){var r=n("d551");function i(t,e){for(var n=0;n0?a-4:a;for(n=0;n>16&255,c[f++]=e>>8&255,c[f++]=255&e;2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,c[f++]=255&e);1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,c[f++]=e>>8&255,c[f++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;as?s:a+16383));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function f(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function d(t,e,n){for(var r,i=[],o=e;o * @license MIT */ var r=n("10ab"),i=n("ba37"),o=n("b0e4");function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(t).length;default:if(r)return U(t).length;e=(""+e).toLowerCase(),r=!0}}function b(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return O(this,e,n);case"utf8":case"utf-8":return E(this,e,n);case"ascii":return M(this,e,n);case"latin1":case"binary":return C(this,e,n);case"base64":return x(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function m(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=c.from(e,r)),c.isBuffer(e))return 0===e.length?-1:v(t,e,n,r,i);if("number"===typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):v(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(t,e,n,r,i){var o,a=1,s=t.length,c=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var f=-1;for(o=n;os&&(n=s-c),o=n;o>=0;o--){for(var d=!0,h=0;hi&&(r=i)):r=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r)}return o}(e,t.length-n),t,n,r)}function x(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function E(t,e,n){n=Math.min(t.length,n);var r=[],i=e;while(i239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(f=u);break;case 2:o=t[i+1],128===(192&o)&&(c=(31&u)<<6|63&o,c>127&&(f=c));break;case 3:o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a,c>2047&&(c<55296||c>57343)&&(f=c));break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,c>65535&&c<1114112&&(f=c))}null===f?(f=65533,d=1):f>65535&&(f-=65536,r.push(f>>>10&1023|55296),f=56320|1023&f),r.push(f),i+=d}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;while(r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},c.prototype.compare=function(t,e,n,r,i){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,a=n-e,s=Math.min(o,a),u=this.slice(r,i),f=t.slice(e,n),d=0;di)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return _(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return S(this,t,e,n);case"base64":return A(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,n,r,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function L(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function D(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function j(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(t,e,n,r,o){return o||j(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function B(t,e,n,r,o){return o||j(t,0,n,8),i.write(t,e,n,r,52,8),n+8}c.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e0&&(i*=256))r+=this[t+--e]*i;return r},c.prototype.readUInt8=function(t,e){return e||T(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||T(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||T(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||T(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||T(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||T(t,e,this.length);var r=this[t],i=1,o=0;while(++o=i&&(r-=Math.pow(2,8*e)),r},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||T(t,e,this.length);var r=e,i=1,o=this[t+--r];while(r>0&&(i*=256))o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||T(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||T(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||T(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||T(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||T(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||T(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||T(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||T(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||T(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;P(this,t,e,n,i,0)}var o=1,a=0;this[e]=255&t;while(++a=0&&(a*=256))this[e+o]=t/a&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):D(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);P(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;this[e]=255&t;while(++o>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);P(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;this[e+o]=255&t;while(--o>=0&&(a*=256))t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):D(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return R(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return R(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return B(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return B(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function F(t){return r.toByteArray(function(t){if(t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(N,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}(t))}function q(t,e,n,r){for(var i=0;i=e.length||i>=t.length)break;e[i+n]=t[i]}return i}}).call(this,n("0ee4"))},"148a":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.onNetworkStatusChange=function(e,n){t.onNetworkStatusChange((function(t){"none"!==t.networkType?e&&e(t):n&&n(t)}))}}).call(this,n("df3c")["default"])},"175d":function(t,e,n){"use strict";var r=n("81eb"),i=n("1f37"),o=n("4e45"),a=n("850f"),s=n("b718"),c=o.assert,u=n("c8c9"),f=n("34c1");function d(t){if(!(this instanceof d))return new d(t);"string"===typeof t&&(c(Object.prototype.hasOwnProperty.call(a,t),"Unknown curve "+t),t=a[t]),t instanceof a.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=d,d.prototype.keyPair=function(t){return new u(this,t)},d.prototype.keyFromPrivate=function(t,e){return u.fromPrivate(this,t,e)},d.prototype.keyFromPublic=function(t,e){return u.fromPublic(this,t,e)},d.prototype.genKeyPair=function(t){t||(t={});for(var e=new i({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||s(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var a=new r(e.generate(n));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},d.prototype._truncateToN=function(t,e){var n=8*t.byteLength()-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},d.prototype.sign=function(t,e,n,o){"object"===typeof n&&(o=n,n=null),o||(o={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new r(t,16));for(var a=this.n.byteLength(),s=e.getPrivate().toArray("be",a),c=t.toArray("be",a),u=new i({hash:this.hash,entropy:s,nonce:c,pers:o.pers,persEnc:o.persEnc||"utf8"}),d=this.n.sub(new r(1)),h=0;;h++){var l=o.k?o.k(h):new r(u.generate(this.n.byteLength()));if(l=this._truncateToN(l,!0),!(l.cmpn(1)<=0||l.cmp(d)>=0)){var p=this.g.mul(l);if(!p.isInfinity()){var b=p.getX(),g=b.umod(this.n);if(0!==g.cmpn(0)){var m=l.invm(this.n).mul(g.mul(e.getPrivate()).iadd(t));if(m=m.umod(this.n),0!==m.cmpn(0)){var v=(p.getY().isOdd()?1:0)|(0!==b.cmp(g)?2:0);return o.canonical&&m.cmp(this.nh)>0&&(m=this.n.sub(m),v^=1),new f({r:g,s:m,recoveryParam:v})}}}}}},d.prototype.verify=function(t,e,n,i){t=this._truncateToN(new r(t,16)),n=this.keyFromPublic(n,i),e=new f(e,"hex");var o=e.r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,c=a.invm(this.n),u=c.mul(t).umod(this.n),d=c.mul(o).umod(this.n);return this.curve._maxwellTrick?(s=this.g.jmulAdd(u,n.getPublic(),d),!s.isInfinity()&&s.eqXToP(o)):(s=this.g.mulAdd(u,n.getPublic(),d),!s.isInfinity()&&0===s.getX().umod(this.n).cmp(o))},d.prototype.recoverPubKey=function(t,e,n,i){c((3&n)===n,"The recovery param is more than two bits"),e=new f(e,i);var o=this.n,a=new r(t),s=e.r,u=e.s,d=1&n,h=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=h?this.curve.pointFromX(s.add(this.curve.n),d):this.curve.pointFromX(s,d);var l=e.r.invm(o),p=o.sub(a).mul(l).umod(o),b=u.mul(l).umod(o);return this.g.mulAdd(p,s,b)},d.prototype.getKeyRecoveryParam=function(t,e,n,r){if(e=new f(e,r),null!==e.recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},1844:function(t,e,n){"use strict";(function(t){var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("3b2d")),o=r(n("67ad")),a=r(n("0bdb")),s=n("4d38"),c=function(){function e(n){(0,o.default)(this,e),this.cacheSetHandler=t.setStorageSync,this.cacheGetHandler=t.getStorageSync,this.cacheClearHandler=t.removeStorageSync,this.cacheExpire="UNI-APP-CRMEB:TAG",this.clearOverdue()}return(0,a.default)(e,[{key:"time",value:function(){return Math.round(new Date/1e3)}},{key:"strTotime",value:function(t){var e=t.substring(0,19);return e=e.replace(/-/g,"/"),Math.round(new Date(e).getTime()/1e3)}},{key:"setExpireCaheTag",value:function(t,e){var n=this;if(e=void 0!==e?e:s.EXPIRE,"number"===typeof e){var r=this.cacheGetHandler(this.cacheExpire),o=[],a=[];"object"===(0,i.default)(r)&&r.length&&(o=r.map((function(r){return a.push(r.key),r.key===t&&(r.expire=0===e?0:n.time()+e),r}))),a.length&&-1!==a.indexOf(t)||o.push({key:t,expire:0===e?0:this.time()+e}),this.cacheSetHandler(this.cacheExpire,o)}}},{key:"getExpireCahe",value:function(t,e){try{var n=this.cacheGetHandler(this.cacheExpire),r=0,o=!1;if("object"===(0,i.default)(n)&&n.length){if(n.map((function(e,n){e.key===t&&(r=e.expire,o=n)})),r){var a=parseInt(r);return!(r&&rn||0===t.expire?o.push(t):r.push(t.key))})),o.length!==e.length&&this.cacheSetHandler(this.cacheExpire,o),r.forEach((function(e){t.cacheClearHandler(e)}))}}]),e}(),u=new c;e.default=u}).call(this,n("df3c")["default"])},1941:function(t,e,n){(function(e){var r,i,o=n("5f79").Buffer,a=n("d896"),s=n("df96"),c=n("66ad"),u=n("325f"),f=e.crypto&&e.crypto.subtle,d={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function l(){return i||(i=e.process&&e.process.nextTick?e.process.nextTick:e.queueMicrotask?e.queueMicrotask:e.setImmediate?e.setImmediate:e.setTimeout,i)}function p(t,e,n,r,i){return f.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return f.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:i}},t,r<<3)})).then((function(t){return o.from(t)}))}t.exports=function(t,n,i,b,g,m){"function"===typeof g&&(m=g,g=void 0),g=g||"sha1";var v=d[g.toLowerCase()];if(v&&"function"===typeof e.Promise){if(a(i,b),t=u(t,s,"Password"),n=u(n,s,"Salt"),"function"!==typeof m)throw new Error("No callback provided to pbkdf2");(function(t,e){t.then((function(t){l()((function(){e(null,t)}))}),(function(t){l()((function(){e(t)}))}))})(function(t){if(e.process&&!e.process.browser)return Promise.resolve(!1);if(!f||!f.importKey||!f.deriveBits)return Promise.resolve(!1);if(void 0!==h[t])return h[t];r=r||o.alloc(8);var n=p(r,r,10,128,t).then((function(){return!0})).catch((function(){return!1}));return h[t]=n,n}(v).then((function(e){return e?p(t,n,i,b,v):c(t,n,i,b,g)})),m)}else l()((function(){var e;try{e=c(t,n,i,b,g)}catch(r){return m(r)}m(null,e)}))}}).call(this,n("0ee4"))},"1e56":function(t,e,n){"use strict";(function(t,r){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("7eb4")),a=i(n("ee10")),s=i(n("7ca3")),c=i(n("34cf")),u=i(n("3b2d")),f=n("4d38"),d=i(n("d1e1")),h=n("360a"),l={Tips:function(e,n){"string"==typeof e&&(n=e,e={});var r=e.title||"",i=e.icon||"none",o=e.endtime||2e3,a=e.success;if(r&&t.showToast({title:r,icon:i,duration:o,success:a}),void 0!=n)if("object"==(0,u.default)(n)){var s=n.tab||1,c=n.url||"";switch(s){case 1:setTimeout((function(){t.switchTab({url:c})}),o);break;case 2:setTimeout((function(){t.navigateTo({url:c})}),o);break;case 3:setTimeout((function(){t.navigateBack({delta:parseInt(c)})}),o);break;case 4:setTimeout((function(){t.reLaunch({url:c})}),o);break;case 5:setTimeout((function(){t.redirectTo({url:c})}),o);break}}else"function"==typeof n?setTimeout((function(){n&&n()}),o):setTimeout((function(){t.navigateTo({url:n})}),r?o:0)},HandlePrice:function(t,e){var n=[];return n="number"==typeof t?t.toString().split("."):t.split("."),e?n.length?"."+n[1]:"":n[0]},getWXStatusHeight:function(){var e=t.getWindowInfo().statusBarHeight,n=r.getMenuButtonBoundingClientRect()||0,i=n.height+2*(n.top-e),o=n.width;return{barHeight:i,barTop:e,barWidth:o}},JumpPath:function(e){var n=e.split("@APPID=");n.length>1?t.navigateToMiniProgram({appId:n[n.length-1],path:n[0],envVersion:"release",success:function(t){},fail:function(t){}}):("/pages/short_video/appSwiper/index"!=e&&"/pages/short_video/nvueSwiper/index"!=e||(e="/pages/short_video/nvueSwiper/index"),-1!=e.indexOf("http")?t.navigateTo({url:"/pages/annex/web_view/index?url=".concat(e)}):["/pages/goods_cate/goods_cate","/pages/order_addcart/order_addcart","/pages/user/index","/pages/index/index","/pages/discoverIndex/index"].includes(e)?t.reLaunch({url:e}):t.navigateTo({url:e}))},ArrayRemove:function(t,e,n){var r=[];if(t instanceof Array)for(var i=0;i255?(n+=2,n>r*e&&(n++,o.push(t.slice(i,a)),i=a,r++)):(n++,n>r*e&&(o.push(t.slice(i,a)),i=a,r++));return o.push(t.slice(i,t.length)),[n,o,r]},PosterCanvas:function(e,n,r,i,o,a,s,u,f){var d=this,h=t.createCanvasContext("myCanvas");h.clearRect(0,0,0,0),h.fillStyle="#fff",h.fillRect(0,0,750,1306),t.getImageInfo({src:i[0],success:function(r){var l=r.width;h.save(),h.setFillStyle(n),h.fillRect(0,0,l,108),h.setFontSize(33),h.setFillStyle("#fff"),h.setTextAlign("center"),h.fillText(u,l/2,65),h.save(),h.drawImage(i[1],32,141,685,685),h.save();var p=d.textByteLength(o,35),b=(0,c.default)(p,3),g=(b[0],b[1]),m=b[2];if(m>2){m=2;var v=g.slice(0,2);v[v.length-1]+="...",g=v}h.setTextAlign("left"),h.setFontSize(38),h.setFillStyle("#000");for(var y=0;y2){v=2;var y=m.slice(0,2);y[y.length-1]+="…",m=y}d.setFillStyle("#333333"),m.length,d.setFontSize(32);for(var _=0;_2){g=2;var m=b.slice(0,2);m[m.length-1]+="...",b=m}f.setTextAlign("left"),f.setFillStyle("#999999"),f.setFontSize(12);for(var v=0;v750?(r=750,o=750/a):(r=n.width,o=n.height),i&&i({w:r,h:o});var s=t.createCanvasContext("canvas");s.width=r,s.height=o,s.clearRect(0,0,r,o),s.drawImage(n.path,0,0,r,o),s.save(),setTimeout((function(e){s.draw(!0,(function(){t.canvasToTempFilePath({canvasId:"canvas",fileType:"JPEG",destWidth:r,destHeight:o,quality:.7,success:function(t){g(t.tempFilePath)}})}))}),200)}}})}))}})},getCustomer:function(e,n,i,o){var a=this;(0,h.customerType)().then((function(e){var s=e.data;0==s.customer_type?t.navigateTo({url:n||"/pages/extension/customer_list/chat"}):1==s.customer_type?t.makePhoneCall({phoneNumber:s.customer_phone}):2==s.customer_type?t.navigateTo({url:"/pages/annex/web_view/index?url=".concat(s.customer_url)}):3==s.customer_type&&r.openCustomerServiceChat({extInfo:{url:s.customer_url},corpId:s.wechat_work_corpid,showMessageCard:!!o,sendMessageTitle:o?i.store_name:"",sendMessagePath:o?i.path:"",sendMessageImg:o?i.image:"",success:function(t){},fail:function(t){a.Tips({title:t.errMsg})}})})).catch((function(t){a.Tips({title:t})}))},uploadImgs:function(e,n,r,i){var o=this;t.uploadFile({url:f.HTTP_REQUEST_URL+"/api/"+e,filePath:n,fileType:"image",name:"pics",formData:{filename:"pics"},header:(0,s.default)({"Content-Type":"multipart/form-data"},f.TOKENNAME,"Bearer "+d.default.state.app.token),success:function(e){if(t.hideLoading(),403==e.statusCode)o.Tips({title:e.data});else if(413==e.statusCode)o.Tips({title:"上传图片失败,请重新上传小尺寸图片"});else{var n=e.data?JSON.parse(e.data):{};200==n.status?r&&r(n):(i&&i(n),o.Tips({title:n.msg}))}},fail:function(e){t.hideLoading(),o.Tips({title:"上传图片失败"})}})},compareVersion:function(t,e){t=t.split("."),e=e.split(".");var n=Math.max(t.length,e.length);while(t.lengtho)return 1;if(i=r?n:r,((this.Mul(t,i)-this.Mul(e,i))/i).toFixed(o)},Mul:function(t,e){t=parseFloat(t),e=parseFloat(e);var n=0,r=t.toString(),i=e.toString();try{n+=r.split(".")[1].length}catch(o){}try{n+=i.split(".")[1].length}catch(o){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,n)}},$L:{getLocation:function(){var t=this;return(0,a.default)(o.default.mark((function e(){var n;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getSetting();case 2:if(n=e.sent,2!==n){e.next=6;break}return t.openSetting(),e.abrupt("return");case 6:t.doGetLocation();case 7:case"end":return e.stop()}}),e)})))()},doGetLocation:function(){t.getLocation({success:function(e){t.removeStorageSync("CACHE_LONGITUDE"),t.removeStorageSync("CACHE_LATITUDE"),t.setStorageSync("CACHE_LONGITUDE",e.longitude),t.setStorageSync("CACHE_LATITUDE",e.latitude)},fail:function(e){e.errMsg.indexOf("auth deny")>=0?t.showToast({title:"访问位置被拒绝"}):t.showToast({title:e.errMsg})}})},getSetting:function(){return new Promise((function(e,n){t.getSetting({success:function(t){void 0!==t.authSetting["scope.userLocation"]?t.authSetting["scope.userLocation"]?e(1):e(2):e(0)}})}))},openSetting:function(){var e=this;t.openSetting({success:function(t){t.authSetting&&t.authSetting["scope.userLocation"]&&e.doGetLocation()},fail:function(t){}})},checkPermission:function(){return(0,a.default)(o.default.mark((function e(){var n;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!permision.isIOS){e.next=6;break}return e.next=3,permision.requestIOS("location");case 3:e.t0=e.sent,e.next=9;break;case 6:return e.next=8,permision.requestAndroid("android.permission.ACCESS_FINE_LOCATION");case 8:e.t0=e.sent;case 9:return n=e.t0,null===n||1===n?n=1:2===n?t.showModal({content:"系统定位已关闭",confirmText:"确定",showCancel:!1,success:function(t){}}):n.code?t.showModal({content:n.message}):t.showModal({content:"需要定位权限",confirmText:"设置",success:function(t){t.confirm&&permision.gotoAppSetting()}}),e.abrupt("return",n);case 12:case"end":return e.stop()}}),e)})))()}}};e.default=l}).call(this,n("df3c")["default"],n("3223")["default"])},"1f07":function(t,e,n){"use strict";(function(e){var r,i=n("12e3"),o=i.Buffer,a={};for(r in i)i.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(a[r]=i[r]);var s=a.Buffer={};for(r in o)o.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(s[r]=o[r]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(t,e,n){if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&"undefined"===typeof t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return o(t,e,n)}),s.alloc||(s.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=o(t);return e&&0!==e.length?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r}),!a.kStringMaxLength)try{a.kStringMaxLength=e.binding("buffer").kStringMaxLength}catch(c){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),t.exports=a}).call(this,n("28d0"))},"1f37":function(t,e,n){"use strict";var r=n("dcf6"),i=n("b69b"),o=n("d3c2");function a(t){if(!(this instanceof a))return new a(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),n=i.toArray(t.nonce,t.nonceEnc||"hex"),r=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,r)}t.exports=a,a.prototype._init=function(t,e,n){var r=t.concat(e).concat(n);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(t.concat(n||[])),this._reseed=1},a.prototype.generate=function(t,e,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof e&&(r=n,n=e,e=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));var o=[];while(o.length>>1];n=o.r28shl(n,s),i=o.r28shl(i,s),o.pc2(n,i,t.keys,a)}},c.prototype._update=function(t,e,n,r){var i=this._desState,a=o.readUInt32BE(t,e),s=o.readUInt32BE(t,e+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(n,a,r),o.writeUInt32BE(n,s,r+4)},c.prototype._pad=function(t,e){for(var n=t.length-e,r=e;r>>0,a=l}o.rip(s,a,r,i)},c.prototype._decrypt=function(t,e,n,r,i){for(var a=n,s=e,c=t.keys.length-2;c>=0;c-=2){var u=t.keys[c],f=t.keys[c+1];o.expand(a,t.tmp,0),u^=t.tmp[0],f^=t.tmp[1];var d=o.substitute(u,f),h=o.permute(d),l=a;a=(s^h)>>>0,s=l}o.rip(a,s,r,i)}},"25a4":function(t,e,n){e=t.exports=function(t){t=t.toLowerCase();var n=e[t];if(!n)throw new Error(t+" is not supported (we accept pull requests)");return new n};e.sha=n("3757"),e.sha1=n("290e"),e.sha224=n("9579"),e.sha256=n("cef8"),e.sha384=n("698d"),e.sha512=n("0b4d")},2825:function(t,e,n){var r=n("5f79").Buffer,i=n("81eb"),o=n("959e").ec,a=n("8e48"),s=n("4037");function c(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=e)throw new Error("invalid sig")}t.exports=function(t,e,n,u,f){var d=a(n);if("ec"===d.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(t,e,n){var r=s[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new o(r),a=n.data.subjectPrivateKey.data;return i.verify(e,t,a)}(t,e,d)}if("dsa"===d.type){if("dsa"!==u)throw new Error("wrong public key type");return function(t,e,n){var r=n.data.p,o=n.data.q,s=n.data.g,u=n.data.pub_key,f=a.signature.decode(t,"der"),d=f.s,h=f.r;c(d,o),c(h,o);var l=i.mont(r),p=d.invm(o),b=s.toRed(l).redPow(new i(e).mul(p).mod(o)).fromRed().mul(u.toRed(l).redPow(h.mul(p).mod(o)).fromRed()).mod(r).mod(o);return 0===b.cmp(h)}(t,e,d)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");e=r.concat([f,e]);var h=d.modulus.byteLength(),l=[1],p=0;while(e.length+l.length+2>>31}function f(t){return t<<5|t>>>27}function d(t){return t<<30|t>>>2}function h(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,c=0;c<16;++c)e[c]=t.readInt32BE(4*c);for(;c<80;++c)e[c]=u(e[c-3]^e[c-8]^e[c-14]^e[c-16]);for(var l=0;l<80;++l){var p=~~(l/20),b=f(n)+h(p,r,i,o)+s+e[l]+a[p]|0;s=o,o=i,i=d(r),r=n,n=b}this._a=n+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0},c.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=c},"298a":function(t){t.exports=JSON.parse('{"name":"elliptic","version":"6.5.4","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny ","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}')},"29e3":function(t,e,n){var r=n("5f79").Buffer,i=n("055b"),o=n("7125"),a=n("2c2e"),s=n("a67f"),c=n("2825"),u=n("7a32");function f(t){o.Writable.call(this);var e=u[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function d(t){o.Writable.call(this);var e=u[t];if(!e)throw new Error("Unknown message digest");this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function h(t){return new f(t)}function l(t){return new d(t)}Object.keys(u).forEach((function(t){u[t].id=r.from(u[t].id,"hex"),u[t.toLowerCase()]=u[t]})),a(f,o.Writable),f.prototype._write=function(t,e,n){this._hash.update(t),n()},f.prototype.update=function(t,e){return"string"===typeof t&&(t=r.from(t,e)),this._hash.update(t),this},f.prototype.sign=function(t,e){this.end();var n=this._hash.digest(),r=s(n,t,this._hashType,this._signType,this._tag);return e?r.toString(e):r},a(d,o.Writable),d.prototype._write=function(t,e,n){this._hash.update(t),n()},d.prototype.update=function(t,e){return"string"===typeof t&&(t=r.from(t,e)),this._hash.update(t),this},d.prototype.verify=function(t,e,n){"string"===typeof e&&(e=r.from(e,n)),this.end();var i=this._hash.digest();return c(e,i,t,this._signType,this._tag)},t.exports={Sign:h,Verify:l,createSign:h,createVerify:l}},"2c18":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Debounce=void 0,e.checkPhone=function(t){return!!/^1(3|4|5|6|7|8|9)\d{9}$/.test(t)},e.isMoney=function(t){return!!/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(t)},e.throttle=function(t,e){var n,r;e=e||200;return function(){for(var i=this,o=arguments.length,a=new Array(o),s=0;s>>32-e}function b(t,e,n,r,i,o,a,s){return p(t+(e^n^r)+o+a|0,s)+i|0}function g(t,e,n,r,i,o,a,s){return p(t+(e&n|~e&r)+o+a|0,s)+i|0}function m(t,e,n,r,i,o,a,s){return p(t+((e|~n)^r)+o+a|0,s)+i|0}function v(t,e,n,r,i,o,a,s){return p(t+(e&r|n&~r)+o+a|0,s)+i|0}function y(t,e,n,r,i,o,a,s){return p(t+(e^(n|~r))+o+a|0,s)+i|0}i(l,o),l.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,l=0|this._e,_=0|this._a,w=0|this._b,S=0|this._c,A=0|this._d,k=0|this._e,x=0;x<80;x+=1){var E,M;x<16?(E=b(n,r,i,o,l,t[s[x]],d[0],u[x]),M=y(_,w,S,A,k,t[c[x]],h[0],f[x])):x<32?(E=g(n,r,i,o,l,t[s[x]],d[1],u[x]),M=v(_,w,S,A,k,t[c[x]],h[1],f[x])):x<48?(E=m(n,r,i,o,l,t[s[x]],d[2],u[x]),M=m(_,w,S,A,k,t[c[x]],h[2],f[x])):x<64?(E=v(n,r,i,o,l,t[s[x]],d[3],u[x]),M=g(_,w,S,A,k,t[c[x]],h[3],f[x])):(E=y(n,r,i,o,l,t[s[x]],d[4],u[x]),M=b(_,w,S,A,k,t[c[x]],h[4],f[x])),n=l,l=o,o=p(i,10),i=r,r=E,_=k,k=A,A=p(S,10),S=w,w=M}var C=this._b+i+A|0;this._b=this._c+o+k|0,this._c=this._d+l+_|0,this._d=this._e+n+w|0,this._e=this._a+r+S|0,this._a=C},l.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=r.alloc?r.alloc(20):new r(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=l},3:function(t,e){},"311f":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={namespaced:!0,state:{hotWord:[]},getters:{},mutations:{setHotWord:function(t,e){t.hotWord=e}}}},3223:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=["qy","env","error","version","lanDebug","cloud","serviceMarket","router","worklet","__webpack_require_UNI_MP_PLUGIN__"],i=["lanDebug","router","worklet"],o="undefined"!==typeof globalThis?globalThis:function(){return this}(),a=["w","x"].join(""),s=o[a],c=s.getLaunchOptionsSync?s.getLaunchOptionsSync():null;function u(t){return(!c||1154!==c.scene||!i.includes(t))&&(r.indexOf(t)>-1||"function"===typeof s[t])}o[a]=function(){var t={};for(var e in s)u(e)&&(t[e]=s[e]);return t}(),o[a].canIUse("getAppBaseInfo")||(o[a].getAppBaseInfo=o[a].getSystemInfoSync),o[a].canIUse("getWindowInfo")||(o[a].getWindowInfo=o[a].getSystemInfoSync),o[a].canIUse("getDeviceInfo")||(o[a].getDeviceInfo=o[a].getSystemInfoSync);var f=o[a];e.default=f},3240:function(t,e,n){"use strict";n.r(e),function(t){ /*! * Vue.js v2.6.11 * (c) 2014-2024 Evan You * Released under the MIT License. */ var n=Object.freeze({});function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function s(t){return null!==t&&"object"===typeof t}var c=Object.prototype.toString;function u(t){return"[object Object]"===c.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function l(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function v(t,e){return m.call(t,e)}function y(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var _=/-(\w)/g,w=y((function(t){return t.replace(_,(function(t,e){return e?e.toUpperCase():""}))})),S=y((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),A=/\B([A-Z])/g,k=y((function(t){return t.replace(A,"-$1").toLowerCase()}));var x=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function E(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function M(t,e){for(var n in e)t[n]=e[n];return t}function C(t){for(var e={},n=0;n0),X=(G&&G.indexOf("android"),G&&/iphone|ipad|ipod|ios/.test(G)||"ios"===K),J=(G&&/chrome\/\d+/.test(G),G&&/phantomjs/.test(G),G&&G.match(/firefox\/(\d+)/),{}.watch);if(H)try{var Z={};Object.defineProperty(Z,"passive",{get:function(){}}),window.addEventListener("test-passive",null,Z)}catch(Bn){}var Q=function(){return void 0===q&&(q=!H&&!V&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),q},tt=H&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function et(t){return"function"===typeof t&&/native code/.test(t.toString())}var nt,rt="undefined"!==typeof Symbol&&et(Symbol)&&"undefined"!==typeof Reflect&&et(Reflect.ownKeys);nt="undefined"!==typeof Set&&et(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var it=O,ot=0,at=function(){this.id=ot++,this.subs=[]};function st(t){at.SharedObject.targetStack.push(t),at.SharedObject.target=t,at.target=t}function ct(){at.SharedObject.targetStack.pop(),at.SharedObject.target=at.SharedObject.targetStack[at.SharedObject.targetStack.length-1],at.target=at.SharedObject.target}at.prototype.addSub=function(t){this.subs.push(t)},at.prototype.removeSub=function(t){g(this.subs,t)},at.prototype.depend=function(){at.SharedObject.target&&at.SharedObject.target.addDep(this)},at.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!v(i,"default"))a=!1;else if(""===a||a===k(t)){var c=Rt(String,i.type);(c<0||s0&&(c=t(c,(n||"")+"_"+s),re(c[0])&&re(f)&&(d[u]=ht(f.text+c[0].text),c.shift()),d.push.apply(d,c)):a(c)?re(f)?d[u]=ht(f.text+c):""!==c&&d.push(ht(c)):re(c)&&re(f)?d[u]=ht(f.text+c.text):(o(e._isVList)&&i(c.tag)&&r(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+s+"__"),d.push(c)));return d}(t):void 0}function re(t){return i(t)&&i(t.text)&&function(t){return!1===t}(t.isComment)}function ie(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function oe(t){var e=ae(t.$options.inject,t);e&&(mt(!1),Object.keys(e).forEach((function(n){wt(t,n,e[n])})),mt(!0))}function ae(t,e){if(t){for(var n=Object.create(null),r=rt?Reflect.ownKeys(t):Object.keys(t),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=fe(e,c,t[c]))}else i={};for(var u in e)u in i||(i[u]=de(e,u));return t&&Object.isExtensible(t)&&(t._normalized=i),U(i,"$stable",a),U(i,"$key",s),U(i,"$hasNormal",o),i}function fe(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:ne(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function de(t,e){return function(){return t[e]}}function he(t,e){var n,r,o,a,c;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,o=t.length;rdocument.createEvent("Event").timeStamp&&(Qe=function(){return tn.now()})}function en(){var t,e;for(Qe(),Je=!0,Ge.sort((function(t,e){return t.id-e.id})),Ze=0;ZeZe&&Ge[n].id>t.id)n--;Ge.splice(n+1,0,t)}else Ge.push(t);Xe||(Xe=!0,Yt(en))}}(this)},rn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(Bn){Bt(Bn,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},rn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rn.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},rn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var on={enumerable:!0,configurable:!0,get:O,set:O};function an(t,e,n){on.get=function(){return this[e][n]},on.set=function(t){this[e][n]=t},Object.defineProperty(t,n,on)}function sn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||mt(!1);var a=function(o){i.push(o);var a=Lt(o,e,n,t);wt(r,o,a),o in t||an(t,"_props",o)};for(var s in e)a(s);mt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?O:x(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;e=t._data="function"===typeof e?function(t,e){st();try{return t.call(e,e)}catch(Bn){return Bt(Bn,e,"data()"),{}}finally{ct()}}(e,t):e||{},u(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&v(r,o)||$(o)||an(t,"_data",o)}_t(e,!0)}(t):_t(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=Q();for(var i in e){var o=e[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new rn(t,a||O,O,cn)),i in t||un(t,i,o)}}(t,e.computed),e.watch&&e.watch!==J&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!function(t){return"[object RegExp]"===c.call(t)}(t)&&t.test(e)}function yn(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=mn(a.componentOptions);s&&!e(s)&&_n(n,o,r,i)}}}function _n(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,g(n,e)}(function(t){t.prototype._init=function(t){var e=this;e._uid=ln++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Tt(pn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&qe(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,i=r&&r.context;t.$slots=se(e._renderChildren,i),t.$scopedSlots=n,t._c=function(e,n,r,i){return De(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return De(t,e,n,r,i,!0)};var o=r&&r.data;wt(t,"$attrs",o&&o.attrs||n,null,!0),wt(t,"$listeners",e._parentListeners||n,null,!0)}(e),Ke(e,"beforeCreate"),!e._$fallback&&oe(e),sn(e),!e._$fallback&&ie(e),!e._$fallback&&Ke(e,"created"),e.$options.el&&e.$mount(e.$options.el)}})(bn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=St,t.prototype.$delete=At,t.prototype.$watch=function(t,e,n){if(u(e))return hn(this,t,e,n);n=n||{},n.user=!0;var r=new rn(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(i){Bt(i,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(bn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i1?E(n):n;for(var r=E(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;oparseInt(this.max)&&_n(s,c[0],c,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},An={KeepAlive:Sn};(function(t){var e={get:function(){return B}};Object.defineProperty(t,"config",e),t.util={warn:it,extend:M,mergeOptions:Tt,defineReactive:wt},t.set=St,t.delete=At,t.nextTick=Yt,t.observable=function(t){return _t(t),t},t.options=Object.create(null),j.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,M(t.options.components,An),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=E(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Tt(this.options,t),this}}(t),gn(t),function(t){j.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)})(bn),Object.defineProperty(bn.prototype,"$isServer",{get:Q}),Object.defineProperty(bn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(bn,"FunctionalRenderContext",{value:Me}),bn.version="2.6.11";var kn="[object Array]",xn="[object Object]";function En(t,e){var n={};return function t(e,n){if(e===n)return;var r=Cn(e),i=Cn(n);if(r==xn&&i==xn){if(Object.keys(e).length>=Object.keys(n).length)for(var o in n){var a=e[o];void 0===a?e[o]=null:t(a,n[o])}}else r==kn&&i==kn&&e.length>=n.length&&n.forEach((function(n,r){t(e[r],n)}))}(t,e),function t(e,n,r,i){if(e===n)return;var o=Cn(e),a=Cn(n);if(o==xn)if(a!=xn||Object.keys(e).length1&&(e[r[0].trim()]=r[1].trim())}})),e}));var jn=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];var Rn=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onUploadDouyinVideo","onNFCReadMessage","onPageShow","onPageHide","onPageResize"];bn.prototype.__patch__=function(t,e){var n=this;if(null!==e&&("page"===this.mpType||"component"===this.mpType)){var r=this.$scope,i=Object.create(null);try{i=function(t){var e=Object.create(null),n=[].concat(Object.keys(t._data||{}),Object.keys(t._computedWatchers||{}));n.reduce((function(e,n){return e[n]=t[n],e}),e);var r=t.__composition_api_state__||t.__secret_vfa_state__,i=r&&r.rawBindings;return i&&Object.keys(i).forEach((function(n){e[n]=t[n]})),Object.assign(e,t.$mp.data||{}),Array.isArray(t.$options.behaviors)&&-1!==t.$options.behaviors.indexOf("uni://form-field")&&(e["name"]=t.name,e["value"]=t.value),JSON.parse(JSON.stringify(e,Tn))}(this)}catch(s){}i.__webviewId__=r.data.__webviewId__;var o=Object.create(null);Object.keys(i).forEach((function(t){o[t]=r.data[t]}));var a=!1===this.$shouldDiffData?i:En(i,o);Object.keys(a).length?(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"crmeb",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG,this.__next_tick_pending=!0,r.setData(a,(function(){n.__next_tick_pending=!1,On(n)}))):On(this)}},bn.prototype.$mount=function(t,e){return function(t,e,n){return t.mpType?("app"===t.mpType&&(t.$options.render=Pn),t.$options.render||(t.$options.render=Pn),!t._$fallback&&Ke(t,"beforeMount"),new rn(t,(function(){t._update(t._render(),n)}),O,{before:function(){t._isMounted&&!t._isDestroyed&&Ke(t,"beforeUpdate")}},!0),n=!1,t):t}(this,0,e)},function(t){var e=t.extend;t.extend=function(t){t=t||{};var n=t.methods;return n&&Object.keys(n).forEach((function(e){-1!==Rn.indexOf(e)&&(t[e]=n[e],delete n[e])})),e.call(this,t)};var n=t.config.optionMergeStrategies,r=n.created;Rn.forEach((function(t){n[t]=r})),t.prototype.__lifecycle_hooks__=Rn}(bn),function(t){t.config.errorHandler=function(e,n,r){t.util.warn("Error in "+r+': "'+e.toString()+'"',n);var i="function"===typeof getApp&&getApp();i&&i.onError&&i.onError(e)};var e=t.prototype.$emit;t.prototype.$emit=function(t){if(this.$scope&&t){var n=this.$scope["_triggerEvent"]||this.$scope["triggerEvent"];if(n)try{n.call(this.$scope,t,{__args__:E(arguments,1)})}catch(r){}}return e.apply(this,arguments)},t.prototype.$nextTick=function(t){return In(this,t)},jn.forEach((function(e){t.prototype[e]=function(t){return this.$scope&&this.$scope[e]?this.$scope[e](t):"undefined"!==typeof my?"createSelectorQuery"===e?my.createSelectorQuery(t):"createIntersectionObserver"===e?my.createIntersectionObserver(t):void 0:void 0}})),t.prototype.__init_provide=ie,t.prototype.__init_injections=oe,t.prototype.__call_hook=function(t,e){var n=this;st();var r,i=n.$options[t],o=t+" hook";if(i)for(var a=0,s=i.length;a4)return!1;for(var i=0,o=0,a=e.place;o>>=0;return!(i<=127)&&(e.place=a,i)}function u(t){var e=0,n=t.length-1;while(!t[e]&&!(128&t[e+1])&&e>>3);t.push(128|n);while(--n)t.push(e>>>(n<<3)&255);t.push(e)}}t.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var n=new s;if(48!==t[n.place++])return!1;var o=c(t,n);if(!1===o)return!1;if(o+n.place!==t.length)return!1;if(2!==t[n.place++])return!1;var a=c(t,n);if(!1===a)return!1;var u=t.slice(n.place,a+n.place);if(n.place+=a,2!==t[n.place++])return!1;var f=c(t,n);if(!1===f)return!1;if(t.length!==f+n.place)return!1;var d=t.slice(n.place,f+n.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===d[0]){if(!(128&d[1]))return!1;d=d.slice(1)}return this.r=new r(u),this.s=new r(d),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();128&e[0]&&(e=[0].concat(e)),128&n[0]&&(n=[0].concat(n)),e=u(e),n=u(n);while(!n[0]&&!(128&n[1]))n=n.slice(1);var r=[2];f(r,e.length),r=r.concat(e),r.push(2),f(r,n.length);var o=r.concat(n),a=[48];return f(a,o.length),a=a.concat(o),i.encode(a,t)}},"34cf":function(t,e,n){var r=n("ed45"),i=n("7172"),o=n("6382"),a=n("dd3e");t.exports=function(t,e){return r(t)||i(t,e)||o(t,e)||a()},t.exports.__esModule=!0,t.exports["default"]=t.exports},"360a":function(t,e,n){"use strict";var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.ajcaptchaCheck=function(t){return i.default.post("ajcheck",t,{noAuth:!0})},e.bindingPhone=function(t){return i.default.post("binding",t,{noAuth:!0})},e.bindingUserPhone=function(t){return i.default.post("user/binding",t)},e.category=function(t){return i.default.get("category",t,{noAuth:!0})},e.clearSearch=function(){return i.default.get("v2/user/clean_search")},e.colorChange=function(t){return i.default.get("v2/diy/color_change/"+t,{},{noAuth:!0})},e.copyRight=function(){return i.default.get("get_copyright",{},{noAuth:!0})},e.customerType=function(){return i.default.get("get_customer_type",{},{noAuth:!0})},e.diyUserInfo=function(){return i.default.get("diy/user_info",{})},e.follow=function(){return i.default.get("wechat/follow",{},{noAuth:!0})},e.getAjcaptcha=function(t){return i.default.get("ajcaptcha",t,{noAuth:!0})},e.getArticleBannerList=function(){return i.default.get("article/banner/list",{},{noAuth:!0})},e.getArticleCategoryList=function(){return i.default.get("article/category/list",{},{noAuth:!0})},e.getArticleDetails=function(t){return i.default.get("article/details/"+t,{},{noAuth:!0})},e.getArticleHotList=function(){return i.default.get("article/hot/list",{},{noAuth:!0})},e.getArticleList=function(t,e){return i.default.get("article/list/"+t,e,{noAuth:!0})},e.getCategoryVersion=function(){return i.default.get("category_version",{},{noAuth:!0})},e.getCity=function(){return i.default.get("city_list",{},{noAuth:!0})},e.getCityData=function(t){return i.default.get("city",{pid:t},{noAuth:!0})},e.getCouponNewUser=function(){return i.default.get("v2/new_coupon",{},{noAuth:!0})},e.getCouponV2=function(){return i.default.get("v2/get_today_coupon",{},{noAuth:!0})},e.getCoupons=function(t){return i.default.get("v2/coupons",t,{noAuth:!0})},e.getCouponsNum=function(){return i.default.get("coupons/user/num",{},{noAuth:!0})},e.getDiy=function(t){return i.default.get("diy/get_diy/"+t,{},{noAuth:!0})},e.getDiyVersion=function(t){return i.default.get("diy/diy_version/".concat(t),{},{noAuth:!0})},e.getIndexData=function(){return i.default.get("v2/index",{},{noAuth:!0})},e.getLiveList=function(t,e){return i.default.get("wechat/live",{page:t,limit:e},{noAuth:!0})},e.getLogo=function(){return i.default.get("wechat/get_logo",{},{noAuth:!0})},e.getNewCoupon=function(){return i.default.get("v2/new_coupon")},e.getOpenAdv=function(t){return i.default.get("get_open_adv",{},{noAuth:!0})},e.getServerType=function(){return i.default.get("v2/site_serve",{},{noAuth:!0})},e.getSign=function(){return i.default.get("diy/sign",{},{noAuth:!0})},e.getSuspended=function(){return i.default.get("diy/get_suspended",{},{noAuth:!0})},e.getTemlIds=function(){return i.default.get("wechat/teml_ids",{},{noAuth:!0})},e.getUserCoupons=function(t,e){return i.default.get("coupons/user/"+t,e)},e.loginMobile=function(t){return i.default.post("login/mobile",t,{noAuth:!0})},e.logout=function(){return i.default.get("logout")},e.newcomerList=function(t){return i.default.get("diy/newcomer_list",t,{noAuth:!0})},e.phoneLogin=function(t){return i.default.post("login",t,{noAuth:!0})},e.phoneRegister=function(t){return i.default.post("register",t,{noAuth:!0})},e.phoneRegisterReset=function(t){return i.default.post("register/reset",t,{noAuth:!0})},e.pink=function(){return i.default.get("pink",{},{noAuth:!0})},e.registerVerify=function(t){return i.default.post("register/verify",t,{noAuth:!0})},e.searchList=function(t){return i.default.get("v2/user/search_list",t,{noAuth:!0})},e.setCouponReceive=function(t){return i.default.post("coupon/receive",{couponId:t})},e.setFormId=function(t){return i.default.post("wechat/set_form_id",{formId:t})},e.switchH5Login=function(){return i.default.post("switch_h5",{from:"routine"})},e.updatePhone=function(t){return i.default.post("user/updatePhone",t,{noAuth:!0})},e.verifyCode=function(){return i.default.get("verify_code",{},{noAuth:!0})},e.wechatAppAuth=function(t){return i.default.post("wechat/app_auth",t,{noAuth:!0})};var i=r(n("6545"))},3757:function(t,e,n){var r=n("2c2e"),i=n("0b34"),o=n("5f79").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t){return t<<5|t>>>27}function f(t){return t<<30|t>>>2}function d(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,c=0;c<16;++c)e[c]=t.readInt32BE(4*c);for(;c<80;++c)e[c]=e[c-3]^e[c-8]^e[c-14]^e[c-16];for(var h=0;h<80;++h){var l=~~(h/20),p=u(n)+d(l,r,i,o)+s+e[h]+a[l]|0;s=o,o=i,i=f(r),r=n,n=p}this._a=n+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0},c.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=c},"378f":function(t,e,n){"use strict";var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("8c4f")),o=r(n("311f")),a=r(n("5932")),s={app:i.default,hotWords:o.default,indexData:a.default};e.default=s},"3b2d":function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},"3be8":function(t,e,n){t.exports=n("7a32")},"3c1b":function(t,e,n){(function(t){var r=n("ddfc"),i=n("e158"),o=n("66dc");var a={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){var n=new t(i[e].prime,"hex"),r=new t(i[e].gen,"hex");return new o(n,r)},e.createDiffieHellman=e.DiffieHellman=function e(n,i,s,c){return t.isBuffer(i)||void 0===a[i]?e(n,"binary",i,s):(i=i||"binary",c=c||"binary",s=s||new t([2]),t.isBuffer(s)||(s=new t(s,c)),"number"===typeof n?new o(r(n,s),s,!0):(t.isBuffer(n)||(n=new t(n,i)),new o(n,s,!0)))}}).call(this,n("12e3").Buffer)},4037:function(t){t.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},"438f":function(t,e,n){"use strict";var r=n("d652"),i=n("6120"),o=n("de76"),a=n("d3c2"),s=r.sum32,c=r.sum32_4,u=r.sum32_5,f=o.ch32,d=o.maj32,h=o.s0_256,l=o.s1_256,p=o.g0_256,b=o.g1_256,g=i.BlockHash,m=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=m,this.W=new Array(64)}r.inherits(v,g),t.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r0?("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===u.prototype||(e=function(t){return u.from(t)}(e)),r?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):w(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(e=a.decoder.write(e),a.objectMode||0!==e.length?w(t,a,e,!1):x(t,a)):w(t,a,e,!1))):r||(a.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function A(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(l("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(k,t):k(t))}function k(t){l("emit readable"),t.emit("readable"),O(t)}function x(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(E,t,e))}function E(t,e){var n=e.length;while(!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var r;to.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),t-=a,0===t){a===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++r}return e.length-=r,i}(t,e):function(t,e){var n=u.allocUnsafe(t),r=e.head,i=1;r.data.copy(n),t-=r.data.length;while(r=r.next){var o=r.data,a=t>o.length?o.length:t;if(o.copy(n,n.length-t,0,a),t-=a,0===t){a===o.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++i}return e.length-=i,n}(t,e);return r}(t,e.buffer,e.decoder),n);var n}function T(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(P,e,t))}function P(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function L(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return l("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?T(this):A(this),null;if(t=S(t,e),0===t&&e.ended)return 0===e.length&&T(this),null;var r,i=e.needReadable;return l("need readable",i),(0===e.length||e.length-t0?I(t,e):null,null===r?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&T(this)),null!==r&&this.emit("data",r),r},y.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(t,e){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t);break}o.pipesCount+=1,l("pipe count=%d opts=%j",o.pipesCount,e);var c=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr,u=c?d:_;function f(e,r){l("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,function(){l("cleanup"),t.removeListener("close",v),t.removeListener("finish",y),t.removeListener("drain",h),t.removeListener("error",m),t.removeListener("unpipe",f),n.removeListener("end",d),n.removeListener("end",_),n.removeListener("data",g),p=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||h()}())}function d(){l("onend"),t.end()}o.endEmitted?i.nextTick(u):n.once("end",u),t.on("unpipe",f);var h=function(t){return function(){var e=t._readableState;l("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,O(t))}}(n);t.on("drain",h);var p=!1;var b=!1;function g(e){l("ondata"),b=!1;var r=t.write(e);!1!==r||b||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==L(o.pipes,t))&&!p&&(l("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,b=!0),n.pause())}function m(e){l("onerror",e),_(),t.removeListener("error",m),0===s(t,"error")&&t.emit("error",e)}function v(){t.removeListener("finish",y),_()}function y(){l("onfinish"),t.removeListener("close",v),_()}function _(){l("unpipe"),n.unpipe(t)}return n.on("data",g),function(t,e,n){if("function"===typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?a(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",m),t.once("close",v),t.once("finish",y),t.emit("pipe",n),o.flowing||(l("pipe resume"),n.resume()),t},y.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;oo)return 1;if(i(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},r.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();var r,i=0,o=0;while(t.cmpn(-i)>0||e.cmpn(-o)>0){var a,s,c=t.andln(3)+i&3,u=e.andln(3)+o&3;3===c&&(c=-1),3===u&&(u=-1),0===(1&c)?a=0:(r=t.andln(7)+i&7,a=3!==r&&5!==r||2!==u?c:-c),n[0].push(a),0===(1&u)?s=0:(r=e.andln(7)+o&7,s=3!==r&&5!==r||2!==c?u:-u),n[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return n},r.cachedProperty=function(t,e,n){var r="_"+e;t.prototype[e]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(t){return"string"===typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new i(t,"hex","le")}},"4e70":function(t,e,n){"use strict";const r=e;r._reverse=function(t){const e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0);const r=t[n];e[r]=n})),e},r.der=n("0b50")},5016:function(t,e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},5088:function(t,e,n){"use strict";(function(t){var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.checkLogin=function(){var e=o.default.get(s.LOGIN_STATUS),n=o.default.get(s.EXPIRES_TIME),r=Math.round(new Date/1e3);if(n>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function a(t){this.h=t,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}a.prototype.ghash=function(t){var e=-1;while(++e0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},a.prototype.update=function(t){var e;this.cache=r.concat([this.cache,t]);while(this.cache.length>=16)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},a.prototype.final=function(t,e){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},t.exports=a},"51c3":function(t,e,n){t.exports=n("bf30").EventEmitter},"53ac":function(t,e){e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},"548f":function(t,e,n){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=n("ace9"),e.createHash=e.Hash=n("055b"),e.createHmac=e.Hmac=n("0116");var r=n("3be8"),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);e.getHashes=function(){return o};var a=n("fef7");e.pbkdf2=a.pbkdf2,e.pbkdf2Sync=a.pbkdf2Sync;var s=n("54a0");e.Cipher=s.Cipher,e.createCipher=s.createCipher,e.Cipheriv=s.Cipheriv,e.createCipheriv=s.createCipheriv,e.Decipher=s.Decipher,e.createDecipher=s.createDecipher,e.Decipheriv=s.Decipheriv,e.createDecipheriv=s.createDecipheriv,e.getCiphers=s.getCiphers,e.listCiphers=s.listCiphers;var c=n("3c1b");e.DiffieHellmanGroup=c.DiffieHellmanGroup,e.createDiffieHellmanGroup=c.createDiffieHellmanGroup,e.getDiffieHellman=c.getDiffieHellman,e.createDiffieHellman=c.createDiffieHellman,e.DiffieHellman=c.DiffieHellman;var u=n("29e3");e.createSign=u.createSign,e.Sign=u.Sign,e.createVerify=u.createVerify,e.Verify=u.Verify,e.createECDH=n("830f");var f=n("f4ff");e.publicEncrypt=f.publicEncrypt,e.privateEncrypt=f.privateEncrypt,e.publicDecrypt=f.publicDecrypt,e.privateDecrypt=f.privateDecrypt;var d=n("e11f");e.randomFill=d.randomFill,e.randomFillSync=d.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.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}},"54a0":function(t,e,n){var r=n("2117"),i=n("b577"),o=n("0428"),a=n("5016"),s=n("0a0c");function c(t,e,n){if(t=t.toLowerCase(),o[t])return i.createCipheriv(t,e,n);if(a[t])return new r({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function u(t,e,n){if(t=t.toLowerCase(),o[t])return i.createDecipheriv(t,e,n);if(a[t])return new r({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var n,r;if(t=t.toLowerCase(),o[t])n=o[t].key,r=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");n=8*a[t].key,r=a[t].iv}var i=s(e,!1,n,r);return c(t,i.key,i.iv)},e.createCipheriv=e.Cipheriv=c,e.createDecipher=e.Decipher=function(t,e){var n,r;if(t=t.toLowerCase(),o[t])n=o[t].key,r=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");n=8*a[t].key,r=a[t].iv}var i=s(e,!1,n,r);return u(t,i.key,i.iv)},e.createDecipheriv=e.Decipheriv=u,e.listCiphers=e.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},"56ab":function(t,e,n){"use strict";const r=n("2c2e"),i=n("a6ce");function o(t){i.call(this,t),this.enc="pem"}r(o,i),t.exports=o,o.prototype.encode=function(t,e){const n=i.prototype.encode.call(this,t),r=n.toString("base64"),o=["-----BEGIN "+e.label+"-----"];for(let i=0;i */ var r=n("12e3"),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,n){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},a.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},"5f85":function(t,e,n){"use strict";var r=n("5f79").Buffer,i=r.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";var e;while(1)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!==typeof e&&(r.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=c,this.end=u,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=f,this.end=d,e=3;break;default:return this.write=h,void(this.end=l)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(e)}function a(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!==(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function u(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function f(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function d(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function h(t){return t.toString(this.encoding)}function l(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(e=this.fillLast(t),void 0===e)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(t.lastNeed=i-1),i;if(--r=0)return i>0&&(t.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},"606e":function(t,e,n){"use strict";var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.aliPay=function(t,e){return o.default.get("ali_pay",{key:t,quitUrl:e},{noAuth:!0})},e.cancelRefundOrder=function(t){return o.default.post("order/refund/cancel/"+t)},e.cartCompute=function(t){return o.default.post("cart/compute",t)},e.cartDel=function(t){"object"===(0,i.default)(t)&&(t=t.join(","));return o.default.post("cart/del",{ids:t})},e.changeCartNum=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return o.default.post("cart/num",{id:t,number:e,type:n})},e.checkShipping=function(t){return o.default.post("order/check_shipping",t)},e.deliveryDetail=function(t){return o.default.get("delivery_order/detail/".concat(t))},e.express=function(t,e){return o.default.get("order/express/"+t+(e?"/"+e:""))},e.getCartCounts=function(t,e,n){return o.default.get("cart/count",{numType:void 0===t?0:t,store_id:e,is_channel:n||""})},e.getCartList=function(t){return o.default.get("cart/list",t)},e.getCashierOrder=function(t,e){return o.default.get("order/cashier/".concat(t,"/").concat(e))},e.getCouponsOrderPrice=function(t,e){return o.default.get("coupons/order/"+t,e)},e.getNewOrderList=function(t){return o.default.get("order/refund/list",t)},e.getOrderDetail=function(t){return o.default.get("order/detail/"+t)},e.getOrderList=function(t){return o.default.get("order/list",t)},e.getOrderPrizeApi=function(t){return o.default.post("order/prize/".concat(t))},e.getRefundOrderDetail=function(t){return o.default.get("order/refund/detail/"+t)},e.getResetCart=function(t){return o.default.post("v2/reset_cart",t)},e.getSendGiftOrderDetail=function(t){return o.default.get("order/send_gift_detail/"+t)},e.offlineCheckPrice=function(t){return o.default.post("order/offline/check/price",t)},e.offlineCreate=function(t){return o.default.post("order/offline/create",t)},e.ordeRefundReason=function(){return o.default.get("order/refund/reason")},e.orderAgain=function(t){return o.default.post("order/again",{uni:t})},e.orderCancel=function(t){return o.default.post("order/cancel",{id:t})},e.orderComment=function(t){return o.default.post("order/comment",t)},e.orderConfirm=function(t,e,n,r,i,a,s,c){return o.default.post("order/confirm",{cartId:t,new:e,addressId:n,shipping_type:r,store_id:i,couponId:a,luckRecordId:s,is_send_gift:c})},e.orderCoupon=function(t){return o.default.post("v2/order/product_coupon/"+t)},e.orderCreate=function(t,e){return o.default.post("order/create/"+t,e)},e.orderData=function(t){return o.default.get("order/data",t)},e.orderDel=function(t){return o.default.post("order/del",{uni:t})},e.orderInvoiceDetail=function(t,e){return o.default.get("v2/order/invoice_detail/".concat(t,"/").concat(e))},e.orderInvoiceList=function(t){return o.default.get("v2/order/invoice_list",t)},e.orderOfflinePayType=function(){return o.default.get("order/offline/pay/type")},e.orderPay=function(t){return o.default.post("order/pay",t)},e.orderProduct=function(t){return o.default.post("order/product",{unique:t})},e.orderReceiveGift=function(t,e){return o.default.post("order/receive_gift/"+t,e)},e.orderRefundAgain=function(t){return o.default.post("order/refund/again/"+t)},e.orderRefundVerify=function(t){return o.default.post("order/refund/verify",t)},e.orderTake=function(t){return o.default.post("order/take",{uni:t})},e.payCashier=function(t){return o.default.get("order/pay_cashier?store_id=".concat(t))},e.postOrderComputed=function(t,e){return o.default.post("order/computed/"+t,e)},e.postRefundGoods=function(t){return o.default.post("order/refund/cart_info",t)},e.refundExpress=function(t){return o.default.post("order/refund/express",t)},e.refundGoodsList=function(t){return o.default.get("order/refund/cart_info/".concat(t))},e.refundOrderDel=function(t){return o.default.get("order/refund/del/"+t,{})},e.returnGoodsSubmit=function(t,e){return o.default.post("order/refund/apply/".concat(t),e)},e.vcartList=function(t){return o.default.get("v2/cart_list",t)};var i=r(n("3b2d")),o=r(n("6545"))},"610c":function(t,e,n){"use strict";var r=n("2c2e"),i=n("5f79").Buffer,o=n("cfef"),a=i.alloc(128);function s(t,e){o.call(this,"digest"),"string"===typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>64?e=t(e):e.length<64&&(e=i.concat([e,a],64));for(var n=this._ipad=i.allocUnsafe(64),r=this._opad=i.allocUnsafe(64),s=0;s<64;s++)n[s]=54^e[s],r[s]=92^e[s];this._hash=[n]}r(s,o),s.prototype._update=function(t){this._hash.push(t)},s.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},t.exports=s},6120:function(t,e,n){"use strict";var r=n("d652"),i=n("d3c2");function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=r.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){t=this.pending;var n=t.length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=r.join32(t,0,t.length-n,this.endian);for(var i=0;i>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=255&t}else for(r[i++]=255&t,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;ot.length)&&(e=t.length);for(var n=0,r=new Array(e);nc?e=s(e):e.length=0);return i},o.prototype._randrange=function(t,e){var n=e.sub(t);return t.add(this._randbelow(n))},o.prototype.test=function(t,e,n){var i=t.bitLength(),o=r.mont(t),a=new r(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var s=t.subn(1),c=0;!s.testn(c);c++);for(var u=t.shrn(c),f=s.toRed(o);e>0;e--){var d=this._randrange(new r(2),s);n&&n(d);var h=d.toRed(o).redPow(u);if(0!==h.cmp(a)&&0!==h.cmp(f)){for(var l=1;l0;e--){var f=this._randrange(new r(2),a),d=t.gcd(f);if(0!==d.cmpn(1))return d;var h=f.toRed(i).redPow(c);if(0!==h.cmp(o)&&0!==h.cmp(u)){for(var l=1;l15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},l.prototype.flush=function(){var t=16-this.cache.length,e=o.allocUnsafe(t),n=-1;while(++n>>32-e}function u(t,e,n,r,i,o,a){return c(t+(e&n|~e&r)+i+o|0,a)+e|0}function f(t,e,n,r,i,o,a){return c(t+(e&r|n&~r)+i+o|0,a)+e|0}function d(t,e,n,r,i,o,a){return c(t+(e^n^r)+i+o|0,a)+e|0}function h(t,e,n,r,i,o,a){return c(t+(n^(e|~r))+i+o|0,a)+e|0}r(s,i),s.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,r=this._b,i=this._c,o=this._d;n=u(n,r,i,o,t[0],3614090360,7),o=u(o,n,r,i,t[1],3905402710,12),i=u(i,o,n,r,t[2],606105819,17),r=u(r,i,o,n,t[3],3250441966,22),n=u(n,r,i,o,t[4],4118548399,7),o=u(o,n,r,i,t[5],1200080426,12),i=u(i,o,n,r,t[6],2821735955,17),r=u(r,i,o,n,t[7],4249261313,22),n=u(n,r,i,o,t[8],1770035416,7),o=u(o,n,r,i,t[9],2336552879,12),i=u(i,o,n,r,t[10],4294925233,17),r=u(r,i,o,n,t[11],2304563134,22),n=u(n,r,i,o,t[12],1804603682,7),o=u(o,n,r,i,t[13],4254626195,12),i=u(i,o,n,r,t[14],2792965006,17),r=u(r,i,o,n,t[15],1236535329,22),n=f(n,r,i,o,t[1],4129170786,5),o=f(o,n,r,i,t[6],3225465664,9),i=f(i,o,n,r,t[11],643717713,14),r=f(r,i,o,n,t[0],3921069994,20),n=f(n,r,i,o,t[5],3593408605,5),o=f(o,n,r,i,t[10],38016083,9),i=f(i,o,n,r,t[15],3634488961,14),r=f(r,i,o,n,t[4],3889429448,20),n=f(n,r,i,o,t[9],568446438,5),o=f(o,n,r,i,t[14],3275163606,9),i=f(i,o,n,r,t[3],4107603335,14),r=f(r,i,o,n,t[8],1163531501,20),n=f(n,r,i,o,t[13],2850285829,5),o=f(o,n,r,i,t[2],4243563512,9),i=f(i,o,n,r,t[7],1735328473,14),r=f(r,i,o,n,t[12],2368359562,20),n=d(n,r,i,o,t[5],4294588738,4),o=d(o,n,r,i,t[8],2272392833,11),i=d(i,o,n,r,t[11],1839030562,16),r=d(r,i,o,n,t[14],4259657740,23),n=d(n,r,i,o,t[1],2763975236,4),o=d(o,n,r,i,t[4],1272893353,11),i=d(i,o,n,r,t[7],4139469664,16),r=d(r,i,o,n,t[10],3200236656,23),n=d(n,r,i,o,t[13],681279174,4),o=d(o,n,r,i,t[0],3936430074,11),i=d(i,o,n,r,t[3],3572445317,16),r=d(r,i,o,n,t[6],76029189,23),n=d(n,r,i,o,t[9],3654602809,4),o=d(o,n,r,i,t[12],3873151461,11),i=d(i,o,n,r,t[15],530742520,16),r=d(r,i,o,n,t[2],3299628645,23),n=h(n,r,i,o,t[0],4096336452,6),o=h(o,n,r,i,t[7],1126891415,10),i=h(i,o,n,r,t[14],2878612391,15),r=h(r,i,o,n,t[5],4237533241,21),n=h(n,r,i,o,t[12],1700485571,6),o=h(o,n,r,i,t[3],2399980690,10),i=h(i,o,n,r,t[10],4293915773,15),r=h(r,i,o,n,t[1],2240044497,21),n=h(n,r,i,o,t[8],1873313359,6),o=h(o,n,r,i,t[15],4264355552,10),i=h(i,o,n,r,t[6],2734768916,15),r=h(r,i,o,n,t[13],1309151649,21),n=h(n,r,i,o,t[4],4149444226,6),o=h(o,n,r,i,t[11],3174756917,10),i=h(i,o,n,r,t[2],718787259,15),r=h(r,i,o,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=s},"7a32":function(t){t.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},"7ca3":function(t,e,n){var r=n("d551");t.exports=function(t,e,n){return e=r(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports["default"]=t.exports},"7d60":function(t,e,n){"use strict";var r=n("d652"),i=n("438f");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},"7eb4":function(t,e,n){var r=n("9fc1")();t.exports=r},"7f1b":function(t,e,n){var r=n("8e48"),i=n("0ae6"),o=n("cce3"),a=n("81eb"),s=n("8d24"),c=n("055b"),u=n("e500"),f=n("5f79").Buffer;t.exports=function(t,e,n){var d;d=t.padding?t.padding:n?1:4;var h,l=r(t),p=l.modulus.byteLength();if(e.length>p||new a(e).cmp(l.modulus)>=0)throw new Error("decryption error");h=n?u(new a(e),l):s(e,l);var b=f.alloc(p-h.length);if(h=f.concat([b,h],p),4===d)return function(t,e){var n=t.modulus.byteLength(),r=c("sha1").update(f.alloc(0)).digest(),a=r.length;if(0!==e[0])throw new Error("decryption error");var s=e.slice(1,a+1),u=e.slice(a+1),d=o(s,i(u,a)),h=o(u,i(d,n-a-1));if(function(t,e){t=f.from(t),e=f.from(e);var n=0,r=t.length;t.length!==e.length&&(n++,r=Math.min(t.length,e.length));var i=-1;while(++i=e.length){o++;break}var a=e.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++;a.length<8&&o++;if(o)throw new Error("decryption error");return e.slice(i)}(0,h,n);if(3===d)return h;throw new Error("unknown padding")}},"7f8f":function(t,e,n){"use strict";t.exports=o;var r=n("0f55"),i=Object.create(n("8ce8"));function o(t){if(!(this instanceof o))return new o(t);r.call(this,t)}i.inherits=n("2c2e"),i.inherits(o,r),o.prototype._transform=function(t,e,n){n(null,t)}},"81eb":function(t,e,n){(function(t){(function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(2).Buffer}catch(x){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function c(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function u(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"===typeof t)return this._initNumber(t,e,n);if("object"===typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36),t=t.toString().replace(/\s+/g,"");var i=0;"-"===t[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=c(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else{var s=t.length-e;for(r=s%2===0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,f=n;f1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function l(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;n.words[0]=s;for(var u=1;u>>26,d=67108863&c,h=Math.min(u,e.length-1),l=Math.max(0,u-t.length+1);l<=h;l++){var p=u-l|0;i=0|t.words[p],o=0|e.words[l],a=i*o+d,f+=a/67108864|0,d=67108863&a}n.words[u]=0|d,c=0|f}return 0!==c?n.words[u]=0|c:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(t=t||10,e=0|e||1,16===t||"hex"===t){n="";for(var i=0,o=0,a=0;a>>24-i&16777215,n=0!==o||a!==this.length-1?f[6-c.length]+c+n:c+n,i+=2,i>=26&&(i-=26,a--)}0!==o&&(n=o.toString(16)+n);while(n.length%e!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var u=d[t],l=h[t];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var b=p.modn(l).toString(t);p=p.idivn(l),n=p.isZero()?b+n:f[u-b.length]+b+n}this.isZero()&&(n="0"+n);while(n.length%e!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),f=this.clone();if(c){for(s=0;!f.isZero();s++)a=f.andln(255),f.iushrn(8),u[s]=a;for(;s=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0===(8191&e)&&(n+=13,e>>>=13),0===(127&e)&&(n+=7,e>>>=7),0===(15&e)&&(n+=4,e>>>=4),0===(3&e)&&(n+=2,e>>>=2),0===(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,l=0|a[1],p=8191&l,b=l>>>13,g=0|a[2],m=8191&g,v=g>>>13,y=0|a[3],_=8191&y,w=y>>>13,S=0|a[4],A=8191&S,k=S>>>13,x=0|a[5],E=8191&x,M=x>>>13,C=0|a[6],O=8191&C,I=C>>>13,T=0|a[7],P=8191&T,L=T>>>13,D=0|a[8],j=8191&D,R=D>>>13,B=0|a[9],N=8191&B,$=B>>>13,U=0|s[0],F=8191&U,q=U>>>13,z=0|s[1],H=8191&z,V=z>>>13,K=0|s[2],G=8191&K,W=K>>>13,Y=0|s[3],X=8191&Y,J=Y>>>13,Z=0|s[4],Q=8191&Z,tt=Z>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,ft=0|s[8],dt=8191&ft,ht=ft>>>13,lt=0|s[9],pt=8191<,bt=lt>>>13;n.negative=t.negative^e.negative,n.length=19,r=Math.imul(d,F),i=Math.imul(d,q),i=i+Math.imul(h,F)|0,o=Math.imul(h,q);var gt=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,F),i=Math.imul(p,q),i=i+Math.imul(b,F)|0,o=Math.imul(b,q),r=r+Math.imul(d,H)|0,i=i+Math.imul(d,V)|0,i=i+Math.imul(h,H)|0,o=o+Math.imul(h,V)|0;var mt=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(m,F),i=Math.imul(m,q),i=i+Math.imul(v,F)|0,o=Math.imul(v,q),r=r+Math.imul(p,H)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(b,H)|0,o=o+Math.imul(b,V)|0,r=r+Math.imul(d,G)|0,i=i+Math.imul(d,W)|0,i=i+Math.imul(h,G)|0,o=o+Math.imul(h,W)|0;var vt=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(_,F),i=Math.imul(_,q),i=i+Math.imul(w,F)|0,o=Math.imul(w,q),r=r+Math.imul(m,H)|0,i=i+Math.imul(m,V)|0,i=i+Math.imul(v,H)|0,o=o+Math.imul(v,V)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,W)|0,i=i+Math.imul(b,G)|0,o=o+Math.imul(b,W)|0,r=r+Math.imul(d,X)|0,i=i+Math.imul(d,J)|0,i=i+Math.imul(h,X)|0,o=o+Math.imul(h,J)|0;var yt=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(A,F),i=Math.imul(A,q),i=i+Math.imul(k,F)|0,o=Math.imul(k,q),r=r+Math.imul(_,H)|0,i=i+Math.imul(_,V)|0,i=i+Math.imul(w,H)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(m,G)|0,i=i+Math.imul(m,W)|0,i=i+Math.imul(v,G)|0,o=o+Math.imul(v,W)|0,r=r+Math.imul(p,X)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(b,X)|0,o=o+Math.imul(b,J)|0,r=r+Math.imul(d,Q)|0,i=i+Math.imul(d,tt)|0,i=i+Math.imul(h,Q)|0,o=o+Math.imul(h,tt)|0;var _t=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(E,F),i=Math.imul(E,q),i=i+Math.imul(M,F)|0,o=Math.imul(M,q),r=r+Math.imul(A,H)|0,i=i+Math.imul(A,V)|0,i=i+Math.imul(k,H)|0,o=o+Math.imul(k,V)|0,r=r+Math.imul(_,G)|0,i=i+Math.imul(_,W)|0,i=i+Math.imul(w,G)|0,o=o+Math.imul(w,W)|0,r=r+Math.imul(m,X)|0,i=i+Math.imul(m,J)|0,i=i+Math.imul(v,X)|0,o=o+Math.imul(v,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,tt)|0,i=i+Math.imul(b,Q)|0,o=o+Math.imul(b,tt)|0,r=r+Math.imul(d,nt)|0,i=i+Math.imul(d,rt)|0,i=i+Math.imul(h,nt)|0,o=o+Math.imul(h,rt)|0;var wt=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(O,F),i=Math.imul(O,q),i=i+Math.imul(I,F)|0,o=Math.imul(I,q),r=r+Math.imul(E,H)|0,i=i+Math.imul(E,V)|0,i=i+Math.imul(M,H)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(A,G)|0,i=i+Math.imul(A,W)|0,i=i+Math.imul(k,G)|0,o=o+Math.imul(k,W)|0,r=r+Math.imul(_,X)|0,i=i+Math.imul(_,J)|0,i=i+Math.imul(w,X)|0,o=o+Math.imul(w,J)|0,r=r+Math.imul(m,Q)|0,i=i+Math.imul(m,tt)|0,i=i+Math.imul(v,Q)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=i+Math.imul(p,rt)|0,i=i+Math.imul(b,nt)|0,o=o+Math.imul(b,rt)|0,r=r+Math.imul(d,ot)|0,i=i+Math.imul(d,at)|0,i=i+Math.imul(h,ot)|0,o=o+Math.imul(h,at)|0;var St=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(P,F),i=Math.imul(P,q),i=i+Math.imul(L,F)|0,o=Math.imul(L,q),r=r+Math.imul(O,H)|0,i=i+Math.imul(O,V)|0,i=i+Math.imul(I,H)|0,o=o+Math.imul(I,V)|0,r=r+Math.imul(E,G)|0,i=i+Math.imul(E,W)|0,i=i+Math.imul(M,G)|0,o=o+Math.imul(M,W)|0,r=r+Math.imul(A,X)|0,i=i+Math.imul(A,J)|0,i=i+Math.imul(k,X)|0,o=o+Math.imul(k,J)|0,r=r+Math.imul(_,Q)|0,i=i+Math.imul(_,tt)|0,i=i+Math.imul(w,Q)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(m,nt)|0,i=i+Math.imul(m,rt)|0,i=i+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=i+Math.imul(p,at)|0,i=i+Math.imul(b,ot)|0,o=o+Math.imul(b,at)|0,r=r+Math.imul(d,ct)|0,i=i+Math.imul(d,ut)|0,i=i+Math.imul(h,ct)|0,o=o+Math.imul(h,ut)|0;var At=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(j,F),i=Math.imul(j,q),i=i+Math.imul(R,F)|0,o=Math.imul(R,q),r=r+Math.imul(P,H)|0,i=i+Math.imul(P,V)|0,i=i+Math.imul(L,H)|0,o=o+Math.imul(L,V)|0,r=r+Math.imul(O,G)|0,i=i+Math.imul(O,W)|0,i=i+Math.imul(I,G)|0,o=o+Math.imul(I,W)|0,r=r+Math.imul(E,X)|0,i=i+Math.imul(E,J)|0,i=i+Math.imul(M,X)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(A,Q)|0,i=i+Math.imul(A,tt)|0,i=i+Math.imul(k,Q)|0,o=o+Math.imul(k,tt)|0,r=r+Math.imul(_,nt)|0,i=i+Math.imul(_,rt)|0,i=i+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(m,ot)|0,i=i+Math.imul(m,at)|0,i=i+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,ct)|0,i=i+Math.imul(p,ut)|0,i=i+Math.imul(b,ct)|0,o=o+Math.imul(b,ut)|0,r=r+Math.imul(d,dt)|0,i=i+Math.imul(d,ht)|0,i=i+Math.imul(h,dt)|0,o=o+Math.imul(h,ht)|0;var kt=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(N,F),i=Math.imul(N,q),i=i+Math.imul($,F)|0,o=Math.imul($,q),r=r+Math.imul(j,H)|0,i=i+Math.imul(j,V)|0,i=i+Math.imul(R,H)|0,o=o+Math.imul(R,V)|0,r=r+Math.imul(P,G)|0,i=i+Math.imul(P,W)|0,i=i+Math.imul(L,G)|0,o=o+Math.imul(L,W)|0,r=r+Math.imul(O,X)|0,i=i+Math.imul(O,J)|0,i=i+Math.imul(I,X)|0,o=o+Math.imul(I,J)|0,r=r+Math.imul(E,Q)|0,i=i+Math.imul(E,tt)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(A,nt)|0,i=i+Math.imul(A,rt)|0,i=i+Math.imul(k,nt)|0,o=o+Math.imul(k,rt)|0,r=r+Math.imul(_,ot)|0,i=i+Math.imul(_,at)|0,i=i+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(m,ct)|0,i=i+Math.imul(m,ut)|0,i=i+Math.imul(v,ct)|0,o=o+Math.imul(v,ut)|0,r=r+Math.imul(p,dt)|0,i=i+Math.imul(p,ht)|0,i=i+Math.imul(b,dt)|0,o=o+Math.imul(b,ht)|0,r=r+Math.imul(d,pt)|0,i=i+Math.imul(d,bt)|0,i=i+Math.imul(h,pt)|0,o=o+Math.imul(h,bt)|0;var xt=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(N,H),i=Math.imul(N,V),i=i+Math.imul($,H)|0,o=Math.imul($,V),r=r+Math.imul(j,G)|0,i=i+Math.imul(j,W)|0,i=i+Math.imul(R,G)|0,o=o+Math.imul(R,W)|0,r=r+Math.imul(P,X)|0,i=i+Math.imul(P,J)|0,i=i+Math.imul(L,X)|0,o=o+Math.imul(L,J)|0,r=r+Math.imul(O,Q)|0,i=i+Math.imul(O,tt)|0,i=i+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,r=r+Math.imul(E,nt)|0,i=i+Math.imul(E,rt)|0,i=i+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(A,ot)|0,i=i+Math.imul(A,at)|0,i=i+Math.imul(k,ot)|0,o=o+Math.imul(k,at)|0,r=r+Math.imul(_,ct)|0,i=i+Math.imul(_,ut)|0,i=i+Math.imul(w,ct)|0,o=o+Math.imul(w,ut)|0,r=r+Math.imul(m,dt)|0,i=i+Math.imul(m,ht)|0,i=i+Math.imul(v,dt)|0,o=o+Math.imul(v,ht)|0,r=r+Math.imul(p,pt)|0,i=i+Math.imul(p,bt)|0,i=i+Math.imul(b,pt)|0,o=o+Math.imul(b,bt)|0;var Et=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(N,G),i=Math.imul(N,W),i=i+Math.imul($,G)|0,o=Math.imul($,W),r=r+Math.imul(j,X)|0,i=i+Math.imul(j,J)|0,i=i+Math.imul(R,X)|0,o=o+Math.imul(R,J)|0,r=r+Math.imul(P,Q)|0,i=i+Math.imul(P,tt)|0,i=i+Math.imul(L,Q)|0,o=o+Math.imul(L,tt)|0,r=r+Math.imul(O,nt)|0,i=i+Math.imul(O,rt)|0,i=i+Math.imul(I,nt)|0,o=o+Math.imul(I,rt)|0,r=r+Math.imul(E,ot)|0,i=i+Math.imul(E,at)|0,i=i+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(A,ct)|0,i=i+Math.imul(A,ut)|0,i=i+Math.imul(k,ct)|0,o=o+Math.imul(k,ut)|0,r=r+Math.imul(_,dt)|0,i=i+Math.imul(_,ht)|0,i=i+Math.imul(w,dt)|0,o=o+Math.imul(w,ht)|0,r=r+Math.imul(m,pt)|0,i=i+Math.imul(m,bt)|0,i=i+Math.imul(v,pt)|0,o=o+Math.imul(v,bt)|0;var Mt=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(N,X),i=Math.imul(N,J),i=i+Math.imul($,X)|0,o=Math.imul($,J),r=r+Math.imul(j,Q)|0,i=i+Math.imul(j,tt)|0,i=i+Math.imul(R,Q)|0,o=o+Math.imul(R,tt)|0,r=r+Math.imul(P,nt)|0,i=i+Math.imul(P,rt)|0,i=i+Math.imul(L,nt)|0,o=o+Math.imul(L,rt)|0,r=r+Math.imul(O,ot)|0,i=i+Math.imul(O,at)|0,i=i+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,r=r+Math.imul(E,ct)|0,i=i+Math.imul(E,ut)|0,i=i+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,r=r+Math.imul(A,dt)|0,i=i+Math.imul(A,ht)|0,i=i+Math.imul(k,dt)|0,o=o+Math.imul(k,ht)|0,r=r+Math.imul(_,pt)|0,i=i+Math.imul(_,bt)|0,i=i+Math.imul(w,pt)|0,o=o+Math.imul(w,bt)|0;var Ct=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(N,Q),i=Math.imul(N,tt),i=i+Math.imul($,Q)|0,o=Math.imul($,tt),r=r+Math.imul(j,nt)|0,i=i+Math.imul(j,rt)|0,i=i+Math.imul(R,nt)|0,o=o+Math.imul(R,rt)|0,r=r+Math.imul(P,ot)|0,i=i+Math.imul(P,at)|0,i=i+Math.imul(L,ot)|0,o=o+Math.imul(L,at)|0,r=r+Math.imul(O,ct)|0,i=i+Math.imul(O,ut)|0,i=i+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,r=r+Math.imul(E,dt)|0,i=i+Math.imul(E,ht)|0,i=i+Math.imul(M,dt)|0,o=o+Math.imul(M,ht)|0,r=r+Math.imul(A,pt)|0,i=i+Math.imul(A,bt)|0,i=i+Math.imul(k,pt)|0,o=o+Math.imul(k,bt)|0;var Ot=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(N,nt),i=Math.imul(N,rt),i=i+Math.imul($,nt)|0,o=Math.imul($,rt),r=r+Math.imul(j,ot)|0,i=i+Math.imul(j,at)|0,i=i+Math.imul(R,ot)|0,o=o+Math.imul(R,at)|0,r=r+Math.imul(P,ct)|0,i=i+Math.imul(P,ut)|0,i=i+Math.imul(L,ct)|0,o=o+Math.imul(L,ut)|0,r=r+Math.imul(O,dt)|0,i=i+Math.imul(O,ht)|0,i=i+Math.imul(I,dt)|0,o=o+Math.imul(I,ht)|0,r=r+Math.imul(E,pt)|0,i=i+Math.imul(E,bt)|0,i=i+Math.imul(M,pt)|0,o=o+Math.imul(M,bt)|0;var It=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(N,ot),i=Math.imul(N,at),i=i+Math.imul($,ot)|0,o=Math.imul($,at),r=r+Math.imul(j,ct)|0,i=i+Math.imul(j,ut)|0,i=i+Math.imul(R,ct)|0,o=o+Math.imul(R,ut)|0,r=r+Math.imul(P,dt)|0,i=i+Math.imul(P,ht)|0,i=i+Math.imul(L,dt)|0,o=o+Math.imul(L,ht)|0,r=r+Math.imul(O,pt)|0,i=i+Math.imul(O,bt)|0,i=i+Math.imul(I,pt)|0,o=o+Math.imul(I,bt)|0;var Tt=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(N,ct),i=Math.imul(N,ut),i=i+Math.imul($,ct)|0,o=Math.imul($,ut),r=r+Math.imul(j,dt)|0,i=i+Math.imul(j,ht)|0,i=i+Math.imul(R,dt)|0,o=o+Math.imul(R,ht)|0,r=r+Math.imul(P,pt)|0,i=i+Math.imul(P,bt)|0,i=i+Math.imul(L,pt)|0,o=o+Math.imul(L,bt)|0;var Pt=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(N,dt),i=Math.imul(N,ht),i=i+Math.imul($,dt)|0,o=Math.imul($,ht),r=r+Math.imul(j,pt)|0,i=i+Math.imul(j,bt)|0,i=i+Math.imul(R,pt)|0,o=o+Math.imul(R,bt)|0;var Lt=(u+r|0)+((8191&i)<<13)|0;u=(o+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(N,pt),i=Math.imul(N,bt),i=i+Math.imul($,pt)|0,o=Math.imul($,bt);var Dt=(u+r|0)+((8191&i)<<13)|0;return u=(o+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,c[0]=gt,c[1]=mt,c[2]=vt,c[3]=yt,c[4]=_t,c[5]=wt,c[6]=St,c[7]=At,c[8]=kt,c[9]=xt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=Ot,c[14]=It,c[15]=Tt,c[16]=Pt,c[17]=Lt,c[18]=Dt,0!==u&&(c[19]=u,n.length++),n};function b(t,e,n){var r=new g;return r.mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=l),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?l(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0,i+=a>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):b(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,u=0;u=0&&(0!==f||u>=i);u--){var d=0|this.words[u];this.words[u]=f<<26-o|d>>>o,f=d&s}return c&&0!==f&&(c.words[c.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"===typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(c/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1],s=this._countBits(a);n=26-s,0!==n&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var c,u=r.length-i.length;if("mod"!==e){c=new o(null),c.length=u+1,c.words=new Array(c.length);for(var f=0;f=0;h--){var l=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);l=Math.min(l/a|0,67108863),r._ishlnsubmul(i,l,h);while(0!==r.negative)l--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);c&&(c.words[h]=l)}return c&&c.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:c||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;while(e.isEven()&&n.isEven())e.iushrn(1),n.iushrn(1),++u;var f=n.clone(),d=e.clone();while(!e.isZero()){for(var h=0,l=1;0===(e.words[0]&l)&&h<26;++h,l<<=1);if(h>0){e.iushrn(h);while(h-- >0)(i.isOdd()||a.isOdd())&&(i.iadd(f),a.isub(d)),i.iushrn(1),a.iushrn(1)}for(var p=0,b=1;0===(n.words[0]&b)&&p<26;++p,b<<=1);if(p>0){n.iushrn(p);while(p-- >0)(s.isOdd()||c.isOdd())&&(s.iadd(f),c.isub(d)),s.iushrn(1),c.iushrn(1)}e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(c)):(n.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:n.iushln(u)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();var i,a=new o(1),s=new o(0),c=n.clone();while(e.cmpn(1)>0&&n.cmpn(1)>0){for(var u=0,f=1;0===(e.words[0]&f)&&u<26;++u,f<<=1);if(u>0){e.iushrn(u);while(u-- >0)a.isOdd()&&a.iadd(c),a.iushrn(1)}for(var d=0,h=1;0===(n.words[0]&h)&&d<26;++d,h<<=1);if(d>0){n.iushrn(d);while(d-- >0)s.isOdd()&&s.iadd(c),s.iushrn(1)}e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return i=0===e.cmpn(1)?a:s,i.cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);do{while(e.isEven())e.iushrn(1);while(n.isEven())n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var m={k256:null,p224:null,p192:null,p25519:null};function v(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function k(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}v.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},v.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),e=n.bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},v.prototype.split=function(t,e){t.iushrn(this.n,0,e)},v.prototype.imulK=function(t){return t.imul(this.k)},i(y,v),y.prototype.split=function(t,e){for(var n=Math.min(t.length,9),r=0;r>>22,i=o}i>>>=22,t.words[r-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(m[t])return m[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new _;else if("p192"===t)e=new w;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new S}return m[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0===(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2===1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}var i=this.m.subn(1),a=0;while(!i.isZero()&&0===i.andln(1))a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),f=this.m.bitLength();f=new o(2*f*f).toRed(this);while(0!==this.pow(f,u).cmp(c))f.redIAdd(c);var d=this.pow(f,i),h=this.pow(t,i.addn(1).iushrn(1)),l=this.pow(t,i),p=a;while(0!==l.cmp(s)){for(var b=l,g=0;0!==b.cmp(s);g++)b=b.redSqr();r(g=0;r--){for(var u=e.words[r],f=c-1;f>=0;f--){var d=u>>f&1;i!==n[0]&&(i=this.sqr(i)),0!==d||0!==a?(a<<=1,a|=d,s++,(4===s||0===r&&0===f)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}c=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new k(t)},i(k,A),k.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},k.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},k.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},k.prototype.invm=function(t){var e=this.imod(t._invmp(this.m).mul(this.r2));return e._forceRed(this)}})(t,this)}).call(this,n("dc84")(t))},"828b":function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s,c,u){var f,d="function"===typeof t?t.options:t;if(c){d.components||(d.components={});var h=Object.prototype.hasOwnProperty;for(var l in c)h.call(c,l)&&!h.call(d.components,l)&&(d.components[l]=c[l])}if(u&&("function"===typeof u.beforeCreate&&(u.beforeCreate=[u.beforeCreate]),(u.beforeCreate||(u.beforeCreate=[])).unshift((function(){this[u.__module]=this})),(d.mixins||(d.mixins=[])).push(u)),e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),r&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),a?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},d._ssrRegister=f):i&&(f=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),f)if(d.functional){d._injectStyles=f;var p=d.render;d.render=function(t,e){return f.call(e),p(t,e)}}else{var b=d.beforeCreate;d.beforeCreate=b?[].concat(b,f):[f]}return{exports:t,options:d}}n.d(e,"a",(function(){return r}))},"830f":function(t,e,n){(function(e){var r=n("959e"),i=n("81eb");t.exports=function(t){return new a(t)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(t){this.curveType=o[t],this.curveType||(this.curveType={name:t}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function s(t,n,r){Array.isArray(t)||(t=t.toArray());var i=new e(t);if(r&&i.length>>0},e.writeUInt32BE=function(t,e,n){t[0+n]=e>>>24,t[1+n]=e>>>16&255,t[2+n]=e>>>8&255,t[3+n]=255&e},e.ip=function(t,e,n,r){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1}n[r+0]=i>>>0,n[r+1]=o>>>0},e.rip=function(t,e,n,r){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=e>>>s+a&1,i<<=1,i|=t>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=e>>>s+a&1,o<<=1,o|=t>>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.pc1=function(t,e,n,r){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.r28shl=function(t,e){return t<>>28-e};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,n,i){for(var o=0,a=0,s=r.length>>>1,c=0;c>>r[c]&1;for(c=s;c>>r[c]&1;n[i+0]=o>>>0,n[i+1]=a>>>0},e.expand=function(t,e,n){var r=0,i=0;r=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[n+0]=r>>>0,e[n+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var n=0,r=0;r<4;r++){var o=t>>>18-6*r&63,a=i[64*r+o];n<<=4,n|=a}for(r=0;r<4;r++){o=e>>>18-6*r&63,a=i[256+64*r+o];n<<=4,n|=a}return n>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,n=0;n>>o[n]&1;return e>>>0},e.padSplit=function(t,e,n){var r=t.toString(2);while(r.length=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function a(t,n){var i=function(t){var e=o(t),n=e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed();return{blinder:n,unblinder:e.invm(t.modulus)}}(n),a=n.modulus.byteLength(),s=new r(t).mul(i.blinder).umod(n.modulus),c=s.toRed(r.mont(n.prime1)),u=s.toRed(r.mont(n.prime2)),f=n.coefficient,d=n.prime1,h=n.prime2,l=c.redPow(n.exponent1).fromRed(),p=u.redPow(n.exponent2).fromRed(),b=l.isub(p).imul(f).umod(d).imul(h);return p.iadd(b).imul(i.unblinder).umod(n.modulus).toArrayLike(e,"be",a)}a.getr=o,t.exports=a}).call(this,n("12e3").Buffer)},"8e48":function(t,e,n){var r=n("d7d6"),i=n("f180"),o=n("ed54"),a=n("b577"),s=n("fef7"),c=n("5f79").Buffer;function u(t){var e;"object"!==typeof t||c.isBuffer(t)||(e=t.passphrase,t=t.key),"string"===typeof t&&(t=c.from(t));var n,u,f=o(t,e),d=f.tag,h=f.data;switch(d){case"CERTIFICATE":u=r.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=r.PublicKey.decode(h,"der")),n=u.algorithm.algorithm.join("."),n){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=r.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":h=r.EncryptedPrivateKey.decode(h,"der"),h=function(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[t.algorithm.decrypt.cipher.algo.join(".")],u=t.algorithm.decrypt.cipher.iv,f=t.subjectPrivateKey,d=parseInt(o.split("-")[1],10)/8,h=s.pbkdf2Sync(e,n,r,d,"sha1"),l=a.createDecipheriv(o,h,u),p=[];return p.push(l.update(f)),p.push(l.final()),c.concat(p)}(h,e);case"PRIVATE KEY":switch(u=r.PrivateKey.decode(h,"der"),n=u.algorithm.algorithm.join("."),n){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:r.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=r.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return h=r.ECPrivateKey.decode(h,"der"),{curve:h.parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+d)}}t.exports=u,u.signature=r.signature},"8f59":function(t,e,n){"use strict";(function(e){var n="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},r=n.__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=function(t,e){return t.filter(e)[0]}(e,(function(e){return e.original===t}));if(n)return n.copy;var r=Array.isArray(t)?[]:{};return e.push({original:t,copy:r}),Object.keys(t).forEach((function(n){r[n]=i(t[n],e)})),r}function o(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function a(t){return null!==t&&"object"===typeof t}var s=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},s.prototype.forEachChild=function(t){o(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,c);var u=function(t){this.register([],t,!1)};u.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},u.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},u.prototype.update=function(t){(function t(e,n,r){0;if(n.update(r),r.modules)for(var i in r.modules){if(!n.getChild(i))return void 0;t(e.concat(i),n.getChild(i),r.modules[i])}})([],this.root,t)},u.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new s(e,n);if(0===t.length)this.root=i;else{var a=this.get(t.slice(0,-1));a.addChild(t[t.length-1],i)}e.modules&&o(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},u.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},u.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var f;var d=function(t){var e=this;void 0===t&&(t={}),!f&&"undefined"!==typeof window&&window.Vue&&y(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new f,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=i;var c=this._modules.root.state;g(this,c,[],this._modules.root),b(this,c),n.forEach((function(t){return t(e)}));var d=void 0!==t.devtools?t.devtools:f.config.devtools;d&&function(t){r&&(t._devtoolHook=r,r.emit("vuex:init",t),r.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){r.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){r.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},h={state:{configurable:!0}};function l(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function p(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;g(t,n,[],t._modules.root,!0),b(t,n,e)}function b(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,a={};o(i,(function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=f.config.silent;f.config.silent=!0,t._vm=new f({data:{$$state:e},computed:a}),f.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),f.nextTick((function(){return r.$destroy()})))}function g(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=r),!o&&!i){var s=m(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){f.set(s,c,r.state)}))}var u=r.context=function(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=v(n,r,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:r?t.commit:function(n,r,i){var o=v(n,r,i),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return m(t.state,n)}}}),i}(t,a,n);r.forEachMutation((function(e,n){var r=a+n;(function(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push((function(e){n.call(t,r.state,e)}))})(t,r,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:a+n,i=e.handler||e;(function(t,e,n,r){var i=t._actions[e]||(t._actions[e]=[]);i.push((function(e){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return function(t){return t&&"function"===typeof t.then}(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))})(t,r,i,u)})),r.forEachGetter((function(e,n){var r=a+n;(function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}})(t,r,e,u)})),r.forEachChild((function(r,o){g(t,e,n.concat(o),r,i)}))}function m(t,e){return e.reduce((function(t,e){return t[e]}),t)}function v(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function y(t){f&&t===f||(f=t, /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,n.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(f))}h.state.get=function(){return this._vm._data.$$state},h.state.set=function(t){0},d.prototype.commit=function(t,e,n){var r=this,i=v(t,e,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,r.state)})))},d.prototype.dispatch=function(t,e){var n=this,r=v(t,e),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(u){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(u){0}e(t)}))}))}},d.prototype.subscribe=function(t,e){return l(t,this._subscribers,e)},d.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return l(n,this._actionSubscribers,e)},d.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},d.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},d.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),g(this,this.state,t,this._modules.get(t),n.preserveState),b(this,this.state)},d.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=m(e.state,t.slice(0,-1));f.delete(n,t[t.length-1])})),p(this)},d.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},d.prototype[[104,111,116,85,112,100,97,116,101].map((function(t){return String.fromCharCode(t)})).join("")]=function(t){this._modules.update(t),p(this,!0)},d.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(d.prototype,h);var _=x((function(t,e){var n={};return k(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=E(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),w=x((function(t,e){var n={};return k(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=E(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),S=x((function(t,e){var n={};return k(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||E(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),A=x((function(t,e){var n={};return k(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=E(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n}));function k(t){return function(t){return Array.isArray(t)||a(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function x(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function E(t,e,n){var r=t._modulesNamespaceMap[n];return r}function M(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(i){t.log(e)}}function C(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function O(){var t=new Date;return" @ "+I(t.getHours(),2)+":"+I(t.getMinutes(),2)+":"+I(t.getSeconds(),2)+"."+I(t.getMilliseconds(),3)}function I(t,e){return function(t,e){return new Array(e+1).join(t)}("0",e-t.toString().length)+t}var T={Store:d,install:y,version:"3.6.2",mapState:_,mapMutations:w,mapGetters:S,mapActions:A,createNamespacedHelpers:function(t){return{mapState:_.bind(null,t),mapGetters:S.bind(null,t),mapMutations:w.bind(null,t),mapActions:A.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var a=t.actionFilter;void 0===a&&(a=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var c=t.logMutations;void 0===c&&(c=!0);var u=t.logActions;void 0===u&&(u=!0);var f=t.logger;return void 0===f&&(f=console),function(t){var d=i(t.state);"undefined"!==typeof f&&(c&&t.subscribe((function(t,a){var s=i(a);if(n(t,d,s)){var c=O(),u=o(t),h="mutation "+t.type+c;M(f,h,e),f.log("%c prev state","color: #9E9E9E; font-weight: bold",r(d)),f.log("%c mutation","color: #03A9F4; font-weight: bold",u),f.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),C(f)}d=s})),u&&t.subscribeAction((function(t,n){if(a(t,n)){var r=O(),i=s(t),o="action "+t.type+r;M(f,o,e),f.log("%c action","color: #03A9F4; font-weight: bold",i),C(f)}})))}}};t.exports=T}).call(this,n("0ee4"))},9008:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},9090:function(t,e,n){"use strict";const r=n("4807"),i=n("88b2"),o=n("2c2e"),a=e;function s(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}a.define=function(t,e){return new s(t,e)},s.prototype._createNamed=function(t){const e=this.name;function n(t){this._initNamed(t,e)}return o(n,t),n.prototype._initNamed=function(e,n){t.call(this,e,n)},new n(this)},s.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(i[t])),this.decoders[t]},s.prototype.decode=function(t,e,n){return this._getDecoder(e).decode(t,n)},s.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(r[t])),this.encoders[t]},s.prototype.encode=function(t,e,n){return this._getEncoder(e).encode(t,n)}},"92f9":function(t,e,n){"use strict";var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.agentCreateApi=function(t,e){return o.default.post("division/agent/apply/".concat(t),e)},e.agentDelStaff=function(t){return o.default.get("division/agent/del_staff/".concat(t))},e.agentInfo=function(){return o.default.get("v2/agent/agent_info")},e.agentLevelList=function(){return o.default.get("v2/agent/level_list")},e.agentLevelTaskList=function(t){return o.default.get("v2/agent/level_task_list?id="+t)},e.agentSpread=function(t){return o.default.post("division/agent/spread",t)},e.agentStaffList=function(t){return o.default.get("division/agent/staff_list",t)},e.agentStaffPercent=function(t){return o.default.post("division/agent/staff_percent",t)},e.agentUserList=function(t,e,n){return o.default.get("v2/agent/agent_user_list/".concat(t,"?page=").concat(e,"&limit=").concat(n))},e.appleLogin=function(t){return o.default.post("apple_login",t,{noAuth:!0})},e.articleStarApi=function(t,e){return o.default.get("article/like/".concat(t),e)},e.cancelUser=function(){return o.default.get("cancel/user")},e.channelApplyApi=function(t){return o.default.post("channel/apply",t)},e.channelApplyInfoApi=function(){return o.default.get("channel/apply/info")},e.checkIdentityApi=function(t){return o.default.post("user/switch_identity",t)},e.delAddress=function(t){return o.default.post("address/del",{id:t})},e.editAddress=function(t){return o.default.post("address/edit",t)},e.extractBank=function(){return o.default.get("extract/bank")},e.extractCancelApi=function(t){return o.default.get("extract/cancel/"+t)},e.extractCash=function(t){return o.default.post("extract/cash",t)},e.extractDetailApi=function(t){return o.default.get("extract/detail",t)},e.getAddressDefault=function(){return o.default.get("address/default")},e.getAddressDetail=function(t){return o.default.get("address/detail/"+t)},e.getAddressList=function(t){return o.default.get("address/list",t)},e.getAgentCode=function(){return o.default.get("division/agent/spread/code")},e.getBrokerageRank=function(t){return o.default.get("brokerage_rank",t)},e.getChatRecord=function(t){return o.default.get("v2/user/service/record",t)},e.getCityList=function(t){return o.default.get("v2/cityList",{address:t},{noAuth:!0})},e.getCodeApi=function(){return o.default.get("verify_code",{},{noAuth:!0})},e.getCommissionInfo=function(t,e){return o.default.get("spread/commission/"+e,t)},e.getCopyRight=function(){return o.default.get("get_copyright",{},{noAuth:!0})},e.getDistributionInfo=function(t){return o.default.get("agreement/2",{},{noAuth:!0})},e.getGeocoder=function(t){return o.default.get("geoLbscoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})},e.getIntegralList=function(t){return o.default.get("integral/list",t)},e.getLogout=function(){return o.default.get("logout")},e.getMenuData=function(){return o.default.get("menu/date")},e.getMenuList=function(){return o.default.get("menu/user",{},{noAuth:!0})},e.getMsgDetails=function(t){return o.default.get("user/message_system/detail/"+t)},e.getPayVipInfoApi=function(t){return o.default.get("agreement/1",{},{noAuth:!0})},e.getRandCode=function(){return o.default.get("user/rand_code")},e.getRankList=function(t){return o.default.get("rank",t)},e.getRechargeApi=function(){return o.default.get("recharge/index")},e.getSignCalendar=function(t){return o.default.get("sign/calendar",t)},e.getSignConfig=function(){return o.default.get("sign/config")},e.getSignList=function(t){return o.default.get("sign/list",t)},e.getSignMonthList=function(t){return o.default.get("sign/month",t)},e.getSpreadInfo=function(){return o.default.get("commission")},e.getUserAgreement=function(t){return o.default.get("user_agreement/".concat(t),{},{noAuth:!0})},e.getUserInfo=function(){return o.default.get("user")},e.getlevelExpList=function(t){return o.default.get("user/level/expList",t)},e.getlevelInfo=function(){return o.default.get("user/level/info")},e.groomList=function(t,e){return o.default.get("groom/list/".concat(t),e)},e.invoiceDefault=function(t){return o.default.get("v2/invoice/get_default/"+t)},e.invoiceDelete=function(t){return o.default.get("v2/invoice/del/"+t)},e.invoiceDetail=function(t){return o.default.get("v2/invoice/detail/"+t)},e.invoiceList=function(t){return o.default.get("v2/invoice",t,{noAuth:!0})},e.invoiceOrder=function(t){return o.default.post("v2/order/make_up_invoice",t)},e.invoiceSave=function(t){return o.default.post("v2/invoice/save",t,{noAuth:!0})},e.levelActivate=function(t){return o.default.post("user/level/activate",t)},e.levelInfo=function(){return o.default.get("user/level/activate_info")},e.loginH5=function(t){return o.default.post("login",t,{noAuth:!0})},e.loginMobile=function(t){return o.default.post("login/mobile",t,{noAuth:!0})},e.makeUpinvoice=function(t){return o.default.post("v2/order/make_up_invoice",t)},e.memberCard=function(){return o.default.get("user/member/card/index")},e.memberCardCreate=function(t){return o.default.post("user/member/card/create",t)},e.memberCardDraw=function(t){return o.default.post("user/member/card/draw",t)},e.memberCardPayApi=function(t){return o.default.post("user/member/card/pay",t)},e.memberCouponsList=function(t,e){return o.default.get("user/member/coupons/list",{page:t,limit:e})},e.memberOverdueTime=function(t){return o.default.get("user/member/overdue/time",t)},e.messageSystem=function(t){return o.default.get("user/message_system/list",t)},e.moneyList=function(t,e){return o.default.get("v2/user/money_list/"+e,t)},e.phoneSilenceAuth=function(t){return o.default.post("v2/phone_silence_auth",t,{noAuth:!0})},e.phoneWxSilenceAuth=function(t){return o.default.post("v2/phone_wx_silence_auth",t,{noAuth:!0})},e.postSignUser=function(t){return o.default.post("sign/user",t)},e.promoterCreateApi=function(t,e){return o.default.post("user/promoter/apply/".concat(t),e)},e.rechargeAPi=function(t){return o.default.post("recharge/recharge",t)},e.rechargePayAPi=function(t){return o.default.post("recharge/pay",t)},e.recordList=function(){return o.default.get("user/apply/record")},e.register=function(t){return o.default.post("register",t,{noAuth:!0})},e.registerReset=function(t){return o.default.post("register/reset",t,{noAuth:!0})},e.registerVerify=function(t){return o.default.post("register/verify",t,{noAuth:!0})},e.routineCode=function(t){return o.default.get("user/routine_code",t)},e.serviceList=function(){return o.default.get("user/service/list")},e.serviceRecord=function(t){return o.default.get("user/message",t)},e.setAddressDefault=function(t){return o.default.post("address/default/set",{id:t})},e.setSignIntegral=function(){return o.default.post("sign/integral")},e.setVisit=function(t){return o.default.post("user/set_visit",function(t){for(var e=1;e>s%8,t._prev=o(t._prev,n?i:a);return c}function o(t,e){var n=t.length,i=-1,o=r.allocUnsafe(t.length);t=r.concat([t,r.from([e])]);while(++i>7;return o}e.encrypt=function(t,e,n){var o=e.length,a=r.allocUnsafe(o),s=-1;while(++s=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},n}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},a3fc:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var o=e.isAbsolute(t),a="/"===i(t,-1);return t=n(r(t.split("/"),(function(t){return!!t})),!o).join("/"),t||o||(t="."),t&&a&&(t+="/"),(o?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c=1;--o)if(e=t.charCodeAt(o),47===e){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=a+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("28d0"))},a52f:function(t,e,n){"use strict";var r=n("81eb"),i=n("2c2e"),o=n("07a0"),a=n("4e45");function s(t){o.call(this,"mont",t),this.a=new r(t.a,16).toRed(this.red),this.b=new r(t.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(t,e,n){o.BasePoint.call(this,t,"projective"),null===e&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(e,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),t.exports=s,s.prototype.validate=function(t){var e=t.normalize().x,n=e.redSqr(),r=n.redMul(e).redAdd(n.redMul(this.a)).redAdd(e),i=r.redSqrt();return 0===i.redSqr().cmp(r)},i(c,o.BasePoint),s.prototype.decodePoint=function(t,e){return this.point(a.toArray(t,e),1)},s.prototype.point=function(t,e){return new c(this,t,e)},s.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(t,e){return new c(t,e[0],e[1]||t.one)},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var t=this.x.redAdd(this.z),e=t.redSqr(),n=this.x.redSub(this.z),r=n.redSqr(),i=e.redSub(r),o=e.redMul(r),a=i.redMul(r.redAdd(this.curve.a24.redMul(i)));return this.curve.point(o,a)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(t,e){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z),a=o.redMul(n),s=i.redMul(r),c=e.z.redMul(a.redAdd(s).redSqr()),u=e.x.redMul(a.redISub(s).redSqr());return this.curve.point(c,u)},c.prototype.mul=function(t){for(var e=t.clone(),n=this,r=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},a67f:function(t,e,n){var r=n("5f79").Buffer,i=n("0116"),o=n("8d24"),a=n("959e").ec,s=n("81eb"),c=n("8e48"),u=n("4037");function f(t,e,n,o){if(t=r.from(t.toArray()),t.length0&&n.ishrn(r),n}function h(t,e,n){var o,a;do{o=r.alloc(0);while(8*o.length=31)return r.error("Multi-octet tag encoding unsupported");e||(i|=32);return i|=a.tagClassByName[n||"universal"]<<6,i}(t,e,n,this.reporter);if(r.length<128){const t=i.alloc(2);return t[0]=o,t[1]=r.length,this._createEncoderBuffer([t,r])}let s=1;for(let i=r.length;i>=256;i>>=8)s++;const c=i.alloc(2+s);c[0]=o,c[1]=128|s;for(let i=1+s,a=r.length;a>0;i--,a>>=8)c[i]=255&a;return this._createEncoderBuffer([c,r])},c.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){const e=i.alloc(2*t.length);for(let n=0;n=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}let r=0;for(let i=0;i=128;e>>=7)r++}const o=i.alloc(r);let a=o.length-1;for(let i=t.length-1;i>=0;i--){let e=t[i];o[a--]=127&e;while((e>>=7)>0)o[a--]=128|127&e}return this._createEncoderBuffer(o)},c.prototype._encodeTime=function(t,e){let n;const r=new Date(t);return"gentime"===e?n=[u(r.getUTCFullYear()),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):"utctime"===e?n=[u(r.getUTCFullYear()%100),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(t,e){if("string"===typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!==typeof t&&!i.isBuffer(t)){const e=t.toArray();!t.sign&&128&e[0]&&e.unshift(0),t=i.from(e)}if(i.isBuffer(t)){let e=t.length;0===t.length&&e++;const n=i.alloc(e);return t.copy(n),0===t.length&&(n[0]=0),this._createEncoderBuffer(n)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);let n=1;for(let i=t;i>=256;i>>=8)n++;const r=new Array(n);for(let i=r.length-1;i>=0;i--)r[i]=255&t,t>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},c.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},c.prototype._use=function(t,e){return"function"===typeof t&&(t=t(e)),t._getEncoder("der").tree},c.prototype._skipDefault=function(t,e,n){const r=this._baseState;let i;if(null===r["default"])return!1;const o=t.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r["default"],e,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i>6),n=128+(63&t),[e,n]):(e=224+(t>>12),n=128+(t>>6&63),r=128+(63&t),[e,n,r])}function n(t,n){this.typeNumber=-1,this.errorCorrectLevel=n,this.modules=null,this.moduleCount=0,this.dataCache=null,this.rsBlocks=null,this.totalDataCount=-1,this.data=t,this.utf8bytes=function(t){for(var n=[],r=0;r=7&&this.setupTypeNumber(!0),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var r=-1;r<=7;r++)e+r<=-1||this.moduleCount<=e+r||(this.modules[t+n][e+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},createQrcode:function(){for(var t=0,e=0,n=null,r=0;r<8;r++){this.makeImpl(r);var i=a.getLostPoint(this);(0==r||t>i)&&(t=i,e=r,n=this.modules)}this.modules=n,this.setupTypeInfo(!1,e),this.typeNumber>=7&&this.setupTypeNumber(!1)},setupTimingPattern:function(){for(var t=8;t>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r,this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(t,e){for(var n=r[this.errorCorrectLevel]<<3|e,i=a.getBCHTypeInfo(n),o=0;o<15;o++){var s=!t&&1==(i>>o&1);o<6?this.modules[o][8]=s:o<8?this.modules[o+1][8]=s:this.modules[this.moduleCount-15+o][8]=s;s=!t&&1==(i>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=s:o<9?this.modules[8][15-o-1+1]=s:this.modules[8][15-o-1]=s}this.modules[this.moduleCount-8][8]=!t},createData:function(){var t=new d,e=this.typeNumber>9?16:8;t.put(4,4),t.put(this.utf8bytes.length,e);for(var r=0,i=this.utf8bytes.length;r=8*this.totalDataCount)break;if(t.put(n.PAD0,8),t.length>=8*this.totalDataCount)break;t.put(n.PAD1,8)}return this.createBytes(t)},createBytes:function(t){for(var e=0,n=0,r=0,i=this.rsBlock.length/3,o=new Array,s=0;s=0?_.get(w):0}}var S=new Array(this.totalDataCount),A=0;for(s=0;s0;s-=2){6==s&&s--;while(1){for(var c=0;c<2;c++)if(null==this.modules[r][s-c]){var u=!1;o>>i&1));var f=a.getMask(e,r,s-c);f&&(u=!u),this.modules[r][s-c]=u,i--,-1==i&&(o++,i=7)}if(r+=n,r<0||this.moduleCount<=r){r-=n,n=-n;break}}}}},n.PAD0=236,n.PAD1=17;for(var r=[1,0,3,2],o={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},a={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){var e=t<<10;while(a.getBCHDigit(e)-a.getBCHDigit(a.G15)>=0)e^=a.G15<=0)e^=a.G18<>>=1;return e},getPatternPosition:function(t){return a.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case o.PATTERN000:return(e+n)%2==0;case o.PATTERN001:return e%2==0;case o.PATTERN010:return n%3==0;case o.PATTERN011:return(e+n)%3==0;case o.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case o.PATTERN101:return e*n%2+e*n%3==0;case o.PATTERN110:return(e*n%2+e*n%3)%2==0;case o.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new u([1],0),n=0;n3&&t.modules[i][s-1]&&t.modules[i][s-2]&&t.modules[i][s-3]&&t.modules[i][s-4]&&(n+=40)),i=5&&(n+=3+o-5),o=1),c&&r++}for(s=0;s3&&t.modules[i-1][s]&&t.modules[i-2][s]&&t.modules[i-3][s]&&t.modules[i-4][s]&&(n+=40)),a^c?o++:(a=c,o>=5&&(n+=3+o-5),o=1)}var f=Math.abs(100*r/e/e-50)/5;return n+=10*f,n}},s={glog:function(t){if(t<1)throw new Error("glog("+t+")");return s.LOG_TABLE[t]},gexp:function(t){while(t<0)t+=255;while(t>=256)t-=255;return s.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},c=0;c<8;c++)s.EXP_TABLE[c]=1<=n){var o=s.glog(r[0])-s.glog(t.get(0));for(i=0;i9?2:1;if(this.utf8bytes.length+s>>7-t%8&1},put:function(t,e){for(var n=0;n>>e-n-1&1)},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var h=[];i=function(e){if(this.options={text:"",size:256,correctLevel:3,background:"#ffffff",foreground:"#000000",pdground:"#000000",image:"",imageSize:30,canvasId:e.canvasId,context:e.context,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText},"string"===typeof e&&(e={text:e}),e)for(var r in e)this.options[r]=e[r];for(var i=null,o=(r=0,h.length);r1&&t.row<5&&t.col>1&&t.col<5||t.row>t.count-6&&t.row1&&t.col<5||t.row>1&&t.row<5&&t.col>t.count-6&&t.col4294967295)throw new RangeError("requested too many random bytes");var n=i.allocUnsafe(t);if(t>0)if(t>65536)for(var a=0;a>6],i=0===(32&n);if(31===(31&n)){let r=n;n=0;while(128===(128&r)){if(r=t.readUInt8(e),t.isError(r))return r;n<<=7,n|=127&r}}else n&=31;const o=s.tag[n];return{cls:r,primitive:i,tag:n,tagStr:o}}function d(t,e,n){let r=t.readUInt8(n);if(t.isError(r))return r;if(!e&&128===r)return null;if(0===(128&r))return r;const i=127&r;if(i>4)return t.error("length octect is too long");r=0;for(let o=0;o0&&void 0!==arguments[0]?arguments[0]:32,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(n=n||r.length,t)for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),o(this,"getName",(function(t){return n.xml?t:t.toLowerCase()})),o(this,"isClose",(function(){return">"==n.data[n.i]||"/"==n.data[n.i]&&">"==n.data[n.i+1]})),o(this,"section",(function(){return n.data.substring(n.start,n.i)})),o(this,"siblings",(function(){return n.STACK.length?n.STACK[n.STACK.length-1].children:n.DOM})),this.attrs={},this.compress=i.compress,this.CssHandler=new c(i.tagStyle,f),this.data=e,this.domain=i.domain,this.DOM=[],this.i=this.start=this.audioNum=this.imgNum=this.videoNum=0,this.protocol=this.domain&&this.domain.includes("://")?this.domain.split("://")[0]:"",this.state=this.Text,this.STACK=[],this.useAnchor=i.useAnchor,this.xml=i.xml}return i(t,[{key:"parse",value:function(){for(var t;t=this.data[this.i];this.i++)this.state(t);this.state==this.Text&&this.setText();while(this.STACK.length)this.popNode(this.STACK.pop());return this.DOM.length&&(this.DOM[0].PoweredBy="Parser",this.title&&(this.DOM[0].title=this.title)),this.DOM}},{key:"setAttr",value:function(){var t=this.getName(this.attrName);a.trustAttrs[t]&&(this.attrVal?this.attrs[t]="src"==t?this.getUrl(this.attrVal.replace(/&/g,"&")):this.attrVal:a.boolAttrs[t]&&(this.attrs[t]="T")),this.attrVal="";while(s[this.data[this.i]])this.i++;this.isClose()?this.setNode():(this.start=this.i,this.state=this.AttrName)}},{key:"setText",value:function(){var t,e=this.section();if(e)if(e=a.onText&&a.onText(e,(function(){return t=!0}))||e,t){this.data=this.data.substr(0,this.start)+e+this.data.substr(this.i);var n=this.start+e.length;for(this.i=this.start;this.iparseInt(o.substr(i+1))||-1!=(i=o.indexOf("max-width"))&&-1!=(i=o.indexOf(":",i+8))&&f",this.i))&&(this.i=this.data.length),"svg"==e){var r=this.data.substring(n,this.i+1);t.attrs.xmlns||(r=' xmlns="http://www.w3.org/2000/svg"'+r);var i=n;while("<"!=this.data[n])n--;r=this.data.substring(n,i)+r;var o=this.STACK[this.STACK.length-1];"100%"==t.attrs.width&&o&&(o.attrs.style||"").includes("inline")&&(o.attrs.style="width:300px;max-width:100%;"+o.attrs.style),this.siblings().push({name:"img",attrs:{src:"data:image/svg+xml;utf8,"+r.replace(/#/g,"%23"),ignore:"T"}})}return}}}},{key:"matchAttr",value:function(t){var e=t.attrs,n=this.CssHandler.match(t.name,e,t)+(e.style||""),r={};switch(e.id&&(1&this.compress?e.id=void 0:this.useAnchor&&this.bubble()),2&this.compress&&e.class&&(e.class=void 0),t.name){case"img":e["data-src"]&&(e.src=e.src||e["data-src"],e["data-src"]=void 0),e.src&&!e.ignore&&(this.bubble()?e.i=(this.imgNum++).toString():e.ignore="T");break;case"a":case"ad":this.bubble();break;case"font":if(e.color&&(r["color"]=e.color,e.color=void 0),e.face&&(r["font-family"]=e.face,e.face=void 0),e.size){var i=parseInt(e.size);i<1?i=1:i>7&&(i=7);r["font-size"]=["xx-small","x-small","small","medium","large","x-large","xx-large"][i-1],e.size=void 0}break;case"video":case"audio":e.id?this["".concat(t.name,"Num")]++:e.id=t.name+ ++this["".concat(t.name,"Num")],"video"==t.name&&(e.width&&(n="width:".concat(parseFloat(e.width)+(e.width.includes("%")?"%":"px"),";").concat(n),e.width=void 0),e.height&&(n="height:".concat(parseFloat(e.height)+(e.height.includes("%")?"%":"px"),";").concat(n),e.height=void 0),this.videoNum>3&&(t.lazyLoad=!0)),e.source=[],e.src&&e.source.push(e.src),!e.controls&&e.autoplay,this.bubble();break;case"td":case"th":if(e.colspan||e.rowspan)for(var o,a=this.STACK.length;o=this.STACK[--a];)if("table"==o.name){o.c=void 0;break}}e.align&&(r["text-align"]=e.align,e.align=void 0);var c=n.replace(/"/g,'"').replace(/&/g,"&").split(";");n="";for(var u=0,d=c.length;uf&&(r.height="auto"),r){var g=r[b];if((b.includes("flex")||"order"==b||"self-align"==b)&&(t.c=1),g.includes("url")){var m=g.indexOf("(");if(-1!=m++){while('"'==g[m]||"'"==g[m]||s[g[m]])m++;g=g.substr(0,m)+this.getUrl(g.substr(m))}}else g.includes("rpx")?g=g.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*f/750+"px"})):"white-space"==b&&g.includes("pre")&&(this.pre=t.pre=!0);n+=";".concat(b,":").concat(g)}n=n.substr(1),n&&(e.style=n)}},{key:"popNode",value:function(t){if(t.pre){t.pre=this.pre=void 0;for(var e=this.STACK.length;e--;)this.STACK[e].pre&&(this.pre=!0)}if("head"==t.name||a.filter&&0==a.filter(t,this))return this.siblings().pop();var n=t.attrs;if("picture"==t.name)return t.name="img",n.src||"img"!=(t.children[0]||"").name||(n.src=t.children[0].attrs.src),n.src&&!n.ignore&&(n.i=(this.imgNum++).toString()),t.children=void 0;if(a.blockTags[t.name]?t.name="div":a.trustTags[t.name]||(t.name="span"),t.c)if("ul"==t.name){for(var r=1,i=this.STACK.length;i--;)"ul"==this.STACK[i].name&&r++;if(1!=r)for(var o=t.children.length;o--;)t.children[o].floor=r}else if("ol"==t.name)for(var s,c=0,u=1;s=t.children[c++];)"li"==s.name&&(s.type="ol",s.num=function(t,e){if("a"==e)return String.fromCharCode(97+(t-1)%26);if("A"==e)return String.fromCharCode(65+(t-1)%26);if("i"==e||"I"==e){t=(t-1)%99+1;var n=(["X","XX","XXX","XL","L","LX","LXX","LXXX","XC"][Math.floor(t/10)-1]||"")+(["I","II","III","IV","V","VI","VII","VIII","IX"][t%10-1]||"");return"i"==e?n.toLowerCase():n}return t}(u++,n.type)+".");if("table"==t.name){var f=n.cellpadding,d=n.cellspacing,h=n.border;t.c&&(this.bubble(),f||(f=2),d||(d=2)),h&&(n.style="border:".concat(h,"px solid gray;").concat(n.style||"")),d&&(n.style="border-spacing:".concat(d,"px;").concat(n.style||"")),(h||f)&&function t(e){for(var n,r=0;n=e[r];r++)"th"==n.name||"td"==n.name?(h&&(n.attrs.style="border:".concat(h,"px solid gray;").concat(n.attrs.style)),f&&(n.attrs.style="padding:".concat(f,"px;").concat(n.attrs.style))):t(n.children||[])}(t.children)}if(this.CssHandler.pop&&this.CssHandler.pop(t),"div"==t.name&&!Object.keys(n).length){var l=this.siblings();1==t.children.length&&"div"==t.children[0].name&&(l[l.length-1]=t.children[0])}}},{key:"bubble",value:function(){for(var t,e=this.STACK.length;t=this.STACK[--e];){if(a.richOnlyTags[t.name])return"table"!=t.name||Object.hasOwnProperty.call(t,"c")||(t.c=1),!1;t.c=1}return!0}},{key:"getUrl",value:function(t){return"/"==t[0]?"/"==t[1]?t=this.protocol+":"+t:this.domain&&(t=this.domain+t):this.domain&&0!=t.indexOf("data:")&&!t.includes("://")&&(t=this.domain+"/"+t),t}},{key:"Text",value:function(t){if("<"==t){var e=this.data[this.i+1],n=function(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"};n(e)?(this.setText(),this.start=this.i+1,this.state=this.TagName):"/"==e?(this.setText(),n(this.data[1+ ++this.i])?(this.start=this.i+1,this.state=this.EndTag):this.Comment()):"!"==e&&(this.setText(),this.Comment())}}},{key:"Comment",value:function(){var t;t="--"==this.data.substring(this.i+2,this.i+4)?"--\x3e":"[CDATA["==this.data.substring(this.i+2,this.i+9)?"]]>":">",-1==(this.i=this.data.indexOf(t,this.i+2))?this.i=this.data.length:this.i+=t.length-1,this.start=this.i+1,this.state=this.Text}},{key:"TagName",value:function(t){if(s[t]){this.tagName=this.section();while(s[this.data[this.i]])this.i++;this.isClose()?this.setNode():(this.start=this.i,this.state=this.AttrName)}else this.isClose()&&(this.tagName=this.section(),this.setNode())}},{key:"AttrName",value:function(t){var e=s[t];if(e&&(this.attrName=this.section(),t=this.data[this.i]),"="==t){e||(this.attrName=this.section());while(s[this.data[++this.i]]);this.start=this.i--,this.state=this.AttrValue}else e?this.setAttr():this.isClose()&&(this.attrName=this.section(),this.setAttr())}},{key:"AttrValue",value:function(t){if('"'==t||"'"==t){if(this.start++,-1==(this.i=this.data.indexOf(t,this.i+1)))return this.i=this.data.length;this.attrVal=this.section(),this.i++}else{for(;!s[this.data[this.i]]&&!this.isClose();this.i++);this.attrVal=this.section()}this.setAttr()}},{key:"EndTag",value:function(t){if(s[t]||">"==t||"/"==t){for(var e=this.getName(this.section()),n=this.STACK.length;n--;)if(this.STACK[n].name==e)break;if(-1!=n){var r;while((r=this.STACK.pop()).name!=e);this.popNode(r)}else"p"!=e&&"br"!=e||this.siblings().push({name:e,attrs:{}});this.i=this.data.indexOf(">",this.i),this.start=this.i+1,-1==this.i?this.i=this.data.length:this.state=this.Text}}}]),t}();t.exports=h}).call(this,n("3223")["default"])},b51b:function(t,e,n){"use strict";var r=e;r.base=n("07a0"),r.short=n("c2b3"),r.mont=n("a52f"),r.edwards=n("db86")},b577:function(t,e,n){var r=n("6d24"),i=n("fa30"),o=n("e994");e.createCipher=e.Cipher=r.createCipher,e.createCipheriv=e.Cipheriv=r.createCipheriv,e.createDecipher=e.Decipher=i.createDecipher,e.createDecipheriv=e.Decipheriv=i.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(o)}},b69b:function(t,e,n){"use strict";var r=e;function i(t){return 1===t.length?"0"+t:t}function o(t){for(var e="",n=0;n>8,a=255&i;o?n.push(o,a):n.push(a)}return n},r.zero2=i,r.toHex=o,r.encode=function(t,e){return"hex"===e?o(t):t}},b718:function(t,e,n){var r;function i(t){this.rand=t}if(t.exports=function(t){return r||(r=new i(null)),r.generate(t)},t.exports.Rand=i,i.prototype.generate=function(t){return this._rand(t)},i.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),n=0;n */ e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,c=(1<>1,f=-7,d=n?i-1:0,h=n?-1:1,l=t[e+d];for(d+=h,o=l&(1<<-f)-1,l>>=-f,f+=s;f>0;o=256*o+t[e+d],d+=h,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=r;f>0;a=256*a+t[e+d],d+=h,f-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(l?-1:1);a+=Math.pow(2,r),o-=u}return(l?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,c,u=8*o-i-1,f=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,l=r?0:o-1,p=r?1:-1,b=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),e+=a+d>=1?h/c:h*Math.pow(2,1-d),e*c>=2&&(a++,c/=2),a+d>=f?(s=0,a=f):a+d>=1?(s=(e*c-1)*Math.pow(2,i),a+=d):(s=e*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[n+l]=255&s,l+=p,s/=256,i-=8);for(a=a<0;t[n+l]=255&a,l+=p,a/=256,u-=8);t[n+l-p]|=128*b}},bd6c:function(t,e,n){"use strict";const r=n("2c2e"),i=n("1f07").Buffer,o=n("ade1");function a(t){o.call(this,t),this.enc="pem"}r(a,o),t.exports=a,a.prototype.decode=function(t,e){const n=t.toString().split(/[\r\n]+/g),r=e.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/;let s=-1,c=-1;for(let i=0;i0&&a.length>i&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=t,s.type=e,s.count=a.length,function(t){console&&console.warn}()}return t}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function l(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=h.bind(r);return i.listener=n,r.wrapFn=i,i}function p(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[t];if(void 0===c)return!1;if("function"===typeof c)o(c,this,e);else{var u=c.length,f=g(c,u);for(n=0;n=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1=0;r--)this.removeListener(t,e[r]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):b.call(t,e)},s.prototype.listenerCount=b,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},c2b3:function(t,e,n){"use strict";var r=n("4e45"),i=n("81eb"),o=n("2c2e"),a=n("07a0"),s=r.assert;function c(t){a.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(t,e,n,r){a.BasePoint.call(this,t,"affine"),null===e&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function f(t,e,n,r){a.BasePoint.call(this,t,"jacobian"),null===e&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(c,a),t.exports=c,c.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,n,r;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var o=this._getEndoRoots(this.p);e=o[0].cmp(o[1])<0?o[0]:o[1],e=e.toRed(this.red)}if(t.lambda)n=new i(t.lambda,16);else{var a=this._getEndoRoots(this.n);0===this.g.mul(a[0]).x.cmp(this.g.x.redMul(e))?n=a[0]:(n=a[1],s(0===this.g.mul(n).x.cmp(this.g.x.redMul(e))))}return r=t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(n),{beta:e,lambda:n,basis:r}}},c.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),n=new i(2).toRed(e).redInvm(),r=n.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(n),a=r.redAdd(o).fromRed(),s=r.redSub(o).fromRed();return[a,s]},c.prototype._getEndoBasis=function(t){var e,n,r,o,a,s,c,u,f,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=t,l=this.n.clone(),p=new i(1),b=new i(0),g=new i(0),m=new i(1),v=0;while(0!==h.cmpn(0)){var y=l.div(h);u=l.sub(y.mul(h)),f=g.sub(y.mul(p));var _=m.sub(y.mul(b));if(!r&&u.cmp(d)<0)e=c.neg(),n=p,r=u.neg(),o=f;else if(r&&2===++v)break;c=u,l=h,h=u,g=p,p=f,m=b,b=_}a=u.neg(),s=f;var w=r.sqr().add(o.sqr()),S=a.sqr().add(s.sqr());return S.cmp(w)>=0&&(a=e,s=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:r,b:o},{a:a,b:s}]},c.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],r=e[1],i=r.b.mul(t).divRound(this.n),o=n.b.neg().mul(t).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),c=i.mul(n.b),u=o.mul(r.b),f=t.sub(a).sub(s),d=c.add(u).neg();return{k1:f,k2:d}},c.prototype.pointFromX=function(t,e){t=new i(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(e&&!o||!e&&o)&&(r=r.redNeg()),this.point(t,r)},c.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,r=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(t,e,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),r=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},u.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),r=t.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},u.prototype.jmulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},u.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},u.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,r=function(t){return t.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return e},u.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var t=this.curve.jpoint(this.x,this.y,this.curve.one);return t},o(f,a.BasePoint),c.prototype.jpoint=function(t,e,n){return new f(this,t,e,n)},f.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),r=this.y.redMul(e).redMul(t);return this.curve.point(n,r)},f.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},f.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(e),i=t.x.redMul(n),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(n.redMul(this.z)),s=r.redSub(i),c=o.redSub(a);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),f=u.redMul(s),d=r.redMul(u),h=c.redSqr().redIAdd(f).redISub(d).redISub(d),l=c.redMul(d.redISub(h)).redISub(o.redMul(f)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(h,l,p)},f.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,r=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),u=c.redMul(a),f=n.redMul(c),d=s.redSqr().redIAdd(u).redISub(f).redISub(f),h=s.redMul(f.redISub(d)).redISub(i.redMul(u)),l=this.z.redMul(a);return this.curve.jpoint(d,h,l)},f.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},f.prototype.inspect=function(){return this.isInfinity()?"":""},f.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},c4d7:function(t,e,n){"use strict";var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.isWeixin=function(){return-1!==navigator.userAgent.toLowerCase().indexOf("micromessenger")},e.parseQuery=a,e.silenceBindingSpread=function(t){var e=t.spid,n=t.code;e=parseInt(e),Number.isNaN(e)&&(e=0);(n||e)&&o.default.state.app.token&&(0,i.spread)({puid:e,code:n}).then((function(e){t.spid=0,t.code=0})).catch((function(t){}))};var i=n("92f9"),o=(r(n("1844")),r(n("d1e1")));function a(){var t={},e=(location.href.split("?")[1]||"").trim().replace(/^(\?|#|&)/,"");return e?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=decodeURIComponent(n.shift()),i=n.length>0?decodeURIComponent(n.join("=")):null;void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t}var s=a;e.default=s},c6dd:function(t){t.exports=JSON.parse('{"uni-datetime-picker.selectDate":"选择日期","uni-datetime-picker.selectTime":"选择时间","uni-datetime-picker.selectDateTime":"选择日期时间","uni-datetime-picker.startDate":"开始日期","uni-datetime-picker.endDate":"结束日期","uni-datetime-picker.startTime":"开始时间","uni-datetime-picker.endTime":"结束时间","uni-datetime-picker.ok":"确定","uni-datetime-picker.clear":"清除","uni-datetime-picker.cancel":"取消","uni-datetime-picker.year":"年","uni-datetime-picker.month":"月","uni-calender.SUN":"日","uni-calender.MON":"一","uni-calender.TUE":"二","uni-calender.WED":"三","uni-calender.THU":"四","uni-calender.FRI":"五","uni-calender.SAT":"六","uni-calender.confirm":"确认"}')},c741:function(t,e,n){"use strict";var r=n("ca99");function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(r.nextTick(i,n,t),n._writableState&&(n._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},c83b:function(t,e,n){"use strict";var r=n("5f79").Buffer,i=n("7125").Transform,o=n("2c2e");function a(t){i.call(this),this._block=r.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}o(a,i),a.prototype._transform=function(t,e,n){var r=null;try{this.update(t,e)}catch(i){r=i}n(r)},a.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(n){e=n}t(e)},a.prototype.update=function(t,e){if(function(t,e){if(!r.isBuffer(t)&&"string"!==typeof t)throw new TypeError(e+" must be a string or a buffer")}(t,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(t)||(t=r.from(t,e));var n=this._block,i=0;while(this._blockOffset+t.length-i>=this._blockSize){for(var o=this._blockOffset;o0;++a)this._length[a]+=s,s=this._length[a]/4294967296|0,s>0&&(this._length[a]-=4294967296*s);return this},a.prototype._update=function(){throw new Error("_update is not implemented")},a.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e},a.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=a},c8c9:function(t,e,n){"use strict";var r=n("81eb"),i=n("4e45"),o=i.assert;function a(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=a,a.fromPublic=function(t,e,n){return e instanceof a?e:new a(t,{pub:e,pubEnc:n})},a.fromPrivate=function(t,e,n){return e instanceof a?e:new a(t,{priv:e,privEnc:n})},a.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},a.prototype.getPublic=function(t,e){return"string"===typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},a.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(t,e){this.priv=new r(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?o(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},a.prototype.derive=function(t){return t.validate()||o(t.validate(),"public point not validated"),t.mul(this.priv).getX()},a.prototype.sign=function(t,e,n){return this.ec.sign(t,this,e,n)},a.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},a.prototype.inspect=function(){return""}},ca99:function(t,e,n){"use strict";(function(e){"undefined"===typeof e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,n,r,i){if("function"!==typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,n)}));case 3:return e.nextTick((function(){t.call(null,n,r)}));case 4:return e.nextTick((function(){t.call(null,n,r,i)}));default:o=new Array(s-1),a=0;while(a>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function h(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function l(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function p(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}r(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,c=0|this._f,b=0|this._g,g=0|this._h,m=0;m<16;++m)e[m]=t.readInt32BE(4*m);for(;m<64;++m)e[m]=p(e[m-2])+e[m-7]+l(e[m-15])+e[m-16]|0;for(var v=0;v<64;++v){var y=g+h(s)+u(s,c,b)+a[v]+e[v]|0,_=d(n)+f(n,r,i)|0;g=b,b=c,c=s,s=o+y|0,o=i,i=r,r=n,n=y+_|0}this._a=n+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0,this._f=c+this._f|0,this._g=b+this._g|0,this._h=g+this._h|0},c.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=c},cfef:function(t,e,n){var r=n("5f79").Buffer,i=n("f431").Transform,o=n("5f85").StringDecoder,a=n("2c2e");function s(t){i.call(this),this.hashMode="string"===typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}a(s,i),s.prototype.update=function(t,e,n){"string"===typeof t&&(t=r.from(t,e));var i=this._update(t);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(t,e,n){var r;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(i){r=i}finally{n(r)}},s.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(n){e=n}t(e)},s.prototype._finalOrDigest=function(t){var e=this.__final()||r.alloc(0);return t&&(e=this._toString(e,t,!0)),e},s.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var r=this._decoder.write(t);return n&&(r+=this._decoder.end()),r},t.exports=s},d1e1:function(t,e,n){"use strict";var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("3240")),o=r(n("8f59")),a=r(n("378f")),s=r(n("e920"));i.default.use(o.default);var c=new o.default.Store({modules:a.default,getters:s.default,strict:!1});e.default=c},d3b4:function(t,e,n){"use strict";(function(t,r){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.LOCALE_ZH_HANT=e.LOCALE_ZH_HANS=e.LOCALE_FR=e.LOCALE_ES=e.LOCALE_EN=e.I18n=e.Formatter=void 0,e.compileI18nJsonStr=function(t,e){var n=e.locale,r=e.locales,i=e.delimiters;if(!x(t,i))return t;A||(A=new d);var o=[];Object.keys(r).forEach((function(t){t!==n&&o.push({locale:t,values:r[t]})})),o.unshift({locale:n,values:r[n]});try{return JSON.stringify(M(JSON.parse(t),o,i),null,2)}catch(a){}return t},e.hasI18nJson=function t(e,n){A||(A=new d);return C(e,(function(e,r){var i=e[r];return k(i)?!!x(i,n)||void 0:t(i,n)}))},e.initVueI18n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if("string"!==typeof t){var i=[e,t];t=i[0],e=i[1]}"string"!==typeof t&&(t=S());"string"!==typeof n&&(n="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var o=new _({locale:t,fallbackLocale:n,messages:e,watcher:r}),a=function(t,e){if("function"!==typeof getApp)a=function(t,e){return o.t(t,e)};else{var n=!1;a=function(t,e){var r=getApp().$vm;return r&&(r.$locale,n||(n=!0,w(r,o))),o.t(t,e)}}return a(t,e)};return{i18n:o,f:function(t,e,n){return o.f(t,e,n)},t:function(t,e){return a(t,e)},add:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return o.add(t,e,n)},watch:function(t){return o.watchLocale(t)},getLocale:function(){return o.getLocale()},setLocale:function(t){return o.setLocale(t)}}},e.isI18nStr=x,e.isString=void 0,e.normalizeLocale=y,e.parseI18nJson=function t(e,n,r){A||(A=new d);return C(e,(function(e,i){var o=e[i];k(o)?x(o,r)&&(e[i]=E(o,n,r)):t(o,n,r)})),e},e.resolveLocale=function(t){return function(e){return e?(e=y(e)||e,function(t){var e=[],n=t.split("-");while(n.length)e.push(n.join("-")),n.pop();return e}(e).find((function(e){return t.indexOf(e)>-1}))):e}};var o=i(n("34cf")),a=i(n("67ad")),s=i(n("0bdb")),c=i(n("3b2d")),u=function(t){return null!==t&&"object"===(0,c.default)(t)},f=["{","}"],d=function(){function t(){(0,a.default)(this,t),this._caches=Object.create(null)}return(0,s.default)(t,[{key:"interpolate",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;if(!e)return[t];var r=this._caches[t];return r||(r=p(t,n),this._caches[t]=r),b(r,e)}}]),t}();e.Formatter=d;var h=/^(?:\d)+/,l=/^(?:\w)+/;function p(t,e){var n=(0,o.default)(e,2),r=n[0],i=n[1],a=[],s=0,c="";while(s-1?"zh-Hans":t.indexOf("-hant")>-1||function(t,e){return!!e.find((function(e){return-1!==t.indexOf(e)}))}(t,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var n=["en","fr","es"];e&&Object.keys(e).length>0&&(n=Object.keys(e));var r=function(t,e){return e.find((function(e){return 0===t.indexOf(e)}))}(t,n);return r||void 0}}var _=function(){function t(e){var n=e.locale,r=e.fallbackLocale,i=e.messages,o=e.watcher,s=e.formater;(0,a.default)(this,t),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],r&&(this.fallbackLocale=r),this.formater=s||v,this.messages=i||{},this.setLocale(n||"en"),o&&this.watchLocale(o)}return(0,s.default)(t,[{key:"setLocale",value:function(t){var e=this,n=this.locale;this.locale=y(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach((function(t){t(e.locale,n)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(t){var e=this,n=this.watchers.push(t)-1;return function(){e.watchers.splice(n,1)}}},{key:"add",value:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.messages[t];r?n?Object.assign(r,e):Object.keys(e).forEach((function(t){m(r,t)||(r[t]=e[t])})):this.messages[t]=e}},{key:"f",value:function(t,e,n){return this.formater.interpolate(t,e,n).join("")}},{key:"t",value:function(t,e,n){var r=this.message;return"string"===typeof e?(e=y(e,this.messages),e&&(r=this.messages[e])):n=e,m(r,t)?this.formater.interpolate(r[t],n).join(""):t}}]),t}();function w(t,e){t.$watchLocale?t.$watchLocale((function(t){e.setLocale(t)})):t.$watch((function(){return t.$locale}),(function(t){e.setLocale(t)}))}function S(){return"undefined"!==typeof t&&t.getLocale?t.getLocale():"undefined"!==typeof r&&r.getLocale?r.getLocale():"en"}e.I18n=_;var A,k=function(t){return"string"===typeof t};function x(t,e){return t.indexOf(e[0])>-1}function E(t,e,n){return A.interpolate(t,e,n).join("")}function M(t,e,n){return C(t,(function(t,r){(function(t,e,n,r){var i=t[e];if(k(i)){if(x(i,r)&&(t[e]=E(i,n[0].values,r),n.length>1)){var o=t[e+"Locales"]={};n.forEach((function(t){o[t.locale]=E(i,t.values,r)}))}}else M(i,n,r)})(t,r,e,n)})),t}function C(t,e){if(Array.isArray(t)){for(var n=0;n=t.length)&&56320===(64512&t.charCodeAt(e+1)))}function a(t){var e=t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24;return e>>>0}function s(t){return 1===t.length?"0"+t:t}function c(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"===typeof t)if(e){if("hex"===e)for(t=t.replace(/[^a-z0-9]+/gi,""),t.length%2!==0&&(t="0"+t),i=0;i>6|192,n[r++]=63&a|128):o(t,i)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++i)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(i=0;i>>0}return a},e.split32=function(t,e){for(var n=new Array(4*t.length),r=0,i=0;r>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,r){return t+e+n+r>>>0},e.sum32_5=function(t,e,n,r,i){return t+e+n+r+i>>>0},e.sum64=function(t,e,n,r){var i=t[e],o=t[e+1],a=r+o>>>0,s=(a>>0,t[e+1]=a},e.sum64_hi=function(t,e,n,r){var i=e+r>>>0,o=(i>>0},e.sum64_lo=function(t,e,n,r){var i=e+r;return i>>>0},e.sum64_4_hi=function(t,e,n,r,i,o,a,s){var c=0,u=e;u=u+r>>>0,c+=u>>0,c+=u>>0,c+=u>>0},e.sum64_4_lo=function(t,e,n,r,i,o,a,s){var c=e+r+o+s;return c>>>0},e.sum64_5_hi=function(t,e,n,r,i,o,a,s,c,u){var f=0,d=e;d=d+r>>>0,f+=d>>0,f+=d>>0,f+=d>>0,f+=d>>0},e.sum64_5_lo=function(t,e,n,r,i,o,a,s,c,u){var f=e+r+o+s+u;return f>>>0},e.rotr64_hi=function(t,e,n){var r=e<<32-n|t>>>n;return r>>>0},e.rotr64_lo=function(t,e,n){var r=t<<32-n|e>>>n;return r>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){var r=t<<32-n|e>>>n;return r>>>0}},d7a3:function(t,e,n){"use strict";const r=n("2c2e");function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}e.Reporter=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){const t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){const e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){const e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,n){const r=this._reporterState;this.exitKey(t),null!==r.obj&&(r.obj[e]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){const t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){const e=this._reporterState,n=e.obj;return e.obj=t,n},i.prototype.error=function(t){let e;const n=this._reporterState,r=t instanceof o;if(e=r?t:new o(n.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!n.options.partial)throw e;return r||n.errors.push(e),e},i.prototype.wrapResult=function(t){const e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},r(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},d7d6:function(t,e,n){"use strict";var r=n("2831");e.certificate=n("9500");var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=o;var a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));e.PublicKey=a;var s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),c=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=c;var u=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=u;var f=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=f,e.DSAparam=r.define("DSAparam",(function(){this.int()}));var d=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=d;var h=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},d896:function(t,e){var n=Math.pow(2,30)-1;t.exports=function(t,e){if("number"!==typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!==typeof e)throw new TypeError("Key length not a number");if(e<0||e>n||e!==e)throw new TypeError("Bad key length")}},dace:function(t,e,n){"use strict";var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.codeStauts=function(t){return i.default.get("user/code",t)},e.feedBackPost=function(t){return i.default.post("user/service/feedback",t)},e.kefuLogin=function(t){return i.default.post("login",t,{noAuth:!0,kefu:!0})},e.kefuScanLogin=function(t){return i.default.post("user/code",t)},e.productCart=function(t,e){return i.default.get("product/cart/"+t,e,{noAuth:!0,kefu:!0})},e.productHot=function(t,e){return i.default.get("product/hot/"+t,e,{noAuth:!0,kefu:!0})},e.productVisit=function(t,e){return i.default.get("product/visit/"+t,e,{noAuth:!0,kefu:!0})},e.record=function(t){return i.default.get("user/record",t,{noAuth:!0,kefu:!0})},e.serviceFeedBack=function(){return i.default.get("user/service/feedback")},e.serviceInfo=function(t){return i.default.get("service/info",t,{noAuth:!0,kefu:!0})},e.serviceList=function(t){return i.default.get("service/list",t,{noAuth:!0,kefu:!0})},e.serviceTransfer=function(t){return i.default.post("service/transfer",t,{noAuth:!0,kefu:!0})},e.speeChcraft=function(t){return i.default.get("service/speechcraft",t,{noAuth:!0,kefu:!0})},e.transferList=function(t){return i.default.get("service/transfer_list",t,{noAuth:!0,kefu:!0})};var i=r(n("6545"))},db86:function(t,e,n){"use strict";var r=n("4e45"),i=n("81eb"),o=n("2c2e"),a=n("07a0"),s=r.assert;function c(t){this.twisted=1!==(0|t.a),this.mOneA=this.twisted&&-1===(0|t.a),this.extended=this.mOneA,a.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|t.c)}function u(t,e,n,r,o){a.BasePoint.call(this,t,"projective"),null===e&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(c,a),t.exports=c,c.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},c.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},c.prototype.jpoint=function(t,e,n,r){return this.point(t,e,n,r)},c.prototype.pointFromX=function(t,e){t=new i(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=r.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var c=s.fromRed().isOdd();return(e&&!c||!e&&c)&&(s=s.redNeg()),this.point(t,s)},c.prototype.pointFromY=function(t,e){t=new i(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==e&&(s=s.redNeg()),this.point(s,t)},c.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),n=t.y.redSqr(),r=e.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(n)));return 0===r.cmp(i)},o(u,a.BasePoint),c.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},c.prototype.point=function(t,e,n,r){return new u(this,t,e,n,r)},u.fromJSON=function(t,e){return new u(t,e[0],e[1],e[2])},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=r.redAdd(e),a=o.redSub(n),s=r.redSub(e),c=i.redMul(a),u=o.redMul(s),f=i.redMul(s),d=a.redMul(o);return this.curve.point(c,u,d,f)},u.prototype._projDbl=function(){var t,e,n,r,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),c=this.y.redSqr();if(this.curve.twisted){r=this.curve._mulA(s);var u=r.redAdd(c);this.zOne?(t=a.redSub(s).redSub(c).redMul(u.redSub(this.curve.two)),e=u.redMul(r.redSub(c)),n=u.redSqr().redSub(u).redSub(u)):(i=this.z.redSqr(),o=u.redSub(i).redISub(i),t=a.redSub(s).redISub(c).redMul(o),e=u.redMul(r.redSub(c)),n=u.redMul(o))}else r=s.redAdd(c),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),t=this.curve._mulC(a.redISub(r)).redMul(o),e=this.curve._mulC(r).redMul(s.redISub(c)),n=r.redMul(o);return this.curve.point(t,e,n)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),r=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=n.redSub(e),a=i.redSub(r),s=i.redAdd(r),c=n.redAdd(e),u=o.redMul(a),f=s.redMul(c),d=o.redMul(c),h=a.redMul(s);return this.curve.point(u,f,h,d)},u.prototype._projAdd=function(t){var e,n,r=this.z.redMul(t.z),i=r.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),s=this.curve.d.redMul(o).redMul(a),c=i.redSub(s),u=i.redAdd(s),f=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),d=r.redMul(c).redMul(f);return this.curve.twisted?(e=r.redMul(u).redMul(a.redSub(this.curve._mulA(o))),n=c.redMul(u)):(e=r.redMul(u).redMul(a.redSub(o)),n=this.curve._mulC(c).redMul(u)),this.curve.point(d,e,n)},u.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},u.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!1)},u.prototype.jmulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},u.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var n=t.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(r),0===this.x.cmp(e))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},dc84:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},dcf6:function(t,e,n){var r=e;r.utils=n("d652"),r.common=n("6120"),r.sha=n("3424"),r.ripemd=n("08a0"),r.hmac=n("de44"),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},dd3e:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd4b:function(t,e,n){"use strict";const r=e;r.Reporter=n("d7a3").Reporter,r.DecoderBuffer=n("8936").DecoderBuffer,r.EncoderBuffer=n("8936").EncoderBuffer,r.Node=n("bee8")},ddfc:function(t,e,n){var r=n("ace9");t.exports=y,y.simpleSieve=m,y.fermatTest=v;var i=n("81eb"),o=new i(24),a=n("68ad"),s=new a,c=new i(1),u=new i(2),f=new i(5),d=(new i(16),new i(8),new i(10)),h=new i(3),l=(new i(7),new i(11)),p=new i(4),b=(new i(12),null);function g(){if(null!==b)return b;var t=[];t[0]=2;for(var e=1,n=3;n<1048576;n+=2){for(var r=Math.ceil(Math.sqrt(n)),i=0;it)n.ishrn(1);if(n.isEven()&&n.iadd(c),n.testn(1)||n.iadd(u),e.cmp(u)){if(!e.cmp(f))while(n.mod(d).cmp(h))n.iadd(p)}else while(n.mod(o).cmp(l))n.iadd(p);if(a=n.shrn(1),m(a)&&m(n)&&v(a)&&v(n)&&s.test(a)&&s.test(n))return n}}},de44:function(t,e,n){"use strict";var r=n("d652"),i=n("d3c2");function o(t,e,n){if(!(this instanceof o))return new o(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(e,n))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e>>3},e.g1_256=function(t){return i(t,17)^i(t,19)^t>>>10}},df3c:function(t,e,n){"use strict";(function(t,r){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.createApp=De,e.createComponent=He,e.createPage=ze,e.createPlugin=Ke,e.createSubpackageApp=Ve,e.default=void 0;var o,a=i(n("34cf")),s=i(n("7ca3")),c=i(n("931d")),u=i(n("af34")),f=i(n("3b2d")),d=n("d3b4"),h=i(n("3240"));function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e>16&255):64===r?String.fromCharCode(e>>16&255,e>>8&255):String.fromCharCode(e>>16&255,e>>8&255,255&e);return i}:atob;var v=Object.prototype.toString,y=Object.prototype.hasOwnProperty;function _(t){return"function"===typeof t}function w(t){return"string"===typeof t}function S(t){return"[object Object]"===v.call(t)}function A(t,e){return y.call(t,e)}function k(){}function x(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var E=/-(\w)/g,M=x((function(t){return t.replace(E,(function(t,e){return e?e.toUpperCase():""}))}));function C(t){var e={};return S(t)&&Object.keys(t).sort().forEach((function(n){e[n]=t[n]})),Object.keys(e)?e:t}var O=["invoke","success","fail","complete","returnValue"],I={},T={};function P(t,e){Object.keys(e).forEach((function(n){-1!==O.indexOf(n)&&_(e[n])&&(t[n]=function(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(t[n])){var r=e[n];e[n]=function(i){R(t[n],i,e).then((function(t){return _(r)&&r(t)||t}))}}})),e}function N(t,e){var n=[];Array.isArray(I.returnValue)&&n.push.apply(n,(0,u.default)(I.returnValue));var r=T[t];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,(0,u.default)(r.returnValue)),n.forEach((function(t){e=t(e)||e})),e}function $(t){var e=Object.create(null);Object.keys(I).forEach((function(t){"returnValue"!==t&&(e[t]=I[t].slice())}));var n=T[t];return n&&Object.keys(n).forEach((function(t){"returnValue"!==t&&(e[t]=(e[t]||[]).concat(n[t]))})),e}function U(t,e,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,i=new Array(r>1?r-1:0),o=1;o-1?"zh-Hans":t.indexOf("-hant")>-1||function(t,e){return!!e.find((function(e){return-1!==t.indexOf(e)}))}(t,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var n=function(t,e){return e.find((function(e){return 0===t.indexOf(e)}))}(t,["en","fr","es"]);return n||void 0}}function ct(){if(_(getApp)){var t=getApp({allowDefault:!0});if(t&&t.$vm)return t.$vm.$locale}return it()}var ut=[];"undefined"!==typeof r&&(r.getLocale=ct);var ft={promiseInterceptor:F},dt=Object.freeze({__proto__:null,upx2px:et,rpx2px:et,getLocale:ct,setLocale:function(t){var e=!!_(getApp)&&getApp();if(!e)return!1;var n=e.$vm.$locale;return n!==t&&(e.$vm.$locale=t,ut.forEach((function(e){return e({locale:t})})),!0)},onLocaleChange:function(t){-1===ut.indexOf(t)&&ut.push(t)},addInterceptor:function(t,e){"string"===typeof t&&S(e)?P(T[t]||(T[t]={}),e):S(t)&&P(I,t)},removeInterceptor:function(t,e){"string"===typeof t?S(e)?L(T[t],e):delete T[t]:S(t)&&L(I,t)},interceptors:ft});var ht,lt={name:function(t){return"back"===t.exists&&t.delta?"navigateBack":"redirectTo"},args:function(t){if("back"===t.exists&&t.url){var e=function(t){var e=getCurrentPages(),n=e.length;while(n--){var r=e[n];if(r.$page&&r.$page.fullPath===t)return n}return-1}(t.url);if(-1!==e){var n=getCurrentPages().length-1-e;n>0&&(t.delta=n)}}}},pt={args:function(t){var e=parseInt(t.current);if(!isNaN(e)){var n=t.urls;if(Array.isArray(n)){var r=n.length;if(r)return e<0?e=0:e>=r&&(e=r-1),e>0?(t.current=n[e],t.urls=n.filter((function(t,r){return!(r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(S(e)){var o=!0===i?e:{};for(var a in _(n)&&(n=n(e,o)||{}),e)if(A(n,a)){var s=n[a];_(s)&&(s=s(e[a],e,o)),s&&(w(s)?o[s]=e[a]:S(s)&&(o[s.name?s.name:a]=s.value))}else-1!==Ct.indexOf(a)?_(e[a])&&(o[a]=Ot(t,e[a],r)):i||(o[a]=e[a]);return o}return _(e)&&(e=Ot(t,e,r)),e}function Tt(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return _(Mt.returnValue)&&(e=Mt.returnValue(t,e)),It(t,e,n,{},r)}function Pt(e,n){if(A(Mt,e)){var r=Mt[e];return r?function(n,i){var o=r;_(r)&&(o=r(n)),n=It(e,n,o.args,o.returnValue);var a=[n];"undefined"!==typeof i&&a.push(i),_(o.name)?e=o.name(n):w(o.name)&&(e=o.name);var s=t[e].apply(t,a);return W(e)?Tt(e,s,o.returnValue,G(e)):s}:function(){}}return n}var Lt=Object.create(null);["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"].forEach((function(t){Lt[t]=function(t){return function(e){var n=e.fail,r=e.complete,i={errMsg:"".concat(t,":fail method '").concat(t,"' not supported")};_(n)&&n(i),_(r)&&r(i)}}(t)}));var Dt={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};var jt=Object.freeze({__proto__:null,getProvider:function(t){var e=t.service,n=t.success,r=t.fail,i=t.complete,o=!1;Dt[e]?(o={errMsg:"getProvider:ok",service:e,provider:Dt[e]},_(n)&&n(o)):(o={errMsg:"getProvider:fail service not found"},_(r)&&r(o)),_(i)&&i(o)}}),Rt=function(){var t;return function(){return t||(t=new h.default),t}}();function Bt(t,e,n){return t[e].apply(t,n)}var Nt,$t,Ut,Ft=Object.freeze({__proto__:null,$on:function(){return Bt(Rt(),"$on",Array.prototype.slice.call(arguments))},$off:function(){return Bt(Rt(),"$off",Array.prototype.slice.call(arguments))},$once:function(){return Bt(Rt(),"$once",Array.prototype.slice.call(arguments))},$emit:function(){return Bt(Rt(),"$emit",Array.prototype.slice.call(arguments))}});function qt(t){return function(){try{return t.apply(t,arguments)}catch(e){}}}function zt(t){try{return JSON.parse(t)}catch(e){}return t}var Ht=[];function Vt(t,e){Ht.forEach((function(n){n(t,e)})),Ht.length=0}var Kt=[];var Gt=t.getAppBaseInfo&&t.getAppBaseInfo();Gt||(Gt=t.getSystemInfoSync());var Wt=Gt?Gt.host:null,Yt=Wt&&"SAAASDK"===Wt.env?t.miniapp.shareVideoMessage:t.shareVideoMessage,Xt=Object.freeze({__proto__:null,shareVideoMessage:Yt,getPushClientId:function(t){S(t)||(t={});var e=function(t){var e={};for(var n in t){var r=t[n];_(r)&&(e[n]=qt(r),delete t[n])}return e}(t),n=e.success,r=e.fail,i=e.complete,o=_(n),a=_(r),s=_(i);Promise.resolve().then((function(){"undefined"===typeof Ut&&(Ut=!1,Nt="",$t="uniPush is not enabled"),Ht.push((function(t,e){var c;t?(c={errMsg:"getPushClientId:ok",cid:t},o&&n(c)):(c={errMsg:"getPushClientId:fail"+(e?" "+e:"")},a&&r(c)),s&&i(c)})),"undefined"!==typeof Nt&&Vt(Nt,$t)}))},onPushMessage:function(t){-1===Kt.indexOf(t)&&Kt.push(t)},offPushMessage:function(t){if(t){var e=Kt.indexOf(t);e>-1&&Kt.splice(e,1)}else Kt.length=0},invokePushCallback:function(t){if("enabled"===t.type)Ut=!0;else if("clientId"===t.type)Nt=t.cid,$t=t.errMsg,Vt(Nt,t.errMsg);else if("pushMsg"===t.type)for(var e={type:"receive",data:zt(t.message)},n=0;n1?e-1:0),r=1;r=0;o--){var a=i[o];if(a.$scope._$vueId===n)return a}for(var s=i.length-1;s>=0;s--)if(r=t(i[s],n),r)return r}(this.$vm,r)),e||(e=this.$vm),i.parent=e}function re(t){return Object.defineProperty(t,"__v_isMPComponent",{configurable:!0,enumerable:!1,value:!0}),t}function ie(t){return function(t){return null!==t&&"object"===(0,f.default)(t)}(t)&&Object.isExtensible(t)&&Object.defineProperty(t,"__ob__",{configurable:!0,enumerable:!1,value:(0,s.default)({},"__v_skip",!0)}),t}var oe=/_(.*)_worklet_factory_/;var ae=Page,se=Component,ce=/:/g,ue=x((function(t){return M(t.replace(ce,"-"))}));function fe(t){var e=t.triggerEvent,n=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{};return de("onLoad",t),ae(t)},Page.after=ae.after,Component=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return de("created",t),se(t)});function he(t,e,n){e.forEach((function(e){(function t(e,n){if(!n)return!0;if(h.default.options&&Array.isArray(h.default.options[e]))return!0;if(n=n.default||n,_(n))return!!_(n.extendOptions[e])||!!(n.super&&n.super.options&&Array.isArray(n.super.options[e]));if(_(n[e])||Array.isArray(n[e]))return!0;var r=n.mixins;return Array.isArray(r)?!!r.find((function(n){return t(e,n)})):void 0})(e,n)&&(t[e]=function(t){return this.$vm&&this.$vm.__call_hook(e,t)})}))}function le(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];pe(e).forEach((function(e){return be(t,e,n)}))}function pe(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t&&Object.keys(t).forEach((function(n){0===n.indexOf("on")&&_(t[n])&&e.push(n)})),e}function be(t,e,n){-1!==n.indexOf(e)||A(t,e)||(t[e]=function(t){return this.$vm&&this.$vm.__call_hook(e,t)})}function ge(t,e){var n;return e=e.default||e,n=_(e)?e:t.extend(e),e=n.options,[n,e]}function me(t,e){if(Array.isArray(e)&&e.length){var n=Object.create(null);e.forEach((function(t){n[t]=!0})),t.$scopedSlots=t.$slots=n}}function ve(t,e){t=(t||"").split(",");var n=t.length;1===n?e._$vueId=t[0]:2===n&&(e._$vueId=t[0],e._$vuePid=t[1])}function ye(t,e){var n=t.data||{},r=t.methods||{};if("function"===typeof n)try{n=n.call(e)}catch(i){Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"crmeb",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG}else try{n=JSON.parse(JSON.stringify(n))}catch(i){}return S(n)||(n={}),Object.keys(r).forEach((function(t){-1!==e.__lifecycle_hooks__.indexOf(t)||A(n,t)||(n[t]=r[t])})),n}var _e=[String,Number,Boolean,Object,Array,null];function we(t){return function(e,n){this.$vm&&(this.$vm[t]=e)}}function Se(t,e){var n=t.behaviors,r=t.extends,i=t.mixins,o=t.props;o||(t.props=o=[]);var a=[];return Array.isArray(n)&&n.forEach((function(t){a.push(t.replace("uni://","wx".concat("://"))),"uni://form-field"===t&&(Array.isArray(o)?(o.push("name"),o.push("value")):(o.name={type:String,default:""},o.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),S(r)&&r.props&&a.push(e({properties:ke(r.props,!0)})),Array.isArray(i)&&i.forEach((function(t){S(t)&&t.props&&a.push(e({properties:ke(t.props,!0)}))})),a}function Ae(t,e,n,r){return Array.isArray(e)&&1===e.length?e[0]:e}function ke(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>3?arguments[3]:void 0,r={};return e||(r.vueId={type:String,value:""},n.virtualHost&&(r.virtualHostStyle={type:null,value:""},r.virtualHostClass={type:null,value:""}),r.scopedSlotsCompiler={type:String,value:""},r.vueSlots={type:null,value:[],observer:function(t,e){var n=Object.create(null);t.forEach((function(t){n[t]=!0})),this.setData({$slots:n})}}),Array.isArray(t)?t.forEach((function(t){r[t]={type:null,observer:we(t)}})):S(t)&&Object.keys(t).forEach((function(e){var n=t[e];if(S(n)){var i=n.default;_(i)&&(i=i()),n.type=Ae(0,n.type),r[e]={type:-1!==_e.indexOf(n.type)?n.type:null,value:i,observer:we(e)}}else{var o=Ae(0,n);r[e]={type:-1!==_e.indexOf(o)?o:null,observer:we(e)}}})),r}function xe(t,e,n,r){var i={};return Array.isArray(e)&&e.length&&e.forEach((function(e,o){"string"===typeof e?e?"$event"===e?i["$"+o]=n:"arguments"===e?i["$"+o]=n.detail&&n.detail.__args__||r:0===e.indexOf("$event.")?i["$"+o]=t.__get_value(e.replace("$event.",""),n):i["$"+o]=t.__get_value(e):i["$"+o]=t:i["$"+o]=function(t,e){var n=t;return e.forEach((function(e){var r=e[0],i=e[2];if(r||"undefined"!==typeof i){var o,a=e[1],s=e[3];Number.isInteger(r)?o=r:r?"string"===typeof r&&r&&(o=0===r.indexOf("#s#")?r.substr(3):t.__get_value(r,n)):o=n,Number.isInteger(o)?n=i:a?Array.isArray(o)?n=o.find((function(e){return t.__get_value(a,e)===i})):S(o)&&(n=Object.keys(o).find((function(e){return t.__get_value(a,o[e])===i}))):n=o[i],s&&(n=t.__get_value(s,n))}})),n}(t,e)})),i}function Ee(t){for(var e={},n=1;n2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,a=!1,s=S(e.detail)&&e.detail.__args__||[e.detail];if(i&&(a=e.currentTarget&&e.currentTarget.dataset&&"wx"===e.currentTarget.dataset.comType,!n.length))return a?[e]:s;var c=xe(t,r,e,s),u=[];return n.forEach((function(t){"$event"===t?"__set_model"!==o||i?i&&!a?u.push(s[0]):u.push(e):u.push(e.target.value):Array.isArray(t)&&"o"===t[0]?u.push(Ee(t)):"string"===typeof t&&A(c,t)?u.push(c[t]):u.push(t)})),u}function Ce(t){var e=this;t=function(t){try{t.mp=JSON.parse(JSON.stringify(t))}catch(e){}return t.stopPropagation=k,t.preventDefault=k,t.target=t.target||{},A(t,"detail")||(t.detail={}),A(t,"markerId")&&(t.detail="object"===(0,f.default)(t.detail)?t.detail:{},t.detail.markerId=t.markerId),S(t.detail)&&(t.target=Object.assign({},t.target,t.detail)),t}(t);var n=(t.currentTarget||t.target).dataset;if(n){var r=n.eventOpts||n["event-opts"];if(r){var i=t.type,o=[];return r.forEach((function(n){var r=n[0],a=n[1],s="^"===r.charAt(0);r=s?r.slice(1):r;var c="~"===r.charAt(0);r=c?r.slice(1):r,a&&function(t,e){return t===e||"regionchange"===e&&("begin"===t||"end"===t)}(i,r)&&a.forEach((function(n){var r=n[0];if(r){var i=e.$vm;if(i.$options.generic&&(i=function(t){var e=t.$parent;while(e&&e.$parent&&(e.$options.generic||e.$parent.$options.generic||e.$scope._$vuePid))e=e.$parent;return e&&e.$parent}(i)||i),"$emit"===r)return void i.$emit.apply(i,Me(e.$vm,t,n[1],n[2],s,r));var a=i[r];if(!_(a)){var u="page"===e.$vm.mpType?"Page":"Component",f=e.route||e.is;throw new Error("".concat(u,' "').concat(f,'" does not have a method "').concat(r,'"'))}if(c){if(a.once)return;a.once=!0}var d=Me(e.$vm,t,n[1],n[2],s,r);d=Array.isArray(d)?d:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(a.toString())&&(d=d.concat([,,,,,,,,,,t])),o.push(a.apply(i,d))}}))})),"input"===i&&1===o.length&&"undefined"!==typeof o[0]?o[0]:void 0}}}var Oe={};var Ie=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function Te(){h.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var t=h.default.prototype.__call_hook;h.default.prototype.__call_hook=function(e,n){return"onLoad"===e&&n&&n.__id__&&(this.__eventChannel__=function(t){var e=Oe[t];return delete Oe[t],e}(n.__id__),delete n.__id__),t.call(this,e,n)}}function Pe(e,n){var r=n.mocks,i=n.initRefs;Te(),function(){var t={},e={};function n(t){var e=this.$options.propsData.vueId;if(e){var n=e.split(",")[0];t(n)}}h.default.prototype.$hasSSP=function(n){var r=t[n];return r||(e[n]=this,this.$on("hook:destroyed",(function(){delete e[n]}))),r},h.default.prototype.$getSSP=function(e,n,r){var i=t[e];if(i){var o=i[n]||[];return r?o:o[0]}},h.default.prototype.$setSSP=function(e,r){var i=0;return n.call(this,(function(n){var o=t[n],a=o[e]=o[e]||[];a.push(r),i=a.length-1})),i},h.default.prototype.$initSSP=function(){n.call(this,(function(e){t[e]={}}))},h.default.prototype.$callSSP=function(){n.call(this,(function(t){e[t]&&e[t].$forceUpdate()}))},h.default.mixin({destroyed:function(){var n=this.$options.propsData,r=n&&n.vueId;r&&(delete t[r],delete e[r])}})}(),e.$options.store&&(h.default.prototype.$store=e.$options.store),function(t){t.prototype.uniIDHasRole=function(t){var e=m(),n=e.role;return n.indexOf(t)>-1},t.prototype.uniIDHasPermission=function(t){var e=m(),n=e.permission;return this.uniIDHasRole("admin")||n.indexOf(t)>-1},t.prototype.uniIDTokenValid=function(){var t=m(),e=t.tokenExpired;return e>Date.now()}}(h.default),h.default.prototype.mpHost="mp-weixin",h.default.mixin({beforeCreate:function(){if(this.$options.mpType){if(this.mpType=this.$options.mpType,this.$mp=(0,s.default)({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"page"===this.mpType&&"function"===typeof getApp){var t=getApp();t.$vm&&t.$vm.$i18n&&(this._i18n=t.$vm.$i18n)}"app"!==this.mpType&&(i(this),function(t,e){var n=t.$mp[t.mpType];e.forEach((function(e){A(n,e)&&(t[e]=n[e])}))}(this,r))}}});var o={onLaunch:function(n){this.$vm||(t.canIUse&&t.canIUse("nextTick"),this.$vm=e,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",n),this.$vm.__call_hook("onLaunch",n))}};o.globalData=e.$options.globalData||{};var a=e.$options.methods;return a&&Object.keys(a).forEach((function(t){o[t]=a[t]})),function(t,e,n){var r=t.observable({locale:n||ot.getLocale()}),i=[];e.$watchLocale=function(t){i.push(t)},Object.defineProperty(e,"$locale",{get:function(){return r.locale},set:function(t){r.locale=t,i.forEach((function(e){return e(t)}))}})}(h.default,e,function(){var e,n=t.getAppBaseInfo(),r=n&&n.language?n.language:"en";return e=st(r)||"en",e}()),he(o,Ie),le(o,e.$options),o}function Le(t){return Pe(t,{mocks:Jt,initRefs:ee})}function De(t){return App(Le(t)),t}var je=/[!'()*]/g,Re=function(t){return"%"+t.charCodeAt(0).toString(16)},Be=/%2C/g,Ne=function(t){return encodeURIComponent(t).replace(je,Re).replace(Be,",")};function $e(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ne,n=t?Object.keys(t).map((function(n){var r=t[n];if(void 0===r)return"";if(null===r)return e(n);if(Array.isArray(r)){var i=[];return r.forEach((function(t){void 0!==t&&(null===t?i.push(e(n)):i.push(e(n)+"="+e(t)))})),i.join("&")}return e(n)+"="+e(r)})).filter((function(t){return t.length>0})).join("&"):null;return n?"?".concat(n):""}function Ue(t,e){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.isPage,r=e.initRelation,i=arguments.length>2?arguments[2]:void 0,o=ge(h.default,t),s=(0,a.default)(o,2),c=s[0],u=s[1],f=p({multipleSlots:!0,addGlobalClass:!0},u.options||{});u["mp-weixin"]&&u["mp-weixin"].options&&Object.assign(f,u["mp-weixin"].options);var d={options:f,data:ye(u,h.default.prototype),behaviors:Se(u,Zt),properties:ke(u.props,!1,u.__file,f),lifetimes:{attached:function(){var t=this.properties,e={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:t};ve(t.vueId,this),r.call(this,{vuePid:this._$vuePid,vueOptions:e}),this.$vm=new c(e),me(this.$vm,t.vueSlots),this.$vm.$mount()},ready:function(){this.$vm&&(this.$vm._isMounted=!0,this.$vm.__call_hook("mounted"),this.$vm.__call_hook("onReady"))},detached:function(){this.$vm&&this.$vm.$destroy()}},pageLifetimes:{show:function(t){this.$vm&&this.$vm.__call_hook("onPageShow",t)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(t){this.$vm&&this.$vm.__call_hook("onPageResize",t)}},methods:{__l:ne,__e:Ce}};return u.externalClasses&&(d.externalClasses=u.externalClasses),Array.isArray(u.wxsCallMethods)&&u.wxsCallMethods.forEach((function(t){d.methods[t]=function(e){return this.$vm[t](e)}})),i?[d,u,c]:n?d:[d,c]}(t,{isPage:Qt,initRelation:te},e)}var Fe=["onShow","onHide","onUnload"];function qe(t){var e=Ue(t,!0),n=(0,a.default)(e,2),r=n[0],i=n[1];return he(r.methods,Fe,i),r.methods.onLoad=function(t){this.options=t;var e=Object.assign({},t);delete e.__id__,this.$page={fullPath:"/"+(this.route||this.is)+$e(e)},this.$vm.$mp.query=t,this.$vm.__call_hook("onLoad",t)},le(r.methods,t,["onReady"]),function(t,e){e&&Object.keys(e).forEach((function(n){var r=n.match(oe);if(r){var i=r[1];t[n]=e[n],t[i]=e[i]}}))}(r.methods,i.methods),r}function ze(t){return Component(function(t){return qe(t)}(t))}function He(t){return Component(Ue(t))}function Ve(e){var n=Le(e),r=getApp({allowDefault:!0});e.$scope=r;var i=r.globalData;if(i&&Object.keys(n.globalData).forEach((function(t){A(i,t)||(i[t]=n.globalData[t])})),Object.keys(n).forEach((function(t){A(r,t)||(r[t]=n[t])})),_(n.onShow)&&t.onAppShow&&t.onAppShow((function(){for(var t=arguments.length,n=new Array(t),r=0;r=6?"utf-8":"binary"}else r="utf-8";t.exports=r}).call(this,n("0ee4"),n("28d0"))},e0ac:function(t,e,n){"use strict";var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.Calendar=void 0,e.addZero=f,e.checkDate=function(t){return t.match(/((19|20)\d{2})(-|\/)\d{1,2}(-|\/)\d{1,2}/g)},e.dateCompare=d,e.fixIosDateFormat=l,e.getDate=c,e.getDateTime=function(t,e){return"".concat(c(t)," ").concat(u(t,e))},e.getDefaultSecond=function(t){return t?"00:00":"00:00:00"},e.getTime=u;var i=r(n("af34")),o=r(n("67ad")),a=r(n("0bdb")),s=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.selected,r=e.startDate,i=e.endDate,a=e.range;(0,o.default)(this,t),this.date=this.getDateObj(new Date),this.selected=n||[],this.startDate=r,this.endDate=i,this.range=a,this.cleanMultipleStatus(),this.weeks={},this.lastHover=!1}return(0,a.default)(t,[{key:"setDate",value:function(t){var e=this.getDateObj(t);this.getWeeks(e.fullDate)}},{key:"cleanMultipleStatus",value:function(){this.multipleStatus={before:"",after:"",data:[]}}},{key:"setStartDate",value:function(t){this.startDate=t}},{key:"setEndDate",value:function(t){this.endDate=t}},{key:"getPreMonthObj",value:function(t){t=l(t),t=new Date(t);var e=t.getMonth();t.setMonth(e-1);var n=t.getMonth();return 0!==e&&n-e===0&&t.setMonth(n-1),this.getDateObj(t)}},{key:"getNextMonthObj",value:function(t){t=l(t),t=new Date(t);var e=t.getMonth();t.setMonth(e+1);var n=t.getMonth();return n-e>1&&t.setMonth(n-1),this.getDateObj(t)}},{key:"getDateObj",value:function(t){return t=l(t),t=new Date(t),{fullDate:c(t),year:t.getFullYear(),month:f(t.getMonth()+1),date:f(t.getDate()),day:t.getDay()}}},{key:"getPreMonthDays",value:function(t,e){for(var n=[],r=t-1;r>=0;r--){var i=e.month-1;n.push({date:new Date(e.year,i,-r).getDate(),month:i,disable:!0})}return n}},{key:"getCurrentMonthDays",value:function(t,e){for(var n=this,r=[],i=this.date.fullDate,o=function(t){var o="".concat(e.year,"-").concat(e.month,"-").concat(f(t)),a=i===o,s=n.selected&&n.selected.find((function(t){if(n.dateEqual(o,t.date))return t}));n.startDate&&d(n.startDate,o),n.endDate&&d(o,n.endDate);var c=n.multipleStatus.data,u=-1;n.range&&c&&(u=c.findIndex((function(t){return n.dateEqual(t,o)})));var h=-1!==u;r.push({fullDate:o,year:e.year,date:t,multiple:!!n.range&&h,beforeMultiple:n.isLogicBefore(o,n.multipleStatus.before,n.multipleStatus.after),afterMultiple:n.isLogicAfter(o,n.multipleStatus.before,n.multipleStatus.after),month:e.month,disable:n.startDate&&!d(n.startDate,o)||n.endDate&&!d(o,n.endDate),isToday:a,userChecked:!1,extraInfo:s})},a=1;a<=t;a++)o(a);return r}},{key:"_getNextMonthDays",value:function(t,e){for(var n=[],r=e.month+1,i=1;i<=t;i++)n.push({date:i,month:r,disable:!0});return n}},{key:"getInfo",value:function(t){var e=this;return t||(t=new Date),this.calendar.find((function(n){return n.fullDate===e.getDateObj(t).fullDate}))}},{key:"dateEqual",value:function(t,e){return t=new Date(l(t)),e=new Date(l(e)),t.valueOf()===e.valueOf()}},{key:"isLogicBefore",value:function(t,e,n){var r=e;return e&&n&&(r=d(e,n)?e:n),this.dateEqual(r,t)}},{key:"isLogicAfter",value:function(t,e,n){var r=n;return e&&n&&(r=d(e,n)?n:e),this.dateEqual(r,t)}},{key:"geDateAll",value:function(t,e){var n=[],r=t.split("-"),i=e.split("-"),o=new Date;o.setFullYear(r[0],r[1]-1,r[2]);var a=new Date;a.setFullYear(i[0],i[1]-1,i[2]);for(var s=o.getTime()-864e5,c=a.getTime()-864e5,u=s;u<=c;)u+=864e5,n.push(this.getDateObj(new Date(parseInt(u))).fullDate);return n}},{key:"setMultiple",value:function(t){if(this.range){var e=this.multipleStatus,n=e.before,r=e.after;if(n&&r){if(!this.lastHover)return void(this.lastHover=!0);this.multipleStatus.before=t,this.multipleStatus.after="",this.multipleStatus.data=[],this.multipleStatus.fulldate="",this.lastHover=!1}else n?(this.multipleStatus.after=t,d(this.multipleStatus.before,this.multipleStatus.after)?this.multipleStatus.data=this.geDateAll(this.multipleStatus.before,this.multipleStatus.after):this.multipleStatus.data=this.geDateAll(this.multipleStatus.after,this.multipleStatus.before),this.lastHover=!0):(this.multipleStatus.before=t,this.lastHover=!1);this.getWeeks(t)}}},{key:"setHoverMultiple",value:function(t){if(this.range&&!this.lastHover){var e=this.multipleStatus.before;e?(this.multipleStatus.after=t,d(this.multipleStatus.before,this.multipleStatus.after)?this.multipleStatus.data=this.geDateAll(this.multipleStatus.before,this.multipleStatus.after):this.multipleStatus.data=this.geDateAll(this.multipleStatus.after,this.multipleStatus.before)):this.multipleStatus.before=t,this.getWeeks(t)}}},{key:"setDefaultMultiple",value:function(t,e){this.multipleStatus.before=t,this.multipleStatus.after=e,t&&e&&(d(t,e)?(this.multipleStatus.data=this.geDateAll(t,e),this.getWeeks(e)):(this.multipleStatus.data=this.geDateAll(e,t),this.getWeeks(t)))}},{key:"getWeeks",value:function(t){for(var e=this.getDateObj(t),n=e.year,r=e.month,o=new Date(n,r-1,1).getDay(),a=this.getPreMonthDays(o,this.getDateObj(t)),s=new Date(n,r,0).getDate(),c=this.getCurrentMonthDays(s,this.getDateObj(t)),u=42-o-s,f=this._getNextMonthDays(u,this.getDateObj(t)),d=[].concat((0,i.default)(a),(0,i.default)(c),(0,i.default)(f)),h=new Array(6),l=0;lf||t<0)throw new TypeError("offset must be a uint32");if(t>c||t>e)throw new RangeError("offset out of range")}function h(t,e,n){if("number"!==typeof t||t!==t)throw new TypeError("size must be a number");if(t>f||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>c)throw new RangeError("buffer too small")}function l(t,e,n,i){if(r.browser){var o=t.buffer,s=new Uint8Array(o,e,n);return u.getRandomValues(s),i?void r.nextTick((function(){i(null,t)})):t}if(!i){var c=a(n);return c.copy(t,e),t}a(n,(function(n,r){if(n)return i(n);r.copy(t,e),i(null,t)}))}u&&u.getRandomValues||!r.browser?(e.randomFill=function(e,n,r,i){if(!s.isBuffer(e)&&!(e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"===typeof n)i=n,n=0,r=e.length;else if("function"===typeof r)i=r,r=e.length-n;else if("function"!==typeof i)throw new TypeError('"cb" argument must be a function');return d(n,e.length),h(r,n,e.length),l(e,n,r,i)},e.randomFillSync=function(e,n,r){"undefined"===typeof n&&(n=0);if(!s.isBuffer(e)&&!(e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');d(n,e.length),void 0===r&&(r=e.length-n);return h(r,n,e.length),l(e,n,r)}):(e.randomFill=i,e.randomFillSync=i)}).call(this,n("0ee4"),n("28d0"))},e158:function(t){t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},e2c3:function(t,e){t.exports=function(t){var e,n=t.length;while(n--){if(e=t.readUInt8(n),255!==e){e++,t.writeUInt8(e,n);break}t.writeUInt8(0,n)}}},e3fe:function(t,e,n){t.exports=n("7125").Transform},e500:function(t,e,n){var r=n("81eb"),i=n("5f79").Buffer;t.exports=function(t,e){return i.from(t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed().toArray())}},e6db:function(t,e,n){var r=n("3b2d")["default"];t.exports=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},e920:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={token:function(t){return t.app.token},isLogin:function(t){return!!t.app.token},backgroundColor:function(t){return t.app.backgroundColor},userInfo:function(t){return t.app.userInfo||{}},uid:function(t){return t.app.uid},homeActive:function(t){return t.app.homeActive},divisionApplyPhoneVerify:function(t){return t.app.division_apply_phone_verify},brokerageApplyPhoneVerify:function(t){return t.app.brokerage_apply_phone_verify},channelApplyPhoneVerify:function(t){return t.app.channel_apply_phone_verify},supplierApplyPhoneVerify:function(t){return t.app.supplier_apply_phone_verify},home:function(t){return t.app.home},cartNum:function(t){return t.indexData.cartNum},diyProduct:function(t){return t.app.diyProduct},diyCategory:function(t){return t.app.diyCategory},productVideoStatus:function(t){return t.app.productVideoStatus},brokerageFuncStatus:function(t){return t.app.brokerageFuncStatus},tabBarData:function(t){return t.app.tabBarData},storeBrokerageStatus:function(t){return t.app.store_brokerage_status},storeBrokeragePrice:function(t){return t.app.store_brokerage_price},activityModalData:function(t){return t.app.activityModalList}}},e941:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.QRCode=e.GetUtF16TO8=e.GetPx=e.GetPixelRatio=e.GetImg=e.BarCode=void 0;var n=function(){return(n=Object.assign||function(t){for(var e,n=1,r=arguments.length;ni[0]&&a[1]>12&15),r+=String.fromCharCode(128|e>>6&63)):r+=String.fromCharCode(192|e>>6&31),r+=String.fromCharCode(128|e>>0&63));return r},m=function(e){var n=h(Number(e.width)),r=h(Number(e.height)),i=l("pixelRatio"),o=n*i,a=r*i;return new Promise((function(i){"[object String]"==Object.prototype.toString.call(e.id)?t.canvasToTempFilePath({canvasId:e.id,width:n,height:r,destWidth:o,destHeight:a,fileType:e.type||"jpg",quality:e.quality||1,complete:function(t){i(t)}},e.ctx):"[object Object]"==Object.prototype.toString.call(e.id)&&e.id.toTempFilePath(0,0,n,r,o,a,e.type||"png",1,(function(t){i(t)}))}))},v=function(t,e,n,r){return n=t.createLinearGradient(0,0,e,n),1===r.length&&(n.addColorStop(0,r[0]),n.addColorStop(1,r[0])),2===r.length&&(n.addColorStop(0,r[0]),n.addColorStop(1,r[1])),3===r.length&&(n.addColorStop(0,r[0]),n.addColorStop(.5,r[1]),n.addColorStop(1,r[2])),4===r.length&&(n.addColorStop(0,r[0]),n.addColorStop(.35,r[1]),n.addColorStop(.7,r[2]),n.addColorStop(1,r[3])),5===r.length&&(n.addColorStop(0,r[0]),n.addColorStop(.35,r[1]),n.addColorStop(.6,r[2]),n.addColorStop(.8,r[3]),n.addColorStop(1,r[4])),6===r.length&&(n.addColorStop(0,r[0]),n.addColorStop(.25,r[1]),n.addColorStop(.45,r[2]),n.addColorStop(.65,r[3]),n.addColorStop(.85,r[4]),n.addColorStop(1,r[5])),7===r.length&&(n.addColorStop(0,r[0]),n.addColorStop(.15,r[1]),n.addColorStop(.35,r[2]),n.addColorStop(.45,r[3]),n.addColorStop(.65,r[4]),n.addColorStop(.85,r[5]),n.addColorStop(1,r[6])),8===r.length&&(n.addColorStop(0,r[0]),n.addColorStop(.1,r[1]),n.addColorStop(.25,r[2]),n.addColorStop(.45,r[3]),n.addColorStop(.65,r[4]),n.addColorStop(.85,r[5]),n.addColorStop(.9,r[6]),n.addColorStop(1,r[7])),9===r.length&&(n.addColorStop(0,r[0]),n.addColorStop(.2,r[1]),n.addColorStop(.3,r[2]),n.addColorStop(.5,r[3]),n.addColorStop(.6,r[4]),n.addColorStop(.7,r[5]),n.addColorStop(.8,r[6]),n.addColorStop(.9,r[7]),n.addColorStop(1,r[8])),10<=r.length&&(n.addColorStop(0,r[0]),n.addColorStop(.1,r[1]),n.addColorStop(.2,r[2]),n.addColorStop(.3,r[3]),n.addColorStop(.4,r[4]),n.addColorStop(.5,r[5]),n.addColorStop(.6,r[6]),n.addColorStop(.7,r[7]),n.addColorStop(.85,r[8]),n.addColorStop(1,r[9])),n},y=function(){function t(t){void 0===t&&(t=2),this.strinbuf=[],this.eccbuf=[],this.qrframe=[],this.framask=[],this.rlens=[],this.genpoly=[],this.ecclevel=2,this.N1=3,this.N2=3,this.N3=40,this.N4=10,this.neccblk2=0,this.width=0,this.neccblk1=0,this.datablkw=0,this.eccblkwid=0,this.ecclevel=t}return t.prototype.setmask=function(t,e){var n=null;e>=1,this.framask[n+=t]=1},t.prototype.getWidth=function(){return this.width},t.prototype.putalign=function(t,e){this.qrframe[t+this.width*e]=1;for(var n=-2;n<2;n++)this.qrframe[t+n+this.width*(e-2)]=1,this.qrframe[t-2+this.width*(e+n+1)]=1,this.qrframe[t+2+this.width*(e+n)]=1,this.qrframe[t+n+1+this.width*(e+2)]=1;for(n=0;n<2;n++)this.setmask(t-1,e+n),this.setmask(t+1,e-n),this.setmask(t-n,e-1),this.setmask(t+n,e+1)},t.prototype.modnn=function(t){for(;255<=t;)t=((t-=255)>>8)+(255&t);return t},t.prototype.appendrs=function(t,e,n,r){for(var i,o=0;o>=1,this.framask[n+=t]},t.prototype.badruns=function(t){for(var e=0,n=0;n<=t;n++)5<=this.rlens[n]&&(e+=this.N1+this.rlens[n]-5);for(n=3;n=4*this.rlens[n]||3*this.rlens[n+3]>=4*this.rlens[n])&&(e+=this.N3);return e},t.prototype.toNum=function(t){return 0===t?1:0},t.prototype.applymask=function(t){switch(t){case 0:for(var e=0;e>1&1,n=0;n>i-12:e>>i)?(this.qrframe[5-g+this.width*(2-m+this.width-11)]=1,this.qrframe[2-m+this.width-11+this.width*(5-g)]=1):(this.setmask(5-g,2-m+this.width-11),this.setmask(2-m+this.width-11,5-g));for(m=0;m>4;this.strinbuf[2]|=255&h<<4,this.strinbuf[1]=h>>4,this.strinbuf[0]=64|h>>12}else{for(this.strinbuf[p+1]=0,this.strinbuf[p+2]=0;p--;)e=this.strinbuf[p],this.strinbuf[p+2]|=255&e<<4,this.strinbuf[p+1]=e>>4;this.strinbuf[1]|=255&h<<4,this.strinbuf[0]=64|h>>4}for(p=h+3-(l<10?1:0);p>=1)1&d&&(this.qrframe[this.width-1-w+8*this.width]=1,w<6?this.qrframe[8+this.width*w]=1:this.qrframe[8+this.width*(w+1)]=1);for(w=0;w<7;w++,d>>=1)1&d&&(this.qrframe[8+this.width*(this.width-7+w)]=1,w?this.qrframe[6-w+8*this.width]=1:this.qrframe[7+8*this.width]=1);return this.qrframe},t.prototype.badcheck=function(){for(var t=0,e=0,n=0,r=0,i=0,o=0,a=0,s=0;sthis.width*this.width;)u-=this.width*this.width,f++;for(t+=f*this.N4,c=0;co+1?n[o+1]:-1;i=i.concat(function(t,n,r){var i=[],o=-1;if(k(t,r))5==r&&(-1==n?(o=100,r=4):k(n,r)||(r=k(n,3)?(o=101,3):(o=100,4)));else if(-1==n||k(n,r))o=98;else switch(r){case 3:o=100,r=4;break;case 4:o=101,r=3}return-1!=o?(i.push(o),i.push(A(t))):5==r?i.push(A(t,n)):i.push(A(t)),e.currcs=r,i}(a,s,e.currcs));5==e.currcs&&o++}for(var c=i[0],u=1;u-1?setImmediate:i.nextTick;m.WritableState=g;var c=Object.create(n("8ce8"));c.inherits=n("2c2e");var u={deprecate:n("88fd")},f=n("51c3"),d=n("5f79").Buffer,h=r.Uint8Array||function(){};var l,p=n("c741");function b(){}function g(t,e){a=a||n("0ec1"),t=t||{};var r=e instanceof a;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var c=t.highWaterMark,u=t.writableHighWaterMark,f=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:r&&(u||0===u)?u:f,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===t.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){(function(t,e){var n=t._writableState,r=n.sync,o=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)(function(t,e,n,r,o){--e.pendingcb,n?(i.nextTick(o,r),i.nextTick(A,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(o(r),t._writableState.errorEmitted=!0,t.emit("error",r),A(t,e))})(t,n,r,e,o);else{var a=w(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||_(t,n),r?s(y,t,n,a,o):y(t,n,a,o)}})(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function m(t){if(a=a||n("0ec1"),!l.call(m,this)&&!(this instanceof a))return new m(t);this._writableState=new g(t,this),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),f.call(this)}function v(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function y(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),A(t,e)}function _(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,i=new Array(r),a=e.corkedRequestsFree;a.entry=n;var s=0,c=!0;while(n)i[s]=n,n.isBuf||(c=!1),n=n.next,s+=1;i.allBuffers=c,v(t,e,!0,e.length,i,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{while(n){var u=n.chunk,f=n.encoding,d=n.callback,h=e.objectMode?1:u.length;if(v(t,e,!1,h,u,f,d),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function w(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function S(t,e){t._final((function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),A(t,e)}))}function A(t,e){var n=w(e);return n&&(function(t,e){e.prefinished||e.finalCalled||("function"===typeof t._final?(e.pendingcb++,e.finalCalled=!0,i.nextTick(S,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}c.inherits(m,f),g.prototype.getBuffer=function(){var t=this.bufferedRequest,e=[];while(t)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(g.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(t){return!!l.call(this,t)||this===m&&(t&&t._writableState instanceof g)}})):l=function(t){return t instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(t,e,n){var r=this._writableState,o=!1,a=!r.objectMode&&function(t){return d.isBuffer(t)||t instanceof h}(t);return a&&!d.isBuffer(t)&&(t=function(t){return d.from(t)}(t)),"function"===typeof e&&(n=e,e=null),a?e="buffer":e||(e=r.defaultEncoding),"function"!==typeof n&&(n=b),r.ended?function(t,e){var n=new Error("write after end");t.emit("error",n),i.nextTick(e,n)}(this,n):(a||function(t,e,n,r){var o=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),i.nextTick(r,a),o=!1),o}(this,r,t,n))&&(r.pendingcb++,o=function(t,e,n,r,i,o){if(!n){var a=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=d.from(e,n));return e}(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var c=e.length-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(t,e,n){var r=this._writableState;"function"===typeof t?(n=t,t=null,e=null):"function"===typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(t,e,n){e.ending=!0,A(t,e),n&&(e.finished?i.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,r,n)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),m.prototype.destroy=p.destroy,m.prototype._undestroy=p.undestroy,m.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,n("28d0"),n("0ee4"))},ee10:function(t,e){function n(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,i)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,c,"next",t)}function c(t){n(a,i,o,s,c,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},f076:function(t,e){},f0e3:function(t,e,n){"use strict";(function(t){var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.createAnimation=function(t,e){if(!e)return;return clearTimeout(e.timer),new u(t,e)};var i=r(n("7ca3")),o=r(n("67ad")),a=r(n("0bdb"));function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.$.$refs["ani"].ref;if(n)return new Promise((function(r,i){nvueAnimation.transition(n,c({styles:t},e),(function(t){r()}))}))}},{key:"_nvueNextAnimate",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0,i=t[n];if(i){var o=i.styles,a=i.config;this._animateRun(o,a).then((function(){n+=1,e._nvueNextAnimate(t,n,r)}))}else this.currentStepAnimates={},"function"===typeof r&&r(),this.isEnd=!0}},{key:"step",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(t),this}},{key:"run",value:function(t){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof t&&t()}),this.$.durationTime)}}]),e}(),f=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];f.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((function(t){u.prototype[t]=function(){var e;return(e=this.animation)[t].apply(e,arguments),this}}))}).call(this,n("df3c")["default"])},f180:function(t){t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},f2aa:function(t,e,n){var r=n("5f79").Buffer,i=n("1f63");function o(t,e,n){var o=e.length,a=i(e,t._cache);return t._cache=t._cache.slice(o),t._prev=r.concat([t._prev,n?e:a]),a}e.encrypt=function(t,e,n){var i,a=r.allocUnsafe(0);while(e.length){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=r.allocUnsafe(0)),!(t._cache.length<=e.length)){a=r.concat([a,o(t,e,n)]);break}i=t._cache.length,a=r.concat([a,o(t,e.slice(0,i),n)]),e=e.slice(i)}return a}},f3bb:function(t,e,n){t.exports=n("edd4")},f3fd:function(t,e,n){"use strict";var r=n("d652"),i=n("6120"),o=n("d3c2"),a=r.rotr64_hi,s=r.rotr64_lo,c=r.shr64_hi,u=r.shr64_lo,f=r.sum64,d=r.sum64_hi,h=r.sum64_lo,l=r.sum64_4_hi,p=r.sum64_4_lo,b=r.sum64_5_hi,g=r.sum64_5_lo,m=i.BlockHash,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;m.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}function _(t,e,n,r,i){var o=t&n^~t&i;return o<0&&(o+=4294967296),o}function w(t,e,n,r,i,o){var a=e&r^~e&o;return a<0&&(a+=4294967296),a}function S(t,e,n,r,i){var o=t&n^t&i^n&i;return o<0&&(o+=4294967296),o}function A(t,e,n,r,i,o){var a=e&r^e&o^r&o;return a<0&&(a+=4294967296),a}function k(t,e){var n=a(t,e,28),r=a(e,t,2),i=a(e,t,7),o=n^r^i;return o<0&&(o+=4294967296),o}function x(t,e){var n=s(t,e,28),r=s(e,t,2),i=s(e,t,7),o=n^r^i;return o<0&&(o+=4294967296),o}function E(t,e){var n=a(t,e,14),r=a(t,e,18),i=a(e,t,9),o=n^r^i;return o<0&&(o+=4294967296),o}function M(t,e){var n=s(t,e,14),r=s(t,e,18),i=s(e,t,9),o=n^r^i;return o<0&&(o+=4294967296),o}function C(t,e){var n=a(t,e,1),r=a(t,e,8),i=c(t,e,7),o=n^r^i;return o<0&&(o+=4294967296),o}function O(t,e){var n=s(t,e,1),r=s(t,e,8),i=u(t,e,7),o=n^r^i;return o<0&&(o+=4294967296),o}function I(t,e){var n=a(t,e,19),r=a(e,t,29),i=c(t,e,6),o=n^r^i;return o<0&&(o+=4294967296),o}function T(t,e){var n=s(t,e,19),r=s(e,t,29),i=u(t,e,6),o=n^r^i;return o<0&&(o+=4294967296),o}r.inherits(y,m),t.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(t,e){for(var n=this.W,r=0;r<32;r++)n[r]=t[e+r];for(;rn-h-2)throw new Error("message too long");var l=d.alloc(n-r-h-2),p=n-f-1,b=i(f),g=s(d.concat([u,l,d.alloc(1,1),e],p),a(b,p)),m=s(b,a(g,f));return new c(d.concat([d.alloc(1),m,g],n))}(p,e);else if(1===h)l=function(t,e,n){var r,o=e.length,a=t.modulus.byteLength();if(o>a-11)throw new Error("message too long");r=n?d.alloc(a-o-3,255):function(t){var e,n=d.allocUnsafe(t),r=0,o=i(2*t),a=0;while(r=0)throw new Error("data too long for modulus")}return n?f(l,p):u(l,p)}},f7f6:function(t,e,n){var r=n("67ad"),i=n("0bdb"),o=n("7ca3"),a=n("d61a"),s=function(){"use strict";function t(e){var n=this;r(this,t),o(this,"getStyle",(function(t){return n.styles=new c(t,n.styles).parse()}));var i=Object.assign({},a.userAgentStyles);for(var s in e)i[s]=(i[s]?i[s]+";":"")+e[s];this.styles=i}return i(t,[{key:"match",value:function(t,e){var n,r=(n=this.styles[t])?n+";":"";if(e.class)for(var i,o=e.class.split(" "),a=0;i=o[a];a++)(n=this.styles["."+i])&&(r+=n+";");return(n=this.styles["#"+e.id])&&(r+=n+";"),r}}]),t}();t.exports=s;var c=function(){"use strict";function t(e,n){var i=this;r(this,t),o(this,"section",(function(){return i.data.substring(i.start,i.i)})),o(this,"isLetter",(function(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"})),this.data=e,this.floor=0,this.i=0,this.list=[],this.res=n,this.state=this.Space}return i(t,[{key:"parse",value:function(){for(var t;t=this.data[this.i];this.i++)this.state(t);return this.res}},{key:"Space",value:function(t){"."==t||"#"==t||this.isLetter(t)?(this.start=this.i,this.state=this.Name):"/"==t&&"*"==this.data[this.i+1]?this.Comment():a.blankChar[t]||";"==t||(this.state=this.Ignore)}},{key:"Comment",value:function(){this.i=this.data.indexOf("*/",this.i)+1,this.i||(this.i=this.data.length),this.state=this.Space}},{key:"Ignore",value:function(t){"{"==t?this.floor++:"}"!=t||--this.floor||(this.state=this.Space)}},{key:"Name",value:function(t){a.blankChar[t]?(this.list.push(this.section()),this.state=this.NameSpace):"{"==t?(this.list.push(this.section()),this.Content()):","==t?(this.list.push(this.section()),this.Comma()):!this.isLetter(t)&&(t<"0"||t>"9")&&"-"!=t&&"_"!=t&&(this.state=this.Ignore)}},{key:"NameSpace",value:function(t){"{"==t?this.Content():","==t?this.Comma():a.blankChar[t]||(this.state=this.Ignore)}},{key:"Comma",value:function(){while(a.blankChar[this.data[++this.i]]);"{"==this.data[this.i]?this.Content():(this.start=this.i--,this.state=this.Name)}},{key:"Content",value:function(){this.start=++this.i,-1==(this.i=this.data.indexOf("}",this.i))&&(this.i=this.data.length);for(var t,e=this.section(),n=0;t=this.list[n++];)this.res[t]?this.res[t]+=";"+e:this.res[t]=e;this.list=[],this.state=this.Space}}]),t}()},f874:function(t,e,n){"use strict";var r=n("5f79").Buffer,i=n(1);function o(t,e,n){t.copy(e,n)}t.exports=function(){function t(){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";var e=this.head,n=""+e.data;while(e=e.next)n+=t+e.data;return n},t.prototype.concat=function(t){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;var e=r.allocUnsafe(t>>>0),n=this.head,i=0;while(n)o(n.data,e,i),i+=n.data.length,n=n.next;return e},t}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},f89f:function(t,e,n){var r,i,o=n("3b2d");!function(a,s){"object"==o(e)&&"undefined"!=typeof t?t.exports=s():(r=s,i="function"===typeof r?r.call(e,n,e,t):r,void 0===i||(t.exports=i))}(0,(function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",i="day",a="week",s="month",c="quarter",u="year",f=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,d=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},l={s:h,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+h(r,2,"0")+":"+h(i,2,"0")},m:function(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,s),i=e-r<0,o=t.clone().add(n+(i?-1:1),s);return Number(-(n+(e-r)/(i?r-o:o-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(o){return{M:s,y:u,w:a,d:i,D:"date",h:r,m:n,s:e,ms:t,Q:c}[o]||String(o||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},b="en",g={};g[b]=p;var m=function(t){return t instanceof w},v=function(t,e,n){var r;if(!t)return b;if("string"==typeof t)g[t]&&(r=t),e&&(g[t]=e,r=t);else{var i=t.name;g[i]=t,r=i}return!n&&r&&(b=r),r||!n&&b},y=function(t,e){if(m(t))return t.clone();var n="object"==o(e)?e:{};return n.date=t,n.args=arguments,new w(n)},_=l;_.l=v,_.i=m,_.w=function(t,e){return y(t,{locale:e.$L,utc:e.$u,$offset:e.$offset})};var w=function(){function o(t){this.$L=this.$L||v(t.locale,null,!0),this.parse(t)}var h=o.prototype;return h.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(_.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(f);if(r)return n?new Date(Date.UTC(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)):new Date(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)}return new Date(e)}(t),this.init()},h.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},h.$utils=function(){return _},h.isValid=function(){return!("Invalid Date"===this.$d.toString())},h.isSame=function(t,e){var n=y(t);return this.startOf(e)<=n&&n<=this.endOf(e)},h.isAfter=function(t,e){return y(t)16)throw new Error("unable to decrypt data");var n=-1;while(++n16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},h.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var n=o[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=u(e,!1,n.key,n.iv);return l(t,r.key,r.iv)},e.createDecipheriv=l},fcc2:function(t,e,n){t.exports=n("7125").PassThrough},fef7:function(t,e,n){e.pbkdf2=n("1941"),e.pbkdf2Sync=n("66ad")},ff2d:function(t,e,n){var r=n("0446"),i=n("5f79").Buffer,o=n("cfef"),a=n("2c2e"),s=n("50f1"),c=n("1f63"),u=n("e2c3");function f(t,e,n,a){o.call(this);var c=i.alloc(4,0);this._cipher=new r.AES(e);var f=this._cipher.encryptBlock(c);this._ghash=new s(f),n=function(t,e,n){if(12===e.length)return t._finID=i.concat([e,i.from([0,0,0,1])]),i.concat([e,i.from([0,0,0,2])]);var r=new s(n),o=e.length,a=o%16;r.update(e),a&&(a=16-a,r.update(i.alloc(a,0))),r.update(i.alloc(8,0));var c=8*o,f=i.alloc(8);f.writeUIntBE(c,0,8),r.update(f),t._finID=r.state;var d=i.from(t._finID);return u(d),d}(this,n,f),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}a(f,o),f.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=i.alloc(e,0),this._ghash.update(e))}this._called=!0;var n=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(n),this._len+=t.length,n},f.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var n=0;t.length!==e.length&&n++;for(var r=Math.min(t.length,e.length),i=0;i