chunk-vendors-5add3539.b0e8bd83.js 29 KB

12
  1. (self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[7456],{85823:function(t,i,e){var r=e(78038),n=e(41502),s=e(58023),a=e(7131),o=e(33051),h=function(t){s.call(this,t),n.call(this,t),a.call(this,t),this.id=t.id||r()};h.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,i){switch(this.draggable){case"horizontal":i=0;break;case"vertical":t=0;break}var e=this.transform;e||(e=this.transform=[1,0,0,1,0,0]),e[4]+=t,e[5]+=i,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,i){},attrKV:function(t,i){if("position"===t||"scale"===t||"origin"===t){if(i){var e=this[t];e||(e=this[t]=[]),e[0]=i[0],e[1]=i[1]}}else this[t]=i},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,i){if("string"===typeof t)this.attrKV(t,i);else if(o.isObject(t))for(var e in t)t.hasOwnProperty(e)&&this.attrKV(e,t[e]);return this.dirty(!1),this},setClipPath:function(t){var i=this.__zr;i&&t.addSelfToZr(i),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=i,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var i=this.animators;if(i)for(var e=0;e<i.length;e++)t.animation.addAnimator(i[e]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var i=this.animators;if(i)for(var e=0;e<i.length;e++)t.animation.removeAnimator(i[e]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},o.mixin(h,a),o.mixin(h,s),o.mixin(h,n);var l=h;t.exports=l},48173:function(t,i,e){var r=e(33051),n=e(45280),s=e(17780),a=e(41502),o=e(61158),h=e(49399),l="silent";function u(t,i,e){return{type:t,event:e,target:i.target,topTarget:i.topTarget,cancelBubble:!1,offsetX:e.zrX,offsetY:e.zrY,gestureEvent:e.gestureEvent,pinchX:e.pinchX,pinchY:e.pinchY,pinchScale:e.pinchScale,wheelDelta:e.zrDelta,zrByTouch:e.zrByTouch,which:e.which,stop:c}}function c(){o.stop(this.event)}function f(){}f.prototype.dispose=function(){};var _=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=function(t,i,e,r){a.call(this),this.storage=t,this.painter=i,this.painterRoot=r,e=e||new f,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,s.call(this),this.setHandlerProxy(e)};function p(t,i,e){if(t[t.rectHover?"rectContain":"contain"](i,e)){var r,n=t;while(n){if(n.clipPath&&!n.clipPath.contain(i,e))return!1;n.silent&&(r=!0),n=n.parent}return!r||l}return!1}function v(t,i,e){var r=t.painter;return i<0||i>r.getWidth()||e<0||e>r.getHeight()}d.prototype={constructor:d,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(r.each(_,(function(i){t.on&&t.on(i,this[i],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var i=t.zrX,e=t.zrY,r=v(this,i,e),n=this._hovered,s=n.target;s&&!s.__zr&&(n=this.findHover(n.x,n.y),s=n.target);var a=this._hovered=r?{x:i,y:e}:this.findHover(i,e),o=a.target,h=this.proxy;h.setCursor&&h.setCursor(o?o.cursor:"default"),s&&o!==s&&this.dispatchToElement(n,"mouseout",t),this.dispatchToElement(a,"mousemove",t),o&&o!==s&&this.dispatchToElement(a,"mouseover",t)},mouseout:function(t){var i=t.zrEventControl,e=t.zrIsToLocalDOM;"only_globalout"!==i&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==i&&!e&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,i){var e=this[t];e&&e.call(this,i)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var i=this.proxy;i.setCursor&&i.setCursor(t)},dispatchToElement:function(t,i,e){t=t||{};var r=t.target;if(!r||!r.silent){var n="on"+i,s=u(i,t,e);while(r)if(r[n]&&(s.cancelBubble=r[n].call(r,s)),r.trigger(i,s),r=r.parent,s.cancelBubble)break;s.cancelBubble||(this.trigger(i,s),this.painter&&this.painter.eachOtherLayer((function(t){"function"===typeof t[n]&&t[n].call(t,s),t.trigger&&t.trigger(i,s)})))}},findHover:function(t,i,e){for(var r=this.storage.getDisplayList(),n={x:t,y:i},s=r.length-1;s>=0;s--){var a;if(r[s]!==e&&!r[s].ignore&&(a=p(r[s],t,i))&&(!n.topTarget&&(n.topTarget=r[s]),a!==l)){n.target=r[s];break}}return n},processGesture:function(t,i){this._gestureMgr||(this._gestureMgr=new h);var e=this._gestureMgr;"start"===i&&e.clear();var r=e.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===i&&e.clear(),r){var n=r.type;t.gestureEvent=n,this.dispatchToElement({target:r.target},n,r.event)}}},r.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){d.prototype[t]=function(i){var e,r,s=i.zrX,a=i.zrY,o=v(this,s,a);if("mouseup"===t&&o||(e=this.findHover(s,a),r=e.target),"mousedown"===t)this._downEl=r,this._downPoint=[i.zrX,i.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||n.dist(this._downPoint,[i.zrX,i.zrY])>4)return;this._downPoint=null}this.dispatchToElement(e,t,i)}})),r.mixin(d,a),r.mixin(d,s);var g=d;t.exports=g},39559:function(t,i,e){var r=e(33051),n=e(4990),s=n.devicePixelRatio,a=e(40342),o=e(31870);function h(){return!1}function l(t,i,e){var n=r.createCanvas(),s=i.getWidth(),a=i.getHeight(),o=n.style;return o&&(o.position="absolute",o.left=0,o.top=0,o.width=s+"px",o.height=a+"px",n.setAttribute("data-zr-dom-id",t)),n.width=s*e,n.height=a*e,n}var u=function(t,i,e){var n;e=e||s,"string"===typeof t?n=l(t,i,e):r.isObject(t)&&(n=t,t=n.id),this.id=t,this.dom=n;var a=n.style;a&&(n.onselectstart=h,a["-webkit-user-select"]="none",a["user-select"]="none",a["-webkit-touch-callout"]="none",a["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",a["padding"]=0,a["margin"]=0,a["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=i,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=e};u.prototype={constructor:u,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=l("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,i){var e=this.dpr,r=this.dom,n=r.style,s=this.domBack;n&&(n.width=t+"px",n.height=i+"px"),r.width=t*e,r.height=i*e,s&&(s.width=t*e,s.height=i*e,1!==e&&this.ctxBack.scale(e,e))},clear:function(t,i){var e,r=this.dom,n=this.ctx,s=r.width,h=r.height,l=(i=i||this.clearColor,this.motionBlur&&!t),u=this.lastFrameAlpha,c=this.dpr;(l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,s/c,h/c)),n.clearRect(0,0,s,h),i&&"transparent"!==i)&&(i.colorStops?(e=i.__canvasGradient||a.getGradient(n,i,{x:0,y:0,width:s,height:h}),i.__canvasGradient=e):i.image&&(e=o.prototype.getCanvasPattern.call(i,n)),n.save(),n.fillStyle=e||i,n.fillRect(0,0,s,h),n.restore());if(l){var f=this.domBack;n.save(),n.globalAlpha=u,n.drawImage(f,0,0,s,h),n.restore()}}};var c=u;t.exports=c},19847:function(t,i,e){var r=e(4990),n=r.devicePixelRatio,s=e(33051),a=e(48612),o=e(60479),h=e(19455),l=e(39559),u=e(22795),c=e(44535),f=e(66387),_=1e5,d=314159,p=.01,v=.001;function g(t){return parseInt(t,10)}function m(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}var y=new o(0,0,0,0),w=new o(0,0,0,0);function x(t,i,e){return y.copy(t.getBoundingRect()),t.transform&&y.applyTransform(t.transform),w.width=i,w.height=e,!y.intersect(w)}function L(t,i){if(t===i)return!1;if(!t||!i||t.length!==i.length)return!0;for(var e=0;e<t.length;e++)if(t[e]!==i[e])return!0;return!1}function b(t,i){for(var e=0;e<t.length;e++){var r=t[e];r.setTransform(i),i.beginPath(),r.buildPath(i,r.shape),i.clip(),r.restoreTransform(i)}}function z(t,i){var e=document.createElement("div");return e.style.cssText=["position:relative","width:"+t+"px","height:"+i+"px","padding:0","margin:0","border-width:0"].join(";")+";",e}var C=function(t,i,e){this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=e=s.extend({},e||{}),this.dpr=e.devicePixelRatio||n,this._singleCanvas=r,this.root=t;var a=t.style;a&&(a["-webkit-tap-highlight-color"]="transparent",a["-webkit-user-select"]=a["user-select"]=a["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=i;var o=this._zlevelList=[],h=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,r){var u=t.width,c=t.height;null!=e.width&&(u=e.width),null!=e.height&&(c=e.height),this.dpr=e.devicePixelRatio||1,t.width=u*this.dpr,t.height=c*this.dpr,this._width=u,this._height=c;var f=new l(t,this,this.dpr);f.__builtin__=!0,f.initContext(),h[d]=f,f.zlevel=d,o.push(d),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var _=this._domRoot=z(this._width,this._height);t.appendChild(_)}this._hoverlayer=null,this._hoverElements=[]};C.prototype={constructor:C,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var i=this.storage.getDisplayList(!0),e=this._zlevelList;this._redrawId=Math.random(),this._paintList(i,t,this._redrawId);for(var r=0;r<e.length;r++){var n=e[r],s=this._layers[n];if(!s.__builtin__&&s.refresh){var a=0===r?this._backgroundColor:null;s.refresh(a)}}return this.refreshHover(),this},addHover:function(t,i){if(!t.__hoverMir){var e=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent});return e.__from=t,t.__hoverMir=e,i&&e.setStyle(i),this._hoverElements.push(e),e}},removeHover:function(t){var i=t.__hoverMir,e=this._hoverElements,r=s.indexOf(e,i);r>=0&&e.splice(r,1),t.__hoverMir=null},clearHover:function(t){for(var i=this._hoverElements,e=0;e<i.length;e++){var r=i[e].__from;r&&(r.__hoverMir=null)}i.length=0},refreshHover:function(){var t=this._hoverElements,i=t.length,e=this._hoverlayer;if(e&&e.clear(),i){h(t,this.storage.displayableSortFunc),e||(e=this._hoverlayer=this.getLayer(_));var r={};e.ctx.save();for(var n=0;n<i;){var s=t[n],a=s.__from;a&&a.__zr?(n++,a.invisible||(s.transform=a.transform,s.invTransform=a.invTransform,s.__clipPaths=a.__clipPaths,this._doPaintEl(s,e,!0,r))):(t.splice(n,1),a.__hoverMir=null,i--)}e.ctx.restore()}},getHoverLayer:function(){return this.getLayer(_)},_paintList:function(t,i,e){if(this._redrawId===e){i=i||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,i);if(this._needsManuallyCompositing&&this._compositeManually(),!r){var n=this;u((function(){n._paintList(t,i,e)}))}}},_compositeManually:function(){var t=this.getLayer(d).ctx,i=this._domRoot.width,e=this._domRoot.height;t.clearRect(0,0,i,e),this.eachBuiltinLayer((function(r){r.virtual&&t.drawImage(r.dom,0,0,i,e)}))},_doPaintList:function(t,i){for(var e=[],r=0;r<this._zlevelList.length;r++){var n=this._zlevelList[r],a=this._layers[n];a.__builtin__&&a!==this._hoverlayer&&(a.__dirty||i)&&e.push(a)}for(var o=!0,h=0;h<e.length;h++){a=e[h];var l=a.ctx,u={};l.save();var c=i?a.__startIndex:a.__drawIndex,_=!i&&a.incremental&&Date.now,d=_&&Date.now(),p=a.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(a.__startIndex===a.__endIndex)a.clear(!1,p);else if(c===a.__startIndex){var v=t[c];v.incremental&&v.notClear&&!i||a.clear(!1,p)}-1===c&&(console.error("For some unknown reason. drawIndex is -1"),c=a.__startIndex);for(var g=c;g<a.__endIndex;g++){var m=t[g];if(this._doPaintEl(m,a,i,u),m.__dirty=m.__dirtyText=!1,_){var y=Date.now()-d;if(y>15)break}}a.__drawIndex=g,a.__drawIndex<a.__endIndex&&(o=!1),u.prevElClipPaths&&l.restore(),l.restore()}return f.wxa&&s.each(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),o},_doPaintEl:function(t,i,e,r){var n=i.ctx,s=t.transform;if((i.__dirty||e)&&!t.invisible&&0!==t.style.opacity&&(!s||s[0]||s[3])&&(!t.culling||!x(t,this._width,this._height))){var a=t.__clipPaths,o=r.prevElClipPaths;o&&!L(a,o)||(o&&(n.restore(),r.prevElClipPaths=null,r.prevEl=null),a&&(n.save(),b(a,n),r.prevElClipPaths=a)),t.beforeBrush&&t.beforeBrush(n),t.brush(n,r.prevEl||null),r.prevEl=t,t.afterBrush&&t.afterBrush(n)}},getLayer:function(t,i){this._singleCanvas&&!this._needsManuallyCompositing&&(t=d);var e=this._layers[t];return e||(e=new l("zr_"+t,this,this.dpr),e.zlevel=t,e.__builtin__=!0,this._layerConfig[t]?s.merge(e,this._layerConfig[t],!0):this._layerConfig[t-p]&&s.merge(e,this._layerConfig[t-p],!0),i&&(e.virtual=i),this.insertLayer(t,e),e.initContext()),e},insertLayer:function(t,i){var e=this._layers,r=this._zlevelList,n=r.length,s=null,o=-1,h=this._domRoot;if(e[t])a("ZLevel "+t+" has been used already");else if(m(i)){if(n>0&&t>r[0]){for(o=0;o<n-1;o++)if(r[o]<t&&r[o+1]>t)break;s=e[r[o]]}if(r.splice(o+1,0,t),e[t]=i,!i.virtual)if(s){var l=s.dom;l.nextSibling?h.insertBefore(i.dom,l.nextSibling):h.appendChild(i.dom)}else h.firstChild?h.insertBefore(i.dom,h.firstChild):h.appendChild(i.dom)}else a("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,i){var e,r,n=this._zlevelList;for(r=0;r<n.length;r++)e=n[r],t.call(i,this._layers[e],e)},eachBuiltinLayer:function(t,i){var e,r,n,s=this._zlevelList;for(n=0;n<s.length;n++)r=s[n],e=this._layers[r],e.__builtin__&&t.call(i,e,r)},eachOtherLayer:function(t,i){var e,r,n,s=this._zlevelList;for(n=0;n<s.length;n++)r=s[n],e=this._layers[r],e.__builtin__||t.call(i,e,r)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function i(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer((function(t,i){t.__dirty=t.__used=!1})),this._singleCanvas)for(var e=1;e<t.length;e++){var r=t[e];if(r.zlevel!==t[e-1].zlevel||r.incremental){this._needsManuallyCompositing=!0;break}}var n,s=null,o=0;for(e=0;e<t.length;e++){r=t[e];var h,l=r.zlevel;n!==l&&(n=l,o=0),r.incremental?(h=this.getLayer(l+v,this._needsManuallyCompositing),h.incremental=!0,o=1):h=this.getLayer(l+(o>0?p:0),this._needsManuallyCompositing),h.__builtin__||a("ZLevel "+l+" has been used by unkown layer "+h.id),h!==s&&(h.__used=!0,h.__startIndex!==e&&(h.__dirty=!0),h.__startIndex=e,h.incremental?h.__drawIndex=-1:h.__drawIndex=e,i(e),s=h),r.__dirty&&(h.__dirty=!0,h.incremental&&h.__drawIndex<0&&(h.__drawIndex=e))}i(e),this.eachBuiltinLayer((function(t,i){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,i){if(i){var e=this._layerConfig;e[t]?s.merge(e[t],i,!0):e[t]=i;for(var r=0;r<this._zlevelList.length;r++){var n=this._zlevelList[r];if(n===t||n===t+p){var a=this._layers[n];s.merge(a,e[t],!0)}}}},delLayer:function(t){var i=this._layers,e=this._zlevelList,r=i[t];r&&(r.dom.parentNode.removeChild(r.dom),delete i[t],e.splice(s.indexOf(e,t),1))},resize:function(t,i){if(this._domRoot.style){var e=this._domRoot;e.style.display="none";var r=this._opts;if(null!=t&&(r.width=t),null!=i&&(r.height=i),t=this._getSize(0),i=this._getSize(1),e.style.display="",this._width!==t||i!==this._height){for(var n in e.style.width=t+"px",e.style.height=i+"px",this._layers)this._layers.hasOwnProperty(n)&&this._layers[n].resize(t,i);s.each(this._progressiveLayers,(function(e){e.resize(t,i)})),this.refresh(!0)}this._width=t,this._height=i}else{if(null==t||null==i)return;this._width=t,this._height=i,this.getLayer(d).resize(t,i)}return this},clearLayer:function(t){var i=this._layers[t];i&&i.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[d].dom;var i=new l("image",this,t.pixelRatio||this.dpr);if(i.initContext(),i.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var e=i.dom.width,r=i.dom.height,n=i.ctx;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,e,r):t.renderToCanvas&&(i.ctx.save(),t.renderToCanvas(i.ctx),i.ctx.restore())}))}else for(var s={},a=this.storage.getDisplayList(!0),o=0;o<a.length;o++){var h=a[o];this._doPaintEl(h,i,!0,s)}return i.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var i=this._opts,e=["width","height"][t],r=["clientWidth","clientHeight"][t],n=["paddingLeft","paddingTop"][t],s=["paddingRight","paddingBottom"][t];if(null!=i[e]&&"auto"!==i[e])return parseFloat(i[e]);var a=this.root,o=document.defaultView.getComputedStyle(a);return(a[r]||g(o[e])||g(a.style[e]))-(g(o[n])||0)-(g(o[s])||0)|0},pathToImage:function(t,i){i=i||this.dpr;var e=document.createElement("canvas"),r=e.getContext("2d"),n=t.getBoundingRect(),s=t.style,a=s.shadowBlur*i,o=s.shadowOffsetX*i,h=s.shadowOffsetY*i,l=s.hasStroke()?s.lineWidth:0,u=Math.max(l/2,-o+a),f=Math.max(l/2,o+a),_=Math.max(l/2,-h+a),d=Math.max(l/2,h+a),p=n.width+u+f,v=n.height+_+d;e.width=p*i,e.height=v*i,r.scale(i,i),r.clearRect(0,0,p,v),r.dpr=i;var g={position:t.position,rotation:t.rotation,scale:t.scale};t.position=[u-n.x,_-n.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(r);var m=c,y=new m({style:{x:0,y:0,image:e}});return null!=g.position&&(y.position=t.position=g.position),null!=g.rotation&&(y.rotation=t.rotation=g.rotation),null!=g.scale&&(y.scale=t.scale=g.scale),y}};var I=C;t.exports=I},8822:function(t,i,e){var r=e(33051),n=e(66387),s=e(8524),a=e(19455);function o(t,i){return t.zlevel===i.zlevel?t.z===i.z?t.z2-i.z2:t.z-i.z:t.zlevel-i.zlevel}var h=function(){this._roots=[],this._displayList=[],this._displayListLen=0};h.prototype={constructor:h,traverse:function(t,i){for(var e=0;e<this._roots.length;e++)this._roots[e].traverse(t,i)},getDisplayList:function(t,i){return i=i||!1,t&&this.updateDisplayList(i),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var i=this._roots,e=this._displayList,r=0,s=i.length;r<s;r++)this._updateAndAddDisplayable(i[r],null,t);e.length=this._displayListLen,n.canvasSupported&&a(e,o)},_updateAndAddDisplayable:function(t,i,e){if(!t.ignore||e){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var r=t.clipPath;if(r){i=i?i.slice():[];var n=r,s=t;while(n)n.parent=s,n.updateTransform(),i.push(n),s=n,n=n.clipPath}if(t.isGroup){for(var a=t._children,o=0;o<a.length;o++){var h=a[o];t.__dirty&&(h.__dirty=!0),this._updateAndAddDisplayable(h,i,e)}t.__dirty=!1}else t.__clipPaths=i,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof s&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var i=0;i<this._roots.length;i++){var e=this._roots[i];e instanceof s&&e.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array){i=0;for(var n=t.length;i<n;i++)this.delRoot(t[i])}else{var a=r.indexOf(this._roots,t);a>=0&&(this.delFromStorage(t),this._roots.splice(a,1),t instanceof s&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:o};var l=h;t.exports=l},76069:function(t,i,e){var r=e(33051),n=e(61158),s=n.Dispatcher,a=e(22795),o=e(64383),h=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,s.call(this)};h.prototype={constructor:h,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var i=t.getClips(),e=0;e<i.length;e++)this.addClip(i[e])},removeClip:function(t){var i=r.indexOf(this._clips,t);i>=0&&this._clips.splice(i,1)},removeAnimator:function(t){for(var i=t.getClips(),e=0;e<i.length;e++)this.removeClip(i[e]);t.animation=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,i=t-this._time,e=this._clips,r=e.length,n=[],s=[],a=0;a<r;a++){var o=e[a],h=o.step(t,i);h&&(n.push(h),s.push(o))}for(a=0;a<r;)e[a]._needsRemove?(e[a]=e[r-1],e.pop(),r--):a++;r=n.length;for(a=0;a<r;a++)s[a].fire(n[a]);this._time=t,this.onframe(i),this.trigger("frame",i),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;function i(){t._running&&(a(i),!t._paused&&t._update())}this._running=!0,a(i)},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,i){i=i||{};var e=new o(t,i.loop,i.getter,i.setter);return this.addAnimator(e),e}},r.mixin(h,s);var l=h;t.exports=l},64383:function(t,i,e){var r=e(8470),n=e(21092),s=e(33051),a=s.isArrayLike,o=Array.prototype.slice;function h(t,i){return t[i]}function l(t,i,e){t[i]=e}function u(t,i,e){return(i-t)*e+t}function c(t,i,e){return e>.5?i:t}function f(t,i,e,r,n){var s=t.length;if(1===n)for(var a=0;a<s;a++)r[a]=u(t[a],i[a],e);else{var o=s&&t[0].length;for(a=0;a<s;a++)for(var h=0;h<o;h++)r[a][h]=u(t[a][h],i[a][h],e)}}function _(t,i,e){var r=t.length,n=i.length;if(r!==n){var s=r>n;if(s)t.length=n;else for(var a=r;a<n;a++)t.push(1===e?i[a]:o.call(i[a]))}var h=t[0]&&t[0].length;for(a=0;a<t.length;a++)if(1===e)isNaN(t[a])&&(t[a]=i[a]);else for(var l=0;l<h;l++)isNaN(t[a][l])&&(t[a][l]=i[a][l])}function d(t,i,e){if(t===i)return!0;var r=t.length;if(r!==i.length)return!1;if(1===e){for(var n=0;n<r;n++)if(t[n]!==i[n])return!1}else{var s=t[0].length;for(n=0;n<r;n++)for(var a=0;a<s;a++)if(t[n][a]!==i[n][a])return!1}return!0}function p(t,i,e,r,n,s,a,o,h){var l=t.length;if(1===h)for(var u=0;u<l;u++)o[u]=v(t[u],i[u],e[u],r[u],n,s,a);else{var c=t[0].length;for(u=0;u<l;u++)for(var f=0;f<c;f++)o[u][f]=v(t[u][f],i[u][f],e[u][f],r[u][f],n,s,a)}}function v(t,i,e,r,n,s,a){var o=.5*(e-t),h=.5*(r-i);return(2*(i-e)+o+h)*a+(-3*(i-e)-2*o-h)*s+o*n+i}function g(t){if(a(t)){var i=t.length;if(a(t[0])){for(var e=[],r=0;r<i;r++)e.push(o.call(t[r]));return e}return o.call(t)}return t}function m(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function y(t){var i=t[t.length-1].value;return a(i&&i[0])?2:1}function w(t,i,e,s,o,h){var l=t._getter,g=t._setter,w="spline"===i,x=s.length;if(x){var L,b=s[0].value,z=a(b),C=!1,I=!1,M=z?y(s):0;s.sort((function(t,i){return t.time-i.time})),L=s[x-1].time;for(var k=[],T=[],P=s[0].value,B=!0,O=0;O<x;O++){k.push(s[O].time/L);var S=s[O].value;if(z&&d(S,P,M)||!z&&S===P||(B=!1),P=S,"string"===typeof S){var R=n.parse(S);R?(S=R,C=!0):I=!0}T.push(S)}if(h||!B){var E=T[x-1];for(O=0;O<x-1;O++)z?_(T[O],E,M):!isNaN(T[O])||isNaN(E)||I||C||(T[O]=E);z&&_(l(t._target,o),E,M);var A,D,F,H,q,N,X=0,Y=0;if(C)var V=[0,0,0,0];var Z=function(t,i){var e;if(i<0)e=0;else if(i<Y){for(A=Math.min(X+1,x-1),e=A;e>=0;e--)if(k[e]<=i)break;e=Math.min(e,x-2)}else{for(e=X;e<x;e++)if(k[e]>i)break;e=Math.min(e-1,x-2)}X=e,Y=i;var r=k[e+1]-k[e];if(0!==r)if(D=(i-k[e])/r,w)if(H=T[e],F=T[0===e?e:e-1],q=T[e>x-2?x-1:e+1],N=T[e>x-3?x-1:e+2],z)p(F,H,q,N,D,D*D,D*D*D,l(t,o),M);else{if(C)n=p(F,H,q,N,D,D*D,D*D*D,V,1),n=m(V);else{if(I)return c(H,q,D);n=v(F,H,q,N,D,D*D,D*D*D)}g(t,o,n)}else if(z)f(T[e],T[e+1],D,l(t,o),M);else{var n;if(C)f(T[e],T[e+1],D,V,1),n=m(V);else{if(I)return c(T[e],T[e+1],D);n=u(T[e],T[e+1],D)}g(t,o,n)}},G=new r({target:t._target,life:L,loop:t._loop,delay:t._delay,onframe:Z,ondestroy:e});return i&&"spline"!==i&&(G.easing=i),G}}}var x=function(t,i,e,r){this._tracks={},this._target=t,this._loop=i||!1,this._getter=e||h,this._setter=r||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};x.prototype={when:function(t,i){var e=this._tracks;for(var r in i)if(i.hasOwnProperty(r)){if(!e[r]){e[r]=[];var n=this._getter(this._target,r);if(null==n)continue;0!==t&&e[r].push({time:0,value:g(n)})}e[r].push({time:t,value:i[r]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,i=t.length,e=0;e<i;e++)t[e].call(this)},start:function(t,i){var e,r=this,n=0,s=function(){n--,n||r._doneCallback()};for(var a in this._tracks)if(this._tracks.hasOwnProperty(a)){var o=w(this,t,s,this._tracks[a],a,i);o&&(this._clipList.push(o),n++,this.animation&&this.animation.addClip(o),e=o)}if(e){var h=e.onframe;e.onframe=function(t,i){h(t,i);for(var e=0;e<r._onframeList.length;e++)r._onframeList[e](t,i)}}return n||this._doneCallback(),this},stop:function(t){for(var i=this._clipList,e=this.animation,r=0;r<i.length;r++){var n=i[r];t&&n.onframe(this._target,1),e&&e.removeClip(n)}i.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}};var L=x;t.exports=L},8470:function(t,i,e){var r=e(30690);function n(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}n.prototype={constructor:n,step:function(t,i){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=i;else{var e=(t-this._startTime-this._pausedTime)/this._life;if(!(e<0)){e=Math.min(e,1);var n=this.easing,s="string"===typeof n?r[n]:n,a="function"===typeof s?s(e):e;return this.fire("frame",a),1===e?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var i=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-i+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,i){t="on"+t,this[t]&&this[t](this._target,i)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var s=n;t.exports=s},30690:function(t){var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var i,e=.1,r=.4;return 0===t?0:1===t?1:(!e||e<1?(e=1,i=r/4):i=r*Math.asin(1/e)/(2*Math.PI),-e*Math.pow(2,10*(t-=1))*Math.sin((t-i)*(2*Math.PI)/r))},elasticOut:function(t){var i,e=.1,r=.4;return 0===t?0:1===t?1:(!e||e<1?(e=1,i=r/4):i=r*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*t)*Math.sin((t-i)*(2*Math.PI)/r)+1)},elasticInOut:function(t){var i,e=.1,r=.4;return 0===t?0:1===t?1:(!e||e<1?(e=1,i=r/4):i=r*Math.asin(1/e)/(2*Math.PI),(t*=2)<1?e*Math.pow(2,10*(t-=1))*Math.sin((t-i)*(2*Math.PI)/r)*-.5:e*Math.pow(2,-10*(t-=1))*Math.sin((t-i)*(2*Math.PI)/r)*.5+1)},backIn:function(t){var i=1.70158;return t*t*((i+1)*t-i)},backOut:function(t){var i=1.70158;return--t*t*((i+1)*t+i)+1},backInOut:function(t){var i=2.5949095;return(t*=2)<1?t*t*((i+1)*t-i)*.5:.5*((t-=2)*t*((i+1)*t+i)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},e=i;t.exports=e},22795:function(t){var i="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=i}}]);
  2. //# sourceMappingURL=chunk-vendors-5add3539.b0e8bd83.js.map