(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"0063":function(e,t,n){"use strict";var r=n("4ea4");n("ace4"),n("d3b7"),n("cfc3"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("2954"),n("649e"),n("219c"),n("b39a"),n("72f7"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("8c48")),a=(n("1959"),{seriesType:"lines",plan:(0,i.default)(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),r=e.pipelineContext.large;return{progress:function(i,a){var o=[];if(r){var s=void 0,l=i.end-i.start;if(n){for(var u=0,c=i.start;c1||n>0&&!e.noHeader;return(0,i.each)(e.blocks,(function(e){var n=p(e);n>=t&&(t=n+ +(r&&(!n||f(e)&&!e.noHeader)))})),t}return 0}function g(e,t,n,o){var u=t.noHeader,c=m(p(t)),d=[],f=t.blocks||[];(0,i.assert)(!f||(0,i.isArray)(f)),f=f||[];var g=e.orderMode;if(t.sortBlocks&&g){f=f.slice();var v={valueAsc:"asc",valueDesc:"desc"};if((0,i.hasOwn)(v,g)){var y=new a.SortOrderComparator(v[g],null);f.sort((function(e,t){return y.evaluate(e.sortParam,t.sortParam)}))}else"seriesDesc"===g&&f.reverse()}(0,i.each)(f,(function(n,r){var a=t.valueFormatter,s=h(n)(a?(0,i.extend)((0,i.extend)({},e),{valueFormatter:a}):e,n,r>0?c.html:0,o);null!=s&&d.push(s)}));var _="richText"===e.renderMode?d.join(c.richText):b(d.join(""),u?n:c.html);if(u)return _;var x=(0,r.makeValueReadable)(t.header,"ordinal",e.useUTC),S=l(o,e.renderMode).nameStyle;return"richText"===e.renderMode?w(e,x,S)+c.richText+_:b('
'+(0,r.encodeHTML)(x)+"
"+_,n)}function v(e,t,n,a){var o=e.renderMode,s=t.noName,u=t.noValue,c=!t.markerType,d=t.name,f=e.useUTC,h=t.valueFormatter||e.valueFormatter||function(e){return e=(0,i.isArray)(e)?e:[e],(0,i.map)(e,(function(e,t){return(0,r.makeValueReadable)(e,(0,i.isArray)(v)?v[t]:v,f)}))};if(!s||!u){var p=c?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",o),g=s?"":(0,r.makeValueReadable)(d,"ordinal",f),v=t.valueType,y=u?[]:h(t.value),m=!c||!s,M=!c&&s,T=l(a,o),A=T.nameStyle,C=T.valueStyle;return"richText"===o?(c?"":p)+(s?"":w(e,g,A))+(u?"":S(e,y,m,M,C)):b((c?"":p)+(s?"":_(g,!c,A))+(u?"":x(y,m,M,C)),n)}}function y(e,t,n,r,i,a){if(e){var o=h(e),s={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function m(e){return{html:u[e],richText:c[e]}}function b(e,t){var n='
',r="margin: "+t+"px 0 0";return'
'+e+n+"
"}function _(e,t,n){var i=t?"margin-left:2px":"";return''+(0,r.encodeHTML)(e)+""}function x(e,t,n,a){var o=n?"10px":"20px",s=t?"float:right;margin-left:"+o:"";return e=(0,i.isArray)(e)?e:[e],''+(0,i.map)(e,(function(e){return(0,r.encodeHTML)(e)})).join("  ")+""}function w(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function S(e,t,n,r,a){var o=[a],s=r?10:20;return n&&o.push({padding:[0,0,0,s],align:"right"}),e.markupStyleCreator.wrapRichTextStyle((0,i.isArray)(t)?t.join(" "):t,o)}function M(e,t){var n=e.getData().getItemVisual(t,"style"),i=n[e.visualDrawType];return(0,r.convertToColorString)(i)}function T(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var A=function(){function e(){this.richTextStyles={},this._nextStyleNameId=(0,o.getRandomIdBase)()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var a="richText"===n?this._generateStyleName():null,o=(0,r.getTooltipMarker)({color:t,type:e,renderMode:n,markerId:a});return(0,i.isString)(o)?o:(this.richTextStyles[a]=o.style,o.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};(0,i.isArray)(t)?(0,i.each)(t,(function(e){return(0,i.extend)(n,e)})):(0,i.extend)(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}();t.TooltipMarkupStyleCreator=A},"028f":function(e,t,n){"use strict";var r=n("4ea4"),i=n("dbce");n("99af"),n("26e9"),n("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("9ab4"),o=i(n("7522")),s=r(n("8044")),l=i(n("0f70")),u=r(n("d435")),c=["axisLine","axisTickLabel","axisName"],d=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,a.__extends)(t,e),t.prototype.render=function(e,t,n){var r=this.group;r.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),r=o.map(n,(function(e){var n=e.model.get("showName")?e.name:"",r=new s.default(e.model,{axisName:n,position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return r}));o.each(r,(function(e){o.each(c,e.add,e),this.group.add(e.getGroup())}),this)},t.prototype._buildSplitLineAndArea=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var r=e.get("shape"),i=e.getModel("splitLine"),a=e.getModel("splitArea"),s=i.getModel("lineStyle"),u=a.getModel("areaStyle"),c=i.get("show"),d=a.get("show"),f=s.get("color"),h=u.get("color"),p=o.isArray(f)?f:[f],g=o.isArray(h)?h:[h],v=[],y=[];if("circle"===r)for(var m=n[0].getTicksCoords(),b=t.cx,_=t.cy,x=0;x=1)&&(e=1),e}s===u&&l===c||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=u,this._modDataCount=c;var f=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,p=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!i&&(o||h1&&r>0?s:o}};return a;function o(){return t=e?null:a ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),t=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&t>0?t+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(a.default),h=f;t.default=h},"06c5":function(e,t,n){"use strict";n("a630"),n("fb6a"),n("d3b7"),n("25f0"),n("3ca3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=i(n("6b75"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(e){if("string"===typeof e)return(0,r.default)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.default)(e,t):void 0}}},"06cf":function(e,t,n){var r=n("83ab"),i=n("d1e7"),a=n("5c6c"),o=n("fc6a"),s=n("c04e"),l=n("5135"),u=n("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(n){}if(l(e,t))return a(!i.f.call(e,t),e[t])}},"072f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:function(){}}};t.default=r},"07ac":function(e,t,n){var r=n("23e7"),i=n("6f53").values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},"0894":function(e,t,n){"use strict";var r=n("4ea4");n("cb29"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DEFAULT_TSPAN_STYLE=void 0;var i=n("9ab4"),a=r(n("8062")),o=n("c8a3"),s=n("1623"),l=n("7522"),u=n("d3c5"),c=(0,l.defaults)({strokeFirst:!0,font:u.DEFAULT_FONT,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},s.DEFAULT_PATH_STYLE);t.DEFAULT_TSPAN_STYLE=c;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.__extends)(t,e),t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return null!=t&&"none"!==t&&e.lineWidth>0},t.prototype.hasFill=function(){var e=this.style,t=e.fill;return null!=t&&"none"!==t},t.prototype.createStyle=function(e){return(0,l.createObject)(c,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var t=e.text;null!=t?t+="":t="";var n=(0,o.getBoundingRect)(t,e.font,e.textAlign,e.textBaseline);if(n.x+=e.x||0,n.y+=e.y||0,this.hasStroke()){var r=e.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},t.initDefaultProps=function(){var e=t.prototype;e.dirtyRectTolerance=10}(),t}(a.default);d.prototype.type="tspan";var f=d;t.default=f},"08cb":function(e,t,n){"use strict";function r(){return[1,0,0,1,0,0]}function i(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function o(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],a=t[0]*n[2]+t[2]*n[3],o=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e}function s(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function l(e,t,n){var r=t[0],i=t[2],a=t[4],o=t[1],s=t[3],l=t[5],u=Math.sin(n),c=Math.cos(n);return e[0]=r*c+o*u,e[1]=-r*u+o*c,e[2]=i*c+s*u,e[3]=-i*u+c*s,e[4]=c*a+u*l,e[5]=c*l-u*a,e}function u(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function c(e,t){var n=t[0],r=t[2],i=t[4],a=t[1],o=t[3],s=t[5],l=n*o-a*r;return l?(l=1/l,e[0]=o*l,e[1]=-a*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-o*i)*l,e[5]=(a*i-n*s)*l,e):null}function d(e){var t=r();return a(t,e),t}Object.defineProperty(t,"__esModule",{value:!0}),t.create=r,t.identity=i,t.copy=a,t.mul=o,t.translate=s,t.rotate=l,t.scale=u,t.invert=c,t.clone=d},"09c9":function(e,t,n){"use strict";var r=n("dbce"),i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BezierCurveShape=void 0;var a=n("9ab4"),o=i(n("1623")),s=r(n("d914")),l=n("ab6d"),u=[],c=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e}();function d(e,t,n){var r=e.cpx2,i=e.cpy2;return null!=r||null!=i?[(n?l.cubicDerivativeAt:l.cubicAt)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?l.cubicDerivativeAt:l.cubicAt)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?l.quadraticDerivativeAt:l.quadraticAt)(e.x1,e.cpx1,e.x2,t),(n?l.quadraticDerivativeAt:l.quadraticAt)(e.y1,e.cpy1,e.y2,t)]}t.BezierCurveShape=c;var f=function(e){function t(t){return e.call(this,t)||this}return(0,a.__extends)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new c},t.prototype.buildPath=function(e,t){var n=t.x1,r=t.y1,i=t.x2,a=t.y2,o=t.cpx1,s=t.cpy1,c=t.cpx2,d=t.cpy2,f=t.percent;0!==f&&(e.moveTo(n,r),null==c||null==d?(f<1&&((0,l.quadraticSubdivide)(n,o,i,f,u),o=u[1],i=u[2],(0,l.quadraticSubdivide)(r,s,a,f,u),s=u[1],a=u[2]),e.quadraticCurveTo(o,s,i,a)):(f<1&&((0,l.cubicSubdivide)(n,o,c,i,f,u),o=u[1],c=u[2],i=u[3],(0,l.cubicSubdivide)(r,s,d,a,f,u),s=u[1],d=u[2],a=u[3]),e.bezierCurveTo(o,s,c,d,i,a)))},t.prototype.pointAt=function(e){return d(this.shape,e,!1)},t.prototype.tangentAt=function(e){var t=d(this.shape,e,!0);return s.normalize(t,t)},t}(o.default);f.prototype.type="bezier-curve";var h=f;t.default=h},"09f0":function(e,t,n){"use strict";function r(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0)if(n.push(o.value),t&&n.length===t)break}catch(l){i=!0,a=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw a}}return n}}n("a4d3"),n("e01a"),n("d28b"),n("d3b7"),n("3ca3"),n("ddb0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"0a5b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.containStroke=i;var r=n("ab6d");function i(e,t,n,i,a,o,s,l,u){if(0===s)return!1;var c=s;if(u>t+c&&u>i+c&&u>o+c||ue+c&&l>n+c&&l>a+c||l=0;o--){var s=r[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(s)}}function o(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){d(e);var a=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-a):e.hierNode.prelim=a}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=f(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function s(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function l(e){return arguments.length?e:y}function u(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function c(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function d(e){var t=e.children,n=t.length,r=0,i=0;while(--n>=0){var a=t[n];a.hierNode.prelim+=r,a.hierNode.modifier+=r,i+=a.hierNode.change,r+=a.hierNode.shift+i}}function f(e,t,n,r){if(t){var i=e,a=e,o=a.parentNode.children[0],s=t,l=i.hierNode.modifier,u=a.hierNode.modifier,c=o.hierNode.modifier,d=s.hierNode.modifier;while(s=h(s),a=p(a),s&&a){i=h(i),o=p(o),i.hierNode.ancestor=e;var f=s.hierNode.prelim+d-a.hierNode.prelim-u+r(s,a);f>0&&(v(g(s,e,n),e,f),u+=f,l+=f),d+=s.hierNode.modifier,u+=a.hierNode.modifier,l+=i.hierNode.modifier,c+=o.hierNode.modifier}s&&!h(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=d-l),a&&!p(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=u-c,n=e)}return n}function h(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function p(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function g(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function v(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function y(e,t){return e.parentNode===t.parentNode?1:2}},"0b20":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n("7522"),i={average:function(e){for(var t=0,n=0,r=0;rt&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n10&&"cartesian2d"===l.type&&s){var c=l.getBaseAxis(),d=l.getOtherAxis(c),f=c.getExtent(),h=n.getDevicePixelRatio(),p=Math.abs(f[1]-f[0])*(h||1),g=Math.round(u/p);if(isFinite(g)&&g>1){"lttb"===s&&e.setData(o.lttbDownSample(o.mapDimension(d.dim),1/g));var v=void 0;(0,r.isString)(s)?v=i[s]:(0,r.isFunction)(s)&&(v=s),v&&e.setData(o.downSample(o.mapDimension(d.dim),1/g,v,a))}}}}}},"0b25":function(e,t,n){var r=n("a691"),i=n("50c4");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length or index");return n}},"0ba3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={album:{urls:function(){return[]},keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0}};t.default=r},"0bff":function(e,t,n){"use strict";var r=n("dbce"),i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("9ab4"),o=i(n("33a8")),s=r(n("d70b")),l=r(n("0aad")),u=n("7522"),c=function(e){function t(t){var n=e.call(this)||this;n._zr=t;var r=(0,u.bind)(n._mousedownHandler,n),i=(0,u.bind)(n._mousemoveHandler,n),a=(0,u.bind)(n._mouseupHandler,n),o=(0,u.bind)(n._mousewheelHandler,n),s=(0,u.bind)(n._pinchHandler,n);return n.enable=function(e,n){this.disable(),this._opt=(0,u.defaults)((0,u.clone)(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",r),t.on("mousemove",i),t.on("mouseup",a)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",o),t.on("pinch",s))},n.disable=function(){t.off("mousedown",r),t.off("mousemove",i),t.off("mouseup",a),t.off("mousewheel",o),t.off("pinch",s)},n}return(0,a.__extends)(t,e),t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!s.isMiddleOrRightButtonOnMouseUpDown(e)){var t=e.target;while(t){if(t.draggable)return;t=t.__hostTarget||t.parent}var n=e.offsetX,r=e.offsetY;this.pointerChecker&&this.pointerChecker(e,n,r)&&(this._x=n,this._y=r,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(this._dragging&&h("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!l.isTaken(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,r=this._x,i=this._y,a=t-r,o=n-i;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&s.stop(e.event),f(this,"pan","moveOnMouseMove",e,{dx:a,dy:o,oldX:r,oldY:i,newX:t,newY:n,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){s.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var t=h("zoomOnMouseWheel",e,this._opt),n=h("moveOnMouseWheel",e,this._opt),r=e.wheelDelta,i=Math.abs(r),a=e.offsetX,o=e.offsetY;if(0!==r&&(t||n)){if(t){var s=i>3?1.4:i>1?1.2:1.1,l=r>0?s:1/s;d(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:a,originY:o,isAvailableBehavior:null})}if(n){var u=Math.abs(r),c=(r>0?1:-1)*(u>3?.4:u>1?.15:.05);d(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:a,originY:o,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!l.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;d(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t}(o.default);function d(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(s.stop(r.event),f(e,t,n,r,i))}function f(e,t,n,r,i){i.isAvailableBehavior=(0,u.bind)(h,null,n,r),e.trigger(t,i)}function h(e,t,n){var r=n[e];return!e||r&&(!(0,u.isString)(r)||t.event[r+"Key"])}var p=c;t.default=p},"0c29":function(e,t,n){"use strict";var r=n("4ea4"),i=n("dbce");n("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SERIES_UNIVERSAL_TRANSITION_PROP=void 0;var a=n("9ab4"),o=i(n("7522")),s=r(n("dcf9")),l=i(n("cd8b")),u=r(n("bf89")),c=n("8f33"),d=n("612e"),f=n("55ec"),h=n("031f"),p=n("2882"),g=n("23af"),v=n("81da"),y=l.makeInner();function m(e,t){return e.getName(t)||e.getId(t)}var b="__universalTransitionEnabled";t.SERIES_UNIVERSAL_TRANSITION_PROP=b;var _=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return(0,a.__extends)(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,h.createTask)({count:S,reset:M}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n);var r=y(this).sourceManager=new g.SourceManager(this);r.prepareSource();var i=this.getInitialData(e,n);A(i,this),this.dataTask.context.data=i,y(this).dataBeforeProcessed=i,x(this),this._initSelectedMapFromData(i)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=(0,f.fetchLayoutMode)(this),r=n?(0,f.getLayoutParams)(e):{},i=this.subType;u.default.hasClass(i)&&(i+="Series"),o.merge(e,t.getTheme().get(this.subType)),o.merge(e,this.getDefaultOption()),l.defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&(0,f.mergeLayoutParam)(e,r,n)},t.prototype.mergeOption=function(e,t){e=o.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var n=(0,f.fetchLayoutMode)(this);n&&(0,f.mergeLayoutParam)(this.option,e,n);var r=y(this).sourceManager;r.dirty(),r.prepareSource();var i=this.getInitialData(e,t);A(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,y(this).dataBeforeProcessed=i,x(this),this._initSelectedMapFromData(i)},t.prototype.fillDataTextStyle=function(e){if(e&&!o.isTypedArray(e))for(var t=["show"],n=0;nthis.getShallow("animationThreshold")&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,i=c.PaletteMixin.prototype.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(t);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var a=0;a=0&&n.push(i)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t);return("all"===n||n[m(r,e)])&&!r.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[b])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,r,i=this.option,a=i.selectedMode,s=t.length;if(a&&s)if("series"===a)i.selectedMap="all";else if("multiple"===a){o.isObject(i.selectedMap)||(i.selectedMap={});for(var l=i.selectedMap,u=0;u0&&this._innerSelect(e,t)}},t.registerClass=function(e){return u.default.registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}(u.default);function x(e){var t=e.name;l.isNameSpecified(e)||(e.name=w(e)||t)}function w(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return o.each(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}function S(e){return e.model.getRawData().count()}function M(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),T}function T(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function A(e,t){o.each(o.concatArray(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(n){e.wrapMethod(n,o.curry(C,t))}))}function C(e,t){var n=O(e);return n&&n.setOutputEnd((t||this).count()),t}function O(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}o.mixin(_,d.DataFormatMixin),o.mixin(_,c.PaletteMixin),(0,p.mountExtend)(_,u.default);var k=_;t.default=k},"0c47":function(e,t,n){var r=n("da84"),i=n("d44e");i(r.JSON,"JSON",!0)},"0c64":function(e,t,n){"use strict";var r=n("4ea4");n("99af"),n("4160"),n("caad"),n("c975"),n("fb6a"),n("4e82"),n("a9e3"),n("d3b7"),n("e25e"),n("4d63"),n("ac1f"),n("25f0"),n("4d90"),n("5319"),n("1276"),n("498a"),n("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("3835")),a=r(n("fde0")),o=n("3c74");function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.max(e,Math.min(t,Number(n)))}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return a.default.number(e)?t?"".concat(e,"px"):Number(e):/(rpx|upx)$/.test(e)?t?"".concat(uni.upx2px(parseInt(e)),"px"):Number(uni.upx2px(parseInt(e))):t?"".concat(parseInt(e),"px"):parseInt(e)}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30;return new Promise((function(t){setTimeout((function(){t()}),e)}))}function c(){return uni.getSystemInfoSync().platform.toLowerCase()}function d(){return uni.getSystemInfoSync()}function f(e,t){if(e>=0&&t>0&&t>=e){var n=t-e+1;return Math.floor(Math.random()*n+e)}return 0}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(n=n||r.length,e)for(var a=0;a0&&void 0!==arguments[0]?arguments[0]:void 0,t=this.$parent;while(t){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"object";if(a.default.empty(e)||"object"===typeof e&&"object"===t||"string"===t&&"string"===typeof e)return e;if("object"===t){e=S(e);for(var n=e.split(";"),r={},i=0;i0&&void 0!==arguments[0]?arguments[0]:"auto",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null!==(e=null===(t=uni)||void 0===t||null===(n=t.$u)||void 0===n||null===(r=n.config)||void 0===r?void 0:r.unit)&&void 0!==e?e:"px";return i=String(i),a.default.number(i)?"".concat(i).concat(o):i}function y(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!==typeof e&&"function"!==typeof e)return e;var t=a.default.array(e)?[]:{};for(var n in e)e.hasOwnProperty(n)&&(t[n]="object"===typeof e[n]?y(e[n]):e[n]);return t}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e=y(e),"object"!==typeof e||"object"!==typeof t)return!1;for(var n in t)t.hasOwnProperty(n)&&(n in e?"object"!==typeof e[n]||"object"!==typeof t[n]?e[n]=t[n]:e[n].concat&&t[n].concat?e[n]=e[n].concat(t[n]):e[n]=m(e[n],t[n]):e[n]=t[n]);return e}function b(e){0}function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.sort((function(){return Math.random()-.5}))}function x(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";e=t?/^\d{10}$/.test(null===t||void 0===t?void 0:t.toString().trim())?new Date(1e3*t):"string"===typeof t&&/^\d+$/.test(t.trim())?new Date(Number(t)):new Date("string"===typeof t?t.replace(/-/g,"/"):t):new Date;var r={y:e.getFullYear().toString(),m:(e.getMonth()+1).toString().padStart(2,"0"),d:e.getDate().toString().padStart(2,"0"),h:e.getHours().toString().padStart(2,"0"),M:e.getMinutes().toString().padStart(2,"0"),s:e.getSeconds().toString().padStart(2,"0")};for(var a in r){var o=new RegExp("".concat(a,"+")).exec(n)||[],s=(0,i.default)(o,1),l=s[0];if(l){var u="y"===a&&2===l.length?2:0;n=n.replace(l,r[a].slice(u))}}return n}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";null==e&&(e=Number(new Date)),e=parseInt(e),10==e.toString().length&&(e*=1e3);var n=(new Date).getTime()-e;n=parseInt(n/1e3);var r="";switch(!0){case n<300:r="刚刚";break;case n>=300&&n<3600:r="".concat(parseInt(n/60),"分钟前");break;case n>=3600&&n<86400:r="".concat(parseInt(n/3600),"小时前");break;case n>=86400&&n<2592e3:r="".concat(parseInt(n/86400),"天前");break;default:r=!1===t?n>=2592e3&&n<31536e3?"".concat(parseInt(n/2592e3),"个月前"):"".concat(parseInt(n/31536e3),"年前"):x(e,t)}return r}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"both";return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"brackets",r=t?"?":"",i=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");var a=function(t){var r=e[t];if(["",void 0,null].indexOf(r)>=0)return"continue";if(r.constructor===Array)switch(n){case"indices":for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:2e3;uni.showToast({title:String(e),icon:"none",duration:t})}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");var n="";switch(e){case"primary":n="info-circle";break;case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;case"success":n="checkmark-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n}function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";e="".concat(e).replace(/[^0-9+-Ee.]/g,"");var i=isFinite(+e)?+e:0,a=isFinite(+t)?Math.abs(t):0,s="undefined"===typeof r?",":r,l="undefined"===typeof n?".":n,u="";u=(a?(0,o.round)(i,a)+"":"".concat(Math.round(i))).split(".");var c=/(-?\d+)(\d{3})/;while(c.test(u[0]))u[0]=u[0].replace(c,"$1".concat(s,"$2"));return(u[1]||"").length1&&void 0!==arguments[1])||arguments[1],n=parseInt(e);return t?/s$/.test(e)?e:"".concat(e,e>30?"ms":"s"):/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n}function k(e){return"00".concat(e).slice(-2)}function I(e,t){var n=uni.$u.$parent.call(e,"u-form-item"),r=uni.$u.$parent.call(e,"u-form");n&&r&&r.validateField(n.prop,(function(){}),t)}function P(e,t){if(e){if("string"!==typeof t||""===t)return"";if(-1!==t.indexOf(".")){for(var n=t.split("."),r=e[n[0]]||{},i=1;i1){var i=n[0];t[i]&&"object"===typeof t[i]||(t[i]={});n.shift();e(t[i],n,r)}else t[n[0]]=r};if("string"!==typeof t||""===t);else if(-1!==t.indexOf(".")){var i=t.split(".");r(e,i,n)}else e[t]=n}}function L(){var e,t,n=getCurrentPages();return"/".concat(null!==(e=null===(t=n[n.length-1])||void 0===t?void 0:t.route)&&void 0!==e?e:"")}function D(){var e=getCurrentPages();return e}function R(e){var t=e.props,n=void 0===t?{}:t,r=e.config,i=void 0===r?{}:r,a=e.color,o=void 0===a?{}:a,s=e.zIndex,l=void 0===s?{}:s,u=uni.$u.deepMerge;uni.$u.config=u(uni.$u.config,i),uni.$u.props=u(uni.$u.props,n),uni.$u.color=u(uni.$u.color,o),uni.$u.zIndex=u(uni.$u.zIndex,l)}String.prototype.padStart||(String.prototype.padStart=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");var n=this;if(n.length>=e)return String(n);var r=e-n.length,i=Math.ceil(r/t.length);while(i>>=1)t+=t,1===i&&(t+=t);return t.slice(0,r)+n});var N={range:s,getPx:l,sleep:u,os:c,sys:d,random:f,guid:h,$parent:p,addStyle:g,addUnit:v,deepClone:y,deepMerge:m,error:b,randomArray:_,timeFormat:x,timeFrom:w,trim:S,queryParams:M,toast:T,type2icon:A,priceFormat:C,getDuration:O,padZero:k,formValidate:I,getProperty:P,setProperty:E,page:L,pages:D,setConfig:R};t.default=N},"0ccb":function(e,t,n){var r=n("50c4"),i=n("1148"),a=n("1d80"),o=Math.ceil,s=function(e){return function(t,n,s){var l,u,c=String(a(t)),d=c.length,f=void 0===s?" ":String(s),h=r(n);return h<=d||""==f?c:(l=h-d,u=i.call(f,o(l/f.length)),u.length>l&&(u=u.slice(0,l)),e?c+u:u+c)}};e.exports={start:s(!1),end:s(!0)}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),a=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"0d21":function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"0d28":function(e,t,n){"use strict";var r=n("4ea4"),i=n("dbce");n("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("9ab4"),o=i(n("7522")),s=r(n("fa7b")),l=i(n("d70b")),u=r(n("f3e5")),c=i(n("0f70")),d=i(n("8385")),f=r(n("d9a9")),h=i(n("d0b1")),p=i(n("cd8b")),g=n("c8a3"),v=n("20ae"),y=n("2e50"),m=r(n("559f")),b=n("2a9b"),_=n("4b3c"),x=n("91f7"),w=d.linearMap,S=o.each,M=Math.min,T=Math.max,A=12,C=6,O=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return(0,a.__extends)(t,e),t.prototype.doRender=function(e,t,n,r){this._api=n,r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},t.prototype._renderEndsText=function(e,t,n){if(t){var r=t[1-n];r=null!=r?r+"":"";var i=this.visualMapModel,a=i.get("textGap"),o=i.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([o[0]/2,0===n?-a:o[1]+a],s),u=this._applyTransform(0===n?"bottom":"top",s),d=this._orient,f=this.visualMapModel.textStyleModel;this.group.add(new c.Text({style:(0,_.createTextStyle)(f,{x:l[0],y:l[1],verticalAlign:"horizontal"===d?"middle":u,align:"horizontal"===d?u:"center",text:r})}))}},t.prototype._renderBar=function(e){var t=this.visualMapModel,n=this._shapes,r=t.itemSize,i=this._orient,a=this._useHandle,s=h.getItemAlign(t,this.api,r),l=n.mainGroup=this._createBarGroup(s),u=new c.Group;l.add(u),u.add(n.outOfRange=k()),u.add(n.inRange=k(null,a?E(this._orient):null,o.bind(this._dragHandle,this,"all",!1),o.bind(this._dragHandle,this,"all",!0))),u.setClipPath(new c.Rect({shape:{x:0,y:0,width:r[0],height:r[1],r:3}}));var d=t.textStyleModel.getTextRect("国"),f=T(d.width,d.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(t,l,0,r,f,i),this._createHandle(t,l,1,r,f,i)),this._createIndicator(t,l,r,f,i),e.add(l)},t.prototype._createHandle=function(e,t,n,r,i,a){var s=o.bind(this._dragHandle,this,n,!1),u=o.bind(this._dragHandle,this,n,!0),d=(0,g.parsePercent)(e.get("handleSize"),r[0]),f=(0,y.createSymbol)(e.get("handleIcon"),-d/2,-d/2,d,d,null,!0),h=E(this._orient);f.attr({cursor:h,draggable:!0,drift:s,ondragend:u,onmousemove:function(e){l.stop(e.event)}}),f.x=r[0]/2,f.useStyle(e.getModel("handleStyle").getItemStyle()),f.setStyle({strokeNoScale:!0,strokeFirst:!0}),f.style.lineWidth*=2,f.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,v.setAsHighDownDispatcher)(f,!0),t.add(f);var p=this.visualMapModel.textStyleModel,m=new c.Text({cursor:h,draggable:!0,drift:s,onmousemove:function(e){l.stop(e.event)},ondragend:u,style:(0,_.createTextStyle)(p,{x:0,y:0,text:""})});m.ensureState("blur").style={opacity:.1},m.stateTransition={duration:200},this.group.add(m);var b=[d,0],x=this._shapes;x.handleThumbs[n]=f,x.handleLabelPoints[n]=b,x.handleLabels[n]=m},t.prototype._createIndicator=function(e,t,n,r,i){var a=(0,g.parsePercent)(e.get("indicatorSize"),n[0]),s=(0,y.createSymbol)(e.get("indicatorIcon"),-a/2,-a/2,a,a,null,!0);s.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var l=e.getModel("indicatorStyle").getItemStyle();if(s instanceof m.default){var u=s.style;s.useStyle(o.extend({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},l))}else s.useStyle(l);t.add(s);var d=this.visualMapModel.textStyleModel,f=new c.Text({silent:!0,invisible:!0,style:(0,_.createTextStyle)(d,{x:0,y:0,text:""})});this.group.add(f);var h=[("horizontal"===i?r/2:C)+n[0]/2,0],p=this._shapes;p.indicator=s,p.indicatorLabel=f,p.indicatorLabelPoint=h,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,t,n,r){if(this._useHandle){if(this._dragging=!t,!t){var i=this._applyTransform([n,r],this._shapes.mainGroup,!0);this._updateInterval(e,i[1]),this._hideIndicator(),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():P(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),r=[0,e.itemSize[1]];this._handleEnds=[w(t[0],n,r,!0),w(t[1],n,r,!0)]},t.prototype._updateInterval=function(e,t){t=t||0;var n=this.visualMapModel,r=this._handleEnds,i=[0,n.itemSize[1]];(0,f.default)(t,r,i,e,0);var a=n.getExtent();this._dataInterval=[w(r[0],i,a,!0),w(r[1],i,a,!0)]},t.prototype._updateView=function(e){var t=this.visualMapModel,n=t.getExtent(),r=this._shapes,i=[0,t.itemSize[1]],a=e?i:this._handleEnds,o=this._createBarVisual(this._dataInterval,n,a,"inRange"),s=this._createBarVisual(n,n,i,"outOfRange");r.inRange.setStyle({fill:o.barColor}).setShape("points",o.barPoints),r.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(a,o)},t.prototype._createBarVisual=function(e,t,n,r){var i={forceState:r,convertOpacityToAlpha:!0},a=this._makeColorGradient(e,i),o=[this.getControllerVisual(e[0],"symbolSize",i),this.getControllerVisual(e[1],"symbolSize",i)],l=this._createBarPoints(n,o);return{barColor:new s.default(0,0,0,1,a),barPoints:l,handlesColor:[a[0].color,a[a.length-1].color]}},t.prototype._makeColorGradient=function(e,t){var n=100,r=[],i=(e[1]-e[0])/n;r.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var a=1;ae[1])break;r.push({color:this.getControllerVisual(o,"color",t),offset:a/n})}return r.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),r},t.prototype._createBarPoints=function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},t.prototype._createBarGroup=function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new c.Group("horizontal"!==t||n?"horizontal"===t&&n?{scaleX:"bottom"===e?-1:1,rotation:-Math.PI/2}:"vertical"!==t||n?{scaleX:"left"===e?1:-1}:{scaleX:"left"===e?1:-1,scaleY:-1}:{scaleX:"bottom"===e?1:-1,rotation:Math.PI/2})},t.prototype._updateHandle=function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,a=n.handleLabels,o=r.itemSize,s=r.getExtent();S([0,1],(function(l){var u=i[l];u.setStyle("fill",t.handlesColor[l]),u.y=e[l];var d=w(e[l],[0,o[1]],s,!0),f=this.getControllerVisual(d,"symbolSize");u.scaleX=u.scaleY=f/o[0],u.x=o[0]-f/2;var h=c.applyTransform(n.handleLabelPoints[l],c.getTransform(u,this.group));a[l].setStyle({x:h[0],y:h[1],text:r.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},t.prototype._showIndicator=function(e,t,n,r){var i=this.visualMapModel,a=i.getExtent(),o=i.itemSize,s=[0,o[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var d={convertOpacityToAlpha:!0},f=this.getControllerVisual(e,"color",d),h=this.getControllerVisual(e,"symbolSize"),p=w(e,a,s,!0),g=o[0]-h/2,v={x:u.x,y:u.y};u.y=p,u.x=g;var y=c.applyTransform(l.indicatorLabelPoint,c.getTransform(u,this.group)),m=l.indicatorLabel;m.attr("invisible",!1);var b=this._applyTransform("left",l.mainGroup),_=this._orient,x="horizontal"===_;m.setStyle({text:(n||"")+i.formatValueText(t),verticalAlign:x?b:"middle",align:x?"center":b});var S={x:g,y:p,style:{fill:f}},M={style:{x:y[0],y:y[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var T={duration:100,easing:"cubicInOut",additive:!0};u.x=v.x,u.y=v.y,u.animateTo(S,T),m.animateTo(M,T)}else u.attr(S),m.attr(M);this._firstShowIndicator=!1;var A=this._shapes.handleLabels;if(A)for(var C=0;Ci[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",o):u[1]===1/0?this._showIndicator(l,u[0],"> ",o):this._showIndicator(l,l,"≈ ",o));var c=this._hoverLinkDataIndices,d=[];(t||P(n))&&(d=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var f=p.compressBatches(c,d);this._dispatchHighDown("downplay",h.makeHighDownBatch(f[0],n)),this._dispatchHighDown("highlight",h.makeHighDownBatch(f[1],n))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var t;if((0,x.findEventDispatcher)(e.target,(function(e){var n=(0,b.getECData)(e);if(null!=n.dataIndex)return t=n,!0}),!0),t){var n=this.ecModel.getSeriesByIndex(t.seriesIndex),r=this.visualMapModel;if(r.isTargetSeries(n)){var i=n.getData(t.dataType),a=i.getStore().get(r.getDataDimensionIndex(i),t.dataIndex);isNaN(a)||this._showIndicator(a,a)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var t=this._shapes.handleLabels;if(t)for(var n=0;nMath.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function J(e){return!e.isGroup}function ee(e){return null!=e.shape}function te(e,t,n){if(e&&t){var r=i(e);t.traverse((function(e){if(J(e)&&e.anid){var t=r[e.anid];if(t){var i=a(e);e.attr(a(t)),(0,L.updateProps)(e,i,n,(0,E.getECData)(e).dataIndex)}}}))}function i(e){var t={};return e.traverse((function(e){J(e)&&e.anid&&(t[e.anid]=e)})),t}function a(e){var t={x:e.x,y:e.y,rotation:e.rotation};return ee(e)&&(t.shape=(0,P.extend)({},e.shape)),t}}function ne(e,t){return(0,P.map)(e,(function(e){var n=e[0];n=D(n,t.x),n=R(n,t.x+t.width);var r=e[1];return r=D(r,t.y),r=R(r,t.y+t.height),[n,r]}))}function re(e,t){var n=D(e.x,t.x),r=R(e.x+e.width,t.x+t.width),i=D(e.y,t.y),a=R(e.y+e.height,t.y+t.height);if(r>=n&&a>=i)return{x:n,y:i,width:r-n,height:a-i}}function ie(e,t,n){var r=(0,P.extend)({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),(0,P.defaults)(i,n),new c.default(r)):H(e.replace("path://",""),r,n,"center")}function ae(e,t,n,r,i){for(var a=0,o=i[i.length-1];a1)return!1;var v=se(h,p,c,d)/f;return!(v<0||v>1)}function se(e,t,n,r){return e*r-n*t}function le(e){return e<=1e-6&&e>=-1e-6}function ue(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=(0,P.isString)(t)?{formatter:t}:t,a=n.mainType,o=n.componentIndex,s={componentType:a,name:r,$vars:["name"]};s[a+"Index"]=o;var l=e.formatterParamsExtra;l&&(0,P.each)((0,P.keys)(l),(function(e){(0,P.hasOwn)(s,e)||(s[e]=l[e],s.$vars.push(e))}));var u=(0,E.getECData)(e.el);u.componentMainType=a,u.componentIndex=o,u.tooltipConfig={name:r,option:(0,P.defaults)({content:r,formatterParams:s},i)}}function ce(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function de(e,t){if(e)if((0,P.isArray)(e))for(var n=0;n0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,n){if(!this[ue])if(this._disposed)We(this.id);else{var r,i,a;if((0,s.isObject)(t)&&(n=t.lazyUpdate,r=t.silent,i=t.replaceMerge,a=t.transition,t=t.notMerge),this[ue]=!0,!this._model||t){var o=new p.default(this._api),l=this._theme,u=this._model=new d.default;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,o)}this._model.setOption(e,{replaceMerge:i},$e);var c={seriesTransition:a,optionChanged:!0};if(n)this[ce]={silent:r,updateParams:c},this[ue]=!1,this.getZr().wakeUp();else{try{_e(this),Se.update.call(this,null,c)}catch(f){throw this[ce]=null,this[ue]=!1,f}this._ssr||this._zr.flush(),this[ce]=null,this[ue]=!1,Ce.call(this,r),Oe.call(this,r)}}},t.prototype.setTheme=function(){(0,D.deprecateLog)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||W&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var t=this._zr.painter;return t.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var t=this._zr.painter;return t.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(l.default.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return(0,s.each)(t,(function(e){e.stopAnimation(null,!0)})),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,n=this._model,r=[],i=this;(0,s.each)(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return(0,s.each)(r,(function(e){e.group.ignore=!1})),a}We(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,r=Math.min,i=Math.max,a=1/0;if(Ke[n]){var l=a,u=a,c=-a,d=-a,f=[],h=e&&e.pixelRatio||this.getDevicePixelRatio();(0,s.each)(Ze,(function(a,o){if(a.group===n){var h=t?a.getZr().painter.getSvgDom().innerHTML:a.renderToCanvas((0,s.clone)(e)),p=a.getDom().getBoundingClientRect();l=r(p.left,l),u=r(p.top,u),c=i(p.right,c),d=i(p.bottom,d),f.push({dom:h,left:p.left,top:p.top})}})),l*=h,u*=h,c*=h,d*=h;var p=c-l,g=d-u,v=V.platformApi.createCanvas(),y=o.init(v,{renderer:t?"svg":"canvas"});if(y.resize({width:p,height:g}),t){var m="";return(0,s.each)(f,(function(e){var t=e.left-l,n=e.top-u;m+=''+e.dom+""})),y.painter.getSvgRoot().innerHTML=m,e.connectedBackgroundColor&&y.painter.setBackgroundColor(e.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return e.connectedBackgroundColor&&y.add(new _.Rect({shape:{x:0,y:0,width:p,height:g},style:{fill:e.connectedBackgroundColor}})),(0,s.each)(f,(function(e){var t=new _.Image({style:{x:e.left*h-l,y:e.top*h-u,image:e.dom}});y.add(t)})),y.refreshImmediately(),v.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}We(this.id)},t.prototype.convertToPixel=function(e,t){return Me(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return Me(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){if(!this._disposed){var n,r=this._model,i=S.parseFinder(r,e);return(0,s.each)(i,(function(e,r){r.indexOf("Models")>=0&&(0,s.each)(e,(function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(t);else if("seriesModels"===r){var a=this._chartsMap[e.__viewId];a&&a.containPoint&&(n=n||a.containPoint(t,e))}else 0}),this)}),this),!!n}We(this.id)},t.prototype.getVisual=function(e,t){var n=this._model,r=S.parseFinder(n,e,{defaultMainType:"series"}),i=r.seriesModel;var a=i.getData(),o=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?a.indexOfRawIndex(r.dataIndex):null;return null!=o?(0,L.getItemVisualFromData)(a,o,t):(0,L.getVisualFromData)(a,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;(0,s.each)(He,(function(t){var n=function(n){var r,i=e.getModel(),a=n.target,o="globalout"===t;if(o?r={}:a&&(0,B.findEventDispatcher)(a,(function(e){var t=(0,x.getECData)(e);if(t&&null!=t.dataIndex){var n=t.dataModel||i.getSeriesByIndex(t.seriesIndex);return r=n&&n.getDataParams(t.dataIndex,t.dataType)||{},!0}if(t.eventData)return r=(0,s.extend)({},t.eventData),!0}),!0),r){var l=r.componentType,u=r.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=r.seriesIndex);var c=l&&null!=u&&i.getComponent(l,u),d=c&&e["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];0,r.event=n,r.type=t,e._$eventProcessor.eventInfo={targetEl:a,packedEvent:r,model:c,view:d},e.trigger(t,r)}};n.zrEventfulCallAtLast=!0,e._zr.on(t,n,e)})),(0,s.each)(Ue,(function(t,n){e._messageCenter.on(n,(function(e){this.trigger(n,e)}),e)})),(0,s.each)(["selectchanged"],(function(t){e._messageCenter.on(t,(function(e){this.trigger(t,e)}),e)})),(0,R.handleLegacySelectEvents)(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?We(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)We(this.id);else{this._disposed=!0;var e=this.getDom();e&&S.setAttribute(this.getDom(),tt,"");var t=this,n=t._api,r=t._model;(0,s.each)(t._componentsViews,(function(e){e.dispose(r,n)})),(0,s.each)(t._chartsViews,(function(e){e.dispose(r,n)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Ze[t.id]}},t.prototype.resize=function(e){if(!this[ue])if(this._disposed)We(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this[ce]&&(null==r&&(r=this[ce].silent),n=!0,this[ce]=null),this[ue]=!0;try{n&&_e(this),Se.update.call(this,{type:"resize",animation:(0,s.extend)({duration:0},e&&e.animation)})}catch(i){throw this[ue]=!1,i}this[ue]=!1,Ce.call(this,r),Oe.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed)We(this.id);else if((0,s.isObject)(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Qe[e]){var n=Qe[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){this._disposed?We(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=(0,s.extend)({},e);return t.type=Ue[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)We(this.id);else if((0,s.isObject)(t)||(t={silent:!!t}),Ge[e.type]&&this._model)if(this[ue])this._pendingActions.push(e);else{var n=t.silent;Ae.call(this,e,n);var r=t.flush;r?this._zr.flush():!1!==r&&l.default.browser.weChat&&this._throttledZrFlush(),Ce.call(this,n),Oe.call(this,n)}},t.prototype.updateLabelLayout=function(){z.default.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)We(this.id);else{var t=e.seriesIndex,n=this.getModel(),r=n.getSeriesByIndex(t);0,r.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function t(e){var t=[],n=[],r=!1;if(e.eachComponent((function(e,i){var a=i.get("zlevel")||0,o=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===e?n:t).push({zlevel:a,z:o,idx:i.componentIndex,type:e,key:s})})),r){var i,a,o=t.concat(n);(0,u.default)(o,(function(e,t){return e.zlevel===t.zlevel?e.z-t.z:e.zlevel-t.zlevel})),(0,s.each)(o,(function(t){var n=e.getComponent(t.type,t.idx),r=t.zlevel,o=t.key;null!=i&&(r=Math.max(i,r)),o?(r===i&&o!==a&&r++,a=o):a&&(r===i&&r++,a=""),i=r,n.setZLevel(r)}))}}function n(e){for(var t=[],n=e.currentStates,r=0;rt.get("hoverLayerThreshold")&&!l.default.node&&!l.default.worker&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.eachRendered((function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)}))}}))}function i(e,t){var n=e.get("blendMode")||null;t.eachRendered((function(e){e.isGroup||(e.style.blend=n)}))}function o(e,t){if(!e.preventAutoZ){var n=e.get("z")||0,r=e.get("zlevel")||0;t.eachRendered((function(e){return c(e,n,r,-1/0),!0}))}}function c(e,t,n,r){var i=e.getTextContent(),a=e.getTextGuideLine(),o=e.isGroup;if(o)for(var s=e.childrenRef(),l=0;l0?{duration:a,delay:r.get("delay"),easing:r.get("easing")}:null;t.eachRendered((function(e){if(e.states&&e.states.emphasis){if(_.isElementRemoved(e))return;if(e instanceof _.Path&&(0,w.savePathStates)(e),e.__dirty){var t=e.prevStates;t&&e.useStates(t)}if(i){e.stateTransition=o;var r=e.getTextContent(),a=e.getTextGuideLine();r&&(r.stateTransition=o),a&&(a.stateTransition=o)}e.__dirty&&n(e)}}))}_e=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),xe(e,!0),xe(e,!1),t.plan()},xe=function(e,t){for(var n=e._model,r=e._scheduler,i=t?e._componentsViews:e._chartsViews,a=t?e._componentsMap:e._chartsMap,o=e._zr,s=e._api,l=0;l=0)){_t.push(n);var a=C.default.wrapStageHandler(n,i);a.__prio=t,a.__raw=n,e.push(a)}}function wt(e,t){Qe[e]=t}function St(e){(0,V.setPlatformAPI)({createCanvas:e})}function Mt(e,t,n){var r=(0,H.getImpl)("registerMap");r&&r(e,t,n)}function Tt(e){var t=(0,H.getImpl)("getMap");return t&&t(e)}var At=N.registerExternalTransform;t.registerTransform=At,bt(ee,T.seriesStyleTask),bt(re,T.dataStyleTask),bt(re,T.dataColorPaletteTask),bt(ee,E.seriesSymbolTask),bt(re,E.dataSymbolTask),bt(se,F.default),ct(g.default),dt(q,v.default),wt("default",A.default),gt({type:w.HIGHLIGHT_ACTION_TYPE,event:w.HIGHLIGHT_ACTION_TYPE,update:w.HIGHLIGHT_ACTION_TYPE},s.noop),gt({type:w.DOWNPLAY_ACTION_TYPE,event:w.DOWNPLAY_ACTION_TYPE,update:w.DOWNPLAY_ACTION_TYPE},s.noop),gt({type:w.SELECT_ACTION_TYPE,event:w.SELECT_ACTION_TYPE,update:w.SELECT_ACTION_TYPE},s.noop),gt({type:w.UNSELECT_ACTION_TYPE,event:w.UNSELECT_ACTION_TYPE,update:w.UNSELECT_ACTION_TYPE},s.noop),gt({type:w.TOGGLE_SELECT_ACTION_TYPE,event:w.TOGGLE_SELECT_ACTION_TYPE,update:w.TOGGLE_SELECT_ACTION_TYPE},s.noop),ut("light",O.default),ut("dark",k.default);var Ct={};t.dataTool=Ct},1050:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var i=r(n("ecf0")),a=r(n("e463")),o=!1;function s(e){o||(o=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,i.default),(0,a.default)(e),e.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}},1070:function(e,t,n){"use strict";var r=n("4ea4"),i=n("dbce");n("cb29"),n("4160"),n("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("9ab4"),o=i(n("7522")),s=i(n("0f70")),l=n("2a9b"),u=r(n("c3b3")),c=n("0b02"),d=i(n("b59d")),f=r(n("61e2")),h=i(n("3758")),p=r(n("0bff")),g=n("d758"),v=n("8385"),y=r(n("fd58")),m=r(n("1623")),b=n("20ae"),_=function(){function e(){this.parentPoint=[],this.childPoints=[]}return e}(),x=function(e){function t(t){return e.call(this,t)||this}return(0,a.__extends)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new _},t.prototype.buildPath=function(e,t){var n=t.childPoints,r=n.length,i=t.parentPoint,a=n[0],o=n[r-1];if(1===r)return e.moveTo(i[0],i[1]),void e.lineTo(a[0],a[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=(0,v.parsePercent)(t.forkPosition,1),d=[];d[l]=i[l],d[u]=i[u]+(o[u]-i[u])*c,e.moveTo(i[0],i[1]),e.lineTo(d[0],d[1]),e.moveTo(a[0],a[1]),d[l]=a[l],e.lineTo(d[0],d[1]),d[l]=o[l],e.lineTo(d[0],d[1]),e.lineTo(o[0],o[1]);for(var f=1;fS.x,C||(A-=Math.PI));var k=C?"left":"right",I=d.getModel("label"),P=I.get("rotate"),E=P*(Math.PI/180),L=x.getTextContent();L&&(x.setTextConfig({position:I.get("position")||k,rotation:null==P?-A:E,origin:"center"}),L.setStyle("verticalAlign","middle"))}var D=d.get(["emphasis","focus"]),R="relative"===D?o.concatArray(c.getAncestorsIndices(),c.getDescendantIndices()):"ancestor"===D?c.getAncestorsIndices():"descendant"===D?c.getDescendantIndices():null;R&&((0,l.getECData)(n).focus=R),T(i,c,p,n,m,y,_,r),n.__edge&&(n.onHoverStateChange=function(t){if("blur"!==t){var r=c.parentNode&&e.getItemGraphicEl(c.parentNode.dataIndex);r&&r.hoverState===b.HOVER_STATE_BLUR||(0,b.setStatesFlag)(n.__edge,t)}})}function T(e,t,n,r,i,a,l,u){var c=t.getModel(),d=e.get("edgeShape"),f=e.get("layout"),h=e.getOrient(),p=e.get(["lineStyle","curveness"]),g=e.get("edgeForkPosition"),v=c.getModel("lineStyle").getLineStyle(),y=r.__edge;if("curve"===d)t.parentNode&&t.parentNode!==n&&(y||(y=r.__edge=new s.BezierCurve({shape:k(f,h,p,i,i)})),s.updateProps(y,{shape:k(f,h,p,a,l)},e));else if("polyline"===d)if("orthogonal"===f){if(t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var m=t.children,_=[],w=0;w0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},"115d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={cellGroup:{title:"",border:!0,customStyle:{}}};t.default=r},"11fe":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.install=d;var i=r(n("9482")),a=r(n("21b2")),o=r(n("5b6b")),s=r(n("91c3")),l=n("7522"),u=n("7334"),c=r(n("ffad"));function d(e){i.default.registerAxisPointerClass("CartesianAxisPointer",a.default),e.registerComponentModel(o.default),e.registerComponentView(s.default),e.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!(0,l.isArray)(t)&&(e.axisPointer.link=[t])}})),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=(0,u.collect)(e,t)})),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},c.default)}},1240:function(e,t,n){"use strict";function r(e,t,n){var r,i=[e],a=[];while(r=i.pop())if(a.push(r),r.isExpand){var o=r.children;if(o.length)for(var s=0;s=0;a--)r.push(i[a])}}Object.defineProperty(t,"__esModule",{value:!0}),t.eachAfter=r,t.eachBefore=i},1257:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.install=l;var i=r(n("d2be")),a=r(n("0652")),o=r(n("3efd")),s=r(n("81de"));function l(e){e.registerChartView(i.default),e.registerSeriesModel(a.default),e.registerLayout(o.default),e.registerProcessor((0,s.default)("themeRiver"))}},1276:function(e,t,n){"use strict";var r=n("d784"),i=n("44e7"),a=n("825a"),o=n("1d80"),s=n("4840"),l=n("8aa5"),u=n("50c4"),c=n("14c3"),d=n("9263"),f=n("d039"),h=[].push,p=Math.min,g=4294967295,v=!f((function(){return!RegExp(g,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(o(this)),a=void 0===n?g:n>>>0;if(0===a)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,a);var s,l,u,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,v=new RegExp(e.source,f+"g");while(s=d.call(v,r)){if(l=v.lastIndex,l>p&&(c.push(r.slice(p,s.index)),s.length>1&&s.index=a))break;v.lastIndex===s.index&&v.lastIndex++}return p===r.length?!u&&v.test("")||c.push(""):c.push(r.slice(p)),c.length>a?c.slice(0,a):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=o(this),a=void 0==t?void 0:t[e];return void 0!==a?a.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var d=a(e),f=String(this),h=s(d,RegExp),y=d.unicode,m=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(v?"y":"g"),b=new h(v?d:"^(?:"+d.source+")",m),_=void 0===i?g:i>>>0;if(0===_)return[];if(0===f.length)return null===c(b,f)?[f]:[];var x=0,w=0,S=[];while(w0&&void 0!==arguments[0]?arguments[0]:"url",t=this[e];t&&uni[this.linkType]({url:t})},$uGetRect:function(e,t){var n=this;return new Promise((function(r){uni.createSelectorQuery().in(n)[t?"selectAll":"select"](e).boundingClientRect((function(e){t&&Array.isArray(e)&&e.length&&r(e),!t&&e&&r(e)})).exec()}))},getParentData:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.parent||(this.parent={}),this.parent=uni.$u.$parent.call(this,t),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((function(t){e.parentData[t]=e.parent[t]}))},preventEvent:function(e){e&&"function"===typeof e.stopPropagation&&e.stopPropagation()},noop:function(e){this.preventEvent(e)}},onReachBottom:function(){uni.$emit("uOnReachBottom")},beforeDestroy:function(){var e=this;if(this.parent&&uni.$u.test.array(this.parent.children)){var t=this.parent.children;t.map((function(n,r){n===e&&t.splice(r,1)}))}}}},"13d5":function(e,t,n){"use strict";var r=n("23e7"),i=n("d58f").left,a=n("a640"),o=n("ae40"),s=a("reduce"),l=o("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!l},{reduce:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"142f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(e,t){this.target=e,this.topTarget=t&&t.topTarget}return e}(),i=function(){function e(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(e){var t=e.target;while(t&&!t.draggable)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new r(t,e),"dragstart",e.event))},e.prototype._drag=function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,i=e.offsetY,a=n-this._x,o=i-this._y;this._x=n,this._y=i,t.drift(a,o,e),this.handler.dispatchToElement(new r(t,e),"drag",e.event);var s=this.handler.findHover(n,i,t).target,l=this._dropTarget;this._dropTarget=s,t!==s&&(l&&s!==l&&this.handler.dispatchToElement(new r(l,e),"dragleave",e.event),s&&s!==l&&this.handler.dispatchToElement(new r(s,e),"dragenter",e.event))}},e.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new r(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new r(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},e}(),a=i;t.default=a},1439:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.contain=s;var i=r(n("4b38")),a=1e-8;function o(e,t){return Math.abs(e-t)2?arguments[2]:void 0,d=o((void 0===c?s:i(c,s))-u,s-l),f=1;u0)u in n?n[l]=n[u]:delete n[l],l+=f,u+=f;return n}},"147a":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("9ab4"),a=r(n("9613")),o=function(e){function t(t,n,r,i,a){var o=e.call(this,i)||this;return o.x=null==t?.5:t,o.y=null==n?.5:n,o.r=null==r?.5:r,o.type="radial",o.global=a||!1,o}return(0,i.__extends)(t,e),t}(a.default),s=o;t.default=s},"14c3":function(e,t,n){var r=n("c6b6"),i=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var a=n.call(e,t);if("object"!==typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},1505:function(e,t,n){"use strict";var r=n("4ea4");n("4160"),n("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.installLabelLayout=s;var i=n("cd8b"),a=r(n("ab5c")),o=(0,i.makeInner)();function s(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){var r=o(t).labelManager;r||(r=o(t).labelManager=new a.default),r.clearLabels()})),e.registerUpdateLifecycle("series:layoutlabels",(function(e,t,n){var r=o(t).labelManager;n.updatedSeries.forEach((function(e){r.addLabelsOfSeries(t.getViewOfSeriesModel(e))})),r.updateLayoutConfig(t),r.layout(t),r.processLabelsOverall()}))}},1516:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.install=a;var r=n("cc1a"),i=n("43ca");function a(e){e.registerTransform(r.filterTransform),e.registerTransform(i.sortTransform)}},1537:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.install=o;var r=n("72e6"),i=n("0d7c"),a=n("0e52");function o(e){(0,r.use)(i.install),(0,r.use)(a.install)}},"159b":function(e,t,n){var r=n("da84"),i=n("fdbc"),a=n("17c2"),o=n("9112");for(var s in i){var l=r[s],u=l&&l.prototype;if(u&&u.forEach!==a)try{o(u,"forEach",a)}catch(c){u.forEach=a}}},"15c2":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.ECPolygon=t.ECPolyline=void 0;var i=n("9ab4"),a=r(n("1623")),o=r(n("9f51")),s=n("ab6d"),l=Math.min,u=Math.max;function c(e,t){return isNaN(e)||isNaN(t)}function d(e,t,n,r,i,a,o,s,d){for(var f,h,p,g,v,y,m=n,b=0;b=i||m<0)break;if(c(_,x)){if(d){m+=a;continue}break}if(m===n)e[a>0?"moveTo":"lineTo"](_,x),p=_,g=x;else{var w=_-f,S=x-h;if(w*w+S*S<.5){m+=a;continue}if(o>0){var M=m+a,T=t[2*M],A=t[2*M+1];while(T===_&&A===x&&b=r||c(T,A))v=_,y=x;else{k=T-f,I=A-h;var L=_-f,D=T-_,R=x-h,N=A-x,j=void 0,B=void 0;if("x"===s){j=Math.abs(L),B=Math.abs(D);var F=k>0?1:-1;v=_-F*j*o,y=x,P=_+F*B*o,E=x}else if("y"===s){j=Math.abs(R),B=Math.abs(N);var z=I>0?1:-1;v=_,y=x-z*j*o,P=_,E=x+z*B*o}else j=Math.sqrt(L*L+R*R),B=Math.sqrt(D*D+N*N),O=B/(B+j),v=_-k*o*(1-O),y=x-I*o*(1-O),P=_+k*o*O,E=x+I*o*O,P=l(P,u(T,_)),E=l(E,u(A,x)),P=u(P,l(T,_)),E=u(E,l(A,x)),k=P-_,I=E-x,v=_-k*j/B,y=x-I*j/B,v=l(v,u(f,_)),y=l(y,u(h,x)),v=u(v,l(f,_)),y=u(y,l(h,x)),k=_-v,I=x-y,P=_+k*B/j,E=x+I*B/j}e.bezierCurveTo(p,g,v,y,_,x),p=P,g=E}else e.lineTo(_,x)}f=_,h=x,m+=a}return b}var f=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),h=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return(0,i.__extends)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new f},t.prototype.buildPath=function(e,t){var n=t.points,r=0,i=n.length/2;if(t.connectNulls){for(;i>0;i--)if(!c(n[2*i-2],n[2*i-1]))break;for(;r=0){var _=u?(p-r)*b+r:(h-n)*b+n;return u?[e,_]:[_,e]}n=h,r=p;break;case l.C:h=a[d++],p=a[d++],g=a[d++],v=a[d++],y=a[d++],m=a[d++];var x=u?(0,s.cubicRootAt)(n,h,g,y,e,c):(0,s.cubicRootAt)(r,p,v,m,e,c);if(x>0)for(var w=0;w=0){_=u?(0,s.cubicAt)(r,p,v,m,S):(0,s.cubicAt)(n,h,g,y,S);return u?[e,_]:[_,e]}}n=y,r=m;break}}},t}(a.default);t.ECPolyline=h;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.__extends)(t,e),t}(f),g=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return(0,i.__extends)(t,e),t.prototype.getDefaultShape=function(){return new p},t.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,a=n.length/2,o=t.smoothMonotone;if(t.connectNulls){for(;a>0;a--)if(!c(n[2*a-2],n[2*a-1]))break;for(;i.5?d.DARK_LABEL_COLOR:t>.2?d.LIGHTER_LABEL_COLOR:d.LIGHT_LABEL_COLOR}if(e)return d.LIGHT_LABEL_COLOR}return d.DARK_LABEL_COLOR},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if((0,u.isString)(t)){var n=this.__zr,r=!(!n||!n.isDarkMode()),i=(0,c.lum)(e,0)0))},t.prototype.hasFill=function(){var e=this.style,t=e.fill;return null!=t&&"none"!==t},t.prototype.getBoundingRect=function(){var e=this._rect,t=this.style,n=!e;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&f.SHAPE_CHANGED_BIT)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),e=i.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var a=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){a.copy(e);var o=t.strokeNoScale?this.getLineScale():1,s=t.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}o>1e-10&&(a.width+=s/o,a.height+=s/o,a.x-=s/o/2,a.y-=s/o/2)}return a}return e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),i=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var a=this.path;if(this.hasStroke()){var o=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),l.containStroke(a,o/s,e,t)))return!0}if(this.hasFill())return l.contain(a,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=f.SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(t,n){"shape"===t?this.setShape(n):e.prototype.attrKV.call(this,t,n)},t.prototype.setShape=function(e,t){var n=this.shape;return n||(n=this.shape={}),"string"===typeof e?n[e]=t:(0,u.extend)(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&f.SHAPE_CHANGED_BIT)},t.prototype.createStyle=function(e){return(0,u.createObject)(p,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=(0,u.extend)({},this.shape))},t.prototype._applyStateObj=function(t,n,r,i,a,o){e.prototype._applyStateObj.call(this,t,n,r,i,a,o);var s,l=!(n&&i);if(n&&n.shape?a?i?s=n.shape:(s=(0,u.extend)({},r.shape),(0,u.extend)(s,n.shape)):(s=(0,u.extend)({},i?this.shape:r.shape),(0,u.extend)(s,n.shape)):l&&(s=r.shape),s)if(a){this.shape=(0,u.extend)({},this.shape);for(var c={},d=(0,u.keys)(s),f=0;f1?arguments[1]:void 0)}},"17e8":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("9ab4"),a=r(n("2daf")),o=r(n("5910")),s=n("b4ab"),l=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.__extends)(t,e),t.prototype.getInitialData=function(){return(0,o.default)(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},t.prototype.brushSelector=function(e,t,n){return n.rect(t.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=(0,s.inheritDefaultOption)(a.default.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(a.default),u=l;t.default=u},"182d":function(e,t,n){var r=n("f8cd");e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},"186b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""}};t.default=r},1912:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:function(){return[]},overlay:!0,showToast:!0}};t.default=r},1959:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=s,t.warn=l,t.error=u,t.deprecateLog=c,t.deprecateReplaceLog=d,t.makePrintable=f,t.throwError=h;n("7522");var r="[ECharts] ",i={},a="undefined"!==typeof console&&console.warn&&console.log;function o(e,t,n){if(a){if(n){if(i[t])return;i[t]=!0}console[e](r+t)}}function s(e,t){o("log",e,t)}function l(e,t){o("warn",e,t)}function u(e,t){o("error",e,t)}function c(e){0}function d(e,t,n){0}function f(){for(var e=[],t=0;t=0;o--)r[o]&&!c.isComponentIdInternal(r[o])?a=!0:(r[o]=null,!a&&i--);r.length=i,e[n]=r}})),delete e[y],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){var r=n[t||0];if(r)return r;if(null==t)for(var i=0;i40&&(c=Math.max(1,Math.floor(u/40)));for(var d=o[0],f=e.dataToCoord(d+1)-e.dataToCoord(d),h=Math.abs(f*Math.cos(r)),p=Math.abs(f*Math.sin(r)),g=0,v=0;d<=o[1];d+=c){var y=0,m=0,b=a.getBoundingRect(n({value:d}),t.font,"center","top");y=1.3*b.width,m=1.3*b.height,g=Math.max(g,y,7),v=Math.max(v,m,7)}var x=g/h,w=v/p;isNaN(x)&&(x=1/0),isNaN(w)&&(w=1/0);var S=Math.max(0,Math.floor(Math.min(x,w))),M=l(e.model),T=e.getExtent(),A=M.lastAutoInterval,C=M.lastTickCount;return null!=A&&null!=C&&Math.abs(A-S)<=1&&Math.abs(C-u)<=1&&A>S&&M.axisExtent0===T[0]&&M.axisExtent1===T[1]?S=A:(M.lastTickCount=u,M.lastAutoInterval=S,M.axisExtent0=T[0],M.axisExtent1=T[1]),S}function _(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function x(e,t,n){var r=(0,s.makeLabelFormatter)(e),i=e.scale,a=i.getExtent(),o=e.getLabelModel(),l=[],u=Math.max((t||0)+1,1),c=a[0],d=i.count();0!==c&&u>1&&d/u>2&&(c=Math.round(Math.ceil(c/u)*u));var f=(0,s.shouldShowAllLabels)(e),h=o.get("showMinLabel")||f,p=o.get("showMaxLabel")||f;h&&c!==a[0]&&v(a[0]);for(var g=c;g<=a[1];g+=u)v(g);function v(e){var t={value:e};l.push(n?e:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:e})}return p&&g-u!==a[1]&&v(a[1]),l}function w(e,t,n){var r=e.scale,a=(0,s.makeLabelFormatter)(e),o=[];return i.each(r.getTicks(),(function(e){var i=r.getLabel(e),s=e.value;t(e.value,i)&&o.push(n?s:{formattedLabel:a(e),rawLabel:i,tickValue:s})})),o}},"1a3c":function(e,t,n){"use strict";var r=n("dbce"),i=n("4ea4");n("26e9"),n("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("9ab4"),o=i(n("e577")),s=r(n("08cb")),l=r(n("0f70")),u=n("4b3c"),c=r(n("55ec")),d=i(n("958c")),f=i(n("0ac7")),h=n("2e50"),p=r(n("8385")),g=n("7522"),v=i(n("b37e")),y=i(n("67f9")),m=i(n("e49c")),b=n("c8a3"),_=n("cd8b"),x=n("2a9b"),w=n("20ae"),S=n("01c5"),M=Math.PI,T=(0,_.makeInner)(),A=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,a.__extends)(t,e),t.prototype.init=function(e,t){this.api=t},t.prototype.render=function(e,t,n){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var r=this._layout(e,n),i=this._createGroup("_mainGroup"),a=this._createGroup("_labelGroup"),o=this._axis=this._createAxis(r,e);e.formatTooltip=function(e){var t=o.scale.getLabel({value:e});return(0,S.createTooltipMarkup)("nameValue",{noName:!0,value:t})},(0,g.each)(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](r,i,o,e)}),this),this._renderAxisLabel(r,a,o,e),this._position(r,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,t){var n,r=e.get(["label","position"]),i=e.get("orient"),a=O(e,t);n=null==r||"auto"===r?"horizontal"===i?a.y+a.height/2=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:M/2},f="vertical"===i?a.height:a.width,h=e.getModel("controlStyle"),p=h.get("show",!0),v=p?h.get("itemSize"):0,y=p?h.get("itemGap"):0,m=v+y,b=e.get(["label","rotate"])||0;b=b*M/180;var _=h.get("position",!0),x=p&&h.get("showPlayBtn",!0),w=p&&h.get("showPrevBtn",!0),S=p&&h.get("showNextBtn",!0),T=0,A=f;"left"===_||"bottom"===_?(x&&(o=[0,0],T+=m),w&&(s=[T,0],T+=m),S&&(l=[A-v,0],A-=m)):(x&&(o=[A-v,0],A-=m),w&&(s=[0,0],T+=m),S&&(l=[A-v,0],A-=m));var C=[T,A];return e.get("inverse")&&C.reverse(),{viewRect:a,mainLength:f,orient:i,rotation:d[i],labelRotation:b,labelPosOpt:n,labelAlign:e.get(["label","align"])||u[i],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||c[i],playPosition:o,prevBtnPosition:s,nextBtnPosition:l,axisExtent:C,controlSize:v,controlGap:y}},t.prototype._position=function(e,t){var n=this._mainGroup,r=this._labelGroup,i=e.viewRect;if("vertical"===e.orient){var a=s.create(),o=i.x,l=i.y+i.height;s.translate(a,a,[-o,-l]),s.rotate(a,a,-M/2),s.translate(a,a,[o,l]),i=i.clone(),i.applyTransform(a)}var u=m(i),c=m(n.getBoundingRect()),d=m(r.getBoundingRect()),f=[n.x,n.y],h=[r.x,r.y];h[0]=f[0]=u[0][0];var p=e.labelPosOpt;if(null==p||(0,g.isString)(p)){var v="+"===p?0:1;b(f,c,u,1,v),b(h,d,u,1,1-v)}else{v=p>=0?0:1;b(f,c,u,1,v),h[1]=f[1]+p}function y(e){e.originX=u[0][0]-e.x,e.originY=u[1][0]-e.y}function m(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function b(e,t,n,r,i){e[r]+=n[r][i]-t[r][i]}n.setPosition(f),r.setPosition(h),n.rotation=r.rotation=e.rotation,y(n),y(r)},t.prototype._createAxis=function(e,t){var n=t.getData(),r=t.get("axisType"),i=C(t,r);i.getTicks=function(){return n.mapArray(["value"],(function(e){return{value:e}}))};var a=n.getDataExtent("value");i.setExtent(a[0],a[1]),i.calcNiceTicks();var o=new f.default("value",i,e.axisExtent,r);return o.model=t,o},t.prototype._createGroup=function(e){var t=this[e]=new l.Group;return this.group.add(t),t},t.prototype._renderAxisLine=function(e,t,n,r){var i=n.getExtent();if(r.get(["lineStyle","show"])){var a=new l.Line({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:(0,g.extend)({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});t.add(a);var o=this._progressLine=new l.Line({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:(0,g.defaults)({lineCap:"round",lineWidth:a.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});t.add(o)}},t.prototype._renderAxisTick=function(e,t,n,r){var i=this,a=r.getData(),o=n.scale.getTicks();this._tickSymbols=[],(0,g.each)(o,(function(e){var o=n.dataToCoord(e.value),s=a.getItemModel(e.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),d={x:o,y:0,onclick:(0,g.bind)(i._changeTimeline,i,e.value)},f=I(s,l,t,d);f.ensureState("emphasis").style=u.getItemStyle(),f.ensureState("progress").style=c.getItemStyle(),(0,w.enableHoverEmphasis)(f);var h=(0,x.getECData)(f);s.get("tooltip")?(h.dataIndex=e.value,h.dataModel=r):h.dataIndex=h.dataModel=null,i._tickSymbols.push(f)}))},t.prototype._renderAxisLabel=function(e,t,n,r){var i=this,a=n.getLabelModel();if(a.get("show")){var o=r.getData(),s=n.getViewLabels();this._tickLabels=[],(0,g.each)(s,(function(r){var a=r.tickValue,s=o.getItemModel(a),c=s.getModel("label"),d=s.getModel(["emphasis","label"]),f=s.getModel(["progress","label"]),h=n.dataToCoord(r.tickValue),p=new l.Text({x:h,y:0,rotation:e.labelRotation-e.rotation,onclick:(0,g.bind)(i._changeTimeline,i,a),silent:!1,style:(0,u.createTextStyle)(c,{text:r.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});p.ensureState("emphasis").style=(0,u.createTextStyle)(d),p.ensureState("progress").style=(0,u.createTextStyle)(f),t.add(p),(0,w.enableHoverEmphasis)(p),T(p).dataIndex=a,i._tickLabels.push(p)}))}},t.prototype._renderControl=function(e,t,n,r){var i=e.controlSize,a=e.rotation,o=r.getModel("controlStyle").getItemStyle(),s=r.getModel(["emphasis","controlStyle"]).getItemStyle(),l=r.getPlayState(),u=r.get("inverse",!0);function c(e,n,l,u){if(e){var c=(0,b.parsePercent)((0,g.retrieve2)(r.get(["controlStyle",n+"BtnSize"]),i),i),d=[0,-c/2,c,c],f=k(r,n+"Icon",d,{x:e[0],y:e[1],originX:i/2,originY:0,rotation:u?-a:0,rectHover:!0,style:o,onclick:l});f.ensureState("emphasis").style=s,t.add(f),(0,w.enableHoverEmphasis)(f)}}c(e.nextBtnPosition,"next",(0,g.bind)(this._changeTimeline,this,u?"-":"+")),c(e.prevBtnPosition,"prev",(0,g.bind)(this._changeTimeline,this,u?"+":"-")),c(e.playPosition,l?"stop":"play",(0,g.bind)(this._handlePlayClick,this,!l),!0)},t.prototype._renderCurrentPointer=function(e,t,n,r){var i=r.getData(),a=r.getCurrentIndex(),o=i.getItemModel(a).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=(0,g.bind)(s._handlePointerDrag,s),e.ondragend=(0,g.bind)(s._handlePointerDragend,s),P(e,s._progressLine,a,n,r,!0)},onUpdate:function(e){P(e,s._progressLine,a,n,r)}};this._currentPointer=I(o,o,this._mainGroup,{},this._currentPointer,l)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,t){var n=this._toAxisCoord(e)[0],r=this._axis,i=p.asc(r.getExtent().slice());n>i[1]&&(n=i[1]),n=0;i--)if(!n[i].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}a=l.length;var u=Math.ceil(a/2);n[i].many=l.slice(u,a),n[s].many=l.slice(0,u),s++}return n}var c={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r0){var h,p,g=i.getModel("universalTransition").get("delay"),v=Object.assign({setToFinal:!0},f);l(e)&&(h=e,p=t),l(t)&&(h=t,p=e);for(var y=h?h===e:e.length>t.length,m=h?u(p,h):u(y?t:e,[y?e:t]),b=0,_=0;_1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t?-1!==t.split(i).indexOf(e):n&&"string"===typeof n?-1!==n.split(i).indexOf(e):void 0}function o(e,t){if(t(e.$vnode||e._vnode))return e;for(var n=e.$children,r=0;r0&&void 0!==arguments[0]?arguments[0]:{};this.options.rootMargin=["top","right","bottom","left"].map((function(t){return"".concat(Number(e[t])||0,"px")})).join(" ")}},{key:"relativeTo",value:function(e,t){return this.options.relativeToSelector=e,this._makeRootMargin(t),this}},{key:"relativeToViewport",value:function(e){return this.options.relativeToSelector=null,this._makeRootMargin(e),this}},{key:"observe",value:function(t,n){"function"===typeof n&&(this.options.selector=t,this.reqId=u.push(n),e.publishHandler("requestComponentObserver",{reqId:this.reqId,component:this.component,options:this.options},Object(i["a"])(this.component)?this.component:this.pageId))}},{key:"disconnect",value:function(){e.publishHandler("destroyComponentObserver",{reqId:this.reqId},Object(i["a"])(this.component)?this.component:this.pageId)}}]),t}();function f(e,t){return e._isVue||(t=e,e=null),new d(e||Object(a["b"])("createIntersectionObserver"),t)}}.call(this,n("0dd1"))},"0998":function(e,t,n){"use strict";var r=n("927d"),i=n.n(r);i.a},"09e5":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"requestComponentInfo",(function(){return o}));var r=n("62b5"),i=n("1634"),a=Object(r["a"])("requestComponentInfo");function o(t,n,r){e.publishHandler("requestComponentInfo",{reqId:a.push(r),reqs:n},Object(i["a"])(t)?t:t.$page.id)}}.call(this,n("0dd1"))},"0baa":function(e,t,n){"use strict";n.r(t),n.d(t,"chooseFile",(function(){return a}));var r=["all","image","video"],i=["album","camera"],a={count:{type:Number,required:!1,default:100,validator:function(e,t){e<=0&&(t.count=100)}},sourceType:{type:Array,required:!1,default:i,validator:function(e,t){e=e.filter((function(e){return i.includes(e)})),t.sourceType=e.length?e:i}},type:{type:String,required:!1,default:"all",validator:function(e,t){r.includes(e)||(t.type=r[0]),t.type="all"===t.type?t.type="*":t.type}},extension:{type:Array,default:[""],validator:function(e,t){if(0===e.length)return"param extension should not be empty."}}}},"0dd1":function(e,t,n){"use strict";n.r(t),n.d(t,"on",(function(){return l})),n.d(t,"off",(function(){return u})),n.d(t,"once",(function(){return c})),n.d(t,"emit",(function(){return d})),n.d(t,"subscribe",(function(){return f})),n.d(t,"unsubscribe",(function(){return h})),n.d(t,"subscribeHandler",(function(){return p}));var r=n("8bbf"),i=n.n(r),a=n("27a7");n.d(t,"invokeCallbackHandler",(function(){return a["a"]})),n.d(t,"removeCallbackHandler",(function(){return a["b"]}));var o=n("b865");n.d(t,"publishHandler",(function(){return o["b"]}));var s=new i.a,l=s.$on.bind(s),u=s.$off.bind(s),c=s.$once.bind(s),d=s.$emit.bind(s);function f(e,t){return l("view."+e,t)}function h(e,t){return u("view."+e,t)}function p(e,t,n){return d("view."+e,t,n)}},"0e5c":function(e,t,n){"use strict";n.r(t),n.d(t,"showTopWindow",(function(){return a})),n.d(t,"hideTopWindow",(function(){return o})),n.d(t,"showLeftWindow",(function(){return s})),n.d(t,"hideLeftWindow",(function(){return l})),n.d(t,"showRightWindow",(function(){return u})),n.d(t,"hideRightWindow",(function(){return c})),n.d(t,"getTopWindowStyle",(function(){return f})),n.d(t,"getLeftWindowStyle",(function(){return h})),n.d(t,"getRightWindowStyle",(function(){return p})),n.d(t,"setTopWindowStyle",(function(){return v})),n.d(t,"setLeftWindowStyle",(function(){return y})),n.d(t,"setRightWindowStyle",(function(){return m}));var r=n("f2b3");function i(e,t){var n=t?"show":"hide"+Object(r["c"])(e)+"Window",i=getApp();if(i){var a=i.$children[0].$refs.layout.showWindow(e,t);return a?{errMsg:"".concat(n,":fail ").concat(a)}:{}}return{errMsg:"".concat(n,":fail app not ready")}}function a(){return i("top",!0)}function o(){return i("top",!1)}function s(){return i("left",!0)}function l(){return i("left",!1)}function u(){return i("right",!0)}function c(){return i("right",!1)}function d(e){var t="get"+Object(r["c"])(e)+"WindowStyle",n=getApp();if(!n)return{errMsg:"".concat(t,":fail app not ready")};var i=n.$children[0].$refs.layout.getWindowStyle(e);return"string"===typeof i&&-1!==i.indexOf("Window not found")?{errMsg:"".concat(t,":fail ").concat(i)}:i}function f(e){return d("top")}function h(e){return d("left")}function p(e){return d("right")}function g(e,t){var n="set"+Object(r["c"])(e)+"WindowStyle",i=getApp();if(!i)return{errMsg:"".concat(n,":fail app not ready")};var a=i.$children[0].$refs.layout.setWindowStyle(e,t);return a?{errMsg:"".concat(n,":fail ").concat(a)}:{}}function v(e){return g("top",e)}function y(e){return g("left",e)}function m(e){return g("right",e)}},"0f55":function(e,t,n){"use strict";var r=n("2190"),i=n.n(r);i.a},"0f74":function(e,t,n){"use strict";function r(e,t){if(t){if(0===t.indexOf("/"))return t}else{if(t=e,0===t.indexOf("/"))return t;var n=getCurrentPages();e=n.length?n[n.length-1].$page.route:""}if(0===t.indexOf("./"))return r(e,t.substr(2));for(var i=t.split("/"),a=i.length,o=0;o0?e.split("/"):[];return s.splice(s.length-o-1,o+1),"/"+s.concat(i).join("/")}n.d(t,"a",(function(){return r}))},1082:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-image",e._g({},e.$listeners),[n("div",{ref:"content",style:e.style}),"widthFix"===e.mode||"heightFix"===e.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:function(t){return e._fixSize()}}}):e._e()],1)},i=[];function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e){return("undefined"===typeof navigator||a(navigator))&&"Google Inc."===navigator.vendor&&e>10&&(e=2*Math.round(e/2)),e}var s={name:"Image",props:{src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},data:function(){return{originalWidth:0,originalHeight:0,originalStyle:{width:"",height:""},contentPath:""}},computed:{ratio:function(){return this.originalWidth&&this.originalHeight?this.originalWidth/this.originalHeight:0},style:function(){var e="auto",t="",n="no-repeat";switch(this.mode){case"aspectFit":e="contain",t="center center";break;case"aspectFill":e="cover",t="center center";break;case"widthFix":case"heightFix":e="100% 100%";break;case"top":t="center top";break;case"bottom":t="center bottom";break;case"center":t="center center";break;case"left":t="left center";break;case"right":t="right center";break;case"top left":t="left top";break;case"top right":t="right top";break;case"bottom left":t="left bottom";break;case"bottom right":t="right bottom";break;default:e="100% 100%",t="0% 0%";break}return{"background-image":this.contentPath?'url("'.concat(this.contentPath,'")'):"none","background-position":t,"background-size":e,"background-repeat":n}}},watch:{src:function(e,t){this._loadImage()},mode:function(e,t){"widthFix"!==t&&"heightFix"!==t||this._resetSize(),"widthFix"!==e&&"heightFix"!==e||this._fixSize()},contentPath:function(e){!e&&this.__img&&(this.__img.remove(),delete this.__img)}},mounted:function(){this.originalStyle.width=this.$el.style.width||"",this.originalStyle.height=this.$el.style.height||"",this._loadImage()},beforeDestroy:function(){this._clearImage()},methods:{_fixSize:function(){if(this.ratio){var e=this.$el;if("widthFix"===this.mode){var t=e.offsetWidth;t&&(e.style.height=o(t/this.ratio)+"px")}else if("heightFix"===this.mode){var n=e.offsetHeight;n&&(e.style.width=o(n*this.ratio)+"px")}}window.dispatchEvent(new CustomEvent("updateview"))},_resetSize:function(){this.$el.style.width=this.originalStyle.width,this.$el.style.height=this.originalStyle.height},_resetData:function(){this.originalWidth=0,this.originalHeight=0,this.contentPath=""},_loadImage:function(){var e=this,t=this.$getRealPath(this.src);if(t){var n=this._img=this._img||new Image;n.onload=function(r){e._img=null;var i=e.originalWidth=n.width,a=e.originalHeight=n.height;e._fixSize(),e.contentPath=t,n.draggable=e.draggable,e.__img&&e.__img.remove(),e.__img=n,e.$el.appendChild(n),e.$trigger("load",r,{width:i,height:a})},n.onerror=function(t){e._img=null,e._resetData(),e.$trigger("error",t,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},n.src=t}else this._clearImage(),this._resetData()},_clearImage:function(){var e=this._img;e&&(e.onload=null,e.onerror=null,this._img=null)}}},l=s,u=(n("db18"),n("2877")),c=Object(u["a"])(l,r,i,!1,null,null,null);t["default"]=c.exports},"10a3":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-ad",e._g(e._b({},"uni-ad",e.attrs,!1),e.$listeners),[n("div",{ref:"container",staticClass:"uni-ad-container",on:{click:e._onhandle}})])},i=[],a=n("8af1");function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;nthis.CACHE_TIME}}]),e}();u(c,"IC",0),u(c,"IS",0),Object.assign(c.prototype,{URL:"https://hac1.dcloud.net.cn/ah5",KEY:"uni_app_ad_config",CACHE_TIME:6e5,ERROR_INVALID_ADPID:{"-5002":"invalid adpid"}});var d=function(){function e(){o(this,e),this._instance=null,this._adConfig=null,this._guid=null}return l(e,null,[{key:"instance",get:function(){return null==this._instance&&(this._instance=new e,this._instance._init()),this._instance}}]),l(e,[{key:"_init",value:function(){var e=this._getConfig();null!==e&&e.guid?this._guid=e.guid:(this._guid=this._newGUID(),this._setConfig(this._guid))}},{key:"get",value:function(e){this._process(Object.assign(e,{d:location.hostname,i:this._guid}))}},{key:"_process",value:function(e){uni.request({url:this.URL,method:"GET",data:e,dataType:"json",success:function(){}})}},{key:"_newGUID",value:function(){for(var e="",t="xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx",n=0;nparseInt(this.widescreenWidth),this._loadData(),d.instance.get({h:__uniConfig.compilerVersion,a:this.adpid,at:-3,ic:c.IC,is:c.IS})},beforeDestroy:function(){this._clearCheckTimer(),this.$refs.container.innerHTML="",this._shanhuAd&&delete this._shanhuAd},methods:{_onhandle:function(e){this._report(41)},_reset:function(){this._p={},this._pl=[],this._pi=0,this._clearCheckTimer(),this.$refs.container.innerHTML="",this._isReady=!1},_loadData:function(e){var t=this;this._reset();var n=e||this.adpid,r=this._isWidescreen&&this.adpidWidescreen||n;c.instance.get(r,(function(e,n){t._b=e,t._pl=n,t._renderAd()}),(function(e){t.$trigger("error",{},e)}))},_renderAd:function(){var e=this;if(!(this._pi>this._pl.length-1)){var t=this._pl[this._pi],n=this._b[t.a1][t.t],r=n.script;this._currentChannel=t.a1;var i=this._randomId(),a=this._createView(i);"10010"===t.a1?f.instance.load(t.t,r,(function(){e._renderBaidu(i,t.a2)}),(function(t){e.$trigger("error",{},t)})):"10011"===t.a1?(h.instance.load(t.a3,t.a2,(function(e){window.TencentGDT.NATIVE.renderAd(e,i)})),this._startCheckTimer()):"10012"===t.a1?this._renderScript(a,r):"10014"===t.a1?f.instance.load(t.t,r,(function(){e._renderShanhu(i,t.tt,t.tar)}),(function(t){e.$trigger("error",{},t)})):f.instance.load(t.t,r,(function(){e._renderAdView(i,r.s,t)}),(function(t){e.$trigger("error",{},t)}))}},_createView:function(e){var t=document.createElement("div");return t.setAttribute("id",e),t.setAttribute("class",e),this.$refs.container.innerHTML="",this.$refs.container.append(t),t},_renderScript:function(e,t){var n=document.createElement("script");for(var r in t)n.setAttribute(r,t[r]);e.appendChild(n),this._startCheckTimer()},_renderBaidu:function(e,t){(window.slotbydup=window.slotbydup||[]).push({id:t,container:e,async:!0}),this._startCheckTimer()},_renderAdView:function(e,t,n){var r=window;t.split(".").reduce((function(e,t){return r=e,e[t]}),window).bind(r)(n.a2,e,2),this._startCheckTimer()},_renderShanhu:function(e,t,n){var r=this;this._shanhuAd=new window.CoralTBSAdv(e,{type:t,target:n,advShowCb:function(){r._report(42),r.$trigger("load",{},{})},advClickCb:function(){r._report(43),r.$trigger("adclicked",{},{})},advCloseCb:function(){r.$trigger("close",{},{})},advErrorCb:function(e){r.$trigger("error",{},e)}}),this._startCheckTimer()},_renderNext:function(){this._pi>=this._pl.length-1||(this._pi++,this._renderAd())},_checkRender:function(){var e=this.$refs.container.children.length>0&&this.$refs.container.clientHeight>40;return e&&this._report(40,this._currentChannel),e},_startCheckTimer:function(){var e=this;this._clearCheckTimer(),this._checkTimer=setInterval((function(){if(e._checkTimerCount++,e._checkTimerCount>=g)return e._clearCheckTimer(),void e._renderNext();e._checkRender()&&e._clearCheckTimer()}),p)},_clearCheckTimer:function(){this._checkTimerCount=0,null!=this._checkTimer&&(window.clearInterval(this._checkTimer),this._checkTimer=null)},_report:function(e,t){var n={h:__uniConfig.compilerVersion,a:this.adpid,at:e};t&&(n.t=t),d.instance.get(n)},_randomId:function(){for(var e="",t=0;t<4;t++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return"_u"+e}}},m=y,b=(n("e4bc"),n("2877")),_=Object(b["a"])(m,r,i,!1,null,null,null);t["default"]=_.exports},1164:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return l}));var r=n("a6b0"),i=n("23e5"),a=!1;function o(){return a}function s(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[],i=o();if(!i)return n&&e.error("app is not ready"),[];var a=i.$children[0];if(a&&a.$children.length){var s=a.$children.find((function(e){return"TabBar"===e.$options.name})),l=a.$children.find((function(e){return"Layout"===e.$options.name}));l&&(a=l),a.$children.forEach((function(e){if(s!==e&&e.$children.length&&"Page"===e.$children[0].$options.name&&e.$children[0].$slots.page){var n=e.$children[0].$children.find((function(e){return"PageBody"===e.$options.name})),a=n&&n.$children.find((function(e){return!!e.$page}));if(a){var o=!0;!t&&s&&a.$page&&a.$page.meta.isTabBar&&(i.$route.meta&&i.$route.meta.isTabBar?i.$route.path!==a.$page.path&&(o=!1):s.__path__!==a.$page.path&&(o=!1)),o&&r.push(a)}}}))}var u=r.length;if(u>1){var c=r[u-1];c.$page.path!==i.$route.path&&r.splice(u-1,1)}return r}function l(e,t,n){a=t,a.$vm=t,a.globalData=a.$options.globalData||{},Object(r["d"])(e,a),Object(i["a"])(a,n)}}).call(this,n("3ad9")["default"])},"11fb":function(e,t,n){"use strict";n.r(t),n.d(t,"previewImage",(function(){return i}));var r=n("cb0f"),i={urls:{type:Array,required:!0,validator:function(e,t){var n;if(t.urls=e.map((function(e){if("string"===typeof e)return Object(r["a"])(e);n=!0})),n)return"url is not string"}},current:{type:[String,Number],validator:function(e,t){"number"===typeof e?t.current=e>0&&e should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}}}).call(this,n("3ad9")["default"])},"149e":function(e,t,n){"use strict";var r=n("cb0f");t["a"]={props:{id:{type:[Number,String],default:""},position:{type:Object,require:!0},iconPath:{type:String,require:!0},clickable:{type:Boolean,default:!1}},data:function(){return{control:null}},watch:{props:function(){this.updateControl()}},mounted:function(){var e=this;this.$parent.mapReady((function(){e.addControl()}))},beforeDestroy:function(){this.removeControl()},methods:{addControl:function(){var e=this;this.control=document.createElement("div");var t=this.control.style;t.position="absolute",t.width=0,t.height=0,t.top=0,t.left=0,t.zIndex=999;var n=new Image;n.src=Object(r["a"])(this.iconPath),n.onload=function(){e.position.width&&(n.width=e.position.width),e.position.height&&(n.height=e.position.height);var t=n.style;t.position="absolute",t.left=(e.position.left||0)+"px",t.top=(e.position.top||0)+"px",t.maxWidth="initial",e.control.appendChild(n),e.$parent.$el.appendChild(e.control)},n.onclick=function(t){e.clickable&&e.$parent.$trigger("controltap",t,{controlId:e.id}),t.stopPropagation()}},updateControl:function(){this.removeControl(),this.addControl()},removeControl:function(){this.control&&this.control.remove()}},render:function(){return null}}},1585:function(e,t,n){"use strict";n.r(t),n.d(t,"addPhoneContact",(function(){return r}));var r={firstName:{type:String,required:!0,validator:function(e){if(!e)return"addPhoneContact:fail parameter error: parameter.firstName should not be empty String;"}}}},"15bb":function(e,t,n){"use strict";(function(e){var r=n("f2b3");t["a"]={mounted:function(){var t=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"),a=[],o=this.textColor,s=0;s.5&&t._A<=.5?a.forEach((function(e){e.color=o})):s<=.5&&t._A>.5&&a.forEach((function(e){e.color="#fff"})),t._A=s,r&&(r.style.opacity=s),n.backgroundColor="rgba(".concat(t._R,",").concat(t._G,",").concat(t._B,",").concat(s,")"),c.forEach((function(e,t){var n=u[t],r=n.match(/[\d+\.]+/g);r[3]=(1-s)*(4===r.length?r[3]:1),e.backgroundColor="rgba(".concat(r,")")})))}))}else if("float"===this.type){for(var h=this.$el.querySelectorAll(".uni-btn-icon"),p=[],g=0;g\s]+))?)*)\s*(\/?)>/,i=/^<\/([-A-Za-z0-9_]+)[^>]*>/,a=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,o=h("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=h("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"),l=h("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=h("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),c=h("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),d=h("script,style");function f(e,t){var n,f,h,p=[],g=e;p.last=function(){return this[this.length-1]};while(e){if(f=!0,p.last()&&d[p.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),(function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n),""})),m("",p.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"),n>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),f=!1)):0==e.indexOf("=0;r--)if(p[r]==n)break}else var r=0;if(r>=0){for(var i=p.length-1;i>=r;i--)t.end&&t.end(p[i]);p.length=r}}m()}function h(e){for(var t={},n=e.split(","),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},a={title:{type:String,required:!0}}},1955:function(e,t,n){"use strict";n.r(t);var r=n("ba15"),i=n("8aec"),a=n("5363"),o=n("72b3"),s=n("d4cd");function l(e){var t=20,n=0,r=0;e.addEventListener("touchstart",(function(e){var t=e.changedTouches[0];n=t.clientX,r=t.clientY})),e.addEventListener("touchend",(function(e){var i=e.changedTouches[0];if(Math.abs(i.clientX-n)*{height: ").concat(e,"px;overflow: hidden;}"),document.head.appendChild(t)},_handleTrack:function(e){if(this._scroller)switch(e.detail.state){case"start":this._handleTouchStart(e),Object(s["a"])({disable:!0});break;case"move":this._handleTouchMove(e),e.stopPropagation();break;case"end":case"cancel":this._handleTouchEnd(e),Object(s["a"])({disable:!1})}},_handleTap:function(e){var t=e.clientY;if(!this._scroller.isScrolling()){var n=this.$el.getBoundingClientRect(),r=t-n.top-this.height/2,i=this.indicatorHeight/2;if(!(Math.abs(r)<=i)){var a=Math.ceil((Math.abs(r)-i)/this.indicatorHeight),o=r<0?-a:a,s=Math.min(this.current+o,this.length-1);this.current=s=Math.max(s,0),this._scroller.scrollTo(s*this.indicatorHeight)}}},_handleWheel:function(e){var t=this.deltaY+e.deltaY;if(Math.abs(t)>10){this.deltaY=0;var n=Math.min(this.current+(t<0?-1:1),this.length-1);this.current=n=Math.max(n,0),this._scroller.scrollTo(n*this.indicatorHeight)}else this.deltaY=t;e.preventDefault()},setCurrent:function(e){e!==this.current&&(this.current=e,this.inited&&this.update())},init:function(){var e=this;this.initScroller(this.$refs.content,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:this.indicatorHeight,friction:new a["a"](1e-4),spring:new o["a"](2,90,20),onSnap:function(t){isNaN(t)||t===e.current||(e.current=t)}}),this.inited=!0},update:function(){var e=this;this.$nextTick((function(){var t=Math.min(e.current,e.length-1);t=Math.max(t,0),e._scroller.update(t*e.indicatorHeight,void 0,e.indicatorHeight)}))},_resize:function(e){var t=e.height;this.indicatorHeight=t}},render:function(e){return this.length=this.$slots.default&&this.$slots.default.length||0,e("uni-picker-view-column",{on:{on:this.$listeners}},[e("div",{ref:"main",staticClass:"uni-picker-view-group",on:{wheel:this._handleWheel,click:this._handleTap}},[e("div",{ref:"mask",staticClass:"uni-picker-view-mask",class:this.maskClass,style:"background-size: 100% ".concat(this.maskSize,"px;").concat(this.maskStyle)}),e("div",{ref:"indicator",staticClass:"uni-picker-view-indicator",class:this.indicatorClass,style:this.indicatorStyle},[e("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}})]),e("div",{ref:"content",staticClass:"uni-picker-view-content",class:this.scope,style:"padding: ".concat(this.maskSize,"px 0;")},[this.$slots.default])])])}},f=d,h=(n("edfa"),n("2877")),p=Object(h["a"])(f,u,c,!1,null,null,null);t["default"]=p.exports},"19c4":function(e,t,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/add-phone-contact.js":"1585","./device/make-phone-call.js":"f102","./device/scan-code.js":"ea0f","./device/set-clipboard-data.js":"b501","./file/file.js":"2da2","./file/open-document.js":"2604","./location/choose-location.js":"e5bb","./location/get-location.js":"19d9","./location/open-location.js":"70bb","./media/choose-file.js":"0baa","./media/choose-image.js":"f1b2","./media/choose-video.js":"ed9f","./media/compress-image.js":"dc12","./media/compress-video.js":"5243","./media/get-image-info.js":"b866","./media/get-video-info.js":"3f15","./media/preview-image.js":"11fb","./media/save-image-to-photos-album.js":"4f53","./network/download-file.js":"439a","./network/request.js":"a201","./network/socket.js":"abb2","./network/upload-file.js":"9a3e","./plugin/get-provider.js":"4e7c","./plugin/load-sub-package.js":"d013","./plugin/pre-login.js":"f68f","./route/route.js":"332a","./storage/storage.js":"ec33","./ui/load-font-face.js":"5ff9","./ui/navigation-bar.js":"1934","./ui/page-scroll-to.js":"232e","./ui/popup.js":"2246","./ui/tab-bar.js":"5621"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="19c4"},"19d9":function(e,t,n){"use strict";n.r(t),n.d(t,"getLocation",(function(){return i}));var r=["wgs84","gcj02"],i={type:{type:String,validator:function(e,t){e=(e||"").toLowerCase(),t.type=r.indexOf(e)<0?r[0]:e}},altitude:{type:Boolean,default:!1}}},"1a12":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"request",(function(){return c}));var r=n("f2b3");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.url,a=t.delta,o=t.events,l=t.exists,u=t.animationType,c=t.animationDuration,d=t.from,f=void 0===d?"navigateBack":d,h=t.detail,p=getApp().$router;switch(delete p.$eventChannel,e){case"redirectTo":if("back"===l){var g=Object(r["a"])(n);if(-1!==g){var v=getCurrentPages().length-1-g;if(v>0)return s("navigateBack",{delta:v})}}p.replace({type:e,path:n});break;case"navigateTo":return p.$eventChannel=Object(i["a"])(o),p.push({type:e,path:n,animationType:u,animationDuration:c}),{errMsg:e+":ok",eventChannel:p.$eventChannel};case"navigateBack":var y=!0,m=getCurrentPages();if(m.length){var b=m[m.length-1];Object(r["c"])(b.$options,"onBackPress")&&!0===b.__call_hook("onBackPress",{from:f})&&(y=!1)}y&&(a>1&&(p._$delta=a),p.go(-a,{animationType:u,animationDuration:c}));break;case"reLaunch":p.replace({type:e,path:n});break;case"switchTab":p.replace({type:e,path:n,params:{detail:h}});break}return{errMsg:e+":ok"}}function l(e){return s("redirectTo",e)}function u(e){return s("navigateTo",e)}function c(e){return s("navigateBack",e)}function d(e){return s("reLaunch",e)}function f(e){return s("switchTab",e)}function h(e,t){var n=e.url,r=n.split("?")[0].replace(/\//g,"-");__uniConfig.__webpack_chunk_load__(r.substr(1)).then((function(){o(t,{url:n,errMsg:"preloadPage:ok"})})).catch((function(e){o(t,{url:n,errMsg:"preloadPage:fail "+e})}))}}.call(this,n("0dd1"))},"1b6f":function(e,t,n){"use strict";(function(e){var r=n("f2b3");t["a"]={mounted:function(){var e=this;this._toggleListeners("subscribe",this.id),this.$watch("id",(function(t,n){e._toggleListeners("unsubscribe",n,!0),e._toggleListeners("subscribe",t,!0)}))},beforeDestroy:function(){this._toggleListeners("unsubscribe",this.id),this._contextId&&this._toggleListeners("unsubscribe",this._contextId)},methods:{_toggleListeners:function(t,n,i){i&&!n||Object(r["k"])(this._handleSubscribe)&&e[t](this.$page.id+"-"+this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase()+"-"+n,this._handleSubscribe)},_getContextInfo:function(){var e="context-".concat(this._uid);return this._contextId||(this._toggleListeners("subscribe",e),this._contextId=e),{name:this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase(),id:e,page:this.$page.id}}}}}).call(this,n("501c"))},"1c64":function(e,t,n){"use strict";var r=n("60ee"),i=n.n(r);i.a},"1c73":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l}));var r={},i={};function a(e){for(var t=[],n=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"],r=0,i=n;r=0&&t.push("(".concat(o(a),": ").concat(Number(e[a]),"px)")),"orientation"===a&&e[a]&&t.push("(".concat(o(a),": ").concat(e[a],")"))}return t=t.join(" and "),t}function o(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function s(t){var n=t.reqId,o=t.options,s=r[n]=window.matchMedia(a(o)),l=i[n]=function(t){e.publishHandler("onRequestMediaQueryObserver",{reqId:n,res:t.matches})};l(s),s.addListener(l)}function l(t){var n=t.reqId,a=i[n],o=r[n];o&&(o.removeListener(a),delete r[n],e.publishHandler("onRequestMediaQueryObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"))},"1ca3":function(e,t,n){"use strict";n.r(t),n.d(t,"base64ToArrayBuffer",(function(){return i})),n.d(t,"arrayBufferToBase64",(function(){return a}));var r=n("8390");function i(e){return Object(r["decode"])(e)}function a(e){return Object(r["encode"])(e)}},"1e4d":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&(o.length=1),c.push("".concat(a,"(").concat(o.join(","),")"));else if(r.concat(i).includes(o[0])){a=o[0];var s=o[1];u[a]=i.includes(a)?p(s):s}})),u.transform=u.webkitTransform=c.join(" "),u.transition=u.webkitTransition=Object.keys(u).map((function(e){return"".concat(g(e)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")})).join(","),u.transformOrigin=u.webkitTransformOrigin=o.transformOrigin,u}function y(e){var t=e.animation;if(t&&t.actions&&t.actions.length){var n=0,r=t.actions,i=t.actions.length;setTimeout((function(){a()}),0)}function a(){var t=r[n],o=t.option.transition,s=v(t);Object.keys(s).forEach((function(t){e.$el.style[t]=s[t]})),n+=1,n=0&&this._callbacks.splice(t,1)}},{key:"offHeadersReceived",value:function(){}}]),e}(),u=Object.create(null);function c(e,t){var n=Object(i["c"])("createUploadTask",e),r=n.uploadTaskId,a=new l(r,t);return u[r]=a,a}Object(i["d"])("onUploadTaskStateChange",(function(e){var t=e.uploadTaskId,n=e.state,i=e.data,a=e.statusCode,o=e.progress,s=e.totalBytesSent,l=e.totalBytesExpectedToSend,c=e.errMsg,d=u[t],f=d._callbackId;switch(n){case"progressUpdate":d._callbacks.forEach((function(e){e({progress:o,totalBytesSent:s,totalBytesExpectedToSend:l})}));break;case"success":Object(r["a"])(f,{data:i,statusCode:a,errMsg:"request:ok"});case"fail":Object(r["a"])(f,{errMsg:"request:fail "+c});default:setTimeout((function(){delete u[t]}),100);break}}))},2190:function(e,t,n){},2209:function(e){e.exports=JSON.parse('{"uni.app.quit":"再按一次退出应用","uni.async.error":"连接服务器超时,点击屏幕重试","uni.showActionSheet.cancel":"取消","uni.showToast.unpaired":"请注意 showToast 与 hideToast 必须配对使用","uni.showLoading.unpaired":"请注意 showLoading 与 hideLoading 必须配对使用","uni.showModal.cancel":"取消","uni.showModal.confirm":"确定","uni.chooseImage.cancel":"取消","uni.chooseImage.sourceType.album":"从相册选择","uni.chooseImage.sourceType.camera":"拍摄","uni.chooseVideo.cancel":"取消","uni.chooseVideo.sourceType.album":"从相册选择","uni.chooseVideo.sourceType.camera":"拍摄","uni.chooseFile.notUserActivation":"文件选择器对话框只能在由用户激活时显示","uni.previewImage.cancel":"取消","uni.previewImage.button.save":"保存图像","uni.previewImage.save.success":"保存图像到相册成功","uni.previewImage.save.fail":"保存图像到相册失败","uni.setClipboardData.success":"内容已复制","uni.scanCode.title":"扫码","uni.scanCode.album":"相册","uni.scanCode.fail":"识别失败","uni.scanCode.flash.on":"轻触照亮","uni.scanCode.flash.off":"轻触关闭","uni.startSoterAuthentication.authContent":"指纹识别中...","uni.picker.done":"完成","uni.picker.cancel":"取消","uni.video.danmu":"弹幕","uni.video.volume":"音量","uni.button.feedback.title":"问题反馈","uni.button.feedback.send":"发送","uni.chooseLocation.search":"搜索地点","uni.chooseLocation.cancel":"取消"}')},2246:function(e,t,n){"use strict";n.r(t),n.d(t,"showModal",(function(){return a})),n.d(t,"showToast",(function(){return o})),n.d(t,"showLoading",(function(){return s})),n.d(t,"showActionSheet",(function(){return l}));var r=n("a6b0"),i=n("cb0f"),a={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:function(){return Object(r["g"])("uni.showModal.cancel")}},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:function(){return Object(r["g"])("uni.showModal.confirm")}},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!0}},o={title:{type:String,default:""},icon:{default:"success",validator:function(e,t){-1===["success","loading","error","none"].indexOf(e)&&(t.icon="success")}},image:{type:String,default:"",validator:function(e,t){e&&(t.image=Object(i["a"])(e))}},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},s={title:{type:String,default:""},icon:{type:String,default:"loading"},duration:{type:Number,default:1e8},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},l={itemList:{type:Array,required:!0,validator:function(e,t){if(!e.length)return"parameter.itemList should have at least 1 item"}},itemColor:{type:String,default:"#000000"},visible:{type:Boolean,default:!0},popover:{type:Object}}},2289:function(e,t,n){"use strict";n.r(t),n.d(t,"upx2px",(function(){return r}));var r=[{name:"upx",type:[Number,String],required:!0}]},"232e":function(e,t,n){"use strict";n.r(t),n.d(t,"pageScrollTo",(function(){return r}));var r={scrollTop:{type:Number},duration:{type:Number,default:300,validator:function(e,t){t.duration=Math.max(0,e)}}}},2399:function(e,t,n){},"23e5":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return g}));var r=n("a741");function i(e){-1===this.keepAliveInclude.indexOf(e)&&this.keepAliveInclude.push(e)}var a=[];function o(e){if("number"===typeof e)a=this.keepAliveInclude.splice(-(e-1)).map((function(e){return parseInt(e.split("-").pop())}));else{var t=this.keepAliveInclude.indexOf(e);-1!==t&&this.keepAliveInclude.splice(t,1)}}var s=Object.create(null);function l(e){return s[e]}function u(e){s[e]={x:window.pageXOffset,y:window.pageYOffset}}function c(e,t,n){t&&n&&t.meta.isTabBar&&n.meta.isTabBar&&u(n.params.__id__);for(var i=getCurrentPages(),a=i.length-1;a>=0;a--){var s=i[a],l=s.$page.meta;l.isTabBar||(o.call(this,l.name+"-"+s.$page.id),Object(r["b"])(s,"onUnload"))}}function d(e){__uniConfig.reLaunch=(__uniConfig.reLaunch||1)+1;for(var t=getCurrentPages(!0),n=t.length-1;n>=0;n--)Object(r["b"])(t[n],"onUnload"),t[n].$destroy();this.keepAliveInclude=[],s=Object.create(null)}var f=[];function h(e,t,n,r){f=getCurrentPages(!0);var a=t.params.__id__,s=e.params.__id__,l=e.meta.name+"-"+s;if(s===a&&"reLaunch"!==e.type)e.fullPath!==t.fullPath?(i.call(this,l),n()):n(!1);else if(e.meta.id&&e.meta.id!==s)n({path:e.path,replace:!0});else{var u=t.meta.name+"-"+a;switch(e.type){case"navigateTo":break;case"redirectTo":o.call(this,u),t.meta&&t.meta.isQuit&&(e.meta.isQuit=!0,e.meta.isEntry=!!t.meta.isEntry);break;case"switchTab":c.call(this,r,e,t);break;case"reLaunch":d.call(this,l),e.meta.isQuit=!0;break;default:a&&a>s&&(o.call(this,u),this.$router._$delta>1&&o.call(this,this.$router._$delta));break}if("reLaunch"!==e.type&&"redirectTo"!==e.type&&t.meta.id&&i.call(this,u),i.call(this,l),e.meta&&e.meta.name){document.body.className="uni-body "+e.meta.name;var h="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.meta.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(h,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(h))}n()}}function p(t,n){var i=n.params.__id__,o=t.params.__id__,s=f.find((function(e){return e.$page.id===i}));function l(e){if(e){Object(r["b"])(e,"onUnload");var t=f.indexOf(e);t>=0&&f.splice(t,1)}}switch(t.type){case"navigateTo":s&&Object(r["b"])(s,"onHide");break;case"redirectTo":l(s);break;case"switchTab":n.meta.isTabBar&&s&&Object(r["b"])(s,"onHide");break;case"reLaunch":break;default:i&&i>o&&(l(s),this.$router._$delta>1&&a.reverse().forEach((function(e){var t=f.find((function(t){return t.$page.id===e}));l(t)})));break}if(delete this.$router._$delta,a.length=0,"reLaunch"!==t.type){var u=getCurrentPages(!0).find((function(e){return e.$page.id===o}));u&&(setTimeout((function(){e.emit("onNavigationBarChange",u.$parent.$parent.navigationBar),Object(r["b"])(u,"onShow")}),0),document.title=u.$parent.$parent.navigationBar.titleText)}}function g(e,t){e.$router.beforeEach((function(n,r,i){h.call(e,n,r,i,t)})),e.$router.afterEach((function(t,n){p.call(e,t,n)}))}}).call(this,n("0dd1"))},"24d9":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n("f2b3");function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e){return e.mp=Object.assign({"@warning":"mp is deprecated"},e),e._processed=!0,e}function o(e,t){return Object(r["l"])(t)&&(Object(r["i"])(t,"backgroundColor")&&(e.backgroundColor=t.backgroundColor),Object(r["i"])(t,"buttons")&&(e.buttons=t.buttons),Object(r["i"])(t,"titleColor")&&(e.textColor=t.titleColor),Object(r["i"])(t,"titleText")&&(e.titleText=t.titleText),Object(r["i"])(t,"titleSize")&&(e.titleSize=t.titleSize),Object(r["i"])(t,"type")&&(e.type=t.type),Object(r["i"])(t,"searchInput")&&"object"===i(t.searchInput)&&(e.searchInput=Object.assign({autoFocus:!1,align:"center",color:"#000000",backgroundColor:"rgba(255,255,255,0.5)",borderRadius:"0px",placeholder:"",placeholderColor:"#CCCCCC",disabled:!1},t.searchInput))),e}},"250d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-input",e._g({},e.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-input-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(e.composing||e.valueSync.length||"-"===e.cachedValue),expression:"!(composing || valueSync.length || cachedValue === '-')"}],ref:"placeholder",staticClass:"uni-input-placeholder",class:e.placeholderClass,style:e.placeholderStyle,domProps:{textContent:e._s(e.placeholder)}}),"checkbox"!==e.inputType||e.disabled&&e.fixColor?"radio"!==e.inputType||e.disabled&&e.fixColor?e.disabled&&e.fixColor?e._e():n("input",{directives:[{name:"model",rawName:"v-model",value:e.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:e.disabled,maxlength:e.maxlength,step:e._step,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":null,autocomplete:e.autocomplete,type:e.inputType},domProps:{value:e.valueSync},on:{change:function(e){e.stopPropagation()},focus:e._onFocus,blur:e._onBlur,input:[function(t){t.target.composing||(e.valueSync=t.target.value)},function(t){return t.stopPropagation(),e._onInput(t)}],compositionstart:function(t){return t.stopPropagation(),e._onComposition(t)},compositionend:function(t){return t.stopPropagation(),e._onComposition(t)},compositionupdate:function(t){return t.stopPropagation(),e._onComposition(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e._onKeyup(t))}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:e.disabled,maxlength:e.maxlength,step:e._step,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":null,autocomplete:e.autocomplete,type:"radio"},domProps:{checked:e._q(e.valueSync,null)},on:{change:[function(t){e.valueSync=null},function(e){e.stopPropagation()}],focus:e._onFocus,blur:e._onBlur,input:function(t){return t.stopPropagation(),e._onInput(t)},compositionstart:function(t){return t.stopPropagation(),e._onComposition(t)},compositionend:function(t){return t.stopPropagation(),e._onComposition(t)},compositionupdate:function(t){return t.stopPropagation(),e._onComposition(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e._onKeyup(t))}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:e.disabled,maxlength:e.maxlength,step:e._step,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":null,autocomplete:e.autocomplete,type:"checkbox"},domProps:{checked:Array.isArray(e.valueSync)?e._i(e.valueSync,null)>-1:e.valueSync},on:{change:[function(t){var n=e.valueSync,r=t.target,i=!!r.checked;if(Array.isArray(n)){var a=null,o=e._i(n,a);r.checked?o<0&&(e.valueSync=n.concat([a])):o>-1&&(e.valueSync=n.slice(0,o).concat(n.slice(o+1)))}else e.valueSync=i},function(e){e.stopPropagation()}],focus:e._onFocus,blur:e._onBlur,input:function(t){return t.stopPropagation(),e._onInput(t)},compositionstart:function(t){return t.stopPropagation(),e._onComposition(t)},compositionend:function(t){return t.stopPropagation(),e._onComposition(t)},compositionupdate:function(t){return t.stopPropagation(),e._onComposition(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e._onKeyup(t))}}}),e.disabled&&e.fixColor?n("input",{ref:"input",staticClass:"uni-input-input",attrs:{tabindex:"-1",readonly:e.disabled,type:e.inputType,maxlength:e.maxlength,step:e._step},domProps:{value:e.valueSync},on:{focus:function(e){return e.target.blur()}}}):e._e()])])},i=[],a=n("8af1"),o=n("f2b3"),s=["text","number","idcard","digit","password","tel"],l=["number","digit"],u=["off","one-time-code"],c={name:"Input",mixins:[a["b"]],props:{name:{type:String,default:""},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:"input-placeholder"},disabled:{type:[Boolean,String],default:!1},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},textContentType:{type:String,default:""},step:{type:String,default:"0.000000000000000001"}},data:function(){return{wrapperHeight:0,cachedValue:""}},computed:{inputType:function(){var e="";switch(this.type){case"text":"search"===this.confirmType&&(e="search");break;case"idcard":e="text";break;case"digit":e="number";break;default:e=~s.indexOf(this.type)?this.type:"text";break}return this.password?"password":e},_step:function(){return~l.indexOf(this.type)?this.step:""},autocomplete:function(){var e=u.indexOf(this.textContentType),t=u.indexOf(Object(o["n"])(this.textContentType)),n=-1!==e?e:-1!==t?t:0;return u[n]}},watch:{maxlength:function(e){var t=this.valueSync.slice(0,parseInt(e,10));t!==this.valueSync&&(this.valueSync=t)},valueSync:function(e){"number"!==this.type||"-"===this.cachedValue&&""===e||(this.cachedValue=e)}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){if("search"===this.confirmType){var e=document.createElement("form");e.action="",e.onsubmit=function(){return!1},e.className="uni-input-form",e.appendChild(this.$refs.input),this.$refs.wrapper.appendChild(e)}var t=this;while(t){var n=t.$options._scopeId;n&&this.$refs.placeholder.setAttribute(n,""),t=t.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyup:function(e){var t=e.target;this.$trigger("confirm",e,{value:t.value}),this.confirmHold||t.blur()},_onInput:function(e,t){var n=this,r=!1;if(!this.composing||!this.ignoreCompositionEvent){if("number"===this.inputType){var i=parseInt(this.maxlength,10);if(i>0&&e.target.value.length>i&&(this.cachedValue.length===i?(this.valueSync=this.cachedValue,r=!0):(e.target.value=e.target.value.slice(0,i),this.valueSync=e.target.value)),this.__clearCachedValue&&e.target.removeEventListener("blur",this.__clearCachedValue),e.target.validity&&!e.target.validity.valid){if(!this.cachedValue&&"-"===e.data||"-"===this.cachedValue[0]&&"deleteContentBackward"===e.inputType){this.cachedValue="-";var a=this.__clearCachedValue=function(){n.cachedValue=""};return void e.target.addEventListener("blur",a)}return void(this.cachedValue=this.valueSync=e.target.value="-"===this.cachedValue?"":this.cachedValue)}this.cachedValue=this.valueSync}r||(this.ignoreCompositionEvent||(this.valueSync=this.$refs.input.value),this.$triggerInput(e,{value:this.valueSync},t))}},_onComposition:function(e){switch(e.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(e));break}!this.ignoreCompositionEvent&&this.$trigger(e.type,e,{data:e.data})},_resetFormData:function(){this.valueSync=""},_getFormData:function(){return this.name?{value:this.valueSync,key:this.name}:{}}}},d=c,f=(n("0f55"),n("2877")),h=Object(f["a"])(d,r,i,!1,null,null,null);t["default"]=h.exports},"25ce":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-checkbox-group",e._g({},e.$listeners),[e._t("default")],2)},i=[],a=n("8af1"),o={name:"CheckboxGroup",mixins:[a["a"],a["f"]],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(e){var t=[];this.checkboxList.forEach((function(e){e.checkboxChecked&&t.push(e.value)})),this.$trigger("change",e,{value:t})},_checkboxGroupUpdateHandler:function(e){if("add"===e.type)this.checkboxList.push(e.vm);else{var t=this.checkboxList.indexOf(e.vm);this.checkboxList.splice(t,1)}},_getFormData:function(){var e={};if(""!==this.name){var t=[];this.checkboxList.forEach((function(e){e.checkboxChecked&&t.push(e.value)})),e.value=t,e.key=this.name}return e}}},s=o,l=(n("0998"),n("2877")),u=Object(l["a"])(s,r,i,!1,null,null,null);t["default"]=u.exports},2604:function(e,t,n){"use strict";n.r(t),n.d(t,"openDocument",(function(){return r}));var r={filePath:{type:String,required:!0},fileType:{type:String}}},2608:function(e,t,n){"use strict";(function(e){function r(t){return function(){try{return t.apply(t,arguments)}catch(n){e.error(n)}}}function i(t){return function(){try{return t.apply(t,arguments)}catch(n){e.error(n)}}}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}))}).call(this,n("3ad9")["default"])},2765:function(e,t,n){"use strict";var r=n("3590"),i=n.n(r);i.a},"27a7":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"d",(function(){return x})),n.d(t,"c",(function(){return M}));var r=n("f2b3"),i=n("2608"),a=n("ed1a"),o=n("6710"),s=n("cc76"),l=n("de29");function u(e,t,n){var r="".concat(t,":fail ").concat(e);if(-1===n)throw new Error(r);return"number"===typeof n&&b(n,{errMsg:r}),!1}var c=[{name:"callback",type:Function,required:!0}],d=["beforeValidate","beforeAll","beforeSuccess"];function f(e,t,n){var i=s["a"][e];if(!i&&Object(a["a"])(e)&&(i=c),i){if(Array.isArray(i)&&Array.isArray(t)){var o=Object.create(null),f=Object.create(null),h=t.length;i.forEach((function(e,n){o[e.name]=e,h>n&&(f[e.name]=t[n])})),i=o,t=f}if(Object(r["k"])(i.beforeValidate)){var p=i.beforeValidate(t);if(p)return u(p,e,n)}for(var g=Object.keys(i),v=0;v1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(r["l"])(t))return{params:t};t=Object.assign({},t);var a=Object(o["a"])(t),s=a.success,l=a.fail,u=a.cancel,c=a.complete,d=Object(r["k"])(s),f=Object(r["k"])(l),g=Object(r["k"])(u),v=Object(r["k"])(c);if(!d&&!f&&!g&&!v)return{params:t};var y={};for(var m in n){var b=n[m];Object(r["k"])(b)&&(y[m]=Object(i["b"])(b))}var _=y.beforeSuccess,x=y.afterSuccess,w=y.beforeFail,S=y.afterFail,M=y.beforeCancel,T=y.afterCancel,A=y.beforeAll,C=y.afterAll,O=h++,k="api."+e+"."+O,I=function(n){if(n.errMsg=n.errMsg||e+":ok",-1!==n.errMsg.indexOf(":ok"))n.errMsg=e+":ok";else if(-1!==n.errMsg.indexOf(":cancel"))n.errMsg=e+":cancel";else if(-1!==n.errMsg.indexOf(":fail")){var i="",a=n.errMsg.indexOf(" ");a>-1&&(i=n.errMsg.substr(a)),n.errMsg=e+":fail"+i}Object(r["k"])(A)&&A(n);var o=n.errMsg;0===o.indexOf(e+":ok")?(Object(r["k"])(_)&&_(n,t),d&&s(n),Object(r["k"])(x)&&x(n)):0===o.indexOf(e+":cancel")?(n.errMsg=n.errMsg.replace(e+":cancel",e+":fail cancel"),f&&l(n),Object(r["k"])(M)&&M(n),g&&u(n),Object(r["k"])(T)&&T(n)):0===o.indexOf(e+":fail")&&(Object(r["k"])(w)&&w(n),f&&l(n),Object(r["k"])(S)&&S(n)),v&&c(n),Object(r["k"])(C)&&C(n)};return p[O]={name:k,callback:I},{params:t,callbackId:O}}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=y(e,t,n),a=i.params,o=i.callbackId;return Object(r["l"])(a)&&!f(e,a,o)?{params:a,callbackId:!1}:{params:a,callbackId:o}}function b(e,t,n){if("number"===typeof e){var r=p[e];if(r)return r.keepAlive||delete p[e],r.callback(t,n)}return t}function _(e){delete p[e]}function x(t){return function(n){e.error("API `"+t+"` is not yet implemented")}}function w(e,t){var n=s["a"][e];n&&(Object(r["k"])(n.beforeAll)&&(t.beforeAll=n.beforeAll),Object(r["k"])(n.beforeSuccess)&&(t.beforeSuccess=n.beforeSuccess))}var S=["getPushClientId","onPushMessage","offPushMessage"];function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return S.indexOf(e)>-1||!Object(r["k"])(t)?t:(w(e,n),function(){for(var i=arguments.length,o=new Array(i),s=0;se.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?t-1:0),r=1;r0;)this.emit.apply(this,[e].concat(t.shift()))}},{key:"_addListener",value:function(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}]),e}()},"28da":function(e,t,n){},"29a2":function(e,t,n){},"2bdd":function(e,t,n){"use strict";n.r(t),function(e){var r;n.d(t,"startAccelerometer",(function(){return a})),n.d(t,"stopAccelerometer",(function(){return o})),n.d(t,"onAccelerometerChange",(function(){return s})),n.d(t,"offAccelerometerChange",(function(){return l}));var i=[];function a(t,n){var a=e,o=a.invokeCallbackHandler;if(!window.DeviceMotionEvent)return{errMsg:"startAccelerometer:fail"};function s(){r=function(e){var t=e.acceleration||e.accelerationIncludingGravity;i.forEach((function(e){o(e,{x:t.x||0,y:t.y||0,z:t.z||0})}))},window.addEventListener("devicemotion",r,!1)}if(!r){if(DeviceMotionEvent.requestPermission)return void DeviceMotionEvent.requestPermission().then((function(e){"granted"===e?(s(),o(n,{errMsg:"startAccelerometer:ok"})):o(n,{errMsg:"startAccelerometer:fail ".concat(e)})})).catch((function(e){o(n,{errMsg:"startAccelerometer:fail ".concat(e)})}));s()}return{}}function o(){return r&&(window.removeEventListener("devicemotion",r,!1),r=null),{}}function s(e){i.length||a(),i.push(e)}function l(e){if(e){var t=i.indexOf(e);t>=0&&i.splice(t,1)}i.length||o()}}.call(this,n("0dd1"))},"2c45":function(e,t,n){},"2c67":function(e,t,n){"use strict";n.r(t),function(e){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0?p:255,[d,f,h,p]}return r.error("unsupported color:"+e),[0,0,0,255]}function S(e,t){this.type="pattern",this.data=e,this.colorStop=t}var M=function(){function e(t,n){v(this,e),this.type=t,this.data=n,this.colorStop=[]}return m(e,[{key:"addColorStop",value:function(e,t){this.colorStop.push([e,w(t)])}}]),e}(),T=["scale","rotate","translate","setTransform","transform"],A=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],C=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];function O(e,t){var n=document.createElement("canvas"),r=n.getContext("2d");return r.font=t,r.measureText(e).width||0}function k(e){this.width=e}var I=function(){function e(t,n){v(this,e),this.id=t,this.pageId=n,this.actions=[],this.path=[],this.subpath=[],this.currentTransform=[],this.currentStepAnimates=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}return m(e,[{key:"draw",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=c(this.actions);this.actions=[],this.path=[],"function"===typeof n&&(e=b.push(n)),_(this.id,this.pageId,"actionsChanged",{actions:r,reserve:t,callbackId:e})}},{key:"createLinearGradient",value:function(e,t,n,r){return new M("linear",[e,t,n,r])}},{key:"createCircularGradient",value:function(e,t,n){return new M("radial",[e,t,n])}},{key:"createPattern",value:function(e,t){if(void 0===t)r.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new S(e,t);r.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}},{key:"measureText",value:function(e){var t=this.state.font,n=0;return n=O(e,t),new k(n)}},{key:"save",value:function(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}},{key:"restore",value:function(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}},{key:"beginPath",value:function(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}},{key:"moveTo",value:function(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}},{key:"lineTo",value:function(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}},{key:"quadraticCurveTo",value:function(e,t,n,r){this.path.push({method:"quadraticCurveTo",data:[e,t,n,r]}),this.subpath.push([n,r])}},{key:"bezierCurveTo",value:function(e,t,n,r,i,a){this.path.push({method:"bezierCurveTo",data:[e,t,n,r,i,a]}),this.subpath.push([i,a])}},{key:"arc",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.path.push({method:"arc",data:[e,t,n,r,i,a]}),this.subpath.push([e,t])}},{key:"rect",value:function(e,t,n,r){this.path.push({method:"rect",data:[e,t,n,r]}),this.subpath=[[e,t]]}},{key:"arcTo",value:function(e,t,n,r,i){this.path.push({method:"arcTo",data:[e,t,n,r,i]}),this.subpath.push([n,r])}},{key:"clip",value:function(){this.actions.push({method:"clip",data:c(this.path)})}},{key:"closePath",value:function(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}},{key:"clearActions",value:function(){this.actions=[],this.path=[],this.subpath=[]}},{key:"getActions",value:function(){var e=c(this.actions);return this.clearActions(),e}},{key:"lineDashOffset",set:function(e){this.actions.push({method:"setLineDashOffset",data:[e]})}},{key:"globalCompositeOperation",set:function(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}},{key:"shadowBlur",set:function(e){this.actions.push({method:"setShadowBlur",data:[e]})}},{key:"shadowColor",set:function(e){this.actions.push({method:"setShadowColor",data:[e]})}},{key:"shadowOffsetX",set:function(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}},{key:"shadowOffsetY",set:function(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}},{key:"font",set:function(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var i=n[1].trim().split(/\s/),a=parseFloat(n[3]),o=n[7],s=[];i.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&l()})),1===i.length&&l(),i=s.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=a,this.state.fontFamily=o,this.actions.push({method:"setFont",data:["".concat(i," ").concat(a,"px ").concat(o)]})}else r.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function l(){s.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}},get:function(){return this.state.font}},{key:"fillStyle",set:function(e){this.setFillStyle(e)}},{key:"strokeStyle",set:function(e){this.setStrokeStyle(e)}},{key:"globalAlpha",set:function(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}},{key:"textAlign",set:function(e){this.actions.push({method:"setTextAlign",data:[e]})}},{key:"lineCap",set:function(e){this.actions.push({method:"setLineCap",data:[e]})}},{key:"lineJoin",set:function(e){this.actions.push({method:"setLineJoin",data:[e]})}},{key:"lineWidth",set:function(e){this.actions.push({method:"setLineWidth",data:[e]})}},{key:"miterLimit",set:function(e){this.actions.push({method:"setMiterLimit",data:[e]})}},{key:"textBaseline",set:function(e){this.actions.push({method:"setTextBaseline",data:[e]})}}]),e}();function P(t,n){if(n)return new I(t,n.$page.id);var r=Object(o["a"])();if(r)return new I(t,r);e.emit("onError","createCanvasContext:fail")}function E(e,t){var n=e.canvasId,r=e.x,i=e.y,a=e.width,l=e.height,u=Object(o["a"])();if(u){var c=b.push((function(e){var n=e.data;n&&n.length&&(e.data=new Uint8ClampedArray(n)),Object(s["a"])(t,e)}));_(n,u,"getImageData",{x:r,y:i,width:a,height:l,callbackId:c})}else Object(s["a"])(t,{errMsg:"canvasGetImageData:fail"})}function L(e,t){var n=e.canvasId,r=e.data,i=e.x,a=e.y,l=e.width,u=e.height,c=Object(o["a"])();if(c){var d,f=b.push((function(e){Object(s["a"])(t,e)}));r=Array.prototype.slice.call(r),_(n,c,"putImageData",{data:r,x:i,y:a,width:l,height:u,compressed:d,callbackId:f})}else Object(s["a"])(t,{errMsg:"canvasPutImageData:fail"})}function D(e,t){var n=e.x,r=void 0===n?0:n,i=e.y,a=void 0===i?0:i,u=e.width,c=e.height,d=e.destWidth,f=e.destHeight,h=e.canvasId,p=e.fileType,g=e.quality,v=Object(o["a"])();if(v){var y=b.push((function(e){Object(s["a"])(t,e)})),m="".concat(l["TEMP_PATH"],"/canvas");_(h,v,"toTempFilePath",{x:r,y:a,width:u,height:c,destWidth:d,destHeight:f,fileType:p,quality:g,dirname:m,callbackId:y})}else Object(s["a"])(t,{errMsg:"canvasToTempFilePath:fail"})}[].concat(T,A).forEach((function(e){function t(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:c(this.path)})};case"fillRect":return function(e,t,n,r){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,r]}]})};case"strokeRect":return function(e,t,n,r){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,r]}]})};case"fillText":case"strokeText":return function(t,n,r,i){var a=[t.toString(),n,r];"number"===typeof i&&a.push(i),this.actions.push({method:e,data:a})};case"drawImage":return function(t,n,r,i,a,o,s,l,u){var c;function d(e){return"number"===typeof e}void 0===u&&(o=n,s=r,l=i,u=a,n=void 0,r=void 0,i=void 0,a=void 0),c=d(n)&&d(r)&&d(i)&&d(a)?[t,o,s,l,u,n,r,i,a]:d(l)&&d(u)?[t,o,s,l,u]:[t,o,s],this.actions.push({method:e,data:c})};default:return function(){for(var t=arguments.length,n=new Array(t),r=0;r0&&e<1/0?e:0;var t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=Math.floor(e%3600%60);t=(t<10?"0":"")+t,n=(n<10?"0":"")+n,r=(r<10?"0":"")+r;var i=n+":"+r;return"00"!==t&&(i=t+":"+i),i}},mixins:[s["c"],a["g"],a["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:""},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},showCenterPlayBtn:{type:[Boolean,String],default:!0}},data:function(){return{start:!1,playing:!1,currentTime:0,durationTime:0,progress:0,touching:!1,enableDanmuSync:Boolean(this.enableDanmu),controlsVisible:!0,fullscreen:!1,controlsTouching:!1,touchStartOrigin:{x:0,y:0},gestureType:u.NONE,currentTimeOld:0,currentTimeNew:0,volumeOld:null,volumeNew:null,buffered:0,isSafari:/^Apple/.test(navigator.vendor)}},computed:{centerPlayBtnShow:function(){return this.showCenterPlayBtn&&!this.start},controlsShow:function(){return!this.centerPlayBtnShow&&this.controls&&this.controlsVisible},autoHideContorls:function(){return this.controlsShow&&this.playing&&!this.controlsTouching},srcSync:function(){return this.$getRealPath(this.src)}},watch:{enableDanmuSync:function(e){this.$emit("update:enableDanmu",e)},autoHideContorls:function(e){e?this.autoHideStart():this.autoHideEnd()},srcSync:function(e){this.playing=!1,this.currentTime=0},currentTime:function(){this.updateProgress()},duration:function(){this.updateProgress()},buffered:function(e){0!==e&&this.$trigger("progress",{},{buffered:e})}},created:function(){this.otherData={danmuList:[],danmuIndex:{time:0,index:-1},hideTiming:null};var e=this.otherData.danmuList=JSON.parse(JSON.stringify(this.danmuList||[]));e.sort((function(e,t){return(e.time||0)-(t.time||0)}))},mounted:function(){var e,t,n,r=this,i=this,a=!0,o=this.$refs.ball;function s(r){var o=r.targetTouches[0],s=o.pageX,l=o.pageY;if(a&&Math.abs(s-e)100&&(d=100),i.progress=d,r.preventDefault(),r.stopPropagation()}}function u(e){i.controlsTouching=!1,i.touching&&(o.removeEventListener("touchmove",s,l),a||(e.preventDefault(),e.stopPropagation(),i.seek(i.$refs.video.duration*i.progress/100)),i.touching=!1)}o.addEventListener("touchstart",(function(i){r.controlsTouching=!0;var u=i.targetTouches[0];e=u.pageX,t=u.pageY,n=r.progress,a=!0,r.touching=!0,o.addEventListener("touchmove",s,l)})),o.addEventListener("touchend",u),o.addEventListener("touchcancel",u)},beforeDestroy:function(){this.triggerFullscreen(!1),clearTimeout(this.otherData.hideTiming)},methods:{_handleSubscribe:function(e){var t,n=e.type,r=e.data,i=void 0===r?{}:r,a=["play","pause","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"];switch(n){case"seek":t=i.position;break;case"sendDanmu":t=i;break;case"playbackRate":t=i.rate;break}a.indexOf(n)>=0&&this[n](t)},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(e){e=Number(e),"number"!==typeof e||isNaN(e)||(this.$refs.video.currentTime=e)},clickProgress:function(e){var t=this.$refs.progress,n=e.target,r=e.offsetX;while(n!==t)r+=n.offsetLeft,n=n.parentNode;var i=t.offsetWidth,a=0;r>=0&&r<=i&&(a=r/i,this.seek(this.$refs.video.duration*a))},triggerDanmu:function(){this.enableDanmuSync=!this.enableDanmuSync},playDanmu:function(e){var t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;var n="bottom: ".concat(100*Math.random(),"%;color: ").concat(e.color,";");t.setAttribute("style",n),this.$refs.danmu.appendChild(t),setTimeout((function(){n+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",n),setTimeout((function(){t.remove()}),4e3)}),17)},sendDanmu:function(e){var t=this.otherData;t.danmuList.splice(t.danmuIndex.index+1,0,{text:String(e.text),color:e.color,time:this.$refs.video.currentTime||0})},playbackRate:function(e){this.$refs.video.playbackRate=e},triggerFullscreen:function(e){var t,n=this.$refs.container,r=this.$refs.video;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||this.isSafari&&!this.userInteract?r.webkitEnterFullScreen?r.webkitEnterFullScreen():(t=!0,n.remove(),n.classList.add("uni-video-type-fullscreen"),document.body.appendChild(n)):n[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():r.webkitExitFullScreen?r.webkitExitFullScreen():(t=!0,n.remove(),n.classList.remove("uni-video-type-fullscreen"),this.$el.appendChild(n)),t&&this.emitFullscreenChange(e)},onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||this.emitFullscreenChange(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:function(e){this.fullscreen=e,this.$trigger("fullscreenchange",{},{fullScreen:e,direction:"vertical"})},requestFullScreen:function(){this.triggerFullscreen(!0)},exitFullScreen:function(){this.triggerFullscreen(!1)},onDurationChange:function(e){var t=e.target;this.durationTime=t.duration},onLoadedMetadata:function(e){var t=Number(this.initialTime)||0,n=e.target;t>0&&(n.currentTime=t),this.$trigger("loadedmetadata",e,{width:n.videoWidth,height:n.videoHeight,duration:n.duration}),this.onProgress(e)},onProgress:function(e){var t=e.target,n=t.buffered;n.length&&(this.buffered=n.end(n.length-1)/t.duration*100)},onWaiting:function(e){this.$trigger("waiting",e,{})},onVideoError:function(e){this.playing=!1,this.$trigger("error",e,{})},onPlay:function(e){this.start=!0,this.playing=!0,this.$trigger("play",e,{})},onPause:function(e){this.playing=!1,this.$trigger("pause",e,{})},onEnded:function(e){this.playing=!1,this.$trigger("ended",e,{})},onTimeUpdate:function(e){var t=e.target,n=this.otherData,r=this.currentTime=t.currentTime,i=n.danmuIndex,a={time:r,index:i.index},o=n.danmuList;if(r>i.time)for(var s=i.index+1;s=(l.time||0)))break;a.index=s,this.playing&&this.enableDanmuSync&&this.playDanmu(l)}else if(r-1;u--){var c=o[u];if(!(r<=(c.time||0)))break;a.index=u-1}n.danmuIndex=a,this.$trigger("timeupdate",e,{currentTime:r,duration:t.duration})},triggerControls:function(){this.controlsVisible=!this.controlsVisible},touchstart:function(e){var t=e.targetTouches[0];this.touchStartOrigin={x:t.pageX,y:t.pageY},this.gestureType=u.NONE,this.volumeOld=null,this.currentTimeOld=this.currentTimeNew=0},touchmove:function(e){function t(){e.stopPropagation(),e.preventDefault()}this.fullscreen&&t();var n=this.gestureType;if(n!==u.STOP){var r=e.targetTouches[0],i=r.pageX,a=r.pageY,o=this.touchStartOrigin;if(n===u.PROGRESS?this.changeProgress(i-o.x):n===u.VOLUME&&this.changeVolume(a-o.y),n===u.NONE)if(Math.abs(i-o.x)>Math.abs(a-o.y)){if(!this.enableProgressGesture)return void(this.gestureType=u.STOP);this.gestureType=u.PROGRESS,this.currentTimeOld=this.currentTimeNew=this.$refs.video.currentTime,this.fullscreen||t()}else{if(!this.pageGesture)return void(this.gestureType=u.STOP);this.gestureType=u.VOLUME,this.volumeOld=this.$refs.video.volume,this.fullscreen||t()}}},touchend:function(e){this.gestureType!==u.NONE&&this.gestureType!==u.STOP&&(e.stopPropagation(),e.preventDefault()),this.gestureType===u.PROGRESS&&this.currentTimeOld!==this.currentTimeNew&&(this.$refs.video.currentTime=this.currentTimeNew),this.gestureType=u.NONE},changeProgress:function(e){var t=this.$refs.video.duration,n=e/600*t+this.currentTimeOld;n<0?n=0:n>t&&(n=t),this.currentTimeNew=n},changeVolume:function(e){var t,n=this.volumeOld;"number"===typeof n&&(t=n-e/200,t<0?t=0:t>1&&(t=1),this.$refs.video.volume=t,this.volumeNew=t)},autoHideStart:function(){var e=this;this.otherData.hideTiming=setTimeout((function(){e.controlsVisible=!1}),3e3)},autoHideEnd:function(){var e=this.otherData;e.hideTiming&&(clearTimeout(e.hideTiming),e.hideTiming=null)},updateProgress:function(){this.touching||(this.progress=this.currentTime/this.durationTime*100)}}},d=c,f=(n("856e"),n("2877")),h=Object(f["a"])(d,r,i,!1,null,null,null);t["default"]=h.exports},"324c":function(e,t,n){},"332a":function(e,t,n){"use strict";n.r(t),n.d(t,"redirectTo",(function(){return u})),n.d(t,"reLaunch",(function(){return c})),n.d(t,"navigateTo",(function(){return d})),n.d(t,"switchTab",(function(){return f})),n.d(t,"navigateBack",(function(){return h})),n.d(t,"preloadPage",(function(){return p})),n.d(t,"unPreloadPage",(function(){return g}));var r,i=n("0f74");function a(e){if("string"!==typeof e)return e;var t=e.indexOf("?");if(-1===t)return e;var n=e.substr(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.substr(0,t);var r=[];return n.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),n=t.shift(),i=t.length>0?t.join("="):"";r.push(n+"="+encodeURIComponent(i))})),r.length?e+"?"+r.join("&"):e}function o(e){return function(t,n){t=Object(i["a"])(t);var o=t.split("?")[0],s=__uniRoutes.find((function(e){var t=e.path,n=e.alias;return t===o||n===o}));if(!s)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(s.meta.isTabBar)return"can not ".concat(e," a tabbar page")}else if("switchTab"===e&&!s.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!s.meta.isTabBar||"appLaunch"===n.openType||(t=o),s.meta.isEntry&&(t=t.replace(s.alias,"/")),n.url=a(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(r===t&&"appLaunch"!==n.openType)return"".concat(r," locked");__uniConfig.ready&&!1!==__uniConfig.enableNavigatorLock&&(r=t)}else if(s.meta.isTabBar){var l=getCurrentPages(!0),u=(s.alias||s.path).substr(1);if(l.find((function(e){return e.route===u})))return"tabBar page `"+u+"` already exists"}}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({url:{type:String,required:!0,validator:o(e)},beforeAll:function(){r=""}},t)}function l(e){return{animationType:{type:String,validator:function(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}var u=s("redirectTo"),c=s("reLaunch"),d=s("navigateTo",l(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),f=s("switchTab"),h=Object.assign({delta:{type:Number,validator:function(e,t){e=parseInt(e)||1,t.delta=Math.min(getCurrentPages().length-1,e)}}},l(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"])),p={url:{type:String,required:!0,validator:o("preloadPage")}},g={url:{type:String,required:!0,validator:o("unPreloadPage")}}},"33b4":function(e,t,n){},"33ed":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return l}));var r,i=n("4a59");function a(e){e.preventDefault()}function o(e){var t=e.scrollTop,n=e.selector,r=e.duration;if("undefined"===typeof t){var i=document.querySelector(n);if(i){var a=i.getBoundingClientRect(),o=a.top,s=a.height;t=o+window.pageYOffset,t-=s}}var l=document.documentElement,u=l.clientHeight,c=l.scrollHeight;function d(e){if(e<=0)window.scrollTo(0,t);else{var n=t-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/e*10),d(e-10)}))}}t=Math.min(t,c-u),0!==r?window.scrollY!==t&&d(r):l.scrollTop=document.body.scrollTop=t}var s=0;function l(t,n){var a=n.enablePageScroll,o=n.enablePageReachBottom,l=n.onReachBottomDistance,u=n.enableTransparentTitleNView,c=!1,d=!1,f=!0;function h(){var e=document.documentElement.scrollHeight,t=window.innerHeight,n=window.scrollY,r=n>0&&e>t&&n+t+l>=e,i=Math.abs(e-s)>l;return!r||d&&!i?(!r&&d&&(d=!1),!1):(s=e,d=!0,!0)}function p(){var n=getCurrentPages();if(n.length&&n[n.length-1].$page.id===t){var s=window.pageYOffset;a&&Object(i["a"])("onPageScroll",{scrollTop:s},t),u&&e.emit("onPageScroll",{scrollTop:s}),o&&f&&(l()||(r=setTimeout(l,300))),c=!1}function l(){if(h())return Object(i["a"])("onReachBottom",{},t),f=!1,setTimeout((function(){f=!0}),350),!0}}return function(){clearTimeout(r),c||requestAnimationFrame(p),c=!0}}}).call(this,n("501c"))},"34b2":function(e,t,n){"use strict";n.r(t),function(e){function r(){return window.location.protocol+"//"+window.location.host}function i(t,n){var i=t.src,a=e,o=a.invokeCallbackHandler,s=new Image,l=i;s.onload=function(){o(n,{errMsg:"getImageInfo:ok",width:s.naturalWidth,height:s.naturalHeight,path:0===l.indexOf("/")?r()+l:l})},s.onerror=function(e){o(n,{errMsg:"getImageInfo:fail"})},s.src=i}n.d(t,"getImageInfo",(function(){return i}))}.call(this,n("0dd1"))},3563:function(e,t,n){"use strict";n.r(t);var r=n("f2b3"),i=n("bd97"),a=n("8af1");a["d"].addInteractListener();var o="*";function s(){var e=window.navigator.userAgent.toLowerCase();return!(!e.match(/MicroMessenger/i)||"micromessenger"!==e.match(/MicroMessenger/i)[0])}t["default"]=function(e){var t=e.count,n=e.sourceType,a=e.type,l=e.extension,u=document.createElement("input");return u.type="file",Object(r["v"])(u,{position:"absolute",visibility:"hidden","z-index":-999,width:0,height:0,top:0,left:0}),u.accept=l.map((function(e){if(a!==o){var t=e.replace(".","");return"".concat(a,"/").concat(i["default"][a][t]||t)}return s()?".":0===e.indexOf(".")?e:".".concat(e)})).join(","),t>1&&(u.multiple="multiple"),1===n.length&&"camera"===n[0]&&(u.capture="camera"),u}},3590:function(e,t,n){},3648:function(e,t,n){"use strict";n.r(t),n.d(t,"canIUse",(function(){return s}));var r=n("f2b3");function i(e){return window.CSS&&CSS.supports&&(CSS.supports(e)||CSS.supports.apply(CSS,e.split(":")))}var a={"css.var":i("--a:0"),"css.env":i("top:env(a)"),"css.constant":i("top:constant(a)")},o=n("9fe4");function s(e){return Object(r["i"])(a,e)?a[e]:!!Object(r["i"])(o["a"],e)}},3676:function(e,t,n){"use strict";n.r(t),n.d(t,"getRecorderManager",(function(){return c}));var r=n("db70");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0,c=arguments.length>2?arguments[2]:void 0;if(i(this,e),s(this,"option",void 0),s(this,"position",void 0),s(this,"index",void 0),s(this,"visible",void 0),s(this,"alwaysVisible",void 0),s(this,"div",void 0),s(this,"triangle",void 0),s(this,"callback",void 0),s(this,"parent",void 0),s(this,"Text",void 0),s(this,"createAMapText",a),s(this,"removeAMapText",u),s(this,"onAdd",t),s(this,"construct",t),s(this,"onRemove",n),s(this,"destroy",n),this.option=o||{},this.visible=this.alwaysVisible="ALWAYS"===o.display,r["c"])this.callback=l,this.parent=c,this.visible&&this.createAMapText();else{var d=o.map;this.position=o.position,this.index=1;var f=this.div=document.createElement("div"),h=f.style;h.position="absolute",h.whiteSpace="nowrap",h.transform="translateX(-50%) translateY(-100%)",h.zIndex="1",h.boxShadow=o.boxShadow||"none",h.display=this.visible?"block":"none";var p=this.triangle=document.createElement("div");p.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(o),f.appendChild(p),d&&this.setMap(d)}}return o(e,[{key:"onclick",set:function(e){this.div.onclick=e},get:function(){return this.div.onclick}}]),o(e,[{key:"setOption",value:function(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,r["c"]?this.visible&&this.createAMapText():(this.setPosition(e.position),this.setStyle(e))}},{key:"setStyle",value:function(e){var t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor="".concat(e.bgColor||"#fff"," transparent transparent")}},{key:"setPosition",value:function(e){this.position=e,this.draw()}},{key:"draw",value:function(){var e=this.getProjection();if(this.position&&this.div&&e){var t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}}},{key:"changed",value:function(){var e=this.div.style;e.display=this.visible?"block":"none"}}]),e}();if(!r["c"]){var d=c.prototype,f=new(e.OverlayView||e.Overlay);for(var h in f)h in d||(d[h]=f[h])}return c}},"3b54":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"getFileInfo",(function(){return o}));var r=n("e2e2"),i=e,a=i.invokeCallbackHandler;function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.filePath,n=arguments.length>1?arguments[1]:void 0;Object(r["f"])(t).then((function(e){a(n,{errMsg:"getFileInfo:ok",size:e.size})})).catch((function(e){a(n,{errMsg:"getFileInfo:fail "+e.message})}))}}.call(this,n("0dd1"))},"3b67":function(e,t,n){"use strict";var r=Object.create(null),i=n("e3a7");i.keys().forEach((function(e){Object.assign(r,i(e))})),t["a"]=r},"3bfb":function(e,t,n){"use strict";n.r(t),n.d(t,"createAudioContext",(function(){return i})),n.d(t,"createVideoContext",(function(){return a})),n.d(t,"createMapContext",(function(){return o})),n.d(t,"createCanvasContext",(function(){return s}));var r=[{name:"id",type:String,required:!0}],i=r,a=r,o=r,s=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}]},"3c79":function(e,t,n){},"3d1f":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("62b5"),i=n("a741");function a(e,t){t.getApp;var n=t.getCurrentPages;function a(e){return function(t,r){r=parseInt(r);var a=n(),o=a.find((function(e){return e.$page.id===r}));o&&Object(i["b"])(o,e,t)}}var o=Object(r["a"])("requestComponentInfo");function s(e){var t=e.reqId,n=e.res,r=o.pop(t);r&&r(n)}var l=Object(r["a"])("requestComponentObserver");function u(e){var t=e.reqId,n=e.reqEnd,r=e.res,i=l.get(t);if(i){if(n)return void l.pop(t);i(r)}}var c=Object(r["a"])("requestMediaQueryObserver");function d(e){var t=e.reqId,n=e.reqEnd,r=e.res,i=c.get(t);if(i){if(n)return void c.pop(t);i(r)}}e("onPageReady",a("onReady")),e("onPageScroll",a("onPageScroll")),e("onReachBottom",a("onReachBottom")),e("onRequestComponentInfo",s),e("onRequestComponentObserver",u),e("onRequestMediaQueryObserver",d)}},"3d64":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"onNetworkStatusChange",(function(){return s})),n.d(t,"offNetworkStatusChange",(function(){return l})),n.d(t,"getNetworkType",(function(){return u}));var r=e,i=r.invokeCallbackHandler,a=[];function o(){var e=u(),t=e.networkType;a.forEach((function(e){i(e,{errMsg:"onNetworkStatusChange:ok",isConnected:"none"!==t,networkType:t})}))}function s(e){var t=navigator.connection||navigator.webkitConnection;a.push(e),t?t.addEventListener("change",o):(window.addEventListener("offline",o),window.addEventListener("online",o))}function l(e){if(e){var t=a.indexOf(e);t>=0&&a.splice(t,1)}if(!a.length){var n=navigator.connection||navigator.webkitConnection;n?n.removeEventListener("change",o):(window.removeEventListener("offline",o),window.removeEventListener("online",o))}}function u(){var e=navigator.connection||navigator.webkitConnection,t="unknown";return e?(t=e.type,"cellular"===t&&e.effectiveType?t=e.effectiveType.replace("slow-",""):["none","wifi"].includes(t)||(t="unknown")):!1===navigator.onLine&&(t="none"),{errMsg:"getNetworkType:ok",networkType:t}}}.call(this,n("0dd1"))},"3da9":function(e,t,n){"use strict";var r=n("bfbd"),i=n.n(r);i.a},"3e8c":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-resize-sensor",{on:{"~animationstart":function(t){return e.update(t)}}},[n("div",{on:{scroll:e.update}},[n("div")]),n("div",{on:{scroll:e.update}},[n("div")])])},i=[],a=1e5,o={name:"ResizeSensor",props:{initial:{type:[Boolean,String],default:!1}},data:function(){return{size:{width:-1,height:-1}}},watch:{size:{deep:!0,handler:function(e){this.$emit("resize",Object.assign({},e))}}},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()},activated:function(){this.reset()},methods:{reset:function(){var e=this.$el.firstChild;e.scrollLeft=a,e.scrollTop=a;var t=this.$el.lastChild;t.scrollLeft=a,t.scrollTop=a},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight,this.reset()}}},s=o,l=(n("64d0"),n("2877")),u=Object(l["a"])(s,r,i,!1,null,null,null);t["default"]=u.exports},"3f15":function(e,t,n){"use strict";n.r(t),n.d(t,"getVideoInfo",(function(){return i}));var r=n("cb0f"),i={src:{type:String,required:!0,validator:function(e,t){t.src=Object(r["a"])(e)}}}},"3f7e":function(e,t,n){"use strict";var r=n("e692"),i=n.n(r);i.a},"439a":function(e,t,n){"use strict";n.r(t),n.d(t,"downloadFile",(function(){return r}));var r={url:{type:String,required:!0},header:{type:Object,validator:function(e,t){t.header=e||{}}}}},"43a1":function(e,t,n){},"442e":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var r=n("5129"),i=n.n(r),a=n("85b6"),o=n("f2b3");function s(t){t.config.errorHandler=function(n,r,i){var s=Object(o["t"])(n);t.util.warn("Error in ".concat(i,': "').concat("Error"===s?n.toString():n,'"'),r);var l="function"===typeof getApp&&getApp();l&&Object(a["c"])(l.$options,"onError")?l.__call_hook("onError",n):e.error(n)};var n=t.config.isReservedTag;t.config.isReservedTag=function(e){return-1!==i.a.indexOf(e)||n(e)},t.config.ignoredElements=i.a;var r=t.config.getTagNamespace,s=["switch","image","text","view"];t.config.getTagNamespace=function(e){return!~s.indexOf(e)&&r(e)}}}).call(this,n("3ad9")["default"])},"44de":function(e,t,n){"use strict";n.r(t),n.d(t,"vibrateLong",(function(){return i})),n.d(t,"vibrateShort",(function(){return a}));var r=!!window.navigator.vibrate;function i(){return r&&window.navigator.vibrate(400)?{errMsg:"vibrateLong:ok"}:{errMsg:"vibrateLong:fail"}}function a(){return r&&window.navigator.vibrate(15)?{errMsg:"vibrateShort:ok"}:{errMsg:"vibrateShort:fail"}}},"453f":function(e,t,n){"use strict";(function(e){var r=n("636c"),i=n("cb0f");t["a"]={props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},data:function(){return{idString:String(isNaN(Number(this.id))?"":this.id)}},mounted:function(){var e=this,t=this.$parent;t.mapReady((function(){e._maps=t._maps,e._map=t._map,e.addMarker(e.$props),Object.keys(e.$props).forEach((function(t){e.$watch(t,(function(){e.updateMarker(e.$props)}))}))}))},beforeDestroy:function(){this.removeMarker()},methods:{addMarker:function(e){var t=this,n=this._maps,i=this._map,a=this._marker=new n.Marker({map:i,flat:!0,autoRotation:!1});this.$parent._markers[this.idString]=a,this.updateMarker(e),r["c"]?(a.dom.addEventListener("click",(function(e){t.handleAMapMarkerClick(e,a)})),a.dom.addEventListener("touchend",(function(e){t.handleAMapMarkerClick(e,a)}))):n.event.addListener(a,"click",(function(e){var n=a.callout;if(n&&!n.alwaysVisible&&(n.set("visible",!n.visible),n.visible)){var r=n.div,i=r.parentNode;i.removeChild(r),i.appendChild(r)}var o=e.event||e.domEvent;if(t.idString){var s=t.getMarkerLatitudeLongitude(e),l=s.latitude,u=s.longitude;t.$parent.$trigger("markertap",o,{markerId:Number(t.idString),latitude:l,longitude:u})}o.stopPropagation()}))},updateMarker:function(t){var n=this,a=this._map,o=this._maps,s=this._marker,l=t.title,u=r["c"]?new o.LngLat(t.longitude,t.latitude):new o.LatLng(t.latitude,t.longitude),c=new Image;c.onload=function(){var e,i,d,f=t.anchor||{},h="number"===typeof f.x?f.x:.5,p="number"===typeof f.y?f.y:1;t.iconPath&&(t.width||t.height)?(i=t.width||c.width/c.height*t.height,d=t.height||c.height/c.width*t.width):(i=c.width/2,d=c.height/2);var g=d-(d-p*d);e="MarkerImage"in o?new o.MarkerImage(c.src,null,null,new o.Point(h*i,p*d),new o.Size(i,d)):"Icon"in o?new o.Icon({image:c.src,size:new o.Size(i,d),imageSize:new o.Size(i,d),imageOffset:new o.Pixel(h*i,p*d)}):{url:c.src,anchor:new o.Point(h,p),size:new o.Size(i,d)},s.setPosition(u),s.setIcon(e),"setRotation"in s&&s.setRotation(t.rotate||0);var v,y=t.label||{};if("label"in s&&(s.label.setMap(null),delete s.label),y.content){var m={borderColor:y.borderColor,borderWidth:(Number(y.borderWidth)||0)+"px",padding:(Number(y.padding)||0)+"px",borderRadius:(Number(y.borderRadius)||0)+"px",backgroundColor:y.bgColor,color:y.color,fontSize:(y.fontSize||14)+"px",lineHeight:(y.fontSize||14)+"px",marginLeft:(Number(y.anchorX||y.x)||0)+"px",marginTop:(Number(y.anchorY||y.y)||0)+"px"};if("Label"in o)v=new o.Label({position:u,map:a,clickable:!1,content:y.content,style:m}),s.label=v;else if("setLabel"in s)if(r["c"]){var b='
\n ').concat(y.content,"\n
");s.setLabel({content:b,direction:"bottom-right"})}else{var _=n.updateMarkerLabelStyle(n.idString,m);s.setLabel({text:y.content,color:m.color,fontSize:m.fontSize,className:_})}}var x,w=t.callout||{},S=s.callout;if(w.content||l){var M="0px 0px 3px 1px rgba(0,0,0,0.5)";if(x=w.content?{position:u,map:a,top:g,offsetY:-t.height/2,content:w.content,color:w.color,fontSize:w.fontSize,borderRadius:w.borderRadius,bgColor:w.bgColor,padding:w.padding,boxShadow:w.boxShadow||M,display:w.display}:{position:u,map:a,top:g,offsetY:-t.height/2,content:l,boxShadow:M},S)S.setOption(x);else if(r["c"]){var T=function(e,t){t.idString&&t.$parent.$trigger("callouttap",e,{markerId:Number(t.idString)})};S=s.callout=new o.Callout(x,T,n)}else S=s.callout=new o.Callout(x),S.div.onclick=function(e){n.idString&&n.$parent.$trigger("callouttap",e,{markerId:Number(n.idString)}),e.stopPropagation(),e.preventDefault()},Object(r["e"])().type===r["d"].GOOGLE&&(S.div.onpointerdown=function(e){e.stopPropagation()},S.div.ontouchstart=function(e){e.stopPropagation()})}else S&&(n.removeMarkerCallout(s.callout),delete s.callout)},t.iconPath?c.src=Object(i["a"])(t.iconPath):e.error("Marker.iconPath is required.")},handleAMapMarkerClick:function(e,t){var n=t.callout;n&&!n.alwaysVisible&&(n.visible=!n.visible,n.visible?t.callout.createAMapText():t.callout.removeAMapText()),this.idString&&this.$parent.$trigger("markertap",e,{markerId:Number(this.idString),latitude:t._position.lat,longitude:t._position.lng}),e.stopPropagation()},updateMarkerLabelStyle:function(e,t){var n="uni-map-marker-label-"+e,r=document.getElementById(n);r||(r=document.createElement("style"),r.id=n,document.head.appendChild(r),this.$once("hook:destroyed",(function(){r.remove()})));var i=Object.assign({},t,{position:"absolute",top:"70px",borderStyle:"solid"}),a=document.createElement("div");return Object.keys(i).forEach((function(e){a.style[e]=i[e]||""})),r.innerText=".".concat(n,"{").concat(a.getAttribute("style"),"}"),n},getMarkerLatitudeLongitude:function(e){var t,n,i=Object(r["e"])();return r["c"]?(t=e.lnglat.lat,n=e.lnglat.lng):i.type===r["d"].QQ?(t=e.latLng.lat,n=e.latLng.lng):i.type===r["d"].GOOGLE&&(t=e.latLng.lat(),n=e.latLng.lng()),{latitude:t,longitude:n}},removeMarker:function(){var e=this._marker;e&&(e.label&&"setMap"in e.label&&e.label.setMap(null),e.callout&&this.removeMarkerCallout(e.callout),e.setMap(null)),delete this.$parent._markers[this.idString],this._marker=null},removeMarkerCallout:function(e){r["c"]?e.removeAMapText():e.setMap(null)}},render:function(){return null}}}).call(this,n("3ad9")["default"])},"454d":function(e,t,n){"use strict";n.r(t),n.d(t,"removeTabBarBadge",(function(){return a})),n.d(t,"showTabBarRedDot",(function(){return o})),n.d(t,"hideTabBarRedDot",(function(){return s})),n.d(t,"onTabBarMidButtonTap",(function(){return u}));var r=n("db70"),i=n("a118");function a(e){var t=e.index;return Object(r["c"])("setTabBarBadge",{index:t,type:"none"})}function o(e){var t=e.index;return Object(r["c"])("setTabBarBadge",{index:t,type:"redDot"})}var s=a,l=[];function u(e){l.push(e)}Object(r["d"])("onTabBarMidButtonTap",(function(e){l.forEach((function(t){Object(i["a"])(t,e)}))}))},"45d2":function(e,t,n){"use strict";n.r(t),n.d(t,"upx2px",(function(){return c}));var r=1e-4,i=750,a=!1,o=0,s=0;function l(){var e=uni.getSystemInfoSync(),t=e.platform,n=e.pixelRatio,r=e.windowWidth;o=r,s=n,a="ios"===t}function u(e,t){return e=Number(e),isNaN(e)?t:e}function c(e,t){if(0===o&&l(),e=Number(e),0===e)return 0;var n=__uniConfig.globalStyle||__uniConfig.window||{},c=u(n.rpxCalcMaxDeviceWidth,960),d=u(n.rpxCalcBaseDeviceWidth,375),f=u(n.rpxCalcIncludeWidth,750),h=t||o;h=e===f||h<=c?h:d;var p=e/i*h;return p<0&&(p=-p),p=Math.floor(p+r),0===p&&(p=1!==s&&a?.5:1),e<0?-p:p}},"45db":function(e,t,n){"use strict";n.r(t),function(e){var r;function i(e){r=e}function a(){r&&e.emit(r+".stopPullDownRefresh",{},r);var t=getCurrentPages();return t.length&&(r=t[t.length-1].$page.id,e.emit(r+".startPullDownRefresh",{},r)),{}}function o(){if(r)e.emit(r+".stopPullDownRefresh",{},r),r=null;else{var t=getCurrentPages();t.length&&(r=t[t.length-1].$page.id,e.emit(r+".stopPullDownRefresh",{},r))}return{}}n.d(t,"setPullDownRefreshPageId",(function(){return i})),n.d(t,"startPullDownRefresh",(function(){return a})),n.d(t,"stopPullDownRefresh",(function(){return o}))}.call(this,n("0dd1"))},"4a59":function(e,t,n){"use strict";(function(e){function r(t,n,r){e.UniServiceJSBridge.subscribeHandler(t,n,r)}n.d(t,"a",(function(){return r}))}).call(this,n("c8ba"))},"4ca9":function(e,t,n){"use strict";n.r(t),function(e){var r=n("6389"),i=n.n(r),a=n("85b6"),o=n("abbf"),s=n("0784"),l=n("aa92"),u=n("02c9"),c=n("23e5"),d=n("f2b3");function f(e){var t=0;return e.forEach((function(e){e.meta.id&&t++})),t}function h(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":decodeURI(e.slice(t+1))}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=decodeURI(window.location.pathname);return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}t["default"]={install:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.routes;t.config.devtools&&"undefined"!==typeof window&&-1!==window.navigator.userAgent.toLowerCase().indexOf("hbuilderx")&&(t.config.devtools=!1),Object(u["a"])(t),Object(l["a"])(t),Object(d["u"])(t),"undefined"!==typeof __UNI_ROUTER_BASE__&&(__uniConfig.router.base=__UNI_ROUTER_BASE__);var g=f(r),v=new i.a({id:g,mode:__uniConfig.router.mode,base:__uniConfig.router.base,routes:r,scrollBehavior:function(e,t,n){if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){var r=Object(c["b"])(e.params.__id__);if(r)return r}return{x:0,y:0}}}),y=[],m=v.match("history"===__uniConfig.router.mode?p(__uniConfig.router.base):h());if(m.meta.name&&(m.meta.id?y.push(m.meta.name+"-"+m.meta.id):y.push(m.meta.name+"-"+(g+1))),m.meta&&m.meta.name&&(document.body.className="uni-body "+m.meta.name,m.meta.isNVue)){var b="nvue-dir-"+__uniConfig.nvue["flex-direction"];document.body.setAttribute("nvue",""),document.body.setAttribute(b,"")}t.mixin({beforeCreate:function(){var n=this.$options;if("app"===n.mpType){n.data=function(){return{keepAliveInclude:y}};var i=Object(o["a"])(t,r,m);Object.keys(i).forEach((function(e){n[e]=n[e]?[].concat(i[e],n[e]):[i[e]]})),n.router=v,Array.isArray(n.onError)&&0!==n.onError.length||(n.onError=[function(t){e.error(t)}])}else if(Object(a["d"])(this)){var l=Object(s["a"])();Object.keys(l).forEach((function(e){n.mpOptions?n[e]=n[e]?[].concat(n[e],l[e]):[l[e]]:n[e]=n[e]?[].concat(l[e],n[e]):[l[e]]}))}else this.$parent&&this.$parent.__page__&&(this.__page__=this.$parent.__page__)}}),Object.defineProperty(t.prototype,"$page",{get:function(){return this.__page__}}),t.prototype.createSelectorQuery=function(){return uni.createSelectorQuery().in(this)},t.prototype.createIntersectionObserver=function(e){return uni.createIntersectionObserver(this,e)},t.prototype.createMediaQueryObserver=function(e){return uni.createMediaQueryObserver(this,e)},t.use(i.a)}}}.call(this,n("3ad9")["default"])},"4ccd":function(e,t,n){"use strict";n.r(t),t["default"]={data:function(){return{popupWidth:0,popupHeight:0}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},popupStyle:function(){var e={},t=e.content={},n=e.triangle={},r=this.popover;function i(e){return Number(e)||0}if(this.isDesktop&&r){Object.assign(n,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});var a=i(r.left),o=i(r.width),s=i(r.top),l=i(r.height),u=a+o/2;t.transform="none !important";var c=Math.max(0,u-150);t.left="".concat(c,"px");var d=Math.max(12,u-c);d=Math.min(288,d),n.left="".concat(d,"px");var f=this.popupHeight/2;s+l-f>f-s?(t.top="auto",t.bottom="".concat(this.popupHeight-s+6,"px"),n.bottom="-6px",n["border-width"]="6px 6px 0 6px",n["border-color"]="#fcfcfd transparent transparent transparent"):(t.top="".concat(s+l+6,"px"),n.top="-6px",n["border-width"]="0 6px 6px 6px",n["border-color"]="transparent transparent #fcfcfd transparent")}return e}},mounted:function(){var e=this,t=function(){var t=uni.getSystemInfoSync(),n=t.windowWidth,r=t.windowHeight,i=t.windowTop;e.popupWidth=n,e.popupHeight=r+i};window.addEventListener("resize",t),t(),this.$once("hook:beforeDestroy",(function(){window.removeEventListener("resize",t)}))}}},"4da7":function(e,t,n){"use strict";n.r(t);var r,i,a=n("5881"),o=a["a"],s=(n("c8ed"),n("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null);t["default"]=l.exports},"4e0b":function(e,t,n){},"4e7c":function(e,t,n){"use strict";n.r(t),n.d(t,"getProvider",(function(){return i}));var r={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},i={service:{type:String,required:!0,validator:function(e,t){if(e=(e||"").toUpperCase(),e&&Object.values(r).indexOf(e)<0)return"service error"}}}},"4f1c":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-switch",e._g({attrs:{disabled:e.disabled},on:{click:e._onClick}},e.$listeners),[n("div",{staticClass:"uni-switch-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:"switch"===e.type,expression:"type === 'switch'"}],staticClass:"uni-switch-input",class:[e.switchChecked?"uni-switch-input-checked":""],style:{backgroundColor:e.switchChecked?e.color:"#DFDFDF",borderColor:e.switchChecked?e.color:"#DFDFDF"}}),n("div",{directives:[{name:"show",rawName:"v-show",value:"checkbox"===e.type,expression:"type === 'checkbox'"}],staticClass:"uni-checkbox-input",class:[e.switchChecked?"uni-checkbox-input-checked":""],style:{color:e.color}})])])},i=[],a=n("8af1"),o={name:"Switch",mixins:[a["a"],a["f"]],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(e){this.switchChecked=e}},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(e){this.disabled||(this.switchChecked=!this.switchChecked,this.$trigger("change",e,{value:this.switchChecked}))},_resetFormData:function(){this.switchChecked=!1},_getFormData:function(){var e={};return""!==this.name&&(e.value=this.switchChecked,e.key=this.name),e}}},s=o,l=(n("a5ec"),n("2877")),u=Object(l["a"])(s,r,i,!1,null,null,null);t["default"]=u.exports},"4f43":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"downloadFile",(function(){return u}));var r=n("e2e2");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n=0&&this._callbacks.splice(t,1)}},{key:"abort",value:function(){this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),e}();function u(t,n){var i,a=t.url,o=t.header,s=t.timeout,u=void 0===s?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.request||6e4:s,c=e,d=c.invokeCallbackHandler,f=new XMLHttpRequest,h=new l(f);return f.open("GET",a,!0),Object.keys(o).forEach((function(e){f.setRequestHeader(e,o[e])})),f.responseType="blob",f.onload=function(){clearTimeout(i);var e,t=f.status,o=this.response,s=f.getResponseHeader("content-disposition");if(s){var l=s.match(/filename="?(\S+)"?\b/);l&&(e=l[1])}o.name=e||Object(r["c"])(a),d(n,{errMsg:"downloadFile:ok",statusCode:t,tempFilePath:Object(r["b"])(o)})},f.onabort=function(){clearTimeout(i),d(n,{errMsg:"downloadFile:fail abort"})},f.onerror=function(){clearTimeout(i),d(n,{errMsg:"downloadFile:fail"})},f.onprogress=function(e){h._callbacks.forEach((function(t){var n=e.loaded,r=e.total,i=Math.round(n/r*100);t({progress:i,totalBytesWritten:n,totalBytesExpectedToWrite:r})}))},f.send(),i=setTimeout((function(){f.onprogress=f.onload=f.onabort=f.onerror=null,h.abort(),d(n,{errMsg:"downloadFile:fail timeout"})}),u),h}}.call(this,n("0dd1"))},"4f53":function(e,t,n){"use strict";n.r(t),n.d(t,"saveImageToPhotosAlbum",(function(){return i}));var r=n("cb0f"),i={filePath:{type:String,required:!0,validator:function(e,t){t.filePath=Object(r["a"])(e)}}}},"4fef":function(e,t,n){"use strict";var r=n("7572"),i=n.n(r);i.a},"501c":function(e,t,n){"use strict";n.r(t),n.d(t,"on",(function(){return v})),n.d(t,"off",(function(){return y})),n.d(t,"once",(function(){return m})),n.d(t,"emit",(function(){return b})),n.d(t,"subscribe",(function(){return _})),n.d(t,"unsubscribe",(function(){return x})),n.d(t,"subscribeHandler",(function(){return w})),n.d(t,"publishHandler",(function(){return p["a"]}));var r=n("8bbf"),i=n.n(r);function a(e){var t=e.pageStyle,n=e.rootFontSize,r=document.querySelector("uni-page-body")||document.body;r.setAttribute("style",t),n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)}var o=n("6bdf"),s=n("5dc1"),l=n("1c73"),u={setPageMeta:a,requestComponentInfo:o["a"],requestComponentObserver:s["b"],destroyComponentObserver:s["a"],requestMediaQueryObserver:l["b"],destroyMediaQueryObserver:l["a"]},c=n("33ed"),d=n("7107"),f=n("764a");function h(e){Object.keys(u).forEach((function(t){e(t,u[t])})),e("pageScrollTo",c["c"]),e("loadFontFace",d["a"]),Object(f["a"])(e)}var p=n("4a59"),g=new i.a,v=g.$on.bind(g),y=g.$off.bind(g),m=g.$once.bind(g),b=g.$emit.bind(g);function _(e,t){return v("service."+e,t)}function x(e,t){return y("service."+e,t)}function w(e,t,n){b("service."+e,t,n)}h(_)},"50c5":function(e,t,n){},5129:function(e,t){e.exports=["uni-app","uni-layout","uni-content","uni-main","uni-top-window","uni-left-window","uni-right-window","uni-tabbar","uni-page","uni-page-head","uni-page-wrapper","uni-page-body","uni-page-refresh","uni-actionsheet","uni-modal","uni-toast","uni-resize-sensor","uni-shadow-root","uni-ad","uni-audio","uni-button","uni-camera","uni-canvas","uni-checkbox","uni-checkbox-group","uni-cover-image","uni-cover-view","uni-editor","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"]},"515d":function(e,t,n){},5222:function(e,t,n){"use strict";(function(e){var r=n("5a56");t["a"]={name:"Toast",mixins:[r["default"]],props:{title:{type:String,default:""},icon:{default:"success",validator:function(e){return-1!==["success","loading","error","none"].indexOf(e)}},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":"error"===this.icon?"uni-icon-error":""}},beforeUpdate:function(){this.visible&&(this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout((function(){e.emit("onHideToast")}),this.duration))}}}).call(this,n("0dd1"))},5243:function(e,t,n){"use strict";n.r(t),n.d(t,"compressVideo",(function(){return i}));var r=n("cb0f"),i={src:{type:String,required:!0,validator:function(e,t){t.src=Object(r["a"])(e)}},quality:{type:String},bitrate:{type:Number},fps:{type:Number},resolution:{type:Number}}},5363:function(e,t,n){"use strict";function r(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}n.d(t,"a",(function(){return r})),r.prototype.set=function(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()},r.prototype.setVelocityByEnd=function(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)},r.prototype.x=function(e){var t;return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e),this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog},r.prototype.dx=function(e){var t;return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e),this._dt=e,this._v*t},r.prototype.done=function(){return Math.abs(this.dx())<3},r.prototype.reconfigure=function(e){var t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)},r.prototype.configuration=function(){var e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}},5378:function(e,t,n){"use strict";var r=n("43a1"),i=n.n(r);i.a},5408:function(e,t,n){var r={"./audio/index.vue":"6150","./button/index.vue":"d3bd","./canvas/index.vue":"bacd","./checkbox-group/index.vue":"25ce","./checkbox/index.vue":"7bb3","./editor/index.vue":"27c2","./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","./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"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="5408"},"54bc":function(e,t,n){},"54f4":function(e,t,n){"use strict";function r(){var e=document.activeElement;!e||"TEXTAREA"!==e.tagName&&"INPUT"!==e.tagName||e.blur()}n.r(t),n.d(t,"hideKeyboard",(function(){return r}))},5513:function(e,t,n){"use strict";n.r(t);var r,i,a=n("ba15"),o=n("f2b3"),s={name:"Swiper",mixins:[a["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},disableTouch:{type:[Boolean,String],default:!1}},data:function(){return{currentSync:Math.round(this.current)||0,currentItemIdSync:this.currentItemId||"",userTracking:!1,currentChangeSource:"",items:[]}},computed:{intervalNumber:function(){var e=Number(this.interval);return isNaN(e)?5e3:e},durationNumber:function(){var e=Number(this.duration);return isNaN(e)?500:e},displayMultipleItemsNumber:function(){var e=Math.round(this.displayMultipleItems);return isNaN(e)?1:e},slidesStyle:function(){var e={};return(this.nextMargin||this.previousMargin)&&(e=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)}),e},slideFrameStyle:function(){var e=Math.abs(100/this.displayMultipleItemsNumber)+"%";return{width:this.vertical?"100%":e,height:this.vertical?e:"100%"}},circularEnabled:function(){return this.circular&&this.items.length>this.displayMultipleItemsNumber}},watch:{vertical:function(){this._resetLayout()},circular:function(){this._resetLayout()},intervalNumber:function(e){this._timer&&(this._cancelSchedule(),this._scheduleAutoplay())},current:function(e){this._currentCheck()},currentSync:function(e,t){this._currentChanged(e,t),this.$emit("update:current",e)},currentItemId:function(e){this._currentCheck()},currentItemIdSync:function(e){this.$emit("update:currentItemId",e)},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 e=this;this._currentCheck(),this.touchtrack(this.$refs.slidesWrapper,"_handleContentTrack",!0),this._resetLayout(),this.$watch((function(){return e.autoplay&&!e.userTracking}),this._inintAutoplay),this._inintAutoplay(this.autoplay&&!this.userTracking),this.$watch("items.length",this._resetLayout)},beforeDestroy:function(){this._cancelSchedule(),cancelAnimationFrame(this._animationFrame)},methods:{_inintAutoplay:function(e){e?this._scheduleAutoplay():this._cancelSchedule()},_currentCheck:function(){var e=-1;if(this.currentItemId)for(var t=0,n=this.items;ti/2?1:0)}var a=this.items[e];a&&this._itemReady(a,(function(){var e=n.currentItemIdSync=a.componentInstance.itemId||"";n.$trigger("change",{},{current:n.currentSync,currentItemId:e,source:r})}))},_scheduleAutoplay:function(){var e=this;function t(){e._timer=null,e.currentChangeSource="autoplay",e.circularEnabled?e.currentSync=e._normalizeCurrentValue(e.currentSync+1):e.currentSync=e.currentSync+e.displayMultipleItemsNumbert-this.displayMultipleItemsNumber)return t-this.displayMultipleItemsNumber;return n},_upx2px:function(e){return/\d+[ur]px$/i.test(e)&&e.replace(/\d+[ur]px$/i,(function(e){return"".concat(uni.upx2px(parseFloat(e)),"px")})),e||""},_resetLayout:function(){if(this._isMounted){this._cancelSchedule(),this._endViewportAnimation();for(var e=this.items,t=0;t0&&this._viewportMoveRatio<1||(this._viewportMoveRatio=1)}var i=this._viewportPosition;this._viewportPosition=-2;var a=this.currentSync;a>=0?(this._invalid=!1,this.userTracking?(this._updateViewport(i+a-this._contentTrackViewport),this._contentTrackViewport=a):(this._updateViewport(a),this.autoplay&&this._scheduleAutoplay())):(this._invalid=!0,this._updateViewport(-this.displayMultipleItemsNumber-1))}},_checkCircularLayout:function(e){if(!this._invalid)for(var t=this.items,n=t.length,r=e+this.displayMultipleItemsNumber,i=0;i=this.items.length&&(e-=this.items.length),e=this._transitionStart%1>.5||this._transitionStart<0?e-1:e,this.$trigger("transition",{},{dx:this.vertical?0:e*i.offsetWidth,dy:this.vertical?e*i.offsetHeight:0})},_animateFrameFuncProto:function(){var e=this;if(this._animating){var t=this._animating,n=t.toPos,r=t.acc,i=t.endTime,a=t.source,o=i-Date.now();if(o<=0){this._updateViewport(n),this._animating=null,this._requestedAnimation=!1,this._transitionStart=null;var s=this.items[this.currentSync];s&&this._itemReady(s,(function(){var t=s.componentInstance.itemId||"";e.$trigger("animationfinish",{},{current:e.currentSync,currentItemId:t,source:a})}))}else{var l=r*o*o/2,u=n+l;this._updateViewport(u),this._animationFrame=requestAnimationFrame(this._animateFrameFuncProto.bind(this))}}else this._requestedAnimation=!1},_animateViewport:function(e,t,n){this._cancelViewportAnimation();var r=this.durationNumber,i=this.items.length,a=this._viewportPosition;if(this.circularEnabled)if(n<0){for(;ae;)a-=i}else if(n>0){for(;a>e;)a-=i;for(;a+ie;)a-=i;a+i-ei)&&(r<0?r=-a(-r):r>i&&(r=i+a(r-i)),t._contentTrackSpeed=0),t._updateViewport(r)}var s=this._contentTrackT-n||1;this.vertical?o(-e.dy/this.$refs.slideFrame.offsetHeight,-e.ddy/s):o(-e.dx/this.$refs.slideFrame.offsetWidth,-e.ddx/s)},_handleTrackEnd:function(e){this.userTracking=!1;var t=this._contentTrackSpeed/Math.abs(this._contentTrackSpeed),n=0;!e&&Math.abs(this._contentTrackSpeed)>.2&&(n=.5*t);var r=this._normalizeCurrentValue(this._viewportPosition+n);e?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(e){if(!this.disableTouch&&this.items.length&&!this._invalid){if("start"===e.detail.state)return this.userTracking=!0,this._userDirectionChecked=!1,this._handleTrackStart();if("end"===e.detail.state)return this._handleTrackEnd(!1);if("cancel"===e.detail.state)return this._handleTrackEnd(!0);if(this.userTracking){if(!this._userDirectionChecked){this._userDirectionChecked=!0;var t=Math.abs(e.detail.dx),n=Math.abs(e.detail.dy);if((t>=n&&this.vertical||t<=n&&!this.vertical)&&(this.userTracking=!1),!this.userTracking)return void(this.autoplay&&this._scheduleAutoplay())}return this._handleTrackMove(e.detail),!1}}}},render:function(e){var t=this,n=[],r=[];this.$slots.default&&Object(o["f"])(this.$slots.default,e).forEach((function(e){e.componentOptions&&"v-uni-swiper-item"===e.componentOptions.tag&&r.push(e)}));for(var i=function(r,i){var a=t.currentSync;n.push(e("div",{on:{click:function(){t._animateViewport(t.currentSync=r,t.currentChangeSource="click",t.circularEnabled?1:0)}},class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":r=a||r=4&&(t.text="...")}}}},5676:function(e,t,n){"use strict";var r=n("c33a"),i=n.n(r);i.a},"56e9":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"showModal",(function(){return o})),n.d(t,"showToast",(function(){return s})),n.d(t,"hideToast",(function(){return l})),n.d(t,"showLoading",(function(){return u})),n.d(t,"hideLoading",(function(){return c})),n.d(t,"showActionSheet",(function(){return d}));var r=e,i=r.emit,a=r.invokeCallbackHandler;function o(e,t){i("onShowModal",e,(function(e){a(t,e)}))}function s(e){return i("onShowToast",e),{}}function l(){return i("onHideToast"),{}}function u(e){return i("onShowLoading",e),{}}function c(){return i("onHideLoading"),{}}function d(e,t){i("onShowActionSheet",e,(function(e){a(t,-1===e?{errMsg:"showActionSheet:fail cancel"}:{tapIndex:e})}))}}.call(this,n("0dd1"))},5727:function(e,t,n){"use strict";var r=n("28da"),i=n.n(r);i.a},5768:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-textarea",e._g({},e.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-textarea-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(e.composing||e.valueSync.length),expression:"!(composing || valueSync.length)"}],ref:"placeholder",staticClass:"uni-textarea-placeholder",class:e.placeholderClass,style:e.placeholderStyle,domProps:{textContent:e._s(e.placeholder)}}),n("div",{ref:"line",staticClass:"uni-textarea-line",domProps:{textContent:e._s(" ")}}),n("div",{staticClass:"uni-textarea-compute"},[e._l(e.valueCompute,(function(t,r){return n("div",{key:r,domProps:{textContent:e._s(t.trim()?t:".")}})})),n("v-uni-resize-sensor",{ref:"sensor",on:{resize:e._resize}})],2),e.disabled&&e.fixColor?e._e():n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-fix-margin":e.fixMargin},style:{"overflow-y":e.autoHeight?"hidden":"auto"},attrs:{disabled:e.disabled,maxlength:e.maxlengthNumber,enterkeyhint:e.confirmType},domProps:{value:e.valueSync},on:{change:function(e){e.stopPropagation()},compositionstart:function(t){return t.stopPropagation(),e._onComposition(t)},compositionend:function(t){return t.stopPropagation(),e._onComposition(t)},compositionupdate:function(t){return t.stopPropagation(),e._onComposition(t)},input:[function(t){t.target.composing||(e.valueSync=t.target.value)},function(t){return t.stopPropagation(),e._onInput(t)}],focus:e._onFocus,blur:e._onBlur,"&touchstart":function(t){return e._onTouchstart(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e._onKeyUpEnter(t)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e._onKeyDownEnter(t)}}}),e._v(" "),e.disabled&&e.fixColor?n("textarea",{ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-fix-margin":e.fixMargin},style:{"overflow-y":e.autoHeight?"hidden":"auto"},attrs:{tabindex:"-1",readonly:e.disabled,maxlength:e.maxlengthNumber},domProps:{value:e.valueSync},on:{focus:function(e){return e.target.blur()}}}):e._e()])])},i=[],a=n("8af1"),o="(prefers-color-scheme: dark)",s=["done","go","next","search","send"],l={name:"Textarea",mixins:[a["b"]],props:{name:{type:String,default:""},maxlength:{type:[Number,String],default:140},placeholder:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},placeholderClass:{type:String,default:"textarea-placeholder"},placeholderStyle:{type:String,default:""},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:function(e){return s.concat("return").includes(e)}}},data:function(){return{valueComposition:"",height:0,focusChangeSource:"",fixMargin:0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(o).media!==o}},computed:{maxlengthNumber:function(){var e=Number(this.maxlength);return isNaN(e)?140:e},valueCompute:function(){return(this.composing?this.valueComposition:this.valueSync).split("\n")},isDone:function(){return s.includes(this.confirmType)}},watch:{focus:function(e){e&&(this.focusChangeSource="focus")},height:function(e){var t=parseFloat(getComputedStyle(this.$el).lineHeight);isNaN(t)&&(t=this.$refs.line.offsetHeight);var n=Math.round(e/t);this.$trigger("linechange",{},{height:e,heightRpx:750/window.innerWidth*e,lineCount:n}),this.autoHeight&&(this.$el.style.height="auto",this.$refs.wrapper.style.height=this.height+"px")}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){this._resize({height:this.$refs.sensor.$el.offsetHeight});var e=this;while(e){var t=e.$options._scopeId;t&&this.$refs.placeholder.setAttribute(t,""),e=e.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyDownEnter:function(e){this.isDone&&e.preventDefault()},_onKeyUpEnter:function(e){this.isDone&&(this._confirm(e),!this.confirmHold&&this.$refs.textarea.blur())},_onComposition:function(e){switch(e.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(e));break}!this.ignoreCompositionEvent&&this.$trigger(e.type,e,{data:e.data})},_confirm:function(e){this.$trigger("confirm",e,{value:this.valueSync})},_linechange:function(e){this.$trigger("linechange",e,{value:this.valueSync})},_onTouchstart:function(){this.focusChangeSource="touch"},_resize:function(e){var t=e.height;this.height=t},_onInput:function(e,t){this.composing&&this.ignoreCompositionEvent?this.valueComposition=e.target.value:(this.ignoreCompositionEvent||(this.valueSync=this.$refs.textarea.value),this.$triggerInput(e,{value:this.valueSync,cursor:this.$refs.textarea.selectionEnd},t))},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""}}},u=l,c=(n("9400"),n("2877")),d=Object(c["a"])(u,r,i,!1,null,null,null);t["default"]=d.exports},"57a7":function(e,t,n){"use strict";n.r(t),n.d(t,"createInnerAudioContext",(function(){return f}));var r=n("db70");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n=0&&n.splice(r,1)}})),Object(r["d"])("onAudioStateChange",(function(e){var t=e.state,n=e.audioId,r=e.errMsg,i=e.errCode,a=d[n];if(a)if(c(a,t,r,i),"play"===t){var o=a.currentTime;a.__timing=setInterval((function(){var e=a.currentTime;e!==o&&c(a,"timeupdate")}),200)}else"pause"!==t&&"stop"!==t&&"error"!==t||clearInterval(a.__timing)}));var d=Object.create(null);function f(){var e=Object(r["c"])("createAudioInstance"),t=e.audioId,n=new u(t);return d[t]=n,n}},"581a":function(e,t,n){},5881:function(e,t,n){"use strict";(function(e){var n={ensp:" ",emsp:" ",nbsp:" "};t["a"]={name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},methods:{_decodeHtml:function(e){return this.space&&n[this.space]&&(e=e.replace(/ /g,n[this.space])),this.decode&&(e=e.replace(/ /g,n.nbsp).replace(/ /g,n.ensp).replace(/ /g,n.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")),e}},render:function(t){var n=this,r=[];return this.$slots.default&&this.$slots.default.forEach((function(i){if(i.text){var a=i.text.replace(/\\n/g,"\n"),o=a.split("\n");o.forEach((function(e,i){r.push(n._decodeHtml(e)),i!==o.length-1&&r.push(t("br"))}))}else i.componentOptions&&"v-uni-text"!==i.componentOptions.tag&&e.warn("Do not nest other components in the text component, as there may be display differences on different platforms."),r.push(i)})),t("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[t("span",{},r)])}}}).call(this,n("3ad9")["default"])},"594d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-map",e._g({ref:"mapContainer",attrs:{id:e.id}},e.$listeners),[e._l(e.markers,(function(t){return n("map-marker",e._b({key:t.id},"map-marker",t,!1))})),e._l(e.controls,(function(t,r){return n("map-control",e._b({key:t.id||r},"map-control",t,!1))})),e._l(e.polygons,(function(t){return n("map-polygon",e._b({key:JSON.stringify(t.points)},"map-polygon",t,!1))})),n("div",{ref:"map",staticStyle:{width:"100%",height:"100%",position:"relative",overflow:"hidden"},on:{click:function(e){e.stopPropagation()}}}),n("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[e._t("default")],2)],2)},i=[],a=n("738e"),o=a["a"],s=(n("3f7e"),n("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null);t["default"]=l.exports},5964:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"setNavigationBarColor",(function(){return a})),n.d(t,"showNavigationBarLoading",(function(){return o})),n.d(t,"hideNavigationBarLoading",(function(){return s})),n.d(t,"setNavigationBarTitle",(function(){return l}));var r=n("79d5");function i(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Object(r["getPageHolder"])(n.__page__);if(i)switch(t){case"setNavigationBarColor":var a=n.frontColor,o=n.backgroundColor,s=n.animation,l=s.duration,u=s.timingFunc;a&&(i.navigationBar.textColor="#000000"===a?"black":"white"),o&&(i.navigationBar.backgroundColor=o),e.emit("onNavigationBarChange",{textColor:"#000000"===a?"#000":"#fff",backgroundColor:i.navigationBar.backgroundColor}),i.navigationBar.duration=l+"ms",i.navigationBar.timingFunc=u;break;case"showNavigationBarLoading":i.navigationBar.loading=!0;break;case"hideNavigationBarLoading":i.navigationBar.loading=!1;break;case"setNavigationBarTitle":var c=n.title;i.navigationBar.titleText=c,Object(r["isCurrentPage"])(i)&&(document.title=c),e.emit("onNavigationBarChange",{titleText:c});break}return{}}function a(e){return i("setNavigationBarColor",e)}function o(e){return i("showNavigationBarLoading",e)}function s(e){return i("hideNavigationBarLoading",e)}function l(e){return i("setNavigationBarTitle",e)}}.call(this,n("0dd1"))},"5a23":function(e,t,n){"use strict";n("f2b3");var r,i=n("5cf8");function a(){}t["a"]={name:"Keyboard",mixins:[i["a"]],props:{cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},computed:{isApple:function(){return 0===String(navigator.vendor).indexOf("Apple")}},directives:{keyboard:{inserted:function(e,t,n){n.context.initKeyboard(e)}}},methods:{initKeyboard:function(e){var t=this;e.addEventListener("focus",(function(){clearTimeout(r),document.addEventListener("click",a,!1)}));var n=function(){document.removeEventListener("click",a,!1),t.isApple&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};e.addEventListener("blur",(function(){t.isApple&&e.blur(),n()}))}}}},"5a56":function(e,t,n){"use strict";n.r(t),t["default"]={methods:{beforeTransition:function(){},afterTransition:function(){}}}},"5ab3":function(e,t,n){"use strict";var r=n("b2bb"),i=n.n(r);i.a},"5abe":function(e,t){(function(){"use strict";if("object"===typeof 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 e=window.document,t=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(e){var t=this._observationTargets.some((function(t){return t.element==e}));if(!t){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},r.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},r.prototype._parseRootMargin=function(e){var t=e||"0px",n=t.split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(window,"resize",this._checkForIntersections,!0),o(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(window,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():c();this._observationTargets.forEach((function(r){var a=r.element,o=u(a),s=this._rootContainsTarget(a),l=r.entry,c=e&&s&&this._computeTargetAndRootIntersection(a,t),d=r.entry=new n({time:i(),target:a,boundingClientRect:o,rootBounds:t,intersectionRect:c});l?e&&s?this._hasCrossedThreshold(l,d)&&this._queuedEntries.push(d):l&&l.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(t,n){if("none"!=window.getComputedStyle(t).display){var r=u(t),i=r,a=f(t),o=!1;while(!o){var s=null,c=1==a.nodeType?window.getComputedStyle(a):{};if("none"==c.display)return;if(a==this.root||a==e?(o=!0,s=n):a!=e.body&&a!=e.documentElement&&"visible"!=c.overflow&&(s=u(a)),s&&(i=l(s,i),!i))break;a=f(a)}return i}},r.prototype._getRootRect=function(){var t;if(this.root)t=u(this.root);else{var n=e.documentElement,r=e.body;t={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(t)},r.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i=0&&s>=0&&{top:n,bottom:r,left:i,right:a,width:o,height:s}}function u(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):c()}function c(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e,t){var n=t;while(n){if(n==e)return!0;n=f(n)}return!1}function f(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}})()},"5b9f":function(e,t,n){"use strict";var r=n("f2b3"),i=n("636c");t["a"]={props:{dashArray:{type:Array,default:function(){return[0,0]}},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},mounted:function(){var e=this,t=this.$parent;t.mapReady((function(){e.drawPolygon(),Object.keys(e.$props).forEach((function(t){e.$watch(t,(function(){e.drawPolygon()}),{deep:!0})}))}))},methods:{drawPolygon:function(){var e=this.points,t=this.strokeWidth,n=this.strokeColor,a=this.dashArray,o=this.fillColor,s=this.zIndex,l=this.$parent,u=l._maps,c=l._map,d=e.map((function(e){var t=e.latitude,n=e.longitude;return i["c"]?[n,t]:new u.LatLng(t,n)})),f=Object(r["j"])(o),h=f.r,p=f.g,g=f.b,v=f.a,y=Object(r["j"])(n),m=y.r,b=y.g,_=y.b,x=y.a,w={clickable:!0,cursor:"crosshair",editable:!1,map:c,fillColor:"",path:d,strokeColor:"",strokeDashStyle:a.some((function(e){return e>0}))?"dash":"solid",strokeWeight:t,visible:!0,zIndex:s};u.Color?(w.fillColor=new u.Color(h,p,g,v),w.strokeColor=new u.Color(m,b,_,x)):(w.fillColor="rgb(".concat(h,", ").concat(p,", ").concat(g,")"),w.fillOpacity=v,w.strokeColor="rgb(".concat(m,", ").concat(b,", ").concat(_,")"),w.strokeOpacity=x),this.polygonIns?this.polygonIns.setOptions(w):this.polygonIns=new u.Polygon(w)}},beforeDestroy:function(){this.polygonIns.setMap(null),this.polygonIns=null},render:function(){return null}}},"5cf8":function(e,t,n){"use strict";function r(e,t){for(var n=this.$children,i=n.length,a=arguments.length,o=new Array(a>2?a-2:0),s=2;s2?i-2:0),o=2;o2?n-2:0),a=2;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?_.PICKER:_.SELECT},system:function(){if(this.mode===m.DATE&&!Object.values(b).includes(this.fields)&&this.isDesktop&&/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""}},watch:{visible:function(e){var t=this;e?(clearTimeout(this.__contentVisibleDelay),this.contentVisible=e,this._select()):this.__contentVisibleDelay=setTimeout((function(){t.contentVisible=e}),300)},value:function(){this._setValueSync()},mode:function(){this._setValueSync()},range:function(){this._setValueSync()},valueSync:function(){this._setValueArray()},valueArray:function(e){var t=this;if(this.mode===m.TIME||this.mode===m.DATE){var n=this.mode===m.TIME?this._getTimeValue:this._getDateValue,r=this.valueArray,i=this.startArray,a=this.endArray;if(this.mode===m.DATE){var o=this.dateArray,s=o[2].length,l=Number(o[2][r[2]])||1,u=new Date("".concat(o[0][r[0]],"/").concat(o[1][r[1]],"/").concat(l)).getDate();un(a)&&this._cloneArray(r,a)}e.forEach((function(e,n){e!==t.oldValueArray[n]&&(t.oldValueArray[n]=e,t.mode===m.MULTISELECTOR&&t.$trigger("columnchange",{},{column:n,value:e}))}))}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this}),this._createTime(),this._createDate(),this._setValueSync()},beforeDestroy:function(){this.$refs.picker.remove(),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_show:function(e){var t=this;if(!this.disabled){this.valueChangeSource="";var n=this.$refs.picker;n.remove(),(document.querySelector("uni-app")||document.body).appendChild(n),n.style.display="block";var r=e.currentTarget.getBoundingClientRect();this.popover={top:r.top,left:r.left,width:r.width,height:r.height},setTimeout((function(){t.visible=!0}),20)}},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){switch(this.mode){case m.SELECTOR:this.valueSync=0;break;case m.MULTISELECTOR:this.valueSync=this.value.map((function(e){return 0}));break;case m.DATE:case m.TIME:this.valueSync="";break;default:break}},_createTime:function(){var e=[],t=[];e.splice(0,e.length);for(var n=0;n<24;n++)e.push((n<10?"0":"")+n);t.splice(0,t.length);for(var r=0;r<60;r++)t.push((r<10?"0":"")+r);this.timeArray.push(e,t)},_createDate:function(){for(var e=[],t=(new Date).getFullYear(),n=t-150,r=t+150;n<=r;n++)e.push(String(n));for(var i=[],a=1;a<=12;a++)i.push((a<10?"0":"")+a);for(var o=[],s=1;s<=31;s++)o.push((s<10?"0":"")+s);this.dateArray.push(e,i,o)},_getTimeValue:function(e){return 60*e[0]+e[1]},_getDateValue:function(e){var t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)},_cloneArray:function(e,t){for(var n=0;no?0:a)}break;case m.TIME:case m.DATE:this.valueSync=String(e);break;default:var s=Number(e);this.valueSync=s<0?0:s;break}},_setValueArray:function(){var e,t=this.valueSync;switch(this.mode){case m.MULTISELECTOR:e=c(t);break;case m.TIME:e=this._getDateValueArray(t,Object(o["g"])({mode:m.TIME}));break;case m.DATE:e=this._getDateValueArray(t,Object(o["g"])({mode:m.DATE}));break;default:e=[t];break}this.oldValueArray=c(e),this.valueArray=c(e)},_getValue:function(){var e=this,t=this.valueArray;switch(this.mode){case m.SELECTOR:return t[0];case m.MULTISELECTOR:return t.map((function(e){return e}));case m.TIME:return this.valueArray.map((function(t,n){return e.timeArray[n][t]})).join(":");case m.DATE:return this.valueArray.map((function(t,n){return e.dateArray[n][t]})).join("-")}},_getDateValueArray:function(e,t){var n,r=this.mode===m.DATE?"-":":",i=this.mode===m.DATE?this.dateArray:this.timeArray;if(this.mode===m.TIME)n=2;else switch(this.fields){case b.YEAR:n=1;break;case b.MONTH:n=2;break;default:n=3;break}for(var a=String(e).split(r),o=[],s=0;s=0&&(o=t?this._getDateValueArray(t):o.map((function(){return 0}))),o},_change:function(){this._close(),this.valueChangeSource="click";var e=this._getValue();this.valueSync=Array.isArray(e)?e.map((function(e){return e})):e,this.$trigger("change",{},{value:e})},_cancel:function(e){if("firefox"===this.system){var t=this.popover,n=t.top,r=t.left,i=t.width,a=t.height,o=e.pageX,s=e.pageY;if(o>r&&on&&s=5&&e<=18?e:18},default:18},name:{type:String},address:{type:String}}},"70f4":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-label",e._g({class:{"uni-label-pointer":e.pointer},on:{click:e._onClick}},e.$listeners),[e._t("default")],2)},i=[],a=n("f2ce"),o=a["a"],s=(n("6730"),n("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null);t["default"]=l.exports},7107:function(e,t,n){"use strict";(function(e){function r(t){var n=t.options,r=t.callbackId,i=n.family,a=n.source,o=n.desc,s=void 0===o?{}:o,l=document.fonts;if(l){var u=new FontFace(i,a,s);u.load().then((function(){l.add(u),e.publishHandler("onLoadFontFaceCallback",{callbackId:r,data:{errMsg:"loadFontFace:ok"}})})).catch((function(t){e.publishHandler("onLoadFontFaceCallback",{callbackId:r,data:{errMsg:"loadFontFace:fail ".concat(t)}})}))}else{var c=document.createElement("style");c.innerText='@font-face{font-family:"'.concat(i,'";src:').concat(a,";font-style:").concat(s.style,";font-weight:").concat(s.weight,";font-stretch:").concat(s.stretch,";unicode-range:").concat(s.unicodeRange,";font-variant:").concat(s.variant,";font-feature-settings:").concat(s.featureSettings,";}"),document.head.appendChild(c),e.publishHandler("onLoadFontFaceCallback",{callbackId:r,data:{errMsg:"loadFontFace:ok"}})}}n.d(t,"a",(function(){return r}))}).call(this,n("501c"))},"72ad":function(e,t,n){},"72b3":function(e,t,n){"use strict";function r(e,t,n){return e>t-n&&e0){var u=(-n-Math.sqrt(a))/(2*r),c=(-n+Math.sqrt(a))/(2*r),d=(t-u*e)/(c-u),f=e-d;return{x:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),f*t+d*n},dx:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),f*u*t+d*c*n}}}var h=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,g=e,v=(t-p*e)/h;return{x:function(e){return Math.pow(Math.E,p*e)*(g*Math.cos(h*e)+v*Math.sin(h*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(h*e),r=Math.sin(h*e);return t*(v*h*n-g*h*r)+p*t*(v*r+g*n)}}},a.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},a.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},a.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!i(t,.4)){t=t||0;var r=this._endPosition;this._solution&&(i(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),i(t,.4)&&(t=0),i(r,.4)&&(r=0),r+=this._endPosition),this._solution&&i(r-e,.4)&&i(t,.4)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}},a.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},a.prototype.done=function(e){return e||(e=(new Date).getTime()),r(this.x(),this._endPosition,.4)&&i(this.dx(),.4)},a.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},a.prototype.springConstant=function(){return this._k},a.prototype.damping=function(){return this._c},a.prototype.configuration=function(){function e(e,t){e.reconfigure(1,t,e.damping())}function t(e,t){e.reconfigure(1,e.springConstant(),t)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]}},"738e":function(e,t,n){"use strict";(function(e){var r=n("8af1"),i=n("f2b3"),a=n("31c6"),o=n("453f"),s=n("149e"),l=n("5b9f"),u=n("636c");function c(e,t,n){return c=d()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=Function.bind.apply(e,r),a=new i;return n&&f(a,n.prototype),a},c.apply(null,arguments)}function d(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(e,t,n){return new e.LngLat(n,t)}function p(e,t,n){return new e.LatLng(t,n)}function g(e,t,n){return u["c"]?h(e,t,n):p(e,t,n)}function v(e){return"getLat"in e?e.getLat():e.lat()}function y(e){return"getLng"in e?e.getLng():e.lng()}t["a"]={name:"Map",components:{mapMarker:o["a"],mapControl:s["a"],mapPolygon:l["a"]},mixins:[r["g"]],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},libraries:{type:Array,default:function(){return[]}},polygons:{type:Array,default:function(){return[]}}},data:function(){return{center:{latitude:116.46,longitude:116.46},isMapReady:!1,isBoundsReady:!1,polylineSync:[],circlesSync:[]}},watch:{latitude:function(){this.centerChange()},longitude:function(){this.centerChange()},scale:function(e){var t=this;this.mapReady((function(){t._map.setZoom(Number(e)||16)}))},polyline:function(e){var t=this;this.mapReady((function(){t.createPolyline()}))},circles:function(){var e=this;this.mapReady((function(){e.createCircles()}))},includePoints:function(){var e=this;this.mapReady((function(){e.fitBounds(e.includePoints)}))},showLocation:function(e){var t=this;this.mapReady((function(){t[e?"createLocation":"removeLocation"]()}))}},created:function(){this._markers={};var e=this.latitude,t=this.longitude;e&&t&&(this.center.latitude=e,this.center.longitude=t)},mounted:function(){var e=this;Object(a["a"])(this.libraries,(function(t){t.event=t.event||t.Event,t.Point=t.Point||t.BuryPoint,e._maps=t,e.init()}))},beforeDestroy:function(){this.removePolyline(),this.removeCircles(),this.removeLocation()},methods:{_handleSubscribe:function(e){var t=this,n=e.type,r=e.data,i=void 0===r?{}:r,a=this._maps;function o(e,t){e=e||{},e.errMsg="".concat(n,":").concat(t?"fail"+t:"ok");var r=t?i.fail:i.success;"function"===typeof r&&r(e),"function"===typeof i.complete&&i.complete(e)}switch(n){case"getCenterLocation":this.mapReady((function(){var e,n,r=t._map.getCenter();e=v(r),n=y(r),o({latitude:e,longitude:n})}));break;case"moveToLocation":var s=i.latitude,l=i.longitude,c=s&&l?g(a,s,l):this._locationPosition;c&&(this._map.setCenter(c),o({latitude:s,longitude:l}));break;case"translateMarker":this.mapReady((function(){try{var e=t.getMarker(i.markerId),n=i.destination,r=i.duration,s=!!i.autoRotate,l=Number(i.rotate)?i.rotate:0,u=0;"getRotation"in e&&(u=e.getRotation());var c=e.getPosition(),d=g(a,n.latitude,n.longitude),f=a.geometry.spherical.computeDistanceBetween(c,d)/1e3,h=("number"===typeof r?r:1e3)/36e5,p=f/h,v=a.event.addListener(e,"moving",(function(t){var n=t.latLng,r=e.label;r&&r.setPosition(n);var i=e.callout;i&&i.setPosition(n)})),y=a.event.addListener(e,"moveend",(function(t){y.remove(),v.remove(),e.lastPosition=c,e.setPosition(d);var n=e.label;n&&n.setPosition(d);var r=e.callout;r&&r.setPosition(d);var a=i.animationEnd;"function"===typeof a&&a()})),m=0;s&&(e.lastPosition&&(m=a.geometry.spherical.computeHeading(e.lastPosition,c)),l=a.geometry.spherical.computeHeading(c,d)-m),"setRotation"in e&&e.setRotation(u+l),"moveTo"in e?e.moveTo(d,p):(e.setPosition(d),a.event.trigger(e,"moveend",{}))}catch(b){o(null,b)}}));break;case"includePoints":this.fitBounds(i.points);break;case"getRegion":this.mapReady((function(){t.boundsReady((function(){var e=t._map.getBounds(),n=e.getSouthWest(),r=e.getNorthEast();o({southwest:{latitude:v(n),longitude:y(n)},northeast:{latitude:v(r),longitude:y(r)}})})),u["c"]&&(t.isBoundsReady=!0,t.$emit("boundsready"))}));break;case"getScale":this.mapReady((function(){o({scale:t._map.getZoom()})}));break}},init:function(){var e=this,t=this._maps,n=g(t,this.center.latitude,this.center.longitude),r=this._map=new t.Map(this.$refs.map,{center:n,zoom:Number(this.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0}),i=t.event.addListener(r,"bounds_changed",(function(t){i.remove(),e.isBoundsReady=!0,e.$emit("boundsready")}));function a(){var e=r.getCenter();return{scale:r.getZoom(),centerLocation:{latitude:v(e),longitude:y(e)}}}t.event.addListener(r,"click",(function(t){e.$trigger("click",{},{})})),t.event.addListener(r,"dragstart",(function(){e.$trigger("regionchange",{},{type:"begin",causedBy:"gesture"})})),t.event.addListener(r,"dragend",(function(){e.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"drag"},a()))})),t.event.addListener(r,"zoom_changed",(function(){e.$emit("update:scale",r.getZoom()),e.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"scale"},a()))})),t.event.addListener(r,"center_changed",(function(){var t,n,i=r.getCenter();t=v(i),n=y(i),e.$emit("update:latitude",t),e.$emit("update:longitude",n)})),this.polyline&&Array.isArray(this.polyline)&&this.polyline.length&&this.createPolyline(),this.circles&&Array.isArray(this.circles)&&this.circles.length&&this.createCircles(),this.showLocation&&this.createLocation(),this.includePoints&&Array.isArray(this.includePoints)&&this.includePoints.length&&this.fitBounds(this.includePoints,(function(){r.setCenter(n)})),this.isMapReady=!0,this.$emit("mapready"),this.$trigger("updated",{},{})},centerChange:function(){var e=this,t=this._maps,n=Number(this.latitude),r=Number(this.longitude);n===this.center.latitude&&r===this.center.longitude||(this.center.latitude=n,this.center.longitude=r,this._map&&this.mapReady((function(){var i=g(t,n,r);e._map.setCenter(i)})))},createPolyline:function(){var e=this._maps,t=this._map,n=this.polylineSync;this.removePolyline(),this.polyline.forEach((function(r){var a=[];r.points.forEach((function(t){var n=u["c"]?[t.longitude,t.latitude]:p(e,t.latitude,t.longitude);a.push(n)}));var o=Number(r.borderWidth)||0,s=Object(i["j"])(r.color),l=s.r,c=s.g,d=s.b,f=s.a,h=Object(i["j"])(r.borderColor),g=h.r,v=h.g,y=h.b,m=h.a,b={map:t,clickable:!1,path:a,strokeWeight:(Number(r.width)||0)+o||6,strokeDashStyle:r.dottedLine?"dash":"solid"};u["c"]&&(b.strokeColor=r.strokeColor,b.strokeStyle=r.dottedLine?"dashed":"solid",b.isOutline=!!r.borderWidth,b.borderWeight=r.borderWidth,b.outlineColor=r.borderColor);var _={map:t,clickable:!1,path:a,strokeWeight:r.width||6,strokeDashStyle:r.dottedLine?"dash":"solid"};"Color"in e?(b.strokeColor=new e.Color(l,c,d,f),_.strokeColor=new e.Color(g,v,y,m)):(b.strokeColor="rgb(".concat(l,", ").concat(c,", ").concat(d,")"),b.strokeOpacity=f,_.strokeColor="rgb(".concat(g,", ").concat(v,", ").concat(y,")"),_.strokeOpacity=m),o&&n.push(new e.Polyline(_));var x=new e.Polyline(b);u["c"]&&t.add(x),n.push(x)}))},removePolyline:function(){var e=this.polylineSync;e.forEach((function(e){e.setMap(null)})),e.splice(0,e.length)},createCircles:function(){var e=this._maps,t=this._map,n=this.circlesSync;this.removeCircles(),this.circles.forEach((function(r){var a=u["c"]?[r.longitude,r.latitude]:p(e,r.latitude,r.longitude),o={map:t,center:a,clickable:!1,radius:r.radius,strokeWeight:Number(r.strokeWidth)||1,strokeDashStyle:"solid"};if(u["c"])o.strokeColor=r.color,o.fillColor=r.fillColor||"#000";else{var s=Object(i["j"])(r.fillColor||"#00000000"),l=s.r,c=s.g,d=s.b,f=s.a,h=Object(i["j"])(r.color||"#000000"),g=h.r,v=h.g,y=h.b,m=h.a;"Color"in e?(o.fillColor=new e.Color(l,c,d,f),o.strokeColor=new e.Color(g,v,y,m)):(o.fillColor="rgb(".concat(l,", ").concat(c,", ").concat(d,")"),o.fillOpacity=f,o.strokeColor="rgb(".concat(g,", ").concat(v,", ").concat(y,")"),o.strokeOpacity=m)}var b=new e.Circle(o);u["c"]&&t.add(b),n.push(b)}))},removeCircles:function(){var e=this.circlesSync;e.forEach((function(e){e.setMap(null)})),e.splice(0,e.length)},createLocation:function(){var t=this,n=this._maps,r=this._map,i=this._location;i&&this.removeLocation(),uni.getLocation({type:"gcj02",success:function(e){if(i===t._location){var a=g(n,e.latitude,e.longitude);if(u["c"]){i=new n.Marker({position:a,map:r,flat:!0,rotation:0});var s=new n.Icon({size:new n.Size(44,44),image:u["a"],imageSize:new n.Size(44,44)});i.setIcon(s),r.add(i)}else i=new n.Marker({position:a,map:r,icon:new n.MarkerImage(u["a"],null,null,new n.Point(22,22),new n.Size(44,44)),flat:!0,rotation:0});t._location=i,o(),t.__onCompassChange=function(e){i.setRotation(e.direction)},uni.onCompassChange(t.__onCompassChange)}},fail:function(t){e.error(t)}});var a=this;function o(){i===a._location&&setTimeout((function(){uni.getLocation({type:"gcj02",success:function(e){var t=a._locationPosition=g(n,e.latitude,e.longitude);i.setPosition(t)},fail:function(t){e.error(t)},complete:function(){o()}})}),3e4)}},removeLocation:function(){var e=this._location;e&&(e.setMap(null),this._location=null,this._locationPosition=null,uni.offCompassChange(this.__onCompassChange))},fitBounds:function(e,t){var n=this,r=this._maps;this.boundsReady((function(){var i=n._map;if(u["c"]){var a=[];e.forEach((function(e){a.push([e.longitude,e.latitude])}));var o=c(r.Bounds,a);i.setBounds(o)}else{var s=new r.LatLngBounds;e.forEach((function(e){var t=e.longitude,n=e.latitude,i=p(r,n,t);s.extend(i)})),i.fitBounds(s)}"function"===typeof t&&t()})),u["c"]&&(this.isBoundsReady=!0,this.$emit("boundsready"))},mapReady:function(e){this.isMapReady?e():this.$once("mapready",(function(){e()}))},boundsReady:function(e){this.isBoundsReady?e():this.$once("boundsready",(function(){e()}))},getMarker:function(e){var t=this._markers[e];if(!t)throw new Error("translateMarker: fail cannot find marker with id "+e);return t}}}}).call(this,n("3ad9")["default"])},7572:function(e,t,n){},"764a":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n("f2b3"),i=n("85b6"),a=n("65a8"),o=n("33ed"),s=!!r["r"]&&{passive:!1};function l(t){if(uni.canIUse("css.var")){var n=parseFloat(__uniConfig.tabBar.height),r=t.$parent.$parent,i=r.navigationBar.type,o="default"===i||"float"===i?a["a"]:0,s=getApp().$children[0].showTabBar?isNaN(n)?a["c"]:n:0,l=uni.canIUse("css.env")?"env":uni.canIUse("css.constant")?"constant":"",u=o&&l?"calc(".concat(o,"px + ").concat(l,"(safe-area-inset-top))"):"".concat(o,"px"),c=s&&l?"calc(".concat(s,"px + ").concat(l,"(safe-area-inset-bottom))"):"".concat(s,"px"),d=document.documentElement.style;d.setProperty("--window-top","calc(var(--top-window-height) + ".concat(u,")")),d.setProperty("--window-bottom",c),e.debug("".concat(t.$page.route,"[").concat(t.$page.id,"]:--window-top=").concat(u)),e.debug("".concat(t.$page.route,"[").concat(t.$page.id,"]:--window-bottom=").concat(c))}}function u(e){var t=!1,n=!1;e("onPageLoad",(function(e){l(e)})),e("onPageShow",(function(e){var a=e.$parent.$parent;e._isMounted&&l(e),n&&document.removeEventListener("touchmove",n,s),a.disableScroll&&(n=o["b"],document.addEventListener("touchmove",n,s));var u=Object(i["c"])(e.$options,"onPageScroll"),c=Object(i["c"])(e.$options,"onReachBottom"),d=a.onReachBottomDistance,f=Object(r["l"])(a.titleNView)&&"transparent"===a.titleNView.type||Object(r["l"])(a.navigationBar)&&"transparent"===a.navigationBar.type;t&&document.removeEventListener("scroll",t),(f||u||c)&&(t=Object(o["a"])(e.$page.id,{enablePageScroll:u,enablePageReachBottom:c,onReachBottomDistance:d,enableTransparentTitleNView:f}),requestAnimationFrame((function(){document.addEventListener("scroll",t)})))}))}}).call(this,n("3ad9")["default"])},"77d5":function(e,t,n){},"77e0":function(e,t,n){"use strict";n.r(t),function(e,r){var i=n("a6b0");t["default"]={data:function(){return{showToast:{visible:!1}}},created:function(){var t=this,n="",a=function(e){return function(r){n=e,setTimeout((function(){t.showToast=r}),10)}};e.on("onShowToast",a("onShowToast")),e.on("onShowLoading",a("onShowLoading"));var o=function(e){return function(){if(n){var a="";if("onHideToast"===e&&"onShowToast"!==n?a=Object(i["g"])("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==n&&(a=Object(i["g"])("uni.showLoading.unpaired")),a)return r.warn(a);n="",setTimeout((function(){t.showToast.visible=!1}),10)}}};e.on("onHidePopup",o("onHidePopup")),e.on("onHideToast",o("onHideToast")),e.on("onHideLoading",o("onHideLoading"))}}}.call(this,n("0dd1"),n("3ad9")["default"])},"78c8":function(e,t,n){"use strict";n.r(t),n.d(t,"getDeviceInfo",(function(){return h})),n.d(t,"getAppBaseInfo",(function(){return p})),n.d(t,"getSystemInfoSync",(function(){return g})),n.d(t,"getSystemInfo",(function(){return v}));var r,i=n("c6af"),a="__DC_STAT_UUID",o=window.localStorage||window.sessionStorage||{},s=function(){if(r=r||o[a],!r){r=Date.now()+""+Math.floor(1e7*Math.random());try{o[a]=r}catch(e){}}return r},l=n("fb3e"),u=n("f2b3"),c={},d=!0;function f(){d&&(c=Object(l["getBrowserInfo"])())}function h(){f();var e=c,t=e.deviceBrand,n=e.deviceModel,r=e.brand,i=e.model,a=e.platform,o=e.system,l=e.deviceOrientation,u=e.deviceType;return{brand:r,deviceBrand:t,deviceModel:n,devicePixelRatio:window.devicePixelRatio,deviceId:s(),deviceOrientation:l,deviceType:u,model:i,platform:a,system:o}}function p(){f();var e=c,t=e.theme,n=e.language,r=e.browserName,i=e.browserVersion,a=uni&&uni.getLocale?uni.getLocale():n;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:a,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:r,hostVersion:i,hostTheme:t,hostLanguage:n,language:n,SDKVersion:"",theme:t,version:""}}function g(){d=!0,f(),d=!1;var e=Object(i["getWindowInfo"])(),t=h(),n=p();d=!0;var r=c,a=r.ua,o=r.browserName,s=r.browserVersion,l=r.osname,g=r.osversion,v=Object.assign({},e,t,n,{browserName:o,browserVersion:s,fontSizeSetting:n.hostFontSizeSetting,osName:l.toLocaleLowerCase(),osVersion:g,osLanguage:void 0,osTheme:void 0,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,ua:a});return delete v.screenTop,delete v.enableDebug,delete v.theme,Object(u["q"])(v)}function v(){return g()}},"79d5":function(e,t,n){"use strict";function r(e){if(e)return e.$holder;var t=getCurrentPages(),n=t.length;return n?t[n-1].$holder:void 0}function i(e){var t=getCurrentPages(),n=t.length;return!!n&&t[n-1].$holder===e}n.r(t),n.d(t,"getPageHolder",(function(){return r})),n.d(t,"isCurrentPage",(function(){return i}))},"7ac7":function(e,t,n){"use strict";(function(e){var r,i=n("8bbf"),a=n.n(i),o=n("f2b3"),s=n("65a8"),l=["top","left","right"],u=document.documentElement;function c(e,t){r||(r=u.style),r.setProperty(e,t)}function d(e){var t=window.screen,n=[window.outerWidth,window.outerHeight,t.width,t.height,u.clientWidth,u.clientHeight];return Math.max.apply(null,n)>e}t["a"]={name:"Layout",props:{routerKey:{type:String,default:""},keepAliveInclude:{type:Array,default:function(){return[]}}},data:function(){return{marginWidth:0,leftWindowStyle:"",rightWindowStyle:"",topWindowStyle:"",topWindowMediaQuery:!1,leftWindowMediaQuery:!1,rightWindowMediaQuery:!1,topWindowHeight:"0px",apiShowTopWindow:!1,apiShowLeftWindow:!1,apiShowRightWindow:!1,navigationBarTitleText:"",maxWidthMeidaQuery:!1}},computed:{bindWindow:function(){return{matchTopWindow:this.topWindowMediaQuery,showTopWindow:this.showTopWindow||this.apiShowTopWindow,matchLeftWindow:this.leftWindowMediaQuery,showLeftWindow:this.showLeftWindow||this.apiShowLeftWindow,matchRightWindow:this.rightWindowMediaQuery,showRightWindow:this.showRightWindow||this.apiShowRightWindow}},showLayout:function(){return this.showTopWindow||this.showLeftWindow||this.showRightWindow},showTopWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.topWindow&&this.topWindowMediaQuery},showLeftWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.leftWindow&&this.leftWindowMediaQuery},showRightWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.rightWindow&&this.rightWindowMediaQuery}},watch:{$route:function(){this.checkMaxWidth()},showLayout:function(){this.checkLayout()},showTopWindow:function(e,t){e?this.$nextTick(this.onTopWindowInit):c("--top-window-height","0px")},showLeftWindow:function(e,t){e?this.$nextTick(this.onLeftWindowInit):c("--window-left","0px")},showRightWindow:function(e,t){e?this.$nextTick(this.onRightWindowInit):c("--window-right","0px")},marginWidth:function(e){c("--window-margin",e+"px")}},beforeCreate:function(){c("--top-window-height","0px"),c("--window-left","0px"),c("--window-right","0px"),c("--window-margin","0px")},created:function(){var t=this;this.topWindow=a.a.component("VUniTopWindow"),this.leftWindow=a.a.component("VUniLeftWindow"),this.rightWindow=a.a.component("VUniRightWindow"),(this.topWindow||this.leftWindow||this.rightWindow)&&uni.canIUse("css.var")&&window.matchMedia&&(l.forEach((function(e){return t.initWindowMinWidth(e)})),this.responsive=d(this.minWidth),this.responsive&&(this.topWindow&&this.topWindow.options.style&&(this.topWindowStyle=this.topWindow.options.style),this.leftWindow&&this.leftWindow.options.style&&(this.leftWindowStyle=this.leftWindow.options.style),this.rightWindow&&this.rightWindow.options.style&&(this.rightWindowStyle=this.rightWindow.options.style),l.forEach((function(e){return t.initMediaQuery(e)})),e.on("onNavigationBarChange",(function(e){t.navigationBarTitleText=e.titleText})))),this.initMaxWidth()},mounted:function(){this.checkLayout(),this.checkMaxWidth()},methods:{resetApiShowWindow:function(){this.apiShowLeftWindow=!1,this.apiShowRightWindow=!1},showWindow:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this[e+"Window"])return e+"Window not found";var n=Object(o["c"])(e);if(!this["show"+n+"Window"]){var r="apiShow"+n+"Window";this[r]!==t&&(this[r]=t,"top"===e&&(t?this.$nextTick(this.onTopWindowInit):c("--top-window-height","0px")))}},getWindowStyle:function(e){if(!this[e+"Window"])return e+"Window not found";var t=Object.assign({},this[e+"WindowStyle"]);return t},setWindowStyle:function(e,t){if(!this[e+"Window"])return e+"Window not found";t&&(this[e+"WindowStyle"]=t,this.$nextTick(this["on"+Object(o["c"])(e)+"WindowInit"]))},initMaxWidth:function(){var e=this;window.addEventListener("resize",(function(){e.checkMaxWidth()}))},checkLayout:function(){this.$emit("layout",this.showLayout)},checkMaxWidth:function(){var e=this,t=document.body.clientWidth,n=parseInt(this.$route.meta.maxWidth),r=!1;r=t>n,this.$emit("maxWidth",r),this.$containerElem||(this.$containerElem=document.querySelector("uni-app")),this.$containerElem&&(r&&n?(this.marginWidth=(t-n)/2,this.$nextTick((function(){e.onLeftWindowInit(),e.onRightWindowInit(),e.$containerElem.setAttribute("style","max-width:"+n+"px;margin:0 auto;")}))):(this.marginWidth=0,this.$nextTick((function(){e.onLeftWindowInit(),e.onRightWindowInit(),e.$containerElem.removeAttribute("style")}))))},initWindowMinWidth:function(e){var t=e+"Window";if(this[t]){var n=e+"WindowMinWidth";this[n]=s["b"];var r=__uniConfig[t];r&&r.matchMedia&&Object(o["i"])(r.matchMedia,"minWidth")&&(this[n]=r.matchMedia.minWidth),("undefined"===typeof this.minWidth||this.minWidth>this[n])&&(this.minWidth=this[n])}},initMediaQuery:function(e){var t=this;if(this[e+"Window"]){var n=e+"WindowMediaQuery",r=window.matchMedia("(min-width: "+this[e+"WindowMinWidth"]+"px)");r.addListener((function(r){t[n]=r.matches,t.$nextTick((function(){t["on"+Object(o["c"])(e)+"WindowInit"]()}))})),this[n]=r.matches}},onTopWindowInit:function(){if(this.responsive&&this.topWindow){var e="0px";e=this.topWindowStyle&&this.topWindowStyle.height?this.$refs.topWindow.offsetHeight+"px":this.$refs.top.$el.offsetHeight+"px",this.topWindowHeight=e,c("--top-window-height",e)}},onLeftWindowInit:function(){this.responsive&&this.leftWindow?this.leftWindowStyle&&this.leftWindowStyle.width?c("--window-left",this.$refs.leftWindow.offsetWidth+this.marginWidth+"px"):c("--window-left",this.$refs.left.$el.offsetWidth+this.marginWidth+"px"):c("--window-left",this.marginWidth+"px")},onRightWindowInit:function(){this.responsive&&this.rightWindow?this.rightWindowStyle&&this.rightWindowStyle.width?c("--window-right",this.$refs.rightWindow.offsetWidth+this.marginWidth+"px"):c("--window-right",this.$refs.right.$el.offsetWidth+this.marginWidth+"px"):c("--window-right",this.marginWidth+"px")}}}}).call(this,n("0dd1"))},"7bab":function(e,t,n){"use strict";function r(){var e=document.getElementById("#clipboard"),t=e?e.value:void 0;return t?{data:t,errMsg:"getClipboardData:ok"}:{errMsg:"getClipboardData:fail"}}function i(e){var t=e.data,n=document.getElementById("#clipboard");n&&n.remove();var r=document.createElement("textarea");r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=t,r.select(),r.setSelectionRange(0,r.value.length);var i=document.execCommand("Copy",!1,null);return r.blur(),i?{errMsg:"setClipboardData:ok"}:{errMsg:"setClipboardData:fail"}}n.r(t),n.d(t,"getClipboardData",(function(){return r})),n.d(t,"setClipboardData",(function(){return i}))},"7bb3":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-checkbox",e._g({attrs:{disabled:e.disabled},on:{click:e._onClick}},e.$listeners),[n("div",{staticClass:"uni-checkbox-wrapper"},[n("div",{staticClass:"uni-checkbox-input",class:{"uni-checkbox-input-checked":e.checkboxChecked,"uni-checkbox-input-disabled":e.disabled},style:{color:e.color}}),e._t("default")],2)])},i=[],a=n("8af1"),o={name:"Checkbox",mixins:[a["a"],a["f"]],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(e){this.checkboxChecked=e},value:function(e){this.checkboxValue=e}},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(e){this.disabled||(this.checkboxChecked=!this.checkboxChecked,this.$dispatch("CheckboxGroup","uni-checkbox-change",e))},_resetFormData:function(){this.checkboxChecked=!1}}},s=o,l=(n("f53a"),n("2877")),u=Object(l["a"])(s,r,i,!1,null,null,null);t["default"]=u.exports},"7c2b":function(e,t,n){"use strict";var r=n("2c45"),i=n.n(r);i.a},"7d18":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"uploadFile",(function(){return u}));var r=n("e2e2");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n=0&&this._callbacks.splice(t,1)}},{key:"abort",value:function(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),e}();function u(t,n){var i=t.url,a=t.file,o=t.filePath,s=t.name,u=t.files,c=t.header,d=t.formData,f=t.timeout,h=void 0===f?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.uploadFile||6e4:f,p=e,g=p.invokeCallbackHandler,v=new l(null,n);function y(e){var t,r=new XMLHttpRequest,a=new FormData;Object.keys(d).forEach((function(e){a.append(e,d[e])})),Object.values(u).forEach((function(t,n){var r=t.name,i=e[n];a.append(r||"file",i,i.name||"file-".concat(Date.now()))})),r.open("POST",i),Object.keys(c).forEach((function(e){r.setRequestHeader(e,c[e])})),r.upload.onprogress=function(e){v._callbacks.forEach((function(t){var n=e.loaded,r=e.total,i=Math.round(n/r*100);t({progress:i,totalBytesSent:n,totalBytesExpectedToSend:r})}))},r.onerror=function(){clearTimeout(t),g(n,{errMsg:"uploadFile:fail"})},r.onabort=function(){clearTimeout(t),g(n,{errMsg:"uploadFile:fail abort"})},r.onload=function(){clearTimeout(t);var e=r.status;g(n,{errMsg:"uploadFile:ok",statusCode:e,data:r.responseText||r.response})},v._isAbort?g(n,{errMsg:"uploadFile:fail abort"}):(t=setTimeout((function(){r.upload.onprogress=r.onload=r.onabort=r.onerror=null,v.abort(),g(n,{errMsg:"uploadFile:fail timeout"})}),h),r.send(a),v._xhr=r)}return Array.isArray(u)&&u.length||(u=[{name:s,file:a,uri:o}]),Promise.all(u.map((function(e){var t=e.file,n=e.uri;return t instanceof Blob?Promise.resolve(Object(r["a"])(t)):Object(r["f"])(n)}))).then(y).catch((function(){setTimeout((function(){g(n,{errMsg:"uploadFile:fail file error"})}),0)})),v}}.call(this,n("0dd1"))},"7df2":function(e,t,n){},"7e6a":function(e,t,n){"use strict";var r=n("515d"),i=n.n(r);i.a},"7f4e":function(e,t,n){"use strict";function r(e){var t=e.phoneNumber;return window.location.href="tel:".concat(t),{errMsg:"makePhoneCall:ok"}}n.r(t),n.d(t,"makePhoneCall",(function(){return r}))},"80e5":function(e){e.exports=JSON.parse('{"uni.app.quit":"Pulse otra vez para salir","uni.async.error":"Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo.","uni.showActionSheet.cancel":"Cancelar","uni.showToast.unpaired":"Tenga en cuenta que showToast debe estar emparejado con hideToast","uni.showLoading.unpaired":"Tenga en cuenta que showLoading debe estar emparejado con hideLoading","uni.showModal.cancel":"Cancelar","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Cancelar","uni.chooseImage.sourceType.album":"Álbum","uni.chooseImage.sourceType.camera":"Cámara","uni.chooseVideo.cancel":"Cancelar","uni.chooseVideo.sourceType.album":"Álbum","uni.chooseVideo.sourceType.camera":"Cámara","uni.chooseFile.notUserActivation":"El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario","uni.previewImage.cancel":"Cancelar","uni.previewImage.button.save":"Guardar imagen","uni.previewImage.save.success":"Guardado exitosamente","uni.previewImage.save.fail":"Error al guardar","uni.setClipboardData.success":"Contenido copiado","uni.scanCode.title":"Código de escaneo","uni.scanCode.album":"Álbum","uni.scanCode.fail":"Échec de la reconnaissance","uni.scanCode.flash.on":"Toque para encender la luz","uni.scanCode.flash.off":"Toque para apagar la luz","uni.startSoterAuthentication.authContent":"Reconocimiento de huellas dactilares","uni.picker.done":"OK","uni.picker.cancel":"Cancelar","uni.video.danmu":"Danmu","uni.video.volume":"Volumen","uni.button.feedback.title":"realimentación","uni.button.feedback.send":"enviar","uni.chooseLocation.search":"Encontrar","uni.chooseLocation.cancel":"Cancelar"}')},"811a":function(e,t,n){"use strict";n.r(t),n.d(t,"connectSocket",(function(){return f})),n.d(t,"sendSocketMessage",(function(){return h})),n.d(t,"closeSocket",(function(){return p})),n.d(t,"onSocketOpen",(function(){return g})),n.d(t,"onSocketError",(function(){return v})),n.d(t,"onSocketMessage",(function(){return y})),n.d(t,"onSocketClose",(function(){return m}));var r=n("a118"),i=n("db70");function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.success,n=e.fail,r=e.complete,i=arguments.length>1?arguments[1]:void 0,a={errMsg:i};/:ok$/.test(i)?"function"===typeof t&&t(a):"function"===typeof n&&n(a),"function"===typeof r&&r(a)}}]),e}(),u=Object.create(null),c=[],d=Object.create(null);function f(e,t){var n=Object(i["c"])("createSocketTask",e),a=n.socketTaskId,o=new l(a);return u[a]=o,c.push(o),setTimeout((function(){Object(r["a"])(t,{errMsg:"connectSocket:ok"})}),0),o}function h(e,t){var n=c[0];if(n&&n.readyState===n.OPEN)return Object(i["c"])("operateSocketTask",Object.assign({},e,{operationType:"send",socketTaskId:n.id}));Object(r["a"])(t,{errMsg:"sendSocketMessage:fail WebSocket is not connected"})}function p(e,t){var n=c[0];if(n)return n.readyState=n.CLOSING,Object(i["c"])("operateSocketTask",Object.assign({},e,{operationType:"close",socketTaskId:n.id}));Object(r["a"])(t,{errMsg:"closeSocket:fail WebSocket is not connected"})}function g(e){d.open=e}function v(e){d.error=e}function y(e){d.message=e}function m(e){d.close=e}Object(i["d"])("onSocketTaskStateChange",(function(e){var t=e.socketTaskId,n=e.state,i=e.data,a=(e.errMsg,u[t]);if(a){if("open"===n&&(a.readyState=a.OPEN),a===c[0]&&d[n]&&Object(r["a"])(d[n],"message"===n?{data:i}:{}),"error"===n||"close"===n){a.readyState=a.CLOSED,delete u[t];var o=c.indexOf(a);o>=0&&c.splice(o,1)}a._callbacks[n].forEach((function(e){"function"===typeof e&&e("message"===n?{data:i}:{})}))}}))},8188:function(e,t,n){"use strict";(function(e){var r=n("8af1"),i=n("18fd"),a=n("b253"),o=n("93ab");function s(e){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){var e=navigator.userAgent,t=/iphone|ipad|ipod/i.test(e),n=/Macintosh|Mac/i.test(e),r=n&&navigator.maxTouchPoints>0;return t||r}var u=!1;t["a"]={name:"Editor",mixins:[r["g"],r["a"],r["e"]],props:{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}},data:function(){return{quillReady:!1}},computed:{},watch:{readOnly:function(e){if(this.quillReady){var t=this.quill;t.enable(!e),e||t.blur()}},placeholder:function(e){this.quillReady&&this.setPlaceHolder(e)}},mounted:function(){var e=this,t=[];this.showImgSize&&t.push("DisplaySize"),this.showImgToolbar&&t.push("Toolbar"),this.showImgResize&&t.push("Resize");var n="https://unpkg.com/quill@1.3.7/dist/quill.min.js";Object(o["a"])(window.Quill,n,(function(){if(t.length){var n="https://unpkg.com/quill-image-resize-mp@3.0.1/image-resize.min.js";Object(o["a"])(window.ImageResize,n,(function(){e.initQuill(t)}))}else e.initQuill(t)}))},methods:{_handleSubscribe:function(t){var n,r,i,a=t.type,o=t.data,l=o.options,c=o.callbackId,d=this.quill,f=window.Quill;if(this.quillReady){switch(a){case"format":var h=l.name,p=void 0===h?"":h,g=l.value,v=void 0!==g&&g;r=d.getSelection(!0);var y=d.getFormat(r)[p]||!1;if(["bold","italic","underline","strike","ins"].includes(p))v=!y;else if("direction"===p){v=("rtl"!==v||!y)&&v;var m=d.getFormat(r).align;"rtl"!==v||m?v||"right"!==m||d.format("align",!1,f.sources.USER):d.format("align","right",f.sources.USER)}else if("indent"===p){var b="rtl"===d.getFormat(r).direction;v="+1"===v,b&&(v=!v),v=v?"+1":"-1"}else"list"===p&&(v="check"===v?"unchecked":v,y="checked"===y?"unchecked":y),v=y&&y!==(v||!1)||!y&&v?v:!y;d.format(p,v,f.sources.USER);break;case"insertDivider":r=d.getSelection(!0),d.insertText(r.index,"\n",f.sources.USER),d.insertEmbed(r.index+1,"divider",!0,f.sources.USER),d.setSelection(r.index+2,f.sources.SILENT);break;case"insertImage":r=d.getSelection(!0);var _=l.src,x=void 0===_?"":_,w=l.alt,S=void 0===w?"":w,M=l.width,T=void 0===M?"":M,A=l.height,C=void 0===A?"":A,O=l.extClass,k=void 0===O?"":O,I=l.data,P=void 0===I?{}:I,E=this.$getRealPath(x);d.insertEmbed(r.index,"image",E,f.sources.USER);var L=!!/^(file|blob):/.test(E)&&E;u=!0,d.formatText(r.index,1,"data-local",L),d.formatText(r.index,1,"alt",S),d.formatText(r.index,1,"width",T),d.formatText(r.index,1,"height",C),d.formatText(r.index,1,"class",k),u=!1,d.formatText(r.index,1,"data-custom",Object.keys(P).map((function(e){return"".concat(e,"=").concat(P[e])})).join("&")),d.setSelection(r.index+1,f.sources.SILENT);break;case"insertText":r=d.getSelection(!0);var D=l.text,R=void 0===D?"":D;d.insertText(r.index,R,f.sources.USER),d.setSelection(r.index+R.length,0,f.sources.SILENT);break;case"setContents":var N=l.delta,j=l.html;"object"===s(N)?d.setContents(N,f.sources.SILENT):"string"===typeof j?d.setContents(this.html2delta(j),f.sources.SILENT):i="contents is missing";break;case"getContents":n=this.getContents();break;case"clear":d.setContents([]);break;case"removeFormat":r=d.getSelection(!0);var B=f.import("parchment");r.length?d.removeFormat(r,f.sources.USER):Object.keys(d.getFormat(r)).forEach((function(e){B.query(e,B.Scope.INLINE)&&d.format(e,!1)}));break;case"undo":d.history.undo();break;case"redo":d.history.redo();break;case"blur":d.blur();break;case"getSelectionText":r=d.selection.savedRange,n={text:""},r&&0!==r.length&&(n.text=d.getText(r.index,r.length));break;case"scrollIntoView":d.scrollIntoView();break;default:break}this.updateStatus(r)}else i="not ready";c&&e.publishHandler("onEditorMethodCallback",{callbackId:c,data:Object.assign({},n,{errMsg:"".concat(a,":").concat(i?"fail "+i:"ok")})},this.$page.id)},setPlaceHolder:function(e){var t="data-placeholder",n=this.quill.root;n.getAttribute(t)!==e&&n.setAttribute(t,e)},initQuill:function(e){var t=this,n=window.Quill;a["a"](n);var r={toolbar:!1,readOnly:this.readOnly,placeholder:this.placeholder,modules:{}};e.length&&(n.register("modules/ImageResize",window.ImageResize.default),r.modules.ImageResize={modules:e});var i=this.quill=new n(this.$el,r),o=i.root,s=["focus","blur","input"];s.forEach((function(e){o.addEventListener(e,(function(n){var r=t.getContents();if("input"===e){if(l()){var i=(r.html.match(/([\s\S]*)<\/span>/)||[])[1],a=i&&i.replace(/\s/g,"")?"":t.placeholder;t.setPlaceHolder(a)}n.stopPropagation()}else t.$trigger(e,n,r)}))})),i.on(n.events.TEXT_CHANGE,(function(){u||t.$trigger("input",{},t.getContents())})),i.on(n.events.SELECTION_CHANGE,this.updateStatus.bind(this)),i.on(n.events.SCROLL_OPTIMIZE,(function(){var e=i.selection.getRange()[0];t.updateStatus(e)})),i.clipboard.addMatcher(Node.ELEMENT_NODE,(function(e,n){return t.skipMatcher||(n.ops=n.ops.filter((function(e){var t=e.insert;return"string"===typeof t})).map((function(e){var t=e.insert;return{insert:t}}))),n})),this.initKeyboard(o),this.quillReady=!0,this.$trigger("ready",event,{})},getContents:function(){var e=this.quill,t=e.root.innerHTML,n=e.getText(),r=e.getContents();return{html:t,text:n,delta:r}},html2delta:function(e){var t,n=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],r="";Object(i["a"])(e,{start:function(e,i,a){if(n.includes(e)){t=!1;var o=i.map((function(e){var t=e.name,n=e.value;return"".concat(t,'="').concat(n,'"')})).join(" "),s="<".concat(e," ").concat(o," ").concat(a?"/":"",">");r+=s}else t=!a},end:function(e){t||(r+=""))},chars:function(e){t||(r+=e)}}),this.skipMatcher=!0;var a=this.quill.clipboard.convert(r);return this.skipMatcher=!1,a},updateStatus:function(e){var t=this,n=e?this.quill.getFormat(e):{},r=Object.keys(n);(r.length!==Object.keys(this.__status||{}).length||r.find((function(e){return n[e]!==t.__status[e]})))&&(this.__status=n,this.$trigger("statuschange",{},n))}}}}).call(this,n("501c"))},"81ea":function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-tabbar",{class:["uni-tabbar-"+e.position]},[n("div",{staticClass:"uni-tabbar",style:{backgroundColor:e.tabbarBackgroundColor,"backdrop-filter":"none"!==e.blurEffect?"blur(10px)":e.blurEffect}},[n("div",{staticClass:"uni-tabbar-border",style:{backgroundColor:e.borderColor}}),e._l(e.visibleList,(function(t,r){return n("div",{key:t.isMidButton?r:t.pagePath,staticClass:"uni-tabbar__item",style:t.isMidButton?{flex:"0 0 "+t.width,position:"relative"}:{},on:{click:function(n){return e._switchTab(t,r)}}},[t.isMidButton?n("div",{staticClass:"uni-tabbar__mid",style:e._uniTabbarBdStyle(t)},[t.iconPath?n("img",{style:{width:t.iconWidth,height:t.iconWidth},attrs:{src:e._getRealPath(t.iconPath)}}):e._e()]):e._e(),n("div",{staticClass:"uni-tabbar__bd",style:{height:e.height}},[e.getIconPath(t,r)||t.iconfont||t.iconPath||t.isMidButton?n("div",{staticClass:"uni-tabbar__icon",class:{"uni-tabbar__icon__diff":!t.text},style:{width:e.iconWidth,height:e.iconWidth}},[t.iconfont?n("div",{staticClass:"uni-tabbar__iconfont",style:{color:e.selectedIndex===r?t.iconfont.selectedColor:t.iconfont.color,fontSize:t.iconfont.fontSize||e.iconWidth}},[e._v(" "+e._s(e.selectedIndex===r?t.iconfont.selectedText:t.iconfont.text)+" ")]):t.isMidButton?e._e():n("img",{attrs:{src:e._getRealPath(e.getIconPath(t,r))}}),t.redDot?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!t.badge}},[e._v(" "+e._s(t.badge)+" ")]):e._e()]):e._e(),t.text?n("div",{staticClass:"uni-tabbar__label",style:{color:e.selectedIndex===r?e.selectedColor:e.color,fontSize:e.fontSize,lineHeight:t.iconPath?"normal":1.8,marginTop:t.iconPath?e.spacing:"inherit"}},[e._v(" "+e._s(t.text)+" "),t.redDot&&!t.iconPath?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!t.badge}},[e._v(" "+e._s(t.badge)+" ")]):e._e()]):e._e()])])}))],2),n("div",{staticClass:"uni-placeholder",style:{height:e.height}})])},i=[],a=n("a919"),o=a["a"],s=(n("f4e0"),n("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null),u=l.exports,c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.responsive?n("uni-layout",{class:{"uni-app--showlayout":e.showLayout,"uni-app--showtopwindow":e.showTopWindow,"uni-app--showleftwindow":e.showLeftWindow,"uni-app--showrightwindow":e.showRightWindow}},[e.topWindow?n("uni-top-window",{directives:[{name:"show",rawName:"v-show",value:e.showTopWindow||e.apiShowTopWindow,expression:"showTopWindow || apiShowTopWindow"}]},[n("div",{ref:"topWindow",staticClass:"uni-top-window",style:e.topWindowStyle},[n("v-uni-top-window",e._b({ref:"top",attrs:{"navigation-bar-title-text":e.navigationBarTitleText},on:{"hook:mounted":e.onTopWindowInit}},"v-uni-top-window",e.bindWindow,!1))],1),n("div",{staticClass:"uni-top-window--placeholder",style:{height:e.topWindowHeight}})]):e._e(),n("uni-content",[n("uni-main",[n("keep-alive",{attrs:{include:e.keepAliveInclude}},[n("router-view",{key:e.routerKey})],1)],1),e.leftWindow?n("uni-left-window",{directives:[{name:"show",rawName:"v-show",value:e.showLeftWindow||e.apiShowLeftWindow,expression:"showLeftWindow || apiShowLeftWindow"}],ref:"leftWindow",style:e.leftWindowStyle,attrs:{"data-show":e.apiShowLeftWindow}},[e.apiShowLeftWindow?n("div",{staticClass:"uni-mask",on:{click:function(t){e.apiShowLeftWindow=!1}}}):e._e(),n("div",{staticClass:"uni-left-window"},[n("v-uni-left-window",e._b({ref:"left",on:{"hook:mounted":e.onLeftWindowInit}},"v-uni-left-window",e.bindWindow,!1))],1)]):e._e(),e.rightWindow?n("uni-right-window",{directives:[{name:"show",rawName:"v-show",value:e.showRightWindow||e.apiShowRightWindow,expression:"showRightWindow || apiShowRightWindow"}],ref:"rightWindow",style:e.rightWindowStyle,attrs:{"data-show":e.apiShowRightWindow}},[e.apiShowRightWindow?n("div",{staticClass:"uni-mask",on:{click:function(t){e.apiShowRightWindow=!1}}}):e._e(),n("div",{staticClass:"uni-right-window"},[n("v-uni-right-window",e._b({ref:"right",on:{"hook:mounted":e.onRightWindowInit}},"v-uni-right-window",e.bindWindow,!1))],1)]):e._e()],1)],1):n("keep-alive",{attrs:{include:e.keepAliveInclude}},[n("router-view",{key:e.routerKey})],1)},d=[],f=n("7ac7"),h=f["a"],p=(n("639e"),Object(s["a"])(h,c,d,!1,null,null,null)),g=p.exports,v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"uni-fade"}},[e.visible?n("uni-toast",{attrs:{"data-duration":e.duration}},[e.mask?n("div",{staticClass:"uni-mask",staticStyle:{background:"transparent"},on:{touchmove:function(e){e.preventDefault()}}}):e._e(),e.image||e.iconClass?n("div",{staticClass:"uni-toast"},[e.image?n("img",{staticClass:"uni-toast__icon",attrs:{src:e.image}}):n("i",{staticClass:"uni-icon_toast",class:e.iconClass}),n("p",{staticClass:"uni-toast__content"},[e._v(" "+e._s(e.title)+" ")])]):n("div",{staticClass:"uni-sample-toast"},[n("p",{staticClass:"uni-simple-toast__text"},[e._v(" "+e._s(e.title)+" ")])])]):e._e()],1)},y=[],m=n("5222"),b=m["a"],_=(n("ff28"),Object(s["a"])(b,v,y,!1,null,null,null)),x=_.exports,w=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"uni-fade"}},[n("uni-modal",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],on:{touchmove:function(e){e.preventDefault()}}},[n("div",{staticClass:"uni-mask"}),n("div",{staticClass:"uni-modal"},[e.title?n("div",{staticClass:"uni-modal__hd"},[n("strong",{staticClass:"uni-modal__title",domProps:{textContent:e._s(e.title)}})]):e._e(),e.editable?n("textarea",{ref:"editContent",staticClass:"uni-modal__textarea",attrs:{rows:"1",placeholder:e.placeholderText},domProps:{value:e.content}}):n("div",{staticClass:"uni-modal__bd",domProps:{textContent:e._s(e.content)},on:{touchmove:function(e){e.stopPropagation()}}}),n("div",{staticClass:"uni-modal__ft"},[e.showCancel?n("div",{staticClass:"uni-modal__btn uni-modal__btn_default",style:{color:e.cancelColor},on:{click:function(t){return e._close("cancel")}}},[e._v(" "+e._s(e.cancelText)+" ")]):e._e(),n("div",{staticClass:"uni-modal__btn uni-modal__btn_primary",style:{color:e.confirmColor},on:{click:function(t){return e._close("confirm")}}},[e._v(" "+e._s(e.confirmText)+" ")])])]),n("keypress",{attrs:{disable:!e.visible},on:{esc:function(t){return e._close("cancel")},enter:function(t){!e.editable&&e._close("confirm")}}})],1)],1)},S=[],M=n("5a56"),T=n("da71");function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C={name:"Modal",components:{keypress:T["a"]},mixins:[M["default"]],props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},methods:{_close:function(e){var t=A({},e,!0);this.editable&&"confirm"===e&&(t.content=this.$refs.editContent.value),this.$emit("close",t)}}},O=C,k=(n("2765"),Object(s["a"])(O,w,S,!1,null,null,null)),I=k.exports,P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-actionsheet",{on:{touchmove:function(e){e.preventDefault()}}},[n("transition",{attrs:{name:"uni-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"uni-mask uni-actionsheet__mask",on:{click:function(t){return e._close(-1)}}})]),n("div",{staticClass:"uni-actionsheet",class:{"uni-actionsheet_toggle":e.visible},style:e.popupStyle.content},[n("div",{ref:"main",staticClass:"uni-actionsheet__menu",on:{wheel:e._handleWheel}},[e.title?n("div",{staticClass:"uni-actionsheet__cell",style:{height:e.titleHeight+"px"}}):e._e(),e.title?n("div",{staticClass:"uni-actionsheet__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),n("div",{style:{maxHeight:e.HEIGHT+"px",overflow:"hidden"}},[n("div",{ref:"content"},e._l(e.itemList,(function(t,r){return n("div",{key:r,staticClass:"uni-actionsheet__cell",style:{color:e.itemColor},on:{click:function(t){return e._close(r)}}},[e._v(" "+e._s(t)+" ")])})),0)])]),n("div",{staticClass:"uni-actionsheet__action"},[n("div",{staticClass:"uni-actionsheet__cell",style:{color:e.itemColor},on:{click:function(t){return e._close(-1)}}},[e._v(" "+e._s(e.$$t("uni.showActionSheet.cancel"))+" ")])]),n("div",{style:e.popupStyle.triangle})]),n("keypress",{attrs:{disable:!e.visible},on:{esc:function(t){return e._close(-1)}}})],1)},E=[],L=n("4ccd"),D=n("a6b0"),R=n("ba15"),N=n("8aec"),j=n("5363"),B=n("72b3"),F=n("d4cd");function z(e){var t=20,n=0,r=0;e.addEventListener("touchstart",(function(e){var t=e.changedTouches[0];n=t.clientX,r=t.clientY})),e.addEventListener("touchend",(function(e){var i=e.changedTouches[0];if(Math.abs(i.clientX-n)10?(this.scrollTop+=t/3,this.scrollTop=this.scrollTop>=this.contentHeight?this.contentHeight:this.scrollTop<=0?0:this.scrollTop,this._scroller.scrollTo(this.scrollTop)):this.deltaY=t,e.preventDefault()}}},H=V,W=(n("4fef"),Object(s["a"])(H,P,E,!1,null,null,null)),G=W.exports,U={Toast:x,Modal:I,ActionSheet:G};function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $(e){for(var t=1;t0&&e<1?e:1}}},l={canvasId:{type:String,required:!0},actions:{type:Array,required:!0},reserve:{type:Boolean,default:!1}}},"82c2":function(e,t,n){"use strict";n.r(t),n.d(t,"request",(function(){return f}));var r=n("f2b3"),i=n("a118"),a=n("db70");function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n>2],a+=e[(3&r[n])<<4|r[n+1]>>4],a+=e[(15&r[n+1])<<2|r[n+2]>>6],a+=e[63&r[n+2]];return i%3===2?a=a.substring(0,a.length-1)+"=":i%3===1&&(a=a.substring(0,a.length-2)+"=="),a},t.decode=function(e){var t,r,i,a,o,s=.75*e.length,l=e.length,u=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var c=new ArrayBuffer(s),d=new Uint8Array(c);for(t=0;t>4,d[u++]=(15&i)<<4|a>>2,d[u++]=(3&a)<<6|63&o;return c}})()},"83a6":function(e,t,n){"use strict";t["a"]={data:function(){return{hovering:!1}},props:{hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}},methods:{_hoverTouchStart:function(e){e.touches.length>1||this._handleHoverStart(e)},_hoverMousedown:function(e){this._hoverTouch||(this._handleHoverStart(e),window.addEventListener("mouseup",this._hoverMouseup))},_handleHoverStart:function(e){var t=this;e._hoverPropagationStopped||this.hoverClass&&"none"!==this.hoverClass&&!this.disabled&&(this.hoverStopPropagation&&(e._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((function(){t.hovering=!0,t._hoverTouch||t._hoverReset()}),this.hoverStartTime))},_hoverMouseup:function(){this._hoverTouch&&(this._handleHoverEnd(),window.removeEventListener("mouseup",this._hoverMouseup))},_hoverTouchEnd:function(){this._handleHoverEnd()},_handleHoverEnd:function(){this._hoverTouch=!1,this.hovering&&this._hoverReset()},_hoverReset:function(){var e=this;requestAnimationFrame((function(){clearTimeout(e._hoverStayTimer),e._hoverStayTimer=setTimeout((function(){e.hovering=!1}),e.hoverStayTime)}))},_hoverTouchCancel:function(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"84e0":function(e,t,n){"use strict";n.r(t),function(e){function r(t){var n=getCurrentPages();return n.length&&e.publishHandler("pageScrollTo",t,n[n.length-1].$page.id),{}}n.d(t,"pageScrollTo",(function(){return r}))}.call(this,n("0dd1"))},8519:function(e,t,n){},8542:function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return _})),n.d(t,"e",(function(){return T})),n.d(t,"b",(function(){return C})),n.d(t,"c",(function(){return O}));var r=n("f2b3");function i(e){return l(e)||s(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){if(e){if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function s(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function l(e){if(Array.isArray(e))return u(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(e[n])){var i=t[n];t[n]=function(t){S(e[n],t).then((function(e){return Object(r["k"])(i)&&i(e)||e}))}}})),t}function T(e,t){var n=[];Array.isArray(f.returnValue)&&n.push.apply(n,i(f.returnValue));var r=h[e];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,i(r.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function A(e){var t=Object.create(null);Object.keys(f).forEach((function(e){"returnValue"!==e&&(t[e]=f[e].slice())}));var n=h[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function C(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),a=3;a0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return Array.isArray(e[t])&&e[t].length}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e)),n=Object.keys(t),r=n.length;if(r)for(var i=0;it-n&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},u.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},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 e=o(this.s().x,this._endPositionX)||o(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},u.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},u.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},c.prototype._solve=function(e,t){var n=this._c,r=this._m,i=this._k,a=n*n-4*r*i;if(0===a){var o=-n/(2*r),s=e,l=t/(o*e);return{x:function(e){return(s+l*e)*Math.pow(Math.E,o*e)},dx:function(e){var t=Math.pow(Math.E,o*e);return o*(s+l*e)*t+l*t}}}if(a>0){var u=(-n-Math.sqrt(a))/(2*r),c=(-n+Math.sqrt(a))/(2*r),d=(t-u*e)/(c-u),f=e-d;return{x:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),f*t+d*n},dx:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),f*u*t+d*c*n}}}var h=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,g=e,v=(t-p*e)/h;return{x:function(e){return Math.pow(Math.E,p*e)*(g*Math.cos(h*e)+v*Math.sin(h*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(h*e),r=Math.sin(h*e);return t*(v*h*n-g*h*r)+p*t*(v*r+g*n)}}},c.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},c.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},c.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!s(t,.1)){t=t||0;var r=this._endPosition;this._solution&&(s(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),s(t,.1)&&(t=0),s(r,.1)&&(r=0),r+=this._endPosition),this._solution&&s(r-e,.1)&&s(t,.1)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}},c.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},c.prototype.done=function(e){return e||(e=(new Date).getTime()),o(this.x(),this._endPosition,.1)&&s(this.dx(),.1)},c.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},c.prototype.springConstant=function(){return this._k},c.prototype.damping=function(){return this._c},c.prototype.configuration=function(){function e(e,t){e.reconfigure(1,t,e.damping())}function t(e,t){e.reconfigure(1,e.springConstant(),t)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]},d.prototype.setEnd=function(e,t,n,r){var i=(new Date).getTime();this._springX.setEnd(e,r,i),this._springY.setEnd(t,r,i),this._springScale.setEnd(n,r,i),this._startTime=i},d.prototype.x=function(){var e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},d.prototype.done=function(){var e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},d.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};var f=n("d4cd"),h=!1;function p(e){h||(h=!0,requestAnimationFrame((function(){e(),h=!1})))}function g(e,t){if(e===t)return 0;var n=e.offsetLeft;return e.offsetParent?n+=g(e.offsetParent,t):0}function v(e,t){if(e===t)return 0;var n=e.offsetTop;return e.offsetParent?n+=v(e.offsetParent,t):0}function y(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function m(e,t,n){var r=function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)},i={id:0,cancelled:!1};function a(t,n,r,i){if(!t||!t.cancelled){r(n);var o=e.done();o||t.cancelled||(t.id=requestAnimationFrame(a.bind(null,t,n,r,i))),o&&i&&i(n)}}return a(i,e,t,n),{cancel:r.bind(null,i),model:e}}var b={name:"MovableView",mixins:[a["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 e=Number(this.damping);return isNaN(e)?20:e},frictionNumber:function(){var e=Number(this.friction);return isNaN(e)||e<=0?2:e},scaleMinNumber:function(){var e=Number(this.scaleMin);return isNaN(e)?.5:e},scaleMaxNumber:function(){var e=Number(this.scaleMax);return isNaN(e)?10:e},xMove:function(){return"all"===this.direction||"horizontal"===this.direction},yMove:function(){return"all"===this.direction||"vertical"===this.direction}},watch:{x:function(e){this.xSync=this._getPx(e)},xSync:function(e){this._setX(e)},y:function(e){this.ySync=this._getPx(e)},ySync:function(e){this._setY(e)},disabled:function(){this.__handleTouchStart()},scaleValue:function(e){this.scaleValueSync=Number(e)||0},scaleValueSync:function(e){this._setScaleValue(e)},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 d(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this._friction=new u(1,this.frictionNumber),this._declineX=new l,this._declineY=new l,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",Object(f["b"])()},methods:{_getPx:function(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0},_setX:function(e){if(this.xMove){if(e+this._scaleOffset.x===this._translateX)return this._translateX;this._SFA&&this._SFA.cancel(),this._animationTo(e+this._scaleOffset.x,this.ySync+this._scaleOffset.y,this._scale)}return e},_setY:function(e){if(this.yMove){if(e+this._scaleOffset.y===this._translateY)return this._translateY;this._SFA&&this._SFA.cancel(),this._animationTo(this.xSync+this._scaleOffset.x,e+this._scaleOffset.y,this._scale)}return e},_setScaleMinOrMax:function(){if(!this.scale)return!1;this._updateScale(this._scale,!0),this._updateOldScale(this._scale)},_setScaleValue:function(e){return!!this.scale&&(e=this._adjustScale(e),this._updateScale(e,!0),this._updateOldScale(e),e)},__handleTouchStart:function(){this._isScaling||this.disabled||(Object(f["a"])({disable:!0}),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(e){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching){var n=this._translateX,r=this._translateY;if(null===this._firstMoveDirection&&(this._firstMoveDirection=Math.abs(e.detail.dx/e.detail.dy)>1?"htouchmove":"vtouchmove"),this.xMove&&(n=e.detail.dx+this.__baseX,this.__touchInfo.historyX.shift(),this.__touchInfo.historyX.push(n),this.yMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(e.detail.dx/e.detail.dy)<1)),this.yMove&&(r=e.detail.dy+this.__baseY,this.__touchInfo.historyY.shift(),this.__touchInfo.historyY.push(r),this.xMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(e.detail.dy/e.detail.dx)<1)),this.__touchInfo.historyT.shift(),this.__touchInfo.historyT.push(e.detail.timeStamp),!this._checkCanMove){e.preventDefault();var i="touch";nthis.maxX&&(this.outOfBounds?(i="touch-out-of-bounds",n=this.maxX+this._declineX.x(n-this.maxX)):n=this.maxX),rthis.maxY&&(this.outOfBounds?(i="touch-out-of-bounds",r=this.maxY+this._declineY.x(r-this.maxY)):r=this.maxY),p((function(){t._setTransform(n,r,t._scale,i)}))}}},__handleTouchEnd:function(){var e=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(Object(f["a"])({disable:!1}),this.$el.style.willChange="auto",this._isTouching=!1,!this._checkCanMove&&!this._revise("out-of-bounds")&&this.inertia)){var t=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(t,n),this._friction.setS(this._translateX,this._translateY);var r=this._friction.delta().x,i=this._friction.delta().y,a=r+this._translateX,o=i+this._translateY;athis.maxX&&(a=this.maxX,o=this._translateY+(this.maxX-this._translateX)*i/r),othis.maxY&&(o=this.maxY,a=this._translateX+(this.maxY-this._translateY)*r/i),this._friction.setEnd(a,o),this._FA=m(this._friction,(function(){var t=e._friction.s(),n=t.x,r=t.y;e._setTransform(n,r,e._scale,"friction")}),(function(){e._FA.cancel()}))}},_onTrack:function(e){switch(e.detail.state){case"start":this.__handleTouchStart();break;case"move":this.__handleTouchMove(e);break;case"end":this.__handleTouchEnd()}},_getLimitXY:function(e,t){var n=!1;return e>this.maxX?(e=this.maxX,n=!0):ethis.maxY?(t=this.maxY,n=!0):t3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;null!==e&&"NaN"!==e.toString()&&"number"===typeof e||(e=this._translateX||0),null!==t&&"NaN"!==t.toString()&&"number"===typeof t||(t=this._translateY||0),e=Number(e.toFixed(1)),t=Number(t.toFixed(1)),n=Number(n.toFixed(1)),this._translateX===e&&this._translateY===t||i||this.$trigger("change",{},{x:y(e,this._scaleOffset.x),y:y(t,this._scaleOffset.y),source:r}),this.scale||(n=this._scale),n=this._adjustScale(n),n=+n.toFixed(3),a&&n!==this._scale&&this.$trigger("scale",{},{x:e,y:t,scale:n});var o="translateX("+e+"px) translateY("+t+"px) translateZ(0px) scale("+n+")";this.$el.style.transform=o,this.$el.style.webkitTransform=o,this._translateX=e,this._translateY=t,this._scale=n}}},_=b,x=(n("7c2b"),n("2877")),w=Object(x["a"])(_,r,i,!1,null,null,null);t["default"]=w.exports},8875:function(e,t,n){var r,i,a;(function(n,o){i=[],r=o,a="function"===typeof r?r.apply(t,i):r,void 0===a||(e.exports=a)})("undefined"!==typeof self&&self,(function(){function e(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(d){var e,t,n,r=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,a=r.exec(d.stack)||i.exec(d.stack),o=a&&a[1]||!1,s=a&&a[2]||!1,l=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");o===l&&(e=document.documentElement.outerHTML,t=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*