(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"0041":function(e,t,n){"use strict";var i=n("dbce"),r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PolygonShape=void 0;var o=n("9ab4"),a=r(n("f7c3")),s=i(n("7607")),l=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}();t.PolygonShape=l;var c=function(e){function t(t){return e.call(this,t)||this}return(0,o.__extends)(t,e),t.prototype.getDefaultShape=function(){return new l},t.prototype.buildPath=function(e,t){s.buildPath(e,t,!0)},t}(a.default);c.prototype.type="polygon";var u=c;t.default=u},"0051":function(e,t,n){var i=n("2d34"),r=n("8fae"),o=n("0dd9");e.exports=function(e){return function(t,n,a){var s,l=i(t),c=r(l.length),u=o(a,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},"007f":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.install=d;var r=i(n("1d8a")),o=i(n("4c74")),a=i(n("0fcb")),s=i(n("b827")),l=i(n("53ae")),c=n("2463"),u=n("cec5");function d(e){e.registerChartView(r.default),e.registerSeriesModel(o.default),e.registerLayout((0,c.curry)(a.default,"sunburst")),e.registerProcessor((0,c.curry)(l.default,"sunburst")),e.registerVisual(s.default),(0,u.installSunburstAction)(e)}},"00a9":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("9ab4"),o=i(n("7153")),a=function(e){function t(t,n,i){var r=e.call(this,t,n,i)||this;return r.type="value",r.angle=0,r.name="",r}return(0,r.__extends)(t,e),t}(o.default),s=a;t.default=s},"00ee":function(e,t,n){var i=n("b622"),r=i("toStringTag"),o={};o[r]="z",e.exports="[object z]"===String(o)},"0133":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("9ab4"),o=i(n("367c")),a=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.__extends)(t,e),t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(o.default),s=a;t.default=s},"015e":function(e,t,n){"use strict";var i=n("34d7"),r=n("c0ea"),o=n("3bb8"),a=n("2d34");e.exports=n("7a7b")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},"0172":function(e,t,n){"use strict";var i=n("0bd8")(!0);n("7a7b")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},"018e":function(e,t,n){"use strict";var i=n("dbce"),r=n("4ea4");n("cb29"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("9ab4"),a=r(n("4e12")),s=i(n("42c0")),l=r(n("e55a")),c=i(n("e26f")),u=r(n("4f71")),d=r(n("5b84")),h=n("2463"),f=n("30ba"),p=n("d1d1");function g(e,t,n){var i=t.coordinateSystem;e.each((function(r){var o,a=e.getItemModel(r),l=s.parsePercent(a.get("x"),n.getWidth()),c=s.parsePercent(a.get("y"),n.getHeight());if(isNaN(l)||isNaN(c)){if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,r));else if(i){var u=e.get(i.dimensions[0],r),d=e.get(i.dimensions[1],r);o=i.dataToPoint([u,d])}}else o=[l,c];isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c),e.setItemLayout(r,o)}))}var m=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.__extends)(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=d.default.getMarkerModelFromSeries(e,"markPoint");t&&(g(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())}),this)},t.prototype.renderSeries=function(e,t,n,i){var r=e.coordinateSystem,o=e.id,s=e.getData(),l=this.markerGroupMap,c=l.get(o)||l.set(o,new a.default),u=v(r,e,t);t.setData(u),g(t.getData(),e,i),u.each((function(e){var n=u.getItemModel(e),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),a=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if((0,h.isFunction)(i)||(0,h.isFunction)(r)||(0,h.isFunction)(o)||(0,h.isFunction)(a)){var c=t.getRawValue(e),d=t.getDataParams(e);(0,h.isFunction)(i)&&(i=i(c,d)),(0,h.isFunction)(r)&&(r=r(c,d)),(0,h.isFunction)(o)&&(o=o(c,d)),(0,h.isFunction)(a)&&(a=a(c,d))}var f=n.getModel("itemStyle").getItemStyle(),g=(0,p.getVisualFromData)(s,"color");f.fill||(f.fill=g),u.setItemVisual(e,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:a,symbolKeepAspect:l,style:f})})),c.updateData(u),this.group.add(c.group),u.eachItemGraphicEl((function(e){e.traverse((function(e){(0,f.getECData)(e).dataModel=t}))})),this.markKeep(c),c.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(u.default);function v(e,t,n){var i;i=e?(0,h.map)(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return(0,h.extend)((0,h.extend)({},n),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new l.default(i,n),o=(0,h.map)(n.get("data"),(0,h.curry)(c.dataTransform,t));e&&(o=(0,h.filter)(o,(0,h.curry)(c.dataFilter,e)));var a=c.createMarkerDimValueGetter(!!e,i);return r.initData(o,null,a),r}var b=m;t.default=b},"01a8":function(e,t,n){"use strict";var i=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=i(n("2463")),o=i(n("ffaf"));function a(e,t){var n,i=[],a=e.seriesIndex;if(null==a||!(n=t.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=o.queryDataIndex(s,e);if(null==l||l<0||r.isArray(l))return{point:[]};var c=s.getItemGraphicEl(l),u=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(l)||[];else if(u&&u.dataToPoint)if(e.isStacked){var d=u.getBaseAxis(),h=u.getOtherAxis(d),f=h.dim,p=d.dim,g="x"===f||"radius"===f?1:0,m=s.mapDimension(p),v=[];v[g]=s.get(m,l),v[1-g]=s.get(s.getCalculationInfo("stackResultDimension"),l),i=u.dataToPoint(v)||[]}else i=u.dataToPoint(s.getValues(r.map(u.dimensions,(function(e){return s.mapDimension(e)})),l))||[];else if(c){var b=c.getBoundingRect().clone();b.applyTransform(c.transform),i=[b.x+b.width/2,b.y+b.height/2]}return{point:i,el:c}}},"01c4":function(e,t,n){"use strict";var i=n("4ea4");n("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("9ab4"),o=i(n("367c")),a=i(n("e55a")),s=n("2463"),l=n("ffaf"),c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return(0,r.__extends)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._initData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e,t=this.option,n=t.data||[],i=t.axisType,r=this._names=[];"category"===i?(e=[],(0,s.each)(n,(function(t,n){var i,o=(0,l.convertOptionIdName)((0,l.getDataItemValue)(t),"");(0,s.isObject)(t)?(i=(0,s.clone)(t),i.value=n):i=n,e.push(i),r.push(o)}))):e=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number",c=this._data=new a.default([{name:"value",type:o}],this);c.initData(e,r)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}(o.default),u=c;t.default=u},"029d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};t.default=i},"02e4":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("9ab4"),o=i(n("367c")),a=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.__extends)(t,e),t.prototype.findAxisModel=function(e){var t,n=this.ecModel;return n.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(o.default),s=a;t.default=s},"0332":function(e,t,n){var i=n("98ae"),r=n("8268").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"0366":function(e,t,n){var i=n("1c0b");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"03e6":function(e,t,n){"use strict";var i=n("4ea4"),r=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var o=r(n("2463")),a=i(n("f607"));function s(e){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),n=t.nodes;if(n.length){var i=1/0,r=-1/0;o.each(n,(function(e){var t=e.getLayout().value;tr&&(r=t)})),o.each(n,(function(t){var n=new a.default({type:"color",mappingMethod:"linear",dataExtent:[i,r],visual:e.get("color")}),o=n.mapValueToVisual(t.getLayout().value),s=t.getModel().get(["itemStyle","color"]);null!=s?(t.setVisual("color",s),t.setVisual("style",{fill:s})):(t.setVisual("color",o),t.setVisual("style",{fill:o}))}))}}))}},"0400":function(e,t,n){var i=n("4a04");e.exports=function(e,t,n){return void 0===n?i(e,t,!1):i(e,n,!1!==t)}},"04b4":function(e,t,n){e.exports=n("78cd")},"0538":function(e,t,n){"use strict";var i=n("1c0b"),r=n("861d"),o=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var i=[],r=0;r0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get("rangeMode");(0,o.each)([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=e[i[0]],a=null!=e[i[1]];o&&!a?t[r]="percent":!o&&a?t[r]="value":n?t[r]=n[r]:o&&(t[r]="percent")}))},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis((function(t,n){null==e&&(e=this.ecModel.getComponent((0,s.getAxisMainType)(t),n))}),this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each((function(n,i){(0,o.each)(n.indexList,(function(n){e.call(t,i,n)}))}))},t.prototype.getAxisProxy=function(e,t){var n=this.getAxisModel(e,t);if(n)return n.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent((0,s.getAxisMainType)(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;(0,o.each)([["start","startValue"],["end","endValue"]],(function(i){null==e[i[0]]&&null==e[i[1]]||(t[i[0]]=n[i[0]]=e[i[0]],t[i[1]]=n[i[1]]=e[i[1]])}),this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;(0,o.each)(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,n=this._targetAxisInfoMap.keys(),i=0;i0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var c=e.get("clip",!0)&&(0,h.createClipPath)(e.coordinateSystem,!1,e);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var i=e.getData(),r=this._updateLineDraw(i,e);r.incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,t,n){var i=e.getData(),r=e.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=d.default.reset(e,t,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},t.prototype._updateLineDraw=function(e,t){var n=this._lineDraw,i=this._showEffect(t),r=!!t.get("polyline"),d=t.pipelineContext,h=d.large;return n&&i===this._hasEffet&&r===this._isPolyline&&h===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=h?new u.default:new o.default(r?i?c.default:l.default:i?a.default:s.default),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=h),this.group.add(n.group),n},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var t=e.getZr(),n="svg"===t.painter.getType();n||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.type="lines",t}(f.default),g=p;t.default=g},"067a":function(e,t,n){"use strict";var i=n("4ea4"),r=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("9ab4"),a=r(n("f44b")),s=i(n("7153")),l=n("ffaf"),c=(0,l.makeInner)(),u=function(e){function t(t,n){return e.call(this,"angle",t,n||[0,360])||this}return(0,o.__extends)(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,t=e.getLabelModel(),n=e.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],s=e.dataToCoord(o+1)-e.dataToCoord(o),l=Math.abs(s),u=a.getBoundingRect(null==o?"":o+"",t.getFont(),"center","top"),d=Math.max(u.height,7),h=d/l;isNaN(h)&&(h=1/0);var f=Math.max(0,Math.floor(h)),p=c(e.model),g=p.lastAutoInterval,m=p.lastTickCount;return null!=g&&null!=m&&Math.abs(g-f)<=1&&Math.abs(m-r)<=1&&g>f?f=g:(p.lastTickCount=r,p.lastAutoInterval=f),f},t}(s.default);u.prototype.dataToAngle=s.default.prototype.dataToCoord,u.prototype.angleToData=s.default.prototype.coordToData;var d=u;t.default=d},"06cf":function(e,t,n){var i=n("83ab"),r=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=i?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(n){}if(l(e,t))return o(!r.f.call(e,t),e[t])}},"06f3":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.install=c;var r=n("aa04"),o=n("09ce"),a=i(n("3446")),s=i(n("551a")),l=i(n("0dda"));function c(e){(0,r.use)(o.install),e.registerComponentModel(a.default),e.registerComponentView(s.default),(0,l.default)(e)}},"07ac":function(e,t,n){var i=n("23e7"),r=n("6f53").values;i({target:"Object",stat:!0},{values:function(e){return r(e)}})},"080b":function(e,t,n){"use strict";function i(e){return void 0!==e&&null!==e}function r(e){var t=/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi;return t.test(e)}t.__esModule=!0,t.isDef=i,t.isKorean=r},"08d6":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.install=d;var r=i(n("20e3")),o=i(n("1991")),a=n("2463"),s=n("6c54"),l=i(n("f0d1")),c=i(n("b05d"));function u(e,t,n){c.default.registerMap(e,t,n)}function d(e){function t(t,n){n.update="geo:updateSelectStatus",e.registerAction(n,(function(e,n){var i={},r=[];return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name);var o=n.coordinateSystem;(0,a.each)(o.regions,(function(e){i[e.name]=n.isSelected(e.name)||!1}));var s=[];(0,a.each)(i,(function(e,t){i[t]&&s.push(t)})),r.push({geoIndex:n.componentIndex,name:s})})),{selected:i,allSelected:r,name:e.name}}))}e.registerCoordinateSystem("geo",o.default),e.registerComponentModel(r.default),e.registerComponentView(l.default),e.registerImpl("registerMap",u),e.registerImpl("getMap",(function(e){return c.default.getMapForUser(e)})),t("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),t("select",{type:"geoSelect",event:"geoselected"}),t("unSelect",{type:"geoUnSelect",event:"geounselected"}),e.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){var i=t.coordinateSystem;if("geo"===i.type){var r=(0,s.updateCenterAndZoom)(i,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom),"series"===n&&(0,a.each)(t.seriesGroup,(function(e){e.setCenter(r.center),e.setZoom(r.zoom)}))}}))}))}},"0902":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.disableTransformOptionMerge=h,t.SourceManager=void 0;var r=n("2463"),o=n("e08a"),a=n("8c25"),s=n("9483"),l=n("15ea"),c=i(n("4a61")),u=n("0f3f"),d=function(){function e(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,n=this._sourceHost,i=this._getUpstreamSourceManagers(),s=!!i.length;if(f(n)){var l=n,c=void 0,u=void 0,d=void 0;if(s){var h=i[0];h.prepareSource(),d=h.getSource(),c=d.data,u=d.sourceFormat,t=[h._getVersionSign()]}else c=l.get("data",!0),u=(0,r.isTypedArray)(c)?a.SOURCE_FORMAT_TYPED_ARRAY:a.SOURCE_FORMAT_ORIGINAL,t=[];var p=this._getSourceMetaRawOption()||{},g=d&&d.metaRawOption||{},m=(0,r.retrieve2)(p.seriesLayoutBy,g.seriesLayoutBy)||null,v=(0,r.retrieve2)(p.sourceHeader,g.sourceHeader),b=(0,r.retrieve2)(p.dimensions,g.dimensions),y=m!==g.seriesLayoutBy||!!v!==!!g.sourceHeader||b;e=y?[(0,o.createSource)(c,{seriesLayoutBy:m,sourceHeader:v,dimensions:b},u)]:[]}else{var _=n;if(s){var x=this._applyTransform(i);e=x.sourceList,t=x.upstreamSignList}else{var w=_.get("source",!0);e=[(0,o.createSource)(w,this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,i=n.get("transform",!0),a=n.get("fromTransformResult",!0);if(null!=a){var s="";1!==e.length&&p(s)}var c=[],u=[];return(0,r.each)(e,(function(e){e.prepareSource();var t=e.getSource(a||0),n="";null==a||t||p(n),c.push(t),u.push(e._getVersionSign())})),i?t=(0,l.applyDataTransform)(i,c,{datasetIndex:n.componentIndex}):null!=a&&(t=[(0,o.cloneSourceShallow)(c[0])]),{sourceList:t,upstreamSignList:u}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t0&&(d.__clipPaths=[]),isNaN(d.z)&&(c(),d.z=0),isNaN(d.z2)&&(c(),d.z2=0),isNaN(d.zlevel)&&(c(),d.zlevel=0),this._displayList[this._displayListLen++]=d}var h=e.getDecalElement&&e.getDecalElement();h&&this._updateAndAddDisplayable(h,t,n);var f=e.getTextGuideLine();f&&this._updateAndAddDisplayable(f,t,n);var p=e.getTextContent();p&&this._updateAndAddDisplayable(p,t,n)}},e.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},e.prototype.delRoot=function(e){if(e instanceof Array)for(var t=0,n=e.length;t=0&&this._roots.splice(i,1)}},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),h=d;t.default=h},"09ce":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.install=l;var r=i(n("9c40")),o=i(n("6736")),a=i(n("f9df")),s=n("d57c");function l(e){e.registerComponentModel(r.default),e.registerComponentView(o.default),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,a.default),e.registerSubTypeDefaulter("legend",(function(){return"plain"})),(0,s.installLegendAction)(e)}},"09f7":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.install=g;var r=n("9ab4"),o=i(n("82b5")),a=i(n("fd69")),s=n("4454"),l=n("2463"),c=n("97ad"),u=i(n("f309")),d=i(n("119a")),h=n("58ec"),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="grid",t}return(0,r.__extends)(t,e),t.prototype.render=function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new s.Rect({shape:e.coordinateSystem.getRect(),style:(0,l.defaults)({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(o.default),p={offset:0};function g(e){e.registerComponentView(f),e.registerComponentModel(a.default),e.registerCoordinateSystem("cartesian2d",d.default),(0,u.default)(e,"x",c.CartesianAxisModel,p),(0,u.default)(e,"y",c.CartesianAxisModel,p),e.registerComponentView(h.CartesianXAxisView),e.registerComponentView(h.CartesianYAxisView),e.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))}},"0a0f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n("ffaf");function r(){var e=(0,i.makeInner)();return function(t){var n=e(t),i=t.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}},"0b25":function(e,t,n){var i=n("a691"),r=n("50c4");e.exports=function(e){if(void 0===e)return 0;var t=i(e),n=r(t);if(t!==n)throw RangeError("Wrong length or index");return n}},"0b2d":function(e,t,n){var i=n("7e83");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"0b6a":function(e,t,n){"use strict";var i=n("4ea4"),r=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("9ab4"),a=r(n("2463")),s=i(n("3ac0")),l=i(n("ead0")),c=r(n("517a")),u=r(n("4454")),d=i(n("82b5")),h=["axisLine","axisTickLabel","axisName"],f=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.__extends)(t,e),t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments),(this._brushController=new l.default(n.getZr())).on("brush",a.bind(this._onBrush,this))},t.prototype.render=function(e,t,n,i){if(!p(e,t,i)){this.axisModel=e,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new u.Group,this.group.add(this._axisGroup),e.get("show")){var o=m(e,t),l=o.coordinateSystem,c=e.getAreaSelectStyle(),d=c.width,f=e.axis.dim,g=l.getAxisLayout(f),v=a.extend({strokeContainThreshold:d},g),b=new s.default(e,v);a.each(h,b.add,b),this._axisGroup.add(b.getGroup()),this._refreshBrushController(v,c,e,o,d,n),u.groupTransition(r,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,t,n,i,r,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),d=u.BoundingRect.create({x:a[0],y:-r/2,width:s,height:r});d.x-=l,d.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:c.makeRectPanelClipPath(d),isTargetByCursor:c.makeRectIsTargetByCursor(d,o,i),getLinearBrushOtherExtent:c.makeLinearBrushOtherExtent(d,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(g(n))},t.prototype._onBrush=function(e){var t=e.areas,n=this.axisModel,i=n.axis,r=a.map(t,(function(e){return[i.coordToData(e.range[0],!0),i.coordToData(e.range[1],!0)]}));(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(d.default);function p(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function g(e){var t=e.axis;return a.map(e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}function m(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var v=f;t.default=v},"0bab":function(e,t){t.f=Object.getOwnPropertySymbols},"0bd8":function(e,t,n){var i=n("17df"),r=n("2458");e.exports=function(e){return function(t,n){var o,a,s=String(r(t)),l=i(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"0c0c":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.ECPolygon=t.ECPolyline=void 0;var r=n("9ab4"),o=i(n("f7c3")),a=i(n("6fd0")),s=n("b884"),l=Math.min,c=Math.max;function u(e,t){return isNaN(e)||isNaN(t)}function d(e,t,n,i,r,o,a,s,d){for(var h,f,p,g,m,v,b=n,y=0;y=r||b<0)break;if(u(_,x)){if(d){b+=o;continue}break}if(b===n)e[o>0?"moveTo":"lineTo"](_,x),p=_,g=x;else{var w=_-h,S=x-f;if(w*w+S*S<.5){b+=o;continue}if(a>0){var k=b+o,C=t[2*k],T=t[2*k+1];while(C===_&&T===x&&y=i||u(C,T))m=_,v=x;else{A=C-h,I=T-f;var D=_-h,L=C-_,N=x-f,R=T-x,j=void 0,z=void 0;if("x"===s){j=Math.abs(D),z=Math.abs(L);var $=A>0?1:-1;m=_-$*j*a,v=x,P=_+$*z*a,E=x}else if("y"===s){j=Math.abs(N),z=Math.abs(R);var B=I>0?1:-1;m=_,v=x-B*j*a,P=_,E=x+B*z*a}else j=Math.sqrt(D*D+N*N),z=Math.sqrt(L*L+R*R),O=z/(z+j),m=_-A*a*(1-O),v=x-I*a*(1-O),P=_+A*a*O,E=x+I*a*O,P=l(P,c(C,_)),E=l(E,c(T,x)),P=c(P,l(C,_)),E=c(E,l(T,x)),A=P-_,I=E-x,m=_-A*j/z,v=x-I*j/z,m=l(m,c(h,_)),v=l(v,c(f,x)),m=c(m,l(h,_)),v=c(v,l(f,x)),A=_-m,I=x-v,P=_+A*z/j,E=x+I*z/j}e.bezierCurveTo(p,g,m,v,_,x),p=P,g=E}else e.lineTo(_,x)}h=_,f=x,b+=o}return y}var h=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),f=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return(0,r.__extends)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new h},t.prototype.buildPath=function(e,t){var n=t.points,i=0,r=n.length/2;if(t.connectNulls){for(;r>0;r--)if(!u(n[2*r-2],n[2*r-1]))break;for(;i=0){var _=c?(p-i)*y+i:(f-n)*y+n;return c?[e,_]:[_,e]}n=f,i=p;break;case l.C:f=o[d++],p=o[d++],g=o[d++],m=o[d++],v=o[d++],b=o[d++];var x=c?(0,s.cubicRootAt)(n,f,g,v,e,u):(0,s.cubicRootAt)(i,p,m,b,e,u);if(x>0)for(var w=0;w=0){_=c?(0,s.cubicAt)(i,p,m,b,S):(0,s.cubicAt)(n,f,g,v,S);return c?[e,_]:[_,e]}}n=v,i=b;break}}},t}(o.default);t.ECPolyline=f;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t}(h),g=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return(0,r.__extends)(t,e),t.prototype.getDefaultShape=function(){return new p},t.prototype.buildPath=function(e,t){var n=t.points,i=t.stackedOnPoints,r=0,o=n.length/2,a=t.smoothMonotone;if(t.connectNulls){for(;o>0;o--)if(!u(n[2*o-2],n[2*o-1]))break;for(;rl&&(c=c.slice(0,l)),e?u+c:c+u)}};e.exports={start:s(!1),end:s(!0)}},"0cfb":function(e,t,n){var i=n("83ab"),r=n("d039"),o=n("cc12");e.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d1f":function(e,t,n){"use strict";var i=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.layout=o;var r=i(n("2463"));function o(e,t){t=t||{};var n=e.coordinateSystem,i=e.axis,o={},a=i.position,s=i.orient,l=n.getRect(),c=[l.x,l.x+l.width,l.y,l.y+l.height],u={horizontal:{top:c[2],bottom:c[3]},vertical:{left:c[0],right:c[1]}};o.position=["vertical"===s?u.vertical[a]:c[0],"horizontal"===s?u.horizontal[a]:c[3]];var d={horizontal:0,vertical:1};o.rotation=Math.PI/2*d[s];var h={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=h[a],e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),r.retrieve(t.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var f=t.rotate;return null==f&&(f=e.get(["axisLabel","rotate"])),o.labelRotation="top"===a?-f:f,o.z2=1,o}},"0d3b":function(e,t,n){var i=n("d039"),r=n("b622"),o=n("c430"),a=r("iterator");e.exports=!i((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,i){t["delete"]("b"),n+=i+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0d3f":function(e,t,n){"use strict";var i=n("4ea4"),r=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.RadiusAxisModel=t.AngleAxisModel=t.PolarAxisModel=void 0;var o=n("9ab4"),a=r(n("2463")),s=i(n("367c")),l=n("5762"),c=n("ffaf"),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.__extends)(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",c.SINGLE_REFERRING).models[0]},t.type="polarAxis",t}(s.default);t.PolarAxisModel=u,a.mixin(u,l.AxisModelCommonMixin);var d=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.__extends)(t,e),t.type="angleAxis",t}(u);t.AngleAxisModel=d;var h=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.__extends)(t,e),t.type="radiusAxis",t}(u);t.RadiusAxisModel=h},"0db5":function(e,t,n){"use strict";var i=n("dbce"),r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.extendComponentModel=A,t.extendComponentView=I,t.extendSeriesModel=P,t.extendChartView=E,Object.defineProperty(t,"ComponentModel",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"ComponentView",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"SeriesModel",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"ChartView",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"List",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return g.throttle}}),Object.defineProperty(t,"use",{enumerable:!0,get:function(){return v.use}}),Object.defineProperty(t,"setPlatformAPI",{enumerable:!0,get:function(){return b.setPlatformAPI}}),Object.defineProperty(t,"parseGeoJSON",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"parseGeoJson",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"env",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"Model",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"Axis",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"innerDrawElementOnCanvas",{enumerable:!0,get:function(){return O.brushSingle}}),t.util=t.format=t.graphic=t.time=t.number=t.helper=t.color=t.zrUtil=t.vector=t.matrix=t.zrender=void 0;var o=r(n("367c")),a=r(n("82b5")),s=r(n("94e0")),l=r(n("2f5e")),c=r(n("e55a")),u=i(n("e2d4"));t.zrender=u;var d=i(n("8a25"));t.matrix=d;var h=i(n("8155"));t.vector=h;var f=i(n("2463"));t.zrUtil=f;var p=i(n("4603"));t.color=p;var g=n("b23c"),m=i(n("8d37"));t.helper=m;var v=n("aa04"),b=n("6b58"),y=r(n("c9af")),_=i(n("5901"));t.number=_;var x=i(n("1ac6"));t.time=x;var w=i(n("662d"));t.graphic=w;var S=i(n("c0ef"));t.format=S;var k=i(n("61a8"));t.util=k;var C=r(n("c1c4")),T=r(n("0f55")),M=r(n("7153")),O=n("62c3");function A(e){var t=o.default.extend(e);return o.default.registerClass(t),t}function I(e){var t=a.default.extend(e);return a.default.registerClass(t),t}function P(e){var t=s.default.extend(e);return s.default.registerClass(t),t}function E(e){var t=l.default.extend(e);return l.default.registerClass(t),t}},"0dd9":function(e,t,n){var i=n("17df"),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},"0dda":function(e,t,n){"use strict";function i(e){e.registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},"0f36":function(e,t,n){"use strict";var i=n("4ea4"),r=n("dbce");n("c975"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("9ab4"),a=r(n("422e")),s=i(n("82b5")),l=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.__extends)(t,e),t.prototype.render=function(e,t,n){var i=t.getComponent("tooltip"),r=e.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";a.register("axisPointer",n,(function(e,t,n){"none"!==r&&("leave"===e||r.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},t.prototype.remove=function(e,t){a.unregister("axisPointer",t)},t.prototype.dispose=function(e,t){a.unregister("axisPointer",t)},t.type="axisPointer",t}(s.default),c=l;t.default=c},"0f3f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRawSourceItemGetter=g,t.getRawSourceDataCounter=b,t.getRawSourceValueGetter=x,t.retrieveRawValue=S,t.retrieveRawAttr=k,t.DefaultDataProvider=void 0;var i,r,o,a,s,l=n("2463"),c=n("ffaf"),u=n("e08a"),d=n("8c25"),h=function(){function e(e,t){var n=(0,u.isSourceInstance)(e)?e:(0,u.createSourceFromSeriesDataOption)(e);this._source=n;var i=this._data=n.data;n.sourceFormat===d.SOURCE_FORMAT_TYPED_ARRAY&&(this._offset=0,this._dimSize=t,this._data=i),s(this,i,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(e,t){},e.prototype.appendData=function(e){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var e;s=function(e,r,o){var s=o.sourceFormat,c=o.seriesLayoutBy,u=o.startIndex,h=o.dimensionsDefine,f=a[w(s,c)];if((0,l.extend)(e,f),s===d.SOURCE_FORMAT_TYPED_ARRAY)e.getItem=t,e.count=i,e.fillStorage=n;else{var p=g(s,c);e.getItem=(0,l.bind)(p,null,r,u,h);var m=b(s,c);e.count=(0,l.bind)(m,null,r,u,h)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,i=this._dimSize,r=i*e,o=0;oc&&(c=f)}s[0]=l,s[1]=c}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(e){for(var t=0;t0&&o&&w(-d/a,0,a);var m,v,b=e[0],y=e[a-1];return _(),m<0&&S(-m,.8),v<0&&S(v,.8),_(),x(m,v,1),x(v,m,-1),_(),m<0&&k(-m),v<0&&k(v),c}function _(){m=b.rect[t]-i,v=r-y.rect[t]-y.rect[n]}function x(e,t,n){if(e<0){var i=Math.min(t,-e);if(i>0){w(i*n,0,a);var r=i+e;r<0&&S(-r*n,1)}else S(-e*n,1)}}function w(n,i,r){0!==n&&(c=!0);for(var o=i;o0)for(l=0;l0;l--){h=o[l-1]*d;w(-h,l,a)}}}function k(e){var t=e<0?-1:1;e=Math.abs(e);for(var n=Math.ceil(e/(a-1)),i=0;i0?w(n,0,i+1):w(-n,a-i-1,a),e-=n,e<=0)return}}function a(e,t,n,i){return o(e,"x","width",t,n,i)}function s(e,t,n,i){return o(e,"y","height",t,n,i)}function l(e){var t=[];e.sort((function(e,t){return t.priority-e.priority}));var n=new i.BoundingRect(0,0,0,0);function r(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var o=0;o0,C=b.height-(k?-1:1),T=(p-f)/(C||1),M=e.get("clockwise"),O=e.get("stillShowZeroSum"),A=M?1:-1,I=function t(n,i){if(n){var a=i;if(n!==v){var s=n.getValue(),l=0===w&&O?S:s*S;li[1]&&i.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=t.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=e.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:r.bind(o,e)}}}},1148:function(e,t,n){"use strict";var i=n("a691"),r=n("1d80");e.exports="".repeat||function(e){var t=String(r(this)),n="",o=i(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},1174:function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.boxplotTransform=void 0;var r=i(n("86a43")),o=n("fcdb"),a=n("8c25"),s={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==a.SOURCE_FORMAT_ARRAY_ROWS){var n="";0,(0,o.throwError)(n)}var i=(0,r.default)(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};t.boxplotTransform=s},1184:function(e,t,n){"use strict";var i=n("4ea4"),r=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("9ab4"),a=r(n("2463")),s=i(n("367c")),l=i(n("47f9")),c=r(n("42c0")),u=n("5762"),d=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.activeIntervals=[],n}return(0,o.__extends)(t,e),t.prototype.getAreaSelectStyle=function(){return(0,l.default)([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(e){var t=this.activeIntervals=a.clone(e);if(t)for(var n=t.length-1;n>=0;n--)c.asc(t[n])},t.prototype.getActiveState=function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(+e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var i=0,r=t.length;i=0;a--){var l=+n[a],c=e[l],u=c.model,d=c.scale;(0,h.isIntervalOrLogScale)(d)&&u.get("alignTicks")&&null==u.get("interval")?r.push(c):((0,s.niceScaleExtent)(d,u),(0,h.isIntervalOrLogScale)(d)&&(t=c))}r.length&&(t||(t=r.pop(),(0,s.niceScaleExtent)(t.scale,t.model)),(0,o.each)(r,(function(e){(0,f.alignScaleTicks)(e.scale,e.model,t.scale)})))}}this._updateScale(e,this.model),i(n.x),i(n.y);var r={};(0,o.each)(n.x,(function(e){m(n,"y",e,r)})),(0,o.each)(n.y,(function(e){m(n,"x",e,r)})),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var i=e.getBoxLayoutParams(),r=!n&&e.get("containLabel"),l=(0,a.getLayoutRect)(i,{width:t.getWidth(),height:t.getHeight()});this._rect=l;var c=this._axesList;function u(){(0,o.each)(c,(function(e){var t=e.isHorizontal(),n=t?[0,l.width]:[0,l.height],i=e.inverse?1:0;e.setExtent(n[i],n[1-i]),b(e,t?l.x:l.y)}))}u(),r&&((0,o.each)(c,(function(e){if(!e.model.get(["axisLabel","inside"])){var t=(0,s.estimateLabelUnionRect)(e);if(t){var n=e.isHorizontal()?"height":"width",i=e.model.get(["axisLabel","margin"]);l[n]-=t[n]+i,"top"===e.position?l.y+=t.height+i:"left"===e.position&&(l.x+=t.width+i)}}})),u()),(0,o.each)(this._coordsList,(function(e){e.calcAffineTransform()}))},e.prototype.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n)return n[t||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}(0,o.isObject)(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var i=0,r=this._coordsList;i1||v&&!g){var y=l(m,u,d,p,b);t=y.inlineValues,n=y.inlineValueTypes,s=y.blocks,c=y.inlineValues[0]}else if(g){var _=f.getDimensionInfo(p[0]);c=t=(0,o.retrieveRawValue)(f,d,p[0]),n=_.type}else c=t=v?m[0]:m;var x=(0,a.isNameSpecified)(u),w=x&&u.name||"",S=f.getName(d),k=h?w:S;return(0,r.createTooltipMarkup)("section",{header:w,noHeader:h||!x,sortParam:c,blocks:[(0,r.createTooltipMarkup)("nameValue",{markerType:"item",markerColor:b,name:k,noName:!(0,i.trim)(k),value:t,valueType:n})].concat(s||[])})}function l(e,t,n,a,s){var l=t.getData(),c=(0,i.reduce)(e,(function(e,t,n){var i=l.getDimensionInfo(n);return e||i&&!1!==i.tooltip&&null!=i.displayName}),!1),u=[],d=[],h=[];function f(e,t){var n=l.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(c?h.push((0,r.createTooltipMarkup)("nameValue",{markerType:"subItem",markerColor:s,name:n.displayName,value:e,valueType:n.type})):(u.push(e),d.push(n.type)))}return a.length?(0,i.each)(a,(function(e){f((0,o.retrieveRawValue)(l,n,e),e)})):(0,i.each)(e,f),{inlineValues:u,inlineValueTypes:d,blocks:h}}},1212:function(e,t,n){n("6c1c")("asyncIterator")},"124a":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.install=s;var r=i(n("fe0b")),o=i(n("4951")),a=i(n("6caf"));function s(e){e.registerComponentModel(r.default),e.registerComponentView(o.default),e.registerCoordinateSystem("calendar",a.default)}},1259:function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("199a")),o=n("e3ff");function a(e,t,n,i,a){var s=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if((0,o.isEmptyValue)(t,"array")&&!e.required)return n();r.default.required(e,t,i,s,a,"array"),(0,o.isEmptyValue)(t,"array")||(r.default.type(e,t,i,s,a),r.default.range(e,t,i,s,a))}n(s)}var s=a;t.default=s},1276:function(e,t,n){"use strict";var i=n("d784"),r=n("44e7"),o=n("825a"),a=n("1d80"),s=n("4840"),l=n("8aa5"),c=n("50c4"),u=n("14c3"),d=n("9263"),h=n("d039"),f=[].push,p=Math.min,g=4294967295,m=!h((function(){return!RegExp(g,"y")}));i("split",2,(function(e,t,n){var i;return i="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 i=String(a(this)),o=void 0===n?g:n>>>0;if(0===o)return[];if(void 0===e)return[i];if(!r(e))return t.call(i,e,o);var s,l,c,u=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,m=new RegExp(e.source,h+"g");while(s=d.call(m,i)){if(l=m.lastIndex,l>p&&(u.push(i.slice(p,s.index)),s.length>1&&s.index=o))break;m.lastIndex===s.index&&m.lastIndex++}return p===i.length?!c&&m.test("")||u.push(""):u.push(i.slice(p)),u.length>o?u.slice(0,o):u}:"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 r=a(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var a=n(i,e,this,r,i!==t);if(a.done)return a.value;var d=o(e),h=String(this),f=s(d,RegExp),v=d.unicode,b=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(m?"y":"g"),y=new f(m?d:"^(?:"+d.source+")",b),_=void 0===r?g:r>>>0;if(0===_)return[];if(0===h.length)return null===u(y,h)?[h]:[];var x=0,w=0,S=[];while(w-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,i=t.target,r=i.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var o=null,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e.label,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElCheckbox",mixins:[a.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.lengththis._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick((function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])}))}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}}},l=s,c=n(0),u=Object(c["a"])(l,i,r,!1,null,null,null);u.options.__file="packages/checkbox/src/checkbox.vue";var d=u.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},1312:function(e,t,n){"use strict";var i=n("dbce");n("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=i(n("2463"));function o(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),n=[],i=e.coordinateSystem;if(i){var o=i.getIndicatorAxes();r.each(o,(function(e,r){t.each(t.mapDimension(o[r].dim),(function(e,t){n[t]=n[t]||[];var o=i.dataToPoint(e,r);n[t][r]=a(o)?o:s(i)}))})),t.each((function(e){var o=r.find(n[e],(function(e){return a(e)}))||s(i);n[e].push(o.slice()),t.setItemLayout(e,n[e])}))}}))}function a(e){return!isNaN(e[0])&&!isNaN(e[1])}function s(e){return[e.cx,e.cy]}},"131a":function(e,t,n){var i=n("23e7"),r=n("d2bb");i({target:"Object",stat:!0},{setPrototypeOf:r})},"131d":function(e,t,n){"use strict";var i=n("4ea4"),r=n("dbce");n("cb29"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("9ab4"),a=n("2463"),s=r(n("4454")),l=n("30ba"),c=n("47ed"),u=i(n("832c")),d=r(n("bf15")),h=i(n("2a42")),f=i(n("8f5c")),p=i(n("3934")),g=r(n("8a25")),m=r(n("b554")),v=i(n("47f9")),b=i(n("2f5e")),y=i(n("1ed4")),_=n("ffaf"),x=n("8132"),w=n("3708"),S=s.Group,k=s.Rect,C=3,T="label",M="upperLabel",O=10*c.Z2_EMPHASIS_LIFT,A=2*c.Z2_EMPHASIS_LIFT,I=3*c.Z2_EMPHASIS_LIFT,P=(0,v.default)([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),E=function(e){var t=P(e);return t.stroke=t.fill=t.lineWidth=null,t},D=(0,_.makeInner)(),L=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._state="ready",n._storage=N(),n}return(0,o.__extends)(t,e),t.prototype.render=function(e,t,n,i){var r=t.findComponents({mainType:"series",subType:"treemap",query:i});if(!((0,a.indexOf)(r,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var o=["treemapZoomToNode","treemapRootToNode"],s=d.retrieveTargetInfo(i,o,e),l=i&&i.type,c=e.layoutInfo,u=!this._oldTree,h=this._storage,f="treemapRootToNode"===l&&s&&h?{rootNodeGroup:h.nodeGroup[s.node.getRawIndex()],direction:i.direction}:null,p=this._giveContainerGroup(c),g=e.get("animation"),m=this._doRender(p,e,f);!g||u||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?m.renderFinally():this._doAnimation(p,m,e,f),this._resetController(n),this._renderBreadcrumb(e,n,s)}},t.prototype._giveContainerGroup=function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new S,this._initEvents(t),this.group.add(t)),t.x=e.x,t.y=e.y,t},t.prototype._doRender=function(e,t,n){var i=t.getData().tree,r=this._oldTree,o=N(),s=N(),l=this._storage,c=[];function d(e,i,r,a){return R(t,s,l,n,o,c,e,i,r,a)}f(i.root?[i.root]:[],r&&r.root?[r.root]:[],e,i===r||!r,0);var h=p(l);return this._oldTree=i,this._storage=s,{lastsForAnimation:o,willDeleteEls:h,renderFinally:g};function f(e,t,n,i,r){function o(e){return e.getId()}function s(o,a){var s=null!=o?e[o]:null,l=null!=a?t[a]:null,c=d(s,l,n,r);c&&f(s&&s.viewChildren||[],l&&l.viewChildren||[],c,i,r+1)}i?(t=e,(0,a.each)(e,(function(e,t){!e.isRemoved()&&s(t,t)}))):new u.default(t,e,o,o).add(s).update(s).remove((0,a.curry)(s,null)).execute()}function p(e){var t=N();return e&&(0,a.each)(e,(function(e,n){var i=t[n];(0,a.each)(e,(function(e){e&&(i.push(e),D(e).willDelete=!0)}))})),t}function g(){(0,a.each)(h,(function(e){(0,a.each)(e,(function(e){e.parent&&e.parent.remove(e)}))})),(0,a.each)(c,(function(e){e.invisible=!0,e.dirty()}))}},t.prototype._doAnimation=function(e,t,n,i){var r=n.get("animationDurationUpdate"),o=n.get("animationEasing"),l=((0,a.isFunction)(r)?0:r)||0,c=((0,a.isFunction)(o)?null:o)||"cubicOut",u=m.createWrap();(0,a.each)(t.willDeleteEls,(function(e,t){(0,a.each)(e,(function(e,n){if(!e.invisible){var r,o=e.parent,a=D(o);if(i&&"drillDown"===i.direction)r=o===i.rootNodeGroup?{shape:{x:0,y:0,width:a.nodeWidth,height:a.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var s=0,d=0;a.willDelete||(s=a.nodeWidth/2,d=a.nodeHeight/2),r="nodeGroup"===t?{x:s,y:d,style:{opacity:0}}:{shape:{x:s,y:d,width:0,height:0},style:{opacity:0}}}r&&u.add(e,r,l,0,c)}}))})),(0,a.each)(this._storage,(function(e,n){(0,a.each)(e,(function(e,i){var r=t.lastsForAnimation[n][i],o={};r&&(e instanceof s.Group?null!=r.oldX&&(o.x=e.x,o.y=e.y,e.x=r.oldX,e.y=r.oldY):(r.oldShape&&(o.shape=(0,a.extend)({},e.shape),e.setShape(r.oldShape)),r.fadein?(e.setStyle("opacity",0),o.style={opacity:1}):1!==e.style.opacity&&(o.style={opacity:1})),u.add(e,o,l,0,c))}))}),this),this._state="animating",u.finished((0,a.bind)((function(){this._state="ready",t.renderFinally()}),this)).start()},t.prototype._resetController=function(e){var t=this._controller;t||(t=this._controller=new f.default(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",(0,a.bind)(this._onPan,this)),t.on("zoom",(0,a.bind)(this._onZoom,this)));var n=new p.default(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,i){return n.contain(t,i)}))},t.prototype._clearController=function(){var e=this._controller;e&&(e.dispose(),e=null)},t.prototype._onPan=function(e){if("animating"!==this._state&&(Math.abs(e.dx)>C||Math.abs(e.dy)>C)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},t.prototype._onZoom=function(e){var t=e.originX,n=e.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new p.default(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo;t-=a.x,n-=a.y;var s=g.create();g.translate(s,s,[-t,-n]),g.scale(s,s,[e.scale,e.scale]),g.translate(s,s,[t,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},t.prototype._initEvents=function(e){var t=this;e.on("click",(function(e){if("ready"===t._state){var n=t.seriesModel.get("nodeClick",!0);if(n){var i=t.findTarget(e.offsetX,e.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)t._rootToNode(i);else if("zoomToNode"===n)t._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&(0,x.windowOpen)(a,s)}}}}}),this)},t.prototype._renderBreadcrumb=function(e,t,n){var i=this;n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),n||(n={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new h.default(this.group))).render(e,t,n.node,(function(t){"animating"!==i._state&&(d.aboveViewRoot(e.getViewRoot(),t)?i._rootToNode({node:t}):i._zoomToNode({node:t}))}))},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=N(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,t){var n,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(e,t),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},t.type="treemap",t}(b.default);function N(){return{nodeGroup:[],background:[],content:[]}}function R(e,t,n,i,r,o,u,d,h,f){if(u){var p=u.getLayout(),g=e.getData(),m=u.getModel();if(g.setItemGraphicEl(u.dataIndex,null),p&&p.isInView){var v=p.width,b=p.height,x=p.borderWidth,C=p.invisible,O=u.getRawIndex(),L=d&&d.getRawIndex(),N=u.viewChildren,R=p.upperHeight,z=N&&N.length,$=m.getModel("itemStyle"),B=m.getModel(["emphasis","itemStyle"]),F=m.getModel(["blur","itemStyle"]),V=m.getModel(["select","itemStyle"]),H=$.get("borderRadius")||0,W=ie("nodeGroup",S);if(W){if(h.add(W),W.x=p.x||0,W.y=p.y||0,W.markRedraw(),D(W).nodeWidth=v,D(W).nodeHeight=b,p.isAboveViewRoot)return W;var G=ie("background",k,f,A);G&&Q(W,G,z&&p.upperLabelHeight);var U=m.getModel("emphasis"),Y=U.get("focus"),q=U.get("blurScope"),X=U.get("disabled"),K="ancestor"===Y?u.getAncestorsIndices():"descendant"===Y?u.getDescendantIndices():Y;if(z)(0,c.isHighDownDispatcher)(W)&&(0,c.setAsHighDownDispatcher)(W,!1),G&&((0,c.setAsHighDownDispatcher)(G,!X),g.setItemGraphicEl(u.dataIndex,G),(0,c.enableHoverFocus)(G,K,q));else{var Z=ie("content",k,f,I);Z&&J(W,Z),G.disableMorphing=!0,G&&(0,c.isHighDownDispatcher)(G)&&(0,c.setAsHighDownDispatcher)(G,!1),(0,c.setAsHighDownDispatcher)(W,!X),g.setItemGraphicEl(u.dataIndex,W),(0,c.enableHoverFocus)(W,K,q)}return W}}}function Q(t,n,i){var r=(0,l.getECData)(n);if(r.dataIndex=u.dataIndex,r.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:v,height:b,r:H}),C)ee(n);else{n.invisible=!1;var o=u.getVisual("style"),a=o.stroke,s=E($);s.fill=a;var d=P(B);d.fill=B.get("borderColor");var h=P(F);h.fill=F.get("borderColor");var f=P(V);if(f.fill=V.get("borderColor"),i){var p=v-2*x;te(n,a,o.opacity,{x:x,y:0,width:p,height:R})}else n.removeTextContent();n.setStyle(s),n.ensureState("emphasis").style=d,n.ensureState("blur").style=h,n.ensureState("select").style=f,(0,c.setDefaultStateProxy)(n)}t.add(n)}function J(t,n){var i=(0,l.getECData)(n);i.dataIndex=u.dataIndex,i.seriesIndex=e.seriesIndex;var r=Math.max(v-2*x,0),o=Math.max(b-2*x,0);if(n.culling=!0,n.setShape({x:x,y:x,width:r,height:o,r:H}),C)ee(n);else{n.invisible=!1;var a=u.getVisual("style"),s=a.fill,d=E($);d.fill=s,d.decal=a.decal;var h=P(B),f=P(F),p=P(V);te(n,s,a.opacity,null),n.setStyle(d),n.ensureState("emphasis").style=h,n.ensureState("blur").style=f,n.ensureState("select").style=p,(0,c.setDefaultStateProxy)(n)}t.add(n)}function ee(e){!e.invisible&&o.push(e)}function te(t,n,i,r){var o=m.getModel(r?M:T),s=(0,_.convertOptionIdName)(m.get("name"),null),l=o.getShallow("show");(0,w.setLabelStyle)(t,(0,w.getLabelStatesModels)(m,r?M:T),{defaultText:l?s:null,inheritColor:n,defaultOpacity:i,labelFetcher:e,labelDataIndex:u.dataIndex});var c=t.getTextContent();if(c){var d=c.style,h=(0,a.normalizeCssArray)(d.padding||0);r&&(t.setTextConfig({layoutRect:r}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var e=Math.max((r?r.width:t.shape.width)-h[1]-h[3],0),n=Math.max((r?r.height:t.shape.height)-h[0]-h[2],0);d.width===e&&d.height===n||c.setStyle({width:e,height:n})},d.truncateMinChar=2,d.lineOverflow="truncate",ne(d,r,p);var f=c.getState("emphasis");ne(f?f.style:null,r,p)}}function ne(t,n,i){var r=t?t.text:null;if(!n&&i.isLeafRoot&&null!=r){var o=e.get("drillDownIcon",!0);t.text=o?o+" "+r:r}}function ie(e,i,o,a){var s=null!=L&&n[e][L],l=r[e];return s?(n[e][L]=null,re(l,s)):C||(s=new i,s instanceof y.default&&(s.z2=j(o,a)),oe(l,s)),t[e][O]=s}function re(e,t){var n=e[O]={};t instanceof S?(n.oldX=t.x,n.oldY=t.y):n.oldShape=(0,a.extend)({},t.shape)}function oe(e,t){var n=e[O]={},o=u.parentNode,a=t instanceof s.Group;if(o&&(!i||"drillDown"===i.direction)){var l=0,c=0,d=r.background[o.getRawIndex()];!i&&d&&d.oldShape&&(l=d.oldShape.width,c=d.oldShape.height),a?(n.oldX=0,n.oldY=c):n.oldShape={x:l,y:c,width:0,height:0}}n.fadein=!a}}function j(e,t){return e*O+t}var z=L;t.default=z},"132f":function(e,t,n){"use strict";var i=n("4ea4");n("c975"),Object.defineProperty(t,"__esModule",{value:!0}),t.registerLocale=g,t.createLocaleObject=m,t.getLocaleModel=v,t.getDefaultLocaleModel=b,t.SYSTEM_LANG=void 0;var r=i(n("0f55")),o=i(n("c1c4")),a=i(n("9681")),s=i(n("029d")),l=n("2463"),c="ZH",u="EN",d=u,h={},f={},p=o.default.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return e.indexOf(c)>-1?c:d}():d;function g(e,t){e=e.toUpperCase(),f[e]=new r.default(t),h[e]=t}function m(e){if((0,l.isString)(e)){var t=h[e.toUpperCase()]||{};return e===c||e===u?(0,l.clone)(t):(0,l.merge)((0,l.clone)(t),(0,l.clone)(h[d]),!1)}return(0,l.merge)((0,l.clone)(e),(0,l.clone)(h[d]),!1)}function v(e){return f[e]}function b(){return f[d]}t.SYSTEM_LANG=p,g(u,a.default),g(c,s.default)},"13d5":function(e,t,n){"use strict";var i=n("23e7"),r=n("d58f").left,o=n("a640"),a=n("ae40"),s=o("reduce"),l=a("reduce",{1:0});i({target:"Array",proto:!0,forced:!s||!l},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"141a":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"143c":function(e,t,n){var i=n("74e8");i("Int32",(function(e){return function(t,n,i){return e(this,t,n,i)}}))},"145e":function(e,t,n){"use strict";var i=n("7b0b"),r=n("23cb"),o=n("50c4"),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=i(this),s=o(n.length),l=r(e,s),c=r(t,s),u=arguments.length>2?arguments[2]:void 0,d=a((void 0===u?s:r(u,s))-c,s-l),h=1;c0)c in n?n[l]=n[c]:delete n[l],l+=h,c+=h;return n}},"149d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var i=n("2463"),r={average:function(e){for(var t=0,n=0,i=0;it&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n10&&"cartesian2d"===l.type&&s){var u=l.getBaseAxis(),d=l.getOtherAxis(u),h=u.getExtent(),f=n.getDevicePixelRatio(),p=Math.abs(h[1]-h[0])*(f||1),g=Math.round(c/p);if(isFinite(g)&&g>1){"lttb"===s&&e.setData(a.lttbDownSample(a.mapDimension(d.dim),1/g));var m=void 0;(0,i.isString)(s)?m=r[s]:(0,i.isFunction)(s)&&(m=s),m&&e.setData(a.downSample(a.mapDimension(d.dim),1/g,m,o))}}}}}},"14c3":function(e,t,n){var i=n("c6b6"),r=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},"14da":function(e,t,n){"use strict";var i=n("dbce"),r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("9ab4"),a=r(n("36e1")),s=r(n("5fee")),l=i(n("8155")),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._lastFrame=0,t._lastFramePercent=0,t}return(0,o.__extends)(t,e),t.prototype.createLine=function(e,t,n){return new a.default(e,t,n)},t.prototype._updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],i=0,r=1;r=0;o--)if(i[o]<=t)break;o=Math.min(o,r-2)}else{for(o=a;ot)break;o=Math.min(o-1,r-2)}var l=(t-i[o])/(i[o+1]-i[o]),c=n[o],u=n[o+1];e.x=c[0]*(1-l)+l*u[0],e.y=c[1]*(1-l)+l*u[1];var d=u[0]-c[0],h=u[1]-c[1];e.rotation=-Math.atan2(h,d)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=t,e.ignore=!1}},t}(s.default),u=c;t.default=u},1544:function(e,t,n){"use strict";var i=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("2463")),o=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],a=function(){function e(e){r.each(o,(function(t){this[t]=r.bind(e[t],e)}),this)}return e}(),s=a;t.default=s},1590:function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("9ab4"),o=i(n("f7c3")),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="compound",t}return(0,r.__extends)(t,e),t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,t=this.shapeChanged(),n=0;n=0&&(o[r[l].depth]=new s.default(r[l],this,t));if(i&&n){var c=(0,a.default)(i,n,this,!0,u);return c.data}function u(e,t){e.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,i=n.getData().getItemLayout(t);if(i){var r=i.depth,o=n.levelModels[r];o&&(e.parentModel=o)}return e})),t.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,i=n.getGraph().getEdgeByIndex(t),r=i.node1.getLayout();if(r){var o=r.depth,a=n.levelModels[o];a&&(e.parentModel=a)}return e}))}},t.prototype.setNodePosition=function(e,t){var n=this.option.data||this.option.nodes,i=n[e];i.localX=t[0],i.localY=t[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,t,n){function i(e){return isNaN(e)||null==e}if("edge"===n){var r=this.getDataParams(e,n),o=r.data,a=r.value,s=o.source+" -- "+o.target;return(0,l.createTooltipMarkup)("nameValue",{name:s,value:a,noValue:i(a)})}var c=this.getGraph().getNodeByIndex(e),u=c.getLayout().value,d=this.getDataParams(e,n).data.name;return(0,l.createTooltipMarkup)("nameValue",{name:null!=d?d+"":null,value:u,noValue:i(u)})},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(t,n){var i=e.prototype.getDataParams.call(this,t,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(t),o=r.getLayout().value;i.value=o}return i},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(o.default),u=c;t.default=u},"17c2":function(e,t,n){"use strict";var i=n("b727").forEach,r=n("a640"),o=n("ae40"),a=r("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}},"17df":function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"182d":function(e,t,n){var i=n("f8cd");e.exports=function(e,t){var n=i(e);if(n%t)throw RangeError("Wrong offset");return n}},1841:function(e,t,n){var i=n("b0b9"),r=n("141a"),o="__core-js_shared__",a=r[o]||(r[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("1854")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},18419:function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("9ab4"),o=i(n("82b5")),a=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.__extends)(t,e),t.type="timeline",t}(o.default),s=a;t.default=s},1854:function(e,t){e.exports=!0},1866:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){function e(e,t){this.x=e||0,this.y=t||0}return e.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(e,t){return this.x=e,this.y=t,this},e.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},e.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},e.prototype.scale=function(e){this.x*=e,this.y*=e},e.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},e.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},e.prototype.dot=function(e){return this.x*e.x+this.y*e.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},e.prototype.distance=function(e){var t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)},e.prototype.distanceSquare=function(e){var t=this.x-e.x,n=this.y-e.y;return t*t+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(e){if(e){var t=this.x,n=this.y;return this.x=e[0]*t+e[2]*n+e[4],this.y=e[1]*t+e[3]*n+e[5],this}},e.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},e.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},e.set=function(e,t,n){e.x=t,e.y=n},e.copy=function(e,t){e.x=t.x,e.y=t.y},e.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},e.lenSquare=function(e){return e.x*e.x+e.y*e.y},e.dot=function(e,t){return e.x*t.x+e.y*t.y},e.add=function(e,t,n){e.x=t.x+n.x,e.y=t.y+n.y},e.sub=function(e,t,n){e.x=t.x-n.x,e.y=t.y-n.y},e.scale=function(e,t,n){e.x=t.x*n,e.y=t.y*n},e.scaleAndAdd=function(e,t,n,i){e.x=t.x+n.x*i,e.y=t.y+n.y*i},e.lerp=function(e,t,n,i){var r=1-i;e.x=r*t.x+i*n.x,e.y=r*t.y+i*n.y},e}(),r=i;t.default=r},"18e7":function(e,t,n){"use strict";var i=n("dbce");n("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.getUID=s,t.enableSubTypeDefaulter=l,t.enableTopologicalTravel=c,t.inheritDefaultOption=u;var r=i(n("2463")),o=n("3250"),a=(n("fcdb"),Math.round(10*Math.random()));function s(e){return[e||"",a++].join("_")}function l(e){var t={};e.registerSubTypeDefaulter=function(e,n){var i=(0,o.parseClassType)(e);t[i.main]=n},e.determineSubType=function(n,i){var r=i.type;if(!r){var a=(0,o.parseClassType)(n).main;e.hasSubTypes(n)&&t[a]&&(r=t[a](i))}return r}}function c(e,t){function n(e){var n={},a=[];return r.each(e,(function(s){var l=i(n,s),c=l.originalDeps=t(s),u=o(c,e);l.entryCount=u.length,0===l.entryCount&&a.push(s),r.each(u,(function(e){r.indexOf(l.predecessor,e)<0&&l.predecessor.push(e);var t=i(n,e);r.indexOf(t.successor,e)<0&&t.successor.push(s)}))})),{graph:n,noEntryList:a}}function i(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function o(e,t){var n=[];return r.each(e,(function(e){r.indexOf(t,e)>=0&&n.push(e)})),n}e.topologicalTravel=function(e,t,i,o){if(e.length){var a=n(t),s=a.graph,l=a.noEntryList,c={};r.each(e,(function(e){c[e]=!0}));while(l.length){var u=l.pop(),d=s[u],h=!!c[u];h&&(i.call(o,u,d.originalDeps.slice()),delete c[u]),r.each(d.successor,h?p:f)}r.each(c,(function(){var e="";throw new Error(e)}))}function f(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function p(e){c[e]=!0,f(e)}}}function u(e,t){return r.merge(r.merge({},e,!0),t,!0)}},1991:function(e,t,n){"use strict";var i=n("4ea4"),r=n("dbce");n("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("2463")),a=r(n("517c")),s=r(n("99b9")),l=r(n("42c0")),c=i(n("b05d")),u=r(n("8155"));function d(e,t){var n=e.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];if(isFinite(i[0])&&isFinite(i[1])&&isFinite(r[0])&&isFinite(r[1])){var o=this.projection;if(o){var a=i[0],c=i[1],d=r[0],h=r[1];i=[1/0,1/0],r=[-1/0,-1/0];var f=function(e,t,n,a){for(var s=n-e,l=a-t,c=0;c<=100;c++){var d=c/100,h=o.project([e+s*d,t+l*d]);u.min(i,i,h),u.max(r,r,h)}};f(a,c,d,c),f(d,c,d,h),f(d,h,a,h),f(a,h,d,c)}this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}else 0}var p,g,m,v=this.getBoundingRect(),b=e.get("layoutCenter"),y=e.get("layoutSize"),_=t.getWidth(),x=t.getHeight(),w=v.width/v.height*this.aspectScale,S=!1;if(b&&y&&(p=[l.parsePercent(b[0],_),l.parsePercent(b[1],x)],g=l.parsePercent(y,Math.min(_,x)),isNaN(p[0])||isNaN(p[1])||isNaN(g)||(S=!0)),S)m={},w>1?(m.width=g,m.height=g/w):(m.height=g,m.width=g*w),m.y=p[1]-m.height/2,m.x=p[0]-m.width/2;else{var k=e.getBoxLayoutParams();k.aspect=w,m=s.getLayoutRect(k,{width:_,height:x})}this.setViewRect(m.x,m.y,m.width,m.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function h(e,t){o.each(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}var f=function(){function e(){this.dimensions=a.geo2DDimensions}return e.prototype.create=function(e,t){var n=[];function i(e){return{nameProperty:e.get("nameProperty"),aspectScale:e.get("aspectScale"),projection:e.get("projection")}}e.eachComponent("geo",(function(e,r){var s=e.get("map"),l=new a.default(s+r,s,o.extend({nameMap:e.get("nameMap")},i(e)));l.zoomLimit=e.get("scaleLimit"),n.push(l),e.coordinateSystem=l,l.model=e,l.resize=d,l.resize(e,t)})),e.eachSeries((function(e){var t=e.get("coordinateSystem");if("geo"===t){var i=e.get("geoIndex")||0;e.coordinateSystem=n[i]}}));var r={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();r[t]=r[t]||[],r[t].push(e)}})),o.each(r,(function(e,r){var s=o.map(e,(function(e){return e.get("nameMap")})),l=new a.default(r,r,o.extend({nameMap:o.mergeAll(s)},i(e[0])));l.zoomLimit=o.retrieve.apply(null,o.map(e,(function(e){return e.get("scaleLimit")}))),n.push(l),l.resize=d,l.resize(e[0],t),o.each(e,(function(e){e.coordinateSystem=l,h(l,e)}))})),n},e.prototype.getFilledRegions=function(e,t,n,i){for(var r=(e||[]).slice(),a=o.createHashMap(),s=0;s2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var r=!1,o=function(){r||(r=!0,t&&t.apply(null,arguments))};i?e.$once("after-leave",o):e.$on("after-leave",o),setTimeout((function(){o()}),n+100)}},"1a49":function(e,t,n){"use strict";n("acd8"),Object.defineProperty(t,"__esModule",{value:!0}),t.parseDataValue=a,t.getRawValueParser=l,t.createFilterComparator=f,t.SortOrderComparator=void 0;var i=n("42c0"),r=n("2463"),o=n("fcdb");function a(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"!==n||(0,r.isNumber)(e)||null==e||"-"===e||(e=+(0,i.parseDate)(e)),null==e||""===e?NaN:+e)}var s=(0,r.createHashMap)({number:function(e){return parseFloat(e)},time:function(e){return+(0,i.parseDate)(e)},trim:function(e){return(0,r.isString)(e)?(0,r.trim)(e):e}});function l(e){return s.get(e)}var c={lt:function(e,t){return et},gte:function(e,t){return e>=t}},u=function(){function e(e,t){if(!(0,r.isNumber)(t)){var n="";0,(0,o.throwError)(n)}this._opFn=c[e],this._rvalFloat=(0,i.numericToNumber)(t)}return e.prototype.evaluate=function(e){return(0,r.isNumber)(e)?this._opFn(e,this._rvalFloat):this._opFn((0,i.numericToNumber)(e),this._rvalFloat)},e}(),d=function(){function e(e,t){var n="desc"===e;this._resultLT=n?1:-1,null==t&&(t=n?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=(0,r.isNumber)(e)?e:(0,i.numericToNumber)(e),o=(0,r.isNumber)(t)?t:(0,i.numericToNumber)(t),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,r.isString)(e),c=(0,r.isString)(t);l&&(n=c?e:0),c&&(o=l?t:0)}return no?-this._resultLT:0},e}();t.SortOrderComparator=d;var h=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=(0,i.numericToNumber)(t)}return e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(t=(0,i.numericToNumber)(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function f(e,t){return"eq"===e||"ne"===e?new h("eq"===e,t):(0,r.hasOwn)(c,e)?new u(e,t):null}},"1ac6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return i.parseDate}}),Object.defineProperty(t,"format",{enumerable:!0,get:function(){return r.format}});var i=n("42c0"),r=n("6a64")},"1afb":function(e,t,n){"use strict";var i=n("dbce"),r=n("4ea4");n("cb29"),n("ac1f"),n("5319"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("9ab4"),a=r(n("cb6f")),s=i(n("4454")),l=n("47ed"),c=n("3708"),u=r(n("2f5e")),d=n("42c0"),h=r(n("27b4")),f=n("cd9e"),p=r(n("a718")),g=n("2463"),m=n("30ba"),v=n("6fd0");function b(e,t){var n=e.get("center"),i=t.getWidth(),r=t.getHeight(),o=Math.min(i,r),a=(0,d.parsePercent)(n[0],t.getWidth()),s=(0,d.parsePercent)(n[1],t.getHeight()),l=(0,d.parsePercent)(e.get("radius"),o/2);return{cx:a,cy:s,r:l}}function y(e,t){var n=null==e?"":e+"";return t&&((0,g.isString)(t)?n=t.replace("{value}",n):(0,g.isFunction)(t)&&(n=t(e))),n}var _=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.__extends)(t,e),t.prototype.render=function(e,t,n){this.group.removeAll();var i=e.get(["axisLine","lineStyle","color"]),r=b(e,n);this._renderMain(e,t,n,i,r),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,n,i,r){var o=this.group,a=e.get("clockwise"),l=-e.get("startAngle")/180*Math.PI,c=-e.get("endAngle")/180*Math.PI,u=e.getModel("axisLine"),d=u.get("roundCap"),f=d?h.default:s.Sector,p=u.get("show"),g=u.getModel("lineStyle"),m=g.get("width"),b=[l,c];(0,v.normalizeArcAngles)(b,!a),l=b[0],c=b[1];for(var y=c-l,_=l,x=0;p&&x=e&&(0===t?0:i[t-1][0]).8?"bottom":"middle",align:h<-.4?"left":h>.4?"right":"center"},{inheritColor:z}),silent:!0}))}if(w.get("show")&&L!==k){N=w.get("distance");N=N?N+u:u;for(var $=0;$<=C;$++){h=Math.cos(O),f=Math.sin(O);var B=new s.Line({shape:{x1:h*(v-N)+g,y1:f*(v-N)+m,x2:h*(v-M-N)+g,y2:f*(v-M-N)+m},silent:!0,style:E});"auto"===E.stroke&&B.setStyle({stroke:i((L+$/C)/k)}),p.add(B),O+=I}O-=I}else O+=A}},t.prototype._renderPointer=function(e,t,n,i,r,o,c,u,v){var b=this.group,y=this._data,_=this._progressEls,x=[],w=e.get(["pointer","show"]),S=e.getModel("progress"),k=S.get("show"),C=e.getData(),T=C.mapDimension("value"),M=+e.get("min"),O=+e.get("max"),A=[M,O],I=[o,c];function P(t,n){var i,o=C.getItemModel(t),s=o.getModel("pointer"),l=(0,d.parsePercent)(s.get("width"),r.r),c=(0,d.parsePercent)(s.get("length"),r.r),u=e.get(["pointer","icon"]),h=s.get("offsetCenter"),p=(0,d.parsePercent)(h[0],r.r),g=(0,d.parsePercent)(h[1],r.r),m=s.get("keepAspect");return i=u?(0,f.createSymbol)(u,p-l/2,g-c,l,c,null,m):new a.default({shape:{angle:-Math.PI/2,width:l,r:c,x:p,y:g}}),i.rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function E(e,t){var n=S.get("roundCap"),i=n?h.default:s.Sector,a=S.get("overlap"),l=a?S.get("width"):v/C.count(),c=a?r.r-l:r.r-(e+1)*l,d=a?r.r:r.r-e*l,f=new i({shape:{startAngle:o,endAngle:t,cx:r.cx,cy:r.cy,clockwise:u,r0:c,r:d}});return a&&(f.z2=O-C.get(T,e)%O),f}(k||w)&&(C.diff(y).add((function(t){var n=C.get(T,t);if(w){var i=P(t,o);s.initProps(i,{rotation:-((isNaN(+n)?I[0]:(0,d.linearMap)(n,A,I,!0))+Math.PI/2)},e),b.add(i),C.setItemGraphicEl(t,i)}if(k){var r=E(t,o),a=S.get("clip");s.initProps(r,{shape:{endAngle:(0,d.linearMap)(n,A,I,a)}},e),b.add(r),(0,m.setCommonECData)(e.seriesIndex,C.dataType,t,r),x[t]=r}})).update((function(t,n){var i=C.get(T,t);if(w){var r=y.getItemGraphicEl(n),a=r?r.rotation:o,l=P(t,a);l.rotation=a,s.updateProps(l,{rotation:-((isNaN(+i)?I[0]:(0,d.linearMap)(i,A,I,!0))+Math.PI/2)},e),b.add(l),C.setItemGraphicEl(t,l)}if(k){var c=_[n],u=c?c.shape.endAngle:o,h=E(t,u),f=S.get("clip");s.updateProps(h,{shape:{endAngle:(0,d.linearMap)(i,A,I,f)}},e),b.add(h),(0,m.setCommonECData)(e.seriesIndex,C.dataType,t,h),x[t]=h}})).execute(),C.each((function(e){var t=C.getItemModel(e),n=t.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(w){var s=C.getItemGraphicEl(e),c=C.getItemVisual(e,"style"),u=c.fill;if(s instanceof p.default){var h=s.style;s.useStyle((0,g.extend)({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},c))}else s.useStyle(c),"pointer"!==s.type&&s.setColor(u);s.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i((0,d.linearMap)(C.get(T,e),A,[0,1],!0))),s.z2EmphasisLift=0,(0,l.setStatesStylesFromModel)(s,t),(0,l.toggleHoverEmphasis)(s,r,o,a)}if(k){var f=x[e];f.useStyle(C.getItemVisual(e,"style")),f.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),f.z2EmphasisLift=0,(0,l.setStatesStylesFromModel)(f,t),(0,l.toggleHoverEmphasis)(f,r,o,a)}})),this._progressEls=x)},t.prototype._renderAnchor=function(e,t){var n=e.getModel("anchor"),i=n.get("show");if(i){var r=n.get("size"),o=n.get("icon"),a=n.get("offsetCenter"),s=n.get("keepAspect"),l=(0,f.createSymbol)(o,t.cx-r/2+(0,d.parsePercent)(a[0],t.r),t.cy-r/2+(0,d.parsePercent)(a[1],t.r),r,r,null,s);l.z2=n.get("showAbove")?1:0,l.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(l)}},t.prototype._renderTitleAndDetail=function(e,t,n,i,r){var o=this,a=e.getData(),l=a.mapDimension("value"),u=+e.get("min"),h=+e.get("max"),f=new s.Group,p=[],g=[],m=e.isAnimationEnabled(),v=e.get(["pointer","showAbove"]);a.diff(this._data).add((function(e){p[e]=new s.Text({silent:!0}),g[e]=new s.Text({silent:!0})})).update((function(e,t){p[e]=o._titleEls[t],g[e]=o._detailEls[t]})).execute(),a.each((function(t){var n=a.getItemModel(t),o=a.get(l,t),b=new s.Group,_=i((0,d.linearMap)(o,[u,h],[0,1],!0)),x=n.getModel("title");if(x.get("show")){var w=x.get("offsetCenter"),S=r.cx+(0,d.parsePercent)(w[0],r.r),k=r.cy+(0,d.parsePercent)(w[1],r.r),C=p[t];C.attr({z2:v?0:2,style:(0,c.createTextStyle)(x,{x:S,y:k,text:a.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:_})}),b.add(C)}var T=n.getModel("detail");if(T.get("show")){var M=T.get("offsetCenter"),O=r.cx+(0,d.parsePercent)(M[0],r.r),A=r.cy+(0,d.parsePercent)(M[1],r.r),I=(0,d.parsePercent)(T.get("width"),r.r),P=(0,d.parsePercent)(T.get("height"),r.r),E=e.get(["progress","show"])?a.getItemVisual(t,"style").fill:_,D=(C=g[t],T.get("formatter"));C.attr({z2:v?0:2,style:(0,c.createTextStyle)(T,{x:O,y:A,text:y(o,D),width:isNaN(I)?null:I,height:isNaN(P)?null:P,align:"center",verticalAlign:"middle"},{inheritColor:E})}),(0,c.setLabelValueAnimation)(C,{normal:T},o,(function(e){return y(e,D)})),m&&(0,c.animateLabelValue)(C,t,a,e,{getFormattedLabel:function(e,t,n,i,r,a){return y(a?a.interpolatedValue:o,D)}}),b.add(C)}f.add(b)})),this.group.add(f),this._titleEls=p,this._detailEls=g},t.type="gauge",t}(u.default),x=_;t.default=x},"1b84":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.enableDataStack=o,t.isDimensionStacked=s,t.getStackedDimension=l;var i=n("2463"),r=n("2c45");function o(e,t,n){n=n||{};var r,o,s,l=n.byIndex,c=n.stackedCoordDimension;a(t)?r=t:(o=t.schema,r=o.dimensions,s=t.store);var u,d,h,f,p=!(!e||!e.get("stack"));if((0,i.each)(r,(function(e,t){(0,i.isString)(e)&&(r[t]=e={name:e}),p&&!e.isExtraCoord&&(l||u||!e.ordinalMeta||(u=e),d||"ordinal"===e.type||"time"===e.type||c&&c!==e.coordDim||(d=e))})),!d||l||u||(l=!0),d){h="__\0ecstackresult_"+e.id,f="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var g=d.coordDim,m=d.type,v=0;(0,i.each)(r,(function(e){e.coordDim===g&&v++}));var b={name:h,coordDim:g,coordDimIndex:v,type:m,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length},y={name:f,coordDim:f,coordDimIndex:v+1,type:m,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length+1};o?(s&&(b.storeDimIndex=s.ensureCalculationDimension(f,m),y.storeDimIndex=s.ensureCalculationDimension(h,m)),o.appendCalculationDimension(b),o.appendCalculationDimension(y)):(r.push(b),r.push(y))}return{stackedDimension:d&&d.name,stackedByDimension:u&&u.name,isStackedByIndex:l,stackedOverDimension:f,stackResultDimension:h}}function a(e){return!(0,r.isSeriesDataSchema)(e.schema)}function s(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function l(e,t){return s(e,t)?e.getCalculationInfo("stackResultDimension"):t}},"1be4":function(e,t,n){var i=n("d066");e.exports=i("document","documentElement")},"1be9":function(e,t,n){"use strict";t.__esModule=!0;n("9500");t.default={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},"1bf6":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("9ab4"),o=i(n("94e0")),a=i(n("fd23")),s=i(n("0f55")),l=n("9ed2"),c=n("bf15"),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return(0,r.__extends)(t,e),t.prototype.getInitialData=function(e){var t={name:e.name,children:e.data},n=e.leaves||{},i=new s.default(n,this,this.ecModel),r=a.default.createTree(t,this,o);function o(e){e.wrapMethod("getItemModel",(function(e,t){var n=r.getNodeByDataIndex(t);return n&&n.children.length&&n.isExpand||(e.parentModel=i),e}))}var l=0;r.eachNode("preorder",(function(e){e.depth>l&&(l=e.depth)}));var c=e.expandAndCollapse,u=c&&e.initialTreeDepth>=0?e.initialTreeDepth:l;return r.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=u})),r.data},t.prototype.getOrient=function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,t,n){var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(e),a=o.getValue(),s=o.name;while(o&&o!==r)s=o.parentNode.name+"."+s,o=o.parentNode;return(0,l.createTooltipMarkup)("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=(0,c.wrapTreePathInfo)(i,this),n.collapsed=!i.isExpand,n},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(o.default),d=u;t.default=d},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c31":function(e,t,n){n("a4d3"),n("e01a"),n("d28b"),n("944a"),n("99af"),n("4de4"),n("7db0"),n("c740"),n("4160"),n("a630"),n("caad"),n("c975"),n("d81d"),n("13d5"),n("26e9"),n("fb6a"),n("45fc"),n("4e82"),n("a434"),n("c19f"),n("ace4"),n("0c47"),n("23dc"),n("a9e3"),n("e439"),n("dbb4"),n("3410"),n("b64b"),n("131a"),n("d3b7"),n("07ac"),n("acd8"),n("e25e"),n("4ae1"),n("5d41"),n("4d63"),n("ac1f"),n("25f0"),n("2532"),n("3ca3"),n("466d"),n("5319"),n("841c"),n("1276"),n("2ca0"),n("498a"),n("5cc6"),n("8a59"),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"),n("159b"),n("ddb0"),n("2b3d"),function(t,i){e.exports=i(n("a7a7"),n("e143"))}("undefined"!==typeof self&&self,(function(e,t){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fae3")}({"0001":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"loadFontFace",(function(){return o}));var i=n("a118"),r=n("db70");function o(t,n){var i=Object(r["a"])();if(!i)return{errMsg:"loadFontFace:fail not font page"};e.publishHandler("loadFontFace",{options:t,callbackId:n},i)}e.subscribe("onLoadFontFaceCallback",(function(e){var t=e.callbackId,n=e.data;Object(i["a"])(t,n)}))}.call(this,n("0dd1"))},"00b2":function(e,t,n){},"0138":function(e,t,n){"use strict";n.r(t),function(e){var i=n("052f"),r=n("3d1f"),o=n("98be"),a=n("abbf"),s=n("a6b0");n.d(t,"getApp",(function(){return a["b"]})),n.d(t,"getCurrentPages",(function(){return a["c"]})),Object(s["e"])(),Object(i["a"])(e.on,{getApp:a["b"],getCurrentPages:a["c"]}),Object(r["a"])(e.subscribe,{getApp:a["b"],getCurrentPages:a["c"]}),t["default"]=o["a"]}.call(this,n("0dd1"))},"01d0":function(e,t,n){},"02b5":function(e,t,n){"use strict";var i=n("8e72"),r=n.n(i);r.a},"02c9":function(e,t,n){"use strict";function i(e){if(0===e.indexOf("#")){var t=e.substr(1);return function(e){return!(!e.componentInstance||e.componentInstance.id!==t)||!(!e.data||!e.data.attrs||e.data.attrs.id!==t)}}if(0===e.indexOf(".")){var n=e.substr(1);return function(e){return e.data&&o(n,e.data.staticClass,e.data.class)}}}n.d(t,"a",(function(){return l}));var r=/\s+/;function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t?-1!==t.split(r).indexOf(e):n&&"string"===typeof n?-1!==n.split(r).indexOf(e):void 0}function a(e,t){if(t(e.$vnode||e._vnode))return e;for(var n=e.$children,i=0;i0&&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=c.push(n),e.publishHandler("requestComponentObserver",{reqId:this.reqId,component:this.component,options:this.options},Object(r["a"])(this.component)?this.component:this.pageId))}},{key:"disconnect",value:function(){e.publishHandler("destroyComponentObserver",{reqId:this.reqId},Object(r["a"])(this.component)?this.component:this.pageId)}}]),t}();function h(e,t){return e._isVue||(t=e,e=null),new d(e||Object(o["b"])("createIntersectionObserver"),t)}}.call(this,n("0dd1"))},"0998":function(e,t,n){"use strict";var i=n("927d"),r=n.n(i);r.a},"09e5":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"requestComponentInfo",(function(){return a}));var i=n("62b5"),r=n("1634"),o=Object(i["a"])("requestComponentInfo");function a(t,n,i){e.publishHandler("requestComponentInfo",{reqId:o.push(i),reqs:n},Object(r["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 o}));var i=["all","image","video"],r=["album","camera"],o={count:{type:Number,required:!1,default:100,validator:function(e,t){e<=0&&(t.count=100)}},sourceType:{type:Array,required:!1,default:r,validator:function(e,t){e=e.filter((function(e){return r.includes(e)})),t.sourceType=e.length?e:r}},type:{type:String,required:!1,default:"all",validator:function(e,t){i.includes(e)||(t.type=i[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 c})),n.d(t,"once",(function(){return u})),n.d(t,"emit",(function(){return d})),n.d(t,"subscribe",(function(){return h})),n.d(t,"unsubscribe",(function(){return f})),n.d(t,"subscribeHandler",(function(){return p}));var i=n("8bbf"),r=n.n(i),o=n("27a7");n.d(t,"invokeCallbackHandler",(function(){return o["a"]})),n.d(t,"removeCallbackHandler",(function(){return o["b"]}));var a=n("b865");n.d(t,"publishHandler",(function(){return a["b"]}));var s=new r.a,l=s.$on.bind(s),c=s.$off.bind(s),u=s.$once.bind(s),d=s.$emit.bind(s);function h(e,t){return l("view."+e,t)}function f(e,t){return c("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 o})),n.d(t,"hideTopWindow",(function(){return a})),n.d(t,"showLeftWindow",(function(){return s})),n.d(t,"hideLeftWindow",(function(){return l})),n.d(t,"showRightWindow",(function(){return c})),n.d(t,"hideRightWindow",(function(){return u})),n.d(t,"getTopWindowStyle",(function(){return h})),n.d(t,"getLeftWindowStyle",(function(){return f})),n.d(t,"getRightWindowStyle",(function(){return p})),n.d(t,"setTopWindowStyle",(function(){return m})),n.d(t,"setLeftWindowStyle",(function(){return v})),n.d(t,"setRightWindowStyle",(function(){return b}));var i=n("f2b3");function r(e,t){var n=t?"show":"hide"+Object(i["c"])(e)+"Window",r=getApp();if(r){var o=r.$children[0].$refs.layout.showWindow(e,t);return o?{errMsg:"".concat(n,":fail ").concat(o)}:{}}return{errMsg:"".concat(n,":fail app not ready")}}function o(){return r("top",!0)}function a(){return r("top",!1)}function s(){return r("left",!0)}function l(){return r("left",!1)}function c(){return r("right",!0)}function u(){return r("right",!1)}function d(e){var t="get"+Object(i["c"])(e)+"WindowStyle",n=getApp();if(!n)return{errMsg:"".concat(t,":fail app not ready")};var r=n.$children[0].$refs.layout.getWindowStyle(e);return"string"===typeof r&&-1!==r.indexOf("Window not found")?{errMsg:"".concat(t,":fail ").concat(r)}:r}function h(e){return d("top")}function f(e){return d("left")}function p(e){return d("right")}function g(e,t){var n="set"+Object(i["c"])(e)+"WindowStyle",r=getApp();if(!r)return{errMsg:"".concat(n,":fail app not ready")};var o=r.$children[0].$refs.layout.setWindowStyle(e,t);return o?{errMsg:"".concat(n,":fail ").concat(o)}:{}}function m(e){return g("top",e)}function v(e){return g("left",e)}function b(e){return g("right",e)}},"0f55":function(e,t,n){"use strict";var i=n("2190"),r=n.n(i);r.a},"0f74":function(e,t,n){"use strict";function i(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 i(e,t.substr(2));for(var r=t.split("/"),o=r.length,a=0;a0?e.split("/"):[];return s.splice(s.length-a-1,a+1),"/"+s.concat(r).join("/")}n.d(t,"a",(function(){return i}))},1082:function(e,t,n){"use strict";n.r(t);var i=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}),e.contentPath?n("img",{attrs:{src:e.contentPath,draggable:e.draggable}}):e._e(),"widthFix"===e.mode||"heightFix"===e.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:function(t){return e._fixSize()}}}):e._e()],1)},r=[];function o(e){return o="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},o(e)}function a(e){return("undefined"===typeof navigator||o(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:!0}},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()}},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=a(t/this.ratio)+"px")}else if("heightFix"===this.mode){var n=e.offsetHeight;n&&(e.style.width=a(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(i){e._img=null,e.originalWidth=n.width,e.originalHeight=n.height,e._fixSize(),e.contentPath=t,e.$trigger("load",i,{width:n.width,height:n.height})},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,c=(n("db18"),n("2877")),u=Object(c["a"])(l,i,r,!1,null,null,null);t["default"]=u.exports},"10a3":function(e,t,n){"use strict";n.r(t);var i=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}})])},r=[],o=n("8af1");function a(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}();c(u,"IC",0),c(u,"IS",0),Object.assign(u.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(){a(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:u.IC,is:u.IS})},beforeDestroy:function(){this._clearCheckTimer(),this.$refs.container.innerHTML=""},methods:{_onhandle:function(e){this._report(41)},_reset:function(){this._p={},this._pl=[],this._pi=0,this._clearCheckTimer(),this.$refs.container.innerHTML=""},_loadData:function(e){var t=this;this._reset();var n=e||(this._isWidescreen?this.adpidWidescreen:this.adpid);u.instance.get(n,(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=t.a1;this._b[n].provider=n,h.instance.load(this._b[n],(function(){e._renderAdView(e._b[n],t)}),(function(t){e.$trigger("error",{},t)}))}},_renderAdView:function(e,t){var n=this._randomId(),i=document.createElement("div");i.setAttribute("class",n),this.$refs.container.innerHTML="",this.$refs.container.append(i);var r=window;e.s.split(".").reduce((function(e,t){return r=e,e[t]}),window).bind(r)(t.a2,n,2),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),e},_startCheckTimer:function(){var e=this;this._clearCheckTimer(),this._checkTimer=setInterval((function(){if(e._checkTimerCount++,e._checkTimerCount>=p)return e._clearCheckTimer(),void e._renderNext();e._checkRender()&&e._clearCheckTimer()}),f)},_clearCheckTimer:function(){this._checkTimerCount=0,null!=this._checkTimer&&(window.clearInterval(this._checkTimer),this._checkTimer=null)},_report:function(e){d.instance.get({h:__uniConfig.compilerVersion,a:this.adpid,at:e})},_randomId:function(){for(var e="",t=0;t<4;t++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return"_u"+e}}},v=m,b=(n("e4bc"),n("2877")),y=Object(b["a"])(v,i,r,!1,null,null,null);t["default"]=y.exports},1164:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return l}));var i=n("a6b0"),r=n("23e5"),o=!1;function a(){return o}function s(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=[],r=a();if(!r)return n&&e.error("app is not ready"),[];var o=r.$children[0];if(o&&o.$children.length){var s=o.$children.find((function(e){return"TabBar"===e.$options.name})),l=o.$children.find((function(e){return"Layout"===e.$options.name}));l&&(o=l),o.$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})),o=n&&n.$children.find((function(e){return!!e.$page}));if(o){var a=!0;!t&&s&&o.$page&&o.$page.meta.isTabBar&&(r.$route.meta&&r.$route.meta.isTabBar?r.$route.path!==o.$page.path&&(a=!1):s.__path__!==o.$page.path&&(a=!1)),a&&i.push(o)}}}))}var c=i.length;if(c>1){var u=i[c-1];u.$page.path!==r.$route.path&&i.splice(c-1,1)}return i}function l(e,t,n){o=t,o.$vm=t,o.globalData=o.$options.globalData||{},Object(i["d"])(e,o),Object(r["a"])(o,n)}}).call(this,n("3ad9")["default"])},"11fb":function(e,t,n){"use strict";n.r(t),n.d(t,"previewImage",(function(){return r}));var i=n("cb0f"),r={urls:{type:Array,required:!0,validator:function(e,t){var n;if(t.urls=e.map((function(e){if("string"===typeof e)return Object(i["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"])},"15bb":function(e,t,n){"use strict";(function(e){var i=n("f2b3");t["a"]={mounted:function(){var t=this;if("transparent"===this.type){for(var n=this.$el.querySelector(".uni-page-head-transparent").style,i=this.$el.querySelector(".uni-page-head__title"),r=this.$el.querySelectorAll(".uni-btn-icon"),o=[],a=this.textColor,s=0;s.5&&t._A<=.5?o.forEach((function(e){e.color=a})):s<=.5&&t._A>.5&&o.forEach((function(e){e.color="#fff"})),t._A=s,i&&(i.style.opacity=s),n.backgroundColor="rgba(".concat(t._R,",").concat(t._G,",").concat(t._B,",").concat(s,")"),u.forEach((function(e,t){var n=c[t],i=n.match(/[\d+\.]+/g);i[3]=(1-s)*(4===i.length?i[3]:1),e.backgroundColor="rgba(".concat(i,")")})))}))}else if("float"===this.type){for(var f=this.$el.querySelectorAll(".uni-btn-icon"),p=[],g=0;g\s]+))?)*)\s*(\/?)>/,r=/^<\/([-A-Za-z0-9_]+)[^>]*>/,o=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,a=f("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=f("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=f("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"),c=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),u=f("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),d=f("script,style");function h(e,t){var n,h,f,p=[],g=e;p.last=function(){return this[this.length-1]};while(e){if(h=!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),""})),b("",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),h=!1)):0==e.indexOf("=0;i--)if(p[i]==n)break}else var i=0;if(i>=0){for(var r=p.length-1;r>=i;r--)t.end&&t.end(p[r]);p.length=i}}b()}function f(e){for(var t={},n=e.split(","),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},o={title:{type:String,required:!0}}},1955:function(e,t,n){"use strict";n.r(t);var i=n("ba15"),r=n("8aec"),o=n("5363"),a=n("72b3"),s=n("d4cd");function l(e){var t=20,n=0,i=0;e.addEventListener("touchstart",(function(e){var t=e.changedTouches[0];n=t.clientX,i=t.clientY})),e.addEventListener("touchend",(function(e){var r=e.changedTouches[0];if(Math.abs(r.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);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(),i=t-n.top-this.height/2,r=this.indicatorHeight/2;if(!(Math.abs(i)<=r)){var o=Math.ceil((Math.abs(i)-r)/this.indicatorHeight),a=i<0?-o:o,s=Math.min(this.current+a,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 o["a"](1e-4),spring:new a["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])])])}},h=d,f=(n("edfa"),n("2877")),p=Object(f["a"])(h,c,u,!1,null,null,null);t["default"]=p.exports},"19c4":function(e,t,n){var i={"./base/base64.js":"6481","./base/can-i-use.js":"957a","./base/event-bus.js":"b0ef","./base/interceptor.js":"a954","./base/upx2px.js":"2289","./context/canvas.js":"82b9","./context/context.js":"3bfb","./device/make-phone-call.js":"f102","./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 r(e){var t=o(e);return n(t)}function o(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id="19c4"},"19d9":function(e,t,n){"use strict";n.r(t),n.d(t,"getLocation",(function(){return r}));var i={WGS84:"WGS84",GCJ02:"GCJ02"},r={type:{type:String,validator:function(e,t){e=(e||"").toUpperCase(),t.type=Object.values(i).indexOf(e)<0?i.WGS84:e},default:i.WGS84},altitude:{type:Boolean,default:!1}}},"1a12":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"request",(function(){return u}));var i=n("f2b3");function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.url,o=t.delta,a=t.events,l=t.exists,c=t.animationType,u=t.animationDuration,d=t.from,h=void 0===d?"navigateBack":d,f=t.detail,p=getApp().$router;switch(delete p.$eventChannel,e){case"redirectTo":if("back"===l){var g=Object(i["a"])(n);if(-1!==g){var m=getCurrentPages().length-1-g;if(m>0)return s("navigateBack",{delta:m})}}p.replace({type:e,path:n});break;case"navigateTo":return p.$eventChannel=Object(r["a"])(a),p.push({type:e,path:n,animationType:c,animationDuration:u}),{errMsg:e+":ok",eventChannel:p.$eventChannel};case"navigateBack":var v=!0,b=getCurrentPages();if(b.length){var y=b[b.length-1];Object(i["c"])(y.$options,"onBackPress")&&!0===y.__call_hook("onBackPress",{from:h})&&(v=!1)}v&&(o>1&&(p._$delta=o),p.go(-o,{animationType:c,animationDuration:u}));break;case"reLaunch":p.replace({type:e,path:n});break;case"switchTab":p.replace({type:e,path:n,params:{detail:f}});break}return{errMsg:e+":ok"}}function l(e){return s("redirectTo",e)}function c(e){return s("navigateTo",e)}function u(e){return s("navigateBack",e)}function d(e){return s("reLaunch",e)}function h(e){return s("switchTab",e)}function f(e,t){var n=e.url,i=n.split("?")[0].replace(/\//g,"-");__uniConfig.__webpack_chunk_load__(i.substr(1)).then((function(){a(t,{url:n,errMsg:"preloadPage:ok"})})).catch((function(e){a(t,{url:n,errMsg:"preloadPage:fail "+e})}))}}.call(this,n("0dd1"))},"1b6f":function(e,t,n){"use strict";(function(e){var i=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,r){r&&!n||Object(i["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 i=n("60ee"),r=n.n(i);r.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 i={},r={};function o(e){for(var t=[],n=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"],i=0,r=n;i=0&&t.push("(".concat(a(o),": ").concat(Number(e[o]),"px)")),"orientation"===o&&e[o]&&t.push("(".concat(a(o),": ").concat(e[o],")"))}return t=t.join(" and "),t}function a(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function s(t){var n=t.reqId,a=t.options,s=i[n]=window.matchMedia(o(a)),l=r[n]=function(t){e.publishHandler("onRequestMediaQueryObserver",{reqId:n,res:t.matches})};l(s),s.addListener(l)}function l(t){var n=t.reqId,o=r[n],a=i[n];a&&(a.removeListener(o),delete i[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 r})),n.d(t,"arrayBufferToBase64",(function(){return o}));var i=n("8390");function r(e){return Object(i["decode"])(e)}function o(e){return Object(i["encode"])(e)}},"1e4d":function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n=0&&(a.length=1),u.push("".concat(o,"(").concat(a.join(","),")"));else if(i.concat(r).includes(a[0])){o=a[0];var s=a[1];c[o]=r.includes(o)?p(s):s}})),c.transform=c.webkitTransform=u.join(" "),c.transition=c.webkitTransition=Object.keys(c).map((function(e){return"".concat(g(e)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")})).join(","),c.transformOrigin=c.webkitTransformOrigin=a.transformOrigin,c}function v(e){var t=e.animation;if(t&&t.actions&&t.actions.length){var n=0,i=t.actions,r=t.actions.length;setTimeout((function(){o()}),0)}function o(){var t=i[n],a=t.option.transition,s=m(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}(),c=Object.create(null);function u(e,t){var n=Object(r["c"])("createUploadTask",e),i=n.uploadTaskId,o=new l(i,t);return c[i]=o,o}Object(r["d"])("onUploadTaskStateChange",(function(e){var t=e.uploadTaskId,n=e.state,r=e.data,o=e.statusCode,a=e.progress,s=e.totalBytesSent,l=e.totalBytesExpectedToSend,u=e.errMsg,d=c[t],h=d._callbackId;switch(n){case"progressUpdate":d._callbacks.forEach((function(e){e({progress:a,totalBytesSent:s,totalBytesExpectedToSend:l})}));break;case"success":Object(i["a"])(h,{data:r,statusCode:o,errMsg:"request:ok"});case"fail":Object(i["a"])(h,{errMsg:"request:fail "+u});default:setTimeout((function(){delete c[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.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":"发送"}')},2246:function(e,t,n){"use strict";n.r(t),n.d(t,"showModal",(function(){return o})),n.d(t,"showToast",(function(){return a})),n.d(t,"showLoading",(function(){return s})),n.d(t,"showActionSheet",(function(){return l}));var i=n("a6b0"),r=n("cb0f"),o={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:function(){return Object(i["h"])("uni.showModal.cancel")}},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:function(){return Object(i["h"])("uni.showModal.confirm")}},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!0}},a={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(r["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 i}));var i=[{name:"upx",type:[Number,String],required:!0}]},"232e":function(e,t,n){"use strict";n.r(t),n.d(t,"pageScrollTo",(function(){return i}));var i={scrollTop:{type:Number,required:!0},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 i=n("a741");function r(e){-1===this.keepAliveInclude.indexOf(e)&&this.keepAliveInclude.push(e)}var o=[];function a(e){if("number"===typeof e)o=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 c(e){s[e]={x:window.pageXOffset,y:window.pageYOffset}}function u(e,t,n){t&&n&&t.meta.isTabBar&&n.meta.isTabBar&&c(n.params.__id__);for(var r=getCurrentPages(),o=r.length-1;o>=0;o--){var s=r[o],l=s.$page.meta;l.isTabBar||(a.call(this,l.name+"-"+s.$page.id),Object(i["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(i["b"])(t[n],"onUnload"),t[n].$destroy();this.keepAliveInclude=[],s=Object.create(null)}var h=[];function f(e,t,n,i){h=getCurrentPages(!0);var o=t.params.__id__,s=e.params.__id__,l=e.meta.name+"-"+s;if(s===o&&"reLaunch"!==e.type)e.fullPath!==t.fullPath?(r.call(this,l),n()):n(!1);else if(e.meta.id&&e.meta.id!==s)n({path:e.path,replace:!0});else{var c=t.meta.name+"-"+o;switch(e.type){case"navigateTo":break;case"redirectTo":a.call(this,c),t.meta&&t.meta.isQuit&&(e.meta.isQuit=!0,e.meta.isEntry=!!t.meta.isEntry);break;case"switchTab":u.call(this,i,e,t);break;case"reLaunch":d.call(this,l),e.meta.isQuit=!0;break;default:o&&o>s&&(a.call(this,c),this.$router._$delta>1&&a.call(this,this.$router._$delta));break}if("reLaunch"!==e.type&&"redirectTo"!==e.type&&t.meta.id&&r.call(this,c),r.call(this,l),e.meta&&e.meta.name){document.body.className="uni-body "+e.meta.name;var f="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.meta.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(f,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(f))}n()}}function p(t,n){var r=n.params.__id__,a=t.params.__id__,s=h.find((function(e){return e.$page.id===r}));function l(e){if(e){Object(i["b"])(e,"onUnload");var t=h.indexOf(e);t>=0&&h.splice(t,1)}}switch(t.type){case"navigateTo":s&&Object(i["b"])(s,"onHide");break;case"redirectTo":l(s);break;case"switchTab":n.meta.isTabBar&&s&&Object(i["b"])(s,"onHide");break;case"reLaunch":break;default:r&&r>a&&(l(s),this.$router._$delta>1&&o.reverse().forEach((function(e){var t=h.find((function(t){return t.$page.id===e}));l(t)})));break}if(delete this.$router._$delta,o.length=0,"reLaunch"!==t.type){var c=getCurrentPages(!0).find((function(e){return e.$page.id===a}));c&&(setTimeout((function(){e.emit("onNavigationBarChange",c.$parent.$parent.navigationBar),Object(i["b"])(c,"onShow")}),0),document.title=c.$parent.$parent.navigationBar.titleText)}}function g(e,t){e.$router.beforeEach((function(n,i,r){f.call(e,n,i,r,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 o})),n.d(t,"a",(function(){return a}));var i=n("f2b3");function r(e){return r="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},r(e)}function o(e){return e.mp=Object.assign({"@warning":"mp is deprecated"},e),e._processed=!0,e}function a(e,t){return Object(i["l"])(t)&&(Object(i["i"])(t,"backgroundColor")&&(e.backgroundColor=t.backgroundColor),Object(i["i"])(t,"buttons")&&(e.buttons=t.buttons),Object(i["i"])(t,"titleColor")&&(e.textColor=t.titleColor),Object(i["i"])(t,"titleText")&&(e.titleText=t.titleText),Object(i["i"])(t,"titleSize")&&(e.titleSize=t.titleSize),Object(i["i"])(t,"type")&&(e.type=t.type),Object(i["i"])(t,"searchInput")&&"object"===r(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 i=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)},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)},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,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=null,a=e._i(n,o);i.checked?a<0&&(e.valueSync=n.concat([o])):a>-1&&(e.valueSync=n.slice(0,a).concat(n.slice(a+1)))}else e.valueSync=r},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)},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()])])},r=[],o=n("8af1"),a=n("f2b3"),s=["text","number","idcard","digit","password","tel"],l=["number","digit"],c=["off","one-time-code"],u={name:"Input",mixins:[o["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:""}},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)?"0.000000000000000001":""},autocomplete:function(){var e=c.indexOf(this.textContentType),t=c.indexOf(Object(a["n"])(this.textContentType)),n=-1!==e?e:-1!==t?t:0;return c[n]}},watch:{maxlength:function(e){var t=this.valueSync.slice(0,parseInt(e,10));t!==this.valueSync&&(this.valueSync=t)}},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){this.$trigger("confirm",e,{value:e.target.value})},_onInput:function(e,t){var n=this,i=!1;if(!this.composing){if("number"===this.inputType){var r=parseInt(this.maxlength,10);if(r>0&&e.target.value.length>r&&(this.cachedValue.length===r?(this.valueSync=this.cachedValue,i=!0):(e.target.value=e.target.value.slice(0,r),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 o=this.__clearCachedValue=function(){n.cachedValue=""};return void e.target.addEventListener("blur",o)}return void(this.cachedValue=this.valueSync=e.target.value="-"===this.cachedValue?"":this.cachedValue)}this.cachedValue=this.valueSync}i||this.$triggerInput(e,{value:this.valueSync},t)}},_onComposition:function(e){"compositionstart"===e.type?this.composing=!0:this.composing&&(this.composing=!1,this._onInput(e))},_resetFormData:function(){this.valueSync=""},_getFormData:function(){return this.name?{value:this.valueSync,key:this.name}:{}}}},d=u,h=(n("0f55"),n("2877")),f=Object(h["a"])(d,i,r,!1,null,null,null);t["default"]=f.exports},"25ce":function(e,t,n){"use strict";n.r(t);var i=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)},r=[],o=n("8af1"),a={name:"CheckboxGroup",mixins:[o["a"],o["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=a,l=(n("0998"),n("2877")),c=Object(l["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},2604:function(e,t,n){"use strict";n.r(t),n.d(t,"openDocument",(function(){return i}));var i={filePath:{type:String,required:!0},fileType:{type:String}}},2608:function(e,t,n){"use strict";(function(e){function i(t){return function(){try{return t.apply(t,arguments)}catch(n){e.error(n)}}}function r(t){return function(){try{return t.apply(t,arguments)}catch(n){e.error(n)}}}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}))}).call(this,n("3ad9")["default"])},2765:function(e,t,n){"use strict";var i=n("3590"),r=n.n(i);r.a},"27a7":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return y})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return w}));var i=n("f2b3"),r=n("2608"),o=n("ed1a"),a=n("cc76"),s=n("de29");function l(e,t,n){var i="".concat(t,":fail ").concat(e);if(-1===n)throw new Error(i);return"number"===typeof n&&b(n,{errMsg:i}),!1}var c=[{name:"callback",type:Function,required:!0}],u=["beforeValidate","beforeAll","beforeSuccess"];function d(e,t,n){var r=a["a"][e];if(!r&&Object(o["a"])(e)&&(r=c),r){if(Array.isArray(r)&&Array.isArray(t)){var d=Object.create(null),h=Object.create(null),f=t.length;r.forEach((function(e,n){d[e.name]=e,f>n&&(h[e.name]=t[n])})),r=d,t=h}if(Object(i["k"])(r.beforeValidate)){var p=r.beforeValidate(t);if(p)return l(p,e,n)}for(var g=Object.keys(r),m=0;m1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(i["l"])(t))return{params:t};t=Object.assign({},t);var o={};for(var a in t){var s=t[a];Object(i["k"])(s)&&(o[a]=Object(r["a"])(s),delete t[a])}var l=o.success,c=o.fail,u=o.cancel,d=o.complete,p=Object(i["k"])(l),g=Object(i["k"])(c),m=Object(i["k"])(u),v=Object(i["k"])(d);if(!p&&!g&&!m&&!v)return{params:t};var b={};for(var y in n){var _=n[y];Object(i["k"])(_)&&(b[y]=Object(r["b"])(_))}var x=b.beforeSuccess,w=b.afterSuccess,S=b.beforeFail,k=b.afterFail,C=b.beforeCancel,T=b.afterCancel,M=b.beforeAll,O=b.afterAll,A=h++,I="api."+e+"."+A,P=function(t){if(t.errMsg=t.errMsg||e+":ok",-1!==t.errMsg.indexOf(":ok"))t.errMsg=e+":ok";else if(-1!==t.errMsg.indexOf(":cancel"))t.errMsg=e+":cancel";else if(-1!==t.errMsg.indexOf(":fail")){var n="",r=t.errMsg.indexOf(" ");r>-1&&(n=t.errMsg.substr(r)),t.errMsg=e+":fail"+n}Object(i["k"])(M)&&M(t);var o=t.errMsg;0===o.indexOf(e+":ok")?(Object(i["k"])(x)&&x(t),p&&l(t),Object(i["k"])(w)&&w(t)):0===o.indexOf(e+":cancel")?(t.errMsg=t.errMsg.replace(e+":cancel",e+":fail cancel"),g&&c(t),Object(i["k"])(C)&&C(t),m&&u(t),Object(i["k"])(T)&&T(t)):0===o.indexOf(e+":fail")&&(Object(i["k"])(S)&&S(t),g&&c(t),Object(i["k"])(k)&&k(t)),v&&d(t),Object(i["k"])(O)&&O(t)};return f[A]={name:I,callback:P},{params:t,callbackId:A}}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=m(e,t,n),o=r.params,a=r.callbackId;return Object(i["l"])(o)&&!d(e,o,a)?{params:o,callbackId:!1}:{params:o,callbackId:a}}function b(e,t,n){if("number"===typeof e){var i=f[e];if(i)return i.keepAlive||delete f[e],i.callback(t,n)}return t}function y(e){delete f[e]}function _(t){return function(n){e.error("API `"+t+"` is not yet implemented")}}function x(e,t){var n=a["a"][e];n&&(Object(i["k"])(n.beforeAll)&&(t.beforeAll=n.beforeAll),Object(i["k"])(n.beforeSuccess)&&(t.beforeSuccess=n.beforeSuccess))}function w(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(i["k"])(t)?(x(e,n),function(){for(var r=arguments.length,a=new Array(r),s=0;se.length)&&(t=e.length);for(var n=0,i=new Array(t);n1?t-1:0),i=1;i0;)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){},"2bbe":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.hoverClass&&"none"!==e.hoverClass?n("uni-view",e._g({class:[e.hovering?e.hoverClass:""],on:{touchstart:e._hoverTouchStart,touchend:e._hoverTouchEnd,touchcancel:e._hoverTouchCancel}},e.$listeners),[e._t("default")],2):n("uni-view",e._g({},e.$listeners),[e._t("default")],2)},r=[],o=n("83a6"),a={name:"View",mixins:[o["a"]],listeners:{"label-click":"clickHandler"}},s=a,l=(n("e865"),n("2877")),c=Object(l["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},"2bdd":function(e,t,n){"use strict";n.r(t),function(e){var i;n.d(t,"startAccelerometer",(function(){return o})),n.d(t,"stopAccelerometer",(function(){return a})),n.d(t,"onAccelerometerChange",(function(){return s})),n.d(t,"offAccelerometerChange",(function(){return l}));var r=[];function o(t,n){var o=e,a=o.invokeCallbackHandler;if(!window.DeviceMotionEvent)return{errMsg:"startAccelerometer:fail"};function s(){i=function(e){var t=e.acceleration||e.accelerationIncludingGravity;r.forEach((function(e){a(e,{x:t.x||0,y:t.y||0,z:t.z||0})}))},window.addEventListener("devicemotion",i,!1)}if(!i){if(DeviceMotionEvent.requestPermission)return void DeviceMotionEvent.requestPermission().then((function(e){"granted"===e?(s(),a(n,{errMsg:"startAccelerometer:ok"})):a(n,{errMsg:"startAccelerometer:fail ".concat(e)})})).catch((function(e){a(n,{errMsg:"startAccelerometer:fail ".concat(e)})}));s()}return{}}function a(){return i&&(window.removeEventListener("devicemotion",i,!1),i=null),{}}function s(e){r.length||o(),r.push(e)}function l(e){if(e){var t=r.indexOf(e);t>=0&&r.splice(t,1)}r.length||a()}}.call(this,n("0dd1"))},"2c45":function(e,t,n){},"2c67":function(e,t,n){"use strict";n.r(t),function(e){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n=0?p:255,[d,h,f,p]}return i.error("unsupported color:"+e),[0,0,0,255]}function S(e,t){this.type="pattern",this.data=e,this.colorStop=t}var k=function(){function e(t,n){m(this,e),this.type=t,this.data=n,this.colorStop=[]}return b(e,[{key:"addColorStop",value:function(e,t){this.colorStop.push([e,w(t)])}}]),e}(),C=["scale","rotate","translate","setTransform","transform"],T=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],M=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];function O(e,t){var n=document.createElement("canvas"),i=n.getContext("2d");return i.font=t,i.measureText(e).width||0}function A(e){this.width=e}var I=function(){function e(t,n){m(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 b(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,i=u(this.actions);this.actions=[],this.path=[],"function"===typeof n&&(e=y.push(n)),_(this.id,this.pageId,"actionsChanged",{actions:i,reserve:t,callbackId:e})}},{key:"createLinearGradient",value:function(e,t,n,i){return new k("linear",[e,t,n,i])}},{key:"createCircularGradient",value:function(e,t,n){return new k("radial",[e,t,n])}},{key:"createPattern",value:function(e,t){if(void 0===t)i.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);i.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 A(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=[]}},{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,i){this.path.push({method:"quadraticCurveTo",data:[e,t,n,i]}),this.subpath.push([n,i])}},{key:"bezierCurveTo",value:function(e,t,n,i,r,o){this.path.push({method:"bezierCurveTo",data:[e,t,n,i,r,o]}),this.subpath.push([r,o])}},{key:"arc",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.path.push({method:"arc",data:[e,t,n,i,r,o]}),this.subpath.push([e,t])}},{key:"rect",value:function(e,t,n,i){this.path.push({method:"rect",data:[e,t,n,i]}),this.subpath=[[e,t]]}},{key:"arcTo",value:function(e,t,n,i,r){this.path.push({method:"arcTo",data:[e,t,n,i,r]}),this.subpath.push([n,i])}},{key:"clip",value:function(){this.actions.push({method:"clip",data:u(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=u(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 r=n[1].trim().split(/\s/),o=parseFloat(n[3]),a=n[7],s=[];r.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===r.length&&l(),r=s.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=o,this.state.fontFamily=a,this.actions.push({method:"setFont",data:["".concat(r," ").concat(o,"px ").concat(a)]})}else i.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 i=Object(a["a"])();if(i)return new I(t,i);e.emit("onError","createCanvasContext:fail")}function E(e,t){var n=e.canvasId,i=e.x,r=e.y,o=e.width,l=e.height,c=Object(a["a"])();if(c){var u=y.push((function(e){var n=e.data;n&&n.length&&(e.data=new Uint8ClampedArray(n)),Object(s["a"])(t,e)}));_(n,c,"getImageData",{x:i,y:r,width:o,height:l,callbackId:u})}else Object(s["a"])(t,{errMsg:"canvasGetImageData:fail"})}function D(e,t){var n=e.canvasId,i=e.data,r=e.x,o=e.y,l=e.width,c=e.height,u=Object(a["a"])();if(u){var d,h=y.push((function(e){Object(s["a"])(t,e)}));i=Array.prototype.slice.call(i),_(n,u,"putImageData",{data:i,x:r,y:o,width:l,height:c,compressed:d,callbackId:h})}else Object(s["a"])(t,{errMsg:"canvasPutImageData:fail"})}function L(e,t){var n=e.x,i=void 0===n?0:n,r=e.y,o=void 0===r?0:r,c=e.width,u=e.height,d=e.destWidth,h=e.destHeight,f=e.canvasId,p=e.fileType,g=e.quality,m=Object(a["a"])();if(m){var v=y.push((function(e){Object(s["a"])(t,e)})),b="".concat(l["TEMP_PATH"],"/canvas");_(f,m,"toTempFilePath",{x:i,y:o,width:c,height:u,destWidth:d,destHeight:h,fileType:p,quality:g,dirname:b,callbackId:v})}else Object(s["a"])(t,{errMsg:"canvasToTempFilePath:fail"})}[].concat(C,T).forEach((function(e){function t(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:u(this.path)})};case"fillRect":return function(e,t,n,i){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,i]}]})};case"strokeRect":return function(e,t,n,i){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,i]}]})};case"fillText":case"strokeText":return function(t,n,i,r){var o=[t.toString(),n,i];"number"===typeof r&&o.push(r),this.actions.push({method:e,data:o})};case"drawImage":return function(t,n,i,r,o,a,s,l,c){var u;function d(e){return"number"===typeof e}void 0===c&&(a=n,s=i,l=r,c=o,n=void 0,i=void 0,r=void 0,o=void 0),u=d(n)&&d(i)&&d(r)&&d(o)?[t,a,s,l,c,n,i,r,o]:d(l)&&d(c)?[t,a,s,l,c]:[t,a,s],this.actions.push({method:e,data:u})};default:return function(){for(var t=arguments.length,n=new Array(t),i=0;i0&&e<1/0?e:0;var t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=Math.floor(e%3600%60);t=(t<10?"0":"")+t,n=(n<10?"0":"")+n,i=(i<10?"0":"")+i;var r=n+":"+i;return"00"!==t&&(r=t+":"+r),r}},mixins:[s["c"],o["g"],o["d"]],props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:function(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},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:c.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,i=this,r=this,o=!0,a=this.$refs.ball;function s(i){var a=i.targetTouches[0],s=a.pageX,l=a.pageY;if(o&&Math.abs(s-e)100&&(d=100),r.progress=d,i.preventDefault(),i.stopPropagation()}}function c(e){r.controlsTouching=!1,r.touching&&(a.removeEventListener("touchmove",s,l),o||(e.preventDefault(),e.stopPropagation(),r.seek(r.$refs.video.duration*r.progress/100)),r.touching=!1)}a.addEventListener("touchstart",(function(r){i.controlsTouching=!0;var c=r.targetTouches[0];e=c.pageX,t=c.pageY,n=i.progress,o=!0,i.touching=!0,a.addEventListener("touchmove",s,l)})),a.addEventListener("touchend",c),a.addEventListener("touchcancel",c)},beforeDestroy:function(){this.triggerFullscreen(!1),clearTimeout(this.otherData.hideTiming)},methods:{_handleSubscribe:function(e){var t,n=e.type,i=e.data,r=void 0===i?{}:i,o=["play","pause","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"];switch(n){case"seek":t=r.position;break;case"sendDanmu":t=r;break;case"playbackRate":t=r.rate;break}o.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,i=e.offsetX;while(n!==t)i+=n.offsetLeft,n=n.parentNode;var r=t.offsetWidth,o=0;i>=0&&i<=r&&(o=i/r,this.seek(this.$refs.video.duration*o))},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,i=this.$refs.video;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||this.isSafari&&!this.userInteract?i.webkitEnterFullScreen?i.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():i.webkitExitFullScreen?i.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,i=this.currentTime=t.currentTime,r=n.danmuIndex,o={time:i,index:r.index},a=n.danmuList;if(i>r.time)for(var s=r.index+1;s=(l.time||0)))break;o.index=s,this.playing&&this.enableDanmuSync&&this.playDanmu(l)}else if(i-1;c--){var u=a[c];if(!(i<=(u.time||0)))break;o.index=c-1}n.danmuIndex=o,this.$trigger("timeupdate",e,{currentTime:i,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=c.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!==c.STOP){var i=e.targetTouches[0],r=i.pageX,o=i.pageY,a=this.touchStartOrigin;if(n===c.PROGRESS?this.changeProgress(r-a.x):n===c.VOLUME&&this.changeVolume(o-a.y),n===c.NONE)if(Math.abs(r-a.x)>Math.abs(o-a.y)){if(!this.enableProgressGesture)return void(this.gestureType=c.STOP);this.gestureType=c.PROGRESS,this.currentTimeOld=this.currentTimeNew=this.$refs.video.currentTime,this.fullscreen||t()}else{if(!this.pageGesture)return void(this.gestureType=c.STOP);this.gestureType=c.VOLUME,this.volumeOld=this.$refs.video.volume,this.fullscreen||t()}}},touchend:function(e){this.gestureType!==c.NONE&&this.gestureType!==c.STOP&&(e.stopPropagation(),e.preventDefault()),this.gestureType===c.PROGRESS&&this.currentTimeOld!==this.currentTimeNew&&(this.$refs.video.currentTime=this.currentTimeNew),this.gestureType=c.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=u,h=(n("856e"),n("2877")),f=Object(h["a"])(d,i,r,!1,null,null,null);t["default"]=f.exports},"324c":function(e,t,n){},"332a":function(e,t,n){"use strict";n.r(t),n.d(t,"redirectTo",(function(){return c})),n.d(t,"reLaunch",(function(){return u})),n.d(t,"navigateTo",(function(){return d})),n.d(t,"switchTab",(function(){return h})),n.d(t,"navigateBack",(function(){return f})),n.d(t,"preloadPage",(function(){return p})),n.d(t,"unPreloadPage",(function(){return g}));var i,r=n("0f74");function o(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 i=[];return n.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";i.push(n+"="+encodeURIComponent(r))})),i.length?e+"?"+i.join("&"):e}function a(e){return function(t,n){t=Object(r["a"])(t);var a=t.split("?")[0],s=__uniRoutes.find((function(e){var t=e.path,n=e.alias;return t===a||n===a}));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=a),s.meta.isEntry&&(t=t.replace(s.alias,"/")),n.url=o(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(i===t&&"appLaunch"!==n.openType)return"".concat(i," locked");__uniConfig.ready&&!1!==__uniConfig.enableNavigatorLock&&(i=t)}else if(s.meta.isTabBar){var l=getCurrentPages(!0),c=(s.alias||s.path).substr(1);if(l.find((function(e){return e.route===c})))return"tabBar page `"+c+"` 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:a(e)},beforeAll:function(){i=""}},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 c=s("redirectTo"),u=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"])),h=s("switchTab"),f=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:a("preloadPage")}},g={url:{type:String,required:!0,validator:a("unPreloadPage")}}},"33b4":function(e,t,n){},"33ed":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return l}));var i,r=n("4a59");function o(e){e.preventDefault()}function a(e){var t=e.scrollTop,n=e.duration,i=document.documentElement,r=i.clientHeight,o=i.scrollHeight;function a(e){if(e<=0)window.scrollTo(0,t);else{var n=t-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/e*10),a(e-10)}))}}t=Math.min(t,o-r),0!==n?window.scrollY!==t&&a(n):i.scrollTop=document.body.scrollTop=t}var s=0;function l(t,n){var o=n.enablePageScroll,a=n.enablePageReachBottom,l=n.onReachBottomDistance,c=n.enableTransparentTitleNView,u=!1,d=!1,h=!0;function f(){var e=document.documentElement.scrollHeight,t=window.innerHeight,n=window.scrollY,i=n>0&&e>t&&n+t+l>=e,r=Math.abs(e-s)>l;return!i||d&&!r?(!i&&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;o&&Object(r["a"])("onPageScroll",{scrollTop:s},t),c&&e.emit("onPageScroll",{scrollTop:s}),a&&h&&(l()||(i=setTimeout(l,300))),u=!1}function l(){if(f())return Object(r["a"])("onReachBottom",{},t),h=!1,setTimeout((function(){h=!0}),350),!0}}return function(){clearTimeout(i),u||requestAnimationFrame(p),u=!0}}}).call(this,n("501c"))},"34b2":function(e,t,n){"use strict";n.r(t),function(e){function i(){return window.location.protocol+"//"+window.location.host}function r(t,n){var r=t.src,o=e,a=o.invokeCallbackHandler,s=new Image,l=r;s.onload=function(){a(n,{errMsg:"getImageInfo:ok",width:s.naturalWidth,height:s.naturalHeight,path:0===l.indexOf("/")?i()+l:l})},s.onerror=function(e){a(n,{errMsg:"getImageInfo:fail"})},s.src=r}n.d(t,"getImageInfo",(function(){return r}))}.call(this,n("0dd1"))},3563:function(e,t,n){"use strict";n.r(t);var i=n("f2b3"),r=n("bd97"),o="*";function a(){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,s=e.type,l=e.extension,c=document.createElement("input");return c.type="file",Object(i["u"])(c,{position:"absolute",visibility:"hidden","z-index":-999,width:0,height:0,top:0,left:0}),c.accept=l.map((function(e){if(s!==o){var t=e.replace(".","");return"".concat(s,"/").concat(r["default"][s][t]||t)}return a()?".":0===e.indexOf(".")?e:".".concat(e)})).join(","),t>1&&(c.multiple="multiple"),1===n.length&&"camera"===n[0]&&(c.capture="camera"),c}},3590:function(e,t,n){},3648:function(e,t,n){"use strict";n.r(t),n.d(t,"canIUse",(function(){return a}));var i=n("f2b3");function r(e){return window.CSS&&CSS.supports&&(CSS.supports(e)||CSS.supports.apply(CSS,e.split(":")))}var o={"css.var":r("--a:0"),"css.env":r("top:env(a)"),"css.constant":r("top:constant(a)")};function a(e){return!Object(i["i"])(o,e)||o[e]}},3676:function(e,t,n){"use strict";n.r(t),n.d(t,"getRecorderManager",(function(){return u}));var i=n("db70");function r(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.filePath,n=arguments.length>1?arguments[1]:void 0;Object(i["f"])(t).then((function(e){o(n,{errMsg:"getFileInfo:ok",size:e.size})})).catch((function(e){o(n,{errMsg:"getFileInfo:fail "+e.message})}))}}.call(this,n("0dd1"))},"3b67":function(e,t,n){"use strict";var i=Object.create(null),r=n("e3a7");r.keys().forEach((function(e){Object.assign(i,r(e))})),t["a"]=i},"3bfb":function(e,t,n){"use strict";n.r(t),n.d(t,"createAudioContext",(function(){return r})),n.d(t,"createVideoContext",(function(){return o})),n.d(t,"createMapContext",(function(){return a})),n.d(t,"createCanvasContext",(function(){return s}));var i=[{name:"id",type:String,required:!0}],r=i,o=i,a=i,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 o}));var i=n("62b5"),r=n("a741");function o(e,t){t.getApp;var n=t.getCurrentPages;function o(e){return function(t,i){i=parseInt(i);var o=n(),a=o.find((function(e){return e.$page.id===i}));a&&Object(r["b"])(a,e,t)}}var a=Object(i["a"])("requestComponentInfo");function s(e){var t=e.reqId,n=e.res,i=a.pop(t);i&&i(n)}var l=Object(i["a"])("requestComponentObserver");function c(e){var t=e.reqId,n=e.reqEnd,i=e.res,r=l.get(t);if(r){if(n)return void l.pop(t);r(i)}}var u=Object(i["a"])("requestMediaQueryObserver");function d(e){var t=e.reqId,n=e.reqEnd,i=e.res,r=u.get(t);if(r){if(n)return void u.pop(t);r(i)}}e("onPageReady",o("onReady")),e("onPageScroll",o("onPageScroll")),e("onReachBottom",o("onReachBottom")),e("onRequestComponentInfo",s),e("onRequestComponentObserver",c),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 c}));var i=e,r=i.invokeCallbackHandler,o=[];function a(){var e=c(),t=e.networkType;o.forEach((function(e){r(e,{errMsg:"onNetworkStatusChange:ok",isConnected:"none"!==t,networkType:t})}))}function s(e){var t=navigator.connection||navigator.webkitConnection;o.push(e),t?t.addEventListener("change",a):(window.addEventListener("offline",a),window.addEventListener("online",a))}function l(e){if(e){var t=o.indexOf(e);t>=0&&o.splice(t,1)}if(!o.length){var n=navigator.connection||navigator.webkitConnection;n?n.removeEventListener("change",a):(window.removeEventListener("offline",a),window.removeEventListener("online",a))}}function c(){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 i=n("bfbd"),r=n.n(i);r.a},"3e8c":function(e,t,n){"use strict";n.r(t);var i=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")])])},r=[],o=1e5,a={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=o,e.scrollTop=o;var t=this.$el.lastChild;t.scrollLeft=o,t.scrollTop=o},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight,this.reset()}}},s=a,l=(n("64d0"),n("2877")),c=Object(l["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},"3f15":function(e,t,n){"use strict";n.r(t),n.d(t,"getVideoInfo",(function(){return r}));var i=n("cb0f"),r={src:{type:String,required:!0,validator:function(e,t){t.src=Object(i["a"])(e)}}}},"3f7e":function(e,t,n){"use strict";var i=n("e692"),r=n.n(i);r.a},"439a":function(e,t,n){"use strict";n.r(t),n.d(t,"downloadFile",(function(){return i}));var i={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 i=n("5129"),r=n.n(i),o=n("85b6"),a=n("f2b3");function s(t){t.config.errorHandler=function(n,i,r){var s=Object(a["s"])(n);t.util.warn("Error in ".concat(r,': "').concat("Error"===s?n.toString():n,'"'),i);var l="function"===typeof getApp&&getApp();l&&Object(o["c"])(l.$options,"onError")?l.__call_hook("onError",n):e.error(n)};var n=t.config.isReservedTag;t.config.isReservedTag=function(e){return-1!==r.a.indexOf(e)||n(e)},t.config.ignoredElements=r.a;var i=t.config.getTagNamespace,s=["switch","image","text","view"];t.config.getTagNamespace=function(e){return!~s.indexOf(e)&&i(e)}}}).call(this,n("3ad9")["default"])},"44de":function(e,t,n){"use strict";n.r(t),n.d(t,"vibrateLong",(function(){return r})),n.d(t,"vibrateShort",(function(){return o}));var i=!!window.navigator.vibrate;function r(){return i&&window.navigator.vibrate(400)?{errMsg:"vibrateLong:ok"}:{errMsg:"vibrateLong:fail"}}function o(){return i&&window.navigator.vibrate(15)?{errMsg:"vibrateShort:ok"}:{errMsg:"vibrateShort:fail"}}},"454d":function(e,t,n){"use strict";n.r(t),n.d(t,"removeTabBarBadge",(function(){return o})),n.d(t,"showTabBarRedDot",(function(){return a})),n.d(t,"hideTabBarRedDot",(function(){return s})),n.d(t,"onTabBarMidButtonTap",(function(){return c}));var i=n("db70"),r=n("a118");function o(e){var t=e.index;return Object(i["c"])("setTabBarBadge",{index:t,type:"none"})}function a(e){var t=e.index;return Object(i["c"])("setTabBarBadge",{index:t,type:"redDot"})}var s=o,l=[];function c(e){l.push(e)}Object(i["d"])("onTabBarMidButtonTap",(function(e){l.forEach((function(t){Object(r["a"])(t,e)}))}))},"45d2":function(e,t,n){"use strict";n.r(t),n.d(t,"upx2px",(function(){return u}));var i=1e-4,r=750,o=!1,a=0,s=0;function l(){var e=uni.getSystemInfoSync(),t=e.platform,n=e.pixelRatio,i=e.windowWidth;a=i,s=n,o="ios"===t}function c(e,t){return e=Number(e),isNaN(e)?t:e}function u(e,t){if(0===a&&l(),e=Number(e),0===e)return 0;var n=__uniConfig.globalStyle||__uniConfig.window||{},u=c(n.rpxCalcMaxDeviceWidth,960),d=c(n.rpxCalcBaseDeviceWidth,375),h=c(n.rpxCalcIncludeWidth,750),f=t||a;f=e===h||f<=u?f:d;var p=e/r*f;return p<0&&(p=-p),p=Math.floor(p+i),0===p&&(p=1!==s&&o?.5:1),e<0?-p:p}},"45db":function(e,t,n){"use strict";n.r(t),function(e){var i;function r(e){i=e}function o(){i&&e.emit(i+".stopPullDownRefresh",{},i);var t=getCurrentPages();return t.length&&(i=t[t.length-1].$page.id,e.emit(i+".startPullDownRefresh",{},i)),{}}function a(){if(i)e.emit(i+".stopPullDownRefresh",{},i),i=null;else{var t=getCurrentPages();t.length&&(i=t[t.length-1].$page.id,e.emit(i+".stopPullDownRefresh",{},i))}return{}}n.d(t,"setPullDownRefreshPageId",(function(){return r})),n.d(t,"startPullDownRefresh",(function(){return o})),n.d(t,"stopPullDownRefresh",(function(){return a}))}.call(this,n("0dd1"))},4617:function(e,t,n){"use strict";(function(e){function i(e,t){return l(e)||s(e,t)||o(e,t)||r()}function r(){throw new TypeError("Invalid attempt to destructure 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 a(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)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:g;if(!t)return[e];var i=this._caches[e];return i||(i=y(e,n),this._caches[e]=i),_(i,t)}}]),e}(),v=/^(?:\d)+/,b=/^(?:\w)+/;function y(e,t){var n=i(t,2),r=n[0],o=n[1],a=[],s=0,l="";while(s2&&void 0!==arguments[2])||arguments[2],i=this.messages[e];i?n?Object.assign(i,t):Object.keys(t).forEach((function(e){M(i,e)||(i[e]=t[e])})):this.messages[e]=t}},{key:"f",value:function(e,t,n){return this.formater.interpolate(e,t,n).join("")}},{key:"t",value:function(t,n,i){var r=this.message;return"string"===typeof n?(n=P(n,this.messages),n&&(r=this.messages[n])):i=n,M(r,t)?this.formater.interpolate(r[t],i).join(""):(e.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}]),t}(),D=!0;function L(e,t){e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if("string"!==typeof e){var r=[t,e];e=r[0],t=r[1]}"string"!==typeof e&&(e="undefined"!==typeof uni&&uni.getLocale&&uni.getLocale()||S),"string"!==typeof n&&(n="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||S);var o=new E({locale:e,fallbackLocale:n,messages:t,watcher:i}),a=function(e,t){if("function"!==typeof getApp)a=function(e,t){return o.t(e,t)};else{var n=getApp().$vm;L(n,o),a=n.$t&&n.$i18n&&!D?function(e,t){var i=n.$i18n,r=i.silentTranslationWarn;i.silentTranslationWarn=!0;var a=n.$t(e,t);return i.silentTranslationWarn=r,a!==e?a:o.t(e,i.locale,t)}:function(e,t){return n.$locale,o.t(e,t)}}return a(e,t)};return{i18n:o,f:function(e,t,n){return o.f(e,t,n)},t:function(e,t){return a(e,t)},add:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return o.add(e,t,n)},watch:function(e){return o.watchLocale(e)},getLocale:function(){return o.getLocale()},setLocale:function(e){return o.setLocale(e)}}}function R(e,t){return e.indexOf(t[0])>-1}}).call(this,n("3ad9")["default"])},"4a59":function(e,t,n){"use strict";(function(e){function i(t,n,i){e.UniServiceJSBridge.subscribeHandler(t,n,i)}n.d(t,"a",(function(){return i}))}).call(this,n("c8ba"))},"4ca9":function(e,t,n){"use strict";n.r(t),function(e){var i=n("6389"),r=n.n(i),o=n("85b6"),a=n("abbf"),s=n("0784"),l=n("aa92"),c=n("02c9"),u=n("23e5"),d=n("f2b3");function h(e){var t=0;return e.forEach((function(e){e.meta.id&&t++})),t}function f(){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]:{},i=n.routes;t.config.devtools&&"undefined"!==typeof window&&-1!==window.navigator.userAgent.toLowerCase().indexOf("hbuilderx")&&(t.config.devtools=!1),Object(c["a"])(t),Object(l["a"])(t),Object(d["t"])(t),"undefined"!==typeof __UNI_ROUTER_BASE__&&(__uniConfig.router.base=__UNI_ROUTER_BASE__);var g=h(i),m=new r.a({id:g,mode:__uniConfig.router.mode,base:__uniConfig.router.base,routes:i,scrollBehavior:function(e,t,n){if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){var i=Object(u["b"])(e.params.__id__);if(i)return i}return{x:0,y:0}}}),v=[],b=m.match("history"===__uniConfig.router.mode?p(__uniConfig.router.base):f());if(b.meta.name&&(b.meta.id?v.push(b.meta.name+"-"+b.meta.id):v.push(b.meta.name+"-"+(g+1))),b.meta&&b.meta.name&&(document.body.className="uni-body "+b.meta.name,b.meta.isNVue)){var y="nvue-dir-"+__uniConfig.nvue["flex-direction"];document.body.setAttribute("nvue",""),document.body.setAttribute(y,"")}t.mixin({beforeCreate:function(){var n=this.$options;if("app"===n.mpType){n.data=function(){return{keepAliveInclude:v}};var r=Object(a["a"])(t,i,b);Object.keys(r).forEach((function(e){n[e]=n[e]?[].concat(r[e],n[e]):[r[e]]})),n.router=m,Array.isArray(n.onError)&&0!==n.onError.length||(n.onError=[function(t){e.error(t)}])}else if(Object(o["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(r.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={},i=this.popover;function r(e){return Number(e)||0}if(this.isDesktop&&i){Object.assign(n,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});var o=r(i.left),a=r(i.width),s=r(i.top),l=r(i.height),c=o+a/2;t.transform="none !important";var u=Math.max(0,c-150);t.left="".concat(u,"px");var d=Math.max(12,c-u);d=Math.min(288,d),n.left="".concat(d,"px");var h=this.popupHeight/2;s+l-h>h-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,i=t.windowHeight,r=t.windowTop;e.popupWidth=n,e.popupHeight=i+r};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 i,r,o=n("5881"),a=o["a"],s=(n("c8ed"),n("2877")),l=Object(s["a"])(a,i,r,!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 r}));var i={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},r={service:{type:String,required:!0,validator:function(e,t){if(e=(e||"").toUpperCase(),e&&Object.values(i).indexOf(e)<0)return"service error"}}}},"4f1c":function(e,t,n){"use strict";n.r(t);var i=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}})])])},r=[],o=n("8af1"),a={name:"Switch",mixins:[o["a"],o["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=a,l=(n("a5ec"),n("2877")),c=Object(l["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},"4f43":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"downloadFile",(function(){return c}));var i=n("e2e2");function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 c(t,n){var r,o=t.url,a=t.header,s=t.timeout,c=void 0===s?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.request||6e4:s,u=e,d=u.invokeCallbackHandler,h=new XMLHttpRequest,f=new l(h);return h.open("GET",o,!0),Object.keys(a).forEach((function(e){h.setRequestHeader(e,a[e])})),h.responseType="blob",h.onload=function(){clearTimeout(r);var e,t=h.status,a=this.response,s=h.getResponseHeader("content-disposition");if(s){var l=s.match(/filename="?(\S+)"?\b/);l&&(e=l[1])}a.name=e||Object(i["c"])(o),d(n,{errMsg:"downloadFile:ok",statusCode:t,tempFilePath:Object(i["b"])(a)})},h.onabort=function(){clearTimeout(r),d(n,{errMsg:"downloadFile:fail abort"})},h.onerror=function(){clearTimeout(r),d(n,{errMsg:"downloadFile:fail"})},h.onprogress=function(e){f._callbacks.forEach((function(t){var n=e.loaded,i=e.total,r=Math.round(n/i*100);t({progress:r,totalBytesWritten:n,totalBytesExpectedToWrite:i})}))},h.send(),r=setTimeout((function(){h.onprogress=h.onload=h.onabort=h.onerror=null,f.abort(),d(n,{errMsg:"downloadFile:fail timeout"})}),c),f}}.call(this,n("0dd1"))},"4f53":function(e,t,n){"use strict";n.r(t),n.d(t,"saveImageToPhotosAlbum",(function(){return r}));var i=n("cb0f"),r={filePath:{type:String,required:!0,validator:function(e,t){t.filePath=Object(i["a"])(e)}}}},"4fef":function(e,t,n){"use strict";var i=n("7572"),r=n.n(i);r.a},"501c":function(e,t,n){"use strict";n.r(t),n.d(t,"on",(function(){return m})),n.d(t,"off",(function(){return v})),n.d(t,"once",(function(){return b})),n.d(t,"emit",(function(){return y})),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 i=n("8bbf"),r=n.n(i);function o(e){var t=e.pageStyle,n=e.rootFontSize,i=document.querySelector("uni-page-body")||document.body;i.setAttribute("style",t),n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)}var a=n("6bdf"),s=n("5dc1"),l=n("1c73"),c={setPageMeta:o,requestComponentInfo:a["a"],requestComponentObserver:s["b"],destroyComponentObserver:s["a"],requestMediaQueryObserver:l["b"],destroyMediaQueryObserver:l["a"]},u=n("33ed"),d=n("7107"),h=n("764a");function f(e){Object.keys(c).forEach((function(t){e(t,c[t])})),e("pageScrollTo",u["c"]),e("loadFontFace",d["a"]),Object(h["a"])(e)}var p=n("4a59"),g=new r.a,m=g.$on.bind(g),v=g.$off.bind(g),b=g.$once.bind(g),y=g.$emit.bind(g);function _(e,t){return m("service."+e,t)}function x(e,t){return v("service."+e,t)}function w(e,t,n){y("service."+e,t,n)}f(_)},"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 i=n("5a56");t["a"]={name:"Toast",mixins:[i["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 r}));var i=n("cb0f"),r={src:{type:String,required:!0,validator:function(e,t){t.src=Object(i["a"])(e)}},quality:{type:String},bitrate:{type:Number},fps:{type:Number},resolution:{type:Number}}},5363:function(e,t,n){"use strict";function i(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}n.d(t,"a",(function(){return i})),i.prototype.set=function(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()},i.prototype.setVelocityByEnd=function(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)},i.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},i.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},i.prototype.done=function(){return Math.abs(this.dx())<3},i.prototype.reconfigure=function(e){var t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)},i.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 i=n("43a1"),r=n.n(i);r.a},5408:function(e,t,n){var i={"./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","./view/index.vue":"2bbe"};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id="5408"},"54bc":function(e,t,n){},"54f4":function(e,t,n){"use strict";function i(){var e=document.activeElement;!e||"TEXTAREA"!==e.tagName&&"INPUT"!==e.tagName||e.blur()}n.r(t),n.d(t,"hideKeyboard",(function(){return i}))},5513:function(e,t,n){"use strict";n.r(t);var i,r,o=n("ba15"),a=n("f2b3"),s={name:"Swiper",mixins:[o["a"]],props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},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;tr/2?1:0)}var o=this.items[e];o&&this._itemReady(o,(function(){var e=n.currentItemIdSync=o.componentInstance.itemId||"";n.$trigger("change",{},{current:n.currentSync,currentItemId:e,source:i})}))},_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 r=this._viewportPosition;this._viewportPosition=-2;var o=this.currentSync;o>=0?(this._invalid=!1,this.userTracking?(this._updateViewport(r+o-this._contentTrackViewport),this._contentTrackViewport=o):(this._updateViewport(o),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,i=e+this.displayMultipleItemsNumber,r=0;r=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*r.offsetWidth,dy:this.vertical?e*r.offsetHeight:0})},_animateFrameFuncProto:function(){var e=this;if(this._animating){var t=this._animating,n=t.toPos,i=t.acc,r=t.endTime,o=t.source,a=r-Date.now();if(a<=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:o})}))}else{var l=i*a*a/2,c=n+l;this._updateViewport(c),this._animationFrame=requestAnimationFrame(this._animateFrameFuncProto.bind(this))}}else this._requestedAnimation=!1},_animateViewport:function(e,t,n){this._cancelViewportAnimation();var i=this.durationNumber,r=this.items.length,o=this._viewportPosition;if(this.circularEnabled)if(n<0){for(;oe;)o-=r}else if(n>0){for(;o>e;)o-=r;for(;o+re;)o-=r;o+r-er)&&(i<0?i=-o(-i):i>r&&(i=r+o(i-r)),t._contentTrackSpeed=0),t._updateViewport(i)}var s=this._contentTrackT-n||1;this.vertical?a(-e.dy/this.$refs.slideFrame.offsetHeight,-e.ddy/s):a(-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 i=this._normalizeCurrentValue(this._viewportPosition+n);e?this._updateViewport(this._contentTrackViewport):(this.currentChangeSource="touch",this.currentSync=i,this._animateViewport(i,"touch",0!==n?n:0===i&&this.circularEnabled&&this._viewportPosition>=1?1:0))},_handleContentTrack:function(e){if(!this.disableTouch&&!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=[],i=[];this.$slots.default&&Object(a["f"])(this.$slots.default,e).forEach((function(e){e.componentOptions&&"v-uni-swiper-item"===e.componentOptions.tag&&i.push(e)}));for(var r=function(i,r){var o=t.currentSync;n.push(e("div",{on:{click:function(){t._animateViewport(t.currentSync=i,t.currentChangeSource="click",t.circularEnabled?1:0)}},class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":i=o||i=4&&(t.text="...")}}}},5676:function(e,t,n){"use strict";var i=n("c33a"),r=n.n(i);r.a},"56e9":function(e,t,n){"use strict";n.r(t),function(e){function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"showModal",(function(){return s})),n.d(t,"showToast",(function(){return l})),n.d(t,"hideToast",(function(){return c})),n.d(t,"showLoading",(function(){return u})),n.d(t,"hideLoading",(function(){return d})),n.d(t,"showActionSheet",(function(){return h}));var r=e,o=r.emit,a=r.invokeCallbackHandler;function s(e,t){o("onShowModal",e,(function(e){a(t,i({},e,!0))}))}function l(e){return o("onShowToast",e),{}}function c(){return o("onHideToast"),{}}function u(e){return o("onShowLoading",e),{}}function d(){return o("onHideLoading"),{}}function h(e,t){o("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 i=n("28da"),r=n.n(i);r.a},5768:function(e,t,n){"use strict";n.r(t);var i=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,i){return n("div",{key:i,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._onCompositionstart(t)},compositionend:function(t){return t.stopPropagation(),e._onCompositionend(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()])])},r=[],o=n("8af1"),a="(prefers-color-scheme: dark)",s={name:"Textarea",mixins:[o["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:""}},data:function(){return{valueComposition:"",height:0,focusChangeSource:"",fixMargin:0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(a).media!==a}},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["done","go","next","search","send"].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.$refs.textarea.blur())},_onCompositionstart:function(e){this.composing=!0},_onCompositionend:function(e){this.composing&&(this.composing=!1,this._onInput(e))},_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.valueComposition=e.target.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=""}}},l=s,c=(n("9400"),n("2877")),u=Object(c["a"])(l,i,r,!1,null,null,null);t["default"]=u.exports},"57a7":function(e,t,n){"use strict";n.r(t),n.d(t,"createInnerAudioContext",(function(){return h}));var i=n("db70");function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n=0&&n.splice(i,1)}})),Object(i["d"])("onAudioStateChange",(function(e){var t=e.state,n=e.audioId,i=e.errMsg,r=e.errCode,o=d[n];if(o)if(u(o,t,i,r),"play"===t){var a=o.currentTime;o.__timing=setInterval((function(){var e=o.currentTime;e!==a&&u(o,"timeupdate")}),200)}else"pause"!==t&&"stop"!==t&&"error"!==t||clearInterval(o.__timing)}));var d=Object.create(null);function h(){var e=Object(i["c"])("createAudioInstance"),t=e.audioId,n=new c(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,i=[];return this.$slots.default&&this.$slots.default.forEach((function(r){if(r.text){var o=r.text.replace(/\\n/g,"\n"),a=o.split("\n");a.forEach((function(e,r){i.push(n._decodeHtml(e)),r!==a.length-1&&i.push(t("br"))}))}else r.componentOptions&&"v-uni-text"!==r.componentOptions.tag&&e.warn("Do not nest other components in the text component, as there may be display differences on different platforms."),i.push(r)})),t("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[t("span",{},i)])}}}).call(this,n("3ad9")["default"])},"594d":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-map",e._g({attrs:{id:e.id}},e.$listeners),[n("div",{ref:"map",staticStyle:{width:"100%",height:"100%",position:"relative",overflow:"hidden"}}),n("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[e._t("default")],2)])},r=[],o=n("738e"),a=o["a"],s=(n("3f7e"),n("2877")),l=Object(s["a"])(a,i,r,!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 o})),n.d(t,"showNavigationBarLoading",(function(){return a})),n.d(t,"hideNavigationBarLoading",(function(){return s})),n.d(t,"setNavigationBarTitle",(function(){return l}));var i=n("79d5");function r(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object(i["getPageHolder"])(n.__page__);if(r)switch(t){case"setNavigationBarColor":var o=n.frontColor,a=n.backgroundColor,s=n.animation,l=s.duration,c=s.timingFunc;o&&(r.navigationBar.textColor="#000000"===o?"black":"white"),a&&(r.navigationBar.backgroundColor=a),e.emit("onNavigationBarChange",{textColor:"#000000"===o?"#000":"#fff",backgroundColor:r.navigationBar.backgroundColor}),r.navigationBar.duration=l+"ms",r.navigationBar.timingFunc=c;break;case"showNavigationBarLoading":r.navigationBar.loading=!0;break;case"hideNavigationBarLoading":r.navigationBar.loading=!1;break;case"setNavigationBarTitle":var u=n.title;r.navigationBar.titleText=u,Object(i["isCurrentPage"])(r)&&(document.title=u),e.emit("onNavigationBarChange",{titleText:u});break}return{}}function o(e){return r("setNavigationBarColor",e)}function a(e){return r("showNavigationBarLoading",e)}function s(e){return r("hideNavigationBarLoading",e)}function l(e){return r("setNavigationBarTitle",e)}}.call(this,n("0dd1"))},"5a23":function(e,t,n){"use strict";n("f2b3");var i,r=n("5cf8");function o(){}t["a"]={name:"Keyboard",mixins:[r["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}},directives:{keyboard:{inserted:function(e,t,n){n.context.initKeyboard(e)}}},methods:{initKeyboard:function(e){e.addEventListener("focus",(function(){clearTimeout(i),document.addEventListener("click",o,!1)}));var t=function(){document.removeEventListener("click",o,!1),0===String(navigator.vendor).indexOf("Apple")&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};e.addEventListener("blur",(function(){e.blur(),t()}))}}}},"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 i=n("b2bb"),r=n.n(i);r.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=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.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()}},i.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},i.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]}))},i.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},i.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(a(window,"resize",this._checkForIntersections,!0),a(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}))))},i.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))},i.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():u();this._observationTargets.forEach((function(i){var o=i.element,a=c(o),s=this._rootContainsTarget(o),l=i.entry,u=e&&s&&this._computeTargetAndRootIntersection(o,t),d=i.entry=new n({time:r(),target:o,boundingClientRect:a,rootBounds:t,intersectionRect:u});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)},i.prototype._computeTargetAndRootIntersection=function(t,n){if("none"!=window.getComputedStyle(t).display){var i=c(t),r=i,o=h(t),a=!1;while(!a){var s=null,u=1==o.nodeType?window.getComputedStyle(o):{};if("none"==u.display)return;if(o==this.root||o==e?(a=!0,s=n):o!=e.body&&o!=e.documentElement&&"visible"!=u.overflow&&(s=c(o)),s&&(r=l(s,r),!r))break;o=h(o)}return r}},i.prototype._getRootRect=function(){var t;if(this.root)t=c(this.root);else{var n=e.documentElement,i=e.body;t={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},i.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},i.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,i=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==i)for(var r=0;r=0&&s>=0&&{top:n,bottom:i,left:r,right:o,width:a,height:s}}function c(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):u()}function u(){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=h(n)}return!1}function h(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}})()},"5cf8":function(e,t,n){"use strict";function i(e,t){for(var n=this.$children,r=n.length,o=arguments.length,a=new Array(o>2?o-2:0),s=2;s2?r-2:0),a=2;a2?n-2:0),o=2;oe.length)&&(t=e.length);for(var n=0,i=new Array(t);n0?_.PICKER:_.SELECT},system:function(){if(this.mode===b.DATE&&!Object.values(y).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===b.TIME||this.mode===b.DATE){var n=this.mode===b.TIME?this._getTimeValue:this._getDateValue,i=this.valueArray,r=this.startArray,o=this.endArray;if(this.mode===b.DATE){var a=this.dateArray,s=a[2].length,l=Number(a[2][i[2]])||1,c=new Date("".concat(a[0][i[0]],"/").concat(a[1][i[1]],"/").concat(l)).getDate();cn(o)&&this._cloneArray(i,o)}e.forEach((function(e,n){e!==t.oldValueArray[n]&&(t.oldValueArray[n]=e,t.mode===b.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 i=e.currentTarget.getBoundingClientRect();this.popover={top:i.top,left:i.left,width:i.width,height:i.height},setTimeout((function(){t.visible=!0}),20)}},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){switch(this.mode){case b.SELECTOR:this.valueSync=0;break;case b.MULTISELECTOR:this.valueSync=this.value.map((function(e){return 0}));break;case b.DATE:case b.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 i=0;i<60;i++)t.push((i<10?"0":"")+i);this.timeArray.push(e,t)},_createDate:function(){for(var e=[],t=(new Date).getFullYear(),n=t-150,i=t+150;n<=i;n++)e.push(String(n));for(var r=[],o=1;o<=12;o++)r.push((o<10?"0":"")+o);for(var a=[],s=1;s<=31;s++)a.push((s<10?"0":"")+s);this.dateArray.push(e,r,a)},_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;na?0:o)}break;case b.TIME:case b.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 b.MULTISELECTOR:e=u(t);break;case b.TIME:e=this._getDateValueArray(t,Object(a["g"])({mode:b.TIME}));break;case b.DATE:e=this._getDateValueArray(t,Object(a["g"])({mode:b.DATE}));break;default:e=[t];break}this.oldValueArray=u(e),this.valueArray=u(e)},_getValue:function(){var e=this,t=this.valueArray;switch(this.mode){case b.SELECTOR:return t[0];case b.MULTISELECTOR:return t.map((function(e){return e}));case b.TIME:return this.valueArray.map((function(t,n){return e.timeArray[n][t]})).join(":");case b.DATE:return this.valueArray.map((function(t,n){return e.dateArray[n][t]})).join("-")}},_getDateValueArray:function(e,t){var n,i=this.mode===b.DATE?"-":":",r=this.mode===b.DATE?this.dateArray:this.timeArray;if(this.mode===b.TIME)n=2;else switch(this.fields){case y.YEAR:n=1;break;case y.MONTH:n=2;break;default:n=3;break}for(var o=String(e).split(i),a=[],s=0;s=0&&(a=t?this._getDateValueArray(t):a.map((function(){return 0}))),a},_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,i=t.left,r=t.width,o=t.height,a=e.pageX,s=e.pageY;if(a>i&&an&&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 i=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)},r=[],o=n("f2ce"),a=o["a"],s=(n("6730"),n("2877")),l=Object(s["a"])(a,i,r,!1,null,null,null);t["default"]=l.exports},7107:function(e,t,n){"use strict";(function(e){function i(t){var n=t.options,i=t.callbackId,r=n.family,o=n.source,a=n.desc,s=void 0===a?{}:a,l=document.fonts;if(l){var c=new FontFace(r,o,s);c.load().then((function(){l.add(c),e.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:ok"}})})).catch((function(t){e.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:fail ".concat(t)}})}))}else{var u=document.createElement("style");u.innerText='@font-face{font-family:"'.concat(r,'";src:').concat(o,";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(u),e.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:ok"}})}}n.d(t,"a",(function(){return i}))}).call(this,n("501c"))},"72ad":function(e,t,n){},"72b3":function(e,t,n){"use strict";function i(e,t,n){return e>t-n&&e0){var c=(-n-Math.sqrt(o))/(2*i),u=(-n+Math.sqrt(o))/(2*i),d=(t-c*e)/(u-c),h=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,c*e)),n||(n=this._powER2T=Math.pow(Math.E,u*e)),h*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,c*e)),n||(n=this._powER2T=Math.pow(Math.E,u*e)),h*c*t+d*u*n}}}var f=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,g=e,m=(t-p*e)/f;return{x:function(e){return Math.pow(Math.E,p*e)*(g*Math.cos(f*e)+m*Math.sin(f*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(f*e),i=Math.sin(f*e);return t*(m*f*n-g*f*i)+p*t*(m*i+g*n)}}},o.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},o.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},o.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!r(t,.4)){t=t||0;var i=this._endPosition;this._solution&&(r(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),r(t,.4)&&(t=0),r(i,.4)&&(i=0),i+=this._endPosition),this._solution&&r(i-e,.4)&&r(t,.4)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=n)}},o.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},o.prototype.done=function(e){return e||(e=(new Date).getTime()),i(this.x(),this._endPosition,.4)&&r(this.dx(),.4)},o.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())},o.prototype.springConstant=function(){return this._k},o.prototype.damping=function(){return this._c},o.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 i,r,o=n("8af1"),a=n("f2b3");function s(e){if(i)e();else if(window.qq&&window.qq.maps)i=window.qq.maps,e();else if(r)r.push(e);else{r=[e];var t=__uniConfig.qqMapKey,n="_callback"+Date.now();window[n]=function(){delete window[n],i=window.qq.maps;var e=i.Callout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.option=e;var t=e.map;this.position=e.position,this.index=1,this.visible=this.alwaysVisible="ALWAYS"===e.display,this.init(),Object.defineProperty(this,"onclick",{setter:function(e){this.div.onclick=e},getter:function(){return this.div.onclick}}),t&&this.setMap(t)};e.prototype=new i.Overlay,e.prototype.init=function(){var e=this.option,t=this.div=document.createElement("div"),n=t.style;n.position="absolute",n.whiteSpace="nowrap",n.transform="translateX(-50%) translateY(-100%)",n.zIndex=1,n.boxShadow=e.boxShadow||"none",n.display=this.visible?"block":"none";var i=this.triangle=document.createElement("div");i.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(e),this.changed=function(e){n.display=this.visible?"block":"none"},t.appendChild(i)},e.prototype.construct=function(){var e=this.div,t=this.getPanes();t.floatPane.appendChild(e)},e.prototype.draw=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"}},e.prototype.destroy=function(){this.div.parentNode.removeChild(this.div),this.div=null,this.triangle=null},e.prototype.setOption=function(e){this.option=e,this.setPosition(e.position),"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,this.setStyle(e)},e.prototype.setStyle=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+5)+"px",this.triangle.style.borderColor="".concat(e.bgColor||"#fff"," transparent transparent")},e.prototype.setPosition=function(e){this.position=e,this.draw()},r.forEach((function(e){return e()})),r=null};var o=document.createElement("script");o.src="https://map.qq.com/api/js?v=2.exp&key=".concat(t,"&callback=").concat(n,"&libraries=geometry"),document.body.appendChild(o)}}t["a"]={name:"Map",mixins:[o["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}},data:function(){return{center:{latitude:116.46,longitude:116.46},isMapReady:!1,isBoundsReady:!1,markersSync:[],polylineSync:[],circlesSync:[],controlsSync:[]}},watch:{latitude:function(){this.centerChange()},longitude:function(){this.centerChange()},scale:function(e){var t=this;this.mapReady((function(){t._map.setZoom(Number(e)||16)}))},markers:function(e,t){var n=this;this.mapReady((function(){var i=[],r=[],o=[],a=[],s=[];e.forEach((function(e){if("id"in e){for(var n=!1,s=0;s=0?(t=o.indexOf(i))>=0&&n.changeMarker(e,a[t]):s.push(e)})),n.removeMarkers(s),n.createMarkers(i)}))},polyline:function(e){var t=this;this.mapReady((function(){t.createPolyline()}))},circles:function(){var e=this;this.mapReady((function(){e.createCircles()}))},controls:function(){var e=this;this.mapReady((function(){e.createControls()}))},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(){var e=this.latitude,t=this.longitude;e&&t&&(this.center.latitude=e,this.center.longitude=t)},mounted:function(){var e=this;s((function(){e.init()}))},beforeDestroy:function(){this.removeMarkers(this.markersSync),this.removePolyline(),this.removeCircles(),this.removeControls(),this.removeLocation()},methods:{_handleSubscribe:function(e){var t=this,n=e.type,r=e.data,o=void 0===r?{}:r;function a(e,t){e=e||{},e.errMsg="".concat(n,":").concat(t?"fail"+t:"ok");var i=t?o.fail:o.success;"function"===typeof i&&i(e),"function"===typeof o.complete&&o.complete(e)}switch(n){case"getCenterLocation":this.mapReady((function(){var e,n,i=t._map.getCenter();e=i.getLat(),n=i.getLng(),a({latitude:e,longitude:n})}));break;case"moveToLocation":var s=o.latitude,l=o.longitude,c=s&&l?new i.LatLng(s,l):this._locationPosition;c&&(this._map.setCenter(c),a({}));break;case"translateMarker":this.mapReady((function(){try{var e=t.getMarker(o.markerId),n=o.destination,r=o.duration,s=!!o.autoRotate,l=Number(o.rotate)?o.rotate:0,c=e.getRotation(),u=e.getPosition(),d=new i.LatLng(n.latitude,n.longitude),h=i.geometry.spherical.computeDistanceBetween(u,d)/1e3,f=("number"===typeof r?r:1e3)/36e5,p=h/f,g=i.event.addListener(e,"moving",(function(t){var n=t.latLng,i=e.label;i&&i.setPosition(n);var r=e.callout;r&&r.setPosition(n)})),m=i.event.addListener(e,"moveend",(function(t){m.remove(),g.remove(),e.lastPosition=u,e.setPosition(d);var n=e.label;n&&n.setPosition(d);var i=e.callout;i&&i.setPosition(d);var r=o.animationEnd;"function"===typeof r&&r()})),v=0;s&&(e.lastPosition&&(v=i.geometry.spherical.computeHeading(e.lastPosition,u)),l=i.geometry.spherical.computeHeading(u,d)-v),e.setRotation(c+l),e.moveTo(d,p)}catch(b){a(null,b)}}));break;case"includePoints":this.fitBounds(o.points);break;case"getRegion":this.boundsReady((function(){var e=t._map.getBounds(),n=e.getSouthWest(),i=e.getNorthEast();a({southwest:{latitude:n.getLat(),longitude:n.getLng()},northeast:{latitude:i.getLat(),longitude:i.getLng()}})}));break;case"getScale":this.mapReady((function(){a({scale:t._map.getZoom()})}));break}},init:function(){var e=this,t=new i.LatLng(this.center.latitude,this.center.longitude),n=this._map=new i.Map(this.$refs.map,{center:t,zoom:Number(this.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,minZoom:5,maxZoom:18,draggable:!0}),r=i.event.addListener(n,"bounds_changed",(function(t){r.remove(),e.isBoundsReady=!0,e.$emit("boundsready")}));function o(){var e=n.getCenter();return{scale:n.getZoom(),centerLocation:{latitude:e.getLat(),longitude:e.getLng()}}}i.event.addListener(n,"click",(function(){e.$trigger("click",{},{})})),i.event.addListener(n,"dragstart",(function(){e.$trigger("regionchange",{},{type:"begin",causedBy:"gesture"})})),i.event.addListener(n,"dragend",(function(){e.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"drag"},o()))})),i.event.addListener(n,"zoom_changed",(function(){e.$emit("update:scale",n.getZoom()),e.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"scale"},o()))})),i.event.addListener(n,"center_changed",(function(){var t,i,r=n.getCenter();t=r.getLat(),i=r.getLng(),e.$emit("update:latitude",t),e.$emit("update:longitude",i)})),this.markers&&Array.isArray(this.markers)&&this.markers.length&&this.createMarkers(this.markers),this.polyline&&Array.isArray(this.polyline)&&this.polyline.length&&this.createPolyline(),this.circles&&Array.isArray(this.circles)&&this.circles.length&&this.createCircles(),this.controls&&Array.isArray(this.controls)&&this.controls.length&&this.createControls(),this.showLocation&&this.createLocation(),this.includePoints&&Array.isArray(this.includePoints)&&this.includePoints.length&&this.fitBounds(this.includePoints,(function(){n.setCenter(t)})),this.isMapReady=!0,this.$emit("mapready")},centerChange:function(){var e=this,t=Number(this.latitude),n=Number(this.longitude);t===this.center.latitude&&n===this.center.longitude||(this.center.latitude=t,this.center.longitude=n,this._map&&this.mapReady((function(){e._map.setCenter(new i.LatLng(t,n))})))},createMarkers:function(e){var t=this,n=this._map,r=this.markersSync;e.forEach((function(e){var o=new i.Marker({map:n,flat:!0,autoRotation:!1});o.id=e.id,t.changeMarker(o,e),i.event.addListener(o,"click",(function(n){var i=o.callout;if(i){var r=i.div,s=r.parentNode;i.alwaysVisible||i.set("visible",!i.visible),i.visible&&(s.removeChild(r),s.appendChild(r))}Object(a["i"])(e,"id")&&t.$trigger("markertap",{},{markerId:e.id})})),r.push(o)}))},changeMarker:function(e,t){var n=this,r=this._map,o=t.title||t.name,s=new i.LatLng(t.latitude,t.longitude),l=new Image;l.onload=function(){var c,u,d,h,f=t.anchor||{},p=f.x,g=f.y;t.iconPath&&(t.width||t.height)?(u=t.width||l.width/l.height*t.height,d=t.height||l.height/l.width*t.width):(u=l.width/2,d=l.height/2),p=("number"===typeof p?p:.5)*u,g=("number"===typeof g?g:1)*d,h=d-(d-g),c=new i.MarkerImage(l.src,null,null,new i.Point(p,g),new i.Size(u,d)),e.setPosition(s),e.setIcon(c),e.setRotation(t.rotate||0);var m,v=t.label||{};e.label&&(e.label.setMap(null),delete e.label),v.content&&(m=new i.Label({position:s,map:r,clickable:!1,content:v.content,style:{border:"none",padding:"8px",background:"none",color:v.color,fontSize:(v.fontSize||14)+"px",lineHeight:(v.fontSize||14)+"px",marginLeft:v.x,marginTop:v.y}}),e.label=m);var b,y=t.callout||{},_=e.callout;y.content?b={id:t.id,position:s,map:r,top:h,content:y.content,color:y.color,fontSize:y.fontSize,borderRadius:y.borderRadius,bgColor:y.bgColor,padding:y.padding,boxShadow:y.boxShadow,display:y.display}:o&&(b={id:t.id,position:s,map:r,top:h,content:o,boxShadow:"0px 0px 3px 1px rgba(0,0,0,0.5)"}),b?_?_.setOption(b):(_=e.callout=new i.Callout(b),_.div.onclick=function(e){Object(a["i"])(t,"id")&&n.$trigger("callouttap",e,{markerId:t.id}),e.stopPropagation(),e.preventDefault()}):_&&(_.setMap(null),delete e.callout)},l.src=t.iconPath?this.$getRealPath(t.iconPath):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABQCAYAAABFyhZTAAANDElEQVR4nNWce4hc133Hv+fc92MeuytpV5ZXll2XuvTlUBTSP1IREsdNiKGEEAgE3EBLaBtK/2hNoQTStISUosiGOqVpQ+qkIdAax1FiG+oYIxyD4xi3uKlEXSFFke3d1e5od+a+H+ec/nHvmbkzs6ud2bmjTX7wY3b3zr3nfM7vd37n8Tt3CW6DiDP3EABSd/0KAEEuXBHzrsteFTiwVOBo+amUP9PK34ZuAcD30NoboTZgceYeCaQAUEvVAKiZ0lpiiv0Lgmi/imFLF5YV2SWFR1e0fGcDQF5qVn4y1Ag/E3DFmhJSB2Dk1D2Squ0HBdT3C0JPE6oco6oKqmm7PodnGXieQ3DWIYL/iCB/UWO95zTW2wCQlpqhgJ8J/MDApUUVFFY0AFiRdvwMJ8bvCaKcUW3bUE0DimGAKMpkz2QMLEnBkhhZEHICfoHy+AkrW3seQAwgQQHPyIUr/CD1nhq4tCpFAWoCsGNt5X2MWo9Qw/p1zXGgWiZAZu8teRQhCwLwOLpEefKolb3zDIAQBXyGAnwqa09Vq4pVDQBOqrTuTmn7c9S0H9QdB6ptT/O4iSWPY2S+DxYHFzTW+5zBti8BCFBYfCprTwxcwmoALABupK48lFPri0az1dSbjWkZDiSp5yPpdn2Vh39m5evPAPABRACySaH3Ba64sA7ABtD0tdXPUqvxKd1xoJrmDAjTSx7HCDsdroj0nJO99TiAHgprZwD4fi5+S+AKrAHA5UQ7EijH/05rND9sNJsglNaEMZ3wPEfq+8i97vdstv4IFdkWBi5+S2h1n2dL2IYAXQqU449pjdYHzFaruDr3edEelVJUmK02YpCPBD454uRrf0BFtlleTlAMX7vfu9eFSp91ALR95cRfq27zA2ariXK+cOhqtprQnOZ7AmXlLIA2ABeAXtZ9cuDSlVUUfbYVKCsPq27zo1arddiMY2q2WlCd5gd95fhnALTKOmslw/7A5RcVFGNsI6ILpzNi/rnu2IdPt4caDRc5Mf4opEu/DaBR1l3dDXo3CxMUEdkRoO2UuJ+3Wy1VUbXD5tpTKVVgt9s0I85fcahLKLqhvhvf0B/KFpFjbdOnRz+pOY17f5atK1W3LWiue8KnR38fQLNkGLPyaAvI8dZl0Jcz6J82bPuwWSZW03GRQ3s4JdYqigBmoOie48CVQGUBcAO68AnTbTQUVQWE+LlQSimsRsOKSPthFG49ZmU6Aq8DsAWomwnt4+bPgSuPqunYyIX6uwzqIoqIPdSXacW6clFgB6T9Xs0wFylVDrv+UyshFIZlOSFpP1ACG1Ury5mWdGcTgJkJ/UO2ZZVPqU+EqiL9xV8GWzoGAFC2t6C/eQkkS2stR7cs+KH2OwDOo2AKUcy1hQTur28FiJVDOa0bRm283HHhPfQxhL91BsIYXmyQLIX1yktofvdJ0N5OLeVpug4G5TcY1IaCvIuCLQHAq8A6ACOCe5+qag1CSBEMZpT01L3Y/vSfgi0e2fW60HSE730/4vtPY/Erj0J/8+LMZRIAmq7rUeLe75KdTRTACoCcVvqvBsBIhXG/qumoo0Plx5Zx80/+Yk/YqvBGE53PPILsxGotZWuahkxov4bCkDoARZy5h1S3UjUAKhf0pKrWE6x2Hv5DcMedwCaFCMPEzqf+GCB05rIVVQUHOVlySQuPAzNB7lAUBbOOickv/QrSe++bGFZKtnoK0f2nZy5foRRc0Dsw2C5WANDRvWRFAIv9/juDxr/5nqlhpcTvevfM5VNKwYHFijEVAEStWFgBQIWASQkKv5hBstVTM947W/mEABDCxMCgFBXgfkpECGgAmbW8seFnqntNc+byiSDggqgYSfPIKVc/2SUgcsH57C7V3T5wZWmvO3P5QnAAPMdwnotU59KkaBkR1AGs/fTqgYG1n16dHZhzQCAea8zKz4UTEdFl/EBZjCGxXn354Pe+8tLM5TPGAPAxN5PAQioR7CdZls1u4auXYf3wB1NX1Pjv/4Rx8Y2Zy8/zHAR8reTiko9W/sAAcIWwt+oAhhBofeMrUDfWJoZVtjtof/Xvayk7TTMo4D/BSL55FJiZNPvfNE1rKZT2ulj64mehX/m/fWG169ew9IW/hHJzqx7gLIVO00slWy6B1QpsBoC5SnR1O7K3GecLSg2ZBaWziSOffwTB+x5E8MGHkB8/MXx9cwPuf3wX9gvPgeT5zOUBgBACcZKmR63of1CwycS6UFFYeCjjrhD2WhTHD7iWVUsFwBic7z8L5/vPgh1dBneL5BsJg6lcflKJ4hgKYT8iENXTBAzl8lBgYOEMALOV9IUgDB9w55AoU26sQ7mxXvtzq+KHISyavogBV4oCXNAy8cSrF9pa+EaSJmtpWk/wup2a5zmiONle0MMflpD94xLkwhUhOykrL8TlJzNo9lQvDHHYe1TTai8MYSjZd0p3zjA4LcCB4XFYXowB5EeM4HkvDDpxmh4+xYSa5hm6fuAt6cH3Sp5kV+Aye55XvpAqRCSOmv5LLwgO3U0n1V4QwFLSf9UoD0tPjSrAomphoHDrBINDI/kxM3wxTMIf7/j+ocPsp90ggBcFV5bN8LnSeHHJIs+BjAFLt45QZNNjAOyIET3a8XwvTNLD9tg9NU4zbPa8dEmPzxIipKeGpabSnYeAyxbIS2BfftnVsrWmnjzWDQPkLD98uhHlgqMbBnC19PGmnl4rAUMMDrzk1SMQo1MpXt4QAPDKG7OjZvwKy4Ov3/R/9vrzVs9DmgZPrljRCyg8NCzr7o9adwx4xMpeqTEAdqcT/nuY+M9v9rxDh5S62fMQxP7Lq27wBIoYFJd17mFwnElUGXc71CLKlgowvONnrbrhl6/2sEoJuW/JcXa59fbJzTDATuRfu7sRfgmDgCthpXXF6H1jq4OyRWRr+QC65WeiEJEet+O/7fj+thfHOKx+6ycxtjy/u2Ilf6NSISdLsq59r9zt+NKuy6EKdFS2WBeFxVNHY5sLRnr27Z0dzhi77W7MGMNb2zu8ZaTnGnq+hoE37mDgynuewdxz/VdORuTDuqUWQcxO/8tU+ZObfnDbDbzpBzBV9m/LdvraCGzfKLc6hnjLBW8F2q88NATATjaib3pxcLFzG2dim74PLw5eP9mIv4U9PHC/M5eTrPCrQ5XszzElyFac9OwN3/P8NMG8TeslMbZCf/tEIzlHSX8m5VXqlGBkCDoQ8C5BrH+Ys6GzjZaRP3YzDCHmaFnOOW6GERaM/Jyt8u0SLijrcssgNTXwLtAy9AcAsjvc7JWMxc9seP7cDHzDD8B49NSKk72OwUyqV+rEsBMDl9DVICZbNgLATjXTf96OgiudMKzdup0wxHYcvHlXM/sGxvttiCnOSk8FXIrsz8PjMxXpspOffcfz8rTG+XbCcqx5Xrri5OcUKuQGRbXssaljrcC36M/posWuuTr/+lYY1ebKnTCCq/MnFkx2HYPAKWdSQ8u+uQCPQEvX6qFwrfyuVvadnTi4uFmDa28GAXbi4Men2tl5FPN7uSiYKkjNDFxCy/4sg0d/qLqjwR5b9/04Znue0d5X4jzHehDEJxrsUYwHy6n7bVVm2WnnKNxqyLXbJn/b1fkTswSwrSiCq/OvtUy+juHl6sTjbe3AFdeW0DJqZ3e182d3kujNThxh2o7biSJ0k+ji3Qv5sxj2Ig8H7LdVmSmXUhY8VilKkB1z2Jev9zzOuZiYl3GB656XL7vsHzC85Os35qzvH9bxWorAsNsFANKjDr9saeL82hRz7fUggKWJp4/Y/CoGw1//mWVZM8nMwLdw7fxUm31zKwo7vXT/s5S9NMVWFK7ds8C+heG9NR8zROVRqeXFoxHXlhZJDBXBoi0e34yi/YehKMKiLf5JU/p7yUONV9d7xHW+aSWhhzYAV1v81SBPLm7FY8ct+rIVxwjz5I3VFn8V4w1XiytLqQ24sgEoXbvviiuu+Me9rCyEwDXP48uu+CqGZ3G1urKUWt+l28W1QwDpMVdcZsgvrIXh2D0bUQRDxUvHXHEZw8GvVleWMo+XB6sbBnIznJ1s8a+9EwQ5rxyJ4pzjbd/P72xyuc1aTQLMNMHYS2oHrri2dM0QQNI0sWnrOL8eRf3vrkcRbB3n2xY2MEiP9NM88/ivD/N6PbTq2rIv5qtt8dRaGKaccwgh8E4Y5ne2xNMYb6B+tq9umQvwyDIyKDVxddw0VfH8jTjGZhzDVMWLDQNbGGzZzNW6wPwsXM05V7OR+fEmvn09CPiNKMKyi29jYN0Ag0BVe9+Vst/7w7OKnIEFKF6pMRdtrL3VxctMMOOoi2q2r5/LnWeF5vqK90gAGyTaXTy5ZAtpXRms5jIMjcq8LQwMnywIAVgrDVwuD+9K68oZ1dxcWcrcX+IfScHKwBRWfu9H8Xn2XSm3w8LAYHfEQ5F6TVGYWM6qYsy570q5Lf+mYSRH1QFwA8AGgJsooOXe7tzl/wGchYFKtBMCwAAAAABJRU5ErkJggg=="},removeMarkers:function(e){for(var t=0;t0;function v(){var e,t,n,i=window.screen,o=window.devicePixelRatio,a=/^Apple/.test(navigator.vendor)&&"number"===typeof window.orientation,l=a&&90===Math.abs(window.orientation),v=a?Math[l?"max":"min"](i.width,i.height):i.width,b=a?Math[l?"min":"max"](i.height,i.width):i.height,y=Math.min(window.innerWidth,document.documentElement.clientWidth,v)||v,_=window.innerHeight,x=navigator.language,w=c.a.top;if(h){e="iOS";var S=u.match(/OS\s([\w_]+)\slike/);S&&(t=S[1].replace(/_/g,"."));var k=u.match(/\(([a-zA-Z]+);/);k&&(n=k[1])}else if(d){e="Android";var C=u.match(/Android[\s/]([\w\.]+)[;\s]/);C&&(t=C[1]);for(var T=u.match(/\((.+?)\)/),M=T?T[1].split(";"):u.split(" "),O=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i],A=0;A0){n=I.split("Build")[0].trim();break}for(var P=void 0,E=0;Ee}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):u("--top-window-height","0px")},showLeftWindow:function(e,t){e?this.$nextTick(this.onLeftWindowInit):u("--window-left","0px")},showRightWindow:function(e,t){e?this.$nextTick(this.onRightWindowInit):u("--window-right","0px")},marginWidth:function(e){u("--window-margin",e+"px")}},beforeCreate:function(){u("--top-window-height","0px"),u("--window-left","0px"),u("--window-right","0px"),u("--window-margin","0px")},created:function(){var t=this;this.topWindow=o.a.component("VUniTopWindow"),this.leftWindow=o.a.component("VUniLeftWindow"),this.rightWindow=o.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(a["c"])(e);if(!this["show"+n+"Window"]){var i="apiShow"+n+"Window";this[i]!==t&&(this[i]=t,"top"===e&&(t?this.$nextTick(this.onTopWindowInit):u("--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(a["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),i=!1;i=t>n,this.$emit("maxWidth",i),this.$containerElem||(this.$containerElem=document.querySelector("uni-app")),this.$containerElem&&(i&&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 i=__uniConfig[t];i&&i.matchMedia&&Object(a["i"])(i.matchMedia,"minWidth")&&(this[n]=i.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",i=window.matchMedia("(min-width: "+this[e+"WindowMinWidth"]+"px)");i.addListener((function(i){t[n]=i.matches,t.$nextTick((function(){t["on"+Object(a["c"])(e)+"WindowInit"]()}))})),this[n]=i.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,u("--top-window-height",e)}},onLeftWindowInit:function(){this.responsive&&this.leftWindow?this.leftWindowStyle&&this.leftWindowStyle.width?u("--window-left",this.$refs.leftWindow.offsetWidth+this.marginWidth+"px"):u("--window-left",this.$refs.left.$el.offsetWidth+this.marginWidth+"px"):u("--window-left",this.marginWidth+"px")},onRightWindowInit:function(){this.responsive&&this.rightWindow?this.rightWindowStyle&&this.rightWindowStyle.width?u("--window-right",this.$refs.rightWindow.offsetWidth+this.marginWidth+"px"):u("--window-right",this.$refs.right.$el.offsetWidth+this.marginWidth+"px"):u("--window-right",this.marginWidth+"px")}}}}).call(this,n("0dd1"))},"7bab":function(e,t,n){"use strict";function i(){var e=document.getElementById("#clipboard"),t=e?e.value:void 0;return t?{data:t,errMsg:"getClipboardData:ok"}:{errMsg:"getClipboardData:fail"}}function r(e){var t=e.data,n=document.getElementById("#clipboard");n&&n.remove();var i=document.createElement("textarea");i.id="#clipboard",i.style.position="absolute",i.style.top="0",i.style.zIndex="-9999",document.body.appendChild(i),i.value=t,i.focus(),i.select();var r=document.execCommand("Copy",!1,null);return r?(uni.showToast({title:"复制成功",icon:"none"}),{errMsg:"setClipboardData:ok"}):{errMsg:"setClipboardData:fail"}}n.r(t),n.d(t,"getClipboardData",(function(){return i})),n.d(t,"setClipboardData",(function(){return r}))},"7bb3":function(e,t,n){"use strict";n.r(t);var i=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)])},r=[],o=n("8af1"),a={name:"Checkbox",mixins:[o["a"],o["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=a,l=(n("f53a"),n("2877")),c=Object(l["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},"7c2b":function(e,t,n){"use strict";var i=n("2c45"),r=n.n(i);r.a},"7d18":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"uploadFile",(function(){return c}));var i=n("e2e2");function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 c(t,n){var r=t.url,o=t.file,a=t.filePath,s=t.name,c=t.files,u=t.header,d=t.formData,h=t.timeout,f=void 0===h?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.uploadFile||6e4:h,p=e,g=p.invokeCallbackHandler,m=new l(null,n);function v(e){var t,i=new XMLHttpRequest,o=new FormData;Object.keys(d).forEach((function(e){o.append(e,d[e])})),Object.values(c).forEach((function(t,n){var i=t.name,r=e[n];o.append(i||"file",r,r.name||"file-".concat(Date.now()))})),i.open("POST",r),Object.keys(u).forEach((function(e){i.setRequestHeader(e,u[e])})),i.upload.onprogress=function(e){m._callbacks.forEach((function(t){var n=e.loaded,i=e.total,r=Math.round(n/i*100);t({progress:r,totalBytesSent:n,totalBytesExpectedToSend:i})}))},i.onerror=function(){clearTimeout(t),g(n,{errMsg:"uploadFile:fail"})},i.onabort=function(){clearTimeout(t),g(n,{errMsg:"uploadFile:fail abort"})},i.onload=function(){clearTimeout(t);var e=i.status;g(n,{errMsg:"uploadFile:ok",statusCode:e,data:i.responseText||i.response})},m._isAbort?g(n,{errMsg:"uploadFile:fail abort"}):(t=setTimeout((function(){i.upload.onprogress=i.onload=i.onabort=i.onerror=null,m.abort(),g(n,{errMsg:"uploadFile:fail timeout"})}),f),i.send(o),m._xhr=i)}return Array.isArray(c)&&c.length||(c=[{name:s,file:o,uri:a}]),Promise.all(c.map((function(e){var t=e.file,n=e.uri;return t instanceof Blob?Promise.resolve(Object(i["a"])(t)):Object(i["f"])(n)}))).then(v).catch((function(){setTimeout((function(){g(n,{errMsg:"uploadFile:fail file error"})}),0)})),m}}.call(this,n("0dd1"))},"7df2":function(e,t,n){},"7e6a":function(e,t,n){"use strict";var i=n("515d"),r=n.n(i);r.a},"7f4e":function(e,t,n){"use strict";function i(e){var t=e.phoneNumber;return window.location.href="tel:".concat(t),{errMsg:"makePhoneCall:ok"}}n.r(t),n.d(t,"makePhoneCall",(function(){return i}))},"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.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"}')},"811a":function(e,t,n){"use strict";n.r(t),n.d(t,"connectSocket",(function(){return h})),n.d(t,"sendSocketMessage",(function(){return f})),n.d(t,"closeSocket",(function(){return p})),n.d(t,"onSocketOpen",(function(){return g})),n.d(t,"onSocketError",(function(){return m})),n.d(t,"onSocketMessage",(function(){return v})),n.d(t,"onSocketClose",(function(){return b}));var i=n("a118"),r=n("db70");function o(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]:{},t=e.success,n=e.fail,i=e.complete,r=arguments.length>1?arguments[1]:void 0,o={errMsg:r};/:ok$/.test(r)?"function"===typeof t&&t(o):"function"===typeof n&&n(o),"function"===typeof i&&i(o)}}]),e}(),c=Object.create(null),u=[],d=Object.create(null);function h(e,t){var n=Object(r["c"])("createSocketTask",e),o=n.socketTaskId,a=new l(o);return c[o]=a,u.push(a),setTimeout((function(){Object(i["a"])(t,{errMsg:"connectSocket:ok"})}),0),a}function f(e,t){var n=u[0];if(n&&n.readyState===n.OPEN)return Object(r["c"])("operateSocketTask",Object.assign({},e,{operationType:"send",socketTaskId:n.id}));Object(i["a"])(t,{errMsg:"sendSocketMessage:fail WebSocket is not connected"})}function p(e,t){var n=u[0];if(n)return n.readyState=n.CLOSING,Object(r["c"])("operateSocketTask",Object.assign({},e,{operationType:"close",socketTaskId:n.id}));Object(i["a"])(t,{errMsg:"closeSocket:fail WebSocket is not connected"})}function g(e){d.open=e}function m(e){d.error=e}function v(e){d.message=e}function b(e){d.close=e}Object(r["d"])("onSocketTaskStateChange",(function(e){var t=e.socketTaskId,n=e.state,r=e.data,o=(e.errMsg,c[t]);if(o){if("open"===n&&(o.readyState=o.OPEN),o===u[0]&&d[n]&&Object(i["a"])(d[n],"message"===n?{data:r}:{}),"error"===n||"close"===n){o.readyState=o.CLOSED,delete c[t];var a=u.indexOf(o);a>=0&&u.splice(a,1)}o._callbacks[n].forEach((function(e){"function"===typeof e&&e("message"===n?{data:r}:{})}))}}))},8188:function(e,t,n){"use strict";(function(e){var i=n("8af1"),r=n("18fd"),o=n("b253"),a=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)}var l=!1;t["a"]={name:"Editor",mixins:[i["g"],i["a"],i["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.quill.root.setAttribute("data-placeholder",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(a["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(a["a"])(window.ImageResize,n,(function(){e.initQuill(t)}))}else e.initQuill(t)}))},methods:{_handleSubscribe:function(t){var n,i,r,o=t.type,a=t.data,c=a.options,u=a.callbackId,d=this.quill,h=window.Quill;if(this.quillReady){switch(o){case"format":var f=c.name,p=void 0===f?"":f,g=c.value,m=void 0!==g&&g;i=d.getSelection(!0);var v=d.getFormat(i)[p]||!1;if(["bold","italic","underline","strike","ins"].includes(p))m=!v;else if("direction"===p){m=("rtl"!==m||!v)&&m;var b=d.getFormat(i).align;"rtl"!==m||b?m||"right"!==b||d.format("align",!1,h.sources.USER):d.format("align","right",h.sources.USER)}else if("indent"===p){var y="rtl"===d.getFormat(i).direction;m="+1"===m,y&&(m=!m),m=m?"+1":"-1"}else"list"===p&&(m="check"===m?"unchecked":m,v="checked"===v?"unchecked":v),m=v&&v!==(m||!1)||!v&&m?m:!v;d.format(p,m,h.sources.USER);break;case"insertDivider":i=d.getSelection(!0),d.insertText(i.index,"\n",h.sources.USER),d.insertEmbed(i.index+1,"divider",!0,h.sources.USER),d.setSelection(i.index+2,h.sources.SILENT);break;case"insertImage":i=d.getSelection(!0);var _=c.src,x=void 0===_?"":_,w=c.alt,S=void 0===w?"":w,k=c.width,C=void 0===k?"":k,T=c.height,M=void 0===T?"":T,O=c.extClass,A=void 0===O?"":O,I=c.data,P=void 0===I?{}:I,E=this.$getRealPath(x);d.insertEmbed(i.index,"image",E,h.sources.USER);var D=!!/^(file|blob):/.test(E)&&E;l=!0,d.formatText(i.index,1,"data-local",D),d.formatText(i.index,1,"alt",S),d.formatText(i.index,1,"width",C),d.formatText(i.index,1,"height",M),d.formatText(i.index,1,"class",A),l=!1,d.formatText(i.index,1,"data-custom",Object.keys(P).map((function(e){return"".concat(e,"=").concat(P[e])})).join("&")),d.setSelection(i.index+1,h.sources.SILENT);break;case"insertText":i=d.getSelection(!0);var L=c.text,N=void 0===L?"":L;d.insertText(i.index,N,h.sources.USER),d.setSelection(i.index+N.length,0,h.sources.SILENT);break;case"setContents":var R=c.delta,j=c.html;"object"===s(R)?d.setContents(R,h.sources.SILENT):"string"===typeof j?d.setContents(this.html2delta(j),h.sources.SILENT):r="contents is missing";break;case"getContents":n=this.getContents();break;case"clear":d.setContents([]);break;case"removeFormat":i=d.getSelection(!0);var z=h.import("parchment");i.length?d.removeFormat(i,h.sources.USER):Object.keys(d.getFormat(i)).forEach((function(e){z.query(e,z.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":i=d.selection.savedRange,n={text:""},i&&0!==i.length&&(n.text=d.getText(i.index,i.length));break;case"scrollIntoView":d.scrollIntoView();break;default:break}this.updateStatus(i)}else r="not ready";u&&e.publishHandler("onEditorMethodCallback",{callbackId:u,data:Object.assign({},n,{errMsg:"".concat(o,":").concat(r?"fail "+r:"ok")})},this.$page.id)},initQuill:function(e){var t=this,n=window.Quill;o["a"](n);var i={toolbar:!1,readOnly:this.readOnly,placeholder:this.placeholder,modules:{}};e.length&&(n.register("modules/ImageResize",window.ImageResize.default),i.modules.ImageResize={modules:e});var r=this.quill=new n(this.$el,i),a=r.root,s=["focus","blur","input"];s.forEach((function(e){a.addEventListener(e,(function(n){"input"===e?n.stopPropagation():t.$trigger(e,n,t.getContents())}))})),r.on(n.events.TEXT_CHANGE,(function(){l||t.$trigger("input",{},t.getContents())})),r.on(n.events.SELECTION_CHANGE,this.updateStatus.bind(this)),r.on(n.events.SCROLL_OPTIMIZE,(function(){var e=r.selection.getRange()[0];t.updateStatus(e)})),r.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(a),this.quillReady=!0,this.$trigger("ready",event,{})},getContents:function(){var e=this.quill,t=e.root.innerHTML,n=e.getText(),i=e.getContents();return{html:t,text:n,delta:i}},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"],i="";Object(r["a"])(e,{start:function(e,r,o){if(n.includes(e)){t=!1;var a=r.map((function(e){var t=e.name,n=e.value;return"".concat(t,'="').concat(n,'"')})).join(" "),s="<".concat(e," ").concat(a," ").concat(o?"/":"",">");i+=s}else t=!o},end:function(e){t||(i+=""))},chars:function(e){t||(i+=e)}}),this.skipMatcher=!0;var o=this.quill.clipboard.convert(i);return this.skipMatcher=!1,o},updateStatus:function(e){var t=this,n=e?this.quill.getFormat(e):{},i=Object.keys(n);(i.length!==Object.keys(this.__status||{}).length||i.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 i=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.list,(function(t,i){return n("div",{key:t.isMidButton?i:t.pagePath,staticClass:"uni-tabbar__item",style:t.isMidButton?{flex:"0 0 "+t.width,position:"relative"}:{},on:{click:function(n){return e._switchTab(t,i)}}},[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}},[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.isMidButton?e._e():n("img",{attrs:{src:e._getRealPath(e.selectedIndex===i?t.selectedIconPath:t.iconPath)}}),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===i?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}})])},r=[],o=n("a919"),a=o["a"],s=(n("f4e0"),n("2877")),l=Object(s["a"])(a,i,r,!1,null,null,null),c=l.exports,u=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=[],h=n("7ac7"),f=h["a"],p=(n("639e"),Object(s["a"])(f,u,d,!1,null,null,null)),g=p.exports,m=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)},v=[],b=n("5222"),y=b["a"],_=(n("ff28"),Object(s["a"])(y,m,v,!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(),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){return e._close("confirm")}}})],1)],1)},S=[],k=n("5a56"),C=n("da71"),T={name:"Modal",components:{keypress:C["a"]},mixins:[k["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}},methods:{_close:function(e){this.$emit("close",e)}}},M=T,O=(n("2765"),Object(s["a"])(M,w,S,!1,null,null,null)),A=O.exports,I=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,i){return n("div",{key:i,staticClass:"uni-actionsheet__cell",style:{color:e.itemColor},on:{click:function(t){return e._close(i)}}},[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)},P=[],E=n("4ccd"),D=n("a6b0"),L=n("ba15"),N=n("8aec"),R=n("5363"),j=n("72b3"),z=n("d4cd");function $(e){var t=20,n=0,i=0;e.addEventListener("touchstart",(function(e){var t=e.changedTouches[0];n=t.clientX,i=t.clientY})),e.addEventListener("touchend",(function(e){var r=e.changedTouches[0];if(Math.abs(r.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()}}},F=B,V=(n("4fef"),Object(s["a"])(F,I,P,!1,null,null,null)),H=V.exports,W={Toast:x,Modal:A,ActionSheet:H};function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function U(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 h}));var i=n("f2b3"),r=n("a118"),o=n("db70");function a(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],o+=e[(3&i[n])<<4|i[n+1]>>4],o+=e[(15&i[n+1])<<2|i[n+2]>>6],o+=e[63&i[n+2]];return r%3===2?o=o.substring(0,o.length-1)+"=":r%3===1&&(o=o.substring(0,o.length-2)+"=="),o},t.decode=function(e){var t,i,r,o,a,s=.75*e.length,l=e.length,c=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var u=new ArrayBuffer(s),d=new Uint8Array(u);for(t=0;t>4,d[c++]=(15&r)<<4|o>>2,d[c++]=(3&o)<<6|63&a;return u}})()},"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){var t=this;e._hoverPropagationStopped||this.hoverClass&&"none"!==this.hoverClass&&!this.disabled&&(e.touches.length>1||(this.hoverStopPropagation&&(e._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((function(){t.hovering=!0,t._hoverTouch||t._hoverReset()}),this.hoverStartTime)))},_hoverTouchEnd:function(e){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(e){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"84e0":function(e,t,n){"use strict";n.r(t),function(e){function i(t){var n=getCurrentPages();return n.length&&e.publishHandler("pageScrollTo",t,n[n.length-1].$page.id),{}}n.d(t,"pageScrollTo",(function(){return i}))}.call(this,n("0dd1"))},8542:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return _})),n.d(t,"e",(function(){return C})),n.d(t,"b",(function(){return M})),n.d(t,"c",(function(){return O}));var i=n("f2b3");function r(e){return l(e)||s(e)||a(e)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"===typeof e)return c(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)?c(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 c(e)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(e[n])){var r=t[n];t[n]=function(t){S(e[n],t).then((function(e){return Object(i["k"])(r)&&r(e)||e}))}}})),t}function C(e,t){var n=[];Array.isArray(h.returnValue)&&n.push.apply(n,r(h.returnValue));var i=f[e];return i&&Array.isArray(i.returnValue)&&n.push.apply(n,r(i.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function T(e){var t=Object.create(null);Object.keys(h).forEach((function(e){"returnValue"!==e&&(t[e]=h[e].slice())}));var n=f[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function M(e,t,n){for(var i=arguments.length,r=new Array(i>3?i-3:0),o=3;o0&&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),i=n.length;if(i)for(var r=0;rt-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}},c.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}},c.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}},c.prototype.dt=function(){return-this._x_v/this._x_a},c.prototype.done=function(){var e=a(this.s().x,this._endPositionX)||a(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},c.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},c.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},u.prototype._solve=function(e,t){var n=this._c,i=this._m,r=this._k,o=n*n-4*i*r;if(0===o){var a=-n/(2*i),s=e,l=t/(a*e);return{x:function(e){return(s+l*e)*Math.pow(Math.E,a*e)},dx:function(e){var t=Math.pow(Math.E,a*e);return a*(s+l*e)*t+l*t}}}if(o>0){var c=(-n-Math.sqrt(o))/(2*i),u=(-n+Math.sqrt(o))/(2*i),d=(t-c*e)/(u-c),h=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,c*e)),n||(n=this._powER2T=Math.pow(Math.E,u*e)),h*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,c*e)),n||(n=this._powER2T=Math.pow(Math.E,u*e)),h*c*t+d*u*n}}}var f=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,g=e,m=(t-p*e)/f;return{x:function(e){return Math.pow(Math.E,p*e)*(g*Math.cos(f*e)+m*Math.sin(f*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(f*e),i=Math.sin(f*e);return t*(m*f*n-g*f*i)+p*t*(m*i+g*n)}}},u.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},u.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},u.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!s(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(s(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),s(t,.1)&&(t=0),s(i,.1)&&(i=0),i+=this._endPosition),this._solution&&s(i-e,.1)&&s(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=n)}},u.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},u.prototype.done=function(e){return e||(e=(new Date).getTime()),a(this.x(),this._endPosition,.1)&&s(this.dx(),.1)},u.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())},u.prototype.springConstant=function(){return this._k},u.prototype.damping=function(){return this._c},u.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,i){var r=(new Date).getTime();this._springX.setEnd(e,i,r),this._springY.setEnd(t,i,r),this._springScale.setEnd(n,i,r),this._startTime=r},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 h=n("d4cd"),f=!1;function p(e){f||(f=!0,requestAnimationFrame((function(){e(),f=!1})))}function g(e,t){if(e===t)return 0;var n=e.offsetLeft;return e.offsetParent?n+=g(e.offsetParent,t):0}function m(e,t){if(e===t)return 0;var n=e.offsetTop;return e.offsetParent?n+=m(e.offsetParent,t):0}function v(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function b(e,t,n){var i=function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)},r={id:0,cancelled:!1};function o(t,n,i,r){if(!t||!t.cancelled){i(n);var a=e.done();a||t.cancelled||(t.id=requestAnimationFrame(o.bind(null,t,n,i,r))),a&&r&&r(n)}}return o(r,e,t,n),{cancel:i.bind(null,r),model:e}}var y={name:"MovableView",mixins:[o["a"]],props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},data:function(){return{xSync:this._getPx(this.x),ySync:this._getPx(this.y),scaleValueSync:Number(this.scaleValue)||1,width:0,height:0,minX:0,minY:0,maxX:0,maxY:0}},computed:{dampingNumber:function(){var 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)},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 c(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(h["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(h["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,i=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&&(i=e.detail.dy+this.__baseY,this.__touchInfo.historyY.shift(),this.__touchInfo.historyY.push(i),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 r="touch";nthis.maxX&&(this.outOfBounds?(r="touch-out-of-bounds",n=this.maxX+this._declineX.x(n-this.maxX)):n=this.maxX),ithis.maxY&&(this.outOfBounds?(r="touch-out-of-bounds",i=this.maxY+this._declineY.x(i-this.maxY)):i=this.maxY),p((function(){t._setTransform(n,i,t._scale,r)}))}}},__handleTouchEnd:function(){var e=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(Object(h["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 i=this._friction.delta().x,r=this._friction.delta().y,o=i+this._translateX,a=r+this._translateY;othis.maxX&&(o=this.maxX,a=this._translateY+(this.maxX-this._translateX)*r/i),athis.maxY&&(a=this.maxY,o=this._translateX+(this.maxY-this._translateY)*i/r),this._friction.setEnd(o,a),this._FA=b(this._friction,(function(){var t=e._friction.s(),n=t.x,i=t.y;e._setTransform(n,i,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]:"",r=arguments.length>4?arguments[4]:void 0,o=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||r||this.$trigger("change",{},{x:v(e,this._scaleOffset.x),y:v(t,this._scaleOffset.y),source:i}),this.scale||(n=this._scale),n=this._adjustScale(n),n=+n.toFixed(3),o&&n!==this._scale&&this.$trigger("scale",{},{x:e,y:t,scale:n});var a="translateX("+e+"px) translateY("+t+"px) translateZ(0px) scale("+n+")";this.$el.style.transform=a,this.$el.style.webkitTransform=a,this._translateX=e,this._translateY=t,this._scale=n}}},_=y,x=(n("7c2b"),n("2877")),w=Object(x["a"])(_,i,r,!1,null,null,null);t["default"]=w.exports},8875:function(e,t,n){var i,r,o;(function(n,a){r=[],i=a,o="function"===typeof i?i.apply(t,r):i,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(d){var e,t,n,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,r=/@([^@]*):(\d+):(\d+)\s*$/gi,o=i.exec(d.stack)||r.exec(d.stack),a=o&&o[1]||!1,s=o&&o[2]||!1,l=document.location.href.replace(document.location.hash,""),c=document.getElementsByTagName("script");a===l&&(e=document.documentElement.outerHTML,t=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*