(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00bb":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={swiper:{list:function(){return[]},indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1}};t.default=r},"00ee":function(e,t,n){var r=n("b622"),i=r("toStringTag"),a={};a[i]="z",e.exports="[object z]"===String(a)},"017f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=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,r){e.x=t.x+n.x*r,e.y=t.y+n.y*r},e.lerp=function(e,t,n,r){var i=1-r;e.x=i*t.x+r*n.x,e.y=i*t.y+r*n.y},e}(),i=r;t.default=i},"01a2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n("8292");function i(e,t){if(!e)return!1;for(var n=(0,r.isArray)(e)?e:[e],i=0;i0)for(u=0;uMath.abs(u),d=h([l,u],c?0:1,t),f=(c?s:u)/d.length,p=0;pi,o=h([r,i],a?0:1,t),s=a?"width":"height",l=a?"height":"width",u=a?"x":"y",c=a?"y":"x",d=e[s]/o.length,f=0;f1?null:new o.default(y*u+e,y*c+t)}function m(e,t,n){var r=new o.default;o.default.sub(r,n,t),r.normalize();var i=new o.default;o.default.sub(i,e,t);var a=i.dot(r);return a}function b(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function _(e,t,n){for(var r=e.length,i=[],a=0;au?(f.x=h.x=c+l/2,f.y=d,h.y=d+u):(f.y=h.y=d+u/2,f.x=c,h.x=c+l),_(t,f,h)}function w(e,t,n,r){if(1===n)r.push(t);else{var i=Math.floor(n/2),a=e(t);w(e,a[0],i,r),w(e,a[1],n-i,r)}return r}function S(e,t){for(var n=[],r=0;r=0;a--)if(r[a]<=t)break;a=Math.min(a,i-2)}else{for(a=o;at)break;a=Math.min(a-1,i-2)}var l=(t-r[a])/(r[a+1]-r[a]),u=n[a],c=n[a+1];e.x=u[0]*(1-l)+l*c[0],e.y=u[1]*(1-l)+l*c[1];var d=e.__t<1?c[0]-u[0]:u[0]-c[0],f=e.__t<1?c[1]-u[1]:u[1]-c[1];e.rotation=-Math.atan2(f,d)-Math.PI/2,this._lastFrame=a,this._lastFramePercent=t,e.ignore=!1}},t}(s.default),c=u;t.default=c},"0245":function(e,t,n){"use strict";var r=n("dbce"),i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.extendComponentModel=k,t.extendComponentView=I,t.extendSeriesModel=P,t.extendChartView=E,Object.defineProperty(t,"ComponentModel",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"ComponentView",{enumerable:!0,get:function(){return o.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 u.default}}),Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return g.throttle}}),Object.defineProperty(t,"use",{enumerable:!0,get:function(){return y.use}}),Object.defineProperty(t,"setPlatformAPI",{enumerable:!0,get:function(){return m.setPlatformAPI}}),Object.defineProperty(t,"parseGeoJSON",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"parseGeoJson",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"env",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"Model",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"Axis",{enumerable:!0,get:function(){return C.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 a=i(n("3bf3")),o=i(n("dba8")),s=i(n("84d1")),l=i(n("b3cb")),u=i(n("c771")),c=r(n("a702"));t.zrender=c;var d=r(n("78db"));t.matrix=d;var f=r(n("6ad7"));t.vector=f;var h=r(n("8292"));t.zrUtil=h;var p=r(n("a907"));t.color=p;var g=n("550b"),v=r(n("cf24"));t.helper=v;var y=n("c665"),m=n("c3ac"),b=i(n("bd26")),_=r(n("18f1"));t.number=_;var x=r(n("a9b8"));t.time=x;var w=r(n("5107"));t.graphic=w;var S=r(n("dde3"));t.format=S;var M=r(n("4609"));t.util=M;var T=i(n("f02d")),A=i(n("7fc3")),C=i(n("55c8")),O=n("84f1");function k(e){var t=a.default.extend(e);return a.default.registerClass(t),t}function I(e){var t=o.default.extend(e);return o.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}},"025a":function(e,t,n){"use strict";var r=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.init=a,t.firstWalk=o,t.secondWalk=s,t.separation=l,t.radialCoordinate=u,t.getViewRect=c;var i=r(n("445d"));function a(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var n,r,i=[t];while(n=i.pop())if(r=n.children,n.isExpand&&r.length)for(var a=r.length,o=a-1;o>=0;o--){var s=r[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(s)}}function o(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){d(e);var a=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-a):e.hierNode.prelim=a}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=f(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function s(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function l(e){return arguments.length?e:y}function u(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function c(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function d(e){var t=e.children,n=t.length,r=0,i=0;while(--n>=0){var a=t[n];a.hierNode.prelim+=r,a.hierNode.modifier+=r,i+=a.hierNode.change,r+=a.hierNode.shift+i}}function f(e,t,n,r){if(t){var i=e,a=e,o=a.parentNode.children[0],s=t,l=i.hierNode.modifier,u=a.hierNode.modifier,c=o.hierNode.modifier,d=s.hierNode.modifier;while(s=h(s),a=p(a),s&&a){i=h(i),o=p(o),i.hierNode.ancestor=e;var f=s.hierNode.prelim+d-a.hierNode.prelim-u+r(s,a);f>0&&(v(g(s,e,n),e,f),u+=f,l+=f),d+=s.hierNode.modifier,u+=a.hierNode.modifier,l+=i.hierNode.modifier,c+=o.hierNode.modifier}s&&!h(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=d-l),a&&!p(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=u-c,n=e)}return n}function h(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function p(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function g(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function v(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function y(e,t){return e.parentNode===t.parentNode?1:2}},"0260":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.install=s;var i=r(n("053a")),a=r(n("bfd1")),o=r(n("7e85"));function s(e){e.registerComponentModel(i.default),e.registerComponentView(a.default),e.registerCoordinateSystem("calendar",o.default)}},"0366":function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(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,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"0398":function(e,t,n){"use strict";var r=n("dbce"),i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PolygonShape=void 0;var a=n("9ab4"),o=i(n("40ca")),s=r(n("8f28")),l=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}();t.PolygonShape=l;var u=function(e){function t(t){return e.call(this,t)||this}return(0,a.__extends)(t,e),t.prototype.getDefaultShape=function(){return new l},t.prototype.buildPath=function(e,t){s.buildPath(e,t,!0)},t}(o.default);u.prototype.type="polygon";var c=u;t.default=c},"03ce":function(e,t,n){"use strict";n("4de4"),n("fb6a"),n("a434"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"===typeof t&&(r=n,n=t,t=null),!n||!e)return this;var a=this._$eventProcessor;null!=t&&a&&a.normalizeQuery&&(t=a.normalizeQuery(t)),i[e]||(i[e]=[]);for(var o=0;o1e4)return{update:!0};var i=(0,s.default)("").reset(e,t,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(r)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},t.prototype._updateSymbolDraw=function(e,t){var n=this._symbolDraw,r=t.pipelineContext,i=r.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new o.default:new a.default,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(l.default),c=u;t.default=c},"0681":function(e,t,n){"use strict";var r=n("4ea4");n("c975"),n("ac1f"),n("1276"),Object.defineProperty(t,"__esModule",{value:!0}),t.clientToLocal=c,t.getNativeEvent=f,t.normalizeEvent=h,t.addEventListener=g,t.removeEventListener=v,t.isMiddleOrRightButtonOnMouseUpDown=m,Object.defineProperty(t,"Dispatcher",{enumerable:!0,get:function(){return i.default}}),t.stop=void 0;var i=r(n("03ce")),a=r(n("f02d")),o=n("e324"),s=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,l=[],u=a.default.browser.firefox&&+a.default.browser.version.split(".")[0]<39;function c(e,t,n,r){return n=n||{},r?d(e,t,n):u&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):d(e,t,n),n}function d(e,t,n){if(a.default.domSupported&&e.getBoundingClientRect){var r=t.clientX,i=t.clientY;if((0,o.isCanvasEl)(e)){var s=e.getBoundingClientRect();return n.zrX=r-s.left,void(n.zrY=i-s.top)}if((0,o.transformCoordWithViewport)(l,e,r,i))return n.zrX=l[0],void(n.zrY=l[1])}n.zrX=n.zrY=0}function f(e){return e||window.event}function h(e,t,n){if(t=f(t),null!=t.zrX)return t;var r=t.type,i=r&&r.indexOf("touch")>=0;if(i){var a="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];a&&c(e,a,t,n)}else{c(e,t,t,n);var o=p(t);t.zrDelta=o?o/120:-(t.detail||0)/3}var l=t.button;return null==t.which&&void 0!==l&&s.test(t.type)&&(t.which=1&l?1:2&l?3:4&l?2:0),t}function p(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(null==n||null==r)return t;var i=0!==r?Math.abs(r):Math.abs(n),a=r>0?-1:r<0?1:n>0?-1:1;return 3*i*a}function g(e,t,n,r){e.addEventListener(t,n,r)}function v(e,t,n,r){e.removeEventListener(t,n,r)}var y=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function m(e){return 2===e.which||3===e.which}t.stop=y},"06a9":function(e,t,n){"use strict";var r=n("4ea4"),i=n("dbce");n("fb6a"),n("a434"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("9ab4"),o=i(n("8292")),s=n("63f6"),l=r(n("03ce")),u=n("3f19"),c=n("84f1"),d=r(n("5259")),f=n("a2a0"),h=n("c3ac");function p(e,t,n){var r=h.platformApi.createCanvas(),i=t.getWidth(),a=t.getHeight(),o=r.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=a+"px",r.setAttribute("data-zr-dom-id",e)),r.width=i*n,r.height=a*n,r}var g=function(e){function t(t,n,r){var i,a=e.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null,r=r||s.devicePixelRatio,"string"===typeof t?i=p(t,n,r):o.isObject(t)&&(i=t,t=i.id),a.id=t,a.dom=i;var l=i.style;return l&&(o.disableUserSelect(i),i.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),a.painter=n,a.dpr=r,a}return(0,a.__extends)(t,e),t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=p("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,t,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,a=[],o=this.maxRepaintRectCount,s=!1,l=new d.default(0,0,0,0);function u(e){if(e.isFinite()&&!e.isZero())if(0===a.length){var t=new d.default(0,0,0,0);t.copy(e),a.push(t)}else{for(var n=!1,r=1/0,i=0,u=0;u=o)}}for(var c=this.__startIndex;c=0;w--){var S=_[w],M=S.node,T=S.width,A=S.text;b>m.width&&(b-=T-p,T=p,A=null);var C=new i.Polygon({shape:{points:v(f,0,T,g,w===_.length-1,0===w)},style:(0,l.defaults)(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new i.Text({style:(0,d.createTextStyle)(a,{text:A})}),textConfig:{position:"inside"},z2:1e4*c.Z2_EMPHASIS_LIFT,onclick:(0,l.curry)(u,M)});C.disableLabelAnimation=!0,C.getTextContent().ensureState("emphasis").style=(0,d.createTextStyle)(s,{text:A}),C.ensureState("emphasis").style=x,(0,c.toggleHoverEmphasis)(C,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(C),y(C,e,M),f+=T+h}},e.prototype.remove=function(){this.group.removeAll()},e}();function v(e,t,n,r,i,a){var o=[[i?e:e-p,t],[e+n,t],[e+n,t+r],[i?e:e-p,t+r]];return!a&&o.splice(2,0,[e+n+p,t+r/2]),!i&&o.push([e,t+r/2]),o}function y(e,t,n){(0,a.getECData)(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&(0,s.wrapTreePathInfo)(n,t)}}var m=g;t.default=m},"0751":function(e,t,n){"use strict";var r=n("4ea4"),i=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n("5c1a")),o=r(n("a49a")),s=n("429c"),l=function(){function e(e){this.group=new a.Group,this._LineCtor=e||o.default}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var n=this,r=n.group,i=n._lineData;n._lineData=e,i||r.removeAll();var a=c(e);e.diff(i).add((function(n){t._doAdd(e,n,a)})).update((function(n,r){t._doUpdate(i,e,r,n,a)})).remove((function(e){r.remove(i.getItemGraphicEl(e))})).execute()},e.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=c(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t){function n(e){e.isGroup||u(e)||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=e.start;r0}function c(e){var t=e.hostModel,n=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:(0,s.getLabelStatesModels)(t)}}function d(e){return isNaN(e[0])||isNaN(e[1])}function f(e){return e&&!d(e[0])&&!d(e[1])}var h=l;t.default=h},"07ac":function(e,t,n){var r=n("23e7"),i=n("6f53").values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},"07c1":function(e,t,n){"use strict";function r(e,t){return e.type===t}Object.defineProperty(t,"__esModule",{value:!0}),t.isCoordinateSystemType=r},"07e0":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RingShape=void 0;var i=n("9ab4"),a=r(n("40ca")),o=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}();t.RingShape=o;var s=function(e){function t(t){return e.call(this,t)||this}return(0,i.__extends)(t,e),t.prototype.getDefaultShape=function(){return new o},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=2*Math.PI;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,i,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,i,!0)},t}(a.default);s.prototype.type="ring";var l=s;t.default=l},"0819":function(e,t,n){"use strict";var r=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("9ab4"),a=r(n("2f9d")),o=r(n("67f9")),s=n("593b"),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.__extends)(t,e),t.prototype.onclick=function(e,t){o.clear(e),t.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){var t={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])};return t},t}(s.ToolboxFeature);a.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var u=l;t.default=u},"085e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={row:{gutter:0,justify:"start",align:"center"}};t.default=r},"08a5":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.cartesian2DDimensions=void 0;var i=n("9ab4"),a=r(n("5259")),o=r(n("f247")),s=n("78db"),l=n("6ad7"),u=["x","y"];function c(e){return"interval"===e.type||"time"===e.type}t.cartesian2DDimensions=u;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=u,t}return(0,i.__extends)(t,e),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,t=this.getAxis("y").scale;if(c(e)&&c(t)){var n=e.getExtent(),r=t.getExtent(),i=this.dataToPoint([n[0],r[0]]),a=this.dataToPoint([n[1],r[1]]),o=n[1]-n[0],l=r[1]-r[0];if(o&&l){var u=(a[0]-i[0])/o,d=(a[1]-i[1])/l,f=i[0]-n[0]*u,h=i[1]-r[0]*d,p=this._transform=[u,0,0,d,f,h];this._invTransform=(0,s.invert)([],p)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,t){var n=this.dataToPoint(e),r=this.dataToPoint(t),i=this.getArea(),o=new a.default(n[0],n[1],r[0]-n[0],r[1]-n[1]);return i.intersect(o)},t.prototype.dataToPoint=function(e,t,n){n=n||[];var r=e[0],i=e[1];if(this._transform&&null!=r&&isFinite(r)&&null!=i&&isFinite(i))return(0,l.applyTransform)(n,e,this._transform);var a=this.getAxis("x"),o=this.getAxis("y");return n[0]=a.toGlobalCoord(a.dataToCoord(r,t)),n[1]=o.toGlobalCoord(o.dataToCoord(i,t)),n},t.prototype.clampData=function(e,t){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),a=r.getExtent(),o=n.parse(e[0]),s=r.parse(e[1]);return t=t||[],t[0]=Math.min(Math.max(Math.min(i[0],i[1]),o),Math.max(i[0],i[1])),t[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),t},t.prototype.pointToData=function(e,t){var n=[];if(this._invTransform)return(0,l.applyTransform)(n,e,this._invTransform);var r=this.getAxis("x"),i=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(e[0]),t),n[1]=i.coordToData(i.toLocalCoord(e[1]),t),n},t.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},t.prototype.getArea=function(){var e=this.getAxis("x").getGlobalExtent(),t=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1]),r=Math.min(t[0],t[1]),i=Math.max(e[0],e[1])-n,o=Math.max(t[0],t[1])-r;return new a.default(n,r,i,o)},t}(o.default),f=d;t.default=f},"094f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""}};t.default=r},"096b":function(e,t,n){"use strict";var r=n("4ea4"),i=n("dbce");n("cb29"),n("c975"),n("d81d"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("9ab4"),o=i(n("8292")),s=r(n("8fae")),l=r(n("84d1")),u=r(n("3ad7")),c=n("640d"),d=n("2d10"),f=n("10e5"),h=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,r=n.getRegion(t);return r&&n.dataToPoint(r.getCenter())}},n}return(0,a.__extends)(t,e),t.prototype.getInitialData=function(e){for(var t=(0,s.default)(this,{coordDimensions:["value"],encodeDefaulter:o.curry(c.makeSeriesEncodeForNameBased,this)}),n=o.createHashMap(),r=[],i=0,a=t.count();i-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(l.default),p=h;t.default=p},"097e":function(e,t,n){"use strict";function r(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function i(e,t,n,i){var a=e.getZoom(),o=e.getCenter(),s=t.zoom,l=e.projectedToPoint?e.projectedToPoint(o):e.dataToPoint(o);if(null!=t.dx&&null!=t.dy&&(l[0]-=t.dx,l[1]-=t.dy,e.setCenter(r(e,l),i)),null!=s){if(n){var u=n.min||0,c=n.max||1/0;s=Math.max(Math.min(a*s,c),u)/a}e.scaleX*=s,e.scaleY*=s;var d=(t.originX-e.x)*(s-1),f=(t.originY-e.y)*(s-1);e.x-=d,e.y-=f,e.updateTransform(),e.setCenter(r(e,l),i),e.setZoom(s*a)}return{center:e.getCenter(),zoom:e.getZoom()}}Object.defineProperty(t,"__esModule",{value:!0}),t.updateCenterAndZoom=i},"09f0":function(e,t,n){"use strict";function r(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0)if(n.push(o.value),t&&n.length===t)break}catch(l){i=!0,a=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw a}}return n}}n("a4d3"),n("e01a"),n("d28b"),n("d3b7"),n("3ca3"),n("ddb0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"0a96":function(e,t,n){"use strict";var r=n("4ea4"),i=n("dbce");n("fb6a"),n("a434"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("63f6"),o=i(n("8292")),s=r(n("06a9")),l=r(n("6268")),u=r(n("f02d")),c=n("84f1"),d=n("a2a0"),f=n("3f19"),h=1e5,p=314159,g=.01,v=.001;function y(e){return!!e&&(!!e.__builtin__||"function"===typeof e.resize&&"function"===typeof e.refresh)}function m(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var b=function(){function e(e,t,n,r){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=o.extend({},n||{}),this.dpr=n.devicePixelRatio||a.devicePixelRatio,this._singleCanvas=i,this.root=e;var l=e.style;l&&(o.disableUserSelect(e),e.innerHTML=""),this.storage=t;var u=this._zlevelList;this._prevDisplayList=[];var c=this._layers;if(i){var d=e,h=d.width,g=d.height;null!=n.width&&(h=n.width),null!=n.height&&(g=n.height),this.dpr=n.devicePixelRatio||1,d.width=h*this.dpr,d.height=g*this.dpr,this._width=h,this._height=g;var v=new s.default(d,this,this.dpr);v.__builtin__=!0,v.initContext(),c[p]=v,v.zlevel=p,u.push(p),this._domRoot=e}else{this._width=(0,f.getSize)(e,0,n),this._height=(0,f.getSize)(e,1,n);var y=this._domRoot=m(this._width,this._height);e.appendChild(y)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.refresh=function(e){var t=this.storage.getDisplayList(!0),n=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,n,e,this._redrawId);for(var i=0;i15)break}}n.prevElClipPaths&&u.restore()};if(c)if(0===c.length)s=l.__endIndex;else for(var _=p.dpr,x=0;x0&&e>r[0]){for(s=0;se)break;o=n[r[s]]}if(r.splice(s+1,0,e),n[e]=t,!t.virtual)if(o){var l=o.dom;l.nextSibling?a.insertBefore(t.dom,l.nextSibling):a.appendChild(t.dom)}else a.firstChild?a.insertBefore(t.dom,a.firstChild):a.appendChild(t.dom);t.__painter=this}},e.prototype.eachLayer=function(e,t){for(var n=this._zlevelList,r=0;r0?g:0),this._needsManuallyCompositing),c.__builtin__||o.logError("ZLevel "+u+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==a&&(c.__dirty=!0),c.__startIndex=a,c.incremental?c.__drawIndex=-1:c.__drawIndex=a,t(a),s=c),r.__dirty&d.REDRAW_BIT&&!r.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=a))}t(a),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(e){e.clear()},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e,o.each(this._layers,(function(e){e.setUnpainted()}))},e.prototype.configLayer=function(e,t){if(t){var n=this._layerConfig;n[e]?o.merge(n[e],t,!0):n[e]=t;for(var r=0;rr?t:e,a=Math.min(n,r),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;so;if(s)r.length=o;else for(var l=a;l=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(e,t,n){this._needsSort=!0;var r=this.keyframes,i=r.length,a=!1,d=O,f=t;if((0,s.isArrayLike)(t)){var h=x(t);d=h,(1===h&&!(0,s.isNumber)(t[0])||2===h&&!(0,s.isNumber)(t[0][0]))&&(a=!0)}else if((0,s.isNumber)(t)&&!(0,s.eqNaN)(t))d=w;else if((0,s.isString)(t))if(isNaN(+t)){var p=o.parse(t);p&&(f=p,d=T)}else d=w;else if((0,s.isGradientObject)(t)){var g=(0,s.extend)({},f);g.colorStops=(0,s.map)(t.colorStops,(function(e){return{offset:e.offset,color:o.parse(e.color)}})),(0,c.isLinearGradient)(t)?d=A:(0,c.isRadialGradient)(t)&&(d=C),f=g}0===i?this.valType=d:d===this.valType&&d!==O||(a=!0),this.discrete=this.discrete||a;var v={time:e,value:f,rawValue:t,percent:0};return n&&(v.easing=n,v.easingFunc=(0,s.isFunction)(n)?n:l.default[n]||(0,u.createCubicEasingFunc)(n)),r.push(v),v},e.prototype.prepare=function(e,t){var n=this.keyframes;this._needsSort&&n.sort((function(e,t){return e.time-t.time}));for(var r=this.valType,i=n.length,a=n[i-1],o=this.discrete,s=I(r),l=k(r),u=0;u=0;n--)if(u[n].percent<=t)break;n=y(n,c-2)}else{for(n=v;nt)break;n=y(n-1,c-2)}i=u[n+1],r=u[n]}if(r&&i){this._lastFr=n,this._lastFrP=t;var b=i.percent-r.percent,x=0===b?1:y((t-r.percent)/b,1);i.easingFunc&&(x=i.easingFunc(x));var w=a?this._additiveValue:g?P:e[d];if(!I(l)&&!g||w||(w=this._additiveValue=[]),this.discrete)e[d]=x<1?r.rawValue:i.rawValue;else if(I(l))l===S?h(w,r[o],i[o],x):p(w,r[o],i[o],x);else if(k(l)){var M=r[o],C=i[o],O=l===A;e[d]={type:O?"linear":"radial",x:f(M.x,C.x,x),y:f(M.y,C.y,x),colorStops:(0,s.map)(M.colorStops,(function(e,t){var n=C.colorStops[t];return{offset:f(e.offset,n.offset,x),color:_(h([],e.color,n.color,x))}})),global:C.global},O?(e[d].x2=f(M.x2,C.x2,x),e[d].y2=f(M.y2,C.y2,x)):e[d].r=f(M.r,C.r,x)}else if(g)h(w,r[o],i[o],x),a||(e[d]=_(w));else{var E=f(r[o],i[o],x);a?this._additiveValue=E:e[d]=E}a&&this._addToTarget(e)}}},e.prototype._addToTarget=function(e){var t=this.valType,n=this.propName,r=this._additiveValue;t===w?e[n]=e[n]+r:t===T?(o.parse(e[n],P),g(P,P,r,1),e[n]=_(P)):t===S?g(e[n],e[n],r,1):t===M&&v(e[n],e[n],r,1)},e}(),L=function(){function e(e,t,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&r?(0,s.logError)("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(e){this._target=e},e.prototype.when=function(e,t,n){return this.whenWithKeys(e,t,(0,s.keys)(t),n)},e.prototype.whenWithKeys=function(e,t,n,r){for(var i=this._tracks,a=0;a0&&s.addKeyframe(0,b(l),r),this._trackKeys.push(o)}s.addKeyframe(e,b(t[o]),r)}return this._maxTime=Math.max(this._maxTime,e),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,n=0;n0)){this._started=1;for(var t=this,n=[],r=this._maxTime||0,i=0;i1){var o=a.pop();i.addKeyframe(o.time,e[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e}(),D=L;t.default=D},"0c3a":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("9ab4"),a=r(n("84d1")),o=r(n("63e6")),s=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.__extends)(t,e),t.prototype.getInitialData=function(e,t){return(0,o.default)(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e){var t=this.coordinateSystem;if(t&&t.clampData){var n=t.dataToPoint(t.clampData(e)),r=this.getData(),i=r.getLayout("offset"),a=r.getLayout("size"),o=t.getBaseAxis().isHorizontal()?0:1;return n[o]+=i+a/2,n}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(a.default);a.default.registerClass(s);var l=s;t.default=l},"0c47":function(e,t,n){var r=n("da84"),i=n("d44e");i(r.JSON,"JSON",!0)},"0c7f":function(e,t,n){"use strict";n("99af"),Object.defineProperty(t,"__esModule",{value:!0}),t.buildPath=m;var r=n("8292"),i=Math.PI,a=2*i,o=Math.sin,s=Math.cos,l=Math.acos,u=Math.atan2,c=Math.abs,d=Math.sqrt,f=Math.max,h=Math.min,p=1e-4;function g(e,t,n,r,i,a,o,s){var l=n-e,u=r-t,c=o-i,d=s-a,f=d*l-c*u;if(!(f*fE*E+L*L&&(A=O,C=k),{cx:A,cy:C,x0:-c,y0:-h,x1:A*(i/S-1),y1:C*(i/S-1)}}function y(e){var t;if((0,r.isArray)(e)){var n=e.length;if(!n)return e;t=1===n?[e[0],e[0],0,0]:2===n?[e[0],e[0],e[1],e[1]]:3===n?e.concat(e[2]):e}else t=[e,e,e,e];return t}function m(e,t){var n,r=f(t.r,0),m=f(t.r0||0,0),b=r>0,_=m>0;if(b||_){if(b||(r=m,m=0),m>r){var x=r;r=m,m=x}var w=t.startAngle,S=t.endAngle;if(!isNaN(w)&&!isNaN(S)){var M=t.cx,T=t.cy,A=!!t.clockwise,C=c(S-w),O=C>a&&C%a;if(O>p&&(C=O),r>p)if(C>a-p)e.moveTo(M+r*s(w),T+r*o(w)),e.arc(M,T,r,w,S,!A),m>p&&(e.moveTo(M+m*s(S),T+m*o(S)),e.arc(M,T,m,S,w,A));else{var k=void 0,I=void 0,P=void 0,E=void 0,L=void 0,D=void 0,R=void 0,N=void 0,j=void 0,B=void 0,F=void 0,z=void 0,V=void 0,H=void 0,W=void 0,G=void 0,U=r*s(w),Y=r*o(w),$=m*s(S),q=m*o(S),X=C>p;if(X){var Q=t.cornerRadius;Q&&(n=y(Q),k=n[0],I=n[1],P=n[2],E=n[3]);var Z=c(r-m)/2;if(L=h(Z,P),D=h(Z,E),R=h(Z,k),N=h(Z,I),F=j=f(L,D),z=B=f(R,N),(j>p||B>p)&&(V=r*s(S),H=r*o(S),W=m*s(w),G=m*o(w),Cp){var ae=h(P,F),oe=h(E,F),se=v(W,G,U,Y,r,ae,A),le=v(V,H,$,q,r,oe,A);e.moveTo(M+se.cx+se.x0,T+se.cy+se.y0),F0&&e.arc(M+se.cx,T+se.cy,ae,u(se.y0,se.x0),u(se.y1,se.x1),!A),e.arc(M,T,r,u(se.cy+se.y1,se.cx+se.x1),u(le.cy+le.y1,le.cx+le.x1),!A),oe>0&&e.arc(M+le.cx,T+le.cy,oe,u(le.y1,le.x1),u(le.y0,le.x0),!A))}else e.moveTo(M+U,T+Y),e.arc(M,T,r,w,S,!A);else e.moveTo(M+U,T+Y);if(m>p&&X)if(z>p){ae=h(k,z),oe=h(I,z),se=v($,q,V,H,m,-oe,A),le=v(U,Y,W,G,m,-ae,A);e.lineTo(M+se.cx+se.x0,T+se.cy+se.y0),z0&&e.arc(M+se.cx,T+se.cy,oe,u(se.y0,se.x0),u(se.y1,se.x1),!A),e.arc(M,T,m,u(se.cy+se.y1,se.cx+se.x1),u(le.cy+le.y1,le.cx+le.x1),A),ae>0&&e.arc(M+le.cx,T+le.cy,ae,u(le.y1,le.x1),u(le.y0,le.x0),!A))}else e.lineTo(M+$,T+q),e.arc(M,T,m,S,w,A);else e.lineTo(M+$,T+q)}else e.moveTo(M,T);e.closePath()}}}},"0ccb":function(e,t,n){var r=n("50c4"),i=n("1148"),a=n("1d80"),o=Math.ceil,s=function(e){return function(t,n,s){var l,u,c=String(a(t)),d=c.length,f=void 0===s?" ":String(s),h=r(n);return h<=d||""==f?c:(l=h-d,u=i.call(f,o(l/f.length)),u.length>l&&(u=u.slice(0,l)),e?c+u:u+c)}};e.exports={start:s(!1),end:s(!0)}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),a=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"0d21":function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"0d24":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"}};t.default=r},"0d3b":function(e,t,n){var r=n("d039"),i=n("b622"),a=n("c430"),o=i("iterator");e.exports=!r((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,r){t["delete"]("b"),n+=r+e})),a&&!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[o]||"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}))},"0ea3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:function(){return{color:"#909399",fontSize:"19px"}}}};t.default=r},"0ecf":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.install=s;var i=r(n("380b")),a=r(n("2dd0")),o=r(n("9669"));function s(e){e.registerComponentModel(i.default),e.registerComponentView(a.default),(0,o.default)(e)}},"0f40":function(e,t,n){"use strict";function r(e){return document.createTextNode(e)}function i(e){return document.createComment(e)}function a(e,t,n){e.insertBefore(t,n)}function o(e,t){e.removeChild(t)}function s(e,t){e.appendChild(t)}function l(e){return e.parentNode}function u(e){return e.nextSibling}function c(e){return e.tagName}function d(e,t){e.textContent=t}function f(e){return e.textContent}function h(e){return 1===e.nodeType}function p(e){return 3===e.nodeType}function g(e){return 8===e.nodeType}Object.defineProperty(t,"__esModule",{value:!0}),t.createTextNode=r,t.createComment=i,t.insertBefore=a,t.removeChild=o,t.appendChild=s,t.parentNode=l,t.nextSibling=u,t.tagName=c,t.setTextContent=d,t.getTextContent=f,t.isElement=h,t.isText=p,t.isComment=g},"10d1":function(e,t,n){"use strict";var r,i=n("da84"),a=n("e2cc"),o=n("f183"),s=n("6d61"),l=n("acac"),u=n("861d"),c=n("69f3").enforce,d=n("7f9a"),f=!i.ActiveXObject&&"ActiveXObject"in i,h=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},g=e.exports=s("WeakMap",p,l);if(d&&f){r=l.getConstructor(p,"WeakMap",!0),o.REQUIRED=!0;var v=g.prototype,y=v["delete"],m=v.has,b=v.get,_=v.set;a(v,{delete:function(e){if(u(e)&&!h(e)){var t=c(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen["delete"](e)}return y.call(this,e)},has:function(e){if(u(e)&&!h(e)){var t=c(this);return t.frozen||(t.frozen=new r),m.call(this,e)||t.frozen.has(e)}return m.call(this,e)},get:function(e){if(u(e)&&!h(e)){var t=c(this);return t.frozen||(t.frozen=new r),m.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(u(e)&&!h(e)){var n=c(this);n.frozen||(n.frozen=new r),m.call(this,e)?_.call(this,e,t):n.frozen.set(e,t)}else _.call(this,e,t);return this}})}},"10e5":function(e,t,n){"use strict";var r=n("4ea4"),i=n("dbce");n("cb29"),n("c975"),n("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.createSymbol=b,t.normalizeSymbolSize=_,t.normalizeSymbolOffset=x,t.symbolBuildProxies=void 0;var a=n("8292"),o=i(n("5c1a")),s=r(n("5259")),l=n("3e69"),u=n("21fa"),c=o.Path.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,a=t.height/2;e.moveTo(n,r-a),e.lineTo(n+i,r+a),e.lineTo(n-i,r+a),e.closePath()}}),d=o.Path.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,a=t.height/2;e.moveTo(n,r-a),e.lineTo(n+i,r),e.lineTo(n,r+a),e.lineTo(n-i,r),e.closePath()}}),f=o.Path.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,i=t.width/5*3,a=Math.max(i,t.height),o=i/2,s=o*o/(a-o),l=r-a+o+s,u=Math.asin(s/o),c=Math.cos(u)*o,d=Math.sin(u),f=Math.cos(u),h=.6*o,p=.7*o;e.moveTo(n-c,l+s),e.arc(n,l,o,Math.PI-u,2*Math.PI+u),e.bezierCurveTo(n+c-d*h,l+s+f*h,n,r-p,n,r),e.bezierCurveTo(n,r-p,n-c+d*h,l+s+f*h,n-c,l+s),e.closePath()}}),h=o.Path.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,i=t.x,a=t.y,o=r/3*2;e.moveTo(i,a),e.lineTo(i+o,a+n),e.lineTo(i,a+n/4*3),e.lineTo(i-o,a+n),e.lineTo(i,a),e.closePath()}}),p={line:o.Line,rect:o.Rect,roundRect:o.Rect,square:o.Rect,circle:o.Circle,diamond:d,pin:f,arrow:h,triangle:c},g={line:function(e,t,n,r,i){i.x1=e,i.y1=t+r/2,i.x2=e+n,i.y2=t+r/2},rect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r},roundRect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(e,t,n,r,i){var a=Math.min(n,r);i.x=e,i.y=t,i.width=a,i.height=a},circle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.r=Math.min(n,r)/2},diamond:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r},pin:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},arrow:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},triangle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r}},v={};t.symbolBuildProxies=v,(0,a.each)(p,(function(e,t){v[t]=new e}));var y=o.Path.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var r=(0,l.calculateTextPosition)(e,t,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===t.position&&(r.y=n.y+.4*n.height),r},buildPath:function(e,t,n){var r=t.symbolType;if("none"!==r){var i=v[r];i||(r="rect",i=v[r]),g[r](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,n)}}});function m(e,t){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=e:n.fill=e,this.markRedraw()}}function b(e,t,n,r,i,a,l){var u,c=0===e.indexOf("empty");return c&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),u=0===e.indexOf("image://")?o.makeImage(e.slice(8),new s.default(t,n,r,i),l?"center":"cover"):0===e.indexOf("path://")?o.makePath(e.slice(7),{},new s.default(t,n,r,i),l?"center":"cover"):new y({shape:{symbolType:e,x:t,y:n,width:r,height:i}}),u.__isEmptyBrush=c,u.setColor=m,a&&u.setColor(a),u}function _(e){return(0,a.isArray)(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function x(e,t){if(null!=e)return(0,a.isArray)(e)||(e=[e,e]),[(0,u.parsePercent)(e[0],t[0])||0,(0,u.parsePercent)((0,a.retrieve2)(e[1],e[0]),t[1])||0]}},1148:function(e,t,n){"use strict";var r=n("a691"),i=n("1d80");e.exports="".repeat||function(e){var t=String(i(this)),n="",a=r(e);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},1165:function(e,t,n){"use strict";var r=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.getBasicPieLayout=c,t.default=d;var i=n("21fa"),a=r(n("445d")),o=r(n("8292")),s=2*Math.PI,l=Math.PI/180;function u(e,t){return a.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e,t){var n=u(e,t),r=e.get("center"),a=e.get("radius");o.isArray(a)||(a=[0,a]),o.isArray(r)||(r=[r,r]);var s,l,c=(0,i.parsePercent)(n.width,t.getWidth()),d=(0,i.parsePercent)(n.height,t.getHeight()),f=Math.min(c,d),h=(0,i.parsePercent)(a[0],f/2),p=(0,i.parsePercent)(a[1],f/2),g=e.coordinateSystem;if(g){var v=g.dataToPoint(r);s=v[0]||0,l=v[1]||0}else s=(0,i.parsePercent)(r[0],c)+n.x,l=(0,i.parsePercent)(r[1],d)+n.y;return{cx:s,cy:l,r0:h,r:p}}function d(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.getData(),r=t.mapDimension("value"),a=u(e,n),o=c(e,n),d=o.cx,f=o.cy,h=o.r,p=o.r0,g=-e.get("startAngle")*l,v=e.get("minAngle")*l,y=0;t.each(r,(function(e){!isNaN(e)&&y++}));var m=t.getSum(r),b=Math.PI/(m||y)*2,_=e.get("clockwise"),x=e.get("roseType"),w=e.get("stillShowZeroSum"),S=t.getDataExtent(r);S[0]=0;var M=s,T=0,A=g,C=_?1:-1;if(t.setLayout({viewRect:a,r:h}),t.each(r,(function(e,n){var r;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:_,cx:d,cy:f,r0:p,r:x?NaN:h});else{r="area"!==x?0===m&&w?b:e*b:s/y,r1||"".split(/.?/).length?function(e,n){var r=String(o(this)),a=void 0===n?g:n>>>0;if(0===a)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,a);var s,l,u,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,v=new RegExp(e.source,f+"g");while(s=d.call(v,r)){if(l=v.lastIndex,l>p&&(c.push(r.slice(p,s.index)),s.length>1&&s.index=a))break;v.lastIndex===s.index&&v.lastIndex++}return p===r.length?!u&&v.test("")||c.push(""):c.push(r.slice(p)),c.length>a?c.slice(0,a):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=o(this),a=void 0==t?void 0:t[e];return void 0!==a?a.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var d=a(e),f=String(this),h=s(d,RegExp),y=d.unicode,m=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(v?"y":"g"),b=new h(v?d:"^(?:"+d.source+")",m),_=void 0===i?g:i>>>0;if(0===_)return[];if(0===f.length)return null===c(b,f)?[f]:[];var x=0,w=0,S=[];while(w1?"emphasis":"normal")}function _(e,t,n,r,i){var a=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(a="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=a,e.setIconStatus("zoom",a?"emphasis":"normal");var o=new l.default(m(e),t,{include:["grid"]}),s=o.makePanelOpts(i,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!a||!s.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}(0,h.registerInternalOptionCreator)("dataZoom",(function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var r=t.getModel(n),i=[],a=m(r),o=(0,f.parseFinder)(e,a);return p(o.xAxisModels,(function(e){return s(e,"xAxis","xAxisIndex")})),p(o.yAxisModels,(function(e){return s(e,"yAxis","yAxisIndex")})),i}function s(e,t,n){var a=e.componentIndex,o={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:g+t+a};o[n]=a,i.push(o)}}));var x=v;t.default=x},"133d":function(e,t,n){"use strict";var r=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=r(n("8292")),a=r(n("8879"));function o(e,t){var n,r=[],o=e.seriesIndex;if(null==o||!(n=t.getSeriesByIndex(o)))return{point:[]};var s=n.getData(),l=a.queryDataIndex(s,e);if(null==l||l<0||i.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)r=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)if(e.isStacked){var d=c.getBaseAxis(),f=c.getOtherAxis(d),h=f.dim,p=d.dim,g="x"===h||"radius"===h?1:0,v=s.mapDimension(p),y=[];y[g]=s.get(v,l),y[1-g]=s.get(s.getCalculationInfo("stackResultDimension"),l),r=c.dataToPoint(y)||[]}else r=c.dataToPoint(s.getValues(i.map(c.dimensions,(function(e){return s.mapDimension(e)})),l))||[];else if(u){var m=u.getBoundingRect().clone();m.applyTransform(u.transform),r=[m.x+m.width/2,m.y+m.height/2]}return{point:r,el:u}}},"137b":function(e,t,n){"use strict";var r=n("dbce");n("4de4"),n("baa5"),n("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.ECEventProcessor=void 0;var i=r(n("8292")),a=n("9621"),o=function(){function e(){}return e.prototype.normalizeQuery=function(e){var t={},n={},r={};if(i.isString(e)){var o=(0,a.parseClassType)(e);t.mainType=o.main||null,t.subType=o.sub||null}else{var s=["Index","Name","Id"],l={name:1,dataIndex:1,dataType:1};i.each(e,(function(e,i){for(var a=!1,o=0;o0&&c===i.length-u.length){var d=i.slice(0,c);"data"!==d&&(t.mainType=d,t[u.toLowerCase()]=e,a=!0)}}l.hasOwnProperty(i)&&(n[i]=e,a=!0),a||(r[i]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:r}},e.prototype.filter=function(e,t){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,a=n.model,o=n.view;if(!a||!o)return!0;var s=t.cptQuery,l=t.dataQuery;return u(s,a,"mainType")&&u(s,a,"subType")&&u(s,a,"index","componentIndex")&&u(s,a,"name")&&u(s,a,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!o.filterForExposedEvent||o.filterForExposedEvent(e,t.otherQuery,r,i));function u(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}();t.ECEventProcessor=o},"13d5":function(e,t,n){"use strict";var r=n("23e7"),i=n("d58f").left,a=n("a640"),o=n("ae40"),s=a("reduce"),l=o("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!l},{reduce:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"13df":function(e,t,n){"use strict";var r=n("dbce"),i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("9ab4"),o=i(n("8fae")),s=r(n("8292")),l=r(n("8879")),u=n("21fa"),c=n("640d"),d=i(n("e342")),f=i(n("84d1")),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,a.__extends)(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new d.default(s.bind(this.getData,this),s.bind(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){var e=(0,o.default)(this,{coordDimensions:["value"],encodeDefaulter:s.curry(c.makeSeriesEncodeForNameBased,this)}),t=[];return e.each(e.mapDimension("value"),(function(e){t.push(e)})),this.seats=(0,u.getPercentSeats)(t,e.hostModel.get("percentPrecision")),e},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.call(this,t);return n.percent=this.seats[t],n.$vars.push("percent"),n},t.prototype._defaultLabelLine=function(e){l.defaultEmphasis(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(f.default),p=h;t.default=p},"143c":function(e,t,n){var r=n("74e8");r("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"145e":function(e,t,n){"use strict";var r=n("7b0b"),i=n("23cb"),a=n("50c4"),o=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=a(n.length),l=i(e,s),u=i(t,s),c=arguments.length>2?arguments[2]:void 0,d=o((void 0===c?s:i(c,s))-u,s-l),f=1;u0)u in n?n[l]=n[u]:delete n[l],l+=f,u+=f;return n}},"14c2":function(e,t,n){"use strict";var r=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.forceLayout=o;var i=r(n("6ad7")),a=i.scaleAndAdd;function o(e,t,n){for(var r=e,o=t,s=n.rect,l=s.width,u=s.height,c=[s.x+l/2,s.y+u/2],d=null==n.gravity?.1:n.gravity,f=0;fn&&(e=i,n=o)}if(e)return p(e.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},t.prototype.getBoundingRect=function(e){var t=this._rect;if(t&&!e)return t;var n=[1/0,1/0],r=[-1/0,-1/0],i=this.geometries;return(0,c.each)(i,(function(t){"polygon"===t.type?h(t.exterior,n,r,e):(0,c.each)(t.points,(function(t){h(t,n,r,e)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])||(n[0]=n[1]=r[0]=r[1]=0),t=new o.default(n[0],n[1],r[0]-n[0],r[1]-n[1]),e||(this._rect=t),t},t.prototype.contain=function(e){var t=this.getBoundingRect(),n=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var r=0,i=n.length;rn||f+do&&(o+=i);var p=Math.atan2(c,u);return p<0&&(p+=i),p>=a&&p<=o||p+i>=a&&p+i<=o}},"159b":function(e,t,n){var r=n("da84"),i=n("fdbc"),a=n("17c2"),o=n("9112");for(var s in i){var l=r[s],u=l&&l.prototype;if(u&&u.forEach!==a)try{o(u,"forEach",a)}catch(c){u.forEach=a}}},"16b9":function(e,t,n){"use strict";var r=n("4ea4"),i=n("dbce");n("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n("8292")),o=i(n("78db")),s=i(n("445d")),l=i(n("f968")),u=r(n("59c5")),c=i(n("5c1a")),d=i(n("21fa")),f=r(n("e20e")),h=a.each,p=Math.min,g=Math.max,v=Math.floor,y=Math.ceil,m=d.round,b=Math.PI,_=function(){function e(e,t,n){this.type="parallel",this._axesMap=a.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=e.dimensions,i=e.parallelAxisIndex;h(r,(function(e,n){var r=i[n],a=t.getComponent("parallelAxis",r),o=this._axesMap.set(e,new u.default(e,l.createScaleByModel(a),[0,0],a.get("type"),r)),s="category"===o.type;o.onBand=s&&a.get("boundaryGap"),o.inverse=a.get("inverse"),a.axis=o,o.model=a,o.coordinateSystem=a.coordinateSystem=this}),this)},e.prototype.update=function(e,t){this._updateAxesFromSeries(this._model,e)},e.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),n=t.axisBase,r=t.layoutBase,i=t.pixelDimIndex,a=e[1-i],o=e[i];return a>=n&&a<=n+t.axisLength&&o>=r&&o<=r+t.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var r=n.getData();h(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(r,r.mapDimension(e)),l.niceScaleExtent(t.scale,t.model)}),this)}}),this)},e.prototype.resize=function(e,t){this._rect=s.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var e,t=this._model,n=this._rect,r=["x","y"],i=["width","height"],a=t.get("layout"),o="horizontal"===a?0:1,s=n[i[o]],l=[0,s],u=this.dimensions.length,c=x(t.get("axisExpandWidth"),l),d=x(t.get("axisExpandCount")||0,[0,u]),f=t.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,h=t.get("axisExpandWindow");if(h)e=x(h[1]-h[0],l),h[1]=h[0]+e;else{e=x(c*(d-1),l);var p=t.get("axisExpandCenter")||v(u/2);h=[c*p-e/2],h[1]=h[0]+e}var g=(s-e)/(u-d);g<3&&(g=0);var b=[v(m(h[0]/c,1))+1,y(m(h[1]/c,1))-1],_=g/c*h[0];return{layout:a,pixelDimIndex:o,layoutBase:n[r[o]],layoutLength:s,axisBase:n[r[1-o]],axisLength:n[i[1-o]],axisExpandable:f,axisExpandWidth:c,axisCollapseWidth:g,axisExpandWindow:h,axisCount:u,winInnerIndices:b,axisExpandWindow0Pos:_}},e.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),i=r.layout;t.each((function(e){var t=[0,r.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),h(n,(function(t,n){var a=(r.axisExpandable?S:w)(n,r),s={horizontal:{x:a.position,y:r.axisLength},vertical:{x:0,y:a.position}},l={horizontal:b/2,vertical:0},u=[s[i].x+e.x,s[i].y+e.y],c=l[i],d=o.create();o.rotate(d,d,c),o.translate(d,d,u),this._axesLayout[t]={position:u,rotation:c,transform:d,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},e.prototype.getAxis=function(e){return this._axesMap.get(e)},e.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},e.prototype.eachActiveState=function(e,t,n,r){null==n&&(n=0),null==r&&(r=e.count());var i=this._axesMap,o=this.dimensions,s=[],l=[];a.each(o,(function(t){s.push(e.mapDimension(t)),l.push(i.get(t).model)}));for(var u=this.hasAxisBrushed(),c=n;ci*(1-c[0])?(l="jump",o=s-i*(1-c[2])):(o=s-i*c[1])>=0&&(o=s-i*(1-c[1]))<=0&&(o=0),o*=t.axisExpandWidth/u,o?(0,f.default)(o,r,a,"all"):l="none";else{var h=r[1]-r[0],v=a[1]*s/h;r=[g(0,v-h/2)],r[1]=p(a[1],r[0]+h),r[0]=r[1]-h}return{axisExpandWindow:r,behavior:l}},e}();function x(e,t){return p(g(e,t[0]),t[1])}function w(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function S(e,t){var n,r,i=t.layoutLength,a=t.axisExpandWidth,o=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e=1)&&(e=1),e}s===u&&l===c||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=u,this._modDataCount=c;var f=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,p=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!i&&(o||h1&&r>0?s:o}};return a;function o(){return t=e?null:a=0)return!0}var y=new RegExp("["+c+"]+","g");function m(e){for(var t=e.split(/\n+/g),n=g(t.shift()).split(y),r=[],i=o.map(n,(function(e){return{name:e,data:[]}})),a=0;a1?arguments[1]:void 0)}},"182d":function(e,t,n){var r=n("f8cd");e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},1869:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"}};t.default=r},1887:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.install=d;var i=r(n("8ea0")),a=r(n("75bd")),o=r(n("4f7c")),s=r(n("514b")),l=r(n("57d4")),u=n("8292"),c=n("7c56");function d(e){e.registerChartView(i.default),e.registerSeriesModel(a.default),e.registerLayout((0,u.curry)(o.default,"sunburst")),e.registerProcessor((0,u.curry)(l.default,"sunburst")),e.registerVisual(s.default),(0,c.installSunburstAction)(e)}},"18b0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n("8292");function i(e){e.eachSeriesByType("tree",(function(e){var t=e.getData(),n=t.tree;n.eachNode((function(e){var n=e.getModel(),i=n.getModel("itemStyle").getItemStyle(),a=t.ensureUniqueItemVisual(e.dataIndex,"style");(0,r.extend)(a,i)}))}))}},"18f1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"linearMap",{enumerable:!0,get:function(){return r.linearMap}}),Object.defineProperty(t,"round",{enumerable:!0,get:function(){return r.round}}),Object.defineProperty(t,"asc",{enumerable:!0,get:function(){return r.asc}}),Object.defineProperty(t,"getPrecision",{enumerable:!0,get:function(){return r.getPrecision}}),Object.defineProperty(t,"getPrecisionSafe",{enumerable:!0,get:function(){return r.getPrecisionSafe}}),Object.defineProperty(t,"getPixelPrecision",{enumerable:!0,get:function(){return r.getPixelPrecision}}),Object.defineProperty(t,"getPercentWithPrecision",{enumerable:!0,get:function(){return r.getPercentWithPrecision}}),Object.defineProperty(t,"MAX_SAFE_INTEGER",{enumerable:!0,get:function(){return r.MAX_SAFE_INTEGER}}),Object.defineProperty(t,"remRadian",{enumerable:!0,get:function(){return r.remRadian}}),Object.defineProperty(t,"isRadianAroundZero",{enumerable:!0,get:function(){return r.isRadianAroundZero}}),Object.defineProperty(t,"parseDate",{enumerable:!0,get:function(){return r.parseDate}}),Object.defineProperty(t,"quantity",{enumerable:!0,get:function(){return r.quantity}}),Object.defineProperty(t,"quantityExponent",{enumerable:!0,get:function(){return r.quantityExponent}}),Object.defineProperty(t,"nice",{enumerable:!0,get:function(){return r.nice}}),Object.defineProperty(t,"quantile",{enumerable:!0,get:function(){return r.quantile}}),Object.defineProperty(t,"reformIntervals",{enumerable:!0,get:function(){return r.reformIntervals}}),Object.defineProperty(t,"isNumeric",{enumerable:!0,get:function(){return r.isNumeric}}),Object.defineProperty(t,"numericToNumber",{enumerable:!0,get:function(){return r.numericToNumber}});var r=n("21fa")},"197f":function(e,t,n){"use strict";var r=n("dbce");Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var i=r(n("8292"));function a(e){var t={};e.eachSeriesByType("map",(function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!t[r]){var a={};i.each(n.seriesGroup,(function(t){var n=t.coordinateSystem,r=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&r.each(r.mapDimension("value"),(function(e,t){var i=r.getName(t),o=n.getRegion(i);if(o&&!isNaN(e)){var s=a[i]||0,l=n.dataToPoint(o.getCenter());a[i]=s+1,r.setItemLayout(t,{point:l,offset:s})}}))}));var o=n.getData();o.each((function(e){var t=o.getName(e),n=o.getItemLayout(e)||{};n.showLabel=!a[t],o.setItemLayout(e,n)})),t[r]=!0}}))}},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"19ad":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UniversalTransition",{enumerable:!0,get:function(){return r.installUniversalTransition}}),Object.defineProperty(t,"LabelLayout",{enumerable:!0,get:function(){return i.installLabelLayout}});var r=n("6421"),i=n("1f73")},"1a16":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.install=s;var i=r(n("01a2")),a=r(n("6739")),o=r(n("e704"));function s(e){e.registerComponentModel(a.default),e.registerComponentView(o.default),e.registerPreprocessor((function(e){(0,i.default)(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})}))}},"1aa7":function(e,t,n){"use strict";n("99af"),Object.defineProperty(t,"__esModule",{value:!0}),t.registerInternalOptionCreator=a,t.concatInternalOptions=o;var r=n("8292"),i=(n("8879"),(0,r.createHashMap)());function a(e,t){(0,r.assert)(null==i.get(e)&&t),i.set(e,t)}function o(e,t,n){var r=i.get(t);if(!r)return n;var a=r(e);return a?n.concat(a):n}},"1ad3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={statusBar:{bgColor:"transparent"}};t.default=r},"1b05":function(e,t,n){"use strict";var r=n("dbce"),i=n("4ea4");n("cb29"),Object.defineProperty(t,"__esModule",{value:!0}),t.updateLabelLinePoints=O,t.limitTurnAngle=P,t.limitSurfaceAngle=E,t.setLabelLineStyle=R,t.getLabelLineStatesModels=N;var a=n("5c1a"),o=i(n("8387")),s=n("6428"),l=n("ac11"),u=n("8292"),c=n("78db"),d=r(n("6ad7")),f=n("8ee9"),h=2*Math.PI,p=o.default.CMD,g=["top","right","bottom","left"];function v(e,t,n,r,i){var a=n.width,o=n.height;switch(e){case"top":r.set(n.x+a/2,n.y-t),i.set(0,-1);break;case"bottom":r.set(n.x+a/2,n.y+o+t),i.set(0,1);break;case"left":r.set(n.x-t,n.y+o/2),i.set(-1,0);break;case"right":r.set(n.x+a+t,n.y+o/2),i.set(1,0);break}}function y(e,t,n,r,i,a,o,l,u){o-=e,l-=t;var c=Math.sqrt(o*o+l*l);o/=c,l/=c;var d=o*n+e,f=l*n+t;if(Math.abs(r-i)%h<1e-4)return u[0]=d,u[1]=f,c-n;if(a){var p=r;r=(0,s.normalizeRadian)(i),i=(0,s.normalizeRadian)(p)}else r=(0,s.normalizeRadian)(r),i=(0,s.normalizeRadian)(i);r>i&&(i+=h);var g=Math.atan2(l,o);if(g<0&&(g+=h),g>=r&&g<=i||g+h>=r&&g+h<=i)return u[0]=d,u[1]=f,c-n;var v=n*Math.cos(r)+e,y=n*Math.sin(r)+t,m=n*Math.cos(i)+e,b=n*Math.sin(i)+t,_=(v-o)*(v-o)+(y-l)*(y-l),x=(m-o)*(m-o)+(b-l)*(b-l);return _0){t=t/180*Math.PI,S.fromArray(e[0]),M.fromArray(e[1]),T.fromArray(e[2]),a.Point.sub(A,S,M),a.Point.sub(C,T,M);var n=A.len(),r=C.len();if(!(n<.001||r<.001)){A.scale(1/n),C.scale(1/r);var i=A.dot(C),o=Math.cos(t);if(o1&&a.Point.copy(I,T),I.toArray(e[1])}}}}function E(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,S.fromArray(e[0]),M.fromArray(e[1]),T.fromArray(e[2]),a.Point.sub(A,M,S),a.Point.sub(C,T,M);var r=A.len(),i=C.len();if(!(r<.001||i<.001)){A.scale(1/r),C.scale(1/i);var o=A.dot(t),s=Math.cos(n);if(o=u)a.Point.copy(I,T);else{I.scaleAndAdd(C,l/Math.tan(Math.PI/2-d));var f=T.x!==M.x?(I.x-M.x)/(T.x-M.x):(I.y-M.y)/(T.y-M.y);if(isNaN(f))return;f<0?a.Point.copy(I,M):f>1&&a.Point.copy(I,T)}I.toArray(e[1])}}}}function L(e,t,n,r){var i="normal"===n,a=i?e:e.ensureState(n);a.ignore=t;var o=r.get("smooth");o&&!0===o&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=r.getModel("lineStyle").getLineStyle();i?e.useStyle(s):a.style=s}function D(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=d.dist(r[0],r[1]),a=d.dist(r[1],r[2]);if(!i||!a)return e.lineTo(r[1][0],r[1][1]),void e.lineTo(r[2][0],r[2][1]);var o=Math.min(i,a)*n,s=d.lerp([],r[1],r[0],o/i),l=d.lerp([],r[1],r[2],o/a),u=d.lerp([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t?-1!==t.split(i).indexOf(e):n&&"string"===typeof n?-1!==n.split(i).indexOf(e):void 0}function o(e,t){if(t(e.$vnode||e._vnode))return e;for(var n=e.$children,r=0;r0&&void 0!==arguments[0]?arguments[0]:{};this.options.rootMargin=["top","right","bottom","left"].map((function(t){return"".concat(Number(e[t])||0,"px")})).join(" ")}},{key:"relativeTo",value:function(e,t){return this.options.relativeToSelector=e,this._makeRootMargin(t),this}},{key:"relativeToViewport",value:function(e){return this.options.relativeToSelector=null,this._makeRootMargin(e),this}},{key:"observe",value:function(t,n){"function"===typeof n&&(this.options.selector=t,this.reqId=u.push(n),e.publishHandler("requestComponentObserver",{reqId:this.reqId,component:this.component,options:this.options},Object(i["a"])(this.component)?this.component:this.pageId))}},{key:"disconnect",value:function(){e.publishHandler("destroyComponentObserver",{reqId:this.reqId},Object(i["a"])(this.component)?this.component:this.pageId)}}]),t}();function f(e,t){return e._isVue||(t=e,e=null),new d(e||Object(a["b"])("createIntersectionObserver"),t)}}.call(this,n("0dd1"))},"0998":function(e,t,n){"use strict";var r=n("927d"),i=n.n(r);i.a},"09e5":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"requestComponentInfo",(function(){return o}));var r=n("62b5"),i=n("1634"),a=Object(r["a"])("requestComponentInfo");function o(t,n,r){e.publishHandler("requestComponentInfo",{reqId:a.push(r),reqs:n},Object(i["a"])(t)?t:t.$page.id)}}.call(this,n("0dd1"))},"0baa":function(e,t,n){"use strict";n.r(t),n.d(t,"chooseFile",(function(){return a}));var r=["all","image","video"],i=["album","camera"],a={count:{type:Number,required:!1,default:100,validator:function(e,t){e<=0&&(t.count=100)}},sourceType:{type:Array,required:!1,default:i,validator:function(e,t){e=e.filter((function(e){return i.includes(e)})),t.sourceType=e.length?e:i}},type:{type:String,required:!1,default:"all",validator:function(e,t){r.includes(e)||(t.type=r[0]),t.type="all"===t.type?t.type="*":t.type}},extension:{type:Array,default:[""],validator:function(e,t){if(0===e.length)return"param extension should not be empty."}}}},"0dd1":function(e,t,n){"use strict";n.r(t),n.d(t,"on",(function(){return l})),n.d(t,"off",(function(){return u})),n.d(t,"once",(function(){return c})),n.d(t,"emit",(function(){return d})),n.d(t,"subscribe",(function(){return f})),n.d(t,"unsubscribe",(function(){return h})),n.d(t,"subscribeHandler",(function(){return p}));var r=n("8bbf"),i=n.n(r),a=n("27a7");n.d(t,"invokeCallbackHandler",(function(){return a["a"]})),n.d(t,"removeCallbackHandler",(function(){return a["b"]}));var o=n("b865");n.d(t,"publishHandler",(function(){return o["b"]}));var s=new i.a,l=s.$on.bind(s),u=s.$off.bind(s),c=s.$once.bind(s),d=s.$emit.bind(s);function f(e,t){return l("view."+e,t)}function h(e,t){return u("view."+e,t)}function p(e,t,n){return d("view."+e,t,n)}},"0e5c":function(e,t,n){"use strict";n.r(t),n.d(t,"showTopWindow",(function(){return a})),n.d(t,"hideTopWindow",(function(){return o})),n.d(t,"showLeftWindow",(function(){return s})),n.d(t,"hideLeftWindow",(function(){return l})),n.d(t,"showRightWindow",(function(){return u})),n.d(t,"hideRightWindow",(function(){return c})),n.d(t,"getTopWindowStyle",(function(){return f})),n.d(t,"getLeftWindowStyle",(function(){return h})),n.d(t,"getRightWindowStyle",(function(){return p})),n.d(t,"setTopWindowStyle",(function(){return v})),n.d(t,"setLeftWindowStyle",(function(){return y})),n.d(t,"setRightWindowStyle",(function(){return m}));var r=n("f2b3");function i(e,t){var n=t?"show":"hide"+Object(r["c"])(e)+"Window",i=getApp();if(i){var a=i.$children[0].$refs.layout.showWindow(e,t);return a?{errMsg:"".concat(n,":fail ").concat(a)}:{}}return{errMsg:"".concat(n,":fail app not ready")}}function a(){return i("top",!0)}function o(){return i("top",!1)}function s(){return i("left",!0)}function l(){return i("left",!1)}function u(){return i("right",!0)}function c(){return i("right",!1)}function d(e){var t="get"+Object(r["c"])(e)+"WindowStyle",n=getApp();if(!n)return{errMsg:"".concat(t,":fail app not ready")};var i=n.$children[0].$refs.layout.getWindowStyle(e);return"string"===typeof i&&-1!==i.indexOf("Window not found")?{errMsg:"".concat(t,":fail ").concat(i)}:i}function f(e){return d("top")}function h(e){return d("left")}function p(e){return d("right")}function g(e,t){var n="set"+Object(r["c"])(e)+"WindowStyle",i=getApp();if(!i)return{errMsg:"".concat(n,":fail app not ready")};var a=i.$children[0].$refs.layout.setWindowStyle(e,t);return a?{errMsg:"".concat(n,":fail ").concat(a)}:{}}function v(e){return g("top",e)}function y(e){return g("left",e)}function m(e){return g("right",e)}},"0f55":function(e,t,n){"use strict";var r=n("2190"),i=n.n(r);i.a},"0f74":function(e,t,n){"use strict";function r(e,t){if(t){if(0===t.indexOf("/"))return t}else{if(t=e,0===t.indexOf("/"))return t;var n=getCurrentPages();e=n.length?n[n.length-1].$page.route:""}if(0===t.indexOf("./"))return r(e,t.substr(2));for(var i=t.split("/"),a=i.length,o=0;o0?e.split("/"):[];return s.splice(s.length-o-1,o+1),"/"+s.concat(i).join("/")}n.d(t,"a",(function(){return r}))},1082:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-image",e._g({},e.$listeners),[n("div",{ref:"content",style:e.style}),"widthFix"===e.mode||"heightFix"===e.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:function(t){return e._fixSize()}}}):e._e()],1)},i=[];function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e){return("undefined"===typeof navigator||a(navigator))&&"Google Inc."===navigator.vendor&&e>10&&(e=2*Math.round(e/2)),e}var s={name:"Image",props:{src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},data:function(){return{originalWidth:0,originalHeight:0,originalStyle:{width:"",height:""},contentPath:""}},computed:{ratio:function(){return this.originalWidth&&this.originalHeight?this.originalWidth/this.originalHeight:0},style:function(){var e="auto",t="",n="no-repeat";switch(this.mode){case"aspectFit":e="contain",t="center center";break;case"aspectFill":e="cover",t="center center";break;case"widthFix":case"heightFix":e="100% 100%";break;case"top":t="center top";break;case"bottom":t="center bottom";break;case"center":t="center center";break;case"left":t="left center";break;case"right":t="right center";break;case"top left":t="left top";break;case"top right":t="right top";break;case"bottom left":t="left bottom";break;case"bottom right":t="right bottom";break;default:e="100% 100%",t="0% 0%";break}return{"background-image":this.contentPath?'url("'.concat(this.contentPath,'")'):"none","background-position":t,"background-size":e,"background-repeat":n}}},watch:{src:function(e,t){this._loadImage()},mode:function(e,t){"widthFix"!==t&&"heightFix"!==t||this._resetSize(),"widthFix"!==e&&"heightFix"!==e||this._fixSize()},contentPath:function(e){!e&&this.__img&&(this.__img.remove(),delete this.__img)}},mounted:function(){this.originalStyle.width=this.$el.style.width||"",this.originalStyle.height=this.$el.style.height||"",this._loadImage()},beforeDestroy:function(){this._clearImage()},methods:{_fixSize:function(){if(this.ratio){var e=this.$el;if("widthFix"===this.mode){var t=e.offsetWidth;t&&(e.style.height=o(t/this.ratio)+"px")}else if("heightFix"===this.mode){var n=e.offsetHeight;n&&(e.style.width=o(n*this.ratio)+"px")}}window.dispatchEvent(new CustomEvent("updateview"))},_resetSize:function(){this.$el.style.width=this.originalStyle.width,this.$el.style.height=this.originalStyle.height},_resetData:function(){this.originalWidth=0,this.originalHeight=0,this.contentPath=""},_loadImage:function(){var e=this,t=this.$getRealPath(this.src);if(t){var n=this._img=this._img||new Image;n.onload=function(r){e._img=null;var i=e.originalWidth=n.width,a=e.originalHeight=n.height;e._fixSize(),e.contentPath=t,n.draggable=e.draggable,e.__img&&e.__img.remove(),e.__img=n,e.$el.appendChild(n),e.$trigger("load",r,{width:i,height:a})},n.onerror=function(t){e._img=null,e._resetData(),e.$trigger("error",t,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},n.src=t}else this._clearImage(),this._resetData()},_clearImage:function(){var e=this._img;e&&(e.onload=null,e.onerror=null,this._img=null)}}},l=s,u=(n("db18"),n("2877")),c=Object(u["a"])(l,r,i,!1,null,null,null);t["default"]=c.exports},"10a3":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-ad",e._g(e._b({},"uni-ad",e.attrs,!1),e.$listeners),[n("div",{ref:"container",staticClass:"uni-ad-container",on:{click:e._onhandle}})])},i=[],a=n("8af1");function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;nthis.CACHE_TIME}}]),e}();u(c,"IC",0),u(c,"IS",0),Object.assign(c.prototype,{URL:"https://hac1.dcloud.net.cn/ah5",KEY:"uni_app_ad_config",CACHE_TIME:6e5,ERROR_INVALID_ADPID:{"-5002":"invalid adpid"}});var d=function(){function e(){o(this,e),this._instance=null,this._adConfig=null,this._guid=null}return l(e,null,[{key:"instance",get:function(){return null==this._instance&&(this._instance=new e,this._instance._init()),this._instance}}]),l(e,[{key:"_init",value:function(){var e=this._getConfig();null!==e&&e.guid?this._guid=e.guid:(this._guid=this._newGUID(),this._setConfig(this._guid))}},{key:"get",value:function(e){this._process(Object.assign(e,{d:location.hostname,i:this._guid}))}},{key:"_process",value:function(e){uni.request({url:this.URL,method:"GET",data:e,dataType:"json",success:function(){}})}},{key:"_newGUID",value:function(){for(var e="",t="xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx",n=0;nparseInt(this.widescreenWidth),this._loadData(),d.instance.get({h:__uniConfig.compilerVersion,a:this.adpid,at:-3,ic:c.IC,is:c.IS})},beforeDestroy:function(){this._clearCheckTimer(),this.$refs.container.innerHTML="",this._shanhuAd&&delete this._shanhuAd},methods:{_onhandle:function(e){this._report(41)},_reset:function(){this._p={},this._pl=[],this._pi=0,this._clearCheckTimer(),this.$refs.container.innerHTML="",this._isReady=!1},_loadData:function(e){var t=this;this._reset();var n=e||this.adpid,r=this._isWidescreen&&this.adpidWidescreen||n;c.instance.get(r,(function(e,n){t._b=e,t._pl=n,t._renderAd()}),(function(e){t.$trigger("error",{},e)}))},_renderAd:function(){var e=this;if(!(this._pi>this._pl.length-1)){var t=this._pl[this._pi],n=this._b[t.a1][t.t],r=n.script;this._currentChannel=t.a1;var i=this._randomId(),a=this._createView(i);"10010"===t.a1?f.instance.load(t.t,r,(function(){e._renderBaidu(i,t.a2)}),(function(t){e.$trigger("error",{},t)})):"10011"===t.a1?(h.instance.load(t.a3,t.a2,(function(e){window.TencentGDT.NATIVE.renderAd(e,i)})),this._startCheckTimer()):"10012"===t.a1?this._renderScript(a,r):"10014"===t.a1?f.instance.load(t.t,r,(function(){e._renderShanhu(i,t.tt,t.tar)}),(function(t){e.$trigger("error",{},t)})):f.instance.load(t.t,r,(function(){e._renderAdView(i,r.s,t)}),(function(t){e.$trigger("error",{},t)}))}},_createView:function(e){var t=document.createElement("div");return t.setAttribute("id",e),t.setAttribute("class",e),this.$refs.container.innerHTML="",this.$refs.container.append(t),t},_renderScript:function(e,t){var n=document.createElement("script");for(var r in t)n.setAttribute(r,t[r]);e.appendChild(n),this._startCheckTimer()},_renderBaidu:function(e,t){(window.slotbydup=window.slotbydup||[]).push({id:t,container:e,async:!0}),this._startCheckTimer()},_renderAdView:function(e,t,n){var r=window;t.split(".").reduce((function(e,t){return r=e,e[t]}),window).bind(r)(n.a2,e,2),this._startCheckTimer()},_renderShanhu:function(e,t,n){var r=this;this._shanhuAd=new window.CoralTBSAdv(e,{type:t,target:n,advShowCb:function(){r._report(42),r.$trigger("load",{},{})},advClickCb:function(){r._report(43),r.$trigger("adclicked",{},{})},advCloseCb:function(){r.$trigger("close",{},{})},advErrorCb:function(e){r.$trigger("error",{},e)}}),this._startCheckTimer()},_renderNext:function(){this._pi>=this._pl.length-1||(this._pi++,this._renderAd())},_checkRender:function(){var e=this.$refs.container.children.length>0&&this.$refs.container.clientHeight>40;return e&&this._report(40,this._currentChannel),e},_startCheckTimer:function(){var e=this;this._clearCheckTimer(),this._checkTimer=setInterval((function(){if(e._checkTimerCount++,e._checkTimerCount>=g)return e._clearCheckTimer(),void e._renderNext();e._checkRender()&&e._clearCheckTimer()}),p)},_clearCheckTimer:function(){this._checkTimerCount=0,null!=this._checkTimer&&(window.clearInterval(this._checkTimer),this._checkTimer=null)},_report:function(e,t){var n={h:__uniConfig.compilerVersion,a:this.adpid,at:e};t&&(n.t=t),d.instance.get(n)},_randomId:function(){for(var e="",t=0;t<4;t++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return"_u"+e}}},m=y,b=(n("e4bc"),n("2877")),_=Object(b["a"])(m,r,i,!1,null,null,null);t["default"]=_.exports},1164:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return l}));var r=n("a6b0"),i=n("23e5"),a=!1;function o(){return a}function s(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[],i=o();if(!i)return n&&e.error("app is not ready"),[];var a=i.$children[0];if(a&&a.$children.length){var s=a.$children.find((function(e){return"TabBar"===e.$options.name})),l=a.$children.find((function(e){return"Layout"===e.$options.name}));l&&(a=l),a.$children.forEach((function(e){if(s!==e&&e.$children.length&&"Page"===e.$children[0].$options.name&&e.$children[0].$slots.page){var n=e.$children[0].$children.find((function(e){return"PageBody"===e.$options.name})),a=n&&n.$children.find((function(e){return!!e.$page}));if(a){var o=!0;!t&&s&&a.$page&&a.$page.meta.isTabBar&&(i.$route.meta&&i.$route.meta.isTabBar?i.$route.path!==a.$page.path&&(o=!1):s.__path__!==a.$page.path&&(o=!1)),o&&r.push(a)}}}))}var u=r.length;if(u>1){var c=r[u-1];c.$page.path!==i.$route.path&&r.splice(u-1,1)}return r}function l(e,t,n){a=t,a.$vm=t,a.globalData=a.$options.globalData||{},Object(r["d"])(e,a),Object(i["a"])(a,n)}}).call(this,n("3ad9")["default"])},"11fb":function(e,t,n){"use strict";n.r(t),n.d(t,"previewImage",(function(){return i}));var r=n("cb0f"),i={urls:{type:Array,required:!0,validator:function(e,t){var n;if(t.urls=e.map((function(e){if("string"===typeof e)return Object(r["a"])(e);n=!0})),n)return"url is not string"}},current:{type:[String,Number],validator:function(e,t){"number"===typeof e?t.current=e>0&&e should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}}}).call(this,n("3ad9")["default"])},"149e":function(e,t,n){"use strict";var r=n("cb0f");t["a"]={props:{id:{type:[Number,String],default:""},position:{type:Object,require:!0},iconPath:{type:String,require:!0},clickable:{type:Boolean,default:!1}},data:function(){return{control:null}},watch:{props:function(){this.updateControl()}},mounted:function(){var e=this;this.$parent.mapReady((function(){e.addControl()}))},beforeDestroy:function(){this.removeControl()},methods:{addControl:function(){var e=this;this.control=document.createElement("div");var t=this.control.style;t.position="absolute",t.width=0,t.height=0,t.top=0,t.left=0,t.zIndex=999;var n=new Image;n.src=Object(r["a"])(this.iconPath),n.onload=function(){e.position.width&&(n.width=e.position.width),e.position.height&&(n.height=e.position.height);var t=n.style;t.position="absolute",t.left=(e.position.left||0)+"px",t.top=(e.position.top||0)+"px",t.maxWidth="initial",e.control.appendChild(n),e.$parent.$el.appendChild(e.control)},n.onclick=function(t){e.clickable&&e.$parent.$trigger("controltap",t,{controlId:e.id}),t.stopPropagation()}},updateControl:function(){this.removeControl(),this.addControl()},removeControl:function(){this.control&&this.control.remove()}},render:function(){return null}}},1585:function(e,t,n){"use strict";n.r(t),n.d(t,"addPhoneContact",(function(){return r}));var r={firstName:{type:String,required:!0,validator:function(e){if(!e)return"addPhoneContact:fail parameter error: parameter.firstName should not be empty String;"}}}},"15bb":function(e,t,n){"use strict";(function(e){var r=n("f2b3");t["a"]={mounted:function(){var t=this;if("transparent"===this.type){for(var n=this.$el.querySelector(".uni-page-head-transparent").style,r=this.$el.querySelector(".uni-page-head__title"),i=this.$el.querySelectorAll(".uni-btn-icon"),a=[],o=this.textColor,s=0;s.5&&t._A<=.5?a.forEach((function(e){e.color=o})):s<=.5&&t._A>.5&&a.forEach((function(e){e.color="#fff"})),t._A=s,r&&(r.style.opacity=s),n.backgroundColor="rgba(".concat(t._R,",").concat(t._G,",").concat(t._B,",").concat(s,")"),c.forEach((function(e,t){var n=u[t],r=n.match(/[\d+\.]+/g);r[3]=(1-s)*(4===r.length?r[3]:1),e.backgroundColor="rgba(".concat(r,")")})))}))}else if("float"===this.type){for(var h=this.$el.querySelectorAll(".uni-btn-icon"),p=[],g=0;g\s]+))?)*)\s*(\/?)>/,i=/^<\/([-A-Za-z0-9_]+)[^>]*>/,a=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,o=h("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=h("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),l=h("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),u=h("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),c=h("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),d=h("script,style");function f(e,t){var n,f,h,p=[],g=e;p.last=function(){return this[this.length-1]};while(e){if(f=!0,p.last()&&d[p.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),(function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n),""})),m("",p.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"),n>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),f=!1)):0==e.indexOf("=0;r--)if(p[r]==n)break}else var r=0;if(r>=0){for(var i=p.length-1;i>=r;i--)t.end&&t.end(p[i]);p.length=r}}m()}function h(e){for(var t={},n=e.split(","),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},a={title:{type:String,required:!0}}},1955:function(e,t,n){"use strict";n.r(t);var r=n("ba15"),i=n("8aec"),a=n("5363"),o=n("72b3"),s=n("d4cd");function l(e){var t=20,n=0,r=0;e.addEventListener("touchstart",(function(e){var t=e.changedTouches[0];n=t.clientX,r=t.clientY})),e.addEventListener("touchend",(function(e){var i=e.changedTouches[0];if(Math.abs(i.clientX-n)*{height: ").concat(e,"px;overflow: hidden;}"),document.head.appendChild(t)},_handleTrack:function(e){if(this._scroller)switch(e.detail.state){case"start":this._handleTouchStart(e),Object(s["a"])({disable:!0});break;case"move":this._handleTouchMove(e),e.stopPropagation();break;case"end":case"cancel":this._handleTouchEnd(e),Object(s["a"])({disable:!1})}},_handleTap:function(e){var t=e.clientY;if(!this._scroller.isScrolling()){var n=this.$el.getBoundingClientRect(),r=t-n.top-this.height/2,i=this.indicatorHeight/2;if(!(Math.abs(r)<=i)){var a=Math.ceil((Math.abs(r)-i)/this.indicatorHeight),o=r<0?-a:a,s=Math.min(this.current+o,this.length-1);this.current=s=Math.max(s,0),this._scroller.scrollTo(s*this.indicatorHeight)}}},_handleWheel:function(e){var t=this.deltaY+e.deltaY;if(Math.abs(t)>10){this.deltaY=0;var n=Math.min(this.current+(t<0?-1:1),this.length-1);this.current=n=Math.max(n,0),this._scroller.scrollTo(n*this.indicatorHeight)}else this.deltaY=t;e.preventDefault()},setCurrent:function(e){e!==this.current&&(this.current=e,this.inited&&this.update())},init:function(){var e=this;this.initScroller(this.$refs.content,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:this.indicatorHeight,friction:new a["a"](1e-4),spring:new o["a"](2,90,20),onSnap:function(t){isNaN(t)||t===e.current||(e.current=t)}}),this.inited=!0},update:function(){var e=this;this.$nextTick((function(){var t=Math.min(e.current,e.length-1);t=Math.max(t,0),e._scroller.update(t*e.indicatorHeight,void 0,e.indicatorHeight)}))},_resize:function(e){var t=e.height;this.indicatorHeight=t}},render:function(e){return this.length=this.$slots.default&&this.$slots.default.length||0,e("uni-picker-view-column",{on:{on:this.$listeners}},[e("div",{ref:"main",staticClass:"uni-picker-view-group",on:{wheel:this._handleWheel,click:this._handleTap}},[e("div",{ref:"mask",staticClass:"uni-picker-view-mask",class:this.maskClass,style:"background-size: 100% ".concat(this.maskSize,"px;").concat(this.maskStyle)}),e("div",{ref:"indicator",staticClass:"uni-picker-view-indicator",class:this.indicatorClass,style:this.indicatorStyle},[e("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}})]),e("div",{ref:"content",staticClass:"uni-picker-view-content",class:this.scope,style:"padding: ".concat(this.maskSize,"px 0;")},[this.$slots.default])])])}},f=d,h=(n("edfa"),n("2877")),p=Object(h["a"])(f,u,c,!1,null,null,null);t["default"]=p.exports},"19c4":function(e,t,n){var r={"./base/base64.js":"6481","./base/can-i-use.js":"957a","./base/event-bus.js":"b0ef","./base/interceptor.js":"a954","./base/upx2px.js":"2289","./context/canvas.js":"82b9","./context/context.js":"3bfb","./device/add-phone-contact.js":"1585","./device/make-phone-call.js":"f102","./device/scan-code.js":"ea0f","./device/set-clipboard-data.js":"b501","./file/file.js":"2da2","./file/open-document.js":"2604","./location/choose-location.js":"e5bb","./location/get-location.js":"19d9","./location/open-location.js":"70bb","./media/choose-file.js":"0baa","./media/choose-image.js":"f1b2","./media/choose-video.js":"ed9f","./media/compress-image.js":"dc12","./media/compress-video.js":"5243","./media/get-image-info.js":"b866","./media/get-video-info.js":"3f15","./media/preview-image.js":"11fb","./media/save-image-to-photos-album.js":"4f53","./network/download-file.js":"439a","./network/request.js":"a201","./network/socket.js":"abb2","./network/upload-file.js":"9a3e","./plugin/get-provider.js":"4e7c","./plugin/load-sub-package.js":"d013","./plugin/pre-login.js":"f68f","./route/route.js":"332a","./storage/storage.js":"ec33","./ui/load-font-face.js":"5ff9","./ui/navigation-bar.js":"1934","./ui/page-scroll-to.js":"232e","./ui/popup.js":"2246","./ui/tab-bar.js":"5621"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="19c4"},"19d9":function(e,t,n){"use strict";n.r(t),n.d(t,"getLocation",(function(){return i}));var r=["wgs84","gcj02"],i={type:{type:String,validator:function(e,t){e=(e||"").toLowerCase(),t.type=r.indexOf(e)<0?r[0]:e}},altitude:{type:Boolean,default:!1}}},"1a12":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"request",(function(){return c}));var r=n("f2b3");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.url,a=t.delta,o=t.events,l=t.exists,u=t.animationType,c=t.animationDuration,d=t.from,f=void 0===d?"navigateBack":d,h=t.detail,p=getApp().$router;switch(delete p.$eventChannel,e){case"redirectTo":if("back"===l){var g=Object(r["a"])(n);if(-1!==g){var v=getCurrentPages().length-1-g;if(v>0)return s("navigateBack",{delta:v})}}p.replace({type:e,path:n});break;case"navigateTo":return p.$eventChannel=Object(i["a"])(o),p.push({type:e,path:n,animationType:u,animationDuration:c}),{errMsg:e+":ok",eventChannel:p.$eventChannel};case"navigateBack":var y=!0,m=getCurrentPages();if(m.length){var b=m[m.length-1];Object(r["c"])(b.$options,"onBackPress")&&!0===b.__call_hook("onBackPress",{from:f})&&(y=!1)}y&&(a>1&&(p._$delta=a),p.go(-a,{animationType:u,animationDuration:c}));break;case"reLaunch":p.replace({type:e,path:n});break;case"switchTab":p.replace({type:e,path:n,params:{detail:h}});break}return{errMsg:e+":ok"}}function l(e){return s("redirectTo",e)}function u(e){return s("navigateTo",e)}function c(e){return s("navigateBack",e)}function d(e){return s("reLaunch",e)}function f(e){return s("switchTab",e)}function h(e,t){var n=e.url,r=n.split("?")[0].replace(/\//g,"-");__uniConfig.__webpack_chunk_load__(r.substr(1)).then((function(){o(t,{url:n,errMsg:"preloadPage:ok"})})).catch((function(e){o(t,{url:n,errMsg:"preloadPage:fail "+e})}))}}.call(this,n("0dd1"))},"1b6f":function(e,t,n){"use strict";(function(e){var r=n("f2b3");t["a"]={mounted:function(){var e=this;this._toggleListeners("subscribe",this.id),this.$watch("id",(function(t,n){e._toggleListeners("unsubscribe",n,!0),e._toggleListeners("subscribe",t,!0)}))},beforeDestroy:function(){this._toggleListeners("unsubscribe",this.id),this._contextId&&this._toggleListeners("unsubscribe",this._contextId)},methods:{_toggleListeners:function(t,n,i){i&&!n||Object(r["k"])(this._handleSubscribe)&&e[t](this.$page.id+"-"+this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase()+"-"+n,this._handleSubscribe)},_getContextInfo:function(){var e="context-".concat(this._uid);return this._contextId||(this._toggleListeners("subscribe",e),this._contextId=e),{name:this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase(),id:e,page:this.$page.id}}}}}).call(this,n("501c"))},"1c64":function(e,t,n){"use strict";var r=n("60ee"),i=n.n(r);i.a},"1c73":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l}));var r={},i={};function a(e){for(var t=[],n=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"],r=0,i=n;r=0&&t.push("(".concat(o(a),": ").concat(Number(e[a]),"px)")),"orientation"===a&&e[a]&&t.push("(".concat(o(a),": ").concat(e[a],")"))}return t=t.join(" and "),t}function o(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function s(t){var n=t.reqId,o=t.options,s=r[n]=window.matchMedia(a(o)),l=i[n]=function(t){e.publishHandler("onRequestMediaQueryObserver",{reqId:n,res:t.matches})};l(s),s.addListener(l)}function l(t){var n=t.reqId,a=i[n],o=r[n];o&&(o.removeListener(a),delete r[n],e.publishHandler("onRequestMediaQueryObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"))},"1ca3":function(e,t,n){"use strict";n.r(t),n.d(t,"base64ToArrayBuffer",(function(){return i})),n.d(t,"arrayBufferToBase64",(function(){return a}));var r=n("8390");function i(e){return Object(r["decode"])(e)}function a(e){return Object(r["encode"])(e)}},"1e4d":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&(o.length=1),c.push("".concat(a,"(").concat(o.join(","),")"));else if(r.concat(i).includes(o[0])){a=o[0];var s=o[1];u[a]=i.includes(a)?p(s):s}})),u.transform=u.webkitTransform=c.join(" "),u.transition=u.webkitTransition=Object.keys(u).map((function(e){return"".concat(g(e)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")})).join(","),u.transformOrigin=u.webkitTransformOrigin=o.transformOrigin,u}function y(e){var t=e.animation;if(t&&t.actions&&t.actions.length){var n=0,r=t.actions,i=t.actions.length;setTimeout((function(){a()}),0)}function a(){var t=r[n],o=t.option.transition,s=v(t);Object.keys(s).forEach((function(t){e.$el.style[t]=s[t]})),n+=1,n=0&&this._callbacks.splice(t,1)}},{key:"offHeadersReceived",value:function(){}}]),e}(),u=Object.create(null);function c(e,t){var n=Object(i["c"])("createUploadTask",e),r=n.uploadTaskId,a=new l(r,t);return u[r]=a,a}Object(i["d"])("onUploadTaskStateChange",(function(e){var t=e.uploadTaskId,n=e.state,i=e.data,a=e.statusCode,o=e.progress,s=e.totalBytesSent,l=e.totalBytesExpectedToSend,c=e.errMsg,d=u[t],f=d._callbackId;switch(n){case"progressUpdate":d._callbacks.forEach((function(e){e({progress:o,totalBytesSent:s,totalBytesExpectedToSend:l})}));break;case"success":Object(r["a"])(f,{data:i,statusCode:a,errMsg:"request:ok"});case"fail":Object(r["a"])(f,{errMsg:"request:fail "+c});default:setTimeout((function(){delete u[t]}),100);break}}))},2190:function(e,t,n){},2209:function(e){e.exports=JSON.parse('{"uni.app.quit":"再按一次退出应用","uni.async.error":"连接服务器超时,点击屏幕重试","uni.showActionSheet.cancel":"取消","uni.showToast.unpaired":"请注意 showToast 与 hideToast 必须配对使用","uni.showLoading.unpaired":"请注意 showLoading 与 hideLoading 必须配对使用","uni.showModal.cancel":"取消","uni.showModal.confirm":"确定","uni.chooseImage.cancel":"取消","uni.chooseImage.sourceType.album":"从相册选择","uni.chooseImage.sourceType.camera":"拍摄","uni.chooseVideo.cancel":"取消","uni.chooseVideo.sourceType.album":"从相册选择","uni.chooseVideo.sourceType.camera":"拍摄","uni.chooseFile.notUserActivation":"文件选择器对话框只能在由用户激活时显示","uni.previewImage.cancel":"取消","uni.previewImage.button.save":"保存图像","uni.previewImage.save.success":"保存图像到相册成功","uni.previewImage.save.fail":"保存图像到相册失败","uni.setClipboardData.success":"内容已复制","uni.scanCode.title":"扫码","uni.scanCode.album":"相册","uni.scanCode.fail":"识别失败","uni.scanCode.flash.on":"轻触照亮","uni.scanCode.flash.off":"轻触关闭","uni.startSoterAuthentication.authContent":"指纹识别中...","uni.picker.done":"完成","uni.picker.cancel":"取消","uni.video.danmu":"弹幕","uni.video.volume":"音量","uni.button.feedback.title":"问题反馈","uni.button.feedback.send":"发送","uni.chooseLocation.search":"搜索地点","uni.chooseLocation.cancel":"取消"}')},2246:function(e,t,n){"use strict";n.r(t),n.d(t,"showModal",(function(){return a})),n.d(t,"showToast",(function(){return o})),n.d(t,"showLoading",(function(){return s})),n.d(t,"showActionSheet",(function(){return l}));var r=n("a6b0"),i=n("cb0f"),a={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:function(){return Object(r["g"])("uni.showModal.cancel")}},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:function(){return Object(r["g"])("uni.showModal.confirm")}},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!0}},o={title:{type:String,default:""},icon:{default:"success",validator:function(e,t){-1===["success","loading","error","none"].indexOf(e)&&(t.icon="success")}},image:{type:String,default:"",validator:function(e,t){e&&(t.image=Object(i["a"])(e))}},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},s={title:{type:String,default:""},icon:{type:String,default:"loading"},duration:{type:Number,default:1e8},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},l={itemList:{type:Array,required:!0,validator:function(e,t){if(!e.length)return"parameter.itemList should have at least 1 item"}},itemColor:{type:String,default:"#000000"},visible:{type:Boolean,default:!0},popover:{type:Object}}},2289:function(e,t,n){"use strict";n.r(t),n.d(t,"upx2px",(function(){return r}));var r=[{name:"upx",type:[Number,String],required:!0}]},"232e":function(e,t,n){"use strict";n.r(t),n.d(t,"pageScrollTo",(function(){return r}));var r={scrollTop:{type:Number},duration:{type:Number,default:300,validator:function(e,t){t.duration=Math.max(0,e)}}}},2399:function(e,t,n){},"23e5":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return g}));var r=n("a741");function i(e){-1===this.keepAliveInclude.indexOf(e)&&this.keepAliveInclude.push(e)}var a=[];function o(e){if("number"===typeof e)a=this.keepAliveInclude.splice(-(e-1)).map((function(e){return parseInt(e.split("-").pop())}));else{var t=this.keepAliveInclude.indexOf(e);-1!==t&&this.keepAliveInclude.splice(t,1)}}var s=Object.create(null);function l(e){return s[e]}function u(e){s[e]={x:window.pageXOffset,y:window.pageYOffset}}function c(e,t,n){t&&n&&t.meta.isTabBar&&n.meta.isTabBar&&u(n.params.__id__);for(var i=getCurrentPages(),a=i.length-1;a>=0;a--){var s=i[a],l=s.$page.meta;l.isTabBar||(o.call(this,l.name+"-"+s.$page.id),Object(r["b"])(s,"onUnload"))}}function d(e){__uniConfig.reLaunch=(__uniConfig.reLaunch||1)+1;for(var t=getCurrentPages(!0),n=t.length-1;n>=0;n--)Object(r["b"])(t[n],"onUnload"),t[n].$destroy();this.keepAliveInclude=[],s=Object.create(null)}var f=[];function h(e,t,n,r){f=getCurrentPages(!0);var a=t.params.__id__,s=e.params.__id__,l=e.meta.name+"-"+s;if(s===a&&"reLaunch"!==e.type)e.fullPath!==t.fullPath?(i.call(this,l),n()):n(!1);else if(e.meta.id&&e.meta.id!==s)n({path:e.path,replace:!0});else{var u=t.meta.name+"-"+a;switch(e.type){case"navigateTo":break;case"redirectTo":o.call(this,u),t.meta&&t.meta.isQuit&&(e.meta.isQuit=!0,e.meta.isEntry=!!t.meta.isEntry);break;case"switchTab":c.call(this,r,e,t);break;case"reLaunch":d.call(this,l),e.meta.isQuit=!0;break;default:a&&a>s&&(o.call(this,u),this.$router._$delta>1&&o.call(this,this.$router._$delta));break}if("reLaunch"!==e.type&&"redirectTo"!==e.type&&t.meta.id&&i.call(this,u),i.call(this,l),e.meta&&e.meta.name){document.body.className="uni-body "+e.meta.name;var h="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.meta.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(h,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(h))}n()}}function p(t,n){var i=n.params.__id__,o=t.params.__id__,s=f.find((function(e){return e.$page.id===i}));function l(e){if(e){Object(r["b"])(e,"onUnload");var t=f.indexOf(e);t>=0&&f.splice(t,1)}}switch(t.type){case"navigateTo":s&&Object(r["b"])(s,"onHide");break;case"redirectTo":l(s);break;case"switchTab":n.meta.isTabBar&&s&&Object(r["b"])(s,"onHide");break;case"reLaunch":break;default:i&&i>o&&(l(s),this.$router._$delta>1&&a.reverse().forEach((function(e){var t=f.find((function(t){return t.$page.id===e}));l(t)})));break}if(delete this.$router._$delta,a.length=0,"reLaunch"!==t.type){var u=getCurrentPages(!0).find((function(e){return e.$page.id===o}));u&&(setTimeout((function(){e.emit("onNavigationBarChange",u.$parent.$parent.navigationBar),Object(r["b"])(u,"onShow")}),0),document.title=u.$parent.$parent.navigationBar.titleText)}}function g(e,t){e.$router.beforeEach((function(n,r,i){h.call(e,n,r,i,t)})),e.$router.afterEach((function(t,n){p.call(e,t,n)}))}}).call(this,n("0dd1"))},"24d9":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n("f2b3");function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e){return e.mp=Object.assign({"@warning":"mp is deprecated"},e),e._processed=!0,e}function o(e,t){return Object(r["l"])(t)&&(Object(r["i"])(t,"backgroundColor")&&(e.backgroundColor=t.backgroundColor),Object(r["i"])(t,"buttons")&&(e.buttons=t.buttons),Object(r["i"])(t,"titleColor")&&(e.textColor=t.titleColor),Object(r["i"])(t,"titleText")&&(e.titleText=t.titleText),Object(r["i"])(t,"titleSize")&&(e.titleSize=t.titleSize),Object(r["i"])(t,"type")&&(e.type=t.type),Object(r["i"])(t,"searchInput")&&"object"===i(t.searchInput)&&(e.searchInput=Object.assign({autoFocus:!1,align:"center",color:"#000000",backgroundColor:"rgba(255,255,255,0.5)",borderRadius:"0px",placeholder:"",placeholderColor:"#CCCCCC",disabled:!1},t.searchInput))),e}},"250d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-input",e._g({},e.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-input-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(e.composing||e.valueSync.length||"-"===e.cachedValue),expression:"!(composing || valueSync.length || cachedValue === '-')"}],ref:"placeholder",staticClass:"uni-input-placeholder",class:e.placeholderClass,style:e.placeholderStyle,domProps:{textContent:e._s(e.placeholder)}}),"checkbox"!==e.inputType||e.disabled&&e.fixColor?"radio"!==e.inputType||e.disabled&&e.fixColor?e.disabled&&e.fixColor?e._e():n("input",{directives:[{name:"model",rawName:"v-model",value:e.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:e.disabled,maxlength:e.maxlength,step:e._step,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":null,autocomplete:e.autocomplete,type:e.inputType},domProps:{value:e.valueSync},on:{change:function(e){e.stopPropagation()},focus:e._onFocus,blur:e._onBlur,input:[function(t){t.target.composing||(e.valueSync=t.target.value)},function(t){return t.stopPropagation(),e._onInput(t)}],compositionstart:function(t){return t.stopPropagation(),e._onComposition(t)},compositionend:function(t){return t.stopPropagation(),e._onComposition(t)},compositionupdate:function(t){return t.stopPropagation(),e._onComposition(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e._onKeyup(t))}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:e.disabled,maxlength:e.maxlength,step:e._step,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":null,autocomplete:e.autocomplete,type:"radio"},domProps:{checked:e._q(e.valueSync,null)},on:{change:[function(t){e.valueSync=null},function(e){e.stopPropagation()}],focus:e._onFocus,blur:e._onBlur,input:function(t){return t.stopPropagation(),e._onInput(t)},compositionstart:function(t){return t.stopPropagation(),e._onComposition(t)},compositionend:function(t){return t.stopPropagation(),e._onComposition(t)},compositionupdate:function(t){return t.stopPropagation(),e._onComposition(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e._onKeyup(t))}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:e.disabled,maxlength:e.maxlength,step:e._step,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":null,autocomplete:e.autocomplete,type:"checkbox"},domProps:{checked:Array.isArray(e.valueSync)?e._i(e.valueSync,null)>-1:e.valueSync},on:{change:[function(t){var n=e.valueSync,r=t.target,i=!!r.checked;if(Array.isArray(n)){var a=null,o=e._i(n,a);r.checked?o<0&&(e.valueSync=n.concat([a])):o>-1&&(e.valueSync=n.slice(0,o).concat(n.slice(o+1)))}else e.valueSync=i},function(e){e.stopPropagation()}],focus:e._onFocus,blur:e._onBlur,input:function(t){return t.stopPropagation(),e._onInput(t)},compositionstart:function(t){return t.stopPropagation(),e._onComposition(t)},compositionend:function(t){return t.stopPropagation(),e._onComposition(t)},compositionupdate:function(t){return t.stopPropagation(),e._onComposition(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e._onKeyup(t))}}}),e.disabled&&e.fixColor?n("input",{ref:"input",staticClass:"uni-input-input",attrs:{tabindex:"-1",readonly:e.disabled,type:e.inputType,maxlength:e.maxlength,step:e._step},domProps:{value:e.valueSync},on:{focus:function(e){return e.target.blur()}}}):e._e()])])},i=[],a=n("8af1"),o=n("f2b3"),s=["text","number","idcard","digit","password","tel"],l=["number","digit"],u=["off","one-time-code"],c={name:"Input",mixins:[a["b"]],props:{name:{type:String,default:""},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:"input-placeholder"},disabled:{type:[Boolean,String],default:!1},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},textContentType:{type:String,default:""},step:{type:String,default:"0.000000000000000001"}},data:function(){return{wrapperHeight:0,cachedValue:""}},computed:{inputType:function(){var e="";switch(this.type){case"text":"search"===this.confirmType&&(e="search");break;case"idcard":e="text";break;case"digit":e="number";break;default:e=~s.indexOf(this.type)?this.type:"text";break}return this.password?"password":e},_step:function(){return~l.indexOf(this.type)?this.step:""},autocomplete:function(){var e=u.indexOf(this.textContentType),t=u.indexOf(Object(o["n"])(this.textContentType)),n=-1!==e?e:-1!==t?t:0;return u[n]}},watch:{maxlength:function(e){var t=this.valueSync.slice(0,parseInt(e,10));t!==this.valueSync&&(this.valueSync=t)},valueSync:function(e){"number"!==this.type||"-"===this.cachedValue&&""===e||(this.cachedValue=e)}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){if("search"===this.confirmType){var e=document.createElement("form");e.action="",e.onsubmit=function(){return!1},e.className="uni-input-form",e.appendChild(this.$refs.input),this.$refs.wrapper.appendChild(e)}var t=this;while(t){var n=t.$options._scopeId;n&&this.$refs.placeholder.setAttribute(n,""),t=t.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyup:function(e){var t=e.target;this.$trigger("confirm",e,{value:t.value}),this.confirmHold||t.blur()},_onInput:function(e,t){var n=this,r=!1;if(!this.composing||!this.ignoreCompositionEvent){if("number"===this.inputType){var i=parseInt(this.maxlength,10);if(i>0&&e.target.value.length>i&&(this.cachedValue.length===i?(this.valueSync=this.cachedValue,r=!0):(e.target.value=e.target.value.slice(0,i),this.valueSync=e.target.value)),this.__clearCachedValue&&e.target.removeEventListener("blur",this.__clearCachedValue),e.target.validity&&!e.target.validity.valid){if(!this.cachedValue&&"-"===e.data||"-"===this.cachedValue[0]&&"deleteContentBackward"===e.inputType){this.cachedValue="-";var a=this.__clearCachedValue=function(){n.cachedValue=""};return void e.target.addEventListener("blur",a)}return void(this.cachedValue=this.valueSync=e.target.value="-"===this.cachedValue?"":this.cachedValue)}this.cachedValue=this.valueSync}r||(this.ignoreCompositionEvent||(this.valueSync=this.$refs.input.value),this.$triggerInput(e,{value:this.valueSync},t))}},_onComposition:function(e){switch(e.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(e));break}!this.ignoreCompositionEvent&&this.$trigger(e.type,e,{data:e.data})},_resetFormData:function(){this.valueSync=""},_getFormData:function(){return this.name?{value:this.valueSync,key:this.name}:{}}}},d=c,f=(n("0f55"),n("2877")),h=Object(f["a"])(d,r,i,!1,null,null,null);t["default"]=h.exports},"25ce":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-checkbox-group",e._g({},e.$listeners),[e._t("default")],2)},i=[],a=n("8af1"),o={name:"CheckboxGroup",mixins:[a["a"],a["f"]],props:{name:{type:String,default:""}},data:function(){return{checkboxList:[]}},listeners:{"@checkbox-change":"_changeHandler","@checkbox-group-update":"_checkboxGroupUpdateHandler"},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_changeHandler:function(e){var t=[];this.checkboxList.forEach((function(e){e.checkboxChecked&&t.push(e.value)})),this.$trigger("change",e,{value:t})},_checkboxGroupUpdateHandler:function(e){if("add"===e.type)this.checkboxList.push(e.vm);else{var t=this.checkboxList.indexOf(e.vm);this.checkboxList.splice(t,1)}},_getFormData:function(){var e={};if(""!==this.name){var t=[];this.checkboxList.forEach((function(e){e.checkboxChecked&&t.push(e.value)})),e.value=t,e.key=this.name}return e}}},s=o,l=(n("0998"),n("2877")),u=Object(l["a"])(s,r,i,!1,null,null,null);t["default"]=u.exports},2604:function(e,t,n){"use strict";n.r(t),n.d(t,"openDocument",(function(){return r}));var r={filePath:{type:String,required:!0},fileType:{type:String}}},2608:function(e,t,n){"use strict";(function(e){function r(t){return function(){try{return t.apply(t,arguments)}catch(n){e.error(n)}}}function i(t){return function(){try{return t.apply(t,arguments)}catch(n){e.error(n)}}}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}))}).call(this,n("3ad9")["default"])},2765:function(e,t,n){"use strict";var r=n("3590"),i=n.n(r);i.a},"27a7":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"d",(function(){return x})),n.d(t,"c",(function(){return M}));var r=n("f2b3"),i=n("2608"),a=n("ed1a"),o=n("6710"),s=n("cc76"),l=n("de29");function u(e,t,n){var r="".concat(t,":fail ").concat(e);if(-1===n)throw new Error(r);return"number"===typeof n&&b(n,{errMsg:r}),!1}var c=[{name:"callback",type:Function,required:!0}],d=["beforeValidate","beforeAll","beforeSuccess"];function f(e,t,n){var i=s["a"][e];if(!i&&Object(a["a"])(e)&&(i=c),i){if(Array.isArray(i)&&Array.isArray(t)){var o=Object.create(null),f=Object.create(null),h=t.length;i.forEach((function(e,n){o[e.name]=e,h>n&&(f[e.name]=t[n])})),i=o,t=f}if(Object(r["k"])(i.beforeValidate)){var p=i.beforeValidate(t);if(p)return u(p,e,n)}for(var g=Object.keys(i),v=0;v1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(r["l"])(t))return{params:t};t=Object.assign({},t);var a=Object(o["a"])(t),s=a.success,l=a.fail,u=a.cancel,c=a.complete,d=Object(r["k"])(s),f=Object(r["k"])(l),g=Object(r["k"])(u),v=Object(r["k"])(c);if(!d&&!f&&!g&&!v)return{params:t};var y={};for(var m in n){var b=n[m];Object(r["k"])(b)&&(y[m]=Object(i["b"])(b))}var _=y.beforeSuccess,x=y.afterSuccess,w=y.beforeFail,S=y.afterFail,M=y.beforeCancel,T=y.afterCancel,A=y.beforeAll,C=y.afterAll,O=h++,k="api."+e+"."+O,I=function(n){if(n.errMsg=n.errMsg||e+":ok",-1!==n.errMsg.indexOf(":ok"))n.errMsg=e+":ok";else if(-1!==n.errMsg.indexOf(":cancel"))n.errMsg=e+":cancel";else if(-1!==n.errMsg.indexOf(":fail")){var i="",a=n.errMsg.indexOf(" ");a>-1&&(i=n.errMsg.substr(a)),n.errMsg=e+":fail"+i}Object(r["k"])(A)&&A(n);var o=n.errMsg;0===o.indexOf(e+":ok")?(Object(r["k"])(_)&&_(n,t),d&&s(n),Object(r["k"])(x)&&x(n)):0===o.indexOf(e+":cancel")?(n.errMsg=n.errMsg.replace(e+":cancel",e+":fail cancel"),f&&l(n),Object(r["k"])(M)&&M(n),g&&u(n),Object(r["k"])(T)&&T(n)):0===o.indexOf(e+":fail")&&(Object(r["k"])(w)&&w(n),f&&l(n),Object(r["k"])(S)&&S(n)),v&&c(n),Object(r["k"])(C)&&C(n)};return p[O]={name:k,callback:I},{params:t,callbackId:O}}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=y(e,t,n),a=i.params,o=i.callbackId;return Object(r["l"])(a)&&!f(e,a,o)?{params:a,callbackId:!1}:{params:a,callbackId:o}}function b(e,t,n){if("number"===typeof e){var r=p[e];if(r)return r.keepAlive||delete p[e],r.callback(t,n)}return t}function _(e){delete p[e]}function x(t){return function(n){e.error("API `"+t+"` is not yet implemented")}}function w(e,t){var n=s["a"][e];n&&(Object(r["k"])(n.beforeAll)&&(t.beforeAll=n.beforeAll),Object(r["k"])(n.beforeSuccess)&&(t.beforeSuccess=n.beforeSuccess))}var S=["getPushClientId","onPushMessage","offPushMessage"];function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return S.indexOf(e)>-1||!Object(r["k"])(t)?t:(w(e,n),function(){for(var i=arguments.length,o=new Array(i),s=0;se.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?t-1:0),r=1;r0;)this.emit.apply(this,[e].concat(t.shift()))}},{key:"_addListener",value:function(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}]),e}()},"28da":function(e,t,n){},"29a2":function(e,t,n){},"2bdd":function(e,t,n){"use strict";n.r(t),function(e){var r;n.d(t,"startAccelerometer",(function(){return a})),n.d(t,"stopAccelerometer",(function(){return o})),n.d(t,"onAccelerometerChange",(function(){return s})),n.d(t,"offAccelerometerChange",(function(){return l}));var i=[];function a(t,n){var a=e,o=a.invokeCallbackHandler;if(!window.DeviceMotionEvent)return{errMsg:"startAccelerometer:fail"};function s(){r=function(e){var t=e.acceleration||e.accelerationIncludingGravity;i.forEach((function(e){o(e,{x:t.x||0,y:t.y||0,z:t.z||0})}))},window.addEventListener("devicemotion",r,!1)}if(!r){if(DeviceMotionEvent.requestPermission)return void DeviceMotionEvent.requestPermission().then((function(e){"granted"===e?(s(),o(n,{errMsg:"startAccelerometer:ok"})):o(n,{errMsg:"startAccelerometer:fail ".concat(e)})})).catch((function(e){o(n,{errMsg:"startAccelerometer:fail ".concat(e)})}));s()}return{}}function o(){return r&&(window.removeEventListener("devicemotion",r,!1),r=null),{}}function s(e){i.length||a(),i.push(e)}function l(e){if(e){var t=i.indexOf(e);t>=0&&i.splice(t,1)}i.length||o()}}.call(this,n("0dd1"))},"2c45":function(e,t,n){},"2c67":function(e,t,n){"use strict";n.r(t),function(e){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0?p:255,[d,f,h,p]}return r.error("unsupported color:"+e),[0,0,0,255]}function S(e,t){this.type="pattern",this.data=e,this.colorStop=t}var M=function(){function e(t,n){v(this,e),this.type=t,this.data=n,this.colorStop=[]}return m(e,[{key:"addColorStop",value:function(e,t){this.colorStop.push([e,w(t)])}}]),e}(),T=["scale","rotate","translate","setTransform","transform"],A=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],C=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];function O(e,t){var n=document.createElement("canvas"),r=n.getContext("2d");return r.font=t,r.measureText(e).width||0}function k(e){this.width=e}var I=function(){function e(t,n){v(this,e),this.id=t,this.pageId=n,this.actions=[],this.path=[],this.subpath=[],this.currentTransform=[],this.currentStepAnimates=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}return m(e,[{key:"draw",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=c(this.actions);this.actions=[],this.path=[],"function"===typeof n&&(e=b.push(n)),_(this.id,this.pageId,"actionsChanged",{actions:r,reserve:t,callbackId:e})}},{key:"createLinearGradient",value:function(e,t,n,r){return new M("linear",[e,t,n,r])}},{key:"createCircularGradient",value:function(e,t,n){return new M("radial",[e,t,n])}},{key:"createPattern",value:function(e,t){if(void 0===t)r.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new S(e,t);r.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}},{key:"measureText",value:function(e){var t=this.state.font,n=0;return n=O(e,t),new k(n)}},{key:"save",value:function(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}},{key:"restore",value:function(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}},{key:"beginPath",value:function(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}},{key:"moveTo",value:function(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}},{key:"lineTo",value:function(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}},{key:"quadraticCurveTo",value:function(e,t,n,r){this.path.push({method:"quadraticCurveTo",data:[e,t,n,r]}),this.subpath.push([n,r])}},{key:"bezierCurveTo",value:function(e,t,n,r,i,a){this.path.push({method:"bezierCurveTo",data:[e,t,n,r,i,a]}),this.subpath.push([i,a])}},{key:"arc",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.path.push({method:"arc",data:[e,t,n,r,i,a]}),this.subpath.push([e,t])}},{key:"rect",value:function(e,t,n,r){this.path.push({method:"rect",data:[e,t,n,r]}),this.subpath=[[e,t]]}},{key:"arcTo",value:function(e,t,n,r,i){this.path.push({method:"arcTo",data:[e,t,n,r,i]}),this.subpath.push([n,r])}},{key:"clip",value:function(){this.actions.push({method:"clip",data:c(this.path)})}},{key:"closePath",value:function(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}},{key:"clearActions",value:function(){this.actions=[],this.path=[],this.subpath=[]}},{key:"getActions",value:function(){var e=c(this.actions);return this.clearActions(),e}},{key:"lineDashOffset",set:function(e){this.actions.push({method:"setLineDashOffset",data:[e]})}},{key:"globalCompositeOperation",set:function(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}},{key:"shadowBlur",set:function(e){this.actions.push({method:"setShadowBlur",data:[e]})}},{key:"shadowColor",set:function(e){this.actions.push({method:"setShadowColor",data:[e]})}},{key:"shadowOffsetX",set:function(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}},{key:"shadowOffsetY",set:function(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}},{key:"font",set:function(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var i=n[1].trim().split(/\s/),a=parseFloat(n[3]),o=n[7],s=[];i.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&l()})),1===i.length&&l(),i=s.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=a,this.state.fontFamily=o,this.actions.push({method:"setFont",data:["".concat(i," ").concat(a,"px ").concat(o)]})}else r.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function l(){s.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}},get:function(){return this.state.font}},{key:"fillStyle",set:function(e){this.setFillStyle(e)}},{key:"strokeStyle",set:function(e){this.setStrokeStyle(e)}},{key:"globalAlpha",set:function(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}},{key:"textAlign",set:function(e){this.actions.push({method:"setTextAlign",data:[e]})}},{key:"lineCap",set:function(e){this.actions.push({method:"setLineCap",data:[e]})}},{key:"lineJoin",set:function(e){this.actions.push({method:"setLineJoin",data:[e]})}},{key:"lineWidth",set:function(e){this.actions.push({method:"setLineWidth",data:[e]})}},{key:"miterLimit",set:function(e){this.actions.push({method:"setMiterLimit",data:[e]})}},{key:"textBaseline",set:function(e){this.actions.push({method:"setTextBaseline",data:[e]})}}]),e}();function P(t,n){if(n)return new I(t,n.$page.id);var r=Object(o["a"])();if(r)return new I(t,r);e.emit("onError","createCanvasContext:fail")}function E(e,t){var n=e.canvasId,r=e.x,i=e.y,a=e.width,l=e.height,u=Object(o["a"])();if(u){var c=b.push((function(e){var n=e.data;n&&n.length&&(e.data=new Uint8ClampedArray(n)),Object(s["a"])(t,e)}));_(n,u,"getImageData",{x:r,y:i,width:a,height:l,callbackId:c})}else Object(s["a"])(t,{errMsg:"canvasGetImageData:fail"})}function L(e,t){var n=e.canvasId,r=e.data,i=e.x,a=e.y,l=e.width,u=e.height,c=Object(o["a"])();if(c){var d,f=b.push((function(e){Object(s["a"])(t,e)}));r=Array.prototype.slice.call(r),_(n,c,"putImageData",{data:r,x:i,y:a,width:l,height:u,compressed:d,callbackId:f})}else Object(s["a"])(t,{errMsg:"canvasPutImageData:fail"})}function D(e,t){var n=e.x,r=void 0===n?0:n,i=e.y,a=void 0===i?0:i,u=e.width,c=e.height,d=e.destWidth,f=e.destHeight,h=e.canvasId,p=e.fileType,g=e.quality,v=Object(o["a"])();if(v){var y=b.push((function(e){Object(s["a"])(t,e)})),m="".concat(l["TEMP_PATH"],"/canvas");_(h,v,"toTempFilePath",{x:r,y:a,width:u,height:c,destWidth:d,destHeight:f,fileType:p,quality:g,dirname:m,callbackId:y})}else Object(s["a"])(t,{errMsg:"canvasToTempFilePath:fail"})}[].concat(T,A).forEach((function(e){function t(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:c(this.path)})};case"fillRect":return function(e,t,n,r){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,r]}]})};case"strokeRect":return function(e,t,n,r){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,r]}]})};case"fillText":case"strokeText":return function(t,n,r,i){var a=[t.toString(),n,r];"number"===typeof i&&a.push(i),this.actions.push({method:e,data:a})};case"drawImage":return function(t,n,r,i,a,o,s,l,u){var c;function d(e){return"number"===typeof e}void 0===u&&(o=n,s=r,l=i,u=a,n=void 0,r=void 0,i=void 0,a=void 0),c=d(n)&&d(r)&&d(i)&&d(a)?[t,o,s,l,u,n,r,i,a]:d(l)&&d(u)?[t,o,s,l,u]:[t,o,s],this.actions.push({method:e,data:c})};default:return function(){for(var t=arguments.length,n=new Array(t),r=0;r0&&e<1/0?e:0;var t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=Math.floor(e%3600%60);t=(t<10?"0":"")+t,n=(n<10?"0":"")+n,r=(r<10?"0":"")+r;var i=n+":"+r;return"00"!==t&&(i=t+":"+i),i}},mixins:[s["c"],a["g"],a["d"]],props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:function(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},data:function(){return{start:!1,playing:!1,currentTime:0,durationTime:0,progress:0,touching:!1,enableDanmuSync:Boolean(this.enableDanmu),controlsVisible:!0,fullscreen:!1,controlsTouching:!1,touchStartOrigin:{x:0,y:0},gestureType:u.NONE,currentTimeOld:0,currentTimeNew:0,volumeOld:null,volumeNew:null,buffered:0,isSafari:/^Apple/.test(navigator.vendor)}},computed:{centerPlayBtnShow:function(){return this.showCenterPlayBtn&&!this.start},controlsShow:function(){return!this.centerPlayBtnShow&&this.controls&&this.controlsVisible},autoHideContorls:function(){return this.controlsShow&&this.playing&&!this.controlsTouching},srcSync:function(){return this.$getRealPath(this.src)}},watch:{enableDanmuSync:function(e){this.$emit("update:enableDanmu",e)},autoHideContorls:function(e){e?this.autoHideStart():this.autoHideEnd()},srcSync:function(e){this.playing=!1,this.currentTime=0},currentTime:function(){this.updateProgress()},duration:function(){this.updateProgress()},buffered:function(e){0!==e&&this.$trigger("progress",{},{buffered:e})}},created:function(){this.otherData={danmuList:[],danmuIndex:{time:0,index:-1},hideTiming:null};var e=this.otherData.danmuList=JSON.parse(JSON.stringify(this.danmuList||[]));e.sort((function(e,t){return(e.time||0)-(t.time||0)}))},mounted:function(){var e,t,n,r=this,i=this,a=!0,o=this.$refs.ball;function s(r){var o=r.targetTouches[0],s=o.pageX,l=o.pageY;if(a&&Math.abs(s-e)100&&(d=100),i.progress=d,r.preventDefault(),r.stopPropagation()}}function u(e){i.controlsTouching=!1,i.touching&&(o.removeEventListener("touchmove",s,l),a||(e.preventDefault(),e.stopPropagation(),i.seek(i.$refs.video.duration*i.progress/100)),i.touching=!1)}o.addEventListener("touchstart",(function(i){r.controlsTouching=!0;var u=i.targetTouches[0];e=u.pageX,t=u.pageY,n=r.progress,a=!0,r.touching=!0,o.addEventListener("touchmove",s,l)})),o.addEventListener("touchend",u),o.addEventListener("touchcancel",u)},beforeDestroy:function(){this.triggerFullscreen(!1),clearTimeout(this.otherData.hideTiming)},methods:{_handleSubscribe:function(e){var t,n=e.type,r=e.data,i=void 0===r?{}:r,a=["play","pause","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"];switch(n){case"seek":t=i.position;break;case"sendDanmu":t=i;break;case"playbackRate":t=i.rate;break}a.indexOf(n)>=0&&this[n](t)},trigger:function(){this.playing?this.$refs.video.pause():this.$refs.video.play()},play:function(){this.start=!0,this.$refs.video.play()},pause:function(){this.$refs.video.pause()},seek:function(e){e=Number(e),"number"!==typeof e||isNaN(e)||(this.$refs.video.currentTime=e)},clickProgress:function(e){var t=this.$refs.progress,n=e.target,r=e.offsetX;while(n!==t)r+=n.offsetLeft,n=n.parentNode;var i=t.offsetWidth,a=0;r>=0&&r<=i&&(a=r/i,this.seek(this.$refs.video.duration*a))},triggerDanmu:function(){this.enableDanmuSync=!this.enableDanmuSync},playDanmu:function(e){var t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;var n="bottom: ".concat(100*Math.random(),"%;color: ").concat(e.color,";");t.setAttribute("style",n),this.$refs.danmu.appendChild(t),setTimeout((function(){n+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",n),setTimeout((function(){t.remove()}),4e3)}),17)},sendDanmu:function(e){var t=this.otherData;t.danmuList.splice(t.danmuIndex.index+1,0,{text:String(e.text),color:e.color,time:this.$refs.video.currentTime||0})},playbackRate:function(e){this.$refs.video.playbackRate=e},triggerFullscreen:function(e){var t,n=this.$refs.container,r=this.$refs.video;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||this.isSafari&&!this.userInteract?r.webkitEnterFullScreen?r.webkitEnterFullScreen():(t=!0,n.remove(),n.classList.add("uni-video-type-fullscreen"),document.body.appendChild(n)):n[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():r.webkitExitFullScreen?r.webkitExitFullScreen():(t=!0,n.remove(),n.classList.remove("uni-video-type-fullscreen"),this.$el.appendChild(n)),t&&this.emitFullscreenChange(e)},onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||this.emitFullscreenChange(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:function(e){this.fullscreen=e,this.$trigger("fullscreenchange",{},{fullScreen:e,direction:"vertical"})},requestFullScreen:function(){this.triggerFullscreen(!0)},exitFullScreen:function(){this.triggerFullscreen(!1)},onDurationChange:function(e){var t=e.target;this.durationTime=t.duration},onLoadedMetadata:function(e){var t=Number(this.initialTime)||0,n=e.target;t>0&&(n.currentTime=t),this.$trigger("loadedmetadata",e,{width:n.videoWidth,height:n.videoHeight,duration:n.duration}),this.onProgress(e)},onProgress:function(e){var t=e.target,n=t.buffered;n.length&&(this.buffered=n.end(n.length-1)/t.duration*100)},onWaiting:function(e){this.$trigger("waiting",e,{})},onVideoError:function(e){this.playing=!1,this.$trigger("error",e,{})},onPlay:function(e){this.start=!0,this.playing=!0,this.$trigger("play",e,{})},onPause:function(e){this.playing=!1,this.$trigger("pause",e,{})},onEnded:function(e){this.playing=!1,this.$trigger("ended",e,{})},onTimeUpdate:function(e){var t=e.target,n=this.otherData,r=this.currentTime=t.currentTime,i=n.danmuIndex,a={time:r,index:i.index},o=n.danmuList;if(r>i.time)for(var s=i.index+1;s=(l.time||0)))break;a.index=s,this.playing&&this.enableDanmuSync&&this.playDanmu(l)}else if(r-1;u--){var c=o[u];if(!(r<=(c.time||0)))break;a.index=u-1}n.danmuIndex=a,this.$trigger("timeupdate",e,{currentTime:r,duration:t.duration})},triggerControls:function(){this.controlsVisible=!this.controlsVisible},touchstart:function(e){var t=e.targetTouches[0];this.touchStartOrigin={x:t.pageX,y:t.pageY},this.gestureType=u.NONE,this.volumeOld=null,this.currentTimeOld=this.currentTimeNew=0},touchmove:function(e){function t(){e.stopPropagation(),e.preventDefault()}this.fullscreen&&t();var n=this.gestureType;if(n!==u.STOP){var r=e.targetTouches[0],i=r.pageX,a=r.pageY,o=this.touchStartOrigin;if(n===u.PROGRESS?this.changeProgress(i-o.x):n===u.VOLUME&&this.changeVolume(a-o.y),n===u.NONE)if(Math.abs(i-o.x)>Math.abs(a-o.y)){if(!this.enableProgressGesture)return void(this.gestureType=u.STOP);this.gestureType=u.PROGRESS,this.currentTimeOld=this.currentTimeNew=this.$refs.video.currentTime,this.fullscreen||t()}else{if(!this.pageGesture)return void(this.gestureType=u.STOP);this.gestureType=u.VOLUME,this.volumeOld=this.$refs.video.volume,this.fullscreen||t()}}},touchend:function(e){this.gestureType!==u.NONE&&this.gestureType!==u.STOP&&(e.stopPropagation(),e.preventDefault()),this.gestureType===u.PROGRESS&&this.currentTimeOld!==this.currentTimeNew&&(this.$refs.video.currentTime=this.currentTimeNew),this.gestureType=u.NONE},changeProgress:function(e){var t=this.$refs.video.duration,n=e/600*t+this.currentTimeOld;n<0?n=0:n>t&&(n=t),this.currentTimeNew=n},changeVolume:function(e){var t,n=this.volumeOld;"number"===typeof n&&(t=n-e/200,t<0?t=0:t>1&&(t=1),this.$refs.video.volume=t,this.volumeNew=t)},autoHideStart:function(){var e=this;this.otherData.hideTiming=setTimeout((function(){e.controlsVisible=!1}),3e3)},autoHideEnd:function(){var e=this.otherData;e.hideTiming&&(clearTimeout(e.hideTiming),e.hideTiming=null)},updateProgress:function(){this.touching||(this.progress=this.currentTime/this.durationTime*100)}}},d=c,f=(n("856e"),n("2877")),h=Object(f["a"])(d,r,i,!1,null,null,null);t["default"]=h.exports},"324c":function(e,t,n){},"332a":function(e,t,n){"use strict";n.r(t),n.d(t,"redirectTo",(function(){return u})),n.d(t,"reLaunch",(function(){return c})),n.d(t,"navigateTo",(function(){return d})),n.d(t,"switchTab",(function(){return f})),n.d(t,"navigateBack",(function(){return h})),n.d(t,"preloadPage",(function(){return p})),n.d(t,"unPreloadPage",(function(){return g}));var r,i=n("0f74");function a(e){if("string"!==typeof e)return e;var t=e.indexOf("?");if(-1===t)return e;var n=e.substr(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.substr(0,t);var r=[];return n.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),n=t.shift(),i=t.length>0?t.join("="):"";r.push(n+"="+encodeURIComponent(i))})),r.length?e+"?"+r.join("&"):e}function o(e){return function(t,n){t=Object(i["a"])(t);var o=t.split("?")[0],s=__uniRoutes.find((function(e){var t=e.path,n=e.alias;return t===o||n===o}));if(!s)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(s.meta.isTabBar)return"can not ".concat(e," a tabbar page")}else if("switchTab"===e&&!s.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!s.meta.isTabBar||"appLaunch"===n.openType||(t=o),s.meta.isEntry&&(t=t.replace(s.alias,"/")),n.url=a(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(r===t&&"appLaunch"!==n.openType)return"".concat(r," locked");__uniConfig.ready&&!1!==__uniConfig.enableNavigatorLock&&(r=t)}else if(s.meta.isTabBar){var l=getCurrentPages(!0),u=(s.alias||s.path).substr(1);if(l.find((function(e){return e.route===u})))return"tabBar page `"+u+"` already exists"}}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({url:{type:String,required:!0,validator:o(e)},beforeAll:function(){r=""}},t)}function l(e){return{animationType:{type:String,validator:function(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}var u=s("redirectTo"),c=s("reLaunch"),d=s("navigateTo",l(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),f=s("switchTab"),h=Object.assign({delta:{type:Number,validator:function(e,t){e=parseInt(e)||1,t.delta=Math.min(getCurrentPages().length-1,e)}}},l(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"])),p={url:{type:String,required:!0,validator:o("preloadPage")}},g={url:{type:String,required:!0,validator:o("unPreloadPage")}}},"33b4":function(e,t,n){},"33ed":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return l}));var r,i=n("4a59");function a(e){e.preventDefault()}function o(e){var t=e.scrollTop,n=e.selector,r=e.duration;if("undefined"===typeof t){var i=document.querySelector(n);if(i){var a=i.getBoundingClientRect(),o=a.top,s=a.height;t=o+window.pageYOffset,t-=s}}var l=document.documentElement,u=l.clientHeight,c=l.scrollHeight;function d(e){if(e<=0)window.scrollTo(0,t);else{var n=t-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/e*10),d(e-10)}))}}t=Math.min(t,c-u),0!==r?window.scrollY!==t&&d(r):l.scrollTop=document.body.scrollTop=t}var s=0;function l(t,n){var a=n.enablePageScroll,o=n.enablePageReachBottom,l=n.onReachBottomDistance,u=n.enableTransparentTitleNView,c=!1,d=!1,f=!0;function h(){var e=document.documentElement.scrollHeight,t=window.innerHeight,n=window.scrollY,r=n>0&&e>t&&n+t+l>=e,i=Math.abs(e-s)>l;return!r||d&&!i?(!r&&d&&(d=!1),!1):(s=e,d=!0,!0)}function p(){var n=getCurrentPages();if(n.length&&n[n.length-1].$page.id===t){var s=window.pageYOffset;a&&Object(i["a"])("onPageScroll",{scrollTop:s},t),u&&e.emit("onPageScroll",{scrollTop:s}),o&&f&&(l()||(r=setTimeout(l,300))),c=!1}function l(){if(h())return Object(i["a"])("onReachBottom",{},t),f=!1,setTimeout((function(){f=!0}),350),!0}}return function(){clearTimeout(r),c||requestAnimationFrame(p),c=!0}}}).call(this,n("501c"))},"34b2":function(e,t,n){"use strict";n.r(t),function(e){function r(){return window.location.protocol+"//"+window.location.host}function i(t,n){var i=t.src,a=e,o=a.invokeCallbackHandler,s=new Image,l=i;s.onload=function(){o(n,{errMsg:"getImageInfo:ok",width:s.naturalWidth,height:s.naturalHeight,path:0===l.indexOf("/")?r()+l:l})},s.onerror=function(e){o(n,{errMsg:"getImageInfo:fail"})},s.src=i}n.d(t,"getImageInfo",(function(){return i}))}.call(this,n("0dd1"))},3563:function(e,t,n){"use strict";n.r(t);var r=n("f2b3"),i=n("bd97"),a=n("8af1");a["d"].addInteractListener();var o="*";function s(){var e=window.navigator.userAgent.toLowerCase();return!(!e.match(/MicroMessenger/i)||"micromessenger"!==e.match(/MicroMessenger/i)[0])}t["default"]=function(e){var t=e.count,n=e.sourceType,a=e.type,l=e.extension,u=document.createElement("input");return u.type="file",Object(r["v"])(u,{position:"absolute",visibility:"hidden","z-index":-999,width:0,height:0,top:0,left:0}),u.accept=l.map((function(e){if(a!==o){var t=e.replace(".","");return"".concat(a,"/").concat(i["default"][a][t]||t)}return s()?".":0===e.indexOf(".")?e:".".concat(e)})).join(","),t>1&&(u.multiple="multiple"),1===n.length&&"camera"===n[0]&&(u.capture="camera"),u}},3590:function(e,t,n){},3648:function(e,t,n){"use strict";n.r(t),n.d(t,"canIUse",(function(){return s}));var r=n("f2b3");function i(e){return window.CSS&&CSS.supports&&(CSS.supports(e)||CSS.supports.apply(CSS,e.split(":")))}var a={"css.var":i("--a:0"),"css.env":i("top:env(a)"),"css.constant":i("top:constant(a)")},o=n("9fe4");function s(e){return Object(r["i"])(a,e)?a[e]:!!Object(r["i"])(o["a"],e)}},3676:function(e,t,n){"use strict";n.r(t),n.d(t,"getRecorderManager",(function(){return c}));var r=n("db70");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0,c=arguments.length>2?arguments[2]:void 0;if(i(this,e),s(this,"option",void 0),s(this,"position",void 0),s(this,"index",void 0),s(this,"visible",void 0),s(this,"alwaysVisible",void 0),s(this,"div",void 0),s(this,"triangle",void 0),s(this,"callback",void 0),s(this,"parent",void 0),s(this,"Text",void 0),s(this,"createAMapText",a),s(this,"removeAMapText",u),s(this,"onAdd",t),s(this,"construct",t),s(this,"onRemove",n),s(this,"destroy",n),this.option=o||{},this.visible=this.alwaysVisible="ALWAYS"===o.display,r["c"])this.callback=l,this.parent=c,this.visible&&this.createAMapText();else{var d=o.map;this.position=o.position,this.index=1;var f=this.div=document.createElement("div"),h=f.style;h.position="absolute",h.whiteSpace="nowrap",h.transform="translateX(-50%) translateY(-100%)",h.zIndex="1",h.boxShadow=o.boxShadow||"none",h.display=this.visible?"block":"none";var p=this.triangle=document.createElement("div");p.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(o),f.appendChild(p),d&&this.setMap(d)}}return o(e,[{key:"onclick",set:function(e){this.div.onclick=e},get:function(){return this.div.onclick}}]),o(e,[{key:"setOption",value:function(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,r["c"]?this.visible&&this.createAMapText():(this.setPosition(e.position),this.setStyle(e))}},{key:"setStyle",value:function(e){var t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor="".concat(e.bgColor||"#fff"," transparent transparent")}},{key:"setPosition",value:function(e){this.position=e,this.draw()}},{key:"draw",value:function(){var e=this.getProjection();if(this.position&&this.div&&e){var t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}}},{key:"changed",value:function(){var e=this.div.style;e.display=this.visible?"block":"none"}}]),e}();if(!r["c"]){var d=c.prototype,f=new(e.OverlayView||e.Overlay);for(var h in f)h in d||(d[h]=f[h])}return c}},"3b54":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"getFileInfo",(function(){return o}));var r=n("e2e2"),i=e,a=i.invokeCallbackHandler;function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.filePath,n=arguments.length>1?arguments[1]:void 0;Object(r["f"])(t).then((function(e){a(n,{errMsg:"getFileInfo:ok",size:e.size})})).catch((function(e){a(n,{errMsg:"getFileInfo:fail "+e.message})}))}}.call(this,n("0dd1"))},"3b67":function(e,t,n){"use strict";var r=Object.create(null),i=n("e3a7");i.keys().forEach((function(e){Object.assign(r,i(e))})),t["a"]=r},"3bfb":function(e,t,n){"use strict";n.r(t),n.d(t,"createAudioContext",(function(){return i})),n.d(t,"createVideoContext",(function(){return a})),n.d(t,"createMapContext",(function(){return o})),n.d(t,"createCanvasContext",(function(){return s}));var r=[{name:"id",type:String,required:!0}],i=r,a=r,o=r,s=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}]},"3c79":function(e,t,n){},"3d1f":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("62b5"),i=n("a741");function a(e,t){t.getApp;var n=t.getCurrentPages;function a(e){return function(t,r){r=parseInt(r);var a=n(),o=a.find((function(e){return e.$page.id===r}));o&&Object(i["b"])(o,e,t)}}var o=Object(r["a"])("requestComponentInfo");function s(e){var t=e.reqId,n=e.res,r=o.pop(t);r&&r(n)}var l=Object(r["a"])("requestComponentObserver");function u(e){var t=e.reqId,n=e.reqEnd,r=e.res,i=l.get(t);if(i){if(n)return void l.pop(t);i(r)}}var c=Object(r["a"])("requestMediaQueryObserver");function d(e){var t=e.reqId,n=e.reqEnd,r=e.res,i=c.get(t);if(i){if(n)return void c.pop(t);i(r)}}e("onPageReady",a("onReady")),e("onPageScroll",a("onPageScroll")),e("onReachBottom",a("onReachBottom")),e("onRequestComponentInfo",s),e("onRequestComponentObserver",u),e("onRequestMediaQueryObserver",d)}},"3d64":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"onNetworkStatusChange",(function(){return s})),n.d(t,"offNetworkStatusChange",(function(){return l})),n.d(t,"getNetworkType",(function(){return u}));var r=e,i=r.invokeCallbackHandler,a=[];function o(){var e=u(),t=e.networkType;a.forEach((function(e){i(e,{errMsg:"onNetworkStatusChange:ok",isConnected:"none"!==t,networkType:t})}))}function s(e){var t=navigator.connection||navigator.webkitConnection;a.push(e),t?t.addEventListener("change",o):(window.addEventListener("offline",o),window.addEventListener("online",o))}function l(e){if(e){var t=a.indexOf(e);t>=0&&a.splice(t,1)}if(!a.length){var n=navigator.connection||navigator.webkitConnection;n?n.removeEventListener("change",o):(window.removeEventListener("offline",o),window.removeEventListener("online",o))}}function u(){var e=navigator.connection||navigator.webkitConnection,t="unknown";return e?(t=e.type,"cellular"===t&&e.effectiveType?t=e.effectiveType.replace("slow-",""):["none","wifi"].includes(t)||(t="unknown")):!1===navigator.onLine&&(t="none"),{errMsg:"getNetworkType:ok",networkType:t}}}.call(this,n("0dd1"))},"3da9":function(e,t,n){"use strict";var r=n("bfbd"),i=n.n(r);i.a},"3e8c":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-resize-sensor",{on:{"~animationstart":function(t){return e.update(t)}}},[n("div",{on:{scroll:e.update}},[n("div")]),n("div",{on:{scroll:e.update}},[n("div")])])},i=[],a=1e5,o={name:"ResizeSensor",props:{initial:{type:[Boolean,String],default:!1}},data:function(){return{size:{width:-1,height:-1}}},watch:{size:{deep:!0,handler:function(e){this.$emit("resize",Object.assign({},e))}}},mounted:function(){!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"AnimationEvent"in window||this.reset()},activated:function(){this.reset()},methods:{reset:function(){var e=this.$el.firstChild;e.scrollLeft=a,e.scrollTop=a;var t=this.$el.lastChild;t.scrollLeft=a,t.scrollTop=a},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight,this.reset()}}},s=o,l=(n("64d0"),n("2877")),u=Object(l["a"])(s,r,i,!1,null,null,null);t["default"]=u.exports},"3f15":function(e,t,n){"use strict";n.r(t),n.d(t,"getVideoInfo",(function(){return i}));var r=n("cb0f"),i={src:{type:String,required:!0,validator:function(e,t){t.src=Object(r["a"])(e)}}}},"3f7e":function(e,t,n){"use strict";var r=n("e692"),i=n.n(r);i.a},"439a":function(e,t,n){"use strict";n.r(t),n.d(t,"downloadFile",(function(){return r}));var r={url:{type:String,required:!0},header:{type:Object,validator:function(e,t){t.header=e||{}}}}},"43a1":function(e,t,n){},"442e":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var r=n("5129"),i=n.n(r),a=n("85b6"),o=n("f2b3");function s(t){t.config.errorHandler=function(n,r,i){var s=Object(o["t"])(n);t.util.warn("Error in ".concat(i,': "').concat("Error"===s?n.toString():n,'"'),r);var l="function"===typeof getApp&&getApp();l&&Object(a["c"])(l.$options,"onError")?l.__call_hook("onError",n):e.error(n)};var n=t.config.isReservedTag;t.config.isReservedTag=function(e){return-1!==i.a.indexOf(e)||n(e)},t.config.ignoredElements=i.a;var r=t.config.getTagNamespace,s=["switch","image","text","view"];t.config.getTagNamespace=function(e){return!~s.indexOf(e)&&r(e)}}}).call(this,n("3ad9")["default"])},"44de":function(e,t,n){"use strict";n.r(t),n.d(t,"vibrateLong",(function(){return i})),n.d(t,"vibrateShort",(function(){return a}));var r=!!window.navigator.vibrate;function i(){return r&&window.navigator.vibrate(400)?{errMsg:"vibrateLong:ok"}:{errMsg:"vibrateLong:fail"}}function a(){return r&&window.navigator.vibrate(15)?{errMsg:"vibrateShort:ok"}:{errMsg:"vibrateShort:fail"}}},"453f":function(e,t,n){"use strict";(function(e){var r=n("636c"),i=n("cb0f");t["a"]={props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},data:function(){return{idString:String(isNaN(Number(this.id))?"":this.id)}},mounted:function(){var e=this,t=this.$parent;t.mapReady((function(){e._maps=t._maps,e._map=t._map,e.addMarker(e.$props),Object.keys(e.$props).forEach((function(t){e.$watch(t,(function(){e.updateMarker(e.$props)}))}))}))},beforeDestroy:function(){this.removeMarker()},methods:{addMarker:function(e){var t=this,n=this._maps,i=this._map,a=this._marker=new n.Marker({map:i,flat:!0,autoRotation:!1});this.$parent._markers[this.idString]=a,this.updateMarker(e),r["c"]?(a.dom.addEventListener("click",(function(e){t.handleAMapMarkerClick(e,a)})),a.dom.addEventListener("touchend",(function(e){t.handleAMapMarkerClick(e,a)}))):n.event.addListener(a,"click",(function(e){var n=a.callout;if(n&&!n.alwaysVisible&&(n.set("visible",!n.visible),n.visible)){var r=n.div,i=r.parentNode;i.removeChild(r),i.appendChild(r)}var o=e.event||e.domEvent;if(t.idString){var s=t.getMarkerLatitudeLongitude(e),l=s.latitude,u=s.longitude;t.$parent.$trigger("markertap",o,{markerId:Number(t.idString),latitude:l,longitude:u})}o.stopPropagation()}))},updateMarker:function(t){var n=this,a=this._map,o=this._maps,s=this._marker,l=t.title,u=r["c"]?new o.LngLat(t.longitude,t.latitude):new o.LatLng(t.latitude,t.longitude),c=new Image;c.onload=function(){var e,i,d,f=t.anchor||{},h="number"===typeof f.x?f.x:.5,p="number"===typeof f.y?f.y:1;t.iconPath&&(t.width||t.height)?(i=t.width||c.width/c.height*t.height,d=t.height||c.height/c.width*t.width):(i=c.width/2,d=c.height/2);var g=d-(d-p*d);e="MarkerImage"in o?new o.MarkerImage(c.src,null,null,new o.Point(h*i,p*d),new o.Size(i,d)):"Icon"in o?new o.Icon({image:c.src,size:new o.Size(i,d),imageSize:new o.Size(i,d),imageOffset:new o.Pixel(h*i,p*d)}):{url:c.src,anchor:new o.Point(h,p),size:new o.Size(i,d)},s.setPosition(u),s.setIcon(e),"setRotation"in s&&s.setRotation(t.rotate||0);var v,y=t.label||{};if("label"in s&&(s.label.setMap(null),delete s.label),y.content){var m={borderColor:y.borderColor,borderWidth:(Number(y.borderWidth)||0)+"px",padding:(Number(y.padding)||0)+"px",borderRadius:(Number(y.borderRadius)||0)+"px",backgroundColor:y.bgColor,color:y.color,fontSize:(y.fontSize||14)+"px",lineHeight:(y.fontSize||14)+"px",marginLeft:(Number(y.anchorX||y.x)||0)+"px",marginTop:(Number(y.anchorY||y.y)||0)+"px"};if("Label"in o)v=new o.Label({position:u,map:a,clickable:!1,content:y.content,style:m}),s.label=v;else if("setLabel"in s)if(r["c"]){var b='
\n ').concat(y.content,"\n
");s.setLabel({content:b,direction:"bottom-right"})}else{var _=n.updateMarkerLabelStyle(n.idString,m);s.setLabel({text:y.content,color:m.color,fontSize:m.fontSize,className:_})}}var x,w=t.callout||{},S=s.callout;if(w.content||l){var M="0px 0px 3px 1px rgba(0,0,0,0.5)";if(x=w.content?{position:u,map:a,top:g,offsetY:-t.height/2,content:w.content,color:w.color,fontSize:w.fontSize,borderRadius:w.borderRadius,bgColor:w.bgColor,padding:w.padding,boxShadow:w.boxShadow||M,display:w.display}:{position:u,map:a,top:g,offsetY:-t.height/2,content:l,boxShadow:M},S)S.setOption(x);else if(r["c"]){var T=function(e,t){t.idString&&t.$parent.$trigger("callouttap",e,{markerId:Number(t.idString)})};S=s.callout=new o.Callout(x,T,n)}else S=s.callout=new o.Callout(x),S.div.onclick=function(e){n.idString&&n.$parent.$trigger("callouttap",e,{markerId:Number(n.idString)}),e.stopPropagation(),e.preventDefault()},Object(r["e"])().type===r["d"].GOOGLE&&(S.div.onpointerdown=function(e){e.stopPropagation()},S.div.ontouchstart=function(e){e.stopPropagation()})}else S&&(n.removeMarkerCallout(s.callout),delete s.callout)},t.iconPath?c.src=Object(i["a"])(t.iconPath):e.error("Marker.iconPath is required.")},handleAMapMarkerClick:function(e,t){var n=t.callout;n&&!n.alwaysVisible&&(n.visible=!n.visible,n.visible?t.callout.createAMapText():t.callout.removeAMapText()),this.idString&&this.$parent.$trigger("markertap",e,{markerId:Number(this.idString),latitude:t._position.lat,longitude:t._position.lng}),e.stopPropagation()},updateMarkerLabelStyle:function(e,t){var n="uni-map-marker-label-"+e,r=document.getElementById(n);r||(r=document.createElement("style"),r.id=n,document.head.appendChild(r),this.$once("hook:destroyed",(function(){r.remove()})));var i=Object.assign({},t,{position:"absolute",top:"70px",borderStyle:"solid"}),a=document.createElement("div");return Object.keys(i).forEach((function(e){a.style[e]=i[e]||""})),r.innerText=".".concat(n,"{").concat(a.getAttribute("style"),"}"),n},getMarkerLatitudeLongitude:function(e){var t,n,i=Object(r["e"])();return r["c"]?(t=e.lnglat.lat,n=e.lnglat.lng):i.type===r["d"].QQ?(t=e.latLng.lat,n=e.latLng.lng):i.type===r["d"].GOOGLE&&(t=e.latLng.lat(),n=e.latLng.lng()),{latitude:t,longitude:n}},removeMarker:function(){var e=this._marker;e&&(e.label&&"setMap"in e.label&&e.label.setMap(null),e.callout&&this.removeMarkerCallout(e.callout),e.setMap(null)),delete this.$parent._markers[this.idString],this._marker=null},removeMarkerCallout:function(e){r["c"]?e.removeAMapText():e.setMap(null)}},render:function(){return null}}}).call(this,n("3ad9")["default"])},"454d":function(e,t,n){"use strict";n.r(t),n.d(t,"removeTabBarBadge",(function(){return a})),n.d(t,"showTabBarRedDot",(function(){return o})),n.d(t,"hideTabBarRedDot",(function(){return s})),n.d(t,"onTabBarMidButtonTap",(function(){return u}));var r=n("db70"),i=n("a118");function a(e){var t=e.index;return Object(r["c"])("setTabBarBadge",{index:t,type:"none"})}function o(e){var t=e.index;return Object(r["c"])("setTabBarBadge",{index:t,type:"redDot"})}var s=a,l=[];function u(e){l.push(e)}Object(r["d"])("onTabBarMidButtonTap",(function(e){l.forEach((function(t){Object(i["a"])(t,e)}))}))},"45d2":function(e,t,n){"use strict";n.r(t),n.d(t,"upx2px",(function(){return c}));var r=1e-4,i=750,a=!1,o=0,s=0;function l(){var e=uni.getSystemInfoSync(),t=e.platform,n=e.pixelRatio,r=e.windowWidth;o=r,s=n,a="ios"===t}function u(e,t){return e=Number(e),isNaN(e)?t:e}function c(e,t){if(0===o&&l(),e=Number(e),0===e)return 0;var n=__uniConfig.globalStyle||__uniConfig.window||{},c=u(n.rpxCalcMaxDeviceWidth,960),d=u(n.rpxCalcBaseDeviceWidth,375),f=u(n.rpxCalcIncludeWidth,750),h=t||o;h=e===f||h<=c?h:d;var p=e/i*h;return p<0&&(p=-p),p=Math.floor(p+r),0===p&&(p=1!==s&&a?.5:1),e<0?-p:p}},"45db":function(e,t,n){"use strict";n.r(t),function(e){var r;function i(e){r=e}function a(){r&&e.emit(r+".stopPullDownRefresh",{},r);var t=getCurrentPages();return t.length&&(r=t[t.length-1].$page.id,e.emit(r+".startPullDownRefresh",{},r)),{}}function o(){if(r)e.emit(r+".stopPullDownRefresh",{},r),r=null;else{var t=getCurrentPages();t.length&&(r=t[t.length-1].$page.id,e.emit(r+".stopPullDownRefresh",{},r))}return{}}n.d(t,"setPullDownRefreshPageId",(function(){return i})),n.d(t,"startPullDownRefresh",(function(){return a})),n.d(t,"stopPullDownRefresh",(function(){return o}))}.call(this,n("0dd1"))},"4a59":function(e,t,n){"use strict";(function(e){function r(t,n,r){e.UniServiceJSBridge.subscribeHandler(t,n,r)}n.d(t,"a",(function(){return r}))}).call(this,n("c8ba"))},"4ca9":function(e,t,n){"use strict";n.r(t),function(e){var r=n("6389"),i=n.n(r),a=n("85b6"),o=n("abbf"),s=n("0784"),l=n("aa92"),u=n("02c9"),c=n("23e5"),d=n("f2b3");function f(e){var t=0;return e.forEach((function(e){e.meta.id&&t++})),t}function h(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":decodeURI(e.slice(t+1))}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=decodeURI(window.location.pathname);return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}t["default"]={install:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.routes;t.config.devtools&&"undefined"!==typeof window&&-1!==window.navigator.userAgent.toLowerCase().indexOf("hbuilderx")&&(t.config.devtools=!1),Object(u["a"])(t),Object(l["a"])(t),Object(d["u"])(t),"undefined"!==typeof __UNI_ROUTER_BASE__&&(__uniConfig.router.base=__UNI_ROUTER_BASE__);var g=f(r),v=new i.a({id:g,mode:__uniConfig.router.mode,base:__uniConfig.router.base,routes:r,scrollBehavior:function(e,t,n){if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){var r=Object(c["b"])(e.params.__id__);if(r)return r}return{x:0,y:0}}}),y=[],m=v.match("history"===__uniConfig.router.mode?p(__uniConfig.router.base):h());if(m.meta.name&&(m.meta.id?y.push(m.meta.name+"-"+m.meta.id):y.push(m.meta.name+"-"+(g+1))),m.meta&&m.meta.name&&(document.body.className="uni-body "+m.meta.name,m.meta.isNVue)){var b="nvue-dir-"+__uniConfig.nvue["flex-direction"];document.body.setAttribute("nvue",""),document.body.setAttribute(b,"")}t.mixin({beforeCreate:function(){var n=this.$options;if("app"===n.mpType){n.data=function(){return{keepAliveInclude:y}};var i=Object(o["a"])(t,r,m);Object.keys(i).forEach((function(e){n[e]=n[e]?[].concat(i[e],n[e]):[i[e]]})),n.router=v,Array.isArray(n.onError)&&0!==n.onError.length||(n.onError=[function(t){e.error(t)}])}else if(Object(a["d"])(this)){var l=Object(s["a"])();Object.keys(l).forEach((function(e){n.mpOptions?n[e]=n[e]?[].concat(n[e],l[e]):[l[e]]:n[e]=n[e]?[].concat(l[e],n[e]):[l[e]]}))}else this.$parent&&this.$parent.__page__&&(this.__page__=this.$parent.__page__)}}),Object.defineProperty(t.prototype,"$page",{get:function(){return this.__page__}}),t.prototype.createSelectorQuery=function(){return uni.createSelectorQuery().in(this)},t.prototype.createIntersectionObserver=function(e){return uni.createIntersectionObserver(this,e)},t.prototype.createMediaQueryObserver=function(e){return uni.createMediaQueryObserver(this,e)},t.use(i.a)}}}.call(this,n("3ad9")["default"])},"4ccd":function(e,t,n){"use strict";n.r(t),t["default"]={data:function(){return{popupWidth:0,popupHeight:0}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},popupStyle:function(){var e={},t=e.content={},n=e.triangle={},r=this.popover;function i(e){return Number(e)||0}if(this.isDesktop&&r){Object.assign(n,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});var a=i(r.left),o=i(r.width),s=i(r.top),l=i(r.height),u=a+o/2;t.transform="none !important";var c=Math.max(0,u-150);t.left="".concat(c,"px");var d=Math.max(12,u-c);d=Math.min(288,d),n.left="".concat(d,"px");var f=this.popupHeight/2;s+l-f>f-s?(t.top="auto",t.bottom="".concat(this.popupHeight-s+6,"px"),n.bottom="-6px",n["border-width"]="6px 6px 0 6px",n["border-color"]="#fcfcfd transparent transparent transparent"):(t.top="".concat(s+l+6,"px"),n.top="-6px",n["border-width"]="0 6px 6px 6px",n["border-color"]="transparent transparent #fcfcfd transparent")}return e}},mounted:function(){var e=this,t=function(){var t=uni.getSystemInfoSync(),n=t.windowWidth,r=t.windowHeight,i=t.windowTop;e.popupWidth=n,e.popupHeight=r+i};window.addEventListener("resize",t),t(),this.$once("hook:beforeDestroy",(function(){window.removeEventListener("resize",t)}))}}},"4da7":function(e,t,n){"use strict";n.r(t);var r,i,a=n("5881"),o=a["a"],s=(n("c8ed"),n("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null);t["default"]=l.exports},"4e0b":function(e,t,n){},"4e7c":function(e,t,n){"use strict";n.r(t),n.d(t,"getProvider",(function(){return i}));var r={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},i={service:{type:String,required:!0,validator:function(e,t){if(e=(e||"").toUpperCase(),e&&Object.values(r).indexOf(e)<0)return"service error"}}}},"4f1c":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-switch",e._g({attrs:{disabled:e.disabled},on:{click:e._onClick}},e.$listeners),[n("div",{staticClass:"uni-switch-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:"switch"===e.type,expression:"type === 'switch'"}],staticClass:"uni-switch-input",class:[e.switchChecked?"uni-switch-input-checked":""],style:{backgroundColor:e.switchChecked?e.color:"#DFDFDF",borderColor:e.switchChecked?e.color:"#DFDFDF"}}),n("div",{directives:[{name:"show",rawName:"v-show",value:"checkbox"===e.type,expression:"type === 'checkbox'"}],staticClass:"uni-checkbox-input",class:[e.switchChecked?"uni-checkbox-input-checked":""],style:{color:e.color}})])])},i=[],a=n("8af1"),o={name:"Switch",mixins:[a["a"],a["f"]],props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},data:function(){return{switchChecked:this.checked}},watch:{checked:function(e){this.switchChecked=e}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},listeners:{"label-click":"_onClick","@label-click":"_onClick"},methods:{_onClick:function(e){this.disabled||(this.switchChecked=!this.switchChecked,this.$trigger("change",e,{value:this.switchChecked}))},_resetFormData:function(){this.switchChecked=!1},_getFormData:function(){var e={};return""!==this.name&&(e.value=this.switchChecked,e.key=this.name),e}}},s=o,l=(n("a5ec"),n("2877")),u=Object(l["a"])(s,r,i,!1,null,null,null);t["default"]=u.exports},"4f43":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"downloadFile",(function(){return u}));var r=n("e2e2");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n=0&&this._callbacks.splice(t,1)}},{key:"abort",value:function(){this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),e}();function u(t,n){var i,a=t.url,o=t.header,s=t.timeout,u=void 0===s?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.request||6e4:s,c=e,d=c.invokeCallbackHandler,f=new XMLHttpRequest,h=new l(f);return f.open("GET",a,!0),Object.keys(o).forEach((function(e){f.setRequestHeader(e,o[e])})),f.responseType="blob",f.onload=function(){clearTimeout(i);var e,t=f.status,o=this.response,s=f.getResponseHeader("content-disposition");if(s){var l=s.match(/filename="?(\S+)"?\b/);l&&(e=l[1])}o.name=e||Object(r["c"])(a),d(n,{errMsg:"downloadFile:ok",statusCode:t,tempFilePath:Object(r["b"])(o)})},f.onabort=function(){clearTimeout(i),d(n,{errMsg:"downloadFile:fail abort"})},f.onerror=function(){clearTimeout(i),d(n,{errMsg:"downloadFile:fail"})},f.onprogress=function(e){h._callbacks.forEach((function(t){var n=e.loaded,r=e.total,i=Math.round(n/r*100);t({progress:i,totalBytesWritten:n,totalBytesExpectedToWrite:r})}))},f.send(),i=setTimeout((function(){f.onprogress=f.onload=f.onabort=f.onerror=null,h.abort(),d(n,{errMsg:"downloadFile:fail timeout"})}),u),h}}.call(this,n("0dd1"))},"4f53":function(e,t,n){"use strict";n.r(t),n.d(t,"saveImageToPhotosAlbum",(function(){return i}));var r=n("cb0f"),i={filePath:{type:String,required:!0,validator:function(e,t){t.filePath=Object(r["a"])(e)}}}},"4fef":function(e,t,n){"use strict";var r=n("7572"),i=n.n(r);i.a},"501c":function(e,t,n){"use strict";n.r(t),n.d(t,"on",(function(){return v})),n.d(t,"off",(function(){return y})),n.d(t,"once",(function(){return m})),n.d(t,"emit",(function(){return b})),n.d(t,"subscribe",(function(){return _})),n.d(t,"unsubscribe",(function(){return x})),n.d(t,"subscribeHandler",(function(){return w})),n.d(t,"publishHandler",(function(){return p["a"]}));var r=n("8bbf"),i=n.n(r);function a(e){var t=e.pageStyle,n=e.rootFontSize,r=document.querySelector("uni-page-body")||document.body;r.setAttribute("style",t),n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)}var o=n("6bdf"),s=n("5dc1"),l=n("1c73"),u={setPageMeta:a,requestComponentInfo:o["a"],requestComponentObserver:s["b"],destroyComponentObserver:s["a"],requestMediaQueryObserver:l["b"],destroyMediaQueryObserver:l["a"]},c=n("33ed"),d=n("7107"),f=n("764a");function h(e){Object.keys(u).forEach((function(t){e(t,u[t])})),e("pageScrollTo",c["c"]),e("loadFontFace",d["a"]),Object(f["a"])(e)}var p=n("4a59"),g=new i.a,v=g.$on.bind(g),y=g.$off.bind(g),m=g.$once.bind(g),b=g.$emit.bind(g);function _(e,t){return v("service."+e,t)}function x(e,t){return y("service."+e,t)}function w(e,t,n){b("service."+e,t,n)}h(_)},"50c5":function(e,t,n){},5129:function(e,t){e.exports=["uni-app","uni-layout","uni-content","uni-main","uni-top-window","uni-left-window","uni-right-window","uni-tabbar","uni-page","uni-page-head","uni-page-wrapper","uni-page-body","uni-page-refresh","uni-actionsheet","uni-modal","uni-toast","uni-resize-sensor","uni-shadow-root","uni-ad","uni-audio","uni-button","uni-camera","uni-canvas","uni-checkbox","uni-checkbox-group","uni-cover-image","uni-cover-view","uni-editor","uni-form","uni-functional-page-navigator","uni-icon","uni-image","uni-input","uni-label","uni-live-player","uni-live-pusher","uni-map","uni-movable-area","uni-movable-view","uni-navigator","uni-official-account","uni-open-data","uni-picker","uni-picker-view","uni-picker-view-column","uni-progress","uni-radio","uni-radio-group","uni-rich-text","uni-scroll-view","uni-slider","uni-swiper","uni-swiper-item","uni-switch","uni-text","uni-textarea","uni-video","uni-view","uni-web-view"]},"515d":function(e,t,n){},5222:function(e,t,n){"use strict";(function(e){var r=n("5a56");t["a"]={name:"Toast",mixins:[r["default"]],props:{title:{type:String,default:""},icon:{default:"success",validator:function(e){return-1!==["success","loading","error","none"].indexOf(e)}},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!1}},computed:{iconClass:function(){return"success"===this.icon?"uni-icon-success-no-circle":"loading"===this.icon?"uni-loading":"error"===this.icon?"uni-icon-error":""}},beforeUpdate:function(){this.visible&&(this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout((function(){e.emit("onHideToast")}),this.duration))}}}).call(this,n("0dd1"))},5243:function(e,t,n){"use strict";n.r(t),n.d(t,"compressVideo",(function(){return i}));var r=n("cb0f"),i={src:{type:String,required:!0,validator:function(e,t){t.src=Object(r["a"])(e)}},quality:{type:String},bitrate:{type:Number},fps:{type:Number},resolution:{type:Number}}},5363:function(e,t,n){"use strict";function r(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}n.d(t,"a",(function(){return r})),r.prototype.set=function(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()},r.prototype.setVelocityByEnd=function(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)},r.prototype.x=function(e){var t;return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e),this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog},r.prototype.dx=function(e){var t;return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e),this._dt=e,this._v*t},r.prototype.done=function(){return Math.abs(this.dx())<3},r.prototype.reconfigure=function(e){var t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)},r.prototype.configuration=function(){var e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}},5378:function(e,t,n){"use strict";var r=n("43a1"),i=n.n(r);i.a},5408:function(e,t,n){var r={"./audio/index.vue":"6150","./button/index.vue":"d3bd","./canvas/index.vue":"bacd","./checkbox-group/index.vue":"25ce","./checkbox/index.vue":"7bb3","./editor/index.vue":"27c2","./form/index.vue":"b34d","./icon/index.vue":"9a8b","./image/index.vue":"1082","./input/index.vue":"250d","./label/index.vue":"70f4","./movable-area/index.vue":"c61c","./movable-view/index.vue":"8842","./navigator/index.vue":"17fd","./picker-view-column/index.vue":"1955","./picker-view/index.vue":"27ab","./progress/index.vue":"9b1f","./radio-group/index.vue":"d5ec","./radio/index.vue":"6491","./resize-sensor/index.vue":"3e8c","./rich-text/index.vue":"b705","./scroll-view/index.vue":"f1ef","./slider/index.vue":"9f96","./swiper-item/index.vue":"9213","./swiper/index.vue":"5513","./switch/index.vue":"4f1c","./text/index.vue":"4da7","./textarea/index.vue":"5768"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="5408"},"54bc":function(e,t,n){},"54f4":function(e,t,n){"use strict";function r(){var e=document.activeElement;!e||"TEXTAREA"!==e.tagName&&"INPUT"!==e.tagName||e.blur()}n.r(t),n.d(t,"hideKeyboard",(function(){return r}))},5513:function(e,t,n){"use strict";n.r(t);var r,i,a=n("ba15"),o=n("f2b3"),s={name:"Swiper",mixins:[a["a"]],props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}},data:function(){return{currentSync:Math.round(this.current)||0,currentItemIdSync:this.currentItemId||"",userTracking:!1,currentChangeSource:"",items:[]}},computed:{intervalNumber:function(){var e=Number(this.interval);return isNaN(e)?5e3:e},durationNumber:function(){var e=Number(this.duration);return isNaN(e)?500:e},displayMultipleItemsNumber:function(){var e=Math.round(this.displayMultipleItems);return isNaN(e)?1:e},slidesStyle:function(){var e={};return(this.nextMargin||this.previousMargin)&&(e=this.vertical?{left:0,right:0,top:this._upx2px(this.previousMargin),bottom:this._upx2px(this.nextMargin)}:{top:0,bottom:0,left:this._upx2px(this.previousMargin),right:this._upx2px(this.nextMargin)}),e},slideFrameStyle:function(){var e=Math.abs(100/this.displayMultipleItemsNumber)+"%";return{width:this.vertical?"100%":e,height:this.vertical?e:"100%"}},circularEnabled:function(){return this.circular&&this.items.length>this.displayMultipleItemsNumber}},watch:{vertical:function(){this._resetLayout()},circular:function(){this._resetLayout()},intervalNumber:function(e){this._timer&&(this._cancelSchedule(),this._scheduleAutoplay())},current:function(e){this._currentCheck()},currentSync:function(e,t){this._currentChanged(e,t),this.$emit("update:current",e)},currentItemId:function(e){this._currentCheck()},currentItemIdSync:function(e){this.$emit("update:currentItemId",e)},displayMultipleItemsNumber:function(){this._resetLayout()}},created:function(){this._invalid=!0,this._viewportPosition=0,this._viewportMoveRatio=1,this._animating=null,this._requestedAnimation=!1,this._userDirectionChecked=!1,this._contentTrackViewport=0,this._contentTrackSpeed=0,this._contentTrackT=0},mounted:function(){var e=this;this._currentCheck(),this.touchtrack(this.$refs.slidesWrapper,"_handleContentTrack",!0),this._resetLayout(),this.$watch((function(){return e.autoplay&&!e.userTracking}),this._inintAutoplay),this._inintAutoplay(this.autoplay&&!this.userTracking),this.$watch("items.length",this._resetLayout)},beforeDestroy:function(){this._cancelSchedule(),cancelAnimationFrame(this._animationFrame)},methods:{_inintAutoplay:function(e){e?this._scheduleAutoplay():this._cancelSchedule()},_currentCheck:function(){var e=-1;if(this.currentItemId)for(var t=0,n=this.items;ti/2?1:0)}var a=this.items[e];a&&this._itemReady(a,(function(){var e=n.currentItemIdSync=a.componentInstance.itemId||"";n.$trigger("change",{},{current:n.currentSync,currentItemId:e,source:r})}))},_scheduleAutoplay:function(){var e=this;function t(){e._timer=null,e.currentChangeSource="autoplay",e.circularEnabled?e.currentSync=e._normalizeCurrentValue(e.currentSync+1):e.currentSync=e.currentSync+e.displayMultipleItemsNumbert-this.displayMultipleItemsNumber)return t-this.displayMultipleItemsNumber;return n},_upx2px:function(e){return/\d+[ur]px$/i.test(e)&&e.replace(/\d+[ur]px$/i,(function(e){return"".concat(uni.upx2px(parseFloat(e)),"px")})),e||""},_resetLayout:function(){if(this._isMounted){this._cancelSchedule(),this._endViewportAnimation();for(var e=this.items,t=0;t0&&this._viewportMoveRatio<1||(this._viewportMoveRatio=1)}var i=this._viewportPosition;this._viewportPosition=-2;var a=this.currentSync;a>=0?(this._invalid=!1,this.userTracking?(this._updateViewport(i+a-this._contentTrackViewport),this._contentTrackViewport=a):(this._updateViewport(a),this.autoplay&&this._scheduleAutoplay())):(this._invalid=!0,this._updateViewport(-this.displayMultipleItemsNumber-1))}},_checkCircularLayout:function(e){if(!this._invalid)for(var t=this.items,n=t.length,r=e+this.displayMultipleItemsNumber,i=0;i=this.items.length&&(e-=this.items.length),e=this._transitionStart%1>.5||this._transitionStart<0?e-1:e,this.$trigger("transition",{},{dx:this.vertical?0:e*i.offsetWidth,dy:this.vertical?e*i.offsetHeight:0})},_animateFrameFuncProto:function(){var e=this;if(this._animating){var t=this._animating,n=t.toPos,r=t.acc,i=t.endTime,a=t.source,o=i-Date.now();if(o<=0){this._updateViewport(n),this._animating=null,this._requestedAnimation=!1,this._transitionStart=null;var s=this.items[this.currentSync];s&&this._itemReady(s,(function(){var t=s.componentInstance.itemId||"";e.$trigger("animationfinish",{},{current:e.currentSync,currentItemId:t,source:a})}))}else{var l=r*o*o/2,u=n+l;this._updateViewport(u),this._animationFrame=requestAnimationFrame(this._animateFrameFuncProto.bind(this))}}else this._requestedAnimation=!1},_animateViewport:function(e,t,n){this._cancelViewportAnimation();var r=this.durationNumber,i=this.items.length,a=this._viewportPosition;if(this.circularEnabled)if(n<0){for(;ae;)a-=i}else if(n>0){for(;a>e;)a-=i;for(;a+ie;)a-=i;a+i-ei)&&(r<0?r=-a(-r):r>i&&(r=i+a(r-i)),t._contentTrackSpeed=0),t._updateViewport(r)}var s=this._contentTrackT-n||1;this.vertical?o(-e.dy/this.$refs.slideFrame.offsetHeight,-e.ddy/s):o(-e.dx/this.$refs.slideFrame.offsetWidth,-e.ddx/s)},_handleTrackEnd:function(e){this.userTracking=!1;var t=this._contentTrackSpeed/Math.abs(this._contentTrackSpeed),n=0;!e&&Math.abs(this._contentTrackSpeed)>.2&&(n=.5*t);var r=this._normalizeCurrentValue(this._viewportPosition+n);e?this._updateViewport(this._contentTrackViewport):(this.currentChangeSource="touch",this.currentSync=r,this._animateViewport(r,"touch",0!==n?n:0===r&&this.circularEnabled&&this._viewportPosition>=1?1:0))},_handleContentTrack:function(e){if(!this.disableTouch&&this.items.length&&!this._invalid){if("start"===e.detail.state)return this.userTracking=!0,this._userDirectionChecked=!1,this._handleTrackStart();if("end"===e.detail.state)return this._handleTrackEnd(!1);if("cancel"===e.detail.state)return this._handleTrackEnd(!0);if(this.userTracking){if(!this._userDirectionChecked){this._userDirectionChecked=!0;var t=Math.abs(e.detail.dx),n=Math.abs(e.detail.dy);if((t>=n&&this.vertical||t<=n&&!this.vertical)&&(this.userTracking=!1),!this.userTracking)return void(this.autoplay&&this._scheduleAutoplay())}return this._handleTrackMove(e.detail),!1}}}},render:function(e){var t=this,n=[],r=[];this.$slots.default&&Object(o["f"])(this.$slots.default,e).forEach((function(e){e.componentOptions&&"v-uni-swiper-item"===e.componentOptions.tag&&r.push(e)}));for(var i=function(r,i){var a=t.currentSync;n.push(e("div",{on:{click:function(){t._animateViewport(t.currentSync=r,t.currentChangeSource="click",t.circularEnabled?1:0)}},class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":r=a||r=4&&(t.text="...")}}}},5676:function(e,t,n){"use strict";var r=n("c33a"),i=n.n(r);i.a},"56e9":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"showModal",(function(){return o})),n.d(t,"showToast",(function(){return s})),n.d(t,"hideToast",(function(){return l})),n.d(t,"showLoading",(function(){return u})),n.d(t,"hideLoading",(function(){return c})),n.d(t,"showActionSheet",(function(){return d}));var r=e,i=r.emit,a=r.invokeCallbackHandler;function o(e,t){i("onShowModal",e,(function(e){a(t,e)}))}function s(e){return i("onShowToast",e),{}}function l(){return i("onHideToast"),{}}function u(e){return i("onShowLoading",e),{}}function c(){return i("onHideLoading"),{}}function d(e,t){i("onShowActionSheet",e,(function(e){a(t,-1===e?{errMsg:"showActionSheet:fail cancel"}:{tapIndex:e})}))}}.call(this,n("0dd1"))},5727:function(e,t,n){"use strict";var r=n("28da"),i=n.n(r);i.a},5768:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-textarea",e._g({},e.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-textarea-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(e.composing||e.valueSync.length),expression:"!(composing || valueSync.length)"}],ref:"placeholder",staticClass:"uni-textarea-placeholder",class:e.placeholderClass,style:e.placeholderStyle,domProps:{textContent:e._s(e.placeholder)}}),n("div",{ref:"line",staticClass:"uni-textarea-line",domProps:{textContent:e._s(" ")}}),n("div",{staticClass:"uni-textarea-compute"},[e._l(e.valueCompute,(function(t,r){return n("div",{key:r,domProps:{textContent:e._s(t.trim()?t:".")}})})),n("v-uni-resize-sensor",{ref:"sensor",on:{resize:e._resize}})],2),e.disabled&&e.fixColor?e._e():n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-fix-margin":e.fixMargin},style:{"overflow-y":e.autoHeight?"hidden":"auto"},attrs:{disabled:e.disabled,maxlength:e.maxlengthNumber,enterkeyhint:e.confirmType},domProps:{value:e.valueSync},on:{change:function(e){e.stopPropagation()},compositionstart:function(t){return t.stopPropagation(),e._onComposition(t)},compositionend:function(t){return t.stopPropagation(),e._onComposition(t)},compositionupdate:function(t){return t.stopPropagation(),e._onComposition(t)},input:[function(t){t.target.composing||(e.valueSync=t.target.value)},function(t){return t.stopPropagation(),e._onInput(t)}],focus:e._onFocus,blur:e._onBlur,"&touchstart":function(t){return e._onTouchstart(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e._onKeyUpEnter(t)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e._onKeyDownEnter(t)}}}),e._v(" "),e.disabled&&e.fixColor?n("textarea",{ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-fix-margin":e.fixMargin},style:{"overflow-y":e.autoHeight?"hidden":"auto"},attrs:{tabindex:"-1",readonly:e.disabled,maxlength:e.maxlengthNumber},domProps:{value:e.valueSync},on:{focus:function(e){return e.target.blur()}}}):e._e()])])},i=[],a=n("8af1"),o="(prefers-color-scheme: dark)",s=["done","go","next","search","send"],l={name:"Textarea",mixins:[a["b"]],props:{name:{type:String,default:""},maxlength:{type:[Number,String],default:140},placeholder:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},placeholderClass:{type:String,default:"textarea-placeholder"},placeholderStyle:{type:String,default:""},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:function(e){return s.concat("return").includes(e)}}},data:function(){return{valueComposition:"",height:0,focusChangeSource:"",fixMargin:0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(o).media!==o}},computed:{maxlengthNumber:function(){var e=Number(this.maxlength);return isNaN(e)?140:e},valueCompute:function(){return(this.composing?this.valueComposition:this.valueSync).split("\n")},isDone:function(){return s.includes(this.confirmType)}},watch:{focus:function(e){e&&(this.focusChangeSource="focus")},height:function(e){var t=parseFloat(getComputedStyle(this.$el).lineHeight);isNaN(t)&&(t=this.$refs.line.offsetHeight);var n=Math.round(e/t);this.$trigger("linechange",{},{height:e,heightRpx:750/window.innerWidth*e,lineCount:n}),this.autoHeight&&(this.$el.style.height="auto",this.$refs.wrapper.style.height=this.height+"px")}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){this._resize({height:this.$refs.sensor.$el.offsetHeight});var e=this;while(e){var t=e.$options._scopeId;t&&this.$refs.placeholder.setAttribute(t,""),e=e.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyDownEnter:function(e){this.isDone&&e.preventDefault()},_onKeyUpEnter:function(e){this.isDone&&(this._confirm(e),!this.confirmHold&&this.$refs.textarea.blur())},_onComposition:function(e){switch(e.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(e));break}!this.ignoreCompositionEvent&&this.$trigger(e.type,e,{data:e.data})},_confirm:function(e){this.$trigger("confirm",e,{value:this.valueSync})},_linechange:function(e){this.$trigger("linechange",e,{value:this.valueSync})},_onTouchstart:function(){this.focusChangeSource="touch"},_resize:function(e){var t=e.height;this.height=t},_onInput:function(e,t){this.composing&&this.ignoreCompositionEvent?this.valueComposition=e.target.value:(this.ignoreCompositionEvent||(this.valueSync=this.$refs.textarea.value),this.$triggerInput(e,{value:this.valueSync,cursor:this.$refs.textarea.selectionEnd},t))},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""}}},u=l,c=(n("9400"),n("2877")),d=Object(c["a"])(u,r,i,!1,null,null,null);t["default"]=d.exports},"57a7":function(e,t,n){"use strict";n.r(t),n.d(t,"createInnerAudioContext",(function(){return f}));var r=n("db70");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n=0&&n.splice(r,1)}})),Object(r["d"])("onAudioStateChange",(function(e){var t=e.state,n=e.audioId,r=e.errMsg,i=e.errCode,a=d[n];if(a)if(c(a,t,r,i),"play"===t){var o=a.currentTime;a.__timing=setInterval((function(){var e=a.currentTime;e!==o&&c(a,"timeupdate")}),200)}else"pause"!==t&&"stop"!==t&&"error"!==t||clearInterval(a.__timing)}));var d=Object.create(null);function f(){var e=Object(r["c"])("createAudioInstance"),t=e.audioId,n=new u(t);return d[t]=n,n}},"581a":function(e,t,n){},5881:function(e,t,n){"use strict";(function(e){var n={ensp:" ",emsp:" ",nbsp:" "};t["a"]={name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},methods:{_decodeHtml:function(e){return this.space&&n[this.space]&&(e=e.replace(/ /g,n[this.space])),this.decode&&(e=e.replace(/ /g,n.nbsp).replace(/ /g,n.ensp).replace(/ /g,n.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")),e}},render:function(t){var n=this,r=[];return this.$slots.default&&this.$slots.default.forEach((function(i){if(i.text){var a=i.text.replace(/\\n/g,"\n"),o=a.split("\n");o.forEach((function(e,i){r.push(n._decodeHtml(e)),i!==o.length-1&&r.push(t("br"))}))}else i.componentOptions&&"v-uni-text"!==i.componentOptions.tag&&e.warn("Do not nest other components in the text component, as there may be display differences on different platforms."),r.push(i)})),t("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[t("span",{},r)])}}}).call(this,n("3ad9")["default"])},"594d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-map",e._g({ref:"mapContainer",attrs:{id:e.id}},e.$listeners),[e._l(e.markers,(function(t){return n("map-marker",e._b({key:t.id},"map-marker",t,!1))})),e._l(e.controls,(function(t,r){return n("map-control",e._b({key:t.id||r},"map-control",t,!1))})),e._l(e.polygons,(function(t){return n("map-polygon",e._b({key:JSON.stringify(t.points)},"map-polygon",t,!1))})),n("div",{ref:"map",staticStyle:{width:"100%",height:"100%",position:"relative",overflow:"hidden"},on:{click:function(e){e.stopPropagation()}}}),n("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[e._t("default")],2)],2)},i=[],a=n("738e"),o=a["a"],s=(n("3f7e"),n("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null);t["default"]=l.exports},5964:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"setNavigationBarColor",(function(){return a})),n.d(t,"showNavigationBarLoading",(function(){return o})),n.d(t,"hideNavigationBarLoading",(function(){return s})),n.d(t,"setNavigationBarTitle",(function(){return l}));var r=n("79d5");function i(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Object(r["getPageHolder"])(n.__page__);if(i)switch(t){case"setNavigationBarColor":var a=n.frontColor,o=n.backgroundColor,s=n.animation,l=s.duration,u=s.timingFunc;a&&(i.navigationBar.textColor="#000000"===a?"black":"white"),o&&(i.navigationBar.backgroundColor=o),e.emit("onNavigationBarChange",{textColor:"#000000"===a?"#000":"#fff",backgroundColor:i.navigationBar.backgroundColor}),i.navigationBar.duration=l+"ms",i.navigationBar.timingFunc=u;break;case"showNavigationBarLoading":i.navigationBar.loading=!0;break;case"hideNavigationBarLoading":i.navigationBar.loading=!1;break;case"setNavigationBarTitle":var c=n.title;i.navigationBar.titleText=c,Object(r["isCurrentPage"])(i)&&(document.title=c),e.emit("onNavigationBarChange",{titleText:c});break}return{}}function a(e){return i("setNavigationBarColor",e)}function o(e){return i("showNavigationBarLoading",e)}function s(e){return i("hideNavigationBarLoading",e)}function l(e){return i("setNavigationBarTitle",e)}}.call(this,n("0dd1"))},"5a23":function(e,t,n){"use strict";n("f2b3");var r,i=n("5cf8");function a(){}t["a"]={name:"Keyboard",mixins:[i["a"]],props:{cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},computed:{isApple:function(){return 0===String(navigator.vendor).indexOf("Apple")}},directives:{keyboard:{inserted:function(e,t,n){n.context.initKeyboard(e)}}},methods:{initKeyboard:function(e){var t=this;e.addEventListener("focus",(function(){clearTimeout(r),document.addEventListener("click",a,!1)}));var n=function(){document.removeEventListener("click",a,!1),t.isApple&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};e.addEventListener("blur",(function(){t.isApple&&e.blur(),n()}))}}}},"5a56":function(e,t,n){"use strict";n.r(t),t["default"]={methods:{beforeTransition:function(){},afterTransition:function(){}}}},"5ab3":function(e,t,n){"use strict";var r=n("b2bb"),i=n.n(r);i.a},"5abe":function(e,t){(function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=window.document,t=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(e){var t=this._observationTargets.some((function(t){return t.element==e}));if(!t){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},r.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},r.prototype._parseRootMargin=function(e){var t=e||"0px",n=t.split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(window,"resize",this._checkForIntersections,!0),o(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(window,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():c();this._observationTargets.forEach((function(r){var a=r.element,o=u(a),s=this._rootContainsTarget(a),l=r.entry,c=e&&s&&this._computeTargetAndRootIntersection(a,t),d=r.entry=new n({time:i(),target:a,boundingClientRect:o,rootBounds:t,intersectionRect:c});l?e&&s?this._hasCrossedThreshold(l,d)&&this._queuedEntries.push(d):l&&l.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(t,n){if("none"!=window.getComputedStyle(t).display){var r=u(t),i=r,a=f(t),o=!1;while(!o){var s=null,c=1==a.nodeType?window.getComputedStyle(a):{};if("none"==c.display)return;if(a==this.root||a==e?(o=!0,s=n):a!=e.body&&a!=e.documentElement&&"visible"!=c.overflow&&(s=u(a)),s&&(i=l(s,i),!i))break;a=f(a)}return i}},r.prototype._getRootRect=function(){var t;if(this.root)t=u(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},r.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i=0&&s>=0&&{top:n,bottom:r,left:i,right:a,width:o,height:s}}function u(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):c()}function c(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e,t){var n=t;while(n){if(n==e)return!0;n=f(n)}return!1}function f(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}})()},"5b9f":function(e,t,n){"use strict";var r=n("f2b3"),i=n("636c");t["a"]={props:{dashArray:{type:Array,default:function(){return[0,0]}},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},mounted:function(){var e=this,t=this.$parent;t.mapReady((function(){e.drawPolygon(),Object.keys(e.$props).forEach((function(t){e.$watch(t,(function(){e.drawPolygon()}),{deep:!0})}))}))},methods:{drawPolygon:function(){var e=this.points,t=this.strokeWidth,n=this.strokeColor,a=this.dashArray,o=this.fillColor,s=this.zIndex,l=this.$parent,u=l._maps,c=l._map,d=e.map((function(e){var t=e.latitude,n=e.longitude;return i["c"]?[n,t]:new u.LatLng(t,n)})),f=Object(r["j"])(o),h=f.r,p=f.g,g=f.b,v=f.a,y=Object(r["j"])(n),m=y.r,b=y.g,_=y.b,x=y.a,w={clickable:!0,cursor:"crosshair",editable:!1,map:c,fillColor:"",path:d,strokeColor:"",strokeDashStyle:a.some((function(e){return e>0}))?"dash":"solid",strokeWeight:t,visible:!0,zIndex:s};u.Color?(w.fillColor=new u.Color(h,p,g,v),w.strokeColor=new u.Color(m,b,_,x)):(w.fillColor="rgb(".concat(h,", ").concat(p,", ").concat(g,")"),w.fillOpacity=v,w.strokeColor="rgb(".concat(m,", ").concat(b,", ").concat(_,")"),w.strokeOpacity=x),this.polygonIns?this.polygonIns.setOptions(w):this.polygonIns=new u.Polygon(w)}},beforeDestroy:function(){this.polygonIns.setMap(null),this.polygonIns=null},render:function(){return null}}},"5cf8":function(e,t,n){"use strict";function r(e,t){for(var n=this.$children,i=n.length,a=arguments.length,o=new Array(a>2?a-2:0),s=2;s2?i-2:0),o=2;o2?n-2:0),a=2;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?_.PICKER:_.SELECT},system:function(){if(this.mode===m.DATE&&!Object.values(b).includes(this.fields)&&this.isDesktop&&/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""}},watch:{visible:function(e){var t=this;e?(clearTimeout(this.__contentVisibleDelay),this.contentVisible=e,this._select()):this.__contentVisibleDelay=setTimeout((function(){t.contentVisible=e}),300)},value:function(){this._setValueSync()},mode:function(){this._setValueSync()},range:function(){this._setValueSync()},valueSync:function(){this._setValueArray()},valueArray:function(e){var t=this;if(this.mode===m.TIME||this.mode===m.DATE){var n=this.mode===m.TIME?this._getTimeValue:this._getDateValue,r=this.valueArray,i=this.startArray,a=this.endArray;if(this.mode===m.DATE){var o=this.dateArray,s=o[2].length,l=Number(o[2][r[2]])||1,u=new Date("".concat(o[0][r[0]],"/").concat(o[1][r[1]],"/").concat(l)).getDate();un(a)&&this._cloneArray(r,a)}e.forEach((function(e,n){e!==t.oldValueArray[n]&&(t.oldValueArray[n]=e,t.mode===m.MULTISELECTOR&&t.$trigger("columnchange",{},{column:n,value:e}))}))}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this}),this._createTime(),this._createDate(),this._setValueSync()},beforeDestroy:function(){this.$refs.picker.remove(),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_show:function(e){var t=this;if(!this.disabled){this.valueChangeSource="";var n=this.$refs.picker;n.remove(),(document.querySelector("uni-app")||document.body).appendChild(n),n.style.display="block";var r=e.currentTarget.getBoundingClientRect();this.popover={top:r.top,left:r.left,width:r.width,height:r.height},setTimeout((function(){t.visible=!0}),20)}},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){switch(this.mode){case m.SELECTOR:this.valueSync=0;break;case m.MULTISELECTOR:this.valueSync=this.value.map((function(e){return 0}));break;case m.DATE:case m.TIME:this.valueSync="";break;default:break}},_createTime:function(){var e=[],t=[];e.splice(0,e.length);for(var n=0;n<24;n++)e.push((n<10?"0":"")+n);t.splice(0,t.length);for(var r=0;r<60;r++)t.push((r<10?"0":"")+r);this.timeArray.push(e,t)},_createDate:function(){for(var e=[],t=(new Date).getFullYear(),n=t-150,r=t+150;n<=r;n++)e.push(String(n));for(var i=[],a=1;a<=12;a++)i.push((a<10?"0":"")+a);for(var o=[],s=1;s<=31;s++)o.push((s<10?"0":"")+s);this.dateArray.push(e,i,o)},_getTimeValue:function(e){return 60*e[0]+e[1]},_getDateValue:function(e){var t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)},_cloneArray:function(e,t){for(var n=0;no?0:a)}break;case m.TIME:case m.DATE:this.valueSync=String(e);break;default:var s=Number(e);this.valueSync=s<0?0:s;break}},_setValueArray:function(){var e,t=this.valueSync;switch(this.mode){case m.MULTISELECTOR:e=c(t);break;case m.TIME:e=this._getDateValueArray(t,Object(o["g"])({mode:m.TIME}));break;case m.DATE:e=this._getDateValueArray(t,Object(o["g"])({mode:m.DATE}));break;default:e=[t];break}this.oldValueArray=c(e),this.valueArray=c(e)},_getValue:function(){var e=this,t=this.valueArray;switch(this.mode){case m.SELECTOR:return t[0];case m.MULTISELECTOR:return t.map((function(e){return e}));case m.TIME:return this.valueArray.map((function(t,n){return e.timeArray[n][t]})).join(":");case m.DATE:return this.valueArray.map((function(t,n){return e.dateArray[n][t]})).join("-")}},_getDateValueArray:function(e,t){var n,r=this.mode===m.DATE?"-":":",i=this.mode===m.DATE?this.dateArray:this.timeArray;if(this.mode===m.TIME)n=2;else switch(this.fields){case b.YEAR:n=1;break;case b.MONTH:n=2;break;default:n=3;break}for(var a=String(e).split(r),o=[],s=0;s=0&&(o=t?this._getDateValueArray(t):o.map((function(){return 0}))),o},_change:function(){this._close(),this.valueChangeSource="click";var e=this._getValue();this.valueSync=Array.isArray(e)?e.map((function(e){return e})):e,this.$trigger("change",{},{value:e})},_cancel:function(e){if("firefox"===this.system){var t=this.popover,n=t.top,r=t.left,i=t.width,a=t.height,o=e.pageX,s=e.pageY;if(o>r&&on&&s=5&&e<=18?e:18},default:18},name:{type:String},address:{type:String}}},"70f4":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-label",e._g({class:{"uni-label-pointer":e.pointer},on:{click:e._onClick}},e.$listeners),[e._t("default")],2)},i=[],a=n("f2ce"),o=a["a"],s=(n("6730"),n("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null);t["default"]=l.exports},7107:function(e,t,n){"use strict";(function(e){function r(t){var n=t.options,r=t.callbackId,i=n.family,a=n.source,o=n.desc,s=void 0===o?{}:o,l=document.fonts;if(l){var u=new FontFace(i,a,s);u.load().then((function(){l.add(u),e.publishHandler("onLoadFontFaceCallback",{callbackId:r,data:{errMsg:"loadFontFace:ok"}})})).catch((function(t){e.publishHandler("onLoadFontFaceCallback",{callbackId:r,data:{errMsg:"loadFontFace:fail ".concat(t)}})}))}else{var c=document.createElement("style");c.innerText='@font-face{font-family:"'.concat(i,'";src:').concat(a,";font-style:").concat(s.style,";font-weight:").concat(s.weight,";font-stretch:").concat(s.stretch,";unicode-range:").concat(s.unicodeRange,";font-variant:").concat(s.variant,";font-feature-settings:").concat(s.featureSettings,";}"),document.head.appendChild(c),e.publishHandler("onLoadFontFaceCallback",{callbackId:r,data:{errMsg:"loadFontFace:ok"}})}}n.d(t,"a",(function(){return r}))}).call(this,n("501c"))},"72ad":function(e,t,n){},"72b3":function(e,t,n){"use strict";function r(e,t,n){return e>t-n&&e0){var u=(-n-Math.sqrt(a))/(2*r),c=(-n+Math.sqrt(a))/(2*r),d=(t-u*e)/(c-u),f=e-d;return{x:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),f*t+d*n},dx:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),f*u*t+d*c*n}}}var h=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,g=e,v=(t-p*e)/h;return{x:function(e){return Math.pow(Math.E,p*e)*(g*Math.cos(h*e)+v*Math.sin(h*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(h*e),r=Math.sin(h*e);return t*(v*h*n-g*h*r)+p*t*(v*r+g*n)}}},a.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},a.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},a.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!i(t,.4)){t=t||0;var r=this._endPosition;this._solution&&(i(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),i(t,.4)&&(t=0),i(r,.4)&&(r=0),r+=this._endPosition),this._solution&&i(r-e,.4)&&i(t,.4)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}},a.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},a.prototype.done=function(e){return e||(e=(new Date).getTime()),r(this.x(),this._endPosition,.4)&&i(this.dx(),.4)},a.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},a.prototype.springConstant=function(){return this._k},a.prototype.damping=function(){return this._c},a.prototype.configuration=function(){function e(e,t){e.reconfigure(1,t,e.damping())}function t(e,t){e.reconfigure(1,e.springConstant(),t)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]}},"738e":function(e,t,n){"use strict";(function(e){var r=n("8af1"),i=n("f2b3"),a=n("31c6"),o=n("453f"),s=n("149e"),l=n("5b9f"),u=n("636c");function c(e,t,n){return c=d()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=Function.bind.apply(e,r),a=new i;return n&&f(a,n.prototype),a},c.apply(null,arguments)}function d(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(e,t,n){return new e.LngLat(n,t)}function p(e,t,n){return new e.LatLng(t,n)}function g(e,t,n){return u["c"]?h(e,t,n):p(e,t,n)}function v(e){return"getLat"in e?e.getLat():e.lat()}function y(e){return"getLng"in e?e.getLng():e.lng()}t["a"]={name:"Map",components:{mapMarker:o["a"],mapControl:s["a"],mapPolygon:l["a"]},mixins:[r["g"]],props:{id:{type:String,default:""},latitude:{type:[String,Number],default:39.92},longitude:{type:[String,Number],default:116.46},scale:{type:[String,Number],default:16},markers:{type:Array,default:function(){return[]}},covers:{type:Array,default:function(){return[]}},includePoints:{type:Array,default:function(){return[]}},polyline:{type:Array,default:function(){return[]}},circles:{type:Array,default:function(){return[]}},controls:{type:Array,default:function(){return[]}},showLocation:{type:[Boolean,String],default:!1},libraries:{type:Array,default:function(){return[]}},polygons:{type:Array,default:function(){return[]}}},data:function(){return{center:{latitude:116.46,longitude:116.46},isMapReady:!1,isBoundsReady:!1,polylineSync:[],circlesSync:[]}},watch:{latitude:function(){this.centerChange()},longitude:function(){this.centerChange()},scale:function(e){var t=this;this.mapReady((function(){t._map.setZoom(Number(e)||16)}))},polyline:function(e){var t=this;this.mapReady((function(){t.createPolyline()}))},circles:function(){var e=this;this.mapReady((function(){e.createCircles()}))},includePoints:function(){var e=this;this.mapReady((function(){e.fitBounds(e.includePoints)}))},showLocation:function(e){var t=this;this.mapReady((function(){t[e?"createLocation":"removeLocation"]()}))}},created:function(){this._markers={};var e=this.latitude,t=this.longitude;e&&t&&(this.center.latitude=e,this.center.longitude=t)},mounted:function(){var e=this;Object(a["a"])(this.libraries,(function(t){t.event=t.event||t.Event,t.Point=t.Point||t.BuryPoint,e._maps=t,e.init()}))},beforeDestroy:function(){this.removePolyline(),this.removeCircles(),this.removeLocation()},methods:{_handleSubscribe:function(e){var t=this,n=e.type,r=e.data,i=void 0===r?{}:r,a=this._maps;function o(e,t){e=e||{},e.errMsg="".concat(n,":").concat(t?"fail"+t:"ok");var r=t?i.fail:i.success;"function"===typeof r&&r(e),"function"===typeof i.complete&&i.complete(e)}switch(n){case"getCenterLocation":this.mapReady((function(){var e,n,r=t._map.getCenter();e=v(r),n=y(r),o({latitude:e,longitude:n})}));break;case"moveToLocation":var s=i.latitude,l=i.longitude,c=s&&l?g(a,s,l):this._locationPosition;c&&(this._map.setCenter(c),o({latitude:s,longitude:l}));break;case"translateMarker":this.mapReady((function(){try{var e=t.getMarker(i.markerId),n=i.destination,r=i.duration,s=!!i.autoRotate,l=Number(i.rotate)?i.rotate:0,u=0;"getRotation"in e&&(u=e.getRotation());var c=e.getPosition(),d=g(a,n.latitude,n.longitude),f=a.geometry.spherical.computeDistanceBetween(c,d)/1e3,h=("number"===typeof r?r:1e3)/36e5,p=f/h,v=a.event.addListener(e,"moving",(function(t){var n=t.latLng,r=e.label;r&&r.setPosition(n);var i=e.callout;i&&i.setPosition(n)})),y=a.event.addListener(e,"moveend",(function(t){y.remove(),v.remove(),e.lastPosition=c,e.setPosition(d);var n=e.label;n&&n.setPosition(d);var r=e.callout;r&&r.setPosition(d);var a=i.animationEnd;"function"===typeof a&&a()})),m=0;s&&(e.lastPosition&&(m=a.geometry.spherical.computeHeading(e.lastPosition,c)),l=a.geometry.spherical.computeHeading(c,d)-m),"setRotation"in e&&e.setRotation(u+l),"moveTo"in e?e.moveTo(d,p):(e.setPosition(d),a.event.trigger(e,"moveend",{}))}catch(b){o(null,b)}}));break;case"includePoints":this.fitBounds(i.points);break;case"getRegion":this.mapReady((function(){t.boundsReady((function(){var e=t._map.getBounds(),n=e.getSouthWest(),r=e.getNorthEast();o({southwest:{latitude:v(n),longitude:y(n)},northeast:{latitude:v(r),longitude:y(r)}})})),u["c"]&&(t.isBoundsReady=!0,t.$emit("boundsready"))}));break;case"getScale":this.mapReady((function(){o({scale:t._map.getZoom()})}));break}},init:function(){var e=this,t=this._maps,n=g(t,this.center.latitude,this.center.longitude),r=this._map=new t.Map(this.$refs.map,{center:n,zoom:Number(this.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0}),i=t.event.addListener(r,"bounds_changed",(function(t){i.remove(),e.isBoundsReady=!0,e.$emit("boundsready")}));function a(){var e=r.getCenter();return{scale:r.getZoom(),centerLocation:{latitude:v(e),longitude:y(e)}}}t.event.addListener(r,"click",(function(t){e.$trigger("click",{},{})})),t.event.addListener(r,"dragstart",(function(){e.$trigger("regionchange",{},{type:"begin",causedBy:"gesture"})})),t.event.addListener(r,"dragend",(function(){e.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"drag"},a()))})),t.event.addListener(r,"zoom_changed",(function(){e.$emit("update:scale",r.getZoom()),e.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"scale"},a()))})),t.event.addListener(r,"center_changed",(function(){var t,n,i=r.getCenter();t=v(i),n=y(i),e.$emit("update:latitude",t),e.$emit("update:longitude",n)})),this.polyline&&Array.isArray(this.polyline)&&this.polyline.length&&this.createPolyline(),this.circles&&Array.isArray(this.circles)&&this.circles.length&&this.createCircles(),this.showLocation&&this.createLocation(),this.includePoints&&Array.isArray(this.includePoints)&&this.includePoints.length&&this.fitBounds(this.includePoints,(function(){r.setCenter(n)})),this.isMapReady=!0,this.$emit("mapready"),this.$trigger("updated",{},{})},centerChange:function(){var e=this,t=this._maps,n=Number(this.latitude),r=Number(this.longitude);n===this.center.latitude&&r===this.center.longitude||(this.center.latitude=n,this.center.longitude=r,this._map&&this.mapReady((function(){var i=g(t,n,r);e._map.setCenter(i)})))},createPolyline:function(){var e=this._maps,t=this._map,n=this.polylineSync;this.removePolyline(),this.polyline.forEach((function(r){var a=[];r.points.forEach((function(t){var n=u["c"]?[t.longitude,t.latitude]:p(e,t.latitude,t.longitude);a.push(n)}));var o=Number(r.borderWidth)||0,s=Object(i["j"])(r.color),l=s.r,c=s.g,d=s.b,f=s.a,h=Object(i["j"])(r.borderColor),g=h.r,v=h.g,y=h.b,m=h.a,b={map:t,clickable:!1,path:a,strokeWeight:(Number(r.width)||0)+o||6,strokeDashStyle:r.dottedLine?"dash":"solid"};u["c"]&&(b.strokeColor=r.strokeColor,b.strokeStyle=r.dottedLine?"dashed":"solid",b.isOutline=!!r.borderWidth,b.borderWeight=r.borderWidth,b.outlineColor=r.borderColor);var _={map:t,clickable:!1,path:a,strokeWeight:r.width||6,strokeDashStyle:r.dottedLine?"dash":"solid"};"Color"in e?(b.strokeColor=new e.Color(l,c,d,f),_.strokeColor=new e.Color(g,v,y,m)):(b.strokeColor="rgb(".concat(l,", ").concat(c,", ").concat(d,")"),b.strokeOpacity=f,_.strokeColor="rgb(".concat(g,", ").concat(v,", ").concat(y,")"),_.strokeOpacity=m),o&&n.push(new e.Polyline(_));var x=new e.Polyline(b);u["c"]&&t.add(x),n.push(x)}))},removePolyline:function(){var e=this.polylineSync;e.forEach((function(e){e.setMap(null)})),e.splice(0,e.length)},createCircles:function(){var e=this._maps,t=this._map,n=this.circlesSync;this.removeCircles(),this.circles.forEach((function(r){var a=u["c"]?[r.longitude,r.latitude]:p(e,r.latitude,r.longitude),o={map:t,center:a,clickable:!1,radius:r.radius,strokeWeight:Number(r.strokeWidth)||1,strokeDashStyle:"solid"};if(u["c"])o.strokeColor=r.color,o.fillColor=r.fillColor||"#000";else{var s=Object(i["j"])(r.fillColor||"#00000000"),l=s.r,c=s.g,d=s.b,f=s.a,h=Object(i["j"])(r.color||"#000000"),g=h.r,v=h.g,y=h.b,m=h.a;"Color"in e?(o.fillColor=new e.Color(l,c,d,f),o.strokeColor=new e.Color(g,v,y,m)):(o.fillColor="rgb(".concat(l,", ").concat(c,", ").concat(d,")"),o.fillOpacity=f,o.strokeColor="rgb(".concat(g,", ").concat(v,", ").concat(y,")"),o.strokeOpacity=m)}var b=new e.Circle(o);u["c"]&&t.add(b),n.push(b)}))},removeCircles:function(){var e=this.circlesSync;e.forEach((function(e){e.setMap(null)})),e.splice(0,e.length)},createLocation:function(){var t=this,n=this._maps,r=this._map,i=this._location;i&&this.removeLocation(),uni.getLocation({type:"gcj02",success:function(e){if(i===t._location){var a=g(n,e.latitude,e.longitude);if(u["c"]){i=new n.Marker({position:a,map:r,flat:!0,rotation:0});var s=new n.Icon({size:new n.Size(44,44),image:u["a"],imageSize:new n.Size(44,44)});i.setIcon(s),r.add(i)}else i=new n.Marker({position:a,map:r,icon:new n.MarkerImage(u["a"],null,null,new n.Point(22,22),new n.Size(44,44)),flat:!0,rotation:0});t._location=i,o(),t.__onCompassChange=function(e){i.setRotation(e.direction)},uni.onCompassChange(t.__onCompassChange)}},fail:function(t){e.error(t)}});var a=this;function o(){i===a._location&&setTimeout((function(){uni.getLocation({type:"gcj02",success:function(e){var t=a._locationPosition=g(n,e.latitude,e.longitude);i.setPosition(t)},fail:function(t){e.error(t)},complete:function(){o()}})}),3e4)}},removeLocation:function(){var e=this._location;e&&(e.setMap(null),this._location=null,this._locationPosition=null,uni.offCompassChange(this.__onCompassChange))},fitBounds:function(e,t){var n=this,r=this._maps;this.boundsReady((function(){var i=n._map;if(u["c"]){var a=[];e.forEach((function(e){a.push([e.longitude,e.latitude])}));var o=c(r.Bounds,a);i.setBounds(o)}else{var s=new r.LatLngBounds;e.forEach((function(e){var t=e.longitude,n=e.latitude,i=p(r,n,t);s.extend(i)})),i.fitBounds(s)}"function"===typeof t&&t()})),u["c"]&&(this.isBoundsReady=!0,this.$emit("boundsready"))},mapReady:function(e){this.isMapReady?e():this.$once("mapready",(function(){e()}))},boundsReady:function(e){this.isBoundsReady?e():this.$once("boundsready",(function(){e()}))},getMarker:function(e){var t=this._markers[e];if(!t)throw new Error("translateMarker: fail cannot find marker with id "+e);return t}}}}).call(this,n("3ad9")["default"])},7572:function(e,t,n){},"764a":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n("f2b3"),i=n("85b6"),a=n("65a8"),o=n("33ed"),s=!!r["r"]&&{passive:!1};function l(t){if(uni.canIUse("css.var")){var n=parseFloat(__uniConfig.tabBar.height),r=t.$parent.$parent,i=r.navigationBar.type,o="default"===i||"float"===i?a["a"]:0,s=getApp().$children[0].showTabBar?isNaN(n)?a["c"]:n:0,l=uni.canIUse("css.env")?"env":uni.canIUse("css.constant")?"constant":"",u=o&&l?"calc(".concat(o,"px + ").concat(l,"(safe-area-inset-top))"):"".concat(o,"px"),c=s&&l?"calc(".concat(s,"px + ").concat(l,"(safe-area-inset-bottom))"):"".concat(s,"px"),d=document.documentElement.style;d.setProperty("--window-top","calc(var(--top-window-height) + ".concat(u,")")),d.setProperty("--window-bottom",c),e.debug("".concat(t.$page.route,"[").concat(t.$page.id,"]:--window-top=").concat(u)),e.debug("".concat(t.$page.route,"[").concat(t.$page.id,"]:--window-bottom=").concat(c))}}function u(e){var t=!1,n=!1;e("onPageLoad",(function(e){l(e)})),e("onPageShow",(function(e){var a=e.$parent.$parent;e._isMounted&&l(e),n&&document.removeEventListener("touchmove",n,s),a.disableScroll&&(n=o["b"],document.addEventListener("touchmove",n,s));var u=Object(i["c"])(e.$options,"onPageScroll"),c=Object(i["c"])(e.$options,"onReachBottom"),d=a.onReachBottomDistance,f=Object(r["l"])(a.titleNView)&&"transparent"===a.titleNView.type||Object(r["l"])(a.navigationBar)&&"transparent"===a.navigationBar.type;t&&document.removeEventListener("scroll",t),(f||u||c)&&(t=Object(o["a"])(e.$page.id,{enablePageScroll:u,enablePageReachBottom:c,onReachBottomDistance:d,enableTransparentTitleNView:f}),requestAnimationFrame((function(){document.addEventListener("scroll",t)})))}))}}).call(this,n("3ad9")["default"])},"77d5":function(e,t,n){},"77e0":function(e,t,n){"use strict";n.r(t),function(e,r){var i=n("a6b0");t["default"]={data:function(){return{showToast:{visible:!1}}},created:function(){var t=this,n="",a=function(e){return function(r){n=e,setTimeout((function(){t.showToast=r}),10)}};e.on("onShowToast",a("onShowToast")),e.on("onShowLoading",a("onShowLoading"));var o=function(e){return function(){if(n){var a="";if("onHideToast"===e&&"onShowToast"!==n?a=Object(i["g"])("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==n&&(a=Object(i["g"])("uni.showLoading.unpaired")),a)return r.warn(a);n="",setTimeout((function(){t.showToast.visible=!1}),10)}}};e.on("onHidePopup",o("onHidePopup")),e.on("onHideToast",o("onHideToast")),e.on("onHideLoading",o("onHideLoading"))}}}.call(this,n("0dd1"),n("3ad9")["default"])},"78c8":function(e,t,n){"use strict";n.r(t),n.d(t,"getDeviceInfo",(function(){return h})),n.d(t,"getAppBaseInfo",(function(){return p})),n.d(t,"getSystemInfoSync",(function(){return g})),n.d(t,"getSystemInfo",(function(){return v}));var r,i=n("c6af"),a="__DC_STAT_UUID",o=window.localStorage||window.sessionStorage||{},s=function(){if(r=r||o[a],!r){r=Date.now()+""+Math.floor(1e7*Math.random());try{o[a]=r}catch(e){}}return r},l=n("fb3e"),u=n("f2b3"),c={},d=!0;function f(){d&&(c=Object(l["getBrowserInfo"])())}function h(){f();var e=c,t=e.deviceBrand,n=e.deviceModel,r=e.brand,i=e.model,a=e.platform,o=e.system,l=e.deviceOrientation,u=e.deviceType;return{brand:r,deviceBrand:t,deviceModel:n,devicePixelRatio:window.devicePixelRatio,deviceId:s(),deviceOrientation:l,deviceType:u,model:i,platform:a,system:o}}function p(){f();var e=c,t=e.theme,n=e.language,r=e.browserName,i=e.browserVersion,a=uni&&uni.getLocale?uni.getLocale():n;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:a,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:r,hostVersion:i,hostTheme:t,hostLanguage:n,language:n,SDKVersion:"",theme:t,version:""}}function g(){d=!0,f(),d=!1;var e=Object(i["getWindowInfo"])(),t=h(),n=p();d=!0;var r=c,a=r.ua,o=r.browserName,s=r.browserVersion,l=r.osname,g=r.osversion,v=Object.assign({},e,t,n,{browserName:o,browserVersion:s,fontSizeSetting:n.hostFontSizeSetting,osName:l.toLocaleLowerCase(),osVersion:g,osLanguage:void 0,osTheme:void 0,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,ua:a});return delete v.screenTop,delete v.enableDebug,delete v.theme,Object(u["q"])(v)}function v(){return g()}},"79d5":function(e,t,n){"use strict";function r(e){if(e)return e.$holder;var t=getCurrentPages(),n=t.length;return n?t[n-1].$holder:void 0}function i(e){var t=getCurrentPages(),n=t.length;return!!n&&t[n-1].$holder===e}n.r(t),n.d(t,"getPageHolder",(function(){return r})),n.d(t,"isCurrentPage",(function(){return i}))},"7ac7":function(e,t,n){"use strict";(function(e){var r,i=n("8bbf"),a=n.n(i),o=n("f2b3"),s=n("65a8"),l=["top","left","right"],u=document.documentElement;function c(e,t){r||(r=u.style),r.setProperty(e,t)}function d(e){var t=window.screen,n=[window.outerWidth,window.outerHeight,t.width,t.height,u.clientWidth,u.clientHeight];return Math.max.apply(null,n)>e}t["a"]={name:"Layout",props:{routerKey:{type:String,default:""},keepAliveInclude:{type:Array,default:function(){return[]}}},data:function(){return{marginWidth:0,leftWindowStyle:"",rightWindowStyle:"",topWindowStyle:"",topWindowMediaQuery:!1,leftWindowMediaQuery:!1,rightWindowMediaQuery:!1,topWindowHeight:"0px",apiShowTopWindow:!1,apiShowLeftWindow:!1,apiShowRightWindow:!1,navigationBarTitleText:"",maxWidthMeidaQuery:!1}},computed:{bindWindow:function(){return{matchTopWindow:this.topWindowMediaQuery,showTopWindow:this.showTopWindow||this.apiShowTopWindow,matchLeftWindow:this.leftWindowMediaQuery,showLeftWindow:this.showLeftWindow||this.apiShowLeftWindow,matchRightWindow:this.rightWindowMediaQuery,showRightWindow:this.showRightWindow||this.apiShowRightWindow}},showLayout:function(){return this.showTopWindow||this.showLeftWindow||this.showRightWindow},showTopWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.topWindow&&this.topWindowMediaQuery},showLeftWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.leftWindow&&this.leftWindowMediaQuery},showRightWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.rightWindow&&this.rightWindowMediaQuery}},watch:{$route:function(){this.checkMaxWidth()},showLayout:function(){this.checkLayout()},showTopWindow:function(e,t){e?this.$nextTick(this.onTopWindowInit):c("--top-window-height","0px")},showLeftWindow:function(e,t){e?this.$nextTick(this.onLeftWindowInit):c("--window-left","0px")},showRightWindow:function(e,t){e?this.$nextTick(this.onRightWindowInit):c("--window-right","0px")},marginWidth:function(e){c("--window-margin",e+"px")}},beforeCreate:function(){c("--top-window-height","0px"),c("--window-left","0px"),c("--window-right","0px"),c("--window-margin","0px")},created:function(){var t=this;this.topWindow=a.a.component("VUniTopWindow"),this.leftWindow=a.a.component("VUniLeftWindow"),this.rightWindow=a.a.component("VUniRightWindow"),(this.topWindow||this.leftWindow||this.rightWindow)&&uni.canIUse("css.var")&&window.matchMedia&&(l.forEach((function(e){return t.initWindowMinWidth(e)})),this.responsive=d(this.minWidth),this.responsive&&(this.topWindow&&this.topWindow.options.style&&(this.topWindowStyle=this.topWindow.options.style),this.leftWindow&&this.leftWindow.options.style&&(this.leftWindowStyle=this.leftWindow.options.style),this.rightWindow&&this.rightWindow.options.style&&(this.rightWindowStyle=this.rightWindow.options.style),l.forEach((function(e){return t.initMediaQuery(e)})),e.on("onNavigationBarChange",(function(e){t.navigationBarTitleText=e.titleText})))),this.initMaxWidth()},mounted:function(){this.checkLayout(),this.checkMaxWidth()},methods:{resetApiShowWindow:function(){this.apiShowLeftWindow=!1,this.apiShowRightWindow=!1},showWindow:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this[e+"Window"])return e+"Window not found";var n=Object(o["c"])(e);if(!this["show"+n+"Window"]){var r="apiShow"+n+"Window";this[r]!==t&&(this[r]=t,"top"===e&&(t?this.$nextTick(this.onTopWindowInit):c("--top-window-height","0px")))}},getWindowStyle:function(e){if(!this[e+"Window"])return e+"Window not found";var t=Object.assign({},this[e+"WindowStyle"]);return t},setWindowStyle:function(e,t){if(!this[e+"Window"])return e+"Window not found";t&&(this[e+"WindowStyle"]=t,this.$nextTick(this["on"+Object(o["c"])(e)+"WindowInit"]))},initMaxWidth:function(){var e=this;window.addEventListener("resize",(function(){e.checkMaxWidth()}))},checkLayout:function(){this.$emit("layout",this.showLayout)},checkMaxWidth:function(){var e=this,t=document.body.clientWidth,n=parseInt(this.$route.meta.maxWidth),r=!1;r=t>n,this.$emit("maxWidth",r),this.$containerElem||(this.$containerElem=document.querySelector("uni-app")),this.$containerElem&&(r&&n?(this.marginWidth=(t-n)/2,this.$nextTick((function(){e.onLeftWindowInit(),e.onRightWindowInit(),e.$containerElem.setAttribute("style","max-width:"+n+"px;margin:0 auto;")}))):(this.marginWidth=0,this.$nextTick((function(){e.onLeftWindowInit(),e.onRightWindowInit(),e.$containerElem.removeAttribute("style")}))))},initWindowMinWidth:function(e){var t=e+"Window";if(this[t]){var n=e+"WindowMinWidth";this[n]=s["b"];var r=__uniConfig[t];r&&r.matchMedia&&Object(o["i"])(r.matchMedia,"minWidth")&&(this[n]=r.matchMedia.minWidth),("undefined"===typeof this.minWidth||this.minWidth>this[n])&&(this.minWidth=this[n])}},initMediaQuery:function(e){var t=this;if(this[e+"Window"]){var n=e+"WindowMediaQuery",r=window.matchMedia("(min-width: "+this[e+"WindowMinWidth"]+"px)");r.addListener((function(r){t[n]=r.matches,t.$nextTick((function(){t["on"+Object(o["c"])(e)+"WindowInit"]()}))})),this[n]=r.matches}},onTopWindowInit:function(){if(this.responsive&&this.topWindow){var e="0px";e=this.topWindowStyle&&this.topWindowStyle.height?this.$refs.topWindow.offsetHeight+"px":this.$refs.top.$el.offsetHeight+"px",this.topWindowHeight=e,c("--top-window-height",e)}},onLeftWindowInit:function(){this.responsive&&this.leftWindow?this.leftWindowStyle&&this.leftWindowStyle.width?c("--window-left",this.$refs.leftWindow.offsetWidth+this.marginWidth+"px"):c("--window-left",this.$refs.left.$el.offsetWidth+this.marginWidth+"px"):c("--window-left",this.marginWidth+"px")},onRightWindowInit:function(){this.responsive&&this.rightWindow?this.rightWindowStyle&&this.rightWindowStyle.width?c("--window-right",this.$refs.rightWindow.offsetWidth+this.marginWidth+"px"):c("--window-right",this.$refs.right.$el.offsetWidth+this.marginWidth+"px"):c("--window-right",this.marginWidth+"px")}}}}).call(this,n("0dd1"))},"7bab":function(e,t,n){"use strict";function r(){var e=document.getElementById("#clipboard"),t=e?e.value:void 0;return t?{data:t,errMsg:"getClipboardData:ok"}:{errMsg:"getClipboardData:fail"}}function i(e){var t=e.data,n=document.getElementById("#clipboard");n&&n.remove();var r=document.createElement("textarea");r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=t,r.select(),r.setSelectionRange(0,r.value.length);var i=document.execCommand("Copy",!1,null);return r.blur(),i?{errMsg:"setClipboardData:ok"}:{errMsg:"setClipboardData:fail"}}n.r(t),n.d(t,"getClipboardData",(function(){return r})),n.d(t,"setClipboardData",(function(){return i}))},"7bb3":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-checkbox",e._g({attrs:{disabled:e.disabled},on:{click:e._onClick}},e.$listeners),[n("div",{staticClass:"uni-checkbox-wrapper"},[n("div",{staticClass:"uni-checkbox-input",class:{"uni-checkbox-input-checked":e.checkboxChecked,"uni-checkbox-input-disabled":e.disabled},style:{color:e.color}}),e._t("default")],2)])},i=[],a=n("8af1"),o={name:"Checkbox",mixins:[a["a"],a["f"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},data:function(){return{checkboxChecked:this.checked,checkboxValue:this.value}},watch:{checked:function(e){this.checkboxChecked=e},value:function(e){this.checkboxValue=e}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(e){this.disabled||(this.checkboxChecked=!this.checkboxChecked,this.$dispatch("CheckboxGroup","uni-checkbox-change",e))},_resetFormData:function(){this.checkboxChecked=!1}}},s=o,l=(n("f53a"),n("2877")),u=Object(l["a"])(s,r,i,!1,null,null,null);t["default"]=u.exports},"7c2b":function(e,t,n){"use strict";var r=n("2c45"),i=n.n(r);i.a},"7d18":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"uploadFile",(function(){return u}));var r=n("e2e2");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n=0&&this._callbacks.splice(t,1)}},{key:"abort",value:function(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),e}();function u(t,n){var i=t.url,a=t.file,o=t.filePath,s=t.name,u=t.files,c=t.header,d=t.formData,f=t.timeout,h=void 0===f?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.uploadFile||6e4:f,p=e,g=p.invokeCallbackHandler,v=new l(null,n);function y(e){var t,r=new XMLHttpRequest,a=new FormData;Object.keys(d).forEach((function(e){a.append(e,d[e])})),Object.values(u).forEach((function(t,n){var r=t.name,i=e[n];a.append(r||"file",i,i.name||"file-".concat(Date.now()))})),r.open("POST",i),Object.keys(c).forEach((function(e){r.setRequestHeader(e,c[e])})),r.upload.onprogress=function(e){v._callbacks.forEach((function(t){var n=e.loaded,r=e.total,i=Math.round(n/r*100);t({progress:i,totalBytesSent:n,totalBytesExpectedToSend:r})}))},r.onerror=function(){clearTimeout(t),g(n,{errMsg:"uploadFile:fail"})},r.onabort=function(){clearTimeout(t),g(n,{errMsg:"uploadFile:fail abort"})},r.onload=function(){clearTimeout(t);var e=r.status;g(n,{errMsg:"uploadFile:ok",statusCode:e,data:r.responseText||r.response})},v._isAbort?g(n,{errMsg:"uploadFile:fail abort"}):(t=setTimeout((function(){r.upload.onprogress=r.onload=r.onabort=r.onerror=null,v.abort(),g(n,{errMsg:"uploadFile:fail timeout"})}),h),r.send(a),v._xhr=r)}return Array.isArray(u)&&u.length||(u=[{name:s,file:a,uri:o}]),Promise.all(u.map((function(e){var t=e.file,n=e.uri;return t instanceof Blob?Promise.resolve(Object(r["a"])(t)):Object(r["f"])(n)}))).then(y).catch((function(){setTimeout((function(){g(n,{errMsg:"uploadFile:fail file error"})}),0)})),v}}.call(this,n("0dd1"))},"7df2":function(e,t,n){},"7e6a":function(e,t,n){"use strict";var r=n("515d"),i=n.n(r);i.a},"7f4e":function(e,t,n){"use strict";function r(e){var t=e.phoneNumber;return window.location.href="tel:".concat(t),{errMsg:"makePhoneCall:ok"}}n.r(t),n.d(t,"makePhoneCall",(function(){return r}))},"80e5":function(e){e.exports=JSON.parse('{"uni.app.quit":"Pulse otra vez para salir","uni.async.error":"Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo.","uni.showActionSheet.cancel":"Cancelar","uni.showToast.unpaired":"Tenga en cuenta que showToast debe estar emparejado con hideToast","uni.showLoading.unpaired":"Tenga en cuenta que showLoading debe estar emparejado con hideLoading","uni.showModal.cancel":"Cancelar","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Cancelar","uni.chooseImage.sourceType.album":"Álbum","uni.chooseImage.sourceType.camera":"Cámara","uni.chooseVideo.cancel":"Cancelar","uni.chooseVideo.sourceType.album":"Álbum","uni.chooseVideo.sourceType.camera":"Cámara","uni.chooseFile.notUserActivation":"El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario","uni.previewImage.cancel":"Cancelar","uni.previewImage.button.save":"Guardar imagen","uni.previewImage.save.success":"Guardado exitosamente","uni.previewImage.save.fail":"Error al guardar","uni.setClipboardData.success":"Contenido copiado","uni.scanCode.title":"Código de escaneo","uni.scanCode.album":"Álbum","uni.scanCode.fail":"Échec de la reconnaissance","uni.scanCode.flash.on":"Toque para encender la luz","uni.scanCode.flash.off":"Toque para apagar la luz","uni.startSoterAuthentication.authContent":"Reconocimiento de huellas dactilares","uni.picker.done":"OK","uni.picker.cancel":"Cancelar","uni.video.danmu":"Danmu","uni.video.volume":"Volumen","uni.button.feedback.title":"realimentación","uni.button.feedback.send":"enviar","uni.chooseLocation.search":"Encontrar","uni.chooseLocation.cancel":"Cancelar"}')},"811a":function(e,t,n){"use strict";n.r(t),n.d(t,"connectSocket",(function(){return f})),n.d(t,"sendSocketMessage",(function(){return h})),n.d(t,"closeSocket",(function(){return p})),n.d(t,"onSocketOpen",(function(){return g})),n.d(t,"onSocketError",(function(){return v})),n.d(t,"onSocketMessage",(function(){return y})),n.d(t,"onSocketClose",(function(){return m}));var r=n("a118"),i=n("db70");function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.success,n=e.fail,r=e.complete,i=arguments.length>1?arguments[1]:void 0,a={errMsg:i};/:ok$/.test(i)?"function"===typeof t&&t(a):"function"===typeof n&&n(a),"function"===typeof r&&r(a)}}]),e}(),u=Object.create(null),c=[],d=Object.create(null);function f(e,t){var n=Object(i["c"])("createSocketTask",e),a=n.socketTaskId,o=new l(a);return u[a]=o,c.push(o),setTimeout((function(){Object(r["a"])(t,{errMsg:"connectSocket:ok"})}),0),o}function h(e,t){var n=c[0];if(n&&n.readyState===n.OPEN)return Object(i["c"])("operateSocketTask",Object.assign({},e,{operationType:"send",socketTaskId:n.id}));Object(r["a"])(t,{errMsg:"sendSocketMessage:fail WebSocket is not connected"})}function p(e,t){var n=c[0];if(n)return n.readyState=n.CLOSING,Object(i["c"])("operateSocketTask",Object.assign({},e,{operationType:"close",socketTaskId:n.id}));Object(r["a"])(t,{errMsg:"closeSocket:fail WebSocket is not connected"})}function g(e){d.open=e}function v(e){d.error=e}function y(e){d.message=e}function m(e){d.close=e}Object(i["d"])("onSocketTaskStateChange",(function(e){var t=e.socketTaskId,n=e.state,i=e.data,a=(e.errMsg,u[t]);if(a){if("open"===n&&(a.readyState=a.OPEN),a===c[0]&&d[n]&&Object(r["a"])(d[n],"message"===n?{data:i}:{}),"error"===n||"close"===n){a.readyState=a.CLOSED,delete u[t];var o=c.indexOf(a);o>=0&&c.splice(o,1)}a._callbacks[n].forEach((function(e){"function"===typeof e&&e("message"===n?{data:i}:{})}))}}))},8188:function(e,t,n){"use strict";(function(e){var r=n("8af1"),i=n("18fd"),a=n("b253"),o=n("93ab");function s(e){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){var e=navigator.userAgent,t=/iphone|ipad|ipod/i.test(e),n=/Macintosh|Mac/i.test(e),r=n&&navigator.maxTouchPoints>0;return t||r}var u=!1;t["a"]={name:"Editor",mixins:[r["g"],r["a"],r["e"]],props:{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}},data:function(){return{quillReady:!1}},computed:{},watch:{readOnly:function(e){if(this.quillReady){var t=this.quill;t.enable(!e),e||t.blur()}},placeholder:function(e){this.quillReady&&this.setPlaceHolder(e)}},mounted:function(){var e=this,t=[];this.showImgSize&&t.push("DisplaySize"),this.showImgToolbar&&t.push("Toolbar"),this.showImgResize&&t.push("Resize");var n="https://unpkg.com/quill@1.3.7/dist/quill.min.js";Object(o["a"])(window.Quill,n,(function(){if(t.length){var n="https://unpkg.com/quill-image-resize-mp@3.0.1/image-resize.min.js";Object(o["a"])(window.ImageResize,n,(function(){e.initQuill(t)}))}else e.initQuill(t)}))},methods:{_handleSubscribe:function(t){var n,r,i,a=t.type,o=t.data,l=o.options,c=o.callbackId,d=this.quill,f=window.Quill;if(this.quillReady){switch(a){case"format":var h=l.name,p=void 0===h?"":h,g=l.value,v=void 0!==g&&g;r=d.getSelection(!0);var y=d.getFormat(r)[p]||!1;if(["bold","italic","underline","strike","ins"].includes(p))v=!y;else if("direction"===p){v=("rtl"!==v||!y)&&v;var m=d.getFormat(r).align;"rtl"!==v||m?v||"right"!==m||d.format("align",!1,f.sources.USER):d.format("align","right",f.sources.USER)}else if("indent"===p){var b="rtl"===d.getFormat(r).direction;v="+1"===v,b&&(v=!v),v=v?"+1":"-1"}else"list"===p&&(v="check"===v?"unchecked":v,y="checked"===y?"unchecked":y),v=y&&y!==(v||!1)||!y&&v?v:!y;d.format(p,v,f.sources.USER);break;case"insertDivider":r=d.getSelection(!0),d.insertText(r.index,"\n",f.sources.USER),d.insertEmbed(r.index+1,"divider",!0,f.sources.USER),d.setSelection(r.index+2,f.sources.SILENT);break;case"insertImage":r=d.getSelection(!0);var _=l.src,x=void 0===_?"":_,w=l.alt,S=void 0===w?"":w,M=l.width,T=void 0===M?"":M,A=l.height,C=void 0===A?"":A,O=l.extClass,k=void 0===O?"":O,I=l.data,P=void 0===I?{}:I,E=this.$getRealPath(x);d.insertEmbed(r.index,"image",E,f.sources.USER);var L=!!/^(file|blob):/.test(E)&&E;u=!0,d.formatText(r.index,1,"data-local",L),d.formatText(r.index,1,"alt",S),d.formatText(r.index,1,"width",T),d.formatText(r.index,1,"height",C),d.formatText(r.index,1,"class",k),u=!1,d.formatText(r.index,1,"data-custom",Object.keys(P).map((function(e){return"".concat(e,"=").concat(P[e])})).join("&")),d.setSelection(r.index+1,f.sources.SILENT);break;case"insertText":r=d.getSelection(!0);var D=l.text,R=void 0===D?"":D;d.insertText(r.index,R,f.sources.USER),d.setSelection(r.index+R.length,0,f.sources.SILENT);break;case"setContents":var N=l.delta,j=l.html;"object"===s(N)?d.setContents(N,f.sources.SILENT):"string"===typeof j?d.setContents(this.html2delta(j),f.sources.SILENT):i="contents is missing";break;case"getContents":n=this.getContents();break;case"clear":d.setContents([]);break;case"removeFormat":r=d.getSelection(!0);var B=f.import("parchment");r.length?d.removeFormat(r,f.sources.USER):Object.keys(d.getFormat(r)).forEach((function(e){B.query(e,B.Scope.INLINE)&&d.format(e,!1)}));break;case"undo":d.history.undo();break;case"redo":d.history.redo();break;case"blur":d.blur();break;case"getSelectionText":r=d.selection.savedRange,n={text:""},r&&0!==r.length&&(n.text=d.getText(r.index,r.length));break;case"scrollIntoView":d.scrollIntoView();break;default:break}this.updateStatus(r)}else i="not ready";c&&e.publishHandler("onEditorMethodCallback",{callbackId:c,data:Object.assign({},n,{errMsg:"".concat(a,":").concat(i?"fail "+i:"ok")})},this.$page.id)},setPlaceHolder:function(e){var t="data-placeholder",n=this.quill.root;n.getAttribute(t)!==e&&n.setAttribute(t,e)},initQuill:function(e){var t=this,n=window.Quill;a["a"](n);var r={toolbar:!1,readOnly:this.readOnly,placeholder:this.placeholder,modules:{}};e.length&&(n.register("modules/ImageResize",window.ImageResize.default),r.modules.ImageResize={modules:e});var i=this.quill=new n(this.$el,r),o=i.root,s=["focus","blur","input"];s.forEach((function(e){o.addEventListener(e,(function(n){var r=t.getContents();if("input"===e){if(l()){var i=(r.html.match(/([\s\S]*)<\/span>/)||[])[1],a=i&&i.replace(/\s/g,"")?"":t.placeholder;t.setPlaceHolder(a)}n.stopPropagation()}else t.$trigger(e,n,r)}))})),i.on(n.events.TEXT_CHANGE,(function(){u||t.$trigger("input",{},t.getContents())})),i.on(n.events.SELECTION_CHANGE,this.updateStatus.bind(this)),i.on(n.events.SCROLL_OPTIMIZE,(function(){var e=i.selection.getRange()[0];t.updateStatus(e)})),i.clipboard.addMatcher(Node.ELEMENT_NODE,(function(e,n){return t.skipMatcher||(n.ops=n.ops.filter((function(e){var t=e.insert;return"string"===typeof t})).map((function(e){var t=e.insert;return{insert:t}}))),n})),this.initKeyboard(o),this.quillReady=!0,this.$trigger("ready",event,{})},getContents:function(){var e=this.quill,t=e.root.innerHTML,n=e.getText(),r=e.getContents();return{html:t,text:n,delta:r}},html2delta:function(e){var t,n=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],r="";Object(i["a"])(e,{start:function(e,i,a){if(n.includes(e)){t=!1;var o=i.map((function(e){var t=e.name,n=e.value;return"".concat(t,'="').concat(n,'"')})).join(" "),s="<".concat(e," ").concat(o," ").concat(a?"/":"",">");r+=s}else t=!a},end:function(e){t||(r+=""))},chars:function(e){t||(r+=e)}}),this.skipMatcher=!0;var a=this.quill.clipboard.convert(r);return this.skipMatcher=!1,a},updateStatus:function(e){var t=this,n=e?this.quill.getFormat(e):{},r=Object.keys(n);(r.length!==Object.keys(this.__status||{}).length||r.find((function(e){return n[e]!==t.__status[e]})))&&(this.__status=n,this.$trigger("statuschange",{},n))}}}}).call(this,n("501c"))},"81ea":function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-tabbar",{class:["uni-tabbar-"+e.position]},[n("div",{staticClass:"uni-tabbar",style:{backgroundColor:e.tabbarBackgroundColor,"backdrop-filter":"none"!==e.blurEffect?"blur(10px)":e.blurEffect}},[n("div",{staticClass:"uni-tabbar-border",style:{backgroundColor:e.borderColor}}),e._l(e.visibleList,(function(t,r){return n("div",{key:t.isMidButton?r:t.pagePath,staticClass:"uni-tabbar__item",style:t.isMidButton?{flex:"0 0 "+t.width,position:"relative"}:{},on:{click:function(n){return e._switchTab(t,r)}}},[t.isMidButton?n("div",{staticClass:"uni-tabbar__mid",style:e._uniTabbarBdStyle(t)},[t.iconPath?n("img",{style:{width:t.iconWidth,height:t.iconWidth},attrs:{src:e._getRealPath(t.iconPath)}}):e._e()]):e._e(),n("div",{staticClass:"uni-tabbar__bd",style:{height:e.height}},[e.getIconPath(t,r)||t.iconfont||t.iconPath||t.isMidButton?n("div",{staticClass:"uni-tabbar__icon",class:{"uni-tabbar__icon__diff":!t.text},style:{width:e.iconWidth,height:e.iconWidth}},[t.iconfont?n("div",{staticClass:"uni-tabbar__iconfont",style:{color:e.selectedIndex===r?t.iconfont.selectedColor:t.iconfont.color,fontSize:t.iconfont.fontSize||e.iconWidth}},[e._v(" "+e._s(e.selectedIndex===r?t.iconfont.selectedText:t.iconfont.text)+" ")]):t.isMidButton?e._e():n("img",{attrs:{src:e._getRealPath(e.getIconPath(t,r))}}),t.redDot?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!t.badge}},[e._v(" "+e._s(t.badge)+" ")]):e._e()]):e._e(),t.text?n("div",{staticClass:"uni-tabbar__label",style:{color:e.selectedIndex===r?e.selectedColor:e.color,fontSize:e.fontSize,lineHeight:t.iconPath?"normal":1.8,marginTop:t.iconPath?e.spacing:"inherit"}},[e._v(" "+e._s(t.text)+" "),t.redDot&&!t.iconPath?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!t.badge}},[e._v(" "+e._s(t.badge)+" ")]):e._e()]):e._e()])])}))],2),n("div",{staticClass:"uni-placeholder",style:{height:e.height}})])},i=[],a=n("a919"),o=a["a"],s=(n("f4e0"),n("2877")),l=Object(s["a"])(o,r,i,!1,null,null,null),u=l.exports,c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.responsive?n("uni-layout",{class:{"uni-app--showlayout":e.showLayout,"uni-app--showtopwindow":e.showTopWindow,"uni-app--showleftwindow":e.showLeftWindow,"uni-app--showrightwindow":e.showRightWindow}},[e.topWindow?n("uni-top-window",{directives:[{name:"show",rawName:"v-show",value:e.showTopWindow||e.apiShowTopWindow,expression:"showTopWindow || apiShowTopWindow"}]},[n("div",{ref:"topWindow",staticClass:"uni-top-window",style:e.topWindowStyle},[n("v-uni-top-window",e._b({ref:"top",attrs:{"navigation-bar-title-text":e.navigationBarTitleText},on:{"hook:mounted":e.onTopWindowInit}},"v-uni-top-window",e.bindWindow,!1))],1),n("div",{staticClass:"uni-top-window--placeholder",style:{height:e.topWindowHeight}})]):e._e(),n("uni-content",[n("uni-main",[n("keep-alive",{attrs:{include:e.keepAliveInclude}},[n("router-view",{key:e.routerKey})],1)],1),e.leftWindow?n("uni-left-window",{directives:[{name:"show",rawName:"v-show",value:e.showLeftWindow||e.apiShowLeftWindow,expression:"showLeftWindow || apiShowLeftWindow"}],ref:"leftWindow",style:e.leftWindowStyle,attrs:{"data-show":e.apiShowLeftWindow}},[e.apiShowLeftWindow?n("div",{staticClass:"uni-mask",on:{click:function(t){e.apiShowLeftWindow=!1}}}):e._e(),n("div",{staticClass:"uni-left-window"},[n("v-uni-left-window",e._b({ref:"left",on:{"hook:mounted":e.onLeftWindowInit}},"v-uni-left-window",e.bindWindow,!1))],1)]):e._e(),e.rightWindow?n("uni-right-window",{directives:[{name:"show",rawName:"v-show",value:e.showRightWindow||e.apiShowRightWindow,expression:"showRightWindow || apiShowRightWindow"}],ref:"rightWindow",style:e.rightWindowStyle,attrs:{"data-show":e.apiShowRightWindow}},[e.apiShowRightWindow?n("div",{staticClass:"uni-mask",on:{click:function(t){e.apiShowRightWindow=!1}}}):e._e(),n("div",{staticClass:"uni-right-window"},[n("v-uni-right-window",e._b({ref:"right",on:{"hook:mounted":e.onRightWindowInit}},"v-uni-right-window",e.bindWindow,!1))],1)]):e._e()],1)],1):n("keep-alive",{attrs:{include:e.keepAliveInclude}},[n("router-view",{key:e.routerKey})],1)},d=[],f=n("7ac7"),h=f["a"],p=(n("639e"),Object(s["a"])(h,c,d,!1,null,null,null)),g=p.exports,v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"uni-fade"}},[e.visible?n("uni-toast",{attrs:{"data-duration":e.duration}},[e.mask?n("div",{staticClass:"uni-mask",staticStyle:{background:"transparent"},on:{touchmove:function(e){e.preventDefault()}}}):e._e(),e.image||e.iconClass?n("div",{staticClass:"uni-toast"},[e.image?n("img",{staticClass:"uni-toast__icon",attrs:{src:e.image}}):n("i",{staticClass:"uni-icon_toast",class:e.iconClass}),n("p",{staticClass:"uni-toast__content"},[e._v(" "+e._s(e.title)+" ")])]):n("div",{staticClass:"uni-sample-toast"},[n("p",{staticClass:"uni-simple-toast__text"},[e._v(" "+e._s(e.title)+" ")])])]):e._e()],1)},y=[],m=n("5222"),b=m["a"],_=(n("ff28"),Object(s["a"])(b,v,y,!1,null,null,null)),x=_.exports,w=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"uni-fade"}},[n("uni-modal",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],on:{touchmove:function(e){e.preventDefault()}}},[n("div",{staticClass:"uni-mask"}),n("div",{staticClass:"uni-modal"},[e.title?n("div",{staticClass:"uni-modal__hd"},[n("strong",{staticClass:"uni-modal__title",domProps:{textContent:e._s(e.title)}})]):e._e(),e.editable?n("textarea",{ref:"editContent",staticClass:"uni-modal__textarea",attrs:{rows:"1",placeholder:e.placeholderText},domProps:{value:e.content}}):n("div",{staticClass:"uni-modal__bd",domProps:{textContent:e._s(e.content)},on:{touchmove:function(e){e.stopPropagation()}}}),n("div",{staticClass:"uni-modal__ft"},[e.showCancel?n("div",{staticClass:"uni-modal__btn uni-modal__btn_default",style:{color:e.cancelColor},on:{click:function(t){return e._close("cancel")}}},[e._v(" "+e._s(e.cancelText)+" ")]):e._e(),n("div",{staticClass:"uni-modal__btn uni-modal__btn_primary",style:{color:e.confirmColor},on:{click:function(t){return e._close("confirm")}}},[e._v(" "+e._s(e.confirmText)+" ")])])]),n("keypress",{attrs:{disable:!e.visible},on:{esc:function(t){return e._close("cancel")},enter:function(t){!e.editable&&e._close("confirm")}}})],1)],1)},S=[],M=n("5a56"),T=n("da71");function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C={name:"Modal",components:{keypress:T["a"]},mixins:[M["default"]],props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},methods:{_close:function(e){var t=A({},e,!0);this.editable&&"confirm"===e&&(t.content=this.$refs.editContent.value),this.$emit("close",t)}}},O=C,k=(n("2765"),Object(s["a"])(O,w,S,!1,null,null,null)),I=k.exports,P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-actionsheet",{on:{touchmove:function(e){e.preventDefault()}}},[n("transition",{attrs:{name:"uni-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"uni-mask uni-actionsheet__mask",on:{click:function(t){return e._close(-1)}}})]),n("div",{staticClass:"uni-actionsheet",class:{"uni-actionsheet_toggle":e.visible},style:e.popupStyle.content},[n("div",{ref:"main",staticClass:"uni-actionsheet__menu",on:{wheel:e._handleWheel}},[e.title?n("div",{staticClass:"uni-actionsheet__cell",style:{height:e.titleHeight+"px"}}):e._e(),e.title?n("div",{staticClass:"uni-actionsheet__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),n("div",{style:{maxHeight:e.HEIGHT+"px",overflow:"hidden"}},[n("div",{ref:"content"},e._l(e.itemList,(function(t,r){return n("div",{key:r,staticClass:"uni-actionsheet__cell",style:{color:e.itemColor},on:{click:function(t){return e._close(r)}}},[e._v(" "+e._s(t)+" ")])})),0)])]),n("div",{staticClass:"uni-actionsheet__action"},[n("div",{staticClass:"uni-actionsheet__cell",style:{color:e.itemColor},on:{click:function(t){return e._close(-1)}}},[e._v(" "+e._s(e.$$t("uni.showActionSheet.cancel"))+" ")])]),n("div",{style:e.popupStyle.triangle})]),n("keypress",{attrs:{disable:!e.visible},on:{esc:function(t){return e._close(-1)}}})],1)},E=[],L=n("4ccd"),D=n("a6b0"),R=n("ba15"),N=n("8aec"),j=n("5363"),B=n("72b3"),F=n("d4cd");function z(e){var t=20,n=0,r=0;e.addEventListener("touchstart",(function(e){var t=e.changedTouches[0];n=t.clientX,r=t.clientY})),e.addEventListener("touchend",(function(e){var i=e.changedTouches[0];if(Math.abs(i.clientX-n)10?(this.scrollTop+=t/3,this.scrollTop=this.scrollTop>=this.contentHeight?this.contentHeight:this.scrollTop<=0?0:this.scrollTop,this._scroller.scrollTo(this.scrollTop)):this.deltaY=t,e.preventDefault()}}},H=V,W=(n("4fef"),Object(s["a"])(H,P,E,!1,null,null,null)),G=W.exports,U={Toast:x,Modal:I,ActionSheet:G};function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $(e){for(var t=1;t0&&e<1?e:1}}},l={canvasId:{type:String,required:!0},actions:{type:Array,required:!0},reserve:{type:Boolean,default:!1}}},"82c2":function(e,t,n){"use strict";n.r(t),n.d(t,"request",(function(){return f}));var r=n("f2b3"),i=n("a118"),a=n("db70");function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n>2],a+=e[(3&r[n])<<4|r[n+1]>>4],a+=e[(15&r[n+1])<<2|r[n+2]>>6],a+=e[63&r[n+2]];return i%3===2?a=a.substring(0,a.length-1)+"=":i%3===1&&(a=a.substring(0,a.length-2)+"=="),a},t.decode=function(e){var t,r,i,a,o,s=.75*e.length,l=e.length,u=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var c=new ArrayBuffer(s),d=new Uint8Array(c);for(t=0;t>4,d[u++]=(15&i)<<4|a>>2,d[u++]=(3&a)<<6|63&o;return c}})()},"83a6":function(e,t,n){"use strict";t["a"]={data:function(){return{hovering:!1}},props:{hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}},methods:{_hoverTouchStart:function(e){e.touches.length>1||this._handleHoverStart(e)},_hoverMousedown:function(e){this._hoverTouch||(this._handleHoverStart(e),window.addEventListener("mouseup",this._hoverMouseup))},_handleHoverStart:function(e){var t=this;e._hoverPropagationStopped||this.hoverClass&&"none"!==this.hoverClass&&!this.disabled&&(this.hoverStopPropagation&&(e._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((function(){t.hovering=!0,t._hoverTouch||t._hoverReset()}),this.hoverStartTime))},_hoverMouseup:function(){this._hoverTouch&&(this._handleHoverEnd(),window.removeEventListener("mouseup",this._hoverMouseup))},_hoverTouchEnd:function(){this._handleHoverEnd()},_handleHoverEnd:function(){this._hoverTouch=!1,this.hovering&&this._hoverReset()},_hoverReset:function(){var e=this;requestAnimationFrame((function(){clearTimeout(e._hoverStayTimer),e._hoverStayTimer=setTimeout((function(){e.hovering=!1}),e.hoverStayTime)}))},_hoverTouchCancel:function(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"84e0":function(e,t,n){"use strict";n.r(t),function(e){function r(t){var n=getCurrentPages();return n.length&&e.publishHandler("pageScrollTo",t,n[n.length-1].$page.id),{}}n.d(t,"pageScrollTo",(function(){return r}))}.call(this,n("0dd1"))},8519:function(e,t,n){},8542:function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return _})),n.d(t,"e",(function(){return T})),n.d(t,"b",(function(){return C})),n.d(t,"c",(function(){return O}));var r=n("f2b3");function i(e){return l(e)||s(e)||o(e)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){if(e){if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function s(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function l(e){if(Array.isArray(e))return u(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(e[n])){var i=t[n];t[n]=function(t){S(e[n],t).then((function(e){return Object(r["k"])(i)&&i(e)||e}))}}})),t}function T(e,t){var n=[];Array.isArray(f.returnValue)&&n.push.apply(n,i(f.returnValue));var r=h[e];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,i(r.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function A(e){var t=Object.create(null);Object.keys(f).forEach((function(e){"returnValue"!==e&&(t[e]=f[e].slice())}));var n=h[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function C(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),a=3;a0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return Array.isArray(e[t])&&e[t].length}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e)),n=Object.keys(t),r=n.length;if(r)for(var i=0;it-n&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},u.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},u.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},u.prototype.dt=function(){return-this._x_v/this._x_a},u.prototype.done=function(){var e=o(this.s().x,this._endPositionX)||o(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},u.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},u.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},c.prototype._solve=function(e,t){var n=this._c,r=this._m,i=this._k,a=n*n-4*r*i;if(0===a){var o=-n/(2*r),s=e,l=t/(o*e);return{x:function(e){return(s+l*e)*Math.pow(Math.E,o*e)},dx:function(e){var t=Math.pow(Math.E,o*e);return o*(s+l*e)*t+l*t}}}if(a>0){var u=(-n-Math.sqrt(a))/(2*r),c=(-n+Math.sqrt(a))/(2*r),d=(t-u*e)/(c-u),f=e-d;return{x:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),f*t+d*n},dx:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),f*u*t+d*c*n}}}var h=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,g=e,v=(t-p*e)/h;return{x:function(e){return Math.pow(Math.E,p*e)*(g*Math.cos(h*e)+v*Math.sin(h*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(h*e),r=Math.sin(h*e);return t*(v*h*n-g*h*r)+p*t*(v*r+g*n)}}},c.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},c.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},c.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!s(t,.1)){t=t||0;var r=this._endPosition;this._solution&&(s(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),s(t,.1)&&(t=0),s(r,.1)&&(r=0),r+=this._endPosition),this._solution&&s(r-e,.1)&&s(t,.1)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}},c.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},c.prototype.done=function(e){return e||(e=(new Date).getTime()),o(this.x(),this._endPosition,.1)&&s(this.dx(),.1)},c.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},c.prototype.springConstant=function(){return this._k},c.prototype.damping=function(){return this._c},c.prototype.configuration=function(){function e(e,t){e.reconfigure(1,t,e.damping())}function t(e,t){e.reconfigure(1,e.springConstant(),t)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]},d.prototype.setEnd=function(e,t,n,r){var i=(new Date).getTime();this._springX.setEnd(e,r,i),this._springY.setEnd(t,r,i),this._springScale.setEnd(n,r,i),this._startTime=i},d.prototype.x=function(){var e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},d.prototype.done=function(){var e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},d.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};var f=n("d4cd"),h=!1;function p(e){h||(h=!0,requestAnimationFrame((function(){e(),h=!1})))}function g(e,t){if(e===t)return 0;var n=e.offsetLeft;return e.offsetParent?n+=g(e.offsetParent,t):0}function v(e,t){if(e===t)return 0;var n=e.offsetTop;return e.offsetParent?n+=v(e.offsetParent,t):0}function y(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function m(e,t,n){var r=function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)},i={id:0,cancelled:!1};function a(t,n,r,i){if(!t||!t.cancelled){r(n);var o=e.done();o||t.cancelled||(t.id=requestAnimationFrame(a.bind(null,t,n,r,i))),o&&i&&i(n)}}return a(i,e,t,n),{cancel:r.bind(null,i),model:e}}var b={name:"MovableView",mixins:[a["a"]],props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},data:function(){return{xSync:this._getPx(this.x),ySync:this._getPx(this.y),scaleValueSync:Number(this.scaleValue)||1,width:0,height:0,minX:0,minY:0,maxX:0,maxY:0}},computed:{dampingNumber:function(){var e=Number(this.damping);return isNaN(e)?20:e},frictionNumber:function(){var e=Number(this.friction);return isNaN(e)||e<=0?2:e},scaleMinNumber:function(){var e=Number(this.scaleMin);return isNaN(e)?.5:e},scaleMaxNumber:function(){var e=Number(this.scaleMax);return isNaN(e)?10:e},xMove:function(){return"all"===this.direction||"horizontal"===this.direction},yMove:function(){return"all"===this.direction||"vertical"===this.direction}},watch:{x:function(e){this.xSync=this._getPx(e)},xSync:function(e){this._setX(e)},y:function(e){this.ySync=this._getPx(e)},ySync:function(e){this._setY(e)},disabled:function(){this.__handleTouchStart()},scaleValue:function(e){this.scaleValueSync=Number(e)||0},scaleValueSync:function(e){this._setScaleValue(e)},scaleMinNumber:function(){this._setScaleMinOrMax()},scaleMaxNumber:function(){this._setScaleMinOrMax()}},created:function(){this._offset={x:0,y:0},this._scaleOffset={x:0,y:0},this._translateX=0,this._translateY=0,this._scale=1,this._oldScale=1,this._STD=new d(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this._friction=new u(1,this.frictionNumber),this._declineX=new l,this._declineY=new l,this.__touchInfo={historyX:[0,0],historyY:[0,0],historyT:[0,0]}},mounted:function(){this.touchtrack(this.$el,"_onTrack"),this.setParent(),this._friction.reconfigure(1,this.frictionNumber),this._STD.reconfigure(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this.$el.style.transformOrigin="center",Object(f["b"])()},methods:{_getPx:function(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0},_setX:function(e){if(this.xMove){if(e+this._scaleOffset.x===this._translateX)return this._translateX;this._SFA&&this._SFA.cancel(),this._animationTo(e+this._scaleOffset.x,this.ySync+this._scaleOffset.y,this._scale)}return e},_setY:function(e){if(this.yMove){if(e+this._scaleOffset.y===this._translateY)return this._translateY;this._SFA&&this._SFA.cancel(),this._animationTo(this.xSync+this._scaleOffset.x,e+this._scaleOffset.y,this._scale)}return e},_setScaleMinOrMax:function(){if(!this.scale)return!1;this._updateScale(this._scale,!0),this._updateOldScale(this._scale)},_setScaleValue:function(e){return!!this.scale&&(e=this._adjustScale(e),this._updateScale(e,!0),this._updateOldScale(e),e)},__handleTouchStart:function(){this._isScaling||this.disabled||(Object(f["a"])({disable:!0}),this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel(),this.__touchInfo.historyX=[0,0],this.__touchInfo.historyY=[0,0],this.__touchInfo.historyT=[0,0],this.xMove&&(this.__baseX=this._translateX),this.yMove&&(this.__baseY=this._translateY),this.$el.style.willChange="transform",this._checkCanMove=null,this._firstMoveDirection=null,this._isTouching=!0)},__handleTouchMove:function(e){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching){var n=this._translateX,r=this._translateY;if(null===this._firstMoveDirection&&(this._firstMoveDirection=Math.abs(e.detail.dx/e.detail.dy)>1?"htouchmove":"vtouchmove"),this.xMove&&(n=e.detail.dx+this.__baseX,this.__touchInfo.historyX.shift(),this.__touchInfo.historyX.push(n),this.yMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(e.detail.dx/e.detail.dy)<1)),this.yMove&&(r=e.detail.dy+this.__baseY,this.__touchInfo.historyY.shift(),this.__touchInfo.historyY.push(r),this.xMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(e.detail.dy/e.detail.dx)<1)),this.__touchInfo.historyT.shift(),this.__touchInfo.historyT.push(e.detail.timeStamp),!this._checkCanMove){e.preventDefault();var i="touch";nthis.maxX&&(this.outOfBounds?(i="touch-out-of-bounds",n=this.maxX+this._declineX.x(n-this.maxX)):n=this.maxX),rthis.maxY&&(this.outOfBounds?(i="touch-out-of-bounds",r=this.maxY+this._declineY.x(r-this.maxY)):r=this.maxY),p((function(){t._setTransform(n,r,t._scale,i)}))}}},__handleTouchEnd:function(){var e=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(Object(f["a"])({disable:!1}),this.$el.style.willChange="auto",this._isTouching=!1,!this._checkCanMove&&!this._revise("out-of-bounds")&&this.inertia)){var t=1e3*(this.__touchInfo.historyX[1]-this.__touchInfo.historyX[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]),n=1e3*(this.__touchInfo.historyY[1]-this.__touchInfo.historyY[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]);this._friction.setV(t,n),this._friction.setS(this._translateX,this._translateY);var r=this._friction.delta().x,i=this._friction.delta().y,a=r+this._translateX,o=i+this._translateY;athis.maxX&&(a=this.maxX,o=this._translateY+(this.maxX-this._translateX)*i/r),othis.maxY&&(o=this.maxY,a=this._translateX+(this.maxY-this._translateY)*r/i),this._friction.setEnd(a,o),this._FA=m(this._friction,(function(){var t=e._friction.s(),n=t.x,r=t.y;e._setTransform(n,r,e._scale,"friction")}),(function(){e._FA.cancel()}))}},_onTrack:function(e){switch(e.detail.state){case"start":this.__handleTouchStart();break;case"move":this.__handleTouchMove(e);break;case"end":this.__handleTouchEnd()}},_getLimitXY:function(e,t){var n=!1;return e>this.maxX?(e=this.maxX,n=!0):ethis.maxY?(t=this.maxY,n=!0):t3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;null!==e&&"NaN"!==e.toString()&&"number"===typeof e||(e=this._translateX||0),null!==t&&"NaN"!==t.toString()&&"number"===typeof t||(t=this._translateY||0),e=Number(e.toFixed(1)),t=Number(t.toFixed(1)),n=Number(n.toFixed(1)),this._translateX===e&&this._translateY===t||i||this.$trigger("change",{},{x:y(e,this._scaleOffset.x),y:y(t,this._scaleOffset.y),source:r}),this.scale||(n=this._scale),n=this._adjustScale(n),n=+n.toFixed(3),a&&n!==this._scale&&this.$trigger("scale",{},{x:e,y:t,scale:n});var o="translateX("+e+"px) translateY("+t+"px) translateZ(0px) scale("+n+")";this.$el.style.transform=o,this.$el.style.webkitTransform=o,this._translateX=e,this._translateY=t,this._scale=n}}},_=b,x=(n("7c2b"),n("2877")),w=Object(x["a"])(_,r,i,!1,null,null,null);t["default"]=w.exports},8875:function(e,t,n){var r,i,a;(function(n,o){i=[],r=o,a="function"===typeof r?r.apply(t,i):r,void 0===a||(e.exports=a)})("undefined"!==typeof self&&self,(function(){function e(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(d){var e,t,n,r=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,a=r.exec(d.stack)||i.exec(d.stack),o=a&&a[1]||!1,s=a&&a[2]||!1,l=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");o===l&&(e=document.documentElement.outerHTML,t=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*