错误记录
无    2019-12-06 09:48:37    1438    0    0
xianglijiaxing

 

 

GET http://test-yxl.900sup.com/static/js/chunk-vendors.150e5704.js net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)

 

rm -rf  /usr/local/nginx/proxy_temp 

修改proxy_temp和fastcgi_tmp 的目录权限

chown -R www.www ./fastcgi_tmp

实际上,如果配置nginx_error 日志的话,出现这个问题会在日志中发现

这样的话修改权限就行了,如果不想这样的话,可以修改nginx的缓存文件的大小,这个基本一查就查到了就不写了

"/usr/local/nginx/fastcgi_temp/2/57/0000000572" failed (13: Permission denied) while reading upstream,

 

 

nginx gzip :

 

gzip            on; // 开启gzip  off关闭
gzip_min_length 1k;  // 设置允许压缩的页面最小字节(从header头的Content-Length中获取) 建议大于1k
gzip_buffers    4 16k; // 以16k为单位,按照原始数据大小以16k为单位的4倍申请内存
gzip_http_version 1.1; // 识别http协议的版本,早期浏览器可能不支持gzip自解压,用户会看到乱码
gzip_comp_level 2; // 等级1-9 最小的压缩最快 但是消耗cpu
gzip_types      text/plain application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png; // 匹配压缩类型
gzip_vary       off;  // 启用应答头"Vary: Accept-Encoding"
gzip_proxied off; // nginx做为反向代理时启用,off(关闭所有代理结果的数据的压缩),expired(启用压缩,如果header头中包括"Expires"头信息),no-cache(启用压缩,header头中包含"Cache-Control:no-cache"),no-store(启用压缩,header头中包含"Cache-Control:no-store"),private(启用压缩,header头中包含"Cache-Control:private"),no_last_modefied(启用压缩,header头中不包含"Last-Modified"),no_etag(启用压缩,如果header头中不包含"Etag"头信息),auth(启用压缩,如果header头中包含"Authorization"头信息)
gzip_disable    "MSIE [1-6]\."; // (IE5.5和IE6 SP1使用msie6参数来禁止gzip压缩 )指定哪些不需要gzip压缩的浏览器(将和User-Agents进行匹配),依赖于PCRE库

 

 

Chunked body did not terminate properly with 0-sized chunk

 

 

 

 

 

响应信息被截断:

 

