chunk-1f95336e.661d5ada.js 56 KB

123456
  1. /*!
  2. * build: Hopaheal
  3. * copyright: Mead
  4. * time: 2022-9-23 10:41:22
  5. */
  6. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1f95336e"],{"1be6":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var r=i("ba54");function n(t,e){return t&&"solid"!==t&&e>0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Object(r["z"])(t)?[t]:Object(r["t"])(t)?t:null:null}function a(t){var e=t.style,i=e.lineDash&&e.lineWidth>0&&n(e.lineDash,e.lineWidth),a=e.lineDashOffset;if(i){var o=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;o&&1!==o&&(i=Object(r["H"])(i,(function(t){return t/o})),a/=o)}return[i,a]}},6199:function(t,e,i){"use strict";var r=i("08c2"),n=i("ba54"),a=i("d9bc"),o=i("2eae"),s=i("3aae"),h=i("13be"),l=i("f779"),u="silent";function c(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:p}}function p(){h["g"](this.event)}var f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return Object(r["a"])(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(s["a"]),d=function(){function t(t,e){this.x=t,this.y=e}return t}(),_=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],v=function(t){function e(e,i,r,n){var a=t.call(this)||this;return a._hovered=new d(0,0),a.storage=e,a.painter=i,a.painterRoot=n,r=r||new f,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new o["a"](a),a}return Object(r["a"])(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(n["k"](_,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,i=t.zrY,r=y(this,e,i),n=this._hovered,a=n.target;a&&!a.__zr&&(n=this.findHover(n.x,n.y),a=n.target);var o=this._hovered=r?new d(e,i):this.findHover(e,i),s=o.target,h=this.proxy;h.setCursor&&h.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(n,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==a&&this.dispatchToElement(o,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new d(0,0)},e.prototype.dispatch=function(t,e){var i=this[t];i&&i.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,i){t=t||{};var r=t.target;if(!r||!r.silent){var n="on"+e,a=c(e,t,i);while(r)if(r[n]&&(a.cancelBubble=!!r[n].call(r,a)),r.trigger(e,a),r=r.__hostTarget?r.__hostTarget:r.parent,a.cancelBubble)break;a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[n]&&t[n].call(t,a),t.trigger&&t.trigger(e,a)})))}},e.prototype.findHover=function(t,e,i){for(var r=this.storage.getDisplayList(),n=new d(t,e),a=r.length-1;a>=0;a--){var o=void 0;if(r[a]!==i&&!r[a].ignore&&(o=g(r[a],t,e))&&(!n.topTarget&&(n.topTarget=r[a]),o!==u)){n.target=r[a];break}}return n},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new l["a"]);var i=this._gestureMgr;"start"===e&&i.clear();var r=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),r){var n=r.type;t.gestureEvent=n;var a=new d;a.target=r.target,this.dispatchToElement(a,n,r.event)}},e}(s["a"]);function g(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){var r=t,n=void 0,a=!1;while(r){if(r.ignoreClip&&(a=!0),!a){var o=r.getClipPath();if(o&&!o.contain(e,i))return!1;r.silent&&(n=!0)}var s=r.__hostTarget;r=s||r.parent}return!n||u}return!1}function y(t,e,i){var r=t.painter;return e<0||e>r.getWidth()||i<0||i>r.getHeight()}n["k"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){v.prototype[t]=function(e){var i,r,n=e.zrX,o=e.zrY,s=y(this,n,o);if("mouseup"===t&&s||(i=this.findHover(n,o),r=i.target),"mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a["f"](this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}})),e["a"]=v},"7ca8":function(t,e,i){"use strict";function r(t){return isFinite(t)}function n(t,e,i){var n=null==e.x?0:e.x,a=null==e.x2?1:e.x2,o=null==e.y?0:e.y,s=null==e.y2?0:e.y2;e.global||(n=n*i.width+i.x,a=a*i.width+i.x,o=o*i.height+i.y,s=s*i.height+i.y),n=r(n)?n:0,a=r(a)?a:1,o=r(o)?o:0,s=r(s)?s:0;var h=t.createLinearGradient(n,o,a,s);return h}function a(t,e,i){var n=i.width,a=i.height,o=Math.min(n,a),s=null==e.x?.5:e.x,h=null==e.y?.5:e.y,l=null==e.r?.5:e.r;e.global||(s=s*n+i.x,h=h*a+i.y,l*=o),s=r(s)?s:.5,h=r(h)?h:.5,l=l>=0&&r(l)?l:.5;var u=t.createRadialGradient(s,h,0,s,h,l);return u}function o(t,e,i){for(var r="radial"===e.type?a(t,e,i):n(t,e,i),o=e.colorStops,s=0;s<o.length;s++)r.addColorStop(o[s].offset,o[s].color);return r}function s(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i<t.length;i++)if(t[i]!==e[i])return!0;return!1}function h(t){return parseInt(t,10)}function l(t,e,i){var r=["width","height"][e],n=["clientWidth","clientHeight"][e],a=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(null!=i[r]&&"auto"!==i[r])return parseFloat(i[r]);var s=document.defaultView.getComputedStyle(t);return(t[n]||h(s[r])||h(t.style[r]))-(h(s[a])||0)-(h(s[o])||0)|0}i.d(e,"a",(function(){return o})),i.d(e,"c",(function(){return s})),i.d(e,"b",(function(){return l}))},"7f9f":function(t,e,i){"use strict";var r=i("f182"),n=i("ba54"),a=i("08c2"),o=i("3aae"),s=i("7ca8"),h=i("e016"),l=i("6677"),u=i("71a8"),c=i("cf22");function p(t,e,i){var r=c["d"].createCanvas(),n=e.getWidth(),a=e.getHeight(),o=r.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=n+"px",o.height=a+"px",r.setAttribute("data-zr-dom-id",t)),r.width=n*i,r.height=a*i,r}var f=function(t){function e(e,i,a){var o,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,a=a||r["e"],"string"===typeof e?o=p(e,i,a):n["A"](e)&&(o=e,e=o.id),s.id=e,s.dom=o;var h=o.style;return h&&(n["j"](o),o.onselectstart=function(){return!1},h.padding="0",h.margin="0",h.borderWidth="0"),s.painter=i,s.dpr=a,s}return Object(a["a"])(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=p("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,i,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var n,a=[],o=this.maxRepaintRectCount,s=!1,h=new l["a"](0,0,0,0);function c(t){if(t.isFinite()&&!t.isZero())if(0===a.length){var e=new l["a"](0,0,0,0);e.copy(t),a.push(e)}else{for(var i=!1,r=1/0,n=0,u=0;u<a.length;++u){var c=a[u];if(c.intersect(t)){var p=new l["a"](0,0,0,0);p.copy(c),p.union(t),a[u]=p,i=!0;break}if(s){h.copy(t),h.union(c);var f=t.width*t.height,d=c.width*c.height,_=h.width*h.height,v=_-f-d;v<r&&(r=v,n=u)}}if(s&&(a[n].union(t),i=!0),!i){e=new l["a"](0,0,0,0);e.copy(t),a.push(e)}s||(s=a.length>=o)}}for(var p=this.__startIndex;p<this.__endIndex;++p){var f=t[p];if(f){var d=f.shouldBePainted(i,r,!0,!0),_=f.__isRendered&&(f.__dirty&u["a"]||!d)?f.getPrevPaintRect():null;_&&c(_);var v=d&&(f.__dirty&u["a"]||!f.__isRendered)?f.getPaintRect():null;v&&c(v)}}for(p=this.__prevStartIndex;p<this.__prevEndIndex;++p){f=e[p],d=f.shouldBePainted(i,r,!0,!0);if(f&&(!d||!f.__zr)&&f.__isRendered){_=f.getPrevPaintRect();_&&c(_)}}do{n=!1;for(p=0;p<a.length;)if(a[p].isZero())a.splice(p,1);else{for(var g=p+1;g<a.length;)a[p].intersect(a[g])?(n=!0,a[p].union(a[g]),a.splice(g,1)):g++;p++}}while(n);return this._paintRects=a,a},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var i=this.dpr,r=this.dom,n=r.style,a=this.domBack;n&&(n.width=t+"px",n.height=e+"px"),r.width=t*i,r.height=e*i,a&&(a.width=t*i,a.height=e*i,1!==i&&this.ctxBack.scale(i,i))},e.prototype.clear=function(t,e,i){var r=this.dom,a=this.ctx,o=r.width,l=r.height;e=e||this.clearColor;var u=this.motionBlur&&!t,c=this.lastFrameAlpha,p=this.dpr,f=this;u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,o/p,l/p));var d=this.domBack;function _(t,i,r,o){if(a.clearRect(t,i,r,o),e&&"transparent"!==e){var l=void 0;n["x"](e)?(l=e.__canvasGradient||Object(s["a"])(a,e,{x:0,y:0,width:r,height:o}),e.__canvasGradient=l):n["y"](e)&&(l=Object(h["c"])(a,e,{dirty:function(){f.setUnpainted(),f.__painter.refresh()}})),a.save(),a.fillStyle=l||e,a.fillRect(t,i,r,o),a.restore()}u&&(a.save(),a.globalAlpha=c,a.drawImage(d,t,i,r,o),a.restore())}!i||u?_(0,0,o,l):i.length&&n["k"](i,(function(t){_(t.x*p,t.y*p,t.width*p,t.height*p)}))},e}(o["a"]),d=f,_=i("cd0d"),v=i("f505"),g=1e5,y=314159,m=.01,b=.001;function x(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}function w(t,e){var i=document.createElement("div");return i.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}var C=function(){function t(t,e,i,a){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var o=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=n["m"]({},i||{}),this.dpr=i.devicePixelRatio||r["e"],this._singleCanvas=o,this.root=t;var h=t.style;h&&(n["j"](t),t.innerHTML=""),this.storage=e;var l=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(o){var c=t,p=c.width,f=c.height;null!=i.width&&(p=i.width),null!=i.height&&(f=i.height),this.dpr=i.devicePixelRatio||1,c.width=p*this.dpr,c.height=f*this.dpr,this._width=p,this._height=f;var _=new d(c,this,this.dpr);_.__builtin__=!0,_.initContext(),u[y]=_,_.zlevel=y,l.push(y),this._domRoot=t}else{this._width=Object(s["b"])(t,0,i),this._height=Object(s["b"])(t,1,i);var v=this._domRoot=w(this._width,this._height);t.appendChild(v)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),i=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,i,t,this._redrawId);for(var n=0;n<r.length;n++){var a=r[n],o=this._layers[a];if(!o.__builtin__&&o.refresh){var s=0===n?this._backgroundColor:null;o.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,i=this._hoverlayer;if(i&&i.clear(),e){for(var r,n={inHover:!0,viewWidth:this._width,viewHeight:this._height},a=0;a<e;a++){var o=t[a];o.__inHover&&(i||(i=this._hoverlayer=this.getLayer(g)),r||(r=i.ctx,r.save()),Object(h["a"])(r,o,n,a===e-1))}r&&r.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(g)},t.prototype.paintOne=function(t,e){Object(h["b"])(t,e)},t.prototype._paintList=function(t,e,i,r){if(this._redrawId===r){i=i||!1,this._updateLayerStatus(t);var n=this._doPaintList(t,e,i),a=n.finished,o=n.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(t),a)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;Object(_["a"])((function(){s._paintList(t,e,i,r)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(y).ctx,e=this._domRoot.width,i=this._domRoot.height;t.clearRect(0,0,e,i),this.eachBuiltinLayer((function(r){r.virtual&&t.drawImage(r.dom,0,0,e,i)}))},t.prototype._doPaintList=function(t,e,i){for(var r=this,a=[],o=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var h=this._zlevelList[s],l=this._layers[h];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||i)&&a.push(l)}for(var u=!0,c=!1,p=function(n){var s,h=a[n],l=h.ctx,p=o&&h.createRepaintRects(t,e,f._width,f._height),d=i?h.__startIndex:h.__drawIndex,_=!i&&h.incremental&&Date.now,v=_&&Date.now(),g=h.zlevel===f._zlevelList[0]?f._backgroundColor:null;if(h.__startIndex===h.__endIndex)h.clear(!1,g,p);else if(d===h.__startIndex){var y=t[d];y.incremental&&y.notClear&&!i||h.clear(!1,g,p)}-1===d&&(console.error("For some unknown reason. drawIndex is -1"),d=h.__startIndex);var m=function(e){var i={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(s=d;s<h.__endIndex;s++){var n=t[s];if(n.__inHover&&(c=!0),r._doPaintEl(n,h,o,e,i,s===h.__endIndex-1),_){var a=Date.now()-v;if(a>15)break}}i.prevElClipPaths&&l.restore()};if(p)if(0===p.length)s=h.__endIndex;else for(var b=f.dpr,x=0;x<p.length;++x){var w=p[x];l.save(),l.beginPath(),l.rect(w.x*b,w.y*b,w.width*b,w.height*b),l.clip(),m(w),l.restore()}else l.save(),m(),l.restore();h.__drawIndex=s,h.__drawIndex<h.__endIndex&&(u=!1)},f=this,d=0;d<a.length;d++)p(d);return v["a"].wxa&&n["k"](this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:u,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,i,r,n,a){var o=e.ctx;if(i){var s=t.getPaintRect();(!r||s&&s.intersect(r))&&(Object(h["a"])(o,t,n,a),t.setPrevPaintRect(s))}else Object(h["a"])(o,t,n,a)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=y);var i=this._layers[t];return i||(i=new d("zr_"+t,this,this.dpr),i.zlevel=t,i.__builtin__=!0,this._layerConfig[t]?n["I"](i,this._layerConfig[t],!0):this._layerConfig[t-m]&&n["I"](i,this._layerConfig[t-m],!0),e&&(i.virtual=e),this.insertLayer(t,i),i.initContext()),i},t.prototype.insertLayer=function(t,e){var i=this._layers,r=this._zlevelList,n=r.length,a=this._domRoot,o=null,s=-1;if(!i[t]&&x(e)){if(n>0&&t>r[0]){for(s=0;s<n-1;s++)if(r[s]<t&&r[s+1]>t)break;o=i[r[s]]}if(r.splice(s+1,0,t),i[t]=e,!e.virtual)if(o){var h=o.dom;h.nextSibling?a.insertBefore(e.dom,h.nextSibling):a.appendChild(e.dom)}else a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var i=this._zlevelList,r=0;r<i.length;r++){var n=i[r];t.call(e,this._layers[n],n)}},t.prototype.eachBuiltinLayer=function(t,e){for(var i=this._zlevelList,r=0;r<i.length;r++){var n=i[r],a=this._layers[n];a.__builtin__&&t.call(e,a,n)}},t.prototype.eachOtherLayer=function(t,e){for(var i=this._zlevelList,r=0;r<i.length;r++){var n=i[r],a=this._layers[n];a.__builtin__||t.call(e,a,n)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var i=1;i<t.length;i++){var r=t[i];if(r.zlevel!==t[i-1].zlevel||r.incremental){this._needsManuallyCompositing=!0;break}}var a,o,s=null,h=0;for(o=0;o<t.length;o++){r=t[o];var l=r.zlevel,c=void 0;a!==l&&(a=l,h=0),r.incremental?(c=this.getLayer(l+b,this._needsManuallyCompositing),c.incremental=!0,h=1):c=this.getLayer(l+(h>0?m:0),this._needsManuallyCompositing),c.__builtin__||n["G"]("ZLevel "+l+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==o&&(c.__dirty=!0),c.__startIndex=o,c.incremental?c.__drawIndex=-1:c.__drawIndex=o,e(o),s=c),r.__dirty&u["a"]&&!r.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=o))}e(o),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,n["k"](this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var i=this._layerConfig;i[t]?n["I"](i[t],e,!0):i[t]=e;for(var r=0;r<this._zlevelList.length;r++){var a=this._zlevelList[r];if(a===t||a===t+m){var o=this._layers[a];n["I"](o,i[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,i=this._zlevelList,r=e[t];r&&(r.dom.parentNode.removeChild(r.dom),delete e[t],i.splice(n["r"](i,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var i=this._domRoot;i.style.display="none";var r=this._opts,n=this.root;if(null!=t&&(r.width=t),null!=e&&(r.height=e),t=Object(s["b"])(n,0,r),e=Object(s["b"])(n,1,r),i.style.display="",this._width!==t||e!==this._height){for(var a in i.style.width=t+"px",i.style.height=e+"px",this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(y).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[y].dom;var e=new d("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var i=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var r=e.dom.width,n=e.dom.height;this.eachLayer((function(t){t.__builtin__?i.drawImage(t.dom,0,0,r,n):t.renderToCanvas&&(i.save(),t.renderToCanvas(i),i.restore())}))}else for(var a={inHover:!1,viewWidth:this._width,viewHeight:this._height},o=this.storage.getDisplayList(!0),s=0,l=o.length;s<l;s++){var u=o[s];Object(h["a"])(i,u,a,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();e["a"]=C},"92a6":function(t,e,i){"use strict";var r=i("ba54"),n=i("4ebe"),a=i("71a8"),o=!1;function s(){o||(o=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function h(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=h}return t.prototype.traverse=function(t,e){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var i=this._displayList;return!t&&i.length||this.updateDisplayList(e),i},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,i=this._displayList,r=0,a=e.length;r<a;r++)this._updateAndAddDisplayable(e[r],null,t);i.length=this._displayListLen,Object(n["a"])(i,h)},t.prototype._updateAndAddDisplayable=function(t,e,i){if(!t.ignore||i){t.beforeUpdate(),t.update(),t.afterUpdate();var r=t.getClipPath();if(t.ignoreClip)e=null;else if(r){e=e?e.slice():[];var n=r,o=t;while(n)n.parent=o,n.updateTransform(),e.push(n),o=n,n=n.getClipPath()}if(t.childrenRef){for(var h=t.childrenRef(),l=0;l<h.length;l++){var u=h[l];t.__dirty&&(u.__dirty|=a["a"]),this._updateAndAddDisplayable(u,e,i)}t.__dirty=0}else{var c=t;e&&e.length?c.__clipPaths=e:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(s(),c.z=0),isNaN(c.z2)&&(s(),c.z2=0),isNaN(c.zlevel)&&(s(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var p=t.getDecalElement&&t.getDecalElement();p&&this._updateAndAddDisplayable(p,e,i);var f=t.getTextGuideLine();f&&this._updateAndAddDisplayable(f,e,i);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,e,i)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,i=t.length;e<i;e++)this.delRoot(t[e]);else{var n=r["r"](this._roots,t);n>=0&&this._roots.splice(n,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();e["a"]=l},a2f5:function(t,e,i){"use strict";i.d(e,"a",(function(){return m}));var r={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 e,i=.1,r=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=r/4):e=r*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r))},elasticOut:function(t){var e,i=.1,r=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=r/4):e=r*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/r)+1)},elasticInOut:function(t){var e,i=.1,r=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=r/4):e=r*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-r.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*r.bounceIn(2*t):.5*r.bounceOut(2*t-1)+.5}},n=r,a=i("ba54"),o=i("a6b4"),s=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||a["L"],this.ondestroy=t.ondestroy||a["L"],this.onrestart=t.onrestart||a["L"],t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var i=this._life,r=t-this._startTime-this._pausedTime,n=r/i;n<0&&(n=0),n=Math.min(n,1);var a=this.easingFunc,o=a?a(n):n;if(this.onframe(o),1===n){if(!this.loop)return!0;var s=r%i;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Object(a["w"])(t)?t:n[t]||Object(o["a"])(t)},t}(),h=s,l=i("1eb8"),u=i("c8d0"),c=Array.prototype.slice;function p(t,e,i){return(e-t)*i+t}function f(t,e,i,r){for(var n=e.length,a=0;a<n;a++)t[a]=p(e[a],i[a],r);return t}function d(t,e,i,r){for(var n=e.length,a=n&&e[0].length,o=0;o<n;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=p(e[o][s],i[o][s],r)}return t}function _(t,e,i,r){for(var n=e.length,a=0;a<n;a++)t[a]=e[a]+i[a]*r;return t}function v(t,e,i,r){for(var n=e.length,a=n&&e[0].length,o=0;o<n;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=e[o][s]+i[o][s]*r}return t}function g(t,e){for(var i=t.length,r=e.length,n=i>r?e:t,a=Math.min(i,r),o=n[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(i,r);s++)n.push({offset:o.offset,color:o.color.slice()})}function y(t,e,i){var r=t,n=e;if(r.push&&n.push){var a=r.length,o=n.length;if(a!==o){var s=a>o;if(s)r.length=o;else for(var h=a;h<o;h++)r.push(1===i?n[h]:c.call(n[h]))}var l=r[0]&&r[0].length;for(h=0;h<r.length;h++)if(1===i)isNaN(r[h])&&(r[h]=n[h]);else for(var u=0;u<l;u++)isNaN(r[h][u])&&(r[h][u]=n[h][u])}}function m(t){if(Object(a["u"])(t)){var e=t.length;if(Object(a["u"])(t[0])){for(var i=[],r=0;r<e;r++)i.push(c.call(t[r]));return i}return c.call(t)}return t}function b(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function x(t){return Object(a["u"])(t&&t[0])?2:1}var w=0,C=1,T=2,k=3,O=4,S=5,L=6;function j(t){return t===O||t===S}function P(t){return t===C||t===T}var I=[0,0,0,0],z=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,i){this._needsSort=!0;var r=this.keyframes,s=r.length,h=!1,c=L,p=e;if(Object(a["u"])(e)){var f=x(e);c=f,(1===f&&!Object(a["z"])(e[0])||2===f&&!Object(a["z"])(e[0][0]))&&(h=!0)}else if(Object(a["z"])(e)&&!Object(a["l"])(e))c=w;else if(Object(a["C"])(e))if(isNaN(+e)){var d=l["g"](e);d&&(p=d,c=k)}else c=w;else if(Object(a["x"])(e)){var _=Object(a["m"])({},p);_.colorStops=Object(a["H"])(e.colorStops,(function(t){return{offset:t.offset,color:l["g"](t.color)}})),Object(u["m"])(e)?c=O:Object(u["o"])(e)&&(c=S),p=_}0===s?this.valType=c:c===this.valType&&c!==L||(h=!0),this.discrete=this.discrete||h;var v={time:t,value:p,rawValue:e,percent:0};return i&&(v.easing=i,v.easingFunc=Object(a["w"])(i)?i:n[i]||Object(o["a"])(i)),r.push(v),v},t.prototype.prepare=function(t,e){var i=this.keyframes;this._needsSort&&i.sort((function(t,e){return t.time-e.time}));for(var r=this.valType,n=i.length,a=i[n-1],o=this.discrete,s=P(r),h=j(r),l=0;l<n;l++){var u=i[l],c=u.value,p=a.value;u.percent=u.time/t,o||(s&&l!==n-1?y(c,p,r):h&&g(c.colorStops,p.colorStops))}if(!o&&r!==S&&e&&this.needsAnimate()&&e.needsAnimate()&&r===e.valType&&!e._finished){this._additiveTrack=e;var f=i[0].value;for(l=0;l<n;l++)r===w?i[l].additiveValue=i[l].value-f:r===k?i[l].additiveValue=_([],i[l].value,f,-1):P(r)&&(i[l].additiveValue=r===C?_([],i[l].value,f,-1):v([],i[l].value,f,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var i,r,n,o=null!=this._additiveTrack,s=o?"additiveValue":"value",h=this.valType,l=this.keyframes,u=l.length,c=this.propName,_=h===k,v=this._lastFr,g=Math.min;if(1===u)r=n=l[0];else{if(e<0)i=0;else if(e<this._lastFrP){var y=g(v+1,u-1);for(i=y;i>=0;i--)if(l[i].percent<=e)break;i=g(i,u-2)}else{for(i=v;i<u;i++)if(l[i].percent>e)break;i=g(i-1,u-2)}n=l[i+1],r=l[i]}if(r&&n){this._lastFr=i,this._lastFrP=e;var m=n.percent-r.percent,x=0===m?1:g((e-r.percent)/m,1);n.easingFunc&&(x=n.easingFunc(x));var w=o?this._additiveValue:_?I:t[c];if(!P(h)&&!_||w||(w=this._additiveValue=[]),this.discrete)t[c]=x<1?r.rawValue:n.rawValue;else if(P(h))h===C?f(w,r[s],n[s],x):d(w,r[s],n[s],x);else if(j(h)){var T=r[s],S=n[s],L=h===O;t[c]={type:L?"linear":"radial",x:p(T.x,S.x,x),y:p(T.y,S.y,x),colorStops:Object(a["H"])(T.colorStops,(function(t,e){var i=S.colorStops[e];return{offset:p(t.offset,i.offset,x),color:b(f([],t.color,i.color,x))}})),global:S.global},L?(t[c].x2=p(T.x2,S.x2,x),t[c].y2=p(T.y2,S.y2,x)):t[c].r=p(T.r,S.r,x)}else if(_)f(w,r[s],n[s],x),o||(t[c]=b(w));else{var z=p(r[s],n[s],x);o?this._additiveValue=z:t[c]=z}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,i=this.propName,r=this._additiveValue;e===w?t[i]=t[i]+r:e===k?(l["g"](t[i],I),_(I,I,r,1),t[i]=b(I)):e===C?_(t[i],t[i],r,1):e===T&&v(t[i],t[i],r,1)},t}(),R=function(){function t(t,e,i,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&r?Object(a["G"])("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=i)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,i){return this.whenWithKeys(t,e,Object(a["F"])(e),i)},t.prototype.whenWithKeys=function(t,e,i,r){for(var n=this._tracks,a=0;a<i.length;a++){var o=i[a],s=n[o];if(!s){s=n[o]=new z(o);var h=void 0,l=this._getAdditiveTrack(o);if(l){var u=l.keyframes,c=u[u.length-1];h=c&&c.value,l.valType===k&&h&&(h=b(h))}else h=this._target[o];if(null==h)continue;t>0&&s.addKeyframe(0,m(h),r),this._trackKeys.push(o)}s.addKeyframe(t,m(e[o]),r)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,i=0;i<e;i++)t[i].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var i=0;i<e.length;i++)e[i].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,i=0;i<e.length;i++)t[e[i]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,i=this._additiveAnimators;if(i)for(var r=0;r<i.length;r++){var n=i[r].getTrack(t);n&&(e=n)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,i=[],r=this._maxTime||0,n=0;n<this._trackKeys.length;n++){var a=this._trackKeys[n],o=this._tracks[a],s=this._getAdditiveTrack(a),l=o.keyframes,u=l.length;if(o.prepare(r,s),o.needsAnimate())if(!this._allowDiscrete&&o.discrete){var c=l[u-1];c&&(e._target[o.propName]=c.rawValue),o.setFinished()}else i.push(o)}if(i.length||this._force){var p=new h({life:r,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var r=e._additiveAnimators;if(r){for(var n=!1,a=0;a<r.length;a++)if(r[a]._clip){n=!0;break}n||(e._additiveAnimators=null)}for(a=0;a<i.length;a++)i[a].step(e._target,t);var o=e._onframeCbs;if(o)for(a=0;a<o.length;a++)o[a](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=p,this.animation&&this.animation.addClip(p),t&&p.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return Object(a["H"])(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var i=this._tracks,r=this._trackKeys,n=0;n<t.length;n++){var a=i[t[n]];a&&!a.isFinished()&&(e?a.step(this._target,1):1===this._started&&a.step(this._target,0),a.setFinished())}var o=!0;for(n=0;n<r.length;n++)if(!i[r[n]].isFinished()){o=!1;break}return o&&this._abortedCallback(),o},t.prototype.saveTo=function(t,e,i){if(t){e=e||this._trackKeys;for(var r=0;r<e.length;r++){var n=e[r],a=this._tracks[n];if(a&&!a.isFinished()){var o=a.keyframes,s=o[i?0:o.length-1];s&&(t[n]=m(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||Object(a["F"])(t);for(var i=0;i<e.length;i++){var r=e[i],n=this._tracks[r];if(n){var o=n.keyframes;if(o.length>1){var s=o.pop();n.addKeyframe(s.time,t[r]),n.prepare(this._maxTime,n.getAdditiveTrack())}}}},t}();e["b"]=R},a6b4:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var r=i("e094"),n=i("ba54"),a=/cubic-bezier\(([0-9,\.e ]+)\)/;function o(t){var e=t&&a.exec(t);if(e){var i=e[1].split(","),o=+Object(n["T"])(i[0]),s=+Object(n["T"])(i[1]),h=+Object(n["T"])(i[2]),l=+Object(n["T"])(i[3]);if(isNaN(o+s+h+l))return;var u=[];return function(t){return t<=0?0:t>=1?1:Object(r["f"])(0,o,h,1,t,u)&&Object(r["a"])(0,s,l,1,u[0])}}}},cd0d:function(t,e,i){"use strict";var r,n=i("f505");r=n["a"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},e["a"]=r},d0c1:function(t,e,i){"use strict";i.d(e,"b",(function(){return s}));var r=i("08c2"),n=i("3aae"),a=i("cd0d"),o=i("a2f5");function s(){return(new Date).getTime()}var h=function(t){function e(e){var i=t.call(this)||this;return i._running=!1,i._time=0,i._pausedTime=0,i._pauseStart=0,i._paused=!1,e=e||{},i.stage=e.stage||{},i}return Object(r["a"])(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,i=t.next;e?e.next=i:this._head=i,i?i.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){var e=s()-this._pausedTime,i=e-this._time,r=this._head;while(r){var n=r.next,a=r.step(e,i);a?(r.ondestroy(),this.removeClip(r),r=n):r=n}this._time=e,t||(this.trigger("frame",i),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(Object(a["a"])(e),!t._paused&&t.update())}this._running=!0,Object(a["a"])(e)},e.prototype.start=function(){this._running||(this._time=s(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=s(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=s()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var i=new o["b"](t,e.loop);return this.addAnimator(i),i},e}(n["a"]);e["a"]=h},e016:function(t,e,i){"use strict";i.d(e,"c",(function(){return b})),i.d(e,"b",(function(){return H})),i.d(e,"a",(function(){return E}));var r=i("9ada"),n=i("c3a0"),a=i("85f8"),o=i("7ca8"),s=i("f566"),h=i("a274"),l=i("ed6b"),u=i("ba54"),c=i("1be6"),p=i("71a8"),f=i("cf22"),d=new n["a"](!0);function _(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function v(t){return"string"===typeof t&&"none"!==t}function g(t){var e=t.fill;return null!=e&&"none"!==e}function y(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var i=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=i}else t.fill()}function m(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var i=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=i}else t.stroke()}function b(t,e,i){var r=Object(a["a"])(e.image,e.__image,i);if(Object(a["c"])(r)){var n=t.createPattern(r,e.repeat||"repeat");if("function"===typeof DOMMatrix&&n&&n.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*u["a"]),o.scaleSelf(e.scaleX||1,e.scaleY||1),n.setTransform(o)}return n}}function x(t,e,i,r){var n,a=_(i),s=g(i),h=i.strokePercent,l=h<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var f=e.path||d,v=e.__dirty;if(!r){var x=i.fill,w=i.stroke,C=s&&!!x.colorStops,T=a&&!!w.colorStops,k=s&&!!x.image,O=a&&!!w.image,S=void 0,L=void 0,j=void 0,P=void 0,I=void 0;(C||T)&&(I=e.getBoundingRect()),C&&(S=v?Object(o["a"])(t,x,I):e.__canvasFillGradient,e.__canvasFillGradient=S),T&&(L=v?Object(o["a"])(t,w,I):e.__canvasStrokeGradient,e.__canvasStrokeGradient=L),k&&(j=v||!e.__canvasFillPattern?b(t,x,e):e.__canvasFillPattern,e.__canvasFillPattern=j),O&&(P=v||!e.__canvasStrokePattern?b(t,w,e):e.__canvasStrokePattern,e.__canvasStrokePattern=j),C?t.fillStyle=S:k&&(j?t.fillStyle=j:s=!1),T?t.strokeStyle=L:O&&(P?t.strokeStyle=P:a=!1)}var z,R,A=e.getGlobalScale();f.setScale(A[0],A[1],e.segmentIgnoreThreshold),t.setLineDash&&i.lineDash&&(n=Object(c["a"])(e),z=n[0],R=n[1]);var F=!0;(u||v&p["b"])&&(f.setDPR(t.dpr),l?f.setContext(null):(f.setContext(t),F=!1),f.reset(),e.buildPath(f,e.shape,r),f.toStatic(),e.pathUpdated()),F&&f.rebuildPath(t,l?h:1),z&&(t.setLineDash(z),t.lineDashOffset=R),r||(i.strokeFirst?(a&&m(t,i),s&&y(t,i)):(s&&y(t,i),a&&m(t,i))),z&&t.setLineDash([])}function w(t,e,i){var r=e.__image=Object(a["a"])(i.image,e.__image,e,e.onload);if(r&&Object(a["c"])(r)){var n=i.x||0,o=i.y||0,s=e.getWidth(),h=e.getHeight(),l=r.width/r.height;if(null==s&&null!=h?s=h*l:null==h&&null!=s?h=s/l:null==s&&null==h&&(s=r.width,h=r.height),i.sWidth&&i.sHeight){var u=i.sx||0,c=i.sy||0;t.drawImage(r,u,c,i.sWidth,i.sHeight,n,o,s,h)}else if(i.sx&&i.sy){u=i.sx,c=i.sy;var p=s-u,f=h-c;t.drawImage(r,u,c,p,f,n,o,s,h)}else t.drawImage(r,n,o,s,h)}}function C(t,e,i){var r,n=i.text;if(null!=n&&(n+=""),n){t.font=i.font||f["a"],t.textAlign=i.textAlign,t.textBaseline=i.textBaseline;var a=void 0,o=void 0;t.setLineDash&&i.lineDash&&(r=Object(c["a"])(e),a=r[0],o=r[1]),a&&(t.setLineDash(a),t.lineDashOffset=o),i.strokeFirst?(_(i)&&t.strokeText(n,i.x,i.y),g(i)&&t.fillText(n,i.x,i.y)):(g(i)&&t.fillText(n,i.x,i.y),_(i)&&t.strokeText(n,i.x,i.y)),a&&t.setLineDash([])}}var T=["shadowBlur","shadowOffsetX","shadowOffsetY"],k=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function O(t,e,i,n,a){var o=!1;if(!n&&(i=i||{},e===i))return!1;if(n||e.opacity!==i.opacity){B(t,a),o=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?r["b"].opacity:s}(n||e.blend!==i.blend)&&(o||(B(t,a),o=!0),t.globalCompositeOperation=e.blend||r["b"].blend);for(var h=0;h<T.length;h++){var l=T[h];(n||e[l]!==i[l])&&(o||(B(t,a),o=!0),t[l]=t.dpr*(e[l]||0))}return(n||e.shadowColor!==i.shadowColor)&&(o||(B(t,a),o=!0),t.shadowColor=e.shadowColor||r["b"].shadowColor),o}function S(t,e,i,r,n){var a=M(e,n.inHover),o=r?null:i&&M(i,n.inHover)||{};if(a===o)return!1;var s=O(t,a,o,r,n);if((r||a.fill!==o.fill)&&(s||(B(t,n),s=!0),v(a.fill)&&(t.fillStyle=a.fill)),(r||a.stroke!==o.stroke)&&(s||(B(t,n),s=!0),v(a.stroke)&&(t.strokeStyle=a.stroke)),(r||a.opacity!==o.opacity)&&(s||(B(t,n),s=!0),t.globalAlpha=null==a.opacity?1:a.opacity),e.hasStroke()){var h=a.lineWidth,l=h/(a.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(B(t,n),s=!0),t.lineWidth=l)}for(var u=0;u<k.length;u++){var c=k[u],p=c[0];(r||a[p]!==o[p])&&(s||(B(t,n),s=!0),t[p]=a[p]||c[1])}return s}function L(t,e,i,r,n){return O(t,M(e,n.inHover),i&&M(i,n.inHover),r,n)}function j(t,e){var i=e.transform,r=t.dpr||1;i?t.setTransform(r*i[0],r*i[1],r*i[2],r*i[3],r*i[4],r*i[5]):t.setTransform(r,0,0,r,0,0)}function P(t,e,i){for(var r=!1,n=0;n<t.length;n++){var a=t[n];r=r||a.isZeroArea(),j(e,a),e.beginPath(),a.buildPath(e,a.shape),e.clip()}i.allClipped=r}function I(t,e){return t&&e?t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||t[4]!==e[4]||t[5]!==e[5]:!(!t&&!e)}var z=1,R=2,A=3,F=4;function D(t){var e=g(t),i=_(t);return!(t.lineDash||!(+e^+i)||e&&"string"!==typeof t.fill||i&&"string"!==typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}function B(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function M(t,e){return e&&t.__hoverStyle||t.style}function H(t,e){E(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function E(t,e,i,r){var n=e.transform;if(!e.shouldBePainted(i.viewWidth,i.viewHeight,!1,!1))return e.__dirty&=~p["a"],void(e.__isRendered=!1);var a=e.__clipPaths,u=i.prevElClipPaths,c=!1,f=!1;if(u&&!Object(o["c"])(a,u)||(u&&u.length&&(B(t,i),t.restore(),f=c=!0,i.prevElClipPaths=null,i.allClipped=!1,i.prevEl=null),a&&a.length&&(B(t,i),t.save(),P(a,t,i),c=!0),i.prevElClipPaths=a),i.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var d=i.prevEl;d||(f=c=!0);var _=e instanceof s["b"]&&e.autoBatch&&D(e.style);c||I(n,d.transform)?(B(t,i),j(t,e)):_||B(t,i);var v=M(e,i.inHover);e instanceof s["b"]?(i.lastDrawType!==z&&(f=!0,i.lastDrawType=z),S(t,e,d,f,i),_&&(i.batchFill||i.batchStroke)||t.beginPath(),x(t,e,v,_),_&&(i.batchFill=v.fill||"",i.batchStroke=v.stroke||"")):e instanceof l["a"]?(i.lastDrawType!==A&&(f=!0,i.lastDrawType=A),S(t,e,d,f,i),C(t,e,v)):e instanceof h["a"]?(i.lastDrawType!==R&&(f=!0,i.lastDrawType=R),L(t,e,d,f,i),w(t,e,v)):e.getTemporalDisplayables&&(i.lastDrawType!==F&&(f=!0,i.lastDrawType=F),N(t,e,i)),_&&r&&B(t,i),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),i.prevEl=e,e.__dirty=0,e.__isRendered=!0}}function N(t,e,i){var r=e.getDisplayables(),n=e.getTemporalDisplayables();t.save();var a,o,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:i.viewWidth,viewHeight:i.viewHeight,inHover:i.inHover};for(a=e.getCursor(),o=r.length;a<o;a++){var h=r[a];h.beforeBrush&&h.beforeBrush(),h.innerBeforeBrush(),E(t,h,s,a===o-1),h.innerAfterBrush(),h.afterBrush&&h.afterBrush(),s.prevEl=h}for(var l=0,u=n.length;l<u;l++){h=n[l];h.beforeBrush&&h.beforeBrush(),h.innerBeforeBrush(),E(t,h,s,l===u-1),h.innerAfterBrush(),h.afterBrush&&h.afterBrush(),s.prevEl=h}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}},e2c9:function(t,e,i){"use strict";var r=i("ee6c"),n=i("a2f5"),a=i("6677"),o=i("3aae"),s=i("caa6"),h=i("ba54"),l=i("f182"),u=i("1eb8"),c=i("71a8"),p="__zr_normal__",f=r["a"].concat(["ignore"]),d=Object(h["N"])(r["a"],(function(t,e){return t[e]=!0,t}),{ignore:!1}),_={},v=new a["a"](0,0,0,0),g=function(){function t(t){this.id=Object(h["p"])(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,i){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=t,r[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var i=this.textConfig,r=i.local,n=e.innerTransformable,a=void 0,o=void 0,h=!1;n.parent=r?this:null;var l=!1;if(n.copyTransform(e),null!=i.position){var u=v;i.layoutRect?u.copy(i.layoutRect):u.copy(this.getBoundingRect()),r||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(_,i,u):Object(s["c"])(_,i,u),n.x=_.x,n.y=_.y,a=_.align,o=_.verticalAlign;var p=i.origin;if(p&&null!=i.rotation){var f=void 0,d=void 0;"center"===p?(f=.5*u.width,d=.5*u.height):(f=Object(s["g"])(p[0],u.width),d=Object(s["g"])(p[1],u.height)),l=!0,n.originX=-n.x+f+(r?0:u.x),n.originY=-n.y+d+(r?0:u.y)}}null!=i.rotation&&(n.rotation=i.rotation);var g=i.offset;g&&(n.x+=g[0],n.y+=g[1],l||(n.originX=-g[0],n.originY=-g[1]));var y=null==i.inside?"string"===typeof i.position&&i.position.indexOf("inside")>=0:i.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),b=void 0,x=void 0,w=void 0;y&&this.canBeInsideText()?(b=i.insideFill,x=i.insideStroke,null!=b&&"auto"!==b||(b=this.getInsideTextFill()),null!=x&&"auto"!==x||(x=this.getInsideTextStroke(b),w=!0)):(b=i.outsideFill,x=i.outsideStroke,null!=b&&"auto"!==b||(b=this.getOutsideFill()),null!=x&&"auto"!==x||(x=this.getOutsideStroke(b),w=!0)),b=b||"#000",b===m.fill&&x===m.stroke&&w===m.autoStroke&&a===m.align&&o===m.verticalAlign||(h=!0,m.fill=b,m.stroke=x,m.autoStroke=w,m.align=a,m.verticalAlign=o,e.setDefaultTextStyle(m)),e.__dirty|=c["a"],h&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?l["d"]:l["a"]},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),i="string"===typeof e&&Object(u["g"])(e);i||(i=[255,255,255,1]);for(var r=i[3],n=this.__zr.isDarkMode(),a=0;a<3;a++)i[a]=i[a]*r+(n?0:255)*(1-r);return i[3]=1,Object(u["h"])(i,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},Object(h["m"])(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(Object(h["A"])(t))for(var i=t,r=Object(h["F"])(i),n=0;n<r.length;n++){var a=r[n];this.attrKV(a,t[a])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,i=0;i<this.animators.length;i++){var r=this.animators[i],n=r.__fromStateTransition;if(!(r.getLoop()||n&&n!==p)){var a=r.targetName,o=a?e[a]:e;r.saveTo(o)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,f)},t.prototype._savePrimaryToNormal=function(t,e,i){for(var r=0;r<i.length;r++){var n=i[r];null==t[n]||n in e||(e[n]=this[n])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(p,!1,t)},t.prototype.useState=function(t,e,i,r){var n=t===p,a=this.hasState();if(a||!n){var o=this.currentStates,s=this.stateTransition;if(!(Object(h["r"])(o,t)>=0)||!e&&1!==o.length){var l;if(this.stateProxy&&!n&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),l||n){n||this.saveCurrentToNormalState(l);var u=!!(l&&l.hoverLayer||r);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,e,!i&&!this.__inHover&&s&&s.duration>0,s);var f=this._textContent,d=this._textGuide;return f&&f.useState(t,e,i,u),d&&d.useState(t,e,i,u),n?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c["a"]),l}Object(h["G"])("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,i){if(t.length){var r=[],n=this.currentStates,a=t.length,o=a===n.length;if(o)for(var s=0;s<a;s++)if(t[s]!==n[s]){o=!1;break}if(o)return;for(s=0;s<a;s++){var h=t[s],l=void 0;this.stateProxy&&(l=this.stateProxy(h,t)),l||(l=this.states[h]),l&&r.push(l)}var u=r[a-1],p=!!(u&&u.hoverLayer||i);p&&this._toggleHoverLayerFlag(!0);var f=this._mergeStates(r),d=this.stateTransition;this.saveCurrentToNormalState(f),this._applyStateObj(t.join(","),f,this._normalState,!1,!e&&!this.__inHover&&d&&d.duration>0,d);var _=this._textContent,v=this._textGuide;_&&_.useStates(t,e,p),v&&v.useStates(t,e,p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c["a"])}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=Object(h["r"])(this.currentStates,t);if(e>=0){var i=this.currentStates.slice();i.splice(e,1),this.useStates(i)}},t.prototype.replaceState=function(t,e,i){var r=this.currentStates.slice(),n=Object(h["r"])(r,t),a=Object(h["r"])(r,e)>=0;n>=0?a?r.splice(n,1):r[n]=e:i&&!a&&r.push(e),this.useStates(r)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,i={},r=0;r<t.length;r++){var n=t[r];Object(h["m"])(i,n),n.textConfig&&(e=e||{},Object(h["m"])(e,n.textConfig))}return e&&(i.textConfig=e),i},t.prototype._applyStateObj=function(t,e,i,r,n,a){var o=!(e&&r);e&&e.textConfig?(this.textConfig=Object(h["m"])({},r?this.textConfig:i.textConfig),Object(h["m"])(this.textConfig,e.textConfig)):o&&i.textConfig&&(this.textConfig=i.textConfig);for(var s={},l=!1,u=0;u<f.length;u++){var c=f[u],p=n&&d[c];e&&null!=e[c]?p?(l=!0,s[c]=e[c]):this[c]=e[c]:o&&null!=i[c]&&(p?(l=!0,s[c]=i[c]):this[c]=i[c])}if(!n)for(u=0;u<this.animators.length;u++){var _=this.animators[u],v=_.targetName;_.getLoop()||_.__changeFinalValue(v?(e||i)[v]:e||i)}l&&this._transitionState(t,s,a)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new r["c"],this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),Object(h["m"])(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=c["a"];var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,i=this._textGuide;e&&(e.__inHover=t),i&&(i.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.addAnimator(e[i]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.removeAnimator(e[i]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,i){var r=t?this[t]:this;var a=new n["b"](r,e,i);return t&&(a.targetName=t),this.addAnimator(a,t),a},t.prototype.addAnimator=function(t,e){var i=this.__zr,r=this;t.during((function(){r.updateDuringAnimation(e)})).done((function(){var e=r.animators,i=Object(h["r"])(e,t);i>=0&&e.splice(i,1)})),this.animators.push(t),i&&i.animation.addAnimator(t),i&&i.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var i=this.animators,r=i.length,n=[],a=0;a<r;a++){var o=i[a];t&&t!==o.scope?n.push(o):o.stop(e)}return this.animators=n,this},t.prototype.animateTo=function(t,e,i){y(this,t,e,i)},t.prototype.animateFrom=function(t,e,i){y(this,t,e,i,!0)},t.prototype._transitionState=function(t,e,i,r){for(var n=y(this,e,i,r),a=0;a<n.length;a++)n[a].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=c["a"];function i(t,i,r,n){function a(t,e){Object.defineProperty(e,0,{get:function(){return t[r]},set:function(e){t[r]=e}}),Object.defineProperty(e,1,{get:function(){return t[n]},set:function(e){t[n]=e}})}Object.defineProperty(e,t,{get:function(){if(!this[i]){var t=this[i]=[];a(this,t)}return this[i]},set:function(t){this[r]=t[0],this[n]=t[1],this[i]=t,a(this,t)}})}Object.defineProperty&&(i("position","_legacyPos","x","y"),i("scale","_legacyScale","scaleX","scaleY"),i("origin","_legacyOrigin","originX","originY"))}(),t}();function y(t,e,i,r,n){i=i||{};var a=[];T(t,"",t,e,i,r,a,n);var o=a.length,s=!1,h=i.done,l=i.aborted,u=function(){s=!0,o--,o<=0&&(s?h&&h():l&&l())},c=function(){o--,o<=0&&(s?h&&h():l&&l())};o||h&&h(),a.length>0&&i.during&&a[0].during((function(t,e){i.during(e)}));for(var p=0;p<a.length;p++){var f=a[p];u&&f.done(u),c&&f.aborted(c),i.force&&f.duration(i.duration),f.start(i.easing)}return a}function m(t,e,i){for(var r=0;r<i;r++)t[r]=e[r]}function b(t){return Object(h["u"])(t[0])}function x(t,e,i){if(Object(h["u"])(e[i]))if(Object(h["u"])(t[i])||(t[i]=[]),Object(h["E"])(e[i])){var r=e[i].length;t[i].length!==r&&(t[i]=new e[i].constructor(r),m(t[i],e[i],r))}else{var n=e[i],a=t[i],o=n.length;if(b(n))for(var s=n[0].length,l=0;l<o;l++)a[l]?m(a[l],n[l],s):a[l]=Array.prototype.slice.call(n[l]);else m(a,n,o);a.length=n.length}else t[i]=e[i]}function w(t,e){return t===e||Object(h["u"])(t)&&Object(h["u"])(e)&&C(t,e)}function C(t,e){var i=t.length;if(i!==e.length)return!1;for(var r=0;r<i;r++)if(t[r]!==e[r])return!1;return!0}function T(t,e,i,r,a,o,s,l){for(var u=Object(h["F"])(r),c=a.duration,p=a.delay,f=a.additive,d=a.setToFinal,_=!Object(h["A"])(o),v=t.animators,g=[],y=0;y<u.length;y++){var m=u[y],b=r[m];if(null!=b&&null!=i[m]&&(_||o[m]))if(!Object(h["A"])(b)||Object(h["u"])(b)||Object(h["x"])(b))g.push(m);else{if(e){l||(i[m]=b,t.updateDuringAnimation(e));continue}T(t,m,i[m],b,a,o&&o[m],s,l)}else l||(i[m]=b,t.updateDuringAnimation(e),g.push(m))}var C=g.length;if(!f&&C)for(var k=0;k<v.length;k++){var O=v[k];if(O.targetName===e){var S=O.stopTracks(g);if(S){var L=Object(h["r"])(v,O);v.splice(L,1)}}}if(a.force||(g=Object(h["n"])(g,(function(t){return!w(r[t],i[t])})),C=g.length),C>0||a.force&&!s.length){var j=void 0,P=void 0,I=void 0;if(l){P={},d&&(j={});for(k=0;k<C;k++){m=g[k];P[m]=i[m],d?j[m]=r[m]:i[m]=r[m]}}else if(d){I={};for(k=0;k<C;k++){m=g[k];I[m]=Object(n["a"])(i[m]),x(i,r,m)}}O=new n["b"](i,!1,!1,f?Object(h["n"])(v,(function(t){return t.targetName===e})):null);O.targetName=e,a.scope&&(O.scope=a.scope),d&&j&&O.whenWithKeys(0,j,g),I&&O.whenWithKeys(0,I,g),O.whenWithKeys(null==c?500:c,l?P:r,g).delay(p||0),t.addAnimator(O,e),s.push(O)}}Object(h["K"])(g,o["a"]),Object(h["K"])(g,r["c"]),e["a"]=g}}]);