HTTP/1.1 200 OK
Date: Thu, 05 Dec 2019 02:55:13 GMT
Content-Type: application/javascript
Connection: keep-alive
Vary: Accept-Encoding
Last-Modified: Thu, 05 Dec 2019 02:08:16 GMT
Content-Length: 302227

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00bb":function(t,e,n){(function(e,r,i){t.exports=r(n("21bf"),n("38ba"))})(0,function(t){return t.mode.CFB=function(){var e=t.lib.BlockCipherMode.extend();function n(t,e,n,r){var i=this._iv;if(i){var o=i.slice(0);this._iv=void 0}else o=this._prevBlock;r.encryptBlock(o,0);for(var a=0;a<n;a++)t[e+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize;n.call(this,t,e,i,r),this._prevBlock=t.slice(e,e+i)}}),e.Decryptor=e.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize,o=t.slice(e,e+i);n.call(this,t,e,i,r),this._prevBlock=o}}),e}(),t.mode.CFB})},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",v="values",g=function(){return this};t.exports=function(t,e,n,m,y,b,_){c(n,e,m);var w,S,k,x=function(t){if(!h&&t in E)return E[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",C=y==v,O=!1,E=t.prototype,A=E[f]||E[d]||y&&E[y],M=A||x(y),j=y?C?x("entries"):M:void 0,I="Array"==e&&E.entries||A;if(I&&(k=l(I.call(new t)),k!==Object.prototype&&k.next&&(u(k,T,!0),r||"function"==typeof k[f]||a(k,f,g))),C&&A&&A.name!==v&&(O=!0,M=function(){return A.call(this)}),r&&!_||!h&&!O&&E[f]||a(E,f,M),s[e]=M,s[T]=g,y)if(w={values:C?M:x(v),keys:b?M:x(p),entries:j},_)for(S in w)S in E||o(E,S,w[S]);else i(i.P+i.F*(h||O),e,w);return w}},"0298":function(t,e,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("6a99");r(r.P+r.F*n("79e5")(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"042e":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{fround:n("91ca")})},"049f":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{log1p:n("d6c6")})},"04ff":function(t,e,n){var r=n("5ca1"),i=n("3ca5");r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},"07d6":function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},"097d":function(t,e,n){"use strict";var r=n("5ca1"),i=n("8378"),o=n("7726"),a=n("ebd6"),s=n("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},"09fa":function(t,e,n){var r=n("4588"),i=n("9def");t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),a=n("9def"),s=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,f=6==t,h=5==t||f,d=e||s;return function(e,s,p){for(var v,g,m=o(e),y=i(m),b=r(s,p,3),_=a(y.length),w=0,S=n?d(e,_):c?d(e,0):void 0;_>w;w++)if((h||w in y)&&(v=y[w],g=b(v,w,m),t))if(n)S[w]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:S.push(v)}else if(l)return!1;return f?-1:u||l?l:S}}},"0b21":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{sign:n("96fb")})},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0d6d":function(t,e,n){var r=n("d3f4"),i=n("67ab").onFreeze;n("5eda")("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},"0f88":function(t,e,n){var r,i=n("7726"),o=n("32e9"),a=n("ca5a"),s=a("typed_array"),c=a("view"),u=!(!i.ArrayBuffer||!i.DataView),l=u,f=0,h=9,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(f<h)(r=i[d[f++]])?(o(r.prototype,s,!0),o(r.prototype,c,!0)):l=!1;t.exports={ABV:u,CONSTR:l,TYPED:s,VIEW:c}},"10ad":function(t,e,n){"use strict";var r,i=n("7726"),o=n("0a49")(0),a=n("2aba"),s=n("67ab"),c=n("7333"),u=n("643e"),l=n("d3f4"),f=n("b39a"),h=n("b39a"),d=!i.ActiveXObject&&"ActiveXObject"in i,p="WeakMap",v=s.getWeak,g=Object.isExtensible,m=u.ufstore,y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(t){if(l(t)){var e=v(t);return!0===e?m(f(this,p)).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(f(this,p),t,e)}},_=t.exports=n("e0b8")(p,y,b,u,!0,!0);h&&d&&(r=u.getConstructor(y,p),c(r.prototype,b),s.NEED=!0,o(["delete","has","get","set"],function(t){var e=_.prototype,n=e[t];a(e,t,function(e,i){if(l(e)&&!g(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)})}))},"10b7":function(t,e,n){(function(e,r){t.exports=r(n("21bf"))})(0,function(t){
/** @preserve
	(c) 2012 by Cédric Mesnil. All rights reserved.

	Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

	    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
	    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
	*/
return function(e){var n=t,r=n.lib,i=r.WordArray,o=r.Hasher,a=n.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),f=i.create([0,1518500249,1859775393,2400959708,2840853838]),h=i.create([1352829926,1548603684,1836072691,2053994217,0]),d=a.RIPEMD160=o.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var r=e+n,i=t[r];t[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,a,d,_,w,S,k,x,T,C,O,E=this._hash.words,A=f.words,M=h.words,j=s.words,I=c.words,P=u.words,$=l.words;S=o=E[0],k=a=E[1],x=d=E[2],T=_=E[3],C=w=E[4];for(n=0;n<80;n+=1)O=o+t[e+j[n]]|0,O+=n<16?p(a,d,_)+A[0]:n<32?v(a,d,_)+A[1]:n<48?g(a,d,_)+A[2]:n<64?m(a,d,_)+A[3]:y(a,d,_)+A[4],O|=0,O=b(O,P[n]),O=O+w|0,o=w,w=_,_=b(d,10),d=a,a=O,O=S+t[e+I[n]]|0,O+=n<16?y(k,x,T)+M[0]:n<32?m(k,x,T)+M[1]:n<48?g(k,x,T)+M[2]:n<64?v(k,x,T)+M[3]:p(k,x,T)+M[4],O|=0,O=b(O,$[n]),O=O+C|0,S=C,C=T,T=b(x,10),x=k,k=O;O=E[1]+d+T|0,E[1]=E[2]+_+C|0,E[2]=E[3]+w+S|0,E[3]=E[4]+o+k|0,E[4]=E[0]+a+x|0,E[0]=O},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;e[r>>>5]|=128<<24-r%32,e[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),t.sigBytes=4*(e.length+1),this._process();for(var i=this._hash,o=i.words,a=0;a<5;a++){var s=o[a];o[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function p(t,e,n){return t^e^n}function v(t,e,n){return t&e|~t&n}function g(t,e,n){return(t|~e)^n}function m(t,e,n){return t&n|e&~n}function y(t,e,n){return t^(e|~n)}function b(t,e){return t<<e|t>>>32-e}n.RIPEMD160=o._createHelper(d),n.HmacRIPEMD160=o._createHmacHelper(d)}(Math),t.RIPEMD160})},1132:function(t,e,n){(function(e,r){t.exports=r(n("21bf"))})(0,function(t){return function(){var e=t,n=e.lib,r=n.WordArray,i=e.enc;i.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,r=this._map;t.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=e[o>>>2]>>>24-o%4*8&255,s=e[o+1>>>2]>>>24-(o+1)%4*8&255,c=e[o+2>>>2]>>>24-(o+2)%4*8&255,u=a<<16|s<<8|c,l=0;l<4&&o+.75*l<n;l++)i.push(r.charAt(u>>>6*(3-l)&63));var f=r.charAt(64);if(f)while(i.length%4)i.push(f);return i.join("")},parse:function(t){var e=t.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var i=0;i<n.length;i++)r[n.charCodeAt(i)]=i}var a=n.charAt(64);if(a){var s=t.indexOf(a);-1!==s&&(e=s)}return o(t,e,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function o(t,e,n){for(var i=[],o=0,a=0;a<e;a++)if(a%4){var s=n[t.charCodeAt(a-1)]<<a%4*2,c=n[t.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=(s|c)<<24-o%4*8,o++}return r.create(i,o)}}(),t.enc.Base64})},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(n){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},"130f":function(t,e,n){var r=n("5ca1"),i=n("1991");r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},1382:function(t,e,n){(function(e,r,i){t.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,function(t){return function(){var e=t,n=e.lib,r=n.StreamCipher,i=e.algo,o=[],a=[],s=[],c=i.Rabbit=r.extend({_doReset:function(){for(var t=this._key.words,e=this.cfg.iv,n=0;n<4;n++)t[n]=16711935&(t[n]<<8|t[n]>>>24)|4278255360&(t[n]<<24|t[n]>>>8);var r=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],i=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(n=0;n<4;n++)u.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(e){var o=e.words,a=o[0],s=o[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=c>>>16|4294901760&l,h=l<<16|65535&c;i[0]^=c,i[1]^=f,i[2]^=l,i[3]^=h,i[4]^=c,i[5]^=f,i[6]^=l,i[7]^=h;for(n=0;n<4;n++)u.call(this)}},_doProcessBlock:function(t,e){var n=this._X;u.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),t[e+r]^=o[r]},blockSize:4,ivSize:2});function u(){for(var t=this._X,e=this._C,n=0;n<8;n++)a[n]=e[n];e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<a[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<a[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<a[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<a[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<a[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<a[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<a[6]>>>0?1:0)|0,this._b=e[7]>>>0<a[7]>>>0?1:0;for(n=0;n<8;n++){var r=t[n]+e[n],i=65535&r,o=r>>>16,c=((i*i>>>17)+i*o>>>15)+o*o,u=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=c^u}t[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,t[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,t[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,t[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,t[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,t[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,t[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,t[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=r._createHelper(c)}(),t.Rabbit})},1448:function(t,e,n){"use strict";n("386b")("strike",function(t){return function(){return t(this,"strike","","")}})},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),s=a.length,c=0;while(s>c)r.f(t,n=a[c++],e[n]);return t}},"14b9":function(t,e,n){var r=n("5ca1");r(r.P,"String",{repeat:n("9744")})},"15ac":function(t,e,n){n("ec30")("Int16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},"165b":function(t,e,n){var r=n("d3f4");n("5eda")("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},"17e1":function(t,e,n){(function(e,r){t.exports=r(n("21bf"))})(0,function(t){return function(){if("function"==typeof ArrayBuffer){var e=t,n=e.lib,r=n.WordArray,i=r.init,o=r.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var e=t.byteLength,n=[],r=0;r<e;r++)n[r>>>2]|=t[r]<<24-r%4*8;i.call(this,n,e)}else i.apply(this,arguments)};o.prototype=r}}(),t.lib.WordArray})},"191b":function(t,e,n){(function(e,r,i){t.exports=r(n("21bf"),n("94f8"))})(0,function(t){return function(){var e=t,n=e.lib,r=n.WordArray,i=e.algo,o=i.SHA256,a=i.SHA224=o.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=o._doFinalize.call(this);return t.sigBytes-=4,t}});e.SHA224=o._createHelper(a),e.HmacSHA224=o._createHmacHelper(a)}(),t.SHA224})},1991:function(t,e,n){var r,i,o,a=n("9b43"),s=n("31f4"),c=n("fab2"),u=n("230e"),l=n("7726"),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,g=0,m={},y="onreadystatechange",b=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},_=function(t){b.call(t.data)};h&&d||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return m[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete m[t]},"process"==n("2d95")(f)?r=function(t){f.nextTick(a(b,t,1))}:v&&v.now?r=function(t){v.now(a(b,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=_,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):r=y in u("script")?function(t){c.appendChild(u("script"))[y]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:h,clear:d}},"1c31":function(t,e,n){"use strict";(function(t){function r(t){return r="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},r(t)}(function(i,o){"object"===r(e)&&"object"===r(t)?t.exports=o(n("a7a7"),n("e143")):n("07d6")([,],o)})("undefined"!==typeof self&&self,function(t,e){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===r(t)&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"0138":function(t,e,n){n.r(e),function(t){var r=n("052f"),i=n("3d1f"),o=n("98be"),a=n("abbf");n.d(e,"getApp",function(){return a["b"]}),n.d(e,"getCurrentPages",function(){return a["c"]}),Object(r["a"])(t.on,{getApp:a["b"],getCurrentPages:a["c"]}),Object(i["a"])(t.subscribe,{getApp:a["b"],getCurrentPages:a["c"]}),e["default"]=o["a"]}.call(this,n("0dd1"))},"052f":function(t,e,n){n.d(e,"a",function(){return o});var r=n("a741"),i=n("45db");function o(t,e){var n=e.getApp,o=e.getCurrentPages;function a(t){Object(r["a"])(n(),"onError",t)}function s(t){Object(r["a"])(n(),"onPageNotFound",t)}function c(t,e){var n=o().find(function(t){return t.$page.id===e});n&&(Object(i["setPullDownRefreshPageId"])(e),Object(r["b"])(n,"onPullDownRefresh"))}function u(t,e){var n=o();n.length&&Object(r["b"])(n[n.length-1],t,e)}function l(t){return function(e){u(t,e)}}function f(){Object(r["a"])(n(),"onHide"),u("onHide")}function h(){Object(r["a"])(n(),"onShow"),u("onShow")}function d(t,e){var n=t.name,r=t.arg;"postMessage"===n||uni[n](r)}t("onError",a),t("onPageNotFound",s),t("onAppEnterBackground",f),t("onAppEnterForeground",h),t("onPullDownRefresh",c),t("onTabItemTap",l("onTabItemTap")),t("onNavigationBarButtonTap",l("onNavigationBarButtonTap")),t("onNavigationBarSearchInputChanged",l("onNavigationBarSearchInputChanged")),t("onNavigationBarSearchInputConfirmed",l("onNavigationBarSearchInputConfirmed")),t("onNavigationBarSearchInputClicked",l("onNavigationBarSearchInputClicked")),t("onWebInvokeAppService",d)}},"0554":function(t,e,n){n.r(e),function(t){n.d(e,"getLocation",function(){return o});var r=n("ffdc");function i(t,e,n){var i=__uniConfig.qqMapKey,o="https://apis.map.qq.com/ws/coord/v1/translate?locations=".concat(t.latitude,",").concat(t.longitude,"&type=1&key=").concat(i,"&output=jsonp");Object(r["a"])(o,{},function(t){"locations"in t&&t.locations.length?e({longitude:t.locations[0].lng,latitude:t.locations[0].lat}):n(t)},n)}function o(e,n){var r=e.type,o=e.altitude,a=t,s=a.invokeCallbackHandler;function c(t){s(n,Object.assign(t,{errMsg:"getLocation:ok",verticalAccuracy:t.altitudeAccuracy||0,horizontalAccuracy:t.accuracy}))}navigator.geolocation?navigator.geolocation.getCurrentPosition(function(t){var e=t.coords;"WGS84"===r?c(e):i(e,c,function(t){s(n,{errMsg:"getLocation:fail "+JSON.stringify(t)})})},function(){s(n,{errMsg:"getLocation:fail"})},{enableHighAccuracy:o,timeout:3e5}):s(n,{errMsg:"getLocation:fail device nonsupport geolocation"})}}.call(this,n("0dd1"))},"0741":function(t,e,n){var r=n("9a72"),i=n.n(r);i.a},"0784":function(t,e,n){var r=n("a741");function i(t){var e=t.$route;t.route=e.meta.pagePath,t.__page__={id:e.params.__id__,path:e.path,route:e.meta.pagePath,meta:Object.assign({},e.meta)},t.$vm=t,t.$root=t,t.$holder=t.$parent.$parent,t.$mp={mpType:"page",page:t,query:{},status:""}}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={};return Object.keys(t).forEach(function(n){try{e[n]=decodeURIComponent(t[n])}catch(r){e[n]=t[n]}}),e}function a(){return{created:function(){i(this),Object(r["b"])(this,"onLoad",o(this.$route.query)),Object(r["b"])(this,"onShow")}}}n.d(e,"a",function(){return a})},"08c9":function(t,e,n){},"0950":function(t,e,n){},"0998":function(t,e,n){var r=n("4509"),i=n.n(r);i.a},"0a32":function(t,e,n){var r=n("17ac"),i=n.n(r);i.a},"0c7c":function(t,e,n){function r(t,e,n,r,i,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=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)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",function(){return r})},"0dba":function(t,e,n){},"0dd1":function(t,e,n){n.r(e),n.d(e,"on",function(){return c}),n.d(e,"off",function(){return u}),n.d(e,"once",function(){return l}),n.d(e,"emit",function(){return f}),n.d(e,"subscribe",function(){return h}),n.d(e,"unsubscribe",function(){return d}),n.d(e,"subscribeHandler",function(){return p});var r=n("8bbf"),i=n.n(r),o=n("27a7");n.d(e,"invokeCallbackHandler",function(){return o["a"]});var a=n("b865");n.d(e,"publishHandler",function(){return a["b"]});var s=new i.a,c=s.$on.bind(s),u=s.$off.bind(s),l=s.$once.bind(s),f=s.$emit.bind(s);function h(t,e){return c("view."+t,e)}function d(t,e){return u("view."+t,e)}function p(t,e,n){return f("view."+t,e,n)}},"0f55":function(t,e,n){var r=n("eaa4"),i=n.n(r);i.a},"0f74":function(t,e,n){function r(t,e){if(e){if(0===e.indexOf("/"))return e}else{if(e=t,0===e.indexOf("/"))return e;var n=getCurrentPages();t=n.length?n[n.length-1].$page.route:""}if(0===e.indexOf("./"))return r(t,e.substr(2));for(var i=e.split("/"),o=i.length,a=0;a<o&&".."===i[a];a++);i.splice(0,a),e=i.join("/");var s=t.length>0?t.split("/"):[];return s.splice(s.length-a-1,a+1),"/"+s.concat(i).join("/")}n.d(e,"a",function(){return r})},1047:function(t,e,n){},1067:function(t,e,n){},1082:function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-image",t._g({},t.$listeners),[n("div",{ref:"content",style:t.modeStyle}),n("img",{attrs:{src:t.realImagePath}}),"widthFix"===t.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}}):t._e()],1)},i=[],o={name:"Image",props:{src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1}},data:function(){return{originalWidth:0,originalHeight:0,availHeight:"",sizeFixed:!1}},computed:{ratio:function(){return this.originalWidth&&this.originalHeight?this.originalWidth/this.originalHeight:0},realImagePath:function(){return this.src&&this.$getRealPath(this.src)},modeStyle:function(){var t="auto",e="",n="no-repeat";switch(this.mode){case"aspectFit":t="contain",e="center center";break;case"aspectFill":t="cover",e="center center";break;case"widthFix":t="100% 100%";break;case"top":e="center top";break;case"bottom":e="center bottom";break;case"center":e="center center";break;case"left":e="left center";break;case"right":e="right center";break;case"top left":e="left top";break;case"top right":e="right top";break;case"bottom left":e="left bottom";break;case"bottom right":e="right bottom";break;default:t="100% 100%",e="0% 0%";break}return"background-position:".concat(e,";background-size:").concat(t,";background-repeat:").concat(n,";")}},watch:{src:function(t,e){this._loadImage()},mode:function(t,e){"widthFix"===e&&(this.$el.style.height=this.availHeight,this.sizeFixed=!1),"widthFix"===t&&this.ratio&&this._fixSize()}},mounted:function(){this.availHeight=this.$el.style.height||"",this._loadImage()},methods:{_resize:function(){"widthFix"!==this.mode||this.sizeFixed||this._fixSize()},_fixSize:function(){var t=this._getWidth();t&&(this.$el.style.height=t/this.ratio+"px",this.sizeFixed=!0)},_loadImage:function(){this.$refs.content.style.backgroundImage=this.src?"url(".concat(this.realImagePath,")"):"none";var t=this,e=new Image;e.onload=function(e){t.originalWidth=this.width,t.originalHeight=this.height,"widthFix"===t.mode&&t._fixSize(),t.$trigger("load",e,{width:this.width,height:this.height})},e.onerror=function(e){t.$trigger("error",e,{errMsg:"GET ".concat(t.src," 404 (Not Found)")})},e.src=this.realImagePath},_getWidth:function(){var t=window.getComputedStyle(this.$el),e=(parseFloat(t.borderLeftWidth,10)||0)+(parseFloat(t.borderRightWidth,10)||0),n=(parseFloat(t.paddingLeft,10)||0)+(parseFloat(t.paddingRight,10)||0);return this.$el.offsetWidth-e-n}}},a=o,s=(n("db18"),n("0c7c")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},1164:function(t,e,n){(function(t){n.d(e,"b",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"a",function(){return s});var r=n("23e5"),i=!1;function o(){return i}function a(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=[],r=o();if(!r)return t.error("app is not ready"),[];var i=r.$children[0];if(i&&i.$children.length){var a=i.$children.find(function(t){return"TabBar"===t.$options.name});i.$children.forEach(function(t){if(a!==t&&t.$children.length&&"Page"===t.$children[0].$options.name&&t.$children[0].$slots.page){var i=t.$children[0].$children.find(function(t){return"PageBody"===t.$options.name}).$children.find(function(t){return!!t.$page});if(i){var o=!0;!e&&a&&i.$page&&i.$page.meta.isTabBar&&(r.$route.meta&&r.$route.meta.isTabBar?r.$route.path!==i.$page.path&&(o=!1):a.__path__!==i.$page.path&&(o=!1)),o&&n.push(i)}}})}var s=n.length;if(s>1){var c=n[s-1];c.$page.path!==r.$route.path&&n.splice(s-1,1)}return n}function s(t,e){i=t,i.globalData=i.$options.globalData||{},Object(r["a"])(i,e)}}).call(this,n("3ad9")["default"])},"11fb":function(t,e,n){n.r(e),n.d(e,"previewImage",function(){return i});var r=n("cb0f"),i={urls:{type:Array,required:!0,validator:function(t,e){var n;if(e.urls=t.map(function(t){if("string"===typeof t)return Object(r["a"])(t);n=!0}),n)return"url is not string"}},current:{type:[String,Number],validator:function(t,e){"number"===typeof t?e.current=t>0&&t<e.urls.length?t:0:"string"===typeof t&&t&&(e.current=Object(r["a"])(t))},default:0}}},1360:function(t,e,n){},"15bb":function(t,e,n){(function(t){var r=n("f2b3");e["a"]={mounted:function(){var e=this;if("transparent"===this.type){for(var n=this.$el.querySelector(".uni-page-head-transparent").style,r=this.$el.querySelector(".uni-page-head__title"),i=this.$el.querySelectorAll(".uni-btn-icon"),o=[],a=this.textColor,s=0;s<i.length;s++)o.push(i[s].style);for(var c=this.$el.querySelectorAll(".uni-page-head-btn"),u=[],l=[],f=0;f<c.length;f++){var h=c[f];u.push(getComputedStyle(h).backgroundColor),l.push(h.style)}this._A=0,t.on("onPageScroll",function(t){var i=t.scrollTop,s=Math.min(i/e.offset,1);1===s&&1===e._A||(s>.5&&e._A<=.5?o.forEach(function(t){t.color=a}):s<=.5&&e._A>.5&&o.forEach(function(t){t.color="#fff"}),e._A=s,r&&(r.style.opacity=s),n.backgroundColor="rgba(".concat(e._R,",").concat(e._G,",").concat(e._B,",").concat(s,")"),l.forEach(function(t,e){var n=u[e],r=n.match(/[\d+\.]+/g);r[3]=(1-s)*(4===r.length?r[3]:1),t.backgroundColor="rgba(".concat(r,")")}))})}},computed:{color:function(){return"transparent"===this.type?"#fff":this.textColor},offset:function(){return parseInt(this.coverage)},bgColor:function(){if("transparent"===this.type){var t=Object(r["d"])(this.backgroundColor),e=t.r,n=t.g,i=t.b;return this._R=e,this._G=n,this._B=i,"rgba(".concat(e,",").concat(n,",").concat(i,",0)")}return this.backgroundColor}}}}).call(this,n("501c"))},"167a":function(t,e,n){var r=n("deaf"),i=n.n(r);i.a},"17ac":function(t,e,n){},"17fd":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hoverClass&&"none"!==t.hoverClass?n("uni-navigator",t._g({class:[t.hovering?t.hoverClass:""],on:{touchstart:t._hoverTouchStart,touchend:t._hoverTouchEnd,touchcancel:t._hoverTouchCancel,click:t._onClick}},t.$listeners),[t._t("default")],2):n("uni-navigator",t._g({on:{click:t._onClick}},t.$listeners),[t._t("default")],2)},i=[],o=n("eecc"),a=o["a"],s=(n("f7fd"),n("0c7c")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},"18fd":function(t,e,n){n.d(e,"a",function(){return h});var r=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,i=/^<\/([-A-Za-z0-9_]+)[^>]*>/,o=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,a=d("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=d("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),c=d("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),u=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),l=d("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),f=d("script,style");function h(t,e){var n,h,d,p=[],v=t;p.last=function(){return this[this.length-1]};while(t){if(h=!0,p.last()&&f[p.last()])t=t.replace(new RegExp("([\\s\\S]*?)</"+p.last()+"[^>]*>"),function(t,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),e.chars&&e.chars(n),""}),y("",p.last());else if(0==t.indexOf("\x3c!--")?(n=t.indexOf("--\x3e"),n>=0&&(e.comment&&e.comment(t.substring(4,n)),t=t.substring(n+3),h=!1)):0==t.indexOf("</")?(d=t.match(i),d&&(t=t.substring(d[0].length),d[0].replace(i,y),h=!1)):0==t.indexOf("<")&&(d=t.match(r),d&&(t=t.substring(d[0].length),d[0].replace(r,m),h=!1)),h){n=t.indexOf("<");var g=n<0?t:t.substring(0,n);t=n<0?"":t.substring(n),e.chars&&e.chars(g)}if(t==v)throw"Parse Error: "+t;v=t}function m(t,n,r,i){if(n=n.toLowerCase(),s[n])while(p.last()&&c[p.last()])y("",p.last());if(u[n]&&p.last()==n&&y("",n),i=a[n]||!!i,i||p.push(n),e.start){var f=[];r.replace(o,function(t,e){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:l[e]?e:"";f.push({name:e,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})}),e.start&&e.start(n,f,i)}}function y(t,n){if(n){for(r=p.length-1;r>=0;r--)if(p[r]==n)break}else var r=0;if(r>=0){for(var i=p.length-1;i>=r;i--)e.end&&e.end(p[i]);p.length=r}}y()}function d(t){for(var e={},n=t.split(","),r=0;r<n.length;r++)e[n[r]]=!0;return e}},1934:function(t,e,n){n.r(e),n.d(e,"setNavigationBarColor",function(){return i}),n.d(e,"setNavigationBarTitle",function(){return o});var r=["#ffffff","#000000"],i={frontColor:{type:String,required:!0,validator:function(t,e){if(-1===r.indexOf(t))return'invalid frontColor "'.concat(t,'"')}},backgroundColor:{type:String,required:!0},animation:{type:Object,default:function(){return{duration:0,timingFunc:"linear"}},validator:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;e.animation={duration:t.duration||0,timingFunc:t.timingFunc||"linear"}}}},o={title:{type:String,required:!0}}},1955:function(t,e,n){n.r(e);var r,i,o=n("ba15"),a=n("8aec"),s=n("5363"),c=n("72b3"),u={name:"PickerViewColumn",mixins:[o["a"],a["a"]],data:function(){return{scope:"picker-view-column-".concat(Date.now()),inited:!1,indicatorStyle:"",indicatorClass:"",indicatorHeight:34,maskStyle:"",maskClass:"",current:this.$parent.getItemValue(this),length:0}},computed:{height:function(){return this.$parent.height},maskSize:function(){return(this.height-this.indicatorHeight)/2}},watch:{indicatorHeight:function(t){this._setItemHeight(t),this.inited&&this.update()},current:function(t){this.$parent.setItemValue(this,t)},length:function(t){this.inited&&this.update(t)}},created:function(){var t=this.$parent;this.indicatorStyle=t.indicatorStyle,this.indicatorClass=t.indicatorClass,this.maskStyle=t.maskStyle,this.maskClass=t.maskClass},mounted:function(){var t=this;this.touchtrack(this.$refs.main,"_handleTrack",!0),this.setCurrent(this.current),this.$nextTick(function(){t.init(),t.update()})},methods:{_setItemHeight:function(t){var e=document.createElement("style");e.innerText=".uni-picker-view-content.".concat(this.scope,">*{height: ").concat(t,"px;overflow: hidden;}"),document.head.appendChild(e)},_handleTrack:function(t){if(this._scroller)switch(t.detail.state){case"start":this._handleTouchStart(t);break;case"move":this._handleTouchMove(t);break;case"end":case"cancel":this._handleTouchEnd(t)}},_handleTap:function(t){if(t.target!==t.currentTarget&&!this._scroller.isScrolling()){var e=t.touches&&t.touches[0]&&t.touches[0].clientY,n="number"===typeof e?e:t.detail.y-document.body.scrollTop,r=this.$el.getBoundingClientRect(),i=n-r.top-this._height/2,o=this.indicatorHeight/2;if(!(Math.abs(i)<=o)){var a=Math.ceil((Math.abs(i)-o)/this.indicatorHeight),s=i<0?-a:a;this.current+=s,this._scroller.scrollTo(this.current*this.indicatorHeight)}}},setCurrent:function(t){t!==this.current&&(this.current=t,this.inited&&this.update())},init:function(){var t=this;this.initScroller(this.$refs.content,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:this.indicatorHeight,friction:new s["a"](1e-4),spring:new c["a"](2,90,20),onSnap:function(e){isNaN(e)||e===t.current||(t.current=e)}}),this.inited=!0},update:function(){var t=this;this.$nextTick(function(){var e=Math.max(t.length-1,0),n=Math.min(t.current,e);t._scroller.update(n*t.indicatorHeight,void 0,t.indicatorHeight)})},_resize:function(t){var e=t.height;this.indicatorHeight=e}},render:function(t){return this.length=this.$slots.default&&this.$slots.default.length||0,t("uni-picker-view-column",{on:{tap:this._handleTap}},[t("div",{ref:"main",staticClass:"uni-picker-view-group"},[t("div",{ref:"mask",staticClass:"uni-picker-view-mask",class:this.maskClass,style:"background-size: 100% ".concat(this.maskSize,"px;").concat(this.maskStyle)}),t("div",{ref:"indicator",staticClass:"uni-picker-view-indicator",class:this.indicatorClass,style:this.indicatorStyle},[t("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}})]),t("div",{ref:"content",staticClass:"uni-picker-view-content",class:this.scope,style:"padding: ".concat(this.maskSize,"px 0;")},[this.$slots.default])])])}},l=u,f=(n("edfa"),n("0c7c")),h=Object(f["a"])(l,r,i,!1,null,null,null);e["default"]=h.exports},"19c4":function(t,e,n){var r={"./base/base64.js":"6481","./base/can-i-use.js":"957a","./base/event-bus.js":"b0ef","./base/interceptor.js":"a954","./base/upx2px.js":"2289","./context/canvas.js":"82b9","./context/context.js":"3bfb","./device/make-phone-call.js":"f102","./file/open-document.js":"2604","./location/choose-location.js":"e5bb","./location/get-location.js":"19d9","./location/open-location.js":"70bb","./media/choose-image.js":"f1b2","./media/choose-video.js":"ed9f","./media/get-image-info.js":"b866","./media/preview-image.js":"11fb","./network/download-file.js":"439a","./network/request.js":"a201","./network/socket.js":"abb2","./network/upload-file.js":"9a3e","./plugin/get-provider.js":"4e7c","./route/route.js":"332a","./storage/storage.js":"ec33","./ui/navigation-bar.js":"1934","./ui/page-scroll-to.js":"232e","./ui/popup.js":"2246","./ui/tab-bar.js":"5621"};function i(t){var e=o(t);return n(e)}function o(t){var e=r[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id="19c4"},"19d9":function(t,e,n){n.r(e),n.d(e,"getLocation",function(){return i});var r={WGS84:"WGS84",GCJ02:"GCJ02"},i={type:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.type=Object.values(r).indexOf(t)<0?r.WGS84:t},default:r.WGS84},altitude:{altitude:Boolean,default:!1}}},"1a12":function(t,e,n){n.r(e),function(t){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"request",function(){return u});var s=function(){function t(e){r(this,t),a(this,"_xhr",void 0),this._xhr=e}return o(t,[{key:"abort",value:function(){this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function c(t){var e={},n=t.split("\n");return n.forEach(function(t){var n=t.match(/(\S+\s*):\s*(.*)/);if(n&&3===n.length){var r=n[1],i=n[2];e[r]=i}}),e}function u(e,n){var r,i=e.url,o=e.data,a=e.header,u=e.method,l=e.dataType,f=e.responseType,h=t,d=h.invokeCallbackHandler,p=null,v=__uniConfig.networkTimeout&&__uniConfig.networkTimeout.request||6e4;for(var g in a)if(a.hasOwnProperty(g)&&"content-type"===g.toLowerCase()){r=a[g],r=0===r.indexOf("application/json")?"json":0===r.indexOf("application/x-www-form-urlencoded")?"urlencoded":"string";break}if("GET"!==u)if(r||(a["Content-Type"]="application/json",r="json"),"string"===typeof o||o instanceof ArrayBuffer)p=o;else if("json"===r)try{p=JSON.stringify(o)}catch(k){p=o.toString()}else if("urlencoded"===r){var m=[];for(var y in o)o.hasOwnProperty(y)&&m.push(encodeURIComponent(y)+"="+encodeURIComponent(o[y]));p=m.join("&")}else p=o.toString();var b=new XMLHttpRequest,_=new s(b);for(var w in b.open(u,i),a)a.hasOwnProperty(w)&&b.setRequestHeader(w,a[w]);var S=setTimeout(function(){b.onload=b.onabort=b.onerror=null,_.abort(),d(n,{errMsg:"request:fail timeout"})},v);return b.responseType=f,b.onload=function(){clearTimeout(S);var t=b.status,e="text"===f?b.responseText:b.response;if("text"===f&&"json"===l)try{e=JSON.parse(e)}catch(k){}d(n,{data:e,statusCode:t,header:c(b.getAllResponseHeaders()),errMsg:"request:ok"})},b.onabort=function(){clearTimeout(S),d(n,{errMsg:"request:fail abort"})},b.onerror=function(){clearTimeout(S),d(n,{errMsg:"request:fail"})},b.send(p),_}}.call(this,n("0dd1"))},"1a33":function(t,e,n){},"1a8c":function(t,e,n){n.r(e),n.d(e,"redirectTo",function(){return o}),n.d(e,"navigateTo",function(){return a}),n.d(e,"navigateBack",function(){return s}),n.d(e,"reLaunch",function(){return c}),n.d(e,"switchTab",function(){return u});var r=n("85b6");function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.url,i=e.delta,o=e.animationType,a=e.animationDuration,s=e.from,c=void 0===s?"navigateBack":s,u=e.detail,l=getApp().$router;switch(t){case"redirectTo":l.replace({type:t,path:n});break;case"navigateTo":l.push({type:t,path:n,animationType:o,animationDuration:a});break;case"navigateBack":var f=!0,h=getCurrentPages();if(h.length){var d=h[h.length-1];Object(r["a"])(d.$options,"onBackPress")&&!0===d.__call_hook("onBackPress",{from:c})&&(f=!1)}f&&(i>1&&(l._$delta=i),l.go(-i,{animationType:o,animationDuration:a}));break;case"reLaunch":l.replace({type:t,path:n});break;case"switchTab":l.replace({type:t,path:n,params:{detail:u}});break}return{errMsg:t+":ok"}}function o(t){return i("redirectTo",t)}function a(t){return i("navigateTo",t)}function s(t){return i("navigateBack",t)}function c(t){return i("reLaunch",t)}function u(t){return i("switchTab",t)}},"1b6f":function(t,e,n){(function(t){var r=n("f2b3");e["a"]={mounted:function(){var t=this;this._toggleListeners("subscribe",this.id),this.$watch("id",function(e,n){t._toggleListeners("unsubscribe",n,!0),t._toggleListeners("subscribe",e,!0)})},beforeDestroy:function(){this._toggleListeners("unsubscribe",this.id)},methods:{_toggleListeners:function(e,n,i){i&&!n||Object(r["e"])(this._handleSubscribe)&&t[e](this.$page.id+"-"+this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase()+"-"+n,this._handleSubscribe)}}}}).call(this,n("501c"))},"1c64":function(t,e,n){var r=n("9613"),i=n.n(r);i.a},"1ca3":function(t,e,n){n.r(e),n.d(e,"base64ToArrayBuffer",function(){return i}),n.d(e,"arrayBufferToBase64",function(){return o});var r=n("8390");function i(t){return Object(r["decode"])(t)}function o(t){return Object(r["encode"])(t)}},"1e4d":function(t,e,n){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}n.r(e),n.d(e,"createAnimation",function(){return f});var a={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"},s=function(){function t(e){r(this,t),this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=Object.assign({},a,e)}return o(t,[{key:"_getOption",value:function(t){var e={transition:Object.assign({},this.option,t)};return e.transformOrigin=e.transition.transformOrigin,delete e.transition.transformOrigin,e}},{key:"_pushAnimates",value:function(t,e){this.currentStepAnimates.push({type:t,args:e})}},{key:"_converType",value:function(t){return t.replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())})}},{key:"_getValue",value:function(t){return"number"===typeof t?"".concat(t,"px"):t}},{key:"export",value:function(){var t=this.actions;return this.actions=[],{actions:t}}},{key:"step",value:function(t){var e=this;return this.currentStepAnimates.forEach(function(t){"style"!==t.type?e.currentTransform[t.type]=t:e.currentTransform["".concat(t.type,".").concat(t.args[0])]=t}),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(t)}),this.currentStepAnimates=[],this}}]),t}(),c=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"],u=["opacity","backgroundColor"],l=["width","height","left","right","top","bottom"];function f(t){return new s(t)}c.concat(u,l).forEach(function(t){s.prototype[t]=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return u.concat(l).includes(t)?this._pushAnimates("style",[this._converType(t),l.includes(t)?this._getValue(n[0]):n[0]]):this._pushAnimates(t,n),this}})},"1efd":function(t,e,n){n.r(e);var r=n("8bbf"),i=n.n(r),o=n("cb0f"),a=n("d4b6"),s={methods:{$getRealPath:function(t){return Object(o["a"])(t)},$trigger:function(t,e,n){this.$emit(t,a["b"].call(this,t,e,n,this.$el,this.$el))}}};function c(t){return f(t)||l(t)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function l(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function f(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function h(t){if(/\d+[ur]px$/i.test(t))t.replace(/\d+[ur]px$/i,function(t){return"".concat(uni.upx2px(parseFloat(t)),"px")});else if(/^-?[\d\.]+$/.test(t))return"".concat(t,"px");return t||""}function d(t){return t.replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())}).replace("webkit","-webkit")}function p(t){var e=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],r=["opacity","backgroundColor"],i=["width","height","left","right","top","bottom"],o=t.animates,a=t.option,s=a.transition,u={},l=[];return o.forEach(function(t){var o=t.type,a=c(t.args);if(e.concat(n).includes(o))o.startsWith("rotate")||o.startsWith("skew")?a=a.map(function(t){return parseFloat(t)+"deg"}):o.startsWith("translate")&&(a=a.map(h)),n.indexOf(o)&&(a.length=1),l.push("".concat(o,"(").concat(a.join(","),")"));else if(r.concat(i).includes(a[0])){o=a[0];var s=a[1];u[o]=i.includes(o)?h(s):s}}),u.transform=u.webkitTransform=l.join(" "),u.transition=u.webkitTransition=Object.keys(u).map(function(t){return"".concat(d(t)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")}).join(","),u.transformOrigin=u.webkitTransformOrigin=a.transformOrigin,u}function v(t){var e=t.animation;if(e&&e.actions&&e.actions.length){var n=0,r=e.actions,i=e.actions.length;o()}function o(){var e=r[n],a=e.option.transition,s=p(e);Object.keys(s).forEach(function(e){t.$el.style[e]=s[e]}),n+=1,n<i&&setTimeout(o,a.duration+a.delay)}}var g={props:["animation"],watch:{animation:function(){v(this)}},mounted:function(){v(this)}},m=[n("5408"),n("93a5")];m.forEach(function(t,e){t.keys().forEach(function(e){var n=t(e),r=n.default||n;r.mixins=r.mixins?[].concat(s,r.mixins):[s],r.mixins.push(g),r.name="VUni"+r.name,i.a.component(r.name,r)})})},"1ff3":function(t,e,n){n.r(e),n.d(e,"uploadFile",function(){return l});var r=n("a118"),i=n("db70");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}var c=function(){function t(e,n){o(this,t),this.id=e,this._callbackId=n,this._callbacks=[]}return s(t,[{key:"abort",value:function(){Object(i["a"])("operateRequestTask",{uploadTaskId:this.id,operationType:"abort"})}},{key:"onProgressUpdate",value:function(t){"function"===typeof t&&this._callbacks.push(t)}},{key:"onHeadersReceived",value:function(){}},{key:"offProgressUpdate",value:function(t){var e=this._callbacks.indexOf(t);e>=0&&this._callbacks.splice(e,1)}},{key:"offHeadersReceived",value:function(){}}]),t}(),u=Object.create(null);function l(t,e){var n=Object(i["a"])("createUploadTask",t),r=n.uploadTaskId,o=new c(r,e);return u[r]=o,o}Object(i["b"])("onUploadTaskStateChange",function(t){var e=t.uploadTaskId,n=t.state,i=t.data,o=t.statusCode,a=t.progress,s=t.totalBytesSent,c=t.totalBytesExpectedToSend,l=t.errMsg,f=u[e],h=f._callbackId;switch(n){case"progressUpdate":f._callbacks.forEach(function(t){t({progress:a,totalBytesSent:s,totalBytesExpectedToSend:c})});break;case"success":Object(r["a"])(h,{data:i,statusCode:o,errMsg:"request:ok"});case"fail":Object(r["a"])(h,{errMsg:"request:fail "+l});default:setTimeout(function(){delete u[e]},100);break}})},2246:function(t,e,n){n.r(e),n.d(e,"showModal",function(){return i}),n.d(e,"showToast",function(){return o}),n.d(e,"showLoading",function(){return a}),n.d(e,"showActionSheet",function(){return s});var r=n("cb0f"),i={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"取消"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"确定"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!0}},o={title:{type:String,default:""},icon:{default:"success",validator:function(t,e){-1===["success","loading","none"].indexOf(t)&&(e.icon="success")}},image:{type:String,default:"",validator:function(t,e){t&&(e.image=Object(r["a"])(t))}},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},a={title:{type:String,default:""},icon:{type:String,default:"loading"},duration:{type:Number,default:1e8},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},s={itemList:{type:Array,required:!0,validator:function(t,e){if(!t.length)return"parameter.itemList should have at least 1 item"}},itemColor:{type:String,default:"#000000"},visible:{type:Boolean,default:!0}}},2289:function(t,e,n){n.r(e),n.d(e,"upx2px",function(){return r});var r=[{name:"upx",type:[Number,String],required:!0}]},"232e":function(t,e,n){n.r(e),n.d(e,"pageScrollTo",function(){return r});var r={scrollTop:{type:Number,required:!0},duration:{type:Number,default:300,validator:function(t,e){e.duration=Math.max(0,t)}}}},"23af":function(t,e,n){},"23e5":function(t,e,n){n.d(e,"b",function(){return c}),n.d(e,"a",function(){return v});var r=n("a741");function i(t){-1===this.keepAliveInclude.indexOf(t)&&this.keepAliveInclude.push(t)}var o=[];function a(t){if("number"===typeof t)o=this.keepAliveInclude.splice(-(t-1)).map(function(t){return parseInt(t.split("-").pop())});else{var e=this.keepAliveInclude.indexOf(t);-1!==e&&this.keepAliveInclude.splice(e,1)}}var s=Object.create(null);function c(t){return s[t]}function u(t){s[t]={x:window.pageXOffset,y:window.pageYOffset}}function l(t,e,n){e&&n&&e.meta.isTabBar&&n.meta.isTabBar&&u(n.params.__id__);for(var i=getCurrentPages(),o=i.length-1;o>=0;o--){var s=i[o],c=s.$page.meta;c.isTabBar||(a.call(this,c.name+"-"+s.$page.id),Object(r["b"])(s,"onUnload"))}}function f(t){__uniConfig.reLaunch=(__uniConfig.reLaunch||1)+1;for(var e=getCurrentPages(!0),n=e.length-1;n>=0;n--)Object(r["b"])(e[n],"onUnload"),e[n].$destroy();this.keepAliveInclude=[],s=Object.create(null)}var h=[];function d(t,e,n,r){h=getCurrentPages(!0);var o=e.params.__id__,s=t.params.__id__,c=t.meta.name+"-"+s;if(s===o)t.fullPath!==e.fullPath?(a.call(this,c),n()):n(!1);else if(t.meta.id&&t.meta.id!==s)n({path:t.path,replace:!0});else{var u=e.meta.name+"-"+o;switch(t.type){case"navigateTo":break;case"redirectTo":if(a.call(this,u),e.meta&&(e.meta.isQuit&&(t.meta.isQuit=!0,t.meta.isEntry=!!e.meta.isEntry),e.meta.isTabBar)){t.meta.isTabBar=!0,t.meta.tabBarIndex=e.meta.tabBarIndex;var d=getApp().$children[0];d.$set(d.tabBar.list[t.meta.tabBarIndex],"pagePath",t.meta.pagePath)}break;case"switchTab":l.call(this,r,t,e);break;case"reLaunch":f.call(this,c),t.meta.isQuit=!0;break;default:o&&o>s&&(a.call(this,u),this.$router._$delta>1&&a.call(this,this.$router._$delta));break}if("reLaunch"!==t.type&&e.meta.id&&i.call(this,u),i.call(this,c),t.meta&&t.meta.name){document.body.className="uni-body "+t.meta.name;var p="nvue-dir-"+__uniConfig.nvue["flex-direction"];t.meta.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(p,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(p))}n()}}function p(t,e){var n=e.params.__id__,i=t.params.__id__,a=h.find(function(t){return t.$page.id===n});switch(t.type){case"navigateTo":a&&Object(r["b"])(a,"onHide");break;case"redirectTo":a&&Object(r["b"])(a,"onUnload");break;case"switchTab":e.meta.isTabBar&&a&&Object(r["b"])(a,"onHide");break;case"reLaunch":break;default:n&&n>i&&(a&&Object(r["b"])(a,"onUnload"),this.$router._$delta>1&&o.reverse().forEach(function(t){var e=h.find(function(e){return e.$page.id===t});e&&Object(r["b"])(e,"onUnload")}));break}if(delete this.$router._$delta,o.length=0,"reLaunch"!==t.type){var s=getCurrentPages(!0).find(function(t){return t.$page.id===i});s&&(setTimeout(function(){Object(r["b"])(s,"onShow")},0),document.title=s.$parent.$parent.navigationBar.titleText)}}function v(t,e){t.$router.beforeEach(function(n,r,i){d.call(t,n,r,i,e)}),t.$router.afterEach(function(e,n){p.call(t,e,n)})}},"24aa":function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===("undefined"===typeof window?"undefined":r(window))&&(n=window)}t.exports=n},"24d9":function(t,e,n){n.d(e,"b",function(){return a}),n.d(e,"a",function(){return s});var i=n("f2b3");function o(t){return o="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)},o(t)}function a(t){return Object.assign({mp:t,_processed:!0},t)}function s(t,e){return Object(i["f"])(e)&&(Object(i["c"])(e,"backgroundColor")&&(t.backgroundColor=e.backgroundColor),Object(i["c"])(e,"buttons")&&(t.buttons=e.buttons),Object(i["c"])(e,"titleColor")&&(t.textColor=e.titleColor),Object(i["c"])(e,"titleText")&&(t.titleText=e.titleText),Object(i["c"])(e,"titleSize")&&(t.titleSize=e.titleSize),Object(i["c"])(e,"type")&&(t.type=e.type),Object(i["c"])(e,"searchInput")&&"object"===o(e.searchInput)&&(t.searchInput=Object.assign({autoFocus:!1,align:"center",color:"#000000",backgroundColor:"rgba(255,255,255,0.5)",borderRadius:"0px",placeholder:"",placeholderColor:"#CCCCCC",disabled:!1},e.searchInput))),t}},"250d":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-input",t._g({},t.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-input-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composing||t.inputValue.length),expression:"!(composing || inputValue.length)"}],ref:"placeholder",staticClass:"uni-input-placeholder",class:t.placeholderClass,style:t.placeholderStyle},[t._v(t._s(t.placeholder))]),"checkbox"===t.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t.step,autocomplete:"off",type:"checkbox"},domProps:{checked:Array.isArray(t.inputValue)?t._i(t.inputValue,null)>-1:t.inputValue},on:{focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:t._onComposition,compositionend:t._onComposition,keyup:function(e){return e.stopPropagation(),t._onKeyup(e)},change:function(e){var n=t.inputValue,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=null,a=t._i(n,o);r.checked?a<0&&(t.inputValue=n.concat([o])):a>-1&&(t.inputValue=n.slice(0,a).concat(n.slice(a+1)))}else t.inputValue=i}}}):"radio"===t.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t.step,autocomplete:"off",type:"radio"},domProps:{checked:t._q(t.inputValue,null)},on:{focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:t._onComposition,compositionend:t._onComposition,keyup:function(e){return e.stopPropagation(),t._onKeyup(e)},change:function(e){t.inputValue=null}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t.step,autocomplete:"off",type:t.inputType},domProps:{value:t.inputValue},on:{focus:t._onFocus,blur:t._onBlur,input:[function(e){e.target.composing||(t.inputValue=e.target.value)},function(e){return e.stopPropagation(),t._onInput(e)}],compositionstart:t._onComposition,compositionend:t._onComposition,keyup:function(e){return e.stopPropagation(),t._onKeyup(e)}}})])])},i=[],o=n("8af1"),a=["text","number","idcard","digit","password"],s=["number","digit"],c={name:"Input",mixins:[o["a"]],model:{prop:"value",event:"update:value"},props:{name:{type:String,default:""},value:{type:[String,Number],default:""},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},maxlength:{type:[Number,String],default:140},focus:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"done"}},data:function(){return{inputValue:this.value+"",composing:!1,wrapperHeight:0,cachedValue:""}},computed:{inputType:function(){var t="";switch(this.type){case"text":"search"===this.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~a.indexOf(this.type)?this.type:"text";break}return this.password?"password":t},step:function(){return~s.indexOf(this.type)?"0.000000000000000001":""}},watch:{focus:function(t){t&&this._focusInput()},value:function(t){this.inputValue=t+""},inputValue:function(t){this.$emit("update:value",t)},maxlength:function(t){var e=this.inputValue.slice(0,parseInt(t,10));e!==this.inputValue&&(this.inputValue=e)}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){if("search"===this.confirmType){var t=document.createElement("form");t.action="",t.onsubmit=function(){return!1},t.className="uni-input-form",t.appendChild(this.$refs.input),this.$refs.wrapper.appendChild(t)}var e=this;while(e){var n=e.$options._scopeId;n&&this.$refs.placeholder.setAttribute(n,""),e=e.$parent}this.focus&&this._focusInput()},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyup:function(t){13===t.keyCode&&this.$trigger("confirm",t,{value:t.target.value})},_onInput:function(t){if(!this.composing){if(~s.indexOf(this.type)){if(this.$refs.input.validity&&!this.$refs.input.validity.valid)return t.target.value=this.cachedValue,void(this.inputValue=t.target.value);this.cachedValue=this.inputValue}if("number"===this.inputType){var e=parseInt(this.maxlength,10);if(e>0&&t.target.value.length>e)return t.target.value=t.target.value.slice(0,e),void(this.inputValue=t.target.value)}this.$trigger("input",t,{value:this.inputValue})}},_onFocus:function(t){this.$trigger("focus",t,{value:t.target.value})},_onBlur:function(t){this.$trigger("blur",t,{value:t.target.value})},_focusInput:function(){var t=this;setTimeout(function(){t.$refs.input.focus()},350)},_blurInput:function(){var t=this;setTimeout(function(){t.$refs.input.blur()},350)},_onComposition:function(t){"compositionstart"===t.type?this.composing=!0:this.composing=!1},_resetFormData:function(){this.inputValue=""},_getFormData:function(){return this.name?{value:this.inputValue,key:this.name}:{}}}},u=c,l=(n("0f55"),n("0c7c")),f=Object(l["a"])(u,r,i,!1,null,null,null);e["default"]=f.exports},"25ce":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox-group",t._g({},t.$listeners),[t._t("default")],2)},i=[],o=n("8af1"),a={name:"CheckboxGroup",mixins:[o["a"],o["c"]],props:{name:{type:String,default:""}},data:function(){return{checkboxList:[]}},listeners:{"@checkbox-change":"_changeHandler","@checkbox-group-update":"_checkboxGroupUpdateHandler"},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_changeHandler:function(t){var e=[];this.checkboxList.forEach(function(t){t.checkboxChecked&&e.push(t.value)}),this.$trigger("change",t,{value:e})},_checkboxGroupUpdateHandler:function(t){if("add"===t.type)this.checkboxList.push(t.vm);else{var e=this.checkboxList.indexOf(t.vm);this.checkboxList.splice(e,1)}},_getFormData:function(){var t={};if(""!==this.name){var e=[];this.checkboxList.forEach(function(t){t.checkboxChecked&&e.push(t.value)}),t["value"]=e,t["key"]=this.name}return t}}},s=a,c=(n("0998"),n("0c7c")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},2604:function(t,e,n){n.r(e),n.d(e,"openDocument",function(){return r});var r={filePath:{type:String,required:!0},fileType:{type:String}}},2608:function(t,e,n){(function(t){function r(e){return function(){try{return e.apply(e,arguments)}catch(n){t.error(n)}}}function i(e){return function(){try{return e.apply(e,arguments)}catch(n){t.error(n)}}}n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i})}).call(this,n("3ad9")["default"])},2765:function(t,e,n){var r=n("91ce"),i=n.n(r);i.a},"27a7":function(t,e,n){(function(t){n.d(e,"a",function(){return g}),n.d(e,"c",function(){return m}),n.d(e,"b",function(){return y});var r=n("f2b3"),i=n("2608"),o=n("ed1a"),a=n("cc76"),s=n("de29");function c(e,n,r){var i="".concat(n,":fail ").concat(e);if(t.error(i),-1===r)throw new Error(i);return"number"===typeof r&&g(r,{errMsg:i}),!1}var u=[{name:"callback",type:Function,required:!0}];function l(t,e,n){var i=a["a"][t];if(!i&&Object(o["a"])(t)&&(i=u),i){if(Array.isArray(i)&&Array.isArray(e)){var l=Object.create(null),f=Object.create(null),h=e.length;i.forEach(function(t,n){l[t.name]=t,h>n&&(f[t.name]=e[n])}),i=l,e=f}if(Object(r["e"])(i.beforeValidate)){var d=i.beforeValidate(e);if(d)return c(d,t,n)}for(var p=Object.keys(i),v=0;v<p.length;v++)if("beforeValidate"!==p[v]){var g=Object(s["a"])(p[v],i,e);if(g)return c(g,t,n)}}return!0}var f=1,h={};function d(t,e){var n=f++,r="api."+t+"."+n,i=function(t){e(t)};return h[n]={name:r,keepAlive:!0,callback:i},n}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(r["f"])(e))return{params:e};e=Object.assign({},e);var o={};for(var a in e){var s=e[a];Object(r["e"])(s)&&(o[a]=Object(i["a"])(s),delete e[a])}var c=o.success,u=o.fail,l=o.cancel,d=o.complete,p=Object(r["e"])(c),v=Object(r["e"])(u),g=Object(r["e"])(l),m=Object(r["e"])(d);if(!p&&!v&&!g&&!m)return{params:e};var y={};for(var b in n){var _=n[b];Object(r["e"])(_)&&(y[b]=Object(i["b"])(_),delete n[b])}var w=y.beforeSuccess,S=y.afterSuccess,k=y.beforeFail,x=y.afterFail,T=y.beforeCancel,C=y.afterCancel,O=y.afterAll,E=f++,A="api."+t+"."+E,M=function(e){e.errMsg=e.errMsg||t+":ok",-1!==e.errMsg.indexOf(":ok")?e.errMsg=t+":ok":-1!==e.errMsg.indexOf(":cancel")?e.errMsg=t+":cancel":-1!==e.errMsg.indexOf(":fail")&&(e.errMsg=t+":fail");var n=e.errMsg;0===n.indexOf(t+":ok")?(Object(r["e"])(w)&&w(e),p&&c(e),Object(r["e"])(S)&&S(e)):0===n.indexOf(t+":cancel")?(e.errMsg=e.errMsg.replace(t+":cancel",t+":fail cancel"),v&&u(e),Object(r["e"])(T)&&T(e),g&&l(e),Object(r["e"])(C)&&C(e)):0===n.indexOf(t+":fail")&&(Object(r["e"])(k)&&k(e),v&&u(e),Object(r["e"])(x)&&x(e)),m&&d(e),Object(r["e"])(O)&&O(e)};return h[E]={name:A,callback:M},{params:e,callbackId:E}}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=p(t,e,n),o=i.params,a=i.callbackId;return Object(r["f"])(o)&&!l(t,o,a)?{params:o,callbackId:!1}:{params:o,callbackId:a}}function g(t,e){if("number"===typeof t){var n=h[t];if(n)return n.keepAlive||delete h[t],n.callback(e)}return e}function m(e){return function(n){t.error("API `"+e+"` is not yet implemented")}}function y(t,e,n){return Object(r["e"])(e)?function(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];if(Object(o["b"])(t)){if(l(t,a,-1))return e.apply(null,a)}else if(Object(o["a"])(t)){if(l(t,a,-1))return e(d(t,a[0]))}else{var c={};a.length&&(c=a[0]);var u,f=v(t,c,n),h=f.params,p=f.callbackId;if(!1!==p)return u=Object(r["e"])(h)?e(p):e(h,p),u&&!Object(o["c"])(t)&&(u=g(p,u),Object(r["f"])(u)&&(u.errMsg=u.errMsg||t+":ok")),u}}:e}}).call(this,n("3ad9")["default"])},"27ab":function(t,e,n){function r(t){return a(t)||o(t)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function a(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}n.r(e);var s,c,u={name:"PickerView",props:{value:{type:Array,default:function(){return[]},validator:function(t){return Array.isArray(t)&&t.filter(function(t){return"number"===typeof t}).length===t.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},data:function(){return{valueSync:r(this.value),height:34,items:[],changeSource:""}},watch:{value:function(t){var e=this;this.valueSync.length=t.length,t.forEach(function(t,n){t!==e.valueSync[n]&&e.$set(e.valueSync,n,t)})},valueSync:{deep:!0,handler:function(t,e){if(""===this.changeSource)this._valueChanged(t);else{this.changeSource="";var n=t.map(function(t){return t});this.$emit("update:value",n),this.$trigger("change",{},{value:n})}}}},methods:{getItemIndex:function(t){return this.items.indexOf(t)},getItemValue:function(t){return this.valueSync[this.getItemIndex(t.$vnode)]||0},setItemValue:function(t,e){var n=this.getItemIndex(t.$vnode),r=this.valueSync[n];r!==e&&(this.changeSource="touch",this.$set(this.valueSync,n,e))},_valueChanged:function(t){this.items.forEach(function(e,n){e.componentInstance.setCurrent(t[n]||0)})},_resize:function(t){var e=t.height;this.height=e}},render:function(t){var e=[];return this.$slots.default&&this.$slots.default.forEach(function(t){t.componentOptions&&"v-uni-picker-view-column"===t.componentOptions.tag&&e.push(t)}),this.items=e,t("uni-picker-view",{on:this.$listeners},[t("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}}),t("div",{ref:"wrapper",class:"uni-picker-view-wrapper"},e)])}},l=u,f=(n("6062"),n("0c7c")),h=Object(f["a"])(l,s,c,!1,null,null,null);e["default"]=h.exports},"2bbe":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hoverClass&&"none"!==t.hoverClass?n("uni-view",t._g({class:[t.hovering?t.hoverClass:""],on:{touchstart:t._hoverTouchStart,touchend:t._hoverTouchEnd,touchcancel:t._hoverTouchCancel}},t.$listeners),[t._t("default")],2):n("uni-view",t._g({},t.$listeners),[t._t("default")],2)},i=[],o=n("83a6"),a={name:"View",mixins:[o["a"]],listeners:{"label-click":"clickHandler"}},s=a,c=(n("e865"),n("0c7c")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"2bdd":function(t,e,n){n.r(e),n.d(e,"enableAccelerometer",function(){return o});var r,i=n("b865");function o(t){var e=t.enable;return e?a():s()}function a(){if(window.DeviceMotionEvent)return r=function(t){var e=t.acceleration||t.accelerationIncludingGravity;Object(i["a"])("onAccelerometerChange",{x:e.x||0,y:e.y||0,z:e.z||0,errMsg:"onAccelerometerChange:ok"})},window.addEventListener("devicemotion",r,!1),{};throw new Error("device nonsupport devicemotion")}function s(){return r&&(window.removeEventListener("devicemotion",r,!1),r=null),{}}},"2c67":function(t,e,n){n.r(e),n.d(e,"createInnerAudioContext",function(){return f});var r=n("db70");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}var s=["canplay","play","pause","stop","ended","timeupdate","error","waiting","seeking","seeked"],c=[{name:"src",cache:!0},{name:"startTime",default:0,cache:!0},{name:"autoplay",default:!1,cache:!0},{name:"loop",default:!1,cache:!0},{name:"obeyMuteSwitch",default:!0,readonly:!0,cache:!0},{name:"duration",readonly:!0},{name:"currentTime",readonly:!0},{name:"paused",readonly:!0},{name:"buffered",readonly:!0},{name:"volume"}],u=function(){function t(e){var n=this;i(this,t),this.id=e,this._callbacks={},this._options={},s.forEach(function(t){n._callbacks[t]=[]}),c.forEach(function(t){var e=t.name,i={get:function(){var n=t.cache?this._options:Object(r["a"])("getAudioState",{audioId:this.id}),i=e in n?n[e]:t.default;return"number"===typeof i&&"volume"!==e?i/1e3:i}};t.readonly||(i.set=function(t){this._options[e]=t,Object(r["a"])("setAudioState",Object.assign({},this._options,{audioId:this.id}))}),Object.defineProperty(n,e,i)})}return a(t,[{key:"play",value:function(){this._operate("play")}},{key:"pause",value:function(){this._operate("pause")}},{key:"stop",value:function(){this._operate("stop")}},{key:"seek",value:function(t){this._operate("play",{currentTime:t})}},{key:"destroy",value:function(){Object(r["a"])("destroyAudioInstance",{audioId:this.id}),delete l[this.id]}},{key:"_operate",value:function(t,e){Object(r["a"])("operateAudio",Object.assign({},e,{audioId:this.id,operationType:t}))}}]),t}();s.forEach(function(t){var e=t[0].toUpperCase()+t.substr(1);u.prototype["on".concat(e)]=function(e){this._callbacks[t].push(e)},u.prototype["off".concat(e)]=function(e){var n=this._callbacks[t],r=n.indexOf(e);r>=0&&n.splice(r,1)}}),Object(r["b"])("onAudioStateChange",function(t){var e=t.state,n=t.audioId,r=t.errMsg,i=t.errCode,o=l[n];o&&o._callbacks[e].forEach(function(t){"function"===typeof t&&t("error"===e?{errMsg:r,errCode:i}:{})})});var l=Object.create(null);function f(){var t=Object(r["a"])("createAudioInstance"),e=t.audioId,n=new u(e);return l[e]=n,n}},"2eae":function(t,e,n){n.r(e),n.d(e,"interceptors",function(){return i});var r=n("8542");n.d(e,"addInterceptor",function(){return r["a"]}),n.d(e,"removeInterceptor",function(){return r["d"]});var i={promiseInterceptor:r["c"]}},"2ef3":function(t,e,n){(function(t,e,r){var i=n("8bbf"),o=n.n(i);e.UniViewJSBridge={subscribeHandler:t.subscribeHandler},e.UniServiceJSBridge={subscribeHandler:r.subscribeHandler};var a=n("0138"),s=a.default,c=a.getApp,u=a.getCurrentPages;e.uni=s,e.wx=e.uni,e.getApp=c,e.getCurrentPages=u,o.a.use(n("4ca9").default,{routes:__uniRoutes}),o.a.use(n("8c15").default,{routes:__uniRoutes}),n("442e"),n("8f7e"),n("1efd")}).call(this,n("501c"),n("24aa"),n("0dd1"))},"2fb0":function(t,e,n){},"31e2":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-video",t._g({attrs:{id:t.id,src:t.src,"initial-time":t.initialTime,duration:t.duration,controls:t.controls,"danmu-list":t.danmuList,"danmu-btn":t.danmuBtn,"enable-danmu":t.enableDanmu,autoplay:t.autoplay,loop:t.loop,muted:t.muted,"page-gesture":t.pageGesture,direction:t.direction,"show-progress":t.showProgress,"show-fullscreen-btn":t.showFullscreenBtn,"show-play-btn":t.showPlayBtn,"show-center-play-btn":t.showCenterPlayBtn,"enable-progress-gesture":t.enableProgressGesture,"object-fit":t.objectFit,poster:t.poster,"x5-video-player-type":t.x5VideoPlayerType,"x5-video-player-fullscreen":t.x5VideoPlayerFullscren,"x5-video-orientation":t.x5VideoOrientation,"x5-playsinline":t.x5Playsinline}},t.$listeners),[n("div",{ref:"container",staticClass:"uni-video-container",class:{"uni-video-type-fullscreen":t.fullscreen,"uni-video-type-rotate-left":"left"===t.rotateType,"uni-video-type-rotate-right":"right"===t.rotateType},style:{width:t.fullscreen?t.width:"100%",height:t.fullscreen?t.height:"100%"},on:{click:t.triggerControls,touchstart:function(e){return t.touchstart(e)},touchend:function(e){return t.touchend(e)},touchmove:function(e){return t.touchmove(e)}}},[n("video",{ref:"video",staticClass:"uni-video-video",style:{opacity:t.start?1:.8,objectFit:t.objectFit},attrs:{loop:t.loop,src:t.srcSync,poster:t.poster,"x5-video-player-type":t.x5VideoPlayerType,"x5-video-player-fullscreen":t.x5VideoPlayerFullscren,"x5-video-orientation":t.x5VideoOrientation,"x5-playsinline":t.x5Playsinline,"webkit-playsinline":"",playsinline:""},domProps:{muted:t.muted}}),n("div",{directives:[{name:"show",rawName:"v-show",value:t.controlsShow,expression:"controlsShow"}],staticClass:"uni-video-bar uni-video-bar-full",on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"uni-video-controls"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showPlayBtn,expression:"showPlayBtn"}],staticClass:"uni-video-control-button",class:{"uni-video-control-button-play":!t.playing,"uni-video-control-button-pause":t.playing},on:{click:function(e){return e.stopPropagation(),t.trigger(e)}}}),n("div",{staticClass:"uni-video-current-time"},[t._v(t._s(t._f("getTime")(t.currentTime)))]),n("div",{ref:"progress",staticClass:"uni-video-progress-container",on:{click:function(e){return e.stopPropagation(),t.clickProgress(e)}}},[n("div",{staticClass:"uni-video-progress"},[n("div",{staticClass:"uni-video-progress-buffered",style:{width:100*t.buffered+"%"}}),n("div",{ref:"ball",staticClass:"uni-video-ball",style:{left:t.progress+"%"}},[n("div",{staticClass:"uni-video-inner"})])])]),n("div",{staticClass:"uni-video-duration"},[t._v(t._s(t._f("getTime")(t.duration||t.durationTime)))])]),t.danmuBtn?n("div",{staticClass:"uni-video-danmu-button",class:{"uni-video-danmu-button-active":t.enableDanmuSync},on:{click:function(e){return e.stopPropagation(),t.triggerDanmu(e)}}},[t._v("弹幕")]):t._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showFullscreenBtn,expression:"showFullscreenBtn"}],staticClass:"uni-video-fullscreen",class:{"uni-video-type-fullscreen":t.fullscreen},on:{click:function(e){return e.stopPropagation(),t.triggerFullscreen(e)}}})]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.start&&t.enableDanmuSync,expression:"start&&enableDanmuSync"}],ref:"danmu",staticClass:"uni-video-danmu",staticStyle:{"z-index":"0"}}),t.start?t._e():n("div",{staticClass:"uni-video-cover",on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"uni-video-cover-play-button",on:{click:function(e){return e.stopPropagation(),t.play(e)}}}),n("p",{staticClass:"uni-video-cover-duration"},[t._v(t._s(t._f("getTime")(t.duration||t.durationTime)))])]),n("div",{staticClass:"uni-video-toast",class:{"uni-video-toast-volume":"volume"===t.gestureType}},[n("div",{staticClass:"uni-video-toast-title"},[t._v("音量")]),n("svg",{staticClass:"uni-video-toast-icon",attrs:{width:"200px",height:"200px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"}})]),n("div",{staticClass:"uni-video-toast-value"},[n("div",{staticClass:"uni-video-toast-value-content",style:{width:100*t.volumeNew+"%"}},[n("div",{staticClass:"uni-video-toast-volume-grids"},t._l(10,function(t,e){return n("div",{key:e,staticClass:"uni-video-toast-volume-grids-item"})}),0)])])]),n("div",{staticClass:"uni-video-toast",class:{"uni-video-toast-progress":"progress"==t.gestureType}},[n("div",{staticClass:"uni-video-toast-title"},[t._v(t._s(t._f("getTime")(t.currentTimeNew))+" / "+t._s(t._f("getTime")(t.durationTime)))])])]),n("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[t._t("default")],2)])},i=[],o=n("8af1"),a=n("f2b3"),s=!!a["h"]&&{passive:!1},c={NONE:"none",STOP:"stop",VOLUME:"volume",PROGRESS:"progress"},u={name:"Video",filters:{getTime:function(t){var e=Math.floor(t/3600),n=Math.floor(t%3600/60),r=Math.floor(t%3600%60);e=(e<10?"0":"")+e,n=(n<10?"0":"")+n,r=(r<10?"0":"")+r;var i=n+":"+r;return"00"!==e&&(i=e+":"+i),i}},mixins:[o["d"]],props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:function(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:360},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},x5VideoPlayerType:{type:[Boolean,String],default:!1},x5VideoPlayerFullscren:{type:[Boolean,String],default:!1},x5VideoOrientation:{type:[Boolean,String],default:!1},x5Playsinline:{type:[Boolean,String],default:!1}},data:function(){return{start:!1,playing:!1,currentTime:0,durationTime:0,progress:0,touching:!1,enableDanmuSync:Boolean(this.enableDanmu),controlsVisible:!0,fullscreen:!1,width:"0",height:"0",fullscreenTriggering:!1,controlsTouching:!1,directionSync:Number(this.direction),touchStartOrigin:{x:0,y:0},gestureType:c.NONE,currentTimeOld:0,currentTimeNew:0,volumeOld:null,volumeNew:null,isIOS:!1,buffered:0,rotateType:""}},computed:{controlsShow:function(){return this.start&&this.controls&&this.controlsVisible},autoHideContorls:function(){return this.controlsShow&&this.playing&&!this.controlsTouching},srcSync:function(){return this.$getRealPath(this.src)}},watch:{enableDanmuSync:function(t){this.$emit("update:enableDanmu",t)},autoHideContorls:function(t){t?this.autoHideStart():this.autoHideEnd()},fullscreen:function(t){var e=this,n=this.$refs.container,r=this.playing;this.fullscreenTriggering=!0,n.remove(),t?(this.resize(),document.body.appendChild(n)):this.$el.appendChild(n),this.$trigger("fullscreenchange",{},{fullScreen:t}),r&&this.play(),setTimeout(function(){e.fullscreenTriggering=!1},0)},direction:function(t){this.directionSync=Number(t)},srcSync:function(t){var e=this;this.playing=!1,this.currentTime=0,t&&this.autoplay&&this.$nextTick(function(){e.$refs.video.play()})},currentTime:function(){this.updateProgress()},duration:function(){this.updateProgress()}},created:function(){this.otherData={danmuList:[],danmuIndex:{time:0,index:-1},hideTiming:null};var t=this.otherData.danmuList=JSON.parse(JSON.stringify(this.danmuList||[]));t.sort(function(t,e){return(t.time||0)-(t.time||0)}),this.width=window.innerWidth+"px",this.height=window.innerHeight+"px"},mounted:function(){var t,e,n=this,r=this.otherData,i=this.$refs.video,o=this.$refs.ball;i.addEventListener("durationchange",function(t){n.durationTime=i.duration}),i.addEventListener("loadedmetadata",function(t){var e=Number(n.initialTime)||0;e>0&&(i.currentTime=e)}),i.addEventListener("progress",function(t){var e=i.buffered;e.length&&(n.buffered=e.end(e.length-1)/i.duration)}),i.addEventListener("waiting",function(t){n.$trigger("waiting",t,{})}),i.addEventListener("error",function(t){n.playing=!1,n.$trigger("error",t,{})}),i.addEventListener("play",function(t){n.start=!0,n.playing=!0,n.fullscreenTriggering||n.$trigger("play",t,{})}),i.addEventListener("pause",function(t){n.playing=!1,n.fullscreenTriggering||n.$trigger("pause",t,{})}),i.addEventListener("ended",function(t){n.playing=!1,n.$trigger("ended",t,{})}),i.addEventListener("timeupdate",function(t){var e=n.currentTime=i.currentTime,o=i.duration,a=r.danmuIndex,s={time:e,index:a.index},c=r.danmuList;if(e>a.time)for(var u=a.index+1;u<c.length;u++){var l=c[u];if(!(e>=(l.time||0)))break;s.index=u,n.playing&&n.enableDanmuSync&&n.playDanmu(l)}else if(e<a.time)for(var f=a.index-1;f>-1;f--){var h=c[f];if(!(e<=(h.time||0)))break;s.index=f-1}r.danmuIndex=s,n.$trigger("timeupdate",t,{currentTime:e,duration:o})}),i.addEventListener("x5videoenterfullscreen",function(t){n.$trigger("fullscreenchange",t,{fullScreen:!0})}),i.addEventListener("x5videoexitfullscreen",function(t){n.$trigger("fullscreenchange",t,{fullScreen:!1})});var a,c=!0;function u(r){var i=n.getScreenXY(r.targetTouches[0]),o=i.pageX,s=i.pageY;if(c&&Math.abs(o-t)<Math.abs(s-e))l();else{c=!1;var u=n.$refs.progress.offsetWidth,f=a+(o-t)/u*100;f<0?f=0:f>100&&(f=100),n.progress=f,r.preventDefault(),r.stopPropagation()}}function l(t){n.controlsTouching=!1,n.touching&&(o.removeEventListener("touchmove",u,s),c||(t.preventDefault(),t.stopPropagation(),n.seek(n.$refs.video.duration*n.progress/100)),n.touching=!1)}o.addEventListener("touchstart",function(r){n.controlsTouching=!0;var i=n.getScreenXY(r.targetTouches[0]);t=i.pageX,e=i.pageY,a=n.progress,c=!0,n.touching=!0,o.addEventListener("touchmove",u,s)}),o.addEventListener("touchend",l),o.addEventListener("touchcancel",l),String(this.srcSync).length&&this.autoplay&&i.play()},beforeDestroy:function(){this.$refs.container.remove(),clearTimeout(this.otherData.hideTiming)},methods:{_handleSubscribe:function(t){var e=t.type,n=t.data,r=void 0===n?{}:n;switch(e){case"play":this.play();break;case"pause":this.pause();break;case"seek":this.seek(r.position);break;case"sendDanmu":this.sendDanmu(r);break;case"playbackRate":this.$refs.video.playbackRate=r.rate;break;case"requestFullScreen":this.enterFullscreen();break;case"exitFullScreen":this.leaveFullscreen();break}},resize:function(){var t=window.innerWidth,e=window.innerHeight,n=Math.abs(this.directionSync);this.rotateType=0===n?t>e?"left":"":90===n?t>e?"":"right":"",this.rotateType?(this.width=e+"px",this.height=t+"px"):(this.width=t+"px",this.height=e+"px")},trigger:function(){this.playing?this.$refs.video.pause():this.$refs.video.play()},play:function(){this.start=!0,this.$refs.video.play()},pause:function(){this.$refs.video.pause()},seek:function(t){t=Number(t),"number"!==typeof t||isNaN(t)||(this.$refs.video.currentTime=t)},clickProgress:function(t){var e=t.offsetX,n=this.$refs.progress,r=t.target;while(r!==n)e+=r.offsetLeft,r=r.parentNode;var i=n.offsetWidth,o=0;e>=0&&e<=i&&(o=e/i,this.seek(this.$refs.video.duration*o))},triggerDanmu:function(){this.enableDanmuSync=!this.enableDanmuSync},playDanmu:function(t){var e=document.createElement("p");e.className="uni-video-danmu-item",e.innerText=t.text;var n="bottom: ".concat(100*Math.random(),"%;color: ").concat(t.color,";");e.setAttribute("style",n),this.$refs.danmu.appendChild(e),setTimeout(function(){n+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",e.setAttribute("style",n),setTimeout(function(){e.remove()},4e3)},17)},sendDanmu:function(t){var e=this.otherData;e.danmuList.splice(e.danmuIndex.index+1,0,{text:String(t.text),color:t.color,time:this.$refs.video.currentTime||0})},triggerFullscreen:function(){this.fullscreen=!this.fullscreen},enterFullscreen:function(t){var e=Number(t);isNaN(NaN)||(this.directionSync=e),this.fullscreen=!0},leaveFullscreen:function(){this.fullscreen=!1},triggerControls:function(){this.controlsVisible=!this.controlsVisible},touchstart:function(t){var e=this.getScreenXY(t.targetTouches[0]);this.touchStartOrigin={x:e.pageX,y:e.pageY},this.gestureType=c.NONE,this.volumeOld=null,this.currentTimeOld=this.currentTimeNew=0},touchmove:function(t){function e(){t.stopPropagation(),t.preventDefault()}this.fullscreen&&e();var n=this.gestureType;if(n!==c.STOP){var r=this.getScreenXY(t.targetTouches[0]),i=r.pageX,o=r.pageY,a=this.touchStartOrigin;if(n===c.PROGRESS?this.changeProgress(i-a.x):n===c.VOLUME&&this.changeVolume(o-a.y),n===c.NONE)if(Math.abs(i-a.x)>Math.abs(o-a.y)){if(!this.enableProgressGesture)return void(this.gestureType=c.STOP);this.gestureType=c.PROGRESS,this.currentTimeOld=this.currentTimeNew=this.$refs.video.currentTime,this.fullscreen||e()}else{if(!this.pageGesture)return void(this.gestureType=c.STOP);this.gestureType=c.VOLUME,this.volumeOld=this.$refs.video.volume,this.fullscreen||e()}}},touchend:function(t){this.gestureType!==c.NONE&&this.gestureType!==c.STOP&&(t.stopPropagation(),t.preventDefault()),this.gestureType===c.PROGRESS&&this.currentTimeOld!==this.currentTimeNew&&(this.$refs.video.currentTime=this.currentTimeNew),this.gestureType=c.NONE},changeProgress:function(t){var e=this.$refs.video.duration,n=t/600*e+this.currentTimeOld;n<0?n=0:n>e&&(n=e),this.currentTimeNew=n},changeVolume:function(t){var e,n=this.volumeOld;"number"===typeof n&&(e=n-t/200,e<0?e=0:e>1&&(e=1),this.$refs.video.volume=e,this.volumeNew=e)},autoHideStart:function(){var t=this;this.otherData.hideTiming=setTimeout(function(){t.controlsVisible=!1},3e3)},autoHideEnd:function(){var t=this.otherData;t.hideTiming&&(clearTimeout(t.hideTiming),t.hideTiming=null)},getScreenXY:function(t){var e=this.rotateType;if(!this.fullscreen||!e)return t;var n,r,i=screen.width,o=screen.height,a=t.pageX,s=t.pageY;return"left"===e?(n=o-s,r=a):(n=s,r=i-a),{pageX:n,pageY:r}},updateProgress:function(){this.touching||(this.progress=this.currentTime/this.durationTime*100)}}},l=u,f=(n("856e"),n("0c7c")),h=Object(f["a"])(l,r,i,!1,null,null,null);e["default"]=h.exports},"332a":function(t,e,n){n.r(e),n.d(e,"redirectTo",function(){return c}),n.d(e,"reLaunch",function(){return u}),n.d(e,"navigateTo",function(){return l}),n.d(e,"switchTab",function(){return f}),n.d(e,"navigateBack",function(){return h});var r=n("0f74");function i(t){if("string"!==typeof t)return t;var e=t.indexOf("?");if(-1===e)return t;var n=t.substr(e+1).trim().replace(/^(\?|#|&)/,"");if(!n)return t;t=t.substr(0,e);var r=[];return n.split("&").forEach(function(t){var e=t.replace(/\+/g," ").split("="),n=e.shift(),i=e.length>0?e.join("="):"";r.push(n+"="+encodeURIComponent(i))}),r.length?t+"?"+r.join("&"):t}function o(t){return function(e,n){e=Object(r["a"])(e);var o=e.split("?")[0],a=__uniRoutes.find(function(t){var e=t.path,n=t.alias;return e===o||n===o});if(!a)return"page `"+e+"` is not found";if("navigateTo"===t||"redirectTo"===t){if(a.meta.isTabBar)return"can not ".concat(t," a tabbar page")}else if("switchTab"===t&&!a.meta.isTabBar)return"can not switch to no-tabBar page";a.meta.isTabBar&&(e=o),a.meta.isEntry&&(e=e.replace(a.alias,"/")),n.url=i(e)}}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({url:{type:String,required:!0,validator:o(t)}},e)}function s(t){return{animationType:{type:String,validator:function(e){if(e&&-1===t.indexOf(e))return"`"+e+"` is not supported for `animationType` (supported values are: `"+t.join("`|`")+"`)"}},animationDuration:{type:Number}}}var c=a("redirectTo"),u=a("reLaunch"),l=a("navigateTo",s(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),f=a("switchTab"),h=Object.assign({delta:{type:Number,validator:function(t,e){t=parseInt(t)||1,e.delta=Math.min(getCurrentPages().length-1,t)}}},s(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]))},"33ab":function(t,e,n){},"33ed":function(t,e,n){(function(t){n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return a});var r=n("4a59");function i(t){t.preventDefault()}function o(t){var e=t.scrollTop,n=t.duration,r=document.documentElement,i=r.clientHeight,o=r.scrollHeight;function a(t){if(t<=0)window.scrollTo(0,e);else{var n=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+n/t*10),a(t-10)})}}e=Math.min(e,o-i),0!==n?window.scrollY!==e&&a(n):r.scrollTop=document.body.scrollTop=e}function a(e,n){var i=n.enablePageScroll,o=n.enablePageReachBottom,a=n.onReachBottomDistance,s=n.enableTransparentTitleNView,c=!1,u=!1,l=!0;function f(){var t=document.documentElement,e=t.clientHeight,n=t.scrollHeight,r=window.scrollY,i=r>0&&n>e&&r+e+a>=n;return i&&!u?(u=!0,!0):(!i&&u&&(u=!1),!1)}function h(){var n=window.pageYOffset;i&&Object(r["a"])("onPageScroll",{scrollTop:n},e),s&&t.emit("onPageScroll",{scrollTop:n}),o&&l&&f()&&(Object(r["a"])("onReachBottom",{},e),l=!1,setTimeout(function(){l=!0},350)),c=!1}return function(){c||requestAnimationFrame(h),c=!0}}}).call(this,n("501c"))},"347e":function(t,e,n){(function(t){var r=n("8aec"),i=n("f2b3"),o=!!i["h"]&&{passive:!0};e["a"]={name:"ScrollView",mixins:[r["a"]],props:{scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1}},data:function(){return{lastScrollTop:this.scrollTopNumber,lastScrollLeft:this.scrollLeftNumber,lastScrollToUpperTime:0,lastScrollToLowerTime:0}},computed:{upperThresholdNumber:function(){var t=Number(this.upperThreshold);return isNaN(t)?50:t},lowerThresholdNumber:function(){var t=Number(this.lowerThreshold);return isNaN(t)?50:t},scrollTopNumber:function(){return Number(this.scrollTop)||0},scrollLeftNumber:function(){return Number(this.scrollLeft)||0}},watch:{scrollTopNumber:function(t){this._scrollTopChanged(t)},scrollLeftNumber:function(t){this._scrollLeftChanged(t)},scrollIntoView:function(t){this._scrollIntoViewChanged(t)}},mounted:function(){var t=this;this._attached=!0,this._scrollTopChanged(this.scrollTopNumber),this._scrollLeftChanged(this.scrollLeftNumber),this._scrollIntoViewChanged(this.scrollIntoView),this.__handleScroll=function(e){event.preventDefault(),event.stopPropagation(),t._handleScroll.bind(t,event)()};var e=null,n=null;this.__handleTouchMove=function(r){var i=r.touches[0].pageX,o=r.touches[0].pageY,a=t.$refs.main;if(null===n)if(Math.abs(i-e.x)>Math.abs(o-e.y))if(t.scrollX){if(0===a.scrollLeft&&i>e.x)return void(n=!1);if(a.scrollWidth===a.offsetWidth+a.scrollLeft&&i<e.x)return void(n=!1);n=!0}else n=!1;else if(t.scrollY){if(0===a.scrollTop&&o>e.y)return void(n=!1);if(a.scrollHeight===a.offsetHeight+a.scrollTop&&o<e.y)return void(n=!1);n=!0}else n=!1;n&&r.stopPropagation()},this.__handleTouchStart=function(t){1===t.touches.length&&(n=null,e={x:t.touches[0].pageX,y:t.touches[0].pageY})},this.$refs.main.addEventListener("touchstart",this.__handleTouchStart,o),this.$refs.main.addEventListener("touchmove",this.__handleTouchMove,o),this.$refs.main.addEventListener("scroll",this.__handleScroll,!!i["h"]&&{passive:!1})},activated:function(){this.scrollY&&(this.$refs.main.scrollTop=this.lastScrollTop),this.scrollX&&(this.$refs.main.scrollLeft=this.lastScrollLeft)},beforeDestroy:function(){this.$refs.main.removeEventListener("touchstart",this.__handleTouchStart,o),this.$refs.main.removeEventListener("touchmove",this.__handleTouchMove,o),this.$refs.main.removeEventListener("scroll",this.__handleScroll,!!i["h"]&&{passive:!1})},methods:{scrollTo:function(t,e){var n=this.$refs.main;t<0?t=0:"x"===e&&t>n.scrollWidth-n.offsetWidth?t=n.scrollWidth-n.offsetWidth:"y"===e&&t>n.scrollHeight-n.offsetHeight&&(t=n.scrollHeight-n.offsetHeight);var r=0,i="";"x"===e?r=n.scrollLeft-t:"y"===e&&(r=n.scrollTop-t),0!==r&&(this.$refs.content.style.transition="transform .3s ease-out",this.$refs.content.style.webkitTransition="-webkit-transform .3s ease-out","x"===e?i="translateX("+r+"px) translateZ(0)":"y"===e&&(i="translateY("+r+"px) translateZ(0)"),this.$refs.content.removeEventListener("transitionend",this.__transitionEnd),this.$refs.content.removeEventListener("webkitTransitionEnd",this.__transitionEnd),this.__transitionEnd=this._transitionEnd.bind(this,t,e),this.$refs.content.addEventListener("transitionend",this.__transitionEnd),this.$refs.content.addEventListener("webkitTransitionEnd",this.__transitionEnd),"x"===e?n.style.overflowX="hidden":"y"===e&&(n.style.overflowY="hidden"),this.$refs.content.style.transform=i,this.$refs.content.style.webkitTransform=i)},_handleTrack:function(t){if("start"===t.detail.state)return this._x=t.detail.x,this._y=t.detail.y,void(this._noBubble=null);"end"===t.detail.state&&(this._noBubble=!1),null===this._noBubble&&this.scrollY&&(Math.abs(this._y-t.detail.y)/Math.abs(this._x-t.detail.x)>1?this._noBubble=!0:this._noBubble=!1),null===this._noBubble&&this.scrollX&&(Math.abs(this._x-t.detail.x)/Math.abs(this._y-t.detail.y)>1?this._noBubble=!0:this._noBubble=!1),this._x=t.detail.x,this._y=t.detail.y,this._noBubble&&t.stopPropagation()},_handleScroll:function(t){if(!(t.timeStamp-this._lastScrollTime<20)){this._lastScrollTime=t.timeStamp;var e=t.target;this.$trigger("scroll",t,{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,deltaX:this.lastScrollLeft-e.scrollLeft,deltaY:this.lastScrollTop-e.scrollTop}),this.scrollY&&(e.scrollTop<=this.upperThresholdNumber&&this.lastScrollTop-e.scrollTop>0&&t.timeStamp-this.lastScrollToUpperTime>200&&(this.$trigger("scrolltoupper",t,{direction:"top"}),this.lastScrollToUpperTime=t.timeStamp),e.scrollTop+e.offsetHeight+this.lowerThresholdNumber>=e.scrollHeight&&this.lastScrollTop-e.scrollTop<0&&t.timeStamp-this.lastScrollToLowerTime>200&&(this.$trigger("scrolltolower",t,{direction:"bottom"}),this.lastScrollToLowerTime=t.timeStamp)),this.scrollX&&(e.scrollLeft<=this.upperThresholdNumber&&this.lastScrollLeft-e.scrollLeft>0&&t.timeStamp-this.lastScrollToUpperTime>200&&(this.$trigger("scrolltoupper",t,{direction:"left"}),this.lastScrollToUpperTime=t.timeStamp),e.scrollLeft+e.offsetWidth+this.lowerThresholdNumber>=e.scrollWidth&&this.lastScrollLeft-e.scrollLeft<0&&t.timeStamp-this.lastScrollToLowerTime>200&&(this.$trigger("scrolltolower",t,{direction:"right"}),this.lastScrollToLowerTime=t.timeStamp)),this.lastScrollTop=e.scrollTop,this.lastScrollLeft=e.scrollLeft}},_scrollTopChanged:function(t){this.scrollY&&(this._innerSetScrollTop?this._innerSetScrollTop=!1:this.scrollWithAnimation?this.scrollTo(t,"y"):this.$refs.main.scrollTop=t)},_scrollLeftChanged:function(t){this.scrollX&&(this._innerSetScrollLeft?this._innerSetScrollLeft=!1:this.scrollWithAnimation?this.scrollTo(t,"x"):this.$refs.main.scrollLeft=t)},_scrollIntoViewChanged:function(e){if(e){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(e))return t.group('scroll-into-view="'+e+'" 有误'),t.error("id 属性值格式错误。如不能以数字开头。"),void t.groupEnd();var n=this.$el.querySelector("#"+e);if(n){var r=this.$refs.main.getBoundingClientRect(),i=n.getBoundingClientRect();if(this.scrollX){var o=i.left-r.left,a=this.$refs.main.scrollLeft,s=a+o;this.scrollWithAnimation?this.scrollTo(s,"x"):this.$refs.main.scrollLeft=s}if(this.scrollY){var c=i.top-r.top,u=this.$refs.main.scrollTop,l=u+c;this.scrollWithAnimation?this.scrollTo(l,"y"):this.$refs.main.scrollTop=l}}}},_transitionEnd:function(t,e){this.$refs.content.style.transition="",this.$refs.content.style.webkitTransition="",this.$refs.content.style.transform="",this.$refs.content.style.webkitTransform="";var n=this.$refs.main;"x"===e?(n.style.overflowX=this.scrollX?"auto":"hidden",n.scrollLeft=t):"y"===e&&(n.style.overflowY=this.scrollY?"auto":"hidden",n.scrollTop=t),this.$refs.content.removeEventListener("transitionend",this.__transitionEnd),this.$refs.content.removeEventListener("webkitTransitionEnd",this.__transitionEnd)},getScrollPosition:function(){var t=this.$refs.main;return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}}}}).call(this,n("3ad9")["default"])},"34b2":function(t,e,n){n.r(e),function(t){n.d(e,"getImageInfo",function(){return o});var r=n("cb0f");function i(){return window.location.protocol+"//"+window.location.host}function o(e,n){var o=e.src,a=t,s=a.invokeCallbackHandler,c=new Image,u=Object(r["a"])(o);c.onload=function(){s(n,{errMsg:"getImageInfo:ok",width:c.naturalWidth,height:c.naturalHeight,path:0===u.indexOf("/")?i()+u:u})},c.onerror=function(t){s(n,{errMsg:"getImageInfo:fail"})},c.src=o}}.call(this,n("0dd1"))},3648:function(t,e,n){n.r(e);var r=n("f2b3"),i={"css.var":window.CSS&&window.CSS.supports&&window.CSS.supports("--a",0)};function o(t){return!Object(r["c"])(i,t)||i[t]}n.d(e,"canIUse",function(){return o})},3676:function(t,e,n){n.r(e),n.d(e,"getRecorderManager",function(){return l});var r=n("db70");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}var s,c={pause:[],resume:[],start:[],stop:[]},u=function(){function t(){i(this,t),Object(r["b"])("onRecorderStateChange",function(t){var e=t.state;delete t.state,delete t.errMsg,c[e].forEach(function(e){"function"===typeof e&&e(t)})})}return a(t,[{key:"onError",value:function(t){c.error.push(t)}},{key:"onFrameRecorded",value:function(t){}},{key:"onInterruptionBegin",value:function(t){}},{key:"onInterruptionEnd",value:function(t){}},{key:"onPause",value:function(t){c.pause.push(t)}},{key:"onResume",value:function(t){c.resume.push(t)}},{key:"onStart",value:function(t){c.start.push(t)}},{key:"onStop",value:function(t){c.stop.push(t)}},{key:"pause",value:function(){Object(r["a"])("operateRecorder",{operationType:"pause"})}},{key:"resume",value:function(){Object(r["a"])("operateRecorder",{operationType:"resume"})}},{key:"start",value:function(t){Object(r["a"])("operateRecorder",Object.assign({},t,{operationType:"start"}))}},{key:"stop",value:function(){Object(r["a"])("operateRecorder",{operationType:"stop"})}}]),t}();function l(){return s||(s=new u)}},"3ad9":function(t,e,n){n.r(e),function(t){var n=Array.prototype.unshift;function r(t){return n.call(t,"[system]"),t}function i(e){return function(){var n=!0;"debug"!==e||__uniConfig.debug||(n=!1),n&&t.console[e].apply(t.console,r(arguments))}}e["default"]={log:i("log"),info:i("info"),warn:i("warn"),debug:i("debug"),error:i("error")}}.call(this,n("24aa"))},"3b67":function(t,e,n){var r=Object.create(null),i=n("e3a7");i.keys().forEach(function(t){Object.assign(r,i(t))}),e["a"]=r},"3bfb":function(t,e,n){n.r(e),n.d(e,"createAudioContext",function(){return i}),n.d(e,"createVideoContext",function(){return o}),n.d(e,"createMapContext",function(){return a}),n.d(e,"createCanvasContext",function(){return s});var r=[{name:"id",type:String,required:!0}],i=r,o=r,a=r,s=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}]},"3d1f":function(t,e,n){(function(t){n.d(e,"a",function(){return o});var r=n("62b5"),i=n("a741");function o(e,n){n.getApp;var o=n.getCurrentPages;function a(e){return function(n,r){var a=o(),s=a.find(function(t){return t.$page.id===r});s?Object(i["b"])(s,e,n):t.error("Not Found:Page[".concat(r,"]"))}}var s=Object(r["a"])("requestComponentInfo");function c(t){var e=t.reqId,n=t.res,r=s.pop(e);r&&r(n)}var u=Object(r["a"])("requestComponentObserver");function l(t){var e=t.reqId,n=t.reqEnd,r=t.res,i=u.get(e);if(i){if(n)return void u.pop(e);i(r)}}e("onPageReady",a("onReady")),e("onPageScroll",a("onPageScroll")),e("onReachBottom",a("onReachBottom")),e("onRequestComponentInfo",c),e("onRequestComponentObserver",l)}}).call(this,n("3ad9")["default"])},"3d64":function(t,e,n){n.r(e),function(t){n.d(e,"onNetworkStatusChange",function(){return s}),n.d(e,"getNetworkType",function(){return c});var r=t,i=r.invokeCallbackHandler,o=[];function a(){var t=c(),e=t.networkType;o.forEach(function(t){i(t,{errMsg:"onNetworkStatusChange:ok",isConnected:"none"!==e,networkType:e})})}function s(t){var e=navigator.connection||navigator.webkitConnection;o.push(t),e?e.addEventListener("change",a):(window.addEventListener("offline",a),window.addEventListener("online",a))}function c(){var t=navigator.connection||navigator.webkitConnection,e="unknown";return t?(e=t.type,"cellular"===e?e=t.effectiveType.replace("slow-",""):["none","wifi"].includes(e)||(e="unknown")):!1===navigator.onLine&&(e="none"),{errMsg:"getNetworkType:ok",networkType:e}}}.call(this,n("0dd1"))},"3da9":function(t,e,n){var r=n("33ab"),i=n.n(r);i.a},"3e8c":function(t,e,n){n.r(e);var r,i,o={name:"ResizeSensor",props:{initial:{type:[Boolean,String],default:!1}},data:function(){return{size:{width:-1,height:-1}}},watch:{size:{deep:!0,handler:function(t){this.$emit("resize",Object.assign({},t))}}},mounted:function(){!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"AnimationEvent"in window||this.reset()},methods:{reset:function(){var t=this.$el.firstChild,e=this.$el.lastChild;t.scrollLeft=1e5,t.scrollTop=1e5,e.scrollLeft=1e5,e.scrollTop=1e5},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight,this.reset()}},render:function(t){return t("uni-resize-sensor",{on:{"~animationstart":this.update}},[t("div",{on:{scroll:this.update}},[t("div")]),t("div",{on:{scroll:this.update}},[t("div")])])}},a=o,s=(n("64d0"),n("0c7c")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},"3f7e":function(t,e,n){var r=n("1a33"),i=n.n(r);i.a},"439a":function(t,e,n){n.r(e),n.d(e,"downloadFile",function(){return r});var r={url:{type:String,required:!0},header:{type:Object,validator:function(t,e){e.header=t||{}}}}},"442e":function(t,e,n){n.r(e),function(t){var e=n("8bbf"),r=n.n(e),i=n("5129"),o=n.n(i),a=r.a.config.isReservedTag;r.a.config.isReservedTag=function(t){return-1!==o.a.indexOf(t)||a(t)},r.a.config.ignoredElements=o.a;var s=r.a.config.getTagNamespace,c=["switch","image","text","view"];r.a.config.getTagNamespace=function(t){return!~c.indexOf(t)&&(s(t)||!1)},r.a.config.errorHandler=function(e,n,r){t.emit("onError",e)}}.call(this,n("0dd1"))},"44de":function(t,e,n){n.r(e),n.d(e,"vibrateLong",function(){return i}),n.d(e,"vibrateShort",function(){return o});var r=!!window.navigator.vibrate;function i(){return r&&window.navigator.vibrate(400)?{errMsg:"vibrateLong:ok"}:{errMsg:"vibrateLong:fail"}}function o(){return r&&window.navigator.vibrate(15)?{errMsg:"vibrateShort:ok"}:{errMsg:"vibrateShort:fail"}}},4509:function(t,e,n){},"454d":function(t,e,n){n.r(e),n.d(e,"removeTabBarBadge",function(){return i}),n.d(e,"showTabBarRedDot",function(){return o}),n.d(e,"hideTabBarRedDot",function(){return a});var r=n("db70");function i(t){var e=t.index;return Object(r["a"])("setTabBarBadge",{index:e,type:"none"})}function o(t){var e=t.index;return Object(r["a"])("setTabBarBadge",{index:e,type:"redDot"})}var a=i},"45d2":function(t,e,n){n.r(e),n.d(e,"upx2px",function(){return u});var r=1e-4,i=750,o=!1,a=0,s=0;function c(){var t=uni.getSystemInfoSync(),e=t.platform,n=t.pixelRatio,r=t.windowWidth;a=r,s=n,o="ios"===e}function u(t,e){if(0===a&&c(),t=Number(t),0===t)return 0;var n=t/i*(e||a);return n<0&&(n=-n),n=Math.floor(n+r),0===n?1!==s&&o?.5:1:t<0?-n:n}},"45db":function(t,e,n){n.r(e),function(t){var r;function i(t){r=t}function o(){r&&t.emit(r+".stopPullDownRefresh",{},r);var e=getCurrentPages();return e.length&&(r=e[e.length-1].$page.id,t.emit(r+".startPullDownRefresh",{},r)),{}}function a(){if(r)t.emit(r+".stopPullDownRefresh",{},r),r=null;else{var e=getCurrentPages();e.length&&(r=e[e.length-1].$page.id,t.emit(r+".stopPullDownRefresh",{},r))}return{}}n.d(e,"setPullDownRefreshPageId",function(){return i}),n.d(e,"startPullDownRefresh",function(){return o}),n.d(e,"stopPullDownRefresh",function(){return a})}.call(this,n("0dd1"))},4656:function(t,e,n){},"484e":function(t,e,n){function i(t){return i="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)},i(t)}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,n=t.data,r={type:"object"===i(n)?"object":"string",data:n};localStorage.setItem(e,JSON.stringify(r));var o=localStorage.getItem("uni-storage-keys");if(o){var a=JSON.parse(o);a.indexOf(e)<0&&(a.push(e),localStorage.setItem("uni-storage-keys",JSON.stringify(a)))}else localStorage.setItem("uni-storage-keys",JSON.stringify([e]));return{errMsg:"setStorage:ok"}}function a(t,e){o({key:t,data:e})}function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,n=localStorage.getItem(e);return n?{data:JSON.parse(n).data,errMsg:"getStorage:ok"}:{data:"",errMsg:"getStorage:fail"}}function c(t){var e=s({key:t});return e.data}function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,n=localStorage.getItem("uni-storage-keys");if(n){var r=JSON.parse(n),i=r.indexOf(e);r.splice(i,1),localStorage.setItem("uni-storage-keys",JSON.stringify(r))}return localStorage.removeItem(e),{errMsg:"removeStorage:ok"}}function l(t){u({key:t})}function f(){return localStorage.clear(),{errMsg:"clearStorage:ok"}}function h(){f()}function d(){var t=localStorage.getItem("uni-storage-keys");return t?{keys:JSON.parse(t),currentSize:0,limitSize:0,errMsg:"getStorageInfo:ok"}:{keys:"",currentSize:0,limitSize:0,errMsg:"getStorageInfo:fail"}}function p(){var t=d();return delete t.errMsg,t}n.r(e),n.d(e,"setStorage",function(){return o}),n.d(e,"setStorageSync",function(){return a}),n.d(e,"getStorage",function(){return s}),n.d(e,"getStorageSync",function(){return c}),n.d(e,"removeStorage",function(){return u}),n.d(e,"removeStorageSync",function(){return l}),n.d(e,"clearStorage",function(){return f}),n.d(e,"clearStorageSync",function(){return h}),n.d(e,"getStorageInfo",function(){return d}),n.d(e,"getStorageInfoSync",function(){return p})},4871:function(t,e,n){},"488c":function(t,e,n){},"4a59":function(t,e,n){(function(t){function r(e,n,r){t.UniServiceJSBridge.subscribeHandler(e,n,r)}n.d(e,"a",function(){return r})}).call(this,n("24aa"))},"4ca9":function(t,e,n){n.r(e),function(t){var r=n("6389"),i=n.n(r),o=n("85b6"),a=n("abbf"),s=n("0784"),c=n("aa92"),u=n("23e5");function l(t){var e=0;return t.forEach(function(t){t.meta.id&&e++}),e}function f(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":decodeURI(t.slice(e+1))}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=decodeURI(window.location.pathname);return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}e["default"]={install:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.routes;Object(c["a"])(e);var d=l(r),p=new i.a({id:d,mode:__uniConfig.router.mode,base:__uniConfig.router.base,routes:r,scrollBehavior:function(t,e,n){if(n)return n;if(t&&e&&t.meta.isTabBar&&e.meta.isTabBar){var r=Object(u["b"])(t.params.__id__);if(r)return r}return{x:0,y:0}}}),v=[],g=p.match("history"===__uniConfig.router.mode?h(__uniConfig.router.base):f());if(g.meta.name&&(g.meta.id?v.push(g.meta.name+"-"+g.meta.id):v.push(g.meta.name+"-"+(d+1))),g.meta&&g.meta.name&&(document.body.className="uni-body "+g.meta.name,g.meta.isNVue)){var m="nvue-dir-"+__uniConfig.nvue["flex-direction"];document.body.setAttribute("nvue",""),document.body.setAttribute(m,"")}e.mixin({beforeCreate:function(){var e=this.$options;if("app"===e.mpType){e.data=function(){return{keepAliveInclude:v}};var n=Object(a["a"])(r,g);Object.keys(n).forEach(function(t){e[t]=e[t]?[].concat(n[t],e[t]):[n[t]]}),e.router=p,Array.isArray(e.onError)&&0!==e.onError.length||(e.onError=[function(e){t.error(e)}])}else if(Object(o["b"])(this)){var i=Object(s["a"])();Object.keys(i).forEach(function(t){e[t]=e[t]?[].concat(i[t],e[t]):[i[t]]})}else this.$parent&&this.$parent.__page__&&(this.__page__=this.$parent.__page__)}}),Object.defineProperty(e.prototype,"$page",{get:function(){return this.__page__}}),e.prototype.createSelectorQuery=function(){return uni.createSelectorQuery().in(this)},e.prototype.createIntersectionObserver=function(t){return uni.createIntersectionObserver(this,t)},e.use(i.a)}}}.call(this,n("3ad9")["default"])},"4da7":function(t,e,n){n.r(e);var r,i,o=n("4f97"),a=o["a"],s=(n("c8ed"),n("0c7c")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},"4e7c":function(t,e,n){n.r(e),n.d(e,"getProvider",function(){return i});var r={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},i={service:{type:String,required:!0,validator:function(t,e){if(t=(t||"").toUpperCase(),t&&Object.values(r).indexOf(t)<0)return"service error"}}}},"4ec0":function(t,e,n){(function(t,r){var i=n("f2b3"),o=n("65a8"),a=n("81ea"),s=n("f1ea");e["a"]={name:"App",components:a["a"],mixins:s["default"],props:{keepAliveInclude:{type:Array,default:function(){return[]}}},data:function(){return{transitionName:"fade",hideTabBar:!1,tabBar:__uniConfig.tabBar||{}}},computed:{key:function(){return this.$route.meta.name+"-"+this.$route.params.__id__+"-"+(__uniConfig.reLaunch||1)},hasTabBar:function(){return __uniConfig.tabBar&&__uniConfig.tabBar.list&&__uniConfig.tabBar.list.length},showTabBar:function(){return this.$route.meta.isTabBar&&!this.hideTabBar}},watch:{$route:function(e,n){t.emit("onHidePopup")},hideTabBar:function(t,e){if(uni.canIUse("css.var")){var n=t?"0px":o["b"]+"px";document.documentElement.style.setProperty("--window-bottom",n),r.debug("uni.".concat(n?"showTabBar":"hideTabBar",":--window-bottom=").concat(n))}window.dispatchEvent(new CustomEvent("resize"))}},created:function(){uni.canIUse("css.var")&&document.documentElement.style.setProperty("--status-bar-height","0px")},mounted:function(){window.addEventListener("message",function(e){Object(i["f"])(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&t.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}),document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState?t.emit("onAppEnterForeground"):t.emit("onAppEnterBackground")})}}}).call(this,n("0dd1"),n("3ad9")["default"])},"4f1c":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-switch",t._g({on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-switch-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:"switch"===t.type,expression:"type === 'switch'"}],staticClass:"uni-switch-input",class:[t.switchChecked?"uni-switch-input-checked":""],style:{backgroundColor:t.switchChecked?t.color:"#DFDFDF",borderColor:t.switchChecked?t.color:"#DFDFDF"}}),n("div",{directives:[{name:"show",rawName:"v-show",value:"checkbox"===t.type,expression:"type === 'checkbox'"}],staticClass:"uni-checkbox-input",class:[t.switchChecked?"uni-checkbox-input-checked":""],style:{color:t.color}})])])},i=[],o=n("8af1"),a={name:"Switch",mixins:[o["a"],o["c"]],props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},data:function(){return{switchChecked:this.checked}},watch:{checked:function(t){this.switchChecked=t}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},listeners:{"label-click":"_onClick","@label-click":"_onClick"},methods:{_onClick:function(t){this.disabled||(this.switchChecked=!this.switchChecked,this.$trigger("change",t,{value:this.switchChecked}))},_resetFormData:function(){this.switchChecked=!1},_getFormData:function(){var t={};return""!==this.name&&(t["value"]=this.switchChecked,t["key"]=this.name),t}}},s=a,c=(n("a5ec"),n("0c7c")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"4f43":function(t,e,n){n.r(e),function(t){n.d(e,"downloadFile",function(){return u});var r=n("e2e2");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){function t(e){i(this,t),s(this,"_xhr",void 0),s(this,"_callbacks",[]),this._xhr=e}return a(t,[{key:"onProgressUpdate",value:function(t){"function"===typeof t&&this._callbacks.push(t)}},{key:"offProgressUpdate",value:function(t){var e=this._callbacks.indexOf(t);e>=0&&this._callbacks.splice(e,1)}},{key:"abort",value:function(){this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function u(e,n){var i,o=e.url,a=e.header,s=__uniConfig.networkTimeout&&__uniConfig.networkTimeout.downloadFile||6e4,u=t,l=u.invokeCallbackHandler,f=new XMLHttpRequest,h=new c(f);return f.open("GET",o,!0),Object.keys(a).forEach(function(t){f.setRequestHeader(t,a[t])}),f.responseType="blob",f.onload=function(){clearTimeout(i);var t=f.status,e=this.response;l(n,{errMsg:"downloadFile:ok",statusCode:t,tempFilePath:Object(r["a"])(e)})},f.onabort=function(){clearTimeout(i),l(n,{errMsg:"downloadFile:fail abort"})},f.onerror=function(){clearTimeout(i),l(n,{errMsg:"downloadFile:fail"})},f.onprogress=function(t){h._callbacks.forEach(function(e){var n=t.loaded,r=t.total,i=Math.round(n/r*100);e({progress:i,totalBytesWritten:n,totalBytesExpectedToWrite:r})})},f.send(),i=setTimeout(function(){f.onprogress=f.onload=f.onabort=f.onerror=null,h.abort(),l(n,{errMsg:"downloadFile:fail timeout"})},s),h}}.call(this,n("0dd1"))},"4f97":function(t,e,n){(function(t){var n={ensp:" ",emsp:" ",nbsp:" "};e["a"]={name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},methods:{_decodeHtml:function(t){return this.space&&n[this.space]&&(t=t.replace(/ /g,n[this.space])),this.decode&&(t=t.replace(/ /g,n.nbsp).replace(/ /g,n.ensp).replace(/ /g,n.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")),t}},render:function(e){var n=this,r=[];return this.$slots.default&&this.$slots.default.forEach(function(i){if(i.text){var o=i.text.replace(/\\n/g,"\n"),a=o.split("\n");a.forEach(function(t,i){r.push(n._decodeHtml(t)),i!==a.length-1&&r.push(e("br"))})}else i.componentOptions&&"v-uni-text"!==i.componentOptions.tag&&t.warn("<text> 组件内只支持嵌套 <text>,不支持其它组件或自定义组件,否则会引发在不同平台的渲染差异。"),r.push(i)}),e("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[e("span",{},r)])}}}).call(this,n("3ad9")["default"])},"4fef":function(t,e,n){var r=n("2fb0"),i=n.n(r);i.a},"500a":function(t,e,n){},"501c":function(t,e,n){n.r(e),n.d(e,"on",function(){return c}),n.d(e,"off",function(){return u}),n.d(e,"once",function(){return l}),n.d(e,"emit",function(){return f}),n.d(e,"subscribe",function(){return h}),n.d(e,"unsubscribe",function(){return d}),n.d(e,"subscribeHandler",function(){return p});var r=n("8bbf"),i=n.n(r),o=n("8ecd"),a=n("4a59");n.d(e,"publishHandler",function(){return a["a"]});var s=new i.a,c=s.$on.bind(s),u=s.$off.bind(s),l=s.$once.bind(s),f=s.$emit.bind(s);function h(t,e){return c("service."+t,e)}function d(t,e){return u("service."+t,e)}function p(t,e,n){f("service."+t,e,n)}Object(o["a"])(h)},5129:function(t,e){t.exports=["uni-app","uni-tabbar","uni-page","uni-page-head","uni-page-wrapper","uni-page-body","uni-page-refresh","uni-actionsheet","uni-modal","uni-picker","uni-toast","uni-resize-sensor","uni-ad","uni-audio","uni-button","uni-camera","uni-canvas","uni-checkbox","uni-checkbox-group","uni-cover-image","uni-cover-view","uni-form","uni-functional-page-navigator","uni-icon","uni-image","uni-input","uni-label","uni-live-player","uni-live-pusher","uni-map","uni-movable-area","uni-movable-view","uni-navigator","uni-official-account","uni-open-data","uni-picker","uni-picker-view","uni-picker-view-column","uni-progress","uni-radio","uni-radio-group","uni-rich-text","uni-scroll-view","uni-slider","uni-swiper","uni-swiper-item","uni-switch","uni-text","uni-textarea","uni-video","uni-view","uni-web-view"]},5363:function(t,e,n){function r(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}n.d(e,"a",function(){return r}),r.prototype.set=function(t,e){this._x=t,this._v=e,this._startTime=(new Date).getTime()},r.prototype.setVelocityByEnd=function(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)},r.prototype.x=function(t){var e;return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),e=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t),this._dt=t,this._x+this._v*e/this._dragLog-this._v/this._dragLog},r.prototype.dx=function(t){var e;return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),e=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t),this._dt=t,this._v*e},r.prototype.done=function(){return Math.abs(this.dx())<3},r.prototype.reconfigure=function(t){var e=this.x(),n=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(e,n)},r.prototype.configuration=function(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(e){t.reconfigure(e)},min:.001,max:.1,step:.001}]}},"53f0":function(t,e,n){},5408:function(t,e,n){var r={"./button/index.vue":"d3bd","./canvas/index.vue":"bacd","./checkbox-group/index.vue":"25ce","./checkbox/index.vue":"7bb3","./form/index.vue":"b34d","./icon/index.vue":"9a8b","./image/index.vue":"1082","./input/index.vue":"250d","./label/index.vue":"70f4","./movable-area/index.vue":"c61c","./movable-view/index.vue":"8842","./navigator/index.vue":"17fd","./picker-view-column/index.vue":"1955","./picker-view/index.vue":"27ab","./picker/index.vue":"c35d","./progress/index.vue":"9b1f","./radio-group/index.vue":"d5ec","./radio/index.vue":"6491","./resize-sensor/index.vue":"3e8c","./rich-text/index.vue":"b705","./scroll-view/index.vue":"f1ef","./slider/index.vue":"9f96","./swiper-item/index.vue":"9213","./swiper/index.vue":"5513","./switch/index.vue":"4f1c","./text/index.vue":"4da7","./textarea/index.vue":"5768","./view/index.vue":"2bbe"};function i(t){var e=o(t);return n(e)}function o(t){var e=r[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id="5408"},5513:function(t,e,n){n.r(e);var r,i,o=n("ba15"),a={name:"Swiper",mixins:[o["a"]],props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1}},data:function(){return{currentSync:Math.round(this.current)||0,currentItemIdSync:this.currentItemId||"",userTracking:!1,currentChangeSource:"",items:[]}},computed:{intervalNumber:function(){var t=Number(this.interval);return isNaN(t)?5e3:t},durationNumber:function(){var t=Number(this.duration);return isNaN(t)?500:t},displayMultipleItemsNumber:function(){var t=Math.round(this.displayMultipleItems);return isNaN(t)?1:t},slidesStyle:function(){var t={};return(this.nextMargin||this.previousMargin)&&(t=this.vertical?{left:0,right:0,top:this._upx2px(this.previousMargin),bottom:this._upx2px(this.nextMargin)}:{top:0,bottom:0,left:this._upx2px(this.previousMargin),right:this._upx2px(this.nextMargin)}),t},slideFrameStyle:function(){var t=Math.abs(100/this.displayMultipleItemsNumber)+"%";return{width:this.vertical?"100%":t,height:this.vertical?t:"100%"}},circularEnabled:function(){return this.circular&&this.items.length>this.displayMultipleItemsNumber}},watch:{vertical:function(){this._resetLayout()},circular:function(){this._resetLayout()},intervalNumber:function(t){this._timer&&(this._cancelSchedule(),this._scheduleAutoplay())},current:function(t){this._currentCheck()},currentSync:function(t){this._currentChanged(t),this.$emit("update:current",t)},currentItemId:function(t){this._currentCheck()},currentItemIdSync:function(t){this.$emit("update:currentItemId",t)},displayMultipleItemsNumber:function(){this._resetLayout()}},created:function(){this._invalid=!0,this._viewportPosition=0,this._viewportMoveRatio=1,this._animating=null,this._requestedAnimation=!1,this._userDirectionChecked=!1,this._contentTrackViewport=0,this._contentTrackSpeed=0,this._contentTrackT=0},mounted:function(){var t=this;this._currentCheck(),this.touchtrack(this.$refs.slidesWrapper,"_handleContentTrack",!0),this._resetLayout(),this.$watch(function(){return t.autoplay&&!t.userTracking},this._inintAutoplay),this._inintAutoplay(this.autoplay&&!this.userTracking),this.$watch("items.length",this._resetLayout)},beforeDestroy:function(){this._cancelSchedule()},methods:{_inintAutoplay:function(t){t?this._scheduleAutoplay():this._cancelSchedule()},_currentCheck:function(){var t=-1;if(this.currentItemId)for(var e=0,n=this.items;e<n.length;e++){var r=n[e].componentInstance;if(r&&r.itemId===this.currentItemId){t=e;break}}t<0&&(t=Math.round(this.current)||0),t=t<0?0:t,this.currentSync!==t&&(this.currentChangeSource="",this.currentSync=t)},_itemReady:function(t,e){t.componentInstance&&t.componentInstance._isMounted?e():(t._callbacks=t._callbacks||[],t._callbacks.push(e))},_currentChanged:function(t){var e=this,n=this.currentChangeSource;this.currentChangeSource="",n||this._animateViewport(t,"",0);var r=this.items[t];r&&this._itemReady(r,function(){var t=e.currentItemIdSync=r.componentInstance.itemId||"";e.$trigger("change",{},{current:e.currentSync,currentItemId:t,source:n})})},_scheduleAutoplay:function(){var t=this;function e(){t._timer=null,t.currentChangeSource="autoplay",t.circularEnabled?t.currentSync=t._normalizeCurrentValue(t.currentSync+1):t.currentSync=t.currentSync+t.displayMultipleItemsNumber<t.items.length?t.currentSync+1:0,t._animateViewport(t.currentSync,"autoplay",t.circularEnabled?1:0),t._timer=setTimeout(e,t.intervalNumber)}this._cancelSchedule(),!this._isMounted||this._invalid||this.items.length<=this.displayMultipleItemsNumber||(this._timer=setTimeout(e,this.intervalNumber))},_cancelSchedule:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_normalizeCurrentValue:function(t){var e=this.items.length;if(!e)return-1;var n=(Math.round(t)%e+e)%e;if(this.circularEnabled){if(e<=this.displayMultipleItemsNumber)return 0}else if(n>e-this.displayMultipleItemsNumber)return e-this.displayMultipleItemsNumber;return n},_upx2px:function(t){return/\d+[ur]px$/i.test(t)&&t.replace(/\d+[ur]px$/i,function(t){return"".concat(uni.upx2px(parseFloat(t)),"px")}),t||""},_resetLayout:function(){if(this._isMounted){this._cancelSchedule(),this._endViewportAnimation();for(var t=this.items,e=0;e<t.length;e++)this._updateItemPos(e,e);if(this._viewportMoveRatio=1,1===this.displayMultipleItemsNumber&&t.length){var n=t[0].componentInstance.$el.getBoundingClientRect(),r=this.$refs.slideFrame.getBoundingClientRect();this._viewportMoveRatio=n.width/r.width,this._viewportMoveRatio>0&&this._viewportMoveRatio<1||(this._viewportMoveRatio=1)}var i=this._viewportPosition;this._viewportPosition=-2;var o=this.currentSync;o>=0?(this._invalid=!1,this.userTracking?(this._updateViewport(i+o-this._contentTrackViewport),this._contentTrackViewport=o):(this._updateViewport(o),this.autoplay&&this._scheduleAutoplay())):(this._invalid=!0,this._updateViewport(-this.displayMultipleItemsNumber-1))}},_checkCircularLayout:function(t){if(!this._invalid)for(var e=this.items,n=e.length,r=t+this.displayMultipleItemsNumber,i=0;i<n;i++){var o=e[i],a=o._position,s=Math.floor(t/n)*n+i,c=s+n,u=s-n,l=Math.max(t-(s+1),s-r,0),f=Math.max(t-(c+1),c-r,0),h=Math.max(t-(u+1),u-r,0),d=Math.min(l,f,h),p=[s,c,u][[l,f,h].indexOf(d)];a!==p&&this._updateItemPos(i,p)}},_updateItemPos:function(t,e){var n=this.vertical?"0":100*e+"%",r=this.vertical?100*e+"%":"0",i="translate("+n+", "+r+") translateZ(0)",o=this.items[t];this._itemReady(o,function(){var t=o.componentInstance.$el;t.style["-webkit-transform"]=i,t.style.transform=i,t._position=e})},_updateViewport:function(t){Math.floor(2*this._viewportPosition)===Math.floor(2*t)&&Math.ceil(2*this._viewportPosition)===Math.ceil(2*t)||this.circularEnabled&&this._checkCircularLayout(t);var e=this.vertical?"0":100*-t*this._viewportMoveRatio+"%",n=this.vertical?100*-t*this._viewportMoveRatio+"%":"0",r="translate("+e+", "+n+") translateZ(0)",i=this.$refs.slideFrame;i&&(i.style["-webkit-transform"]=r,i.style.transform=r),this._viewportPosition=t},_animateFrameFuncProto:function(){var t=this;if(this._animating){var e=this._animating,n=e.toPos,r=e.acc,i=e.endTime,o=e.source,a=i-Date.now();if(a<=0){this._updateViewport(n),this._animating=null,this._requestedAnimation=!1;var s=this.items[this.currentSync];s&&this._itemReady(s,function(){var e=s.componentInstance.itemId||"";t.$trigger("animationfinish",{},{current:t.currentSync,currentItemId:e,source:o})})}else{var c=r*a*a/2,u=n+c;this._updateViewport(u),requestAnimationFrame(this._animateFrameFuncProto.bind(this))}}else this._requestedAnimation=!1},_animateViewport:function(t,e,n){this._cancelViewportAnimation();var r=this.durationNumber,i=this.items.length,o=this._viewportPosition;if(this.circularEnabled)if(n<0){for(;o<t;)o+=i;for(;o-i>t;)o-=i}else if(n>0){for(;o>t;)o-=i;for(;o+i<t;)o+=i}else{for(;o+i<t;)o+=i;for(;o-i>t;)o-=i;o+i-t<t-o&&(o+=i)}this._animating={toPos:t,acc:2*(o-t)/(r*r),endTime:Date.now()+r,source:e},this._requestedAnimation||(this._requestedAnimation=!0,requestAnimationFrame(this._animateFrameFuncProto.bind(this)))},_cancelViewportAnimation:function(){this._animating=null},_endViewportAnimation:function(){this._animating&&(this._updateViewport(this._animating.toPos),this._animating=null)},_handleTrackStart:function(){this._cancelSchedule(),this._contentTrackViewport=this._viewportPosition,this._contentTrackSpeed=0,this._contentTrackT=Date.now(),this._cancelViewportAnimation()},_handleTrackMove:function(t){var e=this,n=this._contentTrackT;this._contentTrackT=Date.now();var r=this.items.length,i=r-this.displayMultipleItemsNumber;function o(t){return.5-.25/(t+.5)}function a(t,n){var r=e._contentTrackViewport+t;e._contentTrackSpeed=.6*e._contentTrackSpeed+.4*n,e.circularEnabled||(r<0||r>i)&&(r<0?r=-o(-r):r>i&&(r=i+o(r-i)),e._contentTrackSpeed=0),e._updateViewport(r)}var s=this._contentTrackT-n||1;this.vertical?a(-t.dy/this.$refs.slideFrame.offsetHeight,-t.ddy/s):a(-t.dx/this.$refs.slideFrame.offsetWidth,-t.ddx/s)},_handleTrackEnd:function(t){this.userTracking=!1;var e=this._contentTrackSpeed/Math.abs(this._contentTrackSpeed),n=0;!t&&Math.abs(this._contentTrackSpeed)>.2&&(n=.5*e);var r=this._normalizeCurrentValue(this._viewportPosition+n);t?this._updateViewport(this._contentTrackViewport):(this.currentChangeSource="touch",this.currentSync=r,this._animateViewport(r,"touch",0!==n?n:0===r&&this.circularEnabled&&this._viewportPosition>=1?1:0))},_handleContentTrack:function(t){if(!this._invalid){if("start"===t.detail.state)return this.userTracking=!0,this._userDirectionChecked=!1,this._handleTrackStart();if("end"===t.detail.state)return this._handleTrackEnd(!1);if("cancel"===t.detail.state)return this._handleTrackEnd(!0);if(this.userTracking){if(!this._userDirectionChecked){this._userDirectionChecked=!0;var e=Math.abs(t.detail.dx),n=Math.abs(t.detail.dy);if(e>=n&&this.vertical?this.userTracking=!1:e<=n&&!this.vertical&&(this.userTracking=!1),!this.userTracking)return void(this.autoplay&&this._scheduleAutoplay())}return this._handleTrackMove(t.detail),!1}}}},render:function(t){var e=[],n=[];this.$slots.default&&this.$slots.default.forEach(function(t){t.componentOptions&&"v-uni-swiper-item"===t.componentOptions.tag&&n.push(t)});for(var r=0,i=n.length;r<i;r++){var o=this.currentSync;e.push(t("div",{class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":r<o+this.displayMultipleItemsNumber&&r>=o||r<o+this.displayMultipleItemsNumber-i},style:{background:r===o?this.indicatorActiveColor:this.indicatorColor}}))}this.items=n;var a=[t("div",{ref:"slides",style:this.slidesStyle,class:"uni-swiper-slides"},[t("div",{ref:"slideFrame",class:"uni-swiper-slide-frame",style:this.slideFrameStyle},n)])];return this.indicatorDots&&a.push(t("div",{ref:"slidesDots",class:["uni-swiper-dots",this.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},e)),t("uni-swiper",[t("div",{ref:"slidesWrapper",class:"uni-swiper-wrapper",on:this.$listeners},a)])}},s=a,c=(n("1c64"),n("0c7c")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},5621:function(t,e,n){n.r(e),n.d(e,"setTabBarItem",function(){return o}),n.d(e,"setTabBarStyle",function(){return a}),n.d(e,"hideTabBar",function(){return s}),n.d(e,"showTabBar",function(){return c}),n.d(e,"hideTabBarRedDot",function(){return u}),n.d(e,"showTabBarRedDot",function(){return l}),n.d(e,"removeTabBarBadge",function(){return f}),n.d(e,"setTabBarBadge",function(){return h});var r=n("f2b3"),i={type:Number,required:!0},o={index:i,text:{type:String},iconPath:{type:String},selectedIconPath:{type:String}},a={color:{type:String},selectedColor:{type:String},backgroundColor:{type:String},borderStyle:{type:String,validator:function(t,e){t&&(e.borderStyle="black"===t?"black":"white")}}},s={animation:{type:Boolean,default:!1}},c={animation:{type:Boolean,default:!1}},u={index:i},l={index:i},f={index:i},h={index:i,text:{type:String,required:!0,validator:function(t,e){Object(r["b"])(t)>=4&&(e.text="...")}}}},5676:function(t,e,n){var r=n("0950"),i=n.n(r);i.a},"56e9":function(t,e,n){n.r(e),function(t){function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"showModal",function(){return s}),n.d(e,"showToast",function(){return c}),n.d(e,"hideToast",function(){return u}),n.d(e,"showLoading",function(){return l}),n.d(e,"hideLoading",function(){return f}),n.d(e,"showActionSheet",function(){return h});var i=t,o=i.emit,a=i.invokeCallbackHandler;function s(t,e){o("onShowModal",t,function(t){a(e,r({},t,!0))})}function c(t){return o("onShowToast",t),{}}function u(){return o("onHideToast"),{}}function l(t){return o("onShowLoading",t),{}}function f(){return o("onHideLoading"),{}}function h(t,e){o("onShowActionSheet",t,function(t){a(e,-1===t?{errMsg:"showActionSheet:fail cancel"}:{tapIndex:t})})}}.call(this,n("0dd1"))},5727:function(t,e,n){var r=n("d60d"),i=n.n(r);i.a},5768:function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-textarea",t._g({attrs:{value:t._checkEmpty(t.value),maxlength:t.maxlengthNumber,placeholder:t._checkEmpty(t.placeholder),disabled:t.disabled,focus:t.focus,"auto-focus":t.autoFocus,"placeholder-class":t._checkEmpty(t.placeholderClass),"placeholder-style":t._checkEmpty(t.placeholderStyle),"auto-height":t.autoHeight,cursor:t.cursorNumber,"selection-start":t.selectionStartNumber,"selection-end":t.selectionEndNumber}},t.$listeners),[n("div",{staticClass:"uni-textarea-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composition||t.valueSync.length),expression:"!(composition||valueSync.length)"}],ref:"placeholder",staticClass:"uni-textarea-placeholder",class:t.placeholderClass,style:t.placeholderStyle},[t._v(t._s(t.placeholder))]),n("div",{staticClass:"uni-textarea-compute"},[t._l(t.valueCompute,function(e,r){return n("div",{key:r},[t._v(t._s(e.trim()?e:"."))])}),n("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}})],2),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"}],ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-ios":t.isIOS},attrs:{disabled:t.disabled,maxlength:t.maxlengthNumber,autofocus:t.autoFocus},domProps:{value:t.valueSync},on:{compositionstart:t._compositionstart,compositionend:t._compositionend,input:[function(e){e.target.composing||(t.valueSync=e.target.value)},function(e){return e.stopPropagation(),t._input(e)}],focus:t._focus,blur:t._blur,"&touchstart":function(e){return t._touchstart(e)}}})])])},i=[],o=n("8af1"),a={name:"Textarea",mixins:[o["a"]],model:{prop:"value",event:"update:value"},props:{name:{type:String,default:""},value:{type:[String,Number],default:""},maxlength:{type:[Number,String],default:140},placeholder:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},placeholderClass:{type:String,default:""},placeholderStyle:{type:String,default:""},autoHeight:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1}},data:function(){return{valueSync:String(this.value),valueComposition:"",composition:!1,focusSync:this.focus,height:0,focusChangeSource:"",isIOS:0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")}},computed:{maxlengthNumber:function(){var t=Number(this.maxlength);return isNaN(t)?140:t},cursorNumber:function(){var t=Number(this.cursor);return isNaN(t)?-1:t},selectionStartNumber:function(){var t=Number(this.selectionStart);return isNaN(t)?-1:t},selectionEndNumber:function(){var t=Number(this.selectionEnd);return isNaN(t)?-1:t},valueCompute:function(){return(this.composition?this.valueComposition:this.valueSync).split("\n")}},watch:{value:function(t){this.valueSync=String(t)},valueSync:function(t){t!==this._oldValue&&(this._oldValue=t,this.$trigger("input",{},{value:t,cursor:this.$refs.textarea.selectionEnd}),this.$emit("update:value",t))},focus:function(t){t?(this.focusChangeSource="focus",this.$refs.textarea&&this.$refs.textarea.focus()):this.$refs.textarea&&this.$refs.textarea.blur()},focusSync:function(t){this.$emit("update:focus",t),this._checkSelection(),this._checkCursor()},cursorNumber:function(){this._checkCursor()},selectionStartNumber:function(){this._checkSelection()},selectionEndNumber:function(){this._checkSelection()},height:function(t){var e=getComputedStyle(this.$el).lineHeight.replace("px",""),n=Math.round(t/e);this.$trigger("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:n}),this.autoHeight&&(this.$el.style.height=this.height+"px")}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){this._oldValue=this.$refs.textarea.value=this.valueSync,this._resize({height:this.$refs.sensor.$el.offsetHeight})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_focus:function(t){this.focusSync=!0,this.$trigger("focus",t,{value:this.valueSync})},_checkSelection:function(){this.focusSync&&!this.focusChangeSource&&this.selectionStartNumber>-1&&this.selectionEndNumber>-1&&(this.$refs.textarea.selectionStart=this.selectionStartNumber,this.$refs.textarea.selectionEnd=this.selectionEndNumber)},_checkCursor:function(){this.focusSync&&("focus"===this.focusChangeSource||!this.focusChangeSource&&this.selectionStartNumber<0&&this.selectionEndNumber<0)&&this.cursorNumber>-1&&(this.$refs.textarea.selectionEnd=this.$refs.textarea.selectionStart=this.cursorNumber)},_blur:function(t){this.focusSync=!1,this.$trigger("blur",t,{value:this.valueSync,cursor:this.$refs.textarea.selectionEnd})},_compositionstart:function(t){this.composition=!0},_compositionend:function(t){this.composition=!1},_confirm:function(t){this.$trigger("confirm",t,{value:this.valueSync})},_linechange:function(t){this.$trigger("linechange",t,{value:this.valueSync})},_touchstart:function(){this.focusChangeSource="touch"},_resize:function(t){var e=t.height;this.height=e},_input:function(t){this.composition&&(this.valueComposition=t.target.value)},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""},_checkEmpty:function(t){return t||!1}}},s=a,c=(n("9400"),n("0c7c")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"580e":function(t,e,n){(function(t){var r=n("bab8");e["a"]={name:"SystemChooseLocation",components:{SystemHeader:r["a"]},data:function(){return{src:"",data:null}},mounted:function(){var t=this,e=__uniConfig.qqMapKey;this.src="https://apis.map.qq.com/tools/locpicker?search=1&type=1&key=".concat(e,"&referer=uniapp"),window.addEventListener("message",function(e){var n=e.data;n&&"locationPicker"===n.module&&(t.data={name:n.poiname,address:n.poiaddress,latitude:n.latlng.lat,longitude:n.latlng.lng})},!1)},methods:{_choose:function(){this.data&&(t.publishHandler("onChooseLocation",this.data),getApp().$router.back())},_back:function(){t.publishHandler("onChooseLocation",null),getApp().$router.back()}}}}).call(this,n("501c"))},"594d":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-map",{attrs:{id:t.id}},[n("div",{ref:"map",staticStyle:{width:"100%",height:"100%",position:"relative",overflow:"hidden"}}),n("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[t._t("default")],2)])},i=[],o=n("635e"),a=o["a"],s=(n("3f7e"),n("0c7c")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},5964:function(t,e,n){function r(t,e){var n=getCurrentPages();if(n.length){var r=n[n.length-1].$holder;switch(t){case"setNavigationBarColor":var i=e.frontColor,o=e.backgroundColor,a=e.animation,s=a.duration,c=a.timingFunc;i&&(r.navigationBar.textColor="#000000"===i?"black":"white"),o&&(r.navigationBar.backgroundColor=o),r.navigationBar.duration=s+"ms",r.navigationBar.timingFunc=c;break;case"showNavigationBarLoading":r.navigationBar.loading=!0;break;case"hideNavigationBarLoading":r.navigationBar.loading=!1;break;case"setNavigationBarTitle":var u=e.title;r.navigationBar.titleText=u,document.title=u;break}}return{}}function i(t){return r("setNavigationBarColor",t)}function o(){return r("showNavigationBarLoading")}function a(){return r("hideNavigationBarLoading")}function s(t){return r("setNavigationBarTitle",t)}n.r(e),n.d(e,"setNavigationBarColor",function(){return i}),n.d(e,"showNavigationBarLoading",function(){return o}),n.d(e,"hideNavigationBarLoading",function(){return a}),n.d(e,"setNavigationBarTitle",function(){return s})},"5a56":function(t,e,n){n.r(e),e["default"]={methods:{beforeTransition:function(){},afterTransition:function(){}}}},"5ab3":function(t,e,n){var r=n("fcd8"),i=n.n(r);i.a},"5abe":function(t,e){(function(){if("object"===("undefined"===typeof window?"undefined":r(window)))if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.prototype.observe=function(t){var e=this._observationTargets.some(function(e){return e.element==t});if(!e){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},i.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},i.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},i.prototype._parseRootMargin=function(t){var e=t||"0px",n=e.split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},i.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(s(window,"resize",this._checkForIntersections,!0),s(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},i.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,c(window,"resize",this._checkForIntersections,!0),c(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},i.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():f();this._observationTargets.forEach(function(r){var i=r.element,a=l(i),s=this._rootContainsTarget(i),c=r.entry,u=t&&s&&this._computeTargetAndRootIntersection(i,e),f=r.entry=new n({time:o(),target:i,boundingClientRect:a,rootBounds:e,intersectionRect:u});c?t&&s?this._hasCrossedThreshold(c,f)&&this._queuedEntries.push(f):c&&c.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},i.prototype._computeTargetAndRootIntersection=function(e,n){if("none"!=window.getComputedStyle(e).display){var r=l(e),i=r,o=d(e),a=!1;while(!a){var s=null,c=1==o.nodeType?window.getComputedStyle(o):{};if("none"==c.display)return;if(o==this.root||o==t?(a=!0,s=n):o!=t.body&&o!=t.documentElement&&"visible"!=c.overflow&&(s=l(o)),s&&(i=u(s,i),!i))break;o=d(o)}return i}},i.prototype._getRootRect=function(){var e;if(this.root)e=l(this.root);else{var n=t.documentElement,r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},i.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},i.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!==o<r)return!0}},i.prototype._rootIsInDom=function(){return!this.root||h(t,this.root)},i.prototype._rootContainsTarget=function(e){return h(this.root||t,e)},i.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},i.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=i,window.IntersectionObserverEntry=n}function n(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||f(),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function i(t,e){var n=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function o(){return window.performance&&performance.now&&performance.now()}function a(t,e){var n=null;return function(){n||(n=setTimeout(function(){t(),n=null},e))}}function s(t,e,n,r){"function"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function c(t,e,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function u(t,e){var n=Math.max(t.top,e.top),r=Math.min(t.bottom,e.bottom),i=Math.max(t.left,e.left),o=Math.min(t.right,e.right),a=o-i,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:i,right:o,width:a,height:s}}function l(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):f()}function f(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(t,e){var n=e;while(n){if(n==t)return!0;n=d(n)}return!1}function d(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}})()},"5b1e":function(t,e,n){(function(t){var r=n("cb0f");e["a"]={name:"TabBar",props:{position:{default:"bottom",validator:function(t){return-1!==["bottom","top"].indexOf(t)}},color:{type:String,default:"#999"},selectedColor:{type:String,default:"#007aff"},backgroundColor:{type:String,default:"#f7f7fa"},borderStyle:{default:"black",validator:function(t){return-1!==["black","white"].indexOf(t)}},list:{type:Array,default:function(){return[]}}},computed:{borderColor:function(){return"white"===this.borderStyle?"rgba(255, 255, 255, 0.33)":"rgba(0, 0, 0, 0.33)"}},watch:{$route:function(t,e){t.meta.isTabBar&&(this.__path__=t.path)}},beforeCreate:function(){this.__path__=this.$route.path},methods:{_getRealPath:function(t){return 0!==t.indexOf("/")&&(t="/"+t),Object(r["a"])(t)},_switchTab:function(e,n){var r=e.text,i=e.pagePath,o="/"+i;o===__uniRoutes[0].alias&&(o="/");var a={index:n,text:r,pagePath:i};this.$route.path!==o?(this.__path__=this.$route.path,uni.switchTab({from:"tabBar",url:o,detail:a})):t.emit("onTabItemTap",a)}}}}).call(this,n("0dd1"))},"5d1d":function(t,e,n){var r=n("91b0"),i=n.n(r);i.a},"5dc1":function(t,e,n){(function(t){n.d(e,"b",function(){return a}),n.d(e,"a",function(){return s}),n("5abe");var r=n("85b6");function i(t){return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}var o={};function a(e,n){var a=e.reqId,s=e.options,c=getCurrentPages(),u=c.find(function(t){return t.$page.id===n});if(!u)throw new Error("Not Found:Page[".concat(n,"]"));var l=u.$el,f=s.relativeToSelector?l.querySelector(s.relativeToSelector):null,h=o[a]=new IntersectionObserver(function(e,n){e.forEach(function(e){t.publishHandler("onRequestComponentObserver",{reqId:a,res:{intersectionRatio:e.intersectionRatio,intersectionRect:i(e.intersectionRect),boundingClientRect:i(e.boundingClientRect),relativeRect:i(e.rootBounds),time:Date.now(),dataset:Object(r["c"])(e.target.dataset||{}),id:e.target.id}},u.$page.id)})},{root:f,rootMargin:s.rootMargin,threshold:s.thresholds});s.observeAll?(h.USE_MUTATION_OBSERVER=!0,Array.prototype.map.call(l.querySelectorAll(s.selector),function(t){h.observe(t)})):(h.USE_MUTATION_OBSERVER=!1,h.observe(l.querySelector(s.selector)))}function s(e){var n=e.reqId,r=o[n];r&&(r.disconnect(),t.publishHandler("onRequestComponentObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"))},6062:function(t,e,n){var r=n("748c"),i=n.n(r);i.a},6144:function(t,e,n){},"61c2":function(t,e,n){var r=n("f2b3"),i=n("8af1");function o(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})}function a(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})}var s={name:"uni://form-field",init:function(t,e){e.constructor.options.props&&e.constructor.options.props.name&&e.constructor.options.props.value||(e.constructor.options.props||(e.constructor.options.props={}),e.constructor.options.props.name||(e.constructor.options.props.name=t.props.name={type:String}),e.constructor.options.props.value||(e.constructor.options.props.value=t.props.value={type:null})),t.propsData||(t.propsData={});var n=e.$vnode;if(n&&n.data&&n.data.attrs&&(Object(r["c"])(n.data.attrs,"name")&&(t.propsData.name=n.data.attrs.name),Object(r["c"])(n.data.attrs,"value")&&(t.propsData.value=n.data.attrs.value)),!e.constructor.options.methods||!e.constructor.options.methods._getFormData){e.constructor.options.methods||(e.constructor.options.methods={}),t.methods||(t.methods={});var s={_getFormData:function(){return this.name?{key:this.name,value:this.value}:{}},_resetFormData:function(){this.value=""}};Object.assign(e.constructor.options.methods,s),Object.assign(t.methods,s),Object.assign(e.constructor.options.methods,i["a"].methods),Object.assign(t.methods,i["a"].methods);var c=t["created"];e.constructor.options["created"]=t["created"]=c?[].concat(o,c):[o];var u=t["beforeDestroy"];e.constructor.options["beforeDestroy"]=t["beforeDestroy"]=u?[].concat(a,u):[a]}}};function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",function(){return l});var u=c({},s.name,s);function l(t,e){t.behaviors.forEach(function(n){var r=u[n];r&&r.init(t,e)})}},6226:function(t,e,n){var r=n("e670"),i=n.n(r);i.a},6258:function(t,e,n){(function(t){var r=n("5a56");e["a"]={name:"Toast",mixins:[r["default"]],props:{title:{type:String,default:""},icon:{default:"success",validator:function(t){return-1!==["success","loading","none"].indexOf(t)}},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!1}},computed:{iconClass:function(){return"success"===this.icon?"uni-icon-success-no-circle":"loading"===this.icon?"uni-loading":void 0}},beforeUpdate:function(){this.visible&&(this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout(function(){t.emit("onHideToast")},this.duration))}}}).call(this,n("0dd1"))},"626d":function(t,e,n){n.r(e),function(t){var r=n("f2b3");e["default"]={data:function(){return{showActionSheet:{visible:!1}}},created:function(){var e=this;t.on("onShowActionSheet",function(t,n){e.showActionSheet=t,e.onActionSheetCloseCallback=n}),t.on("onHidePopup",function(t){e.showActionSheet.visible=!1})},methods:{_onActionSheetClose:function(t){this.showActionSheet.visible=!1,Object(r["e"])(this.onActionSheetCloseCallback)&&this.onActionSheetCloseCallback(t)}}}}.call(this,n("0dd1"))},"62b5":function(t,e,n){n.d(e,"a",function(){return i});var r={};function i(t){var e=r[t];return e||(e={id:1,callbacks:Object.create(null)},r[t]=e),{get:function(t){return e.callbacks[t]},pop:function(t){var n=e.callbacks[t];return n&&delete e.callbacks[t],n},push:function(t){var n=e.id++;return e.callbacks[n]=t,n}}}},"635e":function(t,e,n){(function(t){var r,i=n("8af1"),o=n("f2b3");e["a"]={name:"Map",mixins:[i["d"]],props:{id:{type:String,default:""},latitude:{type:[String,Number],default:39.92},longitude:{type:[String,Number],default:116.46},scale:{type:[String,Number],default:16},markers:{type:Array,default:function(){return[]}},covers:{type:Array,default:function(){return[]}},includePoints:{type:Array,default:function(){return[]}},polyline:{type:Array,default:function(){return[]}},circles:{type:Array,default:function(){return[]}},controls:{type:Array,default:function(){return[]}},showLocation:{type:[Boolean,String],default:!1}},data:function(){return{center:{latitude:116.46,longitude:116.46},isMapReady:!1,isBoundsReady:!1,markersSync:[],polylineSync:[],circlesSync:[],controlsSync:[]}},watch:{latitude:function(){this.centerChange()},longitude:function(){this.centerChange()},scale:function(t){var e=this;this.mapReady(function(){e._map.setZoom(Number(t)||16)})},markers:function(t,e){var n=this;this.mapReady(function(){var r=[],i=[],o=[],a=[],s=[];t.forEach(function(t){if("id"in t){for(var n=!1,s=0;s<e.length;s++){var c=e[s];"id"in c?c.id===t.id&&(n=!0,i.push(c.id),JSON.stringify(c)!==JSON.stringify(t)&&(o.push(c.id),a.push(t)),e.splice(s--,1)):e.splice(s--,1)}n||r.push(t)}else r.push(t)});var c=n.markersSync;c.forEach(function(t){var e,r=t.id;i.indexOf(r)>=0?(e=o.indexOf(r))>=0&&n.changeMarker(t,a[e]):s.push(t)}),n.removeMarkers(s),n.createMarkers(r)})},polyline:function(t){var e=this;this.mapReady(function(){e.createPolyline()})},circles:function(){var t=this;this.mapReady(function(){t.createCircles()})},controls:function(){var t=this;this.mapReady(function(){t.createControls()})},includePoints:function(){var t=this;this.mapReady(function(){t.fitBounds(t.includePoints)})},showLocation:function(t){var e=this;this.mapReady(function(){e[t?"createLocation":"removeLocation"]()})}},created:function(){var t=this.latitude,e=this.longitude;t&&e&&(this.center.latitude=t,this.center.longitude=e)},mounted:function(){var t=this;this.loadMap(function(){t.init()})},beforeDestroy:function(){this.removeMarkers(this.markersSync),this.removePolyline(),this.removeCircles(),this.removeControls(),this.removeLocation()},methods:{_handleSubscribe:function(t){var e=this,n=t.type,i=t.data,o=void 0===i?{}:i;function a(t,e){t=t||{},t.errMsg="".concat(n,":").concat(e?"fail"+e:"ok");var r=e?o.fail:o.success;"function"===typeof r&&r(t),"function"===typeof o.complete&&o.complete(t)}switch(n){case"getCenterLocation":this.mapReady(function(){var t,n,r=e._map.getCenter();t=r.getLat(),n=r.getLng(),a({latitude:t,longitude:n})});break;case"moveToLocation":var s=this._locationPosition;s&&this._map.setCenter(s);break;case"translateMarker":this.mapReady(function(){try{var t=e.getMarker(o.markerId),n=o.destination,i=o.duration,s=!!o.autoRotate,c=Number(o.rotate)?o.rotate:0,u=t.getRotation(),l=t.getPosition(),f=new r.LatLng(n.latitude,n.longitude),h=r.geometry.spherical.computeDistanceBetween(l,f)/1e3,d=("number"===typeof i?i:1e3)/36e5,p=h/d,v=r.event.addListener(t,"moving",function(e){var n=e.latLng,r=t.label;r&&r.setPosition(n);var i=t.callout;i&&i.setPosition(n)}),g=r.event.addListener(t,"moveend",function(e){g.remove(),v.remove(),t.lastPosition=l,t.setPosition(f);var n=t.label;n&&n.setPosition(f);var r=t.callout;r&&r.setPosition(f);var i=o.animationEnd;"function"===typeof i&&i()}),m=0;s&&(t.lastPosition&&(m=r.geometry.spherical.computeHeading(t.lastPosition,l)),c=r.geometry.spherical.computeHeading(l,f)-m),t.setRotation(u+c),t.moveTo(f,p)}catch(y){a(null,y)}});break;case"includePoints":this.fitBounds(o.points);break;case"getRegion":this.boundsReady(function(){var t=e._map.getBounds(),n=t.getSouthWest(),r=t.getNorthEast();a({southwest:{latitude:n.getLat(),longitude:n.getLng()},northeast:{latitude:r.getLat(),longitude:r.getLng()}})});break;case"getScale":this.mapReady(function(){a({scale:Number(e.scale)})});break}},init:function(){var t=this,e=new r.LatLng(this.center.latitude,this.center.longitude),n=this._map=new r.Map(this.$refs.map,{center:e,zoom:Number(this.scale),scrollwheel:!1,disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,minZoom:5,maxZoom:18,draggable:!0}),i=r.event.addListener(n,"bounds_changed",function(e){i.remove(),t.isBoundsReady=!0,t.$emit("boundsready")});r.event.addListener(n,"click",function(){t.$trigger("click",{},{})}),r.event.addListener(n,"dragstart",function(){t.$trigger("regionchange",{},{type:"begin"})}),r.event.addListener(n,"dragend",function(){t.$trigger("regionchange",{},{type:"end"})}),r.event.addListener(n,"zoom_changed",function(){t.$emit("update:scale",n.getZoom())}),r.event.addListener(n,"center_changed",function(){var e,r,i=n.getCenter();e=i.getLat(),r=i.getLng(),t.$emit("update:latitude",e),t.$emit("update:longitude",r)}),this.markers&&Array.isArray(this.markers)&&this.markers.length&&this.createMarkers(this.markers),this.polyline&&Array.isArray(this.polyline)&&this.polyline.length&&this.createPolyline(),this.circles&&Array.isArray(this.circles)&&this.circles.length&&this.createCircles(),this.controls&&Array.isArray(this.controls)&&this.controls.length&&this.createControls(),this.showLocation&&this.createLocation(),this.includePoints&&Array.isArray(this.includePoints)&&this.includePoints.length&&this.fitBounds(this.includePoints,function(){n.setCenter(e)}),this.isMapReady=!0,this.$emit("mapready")},centerChange:function(){var t=this,e=Number(this.latitude),n=Number(this.longitude);e===this.center.latitude&&n===this.center.longitude||(this.center.latitude=e,this.center.longitude=n,this._map&&this.mapReady(function(){t._map.setCenter(new r.LatLng(e,n))}))},createMarkers:function(t){var e=this,n=this._map,i=this.markersSync;t.forEach(function(t){var a=new r.Marker({map:n,flat:!0,autoRotation:!1});a.id=t.id,e.changeMarker(a,t),r.event.addListener(a,"click",function(n){var r=a.callout;if(r){var i=r.div,s=i.parentNode;r.alwaysVisible||r.set("visible",!r.visible),r.visible&&(s.removeChild(i),s.appendChild(i))}Object(o["c"])(t,"id")&&e.$trigger("markertap",{},{markerId:t.id})}),i.push(a)})},changeMarker:function(t,e){var n=this,i=this._map,a=e.title||e.name,s=new r.LatLng(e.latitude,e.longitude),c=new Image;c.onload=function(){var u,l,f,h,d=e.anchor||{},p=d.x,v=d.y;e.iconPath&&(e.width||e.height)?(l=e.width||c.width/c.height*e.height,f=e.height||c.height/c.width*e.width):(l=c.width/2,f=c.height/2),p=("number"===typeof p?p:.5)*l,v=("number"===typeof v?v:1)*f,h=f-(f-v),u=new r.MarkerImage(c.src,null,null,new r.Point(p,v),new r.Size(l,f)),t.setPosition(s),t.setIcon(u),t.setRotation(e.rotate||0);var g,m=e.label||{};t.label&&(t.label.setMap(null),delete t.label),m.content&&(g=new r.Label({position:s,map:i,clickable:!1,content:m.content,style:{border:"none",padding:"8px",background:"none",color:m.color,fontSize:(m.fontSize||14)+"px",lineHeight:(m.fontSize||14)+"px",marginLeft:m.x,marginTop:m.y}}),t.label=g);var y,b=e.callout||{},_=t.callout;b.content?y={id:e.id,position:s,map:i,top:h,content:b.content,color:b.color,fontSize:b.fontSize,borderRadius:b.borderRadius,bgColor:b.bgColor,padding:b.padding,boxShadow:b.boxShadow,display:b.display}:a&&(y={id:e.id,position:s,map:i,top:h,content:a,boxShadow:"0px 0px 3px 1px rgba(0,0,0,0.5)"}),y?_?_.setOption(y):(_=t.callout=new r.Callout(y),_.div.onclick=function(t){Object(o["c"])(e,"id")&&n.$trigger("callouttap",t,{markerId:e.id}),t.stopPropagation(),t.preventDefault()}):_&&(_.setMap(null),delete t.callout)},c.src=e.iconPath?this.$getRealPath(e.iconPath):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABQCAYAAABFyhZTAAANDElEQVR4nNWce4hc133Hv+fc92MeuytpV5ZXll2XuvTlUBTSP1IREsdNiKGEEAgE3EBLaBtK/2hNoQTStISUosiGOqVpQ+qkIdAax1FiG+oYIxyD4xi3uKlEXSFFke3d1e5od+a+H+ec/nHvmbkzs6ud2bmjTX7wY3b3zr3nfM7vd37n8Tt3CW6DiDP3EABSd/0KAEEuXBHzrsteFTiwVOBo+amUP9PK34ZuAcD30NoboTZgceYeCaQAUEvVAKiZ0lpiiv0Lgmi/imFLF5YV2SWFR1e0fGcDQF5qVn4y1Ag/E3DFmhJSB2Dk1D2Squ0HBdT3C0JPE6oco6oKqmm7PodnGXieQ3DWIYL/iCB/UWO95zTW2wCQlpqhgJ8J/MDApUUVFFY0AFiRdvwMJ8bvCaKcUW3bUE0DimGAKMpkz2QMLEnBkhhZEHICfoHy+AkrW3seQAwgQQHPyIUr/CD1nhq4tCpFAWoCsGNt5X2MWo9Qw/p1zXGgWiZAZu8teRQhCwLwOLpEefKolb3zDIAQBXyGAnwqa09Vq4pVDQBOqrTuTmn7c9S0H9QdB6ptT/O4iSWPY2S+DxYHFzTW+5zBti8BCFBYfCprTwxcwmoALABupK48lFPri0az1dSbjWkZDiSp5yPpdn2Vh39m5evPAPABRACySaH3Ba64sA7ABtD0tdXPUqvxKd1xoJrmDAjTSx7HCDsdroj0nJO99TiAHgprZwD4fi5+S+AKrAHA5UQ7EijH/05rND9sNJsglNaEMZ3wPEfq+8i97vdstv4IFdkWBi5+S2h1n2dL2IYAXQqU449pjdYHzFaruDr3edEelVJUmK02YpCPBD454uRrf0BFtlleTlAMX7vfu9eFSp91ALR95cRfq27zA2ariXK+cOhqtprQnOZ7AmXlLIA2ABeAXtZ9cuDSlVUUfbYVKCsPq27zo1arddiMY2q2WlCd5gd95fhnALTKOmslw/7A5RcVFGNsI6ILpzNi/rnu2IdPt4caDRc5Mf4opEu/DaBR1l3dDXo3CxMUEdkRoO2UuJ+3Wy1VUbXD5tpTKVVgt9s0I85fcahLKLqhvhvf0B/KFpFjbdOnRz+pOY17f5atK1W3LWiue8KnR38fQLNkGLPyaAvI8dZl0Jcz6J82bPuwWSZW03GRQ3s4JdYqigBmoOie48CVQGUBcAO68AnTbTQUVQWE+LlQSimsRsOKSPthFG49ZmU6Aq8DsAWomwnt4+bPgSuPqunYyIX6uwzqIoqIPdSXacW6clFgB6T9Xs0wFylVDrv+UyshFIZlOSFpP1ACG1Ury5mWdGcTgJkJ/UO2ZZVPqU+EqiL9xV8GWzoGAFC2t6C/eQkkS2stR7cs+KH2OwDOo2AKUcy1hQTur28FiJVDOa0bRm283HHhPfQxhL91BsIYXmyQLIX1yktofvdJ0N5OLeVpug4G5TcY1IaCvIuCLQHAq8A6ACOCe5+qag1CSBEMZpT01L3Y/vSfgi0e2fW60HSE730/4vtPY/Erj0J/8+LMZRIAmq7rUeLe75KdTRTACoCcVvqvBsBIhXG/qumoo0Plx5Zx80/+Yk/YqvBGE53PPILsxGotZWuahkxov4bCkDoARZy5h1S3UjUAKhf0pKrWE6x2Hv5DcMedwCaFCMPEzqf+GCB05rIVVQUHOVlySQuPAzNB7lAUBbOOickv/QrSe++bGFZKtnoK0f2nZy5foRRc0Dsw2C5WANDRvWRFAIv9/juDxr/5nqlhpcTvevfM5VNKwYHFijEVAEStWFgBQIWASQkKv5hBstVTM947W/mEABDCxMCgFBXgfkpECGgAmbW8seFnqntNc+byiSDggqgYSfPIKVc/2SUgcsH57C7V3T5wZWmvO3P5QnAAPMdwnotU59KkaBkR1AGs/fTqgYG1n16dHZhzQCAea8zKz4UTEdFl/EBZjCGxXn354Pe+8tLM5TPGAPAxN5PAQioR7CdZls1u4auXYf3wB1NX1Pjv/4Rx8Y2Zy8/zHAR8reTiko9W/sAAcIWwt+oAhhBofeMrUDfWJoZVtjtof/Xvayk7TTMo4D/BSL55FJiZNPvfNE1rKZT2ulj64mehX/m/fWG169ew9IW/hHJzqx7gLIVO00slWy6B1QpsBoC5SnR1O7K3GecLSg2ZBaWziSOffwTB+x5E8MGHkB8/MXx9cwPuf3wX9gvPgeT5zOUBgBACcZKmR63of1CwycS6UFFYeCjjrhD2WhTHD7iWVUsFwBic7z8L5/vPgh1dBneL5BsJg6lcflKJ4hgKYT8iENXTBAzl8lBgYOEMALOV9IUgDB9w55AoU26sQ7mxXvtzq+KHISyavogBV4oCXNAy8cSrF9pa+EaSJmtpWk/wup2a5zmiONle0MMflpD94xLkwhUhOykrL8TlJzNo9lQvDHHYe1TTai8MYSjZd0p3zjA4LcCB4XFYXowB5EeM4HkvDDpxmh4+xYSa5hm6fuAt6cH3Sp5kV+Aye55XvpAqRCSOmv5LLwgO3U0n1V4QwFLSf9UoD0tPjSrAomphoHDrBINDI/kxM3wxTMIf7/j+ocPsp90ggBcFV5bN8LnSeHHJIs+BjAFLt45QZNNjAOyIET3a8XwvTNLD9tg9NU4zbPa8dEmPzxIipKeGpabSnYeAyxbIS2BfftnVsrWmnjzWDQPkLD98uhHlgqMbBnC19PGmnl4rAUMMDrzk1SMQo1MpXt4QAPDKG7OjZvwKy4Ov3/R/9vrzVs9DmgZPrljRCyg8NCzr7o9adwx4xMpeqTEAdqcT/nuY+M9v9rxDh5S62fMQxP7Lq27wBIoYFJd17mFwnElUGXc71CLKlgowvONnrbrhl6/2sEoJuW/JcXa59fbJzTDATuRfu7sRfgmDgCthpXXF6H1jq4OyRWRr+QC65WeiEJEet+O/7fj+thfHOKx+6ycxtjy/u2Ilf6NSISdLsq59r9zt+NKuy6EKdFS2WBeFxVNHY5sLRnr27Z0dzhi77W7MGMNb2zu8ZaTnGnq+hoE37mDgynuewdxz/VdORuTDuqUWQcxO/8tU+ZObfnDbDbzpBzBV9m/LdvraCGzfKLc6hnjLBW8F2q88NATATjaib3pxcLFzG2dim74PLw5eP9mIv4U9PHC/M5eTrPCrQ5XszzElyFac9OwN3/P8NMG8TeslMbZCf/tEIzlHSX8m5VXqlGBkCDoQ8C5BrH+Ys6GzjZaRP3YzDCHmaFnOOW6GERaM/Jyt8u0SLijrcssgNTXwLtAy9AcAsjvc7JWMxc9seP7cDHzDD8B49NSKk72OwUyqV+rEsBMDl9DVICZbNgLATjXTf96OgiudMKzdup0wxHYcvHlXM/sGxvttiCnOSk8FXIrsz8PjMxXpspOffcfz8rTG+XbCcqx5Xrri5OcUKuQGRbXssaljrcC36M/posWuuTr/+lYY1ebKnTCCq/MnFkx2HYPAKWdSQ8u+uQCPQEvX6qFwrfyuVvadnTi4uFmDa28GAXbi4Men2tl5FPN7uSiYKkjNDFxCy/4sg0d/qLqjwR5b9/04Znue0d5X4jzHehDEJxrsUYwHy6n7bVVm2WnnKNxqyLXbJn/b1fkTswSwrSiCq/OvtUy+juHl6sTjbe3AFdeW0DJqZ3e182d3kujNThxh2o7biSJ0k+ji3Qv5sxj2Ig8H7LdVmSmXUhY8VilKkB1z2Jev9zzOuZiYl3GB656XL7vsHzC85Os35qzvH9bxWorAsNsFANKjDr9saeL82hRz7fUggKWJp4/Y/CoGw1//mWVZM8nMwLdw7fxUm31zKwo7vXT/s5S9NMVWFK7ds8C+heG9NR8zROVRqeXFoxHXlhZJDBXBoi0e34yi/YehKMKiLf5JU/p7yUONV9d7xHW+aSWhhzYAV1v81SBPLm7FY8ct+rIVxwjz5I3VFn8V4w1XiytLqQ24sgEoXbvviiuu+Me9rCyEwDXP48uu+CqGZ3G1urKUWt+l28W1QwDpMVdcZsgvrIXh2D0bUQRDxUvHXHEZw8GvVleWMo+XB6sbBnIznJ1s8a+9EwQ5rxyJ4pzjbd/P72xyuc1aTQLMNMHYS2oHrri2dM0QQNI0sWnrOL8eRf3vrkcRbB3n2xY2MEiP9NM88/ivD/N6PbTq2rIv5qtt8dRaGKaccwgh8E4Y5ne2xNMYb6B+tq9umQvwyDIyKDVxddw0VfH8jTjGZhzDVMWLDQNbGGzZzNW6wPwsXM05V7OR+fEmvn09CPiNKMKyi29jYN0Ag0BVe9+Vst/7w7OKnIEFKF6pMRdtrL3VxctMMOOoi2q2r5/LnWeF5vqK90gAGyTaXTy5ZAtpXRms5jIMjcq8LQwMnywIAVgrDVwuD+9K68oZ1dxcWcrcX+IfScHKwBRWfu9H8Xn2XSm3w8LAYHfEQ5F6TVGYWM6qYsy570q5Lf+mYSRH1QFwA8AGgJsooOXe7tzl/wGchYFKtBMCwAAAAABJRU5ErkJggg=="},removeMarkers:function(t){for(var e=0;e<t.length;e++){var n=t[e];n.label&&n.label.setMap(null),n.callout&&n.callout.setMap(null),n.setMap(null),t.splice(e--,1)}},createPolyline:function(){var t=this._map,e=this.polylineSync;this.removePolyline(),this.polyline.forEach(function(n){var i=[];if(n.points.forEach(function(t){i.push(new r.LatLng(t.latitude,t.longitude))}),n.borderWidth){var o=new r.Polyline({map:t,clickable:!1,path:i,strokeWeight:n.width+n.borderWidth,strokeColor:n.borderColor,strokeDashStyle:n.dottedLine?"dash":"solid"});e.push(o)}var a=new r.Polyline({map:t,clickable:!1,path:i,strokeWeight:n.width,strokeColor:n.color,strokeDashStyle:n.dottedLine?"dash":"solid"});e.push(a)})},removePolyline:function(){var t=this.polylineSync;t.forEach(function(t){t.setMap(null)}),t.splice(0,t.length)},createCircles:function(){var t=this._map,e=this.circlesSync;this.removeCircles(),this.circles.forEach(function(n){var i=new r.LatLng(n.latitude,n.longitude);function o(t){var e=t.match(/#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?/);return e&&e.length?r.Color.fromHex(e[0],Number("0x"+e[1]||!1)/255):void 0}var a=new r.Circle({map:t,center:i,clickable:!1,radius:n.radius,strokeWeight:n.strokeWidth,fillColor:o(n.fillColor),strokeColor:o(n.color),strokeDashStyle:"solid"});e.push(a)})},removeCircles:function(){var t=this.circlesSync;t.forEach(function(t){t.setMap(null)}),t.splice(0,t.length)},createControls:function(){var t=this,e=this,n=this._map,i=this.controlsSync;this.removeControls(),this.controls.forEach(function(o){var a=o.position||{},s=document.createElement("div"),c=new Image;s.appendChild(c);var u=s.style;u.position="absolute",u.width=0,u.height=0,c.onload=function(){o.position.width&&(c.width=o.position.width),o.position.height&&(c.height=o.position.height);var t=c.style;t.position="absolute",t.left=(a.left||0)+"px",t.top=(a.top||0)+"px",t.maxWidth="initial"},c.src=t.$getRealPath(o.iconPath),c.onclick=function(t){o.clickable&&e.$trigger("controltap",t,{controlId:o.id})},n.controls[r.ControlPosition.TOP_LEFT].push(s),i.push(s)})},removeControls:function(){var t=this.controlsSync;t.forEach(function(t){t.remove()}),t.splice(0,t.length)},createLocation:function(){var e=this,n=this._map,i=this._location;i&&this.removeLocation(),uni.getLocation({type:"gcj02",success:function(t){if(i===e._location){var o=new r.LatLng(t.latitude,t.longitude);i=new r.Marker({position:o,map:n,icon:new r.MarkerImage("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwAef8GfP0yjfNWnOp0qOKKsdyYt9mju9aZt9mMstx1qeJYnekyjvIIfP0qivVmouaWttnMzMyat9lppOUujPQKffxhoOfNzc3Y2Njh4eHp6enu7u7y8vL19fXv7+/i4uLZ2dnOzs6auNgOf/sKff15quHR0dHx8fH9/f3////j4+N6quFdn+iywdPb29vw8PD+/v7c3NyywtLa2tr29vbS0tLd3d38/Pzf39/o6Ojc7f+q0v+HwP9rsf9dqv9Hnv9Vpv/q6urj8P+Vx/9Am/8Pgf8Iff/z8/OAvP95uf/n5+c5l//V6f+52v+y1//7+/vt7e0rkP/09PTQ0NDq9P8Whf+cy//W1tbe3t7A3v/m5ubs7OxOov/r6+vk5OQiaPjKAAAAknRSTlMACBZ9oB71/jiqywJBZATT6hBukRXv+zDCAVrkDIf4JbQsTb7eVeJLbwfa8Rh4G/OlPS/6/kxQ9/xdmZudoJxNVhng7B6wtWdzAtQOipcF1329wS44doK/BAkyP1pvgZOsrbnGXArAg34G2IsD1eMRe7bi7k5YnqFT9V0csyPedQyYD3p/Fje+hDpskq/MwpRBC6yKp2MAAAQdSURBVHja7Zn1exMxGIAPHbrhDsPdneHuNtzd3d3dIbjLh93o2o4i7TpgG1Jk0g0mMNwd/gTa5rq129reHnK5e/bk/TFNk/dJ7r5894XjGAwGg8GgTZasCpDIll1+hxw5vXLJLpEboTx5ZXbIhyzkl9fB28cqUaCgrBKFkI3CcjoUKYolihWXUSI7EihRUjaHXF52CVRKLoe8eZIdUOkyMknkRw6UlcehYAFHiXK+skgURk6Ul8OhQjFnCVRRBolKqRxQ5SzUHaqgNGSj7VCmalqJnDkoS5RF6ZCbroNvufQkUD6qEuXTdUA+3hQdqiEXVKfnUKOmK4latalJ1EEuoZZ6162HJ9x/4OChw0eOHj12/MTJU6dxG7XUu751tjNnz4ET5y9ctLZTSr0beKFLl89bpuUDrqgC1RqNWqsKuqqzNFw7e51S6u3tc+OmZUJ9kCHY6ECwOkRvab51iUrqXej2HYDQsHBjWgx3Ae7dppB6N2wEcF9jdMGDUIDGTaR2aNoM9FqjG7QmaN5CWgc/gIePjG559BigpZQOrYB/4jBfRGRUtDkmJjY6KjLCofkpD62lc2gDfMpWPIuLdwyV8XEpHgaddBZ+wBuSFcwJqSN2ovmZ/dfnOvCTxqGtwzq8SEjv4EhISn48eWgnhUP7DvDSvgzxrs6vV6+FLiro2EkCic4QKkzwJsH1KYreCp0eQhfyDl1B/w4P/xa5JVJ4U03QjbRD9x7wXlgH5IE3wmMBHXoSlugFAcI6f/AkkSi8q6HQm6xDn77wEQ8djTwSj3tqAMguRTe4ikeOQyJ4YV+KfkQl+oNW5GbY4gWOWgbwJ+kwAD6Fi90MK2ZsrIeBBCUGwRXbqJ+/iJMQliIEBhOU6AJhtlG/IpHE2bqrYQg5h6HA4yQiRqwEfkGCdTCMmMRw+IbPDCQaHCsCYAQxiZHw3TbmD/ESOHgHwShiEqPhp/gggYkSztIxxCRawy/bmEniJaJtfwiEscQkxkFgRqJESqQwwHhiEuMBp3Vm8RK/cZoHEzKXhCK2QxEPpiJe0YlKCFaKCNv/cYBNUsBRPlkJSc0U+dM7E9H0ThGJbgZT/iR7yj+VqMS06Qr4+OFm2JdCxIa8lugzkJs5K6MfxAaYPUcBpYG5khZJEkUUSb7DPCnKRfPBXj6M8FwuegoLpCgXcQszVjhbJFUJUee2hBhLoYTIcYtB57KY+opSMdVqwatSlZVj05aV//CwJLMX2DluaUcwhXm4ali2XOoLjxUrPV26zFtF4f5p0Gp310+z13BUWNvbehEXona6iAtX/zVZmtfN4WixfsNky4S6gCCVVq3RPLdfSfpv3MRRZfPoLc6Xs/5bt3EyMGzE9h07/Xft2t15z6i9+zgGg8FgMBgMBoPBYDAYDAYj8/APG67Rie8pUDsAAAAASUVORK5CYII=",null,null,new r.Point(22,22),new r.Size(44,44)),flat:!0,rotation:0}),e._location=i,a(),uni.onCompassChange(function(t){i.setRotation(t.direction)})}},fail:function(e){t.error(e)}});var o=this;function a(){i===o._location&&setTimeout(function(){uni.getLocation({type:"gcj02",success:function(t){var e=o._locationPosition=new r.LatLng(t.latitude,t.longitude);i.setPosition(e)},fail:function(e){t.error(e)},complete:function(){a()}})},1e3)}},removeLocation:function(){var t=this._location;t&&(t.setMap(null),this._location=null,this._locationPosition=null,uni.stopCompass())},fitBounds:function(t,e){var n=this;this.boundsReady(function(){var i=n._map,o=new r.LatLngBounds;t.forEach(function(t){var e=t.longitude,n=t.latitude,i=new r.LatLng(n,e);o.extend(i)}),i.fitBounds(o),"function"===typeof e&&e()})},mapReady:function(t){this.isMapReady?t():this.$once("mapready",function(){t()})},boundsReady:function(t){this.isBoundsReady?t():this.$once("boundsready",function(){t()})},getMarker:function(t){for(var e=this.markersSync,n=0;n<e.length;n++){var r=e[n];if(r.id===t)return r}},loadMap:function(t){if(r)t();else if(window.qq&&window.qq.maps)r=window.qq.maps,t();else{var e=__uniConfig.qqMapKey,n="_callback"+Date.now();window[n]=function(){delete window[n],r=window.qq.maps;var e=r.Callout=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.option=t;var e=t.map;this.position=t.position,this.index=1,this.visible=this.alwaysVisible="ALWAYS"===t.display,this.init(),Object.defineProperty(this,"onclick",{setter:function(t){this.div.onclick=t},getter:function(){return this.div.onclick}}),e&&this.setMap(e)};e.prototype=new r.Overlay,e.prototype.init=function(){var t=this.option,e=this.div=document.createElement("div"),n=e.style;n.position="absolute",n.whiteSpace="nowrap",n.transform="translateX(-50%) translateY(-100%)",n.zIndex=1,n.boxShadow=t.boxShadow||"none",n.display=this.visible?"block":"none";var r=this.triangle=document.createElement("div");r.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(t),this.changed=function(t){n.display=this.visible?"block":"none"},e.appendChild(r)},e.prototype.construct=function(){var t=this.div,e=this.getPanes();e.floatPane.appendChild(t)},e.prototype.draw=function(){var t=this.getProjection();if(this.position&&this.div&&t){var e=t.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=e.x+"px",n.top=e.y+"px"}},e.prototype.destroy=function(){this.div.parentNode.removeChild(this.div),this.div=null,this.triangle=null},e.prototype.setOption=function(t){this.option=t,this.setPosition(t.position),"ALWAYS"===t.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,this.setStyle(t)},e.prototype.setStyle=function(t){var e=this.div,n=e.style;e.innerText=t.content,n.lineHeight=(t.fontSize||14)+"px",n.fontSize=(t.fontSize||14)+"px",n.padding=(t.padding||8)+"px",n.color=t.color||"#000",n.borderRadius=(t.borderRadius||0)+"px",n.backgroundColor=t.bgColor||"#fff",n.marginTop="-"+(t.top+5)+"px",this.triangle.style.borderColor="".concat(t.bgColor||"#fff"," transparent transparent")},e.prototype.setPosition=function(t){this.position=t,this.draw()},t()};var i=document.createElement("script");i.src="https://map.qq.com/api/js?v=2.exp&key=".concat(e,"&callback=").concat(n,"&libraries=geometry"),document.body.appendChild(i)}}}}}).call(this,n("3ad9")["default"])},6389:function(e,n){e.exports=t},6428:function(t,e,n){var r=n("c99c"),i=n.n(r);i.a},6481:function(t,e,n){n.r(e),n.d(e,"base64ToArrayBuffer",function(){return r}),n.d(e,"arrayBufferToBase64",function(){return i});var r=[{name:"base64",type:String,required:!0}],i=[{name:"arrayBuffer",type:[ArrayBuffer,Uint8Array],required:!0}]},6491:function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-radio",t._g({on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-radio-wrapper"},[n("div",{staticClass:"uni-radio-input",class:t.radioChecked?"uni-radio-input-checked":"",style:t.radioChecked?t.checkedStyle:""}),t._t("default")],2)])},i=[],o=n("8af1"),a={name:"Radio",mixins:[o["a"],o["c"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007AFF"},value:{type:String,default:""}},data:function(){return{radioChecked:this.checked,radioValue:this.value}},computed:{checkedStyle:function(){return"background-color: ".concat(this.color,";border-color: ").concat(this.color,";")}},watch:{checked:function(t){this.radioChecked=t},value:function(t){this.radioValue=t}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("RadioGroup","uni-radio-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("RadioGroup","uni-radio-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(t){this.disabled||this.radioChecked||(this.radioChecked=!0,this.$dispatch("RadioGroup","uni-radio-change",t,this))},_resetFormData:function(){this.radioChecked=this.min}}},s=a,c=(n("c96e"),n("0c7c")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"64d0":function(t,e,n){var r=n("1047"),i=n.n(r);i.a},6575:function(t,e,n){n.r(e),function(t){function r(e,n){var r=e.latitude,i=e.longitude,o=e.scale,a=e.name,s=e.address,c=t,u=c.invokeCallbackHandler;getApp().$router.push({type:"navigateTo",path:"/open-location",query:{latitude:r,longitude:i,scale:o,name:a,address:s}},function(){u(n,{errMsg:"openLocation:ok"})},function(){u(n,{errMsg:"openLocation:fail"})})}n.d(e,"openLocation",function(){return r})}.call(this,n("0dd1"))},"65a8":function(t,e,n){n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=44,i=50},6725:function(t,e,n){n.r(e),function(t){n.d(e,"createSelectorQuery",function(){return h});var r=n("f2b3"),i=n("62b5");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}var c=Object(i["a"])("requestComponentInfo"),u=function(){function t(e,n,r,i){o(this,t),this._selectorQuery=e,this._component=n,this._selector=r,this._single=i}return s(t,[{key:"boundingClientRect",value:function(t){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},t),this._selectorQuery}},{key:"fields",value:function(t,e){return this._selectorQuery._push(this._selector,this._component,this._single,t,e),this._selectorQuery}},{key:"scrollOffset",value:function(t){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},t),this._selectorQuery}}]),t}();function l(e,n,r){var i=c.push(r);t.publishHandler("requestComponentInfo",{reqId:i,reqs:n},e)}var f=function(){function t(e){o(this,t),this.pageId=e,this._queue=[],this._queueCb=[]}return s(t,[{key:"exec",value:function(t){var e=this;l(this.pageId,this._queue,function(n){var i=e._queueCb;n.forEach(function(t,n){var o=i[n];Object(r["e"])(o)&&o.call(e,t)}),Object(r["e"])(t)&&t.call(e,n)})}},{key:"in",value:function(t){return this._component=t,this}},{key:"select",value:function(t){return new u(this,this._component,t,!0)}},{key:"selectAll",value:function(t){return new u(this,this._component,t,!1)}},{key:"selectViewport",value:function(){return new u(this,0,"",!0)}},{key:"_push",value:function(t,e,n,r,i){this._queue.push({component:e,selector:t,single:n,fields:r}),this._queueCb.push(i)}}]),t}();function h(e){if(e)return new f(e.$page.id);var n=getApp();if(n.$route&&n.$route.params.__id__)return new f(n.$route.params.__id__);t.emit("onError","createSelectorQuery:fail")}}.call(this,n("0dd1"))},"6a87":function(t,e,n){},"6bdf":function(t,e,n){(function(t){n.d(e,"a",function(){return c});var r=n("85b6"),i=n("a470");function o(t){var e={};return t.id&&(e.id=""),t.dataset&&(e.dataset={}),t.rect&&(e.left=0,e.right=0,e.top=0,e.bottom=0),t.size&&(e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight),t.scrollOffset&&(e.scrollLeft=document.documentElement.scrollLeft||document.body.scrollLeft||0,e.scrollTop=document.documentElement.scrollTop||document.body.scrollTop||0),e}function a(t,e){var n={},o=Object(i["a"])(),a=o.top;if(e.id&&(n.id=t.id),e.dataset&&(n.dataset=Object(r["c"])(t.dataset||{})),e.rect||e.size){var s=t.getBoundingClientRect();e.rect&&(n.left=s.left,n.right=s.right,n.top=s.top-a,n.bottom=s.bottom),e.size&&(n.width=s.width,n.height=s.height)}return e.properties&&e.properties.forEach(function(t){t=t.replace(/-([a-z])/g,function(t,e){return e.toUpperCase()})}),e.scrollOffset&&("UNI-SCROLL-VIEW"===t.tagName&&t.__vue__&&t.__vue__.getScrollPosition?Object.assign(n,t.__vue__.getScrollPosition()):(n.scrollLeft=0,n.scrollTop=0)),n}function s(t,e,n,r,i){var o=e&&e.$el||t.$el;if(r){var s=o&&(o.matches(n)?o:o.querySelector(n));return s?a(s,i):null}if(o){var c=[],u=o.querySelectorAll(n);return u&&u.length&&(c=[].map.call(u,function(t){return a(t,i)})),o.matches(n)&&c.unshift(o),c}return[]}function c(e,n){var r=e.reqId,i=e.reqs,a=getCurrentPages(),c=a.find(function(t){return t.$page.id===n});if(!c)throw new Error("Not Found:Page[".concat(n,"]"));var u=[];i.forEach(function(t){var e=t.component,n=t.selector,r=t.single,i=t.fields;0===e?u.push(o(i)):u.push(s(c,e,n,r,i))}),t.publishHandler("onRequestComponentInfo",{reqId:r,res:u},c.$page.id)}}).call(this,n("501c"))},"6e0c":function(t,e,n){n.r(e),n.d(e,"$on",function(){return s}),n.d(e,"$off",function(){return c}),n.d(e,"$once",function(){return u}),n.d(e,"$emit",function(){return l});var r=n("8bbf"),i=n.n(r),o=new i.a;function a(t,e,n){return t[e].apply(t,n)}function s(){return a(o,"$on",Array.prototype.slice.call(arguments))}function c(){return a(o,"$off",Array.prototype.slice.call(arguments))}function u(){return a(o,"$once",Array.prototype.slice.call(arguments))}function l(){return a(o,"$emit",Array.prototype.slice.call(arguments))}},"6f00":function(t,e,n){var r=n("cc83"),i=n.n(r);i.a},"6f25":function(t,e,n){n.r(e),function(t){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(e,n,r,i){t.publishHandler(n+"-map-"+e,{mapId:e,type:r,data:i},n)}n.d(e,"createMapContext",function(){return c});var s=function(){function t(e,n){r(this,t),this.id=e,this.pageId=n}return o(t,[{key:"getCenterLocation",value:function(t){var e=t.success,n=t.fail,r=t.complete;a(this.id,this.pageId,"getCenterLocation",{success:e,fail:n,complete:r})}},{key:"moveToLocation",value:function(){a(this.id,this.pageId,"moveToLocation")}},{key:"translateMarker",value:function(t){var e=t.markerId,n=t.destination,r=t.autoRotate,i=t.rotate,o=t.duration,s=t.animationEnd,c=t.fail;a(this.id,this.pageId,"translateMarker",{markerId:e,destination:n,autoRotate:r,rotate:i,duration:o,animationEnd:s,fail:c})}},{key:"includePoints",value:function(t){var e=t.points,n=t.padding;a(this.id,this.pageId,"includePoints",{points:e,padding:n})}},{key:"getRegion",value:function(t){var e=t.success,n=t.fail,r=t.complete;a(this.id,this.pageId,"getRegion",{success:e,fail:n,complete:r})}},{key:"getScale",value:function(t){var e=t.success,n=t.fail,r=t.complete;a(this.id,this.pageId,"getScale",{success:e,fail:n,complete:r})}}]),t}();function c(e,n){if(n)return new s(e,n.$page.id);var r=getApp();if(r.$route&&r.$route.params.__id__)return new s(e,r.$route.params.__id__);t.emit("onError","createMapContext:fail")}}.call(this,n("0dd1"))},"6f45":function(t,e,n){},"70bb":function(t,e,n){n.r(e),n.d(e,"openLocation",function(){return r});var r={latitude:{type:Number,required:!0},longitude:{type:Number,required:!0},scale:{type:Number,validator:function(t,e){t=Math.floor(t),e.scale=t>=5&&t<=18?t:18},default:18},name:{type:String},address:{type:String}}},"70f4":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-label",t._g({on:{click:t._onClick}},t.$listeners),[t._t("default")],2)},i=[],o=n("ab76"),a=o["a"],s=n("0c7c"),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},"72b3":function(t,e,n){function r(t,e,n){return t>e-n&&t<e+n}function i(t,e){return r(t,0,e)}function o(t,e,n){this._m=t,this._k=e,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}n.d(e,"a",function(){return o}),o.prototype._solve=function(t,e){var n=this._c,r=this._m,i=this._k,o=n*n-4*r*i;if(0===o){var a=-n/(2*r),s=t,c=e/(a*t);return{x:function(t){return(s+c*t)*Math.pow(Math.E,a*t)},dx:function(t){var e=Math.pow(Math.E,a*t);return a*(s+c*t)*e+c*e}}}if(o>0){var u=(-n-Math.sqrt(o))/(2*r),l=(-n+Math.sqrt(o))/(2*r),f=(e-u*t)/(l-u),h=t-f;return{x:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*e+f*n},dx:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*u*e+f*l*n}}}var d=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,v=t,g=(e-p*t)/d;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(d*t)+g*Math.sin(d*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(d*t),r=Math.sin(d*t);return e*(g*d*n-v*d*r)+p*e*(g*r+v*n)}}},o.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},o.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},o.prototype.setEnd=function(t,e,n){if(n||(n=(new Date).getTime()),t!==this._endPosition||!i(e,.4)){e=e||0;var r=this._endPosition;this._solution&&(i(e,.4)&&(e=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),i(e,.4)&&(e=0),i(r,.4)&&(r=0),r+=this._endPosition),this._solution&&i(r-t,.4)&&i(e,.4)||(this._endPosition=t,this._solution=this._solve(r-this._endPosition,e),this._startTime=n)}},o.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},o.prototype.done=function(t){return t||(t=(new Date).getTime()),r(this.x(),this._endPosition,.4)&&i(this.dx(),.4)},o.prototype.reconfigure=function(t,e,n){this._m=t,this._k=e,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},o.prototype.springConstant=function(){return this._k},o.prototype.damping=function(){return this._c},o.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]}},"748c":function(t,e,n){},"74ce":function(t,e,n){},7557:function(t,e,n){n.r(e),function(t){var n={visible:!1,mode:"",range:[],rangeKey:"",value:"",disabled:!1,start:"",end:"",fields:"day",customItem:""};e["default"]={data:function(){return{showPicker:{visible:!1}}},created:function(){var e=this;t.subscribe("showPicker",function(t,r){e.showPicker=Object.assign(n,t,{pageId:r,visible:!0})}),t.subscribe("hidePicker",function(){e._onPickerClose()}),t.on("onHidePopup",function(){e._onPickerClose()})},methods:{_onPickerClose:function(){this.showPicker.visible=!1,this.showPicker.mode="selector",this.showPicker.range=[],this.showPicker.value=0}}}}.call(this,n("0dd1"))},"763a":function(t,e,n){var r=n("1067"),i=n.n(r);i.a},"77e0":function(t,e,n){n.r(e),function(t,n){e["default"]={data:function(){return{showToast:{visible:!1}}},created:function(){var e=this,r="",i=function(t){return function(n){r=t,setTimeout(function(){e.showToast=n},10)}};t.on("onShowToast",i("onShowToast")),t.on("onShowLoading",i("onShowLoading"));var o=function(t){return function(){var i="";if("onHideToast"===t&&"onShowToast"!==r?i="请注意 showToast 与 hideToast 必须配对使用":"onHideLoading"===t&&"onShowLoading"!==r&&(i="请注意 showLoading 与 hideLoading 必须配对使用"),i)return n.warn(i);r="",setTimeout(function(){e.showToast.visible=!1},10)}};t.on("onHidePopup",o("onHidePopup")),t.on("onHideToast",o("onHideToast")),t.on("onHideLoading",o("onHideLoading"))}}}.call(this,n("0dd1"),n("3ad9")["default"])},"78a1":function(t,e,n){n.r(e),n.d(e,"onKeyboardHeightChange",function(){return a});var r=n("a118"),i=n("db70"),o=[];function a(t){o.push(t)}Object(i["b"])("onKeyboardHeightChange",function(t){o.forEach(function(e){Object(r["a"])(e,t)})})},"78c8":function(t,e,n){n.r(e),n.d(e,"getSystemInfoSync",function(){return s}),n.d(e,"getSystemInfo",function(){return c});var r=n("a470"),i=navigator.userAgent,o=/android/i.test(i),a=/iphone|ipad|ipod/i.test(i);function s(){var t,e,n,s=window.innerWidth,c=window.innerHeight,u=window.screen,l=window.devicePixelRatio,f=u.width,h=u.height,d=navigator.language,p=0;if(a){t="iOS";var v=i.match(/OS\s([\w_]+)\slike/);v&&(e=v[1].replace(/_/g,"."));var g=i.match(/\(([a-zA-Z]+);/);g&&(n=g[1])}else if(o){t="Android";var m=i.match(/Android[\s\/]([\w\.]+)[;\s]/);m&&(e=m[1]);for(var y=i.match(/\((.+?)\)/),b=y?y[1].split(";"):i.split(" "),_=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i],w=0;w<b.length;w++){var S=b[w];if(S.indexOf("Build")>0){n=S.split("Build")[0].trim();break}for(var k=void 0,x=0;x<_.length;x++)if(_[x].test(S)){k=!0;break}if(!k){n=S.trim();break}}}else t="Other",e="0";var T="".concat(t," ").concat(e),C=t.toLocaleLowerCase(),O=Object(r["a"])(),E=O.top,A=O.bottom;return c-=E,c-=A,{windowTop:E,windowBottom:A,windowWidth:s,windowHeight:c,pixelRatio:l,screenWidth:f,screenHeight:h,language:d,statusBarHeight:p,system:T,platform:C,model:n}}function c(){return s()}},"7bb3":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox",t._g({on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-checkbox-wrapper"},[n("div",{staticClass:"uni-checkbox-input",class:[t.checkboxChecked?"uni-checkbox-input-checked":""],style:{color:t.color}}),t._t("default")],2)])},i=[],o=n("8af1"),a={name:"Checkbox",mixins:[o["a"],o["c"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},data:function(){return{checkboxChecked:this.checked,checkboxValue:this.value}},watch:{checked:function(t){this.checkboxChecked=t},value:function(t){this.checkboxValue=t}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(t){this.disabled||(this.checkboxChecked=!this.checkboxChecked,this.$dispatch("CheckboxGroup","uni-checkbox-change",t))},_resetFormData:function(){this.checkboxChecked=!1}}},s=a,c=(n("f53a"),n("0c7c")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"7c2b":function(t,e,n){var r=n("6144"),i=n.n(r);i.a},"7d13":function(t,e,n){n.r(e),n.d(e,"onAccelerometerChange",function(){return s}),n.d(e,"startAccelerometer",function(){return c}),n.d(e,"stopAccelerometer",function(){return u});var r=n("a118"),i=n("db70"),o=[];Object(i["b"])("onAccelerometerChange",function(t){o.forEach(function(e){Object(r["a"])(e,t)})});var a=!1;function s(t){o.push(t),a||c()}function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.interval,!a)return a=!0,Object(i["a"])("enableAccelerometer",{enable:!0})}function u(){return a=!1,Object(i["a"])("enableAccelerometer",{enable:!1})}},"7d18":function(t,e,n){n.r(e),function(t){n.d(e,"uploadFile",function(){return u});var r=n("e2e2");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){function t(e,n){i(this,t),s(this,"_xhr",void 0),s(this,"_isAbort",void 0),s(this,"_callbacks",[]),this._xhr=e,this._callbackId=n}return a(t,[{key:"onProgressUpdate",value:function(t){"function"===typeof t&&this._callbacks.push(t)}},{key:"offProgressUpdate",value:function(t){var e=this._callbacks.indexOf(t);e>=0&&this._callbacks.splice(e,1)}},{key:"abort",value:function(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function u(e,n){var i=e.url,o=e.filePath,a=e.name,s=e.header,u=e.formData,l=__uniConfig.networkTimeout&&__uniConfig.networkTimeout.uploadFile||6e4,f=t,h=f.invokeCallbackHandler,d=new c(null,n);function p(t){var e,r=new XMLHttpRequest,o=new FormData;Object.keys(u).forEach(function(t){o.append(t,u[t])}),o.append(a,t,t.name||"file-".concat(Date.now())),r.open("POST",i),Object.keys(s).forEach(function(t){r.setRequestHeader(t,s[t])}),r.upload.onprogress=function(t){d._callbacks.forEach(function(e){var n=t.loaded,r=t.total,i=Math.round(n/r*100);e({progress:i,totalBytesSent:n,totalBytesExpectedToSend:r})})},r.onerror=function(){clearTimeout(e),h(n,{errMsg:"uploadFile:fail"})},r.onabort=function(){clearTimeout(e),h(n,{errMsg:"uploadFile:fail abort"})},r.onload=function(){clearTimeout(e);var t=r.status;h(n,{errMsg:"uploadFile:ok",statusCode:t,data:r.responseText||r.response})},d._isAbort?h(n,{errMsg:"uploadFile:fail abort"}):(e=setTimeout(function(){r.upload.onprogress=r.onload=r.onabort=r.onerror=null,d.abort(),h(n,{errMsg:"uploadFile:fail timeout"})},l),r.send(o),d._xhr=r)}return Object(r["b"])(o).then(p).catch(function(){setTimeout(function(){h(n,{errMsg:"uploadFile:fail file error"})},0)}),d}}.call(this,n("0dd1"))},"7e6a":function(t,e,n){var r=n("e47d"),i=n.n(r);i.a},"7f4e":function(t,e,n){function r(t){var e=t.phoneNumber;return window.location.href="tel:".concat(e),{errMsg:"makePhoneCall:ok"}}n.r(e),n.d(e,"makePhoneCall",function(){return r})},"811a":function(t,e,n){n.r(e),n.d(e,"connectSocket",function(){return h}),n.d(e,"sendSocketMessage",function(){return d}),n.d(e,"closeSocket",function(){return p}),n.d(e,"onSocketOpen",function(){return v}),n.d(e,"onSocketError",function(){return g}),n.d(e,"onSocketMessage",function(){return m}),n.d(e,"onSocketClose",function(){return y});var r=n("a118"),i=n("db70");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}var c=function(){function t(e){o(this,t),this.id=e,this._callbacks={open:[],close:[],error:[],message:[]},this.CLOSED=3,this.CLOSING=2,this.CONNECTING=0,this.OPEN=1,this.readyState=this.CLOSED}return s(t,[{key:"send",value:function(t){this.readyState!==this.OPEN&&this._callback(t,"sendSocketMessage:fail WebSocket is not connected");var e=Object(i["a"])("operateSocketTask",Object.assign({},t,{operationType:"send",socketTaskId:this.id})),n=e.errMsg;this._callback(t,n.replace("operateSocketTask","sendSocketMessage"))}},{key:"close",value:function(t){this.readyState=this.CLOSING;var e=Object(i["a"])("operateSocketTask",Object.assign({},t,{operationType:"close",socketTaskId:this.id})),n=e.errMsg;this._callback(t,n.replace("operateSocketTask","closeSocket"))}},{key:"onOpen",value:function(t){this._callbacks.open.push(t)}},{key:"onClose",value:function(t){this._callbacks.close.push(t)}},{key:"onError",value:function(t){this._callbacks.error.push(t)}},{key:"onMessage",value:function(t){this._callbacks.message.push(t)}},{key:"_callback",value:function(t,e){var n=t.success,r=t.fail,i=t.complete,o={errMsg:e};/:ok$/.test(e)?"function"===typeof n&&n(o):"function"===typeof r&&r(o),"function"===typeof i&&i(o)}}]),t}(),u=Object.create(null),l=[],f=Object.create(null);function h(t,e){var n=Object(i["a"])("createSocketTask",t),o=n.socketTaskId,a=new c(o);return u[o]=a,l.push(a),setTimeout(function(){Object(r["a"])(e,{errMsg:"connectSocket:ok"})},0),a}function d(t,e){var n=l[0];if(n&&n.readyState===n.OPEN)return Object(i["a"])("operateSocketTask",Object.assign({},t,{operationType:"send",socketTaskId:n.id}));Object(r["a"])(e,{errMsg:"sendSocketMessage:fail WebSocket is not connected"})}function p(t,e){var n=l[0];if(n)return n.readyState=n.CLOSING,Object(i["a"])("operateSocketTask",Object.assign({},t,{operationType:"close",socketTaskId:n.id}));Object(r["a"])(e,{errMsg:"closeSocket:fail WebSocket is not connected"})}function v(t){f.open=t}function g(t){f.error=t}function m(t){f.message=t}function y(t){f.close=t}Object(i["b"])("onSocketTaskStateChange",function(t){var e=t.socketTaskId,n=t.state,i=t.data,o=(t.errMsg,u[e]);if(o&&(o._callbacks[n].forEach(function(t){"function"===typeof t&&t("message"===n?{data:i}:{})}),"open"===n&&(o.readyState=o.OPEN),o===l[0]&&f[n]&&Object(r["a"])(f[n],"message"===n?{data:i}:{}),"error"===n||"close"===n)){o.readyState=o.CLOSED,delete u[e];var a=l.indexOf(o);a>=0&&l.splice(a,1)}})},"81ea":function(t,e,n){var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-tabbar",[n("div",{staticClass:"uni-tabbar",style:{backgroundColor:t.backgroundColor}},[n("div",{staticClass:"uni-tabbar-border",style:{backgroundColor:t.borderColor}}),t._l(t.list,function(e,r){return n("div",{key:e.pagePath,staticClass:"uni-tabbar__item",on:{click:function(n){return t._switchTab(e,r)}}},[n("div",{staticClass:"uni-tabbar__bd"},[e.iconPath?n("div",{staticClass:"uni-tabbar__icon",class:{"uni-tabbar__icon__diff":!e.text}},[n("img",{attrs:{src:t._getRealPath(t.$route.meta.pagePath===e.pagePath?e.selectedIconPath:e.iconPath)}})]):t._e(),e.text?n("div",{staticClass:"uni-tabbar__label",style:{color:t.$route.meta.pagePath===e.pagePath?t.selectedColor:t.color,fontSize:e.iconPath?"10px":"14px"}},[t._v("\n          "+t._s(e.text)+"\n        ")]):t._e(),e.redDot?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!e.badge}},[t._v(t._s(e.badge))]):t._e()])])})],2),n("div",{staticClass:"uni-placeholder"})])},o=[],a=n("5b1e"),s=a["a"],c=(n("f4e0"),n("0c7c")),u=Object(c["a"])(s,i,o,!1,null,null,null),l=u.exports,f=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"uni-fade"}},[t.visible?n("uni-toast",{attrs:{"data-duration":t.duration}},[t.mask?n("div",{staticClass:"uni-mask",staticStyle:{background:"transparent"},on:{touchmove:function(t){t.preventDefault()}}}):t._e(),t.image||t.iconClass?n("div",{staticClass:"uni-toast"},[t.image?n("img",{staticClass:"uni-toast__icon",attrs:{src:t.image}}):n("i",{staticClass:"uni-icon_toast",class:t.iconClass}),n("p",{staticClass:"uni-toast__content"},[t._v(t._s(t.title))])]):n("div",{staticClass:"uni-sample-toast"},[n("p",{staticClass:"uni-simple-toast__text"},[t._v(t._s(t.title))])])]):t._e()],1)},h=[],d=n("6258"),p=d["a"],v=(n("ff28"),Object(c["a"])(p,f,h,!1,null,null,null)),g=v.exports,m=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"uni-fade"}},[n("uni-modal",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],on:{touchmove:function(t){t.preventDefault()}}},[n("div",{staticClass:"uni-mask"}),n("div",{staticClass:"uni-modal"},[t.title?n("div",{staticClass:"uni-modal__hd"},[n("strong",{staticClass:"uni-modal__title"},[t._v(t._s(t.title))])]):t._e(),n("div",{staticClass:"uni-modal__bd",on:{touchmove:function(t){t.stopPropagation()}}},[t._v(t._s(t.content))]),n("div",{staticClass:"uni-modal__ft"},[t.showCancel?n("div",{staticClass:"uni-modal__btn uni-modal__btn_default",style:{color:t.cancelColor},on:{click:function(e){return t._close("cancel")}}},[t._v(t._s(t.cancelText))]):t._e(),n("div",{staticClass:"uni-modal__btn uni-modal__btn_primary",style:{color:t.confirmColor},on:{click:function(e){return t._close("confirm")}}},[t._v(t._s(t.confirmText))])])])])],1)},y=[],b=n("5a56"),_={name:"Modal",mixins:[b["default"]],props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"取消"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"确定"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!1}},methods:{_close:function(t){this.$emit("close",t)}}},w=_,S=(n("2765"),Object(c["a"])(w,m,y,!1,null,null,null)),k=S.exports,x=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-picker",{on:{touchmove:function(t){t.preventDefault()}}},[n("transition",{attrs:{name:"uni-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"uni-mask",on:{click:t._cancel}})]),n("div",{staticClass:"uni-picker",class:{"uni-picker-toggle":t.visible}},[n("div",{staticClass:"uni-picker-header",on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"uni-picker-action uni-picker-action-cancel",on:{click:t._cancel}},[t._v("取消")]),n("div",{staticClass:"uni-picker-action uni-picker-action-confirm",on:{click:t._change}},[t._v("确定")])]),t.visible?n("v-uni-picker-view",{staticClass:"uni-picker-content",attrs:{value:t.valueArray},on:{"update:value":function(e){t.valueArray=e}}},t._l(t.rangeArray,function(e,i){return n("v-uni-picker-view-column",{key:i},t._l(e,function(e,o){return n("div",{key:o,staticClass:"uni-picker-item"},[t._v(t._s("object"===r(e)?e[t.rangeKey]||"":e)+t._s(t.units[i]||""))])}),0)}),1):t._e()],1)],1)},T=[],C=n("fb79"),O=C["a"],E=(n("763a"),Object(c["a"])(O,x,T,!1,null,null,null)),A=E.exports,M=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-actionsheet",{on:{touchmove:function(t){t.preventDefault()}}},[n("transition",{attrs:{name:"uni-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"uni-mask",on:{click:function(e){return t._close(-1)}}})]),n("div",{staticClass:"uni-actionsheet",class:{"uni-actionsheet_toggle":t.visible}},[n("div",{staticClass:"uni-actionsheet__menu"},[t.title?n("div",{staticClass:"uni-actionsheet__title"},[t._v(t._s(t.title))]):t._e(),t._l(t.itemList,function(e,r){return n("div",{key:r,staticClass:"uni-actionsheet__cell",style:{color:t.itemColor},on:{click:function(e){return t._close(r)}}},[t._v(t._s(e))])})],2),n("div",{staticClass:"uni-actionsheet__action"},[n("div",{staticClass:"uni-actionsheet__cell",style:{color:t.itemColor},on:{click:function(e){return t._close(-1)}}},[t._v("取消")])])])],1)},j=[],I={name:"ActionSheet",props:{title:{type:String,default:""},itemList:{type:Array,default:function(){return[]}},itemColor:{type:String,default:"#000000"},visible:{type:Boolean,default:!1}},methods:{_close:function(t){this.$emit("close",t)}}},P=I,$=(n("4fef"),Object(c["a"])(P,M,j,!1,null,null,null)),B=$.exports,L={Toast:g,Modal:k,Picker:A,ActionSheet:B};function N(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function D(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?N(n,!0).forEach(function(e){R(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):N(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function R(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e["a"]=D({TabBar:l},L)},"82b9":function(t,e,n){function r(t){return function(e,n){e&&(n[t]=Math.round(e))}}n.r(e),n.d(e,"canvasGetImageData",function(){return i}),n.d(e,"canvasPutImageData",function(){return o}),n.d(e,"canvasToTempFilePath",function(){return s}),n.d(e,"drawCanvas",function(){return c});var i={canvasId:{type:String,required:!0},x:{type:Number,required:!0,validator:r("x")},y:{type:Number,required:!0,validator:r("y")},width:{type:Number,required:!0,validator:r("width")},height:{type:Number,required:!0,validator:r("height")}},o={canvasId:{type:String,required:!0},data:{type:Uint8ClampedArray,required:!0},x:{type:Number,required:!0,validator:r("x")},y:{type:Number,required:!0,validator:r("y")},width:{type:Number,required:!0,validator:r("width")},height:{type:Number,validator:r("height")}},a={PNG:"png",JPG:"jpeg"},s={x:{type:Number,default:0,validator:r("x")},y:{type:Number,default:0,validator:r("y")},width:{type:Number,validator:r("width")},height:{type:Number,validator:r("height")},destWidth:{type:Number,validator:r("destWidth")},destHeight:{type:Number,validator:r("destHeight")},canvasId:{type:String,require:!0},fileType:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.fileType=t in a?a[t]:a.PNG}},quality:{type:Number,validator:function(t,e){t=Math.floor(t),e.quality=t>0&&t<1?t:1}}},c={canvasId:{type:String,require:!0},actions:{type:Array,require:!0},reserve:{type:Boolean,default:!1}}},"82c2":function(t,e,n){n.r(e),n.d(e,"request",function(){return h});var r=n("f2b3"),i=n("a118"),o=n("db70");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var u=Object.create(null);function l(t,e){if("string"===typeof t.data&&65279===t.data.charCodeAt(0)&&(t.data=t.data.substr(1)),t.statusCode=parseInt(t.statusCode,10),Object(r["f"])(t.header)&&(t.header=Object.keys(t.header).reduce(function(e,n){var r=t.header[n];return Array.isArray(r)?e[n]=r.join(","):"string"===typeof r&&(e[n]=r),e},{})),e.dataType&&"json"===e.dataType.toLowerCase())try{t.data=JSON.parse(t.data)}catch(n){}return t}Object(o["b"])("onRequestTaskStateChange",function(t){var e=t.requestTaskId,n=t.state,r=t.data,o=t.statusCode,a=t.header,s=t.errMsg,c=u[e]||{},f=c.args,h=c.callbackId;if(h)switch(delete u[e],n){case"success":Object(i["a"])(h,l({data:r,statusCode:o,header:a,errMsg:"request:ok"},f));break;case"fail":Object(i["a"])(h,{errMsg:"request:fail "+s});break}});var f=function(){function t(e){a(this,t),this.id=e}return c(t,[{key:"abort",value:function(){Object(o["a"])("operateRequestTask",{requestTaskId:this.id,operationType:"abort"})}},{key:"offHeadersReceived",value:function(){}},{key:"onHeadersReceived",value:function(){}}]),t}();function h(t,e){var n=Object(o["a"])("createRequestTask",t),r=n.requestTaskId;return u[r]={args:t,callbackId:e},new f(r)}},8390:function(t,e){(function(){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),r=0;r<t.length;r++)n[t.charCodeAt(r)]=r;e.encode=function(e){var n,r=new Uint8Array(e),i=r.length,o="";for(n=0;n<i;n+=3)o+=t[r[n]>>2],o+=t[(3&r[n])<<4|r[n+1]>>4],o+=t[(15&r[n+1])<<2|r[n+2]>>6],o+=t[63&r[n+2]];return i%3===2?o=o.substring(0,o.length-1)+"=":i%3===1&&(o=o.substring(0,o.length-2)+"=="),o},e.decode=function(t){var e,r,i,o,a,s=.75*t.length,c=t.length,u=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var l=new ArrayBuffer(s),f=new Uint8Array(l);for(e=0;e<c;e+=4)r=n[t.charCodeAt(e)],i=n[t.charCodeAt(e+1)],o=n[t.charCodeAt(e+2)],a=n[t.charCodeAt(e+3)],f[u++]=r<<2|i>>4,f[u++]=(15&i)<<4|o>>2,f[u++]=(3&o)<<6|63&a;return l}})()},"83a6":function(t,e,n){e["a"]={data:function(){return{hovering:!1}},props:{hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:Number,default:50},hoverStayTime:{type:Number,default:400}},methods:{_hoverTouchStart:function(t){var e=this;t._hoverPropagationStopped||this.hoverClass&&"none"!==this.hoverClass&&!this.disabled&&(t.touches.length>1||(this.hoverStopPropagation&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout(function(){e.hovering=!0,e._hoverTouch||e._hoverReset()},this.hoverStartTime)))},_hoverTouchEnd:function(t){this._hoverTouch=!1,this.hovering&&this._hoverReset()},_hoverReset:function(){var t=this;requestAnimationFrame(function(){clearTimeout(t._hoverStayTimer),t._hoverStayTimer=setTimeout(function(){t.hovering=!1},t.hoverStayTime)})},_hoverTouchCancel:function(t){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"84e0":function(t,e,n){n.r(e),function(t){function r(e){var n=getCurrentPages();return n.length&&t.publishHandler("pageScrollTo",e,n[n.length-1].$page.id),{}}n.d(e,"pageScrollTo",function(){return r})}.call(this,n("0dd1"))},8542:function(t,e,n){n.d(e,"a",function(){return y}),n.d(e,"d",function(){return b}),n.d(e,"e",function(){return x}),n.d(e,"b",function(){return C}),n.d(e,"c",function(){return O});var i=n("f2b3");function o(t){return c(t)||s(t)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function s(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function c(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function u(t){return u="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)},u(t)}var l=["invoke","success","fail","complete","returnValue"],f={},h={};function d(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?p(n):n}function p(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function v(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}function g(t,e){Object.keys(e).forEach(function(n){-1!==l.indexOf(n)&&Object(i["e"])(e[n])&&(t[n]=d(t[n],e[n]))})}function m(t,e){t&&e&&Object.keys(e).forEach(function(n){-1!==l.indexOf(n)&&Object(i["e"])(e[n])&&v(t[n],e[n])})}function y(t,e){"string"===typeof t&&Object(i["f"])(e)?g(h[t]||(h[t]={}),e):Object(i["f"])(t)&&g(f,t)}function b(t,e){"string"===typeof t?Object(i["f"])(e)?m(h[t],e):delete h[t]:Object(i["f"])(t)&&m(f,t)}function _(t){return function(e){return t(e)||e}}function w(t){return!!t&&("object"===u(t)||"function"===typeof t)&&"function"===typeof t.then}function S(t,e){for(var n=!1,r=0;r<t.length;r++){var i=t[r];if(n)n=Promise.then(_(i));else{var o=i(e);if(w(o)&&(n=Promise.resolve(o)),!1===o)return{then:function(){}}}}return n||{then:function(t){return t(e)}}}function k(t){var e=arguments.length>1&&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(e){S(t[n],e).then(function(t){return Object(i["e"])(r)&&r(t)||t})}}}),e}function x(t,e){var n=[];Array.isArray(f.returnValue)&&n.push.apply(n,o(f.returnValue));var r=h[t];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,o(r.returnValue)),n.forEach(function(t){e=t(e)||e}),e}function T(t){var e=Object.create(null);Object.keys(f).forEach(function(t){"returnValue"!==t&&(e[t]=f[t].slice())});var n=h[t];return n&&Object.keys(n).forEach(function(t){"returnValue"!==t&&(e[t]=(e[t]||[]).concat(n[t]))}),e}function C(t,e,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];var a=T(t);if(a&&Object.keys(a).length){if(Array.isArray(a.invoke)){var s=S(a.invoke,n);return s.then(function(t){return e.apply(void 0,[k(a,t)].concat(i))})}return e.apply(void 0,[k(a,n)].concat(i))}return e.apply(void 0,[n].concat(i))}var O={returnValue:function(t){return w(t)?t.then(function(t){return t[1]}).catch(function(t){return t[0]}):t}}},"854d":function(t,e,n){var r=n("fa89"),i=n.n(r);i.a},"856e":function(t,e,n){var r=n("500a"),i=n.n(r);i.a},"85b6":function(t,e,n){n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"d",function(){return s});var r=["SystemAsyncLoading","SystemAsyncError"];function i(t){return!(!t.$parent||"PageBody"!==t.$parent.$options.name)&&-1===r.indexOf(t.$options.name)}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return Array.isArray(t[e])&&t[e].length}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=JSON.parse(JSON.stringify(t)),n=Object.keys(e),r=n.length;if(r)for(var i=0;i<r;i++){var o=n[i],a=o.length;if("v"===o.substr(0,1)&&(9===a||10===a)){delete e[o];break}}return e}function s(t){return t+="",-1!==t.indexOf("upx")?uni.upx2px(parseInt(t)||0):parseInt(t)||0}},8793:function(t,e,n){var r={"./action-sheet.js":"626d","./index.js":"f1ea","./modal.js":"ee4f","./picker.js":"7557","./toast.js":"77e0","./transition.js":"5a56"};function i(t){var e=o(t);return n(e)}function o(t){var e=r[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id="8793"},8842:function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-movable-view",t._g({},t.$listeners),[n("v-uni-resize-sensor",{on:{resize:t.setParent}}),t._t("default")],2)},i=[],o=n("ba15");function a(t,e,n){return t>e-n&&t<e+n}function s(t,e){return a(t,0,e)}function c(){}function u(t,e){this._m=t,this._f=1e3*e,this._startTime=0,this._v=0}function l(t,e,n){this._m=t,this._k=e,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function f(t,e,n){this._springX=new l(t,e,n),this._springY=new l(t,e,n),this._springScale=new l(t,e,n),this._startTime=0}c.prototype.x=function(t){return Math.sqrt(t)},u.prototype.setV=function(t,e){var n=Math.pow(Math.pow(t,2)+Math.pow(e,2),.5);this._x_v=t,this._y_v=e,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(t/this._x_a)||Math.abs(e/this._y_a),this._lastDt=null,this._startTime=(new Date).getTime()},u.prototype.setS=function(t,e){this._x_s=t,this._y_s=e},u.prototype.s=function(t){void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),t>this._t&&(t=this._t,this._lastDt=t);var e=this._x_v*t+.5*this._x_a*Math.pow(t,2)+this._x_s,n=this._y_v*t+.5*this._y_a*Math.pow(t,2)+this._y_s;return(this._x_a>0&&e<this._endPositionX||this._x_a<0&&e>this._endPositionX)&&(e=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:e,y:n}},u.prototype.ds=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),t>this._t&&(t=this._t),{dx:this._x_v+this._x_a*t,dy:this._y_v+this._y_a*t}},u.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},u.prototype.dt=function(){return-this._x_v/this._x_a},u.prototype.done=function(){var t=a(this.s().x,this._endPositionX)||a(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,t},u.prototype.setEnd=function(t,e){this._endPositionX=t,this._endPositionY=e},u.prototype.reconfigure=function(t,e){this._m=t,this._f=1e3*e},l.prototype._solve=function(t,e){var n=this._c,r=this._m,i=this._k,o=n*n-4*r*i;if(0===o){var a=-n/(2*r),s=t,c=e/(a*t);return{x:function(t){return(s+c*t)*Math.pow(Math.E,a*t)},dx:function(t){var e=Math.pow(Math.E,a*t);return a*(s+c*t)*e+c*e}}}if(o>0){var u=(-n-Math.sqrt(o))/(2*r),l=(-n+Math.sqrt(o))/(2*r),f=(e-u*t)/(l-u),h=t-f;return{x:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*e+f*n},dx:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*u*e+f*l*n}}}var d=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,v=t,g=(e-p*t)/d;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(d*t)+g*Math.sin(d*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(d*t),r=Math.sin(d*t);return e*(g*d*n-v*d*r)+p*e*(g*r+v*n)}}},l.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},l.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},l.prototype.setEnd=function(t,e,n){if(n||(n=(new Date).getTime()),t!==this._endPosition||!s(e,.1)){e=e||0;var r=this._endPosition;this._solution&&(s(e,.1)&&(e=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),s(e,.1)&&(e=0),s(r,.1)&&(r=0),r+=this._endPosition),this._solution&&s(r-t,.1)&&s(e,.1)||(this._endPosition=t,this._solution=this._solve(r-this._endPosition,e),this._startTime=n)}},l.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},l.prototype.done=function(t){return t||(t=(new Date).getTime()),a(this.x(),this._endPosition,.1)&&s(this.dx(),.1)},l.prototype.reconfigure=function(t,e,n){this._m=t,this._k=e,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},l.prototype.springConstant=function(){return this._k},l.prototype.damping=function(){return this._c},l.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]},f.prototype.setEnd=function(t,e,n,r){var i=(new Date).getTime();this._springX.setEnd(t,r,i),this._springY.setEnd(e,r,i),this._springScale.setEnd(n,r,i),this._startTime=i},f.prototype.x=function(){var t=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(t),y:this._springY.x(t),scale:this._springScale.x(t)}},f.prototype.done=function(){var t=(new Date).getTime();return this._springX.done(t)&&this._springY.done(t)&&this._springScale.done(t)},f.prototype.reconfigure=function(t,e,n){this._springX.reconfigure(t,e,n),this._springY.reconfigure(t,e,n),this._springScale.reconfigure(t,e,n)};var h=!1;function d(t){h||(h=!0,requestAnimationFrame(function(){t(),h=!1}))}function p(t,e){if(t===e)return 0;var n=t.offsetLeft;return t.offsetParent?n+=p(t.offsetParent,e):0}function v(t,e){if(t===e)return 0;var n=t.offsetTop;return t.offsetParent?n+=v(t.offsetParent,e):0}function g(t,e){return+((1e3*t-1e3*e)/1e3).toFixed(1)}function m(t,e,n){var r=function(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)},i={id:0,cancelled:!1};function o(e,n,r,i){if(!e||!e.cancelled){r(n);var a=t.done();a||e.cancelled||(e.id=requestAnimationFrame(o.bind(null,e,n,r,i))),a&&i&&i(n)}}return o(i,t,e,n),{cancel:r.bind(null,i),model:t}}var y={name:"MovableView",mixins:[o["a"]],props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},data:function(){return{xSync:this._getPx(this.x),ySync:this._getPx(this.y),scaleValueSync:Number(this.scaleValue)||1,width:0,height:0,minX:0,minY:0,maxX:0,maxY:0}},computed:{dampingNumber:function(){var t=Number(this.damping);return isNaN(t)?20:t},frictionNumber:function(){var t=Number(this.friction);return isNaN(t)||t<=0?2:t},scaleMinNumber:function(){var t=Number(this.scaleMin);return isNaN(t)?.5:t},scaleMaxNumber:function(){var t=Number(this.scaleMax);return isNaN(t)?10:t},xMove:function(){return"all"===this.direction||"horizontal"===this.direction},yMove:function(){return"all"===this.direction||"vertical"===this.direction}},watch:{x:function(t){this.xSync=this._getPx(t)},xSync:function(t){this._setX(t)},y:function(t){this.ySync=this._getPx(t)},ySync:function(t){this._setY(t)},scaleValue:function(t){this.scaleValueSync=Number(t)||0},scaleValueSync:function(t){this._setScaleValue(t)},scaleMinNumber:function(){this._setScaleMinOrMax()},scaleMaxNumber:function(){this._setScaleMinOrMax()}},created:function(){this._offset={x:0,y:0},this._scaleOffset={x:0,y:0},this._translateX=0,this._translateY=0,this._scale=1,this._oldScale=1,this._STD=new f(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this._friction=new u(1,this.frictionNumber),this._declineX=new c,this._declineY=new c,this.__touchInfo={historyX:[0,0],historyY:[0,0],historyT:[0,0]}},mounted:function(){this.touchtrack(this.$el,"_onTrack"),this.setParent(),this._friction.reconfigure(1,this.frictionNumber),this._STD.reconfigure(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this.$el.style.transformOrigin="center"},methods:{_getPx:function(t){return/\d+[ur]px$/i.test(t)?uni.upx2px(parseFloat(t)):Number(t)||0},_setX:function(t){if(this.xMove){if(t+this._scaleOffset.x===this._translateX)return this._translateX;this._SFA&&this._SFA.cancel(),this._animationTo(t+this._scaleOffset.x,this.ySync+this._scaleOffset.y,this._scale)}return t},_setY:function(t){if(this.yMove){if(t+this._scaleOffset.y===this._translateY)return this._translateY;this._SFA&&this._SFA.cancel(),this._animationTo(this.xSync+this._scaleOffset.x,t+this._scaleOffset.y,this._scale)}return t},_setScaleMinOrMax:function(){if(!this.scale)return!1;this._updateScale(this._scale,!0),this._updateOldScale(this._scale)},_setScaleValue:function(t){return!!this.scale&&(t=this._adjustScale(t),this._updateScale(t,!0),this._updateOldScale(t),t)},__handleTouchStart:function(){this._isScaling||this.disabled||(this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel(),this.__touchInfo.historyX=[0,0],this.__touchInfo.historyY=[0,0],this.__touchInfo.historyT=[0,0],this.xMove&&(this.__baseX=this._translateX),this.yMove&&(this.__baseY=this._translateY),this.$el.style.willChange="transform",this._checkCanMove=null,this._firstMoveDirection=null,this._isTouching=!0)},__handleTouchMove:function(t){var e=this;if(!this._isScaling&&!this.disabled&&this._isTouching){var n=this._translateX,r=this._translateY;if(null===this._firstMoveDirection&&(this._firstMoveDirection=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),this.xMove&&(n=t.detail.dx+this.__baseX,this.__touchInfo.historyX.shift(),this.__touchInfo.historyX.push(n),this.yMove||!0!==this._checkCanMove&&(Math.abs(t.detail.dx/t.detail.dy)>1?this._checkCanMove=!1:this._checkCanMove=!0)),this.yMove&&(r=t.detail.dy+this.__baseY,this.__touchInfo.historyY.shift(),this.__touchInfo.historyY.push(r),this.xMove||!0!==this._checkCanMove&&(Math.abs(t.detail.dy/t.detail.dx)>1?this._checkCanMove=!1:this._checkCanMove=!0)),this.__touchInfo.historyT.shift(),this.__touchInfo.historyT.push(t.detail.timeStamp),!this._checkCanMove){t.preventDefault();var i="touch";n<this.minX?this.outOfBounds?(i="touch-out-of-bounds",n=this.minX-this._declineX.x(this.minX-n)):n=this.minX:n>this.maxX&&(this.outOfBounds?(i="touch-out-of-bounds",n=this.maxX+this._declineX.x(n-this.maxX)):n=this.maxX),r<this.minY?this.outOfBounds?(i="touch-out-of-bounds",r=this.minY-this._declineY.x(this.minY-r)):r=this.minY:r>this.maxY&&(this.outOfBounds?(i="touch-out-of-bounds",r=this.maxY+this._declineY.x(r-this.maxY)):r=this.maxY),d(function(){e._setTransform(n,r,e._scale,i)})}}},__handleTouchEnd:function(){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(this.$el.style.willChange="auto",this._isTouching=!1,!this._checkCanMove&&!this._revise("out-of-bounds")&&this.inertia)){var e=1e3*(this.__touchInfo.historyX[1]-this.__touchInfo.historyX[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]),n=1e3*(this.__touchInfo.historyY[1]-this.__touchInfo.historyY[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]);this._friction.setV(e,n),this._friction.setS(this._translateX,this._translateY);var r=this._friction.delta().x,i=this._friction.delta().y,o=r+this._translateX,a=i+this._translateY;o<this.minX?(o=this.minX,a=this._translateY+(this.minX-this._translateX)*i/r):o>this.maxX&&(o=this.maxX,a=this._translateY+(this.maxX-this._translateX)*i/r),a<this.minY?(a=this.minY,o=this._translateX+(this.minY-this._translateY)*r/i):a>this.maxY&&(a=this.maxY,o=this._translateX+(this.maxY-this._translateY)*r/i),this._friction.setEnd(o,a),this._FA=m(this._friction,function(){var e=t._friction.s(),n=e.x,r=e.y;t._setTransform(n,r,t._scale,"friction")},function(){t._FA.cancel()})}},_onTrack:function(t){switch(t.detail.state){case"start":this.__handleTouchStart();break;case"move":this.__handleTouchMove(t);break;case"end":this.__handleTouchEnd()}},_getLimitXY:function(t,e){var n=!1;return t>this.maxX?(t=this.maxX,n=!0):t<this.minX&&(t=this.minX,n=!0),e>this.maxY?(e=this.maxY,n=!0):e<this.minY&&(e=this.minY,n=!0),{x:t,y:e,outOfBounds:n}},setParent:function(){if(this.$parent._isMounted){this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel();var t=this.scale?this.scaleValueSync:1;this._updateOffset(),this._updateWH(t),this._updateBoundary(),this._translateX=this.xSync+this._scaleOffset.x,this._translateY=this.ySync+this._scaleOffset.y;var e=this._getLimitXY(this._translateX,this._translateY),n=e.x,r=e.y;this._setTransform(n,r,t,"",!0),this._updateOldScale(t)}},_updateOffset:function(){this._offset.x=p(this.$el,this.$parent.$el),this._offset.y=v(this.$el,this.$parent.$el)},_updateWH:function(t){t=t||this._scale,t=this._adjustScale(t);var e=this.$el.getBoundingClientRect();this.height=e.height/this._scale,this.width=e.width/this._scale;var n=this.height*t,r=this.width*t;this._scaleOffset.x=(r-this.width)/2,this._scaleOffset.y=(n-this.height)/2},_updateBoundary:function(){var t=0-this._offset.x+this._scaleOffset.x,e=this.$parent.width-this.width-this._offset.x-this._scaleOffset.x;this.minX=Math.min(t,e),this.maxX=Math.max(t,e);var n=0-this._offset.y+this._scaleOffset.y,r=this.$parent.height-this.height-this._offset.y-this._scaleOffset.y;this.minY=Math.min(n,r),this.maxY=Math.max(n,r)},_beginScale:function(){this._isScaling=!0},_endScale:function(){this._isScaling=!1,this._updateOldScale(this._scale)},_setScale:function(t){this.scale&&(t=this._adjustScale(t),t=this._oldScale*t,this._beginScale(),this._updateScale(t))},_updateScale:function(t,e){var n=this;if(this.scale){t=this._adjustScale(t),this._updateWH(t),this._updateBoundary();var r=this._getLimitXY(this._translateX,this._translateY),i=r.x,o=r.y;e?this._animationTo(i,o,t,"",!0,!0):d(function(){n._setTransform(i,o,t,"",!0,!0)})}},_updateOldScale:function(t){this._oldScale=t},_adjustScale:function(t){return t=Math.max(.5,this.scaleMinNumber,t),t=Math.min(10,this.scaleMaxNumber,t),t},_animationTo:function(t,e,n,r,i,o){var a=this;this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel(),this.xMove||(t=this._translateX),this.yMove||(e=this._translateY),this.scale||(n=this._scale);var s=this._getLimitXY(t,e);t=s.x,e=s.y,this.animation?(this._STD._springX._solution=null,this._STD._springY._solution=null,this._STD._springScale._solution=null,this._STD._springX._endPosition=this._translateX,this._STD._springY._endPosition=this._translateY,this._STD._springScale._endPosition=this._scale,this._STD.setEnd(t,e,n,1),this._SFA=m(this._STD,function(){var t=a._STD.x(),e=t.x,n=t.y,s=t.scale;a._setTransform(e,n,s,r,i,o)},function(){a._SFA.cancel()})):this._setTransform(t,e,n,r,i,o)},_revise:function(t){var e=this._getLimitXY(this._translateX,this._translateY),n=e.x,r=e.y,i=e.outOfBounds;return i&&this._animationTo(n,r,this._scale,t),i},_setTransform:function(t,e,n){var 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;null!==t&&"NaN"!==t.toString()&&"number"===typeof t||(t=this._translateX||0),null!==e&&"NaN"!==e.toString()&&"number"===typeof e||(e=this._translateY||0),t=Number(t.toFixed(1)),e=Number(e.toFixed(1)),n=Number(n.toFixed(1)),this._translateX===t&&this._translateY===e||i||this.$trigger("change",{},{x:g(t,this._scaleOffset.x),y:g(e,this._scaleOffset.y),source:r}),this.scale||(n=this._scale),n=this._adjustScale(n),n=+n.toFixed(3),o&&n!==this._scale&&this.$trigger("scale",{},{x:t,y:e,scale:n});var a="translateX("+t+"px) translateY("+e+"px) translateZ(0px) scale("+n+")";this.$el.style.transform=a,this.$el.style.webkitTransform=a,this._translateX=t,this._translateY=e,this._scale=n}}},b=y,_=(n("7c2b"),n("0c7c")),w=Object(_["a"])(b,r,i,!1,null,null,null);e["default"]=w.exports},"893e":function(t,e,n){n.r(e),function(t){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s;n.d(e,"connectSocket",function(){return u}),n.d(e,"sendSocketMessage",function(){return l}),n.d(e,"closeSocket",function(){return f}),n.d(e,"onSocketOpen",function(){return d}),n.d(e,"onSocketError",function(){return p}),n.d(e,"onSocketMessage",function(){return v}),n.d(e,"onSocketClose",function(){return g});var c=function(){function t(e,n){r(this,t),a(this,"_webSocket",void 0),this._webSocket=new WebSocket(e,n)}return o(t,[{key:"send",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.data,n=this._webSocket;try{n.send(e),this._callback(t,"sendSocketMessage:ok")}catch(r){this._callback(t,"sendSocketMessage:fail ".concat(r))}}},{key:"close",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.data,n=t.data,r=this._webSocket;try{r.close(e,n),this._callback(t,"sendSocketMessage:ok")}catch(i){this._callback(t,"sendSocketMessage:fail ".concat(i))}}},{key:"onOpen",value:function(t){this._on("open",t)}},{key:"onClose",value:function(t){this._on("close",t)}},{key:"onError",value:function(t){this._on("error",t)}},{key:"onMessage",value:function(t){this._on("message",t)}},{key:"_on",value:function(t,e){this._webSocket.addEventListener(t,function(n){"message"===t?e({data:n.data}):e()},!1)}},{key:"_callback",value:function(t,e){var n=t.success,r=t.fail,i=t.complete,o={errMsg:e};/:ok$/.test(e)?"function"===typeof n&&n(o):"function"===typeof r&&r(o),"function"===typeof i&&i(o)}}]),t}();function u(e,n){var r=e.url,i=e.protocols,o=t,a=o.invokeCallbackHandler;return s=new c(r,i),setTimeout(function(){a(n,{errMsg:"connectSocket:ok"})},0),s}function l(e,n){var r=t,i=r.invokeCallbackHandler;s&&s._webSocket.readyState===WebSocket.OPEN?s.send(Object.assign(e,{complete:function(t){i(n,t)}})):i(n,{errMsg:"sendSocketMessage:fail WebSocket is not connected "})}function f(e,n){var r=t,i=r.invokeCallbackHandler;s&&s._webSocket.readyState!==WebSocket.CLOSED?s.close(Object.assign(e,{complete:function(t){i(n,t)}})):i(n,{errMsg:"closeSocket:fail WebSocket is not connected"})}function h(e){var n=t,r=n.invokeCallbackHandler;return function(t){s&&s[e](function(e){r(t,e)})}}var d=h("onOpen"),p=h("onError"),v=h("onMessage"),g=h("onClose")}.call(this,n("0dd1"))},"8a36":function(t,e,n){(function(t){var r=n("f2b3");e["a"]={props:{id:{type:String,default:""}},created:function(){var t=this;this._addListeners(this.id),this.$watch("id",function(e,n){t._removeListeners(n,!0),t._addListeners(e,!0)})},beforeDestroy:function(){this._removeListeners(this.id)},methods:{_addListeners:function(e,n){var i=this;if(!n||e){var o=this.$options.listeners;Object(r["f"])(o)&&Object.keys(o).forEach(function(r){n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&t.on("uni-".concat(r,"-").concat(i.$page.id,"-").concat(e),i[o[r]]):0===r.indexOf("@")?i.$on("uni-".concat(r.substr(1)),i[o[r]]):0===r.indexOf("uni-")?t.on(r,i[o[r]]):e&&t.on("uni-".concat(r,"-").concat(i.$page.id,"-").concat(e),i[o[r]])})}},_removeListeners:function(e,n){var i=this;if(!n||e){var o=this.$options.listeners;Object(r["f"])(o)&&Object.keys(o).forEach(function(r){n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&t.off("uni-".concat(r,"-").concat(i.$page.id,"-").concat(e),i[o[r]]):0===r.indexOf("@")?i.$off("uni-".concat(r.substr(1)),i[o[r]]):0===r.indexOf("uni-")?t.off(r,i[o[r]]):e&&t.off("uni-".concat(r,"-").concat(i.$page.id,"-").concat(e),i[o[r]])})}}}}}).call(this,n("501c"))},"8aec":function(t,e,n){var r=n("5363"),i=n("72b3");function o(t,e,n){this._extent=t,this._friction=e||new r["a"](.01),this._spring=n||new i["a"](1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}function a(t,e,n){function r(t,e,n,i){if(!t||!t.cancelled){n(e);var o=e.done();o||t.cancelled||(t.id=requestAnimationFrame(r.bind(null,t,e,n,i))),o&&i&&i(e)}}function i(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)}var o={id:0,cancelled:!1};return r(o,t,e,n),{cancel:i.bind(null,o),model:t}}function s(t,e){e=e||{},this._element=t,this._options=e,this._enableSnap=e.enableSnap||!1,this._itemSize=e.itemSize||0,this._enableX=e.enableX||!1,this._enableY=e.enableY||!1,this._shouldDispatchScrollEvent=!!e.onScroll,this._enableX?(this._extent=(e.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=e.scrollWidth):(this._extent=(e.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=e.scrollHeight),this._position=0,this._scroll=new o(this._extent,e.friction,e.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}o.prototype.snap=function(t,e){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(e)},o.prototype.set=function(t,e){this._friction.set(t,e),t>0&&e>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&e<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()},o.prototype.x=function(t){if(!this._startTime)return 0;if(t||(t=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var e=this._friction.x(t),n=this.dx(t);return(e>0&&n>=0||e<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),e<-this._extent?this._springOffset=-this._extent:this._springOffset=0,e=this._spring.x()+this._springOffset),e},o.prototype.dx=function(t){var e=0;return e=this._lastTime===t?this._lastDx:this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=e,e},o.prototype.done=function(){return this._springing?this._spring.done():this._friction.done()},o.prototype.setVelocityByEnd=function(t){this._friction.setVelocityByEnd(t)},o.prototype.configuration=function(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t},s.prototype.onTouchStart=function(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()},s.prototype.onTouchMove=function(t,e){var n=this._startPosition;this._enableX?n+=t:this._enableY&&(n+=e),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()},s.prototype.onTouchEnd=function(t,e,n){var r=this;if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(e)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(t)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){var i=this._scroll._friction.x(100),o=i%this._itemSize,s=Math.abs(o)>this._itemSize/2?i-(this._itemSize-Math.abs(o)):i-o;s<=0&&s>=-this._extent&&this._scroll.setVelocityByEnd(s)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=a(this._scroll,function(){var t=Date.now(),e=(t-r._scroll._startTime)/1e3,n=r._scroll.x(e);r._position=n,r.updatePosition();var i=r._scroll.dx(e);r._shouldDispatchScrollEvent&&t-r._lastTime>r._lastDelay&&(r.dispatchScroll(),r._lastDelay=Math.abs(2e3/i),r._lastTime=t)},function(){r._enableSnap&&(s<=0&&s>=-r._extent&&(r._position=s,r.updatePosition()),"function"===typeof r._options.onSnap&&r._options.onSnap(Math.floor(Math.abs(r._position)/r._itemSize))),r._shouldDispatchScrollEvent&&r.dispatchScroll(),r._scrolling=!1})},s.prototype.onTransitionEnd=function(){this._element.style.transition="",this._element.style.webkitTransition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._element.removeEventListener("webkitTransitionEnd",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()},s.prototype.snap=function(){var t=this._itemSize,e=this._position%t,n=Math.abs(e)>this._itemSize/2?this._position-(t-Math.abs(e)):this._position-e;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),"function"===typeof this._options.onSnap&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))},s.prototype.scrollTo=function(t,e){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"===typeof t&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0),this._element.style.transition="transform "+(e||.2)+"s ease-out",this._element.style.webkitTransition="-webkit-transform "+(e||.2)+"s ease-out",this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd),this._element.addEventListener("webkitTransitionEnd",this._onTransitionEnd)},s.prototype.dispatchScroll=function(){if("function"===typeof this._options.onScroll&&Math.round(this._lastPos)!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}},s.prototype.update=function(t,e,n){var r=0,i=this._position;this._enableX?(r=this._element.childNodes.length?(e||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=e):(r=this._element.childNodes.length?(e||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=e),"number"===typeof t&&(this._position=-t),this._position<-r?this._position=-r:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),i!==this._position&&(this.dispatchScroll(),"function"===typeof this._options.onSnap&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=r,this._scroll._extent=r},s.prototype.updatePosition=function(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t},s.prototype.isScrolling=function(){return this._scrolling||this._snapping},e["a"]={methods:{initScroller:function(t,e){this._touchInfo={trackingID:-1,maxDy:0,maxDx:0},this._scroller=new s(t,e),this.__handleTouchStart=this._handleTouchStart.bind(this),this.__handleTouchMove=this._handleTouchMove.bind(this),this.__handleTouchEnd=this._handleTouchEnd.bind(this),this._initedScroller=!0},_findDelta:function(t){var e=this._touchInfo;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:t.screenX-e.x,y:t.screenY-e.y}},_handleTouchStart:function(t){var e=this._touchInfo,n=this._scroller;n&&("start"===t.detail.state?(e.trackingID="touch",e.x=t.detail.x,e.y=t.detail.y):(e.trackingID="mouse",e.x=t.screenX,e.y=t.screenY),e.maxDx=0,e.maxDy=0,e.historyX=[0],e.historyY=[0],e.historyTime=[t.detail.timeStamp],e.listener=n,n.onTouchStart&&n.onTouchStart())},_handleTouchMove:function(t){var e=this._touchInfo;if(-1!==e.trackingID){t.preventDefault();var n=this._findDelta(t);if(n){for(e.maxDy=Math.max(e.maxDy,Math.abs(n.y)),e.maxDx=Math.max(e.maxDx,Math.abs(n.x)),e.historyX.push(n.x),e.historyY.push(n.y),e.historyTime.push(t.detail.timeStamp);e.historyTime.length>10;)e.historyTime.shift(),e.historyX.shift(),e.historyY.shift();e.listener&&e.listener.onTouchMove&&e.listener.onTouchMove(n.x,n.y,t.detail.timeStamp)}}},_handleTouchEnd:function(t){var e=this._touchInfo;if(-1!==e.trackingID){t.preventDefault();var n=this._findDelta(t);if(n){var r=e.listener;e.trackingID=-1,e.listener=null;var i=e.historyTime.length,o={x:0,y:0};if(i>2)for(var a=e.historyTime.length-1,s=e.historyTime[a],c=e.historyX[a],u=e.historyY[a];a>0;){a--;var l=e.historyTime[a],f=s-l;if(f>30&&f<50){o.x=(c-e.historyX[a])/(f/1e3),o.y=(u-e.historyY[a])/(f/1e3);break}}e.historyTime=[],e.historyX=[],e.historyY=[],r&&r.onTouchEnd&&r.onTouchEnd(n.x,n.y,o)}}}}}},"8af1":function(t,e,n){function r(t,e){for(var n=this.$children,i=n.length,o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];for(var c=0;c<i;c++){var u=n[c],l=u.$options.name&&u.$options.name.substr(4);if(~t.indexOf(l))return u.$emit.apply(u,[e].concat(a)),!1;if(!1===r.apply(u,[t,e].concat([a])))return!1}}var i={methods:{$dispatch:function(t,e){"string"===typeof t&&(t=[t]);var n=this.$parent||this.$root,r=n.$options.name&&n.$options.name.substr(4);while(n&&(!r||!~t.indexOf(r)))n=n.$parent,n&&(r=n.$options.name&&n.$options.name.substr(4));if(n){for(var i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];n.$emit.apply(n,[e].concat(o))}},$broadcast:function(t,e){"string"===typeof t&&(t=[t]);for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];r.apply(this,[t,e].concat(i))}}},o=n("8a36"),a=n("83a6"),s=n("1b6f");n.d(e,"a",function(){return i}),n.d(e,"c",function(){return o["a"]}),n.d(e,"b",function(){return a["a"]}),n.d(e,"d",function(){return s["a"]})},"8b3f":function(t,e,n){n.r(e),n.d(e,"onNetworkStatusChange",function(){return a});var r=n("a118"),i=n("db70"),o=[];function a(t){o.push(t)}Object(i["b"])("onNetworkStatusChange",function(t){o.forEach(function(e){Object(r["a"])(e,t)})})},"8bbf":function(t,n){t.exports=e},"8c15":function(t,e,n){n.r(e),function(t){var r=n("85b6"),i=n("d4b6"),o=n("61c2");function a(){t.publishHandler("onPageReady",{},this.$page.id)}e["default"]={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.routes,Object(i["a"])(),t.prototype.$handleEvent=function(t){if(t instanceof Event){for(var e=t.target,n=this.$el;e&&e!==n;e=e.parentNode)if(e.tagName&&0===e.tagName.indexOf("UNI-"))break;t=i["b"].call(this,t.type,t,{},e||t.target,t.currentTarget)}return t},t.mixin({beforeCreate:function(){var t=this.$options;t.behaviors&&t.behaviors.length&&Object(o["a"])(t,this),Object(r["b"])(this)&&(t.mounted=t.mounted?[].concat(a,t.mounted):[a])}})}}}.call(this,n("501c"))},"8ce3":function(t,e,n){n.r(e),function(t){n.d(e,"chooseVideo",function(){return u});var r=n("e2e2"),i=n("f2b3"),o=t,a=o.invokeCallbackHandler,s=null,c=function(t){var e=document.createElement("input");return e.type="file",Object(i["j"])(e,{position:"absolute",visibility:"hidden","z-index":-999,width:0,height:0,top:0,left:0}),e.accept="video/*",1===t.sourceType.length&&"camera"===t.sourceType[0]&&(e.capture="camera"),e};function u(t,e){var n=t.sourceType;s&&(document.body.removeChild(s),s=null),s=c({sourceType:n}),document.body.appendChild(s),s.addEventListener("change",function(t){var n=t.target.files[0],i=Object(r["a"])(n),o={errMsg:"chooseVideo:ok",tempFilePath:i,size:n.size,duration:0,width:0,height:0},s=document.createElement("video");s.onloadedmetadata?(s.onloadedmetadata=function(){o.duration=s.duration||0,o.width=s.videoWidth||0,o.height=s.videoHeight||0,a(e,o)},s.src=i):a(e,o)}),s.click()}}.call(this,n("0dd1"))},"8e16":function(t,e,n){var r=n("a1e3"),i=n.n(r);i.a},"8ecd":function(t,e,n){(function(t){n.d(e,"a",function(){return l});var r=n("f2b3"),i=n("85b6"),o=n("65a8"),a=n("33ed"),s=n("99c6"),c=!!r["h"]&&{passive:!1};function u(e){if(uni.canIUse("css.var")){var n=e.$parent.$parent,r=n.showNavigationBar&&"transparent"!==n.navigationBar.type?o["a"]+"px":"0px",i=getApp().$children[0].showTabBar?o["b"]+"px":"0px",a=document.documentElement.style;a.setProperty("--window-top",r),a.setProperty("--window-bottom",i),t.debug("".concat(e.$page.route,"[").concat(e.$page.id,"]:--window-top=").concat(r)),t.debug("".concat(e.$page.route,"[").concat(e.$page.id,"]:--window-bottom=").concat(i))}}function l(t){Object.keys(s["a"]).forEach(function(e){t(e,s["a"][e])}),t("pageScrollTo",a["c"]);var e=!1,n=!1;t("onPageLoad",function(t){u(t)}),t("onPageShow",function(t){var o=t.$parent.$parent;t._isMounted&&u(t),n&&document.removeEventListener("touchmove",n,c),o.disableScroll&&(n=a["b"],document.addEventListener("touchmove",n,c));var s=Object(i["a"])(t.$options,"onPageScroll"),l=Object(i["a"])(t.$options,"onReachBottom"),f=o.onReachBottomDistance,h=Object(r["f"])(o.titleNView)&&"transparent"===o.titleNView.type;e&&document.removeEventListener("scroll",e),(h||s||l)&&(e=Object(a["a"])(t.$page.id,{enablePageScroll:s,enablePageReachBottom:l,onReachBottomDistance:f,enableTransparentTitleNView:h}),setTimeout(function(){document.addEventListener("scroll",e)},10))})}}).call(this,n("3ad9")["default"])},"8f7e":function(t,e,n){n.r(e);var r=n("8bbf"),i=n.n(r),o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-app",{class:{"uni-app--showtabbar":t.showTabBar}},[n("keep-alive",{attrs:{include:t.keepAliveInclude}},[n("router-view",{key:t.key})],1),t.hasTabBar?n("tab-bar",t._b({directives:[{name:"show",rawName:"v-show",value:t.showTabBar,expression:"showTabBar"}]},"tab-bar",t.tabBar,!1)):t._e(),t.$options.components.Toast?n("toast",t._b({},"toast",t.showToast,!1)):t._e(),t.$options.components.ActionSheet?n("action-sheet",t._b({on:{close:t._onActionSheetClose}},"action-sheet",t.showActionSheet,!1)):t._e(),t.$options.components.Modal?n("modal",t._b({on:{close:t._onModalClose}},"modal",t.showModal,!1)):t._e(),t.$options.components.Picker?n("picker",t._b({on:{close:t._onPickerClose}},"picker",t.showPicker,!1)):t._e()],1)},a=[],s=n("4ec0"),c=s["a"],u=(n("854d"),n("0c7c")),l=Object(u["a"])(c,o,a,!1,null,null,null),f=l.exports,h=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-page",{attrs:{"data-page":t.$route.meta.pagePath}},[t.showNavigationBar?n("page-head",t._b({},"page-head",t.navigationBar,!1)):t._e(),t.enablePullDownRefresh?n("page-refresh",{ref:"refresh",attrs:{color:t.refreshOptions.color,offset:t.refreshOptions.offset}}):t._e(),t.enablePullDownRefresh?n("page-body",{nativeOn:{touchstart:function(e){return t._touchstart(e)},touchmove:function(e){return t._touchmove(e)},touchend:function(e){return t._touchend(e)},touchcancel:function(e){return t._touchend(e)}}},[t._t("page")],2):n("page-body",[t._t("page")],2)],1)},d=[],p=n("85b6"),v=n("65a8"),g=n("24d9"),m=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-page-head",{attrs:{"uni-page-head-type":t.type}},[n("div",{staticClass:"uni-page-head",class:{"uni-page-head-transparent":"transparent"===t.type},style:{transitionDuration:t.duration,transitionTimingFunction:t.timingFunc,backgroundColor:t.bgColor,color:t.textColor}},[n("div",{staticClass:"uni-page-head-hd"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.backButton,expression:"backButton"}],staticClass:"uni-page-head-btn",on:{click:t._back}},[n("i",{staticClass:"uni-btn-icon",style:{color:t.color,fontSize:"27px"}},[t._v("")])]),t._l(t.btns,function(e,r){return["left"===e.float?n("div",{key:r,staticClass:"uni-page-head-btn",class:{"uni-page-head-btn-red-dot":e.redDot||e.badgeText,"uni-page-head-btn-select":e.select},style:{backgroundColor:"transparent"===t.type?e.background:"transparent",width:e.width},attrs:{"badge-text":e.badgeText}},[n("i",{staticClass:"uni-btn-icon",style:t._formatBtnStyle(e),domProps:{innerHTML:t._s(t._formatBtnFontText(e))},on:{click:function(e){return t._onBtnClick(r)}}})]):t._e()]})],2),t.searchInput?t._e():n("div",{staticClass:"uni-page-head-bd"},[n("div",{staticClass:"uni-page-head__title",style:{fontSize:t.titleSize,opacity:"transparent"===t.type?0:1}},[t.loading?n("i",{staticClass:"uni-loading"}):t._e(),t._v("\n        "+t._s(t.titleText)+"\n      ")])]),t.searchInput?n("div",{staticClass:"uni-page-head-search",style:{"border-radius":t.searchInput.borderRadius,"background-color":t.searchInput.backgroundColor}},[n("div",{staticClass:"uni-page-head-search-placeholder",class:["uni-page-head-search-placeholder-"+(t.focus||t.text?"left":t.searchInput.align)],style:{color:t.searchInput.placeholderColor}},[t._v(t._s(t.text||t.composing?"":t.searchInput.placeholder))]),n("v-uni-input",{ref:"input",staticClass:"uni-page-head-search-input",style:{color:t.searchInput.color},attrs:{focus:t.searchInput.autoFocus,disabled:t.searchInput.disabled,"placeholder-style":"color:"+t.searchInput.placeholderColor,"confirm-type":"search"},on:{focus:t._focus,blur:t._blur,"update:value":t._input},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}})],1):t._e(),n("div",{staticClass:"uni-page-head-ft"},[t._l(t.btns,function(e,r){return["left"!==e.float?n("div",{key:r,staticClass:"uni-page-head-btn",class:{"uni-page-head-btn-red-dot":e.redDot||e.badgeText,"uni-page-head-btn-select":e.select},style:{backgroundColor:"transparent"===t.type?e.background:"transparent",width:e.width},attrs:{"badge-text":e.badgeText}},[n("i",{staticClass:"uni-btn-icon",style:t._formatBtnStyle(e),domProps:{innerHTML:t._s(t._formatBtnFontText(e))},on:{click:function(e){return t._onBtnClick(r)}}})]):t._e()]})],2)]),"transparent"!==t.type?n("div",{staticClass:"uni-placeholder"}):t._e()])},y=[],b=n("adb0"),_=b["a"],w=(n("8e16"),Object(u["a"])(_,m,y,!1,null,null,null)),S=w.exports,k=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-page-wrapper",[n("uni-page-body",[t._t("default")],2)],1)},x=[],T={name:"PageBody"},C=T,O=(n("167a"),Object(u["a"])(C,k,x,!1,null,null,null)),E=O.exports,A=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-page-refresh",[n("div",{staticClass:"uni-page-refresh",style:{"margin-top":t.offset+"px"}},[n("div",{staticClass:"uni-page-refresh-inner"},[n("svg",{staticClass:"uni-page-refresh__icon",attrs:{fill:t.color,width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}}),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),n("svg",{staticClass:"uni-page-refresh__spinner",attrs:{width:"24",height:"24",viewBox:"25 25 50 50"}},[n("circle",{staticClass:"uni-page-refresh__path",attrs:{stroke:t.color,cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"}})])])])])},M=[],j={name:"PageRefresh",props:{color:{type:String,default:"#2BD009"},offset:{type:Number,default:0}}},I=j,P=(n("9b5b"),Object(u["a"])(I,A,M,!1,null,null,null)),$=P.exports,B=n("be12"),L={name:"Page",mpType:"page",components:{PageHead:S,PageBody:E,PageRefresh:$},mixins:[B["a"]],props:{isQuit:{type:Boolean,default:!1},isEntry:{type:Boolean,default:!1},isTabBar:{type:Boolean,default:!1},tabBarIndex:{type:Number,default:-1},navigationBarBackgroundColor:{type:String,default:"#000"},navigationBarTextStyle:{default:"white",validator:function(t){return-1!==["white","black"].indexOf(t)}},navigationBarTitleText:{type:String,default:""},navigationStyle:{default:"default",validator:function(t){return-1!==["default","custom"].indexOf(t)}},backgroundColor:{type:String,default:"#ffffff"},backgroundTextStyle:{default:"dark",validator:function(t){return-1!==["dark","light"].indexOf(t)}},backgroundColorTop:{type:String,default:"#fff"},backgroundColorBottom:{type:String,default:"#fff"},enablePullDownRefresh:{type:Boolean,default:!1},onReachBottomDistance:{type:Number,default:50},disableScroll:{type:Boolean,default:!1},titleNView:{type:[Boolean,Object],default:!0},pullToRefresh:{type:Object,default:function(){return{}}}},data:function(){var t=Object(g["a"])({loading:!1,backButton:!this.isQuit&&!this.$route.meta.isQuit,backgroundColor:this.navigationBarBackgroundColor,textColor:"black"===this.navigationBarTextStyle?"#000":"#fff",titleText:this.navigationBarTitleText,duration:"0",timingFunc:""},this.titleNView),e="default"===this.navigationStyle&&this.titleNView,n=Object.assign({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},this.pullToRefresh),r=Object(p["d"])(n.offset);return e&&(this.titleNView&&"transparent"===this.titleNView.type||(r+=v["a"])),n.offset=r,n.height=Object(p["d"])(n.height),n.range=Object(p["d"])(n.range),{showNavigationBar:e,navigationBar:t,refreshOptions:n}},created:function(){document.title=this.navigationBar.titleText}},N=L,D=(n("6226"),Object(u["a"])(N,h,d,!1,null,null,null)),R=D.exports,F=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-async-error",on:{click:t._onClick}},[t._v("\n  网络不给力,点击屏幕重试\n")])},z=[],H={name:"AsyncError",methods:{_onClick:function(){window.location.reload()}}},V=H,q=(n("b628"),Object(u["a"])(V,F,z,!1,null,null,null)),U=q.exports,W=function(){var t=this;t.$createElement;return t._self._c,t._m(0)},X=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-async-loading"},[n("i",{staticClass:"uni-loading"})])}],Y={name:"AsyncLoading"},G=Y,K=(n("5727"),Object(u["a"])(G,W,X,!1,null,null,null)),Q=K.exports,J=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-system-choose-location"},[n("system-header",{attrs:{confirm:!!t.data},on:{back:t._back,confirm:t._choose}},[t._v("选择位置")]),n("div",{staticClass:"map-content"},[n("iframe",{attrs:{src:t.src,allow:"geolocation",seamless:"",sandbox:"allow-scripts allow-same-origin allow-forms",frameborder:"0"}})])],1)},Z=[],tt=n("580e"),et=tt["a"],nt=(n("9470"),Object(u["a"])(et,J,Z,!1,null,null,null)),rt=nt.exports,it=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-system-open-location"},[n("system-header",{on:{back:t._back}},[t._v("位置")]),n("div",{staticClass:"map-content"},[n("iframe",{ref:"map",attrs:{src:t.src,allow:"geolocation",sandbox:"allow-scripts allow-same-origin allow-forms allow-top-navigation allow-modals allow-popups",frameborder:"0"},on:{load:t._load}}),t.isPoimarkerSrc?n("div",{staticClass:"actTonav",on:{click:t._nav}}):t._e()])],1)},ot=[],at=n("bab8"),st=__uniConfig.qqMapKey,ct="uniapp",ut="https://apis.map.qq.com/tools/poimarker",lt={name:"SystemOpenLocation",components:{SystemHeader:at["a"]},data:function(){var t=this.$route.query,e=t.latitude,n=t.longitude,r=t.scale,i=t.name,o=t.address;return{latitude:e,longitude:n,scale:r,name:i,address:o,src:"",isPoimarkerSrc:!1}},mounted:function(){this.latitude&&this.longitude&&(this.src="".concat(ut,"?type=0&marker=coord:").concat(this.latitude,",").concat(this.longitude,";title:").concat(this.name,";addr:").concat(this.address,";&key=").concat(st,"&referer=").concat(ct))},methods:{_back:function(){0!==this.$refs.map.src.indexOf(ut)?this.$refs.map.src=this.src:getApp().$router.back()},_load:function(){0===this.$refs.map.src.indexOf(ut)?this.isPoimarkerSrc=!0:this.isPoimarkerSrc=!1},_nav:function(){var t="https://apis.map.qq.com/uri/v1/routeplan?type=drive&to=".concat(encodeURIComponent(this.name),"&tocoord=").concat(this.latitude,",").concat(this.longitude,"&referer=").concat(ct);this.$refs.map.src=t}}},ft=lt,ht=(n("3da9"),Object(u["a"])(ft,it,ot,!1,null,null,null)),dt=ht.exports,pt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-system-preview-image",on:{click:t._click}},[n("v-uni-swiper",{staticClass:"uni-swiper",attrs:{current:t.index,"indicator-dots":!1,autoplay:!1},on:{"update:current":function(e){t.index=e}}},t._l(t.urls,function(t,e){return n("v-uni-swiper-item",{key:e},[n("img",{staticClass:"uni-preview-image",attrs:{src:t}})])}),1)],1)},vt=[],gt={name:"SystemPreviewImage",data:function(){var t=this.$route.params,e=t.urls,n=t.current;return{urls:e||[],current:n,index:0}},created:function(){var t="number"===typeof this.current?this.current:this.urls.indexOf(this.current);this.index=t<0?0:t},methods:{_click:function(){getApp().$router.back()}}},mt=gt,yt=(n("f10e"),Object(u["a"])(mt,pt,vt,!1,null,null,null)),bt=yt.exports,_t={ChooseLocation:rt,OpenLocation:dt,PreviewImage:bt};i.a.component(f.name,f),i.a.component(R.name,R),i.a.component(U.name,U),i.a.component(Q.name,Q),Object.keys(_t).forEach(function(t){var e=_t[t];i.a.component(e.name,e)})},"8ffa":function(t,e,n){},9040:function(t,e,n){n.r(e),function(t){n.d(e,"createIntersectionObserver",function(){return h});var r=n("8bbf"),i=n.n(r),o=n("62b5");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var u=Object(o["a"])("requestComponentObserver"),l={thresholds:[0],initialRatio:0,observeAll:!1},f=function(){function e(t,n){a(this,e),this.pageId=t,this.options=Object.assign({},l,n)}return c(e,[{key:"_makeRootMargin",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options.rootMargin=["top","right","bottom","left"].map(function(e){return"".concat(Number(t[e])||0,"px")}).join(" ")}},{key:"relativeTo",value:function(t,e){return this.options.relativeToSelector=t,this._makeRootMargin(e),this}},{key:"relativeToViewport",value:function(t){return this.options.relativeToSelector=null,this._makeRootMargin(t),this}},{key:"observe",value:function(e,n){"function"===typeof n&&(this.options.selector=e,this.reqId=u.push(n),t.publishHandler("requestComponentObserver",{reqId:this.reqId,options:this.options},this.pageId))}},{key:"disconnect",value:function(){t.publishHandler("destroyComponentObserver",{reqId:this.reqId},this.pageId)}}]),e}();function h(e,n){if(e instanceof i.a||(n=e,e=null),e)return new f(e.$page.id,n);var r=getApp();if(r.$route&&r.$route.params.__id__)return new f(r.$route.params.__id__,n);t.emit("onError","createIntersectionObserver:fail")}}.call(this,n("0dd1"))},"90c9":function(t,e,n){},"91b0":function(t,e,n){},"91ce":function(t,e,n){},9213:function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-swiper-item",t._g({},t.$listeners),[t._t("default")],2)},i=[],o={name:"SwiperItem",props:{itemId:{type:String,default:""}},mounted:function(){var t=this.$el;t.style.position="absolute",t.style.width="100%",t.style.height="100%";var e=this.$vnode._callbacks;e&&e.forEach(function(t){t()})}},a=o,s=(n("bfea"),n("0c7c")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},"924c":function(t,e,n){n.r(e),function(t){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(e,n,r,i){t.publishHandler(n+"-audio-"+e,{audioId:e,type:r,data:i},n)}n.d(e,"createAudioContext",function(){return c});var s=function(){function t(e,n){r(this,t),this.id=e,this.pageId=n}return o(t,[{key:"setSrc",value:function(t){a(this.id,this.pageId,"setSrc",{src:t})}},{key:"play",value:function(){a(this.id,this.pageId,"play")}},{key:"pause",value:function(){a(this.id,this.pageId,"pause")}},{key:"stop",value:function(){a(this.id,this.pageId,"stop")}},{key:"seek",value:function(t){a(this.id,this.pageId,"seek",{position:t})}}]),t}();function c(e,n){if(n)return new s(e,n.$page.id);var r=getApp();if(r.$route&&r.$route.params.__id__)return new s(e,r.$route.params.__id__);t.emit("onError","createAudioContext:fail")}}.call(this,n("0dd1"))},9250:function(t,e){var n=["base64ToArrayBuffer","arrayBufferToBase64","addInterceptor","removeInterceptor"],r=["request","uploadFile","downloadFile","connectSocket","onSocketOpen","onSocketError","sendSocketMessage","onSocketMessage","closeSocket","onSocketClose"],i=["navigateTo","redirectTo","reLaunch","switchTab","navigateBack"],o=["setStorage","setStorageSync","getStorage","getStorageSync","getStorageInfo","getStorageInfoSync","removeStorage","removeStorageSync","clearStorage","clearStorageSync"],a=["getLocation","chooseLocation","openLocation","createMapContext"],s=["chooseImage","previewImage","getImageInfo","saveImageToPhotosAlbum","compressImage","getRecorderManager","getBackgroundAudioManager","createInnerAudioContext","chooseVideo","saveVideoToPhotosAlbum","createVideoContext","createCameraContext","createLivePlayerContext"],c=["getSystemInfo","getSystemInfoSync","canIUse","onMemoryWarning","getNetworkType","onNetworkStatusChange","onAccelerometerChange","startAccelerometer","stopAccelerometer","onCompassChange","startCompass","stopCompass","onGyroscopeChange","startGyroscope","stopGyroscope","makePhoneCall","scanCode","setClipboardData","getClipboardData","setScreenBrightness","getScreenBrightness","setKeepScreenOn","onUserCaptureScreen","vibrateLong","vibrateShort","addPhoneContact","openBluetoothAdapter","startBluetoothDevicesDiscovery","onBluetoothDeviceFound","stopBluetoothDevicesDiscovery","onBluetoothAdapterStateChange","getConnectedBluetoothDevices","getBluetoothDevices","getBluetoothAdapterState","closeBluetoothAdapter","writeBLECharacteristicValue","readBLECharacteristicValue","onBLEConnectionStateChange","onBLECharacteristicValueChange","notifyBLECharacteristicValueChange","getBLEDeviceServices","getBLEDeviceCharacteristics","createBLEConnection","closeBLEConnection","onBeaconServiceChange","onBeaconUpdate","getBeacons","startBeaconDiscovery","stopBeaconDiscovery"],u=["hideKeyboard","onKeyboardHeightChange"],l=["showToast","hideToast","showLoading","hideLoading","showModal","showActionSheet","setNavigationBarTitle","setNavigationBarColor","showNavigationBarLoading","hideNavigationBarLoading","setTabBarItem","setTabBarStyle","hideTabBar","showTabBar","setTabBarBadge","removeTabBarBadge","showTabBarRedDot","hideTabBarRedDot","setBackgroundColor","setBackgroundTextStyle","createAnimation","pageScrollTo","onWindowResize","offWindowResize","loadFontFace","startPullDownRefresh","stopPullDownRefresh","createSelectorQuery","createIntersectionObserver"],f=["$emit","$on","$once","$off"],h=["saveFile","getSavedFileList","getSavedFileInfo","removeSavedFile","getFileInfo","openDocument","getFileSystemManager"],d=["createOffscreenCanvas","createCanvasContext","canvasToTempFilePath","canvasPutImageData","canvasGetImageData"],p=["getProvider","login","checkSession","getUserInfo","share","showShareMenu","hideShareMenu","requestPayment","subscribePush","unsubscribePush","onPush","offPush","requireNativePlugin","upx2px"],v=[].concat(n,r,i,o,a,s,c,u,l,f,h,d,p);t.exports=v},"93a5":function(t,e,n){var r={"./audio/index.vue":"e0b6","./cover-image/index.vue":"d677","./cover-view/index.vue":"c41f","./map/index.vue":"594d","./video/index.vue":"31e2","./web-view/index.vue":"9980"};function i(t){var e=o(t);return n(e)}function o(t){var e=r[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=functio

*** FIDDLER: RawDisplay truncated at 262144 characters. Right-click to disable truncation. ***

 

 

正式环境问题:

 

 

<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>易享礼</title><script>document.addEventListener('DOMContentLoaded', function() {
                document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
            });
            var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'));
            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="shortcut icon" href=./favicon.ico><link rel=bookmark href=./favicon.ico><link href=/static/js/pages-home-index.6c963a2f.js rel=prefetch><link href=/static/js/pages-index-buyComplete-buyComplete.83f5d2ab.js rel=prefetch><link href=/static/js/pages-index-buyDetail-buyDetail.071a6a20.js rel=prefetch><link href=/static/js/pages-index-giftDetails-giftDetails.e550f51d.js rel=prefetch><link href=/static/js/pages-index-index.988f38da.js rel=prefetch><link href=/static/js/pages-index-payWait-payWait.5d26c966.js rel=prefetch><link href=/static/js/pages-index-shareGift-shareGift.5b376ef8.js rel=prefetch><link href=/static/js/pages-index-transferDetail-transferDetail.9de8f0ab.js rel=prefetch><link href=/static/js/pages-index-usedGift-usedGift.bdcbd058.js rel=prefetch><link href=/static/js/pages-index-usedGift-usedGift~pages-user-customer-customer.418c1aef.js rel=prefetch><link href=/static/js/pages-user-customer-customer.a3816432.js rel=prefetch><link href=/static/js/pages-user-ownGift-ownGift.8f4181f5.js rel=prefetch><link href=/static/js/pages-user-tradingRecord-tradingRecord.1224d7c8.js rel=prefetch><link href=/static/js/pages-webView-webView.ea0215ad.js rel=prefetch><link href=/static/js/chunk-vendors.150e5704.js rel=preload as=script><link href=/static/js/index.8ad37374.js rel=preload as=script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script>var _mtac = {};
            (function() {
                var mta = document.createElement("script");
                mta.src = "//pingjs.qq.com/h5/stats.js?v2.0.4";
                mta.setAttribute("name", "MTAH5");
                mta.setAttribute("sid", "500699570");

                var s = document.getElementsByTagName("script")[0];
                s.parentNode.insertBefore(mta, s);
            })();</script><script src=/static/js/chunk-vendors.150e5704.js></script><script src=/static/js/index.8ad37374.js></script></body></html> 

 

 

chunk-vendors  过大 --->   webpack   bundle-analyzer-plugin  分析全局引入的依赖;

https://www.jianshu.com/p/d275687c446e

 

 

 

正式发布使用两台服务器做负载均衡:

    浏览器缓存--->后台管理不使用缓存;

    微信公众号网页缓存;

 

 

 

 

 

微信缓存生效情况下, 刷新才能显示内容(此刷新未拉取静态资源)

 

 

横屏状态下,显示内容调整;

 

 


-----------------------------------------------------------------------


参数:

{"uuid":"d63668029c6a8ab5069f49c247c07cbf"}

 响应结果:

{"code":0,"msg":"礼物信息为空","data":null}


-----------------------------------------------------------------------


参数:

{"uuid":"644e91a6513318e62784442577d21ef1"}

响应结果:

{"code":0,"msg":"礼物信息为空","data":null}






-----------------------------------------------------------------------


购买人(id=10245)
giftId:
100694

uuid:
8a019996ed9b15cdb0025be62ab30f94


领取人(id=10124)赠送 uuid:
02570d88c5bde4c881b56fc64b4dce49



http://test-yxl.900sup.com/api-server/giftIndex/showGift

入参:

uuid=8a019996ed9b15cdb0025be62ab30f94


响应结果:

{
    "code": 1,
    "data": {
        "appId": "155783336481551193",
        "dealerId": 20021,
        "gainTime": 1575596009000,
        "gainUserId": 10124,
        "icon": "appdetail/08521a20bc434d6abefef72115cf7ce0.jpg",
        "id": 100694,
        "name": "星巴克卡密30元",
        "nickname": "特",
        "orderId": "19120609304007573269598149",
        "rechargeMode": 1,
        "state": 2,
        "stateName": "待领取",
        "transferId": 100976,
        "transferState": 2,
        "transferStateName": "待领取",
        "transferTime": 1575596060000,
        "transferUserId": 10124,
        "useState": 0,
        "useStateName": "可用",
        "userIcon": "http://thirdwx.qlogo.cn/mmopen/vi_32/1uicRfUe5tvPHrK4xrHoEdMlnRpGNbDcIa6tsgKY8G1kgC2NR83jOqgSBxnmAoNPB7GdM31M2ZcthmBgrB8olrw/132",
        "userId": 10245,
        "uuid": "02570d88c5bde4c881b56fc64b4dce49"
    },
    "msg": "SUCCESS"
}






 

 

 

 

 

上一篇: Vue-CLI

下一篇: 笔记

1438 人读过
立即登录, 发表评论.
没有帐号? 立即注册
0 条评论
文档导航