@pulzr/perses-timeseries-panel 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +3 -1
  2. package/__mf/js/{PulzrTimeSeriesChart.8f5010ba5c.js → PulzrTimeSeriesChart.7c3ead7012.js} +2 -2
  3. package/__mf/js/async/{0.1f67a94360.js → 0.5ef0431536.js} +2 -2
  4. package/__mf/js/async/{07.36ac3671c5.js → 07.069fbddc67.js} +2 -2
  5. package/__mf/js/async/{0p.58ba51c3d8.js → 0p.45231180d3.js} +2 -2
  6. package/__mf/js/async/{1.73bde7147c.js → 1.75df3ae4b0.js} +2 -2
  7. package/__mf/js/async/{2.965b5a081a.js → 2.a727b9416d.js} +2 -2
  8. package/__mf/js/async/{24.c20b9c5a17.js → 24.aff881525a.js} +1 -1
  9. package/__mf/js/async/{3.364f359293.js → 3.1a66608288.js} +1 -1
  10. package/__mf/js/async/4.3c9a2b4233.js +1 -0
  11. package/__mf/js/async/{5.f4b8ab81b7.js → 5.5d8820f557.js} +1 -1
  12. package/__mf/js/async/{6.1c072abe87.js → 6.d90805485a.js} +1 -1
  13. package/__mf/js/async/{6x.3c32d29a25.js → 6x.368a17e295.js} +1 -1
  14. package/__mf/js/async/{7.15f564c6f3.js → 7.f40ccc96ba.js} +2 -2
  15. package/__mf/js/async/{9.f03162afcc.js → 9.d08e848582.js} +1 -1
  16. package/__mf/js/async/{__federation_expose_PulzrTimeSeriesChart.872d907273.js → __federation_expose_PulzrTimeSeriesChart.f8cb14738c.js} +1 -1
  17. package/__mf/js/async/{aw.c62047d59e.js → aw.bedacdca5d.js} +1 -1
  18. package/__mf/js/async/b.e5082f36ba.js +1 -0
  19. package/__mf/js/async/{c.db5f03155c.js → c.783005e082.js} +1 -1
  20. package/__mf/js/async/{f.629bfc34cd.js → f.1ee31f4c44.js} +2 -2
  21. package/__mf/js/async/{f6.a297b4c3b5.js → f6.ffd252b334.js} +1 -1
  22. package/__mf/js/async/{g.8f186fee46.js → g.adaadebd2d.js} +1 -1
  23. package/__mf/js/async/{i.20d8c95685.js → i.a9f4f52e01.js} +1 -1
  24. package/__mf/js/async/{k.9353f82963.js → k.4a35cfdf19.js} +2 -2
  25. package/__mf/js/async/kk.a702691f9e.js +1 -0
  26. package/__mf/js/async/{m.8322f15461.js → m.e7706a5825.js} +2 -2
  27. package/__mf/js/async/{n.07b91c8f3b.js → n.dada4ae652.js} +1 -1
  28. package/__mf/js/async/{o.f00502c3dc.js → o.27f2fd5272.js} +1 -1
  29. package/__mf/js/async/{o8.0d0f7ae8dd.js → o8.aeb40cdeea.js} +1 -1
  30. package/__mf/js/async/{os.48ffc14283.js → os.f5826c65d5.js} +2 -2
  31. package/__mf/js/async/{p.f622a2635a.js → p.7d81f7ca97.js} +2 -2
  32. package/__mf/js/async/{pj.dd52375d06.js → pj.a85577346e.js} +1 -1
  33. package/__mf/js/async/{s.4d1c08522b.js → s.db986f308e.js} +1 -1
  34. package/__mf/js/async/{s9.14445ad382.js → s9.5f6d9374f6.js} +1 -1
  35. package/__mf/js/async/{se.3e1054cb2e.js → se.02a1c72b61.js} +2 -2
  36. package/__mf/js/async/{sp.823f3e93e8.js → sp.dfb099e3e6.js} +1 -1
  37. package/__mf/js/async/{sr.52e9bae874.js → sr.694c7e4e84.js} +1 -1
  38. package/__mf/js/async/{t.94a8ce332d.js → t.4fcc93a4ee.js} +1 -1
  39. package/__mf/js/async/{tl.d9749e7d1e.js → tl.252b3303c9.js} +1 -1
  40. package/__mf/js/async/{uz.53202eb429.js → uz.9126a376c9.js} +1 -1
  41. package/__mf/js/async/{x.57044cf1d5.js → x.d033ab938e.js} +1 -1
  42. package/__mf/js/async/{xr.6ee20d6a04.js → xr.2f4b0bfea6.js} +1 -1
  43. package/__mf/js/async/{y.2d4e8c2b2e.js → y.a7adb70718.js} +1 -1
  44. package/__mf/js/async/{yk.d357453890.js → yk.79c1e2f705.js} +2 -2
  45. package/__mf/js/{main.5302f40bb7.js → main.c525171587.js} +2 -2
  46. package/lib/TimeSeriesChartPanel.d.ts.map +1 -1
  47. package/lib/TimeSeriesChartPanel.js +41 -19
  48. package/lib/TimeSeriesChartPanel.js.map +1 -1
  49. package/lib/time-series-chart-model.d.ts +9 -0
  50. package/lib/time-series-chart-model.d.ts.map +1 -1
  51. package/lib/time-series-chart-model.js.map +1 -1
  52. package/lib/utils/data-transform.d.ts.map +1 -1
  53. package/lib/utils/data-transform.js +3 -0
  54. package/lib/utils/data-transform.js.map +1 -1
  55. package/mf-manifest.json +42 -42
  56. package/mf-stats.json +42 -42
  57. package/package.json +1 -1
  58. package/__mf/js/async/4.21994aea94.js +0 -1
  59. package/__mf/js/async/b.d9e335c512.js +0 -1
  60. package/__mf/js/async/kk.54ddbdccb1.js +0 -1
  61. /package/__mf/js/async/{0.1f67a94360.js.LICENSE.txt → 0.5ef0431536.js.LICENSE.txt} +0 -0
  62. /package/__mf/js/async/{07.36ac3671c5.js.LICENSE.txt → 07.069fbddc67.js.LICENSE.txt} +0 -0
  63. /package/__mf/js/async/{0p.58ba51c3d8.js.LICENSE.txt → 0p.45231180d3.js.LICENSE.txt} +0 -0
  64. /package/__mf/js/async/{1.73bde7147c.js.LICENSE.txt → 1.75df3ae4b0.js.LICENSE.txt} +0 -0
  65. /package/__mf/js/async/{2.965b5a081a.js.LICENSE.txt → 2.a727b9416d.js.LICENSE.txt} +0 -0
  66. /package/__mf/js/async/{7.15f564c6f3.js.LICENSE.txt → 7.f40ccc96ba.js.LICENSE.txt} +0 -0
  67. /package/__mf/js/async/{f.629bfc34cd.js.LICENSE.txt → f.1ee31f4c44.js.LICENSE.txt} +0 -0
  68. /package/__mf/js/async/{k.9353f82963.js.LICENSE.txt → k.4a35cfdf19.js.LICENSE.txt} +0 -0
  69. /package/__mf/js/async/{m.8322f15461.js.LICENSE.txt → m.e7706a5825.js.LICENSE.txt} +0 -0
  70. /package/__mf/js/async/{os.48ffc14283.js.LICENSE.txt → os.f5826c65d5.js.LICENSE.txt} +0 -0
  71. /package/__mf/js/async/{p.f622a2635a.js.LICENSE.txt → p.7d81f7ca97.js.LICENSE.txt} +0 -0
  72. /package/__mf/js/async/{se.3e1054cb2e.js.LICENSE.txt → se.02a1c72b61.js.LICENSE.txt} +0 -0
  73. /package/__mf/js/async/{yk.d357453890.js.LICENSE.txt → yk.79c1e2f705.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- /*! LICENSE: k.9353f82963.js.LICENSE.txt */
2
- "use strict";(self.chunk_PulzrTimeSeriesChart_0_1_2=self.chunk_PulzrTimeSeriesChart_0_1_2||[]).push([["k"],{i4(t,e,n){var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};n.d(e,{},{C6:function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}})},SJG(t,e,n){var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};n.d(e,{},{C6:function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}})},W5(t,e,n){var i=n("iY"),r=(0,n("xN").$r)();function o(t,e,n,r,o){if(e&&e.ecModel){var a,s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(!l)return null;var c=void 0,h=void 0,p=void 0;return r?(c=(0,i.retrieve2)(r.duration,200),h=(0,i.retrieve2)(r.easing,"cubicOut"),p=0):(c=e.getShallow(u?"animationDurationUpdate":"animationDuration"),h=e.getShallow(u?"animationEasingUpdate":"animationEasing"),p=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(c=a.duration),null!=a.easing&&(h=a.easing),null!=a.delay&&(p=a.delay)),(0,i.isFunction)(p)&&(p=p(n,o)),(0,i.isFunction)(c)&&(c=c(n)),{duration:c||0,delay:p,easing:h}}function a(t,e,n,r,a,s,l){var u,c=!1;(0,i.isFunction)(a)?(l=s,s=a,a=null):(0,i.isObject)(a)&&(s=a.cb,l=a.during,c=a.isFrom,u=a.removeOpt,a=a.dataIndex);var h="leave"===t;h||e.stopAnimation("leave");var p=o(t,r,a,h?u||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,a):null);if(p&&p.duration>0){var d={duration:p.duration,delay:p.delay||0,easing:p.easing,done:s,force:!!s||!!l,setToFinal:!h,scope:t,during:l};c?e.animateFrom(n,d):e.animateTo(n,d)}else e.stopAnimation(),c||e.attr(n),l&&l(1),s&&s()}function s(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function l(t,e,n,i,r,o){s(t)||a("leave",t,e,n,i,r,o)}function u(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),l(t,{style:{opacity:0}},e,n,i)}n.d(e,{},{Jw:o,LR:s,LW:function(t,e,n,i,r,o){a("enter",t,e,n,i,r,o)},Nz:l,Xr:function(t){return r(t).oldStyle},ap:function(t){r(t).oldStyle=t.style},oi:function(t,e,n,i,r,o){a("update",t,e,n,i,r,o)},t5:function(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||u(t,e,n,i)}):u(t,e,n,i)}})},n8(t,e,n){var i=n("i4"),r=n("yd"),o=n("hy"),a=n("iY"),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.getInitialData=function(t,e){return(0,o.A)(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)(0,a.each)(i.getAxes(),function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),!(i.length<2)){if(2===i.length){o[n]=t.toGlobalCoord(t.getExtent()[+!!l]);return}for(var u=void 0,c=void 0,h=1,p=0;p<i.length;p++){var d=i[p].coord,f=p===i.length-1?i[p-1].tickValue+h:i[p].tickValue;if(f===s){c=d;break}if(f<s)u=d;else if(null!=u&&f>s){c=(d+u)/2;break}1===p&&(h=f-i[0].tickValue)}null==c&&(u?u&&(c=i[i.length-1].coord):c=i[0].coord),o[n]=t.toGlobalCoord(c)}}});else{var s=this.getData(),l=s.getLayout("offset"),u=s.getLayout("size"),c=+!i.getBaseAxis().isHorizontal();o[c]+=l+u/2}return o}return[0/0,0/0]},e.prototype.__requireStartValue=function(t){return this.getBaseAxis()!==t},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",defaultBarGap:"10%"},e}(r.A);r.A.registerClass(s),e.A=s},oO(t,e,n){n.d(e,{a:()=>Q});var i=n("nT"),r=n("LEV"),o=n("i4"),a=n("n8"),s=n("hy"),l=n("Af"),u=n("g8w"),c=n("xN"),h=n("bVi"),p=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.C6)(e,t),e.prototype.getInitialData=function(){return(0,s.A)(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.__preparePipelineContext=function(t,e){var n=(0,c.Zk)(this,t,e);return n.progressiveRender&&(n.large=!0),n},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series."+h.f4,e.dependencies=["grid","polar"],e.defaultOption=(0,l.G_)(a.A.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:u.A.color.primary,borderWidth:2}},realtimeSort:!1}),e}(a.A),d=n("Pk"),f=n("jZ"),g=n("iY"),y=n("uf"),v=n("W5"),m=n("Vb"),_=n("Qz"),x=n("FL"),b=n("LP"),w=n("F4"),S=n("dd"),A=n("hHP"),M=n("fC"),T=n("WN9"),C=n("mR"),k=n("g2"),I=n("KO");function D(t,e,n){return e*Math.sin(t)*(n?-1:1)}function O(t,e,n){return e*Math.cos(t)*(n?1:-1)}var L=n("Z0"),P=Math.max,R=Math.min,B=function(t){function e(){var e=t.call(this)||this;return e.type=h.f4,e._isFirstFrame=!0,e}return(0,o.C6)(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){(0,y.traverseElements)(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e!==this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,h=function(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}(t,l);h&&this._enableRealtimeSort(h,a,n);var p=t.get("clip",!0)||h,d=l.getArea();o.removeClipPath();var g=t.get("roundCap",!0),y=t.get("showBackground",!0),x=t.getModel("backgroundStyle"),b=x.get("borderRadius")||0,S=[],A=this._backgroundEls,M=i&&i.isInitSort,T=i&&"changeAxisOrder"===i.type;function C(t){var e,n,i,o=W[l.type](a,t);if(!o)return null;var s=(e=l,n=r,i=o,new("polar"===e.type?_.A:m.A)({shape:$(n,i,e),silent:!0,z2:0}));return s.useStyle(x.getItemStyle()),"cartesian2d"===l.type?s.setShape("r",b):s.setShape("cornerRadius",b),S[t]=s,s}a.diff(s).add(function(e){var n=a.getItemModel(e),i=W[l.type](a,e,n);if(i&&(y&&C(e),a.hasValue(e)&&H[l.type](i))){var s=!1;p&&(s=z[l.type](d,i));var f=N[l.type](t,a,e,i,r,c,u.model,!1,g);h&&(f.forceLabelAnimation=!0),Z(f,a,e,n,i,t,r,"polar"===l.type),M?f.attr({shape:i}):h?E(h,c,f,i,e,r,!1,!1):(0,v.LW)(f,{shape:i},t,e),a.setItemGraphicEl(e,f),o.add(f),f.ignore=s}}).update(function(e,n){var i=a.getItemModel(e),f=W[l.type](a,e,i);if(f){if(y){var m=void 0;0===A.length?m=C(n):((m=A[n]).useStyle(x.getItemStyle()),"cartesian2d"===l.type?m.setShape("r",b):m.setShape("cornerRadius",b),S[e]=m);var _=W[l.type](a,e),k=$(r,_,l);(0,v.oi)(m,{shape:k},c,e)}var I=s.getItemGraphicEl(n);if(!a.hasValue(e)||!H[l.type](f))return void o.remove(I);var D=!1;if(p&&(D=z[l.type](d,f))&&o.remove(I),I&&("sector"===I.type&&g||"sausage"===I.type&&!g)&&(I&&(0,v.t5)(I,t,n),I=null),I?(0,v.ap)(I):I=N[l.type](t,a,e,f,r,c,u.model,!0,g),h&&(I.forceLabelAnimation=!0),T){var O=I.getTextContent();if(O){var L=(0,w.Lu)(O);null!=L.prevValue&&(L.prevValue=L.value)}}else Z(I,a,e,i,f,t,r,"polar"===l.type);M?I.attr({shape:f}):h?E(h,c,I,f,e,r,!0,T):(0,v.oi)(I,{shape:f},t,e,null),a.setItemGraphicEl(e,I),I.ignore=D,o.add(I)}}).remove(function(e){var n=s.getItemGraphicEl(e);n&&(0,v.t5)(n,t,e)}).execute();var k=this._backgroundGroup||(this._backgroundGroup=new f.A);k.removeAll();for(var I=0;I<S.length;++I)k.add(S[I]);o.add(k),this._backgroundEls=S,this._data=a},e.prototype._renderLarge=function(t,e,n){this._clear(),j(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),j(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&(0,A.Ip)(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(e,o,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var i=[];return t.each(t.mapDimension(e.dim),function(t,e){var r=n(e);r=null==r?0/0:r,i.push({dataIndex:e,mappedValue:r,ordinalNumber:t})}),i.sort(function(t,e){return e.mappedValue-t.mappedValue}),{ordinalNumbers:(0,g.map)(i,function(t){return t.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=i.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,i.getRawOrdinalNumber(a)),u=l<0?5e-324:e(t.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(e){(0,v.t5)(e,t,(0,x.z)(e).dataIndex)})):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type=h.f4,e}(T.A),z={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=P(e.x,t.x),s=R(e.x+e.width,r),l=P(e.y,t.y),u=R(e.y+e.height,o),c=s<a,h=u<l;return e.x=c&&a>r?s:a,e.y=h&&l>o?u:l,e.width=c?0:s-a,e.height=h?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),c||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=R(e.r,t.r),o=P(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}return a}},N={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new m.A({shape:(0,g.extend)({},i),z2:1});return u.__dataIndex=n,u.name="item",o&&(u.shape[r?"height":"width"]=0),u},polar:function(t,e,n,i,r,o,a,s,l){var u,c,h=!r&&l?M.A:_.A,p=new h({shape:i,z2:1});if(p.name="item",u=G(r),c=({isRoundCap:h===M.A}).isRoundCap,p.calculateTextPosition=function(t,e,n){var i=e.position;if(!i||i instanceof Array)return(0,I.X4)(t,e,n);var r=u(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,h=a.r,p=a.r0,d=(h+p)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,v=c?Math.abs(h-p)/2:0,m=Math.cos,_=Math.sin,x=s+h*m(f),b=l+h*_(f),w="left",S="top";switch(r){case"startArc":x=s+(p-o)*m(y),b=l+(p-o)*_(y),w="center",S="top";break;case"insideStartArc":x=s+(p+o)*m(y),b=l+(p+o)*_(y),w="center",S="bottom";break;case"startAngle":x=s+d*m(f)+D(f,o+v,!1),b=l+d*_(f)+O(f,o+v,!1),w="right",S="middle";break;case"insideStartAngle":x=s+d*m(f)+D(f,-o+v,!1),b=l+d*_(f)+O(f,-o+v,!1),w="left",S="middle";break;case"middle":x=s+d*m(y),b=l+d*_(y),w="center",S="middle";break;case"endArc":x=s+(h+o)*m(y),b=l+(h+o)*_(y),w="center",S="bottom";break;case"insideEndArc":x=s+(h-o)*m(y),b=l+(h-o)*_(y),w="center",S="top";break;case"endAngle":x=s+d*m(g)+D(g,o+v,!0),b=l+d*_(g)+O(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":x=s+d*m(g)+D(g,-o+v,!0),b=l+d*_(g)+O(g,-o+v,!0),w="right",S="middle";break;default:return(0,I.X4)(t,e,n)}return(t=t||{}).x=x,t.y=b,t.align=w,t.verticalAlign=S,t},o){var d=p.shape,f=r?"r":"endAngle",g={};d[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?v.oi:v.LW)(p,{shape:g},o)}return p}};function E(t,e,n,i,r,o,a,s){o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?v.oi:v.LW)(n,{shape:l},e,r,null);var l,u,c=e?t.baseAxis.model:null;(a?v.oi:v.LW)(n,{shape:u},c,r)}function V(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var F=["x","y","width","height"],Y=["cx","cy","r","startAngle","endAngle"],H={cartesian2d:function(t){return!V(t,F)},polar:function(t){return!V(t,Y)}},W={cartesian2d:function(t,e,n){var i,r,o,a=t.getItemLayout(e);if(!a)return null;var s=n?(i=n,r=a,(o=i.get(["itemStyle","borderColor"]))&&"none"!==o?Math.min(i.get(["itemStyle","borderWidth"])||0,isNaN(r.width)?Number.MAX_VALUE:Math.abs(r.width),isNaN(r.height)?Number.MAX_VALUE:Math.abs(r.height)):0):0,l=a.width>0?1:-1,u=a.height>0?1:-1;return{x:a.x+l*s/2,y:a.y+u*s/2,width:a.width-l*s,height:a.height-u*s}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function G(t){var e;return e=t?"Arc":"Angle",function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}function Z(t,e,n,i,r,o,a,s){var l,u,c,h,p=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var d=t.shape,f=(0,L.i)(i.getModel("itemStyle"),d,!0);(0,g.extend)(d,f),t.setShape(d)}}else{var y=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",y)}t.useStyle(p);var v=i.getShallow("cursor");v&&t.attr("cursor",v);var m=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?(l=r,u=o.coordinateSystem,0===l.height?u.getOtherAxis(u.getBaseAxis()).inverse?"bottom":"top":l.height>0?"bottom":"top"):(c=r,h=o.coordinateSystem,0===c.width?h.getOtherAxis(h.getBaseAxis()).inverse?"left":"right":c.width>=0?"right":"left"),_=(0,w.lx)(i);(0,w.qM)(t,_,{labelFetcher:o,labelDataIndex:n,defaultText:(0,k.i)(o.getData(),n),inheritColor:p.fill,defaultOpacity:p.opacity,defaultOutsidePosition:m});var x=t.getTextContent();if(s&&x){var S=i.get(["label","position"]);t.textConfig.inside="middle"===S||null,function(t,e,n,i){if((0,g.isNumber)(i))return t.setTextConfig({rotation:i});if((0,g.isArray)(e))return t.setTextConfig({rotation:0});var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=n(e);switch(l){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=(a+s)/2;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:t.setTextConfig({rotation:0});return}var u=1.5*Math.PI-r;"middle"===l&&u>Math.PI/2&&u<1.5*Math.PI&&(u-=Math.PI),t.setTextConfig({rotation:u})}(t,"outside"===S?m:S,G(a),i.get(["label","rotate"]))}(0,w.Oh)(x,_,o.getRawValue(n),function(t){return(0,k.T)(e,t)});var A=i.getModel(["emphasis"]);(0,b.Lm)(t,A.get("focus"),A.get("blurScope"),A.get("disabled")),(0,b.Mx)(t,i),null!=r.startAngle&&null!=r.endAngle&&r.startAngle===r.endAngle&&(t.style.fill="none",t.style.stroke="none",(0,g.each)(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var U=function(){},X=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return(0,o.C6)(e,t),e.prototype.getDefaultShape=function(){return new U},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[i]=s,a[r]=n[l+2],o[i]=n[l+i],o[r]=n[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(d.Ay);function j(t,e,n,i){var r=t.getData(),o=+!!r.getLayout("valueAxisHorizontal"),a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints"),h=i?(0,c.i2)(t):0;if(u){var p=new X({shape:{points:u},incremental:h,silent:!0,z2:0});p.baseDimIdx=o,p.largeDataIndices=a,p.barWidth=s,p.useStyle(l.getItemStyle()),e.add(p),n&&n.push(p)}var d=new X({shape:{points:r.getLayout("largePoints")},incremental:h,ignoreCoarsePointer:!0,z2:1});d.baseDimIdx=o,d.largeDataIndices=a,d.barWidth=s,e.add(d),d.useStyle(r.getVisual("style")),d.style.stroke=null,(0,x.z)(d).seriesIndex=t.seriesIndex,t.get("silent")||(d.on("mousedown",q),d.on("mousemove",q)),n&&n.push(d)}var q=(0,S.nF)(function(t){var e=function(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,h=o.length/3;c<h;c++){var p=3*c;if(l[i]=u,l[r]=o[p+2],s[i]=o[p+i],s[r]=o[p+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return -1}(this,t.offsetX,t.offsetY);(0,x.z)(this).dataIndex=e>=0?e:null},30,!1);function $(t,e,n){if((0,C.g)(n,"cartesian2d")){var i=n.getArea();return{x:t?e.x:i.x,y:t?i.y:e.y,width:t?e.width:i.width,height:t?i.height:e.height}}var i=n.getArea();return{cx:i.cx,cy:i.cy,r0:t?i.r0:e.r0,r:t?i.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}}function Q(t){t.registerChartView(B),t.registerSeriesModel(p),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,(0,i.Md)(h.f4)),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,(0,i.KF)(h.f4)),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(0,r.A)(h.f4)),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)})}),(0,i.Jo)(t)}},LV(t,e,n){var i={};n.d(e,{},{Z:function(t){return i[t]},m:function(t,e){i[t]=e}})},qaX(t,e,n){var i=n("i4"),r=n("iY"),o=n("xy"),a=n("up"),s=n("kU"),l=n("jZ"),u=n("W5"),c=n("LP"),h=n("F4"),p=n("MB"),d=n("g8w"),f=["fromSymbol","toSymbol"];function g(t){return"_"+t+"Type"}function y(t,e,n){var i=e.getItemVisual(n,t);if(!i||"none"===i)return i;var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),s=e.getItemVisual(n,t+"Offset"),l=e.getItemVisual(n,t+"KeepAspect"),u=a.xU(r),c=a.hV(s||0,u);return i+u+c+(o||"")+(l||"")}function v(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),s=e.getItemVisual(n,t+"Offset"),l=e.getItemVisual(n,t+"KeepAspect"),u=a.xU(r),c=a.hV(s||0,u),h=a.v5(i,-u[0]/2+c[0],-u[1]/2+c[1],u[0],u[1],null,l);return h.__specifiedRotation=null==o||isNaN(o)?void 0:o*Math.PI/180||0,h.name=t,h}}function m(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=0/0,t.cpy1=0/0)}e.A=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return(0,i.C6)(e,t),e.prototype._createLine=function(t,e,n){var i,o=t.hostModel,a=t.getItemLayout(e),l=t.getItemVisual(e,"z2"),c=(m((i=new s.A({name:"line",subPixelOptimize:!0})).shape,a),i);c.shape.percent=0,u.LW(c,{z2:(0,r.retrieve2)(l,0),shape:{percent:1}},o,e),this.add(c),(0,r.each)(f,function(n){var i=v(n,t,e);this.add(i),this[g(n)]=y(n,t,e)},this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,o=this.childOfName("line"),a=t.getItemLayout(e),s={shape:{}};m(s.shape,a),u.oi(o,s,i,e),(0,r.each)(f,function(n){var i=y(n,t,e),r=g(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=v(n,t,e);this.add(o)}this[r]=i},this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,o=this.childOfName("line"),a=n&&n.emphasisLineStyle,s=n&&n.blurLineStyle,l=n&&n.selectLineStyle,u=n&&n.labelStatesModels,g=n&&n.emphasisDisabled,y=n&&n.focus,v=n&&n.blurScope;if(!n||t.hasItemOption){var m=t.getItemModel(e),_=m.getModel("emphasis");a=_.getModel("lineStyle").getLineStyle(),s=m.getModel(["blur","lineStyle"]).getLineStyle(),l=m.getModel(["select","lineStyle"]).getLineStyle(),g=_.get("disabled"),y=_.get("focus"),v=_.get("blurScope"),u=(0,h.lx)(m)}var x=t.getItemVisual(e,"style"),b=x.stroke;o.useStyle(x),o.style.fill=null,o.style.strokeNoScale=!0,o.ensureState("emphasis").style=a,o.ensureState("blur").style=s,o.ensureState("select").style=l,(0,r.each)(f,function(t){var e=this.childOfName(t);if(e){e.setColor(b),e.style.opacity=x.opacity;for(var n=0;n<c.BV.length;n++){var i=c.BV[n],r=o.getState(i);if(r){var a=r.style||{},s=e.ensureState(i),l=s.style||(s.style={});null!=a.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}e.markRedraw()}},this);var w=i.getRawValue(e);(0,h.qM)(this,u,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:b||d.A.color.neutral99,defaultOpacity:x.opacity,defaultText:(null==w?t.getName(e):isFinite(w)?(0,p.LI)(w,10):w)+""});var S=this.getTextContent();if(S){var A=u.normal;S.__align=S.style.align,S.__verticalAlign=S.style.verticalAlign,S.__position=A.get("position")||"middle";var M=A.get("distance");(0,r.isArray)(M)||(M=[M,M]),S.__labelDistance=M}this.setTextConfig({position:null,local:!0,inside:!1}),(0,c.Lm)(this,y,v,g)},e.prototype.highlight=function(){(0,c.HY)(this)},e.prototype.downplay=function(){(0,c.SD)(this)},e.prototype.updateLayout=function(t,e){this.childOfName("line").stopAnimation(),this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");m(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this.childOfName("fromSymbol"),e=this.childOfName("toSymbol"),n=this.getTextContent();if(t||e||n&&!n.ignore){for(var i=1,r=this.parent;r;)r.scaleX&&(i/=r.scaleX),r=r.parent;var a=this.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=o.sub([],u,l);if(o.normalize(c,c),t&&(t.setPosition(l),S(t,0),t.scaleX=t.scaleY=i*s,t.markRedraw()),e&&(e.setPosition(u),S(e,1),e.scaleX=e.scaleY=i*s,e.markRedraw()),n&&!n.ignore){n.x=n.y=0,n.originX=n.originY=0;var h=void 0,p=void 0,d=n.__labelDistance,f=d[0]*i,g=d[1]*i,y=s/2,v=a.tangentAt(y),m=[v[1],-v[0]],_=a.pointAt(y);m[1]>0&&(m[0]=-m[0],m[1]=-m[1]);var x=v[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var b=-Math.atan2(v[1],v[0]);u[0]<l[0]&&(b=Math.PI+b),n.rotation=b}var w=void 0;switch(n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-g,p="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=g,p="top";break;default:w=0,p="middle"}switch(n.__position){case"end":n.x=c[0]*f+u[0],n.y=c[1]*g+u[1],h=c[0]>.8?"left":c[0]<-.8?"right":"center",p=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":n.x=-c[0]*f+l[0],n.y=-c[1]*g+l[1],h=c[0]>.8?"right":c[0]<-.8?"left":"center",p=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=f*x+l[0],n.y=l[1]+w,h=v[0]<0?"right":"left",n.originX=-f*x,n.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=_[0],n.y=_[1]+w,h="center",n.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-f*x+u[0],n.y=u[1]+w,h=v[0]>=0?"right":"left",n.originX=f*x,n.originY=-w}n.scaleX=n.scaleY=i,n.setStyle({verticalAlign:n.__verticalAlign||p,align:n.__align||h})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(l.A)},mI(t,e,n){var i=n("jZ"),r=n("uf"),o=n("qaX"),a=n("F4");function s(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:(0,a.lx)(e)}}function l(t){return isNaN(t[0])||isNaN(t[1])}function u(t){return t&&!l(t[0])&&!l(t[1])}e.A=function(){function t(t){this.group=new i.A,this._LineCtor=t||o.A}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this.group,i=this._lineData;this._lineData=t,i||n.removeAll();var r=s(t);t.diff(i).add(function(n){e._doAdd(t,n,r)}).update(function(n,o){e._doUpdate(i,t,o,n,r)}).remove(function(t){n.remove(i.getItemGraphicEl(t))}).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=s(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){var e;t.isGroup||(e=t).animators&&e.animators.length>0||(t.incremental=n,t.ensureState("emphasis").hoverLayer=r.HOVER_LAYER_FOR_INCREMENTAL)}this._progressiveEls=[];for(var o=t.start;o<t.end;o++)if(u(e.getItemLayout(o))){var a=new this._LineCtor(e,o,this._seriesScope);a.traverse(i),this.group.add(a),e.setItemGraphicEl(o,a),this._progressiveEls.push(a)}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){r.traverseElements(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){if(u(t.getItemLayout(e))){var i=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,i),this.group.add(i)}},t.prototype._doUpdate=function(t,e,n,i,r){var o=t.getItemGraphicEl(n);u(e.getItemLayout(i))?(o?o.updateData(e,i,r):o=new this._LineCtor(e,i,r),e.setItemGraphicEl(i,o),this.group.add(o)):this.group.remove(o)},t}()},kU(t,e,n){var i=n("i4"),r=n("xz"),o=n("QO"),a=n("Pk"),s=n("xy"),l=n("g8w"),u=r.A.prototype,c=o.A.prototype,h=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function p(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}(0,i.C6)(function(){return null!==h&&h.apply(this,arguments)||this},h),e.A=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:l.A.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){p(e)?u.buildPath.call(this,t,e):c.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return p(this.shape)?u.pointAt.call(this,t):c.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=p(e)?[e.x2-e.x1,e.y2-e.y1]:c.tangentAt.call(this,t);return s.normalize(n,n)},e}(a.Ay)},yw(t,e,n){var i=n("i4"),r=n("up"),o=n("jZ"),a=n("W5"),s=n("FL"),l=n("LP"),u=n("g2"),c=n("iY"),h=n("F4"),p=n("s5");function d(t,e){this.parent.drift(t,e)}e.A=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return(0,i.C6)(e,t),e.prototype._createSymbol=function(t,e,n,i,o,a){this.removeAll();var s=(0,r.v5)(t,-1,-1,2,2,null,a);s.attr({z2:(0,c.retrieve2)(o,100),culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=d,this._symbolType=t,this.add(s)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){(0,l.HY)(this.childAt(0))},e.prototype.downplay=function(){(0,l.SD)(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",s=t.hostModel,l=e.getSymbolSize(t,n),u=e.getSymbolZ2(t,n),c=o!==this._symbolType,h=r&&r.disableAnimation;if(c){var p=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,l,u,p)}else{var d=this.childAt(0);d.silent=!1;var f={scaleX:l[0]/2,scaleY:l[1]/2};h?d.attr(f):a.oi(d,f,s,n),(0,a.ap)(d)}if(this._updateCommon(t,n,l,i,r),c){var d=this.childAt(0);if(!h){var f={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,a.LW(d,f,s,n)}}h&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,o){var a,s,d,f,g,y,v,m,_,x=this.childAt(0),b=t.hostModel;if(i&&(a=i.emphasisItemStyle,s=i.blurItemStyle,d=i.selectItemStyle,f=i.focus,g=i.blurScope,v=i.labelStatesModels,m=i.hoverScale,_=i.cursorStyle,y=i.emphasisDisabled),!i||t.hasItemOption){var w=i&&i.itemModel?i.itemModel:t.getItemModel(e),S=w.getModel("emphasis");a=S.getModel("itemStyle").getItemStyle(),d=w.getModel(["select","itemStyle"]).getItemStyle(),s=w.getModel(["blur","itemStyle"]).getItemStyle(),f=S.get("focus"),g=S.get("blurScope"),y=S.get("disabled"),v=(0,h.lx)(w),m=S.getShallow("scale"),_=w.getShallow("cursor")}var A=t.getItemVisual(e,"symbolRotate");x.attr("rotation",(A||0)*Math.PI/180||0);var M=(0,r.hV)(t.getItemVisual(e,"symbolOffset"),n);M&&(x.x=M[0],x.y=M[1]),_&&x.attr("cursor",_);var T=t.getItemVisual(e,"style"),C=T.fill;if(x instanceof p.Ay){var k=x.style;x.useStyle((0,c.extend)({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},T))}else x.__isEmptyBrush?x.useStyle((0,c.extend)({},T)):x.useStyle(T),x.style.decal=null,x.setColor(C,o&&o.symbolInnerColor),x.style.strokeNoScale=!0;var I=t.getItemVisual(e,"liftZ"),D=this._z2;null!=I?null==D&&(this._z2=x.z2,x.z2+=I):null!=D&&(x.z2=D,this._z2=null);var O=o&&o.useNameLabel;(0,h.qM)(x,v,{labelFetcher:b,labelDataIndex:e,defaultText:function(e){return O?t.getName(e):(0,u.i)(t,e)},inheritColor:C,defaultOpacity:T.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var L=x.ensureState("emphasis");L.style=a,x.ensureState("select").style=d,x.ensureState("blur").style=s;var P=null==m||!0===m?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;L.scaleX=this._sizeX*P,L.scaleY=this._sizeY*P,this.setSymbolScale(1),(0,l.Lm)(this,f,g,y)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=(0,s.z)(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var l=i.getTextContent();l&&a.Nz(l,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();a.Nz(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return(0,r.xU)(t.getItemVisual(e,"symbolSize"))},e.getSymbolZ2=function(t,e){return t.getItemVisual(e,"z2")},e}(o.A)},Hp(t,e,n){var i=n("jZ"),r=n("W5"),o=n("uf"),a=n("yw"),s=n("iY"),l=n("F4");function u(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i&&i.isIgnore&&i.isIgnore(n))&&!(i&&i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function c(t){return null==t||(0,s.isObject)(t)||(t={isIgnore:t}),t||{}}function h(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:(0,l.lx)(e),cursorStyle:e.get("cursor")}}function p(t,e,n,i,r,o,a){var s=new t(e,n,i,r);return s.setPosition(o),e.setItemGraphicEl(n,s),a.add(s),s}e.A=function(){function t(t){this.group=new i.A,this._SymbolCtor=t||a.A}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=c(e);var n=this.group,i=t.hostModel,o=this._data,a=this._SymbolCtor,s=e.disableAnimation,l=this._seriesScope=h(t),d={disableAnimation:s},f=e.getSymbolPoint||function(e){return t.getItemLayout(e)};o||n.removeAll(),t.diff(o).add(function(i){var r=f(i);u(t,r,i,e)&&p(a,t,i,l,d,r,n)}).update(function(c,h){var p=o.getItemGraphicEl(h),g=f(c);if(!u(t,g,c,e))return void n.remove(p);var y=t.getItemVisual(c,"symbol")||"circle",v=p&&p.getSymbolType&&p.getSymbolType();if(!p||v&&v!==y)n.remove(p),(p=new a(t,c,l,d)).setPosition(g);else{p.updateData(t,c,l,d);var m={x:g[0],y:g[1]};s?p.attr(m):r.oi(p,m,i)}n.add(p),t.setItemGraphicEl(c,p)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)},i)}).execute(),this._getSymbolPoint=f,this._data=t},t.prototype.updateLayout=function(t){var e=this._data;if(e)for(var n=e.getStore(),i=0,r=n.count();i<r;i++){var o=e.getItemGraphicEl(i),a=this._getSymbolPoint(i);u(e,a,i,t)?((o=o||p(this._SymbolCtor,e,i,this._seriesScope,{disableAnimation:!0},a,this.group)).stopAnimation(),o.setPosition(a),o.markRedraw()):o&&(this.group.remove(o),e.setItemGraphicEl(i,null))}},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=h(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n,i){function r(t){t.isGroup||(t.incremental=n,t.ensureState("emphasis").hoverLayer=o.HOVER_LAYER_FOR_INCREMENTAL)}this._progressiveEls=[],i=c(i);for(var a=t.start;a<t.end;a++){var s=e.getItemLayout(a);if(u(e,s,a,i)){var l=new this._SymbolCtor(e,a,this._seriesScope);l.traverse(r),l.setPosition(s),this.group.add(l),e.setItemGraphicEl(a,l),this._progressiveEls.push(l)}}},t.prototype.eachRendered=function(t){o.traverseElements(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)},n.hostModel)}):e.removeAll()},t}()},XS(t,e,n){n.d(e,{N$:()=>p,sH:()=>g,fm:()=>d,Vz:()=>f});var i=n("lN"),r=n("sn"),o=n("iY"),a=n("MB"),s=n("Fy4"),l=n("YG");function u(t,e,n){var i,u=(0,o.createHashMap)(),h=n.serUids,p=n.liPosMinGap,d=e.axis,f=d.scale,g=f.needTransform(),y=f.getFilter?f.getFilter():null,v=(0,s.$6)(y);function m(n){(0,r.B_)(t,e.sers,function(t){var e=t.getRawData(),i=e.getDimensionIndex(e.mapDimension(d.dim));i>=0&&n(i,t,e.getStore())})}var _=0;if(m(function(t,e,n){u.set(e.uid,1),h&&h.hasKey(e.uid)||(i=!0),_+=n.count()}),h&&h.keys().length===u.keys().length||(i=!0),!i&&null!=p){e.liPosMinGap=p;return}(0,l.Zi)(c,_);var x=0;m(function(t,e,n){for(var i=0,r=n.count();i<r;++i){var o=n.get(t,i);isFinite(o)&&(!y||(0,s.V7)(v,o))&&(g&&(o=f.transformIn(o,null)),c.arr[x++]=o)}});var b=c.typed?c.arr.subarray(0,x):(c.arr.length=x,c.arr);c.typed?b.sort():(0,a.Y6)(b);for(var w=1/0,S=1;S<x;++S){var A=b[S]-b[S-1];A>0&&A<w&&(w=A)}n.liPosMinGap=e.liPosMinGap=(0,a.YC)(w)?w:x>0?r.e2:r.Lc,n.serUids=u}var c=(0,l.Zi)({ctor:l.MO},50),h=n("x2");function p(t){return function(e,n){var r=(0,i.D)(e,{fromStat:{key:t}});if((0,a.YC)(r.w2))return[-r.w2/2,r.w2/2]}}function d(t){return t+r.V0}function f(t,e){return t+r.V0+e}function g(t){return(0,r.wW)("liPosMinGap",u),{liPosMinGap:!(0,h.wl)(t.scale)}}},hHP(t,e,n){var i=n("Vb"),r=n("W5"),o=n("Qz"),a=n("MB"),s=n("iY");function l(t,e,n,o,a){var l=t.getArea(),u=l.x,c=l.y,h=l.width,p=l.height,d=n.get(["lineStyle","width"])||0;u-=d/2,c-=d/2,h+=d,p+=d,h=Math.ceil(h),u!==Math.floor(u)&&(u=Math.floor(u),h++);var f=new i.A({shape:{x:u,y:c,width:h,height:p}});if(e){var g=t.getBaseAxis(),y=g.isHorizontal(),v=g.inverse;y?(v&&(f.shape.x+=h),f.shape.width=0):(v||(f.shape.y+=p),f.shape.height=0);var m=(0,s.isFunction)(a)?function(t){a(t,f)}:null;r.LW(f,{shape:{width:h,height:p,x:u,y:c}},n,null,o,m)}return f}function u(t,e,n){var i=t.getArea(),s=(0,a.LI)(i.r0,1),l=(0,a.LI)(i.r,1),u=new o.A({shape:{cx:(0,a.LI)(t.cx,1),cy:(0,a.LI)(t.cy,1),r0:s,r:l,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return e&&("angle"===t.getBaseAxis().dim?u.shape.endAngle=i.startAngle:u.shape.r=s,r.LW(u,{shape:{endAngle:i.endAngle,r:l}},n)),u}n.d(e,{},{Ip:function(t,e,n,i,r){if(t){if("polar"===t.type)return u(t,e,n);else if("cartesian2d"===t.type)return l(t,e,n,i,r)}return null},Mi:u,SM:l,UW:0,VO:1,Xu:2,YQ:function(t){var e=t.coordinateSystem;if(t.get("clip",!0)&&e&&(!e.shouldClip||e.shouldClip()))return e.getArea&&e.getArea(.1)},b7:function(t,e,n){t?e.setClipPath(n):e.removeClipPath()}})},yM(t,e,n){var i=n("xN");n.d(e,{},{A:function(){var t=(0,i.$r)();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!!(i&&i.large),s=n.progressiveRender=!!(i&&i.progressiveRender);return(r!==a||o!==s)&&"reset"}}})},hy(t,e,n){n.d(e,{A:()=>y});var i=n("iY"),r=n("oo"),o=n("CG"),a=n("B6"),s=n("xN"),l=n("Ww"),u=function(t){this.coordSysDims=[],this.axisMap=(0,i.createHashMap)(),this.categoryAxisMap=(0,i.createHashMap)(),this.coordSysName=t},c={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",s.US).models[0],o=t.getReferringComponents("yAxis",s.US).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),h(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),h(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",s.US).models[0];e.coordSysDims=["single"],n.set("single",r),h(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",s.US).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),h(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),h(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,i.each)(a.parallelAxisIndex,function(t,i){var a=o.getComponent("parallelAxis",t),l=s[i];n.set(l,a),h(a)&&(r.set(l,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=i))})},matrix:function(t,e,n,i){var r=t.getReferringComponents("matrix",s.US).models[0];e.coordSysDims=["x","y"];var o=r.getDimensionModel("x"),a=r.getDimensionModel("y");n.set("x",o),n.set("y",a),i.set("x",o),i.set("y",a)}};function h(t){return"category"===t.get("type")}var p=n("oa"),d=n("pE"),f=n("rk"),g=n("No"),y=function(t,e,n){n=n||{};var h,y,v,m,_,x,b,w,S=e.getSourceManager(),A=!1;t?(A=!0,w=(0,p.AF)(t)):A=(w=S.getSource()).sourceFormat===g.mK;var M=function(t){var e=t.get("coordinateSystem"),n=new u(e),i=c[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),T=(y=e.get("coordinateSystem"),v=l.Ay.get(y),M&&M.coordSysDims&&(h=i.map(M.coordSysDims,function(t){var e={name:t},n=M.axisMap.get(t);if(n){var i=n.get("type");e.type=(0,a.B)(i)}return e})),h||(h=v&&(v.getDimensionsInfo?v.getDimensionsInfo():v.dimensions.slice())||["x","y"]),h),C=n.useEncodeDefaulter,k=i.isFunction(C)?C:C?i.curry(f.OC,T,e):null,I={coordDimensions:T,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:k,canOmitUnusedDimensions:!A},D=(0,o.A)(w,I),O=(m=D.dimensions,_=n.createInvertedIndices,M&&i.each(m,function(t,e){var n=t.coordDim,i=M.categoryAxisMap.get(n);i&&(null==x&&(x=e),t.ordinalMeta=i.getOrdinalMeta(),_&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(b=!0)}),b||null==x||(m[x].otherDims.itemName=0),x),L=A?null:S.getSharedDataStore(D),P=(0,d.iJ)(e,{schema:D,store:L}),R=new r.A(D,e);R.setCalculationInfo(P);var B=null!=O&&function(t){if(t.sourceFormat===g.mK){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!i.isArray((0,s.vj)(e))}}(w)?function(t,e,n,i){return i===O?n:this.defaultDimValueGetter(t,e,n,i)}:null;return R.hasItemOption=!1,R.initData(A?w:L,null,B),R}},g2(t,e,n){var i=n("iL"),r=n("iY");n.d(e,{},{T:function(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!(0,r.isArray)(e))return e+"";for(var i=[],o=0;o<n.length;o++){var a=t.getDimensionIndex(n[o]);a>=0&&i.push(e[a])}return i.join(" ")},i:function(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var o=(0,i.QE)(t,e,n[0]);return null!=o?o+"":null}if(r){for(var a=[],s=0;s<n.length;s++)a.push((0,i.QE)(t,e,n[s]));return a.join(" ")}}})},Z0(t,e,n){var i=n("iY"),r=n("KO");n.d(e,{},{i:function(t,e,n){var o=t.get("borderRadius");if(null==o)return n?{cornerRadius:0}:null;(0,i.isArray)(o)||(o=[o,o,o,o]);var a=Math.abs(e.r||0-e.r0||0);return{cornerRadius:(0,i.map)(o,function(t){return(0,r.lo)(t,a)})}}})},K1(t,e,n){var i=n("pE"),r=n("iY");n.d(e,{},{$F:function(t,e){return!isFinite(t)||!isFinite(e)},t6:function(t,e,n){var o,a,s,l,u=t.getBaseAxis(),c=t.getOtherAxis(u),h=(o=c,a=n,s=0,l=o.scale.getExtent(),"start"===a?s=l[0]:"end"===a?s=l[1]:(0,r.isNumber)(a)&&!isNaN(a)?s=a:l[0]>0?s=l[0]:l[1]<0&&(s=l[1]),s),p=u.dim,d=c.dim,f=e.mapDimension(d),g=e.mapDimension(p),y=+("x"===d||"radius"===d),v=(0,r.map)(t.dimensions,function(t){return e.mapDimension(t)}),m=!1,_=e.getCalculationInfo("stackResultDimension");return(0,i.sJ)(e,v[0])&&(m=!0,v[0]=_),(0,i.sJ)(e,v[1])&&(m=!0,v[1]=_),{dataDimsForPoint:v,valueStart:h,valueAxisDim:d,baseAxisDim:p,stacked:!!m,valueDim:f,baseDim:g,baseDataOffset:y,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}},tk:function(t,e,n,i){var r=0/0;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}})},R4(t,e,n){n.d(e,{a:()=>Y});var i=n("i4"),r=n("hy"),o=n("yd"),a=n("up"),s=n("jZ"),l=n("g8w"),u=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return(0,i.C6)(e,t),e.prototype.getInitialData=function(t){return(0,r.A)(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new s.A,n=(0,a.v5)("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,u=.8*t.itemHeight,c=(0,a.v5)(o,(t.itemWidth-u)/2,(t.itemHeight-u)/2,u,u,t.itemStyle.fill);return e.add(c),c.setStyle(t.itemStyle),c.rotation=("inherit"===t.iconRotate?r:t.iconRotate||0)*Math.PI/180,c.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(c.style.stroke=c.style.fill,c.style.fill=l.A.color.neutral00,c.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1,triggerEvent:!1},e}(o.A),c=n("iY"),h=n("Hp"),p=n("yw"),d=n("K1"),f=n("YG"),g=n("Up"),y=n("W5"),v=n("s2"),m=n("xN"),_=n("nM"),x=n("WN9"),b=n("hHP"),w=n("mR"),S=n("LP"),A=n("F4"),M=n("g2"),T=n("FL"),C=n("s7"),k=n("x4z"),I=n("LC");function D(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function O(t){for(var e=m.X1(),n=m.X1(),i=0;i<t.length;){var r=t[i++],o=t[i++];(0,d.$F)(r,o)||(m.vx(e,r),m.vx(n,o))}return[e,n]}function L(t,e){var n=O(t),i=n[0],r=n[1],o=O(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(r[0]-s[0]),Math.abs(i[1]-a[1]),Math.abs(r[1]-s[1]))}function P(t){return c.isNumber(t)?t:.5*!!t}function R(t,e,n,i,r){var o=n.getBaseAxis(),a=+("x"!==o.dim&&"radius"!==o.dim),s=[],l=0,u=[],c=[],h=[],p=[];if(r){for(l=0;l<t.length;l+=2){var f=e||t;(0,d.$F)(f[l],f[l+1])||p.push(t[l],t[l+1])}t=p}for(l=0;l<t.length-2;l+=2)switch(h[0]=t[l+2],h[1]=t[l+3],c[0]=t[l],c[1]=t[l+1],s.push(c[0],c[1]),i){case"end":u[a]=h[a],u[1-a]=c[1-a],s.push(u[0],u[1]);break;case"middle":var g=(c[a]+h[a])/2,y=[];u[a]=y[a]=g,u[1-a]=c[1-a],y[1-a]=h[1-a],s.push(u[0],u[1]),s.push(y[0],y[1]);break;default:u[a]=c[a],u[1-a]=h[1-a],s.push(u[0],u[1])}return s.push(t[l++],t[l++]),s}function B(t,e){return[t[2*e],t[2*e+1]]}function z(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<S.BV.length;e++)if(t.get([S.BV[e],"endLabel","show"]))return!0;return!1}function N(t,e,n,i){if(!(0,w.g)(e,"cartesian2d"))return(0,b.Mi)(e,n,i);var r=i.getModel("endLabel"),o=r.get("valueAnimation"),a=i.getData(),s={lastFrameIndex:0},l=z(i)?function(n,i){t._endLabelOnDuring(n,i,a,s,o,r,e)}:null,u=e.getBaseAxis().isHorizontal(),c=(0,b.SM)(e,n,i,function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})},l);if(!i.get("clip",!0)){var h=c.shape,p=Math.max(h.width,h.height);u?(h.y-=p,h.height+=2*p):(h.x-=p,h.width+=2*p)}return l&&l(1,c),c}var E=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.init=function(){var t=new s.A,e=new h.A;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t,this._changePolyState=c.bind(this._changePolyState,this)},e.prototype.render=function(t,e,n){var i,r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.getLayout("points")||[],h="polar"===r.type,v=this._coordSys,m=this._symbolDraw,_=this._polyline,x=this._polygon,b=this._lineGroup,w=!e.ssr&&t.get("animation"),A=!l.isEmpty(),M=l.get("origin"),O=(0,d.t6)(r,a,M),L=A&&function(t,e,n){if(null==n.valueDim)return[];for(var i=e.count(),r=(0,f.Jk)(2*i),o=0;o<i;o++){var a=(0,d.tk)(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(r,a,O),B=t.get("showSymbol"),z=t.get("connectNulls"),E=B&&!h&&function(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&!(r&&function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*p.A.getSymbolSize(e,a)[+!!t.isHorizontal()]>i)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return c.each(o.getViewLabels(),function(t){t.tick.offInterval||(s[(0,I.NQ)(o.scale,t.tick)]=1)}),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}(t,a,r),V=this._data;V&&V.eachItemGraphicEl(function(t,e){t.__temp&&(o.remove(t),V.setItemGraphicEl(e,null))}),B||m.remove(),o.add(b);var F=!h&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(i=r.getArea()).width?(i.x-=.1,i.y-=.1,i.width+=.2,i.height+=.2):i.r0&&(i.r0-=.5,i.r+=.5)),this._clipShapeForSymbol=i;var Y=function(t,e,n){var i,r,o=t.getVisual("visualMeta");if(o&&o.length&&t.count()){if("cartesian2d"!==e.type)return;for(var a=o.length-1;a>=0;a--){var s=t.getDimensionInfo(o[a].dimension);if("x"===(i=s&&s.coordDim)||"y"===i){r=o[a];break}}if(!r)return;var l=e.getAxis(i),u=c.map(r.stops,function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}}),h=u.length,p=r.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),p.reverse());var d=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord,r=(n-i)/(e.coord-i);return{coord:n,color:(0,k.lerp)(r,[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)n=l;else if(u>e){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}else n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}return r}(u,"x"===i?n.getWidth():n.getHeight()),f=d.length;if(!f&&h)return u[0].coord<0?p[1]?p[1]:u[h-1].color:p[0]?p[0]:u[0].color;var y=d[0].coord-10,v=d[f-1].coord+10,m=v-y;if(m<.001)return"transparent";c.each(d,function(t){t.offset=(t.coord-y)/m}),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var _=new g.A(0,0,0,0,d,!0);return _[i]=y,_[i+"2"]=v,_}}(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(_&&v.type===r.type&&F===this._step){A&&!x?x=this._newPolygon(u,L):x&&!A&&(b.remove(x),x=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,(0,C.he)(Y));var H=b.getClipPath();if(H){var W=N(this,r,!1,t);y.LW(H,{shape:W.shape},t)}else b.setClipPath(N(this,r,!0,t));B&&m.updateData(a,{isIgnore:E,clipShape:i,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),D(this._stackedOnPoints,L)&&D(this._points,u)||(w?this._doUpdateAnimation(a,L,r,n,F,M,z):(F&&(L&&(L=R(L,u,r,F,z)),u=R(u,null,r,F,z)),_.setShape({points:u}),x&&x.setShape({points:u,stackedOnPoints:L})))}else B&&m.updateData(a,{isIgnore:E,clipShape:i,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),w&&this._initSymbolLabelAnimation(a,r,i),F&&(L&&(L=R(L,u,r,F,z)),u=R(u,null,r,F,z)),_=this._newPolyline(u),A?x=this._newPolygon(u,L):x&&(b.remove(x),x=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,(0,C.he)(Y)),b.setClipPath(N(this,r,!0,t));var G=t.getModel("emphasis"),Z=G.get("focus"),U=G.get("blurScope"),X=G.get("disabled");_.useStyle(c.defaults(s.getLineStyle(),{fill:"none",stroke:Y,lineJoin:"bevel"})),(0,S.Mx)(_,t,"lineStyle"),_.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(_.getState("emphasis").style.lineWidth=+_.style.lineWidth+1),(0,T.z)(_).seriesIndex=t.seriesIndex,(0,S.Lm)(_,Z,U,X);var j=P(t.get("smooth")),q=t.get("smoothMonotone");if(_.setShape({smooth:j,smoothMonotone:q,connectNulls:z}),x){var $=a.getCalculationInfo("stackedOnSeries"),Q=0;x.useStyle(c.defaults(l.getAreaStyle(),{fill:Y,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),$&&(Q=P($.get("smooth"))),x.setShape({smooth:j,stackedOnSmooth:Q,smoothMonotone:q,connectNulls:z}),(0,S.Mx)(x,t,"areaStyle"),(0,T.z)(x).seriesIndex=t.seriesIndex,(0,S.Lm)(x,Z,U,X)}var J=this._changePolyState;a.eachItemGraphicEl(function(t){t&&(t.onHoverStateChange=J)}),this._polyline.onHoverStateChange=J,this._data=a,this._coordSys=r,this._stackedOnPoints=L,this._points=u,this._step=F,this._valueOrigin=M;var K=t.get("triggerEvent"),tt=t.get("triggerLineEvent");this.packEventData(t,_,!0===tt||!0===K||"line"===K),x&&this.packEventData(t,x,!0===tt||!0===K||"area"===K)},e.prototype.packEventData=function(t,e,n){(0,T.z)(e).eventData=n?{componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line",selfType:e===this._polygon?"area":"line"}:null},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=m.le(r,i);if(this._changePolyState("emphasis"),o instanceof Array||null==o||!(o>=0))x.A.prototype.highlight.call(this,t,e,n,i);else{var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if((0,d.$F)(l,u)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel")||0,h=t.get("z")||0;(s=new p.A(r,o)).x=l,s.y=u,s.setZ(c,h);var f=s.getSymbolPath().getTextContent();f&&(f.zlevel=c,f.z=h,f.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=m.le(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else x.A.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;(0,S.Pk)(this._polyline,t),e&&(0,S.Pk)(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new _.N({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new _.z({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");c.isFunction(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=c.isFunction(u)?u(null):u;t.eachItemGraphicEl(function(t,o){if(t){var s=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=e.pointToCoord(s);i?(p=n.startAngle,d=n.endAngle,f=-g[1]/180*Math.PI):(p=n.r0,d=n.r,f=g[0])}else i?(p=n.x,d=n.x+n.width,f=t.x):(p=n.y+n.height,d=n.y,f=t.y);var y=d===p?0:(f-p)/(d-p);a&&(y=1-y);var v=c.isFunction(u)?u(o):l*y+h,m=t.getSymbolPath(),_=m.getTextContent();t.attr({scaleX:0,scaleY:0}),t.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:v}),_&&_.animateFrom({style:{opacity:0}},{duration:300,delay:v}),m.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(z(t)){var r,o,a,s=t.getData(),l=this._polyline,u=s.getLayout("points");if(!u){l.removeTextContent(),this._endLabel=null;return}var c=this._endLabel;c||((c=this._endLabel=new v.Ay({z2:200})).ignoreClip=!0,l.setTextContent(this._endLabel),l.disableLabelAnimation=!0);var h=function(t){for(var e=t.length/2;e>0&&(0,d.$F)(t[2*e-2],t[2*e-1]);e--);return e-1}(u);h>=0&&((0,A.qM)(l,(0,A.lx)(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:h,defaultText:function(t,e,n){return null!=n?(0,M.T)(s,n):(0,M.i)(s,t)},enableTextSetter:!0},(o=(r=e.getBaseAxis()).isHorizontal(),a=r.inverse,{normal:{align:i.get("align")||(o?a?"right":"left":"center"),verticalAlign:i.get("verticalAlign")||(o?"middle":a?"top":"bottom")}})),l.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),p=o.get("precision"),f=o.get("distance")||0,g=a.getBaseAxis(),y=g.isHorizontal(),v=g.inverse,_=e.shape,x=v?y?_.x:_.y+_.height:y?_.x+_.width:_.y,b=(y?f:0)*(v?-1:1),w=(y?0:-f)*(v?-1:1),S=y?"x":"y",M=function(t,e,n){for(var i,r,o=t.length/2,a=+("x"!==n),s=0,l=-1,u=0;u<o;u++)if(r=t[2*u+a],!(0,d.$F)(r,t[2*u+1-a])){if(0===u){i=r;continue}if(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}return{range:[s,l],t:(e-i)/(r-i)}}(u,x,S),T=M.range,C=T[1]-T[0],k=void 0;if(C>=1){if(C>1&&!h){var I=B(u,T[0]);s.attr({x:I[0]+b,y:I[1]+w}),r&&(k=c.getRawValue(T[0]))}else{var I=l.getPointOn(x,S);I&&s.attr({x:I[0]+b,y:I[1]+w});var D=c.getRawValue(T[0]),O=c.getRawValue(T[1]);r&&(k=m.Il(n,p,D,O,M.t))}i.lastFrameIndex=T[0]}else{var L=1===t||i.lastFrameIndex>0?T[0]:0,I=B(u,L);r&&(k=c.getRawValue(L)),s.attr({x:I[0]+b,y:I[1]+w})}if(r){var P=(0,A.Lu)(s);"function"==typeof P.setLabelText&&P.setLabelText(k)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=function(t,e,n,i,r,o){for(var a,s=(a=[],e.diff(t).add(function(t){a.push({cmd:"+",idx:t})}).update(function(t,e){a.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){a.push({cmd:"-",idx:t})}).execute(),a),l=[],u=[],c=[],h=[],p=[],g=[],y=[],v=(0,d.t6)(r,e,o),m=t.getLayout("points")||[],_=e.getLayout("points")||[],x=0;x<s.length;x++){var b=s[x],w=!0,S=void 0,A=void 0;switch(b.cmd){case"=":S=2*b.idx,A=2*b.idx1;var M=m[S],T=m[S+1],C=_[A],k=_[A+1];(isNaN(M)||isNaN(T))&&(M=C,T=k),l.push(M,T),u.push(C,k),c.push(n[S],n[S+1]),h.push(i[A],i[A+1]),y.push(e.getRawIndex(b.idx1));break;case"+":var I=b.idx,D=v.dataDimsForPoint,O=r.dataToPoint([e.get(D[0],I),e.get(D[1],I)]);A=2*I,l.push(O[0],O[1]),u.push(_[A],_[A+1]);var L=(0,d.tk)(v,r,e,I);c.push(L[0],L[1]),h.push(i[A],i[A+1]),y.push(e.getRawIndex(I));break;case"-":w=!1}w&&(p.push(b),g.push(g.length))}g.sort(function(t,e){return y[t]-y[e]});for(var P=l.length,R=(0,f.Jk)(P),B=(0,f.Jk)(P),z=(0,f.Jk)(P),N=(0,f.Jk)(P),E=[],x=0;x<g.length;x++){var V=g[x],F=2*x,Y=2*V;R[F]=l[Y],R[F+1]=l[Y+1],B[F]=u[Y],B[F+1]=u[Y+1],z[F]=c[Y],z[F+1]=c[Y+1],N[F]=h[Y],N[F+1]=h[Y+1],E[x]=p[V]}return{current:R,next:B,stackedOnCurrent:z,stackedOnNext:N,status:E}}(this._data,t,this._stackedOnPoints,e,this._coordSys,this._valueOrigin),h=c.current,p=c.stackedOnCurrent,g=c.next,v=c.stackedOnNext;if(r&&(p=R(c.stackedOnCurrent,c.current,n,r,a),h=R(c.current,null,n,r,a),v=R(c.stackedOnNext,c.next,n,r,a),g=R(c.next,null,n,r,a)),L(h,g)>3e3||l&&L(p,v)>3e3){s.stopAnimation(),s.setShape({points:g}),l&&(l.stopAnimation(),l.setShape({points:g,stackedOnPoints:v}));return}s.shape.__points=c.current,s.shape.points=h;var m={shape:{points:g}};c.current!==h&&(m.shape.__points=c.next),s.stopAnimation(),y.oi(s,m,u),l&&(l.setShape({points:h,stackedOnPoints:p}),l.stopAnimation(),y.oi(l,{shape:{stackedOnPoints:v}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var _=[],x=c.status,b=0;b<x.length;b++)if("="===x[b].cmd){var w=t.getItemGraphicEl(x[b].idx1);w&&_.push({el:w,ptIdx:b})}s.animators&&s.animators.length&&s.animators[0].during(function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<_.length;e++){var n=_[e].el,i=2*_[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}})},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(x.A),V=n("NC"),F=n("LEV");function Y(t){t.registerChartView(E),t.registerSeriesModel(u),t.registerLayout((0,V.A)("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(0,F.A)("line"))}},nM(t,e,n){var i=n("i4"),r=n("Pk"),o=n("Ig"),a=n("mq"),s=n("g8w"),l=n("K1"),u=Math.min,c=Math.max;function h(t,e,n,i,r,o,a,s,h){for(var p,d,f,g,y,v,m=n,_=0;_<i;_++){var x=e[2*m],b=e[2*m+1];if(m>=r||m<0)break;if((0,l.$F)(x,b)){if(h){m+=o;continue}break}if(m===n)t[o>0?"moveTo":"lineTo"](x,b),f=x,g=b;else{var w=x-p,S=b-d;if(w*w+S*S<.5){m+=o;continue}if(a>0){for(var A=m+o,M=e[2*A],T=e[2*A+1];M===x&&T===b&&_<i;)_++,A+=o,m+=o,M=e[2*A],T=e[2*A+1],x=e[2*m],b=e[2*m+1],w=x-p,S=b-d;var C=_+1;if(h)for(;(0,l.$F)(M,T)&&C<i;)C++,A+=o,M=e[2*A],T=e[2*A+1];var k=.5,I=0,D=0,O=void 0,L=void 0;if(C>=i||(0,l.$F)(M,T))y=x,v=b;else{I=M-p,D=T-d;var P=x-p,R=M-x,B=b-d,z=T-b,N=void 0,E=void 0;if("x"===s){N=Math.abs(P),E=Math.abs(R);var V=I>0?1:-1;y=x-V*N*a,v=b,O=x+V*E*a,L=b}else if("y"===s){N=Math.abs(B),E=Math.abs(z);var F=D>0?1:-1;y=x,v=b-F*N*a,O=x,L=b+F*E*a}else N=Math.sqrt(P*P+B*B),y=x-I*a*(1-(k=(E=Math.sqrt(R*R+z*z))/(E+N))),v=b-D*a*(1-k),O=x+I*a*k,L=b+D*a*k,O=u(O,c(M,x)),L=u(L,c(T,b)),O=c(O,u(M,x)),L=c(L,u(T,b)),I=O-x,D=L-b,y=x-I*N/E,v=b-D*N/E,y=u(y,c(p,x)),v=u(v,c(d,b)),y=c(y,u(p,x)),v=c(v,u(d,b)),I=x-y,D=b-v,O=x+I*E/N,L=b+D*E/N}t.bezierCurveTo(f,g,y,v,x,b),f=O,g=L}else t.lineTo(x,b)}p=x,d=b,m+=o}return _}var p=function(){this.smooth=0,this.smoothConstraint=!0},d=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:s.A.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new p},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&(0,l.$F)(n[2*r-2],n[2*r-1]);r--);for(;i<r&&(0,l.$F)(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=h(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path.data,s=o.A.CMD,l="x"===e,u=[],c=0;c<r.length;){var h=r[c++],p=void 0,d=void 0,f=void 0,g=void 0,y=void 0,v=void 0,m=void 0;switch(h){case s.M:n=r[c++],i=r[c++];break;case s.L:if(p=r[c++],d=r[c++],(m=l?(t-n)/(p-n):(t-i)/(d-i))<=1&&m>=0){var _=l?(d-i)*m+i:(p-n)*m+n;return l?[t,_]:[_,t]}n=p,i=d;break;case s.C:p=r[c++],d=r[c++],f=r[c++],g=r[c++],y=r[c++],v=r[c++];var x=l?(0,a._E)(n,p,f,y,t,u):(0,a._E)(i,d,g,v,t,u);if(x>0)for(var b=0;b<x;b++){var w=u[b];if(w<=1&&w>=0){var _=l?(0,a.Yb)(i,d,g,v,w):(0,a.Yb)(n,p,f,y,w);return l?[t,_]:[_,t]}}n=y,i=v}}},e}(r.Ay),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e}(p),g=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new f},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&(0,l.$F)(n[2*o-2],n[2*o-1]);o--);for(;r<o&&(0,l.$F)(n[2*r],n[2*r+1]);r++);}for(;r<o;){var s=h(t,n,r,o,o,1,e.smooth,a,e.connectNulls);h(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(r.Ay);n.d(e,{},{N:d,z:g})},fk(t,e,n){n.d(e,{a:()=>B,Y:()=>z});var i=n("xNS"),r=n("i4"),o=n("hy"),a=n("yd"),s=n("g8w"),l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return(0,r.C6)(e,t),e.prototype.getInitialData=function(t,e){return(0,o.A)(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar","matrix"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:s.A.color.primary}},universalTransition:{divideShape:"clone"}},e}(a.A),u=n("Hp"),c=n("Y8"),h=n("Pk"),p=n("jZ"),d=n("up"),f=n("FL"),g=function(){},y=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return(0,r.C6)(e,t),e.prototype.getDefaultShape=function(){return new g},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.beforeBrush=function(t){t&&!t.contentRetained&&this.reset()},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l){this._ctx=s;return}for(this._ctx=null,n=this._off;n<i.length;){var c=i[n++],h=i[n++];!(isNaN(c)||isNaN(h))&&(!u||u.contain(c,h))&&(a.x=c-r[0]/2,a.y=h-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0))}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<n.length;){var a=n[t++],s=n[t++];!(isNaN(a)||isNaN(s))&&(!o||o.contain(a,s))&&r.fillRect(a-i[0]/2,s-i[1]/2,i[0],i[1])}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-o/2,c=i[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return -1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return(t=n[0],e=n[1],i.contain(t,e))?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h<n.length;){var p=n[h++],d=n[h++];a=Math.min(p,a),l=Math.max(p,l),s=Math.min(d,s),u=Math.max(d,u)}t=this._rect=new c.Ay(a-r/2,s-o/2,l-a+r,u-s+o)}return t},e}(h.Ay),v=function(){function t(){this.group=new p.A}return t.prototype.updateData=function(t,e){this._clear(),this._data=t;var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=this._data;if(e){var n=e.getLayout("points");this.group.eachChild(function(t){if(null!=t.startIndex){var e=(t.endIndex-t.startIndex)*2,i=4*t.startIndex*2;n=new Float32Array(n.buffer,i,e)}t.setShape("points",n),t.reset(),t.stopAnimation()})}},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n,i){var r=this._newAdded[0],o=e.getLayout("points"),a=r&&r.shape.points;if(a&&a.length<2e4){var s=a.length,l=new Float32Array(s+o.length);l.set(a),l.set(o,s),r.endIndex=t.end,r.setShape({points:l})}else{this._newAdded=[];var u=this._create();u.startIndex=t.start,u.endIndex=t.end,u.incremental=n,u.setShape({points:o}),this._setCommon(u,e,i)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new y({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=(0,d.v5)(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=(0,f.z)(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),m=n("NC"),_=n("WN9"),x=n("xN"),b=n("hHP"),w=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,S(t)),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),(0,x.i2)(e),S(e)),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished)return{update:!0};var r=(0,m.A)("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(S(t))},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new v:new u.A,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(_.A);function S(t){return{clipShape:(0,b.YQ)(t)}}var A=n("sZ"),M=n("lN"),T=n("Yx"),C=n("UGL"),k=n("dV"),I=n("x2"),D=(0,x.$r)();function O(t,e,n,i){if(t instanceof T.A&&"ordinal"!==t.scale.type)return n;var r,o,a,s,l,u,c,h,p,d,f,g,y,v=t.model,m=v.get("jitter");if(!(m>0))return n;var _=v.get("jitterOverlap"),x=v.get("jitterMargin")||0,b=(0,I.wl)(t.scale)?(0,M.D)(t).w:null;return _?L(n,m,b,i):(r=t,o=e,a=n,s=i,l=m,u=x,(c=D(r)).items||(c.items=[]),p=P(h=c.items,o,a,s,l,u,1),d=P(h,o,a,s,l,u,-1),f=Math.abs(p-a)<Math.abs(d-a)?p:d,g=(0,I.wl)(r.scale)?(0,M.D)(r).w:null,(y=Math.abs(f-a))>l/2||g&&y>g/2-s?L(a,l,g,s):(h.push({fixedCoord:o,floatCoord:f,r:s}),f))}function L(t,e,n,i){return null===n?t+(Math.random()-.5)*e:t+(Math.random()-.5)*Math.min(Math.max(0,e),n-2*i)}function P(t,e,n,i,r,o,a){for(var s=n,l=0;l<t.length;l++){var u=t[l],c=e-u.fixedCoord,h=s-u.floatCoord,p=c*c+h*h,d=i+u.r+o;if(p<d*d){var f=u.floatCoord+Math.sqrt(d*d-c*c)*a;if(Math.abs(f-n)>r/2)return Number.MAX_VALUE;if(1===a&&f>s||-1===a&&f<s){s=f,l=-1;continue}}}return s}var R=n("yM");function B(t){(0,i.Y)(A.a),t.registerSeriesModel(l),t.registerChartView(w),t.registerLayout((0,m.A)("scatter"))}function z(t){t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,{seriesType:"scatter",plan:(0,R.A)(),reset:function(t){var e,n,i,r,o,a,s=t.coordinateSystem;if(s&&(s.type===C.Tw||s.type===k.GN)){var l=s.getBaseAxis&&s.getBaseAxis();if(l&&(n=(e=t.coordinateSystem)&&e.type,r=(i=e&&e.getBaseAxis&&e.getBaseAxis())&&i.scale&&i.scale.type,o=n===C.Tw&&"ordinal"===r||n===k.GN,a=l.model.get("jitter")>0,o&&a)){var u=l.dim,c=l.orient,h="horizontal"===c&&"category"!==l.type||"vertical"===c&&"category"===l.type,p="y"===u||"single"===u&&h,d="x"===u||"single"===u&&!h;if(p||d)return{progress:function(t,e){for(var n=e.getLayout("points"),i=!!n,r=t.start;r<t.end;r++){var o=i?(r-t.start)*2:-1,a=i?[n[o],n[o+1]]:e.getItemLayout(r);if(a){var s=e.getItemVisual(r,"symbolSize"),u=s instanceof Array?(s[1]+s[0])/2:s;if(p){var c=O(l,a[0],a[1],u/2);i?n[o+1]=c:a[1]=c}else if(d){var c=O(l,a[1],a[0],u/2);i?n[o]=c:a[0]=c}}}}}}}}})}},hH(t,e,n){var i=n("iY"),r=n("jZ"),o=n("xz"),a=n("uf"),s=n("s2"),l=n("Vb"),u=n("FL"),c=n("F4"),h=n("Sk"),p=n("MB"),d=n("up"),f=n("AT"),g=n("xy"),y=n("LC"),v=n("EV"),m=n("xN"),_=n("Dx"),x=n("my"),b=n("xD"),w=n("Y8"),S=n("zM"),A=n("P7"),M=n("rG"),T=n("x2"),C=Math.PI,k=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],I=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],D=(0,m.$r)(),O=(0,m.$r)(),L=function(){function t(t){this.recordMap={},this.resolveAxisNameOverlap=t}return t.prototype.ensureRecord=function(t){var e=t.axis.dim,n=t.componentIndex,i=this.recordMap,r=i[e]||(i[e]=[]);return r[n]||(r[n]={ready:{}})},t}(),P=f.create(),R=new w.Ay(0,0,0,0),B=function(t,e,n,i,r,o){if((0,y.SS)(t.nameLocation)){var a=o.stOccupiedRect;a&&z((0,v.AS)({},a,o.transGroup.transform),i,r)}else N(o.labelInfoList,o.dirVec,i,r)};function z(t,e,n){var i=new S.A;(0,v.EA)(t,e,i,{direction:Math.atan2(n.y,n.x),bidirectional:!1,touchThreshold:.05})&&(0,v.Gm)(e,i)}function N(t,e,n,i){for(var r=S.A.dot(i,e)>=0,o=0,a=t.length;o<a;o++){var s=t[r?o:a-1-o];s.label.ignore||z(s,n,i)}}var E=function(){function t(t,e,n,i){this.group=new r.A,this._axisModel=t,this._api=e,this._local={},this._shared=i||new L(B),this._resetCfgDetermined(n)}return t.prototype.updateCfg=function(t){var e=this._cfg.raw;e.position=t.position,e.labelOffset=t.labelOffset,this._resetCfgDetermined(e)},t.prototype.__getRawCfg=function(){return this._cfg.raw},t.prototype._resetCfgDetermined=function(t){var e=this._axisModel,n=e.getDefaultOption?e.getDefaultOption():{},o=(0,i.retrieve2)(t.axisName,e.get("name")),a=e.get("nameMoveOverlap");(null==a||"auto"===a)&&(a=(0,i.retrieve2)(t.defaultNameMoveOverlap,!0));var s={raw:t,position:t.position,rotation:t.rotation,nameDirection:(0,i.retrieve2)(t.nameDirection,1),tickDirection:(0,i.retrieve2)(t.tickDirection,1),labelDirection:(0,i.retrieve2)(t.labelDirection,1),labelOffset:(0,i.retrieve2)(t.labelOffset,0),silent:(0,i.retrieve2)(t.silent,!0),axisName:o,nameLocation:(0,i.retrieve3)(e.get("nameLocation"),n.nameLocation,"end"),shouldNameMoveOverlap:!!o&&a,optionHideOverlap:e.get(["axisLabel","hideOverlap"]),showMinorTicks:e.get(["minorTick","show"])};this._cfg=s;var l=new r.A({x:s.position[0],y:s.position[1],rotation:s.rotation});l.updateTransform(),this._transformGroup=l;var u=this._shared.ensureRecord(e);u.transGroup=this._transformGroup,u.dirVec=new S.A(Math.cos(-s.rotation),Math.sin(-s.rotation))},t.prototype.build=function(t,e){var n=this;return t||(t={axisLine:!0,axisTickLabelEstimate:!1,axisTickLabelDetermine:!0,axisName:!0}),(0,i.each)(V,function(i){t[i]&&F[i](n._cfg,n._local,n._shared,n._axisModel,n.group,n._transformGroup,n._api,e||{})}),this},t.innerTextLayout=function(t,e,n){var i,r,o=(0,p._7)(e-t);return(0,p.dh)(o)?(r=n>0?"top":"bottom",i="center"):(0,p.dh)(o-C)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<C?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),V=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],F={axisLine:function(t,e,n,r,s,l,u){var c=r.get(["axisLine","show"]);if("auto"===c&&(c=!0,null!=t.raw.axisLineAutoShow&&(c=!!t.raw.axisLineAutoShow)),c){var h=r.axis.getExtent(),p=l.transform,f=[h[0],0],y=[h[1],0],v=f[0]>y[0];p&&((0,g.applyTransform)(f,f,p),(0,g.applyTransform)(y,y,p));var m=(0,i.extend)({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),x={strokeContainThreshold:t.raw.strokeContainThreshold||5,silent:!0,z2:1,style:m};if(r.get(["axisLine","breakLine"])&&(0,b.Bd)(r.axis.scale))(0,_.D)().buildAxisBreakLine(r,s,l,x);else{var w=new o.A((0,i.extend)({shape:{x1:f[0],y1:f[1],x2:y[0],y2:y[1]}},x));a.subPixelOptimizeLine(w.shape,w.style.lineWidth),w.anid="line",s.add(w)}var S=r.get(["axisLine","symbol"]);if(null!=S){var A=r.get(["axisLine","symbolSize"]);(0,i.isString)(S)&&(S=[S,S]),((0,i.isString)(A)||(0,i.isNumber)(A))&&(A=[A,A]);var M=(0,d.hV)(r.get(["axisLine","symbolOffset"])||0,A),T=A[0],C=A[1];(0,i.each)([{rotate:t.rotation+Math.PI/2,offset:M[0],r:0},{rotate:t.rotation-Math.PI/2,offset:M[1],r:Math.sqrt((f[0]-y[0])*(f[0]-y[0])+(f[1]-y[1])*(f[1]-y[1]))}],function(e,n){if("none"!==S[n]&&null!=S[n]){var i=(0,d.v5)(S[n],-T/2,-C/2,T,C,m.stroke,!0),r=e.r+e.offset,o=v?y:f;i.attr({rotation:e.rotate,x:o[0]+r*Math.cos(t.rotation),y:o[1]-r*Math.sin(t.rotation),silent:!0,z2:11}),s.add(i)}})}}},axisTickLabelEstimate:function(t,e,n,i,r,o,a,s){G(e,r,s)&&Y(t,e,n,i,r,o,a,M.fm.estimate)},axisTickLabelDetermine:function(t,e,n,r,o,a,s,l){G(e,o,l)&&Y(t,e,n,r,o,a,s,M.fm.determine);var u,c,h,p=function(t,e,n,r){var o=r.axis,a=r.getModel("axisTick"),s=a.get("show");if("auto"===s&&(s=!0,null!=t.raw.axisTickAutoShow&&(s=!!t.raw.axisTickAutoShow)),!s||o.scale.isBlank())return[];for(var l=a.getModel("lineStyle"),u=t.tickDirection*a.get("length"),c=W(o.getTicksCoords(),n.transform,u,(0,i.defaults)(l.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<c.length;h++)e.add(c[h]);return c}(t,o,a,r);u=t,c=e.labelLayoutList,h=p,u.showMinorTicks||(0,i.each)(c,function(t){if(t&&t.label.ignore)for(var e=0;e<h.length;e++){var n=h[e],i=O(n),r=D(t.label);if(null!=i.tickValue&&!i.onBand&&i.tickValue===r.labelInfo.tick.value)return void H(n)}}),function(t,e,n,r,o){var a=r.axis,s=r.getModel("minorTick");if(!(!t.showMinorTicks||a.scale.isBlank())){var l=a.getMinorTicksCoords();if(l.length)for(var u=s.getModel("lineStyle"),c=o*s.get("length"),h=(0,i.defaults)(u.getLineStyle(),(0,i.defaults)(r.getModel("axisTick").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})),p=0;p<l.length;p++)for(var d=W(l[p],n.transform,c,h,"minorticks_"+p),f=0;f<d.length;f++)e.add(d[f])}}(t,o,a,r,t.tickDirection)},axisName:function(t,e,n,r,o,l,h,d){var g,m,_=n.ensureRecord(r);e.nameEl&&(o.remove(e.nameEl),e.nameEl=_.nameLayout=_.nameLocation=null);var x=t.axisName;if(x){var b,w,A,M,T,D,O,L,P,R=t.nameLocation,B=t.nameDirection,z=r.getModel("nameTextStyle"),N=r.get("nameGap")||0,V=r.axis.getExtent(),F=r.axis.inverse?-1:1,Y=new S.A(0,0),H=new S.A(0,0);"start"===R?(Y.x=V[0]-F*N,H.x=-F):"end"===R?(Y.x=V[1]+F*N,H.x=F):(Y.x=(V[0]+V[1])/2,Y.y=t.labelOffset+B*N,H.y=B);var W=f.create();H.transform(f.rotate(W,W,t.rotation));var G=r.get("nameRotate");null!=G&&(G=G*C/180),(0,y.SS)(R)?g=E.innerTextLayout(t.rotation,null!=G?G:t.rotation,B):(b=t.rotation,w=R,A=G||0,M=V,O=(0,p._7)(A-b),L=M[0]>M[1],P="start"===w&&!L||"start"!==w&&L,(0,p.dh)(O-C/2)?(D=P?"bottom":"top",T="center"):(0,p.dh)(O-1.5*C)?(D=P?"top":"bottom",T="center"):(D="middle",T=O<1.5*C&&O>C/2?P?"left":"right":P?"right":"left"),g={rotation:O,textAlign:T,textVerticalAlign:D},null!=(m=t.raw.axisNameAvailableWidth)&&(isFinite(m=Math.abs(m/Math.sin(g.rotation)))||(m=null)));var Z=z.getFont(),U=r.get("nameTruncate",!0)||{},X=U.ellipsis,j=(0,i.retrieve)(t.raw.nameTruncateMaxWidth,U.maxWidth,m),q=d.nameMarginLevel||0,$=new s.Ay({x:Y.x,y:Y.y,rotation:g.rotation,silent:E.isLabelSilent(r),style:(0,c.VB)(z,{text:x,font:Z,overflow:"truncate",width:j,ellipsis:X,fill:z.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:z.get("align")||g.textAlign,verticalAlign:z.get("verticalAlign")||g.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:$,componentModel:r,itemName:x}),$.__fullText=x,$.anid="name",r.get("triggerEvent")){var Q=E.makeAxisEventDataBase(r);Q.targetType="axisName",Q.name=x,(0,u.z)($).eventData=Q}l.add($),$.updateTransform(),e.nameEl=$;var J=_.nameLayout=(0,v.jj)({label:$,priority:$.z2,defaultAttr:{ignore:$.ignore},marginDefault:(0,y.SS)(R)?k[q]:I[q]});if(_.nameLocation=R,o.add($),$.decomposeTransform(),t.shouldNameMoveOverlap&&J){var K=n.ensureRecord(r);n.resolveAxisNameOverlap(t,n,r,J,H,K)}}}};function Y(t,e,n,o,l,p,d,g){Z(e)||function(t,e,n,o,l,p){var d=l.axis,f=(0,i.retrieve)(t.raw.axisLabelShow,l.get(["axisLabel","show"])),g=new r.A;n.add(g);var v=(0,M.eP)(o);if(!f||d.scale.isBlank())return U(e,[],g,v);var m=l.getModel("axisLabel"),_=d.getViewLabels(v),b=((0,i.retrieve)(t.raw.labelRotate,m.get("rotate"))||0)*C/180,w=E.innerTextLayout(t.rotation,b,t.labelDirection),S=l.getCategories&&l.getCategories(!0),A=[],T=l.get("triggerEvent"),k=1/0,I=-1/0;(0,i.each)(_,function(t,e){var n,r=t.tick,o=t.formattedLabel,f=t.rawLabel,v=m,b=(0,y.NQ)(d.scale,r);if(S&&S[b]){var M=S[b];(0,i.isObject)(M)&&M.textStyle&&(v=new h.A(M.textStyle,m,l.ecModel))}var C=v.getTextColor()||l.get(["axisLine","lineStyle","color"]),O=v.getShallow("align",!0)||w.textAlign,L=(0,i.retrieve2)(v.getShallow("alignMinLabel",!0),O),P=(0,i.retrieve2)(v.getShallow("alignMaxLabel",!0),O),R=v.getShallow("verticalAlign",!0)||v.getShallow("baseline",!0)||w.textVerticalAlign,B=(0,i.retrieve2)(v.getShallow("verticalAlignMinLabel",!0),R),z=(0,i.retrieve2)(v.getShallow("verticalAlignMaxLabel",!0),R),N=10+((null==(n=r.time)?void 0:n.level)||0);k=Math.min(k,N),I=Math.max(I,N);var V=new s.Ay({x:0,y:0,rotation:0,silent:E.isLabelSilent(l),z2:N,style:(0,c.VB)(v,{text:o,align:0===e?L:e===_.length-1?P:O,verticalAlign:0===e?B:e===_.length-1?z:R,fill:(0,i.isFunction)(C)?C("category"===d.type?f:"value"===d.type?b+"":b,e):C})});V.anid="label_"+b;var F=D(V);if(F.labelInfo=t,F.layoutRotation=w.rotation,a.setTooltipConfig({el:V,componentModel:l,itemName:o,formatterParamsExtra:{isTruncated:function(){return V.isTruncated},value:f,tickIndex:e}}),T){var Y,H,W,G,Z=E.makeAxisEventDataBase(l);Z.targetType="axisLabel",Z.value=f,Z.tickIndex=e;var U=t.tick.break;if(U){var X=U.parsedBreak;Z.break={start:X.vmin,end:X.vmax}}"category"===d.type&&(Z.dataIndex=b),(0,u.z)(V).eventData=Z,U&&(Y=l,H=p,W=V,G=U,W.on("click",function(t){var e={type:x.vb,breaks:[{start:G.parsedBreak.breakOption.start,end:G.parsedBreak.breakOption.end}]};e[Y.axis.dim+"AxisIndex"]=Y.componentIndex,H.dispatchAction(e)}))}A.push(V),g.add(V)}),U(e,(0,i.map)(A,function(t){return{label:t,priority:D(t).labelInfo.tick.break?t.z2+(I-k+1):t.z2,defaultAttr:{ignore:t.ignore}}}),g,v)}(t,e,l,g,o,d);var m,S,k,I,O,L=e.labelLayoutList;m=t,S=o,k=L,I=p,O=S.get(["axisLabel","margin"]),(0,i.each)(k,function(t,e){var n=(0,v.jj)(t);if(n){var i=n.label,r=D(i);n.suggestIgnore=i.ignore,i.ignore=!1,(0,A.IT)(X,j);var o=S.axis;X.x=o.dataToCoord((0,y.NQ)(o.scale,r.labelInfo.tick)),X.y=m.labelOffset+m.labelDirection*O,X.rotation=r.layoutRotation,I.add(X),X.updateTransform(),I.remove(X),X.decomposeTransform(),(0,A.IT)(i,X),i.markRedraw(),(0,v.LC)(n,!0),(0,v.jj)(n)}}),function(t,e,n){var r=(0,b.mn)();if(r){var o=r.retrieveAxisBreakPairs(n,function(t){return t&&D(t.label).labelInfo.tick.break},!0),a=t.get(["breakLabelLayout","moveOverlap"],!0);(!0===a||"auto"===a)&&(0,i.each)(o,function(i){(0,_.D)().adjustBreakLabelPair(t.axis.inverse,e,[(0,v.jj)(n[i[0]]),(0,v.jj)(n[i[1]])])})}}(o,t.rotation,L);var B=t.optionHideOverlap;(function(t,e,n){var i=t.axis,r=t.get(["axisLabel","customValues"]);if(!(0,y.PJ)(i)){var o=t.get(["axisLabel","showMinLabel"]),a=t.get(["axisLabel","showMaxLabel"]),s=e.length;l(o,0,1),l(a,s-1,s-2)}function l(t,o,a){var s=(0,v.jj)(e[o]),l=(0,v.jj)(e[a]),u=i.scale;if(s&&l){if(null==t){if(!n&&r)return;var c=D(s.label).labelInfo.tick;if((0,T.oY)(u)&&c.notNice||(0,T.wl)(u)&&c.offInterval)return void H(s.label)}if(!1===t||s.suggestIgnore)return void H(s.label);if(l.suggestIgnore)return void H(l.label);if(!n){var h=[0,0,0,0];s=(0,v.PG)({marginForce:h},s),l=(0,v.PG)({marginForce:h},l)}(0,v.EA)(s,l,null,{touchThreshold:.1})&&(t?H(l.label):H(s.label))}}})(o,L,B),B&&(0,v.If)((0,i.filter)(L,function(t){return t&&!t.label.ignore})),function(t,e,n,r){var o,a=n.axis,s=e.ensureRecord(n),l=[],u=!!t.axisName&&(0,y.SS)(t.nameLocation);(0,i.each)(r,function(t){var e=(0,v.jj)(t);if(e&&!e.label.ignore){l.push(e);var n=s.transGroup;u&&(n.transform?f.invert(P,n.transform):f.identity(P),e.transform&&f.mul(P,P,e.transform),w.Ay.copy(R,e.localRect),R.applyTransform(P),o?o.union(R):w.Ay.copy(o=new w.Ay(0,0,0,0),R))}});var c=Math.abs(s.dirVec.x)>.1?"x":"y",h=s.transGroup[c];if(l.sort(function(t,e){return Math.abs(t.label[c]-h)-Math.abs(e.label[c]-h)}),u&&o){var p=a.getExtent(),d=Math.min(p[0],p[1]),g=Math.max(p[0],p[1])-d;o.union(new w.Ay(d,0,g,1))}s.stOccupiedRect=o,s.labelInfoList=l}(t,n,o,L)}function H(t){t&&(t.ignore=!0)}function W(t,e,n,i,r){for(var s=[],l=[],u=[],c=0;c<t.length;c++){var h=t[c].coord;l[0]=h,l[1]=0,u[0]=h,u[1]=n,e&&((0,g.applyTransform)(l,l,e),(0,g.applyTransform)(u,u,e));var p=new o.A({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:i,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(p.shape,p.style.lineWidth),p.anid=r+"_"+t[c].tickValue,s.push(p);var d=O(p);d.onBand=!!t[c].onBand,d.tickValue=t[c].tickValue}return s}function G(t,e,n){if(Z(t)){var i=t.axisLabelsCreationContext.out.noPxChangeTryDetermine;if(n.noPxChange){for(var r=!0,o=0;o<i.length;o++)r=r&&i[o]();if(r)return!1}i.length&&(e.remove(t.labelGroup),U(t,null,null,null))}return!0}function Z(t){return!!t.labelLayoutList}function U(t,e,n,i){t.labelLayoutList=e,t.labelGroup=n,t.axisLabelsCreationContext=i}var X=new l.A,j=new l.A;e.Ay=E,n.d(e,{},{RC:N,Z0:D,ts:L,x:B})},uJ(t,e,n){var i=n("i4"),r=n("VN"),o=n("BP"),a={};e.A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.render=function(e,n,i,o){this.axisPointerClass&&r.h_(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=r.mg(t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.A)},my(t,e,n){var i=n("xN"),r=n("iY"),o="expandAxisBreak",a="collapseAxisBreak",s="toggleAxisBreak",l="axisbreakchanged",u={type:o,event:l,update:"update",refineEvent:p},c={type:a,event:l,update:"update",refineEvent:p},h={type:s,event:l,update:"update",refineEvent:p};function p(t,e,n,i){var o=[];return(0,r.each)(t,function(t){o=o.concat(t.eventBreaks)}),{eventContent:{breaks:o}}}n.d(e,{},{C1:a,LR:s,OH:function(t){function e(t,e){var n=[],o=(0,i._e)(e,t);function a(e,i){(0,r.each)(o[e],function(e){var o=e.updateAxisBreaks(t);(0,r.each)(o.breaks,function(t){var o;n.push((0,r.defaults)(((o={})[i]=e.componentIndex,o),t))})})}return a("xAxisModels","xAxisIndex"),a("yAxisModels","yAxisIndex"),a("singleAxisModels","singleAxisIndex"),{eventBreaks:n}}t.registerAction(u,e),t.registerAction(c,e),t.registerAction(h,e)},vb:o})},Dx(t,e,n){var i=null;n.d(e,{},{D:function(){return i},G:function(t){i||(i=t)}})},VH(t,e,n){var i=n("iY"),r=n("Vb"),o=(0,n("xN").$r)();n.d(e,{},{V:function(t){o(t).splitAreaColors=null},Y:function(t,e,n,a){var s=n.axis;if(!s.scale.isBlank()){var l=n.getModel("splitArea"),u=l.getModel("areaStyle"),c=u.get("color"),h=a.coordinateSystem.getRect(),p=s.getTicksCoords({tickModel:l,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(p.length){var d=c.length,f=o(t).splitAreaColors,g=i.createHashMap(),y=0;if(f)for(var v=0;v<p.length;v++){var m=f.get(p[v].tickValue);if(null!=m){y=(m+(d-1)*v)%d;break}}var _=s.toGlobalCoord(p[0].coord),x=u.getAreaStyle();c=i.isArray(c)?c:[c];for(var v=1;v<p.length;v++){var b=s.toGlobalCoord(p[v].coord),w=void 0,S=void 0,A=void 0,M=void 0;s.isHorizontal()?(w=_,S=h.y,A=b-w,M=h.height,_=w+A):(w=h.x,S=_,A=h.width,M=b-S,_=S+M);var T=p[v-1].tickValue;null!=T&&g.set(T,y),e.add(new r.A({anid:null!=T?"area_"+T:null,shape:{x:w,y:S,width:A,height:M},style:i.defaults({fill:c[y]},x),autoBatch:!0,silent:!0})),y=(y+1)%d}o(t).splitAreaColors=g}}}})},vy(t,e,n){var i=n("iY"),r=n("jZ"),o=n("uf"),a=n("s2"),s=n("W5"),l=n("VN"),u=n("lX"),c=n("dd"),h=n("xN"),p=n("lN"),d=(0,h.$r)(),f=i.clone,g=i.bind;function y(t,e,n,r){!function t(e,n){if(!(i.isObject(e)&&i.isObject(n)))return e===n;var r=!0;return i.each(n,function(n,i){r=r&&t(e[i],n)}),!!r}(d(n).lastProp,r)&&(d(n).lastProp=r,e?s.oi(n,r,t):(n.stopAnimation(),n.attr(r)))}function v(t,e){t[e.get(["label","show"])?"show":"hide"]()}function m(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function _(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}e.A=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,o){var a=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,o||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s){l&&l.hide(),u&&u.hide();return}l&&l.show(),u&&u.show();var c={};this.makeElOption(c,a,t,e,n);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var p=this._moveAnimation=this.determineAnimation(t,e);if(l){var d=i.curry(y,e,p);this.updatePointerEl(l,c,d),this.updateLabelEl(l,c,d,e)}else l=this._group=new r.A,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),n.getZr().add(l);_(l,e,!0),this._renderHandle(a)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&(0,p.D)(i).w>a)return!0;if(o){var s=l.Yc(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var a=d(t).pointerEl=new o[r.type](f(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=d(t).labelEl=new a.Ay(f(e.label));t.add(r),v(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=d(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=d(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),v(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,r=this._api.getZr(),a=this._handle,s=n.getModel("handle"),l=n.get("status");if(!s.get("show")||!l||"hide"===l){a&&r.remove(a),this._handle=null;return}this._handle||(e=!0,a=this._handle=o.createIcon(s.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){u.ds(t.event)},onmousedown:g(this._onHandleDragMove,this,0,0),drift:g(this._onHandleDragMove,this),ondragend:g(this._onHandleDragEnd,this)}),r.add(a)),_(a,n,!1),a.setStyle(s.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var h=s.get("size");i.isArray(h)||(h=[h,h]),a.scaleX=h[0]/2,a.scaleY=h[1]/2,c.N(this,"_doDispatchAxisPointer",s.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){y(this._axisPointerModel,!e&&this._moveAnimation,this._handle,m(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(m(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(m(i)),d(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),c.IU(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}()},rR(t,e,n){var i=n("iY"),r=n("xN");n.d(e,{},{A:function(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=r.le(s,t);if(null==l||l<0||i.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)if(t.isStacked){var h=c.getBaseAxis(),p=c.getOtherAxis(h).dim,d=h.dim,f=+("x"===p||"radius"===p),g=s.mapDimension(d),y=[];y[f]=s.get(g,l),y[1-f]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=c.dataToPoint(y)||[]}else o=c.dataToPoint(s.getValues(i.map(c.dimensions,function(t){return s.mapDimension(t)}),l))||[];else if(u){var v=u.getBoundingRect().clone();v.applyTransform(u.transform),o=[v.x+v.width/2,v.y+v.height/2]}return{point:o,el:u}}})},vF3(t,e,n){var i=n("iY"),r=n("E3"),o=(0,n("xN").$r)(),a=i.each;function s(t,e,n){t.handler("leave",null,n)}function l(t,e,n,i){e.handler(t,n,i)}n.d(e,{},{h:function(t,e){if(!r.A.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}},k:function(t,e,n){if(!r.A.node){var u=e.getZr();o(u).records||(o(u).records={}),function(t,e){o(t).initialized||(o(t).initialized=!0,n("click",i.curry(l,"click")),n("mousemove",i.curry(l,"mousemove")),n("mousewheel",i.curry(l,"mousewheel")),n("globalout",s));function n(n,i){t.on(n,function(n){var r,s,l,u,c,h,p,d,f=(r=e,s={showTip:[],hideTip:[]},{dispatchAction:l=function(t){var e=s[t.type];e?e.push(t):(t.dispatchAction=l,r.dispatchAction(t))},pendings:s});a(o(t).records,function(t){t&&i(t,n,f.dispatchAction)}),u=f.pendings,c=e,p=u.showTip.length,d=u.hideTip.length,p?h=u.showTip[p-1]:d&&(h=u.hideTip[d-1]),h&&(h.dispatchAction=null,c.dispatchAction(h))})}}(u,e),(o(u).records[t]||(o(u).records[t]={})).handler=n}}})},Q9(t,e,n){n.d(e,{a:()=>I});var i=n("uJ"),r=n("i4"),o=n("vy"),a=n("lD"),s=n("sT"),l=n("MB"),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,l=o.grid,u=i.get("type"),p=o.getGlobalExtent(),d=c(l,o).getOtherAxis(o).getGlobalExtent(),f=o.toGlobalCoord(o.dataToCoord(e,!0));if(u&&"none"!==u){var g=a.bY(i),y=h[u](o,f,p,d,i.get("seriesDataIndices"),i.ecModel);y.style=g,t.graphicKey=y.type,t.pointer=y}var v=s.Zp(l.getRect(),n);a.DA(e,t,v,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=s.Zp(e.axis.grid.getRect(),e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=a.Tc(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=c(o,r).getOtherAxis(r).getGlobalExtent(),u=+("x"!==r.dim),h=[t.x,t.y];h[u]+=e[u],h[u]=(0,l.rp)(a[1],h[u]),h[u]=(0,l.JB)(a[0],h[u]);var p=(s[1]+s[0])/2,d=[p,p];return d[u]=h[u],{x:h[0],y:h[1],rotation:t.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][u]}},e}(o.A);function c(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var h={line:function(t,e,n,i){return{type:"Line",subPixelOptimize:!0,shape:a.MU([e,i[0]],[e,i[1]],p(t))}},shadow:function(t,e,n,i,r,o){var s=a.Z5(t,r,o),l=i[1]-i[0],u=a.YN(e,n,s),c=u[0],h=u[1];return{type:"Rect",shape:a.cU([c,i[0]],[h-c,l],p(t))}}};function p(t){return+("x"!==t.dim)}var d=n("wv"),f=n("g8w"),g=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:f.A.color.border,width:1,type:"dashed"},shadowStyle:{color:f.A.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:f.A.color.neutral00,padding:[5,7,5,7],backgroundColor:f.A.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:f.A.color.accent40,throttle:40}},e}(d.A),y=n("vF3"),v=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click|mousewheel";y.k("axisPointer",n,function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){y.h("axisPointer",e)},e.prototype.dispose=function(t,e){y.h("axisPointer",e)},e.type="axisPointer",e}(n("BP").A),m=n("iY"),_=n("VN"),x=n("xN"),b=n("rR"),w=(0,x.$r)();function S(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t.dispatchAction||(0,m.bind)(n.dispatchAction,n),a=e.getComponent("axisPointer").coordSysAxesInfo;if(a){k(r)&&(r=(0,b.A)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var s,l,u,c=k(r),h=t.axesInfo,p=a.axesInfo,d="leave"===i||k(r),f={},g={},y={list:[],map:{}},v={showPointer:(0,m.curry)(M,g),showTooltip:(0,m.curry)(T,y)};(0,m.each)(a.coordSysMap,function(t,e){var n=c||t.containPoint(r);(0,m.each)(a.coordSysAxesInfo[e],function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(h,t);if(!d&&n&&(!h||o)){var a=o&&o.value;null!=a||c||(a=i.pointToData(r)),null!=a&&A(t,a,v,!1,f)}})});var _={};return(0,m.each)(p,function(t,e){var n=t.linkGroup;n&&!g[e]&&(0,m.each)(n.axesInfo,function(e,i){var r=g[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,C(e),C(t)))),_[t.key]=o}})}),(0,m.each)(_,function(t,e){A(p[e],t,v,!0,f)}),s=g,l=p,u=f.axesInfo=[],(0,m.each)(l,function(t,e){var n=t.axisPointerModel.option,i=s[e];i?(t.useHandle||(n.status="show"),n.value=i.value,n.seriesDataIndices=(i.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&u.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),function(t,e,n,i){if(k(e)||!t.list.length)return i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(y,r,t,o),function(t,e){var n=e.getZr(),i="axisPointerLastHighlights",r=w(n)[i]||{},o=w(n)[i]={};(0,m.each)(t,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&(0,m.each)(n.seriesDataIndices,function(t){o[t.seriesIndex+"|"+t.dataIndex]=t})});var a=[],s=[];function l(t){return{seriesIndex:t.seriesIndex,dataIndex:t.dataIndex}}(0,m.each)(r,function(t,e){o[e]||s.push(l(t))}),(0,m.each)(o,function(t,e){r[e]||a.push(l(t))}),s.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),a.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:a})}(p,n),f}}function A(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e)){if(!t.involveSeries)return void n.showPointer(t,e);var a,s,u,c,h,p,d,f,g=(a=e,c=(u=(s=t).axis).dim,h=a,p=[],d=Number.MAX_VALUE,f=-1,(0,m.each)(s.seriesModels,function(t,e){var n,i,r=t.getData().mapDimensionsAll(c);if(t.getAxisTooltipData){var o=t.getAxisTooltipData(r,a,u);i=o.dataIndices,n=o.nestestValue}else{if(!(i=t.indicesOfNearest(c,r[0],a,"category"===u.type?.5:null)).length)return;n=t.getData().get(r[0],i[0])}if((0,l.YC)(n)){var s=a-n,g=Math.abs(s);g<=d&&((g<d||s>=0&&f<0)&&(d=g,f=s,h=n,p.length=0),(0,m.each)(i,function(e){p.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:p,snapToValue:h}),y=g.payloadBatch,v=g.snapToValue;y[0]&&null==r.seriesIndex&&(0,m.extend)(r,y[0]),!i&&t.snap&&o.containData(v)&&null!=v&&(e=v),n.showPointer(t,e,y),n.showTooltip(t,g,v)}}function M(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function T(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=_.og(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function C(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function k(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function I(t){i.A.registerAxisPointerClass("CartesianAxisPointer",u),t.registerComponentModel(g),t.registerComponentView(v),t.registerPreprocessor(function(t){if(t){t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,m.isArray)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,{overallReset:function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,_.Fo)(t,e)}}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},S)}},VN(t,e,n){var i=n("Sk"),r=n("iY");function o(t,e){return"all"===t||(0,r.isArray)(t)&&(0,r.indexOf)(t,e)>=0||t===e}function a(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[l(t)]}function s(t){return!!t.get(["handle","show"])}function l(t){return t.type+"||"+t.id}n.d(e,{},{Fo:function(t,e){var n,a,u,c,h,p,d,f,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n=g,a=t,u=e,c=a.getComponent("tooltip"),p=(h=a.getComponent("axisPointer")).get("link",!0)||[],d=[],(0,r.each)(u.getCoordinateSystems(),function(t){if(t.axisPointerEnabled){var e=l(t.model),u=n.coordSysAxesInfo[e]={};n.coordSysMap[e]=t;var f=t.model.getModel("tooltip",c);if((0,r.each)(t.getAxes(),(0,r.curry)(m,!1,null)),t.getTooltipAxes&&c&&f.get("show")){var g="axis"===f.get("trigger"),y="cross"===f.get(["axisPointer","type"]),v=t.getTooltipAxes(f.get(["axisPointer","axis"]));(g||y)&&(0,r.each)(v.baseAxes,(0,r.curry)(m,!y||"cross",g)),y&&(0,r.each)(v.otherAxes,(0,r.curry)(m,"cross",!1))}}function m(e,c,g){var y=g.model.getModel("axisPointer",h),v=y.get("show");if(v&&("auto"!==v||e||s(y))){null==c&&(c=y.get("triggerTooltip"));var m=(y=e?function(t,e,n,o,a,s){var l=e.getModel("axisPointer"),u={};(0,r.each)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=(0,r.clone)(l.get(t))}),u.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(u.type="line");var c=u.label||(u.label={});if(null==c.show&&(c.show=!1),"cross"===a){var h=l.get(["label","show"]);if(c.show=null==h||h,!s){var p=u.lineStyle=l.get("crossStyle");p&&(0,r.defaults)(c,p.textStyle)}}return t.model.getModel("axisPointer",new i.A(u,n,o))}(g,f,h,a,e,c):y).get("snap"),_=y.get("triggerEmphasis"),x=l(g.model),b=c||m||"category"===g.type,w=n.axesInfo[x]={key:x,axis:g,coordSys:t,axisPointerModel:y,triggerTooltip:c,triggerEmphasis:_,involveSeries:b,snap:m,useHandle:s(y),seriesModels:[],linkGroup:null};u[x]=w,n.seriesInvolved=n.seriesInvolved||b;var S=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var a=t[r]||{};if(o(a[i+"AxisId"],n.id)||o(a[i+"AxisIndex"],n.componentIndex)||o(a[i+"AxisName"],n.name))return r}}(p,g);if(null!=S){var A=d[S]||(d[S]={axesInfo:{}});A.axesInfo[x]=w,A.mapper=p[S].mapper,w.linkGroup=A}}}}),g.seriesInvolved&&(f=g,t.eachSeries(function(t){var e=t.coordinateSystem,n=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);e&&e.model&&"none"!==n&&!1!==n&&"item"!==n&&!1!==i&&!1!==t.get(["axisPointer","show"],!0)&&(0,r.each)(f.coordSysAxesInfo[l(e.model)],function(n){var i=n.axis;e.getAxis(i.dim)===i&&(n.seriesModels.push(t),null==n.seriesDataCount&&(n.seriesDataCount=0),n.seriesDataCount+=t.getData().count())})})),g},Yc:a,h_:function(t){var e=a(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),l=n.get("value");null!=l&&(l=i.parse(l));var u=s(n);null==o&&(r.status=u?"show":"hide");var c=i.getExtent();(null==l||l>c[1])&&(l=c[1]),l<c[0]&&(l=c[0]),r.value=l,u&&(r.status=e.axis.scale.isBlank()?"hide":"show")}},mg:function(t){var e=a(t);return e&&e.axisPointerModel},og:l})},lD(t,e,n){var i=n("iY"),r=n("uf"),o=n("KO"),a=n("s7"),s=n("AT"),l=n("LC"),u=n("hH"),c=n("F4"),h=n("lN"),p=n("MB");function d(t,e,n,i,r){var s,l,u,h,p,d,g=f(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),y=n.getModel("label"),v=a.QX(y.get("padding")||0),m=y.getFont(),_=o.NO(g,m),x=r.position,b=_.width+v[1]+v[3],w=_.height+v[0]+v[2],S=r.align;"right"===S&&(x[0]-=b),"center"===S&&(x[0]-=b/2);var A=r.verticalAlign;"bottom"===A&&(x[1]-=w),"middle"===A&&(x[1]-=w/2),s=x,l=b,u=w,p=(h=i).getWidth(),d=h.getHeight(),s[0]=Math.min(s[0]+l,p)-l,s[1]=Math.min(s[1]+u,d)-u,s[0]=Math.max(s[0],0),s[1]=Math.max(s[1],0);var M=y.get("backgroundColor");M&&"auto"!==M||(M=e.get(["axisLine","lineStyle","color"])),t.label={x:x[0],y:x[1],style:(0,c.VB)(y,{text:g,font:m,fill:y.getTextColor(),padding:v,backgroundColor:M}),z2:10}}function f(t,e,n,r,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var u={value:l.Dt(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};i.each(r,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&u.seriesData.push(r)}),i.isString(s)?a=s.replace("{value}",a):i.isFunction(s)&&(a=s(u))}return a}function g(t,e,n){var i=s.create();return s.rotate(i,i,n.rotation),s.translate(i,i,n.position),r.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}n.d(e,{},{DA:function(t,e,n,i,r,o){var a=u.Ay.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),d(e,i,r,o,{position:g(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})},MU:function(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}},T8:d,Tc:g,YN:function(t,e,n){return[(0,p.JB)((0,p.rp)(e[0],e[1]),t-n/2),(0,p.rp)(t+n/2,(0,p.JB)(e[0],e[1]))]},Z5:function(t,e,n){return(0,h.D)(t,{fromStat:{sers:i.map(e,function(t){return n.getSeriesByIndex(t.seriesIndex)})},min:1}).w},_F:f,bY:function(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e},cU:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},u7:function(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}})},Vk(t,e,n){var i=n("i4"),r=n("iY"),o=n("wv"),a=n("V2l"),s=n("xN"),l=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}();function u(t){var e={};return(0,r.each)(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}e.A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return(0,i.C6)(e,t),e.prototype.init=function(t,e,n){var i=u(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=u(t);(0,r.merge)(this.option,t,!0),(0,r.merge)(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;(0,r.each)([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=(0,r.createHashMap)();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return(0,r.each)(a.$5,function(n){var i=this.getReferringComponents((0,a.dX)(n),s.UW);if(i.specified){e=!0;var o=new l;(0,r.each)(i.models,function(t){o.add(t.componentIndex)}),t.set(n,o)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0,o="vertical"===e?"y":"x",u=n.findComponents({mainType:o+"Axis"});if(c(u,o),i){var u=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});c(u,"single")}function c(e,n){var o=e[0];if(o){var a=new l;if(a.add(o.componentIndex),t.set(n,a),i=!1,"x"===n||"y"===n){var u=o.getReferringComponents("grid",s.US).models[0];u&&(0,r.each)(e,function(t){o.componentIndex!==t.componentIndex&&u===t.getReferringComponents("grid",s.US).models[0]&&a.add(t.componentIndex)})}}}i&&(0,r.each)(a.$5,function(e){if(i){var r=n.findComponents({mainType:(0,a.dX)(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new l;o.add(r[0].componentIndex),t.set(e,o),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){t||(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");(0,r.each)([["start","startValue"],["end","endValue"]],function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent((0,a.dX)(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,i){(0,r.each)(n.indexList,function(n){t.call(e,i,n)})})},e.prototype.getAxisProxy=function(t,e){return(0,a.tB)(this.getAxisModel(t,e))},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent((0,a.dX)(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;(0,r.each)([["start","startValue"],["end","endValue"]],function(i){(null!=t[i[0]]||null!=t[i[1]])&&(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;(0,r.each)(["start","startValue","end","endValue"],function(n){e[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getWindow().percent},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getWindow().value;var n=this.findRepresentativeAxisProxy();if(n)return n.getWindow().value},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return(0,a.tB)(t);for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],o=this._targetAxisInfoMap.get(r),s=0;s<o.indexList.length;s++){var l=this.getAxisProxy(r,o.indexList[s]);if(l.hostedBy(this))return l;e||(e=l)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(o.A)},XV(t,e,n){var i=n("i4");e.A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(n("BP").A)},V2l(t,e,n){var i=n("iY"),r=n("xN"),o=n("oh"),a=(0,r.$r)(),s=["cartesian2d","polar","singleAxis"];function l(t){return t+"Axis"}function u(t){var e=a((0,o.jN)(t));return e.axisProxyMap||(e.axisProxyMap=(0,i.createHashMap)())}function c(t){if(t)return u(t.ecModel).get(t.uid)}n.d(e,{},{$5:["x","y","radius","angle","single"],CN:function(t,e){var n,r=(0,i.createHashMap)(),o=[],a=(0,i.createHashMap)();t.eachComponent({mainType:"dataZoom",query:e},function(t){a.get(t.uid)||l(t)});do n=!1,t.eachComponent("dataZoom",s);while(n)function s(t){var e;!a.get(t.uid)&&(e=!1,t.eachTargetAxis(function(t,n){var i=r.get(t);i&&i[n]&&(e=!0)}),e)&&(l(t),n=!0)}function l(t){a.set(t.uid,!0),o.push(t),t.eachTargetAxis(function(t,e){(r.get(t)||r.set(t,[]))[e]=!0})}return o},_u:function(t){var e=t.get("coordinateSystem");return(0,i.indexOf)(s,e)>=0},dX:l,es:function(t){var e=t.ecModel,n={infoList:[],infoMap:(0,i.createHashMap)()};return t.eachTargetAxis(function(t,i){var r=e.getComponent(l(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}}),n},n7:function(t,e){var n=e.getAxisModel().axis.__alignTo;return n&&t.getAxisProxy(n.dim,n.model.componentIndex)?c(n.model):null},tB:c,yk:function(t,e){u(t.ecModel).set(t.uid,e)}})},YA(t,e,n){var i=n("xNS"),r=n("aro"),o=n("ZH");n.d(e,{},{a:function(t){(0,i.Y)(r.a),(0,i.Y)(o.a)}})},jb(t,e,n){n.d(e,{A:()=>d});var i=n("iY"),r=n("V2l"),o=n("MB"),a=n("bx"),s=n("xN"),l=n("x2"),u=n("uP"),c=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getWindow=function(){return(0,i.clone)(this._window)},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if((0,r._u)(e)){var n=(0,r.dX)(this._dimName),i=e.getReferringComponents(n,s.US).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return(0,i.clone)(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._extent,r=this.getAxisModel().axis,u=r.scale,c=this._dataZoomModel.getRangePropMode(),h=[0,100],p=[],d=[],f=[!1,!1];(0,i.each)(["start","end"],function(i,r){var a=t[i],s=t[i+"Value"];"percent"===c[r]?(null==a&&(a=h[r]),s=(0,o.Cb)(a,h,n),f[r]=!0):(e=!0,null==s?s=n[r]:(s=u.parse(s),u.sanitize&&(s=u.sanitize(s,n))),a=(0,o.Cb)(s,n,h)),d[r]=null==s||isNaN(s)?n[r]:s,p[r]=null==a||isNaN(a)?h[r]:a}),(0,o.Y6)(d),(0,o.Y6)(p);var g=this._minMaxSpan;function y(t,e,n,i,r){var l=r?"Span":"ValueSpan";(0,a.A)(0,t,n,"all",g["min"+l],g["max"+l]);for(var u=0;u<2;u++)e[u]=(0,o.Cb)(t[u],n,i,!0),r&&(e[u]=e[u],f[u]=!0);(0,s.U2)(e)}e?y(d,p,n,h,!1):y(p,d,h,n,!0);var v=(0,l.wl)(u)||(0,l.oY)(u),m=r.getExtent(),_=(0,o.NY)(m[1]-m[0]),x=v?0:(0,o.EO)(d,_,.5);(0,i.each)([[0,o.ih],[1,o.Zr]],function(t){var e=t[0],i=t[1];f[e]&&isFinite(x)&&(d[e]=(0,o.LI)(d[e],x),d[e]=(0,o.rp)(n[1],(0,o.JB)(n[0],d[e])),p[e]===h[e]&&(d[e]=n[e],v&&(d[e]=i(d[e]))))}),(0,s.U2)(d);var b=[(0,o.Cb)(d[0],n,h,!0),(0,o.Cb)(d[1],n,h,!0)];return(0,s.U2)(b),{value:d,percent:p,percentInverted:b,valuePrecision:x}},t.prototype.reset=function(t,e){if(this.hostedBy(t)){var n=this.getAxisModel().axis;(0,u.DT)(n,u.fK);var r=n.scale.rawExtentInfo;this._extent=r.makeNoZoom(),this._updateMinMaxSpan();var o=t.settledOption;e&&(o=(0,i.defaults)({start:e[0],end:e[1]},o));var a=this._window=this.calculateDataWindow(o),s=a.percent,l=a.value;0!==s[0]&&r.setZoomMM(0,l[0]),100!==s[1]&&r.setZoomMM(1,l[1])}},t.prototype.filterData=function(t,e){if(this.hostedBy(t)){var n=this._dimName,r=this.getTargetSeriesModels(),o=t.get("filterMode"),a=this._window.value;"none"!==o&&(0,i.each)(r,function(t){var e=t.getData(),r=e.mapDimensionsAll(n);if(r.length){if("weakFilter"===o){var s=e.getStore(),l=(0,i.map)(r,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,n,i,o=0;o<r.length;o++){var u=s.get(l[o],t),c=!isNaN(u),h=u<a[0],p=u>a[1];if(c&&!h&&!p)return!0;c&&(i=!0),h&&(e=!0),p&&(n=!0)}return i&&e&&n})}else(0,i.each)(r,function(n){if("empty"===o)t.setData(e=e.map(n,function(t){var e;return(e=t)>=a[0]&&e<=a[1]?t:0/0}));else{var i={};i[n]=a,e.selectRange(i)}});(0,i.each)(r,function(t){e.setApproximateExtent(a,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._extent;(0,i.each)(["min","max"],function(i){var r=e.get(i+"Span"),a=e.get(i+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?r=(0,o.Cb)(n[0]+a,n,[0,100],!0):null!=r&&(a=(0,o.Cb)(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=a},this)},t}(),h={dirtyOnOverallProgress:!0,getTargetSeries:function(t){var e,n=[];e=function(e,i,o,a){if(!(0,r.tB)(o)){var s=new c(e,i,a,t);n.push(s),(0,r.yk)(o,s)}},t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(i,o){var a=t.getComponent((0,r.dX)(i),o);e(i,o,a,n)})});var o=(0,i.createHashMap)();return(0,i.each)(n,function(t){(0,i.each)(t.getTargetSeriesModels(),function(t){o.set(t.uid,t)})}),o},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){var n=[];t.eachTargetAxis(function(e,i){var o=t.getAxisProxy(e,i),a=(0,r.n7)(t,o);a?n.push([o,a]):o.reset(t,null)}),(0,i.each)(n,function(e){e[0].reset(t,e[1].getWindow().percentInverted)}),t.eachTargetAxis(function(n,i){t.getAxisProxy(n,i).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getWindow(),i=n.percent,r=n.value;t.setCalculatedRange({start:i[0],end:i[1],startValue:r[0],endValue:r[1]})}})}},p=(0,s.EV)();function d(t){p(t,function(){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,h),t.registerAction("dataZoom",function(t,e){var n=(0,r.CN)(e,t);(0,i.each)(n,function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})}),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"})})}},aro(t,e,n){n.d(e,{a:()=>S});var i=n("i4"),r=n("Vk"),o=n("Af"),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="dataZoom.inside",e.defaultOption=(0,o.G_)(r.A.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(r.A),s=n("XV"),l=n("bx"),u=n("dw"),c=n("dd"),h=n("xN"),p=n("iY"),d=n("V2l"),f=(0,h.$r)();function g(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function y(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function v(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}var m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return(0,i.C6)(e,t),e.prototype.render=function(e,n,i){var r;(t.prototype.render.apply(this,arguments),e.noTarget())?this._clear():(this.range=e.getPercentRange(),r={pan:(0,p.bind)(_.pan,this),zoom:(0,p.bind)(_.zoom,this),scrollMove:(0,p.bind)(_.scrollMove,this)},f(i).coordSysRecordMap.each(function(t){var n=t.dataZoomInfoMap.get(e.uid);n&&(n.getRange=r)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=f(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var o=i[r],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||g(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(s.A),_={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=b[e](null,[i.originX,i.originY],a,n,t),u=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/i.scale,0);o[0]=(o[0]-u)*c+u,o[1]=(o[1]-u)*c+u;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if((0,l.A)(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1])return o}},pan:x(function(t,e,n,i,r,o){var a=b[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:x(function(t,e,n,i,r,o){return b[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta})};function x(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s){var u=t(a,s,e,n,i,r);if((0,l.A)(u,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1])return a}}}var b={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},w=n("jb");function S(t){(0,w.A)(t),t.registerComponentModel(a),t.registerComponentView(m),t.registerUpdateLifecycle("coordsys:aftercreate",function(t,e){var n=f(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=(0,p.createHashMap)());i.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){var n=(0,d.es)(t);(0,p.each)(n.infoList,function(n){var r,o,a,s=n.model.uid,l=i.get(s)||i.set(s,(a=(o={model:r=n.model,containsPoint:(0,p.curry)(v,r),dispatchAction:(0,p.curry)(y,e),dataZoomInfoMap:null,controller:null}).controller=new u.A(e.getZr()),(0,p.each)(["pan","zoom","scrollMove"],function(t){a.on(t,function(e){var n=[];o.dataZoomInfoMap.each(function(i){if(e.isAvailableBehavior(i.model.option)){var r=(i.getRange||{})[t],a=r&&r(i.dzReferCoordSysInfo,o.model.mainType,o.controller,e);!i.model.get("disabled",!0)&&a&&n.push({dataZoomId:i.model.id,start:a[0],end:a[1]})}}),n.length&&o.dispatchAction(n)})}),o));(l.dataZoomInfoMap||(l.dataZoomInfoMap=(0,p.createHashMap)())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})})}),i.each(function(t){var n,r,o,a,s,l,u,h=t.controller,d=t.dataZoomInfoMap;if(d){var f=d.keys()[0];null!=f&&(u=d.get(f))}if(!u)return void g(i,t);var y=(a="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},l=!0,d.each(function(t){var e=t.model,i=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");s[a+i]>s[a+n]&&(n=i),l=l&&e.get("preventDefaultMouseMove",!0),r=(0,p.retrieve2)(e.get("cursorGrab",!0),r),o=(0,p.retrieve2)(e.get("cursorGrabbing",!0),o)}),{controlType:n,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!l,api:e,zInfo:{component:t.model},triggerInfo:{roamTrigger:null,isInSelf:t.containsPoint},cursorGrab:r,cursorGrabbing:o}});h.enable(y.controlType,y.opt),c.N(t,"dispatchAction",u.model.get("throttle",!0),"fixRate")})})}},ZH(t,e,n){n.d(e,{a:()=>B});var i=n("i4"),r=n("Vk"),o=n("Af"),a=n("g8w"),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=(0,o.G_)(r.A.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:a.A.color.accent10,borderRadius:0,backgroundColor:a.A.color.transparent,dataBackground:{lineStyle:{color:a.A.color.accent30,width:.5},areaStyle:{color:a.A.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:a.A.color.accent40,width:.5},areaStyle:{color:a.A.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:a.A.color.neutral00,borderColor:a.A.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:a.A.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:a.A.color.tertiary},brushSelect:!0,brushStyle:{color:a.A.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:a.A.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),e}(r.A),l=n("iY"),u=n("lX"),c=n("Vb"),h=n("jZ"),p=n("hC"),d=n("Jx"),f=n("s2"),g=n("uf"),y=n("zM"),v=n("dd"),m=n("XV"),_=n("MB"),x=n("db"),b=n("bx"),w=n("V2l"),S=n("LP"),A=n("up"),M=n("F4"),T=n("x2"),C=c.A,k="horizontal",I="vertical",D=["line","bar","candlestick","scatter"],O={easing:"cubicOut",duration:100,delay:0},L=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return(0,i.C6)(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=(0,l.bind)(this._onBrush,this),this._onBrushEnd=(0,l.bind)(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),v.N(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1===e.get("show"))return void this.group.removeAll();if(e.noTarget()){this._clear(),this.group.removeAll();return}r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){v.IU(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new h.A;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect"),i=x.Lj(t,e).refContainer,r=this._findCoordRect(),o=t.get("defaultLocationEdgeGap",!0)||0,a=this._orient===k?{right:i.width-r.x-r.width,top:i.height-30-o-7*!!n,width:r.width,height:30}:{right:o,top:r.y,width:30,height:r.height},s=x.vs(t.option);(0,l.each)(["right","top","width","height"],function(t){"ph"===s[t]&&(s[t]=a[t])});var u=x.dV(s,i);this._location={x:u.x,y:u.y},this._size=[u.width,u.height],this._orient===I&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==k||r?n===k&&r?{scaleY:a?1:-1,scaleX:-1}:n!==I||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]),l=isNaN(s.x)?0:s.x,u=isNaN(s.y)?0:s.y;t.x=e.x-l,t.y=e.y-u,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new C({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new C({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:(0,l.bind)(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u,c=r.getDataExtent(t.thisDim),f=r.getDataExtent(a),g=(f[1]-f[0])*.3;f=[f[0]-g,f[1]+g];var y=[0,e[1]],v=[0,e[0]],m=[[e[0],0],[0,0]],x=[],b=v[1]/Math.max(1,r.count()-1),w=e[0]/(c[1]-c[0]),S="time"===t.thisAxis.type,A=-b,M=Math.round(r.count()/e[0]);r.each([t.thisDim,a],function(t,e,n){if(M>0&&n%M){S||(A+=b);return}A=S?(t-c[0])*w:A+b;var i=null==e||isNaN(e)||""===e,r=i?0:(0,_.Cb)(e,f,y,!0);i&&!u&&n?(m.push([m[m.length-1][0],0]),x.push([x[x.length-1][0],0])):!i&&u&&(m.push([A,0]),x.push([A,0])),i||(m.push([A,r]),x.push([A,r])),u=i}),s=this._shadowPolygonPts=m,l=this._shadowPolylinePts=x}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var T=this.dataZoomModel,C=0;C<3;C++){var k=function(t){var e=T.getModel(t?"selectedDataBackground":"dataBackground"),n=new h.A,i=new p.A({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new d.A({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}(1===C);this._displayables.sliderGroup.add(k),this._displayables.dataShadowSegs.push(k)}}}},e.prototype._prepareDataShadowInfo=function(){var t,e=this.dataZoomModel,n=e.get("showDataShadow");if(!1!==n){var i=this.ecModel;return e.eachTargetAxis(function(r,o){var a=e.getAxisProxy(r,o).getTargetSeriesModels();(0,l.each)(a,function(e){if(!t&&!(!0!==n&&0>(0,l.indexOf)(D,e.get("type")))){var a,s=i.getComponent((0,w.dX)(r),o).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[r],c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(a=c.getOtherAxis(s).inverse),u=e.getData().mapDimension(u);var h=e.getData().mapDimension(r);t={thisAxis:s,series:e,thisDim:h,otherDim:u,otherAxisInverse:a}}},this)},this),t}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,s=this.dataZoomModel,u=this.api,h=s.get("borderRadius")||0,p=s.get("brushSelect"),d=e.filler=new C({silent:p,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});r.add(d),r.add(new C({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:h},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:a.A.color.transparent}})),(0,l.each)([0,1],function(e){var o=s.get("handleIcon");!A.$V[o]&&0>o.indexOf("path://")&&0>o.indexOf("image://")&&(o="path://"+o);var a=(0,A.v5)(o,-1,0,2,2,null,!0);a.attr({cursor:"vertical"===this._orient?"ns-resize":"ew-resize",draggable:!0,drift:(0,l.bind)(this._onDragMove,this,e),ondragend:(0,l.bind)(this._onDragEnd,this),onmouseover:(0,l.bind)(this._onOverDataInfoTriggerArea,this,!0),onmouseout:(0,l.bind)(this._onOverDataInfoTriggerArea,this,!1),z2:5});var u=a.getBoundingRect(),c=s.get("handleSize");this._handleHeight=(0,_.lo)(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,a.setStyle(s.getModel("handleStyle").getItemStyle()),a.style.strokeNoScale=!0,a.rectHover=!0,a.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,S.iJ)(a);var h=s.get("handleColor");null!=h&&(a.style.fill=h),r.add(n[e]=a);var p=s.getModel("textStyle"),d=(s.get("handleLabel")||{}).show||!1;t.add(i[e]=new f.Ay({silent:!0,invisible:!d,style:(0,M.VB)(p,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:p.getTextColor(),font:p.getFont()}),z2:10}))},this);var g=d;if(p){var y=(0,_.lo)(s.get("moveHandleSize"),o[1]),v=e.moveHandle=new c.A({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:y}}),m=.8*y,x=e.moveHandleIcon=(0,A.v5)(s.get("moveHandleIcon"),-m/2,-m/2,m,m,a.A.color.neutral00,!0);x.silent=!0,x.y=o[1]+y/2-.5,v.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var b=Math.min(o[1]/2,Math.max(y,10));(g=e.moveZone=new c.A({invisible:!0,shape:{y:o[1]-b,height:y+b}})).on("mouseover",function(){u.enterEmphasis(v)}).on("mouseout",function(){u.leaveEmphasis(v)}),r.add(v),r.add(x),r.add(g)}g.attr({draggable:!0,cursor:"grab",drift:(0,l.bind)(this._onActualMoveZoneDrift,this),ondragstart:(0,l.bind)(this._onActualMoveZoneDragStart,this),ondragend:(0,l.bind)(this._onActualMoveZoneDragEnd,this),onmouseover:(0,l.bind)(this._onOverDataInfoTriggerArea,this,!0),onmouseout:(0,l.bind)(this._onOverDataInfoTriggerArea,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[(0,_.Cb)(t[0],[0,100],e,!0),(0,_.Cb)(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];(0,b.A)(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?(0,_.Cb)(o.minSpan,a,r,!0):null,null!=o.maxSpan?(0,_.Cb)(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=(0,_.Y6)([(0,_.Cb)(i[0],r,a,!0),(0,_.Cb)(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=(0,_.Y6)(n.slice()),r=this._size;(0,l.each)([0,1],function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],u=0;u<a.length;u++){var h=a[u],p=h.getClipPath();p||(p=new c.A,h.setClipPath(p)),p.setShape({x:s[u],y:0,width:s[u+1]-s[u],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy(),s=a.getAxisModel().axis.scale;if(a){var l,u=this._range;if(t){var c={start:u[0],end:u[1]},h=(0,w.n7)(e,a);if(h){var p=h.calculateDataWindow(c).percentInverted;c={start:p[0],end:p[1]}}l=a.calculateDataWindow(c)}else l=a.getWindow();o=[P(e,0,l,s),P(e,1,l,s)]}}var d=(0,_.Y6)(this._handleEnds.slice());function f(t){var e=g.getTransform(n.handles[t].parent,this.group),a=g.transformDirection(0===t?"right":"left",e),s=this._handleWidth/2+5,l=g.applyTransform([d[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===k?"middle":a,align:r===k?a:"center",text:o[t]})}f.call(this,0),f.call(this,1)},e.prototype._onOverDataInfoTriggerArea=function(t){this._isOverDataInfoTriggerArea=t,this._showDataInfo(t)},e.prototype._showDataInfo=function(t){var e=(this.dataZoomModel.get("handleLabel")||{}).show||!1,n=this.dataZoomModel.getModel(["emphasis","handleLabel"]).get("show")||!1,i=t||this._dragging?n:e,r=this._displayables,o=r.handleLabels;o[0].attr("invisible",!i),o[1].attr("invisible",!i),r.moveHandle&&this.api[i?"enterEmphasis":"leaveEmphasis"](r.moveHandle,1)},e.prototype._onActualMoveZoneDrift=function(t,e,n){this.api.getZr().setCursorStyle("grabbing"),this._onDragMove("all",t,e,n)},e.prototype._onActualMoveZoneDragStart=function(t){t.target.attr("cursor","grabbing"),this._showDataInfo(!0)},e.prototype._onActualMoveZoneDragEnd=function(t){t.target.attr("cursor","grab"),this._onDragEnd()},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,u.ds(i.event);var r=this._displayables.sliderGroup.getLocalTransform(),o=g.applyTransform([e,n],r,!0),a=this._updateInterval(t,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._isOverDataInfoTriggerArea||this._showDataInfo(!1),this.dataZoomModel.get("realtime")||this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0)&&!(n[0]>e[0])&&!(n[1]<0)&&!(n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new y.A(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(new Date-this._brushStartTime<200&&5>Math.abs(n.width))){var i=this._getViewExtent(),r=[0,100],o=this._handleEnds=[n.x,n.x+n.width],a=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();(0,b.A)(0,o,i,0,null!=a.minSpan?(0,_.Cb)(a.minSpan,r,i,!0):null,null!=a.maxSpan?(0,_.Cb)(a.maxSpan,r,i,!0):null),this._range=(0,_.Y6)([(0,_.Cb)(o[0],i,r,!0),(0,_.Cb)(o[1],i,r,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(u.ds(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new C({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?O:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=(0,w.es)(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(m.A);function P(t,e,n,i){var r=t.get("labelFormatter"),o=t.get("labelPrecision");(null==o||"auto"===o)&&(o=n.valuePrecision);var a=n.value[e],s=null==a||isNaN(a)?"":(0,T.wl)(i)||(0,T.oY)(i)?i.getLabel({value:Math.round(a)}):isFinite(o)?(0,_.LI)(a,o,!0):a+"";return(0,l.isFunction)(r)?r(a,s):(0,l.isString)(r)?r.replace("{value}",s):s}var R=n("jb");function B(t){t.registerComponentModel(s),t.registerComponentView(L),(0,R.A)(t)}},MgF(t,e,n){var i=n("i4"),r=n("wv"),o=n("BP"),a=n("No"),s=n("ox2"),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,i.C6)(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new s.R(this),(0,s.A)(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),(0,s.A)(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:a.i_},e}(r.A),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,i.C6)(e,t),e.type="dataset",e}(o.A);n.d(e,{},{a:function(t){t.registerComponentModel(l),t.registerComponentView(u)}})},t4(t,e,n){var i=n("sZ"),r=n("Q9"),o=n("xNS");n.d(e,{},{a:function(t){(0,o.Y)(i.a),(0,o.Y)(r.a)}})},sZ(t,e,n){n.d(e,{a:()=>k});var i=n("i4"),r=n("BP"),o=n("UGL"),a=n("Vb"),s=n("iY"),l=n("wv"),u=n("cI"),c=n("xN"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",c.US).models[0]},e.type="cartesian2dAxis",e}(l.A);s.mixin(h,u.L);var p=n("xn"),d=n("u9"),f=n("jZ"),g=n("uf"),y=n("xz"),v=n("uJ"),m=n("VH"),_=n("Dx"),x=n("LC"),b=["splitArea","splitLine","minorSplitLine","breakArea"],w=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return(0,i.C6)(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;this._axisGroup=new f.A,this.group.add(this._axisGroup),(0,x.Qs)(e)&&(this._axisGroup.add(e.axis.axisBuilder.group),s.each(b,function(t){e.get([t,"show"])&&S[t](this,this._axisGroup,e,e.getCoordSysModel(),i)},this),r&&"changeAxisOrder"===r.type&&r.isInitSort||g.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r))},e.prototype.remove=function(){(0,m.V)(this)},e.type="cartesianAxis",e}(v.A),S={splitLine:function(t,e,n,i,r){var o=n.axis;if(!o.scale.isBlank()){var a=n.getModel("splitLine"),l=a.getModel("lineStyle"),u=l.get("color"),c=!1!==a.get("showMinLine"),h=!1!==a.get("showMaxLine");u=s.isArray(u)?u:[u];for(var p=i.coordinateSystem.getRect(),d=o.isHorizontal(),f=0,v=o.getTicksCoords({tickModel:a,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),m=[],_=[],x=l.getLineStyle(),b=0;b<v.length;b++){var w=o.toGlobalCoord(v[b].coord);if((0!==b||c)&&(b!==v.length-1||h)){var S=v[b].tickValue;d?(m[0]=w,m[1]=p.y,_[0]=w,_[1]=p.y+p.height):(m[0]=p.x,m[1]=w,_[0]=p.x+p.width,_[1]=w);var A=f++%u.length,M=new y.A({anid:null!=S?"line_"+S:null,autoBatch:!0,shape:{x1:m[0],y1:m[1],x2:_[0],y2:_[1]},style:s.defaults({stroke:u[A]},x),silent:!0});g.subPixelOptimizeLine(M.shape,x.lineWidth),e.add(M)}}}},minorSplitLine:function(t,e,n,i,r){var o=n.axis,a=n.getModel("minorSplitLine").getModel("lineStyle"),s=i.coordinateSystem.getRect(),l=o.isHorizontal(),u=o.getMinorTicksCoords();if(u.length)for(var c=[],h=[],p=a.getLineStyle(),d=0;d<u.length;d++)for(var f=0;f<u[d].length;f++){var v=o.toGlobalCoord(u[d][f].coord);l?(c[0]=v,c[1]=s.y,h[0]=v,h[1]=s.y+s.height):(c[0]=s.x,c[1]=v,h[0]=s.x+s.width,h[1]=v);var m=new y.A({anid:"minor_line_"+u[d][f].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:p,silent:!0});g.subPixelOptimizeLine(m.shape,p.lineWidth),e.add(m)}},splitArea:function(t,e,n,i,r){(0,m.Y)(t,e,n,i)},breakArea:function(t,e,n,i,r){var o=(0,_.D)(),a=n.axis.scale;o&&"ordinal"!==a.type&&o.rectCoordBuildBreakAxis(e,t,n,i.coordinateSystem.getRect(),r)}},A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="xAxis",e}(w),M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=A.type,e}return(0,i.C6)(e,t),e.type="yAxis",e}(w),T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,i.C6)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new a.A({shape:t.coordinateSystem.getRect(),style:(0,s.defaults)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(r.A),C={offset:0};function k(t){t.registerComponentView(T),t.registerComponentModel(o.Ay),t.registerCoordinateSystem("cartesian2d",d.A),(0,p.A)(t,"x",h,C),(0,p.A)(t,"y",h,C),t.registerComponentView(A),t.registerComponentView(M),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}},Y8b(t,e,n){var i=n("i4"),r=n("iY"),o=n("jp"),a=n("jZ"),s=n("Vb"),l=n("uf"),u=n("Jx"),c=n("hC"),h=n("l5"),p=n("YQ"),d=n("g8w"),f=Math.min,g=Math.max,y=Math.pow,v="globalPan",m={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},_={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},x={brushStyle:{lineWidth:2,stroke:d.A.color.backgroundTint,fill:d.A.color.borderTint},transformable:!0,brushMode:"single",removeOnClick:!1},b=0,w=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new a.A,n._uid="brushController_"+b++,(0,r.each)(q,function(t,e){this._handlers[e]=(0,r.bind)(t,this)},n),n}return(0,i.C6)(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||h.s(e,v,this._uid),(0,r.each)(this._handlers,function(t,n){e.on(n,t)}),this._brushType=t.brushType,this._brushOption=(0,r.merge)((0,r.clone)(x),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;h._r(t,v,this._uid),(0,r.each)(this._handlers,function(e,n){t.off(n,e)}),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};(0,r.each)(t,function(t){e[t.panelId]=(0,r.clone)(t)})}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=(0,r.map)(t,function(t){return(0,r.merge)((0,r.clone)(x),t,!0)});var e=this._covers,n=this._covers=[],i=this,o=this._creatingCover;return new p.A(e,t,function(t,e){return a(t.__brushOption,e)},a).add(s).update(s).remove(function(t){e[t]!==o&&i.group.remove(e[t])}).execute(),this;function a(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function s(r,a){var s=t[r];if(null!=a&&e[a]===o)n[r]=e[a];else{var l=n[r]=null!=a?(e[a].__brushOption=s,e[a]):A(i,S(i,s));C(i,l)}}},e.prototype.unmount=function(){return this.enableBrush(!1),O(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(o.A);function S(t,e){var n=Q[e.brushType].createCover(t,e);return n.__brushOption=e,T(n,e),t.group.add(n),n}function A(t,e){var n=k(e);return n.endCreating&&(n.endCreating(t,e),T(e,e.__brushOption)),e}function M(t,e){var n=e.__brushOption;k(e).updateCoverShape(t,e,n.range,n)}function T(t,e){var n=e.z;null==n&&(n=1e4),t.traverse(function(t){t.z=n,t.z2=n})}function C(t,e){k(e).updateCommon(t,e),M(t,e)}function k(t){return Q[t.__brushOption.brushType]}function I(t,e,n){var i,o=t._panels;if(!o)return!0;var a=t._transform;return(0,r.each)(o,function(t){t.isTargetByCursor(e,n,a)&&(i=t)}),i}function D(t,e){var n=t._panels;if(!n)return!0;var i=e.__brushOption.panelId;return null==i||n[i]}function O(t){var e=t._covers,n=e.length;return(0,r.each)(e,function(e){t.group.remove(e)},t),e.length=0,!!n}function L(t,e){var n=(0,r.map)(t._covers,function(t){var e=t.__brushOption,n=(0,r.clone)(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}});t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function P(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function R(t,e,n,i){var o=new a.A;return o.add(new s.A({name:"main",style:E(n),silent:!0,draggable:!0,cursor:"move",drift:(0,r.curry)(Y,t,e,o,["n","s","w","e"]),ondragend:(0,r.curry)(L,e,{isEnd:!0})})),(0,r.each)(i,function(n){o.add(new s.A({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:(0,r.curry)(Y,t,e,o,n),ondragend:(0,r.curry)(L,e,{isEnd:!0})}))}),o}function B(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=g(r,6),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],h=n[1][1],p=c-o+r/2,d=h-o+r/2,f=c-a,y=h-s,v=f+r,m=y+r;N(t,e,"main",a,s,f,y),i.transformable&&(N(t,e,"w",l,u,o,m),N(t,e,"e",p,u,o,m),N(t,e,"n",l,u,v,o),N(t,e,"s",l,d,v,o),N(t,e,"nw",l,u,o,o),N(t,e,"ne",p,u,o,o),N(t,e,"sw",l,d,o,o),N(t,e,"se",p,d,o,o))}function z(t,e){var n=e.__brushOption,i=n.transformable,o=e.childAt(0);o.useStyle(E(n)),o.attr({silent:!i,cursor:i?"move":"default"}),(0,r.each)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(n){var r,o,a,s=e.childOfName(n.join("")),l=1===n.length?F(t,n[0]):(("e"===(a=[F(r=t,(o=n)[0]),F(r,o[1])])[0]||"w"===a[0])&&a.reverse(),a.join(""));s&&s.attr({silent:!i,invisible:!i,cursor:i?_[l]+"-resize":null})})}function N(t,e,n,i,r,o,a){var s,l,u,c=e.childOfName(n);c&&c.setShape((l=f((s=G(t,e,[[i,r],[i+o,r+a]]))[0][0],s[1][0]),{x:l,y:u=f(s[0][1],s[1][1]),width:g(s[0][0],s[1][0])-l,height:g(s[0][1],s[1][1])-u}))}function E(t){return(0,r.defaults)({strokeNoScale:!0},t.brushStyle)}function V(t,e,n,i){var r=[f(t,n),f(e,i)],o=[g(t,n),g(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function F(t,e){return({left:"w",right:"e",top:"n",bottom:"s"})[l.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[e],l.getTransform(t.group))]}function Y(t,e,n,i,o,a){var s=n.__brushOption,l=t.toRectRange(s.range),u=W(e,o,a);(0,r.each)(i,function(t){var e=m[t];l[e[0]][e[1]]+=u[e[0]]}),s.range=t.fromRectRange(V(l[0][0],l[1][0],l[0][1],l[1][1])),C(e,n),L(e,{isEnd:!1})}function H(t,e,n,i){var o=e.__brushOption.range,a=W(t,n,i);(0,r.each)(o,function(t){t[0]+=a[0],t[1]+=a[1]}),C(t,e),L(t,{isEnd:!1})}function W(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function G(t,e,n){var i=D(t,e);return i&&!0!==i?i.clipPath(n,t._transform):(0,r.clone)(n)}function Z(t){var e=t.event;e.preventDefault&&e.preventDefault()}function U(t,e,n){return t.childOfName("main").contain(e,n)}function X(t,e,n,i){var o,a=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return y(r*r+o*o,.5)>6}(t)||a){if(s&&!a){"single"===l.brushMode&&O(t);var u=(0,r.clone)(l);u.brushType=j(u.brushType,s),u.panelId=!0===s?null:s.panelId,a=t._creatingCover=S(t,u),t._covers.push(a)}if(a){var c=Q[j(t._brushType,s)];a.__brushOption.range=c.getCreatingRange(G(t,a,t._track)),i&&(A(t,a),c.updateCommon(t,a)),M(t,a),o={isEnd:i}}}else i&&"single"===l.brushMode&&l.removeOnClick&&I(t,e,n)&&O(t)&&(o={isEnd:i,removeOnClick:!0});return o}function j(t,e){return"auto"===t?e.defaultBrushType:t}var q={mousedown:function(t){if(this._dragging)$(this,t);else if(!t.target||!t.target.draggable){Z(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=I(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(!function(t,e,n){if(!(!t._brushType||(i=t,r=e.offsetX,o=e.offsetY,a=i._zr,r<0||r>a.getWidth()||o<0||o>a.getHeight()))){var i,r,o,a,s=t._zr,l=t._covers,u=I(t,e,n);if(!t._dragging)for(var c=0;c<l.length;c++){var h=l[c].__brushOption;if(u&&(!0===u||h.panelId===u.panelId)&&Q[h.brushType].contain(l[c],n[0],n[1]))return}u&&s.setCursorStyle("crosshair")}}(this,t,i),this._dragging){Z(t);var r=X(this,t,i,!1);r&&L(this,r)}},mouseup:function(t){$(this,t)}};function $(t,e){if(t._dragging){Z(e);var n=e.offsetX,i=e.offsetY,r=t.group.transformCoordToLocal(n,i),o=X(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&L(t,o)}}var Q={lineX:J(0),lineY:J(1),rect:{createCover:function(t,e){function n(t){return t}return R({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=P(t);return V(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){B(t,e,n,i)},updateCommon:z,contain:U},polygon:{createCover:function(t,e){var n=new a.A;return n.add(new u.A({name:"main",style:E(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new c.A({name:"main",draggable:!0,drift:(0,r.curry)(H,t,e),ondragend:(0,r.curry)(L,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:G(t,e,n)})},updateCommon:z,contain:U}};function J(t){return{createCover:function(e,n){return R({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=P(e);return[f(n[0][t],n[1][t]),g(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,r){var o,a=D(e,n);if(!0!==a&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),B(e,n,l,r)},updateCommon:z,contain:U}}e.A=w},mh(t,e,n){var i=n("iY"),r=n("kK"),o=n("xN"),a=n("uc"),s=n("Y8"),l=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],u=function(){function t(t,e,n){var r=this;this._targetInfoList=[];var o=h(e,t);(0,i.each)(p,function(t,e){(!n||!n.include||(0,i.indexOf)(n.include,e)>=0)&&t(o,r._targetInfoList)})}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=g[t.brushType](0,n,e);t.__rangeOffset={offset:v[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}}),t},t.prototype.matchOutputRanges=function(t,e,n){(0,i.each)(t,function(t){var r=this.findTargetInfo(t,e);r&&!0!==r&&(0,i.each)(r.coordSyses,function(i){var r=g[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)})},this)},t.prototype.setInputRanges=function(t,e){(0,i.each)(t,function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var i,r,o,a,s,l=g[t.brushType](0,n.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?v[t.brushType](l.values,u.offset,(i=l.xyMinMax,r=u.xyMinMax,o=_(i),a=_(r),isNaN((s=[o[0]/a[0],o[1]/a[1]])[0])&&(s[0]=1),isNaN(s[1])&&(s[1]=1),s)):l.values}},this)},t.prototype.makePanelOpts=function(t,e){return(0,i.map)(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:r.wd(i),isTargetByCursor:r.x$(i,t,n.coordSysModel),getLinearBrushOtherExtent:r.wx(i)}})},t.prototype.controlSeries=function(t,e,n){var r=this.findTargetInfo(t,n);return!0===r||r&&(0,i.indexOf)(r.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=h(e,t),r=0;r<n.length;r++){var o=n[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<d.length;s++)if(d[s](i,o))return o}return!0},t}();function c(t){return t[0]>t[1]&&t.reverse(),t}function h(t,e){return(0,o._e)(t,e,{includeMainTypes:l})}var p={grid:function(t,e){var n=t.xAxisModels,r=t.yAxisModels,o=t.gridModels,a=(0,i.createHashMap)(),s={},l={};(n||r||o)&&((0,i.each)(n,function(t){var e=t.axis.grid.model;a.set(e.id,e),s[e.id]=!0}),(0,i.each)(r,function(t){var e=t.axis.grid.model;a.set(e.id,e),l[e.id]=!0}),(0,i.each)(o,function(t){a.set(t.id,t),s[t.id]=!0,l[t.id]=!0}),a.each(function(t){var o=t.coordinateSystem,a=[];(0,i.each)(o.getCartesians(),function(t,e){((0,i.indexOf)(n,t.getAxis("x").model)>=0||(0,i.indexOf)(r,t.getAxis("y").model)>=0)&&a.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:a[0],coordSyses:a,getPanelRect:f.grid,xAxisDeclared:s[t.id],yAxisDeclared:l[t.id]})}))},geo:function(t,e){(0,i.each)(t.geoModels,function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:f.geo})})}},d=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],f={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys.view,e=(0,a.D7)(null,t);return(0,s.zQ)(e,e,(0,a.rj)(null,t)),e}},g={lineX:(0,i.curry)(y,0),lineY:(0,i.curry)(y,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[c([r[0],o[0]]),c([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,r){var a=[(0,o.X1)(),(0,o.X1)()];return{values:(0,i.map)(n,function(n){var i=t?e.pointToData(n,r):e.dataToPoint(n,r);return a[0][0]=Math.min(a[0][0],i[0]),a[1][0]=Math.min(a[1][0],i[1]),a[0][1]=Math.max(a[0][1],i[0]),a[1][1]=Math.max(a[1][1],i[1]),i}),xyMinMax:a}}};function y(t,e,n,r){var o=n.getAxis(["x","y"][t]),a=c((0,i.map)([0,1],function(t){return e?o.coordToData(o.toLocalCoord(r[t]),!0):o.toGlobalCoord(o.dataToCoord(r[t]))})),s=[];return s[t]=a,s[1-t]=[0/0,0/0],{values:a,xyMinMax:s}}var v={lineX:(0,i.curry)(m,0),lineY:(0,i.curry)(m,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return(0,i.map)(t,function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]})}};function m(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function _(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[0/0,0/0]}e.A=u},dw(t,e,n){var i=n("i4"),r=n("jp"),o=n("lX"),a=n("l5"),s=n("iY"),l=n("xN"),u=n("uf"),c=n("FF"),h=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=(0,s.bind)(n._mousedownHandler,n),r=(0,s.bind)(n._mousemoveHandler,n),o=(0,s.bind)(n._mouseupHandler,n),a=(0,s.bind)(n._mousewheelHandler,n),l=(0,s.bind)(n._pinchHandler,n);return n.enable=function(t,n){var c=n.zInfo,h=(0,u.retrieveZInfo)(c.component),p=h.z,d=h.zlevel,f={component:c.component,z:p,zlevel:d,z2:(0,s.retrieve2)(c.z2,-1/0)},y=(0,s.extend)({},n.triggerInfo);this._opt=(0,s.defaults)((0,s.extend)({},n),{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0,zInfoParsed:f,triggerInfo:y,cursorGrab:"grab",cursorGrabbing:"grabbing"}),null==t&&(t=!0),this._enabled&&this._controlType===t||(this.disable(),this._enabled=!0,(!0===t||"move"===t||"pan"===t)&&(g(e,"mousedown",i,f),g(e,"mousemove",r,f),g(e,"mouseup",o,f)),(!0===t||"scale"===t||"zoom"===t)&&(g(e,"mousewheel",a,f),g(e,"pinch",l,f)))},n.disable=function(){this._enabled&&(this._enabled=!1,y(e,"mousedown",i),y(e,"mousemove",r),y(e,"mouseup",o),y(e,"mousewheel",a),y(e,"pinch",l))},n}return(0,i.C6)(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype._checkPointer=function(t,e,n){var i=this._opt,r=i.zInfoParsed;if((0,c.I)(t,i.api,r.component))return!1;var o=i.triggerInfo,a=o.roamTrigger,s=!1;return"global"===a&&(s=!0),s||(s=o.isInSelf(t,e,n)),s&&o.isInClip&&!o.isInClip(t,e,n)&&(s=!1),s},e.prototype._decideCursorStyle=function(t,e,n,i){var r=t.target;return!r&&this._checkPointer(t,e,n)?this._opt.cursorGrab:i?r&&r.cursor||"default":void 0},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(o.W5(t)||p(t))){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this._checkPointer(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){var e=this._zr;if(!("pinch"===t.gestureEvent||a.Ck(e,"globalPan")||p(t))){var n=t.offsetX,i=t.offsetY;if(!this._dragging||!m("moveOnMouseMove",t,this._opt)){var r=this._decideCursorStyle(t,n,i,!1);r&&e.setCursorStyle(r);return}e.setCursorStyle(this._opt.cursorGrabbing);var s=this._x,l=this._y,u=n-s,c=i-l;this._x=n,this._y=i,this._opt.preventDefaultMouseMove&&o.ds(t.event),t.__ecRoamConsumed=!0,v(this,"pan","moveOnMouseMove",t,{dx:u,dy:c,oldX:s,oldY:l,newX:n,newY:i,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){if(!p(t)){var e=this._zr;if(!o.W5(t)){this._dragging=!1;var n=this._decideCursorStyle(t,t.offsetX,t.offsetY,!0);n&&e.setCursorStyle(n)}}},e.prototype._mousewheelHandler=function(t){if(!p(t)){var e=m("zoomOnMouseWheel",t,this._opt),n=m("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);this._checkTriggerMoveZoom(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}}},e.prototype._pinchHandler=function(t){if(!(a.Ck(this._zr,"globalPan")||p(t))){var e=t.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e.prototype._checkTriggerMoveZoom=function(t,e,n,i,r){t._checkPointer(i,r.originX,r.originY)&&(o.ds(i.event),i.__ecRoamConsumed=!0,v(t,e,n,i,r))},e}(r.A);function p(t){return t.__ecRoamConsumed}var d=(0,l.$r)();function f(t){var e=d(t);return e.roam=e.roam||{},e.uniform=e.uniform||{},e}function g(t,e,n,i){for(var r,o,a,s=f(t).roam,l=s[e]=s[e]||[],u=0;u<l.length;u++){var c=l[u].zInfoParsed;if(0>=(c.zlevel-i.zlevel||c.z-i.z||c.z2-i.z2))break}l.splice(u,0,{listener:n,zInfoParsed:i}),r=t,o=e,(a=f(r)).uniform[o]||r.on(o,a.uniform[o]=function(t){var e=a.roam[o];if(e)for(var n=0;n<e.length;n++)e[n].listener(t)})}function y(t,e,n){for(var i=f(t).roam[e]||[],r=0;r<i.length;r++)if(i[r].listener===n){i.splice(r,1),i.length||function(t,e){var n=f(t).uniform;n[e]&&(t.off(e,n[e]),n[e]=null)}(t,e);return}}function v(t,e,n,i,r){r.isAvailableBehavior=(0,s.bind)(m,null,n,i),t.trigger(e,r)}function m(t,e,n){var i=n[t];return!t||i&&(!(0,s.isString)(i)||e.event[i+"Key"])}e.A=h},kK(t,e,n){var i=n("Y8"),r=n("FF"),o=n("uf");function a(t){return i.Ay.create(t)}n.d(e,{},{wd:function(t){return t=a(t),function(e){return o.clipPointsByRect(e,t)}},wx:function(t,e){return t=a(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}},x$:function(t,e,n){var i=a(t);return function(t,o){return i.contain(o[0],o[1])&&!(0,r.I)(t,e,n)}}})},FF(t,e,n){var i=n("uf"),r={axisPointer:1,tooltip:1,brush:1};n.d(e,{},{I:function(t,e,n){var o=e.getComponentByElement(t.topTarget);if(!o||o===n||r.hasOwnProperty(o.mainType))return!1;var a=o.coordinateSystem;if(!a||a.model===n)return!1;var s=(0,i.retrieveZInfo)(o),l=(0,i.retrieveZInfo)(n);return!(0>=(s.zlevel-l.zlevel||s.z-l.z))}})},l5(t,e,n){var i=n("Hr"),r=n("iY"),o=(0,n("xN").$r)();i.OH({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},r.noop),n.d(e,{},{Ck:function(t,e){return!!o(t)[e]},_r:function(t,e,n){var i=o(t);i[e]===n&&(i[e]=null)},s:function(t,e,n){o(t)[e]=n}})},HS(t,e,n){var i=n("s7"),r=n("Vb");n.d(e,{},{P:function(t,e){var n=i.QX(e.get("padding")),o=e.getItemStyle(["color","opacity"]);return o.fill=e.get("backgroundColor"),new r.A({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:o,silent:!0,z2:-1})}})},bx(t,e,n){var i=n("MB");function r(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function o(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}n.d(e,{},{A:function(t,e,n,a,s,l){t=t||0;var u,c=(0,i.Tr)(n[1],-n[0]);if(null!=s&&(s=o(s,[0,c])),null!=l&&(l=Math.max(l,null!=s?s:0)),"all"===a){var h=Math.abs((0,i.Tr)(e[1],-e[0]));h=o(h,[0,c]),s=l=o(h,[s,l]),a=0}e[0]=o(e[0],n),e[1]=o(e[1],n);var p=r(e,a);e[a]+=t;var d=s||0,f=n.slice();return p.sign<0?f[0]=(0,i.Tr)(f[0],d):f[1]=(0,i.Tr)(f[1],-d),e[a]=o(e[a],f),u=r(e,a),null!=s&&(u.sign!==p.sign||u.span<s)&&(e[1-a]=(0,i.Tr)(e[a],p.sign*s)),u=r(e,a),null!=l&&u.span>l&&(e[1-a]=(0,i.Tr)(e[a],u.sign*l)),e}})},dT(t,e,n){var i=n("i4"),r=n("iY"),o=n("E3"),a=n("lZ"),s=n("wv"),l=n("xN"),u=n("zZ");function c(t){(0,l.M5)(t,"label",["show"])}var h=(0,l.$r)(),p=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n.preventAutoZ=!0,n}return(0,i.C6)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(o.A.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,i){var o=this.mainType;n||e.eachSeries(function(t){var n=t.get(this.mainType,!0),a=h(t)[o];if(!n||!n.data){h(t)[o]=null;return}a?a._mergeOption(n,e,!0):(i&&c(n),r.each(n.data,function(t){t instanceof Array?(c(t[0]),c(t[1])):c(t)}),a=this.createMarkerModelFromSeries(n,this,e),r.extend(a,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),a.__hostSeries=t),h(t)[o]=a},this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return(0,u.Qx)("section",{header:this.name,blocks:[(0,u.Qx)("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.prototype.getDataParams=function(t,e){var n=a.J.prototype.getDataParams.call(this,t,e),i=this.__hostSeries;return i&&(n.seriesId=i.id,n.seriesName=i.name,n.seriesType=i.subType),n},e.getMarkerModelFromSeries=function(t,e){return h(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(s.A);r.mixin(p,a.J.prototype),e.A=p},Sa(t,e,n){var i=n("i4"),r=n("BP"),o=n("iY"),a=n("dT"),s=n("xN"),l=n("LP"),u=n("uf"),c=(0,s.$r)();e.A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.init=function(){this.markerGroupMap=(0,o.createHashMap)()},e.prototype.render=function(t,e,n){var i,r,o,s=this,l=this.markerGroupMap;l.each(function(t){c(t).keep=!1}),e.eachSeries(function(t){var i=a.A.getMarkerModelFromSeries(t,s.type);i&&s.renderSeries(t,i,e,n)}),l.each(function(t){c(t).keep||s.group.remove(t.group)}),i=e,r=l,o=this.type,i.eachSeries(function(t){var e=a.A.getMarkerModelFromSeries(t,o),n=r.get(t.id);if(e&&n&&n.group){var i=(0,u.retrieveZInfo)(e),s=i.z,l=i.zlevel;(0,u.traverseUpdateZ)(n.group,s,l)}})},e.prototype.markKeep=function(t){c(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;(0,o.each)(t,function(t){var i=a.A.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl(function(t){t&&(e?(0,l.QX)(t):(0,l.JC)(t))})})},e.type="marker",e}(r.A)},Fn(t,e,n){var i=n("iY");n.d(e,{},{A:function(t,e){if(!t)return!1;for(var n=(0,i.isArray)(t)?t:[t],r=0;r<n.length;r++)if(n[r]&&n[r][e])return!0;return!1}})},pc(t,e,n){n.d(e,{a:()=>L});var i=n("Fn"),r=n("i4"),o=n("dT"),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(o.A),s=n("x4z"),l=n("oo"),u=n("MB"),c=n("jZ"),h=n("hC"),p=n("W5"),d=n("LP"),f=n("ZrG"),g=n("Sa"),y=n("iY"),v=n("mR"),m=n("xN"),_=n("N1e"),x=n("F4"),b=n("FL"),w=n("Fy4"),S=n("g8w"),A=(0,m.$r)(),M=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=f.xx(t,r),s=f.xx(t,o),l=a.coord,u=s.coord;l[0]=(0,y.retrieve)(l[0],-1/0),l[1]=(0,y.retrieve)(l[1],-1/0),u[0]=(0,y.retrieve)(u[0],1/0),u[1]=(0,y.retrieve)(u[1],1/0);var c=(0,y.mergeAll)([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c}};function T(t){return!isNaN(t)&&!isFinite(t)}function C(t,e,n,i){var r=1-t;return T(e[r])&&T(n[r])}function k(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return(0,v.g)(t,"cartesian2d")?!!(n&&i&&(C(1,n,i,t)||C(0,n,i,t)))||f.PN(t,r,o):f.Lq(t,r)||f.Lq(t,o)}function I(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=u.lo(s.get(n[0]),r.getWidth()),c=u.lo(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(c)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),p=t.getValues(["x1","y1"],e),d=a.clampData(h),f=a.clampData(p),g=[];"x0"===n[0]?g[0]=d[0]>f[0]?p[0]:h[0]:g[0]=d[0]>f[0]?h[0]:p[0],"y0"===n[1]?g[1]=d[1]>f[1]?p[1]:h[1]:g[1]=d[1]>f[1]?h[1]:p[1],o=i.getMarkerPosition(g,n,!0)}else{var y=t.get(n[0],e),m=t.get(n[1],e),_=[y,m];a.clampData&&a.clampData(_,_),o=a.dataToPoint(_,!0)}if((0,v.g)(a,"cartesian2d")){var x=a.getAxis("x"),b=a.getAxis("y"),y=t.get(n[0],e),m=t.get(n[1],e);T(y)?o[0]=x.toGlobalCoord(x.getExtent()[+("x0"!==n[0])]):T(m)&&(o[1]=b.toGlobalCoord(b.getExtent()[+("y0"!==n[1])]))}isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c)}else o=[l,c];return o}var D=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],O=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=o.A.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each(function(e){var r=(0,y.map)(D,function(r){return I(i,e,r,t,n)});i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)})}},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),f=this.markerGroupMap,g=f.get(o)||f.set(o,{group:new c.A});this.group.add(g.group),this.markKeep(g);var v=function(t,e,n){if(t){var i,r,o=(0,y.map)(t&&t.dimensions,function(t){var n=e.getData(),i=n.getDimensionInfo(n.mapDimension(t))||{};return(0,y.extend)((0,y.extend)({},i),{name:t,ordinalMeta:null})});r=(0,y.map)(["x0","y0","x1","y1"],function(t,e){return{name:t,type:o[e%2].type}}),i=new l.A(r,n)}else r=[{name:"value",type:"float"}],i=new l.A(r,n);var a=(0,y.map)(n.get("data"),(0,y.curry)(M,e,t,n));t&&(a=(0,y.filter)(a,(0,y.curry)(k,t)));var s=t?function(t,e,n,i){var o=t.coord[Math.floor(i/2)][i%2];return(0,w.Pn)(o,r[i])}:function(t,e,n,i){return(0,w.Pn)(t.value,r[i])};return i.initData(a,null,s),i.hasItemOption=!0,i}(r,t,e);e.setData(v),v.each(function(e){var n=(0,y.map)(D,function(n){return I(v,e,n,t,i)}),o=r.getAxis("x").scale,l=r.getAxis("y").scale,c=o.getExtent(),h=l.getExtent(),p=[o.parse(v.get("x0",e)),o.parse(v.get("x1",e))],d=[l.parse(v.get("y0",e)),l.parse(v.get("y1",e))];u.Y6(p),u.Y6(d);var f=!(c[0]>p[1]||c[1]<p[0]||h[0]>d[1]||h[1]<d[0]);v.setItemLayout(e,{points:n,allClipped:!f});var g=v.getItemModel(e),m=g.getModel("itemStyle").getItemStyle(),x=g.get("z2"),b=(0,_.rI)(a,"color");!m.fill&&(m.fill=b,(0,y.isString)(m.fill)&&(m.fill=s.modifyAlpha(m.fill,.4))),m.stroke||(m.stroke=b),v.setItemVisual(e,"style",m),v.setItemVisual(e,"z2",(0,y.retrieve2)(x,0))}),v.diff(A(g).data).add(function(t){var e=v.getItemLayout(t),n=v.getItemVisual(t,"z2");if(!e.allClipped){var i=new h.A({z2:(0,y.retrieve2)(n,0),shape:{points:e.points}});v.setItemGraphicEl(t,i),g.group.add(i)}}).update(function(t,n){var i=A(g).data.getItemGraphicEl(n),r=v.getItemLayout(t),o=v.getItemVisual(t,"z2");r.allClipped?i&&g.group.remove(i):(i?p.oi(i,{z2:(0,y.retrieve2)(o,0),shape:{points:r.points}},e,t):i=new h.A({shape:{points:r.points}}),v.setItemGraphicEl(t,i),g.group.add(i))}).remove(function(t){var e=A(g).data.getItemGraphicEl(t);g.group.remove(e)}).execute(),v.eachItemGraphicEl(function(t,n){var i=v.getItemModel(n),r=v.getItemVisual(n,"style");t.useStyle(v.getItemVisual(n,"style")),(0,x.qM)(t,(0,x.lx)(i),{labelFetcher:e,labelDataIndex:n,defaultText:v.getName(n)||"",inheritColor:(0,y.isString)(r.fill)?s.modifyAlpha(r.fill,1):S.A.color.neutral99}),(0,d.Mx)(t,i),(0,d.Lm)(t,null,null,i.get(["emphasis","disabled"])),(0,b.z)(t).dataModel=e}),A(g).data=v,g.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(g.A);function L(t){t.registerComponentModel(a),t.registerComponentView(O),t.registerPreprocessor(function(t){(0,i.A)(t.series,"markArea")&&(t.markArea=t.markArea||{})})}},x8(t,e,n){n.d(e,{a:()=>M});var i=n("Fn"),r=n("i4"),o=n("dT"),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(o.A),s=n("oo"),l=n("MB"),u=n("ZrG"),c=n("mI"),h=n("Sa"),p=n("pE"),d=n("mR"),f=n("FL"),g=n("iY"),y=n("xN"),v=n("N1e"),m=(0,y.$r)(),_=function(t,e,n,i){var r,o=t.getData();if((0,g.isArray)(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=(0,g.retrieve)(i.yAxis,i.xAxis);else{var c=u.Yc(i,o,e,t);s=c.valueAxis;var h=(0,p.me)(o,c.valueDataDim);l=u.vz(o,h,a)}var d=+("x"!==s.dim),f=1-d,y=(0,g.clone)(i),v={coord:[]};y.type=null,y.coord=[],y.coord[f]=-1/0,v.coord[f]=1/0;var m=n.get("precision");m>=0&&(0,g.isNumber)(l)&&(l=+l.toFixed(Math.min(m,20))),y.coord[d]=v.coord[d]=l,r=[y,v,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var _=[u.xx(t,r[0]),u.xx(t,r[1]),(0,g.extend)({},r[2])];return _[2].type=_[2].type||null,(0,g.merge)(_[2],_[0]),(0,g.merge)(_[2],_[1]),_};function x(t){return!isNaN(t)&&!isFinite(t)}function b(t,e,n,i){var r=1-t,o=i.dimensions[t];return x(e[r])&&x(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function w(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(b(1,n,i,t)||b(0,n,i,t)))return!0}return u.Lq(t,e[0])&&u.Lq(t,e[1])}function S(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),u=l.lo(s.get("x"),r.getWidth()),c=l.lo(s.get("y"),r.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,p=t.get(h[0],e),f=t.get(h[1],e);o=a.dataToPoint([p,f])}if((0,d.g)(a,"cartesian2d")){var g=a.getAxis("x"),y=a.getAxis("y"),h=a.dimensions;x(t.get(h[0],e))?o[0]=g.toGlobalCoord(g.getExtent()[+!n]):x(t.get(h[1],e))&&(o[1]=y.toGlobalCoord(y.getExtent()[+!n]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];t.setItemLayout(e,o)}var A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=o.A.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=m(e).from,a=m(e).to;r.each(function(e){S(r,e,!0,t,n),S(a,e,!1,t,n)}),i.each(function(t){i.setItemLayout(t,[r.getItemLayout(t),a.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,e,n,i){var r,o,a,l,h,p,d,y,x,b=t.coordinateSystem,A=t.id,M=t.getData(),T=this.markerGroupMap,C=T.get(A)||T.set(A,new c.A);this.group.add(C.group);var k=(r=b,o=t,a=e,l=r?(0,g.map)(r&&r.dimensions,function(t){var e=o.getData(),n=e.getDimensionInfo(e.mapDimension(t))||{};return(0,g.extend)((0,g.extend)({},n),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}],h=new s.A(l,a),p=new s.A(l,a),d=new s.A([],a),y=(0,g.map)(a.get("data"),(0,g.curry)(_,o,r,a)),r&&(y=(0,g.filter)(y,(0,g.curry)(w,r))),x=u.fY(!!r,l),h.initData((0,g.map)(y,function(t){return t[0]}),null,x),p.initData((0,g.map)(y,function(t){return t[1]}),null,x),d.initData((0,g.map)(y,function(t){return t[2]})),d.hasItemOption=!0,{from:h,to:p,line:d}),I=k.from,D=k.to,O=k.line;m(e).from=I,m(e).to=D,e.setData(O);var L=e.get("symbol"),P=e.get("symbolSize"),R=e.get("symbolRotate"),B=e.get("symbolOffset");function z(e,n,r){var o=e.getItemModel(n);S(e,n,r,t,i);var a=o.getModel("itemStyle").getItemStyle();null==a.fill&&(a.fill=(0,v.rI)(M,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:(0,g.retrieve2)(o.get("symbolOffset",!0),B[+!r]),symbolRotate:(0,g.retrieve2)(o.get("symbolRotate",!0),R[+!r]),symbolSize:(0,g.retrieve2)(o.get("symbolSize"),P[+!r]),symbol:(0,g.retrieve2)(o.get("symbol",!0),L[+!r]),style:a})}(0,g.isArray)(L)||(L=[L,L]),(0,g.isArray)(P)||(P=[P,P]),(0,g.isArray)(R)||(R=[R,R]),(0,g.isArray)(B)||(B=[B,B]),k.from.each(function(t){z(I,t,!0),z(D,t,!1)}),O.each(function(t){var e=O.getItemModel(t),n=e.getModel("lineStyle").getLineStyle();O.setItemLayout(t,[I.getItemLayout(t),D.getItemLayout(t)]);var i=e.get("z2");null==n.stroke&&(n.stroke=I.getItemVisual(t,"style").fill),O.setItemVisual(t,{z2:(0,g.retrieve2)(i,0),fromSymbolKeepAspect:I.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:I.getItemVisual(t,"symbolOffset"),fromSymbolRotate:I.getItemVisual(t,"symbolRotate"),fromSymbolSize:I.getItemVisual(t,"symbolSize"),fromSymbol:I.getItemVisual(t,"symbol"),toSymbolKeepAspect:D.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:D.getItemVisual(t,"symbolOffset"),toSymbolRotate:D.getItemVisual(t,"symbolRotate"),toSymbolSize:D.getItemVisual(t,"symbolSize"),toSymbol:D.getItemVisual(t,"symbol"),style:n})}),C.updateData(O),k.line.eachItemGraphicEl(function(t){(0,f.z)(t).dataModel=e,t.traverse(function(t){(0,f.z)(t).dataModel=e})}),this.markKeep(C),C.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(h.A);function M(t){t.registerComponentModel(a),t.registerComponentView(A),t.registerPreprocessor(function(t){(0,i.A)(t.series,"markLine")&&(t.markLine=t.markLine||{})})}},fA(t,e,n){n.d(e,{a:()=>v});var i=n("Fn"),r=n("i4"),o=n("dT"),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(o.A),s=n("Hp"),l=n("MB"),u=n("oo"),c=n("ZrG"),h=n("Sa"),p=n("iY"),d=n("FL"),f=n("N1e");function g(t,e,n){var i=e.coordinateSystem,r=n.getWidth(),o=n.getHeight(),a=i&&i.getArea&&i.getArea();t.each(function(n){var s,u=t.getItemModel(n),c="coordinate"===u.get("relativeTo"),h=c?a?a.width:0:r,p=c?a?a.height:0:o,d=c&&a?a.x:0,f=c&&a?a.y:0,g=l.lo(u.get("x"),h)+d,y=l.lo(u.get("y"),p)+f;if(isNaN(g)||isNaN(y)){if(e.getMarkerPosition)s=e.getMarkerPosition(t.getValues(t.dimensions,n));else if(i){var v=t.get(i.dimensions[0],n),m=t.get(i.dimensions[1],n);s=i.dataToPoint([v,m])}}else s=[g,y];isNaN(g)||(s[0]=g),isNaN(y)||(s[1]=y),t.setItemLayout(n,s)})}var y=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=o.A.getMarkerModelFromSeries(t,"markPoint");e&&(g(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())},this)},e.prototype.renderSeries=function(t,e,n,i){var r,o,a,l,h,y,v,m=t.coordinateSystem,_=t.id,x=t.getData(),b=this.markerGroupMap,w=b.get(_)||b.set(_,new s.A),S=(r=m,o=t,a=e,l=r?(0,p.map)(r&&r.dimensions,function(t){var e=o.getData(),n=e.getDimensionInfo(e.mapDimension(t))||{};return(0,p.extend)((0,p.extend)({},n),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}],h=new u.A(l,a),y=(0,p.map)(a.get("data"),(0,p.curry)(c.xx,o)),r&&(y=(0,p.filter)(y,(0,p.curry)(c.Lq,r))),v=c.fY(!!r,l),h.initData(y,null,v),h);e.setData(S),g(e.getData(),t,i),S.each(function(t){var n=S.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),a=n.getShallow("symbolOffset"),s=n.getShallow("symbolKeepAspect");if((0,p.isFunction)(i)||(0,p.isFunction)(r)||(0,p.isFunction)(o)||(0,p.isFunction)(a)){var l=e.getRawValue(t),u=e.getDataParams(t);(0,p.isFunction)(i)&&(i=i(l,u)),(0,p.isFunction)(r)&&(r=r(l,u)),(0,p.isFunction)(o)&&(o=o(l,u)),(0,p.isFunction)(a)&&(a=a(l,u))}var c=n.getModel("itemStyle").getItemStyle(),h=n.get("z2"),d=(0,f.rI)(x,"color");c.fill||(c.fill=d),S.setItemVisual(t,{z2:(0,p.retrieve2)(h,0),symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:a,symbolKeepAspect:s,style:c})}),w.updateData(S),this.group.add(w.group),S.eachItemGraphicEl(function(t){t.traverse(function(t){(0,d.z)(t).dataModel=e})}),this.markKeep(w),w.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(h.A);function v(t){t.registerComponentModel(a),t.registerComponentView(y),t.registerPreprocessor(function(t){(0,i.A)(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}},ZrG(t,e,n){var i=n("MB"),r=n("pE"),o=n("iY"),a=n("Fy4");function s(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function l(t,e,n,o,a,s,l){var u=[],c=(0,r.sJ)(e,a)?e.getCalculationInfo("stackResultDimension"):a,p=h(e,c,t),d=e.hostModel.indicesOfNearest(n,c,p)[0];u[s]=e.get(o,d),u[l]=e.get(c,d);var f=e.get(a,d),g=i.XV(e.get(a,d));return(g=Math.min(g,20))>=0&&(u[l]=+u[l].toFixed(g)),[u,f]}var u={min:(0,o.curry)(l,"min"),max:(0,o.curry)(l,"max"),average:(0,o.curry)(l,"average"),median:(0,o.curry)(l,"median")};function c(t,e,n,i){var r,o,a,s={};return null!=t.valueIndex||null!=t.valueDim?(s.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,s.valueAxis=n.getAxis((r=i,o=s.valueDataDim,(a=r.getData().getDimensionInfo(o))&&a.coordDim)),s.baseAxis=n.getOtherAxis(s.valueAxis),s.baseDataDim=e.mapDimension(s.baseAxis.dim)):(s.baseAxis=i.getBaseAxis(),s.valueAxis=n.getOtherAxis(s.baseAxis),s.baseDataDim=e.mapDimension(s.baseAxis.dim),s.valueDataDim=e.mapDimension(s.valueAxis.dim)),s}function h(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,function(t,e){!isNaN(t)&&(i+=t,r++)}),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)[+("max"===n)]}n.d(e,{},{Lq:function(t,e){return!t||!t.containData||!e.coord||!!s(e)||t.containData(e.coord)},PN:function(t,e,n){return!t||!t.containZone||!e.coord||!n.coord||!!s(e)||!!s(n)||t.containZone(e.coord,n.coord)},Yc:c,fY:function(t,e){return t?function(t,n,i,r){var o=r<2?t.coord&&t.coord[r]:t.value;return(0,a.Pn)(o,e[r])}:function(t,n,i,r){return(0,a.Pn)(t.value,e[r])}},vz:h,xx:function(t,e){if(e){var n,i=t.getData(),r=t.coordinateSystem,a=r&&r.dimensions;if(!(!isNaN(parseFloat((n=e).x))&&!isNaN(parseFloat(n.y)))&&!(0,o.isArray)(e.coord)&&(0,o.isArray)(a)){var s=c(e,i,r,t);if((e=(0,o.clone)(e)).type&&u[e.type]&&s.baseAxis&&s.valueAxis){var l=(0,o.indexOf)(a,s.baseAxis.dim),p=(0,o.indexOf)(a,s.valueAxis.dim),d=u[e.type](i,s.valueAxis.dim,s.baseDataDim,s.valueDataDim,l,p);e.coord=d[0],e.value=d[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&(0,o.isArray)(a))for(var f=e.coord,g=0;g<2;g++)u[f[g]]&&(f[g]=h(i,i.mapDimension(a[g]),f[g]));else{e.coord=[];var y=t.getBaseAxis();if(y&&e.type&&u[e.type]){var v=r.getOtherAxis(y);v&&(e.value=h(i,i.mapDimension(v.dim),e.type))}}return e}}})},rQ5(t,e,n){var i=n("i4"),r=n("iY"),o=n("s2"),a=n("Vb"),s=n("FL"),l=n("F4"),u=n("db"),c=n("wv"),h=n("BP"),p=n("s7"),d=n("g8w"),f=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,i.C6)(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:"center",top:d.A.size.m,backgroundColor:d.A.color.transparent,borderColor:d.A.color.primary,borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:d.A.color.primary},subtextStyle:{fontSize:12,color:d.A.color.quaternary}},e}(c.A),g=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,c=t.getModel("textStyle"),h=t.getModel("subtextStyle"),d=t.get("textAlign"),f=r.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),g=new o.Ay({style:(0,l.VB)(c,{text:t.get("text"),fill:c.getTextColor()},{disableBox:!0}),z2:10}),y=g.getBoundingRect(),v=t.get("subtext"),m=new o.Ay({style:(0,l.VB)(h,{text:v,fill:h.getTextColor(),y:y.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),_=t.get("link"),x=t.get("sublink"),b=t.get("triggerEvent",!0);g.silent=!_&&!b,m.silent=!x&&!b,_&&g.on("click",function(){(0,p.JW)(_,"_"+t.get("target"))}),x&&m.on("click",function(){(0,p.JW)(x,"_"+t.get("subtarget"))}),(0,s.z)(g).eventData=(0,s.z)(m).eventData=b?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(g),v&&i.add(m);var w=i.getBoundingRect(),S=t.getBoxLayoutParams();S.width=w.width,S.height=w.height;var A=(0,u.Lj)(t,n),M=(0,u.dV)(S,A.refContainer,t.get("padding"));d||("middle"===(d=t.get("left")||t.get("right"))&&(d="center"),"right"===d?M.x+=M.width:"center"===d&&(M.x+=M.width/2)),f||("center"===(f=t.get("top")||t.get("bottom"))&&(f="middle"),"bottom"===f?M.y+=M.height:"middle"===f&&(M.y+=M.height/2),f=f||"top"),i.x=M.x,i.y=M.y,i.markRedraw();var T={align:d,verticalAlign:f};g.setStyle(T),m.setStyle(T),w=i.getBoundingRect();var C=M.margin,k=t.getItemStyle(["color","opacity"]);k.fill=t.get("backgroundColor");var I=new a.A({shape:{x:w.x-C[3],y:w.y-C[0],width:w.width+C[1]+C[3],height:w.height+C[0]+C[2],r:t.get("borderRadius")},style:k,subPixelOptimize:!0,silent:!0});i.add(I)}},e.type="title",e}(h.A);n.d(e,{},{a:function(t){t.registerComponentModel(f),t.registerComponentView(g)}})},rA(t,e,n){var i={};n.d(e,{},{M_:function(t,e){i[t]=e},Ms:function(){},x$:function(t){return i[t]}})},j1(t,e,n){n.d(e,{a:()=>tn});var i=n("xNS"),r=n("i4"),o=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.type="dataZoom.select",e}(n("Vk").A),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.type="dataZoom.select",e}(n("XV").A),s=n("jb");function l(t){t.registerComponentModel(o),t.registerComponentView(a),(0,s.A)(t)}var u=n("rA"),c=n("wv"),h=n("g8w"),p=n("iY"),d=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.init=function(e,n,i){var r=i.getTheme().get("toolbox"),o=r?r.feature:null;o&&(this._themeFeatureOption=(0,p.extend)({},o),r.feature={}),t.prototype.init.call(this,e,n,i),o&&(r.feature=o)},e.prototype.optionUpdated=function(){(0,p.each)(this.option.feature,function(t,e){var n=this._themeFeatureOption,i=u.x$(e);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(this.ecModel)),n&&n[e]&&((0,p.merge)(t,n[e]),n[e]=null),(0,p.merge)(t,i.defaultOption))},this)},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:h.A.color.border,borderRadius:0,borderWidth:0,padding:h.A.size.m,itemSize:15,itemGap:h.A.size.s,showTitle:!0,iconStyle:{borderColor:h.A.color.accent50,color:"none"},emphasis:{iconStyle:{borderColor:h.A.color.accent70}},tooltip:{show:!1,position:"bottom"}},e}(c.A),f=n("KO"),g=n("uf"),y=n("LP"),v=n("Sk"),m=n("YQ"),_=n("HS"),x=n("BP"),b=n("Af"),w=n("s2"),S=n("F4"),A=n("db"),M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features=(0,p.createHashMap)()),c=[];(0,p.each)(s,function(t,e){c.push(e)}),new m.A(this._featureNames||[],c).add(k).update(k).remove((0,p.curry)(k,null)).execute(),this._featureNames=(0,p.filter)(c,function(t){return l.hasKey(t)});var d=(0,A.Lj)(t,n).refContainer,x=t.getBoxLayoutParams(),M=t.get("padding"),C=(0,A.dV)(x,d,M);(0,A.aP)(t.get("orient"),r,t.get("itemGap"),C.width,C.height),(0,A.m$)(r,x,d,M),r.add(_.P(r.getBoundingRect(),t)),a||r.eachChild(function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!(0,p.isFunction)(l)&&e){var u=l.style||(l.style={}),c=f.NO(e,w.Ay.makeFont(u)),h=t.x+r.x,d=t.y+r.y+o,g=!1;d+c.height>n.getHeight()&&(a.position="top",g=!0);var y=g?-5-c.height:o+10;h+c.width/2>n.getWidth()?(a.position=["100%",y],u.align="right"):h-c.width/2<0&&(a.position=[0,y],u.align="left")}})}function k(d,f){var m,_,x,A,M,C,k,I,D,O,L,P=null!=d&&null==f,R=null!=d&&null!=f,B=P||R?c[d]:c[f],z=s[B],N=P||R?new v.A(z,t,e):null,E=N&&N.get("show");if(P){if(!E)return;if(0===B.indexOf("my"))L={onclick:N.option.onclick,featureName:B};else{var V=(0,u.x$)(B);if(!V)return;L=new V}l.set(B,L)}else L=l.get(B);if(null==d||!E){T(L)&&L.dispose&&L.dispose(e,n),l.removeKey(B);return}i&&null!=i.newTitle&&i.featureName===B&&(z.title=i.newTitle),P&&(L.uid=(0,b.$Q)("toolbox-feature")),L.model=N,L.ecModel=e,L.api=n,m=N,_=L,x=B,C=m.getModel("iconStyle"),k=m.getModel(["emphasis","iconStyle"]),I=_ instanceof u.Ms&&_.getIcons?_.getIcons():m.get("icon"),D=m.get("title")||{},(0,p.isString)(I)?(A={})[x]=I:A=I,(0,p.isString)(D)?(M={})[x]=D:M=D,O=m.iconPaths={},(0,p.each)(A,function(i,s){var l=g.createIcon(i,{},{x:-o/2,y:-o/2,width:o,height:o});l.setStyle(C.getItemStyle()),l.ensureState("emphasis").style=k.getItemStyle();var u=new w.Ay({style:{text:M[s],align:k.get("textAlign"),borderRadius:k.get("textBorderRadius"),padding:k.get("textPadding"),fill:null,font:(0,S.c8)({fontStyle:k.get("textFontStyle"),fontFamily:k.get("textFontFamily"),fontSize:k.get("textFontSize"),fontWeight:k.get("textFontWeight")},e)},ignore:!0});l.setTextContent(u),g.setTooltipConfig({el:l,componentModel:t,itemName:s,formatterParamsExtra:{title:M[s]}}),l.__title=M[s],l.on("mouseover",function(){var e=k.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";u.setStyle({fill:k.get("textFill")||e.fill||e.stroke||h.A.color.neutral99,backgroundColor:k.get("textBackgroundColor")}),l.setTextConfig({position:k.get("textPosition")||i}),u.ignore=!t.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==m.get(["iconStatus",s])&&n.leaveEmphasis(this),u.hide()}),("emphasis"===m.get(["iconStatus",s])?y.HY:y.SD)(l),r.add(l),l.on("click",(0,p.bind)(_.onclick,_,e,n,s)),O[s]=l}),N.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?y.HY:y.SD)(i[t])},T(L)&&L.render&&L.render(N,e,n,i)}},e.prototype.updateView=function(t,e,n,i){(0,p.each)(this._features,function(t){t&&t instanceof u.Ms&&t.updateView&&t.updateView(t.model,e,n,i)})},e.prototype.dispose=function(t,e){(0,p.each)(this._features,function(n){n&&n instanceof u.Ms&&n.dispose&&n.dispose(t,e)})},e.type="toolbox",e}(x.A);function T(t){return t instanceof u.Ms}var C=n("E3"),k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||h.A.color.neutral00,connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=C.A.browser;if("function"!=typeof MouseEvent||!s.newEdge&&(s.ie||s.edge))if(window.navigator.msSaveOrOpenBlob||r){var l=a.split(","),u=l[0].indexOf("base64")>-1,c=r?decodeURIComponent(l[1]):l[1];u&&(c=window.atob(c));var p=i+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var d=c.length,f=new Uint8Array(d);d--;)f[d]=c.charCodeAt(d);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,p)}else{var y=document.createElement("iframe");document.body.appendChild(y);var v=y.contentWindow,m=v.document;m.open("image/svg+xml","replace"),m.write(c),m.close(),v.focus(),m.execCommand("SaveAs",!0,p),document.body.removeChild(y)}}else{var _=n.get("lang"),x='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(_&&_[0]||"")+'" /></body>',b=window.open();b.document.write(x),b.document.title=i}else{var w=document.createElement("a");w.download=i+"."+o,w.target="_blank",w.href=a;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:h.A.color.neutral00,name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(u.Ms),I=n("Hr"),D=n("xN"),O="__ec_magicType_stack__",L=[["line","bar"],["stack"]],P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return p.each(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i,r=this.model,o=r.get(["seriesIndex",n]);if(R[n]){var a={series:[]};p.each(L,function(t){p.indexOf(t,n)>=0&&p.each(t,function(t){r.setIconStatus(t,"normal")})}),r.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},function(t){var e=t.subType,i=t.id,o=R[n](e,i,t,r);o&&(p.defaults(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",c=t.getReferringComponents(u,D.US).models[0].componentIndex;a[u]=a[u]||[];for(var h=0;h<=c;h++)a[u][c]=a[u][c]||{};a[u][c].boundaryGap="bar"===n}}});var s=n;"stack"===n&&(i=p.merge({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:i,featureName:"magicType"})}},e}(u.Ms),R={line:function(t,e,n,i){if("bar"===t)return p.merge({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return p.merge({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===O;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),p.merge({id:e,stack:r?"":O},i.get(["option","stack"])||{},!0)}};I.OH({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)});var B=n("lX"),z=n("sT"),N=Array(60).join("-");function E(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var V=RegExp("[ ]+","g"),F=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.onclick=function(t,e){setTimeout(function(){e.dispatchAction({type:"hideTip"})});var n,i,r,o,a,s,l,u=e.getDom(),c=this.model;this._dom&&u.removeChild(this._dom);var d=document.createElement("div");d.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",d.style.backgroundColor=c.get("backgroundColor")||h.A.color.neutral00;var f=document.createElement("h4"),g=c.get("lang")||[];f.innerHTML=g[0]||c.get("title"),f.style.cssText="margin:10px 20px",f.style.color=c.get("textColor");var y=document.createElement("div"),v=document.createElement("textarea");y.style.cssText="overflow:auto";var m=c.get("optionToContent"),_=c.get("contentToOption"),x=(l=(n={},i=[],r=[],t.eachRawSeries(function(t){var e=t.coordinateSystem;if(e&&("cartesian2d"===e.type||"polar"===e.type)){var o=e.getBaseAxis();if("category"===o.type){var a=(0,z.bJ)(o);n[a]||(n[a]={categoryAxis:o,valueAxis:e.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),n[a].series.push(t)}else i.push(t)}else i.push(t)}),{seriesGroupByCategoryAxis:n,other:i,meta:r}),{value:p.filter([(o=l.seriesGroupByCategoryAxis,a=[],p.each(o,function(t,e){var n=t.categoryAxis,i=t.valueAxis.dim,r=[" "].concat(p.map(t.series,function(t){return t.name})),o=[n.model.getCategories()];p.each(t.series,function(t){var e=t.getRawData();o.push(t.getRawData().mapArray(e.mapDimension(i),function(t){return t}))});for(var s=[r.join(" ")],l=0;l<o[0].length;l++){for(var u=[],c=0;c<o.length;c++)u.push(o[c][l]);s.push(u.join(" "))}a.push(s.join("\n"))}),a.join("\n\n"+N+"\n\n")),(s=l.other,p.map(s,function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a<t-1;a++)i[a]=arguments[a];n.push((o?o+" ":"")+i.join(" "))}),n.join("\n")}).join("\n\n"+N+"\n\n"))],function(t){return!!t.replace(/[\n\t\s]/g,"")}).join("\n\n"+N+"\n\n"),meta:l.meta});if(p.isFunction(m)){var b=m(e.getOption());p.isString(b)?y.innerHTML=b:p.isDom(b)&&y.appendChild(b)}else{v.readOnly=c.get("readOnly");var w=v.style;w.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",w.color=c.get("textColor"),w.borderColor=c.get("textareaBorderColor"),w.backgroundColor=c.get("textareaColor"),v.value=x.value,y.appendChild(v)}var S=x.meta,A=document.createElement("div");A.style.cssText="position:absolute;bottom:5px;left:0;right:0";var M="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",T=document.createElement("div"),C=document.createElement("div");M+=";background-color:"+c.get("buttonColor")+";color:"+c.get("buttonTextColor");var k=this;function I(){u.removeChild(d),k._dom=null}(0,B.q2)(T,"click",I),(0,B.q2)(C,"click",function(){var t,n,i,r;if(null==_&&null!=m||null!=_&&null==m)return void I();try{p.isFunction(_)?t=_(y,e.getOption()):(n=v.value,i=n.split(RegExp("\n*"+N+"\n*","g")),r={series:[]},p.each(i,function(t,e){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(" ")>=0)return!0}(t)){var n=function(t){for(var e=t.split(/\n+/g),n=E(e.shift()).split(V),i=[],r=p.map(n,function(t){return{name:t,data:[]}}),o=0;o<e.length;o++){var a=E(e[o]).split(V);i.push(a.shift());for(var s=0;s<a.length;s++)r[s]&&(r[s].data[o]=a[s])}return{series:r,categories:i}}(t),i=S[e],o=i.axisDim+"Axis";i&&(r[o]=r[o]||[],r[o][i.axisIndex]={data:n.categories},r.series=r.series.concat(n.series))}else{var n=function(t){for(var e=t.split(/\n+/g),n=E(e.shift()),i=[],r=0;r<e.length;r++){var o=E(e[r]);if(o){var a=o.split(V),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}(t);r.series.push(n)}}),t=r)}catch(t){throw I(),Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),I()}),T.innerHTML=g[1],C.innerHTML=g[2],C.style.cssText=T.style.cssText=M,c.get("readOnly")||A.appendChild(C),A.appendChild(T),d.appendChild(f),d.appendChild(y),d.appendChild(A),y.style.height=u.clientHeight-80+"px",u.appendChild(d),this._dom=d},e.prototype.dispose=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.getDefaultOption=function(t){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:h.A.color.background,textColor:h.A.color.primary,textareaColor:h.A.color.background,textareaBorderColor:h.A.color.border,buttonColor:h.A.color.accent50,buttonTextColor:h.A.color.neutral00}},e}(u.Ms);I.OH({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var n=[];p.each(t.newOption.series,function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r,o=i.get("data");n.push({name:t.name,data:(r=t.data,p.map(r,function(t,e){var n=o&&o[e];if(!p.isObject(n)||p.isArray(n))return t;p.isObject(t)&&!p.isArray(t)||(t={value:t});var i=null!=n.name&&null==t.name;return t=p.defaults(t,n),i&&delete t.name,t}))})}else n.push(p.extend({type:"scatter"},t))}),e.mergeOption(p.defaults({series:n},t.newOption))});var Y=p.each,H=(0,D.$r)();function W(t){var e=H(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.onclick=function(t,e){H(t).snapshots=null,e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(u.Ms);I.OH({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var Z=n("Y8b"),U=n("mh"),X=n("bx"),j=n("PG"),q=n("MB"),$=p.each,Q=(0,D.S_)("toolbox-dataZoom_"),J={x:"width",y:"height"},K=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.render=function(t,e,n,i){var r,o,a,s,l,u,c,h,d;this._brushController||(this._brushController=new Z.A(n.getZr()),this._brushController.on("brush",p.bind(this._onBrush,this)).mount()),r=t,o=e,a=this,s=i,l=n,u=a._isZoomActive,s&&"takeGlobalCursor"===s.type&&(u="dataZoomSelect"===s.key&&s.dataZoomSelectActive),a._isZoomActive=u,r.setIconStatus("zoom",u?"emphasis":"normal"),c=new U.A(te(r),o,{include:["grid"]}).makePanelOpts(l,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}),a._brushController.setPanels(c).enableBrush(!!u&&!!c.length&&{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}),h=t,d=e,h.setIconStatus("back",W(d).length>1?"emphasis":"normal")},e.prototype.onclick=function(t,e,n){tt[n].call(this)},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n,i,r,o={},a=this.ecModel;this._brushController.updateCovers([]),new U.A(te(this.model),a,{include:["grid"]}).matchOutputRanges(e,a,function(t,e,n){if("cartesian2d"===n.type){var i=n.master.getRect().clone(),r=t.brushType;"rect"===r?(s("x",n,i,e[0]),s("y",n,i,e[1])):s({lineX:"x",lineY:"y"}[r],n,i,e)}}),n=a,i=o,r=W(n),Y(i,function(t,e){for(var i=r.length-1;i>=0&&!r[i][e];i--);if(i<0){var o=n.queryComponents({mainType:"dataZoom",subType:"select",id:e})[0];if(o){var a=o.getPercentRange();r[0][e]={dataZoomId:e,start:a[0],end:a[1]}}}}),r.push(i),this._dispatchZoomAction(o)}function s(t,e,n,i){var r,s,l,u=e.getAxis(t),c=u.model,h=(r=t,s=c,a.eachComponent({mainType:"dataZoom",subType:"select"},function(t){t.getAxisModel(r,s.componentIndex)&&(l=t)}),l),p=h.findRepresentativeAxisProxy(c).getMinMaxSpan(),d=u.scale.getExtent();(null!=p.minValueSpan||null!=p.maxValueSpan)&&(i=(0,X.A)(0,i.slice(),d,0,p.minValueSpan,p.maxValueSpan));var f=(0,q.EO)(d,n[J[t]],.5);h&&(o[h.id]={dataZoomId:h.id,startValue:isFinite(f)?(0,q.LI)(i[0],f):i[0],endValue:isFinite(f)?(0,q.LI)(i[1],f):i[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];$(t,function(t,n){e.push(p.clone(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:h.A.color.backgroundTint}}},e}(u.Ms),tt={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){var t,e,n;this._dispatchZoomAction((e=(t=W(this.ecModel))[t.length-1],t.length>1&&t.pop(),n={},Y(e,function(e,i){for(var r=t.length-1;r>=0;r--)if(e=t[r][i]){n[i]=e;break}}),n))}};function te(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function tn(t){t.registerComponentModel(d),t.registerComponentView(M),(0,u.M_)("saveAsImage",k),(0,u.M_)("magicType",P),(0,u.M_)("dataView",F),(0,u.M_)("dataZoom",K),(0,u.M_)("restore",G),(0,i.Y)(l)}(0,j.S)("dataZoom",function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=te(i),a=(0,D._e)(t,o);return $(a.xAxisModels,function(t){return s(t,"xAxis","xAxisIndex")}),$(a.yAxisModels,function(t){return s(t,"yAxis","yAxisIndex")}),r}function s(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:Q+e+o};a[n]=o,r.push(a)}})},i0(t,e,n){n.d(e,{a:()=>J});var i=n("Q9"),r=n("xNS"),o=n("i4"),a=n("wv"),s=n("g8w"),l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.C6)(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click|mousewheel",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:s.A.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:s.A.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:s.A.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:s.A.color.tertiary,fontSize:14}},e}(a.A),u=n("iY"),c=n("E3"),h=n("lX"),p=n("OR"),d=n("s7");function f(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function g(t){if(c.A.domSupported){for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}}var y=g(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),v=g(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function m(t,e){if(!t)return e;e=(0,d.Cb)(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var _=n("zZ"),x=m(v,"transition"),b=m(y,"transform"),w="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(c.A.transform3dSupported?"will-change:transform;":"");function S(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!c.A.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=c.A.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+b+":"+a+";":[["top",0],["left",0],[y,a]]}function A(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&(0,p.lJ)(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var M=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,c.A.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&((0,u.isString)(r)?document.querySelector(r):(0,u.isDom)(r)?r:(0,u.isFunction)(r)&&r(t.getDom()));A(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler,n=i.painter.getViewportRoot();(0,h.e0)(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e,n,i=this._api.getDom(),r=(e="position",(n=i.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(i))?e?n[e]:n:null),o=i.style;"absolute"!==o.position&&"absolute"!==r&&(o.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this._enableDisplayTransition=t.get("displayTransition")&&t.get("transitionDuration")>0,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n,i,r,o,a,s,l,h,p,f,g,y,v,m,A,M,T,C,k,I,D,O,L,P,R=this.el,B=R.style,z=this._styleCoord;R.innerHTML?B.cssText=w+(n=!this._firstShow,i=this._longHide,r=this._enableDisplayTransition,o=[],a=t.get("transitionDuration"),s=t.get("backgroundColor"),l=t.get("shadowBlur"),h=t.get("shadowColor"),p=t.get("shadowOffsetX"),f=t.get("shadowOffsetY"),g=t.getModel("textStyle"),y=(0,_.CO)(t,"html"),v=p+"px "+f+"px "+l+"px "+h,o.push("box-shadow:"+v),n&&a>0&&o.push((m="cubic-bezier(0.23,1,0.32,1)",A="",M="",r&&(M="opacity"+(A=" "+a/2+"s "+m)+",visibility"+A),i||(A=" "+a+"s "+m,M+=(M.length?",":"")+(c.A.transformSupported?""+b+A:",left"+A+",top"+A)),x+":"+M)),s&&o.push("background-color:"+s),(0,u.each)(["width","color","radius"],function(e){var n="border-"+e,i=(0,d.Cb)(n),r=t.get(i);null!=r&&o.push(n+":"+r+("color"===e?"":"px"))}),o.push((T=[],C=g.get("fontSize"),(k=g.getTextColor())&&T.push("color:"+k),T.push("font:"+g.getFont()),I=(0,u.retrieve2)(g.get("lineHeight"),Math.round(3*C/2)),C&&T.push("line-height:"+I+"px"),D=g.get("textShadowColor"),O=g.get("textShadowBlur")||0,L=g.get("textShadowOffsetX")||0,P=g.get("textShadowOffsetY")||0,D&&O&&T.push("text-shadow:"+L+"px "+P+"px "+O+"px "+D),(0,u.each)(["decoration","align"],function(t){var e=g.get(t);e&&T.push("text-"+t+":"+e)}),T.join(";"))),null!=y&&o.push("padding:"+(0,d.QX)(y).join("px ")+"px"),o.join(";")+";")+S(z[0],z[1],!0)+"border-color:"+(0,d.he)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):B.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null==t){o.innerHTML="";return}var a="";if((0,u.isString)(r)&&"item"===n.get("trigger")&&!f(n)&&(a=function(t,e,n){if(!(0,u.isString)(n)||"inside"===n)return"";var i,r,o=t.get("backgroundColor"),a=t.get("borderWidth");e=(0,d.he)(e);var s=i="left"===(i=n)?"right":"right"===i?"left":"top"===i?"bottom":"top",l=Math.max(1.5*Math.round(a),6),c="",h=b+":";(0,u.indexOf)(["left","right"],s)>-1?(c+="top:50%",h+="translateY(-50%) rotate("+(r="left"===s?-225:-45)+"deg)"):(c+="left:50%",h+="translateX(-50%) rotate("+(r="top"===s?225:45)+"deg)");var p=r*Math.PI/180,f=l+a,g=f*Math.abs(Math.cos(p))+f*Math.abs(Math.sin(p));c+=";"+s+":-"+Math.round(((g-Math.SQRT2*a)/2+Math.SQRT2*a-(g-f)/2)*100)/100+"px";var y=e+" solid "+a+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",c+";"+h+";","border-bottom:"+y,"border-right:"+y,"background-color:"+o+";"].join("")+'"></div>'}(n,i,r)),(0,u.isString)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,u.isArray)(t)||(t=[t]);for(var s=0;s<t.length;s++)(0,u.isDom)(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},t.prototype.moveTo=function(t,e){if(this.el){var n=this._styleCoord;if(A(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=S(n[0],n[1]);(0,u.each)(r,function(t){i[t[0]]=t[1]})}}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;this._enableDisplayTransition?(e.visibility="hidden",e.opacity="0"):e.display="none",c.A.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,u.bind)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this._zr;(0,p.Yn)(t&&t.painter&&t.painter.getViewportRoot(),this._container);var e=this.el;if(e){e.onmouseenter=e.onmousemove=e.onmouseleave=null;var n=e.parentNode;n&&n.removeChild(e)}this.el=this._container=null},t}(),T=n("s2"),C=n("nXY"),k=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),O(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;u.isObject(t)&&(0,C.$8)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new T.Ay({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,_.CO)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),u.each(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=n.get(t)}),u.each(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=D(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;O(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=I(r.borderWidth||0),a=D(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(u.bind(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function I(t){return Math.max(0,t)}function D(t){var e=I(t.shadowBlur||0),n=I(t.shadowOffsetX||0),i=I(t.shadowOffsetY||0);return{left:I(e-n),right:I(e+n),top:I(e-i),bottom:I(e+i)}}function O(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var L=n("MB"),P=n("Vb"),R=n("rR"),B=n("db"),z=n("Sk"),N=n("vF3"),E=n("LC"),V=n("lD"),F=n("xN"),Y=n("BP"),H=n("MUM"),W=n("FL"),G=n("lZ"),Z=n("u1"),U=n("dd"),X=new P.A({shape:{x:-1,y:-1,width:2,height:2}}),j=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.C6)(e,t),e.prototype.init=function(t,e){if(!c.A.node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=(0,F.XJ)(n.get("renderMode"));this._tooltipContent="richText"===i?new k(e):new M(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!c.A.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,U.N)(this,"_updatePosition",50,"fixRate"):(0,U.IU)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");N.k("itemTooltip",this._api,(0,u.bind)(function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if("axis"!==t.get("trigger")&&(this._lastDataByCoordSys=null,this._cbParamsList=null),null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.isDisposed()||r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!c.A.node&&n.getDom()){var r=$(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i,r=(0,F.HB)(t).queryOptionMap,o=r.keys()[0];if(o&&"series"!==o){var a=(0,F.JO)(e,o,r.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a&&(n.getViewOfComponentModel(a).group.traverse(function(e){var n=(0,W.z)(e).tooltipConfig;if(n&&n.name===t.name)return i=e,!0}),i))return{componentMainType:o,componentIndex:a.componentIndex,el:i}}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y)X.x=i.x,X.y=i.y,X.update(),(0,W.z)(X).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:X},r);else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var l=(0,R.A)(i,e),u=l.point[0],h=l.point[1];null!=u&&null!=h&&this._tryShow({offsetX:u,offsetY:h,target:l.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,this._cbParamsList=null,i.from!==this.uid&&this._hide($(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===q([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i,r,o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(n){if("legend"===(0,W.z)(n).ssrType)return;this._lastDataByCoordSys=null,this._cbParamsList=null,(0,Z.R)(n,function(t){if(t.tooltipDisabled)return i=r=null,!0;i||r||(null!=(0,W.z)(t).dataIndex?i=t:null!=(0,W.z)(t).tooltipConfig&&(r=t))},!0),i?this._showSeriesItemTooltip(t,i,e):r?this._showComponentItemTooltip(t,r,e):this._hide(e)}else this._lastDataByCoordSys=null,this._cbParamsList=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=(0,u.bind)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=q([e.tooltipOption],i),a=this._renderMode,s=[],l=(0,_.Qx)("section",{blocks:[],noHeader:!0}),c=[],h=new _.lb;(0,u.each)(t,function(t){(0,u.each)(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value,o=e.axis,p=o.scale.parse(r);if(e&&null!=r){var f=V._F(r,o,n,t.seriesDataIndices,t.valueLabelOpt),g=(0,_.Qx)("section",{header:f,noHeader:!(0,u.trim)(f),sortBlocks:!0,blocks:[]});l.blocks.push(g),(0,u.each)(t.seriesDataIndices,function(r){var o=n.getSeriesByIndex(r.seriesIndex),l=r.dataIndexInside,y=o.getDataParams(l);if(!(y.dataIndex<0)){y.axisDim=t.axisDim,y.axisIndex=t.axisIndex,y.axisType=t.axisType,y.axisId=t.axisId,y.axisValue=E.Dt(e.axis,{value:p}),y.axisValueLabel=f,y.marker=h.makeTooltipMarker("item",(0,d.he)(y.color),a);var v=(0,G.L)(o.formatTooltip(l,!0,null)),m=v.frag;if(m){var _=q([o],i).get("valueFormatter");g.blocks.push(_?(0,u.extend)({valueFormatter:_},m):m)}v.text&&c.push(v.text),s.push(y)}})}})}),l.blocks.reverse(),c.reverse();var p=e.position,f=o.get("order"),g=(0,_.Yu)(l,h,a,f,n.get("useUTC"),o.get("textStyle"));g&&c.unshift(g);var y="richText"===a?"\n\n":"<br/>",v=c.join(y);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,p,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,v,s,Math.random()+"",r[0],r[1],p,null,h)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=(0,W.z)(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,c=r.dataType,h=s.getData(c),p=this._renderMode,f=t.positionDefault,g=q([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),y=g.get("trigger");if(null==y||"item"===y){var v=s.getDataParams(l,c),m=new _.lb;v.marker=m.makeTooltipMarker("item",(0,d.he)(v.color),p);var x=(0,G.L)(s.formatTooltip(l,!1,c)),b=g.get("order"),w=g.get("valueFormatter"),S=x.frag,A=S?(0,_.Yu)(w?(0,u.extend)({valueFormatter:w},S):S,m,p,b,i.get("useUTC"),g.get("textStyle")):x.text,M="item_"+s.name+"_"+l;this._showOrMove(g,function(){this._showTooltipContent(g,A,v,M,t.offsetX,t.offsetY,t.position,t.target,m)}),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=(0,W.z)(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if((0,u.isString)(o)){var s=o;o={content:s,formatter:s},a=!0}a&&i&&o.content&&((o=(0,u.clone)(o)).content=(0,p.Me)(o.content));var l=[o],c=this._ecModel.getComponent(r.componentMainType,r.componentIndex);c&&l.push(c),l.push({formatter:o.content});var h=t.positionDefault,d=q(l,this._tooltipModel,h?{position:h}:null),f=d.get("content"),g=Math.random()+"",y=new _.lb;this._showOrMove(d,function(){var n=(0,u.clone)(d.get("formatterParams")||{});this._showTooltipContent(d,f,n,g,t.offsetX,t.offsetY,t.position,e,y)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var p=e,f=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor"),t.get("defaultBorderColor",!0)).color;if(h)if((0,u.isString)(h)){var g=t.ecModel.get("useUTC"),y=(0,u.isArray)(n)?n[0]:n,v=y&&y.axisType&&y.axisType.indexOf("time")>=0;p=h,v&&(p=(0,H.GP)(y.axisValue,p,g)),p=(0,d.YK)(p,n,!0)}else if((0,u.isFunction)(h)){var m=(0,u.bind)(function(e,i){e===this._ticket&&(c.setContent(i,l,t,f,a),this._updatePosition(t,a,r,o,c,n,s))},this);this._ticket=i,p=h(n,i,m)}else p=h;c.setContent(p,l,t,f,a),c.show(t,f),this._updatePosition(t,a,r,o,c,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i,r){return"axis"===n||(0,u.isArray)(e)?{color:i||r}:(0,u.isArray)(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var c=r.getSize(),h=t.get("align"),p=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),(0,u.isFunction)(e)&&(e=e([n,i],o,r.el,d,{viewSize:[s,l],contentSize:c.slice()})),(0,u.isArray)(e))n=(0,L.lo)(e[0],s),i=(0,L.lo)(e[1],l);else if((0,u.isObject)(e)){var g=e;g.width=c[0],g.height=c[1];var y=(0,B.dV)(g,{width:s,height:l});n=y.x,i=y.y,h=null,p=null}else if((0,u.isString)(e)&&a){var v=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+c+a;break;case"left":s=e.x-r-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}(e,d,c,t.get("borderWidth"));n=v[0],i=v[1]}else{var m,_,x,b,w,S,A,M,T,C,v=(m=n,_=i,x=r,b=s,w=l,S=h?null:20,A=p?null:20,T=(M=x.getSize())[0],C=M[1],null!=S&&(m+T+S+2>b?m-=T+S:m+=S),null!=A&&(_+C+A>w?_-=C+A:_+=A),[m,_]);n=v[0],i=v[1]}if(h&&(n-=Q(h)?c[0]/2:"right"===h?c[0]:0),p&&(i-=Q(p)?c[1]/2:"bottom"===p?c[1]:0),f(t)){var k,I,D,O,P,R,z,N,v=(k=n,I=i,D=r,O=s,P=l,z=(R=D.getSize())[0],N=R[1],k=Math.min(k+z,O)-z,I=Math.min(I+N,P)-N,[k=Math.max(k,0),I=Math.max(I,0)]);n=v[0],i=v[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&(0,u.each)(n,function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&(0,u.each)(a,function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&(0,u.each)(a,function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&(0,u.each)(t.seriesDataIndices,function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,this._cbParamsList=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!c.A.node&&e.getDom()&&((0,U.IU)(this,"_updatePosition"),this._tooltipContent.dispose(),N.h("itemTooltip",e),this._tooltipContent=null,this._tooltipModel=null,this._lastDataByCoordSys=null,this._cbParamsList=null)},e.type="tooltip",e}(Y.A);function q(t,e,n){var i,r=e.ecModel;n?(i=new z.A(n,r,r),i=new z.A(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof z.A&&(a=a.get("tooltip",!0)),(0,u.isString)(a)&&(a={formatter:a}),a&&(i=new z.A(a,i,r)))}return i}function $(t,e){return t.dispatchAction||(0,u.bind)(e.dispatchAction,e)}function Q(t){return"center"===t||"middle"===t}function J(t){(0,r.Y)(i.a),t.registerComponentModel(l),t.registerComponentView(j),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},u.noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},u.noop)}},BJ(t,e,n){var i=n("iY"),r=n("zZ"),o=n("iL"),a=n("xN");n.d(e,{},{J:function(t){var e,n,s,l,u=t.series,c=t.dataIndex,h=t.multipleSeries,p=u.getData(),d=p.mapDimensionsAll("defaultedTooltip"),f=d.length,g=u.getRawValue(c),y=(0,i.isArray)(g),v=(0,r.aw)(u,c);if(f>1||y&&!f){var m=function(t,e,n,a,s){var l=e.getData(),u=(0,i.reduce)(t,function(t,e,n){var i=l.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName},!1),c=[],h=[],p=[];function d(t,e){var n=l.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(u?p.push((0,r.Qx)("nameValue",{markerType:"subItem",markerColor:s,name:n.displayName,value:t,valueType:n.type})):(c.push(t),h.push(n.type)))}return a.length?(0,i.each)(a,function(t){d((0,o.QE)(l,n,t),t)}):(0,i.each)(t,d),{inlineValues:c,inlineValueTypes:h,blocks:p}}(g,u,c,d,v);e=m.inlineValues,n=m.inlineValueTypes,s=m.blocks,l=m.inlineValues[0]}else if(f){var _=p.getDimensionInfo(d[0]);l=e=(0,o.QE)(p,c,d[0]),n=_.type}else l=e=y?g[0]:g;var x=(0,a.O0)(u),b=x&&u.name||"",w=p.getName(c),S=h?b:w;return(0,r.Qx)("section",{header:b,noHeader:h||!x,sortParam:l,blocks:[(0,r.Qx)("nameValue",{markerType:"item",markerColor:v,name:S,noName:!(0,i.trim)(S),value:e,valueType:n,rawDataIndex:p.getRawIndex(c)})].concat(s||[])})}})},zZ(t,e,n){var i=n("OR"),r=n("s7"),o=n("iY"),a=n("Fy4"),s=n("MB"),l=n("g8w");function u(t){var e=t.lineHeight;return null==e?"line-height:1":"line-height:"+(0,i.Me)(e+"")+"px"}function c(t,e){var n=t.color||l.A.color.tertiary,r=t.fontSize||12,o=t.fontWeight||"400",a=t.color||l.A.color.secondary,s=t.fontSize||14,u=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,i.Me)(r+"")+"px;color:"+(0,i.Me)(n)+";font-weight:"+(0,i.Me)(o+""),valueStyle:"font-size:"+(0,i.Me)(s+"")+"px;color:"+(0,i.Me)(a)+";font-weight:"+(0,i.Me)(u+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:u}}}var h=[0,10,20,30],p=["","\n","\n\n","\n\n\n"];function d(t){return"section"===t.type}function f(t,e,n,s){var l,m=e.noHeader,_={html:h[l=function t(e){if(d(e)){var n=0,i=e.blocks.length,r=i>1||i>0&&!e.noHeader;return(0,o.each)(e.blocks,function(e){var i=t(e);i>=n&&(n=i+ +(r&&(!i||d(e)&&!e.noHeader)))}),n}return 0}(e)],richText:p[l]},x=[],b=e.blocks||[];(0,o.assert)(!b||(0,o.isArray)(b)),b=b||[];var w=t.orderMode;if(e.sortBlocks&&w){b=b.slice();var S={valueAsc:"asc",valueDesc:"desc"};if((0,o.hasOwn)(S,w)){var A=new a.Fl(S[w],null);b.sort(function(t,e){return A.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===w&&b.reverse()}(0,o.each)(b,function(n,i){var r=e.valueFormatter,a=(d(n)?f:g)(r?(0,o.extend)((0,o.extend)({},t),{valueFormatter:r}):t,n,i>0?_.html:0,s);null!=a&&x.push(a)});var M="richText"===t.renderMode?x.join(_.richText):y(s,x.join(""),m?n:_.html);if(m)return M;var T=(0,r.yC)(e.header,"ordinal",t.useUTC),C=c(s,t.renderMode).nameStyle,k=u(s);return"richText"===t.renderMode?v(t,T,C)+_.richText+M:y(s,'<div style="'+C+";"+k+';">'+(0,i.Me)(T)+"</div>"+M,n)}function g(t,e,n,a){var s=t.renderMode,u=e.noName,h=e.noValue,p=!e.markerType,d=e.name,f=t.useUTC,g=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.isArray)(t)?t:[t],(0,o.map)(t,function(t,e){return(0,r.yC)(t,(0,o.isArray)(D)?D[e]:D,f)})};if(!u||!h){var m,_,x,b,w,S,A,M,T,C,k=p?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||l.A.color.secondary,s),I=u?"":(0,r.yC)(d,"ordinal",f),D=e.valueType,O=h?[]:g(e.value,e.rawDataIndex),L=!p||!u,P=!p&&u,R=c(a,s),B=R.nameStyle,z=R.valueStyle;return"richText"===s?(p?"":k)+(u?"":v(t,I,B))+(h?"":(m=t,_=O,x=L,b=P,w=[z],x&&w.push({padding:[0,0,0,b?10:20],align:"right"}),m.markupStyleCreator.wrapRichTextStyle((0,o.isArray)(_)?_.join(" "):_,w))):y(a,(p?"":k)+(u?"":(S=I,'<span style="'+B+";"+(p?"":"margin-left:2px")+'">'+(0,i.Me)(S)+"</span>"))+(h?"":(A=O,M=L,T=P,C=z,A=(0,o.isArray)(A)?A:[A],'<span style="'+(M?"float:right;margin-left:"+(T?"10px":"20px"):"")+";"+C+'">'+(0,o.map)(A,function(t){return(0,i.Me)(t)}).join("&nbsp;&nbsp;")+"</span>")),n)}}function y(t,e,n){return'<div style="margin: '+n+"px 0 0;"+u(t)+';">'+e+'<div style="clear:both"></div></div>'}function v(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}var m=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.IH)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,a=(0,r.qg)({color:e,type:t,renderMode:n,markerId:i});return(0,o.isString)(a)?a:(this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.isArray)(e)?(0,o.each)(e,function(t){return(0,o.extend)(n,t)}):(0,o.extend)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();n.d(e,{},{CO:function(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10},Qx:function(t,e){return e.type=t,e},Yu:function(t,e,n,i,r,o){if(t)return(d(t)?f:g)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)},aw:function(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,r.he)(n)},lb:m})},Ro(t,e,n){var i=n("iY"),r=n("MB"),o=n("rG"),a=n("x2"),s=n("lN"),l=n("LC"),u=[0,1];function c(t){var e=t.getExtent();if(t.onBand){var n=(e[1]-e[0])/t.scale.count()/2;e[0]+=n,e[1]-=n}return e}e.A=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(this.scale.parse(t))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this.scale;return t=n.normalize(n.parse(t)),(0,r.Cb)(t,u,c(this),e)},t.prototype.coordToData=function(t,e){var n=(0,r.Cb)(t,c(this),u,e);return this.scale.scale(n)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=(0,o.MI)(this,e,{breakTicks:t.breakTicks,pruneByBreak:t.pruneByBreak}),r=(0,i.map)(n.ticks,function(t){return{coord:this.dataToCoord((0,l.NQ)(this.scale,t)),tick:t}},this),a=function(t,e,n){var r=e.length;if(!t.onBand||n||!r)return!1;var o=(0,s.D)(t).w;if(!o)return!1;(0,i.each)(e,function(t){t.coord-=o/2});var a=t.scale.getExtent(),l=e[r-1];return l.tick.offInterval&&e.pop(),e.push({coord:l.coord+o,tick:{value:a[1]+1}}),!0}(this,r,e.get("alignWithLabel"));return(0,i.map)(r,function(t){return{coord:t.coord,tickValue:t.tick.value,onBand:a}})},t.prototype.getMinorTicksCoords=function(){if((0,a.wl)(this.scale))return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,i.map)(e,function(t){return(0,i.map)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(t){return t=t||(0,o.eP)(o.fm.determine),(0,o.vI)(this,t).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){return(0,s.D)(this,{min:1}).w},t.prototype.calculateCategoryInterval=function(t){return t=t||(0,o.eP)(o.fm.determine),(0,o.EO)(this,t)},t}()},mR(t,e,n){n.d(e,{},{L:function(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]&&!!t.getViewRect},g:function(t,e){return t.type===e}})},uc(t,e,n){var i=n("i4"),r=n("Y8"),o=n("P7"),a=n("MB"),s=n("iY"),l=n("q0"),u=n("uf"),c=n("W5"),h=n("AT"),p=n("xy"),d=function(t){function e(e,n,i){var r=t.call(this)||this;r.type="view",r.dimensions=["x","y"],r.invertY=e,r.lgCt=n,r.lgGeo=i;var a=r.trans=[];return a[0]=(0,o.Rd)(),a[1]=(0,o.Rd)(),a[2]=(0,o.Rd)(),r.mtRaw=(0,h.create)(),r.mtRawInv=(0,h.create)(),r.mtOverall=(0,h.create)(),r.mtOverallInv=(0,h.create)(),r.zoom=1,r}return(0,i.C6)(e,t),e.prototype.getBoundingRect=function(){return g(null,this)},e.prototype.getViewRect=function(){return y(null,this)},e.prototype.getRoamTransform=function(){return(0,o.Ed)(this.trans[1])},e.prototype.dataToPoint=function(t,e,n){var i=e?this.mtRaw:this.mtOverall;return n=n||[],i?(0,p.applyTransform)(n,t,i):(0,p.copy)(n,t)},e.prototype.pointToData=function(t,e,n){n=n||[];var i=this.mtOverallInv;return i?(0,p.applyTransform)(n,t,i):(0,p.copy)(n,t)},e.prototype.convertToPixel=function(t,e,n){var i=D(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=D(e);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return(0,r.iZ)(f,this.dataRect),(0,r.zQ)(f,f,this.mtOverall),(0,r.rd)(f,t[0],t[1])},e.dimensions=["x","y"],e}(o.Ay),f=(0,r.r_)();function g(t,e){return(0,r.iZ)(t||(0,r.r_)(),e.dataRect)}function y(t,e){return(0,r.iZ)(t||(0,r.r_)(),e.viewRect)}function v(t,e,n){return(0,o.IT)(t||(0,o.Rd)(),e.trans[n])}function m(t){return!!(t.dataRect&&t.viewRect)}function _(t,e,n){(0,o.Ed)(n,x),(0,h.mul)(x,x,e.mtRawInv),(0,u.decomposeTransform)(t,x)}var x=(0,h.create)();function b(t,e){t.centerOption=e.getShallow("center");var n=t.zoomLimit=e.getShallow("scaleLimit");t.zoom=V(e.getShallow("zoom")||1,n)||1,m(t)&&w(t)}function w(t){var e,n,i,s,l,c,d,f,g,y,v,m,_,x,b,w,k,I;n=(e=t).dataRect,i=e.viewRect,s=e.trans[0],(l=e.invertY)&&((n=(0,r.iZ)(A,n)).y=-n.y-n.height),(0,r.Zv)(S,n,i),(0,u.decomposeTransform)(s,S),l&&(s.scaleY=-s.scaleY),c=(0,o.Ed)(s,e.mtRaw),(0,h.invert)(e.mtRawInv,c),f=O(d=t),g=!function(t,e,n){var i=e.dataRect;if(!n)return!1;var r=e.lgCt;return r?(0,p.set)(t,(0,a.lo)(n[0],r.w),(0,a.lo)(n[1],r.h)):i&&(0,p.set)(t,(0,a.lo)(n[0],i.width,i.x),(0,a.lo)(n[1],i.height,i.y)),!0}(M,d,d.centerOption)?f:(0,p.applyTransform)(M,M,d.mtRaw),y=d.zoom,(v=d.trans[1]).x=f[0]-y*g[0],v.y=f[1]-y*g[1],v.scaleX=v.scaleY=y,x=(_=(m=t).trans)[1],b=_[0],C(w=_[2],b,x),k=(0,o.Ed)(w,m.mtOverall),I=(0,h.invert)(m.mtOverallInv,k),T(m,w,k,I),T(m.lgGeo,w,k,I)}var S=(0,h.create)(),A=(0,r.r_)(),M=[];function T(t,e,n,i){t&&((0,o.IT)(t,e),(0,h.copy)(t.transform||(t.transform=[]),n),(0,h.copy)(t.invTransform||(t.invTransform=[]),i))}function C(t,e,n){(0,o.Ed)(e,k),(0,o.Ed)(n,I),(0,h.mul)(I,I,k),(0,u.decomposeTransform)(t,I)}var k=(0,h.create)(),I=(0,h.create)();function D(t){var e=t.seriesModel;return e?e.coordinateSystem:null}function O(t){var e=t.viewRect;return L[0]=e.x+e.width/2,L[1]=e.y+e.height/2,L}var L=[],P=(0,o.Rd)(),R=(0,o.Rd)();function B(t){return t.__ownRoamView?t.__ownRoamView():null}function z(t,e,n,i){return n&&i&&i[u.WH[t]]&&(0,a.N9)(n[t])?(e[t]-i[u.XY[t]])/i[u.WH[t]]*100+"%":e[t]}var N=[];function E(t,e,n){var i=t.option;i.center=e,i.zoom=n}function V(t,e){if(e){var n=e.min||0;t=Math.max(Math.min(e.max||1/0,t),n)}return t}e.Ay=d,n.d(e,{},{$o:1,D7:g,G6:0,Nl:B,P4:v,Q3:function(t,e,n,i,o){t.dataRect=new r.Ay(e,n,i,o),m(t)&&w(t)},T$:V,X$:function(t,e,n){var i=B(e);if(i){var r=i.syncBackEl;r?(r.stopAnimation(),1===i.syncBackType?C(P,i.trans[0],r):(0,o.IT)(P,r)):(0,o.IT)(P,i.trans[2]),_(R,i,P),t?function(t,e,n,i){null!=i.dx&&null!=i.dy&&(t.x+=i.dx,t.y+=i.dy);var r=i.zoom;if(null!=r){var o=e.scaleX,a=V(o*r,n.zoomLimit)/o;t.x-=(i.originX-t.x)*(a-1),t.y-=(i.originY-t.y)*(a-1),t.scaleX*=a,t.scaleY*=a}}(P,R,i,t):(0,o.IT)(P,R),_(P,i,P),function(t,e,n,i){var r,o,l=O(t),u=i.scaleX,c=(0,a.NY)(u)>1e-6;N[0]=c?(l[0]-i.x)/u:l[0],N[1]=c?(l[1]-i.y)/u:l[1],(0,p.applyTransform)(N,N,t.mtRawInv);var h=(r=t.centerOption,o=t.dataRect,!r||t.lgCt?N.slice():[z(0,N,r,o),z(1,N,r,o)]);E(e,h,u),(0,s.each)(n,function(t){t!==e&&E(t,h.slice(),u)})}(i,e,n,P),b(i,e)}},Xj:function(t,e,n,i,o){t.viewRect=new r.Ay(e,n,i,o),m(t)&&w(t)},YP:function(t,e){var n=e.getShallow("nodeScaleRatio",!0)||1;return((t.zoom-1)*n+1)/(t.trans[2].scaleX||1)},ZD:2,_:function(t){return t.zoom},cH:y,dh:b,jR:function(t,e,n,i){n.setUpdatePayload((0,u.payloadDisableAnimation)(t));var r=(0,l.k)(i,e);r&&r.__updateOnOwnRoam&&r.__updateOnOwnRoam(t,e,i)},kx:function(t,e){return e&&t&&t.getShallow("legacyViewCoordSysCenterBase")?{w:e.getWidth(),h:e.getHeight()}:null},nT:function(t,e,n,i){n.syncBackEl=t,n.syncBackType=e,i?(0,c.oi)(t,v(null,n,e),i):(v(t,n,e),t.dirty())},rj:function(t,e){return(0,h.copy)(t||[],e.mtOverall)},yD:function(t){return t&&"view"===t.type}})},SV(t,e,n){var i=n("MB"),r=n("LC"),o=n("x2"),a=n("uP");n.d(e,{},{R:function(t,e){var n,s,l,u,c,h,p,d,f,g=t.scale,y=t.model,v=(0,a.zT)(g,y,y.ecModel,t,null),m=(0,o.F)(g),_=(0,o.F)(e)?e.intervalStub:e,x=m?g.intervalStub:g,b=g.base,w=_.getTicks(),S=_.getTicks({expandToNicedExtent:!0}),A=w.length-1;if(1===A)n=s=0,l=1;else if(2===A){var M=(0,i.NY)(w[0].value-w[1].value),T=(0,i.NY)(w[1].value-w[2].value);n=s=0,M===T?l=2:(l=1,M<T?n=M/T:s=T/M)}else{var C=_.getConfig().interval;n=(1-(w[0].value-S[0].value)/C)%1,s=(1-(S[A].value-w[A].value)/C)%1,l=A-!!n-!!s}var k=v.zoomFixMM,I=k[0]||k[1],D=[v.fixMM[0]||I,v.fixMM[1]||I],O=g.getExtent(),L=x.getExtent(),P=(0,o.Ob)(L,D);function R(t){for(var e=0;e<50&&!t();e++)h=m?h*(0,i.JB)(b,2):(0,o.kH)(h),p=(0,o.u$)(h)}function B(){u=(0,i.LI)(f-h*n,p)}function z(){c=(0,i.LI)(d+h*s,p)}function N(){f=n?(0,i.LI)(u+h*n,p):u}function E(){d=s?(0,i.LI)(c-h*s,p):c}if(D[0]&&D[1]){u=P[0],h=((c=P[1])-u)/(l+n+s);var V=t.getExtent(),F=(0,i.NY)(V[1]-V[0]);p=(0,i.EO)([c,u],F,.5/l),N(),E(),(0,i.YC)(p)&&(h=(0,i.LI)(h,p))}else{var Y=P[1]-P[0];h=m?(0,i.JB)((0,i.au)(Y),1):(0,i.Cm)(Y/l,i.Dx),p=(0,o.u$)(h),D[0]?(u=P[0],R(function(){if(N(),d=(0,i.LI)(f+h*l,p),z(),c>=P[1])return!0})):D[1]?(c=P[1],R(function(){if(E(),f=(0,i.LI)(d-h*l,p),B(),u<=P[0])return!0})):R(function(){f=(0,i.LI)((0,i.ih)(P[0]/h)*h,p),d=(0,i.LI)((0,i.Zr)(P[1]/h)*h,p);var t=(0,i.jn)((d-f)/h);if(t<=l){var e=l-t,n=void 0,r=v.incl0||m;if(r&&0===P[0])n=[0,e];else if(r&&0===P[1])n=[e,0];else{var o=(0,i.Zr)(e/2);n=e%2==0?[o,o]:u+c<P[0]+P[1]?[o,o+1]:[o+1,o]}if(f=(0,i.LI)(f-h*n[0],p),d=(0,i.LI)(d+h*n[1],p),B(),z(),u<=P[0]&&c>=P[1])return!0}})}(0,r.H1)(g,D,L,[u,c],O,{interval:h,intervalCount:l,intervalPrecision:p,niceExtent:[f,d]})}})},lN(t,e,n){var i=n("iY"),r=n("x2"),o=n("MB"),a=n("sn"),s=n("Zb");n.d(e,{},{D:function(t,e){e=e||{};var n,l,u,c,h,p,d,f,g,y,v,m,_,x={w:0/0,w2:0/0},b=t.scale,w=e.fromStat,S=e.min,A=(0,s.N2)(b);(0,o.YC)(A)||(A=0/0);var M=t.getExtent(),T=(0,o.NY)(M[1]-M[0]);return(0,r.wl)(b)?(n=x,l=t,u=A,c=T,0===(p=u+ +!!(h=l.onBand))&&(p=1),n.w=c/p,!h&&u&&c&&(n.w2=n.w*u/c)):w&&(d=x,f=t,g=A,y=T,v=w,m=!1,_=-1/0,(0,i.each)(v.key?[(0,a.C6)(f,v.key)]:(0,a.O8)(f,v.sers||[]),function(t){var e=t.liPosMinGap;null!=e&&(e>0?(e>_&&(_=e),m=!1):e===a.e2&&(m=!0))}),(0,o.YC)(g)&&g>0&&(0,o.YC)(_)?(d.w=y/g*_,d.w2=_):m&&(d.w=.8*y,d.w2=d.w*g/y)),null!=S&&(x.w=(0,o.YC)(x.w)?(0,o.JB)(S,x.w):S),x}})},q3(t,e,n){n.d(e,{},{U:{value:1,category:1,time:1,log:1}})},hj(t,e,n){var i=n("iY"),r=n("g8w"),o={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:"auto",onZeroAxisIndex:null,lineStyle:{color:r.A.color.axisLine,width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15],breakLine:!0},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12,color:r.A.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:r.A.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[r.A.color.backgroundTint,r.A.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:r.A.color.neutral00,borderColor:r.A.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},a=i.merge({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},o),s=i.merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:r.A.color.axisMinorSplitLine,width:1}}},o),l=i.merge({splitNumber:6,axisLabel:{rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},s),u=i.defaults({logBase:10},s);e.A={category:a,value:s,time:l,log:u}},LC(t,e,n){n.d(e,{M8:()=>k,f$:()=>A,J5:()=>S,n8:()=>I,Dt:()=>L,wq:()=>B,j2:()=>P,$h:()=>M,NQ:()=>F,M2:()=>Y,SS:()=>z,P5:()=>D,ry:()=>O,PP:()=>E,Qs:()=>N,PJ:()=>R,H1:()=>V});var i=n("iY"),r=n("zu"),o=n("mk"),a=n("kP"),s=n("gE"),l=n("i4"),u=n("x2"),c=n("xD"),h=n("F5"),p=n("Zb"),d=n("xN"),f=n("MB"),g=function(t){function e(n){var i=t.call(this)||this;i.type="log",i.parse=o.A.parse,i.base=n.logBase||10;var r=[],a=[],s=i._lookup={from:r,to:a};r[0]=r[1]=a[0]=a[1]=0/0,(0,p.Z0)(i,e.mapperMethods);var l=(0,c.mn)(),u=n.breakOption,h={lookup:s};return l&&l.parseAxisBreakOptionInwardTransform(u,i,{noNegative:!0},2,h),i.powStub=new o.A({breakParsed:h.original}),i.intervalStub=new o.A({breakParsed:h.transformed}),(0,p.w2)(i,i.intervalStub),i}return(0,l.C6)(e,t),e.prototype.getTicks=function(t){var e=this.base,n=this.powStub,r=(0,c.mn)(),o=this.intervalStub,a={lookup:{from:o.getExtent(),to:n.getExtent()}};return(0,i.map)(o.getTicks(t||{}),function(t){var i,o=t.value,s=(0,u.Mj)(o,e,a);if(r){var l=r.getTicksBreakOutwardTransform(this,t,(0,c.DL)(n),this._lookup);l&&(i=l.vBreak,s=l.tickVal)}return{value:s,break:i}},this)},e.prototype.getMinorTicks=function(t){return(0,h.a)(this,t,(0,c.DL)(this.powStub),this.intervalStub.getConfig().interval)},e.prototype.getLabel=function(t,e){return this.intervalStub.getLabel(t,e)},e.type="log",e.mapperMethods={needTransform:function(){return!0},normalize:function(t){return this.intervalStub.normalize((0,u.qe)(t,this.base))},scale:function(t){return(0,u.Mj)(this.intervalStub.scale(t),this.base,null)},transformIn:function(t,e){return t=(0,u.qe)(t,this.base),e&&e.depth===p.QO?t:this.intervalStub.transformIn(t,e)},transformOut:function(t,e){var n=e?e.depth:null;return y.depth=n,v.lookup=this._lookup,(0,u.Mj)(n===p.QO?t:this.intervalStub.transformOut(t,y),this.base,v)},contain:function(t){return this.powStub.contain(t)},setExtent:function(t,e){this.setExtent2(p.fU,t,e)},setExtent2:function(t,e,n){if((0,d.Xe)(e,n)&&!(e<=0)&&!(n<=0)){var i=m,r=m;if(t===p.fU){var o=this._lookup;i=o.to,r=o.from}this.powStub.setExtent2(t,i[0]=e,i[1]=n);var a=this.base;this.intervalStub.setExtent2(t,r[0]=(0,u.qe)(e,a),r[1]=(0,u.qe)(n,a))}},getFilter:function(){return{g:0}},sanitize:function(t,e){return(0,d.Xe)(e[0],e[1])&&(0,f.YC)(t)&&t<=0&&(t=e[0]),t},getDefaultStartValue:function(){return 1},getExtent:function(){return this.powStub.getExtent()},getExtentUnsafe:function(t,e){return null===e?this.powStub.getExtentUnsafe(t,null):this.intervalStub.getExtentUnsafe(t,e)}},e}(a.A);a.A.registerClass(g);var y={},v={},m=[],_=n("q3"),x=n("pE"),b=n("MUM"),w=(0,d.$r)();function S(t){var e=t.get("type");return null!=e&&(i.hasOwn(_.U,e)||a.A.getClass(e))||(e="value"),e}function A(t,e,n){var i;switch((0,c.mn)()&&(i=E(t,e,n)),e){case"category":return new r.A({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:(0,d.X1)()});case"time":return new s.A({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC"),breakOption:i});case"log":return new g({logBase:t.get("logBase"),breakOption:i});case"value":return new o.A({breakOption:i});default:return new(a.A.getClass(e)||o.A)({})}}function M(t,e,n){var i=n?(0,p.Gj)(t,null):t.getExtentUnsafe(p.fU,null),r=i[0],o=i[1];return(0,d.Xe)(r,o)?r===e||o===e?C:r<e&&o>e?T:k:k}var T=1,C=2,k=3;function I(t){w(t).noOnMyZero=!0}function D(t){return w(t).noOnMyZero}function O(t){var e=t.getLabelModel().get("formatter");if("time"===t.type){var n=(0,b._O)(e);return function(e,i){return t.scale.getFormattedLabel(e,i,n)}}if(i.isString(e))return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")};if(!i.isFunction(e))return function(e){return t.scale.getLabel(e)};if("category"===t.type)return function(n,i){return e(L(t,n),n.value-t.scale.getExtent()[0],null)};var r=(0,c.mn)();return function(n,i){var o=null;return r&&(o=r.makeAxisLabelFormatterParamBreak(o,n.break)),e(L(t,n),i,o)}}function L(t,e){var n=t.scale;return(0,u.wl)(n)?n.getLabel(e):e.value}function P(t){var e=t.get("interval");return null==e?"auto":e}function R(t){return"category"===t.type&&0===P(t.getLabelModel())}function B(t,e){var n={};return i.each(t.mapDimensionsAll(e),function(e){n[(0,x.me)(t,e)]=!0}),i.keys(n)}function z(t){return"middle"===t||"center"===t}function N(t){return t.getShallow("show")}function E(t,e,n){var i=t.get("breaks",!0);if(null!=i)return(0,c.mn)()&&n&&"category"!==e?i:void 0}function V(t,e,n,i,r,o){var a=(0,u.F)(t),s=a?t.intervalStub:t;if(s.setExtent(i[0],i[1]),a){var l=t.powStub,c={depth:p.QO},h=t.transformOut(i[0],c),d=t.transformOut(i[1],c),f=(0,u._v)(n,i);e[0]&&!f[0]&&(h=r[0]),e[1]&&!f[1]&&(d=r[1]),l.setExtent(h,d)}s.setConfig(o)}function F(t,e){return(0,u.wl)(t)?t.getRawOrdinalNumber(e.value):e.value}function Y(t,e){return(0,u.wl)(t)&&!!e.get("boundaryGap")}},cI(t,e,n){var i=function(){function t(){}return t.prototype.needIncludeZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();n.d(e,{},{L:i})},xn(t,e,n){var i=n("i4"),r=n("hj"),o=n("db"),a=n("di"),s=n("q3"),l=n("iY"),u=n("Dx");function c(t){return t.type||(t.data?"category":"value")}n.d(e,{},{A:function(t,e,n,h){(0,l.each)(s.U,function(s,p){var d=(0,l.merge)((0,l.merge)({},r.A[p],!0),h,!0),f=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+p,n}return(0,i.C6)(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,o.ad)(this),i=n?(0,o.vs)(t):{},r=e.getTheme();(0,l.merge)(t,r.get(p+"Axis")),(0,l.merge)(t,this.getDefaultOption()),t.type=c(t),n&&(0,o.YA)(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=a.A.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.prototype.updateAxisBreaks=function(t){var e=(0,u.D)();return e?e.updateModelAxisBreak(this,t):{breaks:[]}},n.type=e+"Axis."+p,n.defaultOption=d,n}(n);t.registerComponentModel(f)}),t.registerSubTypeDefaulter(e+"Axis",c)}})},cj(t,e,n){var i=n("iY"),r=n("x2"),o=n("MB"),a=n("LC"),s=n("gE"),l=n("uP"),u=n("Zb");function c(t,e){var n,i,s,l,c,h,p,d,f,g,y,v,m,_,x,b,w,S,A=(0,r.F)(t),M=A?t.intervalStub:t,T=e.fixMinMax||[],C=A?t.getExtent():null,k=M.getExtent(),I=(0,r.Ob)(k,T,e.rawExtentResult);M.setExtent(I[0],I[1]),I=M.getExtent();var D=A?(n=M,i=e,s=(0,r.Ev)(i.splitNumber,10),l=n.getExtent(),c=(0,u.t5)(n),h=(0,o.JB)((0,o.au)(c),1),s/c*h<=.5&&(h*=10),p=(0,r.u$)(h),d=[(0,o.LI)((0,o.ih)(l[0]/h)*h,p),(0,o.LI)((0,o.Zr)(l[1]/h)*h,p)],{intervalPrecision:p,interval:h,niceExtent:d}):(f=M,g=e,y=(0,r.Ev)(g.splitNumber,5),v=(0,u.t5)(f),m=g.minInterval,_=g.maxInterval,x=(0,o.Cm)(v/y,!0),null!=m&&x<m&&(x=m),null!=_&&x>_&&(x=_),b=(0,r.u$)(x),w=f.getExtent(),S=[(0,o.LI)((0,o.ih)(w[0]/x)*x,b),(0,o.LI)((0,o.Zr)(w[1]/x)*x,b)],{interval:x,intervalPrecision:b,niceExtent:S}),O=D.intervalPrecision,L=D.interval,P=e.userInterval;null!=P&&(D.interval=P,D.intervalPrecision=(0,r.u$)(P)),T[0]||(I[0]=(0,o.LI)((0,o.Zr)(I[0]/L)*L,O)),T[1]||(I[1]=(0,o.LI)((0,o.ih)(I[1]/L)*L,O)),null!=P&&(D.niceExtent=I.slice()),(0,a.H1)(t,T,k,I,C,D)}function h(t,e,n,i,o){var a=(0,l.zT)(t,e,i,n,o),s=(0,r.Qw)(t)||(0,r.oY)(t);p(t,{splitNumber:e.get("splitNumber"),fixMinMax:a.fixMM,userInterval:e.get("interval"),minInterval:s?e.get("minInterval"):null,maxInterval:s?e.get("maxInterval"):null,rawExtentResult:a}),n&&i&&(0,l.Pu)(n,t,a,i)}function p(t,e){d[t.type](t,e)}var d={interval:c,log:c,time:s.R,ordinal:i.noop};n.d(e,{},{NY:h,Z0:function(t){var e=t.scale,n=t.model,i=n.axis,r=n.ecModel;h(e,n,i,r,null)},dN:p})},sn(t,e,n){var i=n("iY"),r=n("xN"),o=n("oh"),a=(0,r.EV)(),s=(0,r.$r)(),l=(0,r.$r)();function u(t,e){var n=t.model,i=s((0,o.US)(n.ecModel)).keyed,r=i&&i.get(e);return r&&r.get(n.uid)}function c(t,e){var n=s((0,o.US)(t)).keyed;n&&n.each(function(t,n){t.each(function(t,i){e(t,n,i)})})}function h(t){return{liPosMinGap:t?t.liPosMinGap:void 0}}function p(t,e,n){if(e)for(var i=0;i<e.length;i++){var r=e[i];t.isSeriesFiltered(r)||n(r)}}function d(t){var e=l((0,o.jN)(t)),n=e.keyed||(e.keyed=(0,i.createHashMap)());c(t,function(e,r,o){var a=n.get(r)||n.set(r,(0,i.createHashMap)()),s=a.get(o)||a.set(o,{});e.metrics.liPosMinGap&&f.liPosMinGap(t,e,s)})}var f={};function g(t,e,n){return t+"|&"+(0,i.retrieve2)(e,!0)+"|&"+(n||"")}var y=(0,i.createHashMap)();n.d(e,{},{BV:function(t,e){var n=t.model,r=s((0,o.US)(n.ecModel)).keys;r&&(0,i.each)(r.get(n.uid),function(t){e(t)})},B_:p,C6:function(t,e){return h(u(t,e))},DQ:function(t,e,n){var i=s((0,o.US)(t)).keyed,r=i&&i.get(e);r&&r.each(function(t){n(t.axis)})},Lb:function(t,e,n){if(t){var r=e.ecModel,a=s((0,o.US)(r)),l=t.model.uid,u=a.axSer||(a.axSer=(0,i.createHashMap)());(u.get(l)||u.set(l,[])).push(e);var c=e.subType,h=e.getBaseAxis()===t,p=y.get(g(c,h,n))||y.get(g(c,h,null));if(p){var d=a.keyed||(a.keyed=(0,i.createHashMap)()),f=a.keys||(a.keys=(0,i.createHashMap)()),v=p.key,m=d.get(v)||d.set(v,(0,i.createHashMap)()),_=m.get(l);_||((_=m.set(l,{axis:t,sers:[],serByIdx:[]})).metrics=p.getMetrics(t),(f.get(l)||f.set(l,[])).push(v)),_.sers.push(e),_.serByIdx[e.seriesIndex]=e}}},Lc:-1,O8:function(t,e){var n=[];return c(t.model.ecModel,function(t){for(var i=0;i<e.length;i++)e[i]&&t.serByIdx[e[i].seriesIndex]&&n.push(h(t))}),n},V0:"|&",e2:-2,pd:function(t,e,n){var i=u(t,e);i&&p(t.model.ecModel,i.sers,n)},ss:function(t,e){var n=g(e.seriesType,e.baseAxis,e.coordSysType);y.set(n,e),a(t,function(){t.registerProcessor(t.PRIORITY.PROCESSOR.AXIS_STATISTICS,{overallReset:d})})},tO:function(t,e){var n=t.model.ecModel,i=s((0,o.US)(n)).axSer;i&&p(n,i.get(t.model.uid),e)},wW:function(t,e){f[t]=e},z6:function(t,e){var n=u(t,e);if(!n||!n.sers.length)return 0;var i=0;return p(t.model.ecModel,n.sers,function(){i++}),i}})},rG(t,e,n){var i=n("iY"),r=n("KO"),o=n("xN"),a=n("LC"),s=n("MB"),l=n("x2"),u=(0,o.$r)(),c=(0,o.$r)(),h={estimate:1,determine:2};function p(t){return{out:{noPxChangeTryDetermine:[]},kind:t}}function d(t,e){var n=e.getExtent(),r=[];return i.each(t,function(t){(t=e.parse(t))>=n[0]&&t<=n[1]&&r.push(t)}),(0,o.R3)(r,o.cd,null),(0,s.Y6)(r),i.map(r,function(t){return{value:t}})}function f(t,e,n){var r,o,s=y(t),l=(0,a.j2)(e),u=n.kind===h.estimate;if(!u){var p=m(s,l);if(p)return p}i.isFunction(l)?r=w(t,l,!1):(o="auto"===l?function(t,e){if(e.kind===h.estimate){var n=t.calculateCategoryInterval(e);return e.out.noPxChangeTryDetermine.push(function(){return c(t).autoInterval=n,!0}),n}var i=c(t).autoInterval;return null!=i?i:c(t).autoInterval=t.calculateCategoryInterval(e)}(t,n):l,r=w(t,o,!1));var d={labels:r,labelCategoryInterval:o};return u?n.out.noPxChangeTryDetermine.push(function(){return _(s,l,d),!0}):_(s,l,d),d}var g=v("axisTick"),y=v("axisLabel");function v(t){return function(e){return c(e)[t]||(c(e)[t]={list:[]})}}function m(t,e){for(var n=0;n<t.list.length;n++)if(t.list[n].key===e)return t.list[n].value}function _(t,e,n){return t.list.push({key:e,value:n}),n}function x(t,e,n){return null==b(t,e,n)}function b(t,e,n){var i=u(t.model),r=t.getExtent(),o=i.lastAutoInterval,a=i.lastTickCount;if(null!=o&&null!=a&&1>=Math.abs(o-e)&&1>=Math.abs(a-n)&&o>e&&i.axisExtent0===r[0]&&i.axisExtent1===r[1])return o;i.lastTickCount=n,i.lastAutoInterval=e,i.axisExtent0=r[0],i.axisExtent1=r[1]}function w(t,e,n){var r=(0,a.ry)(t),o=t.scale,s=[],u=i.isFunction(e);return(0,l.gQ)(o,u?0:e,function(t,i){var a=o.getLabel(t);if(u){var l=!!e(t.value,a);if(t.offInterval=!l,!l&&!i)return}s.push(n?t:{formattedLabel:r(t),rawLabel:a,tick:t})}),s}n.d(e,{},{EO:function(t,e){var n,o,s=e.kind,l=(o=(n=t).getLabelModel(),{axisRotate:n.getRotate?n.getRotate():n.isHorizontal&&!n.isHorizontal()?90:0,labelRotate:o.get("rotate")||0,font:o.getFont()}),u=(0,a.ry)(t),c=(l.axisRotate-l.labelRotate)/180*Math.PI,p=t.scale,d=p.getExtent(),f=p.count();if(d[1]-d[0]<1)return 0;var g=1;f>40&&(g=Math.max(1,Math.floor(f/40)));for(var y=d[0],v=t.dataToCoord(y+1)-t.dataToCoord(y),m=Math.abs(v*Math.cos(c)),_=Math.abs(v*Math.sin(c)),w=0,S=0;y<=d[1];y+=g){var A=0,M=0,T=r.NO(u({value:y}),l.font,"center","top");A=1.3*T.width,M=1.3*T.height,w=Math.max(w,A,7),S=Math.max(S,M,7)}var C=w/m,k=S/_;isNaN(C)&&(C=1/0),isNaN(k)&&(k=1/0);var I=Math.max(0,Math.floor(Math.min(C,k)));if(s===h.estimate)return e.out.noPxChangeTryDetermine.push(i.bind(x,null,t,I,f)),I;var D=b(t,I,f);return null!=D?D:I},MI:function(t,e,n){var r=t.scale,o=t.getTickModel().get("customValues");return o?{ticks:d(o,r)}:"category"===t.type?function(t,e){var n,r,o=g(t),s=(0,a.j2)(e),l=m(o,s);if(l)return l;if((!e.get("show")||t.scale.isBlank())&&(n=[]),i.isFunction(s))n=w(t,s,!0);else if("auto"===s){var u=f(t,t.getLabelModel(),p(h.determine));r=u.labelCategoryInterval,n=i.map(u.labels,function(t){return t.tick})}else n=w(t,r=s,!0);return _(o,s,{ticks:n,tickCategoryInterval:r})}(t,e):{ticks:r.getTicks(n)}},eP:p,fm:h,vI:function(t,e){var n,r,o,s,l,u,c,h=t.getLabelModel().get("customValues");if(h){var p=t.scale;return{labels:i.map(d(h,p),function(e,n){return{formattedLabel:(0,a.ry)(t)(e,n),rawLabel:p.getLabel(e),tick:e}})}}return"category"===t.type?(n=t,r=e,o=n.getLabelModel(),s=f(n,o,r),!o.get("show")||n.scale.isBlank()?{labels:[]}:s):(u=(l=t).scale.getTicks(),c=(0,a.ry)(l),{labels:i.map(u,function(t,e){return{formattedLabel:c(t,e),rawLabel:l.scale.getLabel(t),tick:t}})})}})},Yx(t,e,n){var i=n("i4");e.A=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return(0,i.C6)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t[+("x"!==this.dim)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(n("Ro").A)},u9(t,e,n){n.d(e,{A:()=>W,v:()=>V});var i,r=n("iY"),o=n("db"),a=n("LC"),s=n("i4"),l=n("Y8"),u=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return r.map(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),r.filter(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),c=n("UGL"),h=n("AT"),p=n("xy"),d=n("Zb"),f=n("xD"),g=["x","y"];function y(t){return("interval"===t.type||"time"===t.type)&&!(0,f.Bd)(t)}var v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=c.Tw,e.dimensions=g,e}return(0,s.C6)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(y(t)&&y(e)){var n=(0,d.Gj)(t,null),i=(0,d.Gj)(e,null),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,c=r[0]-n[0]*l,p=r[1]-i[0]*u,f=this._transform=[l,0,0,u,c,p];this._invTransform=(0,h.invert)([],f)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new l.Ay(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return(0,p.applyTransform)(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e,n){if(n=n||[],this._invTransform)return(0,p.applyTransform)(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new l.Ay(i,r,o,a)},e}(u),m=n("Yx"),_=n("xN"),x=n("sT"),b=n("x2"),w=n("SV"),S=n("uf"),A=n("hH"),M=n("rG"),T=n("Ww"),C=n("MB"),k=n("cj"),I=n("Od"),D=n("uP"),O=n("sn"),L=[[3,1],[0,2]],P=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=g,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){for(var e=(0,r.keys)(t),n=[],i=e.length-1;i>=0;i--){var o=t[+e[i]];o.__alignTo?n.push(o):(0,k.Z0)(o)}(0,r.each)(n,function(t){var e,n;(e=t,n=t.__alignTo,(0,f.Bd)(e.scale)||(0,f.Bd)(n.scale)||n.scale.getTicks().length<2)?(0,k.Z0)(t):(0,w.R)(t,t.__alignTo.scale)})}(0,r.each)(this._axesList,function(t){(0,D.DT)(t,D.ex);var e=t.scale;(0,b.wl)(e)&&e.setSortInfo(t.model.get("categorySortInfo"))}),i(n.x),i(n.y);var o={};(0,r.each)(n.x,function(t){R(n,"y",t,o)}),(0,r.each)(n.y,function(t){R(n,"x",t,o)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var s=(0,o.Lj)(t,e),l=this._rect=(0,o.dV)(t.getBoxLayoutParams(),s.refContainer),u=this._axesMap,h=this._coordsList,p=t.get("containLabel");if(N(u,l),!n){var d=(g=l,y=h,v=u,m=p,_=e,b=new A.ts(H),(0,r.each)(v,function(t){return(0,r.each)(t,function(t){(0,a.Qs)(t.model)&&(t.axisBuilder=(0,x.oj)(g,y,t.model,_,b,!m))})}),b),f=void 0;if(p)i?(i(this._axesList,l),N(u,l)):f=F(l.clone(),"axisLabel",null,l,u,d,s);else{var g,y,v,m,_,b,w,S,T,k,I,D,O=(w=t,S=l,T=s,"same"===(I=w.get("outerBoundsMode",!0))?k=S.clone():(null==I||"auto"===I)&&(k=(0,o.dV)(w.get("outerBounds",!0)||c.GH,T.refContainer)),{outerBoundsRect:k,parsedOuterBoundsContain:null==(D=w.get("outerBoundsContain",!0))||"auto"===D||0>(0,r.indexOf)(["all","axisLabel"],D)?"all":D,outerBoundsClamp:[(0,C.LQ)((0,r.retrieve2)(w.get("outerBoundsClampWidth",!0),c.MQ["0"]),S.width),(0,C.LQ)((0,r.retrieve2)(w.get("outerBoundsClampHeight",!0),c.MQ["1"]),S.height)]}),L=O.outerBoundsRect,P=O.parsedOuterBoundsContain,R=O.outerBoundsClamp;L&&(f=F(L,P,R,l,u,d,s))}Y(l,u,M.fm.determine,null,f,s),(0,r.each)(this._coordsList,function(t){t.calcAffineTransform()})}},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}(0,r.isObject)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,o=this._coordsList;i<o.length;i++)if(o[i].getAxis("x").index===t||o[i].getAxis("y").index===e)return o[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,o=t.xAxisModel||i&&i.getReferringComponents("xAxis",_.US).models[0],a=t.yAxisModel||i&&i.getReferringComponents("yAxis",_.US).models[0],s=t.gridModel,l=this._coordsList;return i?(e=i.coordinateSystem,0>(0,r.indexOf)(l,e)&&(e=null)):o&&a?e=this.getCartesian(o.componentIndex,a.componentIndex):o?n=this.getAxis("x",o.componentIndex):a?n=this.getAxis("y",a.componentIndex):s&&s.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,o=this,s={left:!1,right:!1,top:!1,bottom:!1},l={x:{},y:{}},u={x:0,y:0};if(e.eachComponent("xAxis",c("x"),this),e.eachComponent("yAxis",c("y"),this),!u.x||!u.y){this._axesMap={},this._axesList=[];return}function c(e){return function(n,i){var r,c;if(r=n,c=t,r.getCoordSysModel()===c){var h=n.get("position");"x"===e?"top"!==h&&"bottom"!==h&&(h=s.bottom?"top":"bottom"):"left"!==h&&"right"!==h&&(h=s.left?"right":"left"),s[h]=!0;var p=(0,a.J5)(n),d=new m.A(e,(0,a.f$)(n,p,!0),[0,0],p,h);d.onBand=(0,a.M2)(d.scale,n),d.inverse=n.get("inverse"),n.axis=d,d.model=n,d.grid=o,d.index=i,o._axesList.push(d),l[e][i]=d,u[e]++}}}this._axesMap=l,(0,r.each)(l.x,function(e,n){(0,r.each)(l.y,function(r,o){var a="x"+n+"y"+o,s=new v(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)})}),z(l.x),z(l.y)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return(0,r.each)(this.getCartesians(),function(i){var o=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),a=i.getOtherAxis(o);0>(0,r.indexOf)(e,o)&&e.push(o),0>(0,r.indexOf)(n,a)&&n.push(a)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",function(o,a){var s=new t(o,e,n);s.name="grid_"+a,s.resize(o,n,!0),o.coordinateSystem=s,i.push(s),(0,r.each)(s._axesList,function(e){(0,D.y)(e,t.dimIdxMap)})}),e.eachSeries(function(t){var e,n;(0,T.m7)({targetModel:t,coordSysType:c.Tw,coordSysProvider:function(){var i=(0,x.LR)(t),r=i.xAxisModel,o=i.yAxisModel;return e=r.axis,n=o.axis,r.getCoordSysModel().coordinateSystem.getCartesian(r.componentIndex,o.componentIndex)}}),e&&n&&((0,O.Lb)(e,t,c.Tw),(0,O.Lb)(n,t,c.Tw))},this),i},t.dimensions=g,t.dimIdxMap=(0,I.io)(g),t}();function R(t,e,n,i){n.getAxesOnZeroOf=function(){return o?[o]:[]};var o,a=t[e],s=n.model,l=s.get(["axisLine","onZero"]),u=s.get(["axisLine","onZeroAxisIndex"]);if(l){if(null!=u)B(l,a[u])&&(o=a[u]);else for(var c in a)if((0,r.hasOwn)(a,c)&&B(l,a[c])&&!i[h(a[c])]){o=a[c];break}o&&(i[h(o)]=!0)}function h(t){return t.dim+"_"+t.index}}function B(t,e){if(!e)return!1;var n=e.scale,i=(0,a.$h)(n,0,!1),r=e&&"category"!==e.type&&"time"!==e.type&&i!==a.M8;return r&&"auto"===t&&(0,a.P5)(e)&&(r=!1),r}function z(t){for(var e,n=(0,r.keys)(t),i=[],o=n.length-1;o>=0;o--){var s=t[+n[o]];(0,b.rf)(s.scale)&&null==(0,a.PP)(s.model,s.type,!0)&&(s.model.get("alignTicks")&&null==s.model.get("interval")?i.push(s):e=s)}e||(e=i.pop()),e&&(0,r.each)(i,function(t){t.__alignTo=e})}function N(t,e){(0,r.each)(t.x,function(t){return E(t,e.x,e.width)}),(0,r.each)(t.y,function(t){return E(t,e.y,e.height)})}function E(t,e,n){var i,r,o=[0,n],a=+!!t.inverse;t.setExtent(o[a],o[1-a]),r=(i=t.getExtent())[0]+i[1],t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return r-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return r-t+e}}function V(t){i=t}function F(t,e,n,i,o,s,l){Y(i,o,M.fm.estimate,e,!1,l);var u=[0,0,0,0];h(0),h(1),p(i,0,0/0),p(i,1,0/0);var c=null==(0,r.find)(u,function(t){return t>0});return(0,S.expandOrShrinkRect)(i,u,!0,!0,n),N(o,i),c;function h(t){(0,r.each)(o[S.XY[t]],function(e){if((0,a.Qs)(e.model)){var n=s.ensureRecord(e.model),i=n.labelInfoList;if(i)for(var r=0;r<i.length;r++){var o=i[r],l=e.scale.normalize((0,a.NQ)(e.scale,(0,A.Z0)(o.label).labelInfo.tick));l=1===t?1-l:l,p(o.rect,t,l),p(o.rect,1-t,0/0)}var u=n.nameLayout;if(u){var l=(0,a.SS)(n.nameLocation)?.5:0/0;p(u.rect,t,l),p(u.rect,1-t,0/0)}}})}function p(e,n,i){var r=t[S.XY[n]]-e[S.XY[n]],o=e[S.WH[n]]+e[S.XY[n]]-(t[S.WH[n]]+t[S.XY[n]]);r=d(r,1-i),o=d(o,i);var a=L[n][0],s=L[n][1];u[a]=(0,C.JB)(u[a],r),u[s]=(0,C.JB)(u[s],o)}function d(t,e){return t>0&&!(0,r.eqNaN)(e)&&e>1e-4&&(t/=e),t}}function Y(t,e,n,i,o,s){var l=n===M.fm.determine;(0,r.each)(e,function(e){return(0,r.each)(e,function(e){(0,a.Qs)(e.model)&&((0,x.Pd)(e.axisBuilder,t,e.model),e.axisBuilder.build(l?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:o}))})});var u={x:0,y:0};function c(e){u[S.XY[1-e]]=t[S.WH[e]]<=.5*s.refContainer[S.WH[e]]?0:1-e==1?2:1}c(0),c(1),(0,r.each)(e,function(t,e){return(0,r.each)(t,function(t){(0,a.Qs)(t.model)&&(("all"===i||l)&&t.axisBuilder.build({axisName:!0},{nameMarginLevel:u[e]}),l&&t.axisBuilder.build({axisLine:!0}))})})}var H=function(t,e,n,i,o,s){var l="x"===n.axis.dim?"y":"x";(0,A.x)(t,e,n,i,o,s),(0,a.SS)(t.nameLocation)||(0,r.each)(e.recordMap[l],function(t){t&&t.labelInfoList&&t.dirVec&&(0,A.RC)(t.labelInfoList,t.dirVec,i,o)})},W=P},UGL(t,e,n){var i=n("i4"),r=n("wv"),o=n("db"),a=n("g8w"),s={left:0,right:0,top:0,bottom:0},l=["25%","25%"];e.Ay=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.mergeDefaultAndTheme=function(e,n){var i=(0,o.vs)(e.outerBounds);t.prototype.mergeDefaultAndTheme.apply(this,arguments),i&&e.outerBounds&&(0,o.YA)(e.outerBounds,i)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&e.outerBounds&&(0,o.YA)(this.option.outerBounds,e.outerBounds)},e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"15%",top:65,right:"10%",bottom:80,containLabel:!1,outerBoundsMode:"auto",outerBounds:s,outerBoundsContain:"all",outerBoundsClampWidth:l[0],outerBoundsClampHeight:l[1],backgroundColor:a.A.color.transparent,borderWidth:1,borderColor:a.A.color.neutral30},e}(r.A),n.d(e,{},{GH:s,MQ:l,Tw:"cartesian2d"})},sT(t,e,n){var i=n("iY"),r=n("xN"),o=n("hH"),a=n("x2");function s(t,e,n){n=n||{};var r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,c=[t.x,t.x+t.width,t.y,t.y+t.height],h={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,d="x"===u?[c[2]-p,c[3]+p]:[c[0]-p,c[1]+p];if(a){var f=a.toGlobalCoord(a.dataToCoord(0));d[h.onZero]=Math.max(Math.min(f,d[1]),d[0])}o.position=["y"===u?d[h[l]]:c[0],"x"===u?d[h[l]]:c[3]],o.rotation=Math.PI/2*("x"!==u),o.labelDirection=o.tickDirection=o.nameDirection=({top:-1,bottom:1,left:-1,right:1})[s],o.labelOffset=a?d[h[s]]-d[h.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),i.retrieve(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var g=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-g:g,o.z2=1,o}n.d(e,{},{LR:function(t){var e={xAxisModel:null,yAxisModel:null};return i.each(e,function(n,i){var o=i.replace(/Model$/,""),a=t.getReferringComponents(o,r.US).models[0];e[i]=a}),e},Pd:function(t,e,n){var i=s(e,n);t.updateCfg(i)},Zp:s,bJ:function(t){return t.dim+"_"+t.index},oj:function(t,e,n,i,r,l){for(var u=s(t,n),c=!1,h=!1,p=0;p<e.length;p++)(0,a.rf)(e[p].getOtherAxis(n.axis).scale)&&(c=h=!0,"category"===n.axis.type&&n.axis.onBand&&(h=!1));return u.axisLineAutoShow=c,u.axisTickAutoShow=h,u.defaultNameMoveOverlap=l,new o.Ay(n,i,u,r)},ty:function(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}})},uP(t,e,n){var i=n("iY"),r=n("KO"),o=n("x2"),a=n("xN"),s=n("LC"),l=n("Ww"),u=n("MB"),c=n("Zb"),h=n("sn"),p=(0,a.$r)(),d=function(){function t(t,e,n,r,s){var l,c=(0,o.wl)(t),h=c?e.getCategories().length:null;if(c){var p=e.getCategories(!0);l=p&&!p.length}var d=n.slice();((0,o.Qw)(t)||(0,o.F)(t)||(0,o.oY)(t))&&((0,a.FM)(d,g(t,e.get("dataMin",!0))),(0,a.i_)(d,g(t,e.get("dataMax",!0)))),(0,a.o1)(d)||(d[0]=d[1]=0/0);var v=[],m=[!1,!1],_=e.get("min",!0);"dataMin"===_?(v[0]=d[0],m[0]=!0):(v[0]=g(t,(0,i.isFunction)(_)?_({min:d[0],max:d[1]}):_),m[0]=null!=v[0]);var x=e.get("max",!0);"dataMax"===x?(v[1]=d[1],m[1]=!0):(v[1]=g(t,(0,i.isFunction)(x)?x({min:d[0],max:d[1]}):x),m[1]=null!=v[1]);var b=function(t,e){var n;if((0,o.wl)(t))n=[0,0];else{var r=e.get("boundaryGap");"boolean"==typeof r&&(r=null),n=(0,i.isArray)(r)?r:[r,r]}return[y(n[0]),y(n[1])]}(t,e),w=c?null:d[1]-d[0]||Math.abs(d[0]);null==v[0]&&(v[0]=c?l?d[0]:h?0:0/0:d[0]-b[0]*w),null==v[1]&&(v[1]=c?l?d[1]:h?h-1:0/0:d[1]+b[1]*w),(0,a.fA)(v[0])||(v[0]=0/0),(0,a.fA)(v[1])||(v[1]=0/0);var S=l||(0,i.eqNaN)(v[0])||(0,i.eqNaN)(v[1])||c&&!h,A=(0,o.Qw)(t),M=A&&e.needIncludeZero&&e.needIncludeZero();M&&(v[0]>0&&v[1]>0&&!m[0]&&(v[0]=0),v[0]<0&&v[1]<0&&!m[1]&&(v[1]=0));var T=!1;v[0]>v[1]&&(v.reverse(),T=!0);var C=g(t,e.get("startValue",!0)),k=null!=C;!(0,u.YC)(C)&&r&&(C=t.getDefaultStartValue?t.getDefaultStartValue():0),(0,u.YC)(C)&&(k||!A||M)&&(C<v[0]&&!m[0]?(v[0]=C,m[0]=!0):C>v[1]&&!m[1]&&(v[1]=C,m[1]=!0)),f(this._i={scale:t,dataMM:d,noZoomEffMM:v,zoomMM:[],fixMM:m,zoomFixMM:[!1,!1],startValue:C,isBlank:S,incl0:M,tggAxInv:T,ctnShp:s},v)}return t.prototype.makeNoZoom=function(){return this._i.noZoomEffMM.slice()},t.prototype.makeFinal=function(){var t=this._i,e=t.zoomMM,n=t.noZoomEffMM,i=t.zoomFixMM,r=t.fixMM,o={fixMM:r,zoomFixMM:i,isBlank:t.isBlank,incl0:t.incl0,tggAxInv:t.tggAxInv,ctnShp:t.ctnShp,effMM:n.slice()},a=o.effMM;return null!=e[0]&&(a[0]=e[0],r[0]=i[0]=!0),null!=e[1]&&(a[1]=e[1],r[1]=i[1]=!0),f(t,a),o},t.prototype.makeRenderInfo=function(){return{startValue:this._i.startValue}},t.prototype.setZoomMM=function(t,e){this._i.zoomMM[t]=e},t}();function f(t,e){var n=t.scale,i=t.dataMM;n.sanitize&&(e[0]=n.sanitize(e[0],i),e[1]=n.sanitize(e[1],i),(0,a.U2)(e))}function g(t,e){return null==e?null:(0,i.eqNaN)(e)?0/0:t.parse(e)}function y(t){return(0,r.lo)("boolean"==typeof t?0:t,1)||0}function v(t){var e=p(t.scale);return e.extent||(e.extent=(0,a.X1)()),e}function m(t,e,n){t.rawExtentInfo=e,e.from=n}var _=(0,i.createHashMap)();n.d(e,{},{Cy:function(t,e){_.set(t,e)},DT:function(t,e){var n,r,o,u,c,p,f,g,y,x,b=t.scale,w=t.model,S=t.dim;b.rawExtentInfo||(n=b,r=t,o=S,u=w,c=e,f=(p=v(r)).extent,g=!1,(0,h.tO)(r,function(t){if(t.boxCoordinateSystem){var e=(0,l.fE)(t).coord,u=p.dimIdxInCoord;if(u>=0&&(0,i.isArray)(e)){var c=e[u];null==c||(0,i.isArray)(c)||(0,a.vx)(f,n.parse(c))}}else if(t.coordinateSystem){var h=t.getData();if(h){var d=n.getFilter?n.getFilter():null;(0,i.each)((0,s.wq)(h,o),function(t){(0,a.Ax)(f,h.getApproximateExtent(t,d))})}t.__requireStartValue&&t.__requireStartValue(r)&&(g=!0)}}),y=function(t,e,n){var i=(0,s.M2)(t,n),r=n.get("containShape",!0);if(null!=r||i||(r=!0),!r)return!1;var o=!1;return(0,h.BV)(e,function(t){o=!!_.get(t)||o}),o}(n,r,u),x=new d(n,u,f,g,y),m(n,x,c),p.extent=null)},Pu:function(t,e,n,i){if(n.ctnShp&&((0,h.BV)(t,function(e){var n=_.get(e);if(n){var o=n(t,i);o&&(r=r||[0,0],(0,a.FM)(r,o[0]),(0,a.i_)(r,o[1]),(0,s.n8)(t))}}),r)){var r,l=e.getExtent();if((0,o.wl)(e))t.onBand||e.setExtent2(c.GU,(0,u.rp)(l[0],l[0]+r[0]),(0,u.JB)(l[1],l[1]+r[1]));else{var p=l.slice();n.zoomFixMM[0]||(p[0]=(0,u.rp)(p[0],e.transformOut(e.transformIn(p[0],null)+r[0],null))),n.zoomFixMM[1]||(p[1]=(0,u.JB)(p[1],e.transformOut(e.transformIn(p[1],null)+r[1],null))),(p[0]<l[0]||p[1]>l[1])&&e.setExtent2(c.GU,p[0],p[1])}}},ex:1,fK:2,y:function(t,e){v(t).dimIdxInCoord=e.get(t.dim)},zT:function(t,e,n,i,r){t.rawExtentInfo||(o={scale:t,model:e},s=r||(0,a.X1)(),m(l=o.scale,new d(l,o.model,s,!1,!1),3));var o,s,l,u=t.rawExtentInfo.makeFinal(),c=u.effMM;return t.setExtent(c[0],c[1]),t.setBlank(u.isBlank),i&&u.tggAxInv&&n&&!n.get("legacyMinMaxDontInverseAxis")&&(i.inverse=!i.inverse),u}})},dV(t,e,n){var i=n("i4"),r=n("wv"),o=n("cI"),a=n("iY"),s="singleAxis",l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.getCoordSysModel=function(){return this},e.type=s,e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}},jitter:0,jitterOverlap:!0,jitterMargin:2},e}(r.A);(0,a.mixin)(l,o.L.prototype),e.Ay=l,n.d(e,{},{GN:"single",YO:s,jn:"singleAxis"})},Ww(t,e,n){var i=n("iY"),r=n("xN"),o={},a={},s=function(){function t(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return t.prototype.create=function(t,e){function n(n,r){var o=[];return i.each(n,function(n,i){var r=n.create(t,e);o=o.concat(r||[])}),o}this._nonSeriesBoxMasterList=n(o,!0),this._normalMasterList=n(a,!1)},t.prototype.update=function(t,e){i.each(this._normalMasterList,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},t.register=function(t,e){if("matrix"===t||"calendar"===t){o[t]=e;return}a[t]=e},t.get=function(t){return a[t]||o[t]},t}(),l=i.createHashMap();function u(t,e){var n=t.getShallow("coordinateSystem"),i=t.getShallow("coordinateSystemUsage",!0),r=0;if(n){var a="series"===t.mainType;(null==i&&(i=a?"data":"box"),"data"===i)?(r=1,a||(r=0)):"box"!==i||(r=2,a||o[n])||(r=0)}return{coordSysType:n,kind:r}}e.Ay=s,n.d(e,{},{Xf:2,bX:2,fE:function(t){var e=t.getShallow("coord",!0),n=1;if(null==e){var i=l.get(t.type);i&&i.getCoord2&&(n=2,e=i.getCoord2(t))}return{coord:e,from:n}},jM:function(t,e){var n=e.getReferringComponents(t,r.US).models[0];return n&&n.coordinateSystem},kP:u,kf:function(t){l.set(t.fullType,{getCoord2:void 0}).getCoord2=t.getCoord2},m7:function(t){var e=t.targetModel,n=t.coordSysType,i=t.coordSysProvider,r=t.isDefaultDataCoordSys;t.allowNotFound;var o=u(e,!0),a=o.kind,s=o.coordSysType;if(r&&1!==a&&(a=1,s=n),0===a||s!==n)return 0;var l=i(n,e);return l?(1===a?e.coordinateSystem=l:e.boxCoordinateSystem=l,a):0}})},q0(t,e,n){var i=n("iY"),r=n("No"),o=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];e.A=function(t){i.each(o,function(e){this[e]=i.bind(t[e],t)},this)},n.d(e,{},{k:function(t,e){return e.mainType===r.t7?t.getViewOfSeriesModel(e):t.getViewOfComponentModel(e)}})},Hr(t,e,n){n.d(e,{FQ:()=>eb,Ng:()=>e$,p5:()=>np,El:()=>ex,zm:()=>eJ,Zf:()=>eQ,AS:()=>eK,Bo:()=>nt,FP:()=>e0,aQ:()=>e1,ZB:()=>nu,Ts:()=>eq,OH:()=>e9,pX:()=>e7,mx:()=>ne,Oh:()=>nn,Ej:()=>na,E:()=>ec.E,mz:()=>nl,cf:()=>e4,tb:()=>e6,lP:()=>e5,qg:()=>e3,bf:()=>e2,iY:()=>nc,xV:()=>e8,AF:()=>ni,vV:()=>ns,rE:()=>e_});var i,r,o,a,s,l,u,c,h,p,d,f,g,y,v,m,_,x,b,w,S,A,M,T,C=n("i4"),k=n("L5"),I=n("iY"),D=n("E3"),O=n("Ly"),L=n("jp"),P=n("xN"),R=n("Sk"),B=n("wv"),z=n("x4z"),N=n("g8w"),E="";"u">typeof navigator&&(E=navigator.platform||"");var V="rgba(0, 0, 0, 0.2)",F=N.A.color.theme["0"],Y=(0,z.modifyHSL)(F,null,null,.9),H={darkMode:"auto",colorBy:"series",color:N.A.color.theme,gradientColor:[Y,F],aria:{decal:{decals:[{color:V,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:V,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:V,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:V,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:V,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:V,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:E.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},W=n("rk"),G=n("PG"),Z=n("zW"),U="\0_ec_inner",X=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,C.C6)(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new R.A(i),this._locale=new R.A(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=$(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,$(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):a(this,r),n=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var s=i.getMediaOption(this);s.length&&(0,I.each)(s,function(t){n=!0,this._mergeOption(t,e)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,o=this._componentsCount,a=[],s=(0,I.createHashMap)(),l=e&&e.replaceMergeMainTypeMap;(0,W.ps)(this),(0,I.each)(t,function(t,e){null!=t&&(B.A.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,I.clone)(t):(0,I.merge)(n[e],t,!0))}),l&&l.each(function(t,e){B.A.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),B.A.topologicalTravel(a,B.A.getAllClassMainTypes(),function(e){var a,s=(0,G.a)(this,e,P.qB(t[e])),u=i.get(e),c=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",h=P.O2(u,s,c);P.GX(h,e,B.A),n[e]=null,i.set(e,null),o.set(e,0);var p=[],d=[],f=0;(0,I.each)(h,function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,s=B.A.getClass(e,t.keyInfo.subType,!o);if(!s)return;if("tooltip"===e){if(a)return;a=!0}if(i&&i.constructor===s)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var l=(0,I.extend)({componentIndex:n},t.keyInfo);i=new s(r,this,this,l),(0,I.extend)(i,l),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(p.push(i.option),d.push(i),f++):(p.push(void 0),d.push(void 0))},this),n[e]=p,i.set(e,d),o.set(e,f),"series"===e&&r(this)},this),this._seriesIndices||r(this)},e.prototype.getOption=function(){var t=(0,I.clone)(this.option);return(0,I.each)(t,function(e,n){if(B.A.hasClass(n)){for(var i=P.qB(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!P.oh(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}}),delete t[U],t},e.prototype.setTheme=function(t){this._theme=new R.A(t),this._resetOption("recreate",null)},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e){for(var r=0;r<n.length;r++)if(n[r])return n[r]}}},e.prototype.queryComponents=function(t){var e,n=t.mainType;if(!n)return[];var i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(n);return a&&a.length?(null!=i?(e=[],(0,I.each)(P.qB(i),function(t){a[t]&&e.push(a[t])})):e=null!=r?j("id",r,a):null!=o?j("name",o,a):(0,I.filter)(a,function(t){return!!t}),q(e,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o,a=t.query,s=t.mainType,l=(e=a,n=s+"Index",i=s+"Id",r=s+"Name",e&&(null!=e[n]||null!=e[i]||null!=e[r])?{mainType:s,index:e[n],id:e[i],name:e[r]}:null);return o=q(l?this.queryComponents(l):(0,I.filter)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,I.filter)(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if((0,I.isFunction)(t))i.each(function(n,i){for(var r=0;n&&r<n.length;r++){var o=n[r];o&&t.call(e,i,o,o.componentIndex)}});else for(var r=(0,I.isString)(t)?i.get(t):(0,I.isObject)(t)?this.findComponents(t):null,o=0;r&&o<r.length;o++){var a=r[o];a&&e.call(n,a,a.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=P.vS(t,null);return(0,I.filter)(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,I.filter)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,I.filter)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){o(this),(0,I.each)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},e.prototype.eachRawSeries=function(t,e){(0,I.each)(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){o(this),(0,I.each)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)},this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,I.each)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return o(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){o(this);var n=[];(0,I.each)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=(0,I.createHashMap)(n)},e.prototype.restoreData=function(t){r(this);var e=this._componentsMap,n=[];e.each(function(t,e){B.A.hasClass(e)&&n.push(e)}),B.A.topologicalTravel(n,B.A.getAllClassMainTypes(),function(n){(0,I.each)(e.get(n),function(e){e&&("series"!==n||!function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t))&&e.restoreData()})})},e.internalField=void(r=function(t){var e=t._seriesIndices=[];(0,I.each)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,I.createHashMap)(e)},o=function(t){},a=function(t,e){t.option={},t.option[U]=1,t._componentsMap=(0,I.createHashMap)({series:[]}),t._componentsCount=(0,I.createHashMap)();var n,i,r,o=e.aria;(0,I.isObject)(o)&&null==o.enabled&&(o.enabled=!0),n=e,i=t._theme.option,r=n.color&&!n.colorLayer,(0,I.each)(i,function(t,e){"colorLayer"===e&&r||"color"===e&&n.color||B.A.hasClass(e)||("object"==typeof t?n[e]=n[e]?(0,I.merge)(n[e],t,!1):(0,I.clone)(t):null==n[e]&&(n[e]=t))}),(0,I.merge)(e,H,!1),t._mergeOption(e,null)}),e}(R.A);function j(t,e,n){if((0,I.isArray)(e)){var i=(0,I.createHashMap)();return(0,I.each)(e,function(t){null!=t&&null!=P.vS(t,null)&&i.set(t,!0)}),(0,I.filter)(n,function(e){return e&&i.get(e[t])})}var r=P.vS(e,null);return(0,I.filter)(n,function(e){return e&&null!=r&&e[t]===r})}function q(t,e){return e.hasOwnProperty("subType")?(0,I.filter)(t,function(t){return t&&t.subType===e.subType}):t}function $(t){var e=(0,I.createHashMap)();return t&&(0,I.each)(P.qB(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,I.mixin)(X,Z.X);var Q=n("q0"),J=n("Ww"),K=/^(min|max)?(.+)$/,tt=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,I.each)((0,P.qB)(t.series),function(t){t&&t.data&&(0,I.isTypedArray)(t.data)&&(0,I.setAsPrimitive)(t.data)}),(0,I.each)((0,P.qB)(t.dataset),function(t){t&&t.source&&(0,I.isTypedArray)(t.source)&&(0,I.setAsPrimitive)(t.source)})),t=(0,I.clone)(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,h=!!(l||s||a&&a.timeline);function p(t){(0,I.each)(e,function(e){e(t,n)})}return a?(r=a).timeline||(r.timeline=s):((h||c)&&(t.options=t.media=null),r=t),c&&(0,I.isArray)(u)&&(0,I.each)(u,function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))}),p(r),(0,I.each)(l,function(t){return p(t)}),(0,I.each)(o,function(t){return p(t.option)}),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,I.clone)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=(0,I.clone)(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,c=o.length;u<c;u++)(function(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return(0,I.each)(t,function(t,e){var n=e.match(K);if(n&&n[1]&&n[2]){var o,a,s,l=n[1];o=i[n[2].toLowerCase()],a=t,("min"===(s=l)?o>=a:"max"===s?o<=a:o===a)||(r=!1)}}),r})(o[u].query,i,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=(0,I.map)(s,function(t){return(0,I.clone)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),te=I.each,tn=I.isObject,ti=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function tr(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=ti.length;n<i;n++){var r=ti[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?I.merge(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?I.merge(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function to(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,I.defaults(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function ta(t){to(t,"itemStyle"),to(t,"lineStyle"),to(t,"areaStyle"),to(t,"label"),to(t,"labelLine"),to(t,"upperLabel"),to(t,"edgeLabel")}function ts(t,e){var n=tn(t)&&t[e],i=tn(n)&&n.textStyle;if(i)for(var r=0,o=P.JS.length;r<o;r++){var a=P.JS[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}function tl(t){t&&(ta(t),ts(t,"label"),t.emphasis&&ts(t.emphasis,"label"))}function tu(t){return I.isArray(t)?t:t?[t]:[]}function tc(t){return(I.isArray(t)?t[0]:t)||{}}function th(t){t&&(0,I.each)(tp,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var tp=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],td=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tf=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function tg(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<tf.length;n++){var i=tf[n][1],r=tf[n][0];null!=e[i]&&(e[r]=e[i])}}function ty(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function tv(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function tm(t,e){var n;te(tu(t.series),function(t){tn(t)&&function(t){if(tn(t)){tr(t),ta(t),ts(t,"label"),ts(t,"upperLabel"),ts(t,"edgeLabel"),t.emphasis&&(ts(t.emphasis,"label"),ts(t.emphasis,"upperLabel"),ts(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(tr(e),tl(e));var n=t.markLine;n&&(tr(n),tl(n));var i=t.markArea;i&&tl(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!I.isTypedArray(o))for(var a=0;a<o.length;a++)tl(o[a]);I.each(t.categories,function(t){ta(t)})}if(r&&!I.isTypedArray(r))for(var a=0;a<r.length;a++)tl(r[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)tl(s[a]);if((n=t.markLine)&&n.data)for(var l=n.data,a=0;a<l.length;a++)I.isArray(l[a])?(tl(l[a][0]),tl(l[a][1])):tl(l[a]);"gauge"===t.type?(ts(t,"axisLabel"),ts(t,"title"),ts(t,"detail")):"treemap"===t.type?(to(t.breadcrumb,"itemStyle"),I.each(t.levels,function(t){ta(t)})):"tree"===t.type&&ta(t.leaves)}}(t)}),n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),te(n,function(e){te(tu(t[e]),function(t){t&&(ts(t,"axisLabel"),ts(t.axisPointer,"label"))})}),te(tu(t.parallel),function(t){var e=t&&t.parallelAxisDefault;ts(e,"axisLabel"),ts(e&&e.axisPointer,"label")}),te(tu(t.calendar),function(t){to(t,"itemStyle"),ts(t,"dayLabel"),ts(t,"monthLabel"),ts(t,"yearLabel")}),te(tu(t.radar),function(t){ts(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)}),te(tu(t.geo),function(t){tn(t)&&(tl(t),te(tu(t.regions),function(t){tl(t)}))}),te(tu(t.timeline),function(t){tl(t),to(t,"label"),to(t,"itemStyle"),to(t,"controlStyle",!0);var e=t.data;I.isArray(e)&&I.each(e,function(t){I.isObject(t)&&(to(t,"label"),to(t,"itemStyle"))})}),te(tu(t.toolbox),function(t){to(t,"iconStyle"),te(t.feature,function(t){to(t,"iconStyle")})}),ts(tc(t.axisPointer),"label"),ts(tc(t.tooltip).axisPointer,"label"),t.series=(0,P.qB)(t.series),(0,I.each)(t.series,function(t){if((0,I.isObject)(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),ty(t.label);var n=t.data;if(n&&!(0,I.isTypedArray)(n))for(var i=0;i<n.length;i++)ty(n[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},t.emphasis.scaleSize=null)}else if("gauge"===e){var r=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=r&&function(t,e,n){for(var i,r=e.split(","),o=t,a=0;a<r.length-1;a++)null==o[i=r[a]]&&(o[i]={}),o=o[i];null==o[r[a]]&&(o[r[a]]=n)}(t,"itemStyle.color",r)}else if("bar"===e){tg(t),tg(t.backgroundStyle),tg(t.emphasis);var n=t.data;if(n&&!(0,I.isTypedArray)(n))for(var i=0;i<n.length;i++)"object"==typeof n[i]&&(tg(n[i]),tg(n[i]&&n[i].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),tv(t),function t(e,n){if(e)for(var i=0;i<e.length;i++)n(e[i]),e[i]&&t(e[i].children,n)}(t.data,tv)}else"graph"===e||"sankey"===e?t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency")):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,I.defaults)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),th(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,I.each)(td,function(e){var n=t[e];n&&((0,I.isArray)(n)||(n=[n]),(0,I.each)(n,function(t){th(t)}))})}var t_=n("MB"),tx=(0,P.uQ)(function(t){var e=(0,I.createHashMap)();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;i.push(o)}}),e.each(function(t){var e;0!==t.length&&("seriesDesc"===(t[0].seriesModel.get("stackOrder")||"seriesAsc")&&t.reverse(),(0,I.each)(t,function(e,n){e.data.setCalculationInfo("stackedOnSeries",n>0?t[n-1].seriesModel:null)}),e=t,(0,I.each)(e,function(t,n){var i=[],r=[0/0,0/0],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,c){var h,p,d=a.get(t.stackedDimension,c);if(isNaN(d))return r;s?p=a.getRawIndex(c):h=a.get(t.stackedByDimension,c);for(var f=0/0,g=n-1;g>=0;g--){var y=e[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,h)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=(0,t_.Tr)(d,v),f=v;break}}}return i[0]=d,i[1]=f,i})}))})}),tb=n("yd"),tw=n("BP"),tS=n("WN9"),tA=n("Vb"),tM=n("s5"),tT=n("W5"),tC=n("uf"),tk=n("Pk"),tI=n("FL"),tD=n("LP"),tO=n("dd"),tL=n("Lc"),tP=n("BE"),tR=n("pf8"),tB=(0,P.$r)(),tz={itemStyle:(0,tL.A)(tP.L,!0),lineStyle:(0,tL.A)(tR.m,!0)},tN={lineStyle:"stroke",itemStyle:"fill"};function tE(t,e){var n=t.visualStyleMapper||tz[e];return n||(console.warn("Unknown style type '"+e+"'."),tz.itemStyle)}function tV(t,e){var n=t.visualDrawType||tN[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var tF=new R.A,tY=n("jZ"),tH=n("s2"),tW=n("Wf"),tG=Math.PI,tZ=n("Hq"),tU=n("Af"),tX=function(){function t(t,e,n,i){this._stageTaskMap=(0,I.createHashMap)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount,a=null!=o?Math.ceil(o/r):null;return{step:r,modBy:a,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.__preparePipelineContext?t.__preparePipelineContext(e,n):(0,P.Zk)(t,e,n);t.pipelineContext=n.context=i},t.prototype.restorePipelines=function(t,e){var n=this,i=n._pipelineMap=(0,I.createHashMap)();e.eachSeries(function(e){var r="canvas"===t.painter.type&&e.getProgressive(),o=e.uid;i.set(o,{id:o,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),n._pipe(e,e.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;(0,I.each)(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{});(0,I.assert)(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)},this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,I.each)(t,function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,p=c.agentStubMap;p.each(function(t){a(i,t)&&(t.dirty(),h=!0)}),h&&c.dirty(),o.updatePayload(c,n);var d=o.getPerformArgs(c,i.block);p.each(function(t){t.perform(d)}),c.perform(d)&&(r=!0)}else u&&u.each(function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)})}}),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=(0,I.createHashMap)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tZ.U)({plan:tJ,reset:tK,count:t2}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||(0,tZ.U)({reset:tj});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=(0,I.createHashMap)(),l=t.seriesType,u=t.getTargetSeries,c=t.dirtyOnOverallProgress,h=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(h=!0,(0,tZ.U)({reset:tq,onDirty:tQ})));n.context={model:t,dirtyOnOverallProgress:c},n.agent=o,n.__block=c,r._pipe(t,n)}(0,I.assert)(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(0,I.each)(n.getSeries(),p),h&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);i.head||(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return(0,I.isFunction)(t)&&(t={overallReset:t,seriesType:function(t){s=null;try{t(t5,t3)}catch(t){}return s}(t)}),t.uid=(0,tU.$Q)("stageHandler"),e&&(t.visualType=e),t},t}();function tj(t){t.overallReset(t.ecModel,t.api,t.payload)}function tq(t){return t.dirtyOnOverallProgress&&t$}function t$(){this.agent.dirty(),this.getDownstream().dirty()}function tQ(){this.agent&&this.agent.dirty()}function tJ(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tK(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,P.qB)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,I.map)(e,function(t,e){return t1(e)}):t0}var t0=t1(0);function t1(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function t2(t){return t.data.count()}var t5={},t3={};function t4(t,e){for(var n in e.prototype)t[n]=I.noop}t4(t5,X),t4(t3,Q.A),t5.eachSeriesByType=t5.eachRawSeriesByType=function(t){s=t},t5.eachComponent=function(t){"series"===t.mainType&&t.subType&&(s=t.subType)};var t6=N.A.darkColor,t8=t6.background,t9=function(){return{axisLine:{lineStyle:{color:t6.axisLine}},splitLine:{lineStyle:{color:t6.axisSplitLine}},splitArea:{areaStyle:{color:[t6.backgroundTint,t6.backgroundTransparent]}},minorSplitLine:{lineStyle:{color:t6.axisMinorSplitLine}},axisLabel:{color:t6.axisLabel},axisName:{}}},t7={label:{color:t6.secondary},itemStyle:{borderColor:t6.borderTint},dividerLineStyle:{color:t6.border}},et={darkMode:!0,color:t6.theme,backgroundColor:t8,axisPointer:{lineStyle:{color:t6.border},crossStyle:{color:t6.borderShade},label:{color:t6.tertiary}},legend:{textStyle:{color:t6.secondary},pageTextStyle:{color:t6.tertiary}},textStyle:{color:t6.secondary},title:{textStyle:{color:t6.primary},subtextStyle:{color:t6.quaternary}},toolbox:{iconStyle:{borderColor:t6.accent50},feature:{dataView:{backgroundColor:t8,textColor:t6.primary,textareaColor:t6.background,textareaBorderColor:t6.border,buttonColor:t6.accent50,buttonTextColor:t6.neutral00}}},tooltip:{backgroundColor:t6.neutral20,defaultBorderColor:t6.border,textStyle:{color:t6.tertiary}},dataZoom:{borderColor:t6.accent10,textStyle:{color:t6.tertiary},brushStyle:{color:t6.backgroundTint},handleStyle:{color:t6.neutral00,borderColor:t6.accent20},moveHandleStyle:{color:t6.accent40},emphasis:{handleStyle:{borderColor:t6.accent50}},dataBackground:{lineStyle:{color:t6.accent30},areaStyle:{color:t6.accent20}},selectedDataBackground:{lineStyle:{color:t6.accent50},areaStyle:{color:t6.accent30}}},visualMap:{textStyle:{color:t6.secondary},handleStyle:{borderColor:t6.neutral30}},timeline:{lineStyle:{color:t6.accent10},label:{color:t6.tertiary},controlStyle:{color:t6.accent30,borderColor:t6.accent30}},calendar:{itemStyle:{color:t6.neutral00,borderColor:t6.neutral20},dayLabel:{color:t6.tertiary},monthLabel:{color:t6.secondary},yearLabel:{color:t6.secondary}},matrix:{x:t7,y:t7,backgroundColor:{borderColor:t6.axisLine},body:{itemStyle:{borderColor:t6.borderTint}}},timeAxis:t9(),logAxis:t9(),valueAxis:t9(),categoryAxis:t9(),line:{symbol:"circle"},graph:{color:t6.theme},gauge:{title:{color:t6.secondary},axisLine:{lineStyle:{color:[[1,t6.neutral05]]}},axisLabel:{color:t6.axisLabel},detail:{color:t6.primary}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}},funnel:{itemStyle:{borderColor:t6.background}},radar:((i=t9()).axisName={color:t6.axisLabel},i.axisLine.lineStyle.color=t6.neutral20,i),treemap:{breadcrumb:{itemStyle:{color:t6.neutral20,textStyle:{color:t6.secondary}},emphasis:{itemStyle:{color:t6.neutral30}}}},sunburst:{itemStyle:{borderColor:t6.background}},map:{itemStyle:{borderColor:t6.border,areaColor:t6.neutral10},label:{color:t6.tertiary},emphasis:{label:{color:t6.primary},itemStyle:{areaColor:t6.highlight}},select:{label:{color:t6.primary},itemStyle:{areaColor:t6.highlight}}},geo:{itemStyle:{borderColor:t6.border,areaColor:t6.neutral10},emphasis:{label:{color:t6.primary},itemStyle:{areaColor:t6.highlight}},select:{label:{color:t6.primary},itemStyle:{color:t6.highlight}}}};et.categoryAxis.splitLine.show=!1;var ee=n("MD"),en=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(I.isString(t)){var r=(0,ee.CC)(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};I.each(t,function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),ei=n("No"),er=["symbol","symbolSize","symbolRotate","symbolOffset"],eo=er.concat(["symbolKeepAspect"]),ea=n("N1e"),es=n("nXY"),el=n("GN"),eu=n("B9"),ec=n("o03"),eh=n("u1"),ep=new L.A,ed=n("mZ"),ef=n("jQ"),eg=n("LV"),ey=n("oh"),ev=n("Upd"),em=(0,P.uQ)(function(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each(function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=(0,ev.w)(n,e))});var r=i.getVisual("decal");r&&(i.getVisual("style").decal=(0,ev.w)(r,e))}})}),e_="6.1.0",ex={zrender:"6.1.0"},eb={PROCESSOR:{SERIES_FILTER:800,AXIS_STATISTICS:920,FILTER:1e3,STATISTIC:5e3,STATISTICS:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},ew="__flagInMainProcess",eS="__mainProcessVersion",eA="__pendingUpdate",eM="__needsUpdateStatus",eT=/^[a-zA-Z0-9_]+$/,eC="__connectUpdateStatus";function ek(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.isDisposed()?void this.id:eD(this,t,e)}}function eI(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return eD(this,t,e)}}function eD(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),L.A.prototype[e].apply(t,n)}var eO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,C.C6)(e,t),e}(L.A),eL=eO.prototype;eL.on=eI("on"),eL.off=eI("off");var eP=function(t){function e(e,n,i){var r=t.call(this,new en)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},r.__v_skip=!0,r._dom=e,r[eS]=1,i.ssr&&k.registerSSRDataGetter(function(t){var e=(0,tI.z)(t),n=e.dataIndex;if(null!=n){var i=(0,I.createHashMap)();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}});var o=r._zr=k.init(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:(0,I.retrieve2)(i.useDirtyRect,!1),useCoarsePointer:(0,I.retrieve2)(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=(0,tO.nF)((0,I.bind)(o.flush,o),17),r._updateTheme(n),r._locale=(0,ec.A$)(i.locale||ec.Lv),r._coordSysMgr=new J.Ay;var a=r._api=w(r);function s(t,e){return t.__prio-e.__prio}return(0,O.A)(eY,s),(0,O.A)(eV,s),r._scheduler=new tX(r,a,eV,eY),r._messageCenter=new eO,r._initEvents(),r.resize=(0,I.bind)(r.resize,r),o.animation.on("frame",r._onframe,r),v(o,r),m(o,r),(0,I.setAsPrimitive)(r),r}return(0,C.C6)(e,t),e.prototype._onframe=function(){if(!this._disposed){var t=this._scheduler,e=this._model,n=this._api;if(M(this),this[eA]){var i=this[eA].silent;this[ew]=!0,T(this);try{l(this),h.update.call(this,null,this[eA].updateParams)}catch(t){throw this[ew]=!1,this[eA]=null,t}this._zr.flush(),this[ew]=!1,this[eA]=null,g.call(this,i),y.call(this,i)}else if(t.unfinished){var r=1;do{t.unfinished=!1;var o=ed.yh.getTime();t.performSeriesTasks(e),t.performDataProcessorTasks(e),d(this,e),t.performVisualTasks(e),b(this,this._model,n,"remain",{}),r-=ed.yh.getTime()-o}while(r>0&&t.unfinished)t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[ew]){if(this._disposed)return void this.id;if((0,I.isObject)(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[ew]=!0,T(this),!this._model||e){var i,r,o,a=new tt(this._api),s=this._theme,u=this._model=new X;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},eF);var c={seriesTransition:o,optionChanged:!0};if(n)this[eA]={silent:i,updateParams:c},this[ew]=!1,this.getZr().wakeUp();else{try{l(this),h.update.call(this,null,c)}catch(t){throw this[eA]=null,this[ew]=!1,t}this._ssr||this._zr.flush(),this[eA]=null,this[ew]=!1,g.call(this,i),y.call(this,i)}}},e.prototype.setTheme=function(t,e){if(!this[ew]){if(this._disposed)return void this.id;var n=this._model;if(n){var i=e&&e.silent,r=null;this[eA]&&(null==i&&(i=this[eA].silent),r=this[eA].updateParams,this[eA]=null),this[ew]=!0,T(this);try{this._updateTheme(t),n.setTheme(this._theme),l(this),h.update.call(this,{type:"setTheme"},r)}catch(t){throw this[ew]=!1,t}this[ew]=!1,g.call(this,i),y.call(this,i)}}},e.prototype._updateTheme=function(t){(0,I.isString)(t)&&(t=eH[t]),t&&((t=(0,I.clone)(t))&&tm(t,!0),this._theme=t)},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||D.A.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){var t=this._zr,e=t.storage.getDisplayList();return(0,I.each)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()},e.prototype.getDataURL=function(t){if(this._disposed)return void this.id;var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;(0,I.each)(e,function(t){n.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,I.each)(i,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed)return void this.id;var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max;if(!eZ[n])return this.getDataURL(t);var o=1/0,a=1/0,s=-1/0,l=-1/0,u=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();(0,I.each)(eG,function(c,h){if(c.group===n){var p=e?c.getZr().painter.getSvgDom().innerHTML:c.renderToCanvas((0,I.clone)(t)),d=c.getDom().getBoundingClientRect();o=i(d.left,o),a=i(d.top,a),s=r(d.right,s),l=r(d.bottom,l),u.push({dom:p,left:d.left,top:d.top})}}),o*=c,a*=c,s*=c,l*=c;var h=s-o,p=l-a,d=ed.yh.createCanvas(),f=k.init(d,{renderer:e?"svg":"canvas"});if(f.resize({width:h,height:p}),!e)return t.connectedBackgroundColor&&f.add(new tA.A({shape:{x:0,y:0,width:h,height:p},style:{fill:t.connectedBackgroundColor}})),(0,I.each)(u,function(t){var e=new tM.Ay({style:{x:t.left*c-o,y:t.top*c-a,image:t.dom}});f.add(e)}),f.refreshImmediately(),d.toDataURL("image/"+(t&&t.type||"png"));var g="";return(0,I.each)(u,function(t){var e=t.left-o,n=t.top-a;g+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),f.painter.getSvgRoot().innerHTML=g,t.connectedBackgroundColor&&f.painter.setBackgroundColor(t.connectedBackgroundColor),f.refreshImmediately(),f.painter.toDataURL()},e.prototype.convertToPixel=function(t,e,n){return p(this,"convertToPixel",t,e,n)},e.prototype.convertToLayout=function(t,e,n){return p(this,"convertToLayout",t,e,n)},e.prototype.convertFromPixel=function(t,e,n){return p(this,"convertFromPixel",t,e,n)},e.prototype.containPixel=function(t,e){if(this._disposed)return void this.id;var n,i=this._model,r=P._e(i,t);return(0,I.each)(r,function(t,i){i.indexOf("Models")>=0&&(0,I.each)(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=this._model,i=P._e(n,t,{defaultMainType:"series"}),r=i.seriesModel.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?r.indexOfRawIndex(i.dataIndex):null;return null!=o?(0,ea.Ez)(r,o,e):(0,ea.rI)(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;(0,I.each)(eB,function(e){var n=function(n){var i,r=t.getModel(),o=n.target;if("globalout"===e?i={}:o&&(0,eh.R)(o,function(t){var e=(0,tI.z)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return i=(0,I.extend)({},e.eventData),!0},!0),i){var a=i.componentType,s=i.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=i.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&t["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:i,model:l,view:u},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)});var e=this._messageCenter;(0,I.each)(eE,function(n,i){e.on(i,function(e){t.trigger(i,e)})}),(0,el.l)(e,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)return void this.id;this._disposed=!0,this.getDom()&&P.Bq(this.getDom(),ej,"");var t=this._api,e=this._model;(0,I.each)(this._componentsViews,function(n){n.dispose(e,t)}),(0,I.each)(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete eG[this.id]},e.prototype.resize=function(t){if(!this[ew]){if(this._disposed)return void this.id;this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[eA]&&(null==i&&(i=this[eA].silent),n=!0,this[eA]=null),this[ew]=!0,T(this);try{n&&l(this),h.update.call(this,{type:"resize",animation:(0,I.extend)({duration:0},t&&t.animation)})}catch(t){throw this[ew]=!1,t}this[ew]=!1,g.call(this,i),y.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)return void this.id;if((0,I.isObject)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eW[t]){var n=eW[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=(0,I.extend)({},t);return e.type=eN[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void this.id;if(((0,I.isObject)(e)||(e={silent:!!e}),ez[t.type])&&this._model){if(this[ew])return void this._pendingActions.push(t);var n=e.silent;f.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&D.A.browser.weChat&&this._throttledZrFlush(),g.call(this,n),y.call(this,n)}},e.prototype.updateLabelLayout=function(){ep.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)return void this.id;var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===tD.e3&&t.states.emphasis?e.push("emphasis"):t.hoverState===tD.zX&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=tC.retrieveZInfo(t);e.eachRendered(function(t){return tC.traverseUpdateZ(t,n.z,n.zlevel),!0})}}function i(t,e){e.eachRendered(function(t){if(!tT.LR(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function r(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis&&!tT.LR(t)){if(t instanceof tk.Ay&&(0,tD.fz)(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}l=function(t){(0,ey.Q3)(t._model);var e=t._scheduler;e.restorePipelines(t._zr,t._model),e.prepareStageTasks(),u(t,!0),u(t,!1),e.plan()},u=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&o[u];if(!c){var h=(0,ee.CC)(t.type);(c=new(e?tw.A.getClass(h.main,h.sub):tS.A.getClass(h.sub))).init(n,s),o[u]=c,r.push(c),a.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},e||i.prepareView(c,t,n,s)}e?n.eachComponent(function(t,e){"series"!==t&&u(e)}):n.eachSeries(u);for(var l=0;l<r.length;){var c=r[l];c.__alive?l++:(e||c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),r.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},c=function(t,e,n,i,r){var o,a=t._model;if(a.setUpdatePayload(n),!i)return void(0,I.each)([].concat(t._componentsViews).concat(t._chartsViews),u);var s=P.dr(n,i,r),l=n.excludeSeriesId;function u(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}null!=l&&(o=(0,I.createHashMap)(),(0,I.each)(P.qB(l),function(t){var e=P.vS(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(s,function(e){if(!(o&&null!=o.get(e.id)))if((0,tD.T$)(n))if(e instanceof tb.A)n.type!==tD.h5||n.notBlur||e.get(["emphasis","disabled"])||(0,tD.lV)(e,n,t._api);else{var i=(0,tD.Tl)(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,a=i.dispatchers;n.type===tD.h5&&r&&!n.notBlur&&(0,tD.Du)(e.mainType,e.componentIndex,t._api),a&&(0,I.each)(a,function(t){n.type===tD.h5?(0,tD.HY)(t):(0,tD.SD)(t)})}else(0,tD.Lx)(n)&&e instanceof tb.A&&((0,tD.t6)(e,n,t._api),(0,tD.jA)(e),A(t))},t),a&&a.eachComponent(s,function(e){o&&null!=o.get(e.id)||u(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)},h={prepareAndUpdate:function(t){l(this),h.update.call(this,t,t&&{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){(0,ey.n$)(i),i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),ep.trigger("coordsys:aftercreate",i,r),s.performDataProcessorTasks(i,e),d(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e);var l=i.get("backgroundColor")||"transparent";o.setBackgroundColor(l);var u=i.get("darkMode");null!=u&&"auto"!==u&&o.setDarkMode(u),_(this,i,r,e,n),ep.trigger("afterupdate",i,r)}},updateTransform:function(t){var e=this,n=e._model,i=e._api;if(n){n.setUpdatePayload(t);var r=[];n.eachComponent(function(o,a){if(o!==ei.t7){var s=e.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,n,i,t);l&&l.update&&r.push(s)}else r.push(s)}});var o=(0,I.createHashMap)();n.eachSeries(function(r){var a=e._chartsMap[r.__viewId],s=r.pipelineContext;if(a.updateTransform&&!s.progressiveRender){var l=a.updateTransform(r,n,i,t);l&&l.update&&o.set(r.uid,1)}else o.set(r.uid,1)}),e._scheduler.performVisualTasks(n,t,{setDirty:!0,dirtyMap:o}),b(e,n,i,t,{},o),ep.trigger("afterupdate",n,i)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),tS.A.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),_(this,n,this._api,e,{}),ep.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries(function(t){t.getData().clearAllVisual()}),tS.A.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent(function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}}),i.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)}),ep.trigger("afterupdate",i,this._api))},updateLayout:function(t){h.update.call(this,t)}},p=function(t,e,n,i,r){if(t._disposed)return void t.id;for(var o,a=t._model,s=t._coordSysMgr.getCoordinateSystems(),l=P._e(a,n),u=0;u<s.length;u++){var c=s[u];if(c[e]&&null!=(o=c[e](a,l,i,r)))return o}},d=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})},f=function(t,e){var n,i=this,r=this.getModel(),o=t.type,a=t.escapeConnect,s=ez[o],u=(s.update||"update").split(":"),p=u.pop(),d=null!=u[0]&&(0,ee.CC)(u[0]);this[ew]=!0,T(this);var f=[t],g=!1;t.batch&&(g=!0,f=(0,I.map)(t.batch,function(e){return(e=(0,I.defaults)((0,I.extend)({},e),t)).batch=null,e}));var y=[],v=[],m=s.nonRefinedEventType,_=(0,tD.Lx)(t),x=(0,tD.T$)(t);if(x&&(0,tD.qR)(this._api),(0,I.each)(f,function(e){var o=s.action(e,r,i._api);if(s.refineEvent?v.push(o):n=o,(n=n||(0,I.extend)({},e)).type=m,y.push(n),x){var a=P.HB(t),l=a.queryOptionMap;c(i,p,e,a.mainTypeSpecified?l.keys()[0]:"series"),A(i)}else _?(c(i,p,e,"series"),A(i)):d&&c(i,p,e,d.main,d.sub)}),"none"!==p&&!x&&!_&&!d)try{this[eA]?(l(this),h.update.call(this,t),this[eA]=null):h[p].call(this,t)}catch(t){throw this[ew]=!1,t}if(n=g?{type:m,escapeConnect:a,batch:y}:y[0],this[ew]=!1,!e){var b=void 0;if(s.refineEvent){var w=s.refineEvent(v,t,r,this._api).eventContent;(0,I.assert)((0,I.isObject)(w)),(b=(0,I.defaults)({type:s.refinedEventType},w)).fromAction=t.type,b.fromActionPayload=t,b.escapeConnect=!0}var S=this._messageCenter;S.trigger(n.type,n),b&&S.trigger(b.type,b)}},g=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();f.call(this,n,t)}},y=function(t){t||this.trigger("updated")},v=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[eA]||e._scheduler.unfinished||e._pendingActions.length?t.refresh():e.trigger("finished")})},m=function(t,e){t.on("mouseover",function(t){var n=t.target,i=(0,eh.R)(n,tD.u6);i&&((0,tD._m)(i,t,e._api),A(e))}).on("mouseout",function(t){var n=t.target,i=(0,eh.R)(n,tD.u6);i&&((0,tD.Iz)(i,t,e._api),A(e))}).on("click",function(t){var n=t.target,i=(0,eh.R)(n,function(t){return null!=(0,tI.z)(t).dataIndex},!0);if(i){var r=i.selected?"unselect":"select",o=(0,tI.z)(i);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},_=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent(function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})}),i){var r,o,a=e.concat(n);(0,O.A)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,I.each)(a,function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)})}}(e),x(t,e,n,i,r),(0,I.each)(t._chartsViews,function(t){t.__alive=!1}),b(t,e,n,i,r),(0,I.each)(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},x=function(t,e,o,a,s,l){(0,I.each)(l||t._componentsViews,function(t){var s=t.__model;i(s,t),t.render(s,e,o,a),n(s,t),r(s,t)})},b=function(t,e,o,a,s,l){var u=t._scheduler;s=(0,I.extend)(s||{},{updatedSeries:e.getSeries()}),ep.trigger("series:beforeupdate",e,o,s);var c=!1;e.eachSeries(function(e){var n,r,o,s=t._chartsMap[e.__viewId];s.__alive=!0;var h=s.renderTask;u.updatePayload(h,a),i(e,s),l&&l.get(e.uid)&&h.dirty(),h.perform(u.getPerformArgs(h))&&(c=!0),s.group.silent=!!e.get("silent"),n=e,r=s,o=n.get("blendMode")||null,r.eachRendered(function(t){t.isGroup||(t.style.blend=o)}),(0,tD.jA)(e)}),u.unfinished=c||u.unfinished,ep.trigger("series:layoutlabels",e,o,s),ep.trigger("series:transition",e,o,s),e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];n(e,i),r(e,i)}),function(t,e){var n=t._zr;if("canvas"===n.painter.type){var i=n.storage,r=0;i.traverse(function(t){!t.isGroup&&r++});var o=r>(0,I.retrieve2)(e.get("hoverLayerThreshold"),H.hoverLayerThreshold)&&!D.A.node&&!D.A.worker;(t._usingTHL||o)&&(e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered(function(t){var e=t.states.emphasis;e&&e.hoverLayer!==tC.HOVER_LAYER_FOR_INCREMENTAL&&(e.hoverLayer=o?tC.HOVER_LAYER_FROM_THRESHOLD:tC.HOVER_LAYER_NO)})}}),t._usingTHL=o)}}(t,e),ep.trigger("series:afterupdate",e,o,s)},A=function(t){t[eM]=!0,t.getZr().wakeUp()},T=function(t){t[eS]=(t[eS]+1)%1e6},M=function(t){t[eM]&&(t.getZr().storage.traverse(function(t){tT.LR(t)||e(t)}),t[eM]=!1)},w=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,C.C6)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,tD.HY)(e,n),A(t)},n.prototype.leaveEmphasis=function(e,n){(0,tD.SD)(e,n),A(t)},n.prototype.enterBlur=function(e){(0,tD.QX)(e),A(t)},n.prototype.leaveBlur=function(e){(0,tD.JC)(e),A(t)},n.prototype.enterSelect=function(e){(0,tD.JI)(e),A(t)},n.prototype.leaveSelect=function(e){(0,tD.gd)(e),A(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n.prototype.getECUpdateCycleVersion=function(){return t[eS]},n.prototype.usingTHL=function(){return t._usingTHL},n}(Q.A))(t)},S=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][eC]=e}(0,I.each)(eN,function(n,i){t._messageCenter.on(i,function(n){if(eZ[t.group]&&0!==t[eC]&&(!n||!n.escapeConnect)){var i=t.makeActionFromEvent(n),r=[];(0,I.each)(eG,function(e){e!==t&&e.group===t.group&&r.push(e)}),e(r,0),(0,I.each)(r,function(t){1!==t[eC]&&t.dispatchAction(i)}),e(r,2)}})})}}(),e}(L.A),eR=eP.prototype;eR.on=ek("on"),eR.off=ek("off"),eR.one=function(t,e,n){var i=this;(0,es.aT)("ECharts#one is deprecated."),this.on.call(this,t,function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)},n)};var eB=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],ez={},eN={},eE={},eV=[],eF=[],eY=[],eH={},eW={},eG={},eZ={},eU=new Date-0,eX=new Date-0,ej="_echarts_instance_";function eq(t,e,n){var i=!(n&&n.ssr);if(i){var r=e0(t);if(r)return r}var o=new eP(t,e,n);return o.id="ec_"+eU++,eG[o.id]=o,i&&P.Bq(t,ej,o.id),S(o),ep.trigger("afterinit",o),o}function e$(t){if((0,I.isArray)(t)){var e=t;t=null,(0,I.each)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+eX++,(0,I.each)(e,function(e){e.group=t})}return eZ[t]=!0,t}function eQ(t){eZ[t]=!1}var eJ=eQ;function eK(t){(0,I.isString)(t)?t=eG[t]:t instanceof eP||(t=e0(t)),t instanceof eP&&!t.isDisposed()&&t.dispose()}function e0(t){return eG[P.D$(t,ej)]}function e1(t){return eG[t]}function e2(t,e){eH[t]=e}function e5(t){0>(0,I.indexOf)(eF,t)&&eF.push(t)}function e3(t,e){no(eV,t,e,2e3)}function e4(t){e8("afterinit",t)}function e6(t){e8("afterupdate",t)}function e8(t,e){ep.on(t,e)}function e9(t,e,n){function i(t){return t.toLowerCase()}(0,I.isFunction)(e)&&(n=e,e=""),(0,I.isObject)(t)?(r=t.type,l=t.event,a=t.update,s=t.publishNonRefinedEvent,n||(n=t.action),o=t.refineEvent):(r=t,l=e);var r,o,a,s,l=i(l||r),u=o?i(r):l;ez[r]||((0,I.assert)(eT.test(r)&&eT.test(l)),o&&(0,I.assert)(l!==r),ez[r]={actionType:r,refinedEventType:l,nonRefinedEventType:u,update:a,action:n,refineEvent:o},eE[l]=1,o&&s&&(eE[u]=1),eN[u]=r)}function e7(t,e){J.Ay.register(t,e)}function nt(t){var e=J.Ay.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function ne(t,e){(0,eg.m)(t,e)}function nn(t,e){no(eY,t,e,1e3,"layout",!0)}function ni(t,e){no(eY,t,e,3e3,"visual",!0)}var nr=[];function no(t,e,n,i,r,o){if(((0,I.isFunction)(e)||(0,I.isObject)(e))&&(n=e,e=i),!((0,I.indexOf)(nr,n)>=0)){nr.push(n);var a=tX.wrapStageHandler(n,r);a.__prio=e,a.__raw=n,t.push(a)}}function na(t,e){eW[t]=e}function ns(t){(0,ed.Gs)({createCanvas:t})}function nl(t,e,n){var i=(0,ef.v)("registerMap");i&&i(t,e,n)}function nu(t){var e=(0,ef.v)("getMap");return e&&e(t)}var nc=eu.v5;function nh(t,e,n,i){return{eventContent:{selected:(0,tD.mc)(n),isFromClick:e.isFromClick||!1}}}ni(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=tE(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=tV(t,i),l=o[s],u=(0,I.isFunction)(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=h,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||(0,I.isFunction)(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||(0,I.isFunction)(o.stroke)?h:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=(0,I.extend)({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}}),ni(4500,{createOnAllSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=tE(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){tF.option=n[i];var a=r(tF),s=t.ensureUniqueItemVisual(e,"style");(0,I.extend)(s,a),tF.option.decal&&(t.setItemVisual(e,"decal",tF.option.decal),tF.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),ni(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,I.createHashMap)();t.eachSeries(function(t){if(!t.isColorBySeries()){var n=t.type+"-"+t.getColorBy();tB(t).scope=e.get(n)||e.set(n,{})}}),t.eachSeries(function(t){if(!t.isColorBySeries()){var e=t.getRawData(),n={},i=t.getData(),r=tB(t).scope,o=t.visualStyleAccessPath||"itemStyle",a=tV(t,o);i.each(function(t){n[i.getRawIndex(t)]=t}),e.each(function(o){var s=n[o];if(i.getItemVisual(s,"colorFromPalette")){var l=i.ensureUniqueItemVisual(s,"style"),u=e.getName(o)||o+"",c=e.count();l[a]=t.getColorFromPalette(u,r,c)}})}})}}),ni(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a<er.length;a++){var s=er[a],l=t.get(s);(0,I.isFunction)(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual((0,I.extend)({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=(0,I.keys)(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}}),ni(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<eo.length;i++){var r=eo[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}}),ni(7e3,em),e5(tm),e3(900,tx),eW.default=function(t,e){e=e||{},I.defaults(e,{text:"loading",textColor:N.A.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:N.A.color.theme["0"],spinnerRadius:10,lineWidth:5,zlevel:0});var n,i=new tY.A,r=new tA.A({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(r);var o=new tH.Ay({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new tA.A({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return i.add(a),e.showSpinner&&((n=new tW.A({shape:{startAngle:-tG/2,endAngle:-tG/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*tG/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*tG/2}).delay(300).start("circularInOut"),i.add(n)),i.resize=function(){var i=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner&&i?0:5+i/2)+(e.showSpinner?0:i/2)+(i?0:s),u=t.getHeight()/2;e.showSpinner&&n.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i},e9({type:tD.h5,event:tD.h5,update:tD.h5},I.noop),e9({type:tD.PW,event:tD.PW,update:tD.PW},I.noop),e9({type:tD.Lv,event:tD.gM,update:tD.Lv,action:I.noop,refineEvent:nh,publishNonRefinedEvent:!0}),e9({type:tD.U2,event:tD.gM,update:tD.U2,action:I.noop,refineEvent:nh,publishNonRefinedEvent:!0}),e9({type:tD.Q6,event:tD.gM,update:tD.Q6,action:I.noop,refineEvent:nh,publishNonRefinedEvent:!0}),eH.default={},eH.dark=et;var np={}},jQ(t,e,n){var i={};n.d(e,{},{m:function(t,e){i[t]=e},v:function(t){return i[t]}})},o03(t,e,n){n.d(e,{Lv:()=>l,A$:()=>c,pr:()=>p,A4:()=>h,E:()=>u});var i=n("Sk"),r=n("E3"),o=n("iY"),a={},s={},l=r.A.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function u(t,e){s[t=t.toUpperCase()]=new i.A(e),a[t]=e}function c(t){if(!(0,o.isString)(t))return(0,o.merge)((0,o.clone)(t),(0,o.clone)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.clone)(e):(0,o.merge)((0,o.clone)(e),(0,o.clone)(a.EN),!1)}function h(t){return s[t]}function p(){return s.EN}u("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),u("ZH",{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}})},Hq(t,e,n){var i=n("iY"),r=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n,r,o,a=this._upstream,s=t&&t.skip;if(this._dirty&&a){var l=this.context;l.data=l.outputData=a.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!s&&(r=this._plan(this.context));var u=((e=this._modBy)>=1||(e=1),e),c=this._modDataCount||0,h=((n=t&&t.modBy)>=1||(n=1),n),p=t&&t.modDataCount||0;(u!==h||c!==p)&&(r="reset"),(this._dirty||"reset"===r)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=h,this._modDataCount=p;var d=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,g=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!s&&(o||f<g)){var y=this._progress;if((0,i.isArray)(y))for(var v=0;v<y.length;v++)this._doProgress(y[v],f,g,h,p);else this._doProgress(y,f,g,h,p)}this._dueIndex=g;var m=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){o.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:o.next},this.context)},t.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,i.isArray)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,n,r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),o=function(){var t,e,n,i,r,o={reset:function(l,u,c,h){e=l,t=u,n=c,r=Math.ceil((i=h)/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}();n.d(e,{},{U:function(t){return new r(t)}})},YQ(t,e){function n(t){return null==t?0:t.length||1}function i(t){return t}e.A=function(){function t(t,e,n,r,o,a){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,i={},r=Array(t.length),o=Array(e.length);this._initIndexMap(t,null,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=r[a],l=i[s],u=n(l);if(u>1){var c=l.shift();1===l.length&&(i[s]=l[0]),this._update&&this._update(c,a)}else 1===u?(i[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,i)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,i={},r={},o=[],a=[];this._initIndexMap(t,i,o,"_oldKeyGetter"),this._initIndexMap(e,r,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var l=o[s],u=i[l],c=r[l],h=n(u),p=n(c);if(h>1&&1===p)this._updateManyToOne&&this._updateManyToOne(c,u),r[l]=null;else if(1===h&&p>1)this._updateOneToMany&&this._updateOneToMany(c,u),r[l]=null;else if(1===h&&1===p)this._update&&this._update(c,u),r[l]=null;else if(h>1&&p>1)this._updateManyToMany&&this._updateManyToMany(c,u),r[l]=null;else if(h>1)for(var d=0;d<h;d++)this._remove&&this._remove(u[d]);else this._remove&&this._remove(u)}this._performRestAdd(a,r)},t.prototype._performRestAdd=function(t,e){for(var i=0;i<t.length;i++){var r=t[i],o=e[r],a=n(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);e[r]=null}},t.prototype._initIndexMap=function(t,e,i,r){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[r](t[a],a);if(o||(i[a]=s),e){var l=e[s],u=n(l);0===u?(e[s]=a,o&&i.push(s)):1===u?e[s]=[l,a]:l.push(a)}}},t}()},FX(t,e,n){var i,r=n("iY"),o=n("No"),a=n("Fy4"),s=n("oa"),l=n("xN"),u=n("MB"),c=typeof Uint32Array===o.nk?Array:Uint32Array,h=typeof Uint16Array===o.nk?Array:Uint16Array,p=typeof Int32Array===o.nk?Array:Int32Array,d=typeof Float64Array===o.nk?Array:Float64Array,f={float:d,int:p,ordinal:Array,number:Array,time:d};function g(t){return t>65535?c:h}function y(t,e,n,i,r){var o=f[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}e.Ay=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,r.createHashMap)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),a=this.defaultDimValueGetter=i[o.sourceFormat];this._dimValueGetter=n||a,this._rawExtent=[],(0,s.O0)(o),this._dimensions=(0,r.map)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new f[e||"float"](this._rawCount),this._rawExtent[r]=(0,l.X1)(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=(0,l.X1)());for(var s=r[t],u=o;u<a;u++){var c=n[u]=e.parseAndCollect(n[u]);isNaN(c)||(s[0]=Math.min(c,s[0]),s[1]=Math.max(c,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<o;u++){var c=r[u];y(n,u,c.type,l,!0)}for(var h=[],p=s;p<l;p++)for(var d=p-s,f=0;f<o;f++){var c=r[f],g=i.arrayRows.call(this,t[d]||h,c.property,d,f);n[f][p]=g;var v=a[f];g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,u=this._rawExtent,c=(0,r.map)(a,function(t){return t.property}),h=0;h<s;h++){var p=a[h];u[h]||(u[h]=(0,l.X1)()),y(o,h,p.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,u);else for(var d=[],f=t;f<e;f++){d=i.getItem(f,d);for(var g=0;g<s;g++){var v=o[g],m=this._dimValueGetter(d,c[g],f,g);v[f]=m;var _=u[g];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return 0/0;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:0/0},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;for(var r=0,o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return 0/0;var n=this._chunks[t];return n?n[e]:0/0},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)}),(0,u.Y6)(e);var n=this.count();return 0===n?0:n%2==1?e[(n-1)/2]:(e[n/2]+e[n/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return -1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return -1},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{var n=g(this._rawCount);t=new n(this.count());for(var r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(g(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],u=n._chunks,c=0;c<i;c++){var h=void 0,p=n.getRawIndex(c);if(0===a)h=e(c);else if(1===a)h=e(u[l][p],c);else{for(var d=0;d<a;d++)o[d]=u[t[d]][p];o[d]=c,h=e.apply(null,o)}h&&(r[s++]=p)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=(0,r.keys)(t),o=i.length;if(!o)return this;var a=e.count(),s=new(g(e._rawCount))(a),l=0,u=i[0],c=t[u][0],h=t[u][1],p=e._chunks,d=!1;if(!e._indices){var f=0;if(1===o){for(var y=p[i[0]],v=0;v<n;v++){var m=y[v];(m>=c&&m<=h||isNaN(m))&&(s[l++]=f),f++}d=!0}else if(2===o){for(var y=p[i[0]],_=p[i[1]],x=t[i[1]][0],b=t[i[1]][1],v=0;v<n;v++){var m=y[v],w=_[v];(m>=c&&m<=h||isNaN(m))&&(w>=x&&w<=b||isNaN(w))&&(s[l++]=f),f++}d=!0}}if(!d)if(1===o)for(var v=0;v<a;v++){var S=e.getRawIndex(v),m=p[i[0]][S];(m>=c&&m<=h||isNaN(m))&&(s[l++]=S)}else for(var v=0;v<a;v++){for(var A=!0,S=e.getRawIndex(v),M=0;M<o;M++){var T=i[M],m=p[T][S];(m<t[T][0]||m>t[T][1])&&(A=!1)}A&&(s[l++]=e.getRawIndex(v))}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],u=t._rawExtent,c=0;c<e.length;c++)u[e[c]]=(0,l.X1)();for(var h=0;h<a;h++){for(var p=t.getRawIndex(h),d=0;d<o;d++)s[d]=i[e[d]][p];s[o]=h;var f=n&&n.apply(null,s);if(null!=f){"object"!=typeof f&&(r[0]=f,f=r);for(var c=0;c<f.length;c++){var g=e[c],y=f[c],v=u[g],m=i[g];m&&(m[p]=y),y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),h=new(g(this._rawCount))(Math.min((Math.ceil(s/u)+2)*2,s));h[l++]=c;for(var p=1;p<s-1;p+=u){for(var d=Math.min(p+u,s-1),f=Math.min(p+2*u,s),y=(f+d)/2,v=0,m=d;m<f;m++){var _=this.getRawIndex(m),x=a[_];isNaN(x)||(v+=x)}v/=f-d;var b=p,w=Math.min(p+u,s),S=p-1,A=a[c];n=-1,r=b;for(var M=-1,T=0,m=b;m<w;m++){var _=this.getRawIndex(m),x=a[_];if(isNaN(x)){T++,M<0&&(M=_);continue}(i=Math.abs((S-y)*(x-A)-(S-m)*(v-A)))>n&&(n=i,r=_)}T>0&&T<w-b&&(h[l++]=Math.min(M,r),r=Math.max(M,r)),h[l++]=r,c=r}return h[l++]=this.getRawIndex(s-1),o._count=l,o._indices=h,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new(g(this._rawCount))(2*Math.ceil(a/r)),l=0,u=0;u<a;u+=r){var c=u,h=o[this.getRawIndex(c)],p=u,d=o[this.getRawIndex(p)],f=r;u+r>a&&(f=a-u);for(var y=0;y<f;y++){var v=o[this.getRawIndex(u+y)];v<h&&(h=v,c=u+y),v>d&&(d=v,p=u+y)}var m=this.getRawIndex(c),_=this.getRawIndex(p);c<p?(s[l++]=m,s[l++]=_):(s[l++]=_,s[l++]=m)}return n._count=l,n._indices=s,n._updateGetRawIdx(),n},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),u=o[t],c=this.count(),h=r._rawExtent[t]=(0,l.X1)(),p=new(g(this._rawCount))(Math.ceil(c/s)),d=0,f=0;f<c;f+=s){s>c-f&&(a.length=s=c-f);for(var y=0;y<s;y++){var v=this.getRawIndex(f+y);a[y]=u[v]}var m=n(a),_=this.getRawIndex(Math.min(f+i(a,m)||0,c-1));u[_]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[1]=m),p[d++]=_}return r._count=d,r._indices=p,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t,e){var n=this._chunks[t],i=(0,l.X1)();if(!n)return i;var r=this.count();if(!this._indices&&!e)return this._rawExtent[t].slice();var o=this._extent,s=o[t]||(o[t]={}),u=(0,a.$6)(e),c=u.key,h=s[c];if(h)return h.slice();for(var p=i[0],d=i[1],f=0;f<r;f++){var g=n[this.getRawIndex(f)];(!e||(0,a.V7)(u,g))&&(g<p&&(p=g),g>d&&(d=g))}return s[c]=[p,d]},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,o=this._chunks,a=e&&(0,r.reduce)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else i._chunks=o;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,r.clone)(this._extent),t._rawExtent=(0,r.clone)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return(0,a.Pn)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,a.Pn)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return(0,a.Pn)(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),n.d(e,{},{A_:p})},di(t,e,n){var i=n("iY"),r=0;function o(t){return(0,i.isObject)(t)&&null!=t.value?t.value:t+""}e.A=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r,this._onCollect=t.onCollect}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&(0,i.map)(r,o);return new t({categories:a,needCollect:!a,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!(0,i.isString)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,this._onCollect&&this._onCollect(t,e),e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e),this._onCollect&&this._onCollect(t,e)):e=0/0),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,i.createHashMap)(this.categories))},t}()},oo(t,e,n){var i,r,o,a,s,l,u,c=n("iY"),h=n("Sk"),p=n("YQ"),d=n("iL"),f=n("B6"),g=n("MC"),y=n("No"),v=n("xN"),m=n("FL"),_=n("oa"),x=n("FX"),b=n("Od"),w=c.isObject,S=c.map,A="u"<typeof Int32Array?Array:Int32Array,M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],T=["_approximateExtent"];e.A=function(){function t(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var n,i=!1;(0,b.fg)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var h=n[u],p=c.isString(h)?new g.A({name:h}):h instanceof g.A?h:new g.A(h),d=p.name;p.type=p.type||"float",p.coordDim||(p.coordDim=d,p.coordDimIndex=0);var f=p.otherDims=p.otherDims||{};o.push(d),r[d]=p,null!=l[d]&&(s=!0),p.createInvertedIndices&&(a[d]=[]),i&&(p.storeDimIndex=u),0===f.itemName&&(this._nameDimIdx=p.storeDimIndex),0===f.itemId&&(this._idDimIdx=p.storeDimIndex)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var y=this._dimIdxToName=c.createHashMap();c.each(o,function(t){y.set(r[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);if(i)return i.name},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return -1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(c.isNumber(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||0>this._schema.getSourceDimensionIndex(t)))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof x.Ay&&(i=t),!i){var o=this.dimensions,a=(0,_.tP)(t)||c.isArrayLike(t)?new d.d1(t,o.length):t;i=new x.Ay;var s=S(o,function(t){return{type:r._dimInfos[t].type,property:t}});i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=(0,f.l)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&u(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==y.XO&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList;if(n.getSource().sourceFormat===y.mK&&!n.pure)for(var a=[],s=t;s<e;s++){var l=n.getItem(s,a);if(!this.hasItemOption&&(0,v.zu)(l)&&(this.hasItemOption=!0),l){var c=l.name;null==r[s]&&null!=c&&(r[s]=(0,v.vS)(c,null));var h=l.id;null==o[s]&&null!=h&&(o[s]=(0,v.vS)(h,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)u(this,s);i(this)}},t.prototype.getApproximateExtent=function(t,e){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t),e)},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){w(t)?c.extend(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return r(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t),null)},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return c.isArray(t)?i.getValues(S(t,function(t){return n._getStoreDimIndex(t)}),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return -1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t],i=n&&n[e];return null==i||isNaN(i)?-1:i},t.prototype.each=function(t,e,n){c.isFunction(t)&&(n=e,e=t,t=[]);var i=n||this,r=S(a(t),this._getStoreDimIndex,this);this._store.each(r,i?c.bind(e,i):e)},t.prototype.filterSelf=function(t,e,n){c.isFunction(t)&&(n=e,e=t,t=[]);var i=n||this,r=S(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?c.bind(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=c.keys(t),r=[];return c.each(i,function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){c.isFunction(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=S(a(t),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,r?c.bind(e,r):e),s},t.prototype.modify=function(t,e,n,i){var r=n||i||this,o=S(a(t),this._getStoreDimIndex,this);this._store.modify(o,r?c.bind(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=l(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.minmaxDownSample=function(t,e){var n=l(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},t.prototype.lttbDownSample=function(t,e){var n=l(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new h.A(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new p.A(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return r(t,e)},function(t){return r(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},w(t)?c.extend(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),c.isArray(r)?r=r.slice():w(r)&&(r=c.extend({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,w(e)?c.extend(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){w(t)?c.extend(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?c.extend(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,m.a)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){c.each(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:S(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];c.isFunction(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(c.slice(arguments)))})},t.internalField=void(i=function(t){var e=t._invertedIndicesMap;c.each(e,function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new A(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(var s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}})},o=function(t,e,n){return(0,v.vS)(t._getCategory(e,n),null)},r=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},a=function(t){return c.isArray(t)||(t=null!=t?[t]:[]),t},l=function(e){var n=new t(e._schema?e._schema:S(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){c.each(M.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,c.each(T,function(n){t[n]=c.clone(e[n])}),t._calculationInfo=c.extend({},e._calculationInfo)},u=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,a=t._idDimIdx,s=n[e],l=i[e];if(null==s&&null!=r&&(n[e]=s=o(t,r,e)),null==l&&null!=a&&(i[e]=l=o(t,a,e)),null==l&&null!=s){var u=t._nameRepeatCount,c=u[s]=(u[s]||0)+1;l=s,c>1&&(l+="__ec__"+c),i[e]=l}}),t}()},MC(t,e,n){var i=n("iY");e.A=function(t){this.otherDims={},null!=t&&i.extend(this,t)}},oa(t,e,n){var i=n("iY"),r=n("No"),o=n("xN"),a=n("rk"),s=function(t){this.data=t.data||(t.sourceFormat===r.t1?{}:[]),this.sourceFormat=t.sourceFormat||r.vm,this.seriesLayoutBy=t.seriesLayoutBy||r.i_,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&(0,a.PU)(this,n)===a.sc.Must&&(i.type="ordinal")}};function l(t){var e=r.vm;if((0,i.isTypedArray)(t))e=r.XO;else if((0,i.isArray)(t)){0===t.length&&(e=r.Km);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,i.isArray)(a)||(0,i.isTypedArray)(a)){e=r.Km;break}else if((0,i.isObject)(a)){e=r.Wk;break}}}}else if((0,i.isObject)(t)){for(var s in t)if((0,i.hasOwn)(t,s)&&(0,i.isArrayLike)(t[s])){e=r.t1;break}}return e}function u(t){if(t){var e=(0,i.createHashMap)();return(0,i.map)(t,function(t,n){var r={name:(t=(0,i.isObject)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r})}}function c(t,e,n,i){if(e===r.oC)for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else for(var a=n[0]||[],o=0;o<a.length&&o<i;o++)t(a[o],o)}n.d(e,{},{AF:function(t){return new s({data:t,sourceFormat:(0,i.isTypedArray)(t)?r.XO:r.mK})},BE:function(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,i.clone)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})},O0:function(t){var e=t.sourceFormat;return e===r.Wk||e===r.t1},gV:function(t,e,n){n=n||l(t);var a=e.seriesLayoutBy,h=function(t,e,n,a,s){if(!t)return{dimensionsDefine:u(s),startIndex:h,dimensionsDetectedCount:l};if(e===r.Km){var l,h;"auto"===a||null==a?c(function(t){null!=t&&"-"!==t&&((0,i.isString)(t)?null==h&&(h=1):h=0)},n,t,10):h=(0,i.isNumber)(a)?a:+!!a,s||1!==h||(s=[],c(function(t,e){s[e]=null!=t?t+"":""},n,t,1/0)),l=s?s.length:n===r.oC?t.length:t[0]?t[0].length:null}else if(e===r.Wk)s||(s=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e)return(0,i.keys)(e)}(t));else if(e===r.t1)s||(s=[],(0,i.each)(t,function(t,e){s.push(e)}));else if(e===r.mK){var p=(0,o.vj)(t[0]);l=(0,i.isArray)(p)&&p.length||1}else r.XO;return{startIndex:h,dimensionsDefine:u(s),dimensionsDetectedCount:l}}(t,n,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:h.dimensionsDefine,startIndex:h.startIndex,dimensionsDetectedCount:h.dimensionsDetectedCount,metaRawOption:(0,i.clone)(e)})},tP:function(t){return t instanceof s},wZ:l})},Od(t,e,n){var i=n("iY"),r=n("xN"),o=n("oa"),a=(0,r.$r)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=c(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,i.retrieve2)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.O0)(this.source),n=!h(t),i="",r=[],a=0,l=0;a<t;a++){var u=void 0,c=void 0,p=void 0,d=this.dimensions[l];if(d&&d.storeDimIndex===a)u=e?d.name:null,c=d.type,p=d.ordinalMeta,l++;else{var f=this.getSourceDimension(a);f&&(u=e?f.name:null,c=f.type)}r.push({property:u,type:c,ordinalMeta:p}),!e||null==u||d&&d.isCalculationCoord||(i+=n?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),i+="$",i+=s[c]||"f",p&&(i+=p.uid),i+="$"}var g=this.source;return{dimensions:r,hash:[g.seriesLayoutBy,g.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function u(t){for(var e=(0,i.createHashMap)(),n=0;n<(t||[]).length;n++){var r=t[n],o=(0,i.isObject)(r)?r.name:r;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function c(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=u(t.dimensionsDefine))}function h(t){return t>30}n.d(e,{},{Tc:l,eS:h,fg:function(t){return t instanceof l},io:u,j_:c})},CG(t,e,n){var i=n("No"),r=n("MC"),o=n("iY"),a=n("oa"),s=n("FX"),l=n("xN"),u=n("rk"),c=n("Od");function h(t,e){(0,a.tP)(t)||(t=(0,a.AF)(t));var n,h,p,d,f,g=(e=e||{}).coordDimensions||[],y=e.dimensionsDefine||t.dimensionsDefine||[],v=(0,o.createHashMap)(),m=[],_=(n=t,h=g,p=y,d=e.dimensionsCount,f=Math.max(n.dimensionsDetectedCount||1,h.length,p.length,d||0),(0,o.each)(h,function(t){var e;(0,o.isObject)(t)&&(e=t.dimsDef)&&(f=Math.max(f,e.length))}),f),x=e.canOmitUnusedDimensions&&(0,c.eS)(_),b=y===t.dimensionsDefine,w=b?(0,c.j_)(t):(0,c.io)(y),S=e.encodeDefine;!S&&e.encodeDefaulter&&(S=e.encodeDefaulter(t,_));for(var A=(0,o.createHashMap)(S),M=new s.A_(_),T=0;T<M.length;T++)M[T]=-1;function C(t){var e=M[t];if(e<0){var n=y[t],i=(0,o.isObject)(n)?n:{name:n},a=new r.A,s=i.name;null!=s&&null!=w.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var l=m.length;return M[t]=l,a.storeDimIndex=t,m.push(a),a}return m[e]}if(!x)for(var T=0;T<_;T++)C(T);A.each(function(t,e){var n=(0,l.qB)(t).slice();if(1===n.length&&!(0,o.isString)(n[0])&&n[0]<0)return void A.set(e,!1);var i=A.set(e,[]);(0,o.each)(n,function(t,n){var r=(0,o.isString)(t)?w.get(t):t;null!=r&&r<_&&(i[n]=r,I(C(r),e,n))})});var k=0;function I(t,e,n){null!=i.Pe.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,v.set(e,!0))}(0,o.each)(g,function(t){if((0,o.isString)(t))r=t,i={};else{var e,n,i,r=(i=t).name,a=i.ordinalMeta;i.ordinalMeta=null,(i=(0,o.extend)({},i)).ordinalMeta=a,e=i.dimsDef,n=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=A.get(r);if(!1!==s){if(!(s=(0,l.qB)(s)).length)for(var u=0;u<(e&&e.length||1);u++){for(;k<_&&null!=C(k).coordDim;)k++;k<_&&s.push(k++)}(0,o.each)(s,function(t,a){var s=C(t);if(b&&null!=i.type&&(s.type=i.type),I((0,o.defaults)(s,i),r,a),null==s.name&&e){var l=e[a];(0,o.isObject)(l)||(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}n&&(0,o.defaults)(s.otherDims,n)})}});var D=e.generateCoord,O=e.generateCoordCount,L=null!=O;O=D?O||1:0;var P=D||"value";function R(t){null==t.name&&(t.name=t.coordDim)}if(x)(0,o.each)(m,function(t){R(t)}),m.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var B=0;B<_;B++){var z=C(B);null==z.coordDim&&(z.coordDim=function(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}(P,v,L),z.coordDimIndex=0,(!D||O<=0)&&(z.isExtraCoord=!0),O--),R(z),null==z.type&&((0,u.PU)(t,B)===u.sc.Must||z.isExtraCoord&&(null!=z.otherDims.itemName||null!=z.otherDims.seriesName))&&(z.type="ordinal")}return(0,l.R3)(m,function(t){return t.name},function(t,e){e>0&&(t.name=t.name+(e-1))}),new c.Tc({source:t,dimensions:m,fullDimensionCount:_,dimensionOmitted:x})}n.d(e,{},{A:h,M:function(t,e){return h(t,e).dimensions}})},iL(t,e,n){var i,r,o,a,s,l,u=n("iY"),c=n("xN"),h=n("oa"),p=n("No"),d=n("nXY"),f=function(){var t;function e(t,e){var n=(0,h.tP)(t)?t:(0,h.AF)(t);this._source=n;var i=this._data=n.data,r=n.sourceFormat;n.seriesLayoutBy,r===p.XO&&(this._offset=0,this._dimSize=e,this._data=i),l(this,i,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,e){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=void((t=e.prototype).pure=!1,t.persistent=!0),e.internalField=function(){l=function(t,r,o){var a=o.sourceFormat,l=o.seriesLayoutBy,c=o.startIndex,h=o.dimensionsDefine,d=s[M(a,l)];if((0,u.extend)(t,d),a===p.XO)t.getItem=e,t.count=i,t.fillStorage=n;else{var f=m(a,l);t.getItem=(0,u.bind)(f,null,r,c,h);var g=b(a,l);t.count=(0,u.bind)(g,null,r,c,h)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,h=n[a],p=0;p<c;p++){var d=r[p*o+a];h[t+p]=d,d<l&&(l=d),d>u&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[p.Km+"_"+p.i_]={pure:!0,appendData:r},t[p.Km+"_"+p.oC]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[p.Wk]={pure:!0,appendData:r},t[p.t1]={pure:!0,appendData:function(t){var e=this._data;(0,u.each)(t,function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])})}},t[p.mK]={appendData:r},t[p.XO]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},s=t}(),e}(),g=function(t){(0,u.isArray)(t)||(0,d.z3)("series.data or dataset.source must be an array.")};(i={})[p.Km+"_"+p.i_]=g,i[p.Km+"_"+p.oC]=g,i[p.Wk]=g,i[p.t1]=function(t,e){for(var n=0;n<e.length;n++)null==e[n].name&&(0,d.z3)("dimension name must not be null/undefined.")},i[p.mK]=g;var y=function(t,e,n,i){return t[i]},v=((r={})[p.Km+"_"+p.i_]=function(t,e,n,i){return t[i+e]},r[p.Km+"_"+p.oC]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[i]:null}return o},r[p.Wk]=y,r[p.t1]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=n[a].name,l=null!=s?t[s]:null;o[a]=l?l[i]:null}return o},r[p.mK]=y,r);function m(t,e){return v[M(t,e)]}var _=function(t,e,n){return t.length},x=((o={})[p.Km+"_"+p.i_]=function(t,e,n){return Math.max(0,t.length-e)},o[p.Km+"_"+p.oC]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},o[p.Wk]=_,o[p.t1]=function(t,e,n){var i=n[0].name,r=null!=i?t[i]:null;return r?r.length:0},o[p.mK]=_,o);function b(t,e){return x[M(t,e)]}var w=function(t,e,n){return t[e]},S=((a={})[p.Km]=w,a[p.Wk]=function(t,e,n){return t[n]},a[p.t1]=w,a[p.mK]=function(t,e,n){var i=(0,c.vj)(t);return i instanceof Array?i[e]:i},a[p.XO]=w,a);function A(t){return S[t]}function M(t,e){return t===p.Km?t+"_"+e:t}n.d(e,{},{Kd:b,QE:function(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return A(o)(i,a,s)}var l=i;return o===p.mK&&(l=(0,c.vj)(i)),l}}},d1:f,sC:m,uQ:A})},pE(t,e,n){var i=n("iY"),r=n("Od");function o(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}n.d(e,{},{iJ:function(t,e,n){var o,a,s,l,u,c,h,p,d=(n=n||{}).byIndex,f=n.stackedCoordDimension;(o=e,(0,r.fg)(o.schema))?(a=(s=e.schema).dimensions,l=e.store):a=e;var g=!!(t&&t.get("stack")),y=!0;function v(t){return"ordinal"!==t.type&&"time"!==t.type}if((0,i.each)(a,function(t,e){(0,i.isString)(t)&&(a[e]=t={name:t}),v(t)||(y=!1)}),(0,i.each)(a,function(t,e){g&&!t.isExtraCoord&&(d||u||!t.ordinalMeta||(u=t),!c&&v(t)&&(!y||"x"!==t.coordDim&&"angle"!==t.coordDim)&&(!f||f===t.coordDim)&&(c=t))}),!c||d||u||(d=!0),c){h="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var m=c.coordDim,_=c.type,x=0;(0,i.each)(a,function(t){t.coordDim===m&&x++});var b={name:h,coordDim:m,coordDimIndex:x,type:_,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},w={name:p,coordDim:p,coordDimIndex:x+1,type:_,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(b.storeDimIndex=l.ensureCalculationDimension(p,_),w.storeDimIndex=l.ensureCalculationDimension(h,_)),s.appendCalculationDimension(b),s.appendCalculationDimension(w)):(a.push(b),a.push(w))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:d,stackedOverDimension:p,stackResultDimension:h}},me:function(t,e){return o(t,e)?t.getCalculationInfo("stackResultDimension"):e},sJ:o})},Fy4(t,e,n){var i=n("MB"),r=n("iY"),o=n("nXY"),a=(0,r.createHashMap)({number:function(t){return parseFloat(t)},time:function(t){return+(0,i._U)(t)},trim:function(t){return(0,r.isString)(t)?(0,r.trim)(t):t}}),s={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},l=function(){function t(t,e){(0,r.isNumber)(e)||(0,o.$8)(""),this._opFn=s[t],this._rvalFloat=(0,i.Sm)(e)}return t.prototype.evaluate=function(t){return(0,r.isNumber)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,i.Sm)(t),this._rvalFloat)},t}(),u=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=(0,r.isNumber)(t)?t:(0,i.Sm)(t),o=(0,r.isNumber)(e)?e:(0,i.Sm)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,r.isString)(t),u=(0,r.isString)(e);l&&(n=u?t:0),u&&(o=l?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}(),c=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.Sm)(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n!==this._rvalTypeof&&("number"===n||"number"===this._rvalTypeof)&&(e=(0,i.Sm)(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();n.d(e,{},{$6:function(t){var e="",n=-1/0,i=-1/0,r=1/0,o=1/0;return t&&(null!=t.g&&(e+="G"+t.g,n=t.g),null!=t.ge&&(e+="GE"+t.ge,i=t.ge),null!=t.l&&(e+="L"+t.l,r=t.l),null!=t.le&&(e+="LE"+t.le,o=t.le)),{key:e,g:n,ge:i,l:r,le:o}},Fl:u,Pn:function(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,r.isNumber)(t)||null==t||"-"===t||(t=+(0,i._U)(t)),null==t||""===t?0/0:Number(t))},V7:function(t,e){return e>t.g&&e>=t.ge&&e<t.l&&e<=t.le},zC:function(t){return a.get(t)},zs:function(t,e){return"eq"===t||"ne"===t?new c("eq"===t,e):(0,r.hasOwn)(s,t)?new l(t,e):null}})},B6(t,e,n){var i=n("iY"),r=n("No"),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}n.d(e,{},{B:function(t){return"category"===t?"ordinal":"time"===t?"time":"float"},l:function(t,e){var n={},s=n.encode={},l=(0,i.createHashMap)(),u=[],c=[],h={};(0,i.each)(t.dimensions,function(e){var n=t.getDimensionInfo(e),i=n.coordDim;if(i){var o,p=n.coordDimIndex;a(s,i)[p]=e,n.isExtraCoord||(l.set(i,1),"ordinal"!==(o=n.type)&&"time"!==o&&(u[0]=e),a(h,i)[p]=t.getDimensionIndex(n.name)),n.defaultTooltip&&c.push(e)}r.Pe.each(function(t,e){var i=a(s,e),r=n.otherDims[e];null!=r&&!1!==r&&(i[r]=n.name)})});var p=[],d={};l.each(function(t,e){var n=s[e];d[e]=n[0],p=p.concat(n)}),n.dataDimsOnCoord=p,n.dataDimIndicesOnCoord=(0,i.map)(p,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=d;var f=s.label;f&&f.length&&(u=f.slice());var g=s.tooltip;return g&&g.length?c=g.slice():c.length||(c=u.slice()),s.defaultedLabel=u,s.defaultedTooltip=c,n.userOutput=new o(h,e),n}})},rk(t,e,n){var i=n("xN"),r=n("iY"),o=n("No"),a={Must:1,Might:2,Not:3},s=(0,i.$r)();function l(t){if(!t.get("data",!0))return(0,i.JO)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i.US).models[0]}function u(t,e,n,s,l,u){var c,h,p;if((0,r.isTypedArray)(t))return a.Not;if(s){var d=s[u];(0,r.isObject)(d)?(h=d.name,p=d.type):(0,r.isString)(d)&&(h=d)}if(null!=p)return"ordinal"===p?a.Must:a.Not;if(e===o.Km)if(n===o.oC){for(var f=t[u],g=0;g<(f||[]).length&&g<5;g++)if(null!=(c=_(f[l+g])))return c}else for(var g=0;g<t.length&&g<5;g++){var y=t[l+g];if(y&&null!=(c=_(y[u])))return c}else if(e===o.Wk){if(!h)return a.Not;for(var g=0;g<t.length&&g<5;g++){var v=t[g];if(v&&null!=(c=_(v[h])))return c}}else if(e===o.t1){if(!h)return a.Not;var f=t[h];if(!f||(0,r.isTypedArray)(f))return a.Not;for(var g=0;g<f.length&&g<5;g++)if(null!=(c=_(f[g])))return c}else if(e===o.mK)for(var g=0;g<t.length&&g<5;g++){var v=t[g],m=(0,i.vj)(v);if(!(0,r.isArray)(m))return a.Not;if(null!=(c=_(m[u])))return c}function _(t){var e=(0,r.isString)(t);return null!=t&&isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}n.d(e,{},{G9:l,Gt:function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,i.JO)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i.US).models:[]},OC:function(t,e,n){var i,o,a={},u=l(e);if(!u||!t)return a;var c=[],h=[],p=s(e.ecModel).datasetMap,d=u.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,r.each)(t,function(e,n){var s=(0,r.isObject)(e)?e:t[n]={name:e};"ordinal"===s.type&&null==i&&(i=n,o=y(s)),a[s.name]=[]});var f=p.get(d)||p.set(d,{categoryWayDim:o,valueWayDim:0});function g(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,r.each)(t,function(t,e){var n=t.name,r=y(t);if(null==i){var o=f.valueWayDim;g(a[n],o,r),g(h,o,r),f.valueWayDim+=r}else if(i===e)g(a[n],0,r),g(c,0,r);else{var o=f.categoryWayDim;g(a[n],o,r),g(h,o,r),f.categoryWayDim+=r}}),c.length&&(a.itemName=c),h.length&&(a.seriesName=h),a},PU:function(t,e){return u(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)},ln:function(t,e,n){var i,s={};if(!l(t))return s;var c=e.sourceFormat,h=e.dimensionsDefine;(c===o.Wk||c===o.t1)&&(0,r.each)(h,function(t,e){((0,r.isObject)(t)?t.name:t)==="name"&&(i=e)});var p=function(){for(var t={},r={},o=[],s=0,l=Math.min(5,n);s<l;s++){var p=u(e.data,c,e.seriesLayoutBy,h,e.startIndex,s);o.push(p);var d=p===a.Not;if(d&&null==t.v&&s!==i&&(t.v=s),null!=t.n&&t.n!==t.v&&(d||o[t.n]!==a.Not)||(t.n=s),f(t)&&o[t.n]!==a.Not)return t;d||(p===a.Might&&null==r.v&&s!==i&&(r.v=s),(null==r.n||r.n===r.v)&&(r.n=s))}function f(t){return null!=t.v&&null!=t.n}return f(t)?t:f(r)?r:null}();if(p){s.value=[p.v];var d=null!=i?i:p.n;s.itemName=[d],s.seriesName=[d]}return s},ps:function(t){s(t).datasetMap=(0,r.createHashMap)()},sc:a})},ox2(t,e,n){var i=n("iY"),r=n("oa"),o=n("No"),a=n("rk"),s=n("B9"),l=n("FX"),u=n("iL"),c=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(h(n)){var l=void 0,u=void 0,c=void 0;if(s){var p=a[0];p.prepareSource(),l=(c=p.getSource()).data,u=c.sourceFormat,e=[p._getVersionSign()]}else l=n.get("data",!0),u=(0,i.isTypedArray)(l)?o.XO:o.mK,e=[];var d=this._getSourceMetaRawOption()||{},f=c&&c.metaRawOption||{},g=(0,i.retrieve2)(d.seriesLayoutBy,f.seriesLayoutBy)||null,y=(0,i.retrieve2)(d.sourceHeader,f.sourceHeader),v=(0,i.retrieve2)(d.dimensions,f.dimensions);t=g!==f.seriesLayoutBy||!!y!=!!f.sourceHeader||v?[(0,r.gV)(l,{seriesLayoutBy:g,sourceHeader:y,dimensions:v},u)]:[]}else if(s){var m=this._applyTransform(a);t=m.sourceList,e=m.upstreamSignList}else{var _=n.get("source",!0);t=[(0,r.gV)(_,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);null!=a&&1!==t.length&&p("");var l=[],u=[];return(0,i.each)(t,function(t){t.prepareSource();var e=t.getSource(a||0);null==a||e||p(""),l.push(e),u.push(t._getVersionSign())}),o?e=(0,s.py)(o,l,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,r.BE)(l[0])]),{sourceList:e,upstreamSignList:u}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];h(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new l.Ay).initData(new u.d1(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!h(t))return(0,i.map)((0,a.Gt)(t),function(t){return t.getSourceManager()});var e=(0,a.G9)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;return h(i)?(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function h(t){return"series"===t.mainType}function p(t){throw Error(t)}n.d(e,{},{A:function(t){t.option.transform&&(0,i.setAsPrimitive)(t.option.transform)},R:c})},B9(t,e,n){var i=n("No"),r=n("xN"),o=n("iY"),a=n("iL"),s=n("Fy4"),l=n("nXY"),u=n("oa"),c=function(){function t(){}return t.prototype.getRawData=function(){throw Error("not supported")},t.prototype.getRawDataItem=function(t){throw Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.Pn)(t,e)},t}();function h(t){return y(t.sourceFormat)||(0,l.$8)(""),t.data}function p(t){var e=t.sourceFormat,n=t.data;if(y(e)||(0,l.$8)(""),e===i.Km){for(var r=[],a=0,s=n.length;a<s;a++)r.push(n[a].slice());return r}if(e===i.Wk){for(var r=[],a=0,s=n.length;a<s;a++)r.push((0,o.extend)({},n[a]));return r}}function d(t,e,n){if(null!=n){if((0,o.isNumber)(n)||!isNaN(n)&&!(0,o.hasOwn)(e,n))return t[n];else if((0,o.hasOwn)(e,n))return e[n]}}function f(t){return(0,o.clone)(t)}var g=(0,o.createHashMap)();function y(t){return t===i.Km||t===i.Wk}n.d(e,{},{py:function(t,e,n){var s=(0,r.qB)(t),v=s.length;v||(0,l.$8)("");for(var m=0;m<v;m++)e=function(t,e){e.length||(0,l.$8)(""),(0,o.isObject)(t)||(0,l.$8)("");var n=t.type,s=g.get(n);s||(0,l.$8)("");var v=(0,o.map)(e,function(t){return function(t,e){var n=new c,r=t.data,s=n.sourceFormat=t.sourceFormat,u=t.startIndex;t.seriesLayoutBy!==i.i_&&(0,l.$8)("");var g=[],y={},v=t.dimensionsDefine;if(v)(0,o.each)(v,function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};g.push(i),null!=n&&((0,o.hasOwn)(y,n)&&(0,l.$8)(""),y[n]=i)});else for(var m=0;m<t.dimensionsDetectedCount||0;m++)g.push({index:m});var _=(0,a.sC)(s,i.i_);e.__isBuiltIn&&(n.getRawDataItem=function(t){return _(r,u,g,t)},n.getRawData=(0,o.bind)(h,null,t)),n.cloneRawData=(0,o.bind)(p,null,t);var x=(0,a.Kd)(s,i.i_);n.count=(0,o.bind)(x,null,r,u,g);var b=(0,a.uQ)(s);n.retrieveValue=function(t,e){return w(_(r,u,g,t),e)};var w=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=g[e];if(n)return b(t,e,n.name)}};return n.getDimensionInfo=(0,o.bind)(d,null,g,y),n.cloneAllDimensionInfo=(0,o.bind)(f,null,g),n}(t,s)}),m=(0,r.qB)(s.transform({upstream:v[0],upstreamList:v,config:(0,o.clone)(t.config)}));return(0,o.map)(m,function(t,n){(0,o.isObject)(t)||(0,l.$8)(""),t.data||(0,l.$8)(""),y((0,u.wZ)(t.data))||(0,l.$8)("");var r,a=e[0];if(a&&0===n&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),r={seriesLayoutBy:i.i_,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else r={seriesLayoutBy:i.i_,sourceHeader:0,dimensions:t.dimensions};return(0,u.gV)(t.data,r,null)})}(s[m],e),m!==v-1&&(e.length=Math.max(e.length,1));return e},v5:function(t){var e=(t=(0,o.clone)(t)).type;e||(0,l.$8)("");var n=e.split(":");2!==n.length&&(0,l.$8)("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,g.set(e,t)}})},xNS(t,e,n){var i=n("Hr"),r=n("BP"),o=n("WN9"),a=n("wv"),s=n("yd"),l=n("iY"),u=n("jQ"),c=n("L5"),h=n("LV"),p=[],d={registerPreprocessor:i.lP,registerProcessor:i.qg,registerPostInit:i.cf,registerPostUpdate:i.tb,registerUpdateLifecycle:i.xV,registerAction:i.OH,registerCoordinateSystem:i.pX,registerLayout:i.Oh,registerVisual:i.AF,registerTransform:i.iY,registerLoading:i.Ej,registerMap:i.mz,registerImpl:u.m,PRIORITY:i.FQ,ComponentModel:a.A,ComponentView:r.A,SeriesModel:s.A,ChartView:o.A,registerComponentModel:function(t){a.A.registerClass(t)},registerComponentView:function(t){r.A.registerClass(t)},registerSeriesModel:function(t){s.A.registerClass(t)},registerChartView:function(t){o.A.registerClass(t)},registerCustomSeries:function(t,e){(0,h.m)(t,e)},registerSubTypeDefaulter:function(t,e){a.A.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,c.registerPainter)(t,e)}};n.d(e,{},{Y:function t(e){(0,l.isArray)(e)?(0,l.each)(e,function(e){t(e)}):(0,l.indexOf)(p,e)>=0||(p.push(e),(0,l.isFunction)(e)&&(e={install:e}),e.install(d))}})},EV(t,e,n){var i=n("uf"),r=n("Mg"),o=n("F4"),a=["label","labelLine","layoutOption","priority","defaultAttr","marginForce","minMarginForce","marginDefault","suggestIgnore"];function s(t,e,n){n=n||3,e?t.dirty|=n:t.dirty&=~n}function l(t,e){return e=e||3,null==t.dirty||!!(t.dirty&e)}function u(t){if(t)return l(t)&&c(t,t.label,t),t}function c(t,e,n){var r=e.getComputedTransform();t.transform=(0,i.ensureCopyTransform)(t.transform,r);var a=t.localRect=(0,i.ensureCopyRect)(t.localRect,e.getBoundingRect()),l=e.style,u=l.margin,c=n&&n.marginForce,p=n&&n.minMarginForce,d=n&&n.marginDefault,f=l.__marginType;null==f&&d&&(u=d,f=o.Br.textMargin);for(var g=0;g<4;g++)h[g]=f===o.Br.minMargin&&p&&null!=p[g]?p[g]:c&&null!=c[g]?c[g]:u?u[g]:0;f===o.Br.textMargin&&(0,i.expandOrShrinkRect)(a,h,!1,!1);var y=t.rect=(0,i.ensureCopyRect)(t.rect,a);return r&&y.applyTransform(r),f===o.Br.minMargin&&(0,i.expandOrShrinkRect)(y,h,!1,!1),t.axisAligned=(0,i.isBoundingRectAxisAligned)(r),(t.label=t.label||{}).ignore=e.ignore,s(t,!1),s(t,!0,2),t}var h=[0,0,0,0];function p(t){var e=t.obb;return(!e||l(t,2))&&(t.obb=e=e||new r.A,e.fromBoundingRect(t.localRect,t.transform),s(t,!1,2)),e}function d(t,e,n,i){return!!t&&!!e&&(!t.label||!t.label.ignore)&&(!e.label||!e.label.ignore)&&!!t.rect.intersect(e.rect,n,i)&&(!!t.axisAligned&&!!e.axisAligned||p(t).intersect(p(e),n,i))}n.d(e,{},{AS:function(t,e,n){return t.transform=(0,i.ensureCopyTransform)(t.transform,n),t.localRect=(0,i.ensureCopyRect)(t.localRect,e),t.rect=(0,i.ensureCopyRect)(t.rect,e),n&&t.rect.applyTransform(n),t.axisAligned=(0,i.isBoundingRectAxisAligned)(n),t.obb=void 0,(t.label=t.label||{}).ignore=!1,t},EA:d,Gm:function(t,e){if(t){t.label.x+=e.x,t.label.y+=e.y,t.label.markRedraw();var n=t.transform;n&&(n[4]+=e.x,n[5]+=e.y);var i=t.rect;i&&(i.x+=e.x,i.y+=e.y);var r=t.obb;r&&r.fromBoundingRect(t.localRect,n)}},If:function(t){var e=[];function n(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}t.sort(function(t,e){return!!e.suggestIgnore-!!t.suggestIgnore||e.priority-t.priority});for(var i=0;i<t.length;i++){var r=u(t[i]);if(!r.label.ignore){for(var o=r.label,a=r.labelLine,s=!1,l=0;l<e.length;l++)if(d(r,e[l],null,{touchThreshold:.05})){s=!0;break}s?(n(o),a&&n(a)):e.push(r)}}},LC:s,PG:function(t,e){for(var n=0;n<a.length;n++){var i=a[n];null==t[i]&&(t[i]=e[i])}return u(t)},Wy:c,Zv:function(t,e,n,r,o){var a,s,l,u=t.length,c=i.XY[e],h=i.WH[e];if(u<2)return!1;t.sort(function(t,e){return t.rect[c]-e.rect[c]});for(var p=0,d=!1,f=0,g=0;g<u;g++){var y=t[g],v=y.rect;(a=v[c]-p)<0&&(v[c]-=a,y.label[c]-=a,d=!0),f+=Math.max(-a,0),p=v[c]+v[h]}f>0&&o&&w(-f/u,0,u);var m=t[0],_=t[u-1];function x(){s=m.rect[c]-n,l=r-_.rect[c]-_.rect[h]}function b(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){w(i*n,0,u);var r=i+t;r<0&&S(-r*n,1)}else S(-t*n,1)}}function w(e,n,i){0!==e&&(d=!0);for(var r=n;r<i;r++){var o=t[r],a=o.rect;a[c]+=e,o.label[c]+=e}}function S(e,n){for(var i=[],r=0,o=1;o<u;o++){var a=t[o-1].rect,s=Math.max(t[o].rect[c]-a[c]-a[h],0);i.push(s),r+=s}if(r){var l=Math.min(Math.abs(e)/r,n);if(e>0)for(var o=0;o<u-1;o++){var p=i[o]*l;w(p,0,o+1)}else for(var o=u-1;o>0;o--){var p=i[o-1]*l;w(-p,o,u)}}}function A(t){for(var e=t<0?-1:1,n=Math.ceil((t=Math.abs(t))/(u-1)),i=0;i<u-1;i++)if(e>0?w(n,0,i+1):w(-n,u-i-1,u),(t-=n)<=0)return}return x(),s<0&&S(-s,.8),l<0&&S(l,.8),x(),b(s,l,1),b(l,s,-1),x(),s<0&&A(-s),l<0&&A(l),d},jj:u,vS:function(t){for(var e=0;e<t.length;e++){var n=t[e],i=n.defaultAttr,r=n.labelLine;n.label.attr("ignore",i.ignore),r&&r.attr("ignore",i.labelGuideIgnore)}}})},F4(t,e,n){var i=n("s2"),r=n("iY"),o=n("LP"),a=n("xN"),s=n("W5"),l={};function u(t,e){for(var n=0;n<o.BV.length;n++){var i=o.BV[n],r=e[i],a=t.ensureState(i);a.style=a.style||{},a.style.text=r}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function c(t,e,n){var i,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(i=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=(0,r.isFunction)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var c={normal:i},h=0;h<o.BV.length;h++){var p=o.BV[h],d=e[p];c[p]=(0,r.retrieve2)(a?a.getFormattedLabel(s,p,null,l,d&&d.get("formatter")):null,i)}return c}function h(t,e,n,i,o){var a={};return function(t,e,n,i,o){n=n||l;var a,s=e.ecModel,u=s&&s.option.textStyle,c=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||l).rich;if(n){e=e||{};for(var i=(0,r.keys)(n),o=0;o<i.length;o++)e[i[o]]=1}t=t.parentModel}return e}(e);if(c){a={};var h="richInheritPlainLabel",p=(0,r.retrieve2)(e.get(h),s?s.get(h):void 0);for(var d in c)if(c.hasOwnProperty(d)){var f=e.getModel(["rich",d]);y(a[d]={},f,u,e,p,n,i,o,!1,!0)}}a&&(t.rich=a);var g=e.get("overflow");g&&(t.overflow=g);var v=e.get("lineOverflow");v&&(t.lineOverflow=v);var _=e.get("minMargin");if(null!=_)t.margin=[_=(0,r.isNumber)(_)?_/2:0,_,_,_],t.__marginType=m.minMargin;else{var x=e.get("textMargin");null!=x&&(t.margin=(0,r.normalizeCssArray)(x),t.__marginType=m.textMargin)}y(t,e,u,null,null,n,i,o,!0,!1)}(a,t,n,i,o),e&&(0,r.extend)(a,e),a}function p(t,e,n){e=e||{};var i,o={},a=t.getShallow("rotate"),s=(0,r.retrieve2)(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(o.position=i),null!=l&&(o.offset=l),null!=a&&(o.rotation=a*=Math.PI/180),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",null!=e.autoOverflowArea&&(o.autoOverflowArea=e.autoOverflowArea),null!=e.layoutRect&&(o.layoutRect=e.layoutRect),o}var d=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],f=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],g=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function y(t,e,n,i,o,a,s,u,c,h){n=!s&&n||l;var p=a&&a.inheritColor,y=e.getShallow("color"),v=e.getShallow("textBorderColor"),m=(0,r.retrieve2)(e.getShallow("opacity"),n.opacity);("inherit"===y||"auto"===y)&&(y=p||null),("inherit"===v||"auto"===v)&&(v=p||null),u||(y=y||n.color,v=v||n.textBorderColor),null!=y&&(t.fill=y),null!=v&&(t.stroke=v);var _=(0,r.retrieve2)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=_&&(t.lineWidth=_);var x=(0,r.retrieve2)(e.getShallow("textBorderType"),n.textBorderType);null!=x&&(t.lineDash=x);var b=(0,r.retrieve2)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=b&&(t.lineDashOffset=b),s||null!=m||h||(m=a&&a.defaultOpacity),null!=m&&(t.opacity=m),s||u||null!=t.fill||!a.inheritColor||(t.fill=a.inheritColor);for(var w=0;w<d.length;w++){var S=d[w],A=!1!==o&&i?(0,r.retrieve3)(e.getShallow(S),i.getShallow(S),n[S]):(0,r.retrieve2)(e.getShallow(S),n[S]);null!=A&&(t[S]=A)}for(var w=0;w<f.length;w++){var S=f[w],A=e.getShallow(S);null!=A&&(t[S]=A)}if(null==t.verticalAlign){var M=e.getShallow("baseline");null!=M&&(t.verticalAlign=M)}if(!c||!a.disableBox){for(var w=0;w<g.length;w++){var S=g[w],A=e.getShallow(S);null!=A&&(t[S]=A)}var T=e.getShallow("borderType");null!=T&&(t.borderDash=T),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&p&&(t.backgroundColor=p),("auto"===t.borderColor||"inherit"===t.borderColor)&&p&&(t.borderColor=p)}}var v=(0,a.$r)(),m={minMargin:1,textMargin:2};n.d(e,{},{Br:m,Lu:v,Oh:function(t,e,n,i){if(t){var r=v(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}},VB:h,c8:function(t,e){var n=e&&e.getModel("textStyle");return(0,r.trim)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))},lx:function(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<o.BV.length;i++){var r=o.BV[i];n[r]=t.getModel([r,e])}return n},qM:function(t,e,n,a){n=n||l;for(var s=t instanceof i.Ay,d=!1,f=0;f<o.wV.length;f++){var g=e[o.wV[f]];if(g&&g.getShallow("show")){d=!0;break}}var y=s?t:t.getTextContent();if(d){!s&&(y||(y=new i.Ay,t.setTextContent(y)),t.stateProxy&&(y.stateProxy=t.stateProxy));var m=c(n,e),_=e.normal,x=!!_.getShallow("show"),b=h(_,a&&a.normal,n,!1,!s);b.text=m.normal,s||t.setTextConfig(p(_,n,!1));for(var f=0;f<o.BV.length;f++){var w=o.BV[f],g=e[w];if(g){var S=y.ensureState(w),A=!!(0,r.retrieve2)(g.getShallow("show"),x);A!==x&&(S.ignore=!A),S.style=h(g,a&&a[w],n,!0,!s),S.style.text=m[w],s||(t.ensureState(w).textConfig=p(g,n,!0))}}y.silent=!!_.getShallow("silent"),null!=y.style.x&&(b.x=y.style.x),null!=y.style.y&&(b.y=y.style.y),y.ignore=!x,y.useStyle(b),y.dirty(),n.enableTextSetter&&(v(y).setLabelText=function(t){var i=c(n,e,t);u(y,i)})}else y&&(y.ignore=!0);t.dirty()},sD:p,xb:function(t,e,n,i,o){var l=v(t);if(l.valueAnimation&&l.prevValue!==l.value){var h=l.defaultInterpolatedText,p=(0,r.retrieve2)(l.interpolatedValue,l.prevValue),d=l.value;t.percent=0,(null==l.prevValue?s.LW:s.oi)(t,{percent:1},i,e,null,function(i){var r=(0,a.Il)(n,l.precision,p,d,i);l.interpolatedValue=1===i?null:r,u(t,c({labelDataIndex:e,labelFetcher:o,defaultText:h?h(r):r+""},l.statesModels,r))})}}})},bVi(t,e,n){var i=n("XS"),r=n("sn");n.d(e,{},{Ns:function(t,e,n,o){(0,r.ss)(t,{key:e,seriesType:n,coordSysType:o,getMetrics:i.sH})},R8:"pictorialBar",ar:function(t){return t.scale.rawExtentInfo.makeRenderInfo().startValue},f4:"bar"})},nT(t,e,n){var i=n("iY"),r=n("MB"),o=n("pE"),a=n("yM"),s=n("YG"),l=n("xN"),u=n("x2"),c=n("sT"),h=n("uP"),p=n("sn"),d=n("lN"),f=n("bVi"),g=n("UGL"),y=n("XS"),v=(0,l.EV)(),m="__ec_stack_";function _(t){return t.get("stack")||m+t.seriesIndex}function x(t){var e,n,o,a=t.bandWidthResult.w,s=a,l=0,u=[],c={};(0,i.each)(t.seriesInfo,function(t,o){o||(n=t.defaultBarGap||0);var a=t.stackId;!(0,i.hasOwn)(c,a)&&l++;var h=c[a];h||(h=c[a]={width:0,maxWidth:0},u.push(a));var p=t.barWidth;p&&!h.width&&(h.width=p,p=(0,r.rp)(s,p),s-=p);var d=t.barMaxWidth;d&&(h.maxWidth=d);var f=t.barMinWidth;f&&(h.minWidth=f);var g=t.barGap;null!=g&&(n=g);var y=t.barCategoryGap;null!=y&&(e=y)}),null==e&&(e=(0,r.JB)(35-4*u.length,15)+"%");var h=(0,r.lo)(e,a),p=(0,r.lo)(n,1),d=(s-h)/(l+(l-1)*p);d=(0,r.JB)(d,0),(0,i.each)(u,function(t){var e=c[t],n=e.maxWidth,i=e.minWidth;if(e.width){var o=e.width;n&&(o=(0,r.rp)(o,n)),i&&(o=(0,r.JB)(o,i)),e.width=o,s-=o+p*o,l--}else{var o=d;n&&n<o&&(o=(0,r.rp)(n,s)),i&&i>o&&(o=i),o!==d&&(e.width=o,s-=o+p*o,l--)}}),d=(s-h)/(l+(l-1)*p),d=(0,r.JB)(d,0);var f=0;(0,i.each)(u,function(t){var e=c[t];e.width||(e.width=d),o=e,f+=e.width*(1+p)}),o&&(f-=o.width*p);var g={},y=-f/2;return(0,i.each)(u,function(t){var e=c[t];g[t]=g[t]||{bandWidth:a,offset:y,width:e.width},y+=e.width*(1+p)}),g}function b(t){return t.pipelineContext&&t.pipelineContext.large}n.d(e,{},{Jo:function(t){v(t,function(){function e(e){var n=(0,y.Vz)(e,g.Tw);(0,f.Ns)(t,n,e,g.Tw),(0,h.Cy)(n,(0,y.N$)((0,y.Vz)(e,g.Tw)))}e("bar"),e("pictorialBar")})},KF:function(t){return{seriesType:t,plan:(0,a.A)(),reset:function(t){if((0,c.ty)(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),a=n.getOtherAxis(i),l=e.getDimensionIndex(e.mapDimension(a.dim)),u=e.getDimensionIndex(e.mapDimension(i.dim)),h=t.get("showBackground",!0),p=e.mapDimension(a.dim),d=e.getCalculationInfo("stackResultDimension"),g=(0,o.sJ)(e,p)&&!!e.getCalculationInfo("stackedOnSeries"),y=a.isHorizontal(),v=a.toGlobalCoord(a.dataToCoord((0,f.ar)(a))),m=b(t),_=t.get("barMinHeight")||0,x=d&&e.getDimensionIndex(d),w=e.getLayout("size"),S=e.getLayout("offset");return{progress:function(t,e){for(var i,o=t.count,a=m&&(0,s.Jk)(3*o),c=m&&h&&(0,s.Jk)(3*o),p=m&&(0,s.Jk)(o),d=n.master.getRect(),f=y?d.width:d.height,b=e.getStore(),A=0;null!=(i=t.next());){var M=b.get(g?x:l,i),T=b.get(u,i),C=v,k=void 0;g&&(k=M-b.get(l,i));var I=void 0,D=void 0,O=void 0,L=void 0;if(y){var P=n.dataToPoint([M,T]);g&&(C=n.dataToPoint([k,T])[0]),I=C,D=P[1]+S,O=P[0]-C,L=w,(0,r.NY)(O)<_&&(O=(O<0?-1:1)*_)}else{var P=n.dataToPoint([T,M]);g&&(C=n.dataToPoint([T,k])[1]),I=P[0]+S,D=C,O=w,L=P[1]-C,(0,r.NY)(L)<_&&(L=(L<=0?-1:1)*_)}m?(a[A]=I,a[A+1]=D,a[A+2]=y?O:L,c&&(c[A]=y?d.x:I,c[A+1]=y?D:d.y,c[A+2]=f),p[i]=i):e.setItemLayout(i,{x:I,y:D,width:O,height:L}),A+=3}m&&e.setLayout({largePoints:a,largeDataIndices:p,largeBackgroundPoints:c,valueAxisHorizontal:y})}}}}}},Md:function(t){return{seriesType:t,overallReset:function(e){var n=(0,y.Vz)(t,g.Tw);(0,p.DQ)(e,n,function(e){var i,o,a,s,l,u,c=((i=e,o=t,a=(0,y.Vz)(o,g.Tw),s=[],l=(0,d.D)(i,{fromStat:{key:a},min:1}),(0,p.pd)(i,a,function(t){s.push({barWidth:(0,r.lo)(t.get("barWidth"),l.w),barMaxWidth:(0,r.lo)(t.get("barMaxWidth"),l.w),barMinWidth:(0,r.lo)(t.get("barMinWidth")||(b(t)?.5:1),l.w),barGap:t.get("barGap"),barCategoryGap:t.get("barCategoryGap"),defaultBarGap:t.get("defaultBarGap"),stackId:_(t)})}),u={bandWidthResult:l,seriesInfo:s}).columnMap=x(u),u);(0,p.pd)(e,n,function(t){var e=c.columnMap[_(t)];t.getData().setLayout({bandWidth:e.bandWidth,offset:e.offset,size:e.width})})})}}},aR:function(t){if((0,u.wl)(t.axis.scale)){for(var e=(0,d.D)(t.axis),n=[],r=0;r<t.count||0;r++)n.push((0,i.defaults)({stackId:m+r},t));for(var o=x({bandWidthResult:e,seriesInfo:n}),a=[],r=0;r<t.count;r++){var s=o[m+r];s.offsetCenter=s.offset+s.width/2,a.push(s)}return a}}})},NC(t,e,n){var i=n("iY"),r=n("yM"),o=n("pE"),a=n("YG");n.d(e,{},{A:function(t,e){return{seriesType:t,plan:(0,r.A)(),reset:function(t){var n=t.getData(),r=t.coordinateSystem,s=t.pipelineContext,l=e||s.large;if(r){var u=(0,i.map)(r.dimensions,function(t){return n.mapDimension(t)}).slice(0,2),c=u.length,h=n.getCalculationInfo("stackResultDimension");(0,o.sJ)(n,u[0])&&(u[0]=h),(0,o.sJ)(n,u[1])&&(u[1]=h);var p=n.getStore(),d=n.getDimensionIndex(u[0]),f=n.getDimensionIndex(u[1]);return c&&{progress:function(t,e){for(var n=t.end-t.start,i=l&&(0,a.Jk)(n*c),o=[],s=[],u=t.start,h=0;u<t.end;u++){var g=void 0;if(1===c){var y=p.get(d,u);g=r.dataToPoint(y,null,s)}else o[0]=p.get(d,u),o[1]=p.get(f,u),g=r.dataToPoint(o,null,s);l?(i[h++]=g[0],i[h++]=g[1]):e.setItemLayout(u,g.slice())}l&&(e.setLayout("points",i),e.setLayout("pointsRange",{start:t.start,end:t.end}))}}}}}}})},GN(t,e,n){var i=n("iY"),r=n("xN");function o(t,e,n,o,a){var s=t+e;n.isSilent(s)||o.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,o=t.option.selectedMap,l=a.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===e){var c=t.getData(),h=(0,r.le)(c,a.fromActionPayload);n.trigger(s,{type:s,seriesId:t.id,name:(0,i.isArray)(h)?c.getName(h[0]):c.getName(h),selected:(0,i.isString)(o)?o:(0,i.extend)({},o)})}})}n.d(e,{},{I:function(t,e){(0,i.each)([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(n){e(n[0],function(e,r,o){var a,s;e=(0,i.extend)({},e),o.dispatchAction((0,i.extend)(e,{type:n[1],seriesIndex:(a=e,s=[],r.eachComponent({mainType:"series",subType:t,query:a},function(t){s.push(t.seriesIndex)}),s)}))})})},l:function(t,e,n){t.on("selectchanged",function(t){var i=n.getModel();t.isFromClick?(o("map","selectchanged",e,i,t),o("pie","selectchanged",e,i,t)):"select"===t.fromAction?(o("map","selected",e,i,t),o("pie","selected",e,i,t)):"unselect"===t.fromAction&&(o("map","unselected",e,i,t),o("pie","unselected",e,i,t))})}})},wv(t,e,n){var i=n("i4"),r=n("iY"),o=n("Sk"),a=n("Af"),s=n("MD"),l=n("xN"),u=n("db"),c=(0,l.$r)(),h=function(t){var e;function n(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=a.$Q("ec_cpt_model"),r}return(0,i.C6)(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=u.ad(this),i=n?u.vs(t):{},o=e.getTheme();r.merge(t,o.get(this.mainType)),r.merge(t,this.getDefaultOption()),n&&u.YA(t,i,n)},n.prototype.mergeOption=function(t,e){r.merge(this.option,t,!0);var n=u.ad(this);n&&u.YA(this.option,t,n)},n.prototype.optionUpdated=function(t,e){},n.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s._E)(t))return t.defaultOption;var e=c(this);if(!e.defaultOption){for(var n=[],i=t;i;){var o=i.prototype.defaultOption;o&&n.push(o),i=i.superClass}for(var a={},l=n.length-1;l>=0;l--)a=r.merge(a,n[l],!0);e.defaultOption=a}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){return(0,l.JO)(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)},e)},n.prototype.getBoxLayoutParams=function(){return u.io(this,!1)},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=void((e=n.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0),n}(o.A);(0,s.q7)(h,o.A),(0,s.tQ)(h),a.A6(h),a.vf(h,function(t){var e=[];return r.each(h.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=r.map(e,function(t){return(0,s.CC)(t).main}),"dataset"!==t&&0>=r.indexOf(e,"dataset")&&e.unshift("dataset"),e}),e.A=h},Sk(t,e,n){n.d(e,{A:()=>v});var i=n("E3"),r=n("MD"),o=(0,n("Lc").A)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=n("F4"),l=n("s2"),u=["textStyle","color"],c=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],h=new l.Ay,p=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(u):null)},t.prototype.getFont=function(){return(0,s.c8)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<c.length;n++)e[c[n]]=this.getShallow(c[n]);return h.useStyle(e),h.update(),h.getBoundingRect()},t}(),d=n("pf8"),f=n("BE"),g=n("iY"),y=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){(0,g.merge)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new this.constructor((0,g.clone)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!i.A.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;else if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,r.gq)(y),(0,r.Od)(y),(0,g.mixin)(y,d.J),(0,g.mixin)(y,f.s),(0,g.mixin)(y,a),(0,g.mixin)(y,p);var v=y},yd(t,e,n){var i=n("i4"),r=n("iY"),o=n("E3"),a=n("xN"),s=n("wv"),l=n("zW"),u=n("lZ"),c=n("db"),h=n("Hq"),p=n("MD"),d=n("ox2"),f=n("BJ"),g=a.$r();function y(t,e){return t.getName(e)||t.getId(e)}var v="__universalTransitionEnabled",m=function(t){var e;function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,i.C6)(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,h.U)({count:x,reset:b}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(g(this).sourceManager=new d.R(this)).prepareSource();var i=this.getInitialData(t,n);S(i,this),this.dataTask.context.data=i,g(this).dataBeforeProcessed=i,_(this),this._initSelectedMapFromData(i)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,c.ad)(this),i=n?(0,c.vs)(t):{},o=this.subType;s.A.hasClass(o)&&(o+="Series"),r.merge(t,e.getTheme().get(this.subType)),r.merge(t,this.getDefaultOption()),a.M5(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,c.YA)(t,i,n)},n.prototype.mergeOption=function(t,e){t=r.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,c.ad)(this);n&&(0,c.YA)(this.option,t,n);var i=g(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,e);S(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,g(this).dataBeforeProcessed=o,_(this),this._initSelectedMapFromData(o)},n.prototype.fillDataTextStyle=function(t){if(t&&!r.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.M5(t[n],"label",e)},n.prototype.getInitialData=function(t,e){},n.prototype.appendData=function(t){this.getRawData().appendData(t.data)},n.prototype.getData=function(t){var e=M(this);if(!e)return g(this).data;var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n},n.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},n.prototype.setData=function(t){var e=M(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}g(this).data=t},n.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return r.createHashMap(t)},n.prototype.getSourceManager=function(){return g(this).sourceManager},n.prototype.getSource=function(){return this.getSourceManager().getSource()},n.prototype.getRawData=function(){return g(this).dataBeforeProcessed},n.prototype.getColorBy=function(){return this.get("colorBy")||"series"},n.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},n.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},n.prototype.indicesOfNearest=function(t,e,n,i){var r=this.getData(),o=this.coordinateSystem,a=o&&o.getAxis(t);if(!o||!a)return[];var s=a.dataToCoord(n);null==i&&(i=1/0);for(var l=[],u=1/0,c=-1,h=0,p=r.getDimensionIndex(e),d=r.getStore(),f=0,g=d.count();f<g;f++){var y=d.get(p,f),v=s-a.dataToCoord(y),m=Math.abs(v);m<=i&&((m<u||m===u&&v>=0&&c<0)&&(u=m,c=v,h=0),v===c&&(l[h++]=f))}return l.length=h,l},n.prototype.formatTooltip=function(t,e,n){return(0,f.J)({series:this,dataIndex:t,multipleSeries:e})},n.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.A.node&&!(t&&t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=l.X.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},n.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},n.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var a=y(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},n.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},n.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=r.keys(t),n=[],i=0;i<e.length;i++){var o=t[e[i]];o>=0&&n.push(o)}return n},n.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[y(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this[v])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,i,o=this.option,a=o.selectedMode,s=e.length;if(a&&s){if("series"===a)o.selectedMap="all";else if("multiple"===a){r.isObject(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var c=e[u],h=y(t,c);l[h]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(c)}}else if("single"===a||!0===a){var p=e[s-1],h=y(t,p);(n={})[h]=!0,o.selectedMap=n,this._selectedDataIndicesMap=((i={})[h]=t.getRawIndex(p),i)}}},n.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)}),e.length>0&&this._innerSelect(t,e)}},n.registerClass=function(t){return s.A.registerClass(t)},n.protoInitialize=void((e=n.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"),n}(s.A);function _(t){var e,n,i,o=t.name;a.O0(t)||(t.name=(n=(e=t.getRawData()).mapDimensionsAll("seriesName"),i=[],r.each(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")||o))}function x(t){return t.model.getRawData().count()}function b(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),w}function w(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function S(t,e){r.each(r.concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,r.curry(A,e))})}function A(t,e){var n=M(t);return n&&n.setOutputEnd((e||this).count()),e}function M(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}r.mixin(m,u.J),r.mixin(m,l.X),(0,p.q7)(m,s.A),e.A=m,n.d(e,{},{U:v})},PG(t,e,n){var i=n("iY"),r=(0,i.createHashMap)();n.d(e,{},{S:function(t,e){(0,i.assert)(null==r.get(t)&&e),r.set(t,e)},a:function(t,e,n){var i=r.get(e);if(!i)return n;var o=i(t);return o?n.concat(o):n}})},lZ(t,e,n){var i=n("iY"),r=n("iL"),o=n("s7"),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,p=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,l,u){e=e||"normal";var c=this.getData(n),h=this.getDataParams(t,n);return(u&&(h.value=u.interpolatedValue),null!=s&&i.isArray(h.value)&&(h.value=h.value[s]),l||(l=c.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),i.isFunction(l))?(h.status=e,h.dimensionIndex=s,l(h)):i.isString(l)?(0,o.YK)(l,h).replace(a,function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,r.QE)(c,t,a);if(u&&i.isArray(u.interpolatedValue)){var l=c.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return(0,r.QE)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();n.d(e,{},{J:s,L:function(t){var e,n;return i.isObject(t)?t.type&&(n=t):e=t,{text:e,frag:n}}})},BE(t,e,n){var i=n("Lc"),r=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,i.A)(r),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}();n.d(e,{},{L:r,s:a})},pf8(t,e,n){var i=n("Lc"),r=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,i.A)(r),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}();n.d(e,{},{J:a,m:r})},Lc(t,e,n){var i=n("iY");n.d(e,{},{A:function(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,r,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(r&&i.indexOf(r,l)>=0||o&&0>i.indexOf(o,l))){var u=n.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}})},zW(t,e,n){var i=n("xN"),r=(0,i.$r)(),o=(0,i.$r)(),a=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){return s(this,r,(0,i.qB)(this.get("color",!0)),this.get("colorLayer",!0),t,e,n)},t.prototype.clearColorPalette=function(){var t,e;t=this,(e=r)(t).paletteIdx=0,e(t).paletteNameMap={}},t}();function s(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var c=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,a):n;if((c=c||n)&&c.length){var h=c[l];return r&&(u[r]=h),s.paletteIdx=(l+1)%c.length,h}}n.d(e,{},{X:a,x:function(t,e,n,r){var a=(0,i.qB)(t.get(["aria","decal","decals"]));return s(t,o,a,null,e,n,r)}})},LEV(t,e,n){var i=n("iY"),r={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)!isNaN(t[i])&&(e+=t[i],n++);return 0===n?0/0:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:0/0},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:0/0},nearest:function(t){return t[0]}},o=function(t){return Math.round(t.length/2)};n.d(e,{},{A:function(t){return{seriesType:t,reset:function(t,e,n){var a=t.getData(),s=t.get("sampling"),l=t.coordinateSystem,u=a.count();if(u>10&&"cartesian2d"===l.type&&s){var c=l.getBaseAxis(),h=l.getOtherAxis(c),p=c.getExtent(),d=n.getDevicePixelRatio(),f=Math.round(u/(Math.abs(p[1]-p[0])*(d||1)));if(isFinite(f)&&f>1){"lttb"===s?t.setData(a.lttbDownSample(a.mapDimension(h.dim),1/f)):"minmax"===s&&t.setData(a.minmaxDownSample(a.mapDimension(h.dim),1/f));var g=void 0;(0,i.isString)(s)?g=r[s]:(0,i.isFunction)(s)&&(g=s),g&&t.setData(a.downSample(a.mapDimension(h.dim),1/f,g,o))}}}}}})},YO(t,e,n){n.d(e,{a:()=>I});var i=n("Yo"),r=n("iY"),o=n("SJG"),a=n("qY"),s=n("jp"),l=n("BH"),u=n("kb"),c=n("Y8"),h=n("ke"),p=n("mZ");function d(t,e,n){var i=p.yh.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}function f(t){return!t.__cursors.get(a.$z)}function g(t){var e=t.__cursors.get(a.$z);return{startIdx:e?e.startIdx:0,endIdx:e?e.endIdx:0}}var y=function(t){function e(e,n,o){var s,l=t.call(this)||this;l.motionBlur=!1,l.lastFrameAlpha=.7,l.dpr=1,l.virtual=!1,l.config={},l.zlevel=0,l.zlevel2=a.r4,l.maxRepaintRectCount=5,l.__dirty=!0,l.__firstTimePaint=!0,l.__prevIdx={startIdx:0,endIdx:0},o=o||i.Y5,"string"==typeof e?s=d(e,n,o):r.isObject(e)&&(e=(s=e).id),l.id=e,l.dom=s;var u=s.style;return u&&(r.disableUserSelect(s),s.onselectstart=function(){return!1},u.padding="0",u.margin="0",u.borderWidth="0"),l.painter=n,l.dpr=o,l}return(0,o.C6)(e,t),e.prototype.afterBrush=function(){this.__prevIdx=g(this)},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=d("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,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new c.Ay(0,0,0,0);function u(t){if(!(!t.isFinite()||t.isZero()))if(0===o.length){var e=new c.Ay(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,u=0;u<o.length;++u){var h=o[u];if(h.intersect(t)){var p=new c.Ay(0,0,0,0);p.copy(h),p.union(t),o[u]=p,n=!0;break}if(s){l.copy(t),l.union(h);var d=t.width*t.height,f=h.width*h.height,g=l.width*l.height-d-f;g<i&&(i=g,r=u)}}if(s&&(o[r].union(t),n=!0),!n){var e=new c.Ay(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var p=g(this),d=p.startIdx;d<p.endIdx;++d){var f=t[d];if(f){var y=f.shouldBePainted(n,i,!0,!0),v=f.__isRendered&&(f.__dirty&h.M||!y)?f.getPrevPaintRect():null;v&&u(v);var m=y&&(f.__dirty&h.M||!f.__isRendered)?f.getPaintRect():null;m&&u(m)}}for(var _=this.__prevIdx,d=_.startIdx;d<_.endIdx;++d){var f=e[d],y=f&&f.shouldBePainted(n,i,!0,!0);if(f&&(!y||!f.__zr)&&f.__isRendered){var v=f.getPrevPaintRect();v&&u(v)}}do{r=!1;for(var d=0;d<o.length;){if(o[d].isZero()){o.splice(d,1);continue}for(var x=d+1;x<o.length;)o[d].intersect(o[x])?(r=!0,o[d].union(o[x]),o.splice(x,1)):x++;d++}}while(r)return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,o=this.ctx,a=i.width,s=i.height;e=e||this.clearColor;var c=this.motionBlur&&!t,h=this.lastFrameAlpha,p=this.dpr,d=this;c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/p,s/p));var f=this.domBack;function g(t,n,i,a){if(o.clearRect(t,n,i,a),e&&"transparent"!==e){var s=void 0;r.isGradientObject(e)?(s=(e.global||e.__width===i&&e.__height===a)&&e.__canvasGradient||(0,l.Ff)(o,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=s,e.__width=i,e.__height=a):r.isImagePatternObject(e)&&(e.scaleX=e.scaleX||p,e.scaleY=e.scaleY||p,s=(0,u.ZQ)(o,e,{dirty:function(){d.setUnpainted(),d.painter.refresh()}})),o.save(),o.fillStyle=s||e,o.fillRect(t,n,i,a),o.restore()}c&&(o.save(),o.globalAlpha=h,o.drawImage(f,t,n,i,a),o.restore())}!n||c?g(0,0,a,s):n.length&&r.each(n,function(t){g(t.x*p,t.y*p,t.width*p,t.height*p)})},e}(s.A),v=n("JV"),m=n("E3"),_=void 0;function x(t,e,n,i){var r=new y(t,e,e.dpr);return r.zlevel=n,r.zlevel2=i,r.__builtin__=!0,b(r),r}function b(t){t.__cursorStack=[],t.__cursors=r.createHashMap()}function w(t,e){for(var n=t.__cursorStack,i=0;i<n.length;i++)e(t.__cursors.get(n[i]))}function S(t,e){var n=t.layers;return n[e]||(n[e]=[,,,])}function A(t,e,n){for(var i=t.layerStack,r=0;r<i.length;r++){var o=i[r].zl,a=i[r].zl2,s=t.layers[o][a];n&&(n&M&&!s.__builtin__||n&T&&s.__builtin__||n&C&&s===t.hoverlayer)||e(s,o,a,r)}}var M=1,T=2,C=4,k=function(){function t(t,e,n,o){this.type="canvas",this._prevDisplayList=[],this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas",this._i={layerStack:[],layers:[]};var s=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();if(this._opts=n=r.extend({},n||{}),this.dpr=n.devicePixelRatio||i.Y5,this._singleCanvas=s,this.root=t,t.style&&(r.disableUserSelect(t),t.innerHTML=""),this.storage=e,this._prevDisplayList=[],s){var u=t.width,c=t.height;null!=n.width&&(u=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,t.width=u*this.dpr,t.height=c*this.dpr,this._width=u,this._height=c;var h=x(t,this,314159,a.r4);h.initContext(),this._insertLayer(h,314159,a.r4,!0),this._domRoot=t}else{this._width=(0,l.YC)(t,0,n),this._height=(0,l.YC)(t,1,n);var p,d,f,g=this._domRoot=(p=this._width,d=this._height,(f=document.createElement("div")).style.cssText=["position:relative","width:"+p+"px","height:"+d+"px","padding:0;margin:0;border-width:0"].join(";")+";",f);t.appendChild(g)}}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=t&&!r.isObject(t)?{paintAll:!!t}:t||{},n=r.retrieve2(e.refresh,!0),i=r.retrieve2(e.refreshHover,!1);if(i&&(this._hoverLayerDirty=2),!n)return i&&this._paintHoverList(this.storage.getDisplayList(!1)),this;var o=this.storage.getDisplayList(!0);this._updateLayerStatus(o,e.paintAll),this._redrawId=Math.random();var a=this._prevDisplayList;this._paintList(o,a,this._redrawId);var s=this._backgroundColor;return A(this._i,function(t,e,n,i){t.refresh&&t.refresh(0===i?s:null)},T),this._opts.useDirtyRect&&(this._prevDisplayList=o.slice()),this},t.prototype._paintHoverList=function(t){var e,n=this._i.hoverlayer,i=this._hoverLayerDirty;if((this._hoverLayerDirty=_,i!==_)&&(n||2!==i||(n=this._i.hoverlayer=this._ensureLayer(1e5)),n)){n.clear();for(var r={inHover:!0,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{}},o=0,a=t.length;o<a;o++){var s=t[o];if(s.__inHover){e||(e=n.ctx).save();var l=s.__hoverStyle,c=void 0;l&&(c=s.style,s.style=l),(0,u.V$)(e,s,r),l&&(s.style=c)}}e&&((0,u.v6)(e,r),e.restore())}},t.prototype.getHoverLayer=function(){return this._ensureLayer(1e5)},t.prototype.paintOne=function(t,e){(0,u.Xi)(t,e)},t.prototype._paintList=function(t,e,n){if(this._redrawId===n){var i=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),i)A(this._i,function(t){t.afterBrush&&t.afterBrush()},5),this._paintHoverList(t);else{var r=this;(0,v.A)(function(){r._paintList(t,e,n)})}}},t.prototype._compositeManually=function(){var t=this._ensureLayer(314159).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),A(this._i,function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)},M)},t.prototype._doPaintList=function(t,e){var n=this,i=!0;return A(this._i,function(r){var o=!1;if(w(r,function(t){(t.drawIdx<t.endIdx||t.notClearIdx>=0)&&(o=!0)}),o||r.__dirty){var a=n._opts.useDirtyRect&&!f(r)?r.createRepaintRects(t,e,n._width,n._height):null,s=n._i.layerStack[0],l=!0;if(r.__dirty){l=!1,r.__dirty=!1;var u=r.zlevel===s.zl&&r.zlevel2===s.zl2?n._backgroundColor:null;r.clear(!1,u,a)}w(r,function(e){var o=n._paintPerCursor(r,e,t,a,l);i=i&&o})}},5),m.A.wxa&&A(this._i,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),i},t.prototype._paintPerCursor=function(t,e,n,i,r){var o=t.ctx;if(i)if(i.length)for(var a=this.dpr,s=0;s<i.length;++s){var l=i[s];o.save(),o.beginPath(),o.rect(l.x*a,l.y*a,l.width*a,l.height*a),o.clip(),this._paintPerCursorInRect(t,e,n,l,r),o.restore()}else e.drawIdx=e.endIdx;else o.save(),this._paintPerCursorInRect(t,e,n,null,r),o.restore();return e.drawIdx>=e.endIdx},t.prototype._paintPerCursorInRect=function(t,e,n,i,r){for(var o={inHover:!1,allClipped:!1,prevEl:null,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{contentRetained:r}},a=t.ctx,s=f(t),l=s&&p.yh.getTime(),c=e.drawIdx,h=e.notClearIdx,d=h>=0?Math.min(h,c):c;d<e.endIdx;d++){var g=n[d];if(!(d<c)||g.notClear){if(g.__inHover&&(this._hoverLayerDirty=2),null!=i){var y=g.getPaintRect();y&&y.intersect(i)&&((0,u.V$)(a,g,o),g.setPrevPaintRect(y))}else(0,u.V$)(a,g,o);if(s&&p.yh.getTime()-l>15){d++;break}}}(0,u.v6)(a,o),e.drawIdx=Math.max(d,c)},t.prototype.getLayer=function(t,e){return this._ensureLayer(t,0,e)},t.prototype._ensureLayer=function(t,e,n){e=e||0;var i=this._singleCanvas;i&&!this._needsManuallyCompositing&&(t=314159,e=0);var o=S(this._i,t)[e];return o||(o=x("zr_"+t+"."+e,this,t,e),this._layerConfig[t]&&r.merge(o,this._layerConfig[t],!0),(n||i&&314159!==t)&&(o.virtual=!0),this._insertLayer(o,t,e,!1),o.initContext()),o},t.prototype.insertLayer=function(t,e){this._insertLayer(e,t,0,!1)},t.prototype._insertLayer=function(t,e,n,i){var r=this._i,o=r.layers,a=r.layerStack,s=this._domRoot,l=null;if(!o[e]||!o[e][n]){if(t&&(t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh&&1)){for(var u=a.length,c=0;c<u&&(a[c].zl<e||a[c].zl===e&&a[c].zl2<n);)c++;if(c>0&&(l=S(r,a[c-1].zl)[a[c-1].zl2]),a.splice(c,0,{zl:e,zl2:n}),S(r,e)[n]=t,!i&&!t.virtual)if(l){var h=l.dom;h.nextSibling?s.insertBefore(t.dom,h.nextSibling):s.appendChild(t.dom)}else s.firstChild?s.insertBefore(t.dom,s.firstChild):s.appendChild(t.dom);t.painter||(t.painter=this)}}},t.prototype.eachLayer=function(t,e){return A(this._i,function(n,i){t.call(e,n,i)})},t.prototype.eachBuiltinLayer=function(t,e){return A(this._i,function(n,i){t.call(e,n,i)},M)},t.prototype.eachOtherLayer=function(t,e){return A(this._i,function(n,i){t.call(e,n,i)},T)},t.prototype.getLayers=function(){var t={};return A(this._i,function(e,n,i){t[e.id]=e}),t},t.prototype._updateLayerStatus=function(t,e){var n,i=this;if(i._singleCanvas)for(var o=1;o<t.length;o++){var s=t[o];if(s.zlevel!==t[o-1].zlevel||s.incremental){i._needsManuallyCompositing=!0;break}}A(i._i,function(t){t.__dirty=!1,w(t,function(t){t.used=!1,t.endIdxNew=0,t.notClearIdx=-1})},5);for(var l=null,u=null,c=!1,p=0,d=t.length;p<d;p++){var s=t[p],g=s.zlevel,y=s.incremental,v=void 0;if(n!==g&&(n=g,c=!1),y?(c=!0,v=a.cw):v=c?a.XM:a.r4,(!l||g!==l.zlevel||v!==l.zlevel2)&&(l=i._ensureLayer(g,v),u=null,!l.__builtin__)){r.logError("ZLevel "+g+" has been used by unknown layer "+l.id);continue}if((!u||y!==u.key)&&!(u=function(t,e){var n,i=t.__cursors,r=+e;return i.get(r)||(t.__cursorStack.push(r),i.set(r,((n={key:r}).startIdx=n.drawIdx=n.endIdx=n.endIdxNew=0,n.used=!1,n.first=n.last=0/0,n.notClearIdx=-1,n)))}(l,y)).used)if(u.used=!0,e||u.first!==s.id)l.__dirty=!0,u.first=s.id,u.startIdx=u.drawIdx=p,u.endIdx=p+1;else{var m=p-u.startIdx;u.startIdx=p,u.drawIdx+=m,u.endIdx+=m}u.endIdxNew=p+1,s.__dirty&h.M&&!s.__inHover&&(y&&(s.notClear||!(p<u.drawIdx))||(l.__dirty=!0),y&&s.notClear&&u.notClearIdx<0&&(u.notClearIdx=p))}A(i._i,function(e){for(var n=e.__cursorStack,r=e.__cursors,o=n.length-1;o>=0;o--){var a=r.get(n[o]);if(a.used){var s=a.endIdxNew;(f(e)?s<a.drawIdx:s!==a.endIdx||!s||t[s-1].id!==a.last)&&(e.__dirty=!0),a.endIdx=a.endIdxNew,a.last=s?t[s-1].id:0/0}else e.__dirty=!0,r.removeKey(n[o]),n.splice(o,1)}e.__dirty&&(w(e,function(t){t.drawIdx=t.startIdx}),i._hoverLayerDirty===_&&(i._hoverLayerDirty=1))},5)},t.prototype.clear=function(){return A(this._i,function(t){t.clear(),b(t)},M),this},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,A(this._i,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?r.merge(n[t],e,!0):n[t]=e,A(this._i,function(t,e){r.merge(t,n[e],!0)})}},t.prototype.delLayer=function(t){for(var e=this._i.layerStack,n=this._i.layers,i=e.length-1;i>=0;i--){var r=e[i];if(r.zl===t){var o=n[t][r.zl2];if(o.__builtin__)continue;if(e.splice(i,1),n[t][r.zl2]=void 0,!o.virtual){var a=o.dom.parentNode;a&&a.removeChild(o.dom)}}}},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;null!=t&&(i.width=t),null!=e&&(i.height=e),t=(0,l.YC)(r,0,i),e=(0,l.YC)(r,1,i),n.style.display="",(this._width!==t||e!==this._height)&&(n.style.width=t+"px",n.style.height=e+"px",A(this._i,function(n){n.resize(t,e)}),this.refresh({paintAll:!0})),this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this._ensureLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){r.each(this._i.layers[t],function(t){t&&!t.__builtin__&&t.clear()})},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._i=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._i.layers[314159][0].dom;var e=new y("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;A(this._i,function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())})}else{for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{}},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var c=a[s];(0,u.V$)(n,c,o)}(0,u.v6)(n,o)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function I(t){t.registerPainter("canvas",k)}},mk(t,e,n){var i=n("i4"),r=n("MB"),o=n("s7"),a=n("kP"),s=n("x2"),l=n("xD"),u=n("iY"),c=n("F5"),h=n("Zb"),p=function(t){function e(n){var i=t.call(this)||this;i.type="interval",i.parse=e.parse,n=n||{};var r=(0,l.yM)(i,n),o=(0,h.zk)(i,r,null);return i.brk=o.brk,i._cfg={interval:0,intervalPrecision:2,intervalCount:void 0,niceExtent:void 0},i}return(0,i.C6)(e,t),e.parse=function(t){return null==t||""===t?0/0:Number(t)},e.prototype.getConfig=function(){return(0,u.clone)(this._cfg)},e.prototype.setConfig=function(t){var e=(0,h.nl)(this);this._cfg=t=(0,u.clone)(t),null==t.niceExtent&&(t.niceExtent=e.slice()),null==t.intervalPrecision&&(t.intervalPrecision=(0,s.u$)(t.interval))},e.prototype.getTicks=function(t){t=t||{};var e=this._cfg,n=e.interval,i=(0,h.nl)(this),o=e.niceExtent,a=e.intervalPrecision,s=(0,l.mn)(),u=this.brk,c=s&&u,p=[];if(!n)return p;if("only_break"===t.breakTicks&&c)return s.addBreaksToTicks(p,u.breaks,i),p;i[0]<o[0]&&p.push({value:t.expandToNicedExtent?(0,r.LI)(o[0]-n,a):i[0]});for(var d=function(t,e){return(0,r.jn)((e-t)/n)},f=e.intervalCount,g=o[0],y=0;;y++){if(null==f){if(g>o[1]||!isFinite(g)||!isFinite(o[1]))break}else{if(y>f)break;g=(0,r.rp)(g,o[1]),y===f&&(g=o[1])}if(p.push({value:g}),g=(0,r.LI)(g+n,a),u){var v=u.calcNiceTickMultiple(g,d);v>=0&&(g=(0,r.LI)(g+v*n,a))}if(p.length>0&&g===p[p.length-1].value)break;if(p.length>3e3)return[]}var m=p.length?p[p.length-1].value:o[1];return i[1]>m&&p.push({value:t.expandToNicedExtent?(0,r.LI)(m+n,a):i[1]}),c&&s.pruneTicksByBreak(t.pruneByBreak,p,u.breaks,function(t){return t.value},e.interval,i),c&&"none"!==t.breakTicks&&s.addBreaksToTicks(p,u.breaks,i),p},e.prototype.getMinorTicks=function(t){return(0,c.a)(this,t,(0,l.DL)(this),this._cfg.interval)},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=(0,r.XV)(t.value)||0:"auto"===n&&(n=this._cfg.intervalPrecision);var i=(0,r.LI)(t.value,n,!0);return(0,o.ob)(i)},e.type="interval",e}(a.A);a.A.registerClass(p),e.A=p},zu(t,e,n){var i=n("i4"),r=n("kP"),o=n("di"),a=n("iY"),s=n("MB"),l=n("Zb"),u=n("x2"),c=function(t){function e(n){var i=t.call(this)||this;i.type="ordinal",i.parse=e.parse,(0,l.Z0)(i,e.decoratedMethods);var r=n.ordinalMeta;r||(r=new o.A({})),(0,a.isArray)(r)&&(r=new o.A({categories:(0,a.map)(r,function(t){return(0,a.isObject)(t)?t.value:t})})),i._ordinalMeta=r;var s=(0,l.zk)(null,null,n.extent||[0,r.categories.length-1]);return i._mapper=s.mapper,(0,l.w2)(i,s.mapper),i}return(0,i.C6)(e,t),e.parse=function(t){return null==t?t=0/0:(0,a.isString)(t)?null==(t=this._ordinalMeta.getOrdinal(t))&&(t=0/0):t=(0,s.jn)(t),t},e.prototype.getTicks=function(){var t=[];return(0,u.gQ)(this,0,function(e){t.push(e)}),t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null==t){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=(0,s.rp)(o,e.length);r<a;++r)i[n[r]=e[r]]=r;for(var l=0;r<o;++r){for(;null!=i[l];)l++;n[r]=l,i[l]=r}},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){var t=(0,l.nl)(this._mapper);return t[1]-t[0]+1},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.type="ordinal",e.decoratedMethods={needTransform:function(){return this._mapper.needTransform()},contain:function(t){return this._mapper.contain(this._getTickNumber(t))&&t>=0&&t<this._ordinalMeta.categories.length},normalize:function(t){return this._mapper.normalize(this._getTickNumber(t))},scale:function(t){return this.getRawOrdinalNumber((0,s.jn)(this._mapper.scale(t)))},transformIn:function(t,e){return this._mapper.transformIn(this._getTickNumber(t),e)},transformOut:function(t,e){return this.getRawOrdinalNumber(this._mapper.transformOut(t,e))},getExtent:function(){return this._mapper.getExtent()},getExtentUnsafe:function(t,e){return this._mapper.getExtentUnsafe(t,e)},setExtent:function(t,e){return this._mapper.setExtent(t,e)},setExtent2:function(t,e,n){return this._mapper.setExtent2(t,e,n)}},e}(r.A);r.A.registerClass(c),e.A=c},kP(t,e,n){var i=n("MD"),r=function(){function t(){}return t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();i.tQ(r),e.A=r},gE(t,e,n){var i=n("i4"),r=n("MB"),o=n("MUM"),a=n("x2"),s=n("kP"),l=n("iY"),u=n("xD"),c=n("F5"),h=n("Zb"),p=n("xN"),d=function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},f=function(t){function e(n){var i=t.call(this)||this;i.type="time",i.parse=e.parse,i._locale=n.locale,i._useUTC=n.useUTC,i._interval=0;var r=(0,u.yM)(i,n),o=(0,h.zk)(i,r,null);return i.brk=o.brk,i}return(0,i.C6)(e,t),e.prototype.getLabel=function(t){return(0,o.GP)(t.value,o.Lm[(0,o.$9)((0,o.ym)(this._minLevelUnit))]||o.Lm.second,this._useUTC,this._locale)},e.prototype.getFormattedLabel=function(t,e,n){return(0,o.X_)(t,e,n,this._locale,this._useUTC)},e.prototype.getTicks=function(t){t=t||{};var e=this._interval,n=(0,h.nl)(this),i=(0,u.mn)(),a=this.brk,s=i&&a,c=[];if(!e)return c;var d=this._useUTC;if(s&&"only_break"===t.breakTicks)return(0,u.mn)().addBreaksToTicks(c,a.breaks,n),c;c=function(t,e,n,i,a,s){for(var u=o.F7,c=0,h=[],d=[],f=0,g=0,m=0;m<u.length;++m){var _=(0,o.ym)(u[m]);if((0,o.ce)(u[m])&&(!function(t,a,u){var h=[],p=!a.length;if(!y((0,o.ym)(t),i[0],i[1],n)){p&&(a=[{value:(m=i[0],_=Math.max(0,(0,l.indexOf)(o.vy,t)-1),(0,o._l)(new Date(m),o.vy[_],n).getTime())},{value:i[1]}]);for(var d=0;d<a.length-1;d++){var f=a[d].value,g=a[d+1].value;if(f!==g){var m,_,x,b,w,S=void 0,A=void 0,M=void 0;switch(t){case"year":S=Math.max(1,Math.round(e/o.CZ/365)),A=(0,o.hY)(n),M=(0,o.tM)(n);break;case"half-year":case"quarter":case"month":S=(x=e/(30*o.CZ))>6?6:x>3?3:x>2?2:1,A=(0,o.jJ)(n),M=(0,o.xu)(n);break;case"week":case"half-week":case"day":S=(b=e/o.CZ)>16?16:b>7.5?7:b>3.5?4:b>1.5?2:1,A=(0,o.bP)(n),M=(0,o.ti)(n);break;case"half-day":case"quarter-day":case"hour":S=(w=e/o.MA)>12?12:w>6?6:w>3.5?4:w>2?2:1,A=(0,o.iC)(n),M=(0,o.Yd)(n);break;case"minute":S=v(e,!0),A=(0,o.yB)(n),M=(0,o.KF)(n);break;case"second":S=v(e,!1),A=(0,o.Wf)(n),M=(0,o.ww)(n);break;case"millisecond":S=r.JB(r.Cm(e,!0),1),A=(0,o.Zz)(n),M=(0,o.FP)(n)}g>=i[0]&&f<=i[1]&&function(t,e,n,r,o,a){for(var l,u,h,p=((l=new Date(0))[o](1),u=l.getTime(),l[o](1+t),h=l.getTime()-u,function(t,e){return Math.max(0,Math.round((e-t)/h))}),d=e,f=new Date(d);d<n&&d<=i[1]&&(a.push({value:d}),!(c++>3e3));)if(f[o](f[r]()+t),d=f.getTime(),s){var g=s.calcNiceTickMultiple(d,p);g>0&&(f[o](f[r]()+g*t),d=f.getTime())}a.push({value:d,notAdd:d>i[1]})}(S,f,g,A,M,h),"year"===t&&u.length>1&&0===d&&u.unshift({value:u[0].value-S})}}for(var d=0;d<h.length;d++)u.push(h[d])}}(u[m],h[h.length-1]||[],d),_!==(u[m+1]?(0,o.ym)(u[m+1]):null))){if(d.length){g=f,d.sort(function(t,e){return t.value-e.value});for(var x=[],b=0;b<d.length;++b){var w=d[b].value;(0===b||d[b-1].value!==w)&&(x.push(d[b]),w>=i[0]&&w<=i[1]&&f++)}var S=a/e;if(f>1.5*S&&g>S/1.5||(h.push(x),f>S||t===u[m]))break}d=[]}}for(var A=(0,l.filter)((0,l.map)(h,function(t){return(0,l.filter)(t,function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd})}),function(t){return t.length>0}),M=A.length-1,T=[],m=0;m<A.length;++m)for(var C=A[m],k=0;k<C.length;++k){var I=(0,o.WD)(C[k].value,n);T.push({value:C[k].value,time:{level:M-m,upperTimeUnit:I,lowerTimeUnit:I}})}(0,p.R3)(T,p.qQ,null),T.sort(function(t,e){return t.value-e.value});var D=T[0],O=T[T.length-1],L=(0,o.WD)(i[0],n),P=(0,o.WD)(i[1],n);return(!D||D.value>i[0])&&T.unshift({value:i[0],time:{level:0,upperTimeUnit:L,lowerTimeUnit:L},notNice:!0}),(!O||O.value<i[1])&&T.push({value:i[1],time:{level:0,upperTimeUnit:P,lowerTimeUnit:P},notNice:!0}),T}(this._minLevelUnit,this._approxInterval,d,n,(0,h.t5)(this),a);var f=o.vy.length-1,g=0;return(0,l.each)(c,function(t){t.time&&(f=Math.min(f,(0,l.indexOf)(o.vy,t.time.upperTimeUnit)),g=Math.max(g,t.time.level))}),s&&(0,u.mn)().pruneTicksByBreak(t.pruneByBreak,c,a.breaks,function(t){return t.value},this._approxInterval,n),s&&"none"!==t.breakTicks&&(0,u.mn)().addBreaksToTicks(c,a.breaks,n,function(t){for(var e=Math.max((0,l.indexOf)(o.vy,(0,o.WD)(t.vmin,d)),(0,l.indexOf)(o.vy,(0,o.WD)(t.vmax,d))),n=0,i=0;i<o.vy.length;i++)if(!y(o.vy[i],t.vmin,t.vmax,d)){n=i;break}var r=Math.min(n,f),a=Math.max(r,e);return{level:g,lowerTimeUnit:o.vy[a],upperTimeUnit:o.vy[r]}}),c},e.prototype.getMinorTicks=function(t){return(0,c.a)(this,t,(0,u.DL)(this),this._interval)},e.prototype.setTimeInterval=function(t){this._interval=t.interval,this._approxInterval=t.approxInterval,this._minLevelUnit=t.minLevelUnit},e.parse=function(t){return(0,l.isNumber)(t)?Math.round(t):+r._U(t)},e.type="time",e}(s.A),g=[["second",o.OY],["minute",o.iW],["hour",o.MA],["quarter-day",6*o.MA],["half-day",12*o.MA],["day",1.2*o.CZ],["half-week",3.5*o.CZ],["week",7*o.CZ],["month",31*o.CZ],["quarter",95*o.CZ],["half-year",o.$H/2],["year",o.$H]];function y(t,e,n,i){return(0,o._l)(new Date(e),t,i).getTime()===(0,o._l)(new Date(n),t,i).getTime()}function v(t,e){return(t/=e?o.iW:o.OY)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}s.A.registerClass(f),e.A=f,n.d(e,{},{R:function(t,e){var n=t.getExtent();if(n[0]===n[1]&&(n[0]-=o.CZ,n[1]+=o.CZ),-1/0===n[1]&&1/0===n[0]){var i=new Date;n[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),n[0]=n[1]-o.CZ}t.setExtent(n[0],n[1]);var r=(0,a.Ev)(e.splitNumber,10),s=(0,h.t5)(t)/r,l=e.minInterval,u=e.maxInterval;null!=l&&s<l&&(s=l),null!=u&&s>u&&(s=u);var c=g.length,p=Math.min(d(g,s,0,c),c-1),f=g[p][1],y=g[Math.max(p-1,0)][0];t.setTimeInterval({approxInterval:s,interval:f,minLevelUnit:y})}})},xD(t,e,n){var i=null;function r(){return i}n.d(e,{},{Bd:function(t){var e=t.brk;return!!e&&e.hasBreaks()},DL:function(t){var e=t.brk;return e?e.breaks:[]},Rj:function(t){i||(i=t)},mn:r,yM:function(t,e){var n=r(),i=e.breakOption,o=e.breakParsed;return!o&&n&&(o=n.parseAxisBreakOption(i,t)),o}})},x2(t,e,n){var i=n("MB"),r=n("xN"),o=n("Zb");function a(t){return"interval"===t.type}function s(t){return"log"===t.type}n.d(e,{},{Ev:function(t,e){return t=t||e,(0,i.jn)((0,i.JB)(t,1))},F:s,Mj:function(t,e,n){var r=n&&n.lookup;if(r){for(var o=0;o<r.from.length;o++)if(t===r.from[o])return r.to[o]}return(0,i.z4)(e,t)},Ob:function(t,e,n){var o=t.slice();if(o[0]===o[1]){var a=n&&n.ctnShp;if(0!==o[0]){var s=(0,i.NY)(o[0]);e[1]||(o[1]+=s/2),o[0]-=s/2}else a&&(o[0]=-1),o[1]=1}return(0,r.fA)(o[0])&&(0,r.fA)(o[1])||(o[0]=0,o[1]=1),o[1]<o[0]&&o.reverse(),o},Qw:a,_v:function(t,e){return[t[0]!==e[0],t[1]!==e[1]]},gQ:function(t,e,n){var i=(0,o.nl)(t),r=i[0],a=t.count(),s=Math.max((e||0)+1,1);0!==r&&s>1&&a/s>2&&(r=Math.round(Math.ceil(r/s)*s)),r!==i[0]&&u(i[0],!0,!0);for(var l=r;l<=i[1];l+=s)u(l,!1,l===i[0]||l===i[1]);function u(t,e,i){n({value:t,offInterval:e},i)}l-s!==i[1]&&u(i[1],!0,!0)},kH:function(t){var e=(0,i.NX)(t),n=(0,i.z4)(10,e),r=(0,i.jn)(t/n);return r?2===r?r=3:3===r?r=5:r*=2:r=1,(0,i.LI)(r*n,-e)},oY:function(t){return"time"===t.type},qe:function(t,e){return(0,i.tV)(t)/(0,i.tV)(e)},rf:function(t){return a(t)||s(t)},u$:function(t){return(0,i.XV)(t)+2},wl:function(t){return"ordinal"===t.type}})},F5(t,e,n){var i=n("MB"),r=n("xD"),o=n("x2");n.d(e,{},{a:function(t,e,n,a){for(var s=t.getTicks({expandToNicedExtent:!0}),l=[],u=t.getExtent(),c=1;c<s.length;c++){var h=s[c],p=s[c-1];if(!p.break&&!h.break){for(var d=0,f=[],g=(h.value-p.value)/e,y=(0,o.u$)(g);d<e-1;){var v=(0,i.LI)(p.value+(d+1)*g,y);v>u[0]&&v<u[1]&&f.push(v),d++}var m=(0,r.mn)();m&&m.pruneTicksByBreak("auto",f,n,function(t){return t},a,u),l.push(f)}}return l}})},Zb(t,e,n){var i=n("iY"),r=n("xN"),o=n("xD"),a=(0,i.keys)({needTransform:1,normalize:1,scale:1,transformIn:1,transformOut:1,contain:1,getExtent:1,getExtentUnsafe:1,setExtent:1,setExtent2:1,getFilter:1,sanitize:1,getDefaultStartValue:1,freeze:1});function s(t,e){return t.getExtentUnsafe(1,e)||t.getExtentUnsafe(0,e)}function l(t,e){var n=t||{},o=[];return n._extents=o,o[0]=e?e.slice():(0,r.X1)(),(0,i.extend)(n,u),n}var u={needTransform:function(){return!1},normalize:function(t){var e=this._extents[1]||this._extents[0];return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},scale:function(t){var e=this._extents[1]||this._extents[0];return t*(e[1]-e[0])+e[0]},transformIn:function(t){return t},transformOut:function(t){return t},contain:function(t){var e=s(this,null);return t>=e[0]&&t<=e[1]},getExtent:function(){return this._extents[0].slice()},getExtentUnsafe:function(t){return this._extents[t]},setExtent:function(t,e){c(this._extents,0,t,e)},setExtent2:function(t,e,n){var i=this._extents;i[t]||(i[t]=i[0].slice()),c(i,t,e,n)},freeze:function(){}};function c(t,e,n,i){(0,r.Xe)(n,i)&&(t[e][0]=n,t[e][1]=i)}n.d(e,{},{GU:1,Gj:s,N2:function(t){var e=s(t,3);return e[1]-e[0]},QO:2,Z0:function(t,e){(0,i.each)(a,function(n){t[n]=e[n]})},fU:0,nl:function(t){return t.getExtentUnsafe(0,2)},t5:function(t){var e=t.getExtentUnsafe(0,3);return e[1]-e[0]},vT:l,w2:function(t,e){t.freeze=i.noop},zk:function(t,e,n){t=t||{};var r,s=(0,o.mn)();if(s){var u=s.createBreakScaleMapper(e,n);u.hasBreaks()&&((0,i.each)(a,function(e){u[e]&&(t[e]=(0,i.bind)(u[e],u))}),r=u)}return null==r&&l(t,n),{brk:r,mapper:t}}})},MD(t,e,n){var i=n("i4"),r=n("iY"),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}var l=Math.round(10*Math.random());function u(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function c(t,e,n){return this.superClass.prototype[e].apply(t,n)}n.d(e,{},{CC:s,Od:function(t){var e=["__\0is_clz",l++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!!(t&&t[e])}},_E:function(t){return!!(t&&t[a])},gq:function(t,e){t.$constructor=t,t.extend=function(t){var e,n,o=this;return(e=o,r.isFunction(e)&&/^class\s/.test(Function.prototype.toString.call(e)))?n=function(t){function e(){return t.apply(this,arguments)||this}return(0,i.C6)(e,t),e}(o):(n=function(){(t.$constructor||o).apply(this,arguments)},r.inherits(n,this)),r.extend(n.prototype,t),n[a]=!0,n.extend=this.extend,n.superCall=u,n.superApply=c,n.superClass=o,n}},q7:function(t,e){t.extend=e.extend},tQ:function(t){var e={};t.registerClass=function(t){var n=t.type||t.prototype.type;if(n){r.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=n;var i,a,l=s(n);l.sub?l.sub!==o&&(((a=e[(i=l).main])&&a[o]||((a=e[i.main]={})[o]=!0),a)[l.sub]=t):e[l.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[o]&&(r=n?r[n]:null),i&&!r)throw Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=s(t),i=[],a=e[n.main];return a&&a[o]?r.each(a,function(t,e){e!==o&&i.push(t)}):i.push(a),i},t.hasClass=function(t){return!!e[s(t).main]},t.getAllClassMainTypes=function(){var t=[];return r.each(e,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){var n=e[s(t).main];return n&&n[o]}}})},Af(t,e,n){var i=n("iY"),r=n("MD"),o=Math.round(10*Math.random());n.d(e,{},{$Q:function(t){return[t||"",o++].join("_")},A6:function(t){var e={};t.registerSubTypeDefaulter=function(t,n){e[(0,r.CC)(t).main]=n},t.determineSubType=function(n,i){var o=i.type;if(!o){var a=(0,r.CC)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](i))}return o}},G_:function(t,e){return i.merge(i.merge({},t,!0),e,!0)},vf:function(t,e){t.topologicalTravel=function(t,r,o,a){if(t.length){var s,l,u,c=(s=r,l={},u=[],i.each(s,function(t){var r,o,a,c=n(l,t),h=(r=c.originalDeps=e(t),o=s,a=[],i.each(r,function(t){i.indexOf(o,t)>=0&&a.push(t)}),a);c.entryCount=h.length,0===c.entryCount&&u.push(t),i.each(h,function(e){0>i.indexOf(c.predecessor,e)&&c.predecessor.push(e);var r=n(l,e);0>i.indexOf(r.successor,e)&&r.successor.push(t)})}),{graph:l,noEntryList:u}),h=c.graph,p=c.noEntryList,d={};for(i.each(t,function(t){d[t]=!0});p.length;){var f=p.pop(),g=h[f],y=!!d[f];y&&(o.call(a,f,g.originalDeps.slice()),delete d[f]),i.each(g.successor,y?m:v)}i.each(d,function(){throw Error("")})}function v(t){h[t].entryCount--,0===h[t].entryCount&&p.push(t)}function m(t){d[t]=!0,v(t)}};function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}}})},oh(t,e,n){var i=(0,n("xN").$r)();n.d(e,{},{Q3:function(t){i(t).prepare={}},US:function(t){return i(t).fullUpdate},jN:function(t){return i(t).prepare},n$:function(t){i(t).fullUpdate={}}})},Upd(t,e,n){n.d(e,{w:()=>g});var i=Math.round(9*Math.random()),r="function"==typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+i++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return r?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),a=n("B5"),s=n("iY"),l=n("MB"),u=n("up"),c=n("kb"),h=n("mZ"),p=new o,d=new a.Ay(100),f=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function g(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&p.delete(t);var o=p.get(t);if(o)return o;var a=(0,s.defaults)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var g={repeat:"repeat"};return function(t){for(var e,o,p,g=[n],v=!0,m=0;m<f.length;++m){var _=a[f[m]];if(null!=_&&!(0,s.isArray)(_)&&!(0,s.isString)(_)&&!(0,s.isNumber)(_)&&"boolean"!=typeof _){v=!1;break}g.push(_)}if(v){o=g.join(",")+(r?"-svg":"");var x=d.get(o);x&&(r?t.svgElement=x:t.image=x)}var b=function t(e){if(!e||0===e.length)return[[0,0]];if((0,s.isNumber)(e)){var n=Math.ceil(e);return[[n,n]]}for(var i=!0,r=0;r<e.length;++r)if(!(0,s.isNumber)(e[r])){i=!1;break}if(i)return t([e]);for(var o=[],r=0;r<e.length;++r)if((0,s.isNumber)(e[r])){var n=Math.ceil(e[r]);o.push([n,n])}else{var n=(0,s.map)(e[r],function(t){return Math.ceil(t)});n.length%2==1?o.push(n.concat(n)):o.push(n)}return o}(a.dashArrayX),w=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if((0,s.isNumber)(t)){var e=Math.ceil(t);return[e,e]}var n=(0,s.map)(t,function(t){return Math.ceil(t)});return t.length%2?n.concat(n):n}(a.dashArrayY),S=function t(e){if(!e||0===e.length)return[["rect"]];if((0,s.isString)(e))return[[e]];for(var n=!0,i=0;i<e.length;++i)if(!(0,s.isString)(e[i])){n=!1;break}if(n)return t([e]);for(var r=[],i=0;i<e.length;++i)(0,s.isString)(e[i])?r.push([e[i]]):r.push(e[i]);return r}(a.symbol),A=(e=b,(0,s.map)(e,function(t){return y(t)})),M=y(w),T=!r&&h.yh.createCanvas(),C=r&&{tag:"g",attrs:{},key:"dcl",children:[]},k=function(){for(var t=1,e=0,n=A.length;e<n;++e)t=(0,l.lQ)(t,A[e]);for(var i=1,e=0,n=S.length;e<n;++e)i=(0,l.lQ)(i,S[e].length);t*=i;var r=M*A.length*S.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();T&&(T.width=k.width*n,T.height=k.height*n,p=T.getContext("2d")),function(){p&&(p.clearRect(0,0,T.width,T.height),a.backgroundColor&&(p.fillStyle=a.backgroundColor,p.fillRect(0,0,T.width,T.height)));for(var t=0,e=0;e<w.length;++e)t+=w[e];if(!(t<=0))for(var o=-M,s=0,l=0,h=0;o<k.height;){if(s%2==0){for(var d=l/2%S.length,f=0,g=0,y=0;f<2*k.width;){for(var v=0,e=0;e<b[h].length;++e)v+=b[h][e];if(v<=0)break;if(g%2==0){var m=(1-a.symbolSize)*.5,_=f+b[h][g]*m,x=o+w[s]*m,A=b[h][g]*a.symbolSize,I=w[s]*a.symbolSize,D=y/2%S[d].length;!function(t,e,o,s,l){var h=r?1:n,d=(0,u.v5)(l,t*h,e*h,o*h,s*h,a.color,a.symbolKeepAspect);if(r){var f=i.painter.renderOneToVNode(d);f&&C.children.push(f)}else(0,c.Xi)(p,d)}(_,x,A,I,S[d][D])}f+=b[h][g],++y,++g===b[h].length&&(g=0)}++h===b.length&&(h=0)}o+=w[s],++l,++s===w.length&&(s=0)}}(),v&&d.put(o,T||C),t.image=T,t.svgElement=C,t.svgWidth=k.width,t.svgHeight=k.height}(g),g.rotation=a.rotation,g.scaleX=g.scaleY=r?1:1/n,p.set(t,g),t.dirty=!1,g}function y(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}},u1(t,e,n){n.d(e,{},{R:function(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}})},s7(t,e,n){var i=n("iY"),r=n("OR"),o=n("MB"),a=n("MUM");function s(t){if(!(0,o.kf)(t))return i.isString(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}var l=i.normalizeCssArray,u=["a","b","c","d","e","f","g"],c=function(t,e){return"{"+t+(null==e?"":e)+"}"};n.d(e,{},{Cb:function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},JW:function(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)},QX:l,YK:function(t,e,n){i.isArray(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=u[s];t=t.replace(c(l),c(l,0))}for(var h=0;h<o;h++)for(var p=0;p<a.length;p++){var d=e[h][a[p]];t=t.replace(c(u[p],h),n?(0,r.Me)(d):d)}return t},fU:function(t,e,n){("week"===t||"month"===t||"quarter"===t||"half-year"===t||"year"===t)&&(t="MM-dd\nyyyy");var i=(0,o._U)(e),r=n?"getUTC":"get",s=i[r+"FullYear"](),l=i[r+"Month"]()+1,u=i[r+"Date"](),c=i[r+"Hours"](),h=i[r+"Minutes"](),p=i[r+"Seconds"](),d=i[r+"Milliseconds"]();return t.replace("MM",(0,a.eV)(l,2)).replace("M",l).replace("yyyy",s).replace("yy",(0,a.eV)(s%100+"",2)).replace("dd",(0,a.eV)(u,2)).replace("d",u).replace("hh",(0,a.eV)(c,2)).replace("h",c).replace("mm",(0,a.eV)(h,2)).replace("m",h).replace("ss",(0,a.eV)(p,2)).replace("s",p).replace("SSS",(0,a.eV)(d,3))},he:function(t,e){return e=e||"transparent",i.isString(t)?t:i.isObject(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e},io:function(t,e,n){return i.each(e,function(e,i){t=t.replace("{"+i+"}",n?(0,r.Me)(e):e)}),t},ob:s,qg:function(t,e){var n=i.isString(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,r.Me)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,r.Me)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""},x5:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},yC:function(t,e,n){function r(t){return t&&i.trim(t)?t:"-"}var l="time"===e,u=t instanceof Date;if(l||u){var c=l?(0,o._U)(t):t;if(!isNaN(+c))return(0,a.GP)(c,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(u)return"-"}if("ordinal"===e)return i.isStringSafe(t)?r(t):i.isNumber(t)&&(0,o.YC)(t)?t+"":"-";var h=(0,o.Sm)(t);return(0,o.YC)(h)?s(h):i.isStringSafe(t)?r(t):"boolean"==typeof t?t+"":"-"}})},uf(t,e,n){n.r(e);var i=n("av"),r=n("AT"),o=n("xy"),a=n("Pk"),s=n("P7"),l=n("s5"),u=n("jZ"),c=n("s2"),h=n("vH"),p=n("Tj"),d=n("Qz"),f=n("wq"),g=n("hC"),y=n("Jx"),v=n("Vb"),m=n("xz"),_=n("QO"),x=n("Wf"),b=n("zY"),w=n("Up"),S=n("M6"),A=n("Y8"),M=n("Mg"),T=n("zM"),C=n("zv"),k=n("JU"),I=n("iY"),D=n("FL"),O=n("W5"),L=n("MB"),P={},R=i.Qh;function B(t,e){P[t]=e}function z(t,e,n,r){var o=i.UJ(t,e);return n&&("center"===r&&(n=N(n,o.getBoundingRect())),V(o,n)),o}function N(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var E=i.uc;function V(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}var F=k.M7;function Y(t,e,n){return e&&!(0,I.isArrayLike)(e)&&(e=s.Ay.getLocalTransform(e)),n&&(e=r.invert([],e)),o.applyTransform([],t,e)}function H(t,e,n,i,r,o,a,s){var l,u=n-t,c=i-e,h=a-r,p=s-o,d=h*c-u*p;if((l=d)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,y=(f*c-u*g)/d;if(y<0||y>1)return!1;var v=(f*p-h*g)/d;return!(v<0)&&!(v>1)}var W=[0,0,0,0];function G(t,e,n,i,r,o,a){var s=e[o]+e[r],l=t[i];t[i]+=s,a=(0,L.JB)(0,(0,L.rp)(a,l)),t[i]<a?(t[i]=a,t[n]+=e[r]>=0?-e[r]:e[o]>=0?l+e[o]:(0,L.NY)(s)>1e-8?(l-a)*e[r]/s:0):t[n]-=e[r]}function Z(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}var U=new s.Ay;U.transform=r.create(),B("circle",h.A),B("ellipse",p.A),B("sector",d.A),B("ring",f.A),B("polygon",g.A),B("polyline",y.A),B("rect",v.A),B("line",m.A),B("bezierCurve",_.A),B("arc",x.A),n.d(e,{Arc:()=>x.A,BezierCurve:()=>_.A,BoundingRect:()=>A.Ay,Circle:()=>h.A,CompoundPath:()=>b.A,Ellipse:()=>p.A,Group:()=>u.A,Image:()=>l.Ay,IncrementalDisplayable:()=>C.A,Line:()=>m.A,LinearGradient:()=>w.A,OrientedBoundingRect:()=>M.A,Path:()=>a.Ay,Point:()=>T.A,Polygon:()=>g.A,Polyline:()=>y.A,RadialGradient:()=>S.A,Rect:()=>v.A,Ring:()=>f.A,Sector:()=>d.A,Text:()=>c.Ay,initProps:()=>O.LW,isElementRemoved:()=>O.LR,removeElement:()=>O.Nz,removeElementWithFadeOut:()=>O.t5,updateProps:()=>O.oi},{HOVER_LAYER_FOR_INCREMENTAL:2,HOVER_LAYER_FROM_THRESHOLD:1,HOVER_LAYER_NO:0,WH:["width","height"],XY:["x","y"],applyTransform:Y,calcZ2Range:function(t){var e=-1/0,n=1/0;function i(t){if(t&&!t.isGroup){var e=t.currentStates;if(e.length)for(var n=0;n<e.length;n++)r(t.states[e[n]]);r(t)}}function r(t){if(t){var i=t.z2;i>e&&(e=i),i<n&&(n=i)}}return Z(t,function(t){i(t),i(t.getTextContent()),i(t.getTextGuideLine())}),n>e&&(n=e=0),{min:n,max:e}},clipPointsByRect:function(t,e){return(0,I.map)(t,function(t){var n=t[0];n=(0,L.JB)(n,e.x),n=(0,L.rp)(n,e.x+e.width);var i=t[1];return i=(0,L.JB)(i,e.y),[n,i=(0,L.rp)(i,e.y+e.height)]})},clipRectByRect:function(t,e){var n=(0,L.JB)(t.x,e.x),i=(0,L.rp)(t.x+t.width,e.x+e.width),r=(0,L.JB)(t.y,e.y),o=(0,L.rp)(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},createIcon:function(t,e,n){var i=(0,I.extend)({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),(0,I.defaults)(r,n),new l.Ay(i)):z(t.replace("path://",""),i,n,"center")},decomposeTransform:function(t,e){return e?r.copy(U.transform,e):r.identity(U.transform),U.decomposeTransform(),(0,s.IT)(t,U),t},ensureCopyRect:function(t,e){return t?A.Ay.copy(t,e):e.clone()},ensureCopyTransform:function(t,e){return e?r.copy(t||r.create(),e):void 0},expandOrShrinkRect:function(t,e,n,i,r){return null==e||((0,I.isNumber)(e)?W[0]=W[1]=W[2]=W[3]=e:(W[0]=e[0],W[1]=e[1],W[2]=e[2],W[3]=e[3]),i&&(W[0]=(0,L.JB)(0,W[0]),W[1]=(0,L.JB)(0,W[1]),W[2]=(0,L.JB)(0,W[2]),W[3]=(0,L.JB)(0,W[3])),n&&(W[0]=-W[0],W[1]=-W[1],W[2]=-W[2],W[3]=-W[3]),G(t,W,"x","width",3,1,r&&r[0]||0),G(t,W,"y","height",0,2,r&&r[1]||0)),t},extendPath:function(t,e){return R(t,e)},extendShape:function(t){return a.Ay.extend(t)},getCurrentCanvasPainter:function(t){var e=t.getZr().painter;return"canvas"===e.getType()?e:null},getShapeClass:function(t){if(P.hasOwnProperty(t))return P[t]},getTransform:function(t,e){for(var n=r.identity([]);t&&t!==e;)r.mul(n,t.getLocalTransform(),n),t=t.parent;return n},groupTransition:function(t,e,n){if(t&&e){var i,r=(i={},t.traverse(function(t){!t.isGroup&&t.anid&&(i[t.anid]=t)}),i);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),(0,O.oi)(t,i,n,(0,D.z)(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return null!=t.shape&&(e.shape=(0,I.clone)(t.shape)),e}},isBoundingRectAxisAligned:function(t){return!t||1e-5>(0,L.NY)(t[1])&&1e-5>(0,L.NY)(t[2])||1e-5>(0,L.NY)(t[0])&&1e-5>(0,L.NY)(t[3])},lineLineIntersect:H,linePolygonIntersect:function(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(H(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}},makeImage:function(t,e,n){var i=new l.Ay({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(N(e,r))}}});return i},makePath:z,mergePath:E,payloadDisableAnimation:function(t){return t.animation={duration:0},t},registerShape:B,resizePath:V,retrieveZInfo:function(t){return{z:t.get("z")||0,zlevel:t.get("zlevel")||0}},setTooltipConfig:function(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=(0,I.isString)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&(0,I.each)((0,I.keys)(l),function(t){(0,I.hasOwn)(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=(0,D.z)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:(0,I.defaults)({content:i,encodeHTMLContent:!0,formatterParams:s},r)}},subPixelOptimize:F,subPixelOptimizeLine:function(t,e){return k.eB(t,t,{lineWidth:e}),t},subPixelOptimizeRect:function(t,e){return k.Op(t,t,e),t},transformDirection:function(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:(0,L.NY)(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:(0,L.NY)(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=Y(o,e,n),(0,L.NY)(o[0])>(0,L.NY)(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},traverseElements:function(t,e){if(t)if((0,I.isArray)(t))for(var n=0;n<t.length;n++)Z(t[n],e);else Z(t,e)},traverseUpdateZ:function(t,e,n){!function t(e,n,i,r){if(e.ignoreModelZ)return r;var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=(0,L.JB)(t(s[l],n,i,r),r);else e.z=n,e.zlevel=i,r=(0,L.JB)(e.z2||0,r);if(o&&(o.z=n,o.zlevel=i,isFinite(r)&&(o.z2=r+2)),a){var u=e.textGuideLineConfig;a.z=n,a.zlevel=i,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}(t,e,n,-1/0)}})},FL(t,e,n){var i=(0,n("xN").$r)();n.d(e,{},{a:function(t,e,n,r){if(r){var o=i(r);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===r.type&&r.traverse(function(r){var o=i(r);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"})}},z:i})},db(t,e,n){var i=n("iY"),r=n("Y8"),o=n("MB"),a=n("s7"),s=n("Ww"),l=i.each,u=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function h(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var c,h,p=l.getBoundingRect(),d=e.childAt(u+1),f=d&&d.getBoundingRect();if("horizontal"===t){var g=p.width+(f?-f.x+p.x:0);(c=o+g)>i||l.newline?(o=0,c=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);(h=a+y)>r||l.newline?(o+=s+n,a=0,h=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+n:a=h+n)})}function p(t,e,n){n=a.QX(n||0);var i=e.width,s=e.height,l=(0,o.lo)(t.left,i),u=(0,o.lo)(t.top,s),c=(0,o.lo)(t.right,i),h=(0,o.lo)(t.bottom,s),p=(0,o.lo)(t.width,i),d=(0,o.lo)(t.height,s),f=n[2]+n[0],g=n[1]+n[3],y=t.aspect;switch(isNaN(p)&&(p=i-c-g-l),isNaN(d)&&(d=s-h-f-u),null!=y&&(isNaN(p)&&isNaN(d)&&(y>i/s?p=.8*i:d=.8*s),isNaN(p)&&(p=y*d),isNaN(d)&&(d=p/y)),isNaN(l)&&(l=i-c-p-g),isNaN(u)&&(u=s-h-d-f),t.left||t.right){case"center":l=i/2-p/2-n[3];break;case"right":l=i-p-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-d/2-n[0];break;case"bottom":u=s-d-f}l=l||0,u=u||0,isNaN(p)&&(p=i-g-l-(c||0)),isNaN(d)&&(d=s-f-u-(h||0));var v=new r.Ay((e.x||0)+l+n[3],(e.y||0)+u+n[0],p,d);return v.margin=n,v}i.curry(h,"vertical"),i.curry(h,"horizontal");var d=1,f=2;function g(t,e,n){var i,r,o,a,l=t.boxCoordinateSystem;if(l){var u=(0,s.fE)(t),c=u.coord,h=u.from;if(l.dataToLayout){o=d,a=h;var p=l.dataToLayout(c);i=p.contentRect||p.rect}else n&&n.enableLayoutOnlyByCenter&&l.dataToPoint&&(o=f,a=h,r=l.dataToPoint(c))}return null==o&&(o=d),o===d&&(i||(i={x:0,y:0,width:e.getWidth(),height:e.getHeight()}),r=[i.x+i.width/2,i.y+i.height/2]),{type:o,refContainer:i,refPoint:r,boxCoordFrom:a}}function y(t,e){return e&&t&&l(u,function(n){i.hasOwn(e,n)&&(t[n]=e[n])}),t}n.d(e,{},{FJ:function(t,e,n){var i=t.getShallow("preserveAspect",!0);if(!i)return e;var r=e.width/e.height;if(1e-9>Math.abs(Math.atan(n)-Math.atan(r)))return e;var o=t.getShallow("preserveAspectAlign",!0),a=t.getShallow("preserveAspectVerticalAlign",!0),s={width:e.width,height:e.height},l="cover"===i;return r>n&&!l||r<n&&l?(s.width=e.height*n,"left"===o?s.left=0:"right"===o?s.right=0:s.left="center"):(s.height=e.width/n,"top"===a?s.top=0:"bottom"===a?s.bottom=0:s.top="middle"),p(s,e)},Ir:y,Lj:g,Qf:function(t,e){return null!=t[c[e][0]]||null!=t[c[e][1]]&&null!=t[c[e][2]]},Tj:u,YA:function(t,e,n){var r=n&&n.ignoreSize;i.isArray(r)||(r=[r,r]);var o=s(c[0],0),a=s(c[1],1);function s(n,o){var a={},s=0,c={},h=0;if(l(n,function(e){c[e]=t[e]}),l(n,function(t){i.hasOwn(e,t)&&(a[t]=c[t]=e[t]),u(a,t)&&s++,u(c,t)&&h++}),r[o])return u(e,n[1])?c[n[2]]=null:u(e,n[2])&&(c[n[1]]=null),c;if(2===h||!s)return c;if(s>=2)return a;for(var p=0;p<n.length;p++){var d=n[p];if(!i.hasOwn(a,d)&&i.hasOwn(t,d)){a[d]=t[d];break}}return a}function u(t,e){return null!=t[e]&&"auto"!==t[e]}function h(t,e,n){l(t,function(t){e[t]=n[t]})}h(c[0],t,o),h(c[1],t,a)},aP:h,ad:function(t){var e=t.layoutMode||t.constructor.layoutMode;return i.isObject(e)?e:e?{type:e}:null},dV:p,io:function(t,e){return{left:t.getShallow("left",e),top:t.getShallow("top",e),right:t.getShallow("right",e),bottom:t.getShallow("bottom",e),width:t.getShallow("width",e),height:t.getShallow("height",e)}},m$:function(t,e,n,o,a,s){var l,u=!a||!a.hv||a.hv[0],c=!a||!a.hv||a.hv[1],h=a&&a.boundingMode||"all";if((s=s||t).x=t.x,s.y=t.y,!u&&!c)return!1;if("raw"===h)l="group"===t.type?new r.Ay(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var d=t.getLocalTransform();(l=l.clone()).applyTransform(d)}var f=p(i.defaults({width:l.width,height:l.height},e),n,o),g=u?f.x-l.x:0,y=c?f.y-l.y:0;return"raw"===h?(s.x=g,s.y=y):(s.x+=g,s.y+=y),s===t&&t.markRedraw(),!0},vs:function(t){return y({},t)},zH:function(t,e){var n=function(t,e){var n,r,a=g(t,e,{enableLayoutOnlyByCenter:!0}),l=t.getBoxLayoutParams();if(a.type===f)r=a.refPoint,n=p(l,{width:e.getWidth(),height:e.getHeight()});else{var u=t.get("center"),c=i.isArray(u)?u:[u,u];n=p(l,a.refContainer),r=a.boxCoordFrom===s.Xf?a.refPoint:[(0,o.lo)(c[0],n.width)+n.x,(0,o.lo)(c[1],n.height)+n.y]}return{viewRect:n,center:r}}(t,e),r=n.viewRect,a=n.center,l=t.get("radius");i.isArray(l)||(l=[0,l]);var u=Math.min((0,o.lo)(r.width,e.getWidth()),(0,o.lo)(r.height,e.getHeight())),c=(0,o.lo)(l[0],u/2),h=(0,o.lo)(l[1],u/2);return{cx:a[0],cy:a[1],r0:c,r:h,viewRect:r}}})},nXY(t,e,n){var i={},r="u">typeof console&&console.warn&&console.log;function o(t,e,n){if(r){if(n){if(i[e])return;i[e]=!0}console[t]("[ECharts] "+e)}}n.d(e,{},{$8:function(t){throw Error(t)},R8:function(t,e){o("warn",t,e)},aT:function(t){},z3:function(t,e){o("error",t,e)}})},xN(t,e,n){var i=n("iY"),r=n("E3"),o=n("MB"),a="series\0",s="\0_ec_\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t,e,n){var i=h(e[t],null),r=h(n[t],null);return null!=i&&null!=r&&i===r}function c(t){return h(t,"")}function h(t,e){return null==t?e:(0,i.isString)(t)?t:(0,i.isNumber)(t)||(0,i.isStringSafe)(t)?t+"":e}function p(t){return t&&null!=t.id&&0===c(t.id).indexOf(s)}var d=(0,o.IH)();function f(t,e){if((0,i.isString)(t)){var n,r={};r[t+"Index"]=0,n=r}else n=t;var o=(0,i.createHashMap)(),a={},s=!1;return(0,i.each)(n,function(t,n){if("dataIndex"===n||"dataIndexInside"===n){a[n]=t;return}var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=r[1],u=(r[2]||"").toLowerCase();!l||!u||e&&e.includeMainTypes&&0>(0,i.indexOf)(e.includeMainTypes,l)||(s=s||!!l,(o.get(l)||o.set(l,{}))[u]=t)}),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var g={useDefault:!0,enableAll:!1,enableNone:!1};function y(t,e,n,i){i=i||g;var r=n.index,o=n.id,a=n.name,s={models:null,specified:null!=r||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}if("none"===r||!1===r)if(i.enableNone)return s.models=[],s;else r=-1;return"all"===r&&(r=i.enableAll?o=a=null:-1),s.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),s}var v=function(){function t(){}return t.prototype.reset=function(t,e,n,i){return this._list=t,this._step=i=i||1,this._idx=e,this._end=null!=n?n:i>0?t.length:0,this.item=null,this.key=0/0,this},t.prototype.next=function(){return(this._step>0?this._idx<this._end:this._idx>=this._end)&&(this.item=this._list[this._idx],this.key=this._idx=this._idx+this._step,!0)},t}();function m(t){return null!=t&&isFinite(t)}function _(t,e){return m(t)&&m(e)&&t<=e}var x=(0,o.IH)();n.d(e,{},{$r:function(){var t="__ec_inner_"+d++;return function(e){return e[t]||(e[t]={})}},AR:function(t){t.option=t.parentModel=t.ecModel=null},Ax:function(t,e){_(e[0],e[1])&&(e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]))},Bq:function(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n},D$:function(t,e){return t.getAttribute?t.getAttribute(e):t[e]},D6:function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var o=h(t[i].seriesId,null);if(null==o)return;for(var a=l(t[i].dataIndex),s=n&&n[o],u=0,c=a.length;u<c;u++){var p=a[u];s&&s[p]?s[p]=null:(e[o]||(e[o]={}))[p]=1}}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=o(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}},EV:function(){var t="__ec_once_"+x++;return function(e,n){(0,i.hasOwn)(e,t)||(e[t]=1,n())}},FM:function(t,e){m(e)&&e<t[0]&&(t[0]=e)},GX:function(t,e,n){(0,i.each)(t,function(t){var r,o,a,s,l=t.newOption;(0,i.isObject)(l)&&(t.keyInfo.mainType=e,t.keyInfo.subType=(r=e,o=l,a=t.existing,s=n,o.type?o.type:a?a.subType:s.determineSubType(r,o)))})},HB:f,Il:function(t,e,n,r,a){var s=null==e||"auto"===e;if(null==r)return r;if((0,i.isNumber)(r)){var l,u=(r-(l=n||0))*a+l;return(0,o.LI)(u,s?Math.max((0,o.XV)(n||0),(0,o.XV)(r)):e)}if((0,i.isString)(r))return a<1?n:r;for(var c=[],h=Math.max(n?n.length:0,r.length),p=0;p<h;++p){var d=t.getDimensionInfo(p);if(d&&"ordinal"===d.type)c[p]=(a<1&&n?n:r)[p];else{var f=n&&n[p]?n[p]:0,g=r[p],u=(g-f)*a+f;c[p]=(0,o.LI)(u,s?Math.max((0,o.XV)(f),(0,o.XV)(g)):e)}}return c},JO:y,JS:["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"],M5:function(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}},O0:function(t){var e=t.name;return!!(e&&e.indexOf(a))},O2:function(t,e,n){var r,o,s,l,h,d,f,g,y,v,m,_,x,b="normalMerge"===n,w="replaceMerge"===n,S="replaceAll"===n;t=t||[],e=(e||[]).slice();var A=(0,i.createHashMap)();(0,i.each)(e,function(t,n){if(!(0,i.isObject)(t)){e[n]=null;return}});var M=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||p(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,A,n);return(b||w)&&(r=M,o=t,s=A,l=e,(0,i.each)(l,function(t,e){if(t&&null!=t.id){var n=c(t.id),a=s.get(n);if(null!=a){var u=r[a];(0,i.assert)(!u.newOption,'Duplicated option on id "'+n+'".'),u.newOption=t,u.existing=o[a],l[e]=null}}})),b&&(h=M,d=e,(0,i.each)(d,function(t,e){if(t&&null!=t.name)for(var n=0;n<h.length;n++){var i=h[n].existing;if(!h[n].newOption&&i&&(null==i.id||null==t.id)&&!p(t)&&!p(i)&&u("name",i,t)){h[n].newOption=t,d[e]=null;return}}})),b||w?(f=M,g=e,y=w,(0,i.each)(g,function(t){if(t){for(var e,n=0;(e=f[n])&&(e.newOption||p(e.existing)||e.existing&&null!=t.id&&!u("id",t,e.existing));)n++;e?(e.newOption=t,e.brandNew=y):f.push({newOption:t,brandNew:y,existing:null,keyInfo:null}),n++}})):S&&(v=M,m=e,(0,i.each)(m,function(t){v.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=M,x=(0,i.createHashMap)(),(0,i.each)(_,function(t){var e=t.existing;e&&x.set(e.id,t)}),(0,i.each)(_,function(t){var e=t.newOption;(0,i.assert)(!e||null==e.id||!x.get(e.id)||x.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&x.set(e.id,t),t.keyInfo||(t.keyInfo={})}),(0,i.each)(_,function(t,e){var n=t.existing,r=t.newOption,o=t.keyInfo;if((0,i.isObject)(r)){if(o.name=null!=r.name?c(r.name):n?n.name:a+e,n)o.id=c(n.id);else if(null!=r.id)o.id=c(r.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(x.get(o.id))}x.set(o.id,t)}}),M},O9:function(t,e){return{seriesType:t,overallReset:e}},R3:function(t,e,n){var r=(0,i.createHashMap)(),o=0;(0,i.each)(t,function(i){var a=e(i),s=r.get(a)||0;n&&n(i,s),s||n||(t[o++]=i),r.set(a,s+1)}),n||(t.length=o)},S_:function(t){return s+t},Sq:function(t,e){var n=(0,i.createHashMap)(),r=[];return(0,i.each)(t,function(t){var i=e(t);(n.get(i)||(r.push(i),n.set(i,[]))).push(t)}),{keys:r,buckets:n}},U2:function(t){_(t[0],t[1])&&t[0]>t[1]&&(t[0]=t[1])},US:g,UW:{useDefault:!1,enableAll:!0,enableNone:!0},Vd:v,X1:function(){return[1/0,-1/0]},XJ:function(t){return"auto"===t?r.A.domSupported?"html":"richText":t||"html"},Xe:_,Zk:function(t,e,n){var i=t.getData().count();return{progressiveRender:n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,large:t.get("large")&&i>=t.get("largeThreshold"),modDataCount:"mod"===t.get("progressiveChunkMode")?t.getData().count():null}},_e:function(t,e,n){var i=f(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each(function(e,i){var r=y(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]}),a},cd:function(t){return t+""},dr:function(t,e,n){var i={};i[e+"Id"]=t[e+"Id"],i[e+"Index"]=t[e+"Index"],i[e+"Name"]=t[e+"Name"];var r={mainType:e,query:i};return n&&(r.subType=n),r},fA:m,i2:function(t,e){return(0,i.retrieve2)(e,!0)?t.seriesIndex+2:0},i_:function(t,e){m(e)&&e>t[1]&&(t[1]=e)},le:function(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,i.isArray)(e.dataIndex)?(0,i.map)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,i.isArray)(e.name)?(0,i.map)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0},o1:function(t){var e=t[1]-t[0];return isFinite(e)&&e>=0},oh:p,qB:l,qQ:function(t){return t.value+""},uQ:function(t){return{overallReset:t}},vS:h,vj:function(t){return!(0,i.isObject)(t)||(0,i.isArray)(t)||t instanceof Date?t:t.value},vx:function(t,e){m(e)&&(e<t[0]&&(t[0]=e),e>t[1]&&(t[1]=e))},zu:function(t){return(0,i.isObject)(t)&&!(t instanceof Array)}})},MB(t,e,n){var i=n("iY"),r=Math.min,o=Math.max,a=Math.abs,s=Math.round,l=Math.floor,u=Math.ceil,c=Math.pow,h=Math.log,p=Math.LN10,d=Math.PI,f=Math.random;function g(t,e,n){return i.isString(t)?y(t)?parseFloat(t)/100*e+(n||0):parseFloat(t):null==t?0/0:+t}function y(t){return!!t.replace(/^\s+|\s+$/g,"").match(/%$/)}function v(t,e,n){return isNaN(e)?n?""+t:+t:(e=r(o(0,e),20),t=(+t).toFixed(e),n?t:+t)}function m(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e=1,n=0;n<15;n++,e*=10)if(s(t*e)/e===t)return n}return _(t)}function _(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,a=e.indexOf(".");return o(0,(a<0?0:r-1-a)-i)}function x(t,e){var n=i.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return[];for(var r=c(10,e),o=i.map(t,function(t){return(isNaN(t)?0:t)/n*r*100}),a=100*r,s=i.map(o,function(t){return l(t)}),u=i.reduce(s,function(t,e){return t+e},0),h=i.map(o,function(t,e){return t-s[e]});u<a;){for(var p=-1/0,d=null,f=0,g=h.length;f<g;++f)h[f]>p&&(p=h[f],d=f);++s[d],h[d]=0,++u}return i.map(s,function(t){return t/r})}var b=c(2,53)-1,w=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function S(t){if(0===t)return 0;var e=l(h(t)/p);return t/c(10,e)>=10&&e++,e}function A(t){var e=parseFloat(t);return e==t&&(0!==e||!i.isString(t)||0>=t.indexOf("x"))?e:0/0}n.d(e,{},{Cb:function(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i){if(l>0){if(t<=r)return a;else if(t>=o)return s}else if(t>=r)return a;else if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a},Cm:function(t,e){var n=S(t),i=c(10,n),r=t/i;return v(t=(2===e?1:e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,-n)},Dx:2,EO:function(t,e,n){var i=a(t[1]-t[0]);if(!isFinite(i)||0===i)return 0/0;var r=o(0,u(-(h(2*a(n||1)*a(i))/p)+h(a(e))/p));return isFinite(r)||(r=0/0),r},IH:function(){return s(9*f())},Is:b,JB:o,LI:v,LQ:g,N9:function(t){return i.isString(t)&&y(t)},NX:S,NY:a,Rl:14,SS:d,Sm:A,Tr:function(t,e){var n=o(m(t),m(e)),i=t+e;return n>20?i:v(i,n)},XV:m,Y6:function(t){return t.sort(function(t,e){return t-e}),t},YC:function(t){return null!=t&&isFinite(t)},YV:function(t,e){var n=(t.length-1)*e+1,i=l(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r},Zr:l,_7:function(t){var e=2*d;return(t%e+e)%e},_U:function(t){if(t instanceof Date)return t;if(i.isString(t)){var e=w.exec(t);if(!e)return new Date(0/0);if(!e[8])return new Date(+e[1],(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0);var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return null==t?new Date(0/0):new Date(s(t))},au:function(t){return c(10,S(t))},dh:function(t){return t>-1e-4&&t<1e-4},eq:function(t,e,n){return null==e&&(e=10),v(t,e,n)},hb:function(t,e){var n=r(o(-l(h(t[1]-t[0])/p)+s(h(a(e[1]-e[0]))/p),0),20);return isFinite(n)?n:20},ih:u,jn:s,kM:x,kf:function(t){return!isNaN(A(t))},lQ:function(t,e){return null==t?e:null==e?t:t*e/function t(e,n){return 0===n?e:t(n,e%n)}(t,e)},lo:function(t,e,n){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return g(t,e,n)},rp:r,sL:function(t){t.sort(function(t,e){return!function t(e,n,i){return e.interval[i]<n.interval[i]||e.interval[i]===n.interval[i]&&(e.close[i]-n.close[i]==(i?-1:1)||!i&&t(e,n,1))}(t,e,0)?1:-1});for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t},tV:h,wp:function(t,e,n){return t[e]&&x(t,n)[e]||0},y6:_,z4:c})},fC(t,e,n){var i=n("i4"),r=n("Pk"),o=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0};e.A=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=(o-r)*.5,s=r+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=2*Math.PI,p=c?u-l<h:l-u<h;p||(l=u-(c?h:-h));var d=Math.cos(l),f=Math.sin(l),g=Math.cos(u),y=Math.sin(u);p?(t.moveTo(d*r+n,f*r+i),t.arc(d*s+n,f*s+i,a,-Math.PI+l,l,!c)):t.moveTo(d*o+n,f*o+i),t.arc(n,i,o,l,u,!c),t.arc(g*s+n,y*s+i,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&t.arc(n,i,r,u,l,c)},e}(r.Ay)},LP(t,e,n){var i=n("iY"),r=n("FL"),o=n("x4z"),a=n("xN"),s=n("Pk"),l=n("q0"),u=1,c={},h=(0,a.$r)(),p=(0,a.$r)(),d="highlight",f="downplay",g="select",y="unselect",v="toggleSelect";function m(t){return null!=t&&"none"!==t}function _(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function x(t){_(t,"emphasis",2)}function b(t){2===t.hoverState&&_(t,"normal",0)}function w(t){_(t,"blur",1)}function S(t){1===t.hoverState&&_(t,"normal",0)}function A(t){t.selected=!0}function M(t){t.selected=!1}function T(t,e,n){e(t,n),t.isGroup&&t.traverse(function(t){e(t,n)})}function C(t,e){var n,r,a,l,u,c=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n){var r=e&&(0,i.indexOf)(e,"select")>=0,a=!1;if(t instanceof s.Ay){var l=h(t),u=r&&l.selectFill||l.normalFill,c=r&&l.selectStroke||l.normalStroke;if(m(u)||m(c)){var p=(n=n||{}).style||{};"inherit"===p.fill?(a=!0,n=(0,i.extend)({},n),(p=(0,i.extend)({},p)).fill=u):!m(p.fill)&&m(u)?(a=!0,n=(0,i.extend)({},n),(p=(0,i.extend)({},p)).fill=(0,o.liftColor)(u)):!m(p.stroke)&&m(c)&&(a||(n=(0,i.extend)({},n),p=(0,i.extend)({},p)),p.stroke=(0,o.liftColor)(c)),n.style=p}}if(n&&null==n.z2){a||(n=(0,i.extend)({},n));var d=t.z2EmphasisLift;n.z2=t.z2+(null!=d?d:10)}return n}(this,e,c);else if("blur"===t)return n=c,r=(0,i.indexOf)(this.currentStates,t)>=0,a=this.style.opacity,l=r?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(var a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&0>u.__fromStateTransition.indexOf(n)&&"style"===u.targetName&&u.saveTo(o,e)}return o}(this,["opacity"],t,{opacity:1}),null==(u=(n=n||{}).style||{}).opacity&&(n=(0,i.extend)({},n),u=(0,i.extend)({opacity:r?a:.1*l.opacity},u),n.style=u),n;else if("select"===t){var p=c;if(p&&null==p.z2){p=(0,i.extend)({},p);var d=this.z2SelectLift;p.z2=this.z2+(null!=d?d:9)}return p}}return c}function k(t){t.stateProxy=C;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=C),n&&(n.stateProxy=C)}function I(t,e){R(t,e)||t.__highByOuter||T(t,x)}function D(t,e){R(t,e)||t.__highByOuter||T(t,b)}function O(t){T(t,S)}function L(t){T(t,A)}function P(t){T(t,M)}function R(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function B(t){var e=t.getModel(),n=[],r=[];e.eachComponent(function(e,i){var o=p(i),a=(0,l.k)(t,i),s="series"===e;s||r.push(a),o.isBlured&&(a.group.traverse(function(t){S(t)}),s&&n.push(i)),o.isBlured=!1}),(0,i.each)(r,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function z(t,e,n,r){var o=r.getModel();function a(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&O(i)}}if((n=n||"coordinateSystem",null!=t)&&e&&"none"!==e){var s=o.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries(function(t){var o=s===t,c=t.coordinateSystem;c&&c.master&&(c=c.master);var h=c&&l?c===l:o;if(!("series"===n&&!o||"coordinateSystem"===n&&!h||"series"===e&&o)){if(r.getViewOfSeriesModel(t).group.traverse(function(t){t.__highByOuter&&o&&"self"===e||w(t)}),(0,i.isArrayLike)(e))a(t.getData(),e);else if((0,i.isObject)(e))for(var d=(0,i.keys)(e),f=0;f<d.length;f++)a(t.getData(d[f]),e[d[f]]);u.push(t),p(t).isBlured=!0}}),o.eachComponent(function(t,e){if("series"!==t){var n=r.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,o)}})}}function N(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){p(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse(function(t){w(t)})}}}function E(t,e,n,i){var o,a={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return a;var s=i.getModel().getComponent(t,e);if(!s)return a;var l=i.getViewOfComponentModel(s);if(!l||!l.findHighDownDispatchers)return a;for(var u=l.findHighDownDispatchers(n),c=0;c<u.length;c++)if("self"===(0,r.z)(u[c]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function V(t,e,n){W(t,!0),T(t,k),F(t,e,n)}function F(t,e,n){var i=(0,r.z)(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var Y=["emphasis","blur","select"],H={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function W(t,e){var n=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!n||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n)}function G(t){var e=t.type;return e===g||e===y||e===v}n.d(e,{},{BV:["emphasis","blur","select"],CA:10,DW:k,Du:N,HY:function(t,e){t.__highByOuter|=1<<(e||0),T(t,x)},Iz:function(t,e,n){B(n);var o=(0,r.z)(t),a=E(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,i.each)(a,function(t){return D(t,e)}):D(t,e)},JC:O,JI:L,Lm:function(t,e,n,i){i?W(t,!1):V(t,e,n)},Lv:g,Lx:G,Mx:function(t,e,n,i){n=n||"itemStyle";for(var r=0;r<Y.length;r++){var o=Y[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[H[n]]()}},PW:f,Pk:function(t,e){switch(e){case"emphasis":t.hoverState=2;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=1;break;case"select":t.selected=!0}},Q6:v,QX:function(t){T(t,w)},SD:function(t,e){(t.__highByOuter&=~(1<<(e||0)))||T(t,b)},T$:function(t){var e=t.type;return e===d||e===f},Tl:E,U2:y,_m:function(t,e,n){var o=(0,r.z)(t),a=E(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&N(o.componentMainType,o.componentIndex,n),(0,i.each)(s,function(t){return I(t,e)})):(z(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&N(o.componentMainType,o.componentIndex,n),I(t,e))},_n:function(t){var e=c[t];return null==e&&u<=32&&(e=c[t]=u++),e},e3:2,fz:function(t){var e=h(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null},gM:"selectchanged",gR:F,gd:P,h5:d,iJ:V,ix:W,jA:function(t){var e=t.getAllData();(0,i.each)(e,function(e){var n=e.data,i=e.type;n.eachItemGraphicEl(function(e,n){t.isSelected(n,i)?L(e):P(e)})})},lV:function(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.le)(s,e);l=((0,i.isArray)(l)?l[0]:l)||0;var u=s.getItemGraphicEl(l);if(!u)for(var c=s.count(),h=0;!u&&h<c;)u=s.getItemGraphicEl(h++);if(u){var p=(0,r.z)(u);z(o,p.focus,p.blurScope,n)}else{var d=t.get(["emphasis","focus"]),f=t.get(["emphasis","blurScope"]);null!=d&&z(o,d,f,n)}}},mc:function(t){var e=[];return t.eachSeries(function(t){var n=t.getAllData();(0,i.each)(n,function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}})}),e},ml:function(t,e,n){var i=(0,r.z)(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n},qR:B,t6:function(t,e,n){if(G(e)){var r=e.dataType,o=t.getData(r),s=(0,a.le)(o,e);(0,i.isArray)(s)||(s=[s]),t[e.type===v?"toggleSelect":e.type===g?"select":"unselect"](s,r)}},u6:function(t){return!!(t&&t.__highDownDispatcher)},wV:["normal","emphasis","blur","select"],zX:1})},up(t,e,n){var i=n("iY"),r=n("Pk"),o=n("xz"),a=n("Vb"),s=n("vH"),l=n("uf"),u=n("Y8"),c=n("KO"),h=n("MB"),p=n("g8w"),d=r.Ay.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),f=r.Ay.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),g=r.Ay.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),p=Math.cos(u),d=.6*a,f=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*d,l+s+p*d,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-c+h*d,l+s+p*d,n-c,l+s),t.closePath()}}),y=r.Ay.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),v={line:o.A,rect:a.A,roundRect:a.A,square:a.A,circle:s.A,diamond:f,pin:g,arrow:y,triangle:d},m={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},_={};(0,i.each)(v,function(t,e){_[e]=new t});var x=r.Ay.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=(0,c.X4)(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=_[i];r||(r=_[i="rect"]),m[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function b(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||p.A.color.neutral00,n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}n.d(e,{},{$V:_,hV:function(t,e){if(null!=t)return(0,i.isArray)(t)||(t=[t,t]),[(0,h.lo)(t[0],e[0])||0,(0,h.lo)((0,i.retrieve2)(t[1],t[0]),e[1])||0]},v5:function(t,e,n,i,r,o,a){var s,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?l.makeImage(t.slice(8),new u.Ay(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.Ay(e,n,i,r),a?"center":"cover"):new x({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=c,s.setColor=b,o&&s.setColor(o),s},xU:function(t){return(0,i.isArray)(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}})},dd(t,e,n){var i="\0__throttleOriginMethod",r="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var i,r,o,a,s,l=0,u=0,c=null;function h(){u=new Date().getTime(),c=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p<arguments.length;p++)t[p]=arguments[p];i=new Date().getTime(),o=this,a=t;var d=s||e,f=s||n;s=null,r=i-(f?l:u)-d,clearTimeout(c),f?c=setTimeout(h,d):r>=0?h():c=setTimeout(h,-r),l=i};return p.clear=function(){c&&(clearTimeout(c),c=null)},p.debounceNextCall=function(t){s=t},p}n.d(e,{},{IU:function(t,e){var n=t[e];n&&n[i]&&(n.clear&&n.clear(),t[e]=n[i])},N:function(t,e,n,s){var l=t[e];if(l){var u=l[i]||l,c=l[o];if(l[r]!==n||c!==s){if(null==n||!s)return t[e]=u;(l=t[e]=a(u,n,"debounce"===s))[i]=u,l[o]=s,l[r]=n}return l}},nF:a})},MUM(t,e,n){var i=n("iY"),r=n("MB"),o=n("o03"),a=n("Sk"),s=n("xD"),l={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},u={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},c="{yyyy}-{MM}-{dd}",h={year:"{yyyy}",month:"{yyyy}-{MM}",day:c,hour:c+" "+u.hour,minute:c+" "+u.minute,second:c+" "+u.second,millisecond:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},p=["year","month","day","hour","minute","second","millisecond"];function d(t,e){return t+="","0000".substr(0,e-t.length)+t}function f(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function g(t,e,n,i){var s=r._U(t),l=s[v(n)](),u=s[m(n)]()+1,c=Math.floor((u-1)/3)+1,h=s[_(n)](),p=s["get"+(n?"UTC":"")+"Day"](),f=s[x(n)](),g=(f-1)%12+1,y=s[b(n)](),A=s[w(n)](),M=s[S(n)](),T=f>=12?"pm":"am",C=T.toUpperCase(),k=(i instanceof a.A?i:(0,o.A4)(i||o.Lv)||(0,o.pr)()).getModel("time"),I=k.get("month"),D=k.get("monthAbbr"),O=k.get("dayOfWeek"),L=k.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,T+"").replace(/{A}/g,C+"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,d(l%100+"",2)).replace(/{Q}/g,c+"").replace(/{MMMM}/g,I[u-1]).replace(/{MMM}/g,D[u-1]).replace(/{MM}/g,d(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,d(h,2)).replace(/{d}/g,h+"").replace(/{eeee}/g,O[p]).replace(/{ee}/g,L[p]).replace(/{e}/g,p+"").replace(/{HH}/g,d(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,d(g+"",2)).replace(/{h}/g,g+"").replace(/{mm}/g,d(y,2)).replace(/{m}/g,y+"").replace(/{ss}/g,d(A,2)).replace(/{s}/g,A+"").replace(/{SSS}/g,d(M,3)).replace(/{S}/g,M+"")}function y(t,e){var n=r._U(t),i=n[m(e)]()+1,o=n[_(e)](),a=n[x(e)](),s=n[b(e)](),l=n[w(e)](),u=0===n[S(e)](),c=u&&0===l,h=c&&0===s,p=h&&0===a,d=p&&1===o;if(d&&1===i)return"year";if(d)return"month";if(p)return"day";if(h)return"hour";if(c)return"minute";else if(u)return"second";else return"millisecond"}function v(t){return t?"getUTCFullYear":"getFullYear"}function m(t){return t?"getUTCMonth":"getMonth"}function _(t){return t?"getUTCDate":"getDate"}function x(t){return t?"getUTCHours":"getHours"}function b(t){return t?"getUTCMinutes":"getMinutes"}function w(t){return t?"getUTCSeconds":"getSeconds"}function S(t){return t?"getUTCMilliseconds":"getMilliseconds"}function A(t){return t?"setUTCMonth":"setMonth"}function M(t){return t?"setUTCDate":"setDate"}function T(t){return t?"setUTCHours":"setHours"}function C(t){return t?"setUTCMinutes":"setMinutes"}function k(t){return t?"setUTCSeconds":"setSeconds"}function I(t){return t?"setUTCMilliseconds":"setMilliseconds"}n.d(e,{},{$9:function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}},$H:31536e6,CZ:864e5,F7:["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"],FP:I,GP:g,KF:C,Lm:h,MA:36e5,OY:1e3,WD:y,Wf:w,X_:function(t,e,n,r,o){var a=null;if(i.isString(n))a=n;else if(i.isFunction(n)){var l={time:t.time,level:t.time?t.time.level:0},u=(0,s.mn)();u&&u.makeAxisLabelFormatterParamBreak(l,t.break),a=n(t.value,e,l)}else{var c=t.time;if(c){var h=n[c.lowerTimeUnit][c.upperTimeUnit];a=h[Math.min(c.level,h.length-1)]||""}else{var p=y(t.value,o);a=n[p][p][0]}}return g(new Date(t.value),a,o,r)},Yd:T,Zz:S,_O:function(t){var e,n,r;return i.isString(t)||i.isFunction(t)?t:(e=(e=t)||{},n={},r=!0,i.each(p,function(t){r&&(r=null==e[t])}),i.each(p,function(t,o){var a=e[t];n[t]={};for(var s=null,c=o;c>=0;c--){var h=p[c],d=i.isObject(a)&&!i.isArray(a)?a[h]:a,f=void 0;i.isArray(d)?s=(f=d.slice())[0]||"":i.isString(d)?f=[s=d]:(null==s?s=u[t]:l[h].test(s)||(s=n[h][h][0]+" "+s),f=[s],r&&(f[1]="{primary|"+s+"}")),n[t][h]=f}}),n)},_l:function(t,e,n){switch(e){case"year":t[A(n)](0);case"month":t[M(n)](1);case"day":t[T(n)](0);case"hour":t[C(n)](0);case"minute":t[k(n)](0);case"second":t[I(n)](0)}return t},bP:_,ce:function(t){return t===f(t)},eV:d,hY:v,iC:x,iW:6e4,jJ:m,tM:function(t){return t?"setUTCFullYear":"setFullYear"},ti:M,vy:p,ww:k,xu:A,yB:b,ym:f})},No(t,e,n){var i=(0,n("iY").createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]);n.d(e,{},{Ev:"Roam",Km:"arrayRows",Pe:i,Wk:"objectRows",XO:"typedArray",i_:"column",mK:"original",nk:"undefined",oC:"row",t1:"keyedColumns",t7:"series",vm:"unknown"})},YG(t,e,n){var i=n("No"),r=n("MB"),o=typeof Float32Array!==i.nk?Float32Array:void 0,a=typeof Float64Array!==i.nk?Float64Array:void 0;function s(t,e){var n=t.arr,i=t.ctor;if(e>r.Is&&(e=r.Is),!n||t.typed&&n.length<e){var o=void 0;if(i)try{o=new i(e),t.typed=!0,n&&o.set(n)}catch(t){}if(!o&&(o=[],t.typed=!1,n))for(var a=0,s=n.length;a<s;a++)o[a]=n[a];t.arr=o}return t}n.d(e,{},{Jk:function(t){return s({ctor:o},t).arr},MO:a,Zi:s})},WN9(t,e,n){var i=n("iY"),r=n("jZ"),o=n("Af"),a=n("MD"),s=n("xN"),l=n("LP"),u=n("Hq"),c=n("yM"),h=n("uf"),p=s.$r(),d=(0,c.A)(),f=function(){function t(){this.group=new r.A,this.uid=o.$Q("viewChart"),this.renderTask=(0,u.U)({plan:v,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){(0,h.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){p(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g(t,e,n){t&&(0,l.u6)(t)&&("emphasis"===e?l.HY:l.SD)(t,n)}function y(t,e,n){var r=s.le(t,e),o=e&&null!=e.highlightKey?(0,l._n)(e.highlightKey):null;null!=r?(0,i.each)(s.qB(r),function(e){g(t.getItemGraphicEl(e),n,o)}):t.eachItemGraphicEl(function(t){g(t,n,o)})}function v(t){return d(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&p(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),_[l]}a.gq(f,["dispose"]),a.tQ(f);var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};e.A=f},BP(t,e,n){var i=n("jZ"),r=n("Af"),o=n("MD"),a=function(){function t(){this.group=new i.A,this.uid=r.$Q("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.gq(a),o.tQ(a),e.A=a},N1e(t,e,n){n.d(e,{},{Ez:function(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}},oZ:function(t,e,n,i){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i)}},rI:function(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}})},g8w(t,e,n){var i=n("iY"),r=n("x4z"),o={color:{},darkColor:{},size:{}},a=o.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};for(var s in(0,i.extend)(a,{primary:a.neutral80,secondary:a.neutral70,tertiary:a.neutral60,quaternary:a.neutral50,disabled:a.neutral20,border:a.neutral30,borderTint:a.neutral20,borderShade:a.neutral40,background:a.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:a.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:a.neutral70,axisLineTint:a.neutral40,axisTick:a.neutral70,axisTickMinor:a.neutral60,axisLabel:a.neutral70,axisSplitLine:a.neutral15,axisMinorSplitLine:a.neutral05}),a)if(a.hasOwnProperty(s)){var l=a[s];"theme"===s?o.darkColor.theme=a.theme.slice():"highlight"===s?o.darkColor.highlight="rgba(255,231,130,0.4)":0===s.indexOf("accent")?o.darkColor[s]=(0,r.modifyHSL)(l,null,function(t){return .5*t},function(t){return Math.min(1,1.3-t)}):o.darkColor[s]=(0,r.modifyHSL)(l,null,function(t){return .9*t},function(t){return 1-Math.pow(t,1.5)})}o.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50},e.A=o},Qc(t,e,n){var i=n("P7"),r=n("oi"),o=n("Y8"),a=n("jp"),s=n("KO"),l=n("iY"),u=n("Yo"),c=n("x4z"),h=n("ke"),p=n("AT"),d="__zr_normal__",f=i.Wx.concat(["ignore"]),g=(0,l.reduce)(i.Wx,function(t,e){return t[e]=!0,t},{ignore:!1}),y={},v=new o.Ay(0,0,0,0),m=[],_=function(){function t(t){this.id=(0,l.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[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 n=this.textConfig,i=n.local,r=e.innerTransformable,a=void 0,l=void 0,u=!1;r.parent=i?this:null;var c=!1;r.copyTransform(e);var d=null!=n.position,f=n.autoOverflowArea,g=void 0;if((f||d)&&(g=v,n.layoutRect?g.copy(n.layoutRect):g.copy(this.getBoundingRect()),i||g.applyTransform(this.transform)),d){this.calculateTextPosition?this.calculateTextPosition(y,n,g):(0,s.X4)(y,n,g),r.x=y.x,r.y=y.y,a=y.align,l=y.verticalAlign;var _=n.origin;if(_&&null!=n.rotation){var x=void 0,b=void 0;"center"===_?(x=.5*g.width,b=.5*g.height):(x=(0,s.lo)(_[0],g.width),b=(0,s.lo)(_[1],g.height)),c=!0,r.originX=-r.x+x+(i?0:g.x),r.originY=-r.y+b+(i?0:g.y)}}null!=n.rotation&&(r.rotation=n.rotation);var w=n.offset;w&&(r.x+=w[0],r.y+=w[1],c||(r.originX=-w[0],r.originY=-w[1]));var S=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(f){var A=S.overflowRect=S.overflowRect||new o.Ay(0,0,0,0);r.getLocalTransform(m),(0,p.invert)(m,m),o.Ay.copy(A,g),A.applyTransform(m)}else S.overflowRect=null;var M=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,T=void 0,C=void 0,k=void 0;M&&this.canBeInsideText()?(T=n.insideFill,C=n.insideStroke,(null==T||"auto"===T)&&(T=this.getInsideTextFill()),(null==C||"auto"===C)&&(C=this.getInsideTextStroke(T),k=!0)):(T=n.outsideFill,C=n.outsideStroke,(null==T||"auto"===T)&&(T=this.getOutsideFill()),(null==C||"auto"===C)&&(C=this.getOutsideStroke(T),k=!0)),((T=T||"#000")!==S.fill||C!==S.stroke||k!==S.autoStroke||a!==S.align||l!==S.verticalAlign)&&(u=!0,S.fill=T,S.stroke=C,S.autoStroke=k,S.align=a,S.verticalAlign=l,e.setDefaultTextStyle(S)),e.__dirty|=h.M,u&&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()?u.el:u._S},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&(0,c.parse)(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+255*!r*(1-i);return n[3]=1,(0,c.stringify)(n,"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||{},(0,l.extend)(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((0,l.isObject)(t))for(var n=(0,l.keys)(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!i.getLoop()&&(!r||r===d)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},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,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},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(d,!1,t)},t.prototype.useState=function(t,e,n,i){var r,o=t===d;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,l.indexOf)(a,t)>=0)||!e&&1!==a.length){if(this.stateProxy&&!o&&(r=this.stateProxy(t)),r||(r=this.states&&this.states[t]),!r&&!o)return void(0,l.logError)("State "+t+" not exists.");o||this.saveCurrentToNormalState(r);var u=this._textContent,c=w(this,u,r,i);c&&!this.__inHover&&(this.__inHover=c),this._applyStateObj(t,r,this._normalState,e,A(this,n,s),s);var p=this._textGuide;return u&&u.useState(t,e,n,!!c),p&&p.useState(t,e,n,!!c),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this.__inHover=0,this.__dirty&=~h.M),r}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a){for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}}if(!a){for(var s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var c=i[o-1],p=this._textContent,d=w(this,p,c,n);d&&!this.__inHover&&(this.__inHover=d);var f=this._mergeStates(i),g=this.stateTransition;this.saveCurrentToNormalState(f),this._applyStateObj(t.join(","),f,this._normalState,!1,A(this,e,g),g);var y=this._textGuide;p&&p.useStates(t,e,!!d),y&&y.useStates(t,e,!!d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this.__inHover=0,this.__dirty&=~h.M)}}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this;t;){if(t.silent)return!0;var e=t.__hostTarget;t=e?t.ignoreHostSilent?null:e:t.parent}return!1},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=(0,l.indexOf)(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=(0,l.indexOf)(i,t),o=(0,l.indexOf)(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];(0,l.extend)(n,r),r.textConfig&&(e=e||{},(0,l.extend)(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){if(1!==this.__inHover){var a=!(e&&i);e&&e.textConfig?(this.textConfig=(0,l.extend)({},i?this.textConfig:n.textConfig),(0,l.extend)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,c=0;c<f.length;c++){var h=f[c],p=r&&g[h];e&&null!=e[h]?p?(u=!0,s[h]=e[h]):this[h]=e[h]:a&&null!=n[h]&&(p?(u=!0,s[h]=n[h]):this[h]=n[h])}if(!r)for(var c=0;c<this.animators.length;c++){var d=this.animators[c],y=d.targetName;d.getLoop()||d.__changeFinalValue(y?(e||n)[y]:e||n)}u&&this._transitionState(t,s,o)}},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 i.Ay,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.extend)(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|=h.M;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);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 n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this,o=new r.A(i,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var e=i.animators,n=(0,l.indexOf)(e,t);n>=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){x(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){x(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=x(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function n(t,n,i,r){Object.defineProperty(e,t,{get:function(){return this[n]||o(this,this[n]=[]),this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}}e.type="element",e.name="",e.ignore=e.silent=e.ignoreHostSilent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=!1,e.__inHover=0,e.__dirty=h.M,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function x(t,e,n,i,o){var a=[];!function t(e,n,i,o,a,s,u,c){for(var h=(0,l.keys)(o),p=a.duration,d=a.delay,f=a.additive,g=a.setToFinal,y=!(0,l.isObject)(s),v=e.animators,m=[],_=0;_<h.length;_++){var x=h[_],w=o[x];if(null!=w&&null!=i[x]&&(y||s[x]))if(!(0,l.isObject)(w)||(0,l.isArrayLike)(w)||(0,l.isGradientObject)(w))m.push(x);else{if(n){c||(i[x]=w,e.updateDuringAnimation(n));continue}t(e,x,i[x],w,a,s&&s[x],u,c)}else c||(i[x]=w,e.updateDuringAnimation(n),m.push(x))}var S=m.length;if(!f&&S)for(var A=0;A<v.length;A++){var M=v[A];if(M.targetName===n&&M.stopTracks(m)){var T=(0,l.indexOf)(v,M);v.splice(T,1)}}if(a.force||(S=(m=(0,l.filter)(m,function(t){var e,n;return!((e=o[t])===(n=i[t])||(0,l.isArrayLike)(e)&&(0,l.isArrayLike)(n)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,n))})).length),S>0||a.force&&!u.length){var C=void 0,k=void 0,I=void 0;if(c){k={},g&&(C={});for(var A=0;A<S;A++){var x=m[A];k[x]=i[x],g?C[x]=o[x]:i[x]=o[x]}}else if(g){I={};for(var A=0;A<S;A++){var x=m[A];I[x]=(0,r.F)(i[x]),function(t,e,n){if((0,l.isArrayLike)(e[n]))if((0,l.isArrayLike)(t[n])||(t[n]=[]),(0,l.isTypedArray)(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),b(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if((0,l.isArrayLike)(r[0]))for(var s=r[0].length,u=0;u<a;u++)o[u]?b(o[u],r[u],s):o[u]=Array.prototype.slice.call(r[u]);else b(o,r,a);o.length=r.length}else t[n]=e[n]}(i,o,x)}}var M=new r.A(i,!1,!1,f?(0,l.filter)(v,function(t){return t.targetName===n}):null);M.targetName=n,a.scope&&(M.scope=a.scope),g&&C&&M.whenWithKeys(0,C,m),I&&M.whenWithKeys(0,I,m),M.whenWithKeys(null==p?500:p,c?k:o,m).delay(d||0),e.addAnimator(M,n),u.push(M)}}(t,"",t,e,n=n||{},i,a,o);var s=a.length,u=!1,c=n.done,h=n.aborted,p=function(){u=!0,--s<=0&&(u?c&&c():h&&h())},d=function(){--s<=0&&(u?c&&c():h&&h())};!s&&c&&c(),a.length>0&&n.during&&a[0].during(function(t,e){n.during(e)});for(var f=0;f<a.length;f++){var g=a[f];p&&g.done(p),d&&g.aborted(d),n.force&&g.duration(n.duration),g.start(n.easing)}return a}function b(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function w(t,e,n,i){return!(n&&n.hoverLayer||i)||S(t)||e&&S(e)?0:1}function S(t){return"text"===t.type||"tspan"===t.type}function A(t,e,n){return!e&&!t.__inHover&&n&&n.duration>0}(0,l.mixin)(_,a.A),(0,l.mixin)(_,i.Ay),e.Ay=_,n.d(e,{},{yx:1})},oi(t,e,n){n.d(e,{F:()=>d,A:()=>_});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*(-Math.pow(2,-10*(t-1))+2)},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,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1)?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):n*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)*.5+1},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){return(t*=2)<1?t*t*(3.5949095*t-2.5949095)*.5:.5*((t-=2)*t*(3.5949095*t+2.5949095)+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}},r=n("iY"),o=n("mJ"),a=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||r.noop,this.ondestroy=t.ondestroy||r.noop,this.onrestart=t.onrestart||r.noop,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){this._pausedTime+=e;return}var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r)if(!this.loop)return!0;else this._startTime=t-i%n,this._pausedTime=0,this.onrestart();return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,r.isFunction)(t)?t:i[t]||(0,o.w)(t)},t}(),s=n("x4z"),l=n("QB"),u=Array.prototype.slice;function c(t,e,n,i){for(var r,o=e.length,a=0;a<o;a++)t[a]=(r=e[a],(n[a]-r)*i+r);return t}function h(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function p(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function d(t){if((0,r.isArrayLike)(t)){var e=t.length;if((0,r.isArrayLike)(t[0])){for(var n=[],i=0;i<e;i++)n.push(u.call(t[i]));return n}return u.call(t)}return t}function f(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 g(t){return 4===t||5===t}function y(t){return 1===t||2===t}var v=[0,0,0,0],m=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,n){this._needsSort=!0;var a=this.keyframes,u=a.length,c=!1,h=6,p=e;if((0,r.isArrayLike)(e)){var d=(0,r.isArrayLike)(e&&e[0])?2:1;h=d,(1!==d||(0,r.isNumber)(e[0]))&&(2!==d||(0,r.isNumber)(e[0][0]))||(c=!0)}else if((0,r.isNumber)(e)&&!(0,r.eqNaN)(e))h=0;else if((0,r.isString)(e))if(isNaN(+e)){var f=s.parse(e);f&&(p=f,h=3)}else h=0;else if((0,r.isGradientObject)(e)){var g=(0,r.extend)({},p);g.colorStops=(0,r.map)(e.colorStops,function(t){return{offset:t.offset,color:s.parse(t.color)}}),(0,l.OS)(e)?h=4:(0,l.OH)(e)&&(h=5),p=g}0===u?this.valType=h:(h!==this.valType||6===h)&&(c=!0),this.discrete=this.discrete||c;var y={time:t,value:p,rawValue:e,percent:0};return n&&(y.easing=n,y.easingFunc=(0,r.isFunction)(n)?n:i[n]||(0,o.w)(n)),a.push(y),y},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(t,e){return t.time-e.time});for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=y(i),l=g(i),c=0;c<r;c++){var d=n[c],f=d.value,v=o.value;d.percent=d.time/t,!a&&(s&&c!==r-1?function(t,e,n){if(t.push&&e.push){var i=t.length,r=e.length;if(i!==r)if(i>r)t.length=r;else for(var o=i;o<r;o++)t.push(1===n?e[o]:u.call(e[o]));for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===n)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}}(f,v,i):l&&function(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}(f.colorStops,v.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;for(var m=n[0].value,c=0;c<r;c++)0===i?n[c].additiveValue=n[c].value-m:3===i?n[c].additiveValue=h([],n[c].value,m,-1):y(i)&&(n[c].additiveValue=1===i?h([],n[c].value,m,-1):p([],n[c].value,m,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,h=u.length,p=this.propName,d=3===l,m=this._lastFr,_=Math.min;if(1===h)i=o=u[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=_(m+1,h-1);n>=0&&!(u[n].percent<=e);n--);n=_(n,h-2)}else{for(n=m;n<h&&!(u[n].percent>e);n++);n=_(n-1,h-2)}o=u[n+1],i=u[n]}if(i&&o){this._lastFr=n,this._lastFrP=e;var x=o.percent-i.percent,b=0===x?1:_((e-i.percent)/x,1);o.easingFunc&&(b=o.easingFunc(b));var w=a?this._additiveValue:d?v:t[p];if((y(l)||d)&&!w&&(w=this._additiveValue=[]),this.discrete)t[p]=b<1?i.rawValue:o.rawValue;else if(y(l))1===l?c(w,i[s],o[s],b):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s,l=0;l<o;l++)t[a][l]=(s=e[a][l],(n[a][l]-s)*i+s)}}(w,i[s],o[s],b);else if(g(l)){var S,A,M,T,C,k=i[s],I=o[s],D=4===l;(t[p]={type:D?"linear":"radial",x:(S=k.x,(I.x-S)*b+S),y:(A=k.y,(I.y-A)*b+A),colorStops:(0,r.map)(k.colorStops,function(t,e){var n,i=I.colorStops[e];return{offset:(n=t.offset,(i.offset-n)*b+n),color:f(c([],t.color,i.color,b))}}),global:I.global},D)?(t[p].x2=(M=k.x2,(I.x2-M)*b+M),t[p].y2=(T=k.y2,(I.y2-T)*b+T)):t[p].r=(C=k.r,(I.r-C)*b+C)}else if(d)c(w,i[s],o[s],b),a||(t[p]=f(w));else{var O,L=(O=i[s],(o[s]-O)*b+O);a?this._additiveValue=L:t[p]=L}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(s.parse(t[n],v),h(v,v,i,1),t[n]=f(v)):1===e?h(t[n],t[n],i,1):2===e&&p(t[n],t[n],i,1)},t}(),_=function(){function t(t,e,n,i){(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i)?(0,r.logError)("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}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,n){return this.whenWithKeys(t,e,(0,r.keys)(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new m(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,h=c[c.length-1];l=h&&h.value,3===u.valType&&l&&(l=f(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,d(l),i),this._trackKeys.push(a)}s.addKeyframe(t,d(e[a]),i)}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,n=0;n<e;n++)t[n].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 n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],s=this._tracks[o],l=this._getAdditiveTrack(o),u=s.keyframes,c=u.length;if(s.prepare(i,l),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var h=u[c-1];h&&(e._target[s.propName]=h.rawValue),s.setFinished()}else n.push(s)}if(n.length||this._force){var p=new a({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(var o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(var o=0;o<a.length;o++)a[o](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(0,r.map)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}for(var a=!0,r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=d(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,r.keys)(t);for(var n=0;n<e.length;n++){var i=e[n],o=this._tracks[i];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},mJ(t,e,n){var i=n("mq"),r=n("iY"),o=/cubic-bezier\(([0-9,\.e ]+)\)/;n.d(e,{},{w:function(t){var e=t&&o.exec(t);if(e){var n=e[1].split(","),a=+(0,r.trim)(n[0]),s=+(0,r.trim)(n[1]),l=+(0,r.trim)(n[2]),u=+(0,r.trim)(n[3]);if(isNaN(a+s+l+u))return;var c=[];return function(t){return t<=0?0:t>=1?1:(0,i._E)(0,a,l,1,t,c)&&(0,i.Yb)(0,s,u,1,c[0])}}}})},JV(t,e,n){e.A=n("E3").A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},bD(t,e,n){var i=n("iY");n.d(e,{},{V:function(t){var e,n,r=t.style,o=r.lineDash&&r.lineWidth>0&&(e=r.lineDash,n=r.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:(0,i.isNumber)(e)?[e]:(0,i.isArray)(e)?e:null:null),a=r.lineDashOffset;if(o){var s=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;s&&1!==s&&(o=(0,i.map)(o,function(t){return t/s}),a/=s)}return[o,a]}})},kb(t,e,n){var i=n("el"),r=n("Ig"),o=n("T0"),a=n("BH"),s=n("Pk"),l=n("s5"),u=n("Ne"),c=n("iY"),h=n("bD"),p=n("ke"),d=n("mZ"),f=new r.A(!0);function g(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function y(t){return"string"==typeof t&&"none"!==t}function v(t){var e=t.fill;return null!=e&&"none"!==e}function m(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function _(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function x(t,e,n){var i=(0,o.OD)(e.image,e.__image,n);if((0,o.xA)(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*c.RADIAN_TO_DEGREE),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}var b=["shadowBlur","shadowOffsetX","shadowOffsetY"],w=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function S(t,e,n,r,o){var a=!1;if(!r&&e===(n=n||{}))return!1;if(r||e.opacity!==n.opacity){T(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.oN.opacity:s}(r||e.blend!==n.blend)&&(a||(T(t,o),a=!0),t.globalCompositeOperation=e.blend||i.oN.blend);for(var l=0;l<b.length;l++){var u=b[l];(r||e[u]!==n[u])&&(a||(T(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(r||e.shadowColor!==n.shadowColor)&&(a||(T(t,o),a=!0),t.shadowColor=e.shadowColor||i.oN.shadowColor),a}function A(t,e,n,i,r){var o=e.style,a=i?null:n&&n.style||{};if(o===a)return!1;var s=S(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(T(t,r),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(T(t,r),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(T(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(T(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<w.length;u++){var c=w[u],h=c[0];(i||o[h]!==a[h])&&(s||(T(t,r),s=!0),t[h]=o[h]||c[1])}return s}function M(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function T(t,e){e.batchFill&&(e.batchFill=!1,t.fill()),e.batchStroke&&(e.batchStroke=!1,t.stroke())}function C(t,e,n){var i,r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){e.__dirty&=~p.M,e.__isRendered=!1;return}var c=e.__clipPaths,y=n.prevElClipPaths,b=e.style,w=!1,I=!1;if((!y||(0,a.KU)(c,y))&&(y&&(T(t,n),t.restore(),I=w=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),c&&c.length)){T(t,n),t.save();for(var D=!1,O=0;O<c.length;O++){var L=c[O];D=D||L.isZeroArea(),M(t,L),t.beginPath(),L.buildPath(t,L.shape),t.clip()}n.allClipped=D,w=!0,n.prevElClipPaths=c}if(n.allClipped){e.__dirty&=~p.M,e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(n.beforeBrushParam),e.innerBeforeBrush();var P=n.prevEl;P||(I=w=!0);var R=e instanceof s.Ay&&e.autoBatch&&(B=v(b),z=g(b),!(b.lineDash||!(B^z)||B&&"string"!=typeof b.fill||z&&"string"!=typeof b.stroke||b.strokePercent<1||b.strokeOpacity<1||b.fillOpacity<1));if(!w&&(N=P.transform,r&&N?r[0]===N[0]&&r[1]===N[1]&&r[2]===N[2]&&r[3]===N[3]&&r[4]===N[4]&&r[5]===N[5]:+(!r&&!N))?R||T(t,n):(T(t,n),M(t,e)),e instanceof s.Ay)1!==n.lastDrawType&&(I=!0,n.lastDrawType=1),A(t,e,P,I,n),R&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i,r){var o,s,l,u=g(n),c=v(n),d=n.strokePercent,y=d<1,b=!e.path;(!e.silent||y)&&b&&e.createPathProxy();var w=e.path||f,S=e.__dirty;if(!i){var A=n.fill,M=n.stroke,T=c&&!!A.colorStops,C=u&&!!M.colorStops,k=c&&!!A.image,I=u&&!!M.image,D=void 0,O=void 0,L=void 0,P=void 0,R=void 0;(T||C)&&(R=e.getBoundingRect()),T&&(D=S?(0,a.Ff)(t,A,R):e.__canvasFillGradient,e.__canvasFillGradient=D),C&&(O=S?(0,a.Ff)(t,M,R):e.__canvasStrokeGradient,e.__canvasStrokeGradient=O),k&&(L=S||!e.__canvasFillPattern?x(t,A,e):e.__canvasFillPattern,e.__canvasFillPattern=L),I&&(P=S||!e.__canvasStrokePattern?x(t,M,e):e.__canvasStrokePattern,e.__canvasStrokePattern=P),T?t.fillStyle=D:k&&(L?t.fillStyle=L:c=!1),C?t.strokeStyle=O:I&&(P?t.strokeStyle=P:u=!1)}var B=e.getGlobalScale();w.setScale(B[0],B[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(s=(o=(0,h.V)(e))[0],l=o[1]);var z=!0;(b||S&p.Dl)&&(w.setDPR(t.dpr),y?w.setContext(null):(w.setContext(t),z=!1),w.reset(),e.buildPath(w,e.shape,i),w.toStatic(),e.pathUpdated()),z&&w.rebuildPath(t,y?d:1),s&&(t.setLineDash(s),t.lineDashOffset=l),i?(r.batchFill=c,r.batchStroke=u):n.strokeFirst?(u&&_(t,n),c&&m(t,n)):(c&&m(t,n),u&&_(t,n)),s&&t.setLineDash([])}(t,e,b,R,n);else if(e instanceof u.A){3!==n.lastDrawType&&(I=!0,n.lastDrawType=3),A(t,e,P,I,n);var B,z,N,E,V=b.text;if(null!=V&&(V+=""),V){t.font=b.font||d.OH,t.textAlign=b.textAlign,t.textBaseline=b.textBaseline;var F=void 0,Y=void 0;t.setLineDash&&b.lineDash&&(F=(E=(0,h.V)(e))[0],Y=E[1]),F&&(t.setLineDash(F),t.lineDashOffset=Y),b.strokeFirst?(g(b)&&t.strokeText(V,b.x,b.y),v(b)&&t.fillText(V,b.x,b.y)):(v(b)&&t.fillText(V,b.x,b.y),g(b)&&t.strokeText(V,b.x,b.y)),F&&t.setLineDash([])}}else e instanceof l.Ay?(2!==n.lastDrawType&&(I=!0,n.lastDrawType=2),i=I,S(t,e.style,P&&P.style,i,n),function(t,e,n){var i=e.__image=(0,o.OD)(n.image,e.__image,e,e.onload);if(i&&(0,o.xA)(i)){var r=n.x||0,a=n.y||0,s=e.getWidth(),l=e.getHeight(),u=i.width/i.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=i.width,l=i.height),n.sWidth&&n.sHeight){var c=n.sx||0,h=n.sy||0;t.drawImage(i,c,h,n.sWidth,n.sHeight,r,a,s,l)}else if(n.sx&&n.sy){var c=n.sx,h=n.sy,p=s-c,d=l-h;t.drawImage(i,c,h,p,d,r,a,s,l)}else t.drawImage(i,r,a,s,l)}}(t,e,b)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(I=!0,n.lastDrawType=4),function(t,e,n){var i,r,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover,beforeBrushParam:{}};for(i=e.getCursor(),r=o.length;i<r;i++){var l=o[i];l.beforeBrush&&l.beforeBrush(n.beforeBrushParam),l.innerBeforeBrush(),C(t,l,s),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}k(t,s);for(var u=0,c=a.length;u<c;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(n.beforeBrushParam),l.innerBeforeBrush(),C(t,l,s),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}k(t,s),e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n));e.innerAfterBrush(),e.afterBrush&&(R&&T(t,n),e.afterBrush()),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}function k(t,e){T(t,e),e.prevElClipPaths&&t.restore()}n.d(e,{},{V$:C,Xi:function(t,e){var n={inHover:!1,viewWidth:0,viewHeight:0,beforeBrushParam:{}};C(t,e,n),k(t,n)},ZQ:x,v6:k})},BH(t,e,n){function i(t){return isFinite(t)}function r(t){return parseInt(t,10)}n.d(e,{},{Ff:function(t,e,n){for(var r,o,a,s,l,u,c,h,p,d,f="radial"===e.type?(a=Math.min(r=n.width,o=n.height),s=null==e.x?.5:e.x,l=null==e.y?.5:e.y,u=null==e.r?.5:e.r,e.global||(s=s*r+n.x,l=l*o+n.y,u*=a),s=i(s)?s:.5,l=i(l)?l:.5,u=u>=0&&i(u)?u:.5,t.createRadialGradient(s,l,0,s,l,u)):(c=null==e.x?0:e.x,h=null==e.x2?1:e.x2,p=null==e.y?0:e.y,d=null==e.y2?0:e.y2,e.global||(c=c*n.width+n.x,h=h*n.width+n.x,p=p*n.height+n.y,d=d*n.height+n.y),c=i(c)?c:0,h=i(h)?h:1,p=i(p)?p:0,d=i(d)?d:0,t.createLinearGradient(c,p,h,d)),g=e.colorStops,y=0;y<g.length;y++)f.addColorStop(g[y].offset,g[y].color);return f},KU:function(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1},YC:function(t,e,n){var i=["width","height"][e],o=["clientWidth","clientHeight"][e],a=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var l=document.defaultView.getComputedStyle(t);return(t[o]||r(l[i])||r(t.style[i]))-(r(l[a])||0)-(r(l[s])||0)||0}})},Yo(t,e,n){var i=n("E3"),r=1;i.A.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=r;n.d(e,{},{Y5:o,_S:"#333",el:"#ccc",ps:.4,tY:"#eee"})},e6(t,e,n){n.d(e,{},{l:function(t,e,n,i,r,o,a){if(0===r)return!1;var s=0,l=t;if(a>e+r&&a>i+r||a<e-r&&a<i-r||o>t+r&&o>n+r||o<t-r&&o<n-r)return!1;if(t===n)return Math.abs(o-t)<=r/2;s=(e-i)/(t-n);var u=s*o-a+(l=(t*i-n*e)/(t-n));return u*u/(s*s+1)<=r/2*r/2}})},q9(t,e,n){var i=n("mq");n.d(e,{},{l:function(t,e,n,r,o,a,s,l,u){return 0!==s&&(!(u>e+s)||!(u>r+s)||!(u>a+s))&&(!(u<e-s)||!(u<r-s)||!(u<a-s))&&(!(l>t+s)||!(l>n+s)||!(l>o+s))&&(!(l<t-s)||!(l<n-s)||!(l<o-s))&&(0,i.kh)(t,e,n,r,o,a,l,u,null)<=s/2}})},KO(t,e,n){var i,r=n("Y8"),o=n("B5"),a=n("mZ");function s(t){i||(i=new o.Ay(100)),t=t||a.OH;var e=i.get(t);return e||(e={font:t,strWidthCache:new o.Ay(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:a.yh.measureText("国",t).width,asciiCharWidth:a.yh.measureText("a",t).width},i.put(t,e)),e}var l=0;function u(t,e){var n=t.strWidthCache,i=n.get(e);return null==i&&(i=a.yh.measureText(e,t.font).width,n.put(e,i)),i}function c(t,e,n,i){var o=u(s(e),t),a=d(e),l=h(0,o,n),c=p(0,a,i);return new r.Ay(l,c,o,a)}function h(t,e,n,i){return"right"===n?i?t+=e:t-=e:"center"===n&&(i?t+=e/2:t-=e/2),t}function p(t,e,n,i){return"middle"===n?i?t+=e/2:t-=e/2:"bottom"===n&&(i?t+=e:t-=e),t}function d(t){return s(t).stWideCharWidth}function f(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}n.d(e,{},{JK:function(t,e){return t.asciiWidthMapTried||(t.asciiWidthMap=function(t){if(!(l>=5)){t=t||a.OH;for(var e=[],n=+new Date,i=0;i<=127;i++)e[i]=a.yh.measureText(String.fromCharCode(i),t).width;var r=new Date-n;return r>16?l=5:r>2&&l++,e}}(t.font),t.asciiWidthMapTried=!0),0<=e&&e<=127?null!=t.asciiWidthMap?t.asciiWidthMap[e]:t.asciiCharWidth:t.stWideCharWidth},NO:function(t,e,n,i){var o=((t||"")+"").split("\n");if(1===o.length)return c(o[0],e,n,i);for(var a=new r.Ay(0,0,0,0),s=0;s<o.length;s++){var l=c(o[s],e,n,i);0===s?a.copy(l):a.union(l)}return a},Qw:s,X4:function(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",h="top";if(i instanceof Array)l+=f(i[0],n.width),u+=f(i[1],n.height),c=null,h=null;else switch(i){case"left":l-=r,u+=s,c="right",h="middle";break;case"right":l+=r+a,u+=s,h="middle";break;case"top":l+=a/2,u-=r,c="center",h="bottom";break;case"bottom":l+=a/2,u+=o+r,c="center";break;case"inside":l+=a/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=r,u+=s,h="middle";break;case"insideRight":l+=a-r,u+=s,c="right",h="middle";break;case"insideTop":l+=a/2,u+=r,c="center";break;case"insideBottom":l+=a/2,u+=o-r,c="center",h="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,c="right";break;case"insideBottomLeft":l+=r,u+=o-r,h="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,c="right",h="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=h,t},ks:d,l8:u,ll:h,lo:f,sZ:p})},QW(t,e,n){var i=2*Math.PI;n.d(e,{},{n:function(t){return(t%=i)<0&&(t+=i),t}})},Zv(t,e,n){n.d(e,{},{A:function(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i||i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;(1===a||0===a)&&(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}})},Y8(t,e,n){var i=n("AT"),r=n("xy"),o=n("zM"),a=Math.min,s=Math.max,l=Math.abs,u=["x","y"],c=["width","height"],h=new o.A,p=new o.A,d=new o.A,f=new o.A,g=D(),y=g.minTv,v=g.maxTv,m=[0,0],_=function(){function t(t,e,n,i){b(this,t,e,n,i)}return t.set=function(t,e,n,i,r){return i<0&&(e+=i,i=-i),r<0&&(n+=r,r=-r),t.x=e,t.y=n,t.width=i,t.height=r,t},t.prototype.union=function(t){var e=a(t.x,this.x),n=a(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=s(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=s(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){return S(i.create(),this,t)},t.prototype.intersect=function(e,n,i){return t.intersect(this,e,n,i)},t.intersect=function(e,n,i,r){i&&o.A.set(i,0,0);var a=r&&r.outIntersectRect||null,s=r&&r.clamp;if(a&&(a.x=a.y=a.width=a.height=0/0),!e||!n)return!1;e instanceof t||(e=b(T,e.x,e.y,e.width,e.height)),n instanceof t||(n=b(C,n.x,n.y,n.width,n.height));var l=!!i;g.reset(r,l);var u=g.touchThreshold,c=e.x+u,h=e.x+e.width-u,p=e.y+u,d=e.y+e.height-u,f=n.x+u,_=n.x+n.width-u,x=n.y+u,w=n.y+n.height-u;if(c>h||p>d||f>_||x>w)return!1;var S=!(h<f||_<c||d<x||w<p);return(l||a)&&(m[0]=1/0,m[1]=0,I(c,h,f,_,0,l,a,s),I(p,d,x,w,1,l,a,s),l&&o.A.copy(i,S?g.useDir?g.dirMinTv:y:v)),S},t.contain=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},t.prototype.contain=function(e,n){return t.contain(this,e,n)},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(t){w(this,t)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e?e.x:0,e?e.y:0,e?e.width:0,e?e.height:0)},t.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},t.applyTransform=function(t,e,n){if(!n){t!==e&&w(t,e);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],r=n[3],o=n[4],l=n[5];t.x=e.x*i+o,t.y=e.y*r+l,t.width=e.width*i,t.height=e.height*r,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}h.x=d.x=e.x,h.y=f.y=e.y,p.x=f.x=e.x+e.width,p.y=d.y=e.y+e.height,h.transform(n),f.transform(n),p.transform(n),d.transform(n),t.x=a(h.x,p.x,d.x,f.x),t.y=a(h.y,p.y,d.y,f.y);var u=s(h.x,p.x,d.x,f.x),c=s(h.y,p.y,d.y,f.y);t.width=u-t.x,t.height=c-t.y},t.calculateTransform=function(t,e,n){var o=n.width/e.width,a=n.height/e.height;return t=i.identity(t||[]),i.translate(t,t,r.set(k,-e.x,-e.y)),i.scale(t,t,r.set(k,o,a)),i.translate(t,t,r.set(k,n.x,n.y)),t},t}(),x=_.create,b=_.set,w=_.copy,S=_.calculateTransform,A=_.applyTransform,M=_.contain,T=new _(0,0,0,0),C=new _(0,0,0,0),k=[];function I(t,e,n,i,r,o,h,p){var d=l(e-n),f=l(i-t),_=a(d,f),x=u[r],b=u[1-r],w=c[r];e<n||i<t?d<f?(o&&(v[x]=-d),p&&(h[x]=e,h[w]=0)):(o&&(v[x]=f),p&&(h[x]=t,h[w]=0)):(h&&(h[x]=s(t,n),h[w]=a(e,i)-h[x]),o&&(_<m[0]||g.useDir)&&(m[0]=a(_,m[0]),(d<f||!g.bidirectional)&&(y[x]=d,y[b]=0,g.useDir&&g.calcDirMTV()),(d>=f||!g.bidirectional)&&(y[x]=-f,y[b]=0,g.useDir&&g.calcDirMTV())))}function D(){var t=0,e=new o.A,n=new o.A,i={minTv:new o.A,maxTv:new o.A,useDir:!1,dirMinTv:new o.A,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(r,o){i.touchThreshold=0,r&&null!=r.touchThreshold&&(i.touchThreshold=s(0,r.touchThreshold)),i.negativeSize=!1,o&&(i.minTv.set(1/0,1/0),i.maxTv.set(0,0),i.useDir=!1,r&&null!=r.direction&&(i.useDir=!0,i.dirMinTv.copy(i.minTv),n.copy(i.minTv),t=r.direction,i.bidirectional=null==r.bidirectional||!!r.bidirectional,i.bidirectional||e.set(Math.cos(t),Math.sin(t))))},calcDirMTV:function(){var o=i.minTv,a=i.dirMinTv,s=o.y*o.y+o.x*o.x,l=Math.sin(t),u=Math.cos(t),c=l*o.y+u*o.x;if(r(c)){r(o.x)&&r(o.y)&&a.set(0,0);return}(n.x=s*u/c,n.y=s*l/c,r(n.x)&&r(n.y))?a.set(0,0):(i.bidirectional||e.dot(n)>0)&&n.len()<a.len()&&a.copy(n)}};function r(t){return 1e-10>l(t)}return i}e.Ay=_,n.d(e,{},{Zv:S,bV:D,iZ:w,r_:x,rd:M,zQ:A})},jp(t,e){e.A=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}()},B5(t,e){var n=function(t){this.value=t},i=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new n(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();e.Ay=function(){function t(t){this._list=new i,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var i=this._list,r=this._map,o=null;if(null==r[t]){var a=i.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=i.head;i.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new n(e),s.key=t,i.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},Mg(t,e,n){var i=n("zM"),r=n("Y8"),o=Math.min,a=Math.max,s=Math.abs,l=[0,0],u=[0,0],c=(0,r.bV)(),h=c.minTv,p=c.maxTv;e.A=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new i.A;for(var n=0;n<2;n++)this._axes[n]=new i.A;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),e)for(var u=0;u<4;u++)n[u].transform(e);i.A.sub(r[0],n[1],n[0]),i.A.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(var u=0;u<2;u++)this._origin[u]=r[u].dot(n[0])},t.prototype.intersect=function(t,e,n){var r=!0,o=!e;return(e&&i.A.set(e,0,0),c.reset(n,!o),!this._intersectCheckOneSide(this,t,o,1)&&(r=!1,o)||!this._intersectCheckOneSide(t,this,o,-1)&&(r=!1,o))?r:(o||c.negativeSize||i.A.copy(e,r?c.useDir?c.dirMinTv:h:p),r)},t.prototype._intersectCheckOneSide=function(t,e,n,r){for(var a=!0,d=0;d<2;d++){var f=t._axes[d];if(t._getProjMinMaxOnAxis(d,t._corners,l),t._getProjMinMaxOnAxis(d,e._corners,u),c.negativeSize||l[1]<u[0]||l[0]>u[1]){if(a=!1,c.negativeSize||n)return a;var g=s(u[0]-l[1]),y=s(l[0]-u[1]);o(g,y)>p.len()&&(g<y?i.A.scale(p,f,-g*r):i.A.scale(p,f,y*r))}else if(!n){var g=s(u[0]-l[1]),y=s(l[0]-u[1]);(c.useDir||o(g,y)<h.len())&&((g<y||!c.bidirectional)&&(i.A.scale(h,f,g*r),c.useDir&&c.calcDirMTV()),(g>=y||!c.bidirectional)&&(i.A.scale(h,f,-y*r),c.useDir&&c.calcDirMTV()))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,s=e[0].dot(i)+r[t],l=s,u=s,h=1;h<e.length;h++){var p=e[h].dot(i)+r[t];l=o(p,l),u=a(p,u)}n[0]=l+c.touchThreshold,n[1]=u-c.touchThreshold,c.negativeSize=n[1]<n[0]},t}()},Ig(t,e,n){var i=n("xy"),r=n("Y8"),o=n("Yo"),a=n("xV"),s=n("mq"),l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],c=[],h=[],p=[],d=[],f=[],g=Math.min,y=Math.max,v=Math.cos,m=Math.sin,_=Math.abs,x=Math.PI,b=2*x,w="u">typeof Float32Array,S=[];function A(t){return Math.round(t/x*1e8)/1e8%2*x}function M(t,e){var n=A(t[0]);n<0&&(n+=b);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=b?r=n+b:e&&n-r>=b?r=n-b:!e&&n>r?r=n+(b-A(n-r)):e&&n<r&&(r=n-(b-A(r-n))),t[0]=n,t[1]=r}e.A=function(){var t;function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=_(n/o.Y5/t)||0,this._uy=_(n/o.Y5/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},e.prototype.lineTo=function(t,e){var n=_(t-this._xi),i=_(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(l.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(l.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(l.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),S[0]=i,S[1]=r,M(S,o),i=S[0];var a=(r=S[1])-i;return this.addData(l.A,t,e,n,n,i,a,0,+!o),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=v(r)*n+t,this._yi=m(r)*n+e,this},e.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},e.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(l.R,t,e,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(l.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){if(this._saveData){var e=t.length;!(this.data&&this.data.length===e)&&w&&(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e}},e.prototype.appendPath=function(t){if(this._saveData){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();var o=this.data;if(w&&(o instanceof Float32Array||!o)&&(this.data=new Float32Array(i+n),i>0&&o))for(var a=0;a<i;a++)this.data[a]=o[a];for(var r=0;r<e;r++)for(var s=t[r].data,a=0;a<s.length;a++)this.data[i++]=s[a];this._len=i}},e.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,w&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){h[0]=h[1]=d[0]=d[1]=Number.MAX_VALUE,p[0]=p[1]=f[0]=f[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,s=0,u=0;for(t=0;t<this._len;){var c=e[t++],g=1===t;switch(g&&(n=e[t],o=e[t+1],s=n,u=o),c){case l.M:n=s=e[t++],o=u=e[t++],d[0]=s,d[1]=u,f[0]=s,f[1]=u;break;case l.L:(0,a.j6)(n,o,e[t],e[t+1],d,f),n=e[t++],o=e[t++];break;case l.C:(0,a.BM)(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],d,f),n=e[t++],o=e[t++];break;case l.Q:(0,a.tW)(n,o,e[t++],e[t++],e[t],e[t+1],d,f),n=e[t++],o=e[t++];break;case l.A:var y=e[t++],_=e[t++],x=e[t++],b=e[t++],w=e[t++],S=e[t++]+w;t+=1;var A=!e[t++];g&&(s=v(w)*x+y,u=m(w)*b+_),(0,a.$s)(y,_,x,b,w,S,A,d,f),n=v(S)*x+y,o=m(S)*b+_;break;case l.R:s=n=e[t++],u=o=e[t++];var M=e[t++],T=e[t++];(0,a.j6)(s,u,s+M,u+T,d,f);break;case l.Z:n=s,o=u}i.min(h,h,d),i.max(p,p,f)}return 0===t&&(h[0]=h[1]=p[0]=p[1]=0),new r.Ay(h[0],h[1],p[0]-h[0],p[1]-h[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,a=0,u=0;this._pathSegLen||(this._pathSegLen=[]);for(var c=this._pathSegLen,h=0,p=0,d=0;d<e;){var f=t[d++],x=1===d;x&&(r=t[d],o=t[d+1],a=r,u=o);var w=-1;switch(f){case l.M:r=a=t[d++],o=u=t[d++];break;case l.L:var S=t[d++],A=t[d++],M=S-r,T=A-o;(_(M)>n||_(T)>i||d===e-1)&&(w=Math.sqrt(M*M+T*T),r=S,o=A);break;case l.C:var C=t[d++],k=t[d++],S=t[d++],A=t[d++],I=t[d++],D=t[d++];w=(0,s.h0)(r,o,C,k,S,A,I,D,10),r=I,o=D;break;case l.Q:var C=t[d++],k=t[d++],S=t[d++],A=t[d++];w=(0,s.d8)(r,o,C,k,S,A,10),r=S,o=A;break;case l.A:var O=t[d++],L=t[d++],P=t[d++],R=t[d++],B=t[d++],z=t[d++],N=z+B;d+=1,x&&(a=v(B)*P+O,u=m(B)*R+L),w=y(P,R)*g(b,Math.abs(z)),r=v(N)*P+O,o=m(N)*R+L;break;case l.R:a=r=t[d++],u=o=t[d++],w=2*t[d++]+2*t[d++];break;case l.Z:var M=a-r,T=u-o;w=Math.sqrt(M*M+T*T),r=a,o=u}w>=0&&(c[p++]=w,h+=w)}return this._pathLen=h,h},e.prototype.rebuildPath=function(t,e){var n,i,r,o,a,h,p,d,f,x,b=this.data,w=this._ux,S=this._uy,A=this._len,M=e<1,T=0,C=0,k=0;if(!M||(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,d=e*this._pathLen))t:for(var I=0;I<A;){var D=b[I++],O=1===I;switch(O&&(r=b[I],o=b[I+1],n=r,i=o),D!==l.L&&k>0&&(t.lineTo(f,x),k=0),D){case l.M:n=r=b[I++],i=o=b[I++],t.moveTo(r,o);break;case l.L:a=b[I++],h=b[I++];var L=_(a-r),P=_(h-o);if(L>w||P>S){if(M){var R=p[C++];if(T+R>d){var B=(d-T)/R;t.lineTo(r*(1-B)+a*B,o*(1-B)+h*B);break t}T+=R}t.lineTo(a,h),r=a,o=h,k=0}else{var z=L*L+P*P;z>k&&(f=a,x=h,k=z)}break;case l.C:var N=b[I++],E=b[I++],V=b[I++],F=b[I++],Y=b[I++],H=b[I++];if(M){var R=p[C++];if(T+R>d){var B=(d-T)/R;(0,s.YT)(r,N,V,Y,B,u),(0,s.YT)(o,E,F,H,B,c),t.bezierCurveTo(u[1],c[1],u[2],c[2],u[3],c[3]);break t}T+=R}t.bezierCurveTo(N,E,V,F,Y,H),r=Y,o=H;break;case l.Q:var N=b[I++],E=b[I++],V=b[I++],F=b[I++];if(M){var R=p[C++];if(T+R>d){var B=(d-T)/R;(0,s.kx)(r,N,V,B,u),(0,s.kx)(o,E,F,B,c),t.quadraticCurveTo(u[1],c[1],u[2],c[2]);break t}T+=R}t.quadraticCurveTo(N,E,V,F),r=V,o=F;break;case l.A:var W=b[I++],G=b[I++],Z=b[I++],U=b[I++],X=b[I++],j=b[I++],q=b[I++],$=!b[I++],Q=Z>U?Z:U,J=_(Z-U)>.001,K=X+j,tt=!1;if(M){var R=p[C++];T+R>d&&(K=X+j*(d-T)/R,tt=!0),T+=R}if(J&&t.ellipse?t.ellipse(W,G,Z,U,q,X,K,$):t.arc(W,G,Q,X,K,$),tt)break t;O&&(n=v(X)*Z+W,i=m(X)*U+G),r=v(K)*Z+W,o=m(K)*U+G;break;case l.R:n=r=b[I],i=o=b[I+1],a=b[I++],h=b[I++];var te=b[I++],tn=b[I++];if(M){var R=p[C++];if(T+R>d){var ti=d-T;t.moveTo(a,h),t.lineTo(a+g(ti,te),h),(ti-=te)>0&&t.lineTo(a+te,h+g(ti,tn)),(ti-=tn)>0&&t.lineTo(a+y(te-ti,0),h+tn),(ti-=te)>0&&t.lineTo(a,h+y(tn-ti,0));break t}T+=R}t.rect(a,h,te,tn);break;case l.Z:if(M){var R=p[C++];if(T+R>d){var B=(d-T)/R;t.lineTo(r*(1-B)+n*B,o*(1-B)+i*B);break t}T+=R}t.closePath(),r=n,o=i}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.prototype.canSave=function(){return!!this._saveData},e.CMD=l,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}(),n.d(e,{},{q:M})},zM(t,e){e.A=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}()},P7(t,e,n){var i=n("AT"),r=n("iY"),o=n("xy"),a=i.identity;function s(t){return t>5e-5||t<-5e-5}var l=[],u=[],c=i.create(),h=Math.abs,p=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return d(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(a(n),this.invTransform=null);return}n=n||i.create(),e?this.getLocalTransform(n):a(n),t&&(e?i.mul(n,t,n):i.copy(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n),this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,n)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(l);var n=l[0]<0?-1:1,i=l[1]<0?-1:1,r=((l[0]-n)*e+n)/l[0]||0,o=((l[1]-i)*e+i)/l[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}},e.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||i.create(),i.mul(u,t.invTransform,e),e=u);var n=this.originX,r=this.originY;(n||r)&&(c[4]=n,c[5]=r,i.mul(u,e,c),u[4]-=n,u[5]-=r,e=u),this.setLocalTransform(e)}},e.prototype.getGlobalScale=function(t){var e=this.transform;return(t=t||[],e)?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1])):(t[0]=1,t[1]=1),t},e.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&o.applyTransform(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&o.applyTransform(n,n,i),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){g(this,t)},e.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,h=t.y,p=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||r||s||l){var f=n+s,g=r+l;e[4]=-f*o-p*g*a,e[5]=-g*a-d*f*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=d*o,e[2]=p*a,u&&i.rotate(e,e,u),e[4]+=n+c,e[5]+=r+h,e},e.initDefaultProps=void((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0),e}(),d=p.getLocalTransform,f=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function g(t,e){return(0,r.assignProps)(t,e,f)}e.Ay=p,n.d(e,{},{Ed:d,IT:g,Rd:function(){return new p},Wx:f})},xV(t,e,n){var i=n("xy"),r=n("mq"),o=Math.min,a=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,c=i.create(),h=i.create(),p=i.create(),d=[],f=[];n.d(e,{},{$s:function(t,e,n,r,o,a,d,f,g){var y=i.min,v=i.max,m=Math.abs(o-a);if(m%u<1e-4&&m>1e-4){f[0]=t-n,f[1]=e-r,g[0]=t+n,g[1]=e+r;return}if(c[0]=l(o)*n+t,c[1]=s(o)*r+e,h[0]=l(a)*n+t,h[1]=s(a)*r+e,y(f,c,h),v(g,c,h),(o%=u)<0&&(o+=u),(a%=u)<0&&(a+=u),o>a&&!d?a+=u:o<a&&d&&(o+=u),d){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(p[0]=l(x)*n+t,p[1]=s(x)*r+e,y(f,p,f),v(g,p,g))},BM:function(t,e,n,i,s,l,u,c,h,p){var g=r.lX,y=r.Yb,v=g(t,n,s,u,d);h[0]=1/0,h[1]=1/0,p[0]=-1/0,p[1]=-1/0;for(var m=0;m<v;m++){var _=y(t,n,s,u,d[m]);h[0]=o(_,h[0]),p[0]=a(_,p[0])}v=g(e,i,l,c,f);for(var m=0;m<v;m++){var x=y(e,i,l,c,f[m]);h[1]=o(x,h[1]),p[1]=a(x,p[1])}h[0]=o(t,h[0]),p[0]=a(t,p[0]),h[0]=o(u,h[0]),p[0]=a(u,p[0]),h[1]=o(e,h[1]),p[1]=a(e,p[1]),h[1]=o(c,h[1]),p[1]=a(c,p[1])},Cr:function(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],s=i[0],l=i[1],u=i[1],c=1;c<t.length;c++)r=o(r,(i=t[c])[0]),s=a(s,i[0]),l=o(l,i[1]),u=a(u,i[1]);e[0]=r,e[1]=l,n[0]=s,n[1]=u}},j6:function(t,e,n,i,r,s){r[0]=o(t,n),r[1]=o(e,i),s[0]=a(t,n),s[1]=a(e,i)},tW:function(t,e,n,i,s,l,u,c){var h=r.gC,p=r.k3,d=a(o(h(t,n,s),1),0),f=a(o(h(e,i,l),1),0),g=p(t,n,s,d),y=p(e,i,l,f);u[0]=o(t,s,g),u[1]=o(e,l,y),c[0]=a(t,s,g),c[1]=a(e,l,y)}})},mq(t,e,n){var i=n("xy"),r=Math.pow,o=Math.sqrt,a=o(3),s=1/3,l=(0,i.create)(),u=(0,i.create)(),c=(0,i.create)();function h(t){return t>-1e-8&&t<1e-8}function p(t){return t>1e-8||t<-1e-8}function d(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function f(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}n.d(e,{},{Et:function(t,e,n,r,a,s,h,p,f,g,y){var v,m,_,x,b,w=.005,S=1/0;l[0]=f,l[1]=g;for(var A=0;A<1;A+=.05)u[0]=d(t,n,a,h,A),u[1]=d(e,r,s,p,A),(x=(0,i.distSquare)(l,u))<S&&(v=A,S=x);S=1/0;for(var M=0;M<32&&!(w<1e-4);M++)m=v-w,_=v+w,u[0]=d(t,n,a,h,m),u[1]=d(e,r,s,p,m),x=(0,i.distSquare)(u,l),m>=0&&x<S?(v=m,S=x):(c[0]=d(t,n,a,h,_),c[1]=d(e,r,s,p,_),b=(0,i.distSquare)(c,l),_<=1&&b<S?(v=_,S=b):w*=.5);return y&&(y[0]=d(t,n,a,h,v),y[1]=d(e,r,s,p,v)),o(S)},YT:function(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i},Yb:d,_E:function(t,e,n,i,l,u){var c=i+3*(e-n)-t,p=3*(n-2*e+t),d=3*(e-t),f=t-l,g=p*p-3*c*d,y=p*d-9*c*f,v=d*d-3*p*f,m=0;if(h(g)&&h(y))if(h(p))u[0]=0;else{var _=-d/p;_>=0&&_<=1&&(u[m++]=_)}else{var x=y*y-4*g*v;if(h(x)){var b=y/g,_=-p/c+b,w=-b/2;_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w)}else if(x>0){var S=o(x),A=g*p+1.5*c*(-y+S),M=g*p+1.5*c*(-y-S),_=(-p-((A=A<0?-r(-A,s):r(A,s))+(M=M<0?-r(-M,s):r(M,s))))/(3*c);_>=0&&_<=1&&(u[m++]=_)}else{var T=Math.acos((2*g*p-3*c*y)/(2*o(g*g*g)))/3,C=o(g),k=Math.cos(T),_=(-p-2*C*k)/(3*c),w=(-p+C*(k+a*Math.sin(T)))/(3*c),I=(-p+C*(k-a*Math.sin(T)))/(3*c);_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w),I>=0&&I<=1&&(u[m++]=I)}}return m},d8:function(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,c=1/a,h=1;h<=a;h++){var p=h*c,d=f(t,n,r,p),g=f(e,i,o,p),y=d-s,v=g-l;u+=Math.sqrt(y*y+v*v),s=d,l=g}return u},gC:function(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i},h0:function(t,e,n,i,r,o,a,s,l){for(var u=t,c=e,h=0,p=1/l,f=1;f<=l;f++){var g=f*p,y=d(t,n,r,a,g),v=d(e,i,o,s,g),m=y-u,_=v-c;h+=Math.sqrt(m*m+_*_),u=y,c=v}return h},k3:f,kh:function(t,e,n,r,a,s,h,p,d){var g,y=.005,v=1/0;l[0]=h,l[1]=p;for(var m=0;m<1;m+=.05){u[0]=f(t,n,a,m),u[1]=f(e,r,s,m);var _=(0,i.distSquare)(l,u);_<v&&(g=m,v=_)}v=1/0;for(var x=0;x<32&&!(y<1e-4);x++){var b=g-y,w=g+y;u[0]=f(t,n,a,b),u[1]=f(e,r,s,b);var _=(0,i.distSquare)(u,l);if(b>=0&&_<v)g=b,v=_;else{c[0]=f(t,n,a,w),c[1]=f(e,r,s,w);var S=(0,i.distSquare)(c,l);w<=1&&S<v?(g=w,v=S):y*=.5}}return d&&(d[0]=f(t,n,a,g),d[1]=f(e,r,s,g)),o(v)},kx:function(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n},lX:function(t,e,n,i,r){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(h(s)){if(p(a)){var c=-l/a;c>=0&&c<=1&&(r[u++]=c)}}else{var d=a*a-4*s*l;if(h(d))r[0]=-a/(2*s);else if(d>0){var f=o(d),c=(-a+f)/(2*s),g=(-a-f)/(2*s);c>=0&&c<=1&&(r[u++]=c),g>=0&&g<=1&&(r[u++]=g)}}return u},qY:function(t,e,n,i,r){var a=t-2*e+n,s=2*(e-t),l=t-i,u=0;if(h(a)){if(p(s)){var c=-l/s;c>=0&&c<=1&&(r[u++]=c)}}else{var d=s*s-4*a*l;if(h(d)){var c=-s/(2*a);c>=0&&c<=1&&(r[u++]=c)}else if(d>0){var f=o(d),c=(-s+f)/(2*a),g=(-s-f)/(2*a);c>=0&&c<=1&&(r[u++]=c),g>=0&&g<=1&&(r[u++]=g)}}return u},rD:function(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)},z7:function(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}})},OR(t,e,n){n.d(e,{Me:()=>y,ot:()=>d,oq:()=>p,lJ:()=>c,Yn:()=>h});var i=n("E3"),r=Math.log(2);function o(t,e,n,i,a,s){var l=i+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var c=Math.round(Math.log((1<<u)-1&~a)/r);return t[n][c]}for(var h=i|1<<n,p=n+1;i&1<<p;)p++;for(var d=0,f=0,g=0;f<u;f++){var y=1<<f;!(y&a)&&(d+=(g%2?-1:1)*t[n][f]*o(t,e-1,p,h,a|y,s),g++)}return s[l]=d,d}function a(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=o(n,8,0,0,0,i);if(0!==r){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(n,7,+(0===s),1<<s,1<<l,i)/r*e[s];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var s=n("iY"),l="___zrEVENTSAVED",u=[];function c(t,e,n,i,r){return p(u,e,i,r,!0)&&p(t,n,u[0],u[1])}function h(t,e){function n(t){var e=t[l];e&&(e.clearMarkers&&e.clearMarkers(),delete t[l])}t&&n(t),e&&n(e)}function p(t,e,n,r,o){if(e.getBoundingClientRect&&i.A.domSupported&&!d(e)){var u=e[l]||(e[l]={}),c=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,s=[],l=[],u=!0,c=0;c<4;c++){var h=t[c].getBoundingClientRect(),p=2*c,d=h.left,f=h.top;s.push(d,f),u=u&&o&&d===o[p]&&f===o[p+1],l.push(t[c].offsetLeft,t[c].offsetTop)}return u&&r?r:(e.srcCoords=s,e[i]=n?a(l,s):a(s,l))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),l=a.style,u=o%2,c=(o>>1)%2;l.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[u]+":0",r[c]+":0",i[1-u]+":auto",r[1-c]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return e.clearMarkers=function(){(0,s.each)(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})},n}(e,u),u,o);if(c)return c(t,n,r),!0}return!1}function d(t){return"CANVAS"===t.nodeName.toUpperCase()}var f=/([&<>"'])/g,g={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function y(t){return null==t?"":(t+"").replace(f,function(t,e){return g[e]})}},E3(t,e){var n=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},i=new function(){this.browser=new n,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="u">typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(i.wxa=!0,i.touchEventsSupported=!0):"u"<typeof document&&"u">typeof self?i.worker=!0:!i.hasGlobalWindow||"Deno"in window||"u">typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Node.js")>-1?(i.node=!0,i.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);if(i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="u">typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="u">typeof document){var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}}(navigator.userAgent,i),e.A=i},lX(t,e,n){var i=n("E3"),r=n("OR"),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=i.A.browser.firefox&&39>+i.A.browser.version.split(".")[0];function l(t,e,n,i){return n=n||{},i?u(t,e,n):s&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):u(t,e,n),n}function u(t,e,n){if(i.A.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,r.ot)(t)){var l=t.getBoundingClientRect();n.zrX=o-l.left,n.zrY=s-l.top;return}if((0,r.oq)(a,t,o,s)){n.zrX=a[0],n.zrY=a[1];return}}n.zrX=n.zrY=0}function c(t){return t||window.event}n.d(e,{},{W5:function(t){return 2===t.which||3===t.which},Yo:l,ds:function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0},e0:function(t,e,n){if(null!=(e=c(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&l(t,r,e,n)}else{l(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;return null==n||null==i?e:3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e},f:function(t,e,n,i){t.removeEventListener(e,n,i)},mK:c,q2:function(t,e,n,i){t.addEventListener(e,n,i)}})},AT(t,e,n){function i(){return[1,0,0,1,0,0]}function r(t,e){return 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}n.r(e),n.d(e,{},{clone:function(t){var e=i();return r(e,t),e},copy:r,create:i,identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t},invert:function(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null},mul:function(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t},rotate:function(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],c=Math.sin(n),h=Math.cos(n);return t[0]=r*h+s*c,t[1]=-r*c+s*h,t[2]=o*h+l*c,t[3]=-o*c+h*l,t[4]=h*(a-i[0])+c*(u-i[1])+i[0],t[5]=h*(u-i[1])-c*(a-i[0])+i[1],t},scale:function(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t},translate:function(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}})},mZ(t,e,n){var i,r,o="sans-serif",a="12px "+o,s=function(t){var e={};if("u"<typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),l={createCanvas:function(){return"u">typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!i){var n=l.createCanvas();i=n&&n.getContext("2d")}if(i)return r!==e&&(r=i.font=e||a),i.measureText(t);t=t||"",e=e||a;var o=/((?:\d+)?\.?\d*)px/.exec(e),u=o&&+o[1]||12,c=0;if(e.indexOf("mono")>=0)c=u*t.length;else for(var h=0;h<t.length;h++){var p=s[t[h]];c+=null==p?u:p*u}return{width:c}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i},getTime:function(){return Date.now?Date.now():+new Date}};n.d(e,{},{Gs:function(t){for(var e in l)l.hasOwnProperty(e)&&t[e]&&(l[e]=t[e])},OH:a,gI:12,yh:l,zs:o})},Ly(t,e,n){function i(t,e,n,i){var r=e+1;if(r===n)return 1;if(0>i(t[r++],t[e])){for(;r<n&&0>i(t[r],t[r-1]);)r++;var o=t,a=e,s=r;for(s--;a<s;){var l=o[a];o[a++]=o[s],o[s--]=l}}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function r(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)0>r(a,t[o=s+l>>>1])?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function o(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&0>=o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function a(t,e,n,i,r,o){var a=0,s=0,l=1;if(0>o(t,e[n+r])){for(s=r+1;l<s&&0>o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var c=a+(l-a>>>1);0>o(t,e[n+c])?l=c:a=c+1}return l}n.d(e,{},{A:function(t,e,n,s){n||(n=0),s||(s=t.length);var l=s-n;if(!(l<2)){var u=0;if(l<32){u=i(t,n,s,e),r(t,n,s,n+u,e);return}var c=function(t,e){var n,i,r=7,s=0,l=[];function u(u){var c=n[u],h=i[u],p=n[u+1],d=i[u+1];i[u]=h+d,u===s-3&&(n[u+1]=n[u+2],i[u+1]=i[u+2]),s--;var f=a(t[p],t,c,h,0,e);c+=f,0==(h-=f)||0!==(d=o(t[c+h-1],t,p,d,d-1,e))&&(h<=d?function(n,i,s,u){var c,h,p,d=0;for(d=0;d<i;d++)l[d]=t[n+d];var f=0,g=s,y=n;if(t[y++]=t[g++],0==--u){for(d=0;d<i;d++)t[y+d]=l[f+d];return}if(1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f];return}for(var v=r;;){c=0,h=0,p=!1;do if(0>e(t[g],l[f])){if(t[y++]=t[g++],h++,c=0,0==--u){p=!0;break}}else if(t[y++]=l[f++],c++,h=0,1==--i){p=!0;break}while((c|h)<v)if(p)break;do{if(0!==(c=a(t[g],l,f,i,0,e))){for(d=0;d<c;d++)t[y+d]=l[f+d];if(y+=c,f+=c,(i-=c)<=1){p=!0;break}}if(t[y++]=t[g++],0==--u){p=!0;break}if(0!==(h=o(l[f],t,g,u,0,e))){for(d=0;d<h;d++)t[y+d]=t[g+d];if(y+=h,g+=h,0==(u-=h)){p=!0;break}}if(t[y++]=l[f++],1==--i){p=!0;break}v--}while(c>=7||h>=7)if(p)break;v<0&&(v=0),v+=2}if((r=v)<1&&(r=1),1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f]}else if(0===i)throw Error();else for(d=0;d<i;d++)t[y+d]=l[f+d]}(c,h,p,d):function(n,i,s,u){var c=0;for(c=0;c<u;c++)l[c]=t[s+c];var h=n+i-1,p=u-1,d=s+u-1,f=0,g=0;if(t[d--]=t[h--],0==--i){for(f=d-(u-1),c=0;c<u;c++)t[f+c]=l[c];return}if(1===u){for(d-=i,h-=i,g=d+1,f=h+1,c=i-1;c>=0;c--)t[g+c]=t[f+c];t[d]=l[p];return}for(var y=r;;){var v=0,m=0,_=!1;do if(0>e(l[p],t[h])){if(t[d--]=t[h--],v++,m=0,0==--i){_=!0;break}}else if(t[d--]=l[p--],m++,v=0,1==--u){_=!0;break}while((v|m)<y)if(_)break;do{if(0!=(v=i-a(l[p],t,n,i,i-1,e))){for(d-=v,h-=v,i-=v,g=d+1,f=h+1,c=v-1;c>=0;c--)t[g+c]=t[f+c];if(0===i){_=!0;break}}if(t[d--]=l[p--],1==--u){_=!0;break}if(0!=(m=u-o(t[h],l,0,u,u-1,e))){for(d-=m,p-=m,u-=m,g=d+1,f=p+1,c=0;c<m;c++)t[g+c]=l[f+c];if(u<=1){_=!0;break}}if(t[d--]=t[h--],0==--i){_=!0;break}y--}while(v>=7||m>=7)if(_)break;y<0&&(y=0),y+=2}if((r=y)<1&&(r=1),1===u){for(d-=i,h-=i,g=d+1,f=h+1,c=i-1;c>=0;c--)t[g+c]=t[f+c];t[d]=l[p]}else if(0===u)throw Error();else for(f=d-(u-1),c=0;c<u;c++)t[f+c]=l[c]}(c,h,p,d))}return n=[],i=[],{mergeRuns:function(){for(;s>1;){var t=s-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;u(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&i[t-1]<i[t+1]&&t--,u(t)}},pushRun:function(t,e){n[s]=t,i[s]=e,s+=1}}}(t,e),h=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(l);do{if((u=i(t,n,s,e))<h){var p=l;p>h&&(p=h),r(t,n,n+p,n+u,e),u=p}c.pushRun(n,u),c.mergeRuns(),l-=u,n+=u}while(0!==l)c.forceMergeRuns()}}})},qY(t,e,n){n.d(e,{},{$z:0,XM:2,cw:1,jP:1,r4:0})},iY(t,e,n){n.r(e);var i=n("mZ"),r=w(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=w(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,h=s.map,p=(function(){}).constructor,d=p?p.prototype:null,f="__proto__",g=2311;function y(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!L(t)){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=y(t[i])}}else if(o[n]){if(!L(t)){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else if(!r[n]&&!L(t)&&!I(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==f&&(e[u]=y(t[u]));return e}function v(t,e,n){if(!C(e)||!C(t))return n?y(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==f){var r=t[i],o=e[i];!(C(o)&&C(r))||M(o)||M(r)||I(o)||I(r)||k(o)||k(r)||L(o)||L(r)?!n&&i in t||(t[i]=y(e[i])):v(r,o,n)}return t}function m(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==f&&(t[n]=e[n]);return t}function _(t,e,n){for(var i=S(e),r=0,o=i.length;r<o;r++){var a=i[r];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}var x=i.yh.createCanvas;function b(t,e,n){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function w(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function S(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var A=d&&T(d.bind)?d.call.bind(d.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(c.call(arguments)))}};function M(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function T(t){return"function"==typeof t}function C(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function k(t){return!!r[a.call(t)]}function I(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function D(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return c.apply(t,e)}var O="__ec_primitive__";function L(t){return t[O]}var P=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return S(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),R="function"==typeof Map,B=function(){function t(e){var n=M(e);this.data=R?new Map:new P;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&b(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(n,i){t.call(e,n,i)})},t.prototype.keys=function(){var t=this.data.keys();return R?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}(),z=180/Math.PI,N=Number.EPSILON||2220446049250313e-31;n.d(e,{},{EPSILON:N,HashMap:B,RADIAN_TO_DEGREE:z,assert:function(t,e){if(!t)throw Error(e)},assignProps:function(t,e,n){t=t||{};for(var i=0;i<n.length;i++){var r=n[i];t[r]=e[r]}return t},bind:A,clone:y,concatArray:function(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];for(var r=t.length,i=0;i<e.length;i++)n[i+r]=e[i];return n},createCanvas:x,createHashMap:function(t){return new B(t)},createObject:function(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&m(n,e),n},curry:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(c.call(arguments)))}},defaults:_,disableUserSelect:function(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"},each:b,eqNaN:function(t){return t!=t},extend:m,filter:function(t,e,n){if(!t)return[];if(!e)return D(t);if(t.filter&&t.filter===u)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i},find:function(t,e,n){if(t&&e){for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}},guid:function(){return g>=0x1fffffffffffff&&(g=0),g++},hasOwn:function(t,e){return t.hasOwnProperty(e)},indexOf:function(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return -1},inherits:function(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e},isArray:M,isArrayLike:function(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length},isBuiltInObject:k,isDom:I,isFunction:T,isGradientObject:function(t){return null!=t.colorStops},isImagePatternObject:function(t){return null!=t.image},isNumber:function(t){return"number"==typeof t},isObject:C,isPrimitive:L,isRegExp:function(t){return"[object RegExp]"===a.call(t)},isString:function(t){return"string"==typeof t},isStringSafe:function(t){return"[object String]"===a.call(t)},isTypedArray:function(t){return!!o[a.call(t)]},keys:S,logError:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"u">typeof console&&console.error.apply(console,t)},map:function(t,e,n){if(!t)return[];if(!e)return D(t);if(t.map&&t.map===h)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i},merge:v,mergeAll:function(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=v(n,t[i],e);return n},mixin:function(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else _(t,e,n)},noop:function(){},normalizeCssArray:function(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t},reduce:w,retrieve:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]},retrieve2:function(t,e){return null!=t?t:e},retrieve3:function(t,e,n){return null!=t?t:null!=e?e:n},setAsPrimitive:function(t){t[O]=!0},slice:D,trim:function(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}})},xy(t,e,n){function i(t){return Math.sqrt(r(t))}function r(t){return t[0]*t[0]+t[1]*t[1]}function o(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function a(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}n.r(e),n.d(e,{},{add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},applyTransform:function(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t},clone:function(t){return[t[0],t[1]]},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},create:function(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]},dist:o,distSquare:a,distance:o,distanceSquare:a,div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},len:i,lenSquare:r,length:i,lengthSquare:r,lerp:function(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){var n=i(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t},scale:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},scaleAndAdd:function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t},set:function(t,e,n){return t[0]=e,t[1]=n,t},sub:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}})},zY(t,e,n){var i=n("SJG"),r=n("Pk");e.A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,i.C6)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),r.Ay.prototype.getBoundingRect.call(this)},e}(r.Ay)},el(t,e,n){var i=n("SJG"),r=n("Qc"),o=n("Y8"),a=n("iY"),s=n("ke"),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},c={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var h=["z","z2","invisible"],p=["invisible"],d=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.C6)(n,t),n.prototype._init=function(e){for(var n=(0,a.keys)(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},n.prototype.beforeBrush=function(t){},n.prototype.afterBrush=function(){},n.prototype.innerBeforeBrush=function(){},n.prototype.innerAfterBrush=function(){},n.prototype.shouldBePainted=function(t,e,n,i){var r,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(r=this,o=t,a=e,f.copy(r.getBoundingRect()),r.transform&&f.applyTransform(r.transform),g.width=o,g.height=a,!f.intersect(g))||s&&!s[0]&&!s[3])return!1;if(n&&this.__clipPaths&&this.__clipPaths.length){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(i&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},n.prototype.contain=function(t,e){return this.rectContain(t,e)},n.prototype.traverse=function(t,e){t.call(e,this)},n.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},n.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.Ay(0,0,0,0)),e?o.Ay.applyTransform(t,n,e):t.copy(n),(r||a||s)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(s),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+s-r));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},n.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.Ay(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},n.prototype.getPrevPaintRect=function(){return this._prevPaintRect},n.prototype.animateStyle=function(t){return this.animate("style",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},n.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},n.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.extend)(this.style,t),this.dirtyStyle(),this},n.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.pO,this._rect&&(this._rect=null)},n.prototype.dirty=function(){this.dirtyStyle()},n.prototype.styleChanged=function(){return!!(this.__dirty&s.pO)},n.prototype.styleUpdated=function(){this.__dirty&=~s.pO},n.prototype.createStyle=function(t){return(0,a.createObject)(u,t)},n.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.style=t,this.dirtyStyle()},n.prototype._useHoverStyle=function(t){this.__hoverStyle=t},n.prototype.isStyleObject=function(t){return t[l]},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,h)},n.prototype._applyStateObj=function(e,n,i,o,s,l){t.prototype._applyStateObj.call(this,e,n,i,o,s,l);var u,c=!(n&&o),d=this.__inHover===r.yx;if(n&&n.style?s?o?u=n.style:(u=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(u,n.style)):(u=this._mergeStyle(this.createStyle(),o?this.style:i.style),this._mergeStyle(u,n.style)):c&&(u=i.style),u)if(s){var f=this.style;if(this.style=this.createStyle(c?{}:f),c)for(var g=(0,a.keys)(f),y=0;y<g.length;y++){var v=g[y];v in u&&(u[v]=u[v],this.style[v]=f[v])}for(var m=(0,a.keys)(u),y=0;y<m.length;y++){var v=m[y];this.style[v]=this.style[v]}this._transitionState(e,{style:u},l,this.getAnimationStyleProps())}else d?this._useHoverStyle(u):this.useStyle(u);if(!d)for(var _=this.__inHover?p:h,y=0;y<_.length;y++){var v=_[y];n&&null!=n[v]?this[v]=n[v]:c&&null!=i[v]&&(this[v]=i[v])}},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},n.prototype._mergeStyle=function(t,e){return(0,a.extend)(t,e),t},n.prototype.getAnimationStyleProps=function(){return c},n.initDefaultProps=void((e=n.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=0,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.M|s.pO),n}(r.Ay),f=new o.Ay(0,0,0,0),g=new o.Ay(0,0,0,0);e.Ay=d,n.d(e,{},{oN:u,sW:c})},b8(t,e){e.A=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},jZ(t,e,n){var i=n("SJG"),r=n("iY"),o=n("Qc"),a=n("Y8"),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,i.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=r.indexOf(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=r.indexOf(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.Ay(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(a.Ay.applyTransform(e,l,u),(r=r||e.clone()).union(e)):(r=r||l.clone()).union(l)}}return r||e},e}(o.Ay);s.prototype.type="group",e.A=s},s5(t,e,n){var i=n("SJG"),r=n("el"),o=n("Y8"),a=n("iY"),s=(0,a.defaults)({x:0,y:0},r.oN),l={style:(0,a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},r.sW.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.createStyle=function(t){return(0,a.createObject)(s,t)},e.prototype._getSize=function(t){var e,n=this.style,i=n[t];if(null!=i)return i;var r=(e=n.image)&&"string"!=typeof e&&e.width&&e.height?n.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=n[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.Ay(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(r.Ay);u.prototype.type="image",e.Ay=u},zv(t,e,n){var i=n("SJG"),r=n("el"),o=n("Y8"),a=n("qY"),s=[];e.A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=a.jP,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,i.C6)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype._useHoverStyle=function(){this.__hoverStyle=null},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(var e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o.Ay(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(s)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1])){for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0}return!1},e}(r.Ay)},Up(t,e,n){var i=n("SJG");e.A=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return(0,i.C6)(e,t),e}(n("b8").A)},Pk(t,e,n){n.d(e,{MW:()=>S,Ay:()=>T});var i=n("SJG"),r=n("el"),o=n("Qc"),a=n("Ig"),s=n("e6"),l=n("mq"),u=n("q9"),c=n("QW"),h=2*Math.PI,p=n("Zv"),d=a.A.CMD,f=2*Math.PI,g=[-1,-1,-1],y=[-1,-1];function v(t,e,n,i,r){for(var o,a,v=t.data,m=t.len(),_=0,x=0,b=0,w=0,S=0,A=0;A<m;){var M,T,C,k,I,D,O,L,P=v[A++],R=1===A;switch(P===d.M&&A>1&&!n&&(_+=(0,p.A)(x,b,w,S,i,r)),R&&(x=v[A],b=v[A+1],w=x,S=b),P){case d.M:w=v[A++],S=v[A++],x=w,b=S;break;case d.L:if(n){if(s.l(x,b,v[A],v[A+1],e,i,r))return!0}else _+=(0,p.A)(x,b,v[A],v[A+1],i,r)||0;x=v[A++],b=v[A++];break;case d.C:if(n){if(M=x,T=b,C=v[A++],k=v[A++],I=v[A++],D=v[A++],O=v[A],L=v[A+1],0!==e&&(!(r>T+e)||!(r>k+e)||!(r>D+e)||!(r>L+e))&&(!(r<T-e)||!(r<k-e)||!(r<D-e)||!(r<L-e))&&(!(i>M+e)||!(i>C+e)||!(i>I+e)||!(i>O+e))&&(!(i<M-e)||!(i<C-e)||!(i<I-e)||!(i<O-e))&&l.Et(M,T,C,k,I,D,O,L,i,r,null)<=e/2)return!0}else _+=function(t,e,n,i,r,o,a,s,u,c){if(c>e&&c>i&&c>o&&c>s||c<e&&c<i&&c<o&&c<s)return 0;var h=l._E(e,i,o,s,c,g);if(0===h)return 0;for(var p=0,d=-1,f=void 0,v=void 0,m=0;m<h;m++){var _=g[m],x=0===_||1===_?.5:1;l.Yb(t,n,r,a,_)<u||(d<0&&(d=l.lX(e,i,o,s,y),y[1]<y[0]&&d>1&&function(){var t=y[0];y[0]=y[1],y[1]=t}(),f=l.Yb(e,i,o,s,y[0]),d>1&&(v=l.Yb(e,i,o,s,y[1]))),2===d?_<y[0]?p+=f<e?x:-x:_<y[1]?p+=v<f?x:-x:p+=s<v?x:-x:_<y[0]?p+=f<e?x:-x:p+=s<f?x:-x)}return p}(x,b,v[A++],v[A++],v[A++],v[A++],v[A],v[A+1],i,r)||0;x=v[A++],b=v[A++];break;case d.Q:if(n){if(u.l(x,b,v[A++],v[A++],v[A],v[A+1],e,i,r))return!0}else _+=function(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var u=l.qY(e,i,o,s,g);if(0===u)return 0;var c=l.gC(e,i,o);if(c>=0&&c<=1){for(var h=0,p=l.k3(e,i,o,c),d=0;d<u;d++){var f=0===g[d]||1===g[d]?.5:1,y=l.k3(t,n,r,g[d]);y<a||(g[d]<c?h+=p<e?f:-f:h+=o<p?f:-f)}return h}var f=0===g[0]||1===g[0]?.5:1,y=l.k3(t,n,r,g[0]);return y<a?0:o<e?f:-f}(x,b,v[A++],v[A++],v[A],v[A+1],i,r)||0;x=v[A++],b=v[A++];break;case d.A:var B=v[A++],z=v[A++],N=v[A++],E=v[A++],V=v[A++],F=v[A++];A+=1;var Y=!!(1-v[A++]);o=Math.cos(V)*N+B,a=Math.sin(V)*E+z,R?(w=o,S=a):_+=(0,p.A)(x,b,o,a,i,r);var H=(i-B)*E/N+B;if(n){if(function(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=Math.sqrt((s-=t)*s+(l-=e)*l);if(u-a>n||u+a<n)return!1;if(Math.abs(i-r)%h<1e-4)return!0;if(o){var p=i;i=(0,c.n)(r),r=(0,c.n)(p)}else i=(0,c.n)(i),r=(0,c.n)(r);i>r&&(r+=h);var d=Math.atan2(l,s);return d<0&&(d+=h),d>=i&&d<=r||d+h>=i&&d+h<=r}(B,z,E,V,V+F,Y,e,H,r))return!0}else _+=function(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);g[0]=-l,g[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=f-1e-4){i=0,r=f;var c=o?1:-1;return a>=g[0]+t&&a<=g[1]+t?c:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=f,r+=f);for(var p=0,d=0;d<2;d++){var y=g[d];if(y+t>a){var v=Math.atan2(s,y),c=o?1:-1;v<0&&(v=f+v),(v>=i&&v<=r||v+f>=i&&v+f<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(c=-c),p+=c)}}return p}(B,z,E,V,V+F,Y,H,r);x=Math.cos(V+F)*N+B,b=Math.sin(V+F)*E+z;break;case d.R:w=x=v[A++],S=b=v[A++];var W=v[A++],G=v[A++];if(o=w+W,a=S+G,n){if(s.l(w,S,o,S,e,i,r)||s.l(o,S,o,a,e,i,r)||s.l(o,a,w,a,e,i,r)||s.l(w,a,w,S,e,i,r))return!0}else _+=(0,p.A)(o,S,o,a,i,r),_+=(0,p.A)(w,a,w,S,i,r);break;case d.Z:if(n){if(s.l(x,b,w,S,e,i,r))return!0}else _+=(0,p.A)(x,b,w,S,i,r);x=w,b=S}}return n||1e-4>Math.abs(b-S)||(_+=(0,p.A)(x,b,w,S,i,r)||0),0!==_}var m=n("iY"),_=n("x4z"),x=n("Yo"),b=n("ke"),w=n("P7"),S=(0,m.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.oN),A={style:(0,m.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.sW.style)},M=w.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]),T=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.C6)(n,t),n.prototype.update=function(){var e=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new n;r.buildPath===n.prototype.buildPath&&(r.buildPath=function(t){e.buildPath(t,e.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<M.length;++s)r[M[s]]=this[M[s]];r.__dirty|=b.M}else this._decalEl&&(this._decalEl=null)},n.prototype.getDecalElement=function(){return this._decalEl},n.prototype._init=function(e){var n=(0,m.keys)(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?(0,m.extend)(this.style,a):this.useStyle(a):"shape"===o?(0,m.extend)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},n.prototype.getDefaultStyle=function(){return null},n.prototype.getDefaultShape=function(){return{}},n.prototype.canBeInsideText=function(){return this.hasFill()},n.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,m.isString)(t)){var e=(0,_.lum)(t,0);return e>.5?x._S:e>.2?x.tY:x.el}else if(t)return x.el}return x._S},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,m.isString)(e)){var n=this.__zr;if(!!(n&&n.isDarkMode())==(0,_.lum)(t,0)<x.ps)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=~b.Dl},n.prototype.getUpdatedPathProxy=function(t){return this.path||this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},n.prototype.createPathProxy=function(){this.path=new a.A(!1)},n.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&b.Dl)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),v(o,a/s,!0,t,e)))return!0}if(this.hasFill())return v(o,0,!1,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=b.Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(t){return this.animate("shape",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},n.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:(0,m.extend)(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(this.__dirty&b.Dl)},n.prototype.createStyle=function(t){return(0,m.createObject)(S,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,m.extend)({},this.shape))},n.prototype._applyStateObj=function(e,n,i,r,a,s){if(t.prototype._applyStateObj.call(this,e,n,i,r,a,s),this.__inHover!==o.yx){var l,u=!(n&&r);if(n&&n.shape?a?r?l=n.shape:(l=(0,m.extend)({},i.shape),(0,m.extend)(l,n.shape)):(l=(0,m.extend)({},r?this.shape:i.shape),(0,m.extend)(l,n.shape)):u&&(l=i.shape),l)if(a){this.shape=(0,m.extend)({},this.shape);for(var c={},h=(0,m.keys)(l),p=0;p<h.length;p++){var d=h[p];"object"==typeof l[d]?this.shape[d]=l[d]:c[d]=l[d]}this._transitionState(e,{shape:c},s)}else this.shape=l,this.dirtyShape()}},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},n.prototype.getAnimationStyleProps=function(){return A},n.prototype.isZeroArea=function(){return!1},n.extend=function(t){var e=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return(0,i.C6)(n,e),n.prototype.getDefaultStyle=function(){return(0,m.clone)(t.style)},n.prototype.getDefaultShape=function(){return(0,m.clone)(t.shape)},n}(n);for(var r in t)"function"==typeof t[r]&&(e.prototype[r]=t[r]);return e},n.initDefaultProps=void((e=n.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=b.M|b.pO|b.Dl),n}(r.Ay)},M6(t,e,n){var i=n("SJG");e.A=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return(0,i.C6)(e,t),e}(n("b8").A)},Ne(t,e,n){var i=n("SJG"),r=n("el"),o=n("Pk"),a=n("iY"),s=n("mZ"),l=n("JQ"),u=(0,a.defaults)({strokeFirst:!0,font:s.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},o.MW),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.hasStroke=function(){return(0,l.n7)(this.style)},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,a.createObject)(u,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){return this._rect||(this._rect=(0,l.Xf)(this.style)),this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(r.Ay);c.prototype.type="tspan",e.A=c},s2(t,e,n){var i=n("SJG"),r=n("JQ"),o=n("Ne"),a=n("iY"),s=n("KO"),l=n("s5"),u=n("Vb"),c=n("Y8"),h=n("el"),p=n("mZ"),d={fill:"#000"},f={},g={style:(0,a.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},h.sW.style)},y=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=d,n.attr(e),n}return(0,i.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,S(t=this.style),(0,a.each)(t.rich,S),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new c.Ay(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||d},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return(0,a.extend)(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=(0,a.keys)(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},(0,a.extend)(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return g},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||p.OH,n=t.padding,i=this._defaultStyle,a=t.x||0,l=t.y||0,u=t.align||i.align||"left",c=t.verticalAlign||i.verticalAlign||"top";(0,r.Ss)(f,i.overflowRect,a,l,u,c),a=f.baseX,l=f.baseY;var h=C(t),d=(0,r.j_)(h,t,f.outerWidth,f.outerHeight),g=k(t),y=!!t.backgroundColor,v=d.outerHeight,m=d.outerWidth,_=d.lines,x=d.lineHeight;this.isTruncated=!!d.isTruncated;var w=a,S=(0,s.sZ)(l,d.contentHeight,c);if(g||n){var I=(0,s.ll)(a,m,u),D=(0,s.sZ)(l,v,c);g&&this._renderBackground(t,t,I,D,m,v)}S+=x/2,n&&(w=T(a,u,n),"top"===c?S+=n[0]:"bottom"===c&&(S-=n[2]));for(var O=0,L=!1,P=!1,R=M("fill"in t?t.fill:(P=!0,i.fill)),B=A("stroke"in t?t.stroke:y||i.autoStroke&&!P?null:(O=2,L=!0,i.stroke)),z=t.textShadowBlur>0,N=0;N<_.length;N++){var E=this._getOrCreateChild(o.A),V=E.createStyle();E.useStyle(V),V.text=_[N],V.x=w,V.y=S,u&&(V.textAlign=u),V.textBaseline="middle",V.opacity=t.opacity,V.strokeFirst=!0,z&&(V.shadowBlur=t.textShadowBlur||0,V.shadowColor=t.textShadowColor||"transparent",V.shadowOffsetX=t.textShadowOffsetX||0,V.shadowOffsetY=t.textShadowOffsetY||0),V.stroke=B,V.fill=R,B&&(V.lineWidth=t.lineWidth||O,V.lineDash=t.lineDash,V.lineDashOffset=t.lineDashOffset||0),V.font=e,b(V,t),S+=x,E.setBoundingRect((0,r.xu)(V,d.contentWidth,d.calculatedLineHeight,L?0:null))}},e.prototype._updateRichTexts=function(){var t=this.style,e=this._defaultStyle,n=t.align||e.align,i=t.verticalAlign||e.verticalAlign,o=t.x||0,a=t.y||0;(0,r.Ss)(f,e.overflowRect,o,a,n,i),o=f.baseX,a=f.baseY;var l=C(t),u=(0,r.FQ)(l,t,f.outerWidth,f.outerHeight,n),c=u.width,h=u.outerWidth,p=u.outerHeight,d=t.padding;this.isTruncated=!!u.isTruncated;var g=(0,s.ll)(o,h,n),y=(0,s.sZ)(a,p,i),v=g,m=y;d&&(v+=d[3],m+=d[0]);var _=v+c;k(t)&&this._renderBackground(t,t,g,y,h,p);for(var x=!!t.backgroundColor,b=0;b<u.lines.length;b++){for(var w=u.lines[b],S=w.tokens,A=S.length,M=w.lineHeight,T=w.width,I=0,D=v,O=_,L=A-1,P=void 0;I<A&&(!(P=S[I]).align||"left"===P.align);)this._placeToken(P,t,M,m,D,"left",x),T-=P.width,D+=P.width,I++;for(;L>=0&&"right"===(P=S[L]).align;)this._placeToken(P,t,M,m,O,"right",x),T-=P.width,O-=P.width,L--;for(D+=(c-(D-v)-(_-O)-T)/2;I<=L;)P=S[I],this._placeToken(P,t,M,m,D+P.width/2,"center",x),D+=P.width,I++;m+=M}},e.prototype._placeToken=function(t,e,n,i,s,l,u){var c=e.rich[t.styleName]||{};c.text=t.text;var h=t.verticalAlign,d=i+n/2;"top"===h?d=i+t.height/2:"bottom"===h&&(d=i+n-t.height/2),!t.isLineHolder&&k(c)&&this._renderBackground(c,e,"right"===l?s-t.width:"center"===l?s-t.width/2:s,d-t.height/2,t.width,t.height);var f=!!c.backgroundColor,g=t.textPadding;g&&(s=T(s,l,g),d-=t.height/2-g[0]-t.innerHeight/2);var y=this._getOrCreateChild(o.A),v=y.createStyle();y.useStyle(v);var m=this._defaultStyle,_=!1,x=0,w=!1,S=M("fill"in c?c.fill:"fill"in e?e.fill:(_=!0,m.fill)),C=A("stroke"in c?c.stroke:"stroke"in e?e.stroke:f||u||m.autoStroke&&!_?null:(x=2,w=!0,m.stroke)),I=c.textShadowBlur>0||e.textShadowBlur>0;v.text=t.text,v.x=s,v.y=d,I&&(v.shadowBlur=c.textShadowBlur||e.textShadowBlur||0,v.shadowColor=c.textShadowColor||e.textShadowColor||"transparent",v.shadowOffsetX=c.textShadowOffsetX||e.textShadowOffsetX||0,v.shadowOffsetY=c.textShadowOffsetY||e.textShadowOffsetY||0),v.textAlign=l,v.textBaseline="middle",v.font=t.font||p.OH,v.opacity=(0,a.retrieve3)(c.opacity,e.opacity,1),b(v,c),C&&(v.lineWidth=(0,a.retrieve3)(c.lineWidth,e.lineWidth,x),v.lineDash=(0,a.retrieve2)(c.lineDash,e.lineDash),v.lineDashOffset=e.lineDashOffset||0,v.stroke=C),S&&(v.fill=S),y.setBoundingRect((0,r.xu)(v,t.contentWidth,t.contentHeight,w?0:null))},e.prototype._renderBackground=function(t,e,n,i,r,o){var s,c,h=t.backgroundColor,p=t.borderWidth,d=t.borderColor,f=h&&h.image,g=h&&!f,y=t.borderRadius,v=this;if(g||t.lineHeight||p&&d){(s=this._getOrCreateChild(u.A)).useStyle(s.createStyle()),s.style.fill=null;var m=s.shape;m.x=n,m.y=i,m.width=r,m.height=o,m.r=y,s.dirtyShape()}if(g){var _=s.style;_.fill=h||null,_.fillOpacity=(0,a.retrieve2)(t.fillOpacity,1)}else if(f){(c=this._getOrCreateChild(l.Ay)).onload=function(){v.dirtyStyle()};var x=c.style;x.image=h.image,x.x=n,x.y=i,x.width=r,x.height=o}if(p&&d){var _=s.style;_.lineWidth=p,_.stroke=d,_.strokeOpacity=(0,a.retrieve2)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var b=(s||c).style;b.shadowBlur=t.shadowBlur||0,b.shadowColor=t.shadowColor||"transparent",b.shadowOffsetX=t.shadowOffsetX||0,b.shadowOffsetY=t.shadowOffsetY||0,b.opacity=(0,a.retrieve3)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return w(t)&&(e=[t.fontStyle,t.fontWeight,x(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&(0,a.trim)(e)||t.textFont||t.font},e}(h.Ay),v={left:!0,right:1,center:1},m={top:1,bottom:1,middle:1},_=["fontStyle","fontWeight","fontSize","fontFamily"];function x(t){return"string"==typeof t&&(-1!==t.indexOf("px")||-1!==t.indexOf("rem")||-1!==t.indexOf("em"))?t:isNaN(+t)?p.gI+"px":t+"px"}function b(t,e){for(var n=0;n<_.length;n++){var i=_[n],r=e[i];null!=r&&(t[i]=r)}}function w(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function S(t){if(t){t.font=y.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||v[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||m[n]?n:"top",t.padding&&(t.padding=(0,a.normalizeCssArray)(t.padding))}}function A(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function M(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function T(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function C(t){var e=t.text;return null!=e&&(e+=""),e}function k(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}e.Ay=y,n.d(e,{},{I5:x,XE:w})},ke(t,e,n){n.d(e,{},{Dl:4,M:1,pO:2})},T0(t,e,n){var i=n("B5"),r=n("mZ"),o=new i.Ay(50);function a(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function s(t){return t&&t.width&&t.height}n.d(e,{},{OD:function(t,e,n,i,l){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!n)return e;var u=o.get(t),c={hostEl:n,cb:i,cbPayload:l};return u?s(e=u.image)||u.pending.push(c):((e=r.yh.loadImage(t,a,a)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[c]})),e},SR:function(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image},xA:s})},JQ(t,e,n){var i=n("T0"),r=n("iY"),o=n("KO"),a=n("Y8"),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(t,e,n,i,r,o){if(!n){t.text="",t.isTruncated=!1;return}var a=(e+"").split("\n");o=u(n,i,r,o);for(var s=!1,l={},h=0,p=a.length;h<p;h++)c(l,a[h],o),a[h]=l.textLine,s=s||l.isTruncated;t.text=a.join("\n"),t.isTruncated=s}function u(t,e,n,i){i=i||{};var a=(0,r.extend)({},i);n=(0,r.retrieve2)(n,"..."),a.maxIterations=(0,r.retrieve2)(i.maxIterations,2);var s=a.minChar=(0,r.retrieve2)(i.minChar,0),l=a.fontMeasureInfo=(0,o.Qw)(e),u=l.asciiCharWidth;a.placeholder=(0,r.retrieve2)(i.placeholder,"");for(var c=t=Math.max(0,t-1),h=0;h<s&&c>=u;h++)c-=u;var p=(0,o.l8)(l,n);return p>c&&(n="",p=0),c=t-p,a.ellipsis=n,a.ellipsisWidth=p,a.contentWidth=c,a.containerWidth=t,a}function c(t,e,n){var i=n.containerWidth,r=n.contentWidth,a=n.fontMeasureInfo;if(!i){t.textLine="",t.isTruncated=!1;return}var s=(0,o.l8)(a,e);if(s<=i){t.textLine=e,t.isTruncated=!1;return}for(var l=0;;l++){if(s<=r||l>=n.maxIterations){e+=n.ellipsis;break}var u=0===l?function(t,e,n){for(var i=0,r=0,a=t.length;r<a&&i<e;r++)i+=(0,o.JK)(n,t.charCodeAt(r));return r}(e,r,a):s>0?Math.floor(e.length*r/s):0;e=e.substr(0,u),s=(0,o.l8)(a,e)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}var h=function(){},p=function(t){this.tokens=[],t&&(this.tokens=t)},d=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function f(t,e,n,i,r){var a,s,l=""===e,u=r&&n.rich[r]||{},c=t.lines,d=u.font||n.font,f=!1;if(i){var g=u.padding,v=g?g[1]+g[3]:0;if(null!=u.width&&"auto"!==u.width){var m=(0,o.lo)(u.width,i.width)+v;c.length>0&&m+i.accumWidth>i.width&&(a=e.split("\n"),f=!0),i.accumWidth=m}else{var _=y(e,d,i.width,i.breakAll,i.accumWidth);i.accumWidth=_.accumWidth+v,s=_.linesWidths,a=_.lines}}a||(a=e.split("\n"));for(var x=(0,o.Qw)(d),b=0;b<a.length;b++){var w=a[b],S=new h;if(S.styleName=r,S.text=w,S.isLineHolder=!w&&!l,"number"==typeof u.width?S.width=u.width:S.width=s?s[b]:(0,o.l8)(x,w),b||f)c.push(new p([S]));else{var A=(c[c.length-1]||(c[0]=new p)).tokens,M=A.length;1===M&&A[0].isLineHolder?A[0]=S:(w||!M||l)&&A.push(S)}}}var g=(0,r.reduce)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function y(t,e,n,i,r){for(var a=[],s=[],l="",u="",c=0,h=0,p=(0,o.Qw)(e),d=0;d<t.length;d++){var f=t.charAt(d);if("\n"===f){u&&(l+=u,h+=c),a.push(l),s.push(h),l="",u="",c=0,h=0;continue}var y=(0,o.JK)(p,f.charCodeAt(0)),v=!i&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!g[t]}(f);if(a.length?h+y>n:r+h+y>n){h?(l||u)&&(v?(l||(l=u,u="",h=c=0),a.push(l),s.push(h-c),u+=f,c+=y,l="",h=c):(u&&(l+=u,u="",c=0),a.push(l),s.push(h),l=f,h=y)):v?(a.push(u),s.push(c),u=f,c=y):(a.push(f),s.push(y));continue}h+=y,v?(u+=f,c+=y):(u&&(l+=u,u="",c=0),l+=f)}return u&&(l+=u),l&&(a.push(l),s.push(h)),1===a.length&&(h+=r),{accumWidth:h,lines:a,linesWidths:s}}var v=new a.Ay(0,0,0,0),m={outIntersectRect:{},clamp:!0};function _(t){return null!=t?t+="":t=""}function x(t,e,n,i){var r=new a.Ay((0,o.ll)(t.x||0,e,t.textAlign),(0,o.sZ)(t.y||0,n,t.textBaseline),e,n),s=null!=i?i:b(t)?t.lineWidth:0;return s>0&&(r.x-=s/2,r.y-=s/2,r.width+=s,r.height+=s),r}function b(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}n.d(e,{},{EJ:function(t,e,n,i,r){var o={};return l(o,t,e,n,i,r),o.text},FQ:function(t,e,n,a,u){var c,h=new d,p=_(t);if(!p)return h;var g=e.padding,y=g?g[1]+g[3]:0,v=g?g[0]+g[2]:0,m=e.width;null==m&&null!=n&&(m=n-y);var x=e.height;null==x&&null!=a&&(x=a-v);for(var b=e.overflow,w=("break"===b||"breakAll"===b)&&null!=m?{width:m,accumWidth:0,breakAll:"breakAll"===b}:null,S=s.lastIndex=0;null!=(c=s.exec(p));){var A=c.index;A>S&&f(h,p.substring(S,A),e,w),f(h,c[2],e,w,c[1]),S=s.lastIndex}S<p.length&&f(h,p.substring(S,p.length),e,w);var M=[],T=0,C=0,k="truncate"===b,I="truncate"===e.lineOverflow,D={};function O(t,e,n){t.width=e,t.lineHeight=n,T+=n,C=Math.max(C,e)}e:for(var L=0;L<h.lines.length;L++){for(var P=h.lines[L],R=0,B=0,z=0;z<P.tokens.length;z++){var N=P.tokens[z],E=N.styleName&&e.rich[N.styleName]||{},V=N.textPadding=E.padding,F=V?V[1]+V[3]:0,Y=N.font=E.font||e.font;N.contentHeight=(0,o.ks)(Y);var H=(0,r.retrieve2)(E.height,N.contentHeight);if(N.innerHeight=H,V&&(H+=V[0]+V[2]),N.height=H,N.lineHeight=(0,r.retrieve3)(E.lineHeight,e.lineHeight,H),N.align=E&&E.align||u,N.verticalAlign=E&&E.verticalAlign||"middle",I&&null!=x&&T+N.lineHeight>x){var W=h.lines.length;z>0?(P.tokens=P.tokens.slice(0,z),O(P,B,R),h.lines=h.lines.slice(0,L+1)):h.lines=h.lines.slice(0,L),h.isTruncated=h.isTruncated||h.lines.length<W;break e}var G=E.width,Z=null==G||"auto"===G;if("string"==typeof G&&"%"===G.charAt(G.length-1))N.percentWidth=G,M.push(N),N.contentWidth=(0,o.l8)((0,o.Qw)(Y),N.text);else{if(Z){var U=E.backgroundColor,X=U&&U.image;X&&(X=i.SR(X),i.xA(X)&&(N.width=Math.max(N.width,X.width*H/X.height)))}var j=k&&null!=m?m-B:null;null!=j&&j<N.width?!Z||j<F?(N.text="",N.width=N.contentWidth=0):(l(D,N.text,j-F,Y,e.ellipsis,{minChar:e.truncateMinChar}),N.text=D.text,h.isTruncated=h.isTruncated||D.isTruncated,N.width=N.contentWidth=(0,o.l8)((0,o.Qw)(Y),N.text)):N.contentWidth=(0,o.l8)((0,o.Qw)(Y),N.text)}N.width+=F,B+=N.width,E&&(R=Math.max(R,N.lineHeight))}O(P,B,R)}h.outerWidth=h.width=(0,r.retrieve2)(m,C),h.outerHeight=h.height=(0,r.retrieve2)(x,T),h.contentHeight=T,h.contentWidth=C,h.outerWidth+=y,h.outerHeight+=v;for(var L=0;L<M.length;L++){var N=M[L],q=N.percentWidth;N.width=parseInt(q,10)/100*h.width}return h},Ss:function(t,e,n,i,r,s){if(t.baseX=n,t.baseY=i,t.outerWidth=t.outerHeight=null,e){var l=2*e.width,u=2*e.height;a.Ay.set(v,(0,o.ll)(n,l,r),(0,o.sZ)(i,u,s),l,u),a.Ay.intersect(e,v,null,m);var c=m.outIntersectRect;t.outerWidth=c.width,t.outerHeight=c.height,t.baseX=(0,o.ll)(c.x,c.width,r,!0),t.baseY=(0,o.sZ)(c.y,c.height,s,!0)}},Xf:function(t){var e=_(t.text),n=t.font;return x(t,(0,o.l8)((0,o.Qw)(n),e),(0,o.ks)(n),null)},j_:function(t,e,n,i){var a,s=_(t),l=e.overflow,h=e.padding,p=h?h[1]+h[3]:0,d=h?h[0]+h[2]:0,f=e.font,g=(0,o.ks)(f),v=(0,r.retrieve2)(e.lineHeight,g),m="truncate"===e.lineOverflow,x=!1,b=e.width;null==b&&null!=n&&(b=n-p);var w=e.height;null==w&&null!=i&&(w=i-d);var S=(a=null!=b&&("break"===l||"breakAll"===l)?s?y(s,e.font,b,"breakAll"===l,0).lines:[]:s?s.split("\n"):[]).length*v;if(null==w&&(w=S),S>w&&m){var A=Math.floor(w/v);x=x||a.length>A,S=(a=a.slice(0,A)).length*v}if(s&&"truncate"===l&&null!=b)for(var M=u(b,f,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),T={},C=0;C<a.length;C++)c(T,a[C],M),a[C]=T.textLine,x=x||T.isTruncated;for(var k=w,I=0,D=(0,o.Qw)(f),C=0;C<a.length;C++)I=Math.max((0,o.l8)(D,a[C]),I);null==b&&(b=I);var O=b;return k+=d,{lines:a,height:w,outerWidth:O+=p,outerHeight:k,lineHeight:v,calculatedLineHeight:g,contentWidth:I,contentHeight:S,width:b,isTruncated:x}},n7:b,xu:x})},mg(t,e,n){n.d(e,{U:()=>r});var i=n("xy");function r(t,e,n){var r=e.smooth,o=e.points;if(o&&o.length>=2){if(r){var a=function(t,e,n,r){var o,a,s,l,u=[],c=[],h=[],p=[];if(r){s=[1/0,1/0],l=[-1/0,-1/0];for(var d=0,f=t.length;d<f;d++)(0,i.min)(s,s,t[d]),(0,i.max)(l,l,t[d]);(0,i.min)(s,s,r[0]),(0,i.max)(l,l,r[1])}for(var d=0,f=t.length;d<f;d++){var g=t[d];if(n)o=t[d?d-1:f-1],a=t[(d+1)%f];else if(0===d||d===f-1){u.push((0,i.clone)(t[d]));continue}else o=t[d-1],a=t[d+1];(0,i.sub)(c,a,o),(0,i.scale)(c,c,e);var y=(0,i.distance)(g,o),v=(0,i.distance)(g,a),m=y+v;0!==m&&(y/=m,v/=m),(0,i.scale)(h,c,-y),(0,i.scale)(p,c,v);var _=(0,i.add)([],g,h),x=(0,i.add)([],g,p);r&&((0,i.max)(_,_,s),(0,i.min)(_,_,l),(0,i.max)(x,x,s),(0,i.min)(x,x,l)),u.push(_),u.push(x)}return n&&u.push(u.shift()),u}(o,r,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(n?s:s-1);l++){var u=a[2*l],c=a[2*l+1],h=o[(l+1)%s];t.bezierCurveTo(u[0],u[1],c[0],c[1],h[0],h[1])}}else{t.moveTo(o[0][0],o[0][1]);for(var l=1,p=o.length;l<p;l++)t.lineTo(o[l][0],o[l][1])}n&&t.closePath()}}},JU(t,e,n){var i=Math.round;function r(t,e,n){if(!e)return t;var r=i(2*t);return(r+i(e))%2==0?r/2:(r+(n?1:-1))/2}n.d(e,{},{M7:r,Op:function(t,e,n){if(e){var i=e.x,o=e.y,a=e.width,s=e.height;t.x=i,t.y=o,t.width=a,t.height=s;var l=n&&n.lineWidth;return l&&(t.x=r(i,l,!0),t.y=r(o,l,!0),t.width=Math.max(r(i+a,l,!1)-t.x,+(0!==a)),t.height=Math.max(r(o+s,l,!1)-t.y,+(0!==s))),t}},eB:function(t,e,n){if(e){var o=e.x1,a=e.x2,s=e.y1,l=e.y2;t.x1=o,t.x2=a,t.y1=s,t.y2=l;var u=n&&n.lineWidth;return u&&(i(2*o)===i(2*a)&&(t.x1=t.x2=r(o,u,!0)),i(2*s)===i(2*l)&&(t.y1=t.y2=r(s,u,!0))),t}}})},Wf(t,e,n){var i=n("SJG"),r=n("Pk"),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(r.Ay);a.prototype.type="arc",e.A=a},QO(t,e,n){var i=n("SJG"),r=n("Pk"),o=n("xy"),a=n("mq"),s=[],l=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function u(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?a.rD:a.Yb)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?a.rD:a.Yb)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?a.z7:a.k3)(t.x1,t.cpx1,t.x2,e),(n?a.z7:a.k3)(t.y1,t.cpy1,t.y2,e)]}var c=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,p=e.percent;0!==p&&(t.moveTo(n,i),null==c||null==h?(p<1&&((0,a.kx)(n,l,r,p,s),l=s[1],r=s[2],(0,a.kx)(i,u,o,p,s),u=s[1],o=s[2]),t.quadraticCurveTo(l,u,r,o)):(p<1&&((0,a.YT)(n,l,c,r,p,s),l=s[1],c=s[2],r=s[3],(0,a.YT)(i,u,h,o,p,s),u=s[1],h=s[2],o=s[3]),t.bezierCurveTo(l,u,c,h,r,o)))},e.prototype.pointAt=function(t){return u(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=u(this.shape,t,!0);return o.normalize(e,e)},e}(r.Ay);c.prototype.type="bezier-curve",e.A=c},vH(t,e,n){var i=n("SJG"),r=n("Pk"),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(r.Ay);a.prototype.type="circle",e.A=a},Tj(t,e,n){var i=n("SJG"),r=n("Pk"),o=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=e.rx,o=e.ry,a=.5522848*r,s=.5522848*o;t.moveTo(n-r,i),t.bezierCurveTo(n-r,i-s,n-a,i-o,n,i-o),t.bezierCurveTo(n+a,i-o,n+r,i-s,n+r,i),t.bezierCurveTo(n+r,i+s,n+a,i+o,n,i+o),t.bezierCurveTo(n-a,i+o,n-r,i+s,n-r,i),t.closePath()},e}(r.Ay);a.prototype.type="ellipse",e.A=a},xz(t,e,n){var i=n("SJG"),r=n("Pk"),o=n("JU"),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,s,l=(0,o.eB)(a,e,this.style);n=l.x1,i=l.y1,r=l.x2,s=l.y2}else n=e.x1,i=e.y1,r=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(n,i),u<1&&(r=n*(1-u)+r*u,s=i*(1-u)+s*u),t.lineTo(r,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(r.Ay);l.prototype.type="line",e.A=l},hC(t,e,n){var i=n("SJG"),r=n("Pk"),o=n("mg"),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!0)},e}(r.Ay);s.prototype.type="polygon",e.A=s},Jx(t,e,n){var i=n("SJG"),r=n("Pk"),o=n("mg"),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!1)},e}(r.Ay);s.prototype.type="polyline",e.A=s},Vb(t,e,n){n.d(e,{A:()=>u});var i=n("SJG"),r=n("Pk"),o=n("JU"),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,a,l,u,c,h,p,d,f,g,y,v,m,_=(0,o.Op)(s,e,this.style);g=_.x,y=_.y,v=_.width,m=_.height,_.r=e.r,e=_}else g=e.x,y=e.y,v=e.width,m=e.height;e.r?(c=(n=e).x,h=n.y,p=n.width,d=n.height,f=n.r,p<0&&(c+=p,p=-p),d<0&&(h+=d,d=-d),"number"==typeof f?i=r=a=l=f:f instanceof Array?1===f.length?i=r=a=l=f[0]:2===f.length?(i=a=f[0],r=l=f[1]):3===f.length?(i=f[0],r=l=f[1],a=f[2]):(i=f[0],r=f[1],a=f[2],l=f[3]):i=r=a=l=0,i+r>p&&(u=i+r,i*=p/u,r*=p/u),a+l>p&&(u=a+l,a*=p/u,l*=p/u),r+a>d&&(u=r+a,r*=d/u,a*=d/u),i+l>d&&(u=i+l,i*=d/u,l*=d/u),t.moveTo(c+i,h),t.lineTo(c+p-r,h),0!==r&&t.arc(c+p-r,h+r,r,-Math.PI/2,0),t.lineTo(c+p,h+d-a),0!==a&&t.arc(c+p-a,h+d-a,a,0,Math.PI/2),t.lineTo(c+l,h+d),0!==l&&t.arc(c+l,h+d-l,l,Math.PI/2,Math.PI),t.lineTo(c,h+i),0!==i&&t.arc(c+i,h+i,i,Math.PI,1.5*Math.PI),t.closePath()):t.rect(g,y,v,m)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.Ay);l.prototype.type="rect";var u=l},wq(t,e,n){var i=n("SJG"),r=n("Pk"),o=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(r.Ay);a.prototype.type="ring",e.A=a},Qz(t,e,n){n.d(e,{A:()=>_});var i=n("SJG"),r=n("Pk"),o=n("iY"),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,c=Math.acos,h=Math.atan2,p=Math.abs,d=Math.sqrt,f=Math.max,g=Math.min;function y(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/d(s*s+l*l),c=u*l,h=-u*s,p=t+c,g=e+h,y=n+c,v=i+h,m=(p+y)/2,_=(g+v)/2,x=y-p,b=v-g,w=x*x+b*b,S=r-o,A=p*v-y*g,M=(b<0?-1:1)*d(f(0,S*S*w-A*A)),T=(A*b-x*M)/w,C=(-A*x-b*M)/w,k=(A*b+x*M)/w,I=(-A*x+b*M)/w,D=T-m,O=C-_,L=k-m,P=I-_;return D*D+O*O>L*L+P*P&&(T=k,C=I),{cx:T,cy:C,x0:-c,y0:-h,x1:T*(r/S-1),y1:C*(r/S-1)}}var v=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},m=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new v},e.prototype.buildPath=function(t,e){!function(t,e){var n,i=f(e.r,0),r=f(e.r0||0,0),v=i>0,m=r>0;if(v||m){if(v||(i=r,r=0),r>i){var _=i;i=r,r=_}var x=e.startAngle,b=e.endAngle;if(!(isNaN(x)||isNaN(b))){var w=e.cx,S=e.cy,A=!!e.clockwise,M=p(b-x),T=M>s&&M%s;if(T>1e-4&&(M=T),i>1e-4)if(M>s-1e-4)t.moveTo(w+i*u(x),S+i*l(x)),t.arc(w,S,i,x,b,!A),r>1e-4&&(t.moveTo(w+r*u(b),S+r*l(b)),t.arc(w,S,r,b,x,A));else{var C=void 0,k=void 0,I=void 0,D=void 0,O=void 0,L=void 0,P=void 0,R=void 0,B=void 0,z=void 0,N=void 0,E=void 0,V=void 0,F=void 0,Y=void 0,H=void 0,W=i*u(x),G=i*l(x),Z=r*u(b),U=r*l(b),X=M>1e-4;if(X){var j=e.cornerRadius;j&&(C=(n=function(t){var e;if((0,o.isArray)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(j))[0],k=n[1],I=n[2],D=n[3]);var q=p(i-r)/2;if(O=g(q,I),L=g(q,D),P=g(q,C),R=g(q,k),N=B=f(O,L),E=z=f(P,R),(B>1e-4||z>1e-4)&&(V=i*u(b),F=i*l(b),Y=r*u(x),H=r*l(x),M<a)){var $=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,c=a-r,h=s-o,p=h*l-c*u;if(!(p*p<1e-4))return p=(c*(e-o)-h*(t-r))/p,[t+p*l,e+p*u]}(W,G,Y,H,V,F,Z,U);if($){var Q=W-$[0],J=G-$[1],K=V-$[0],tt=F-$[1],te=1/l(c((Q*K+J*tt)/(d(Q*Q+J*J)*d(K*K+tt*tt)))/2),tn=d($[0]*$[0]+$[1]*$[1]);N=g(B,(i-tn)/(te+1)),E=g(z,(r-tn)/(te-1))}}}if(X)if(N>1e-4){var ti=g(I,N),tr=g(D,N),to=y(Y,H,W,G,i,ti,A),ta=y(V,F,Z,U,i,tr,A);t.moveTo(w+to.cx+to.x0,S+to.cy+to.y0),N<B&&ti===tr?t.arc(w+to.cx,S+to.cy,N,h(to.y0,to.x0),h(ta.y0,ta.x0),!A):(ti>0&&t.arc(w+to.cx,S+to.cy,ti,h(to.y0,to.x0),h(to.y1,to.x1),!A),t.arc(w,S,i,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),!A),tr>0&&t.arc(w+ta.cx,S+ta.cy,tr,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!A))}else t.moveTo(w+W,S+G),t.arc(w,S,i,x,b,!A);else t.moveTo(w+W,S+G);if(r>1e-4&&X)if(E>1e-4){var ti=g(C,E),tr=g(k,E),to=y(Z,U,V,F,r,-tr,A),ta=y(W,G,Y,H,r,-ti,A);t.lineTo(w+to.cx+to.x0,S+to.cy+to.y0),E<z&&ti===tr?t.arc(w+to.cx,S+to.cy,E,h(to.y0,to.x0),h(ta.y0,ta.x0),!A):(tr>0&&t.arc(w+to.cx,S+to.cy,tr,h(to.y0,to.x0),h(to.y1,to.x1),!A),t.arc(w,S,r,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),A),ti>0&&t.arc(w+ta.cx,S+ta.cy,ti,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!A))}else t.lineTo(w+Z,S+U),t.arc(w,S,r,b,x,A);else t.lineTo(w+Z,S+U)}else t.moveTo(w,S);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(r.Ay);m.prototype.type="sector";var _=m},QB(t,e,n){var i=n("iY"),r=n("x4z"),o=Math.round;function a(t){return o(1e3*t)/1e3}function s(t){return o(1e4*t)/1e4}function l(t){return t&&!!t.image}var u="u">typeof Buffer&&"function"==typeof Buffer.from?function(t){return Buffer.from(t).toString("base64")}:"function"==typeof btoa&&"function"==typeof unescape&&"function"==typeof encodeURIComponent?function(t){return btoa(unescape(encodeURIComponent(t)))}:function(t){return null};n.d(e,{},{$2:function(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=(0,r.parse)(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}},Cv:function(t){return t<1e-4&&t>-1e-4},MD:function(t){var e=t.getGlobalScale();return Math.max(Math.ceil(Math.log(Math.max(e[0],e[1]))/Math.log(10)),1)},OH:function(t){return"radial"===t.type},OS:function(t){return"linear"===t.type},Pt:function(t){return l(t)||t&&!!t.svgElement},WG:u,XP:s,Xu:function(t){return"url(#"+t+")"},Z1:function(t){var e=t.x||0,n=t.y||0,r=(t.rotation||0)*i.RADIAN_TO_DEGREE,a=(0,i.retrieve2)(t.scaleX,1),s=(0,i.retrieve2)(t.scaleY,1),l=t.skewX||0,u=t.skewY||0,c=[];return(e||n)&&c.push("translate("+e+"px,"+n+"px)"),r&&c.push("rotate("+r+")"),(1!==a||1!==s)&&c.push("scale("+a+","+s+")"),(l||u)&&c.push("skew("+o(l*i.RADIAN_TO_DEGREE)+"deg, "+o(u*i.RADIAN_TO_DEGREE)+"deg)"),c.join(" ")},bn:function(t){return t&&("linear"===t.type||"radial"===t.type)},dX:function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)},eQ:{left:"start",right:"end",center:"middle",middle:"middle"},nV:function(t){return"matrix("+a(t[0])+","+a(t[1])+","+a(t[2])+","+a(t[3])+","+s(t[4])+","+s(t[5])+")"},sL:l,sZ:function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t},si:function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}})},x4z(t,e,n){n.r(e);var i=n("B5"),r=n("iY"),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function c(t,e,n){return(n<0?n+=1:n>1&&(n-=1),6*n<1)?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new i.Ay(20),f=null;function g(t,e){f&&p(f,e),f=d.put(t,f||e.slice())}function y(t,e){if(t){e=e||[];var n=d.get(t);if(n)return p(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in o)return p(e,o[i]),g(t,e),e;var r=i.length;if("#"===i.charAt(0)){if(4===r||5===r){var a=parseInt(i.slice(1,4),16);return a>=0&&a<=4095?(h(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===r?parseInt(i.slice(4),16)/15:1),g(t,e),e):void h(e,0,0,0,1)}if(7===r||9===r){var a=parseInt(i.slice(1,7),16);return a>=0&&a<=0xffffff?(h(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===r?parseInt(i.slice(7),16)/255:1),g(t,e),e):void h(e,0,0,0,1)}return}var s=i.indexOf("("),c=i.indexOf(")");if(-1!==s&&c+1===r){var f=i.substr(0,s),y=i.substr(s+1,c-(s+1)).split(","),m=1;switch(f){case"rgba":if(4!==y.length)return 3===y.length?h(e,+y[0],+y[1],+y[2],1):h(e,0,0,0,1);m=u(y.pop());case"rgb":if(y.length>=3)return h(e,l(y[0]),l(y[1]),l(y[2]),3===y.length?m:u(y[3])),g(t,e),e;return void h(e,0,0,0,1);case"hsla":if(4!==y.length)return void h(e,0,0,0,1);return y[3]=u(y[3]),v(y,e),g(t,e),e;case"hsl":if(3!==y.length)return void h(e,0,0,0,1);return v(y,e),g(t,e),e;default:return}}h(e,0,0,0,1)}}function v(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=u(t[1]),r=u(t[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return h(e=e||[],a(255*c(s,o,n+1/3)),a(255*c(s,o,n)),a(255*c(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var n=y(t);if(n){for(var i=0;i<3;i++)e<0?n[i]=n[i]*(1-e)|0:n[i]=(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return b(n,4===n.length?"rgba":"rgb")}}function _(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i,r,o,l,u=t*(e.length-1),c=Math.floor(u),h=Math.ceil(u),p=e[c],d=e[h],f=u-c;return n[0]=a((i=p[0],i+(d[0]-i)*f)),n[1]=a((r=p[1],r+(d[1]-r)*f)),n[2]=a((o=p[2],o+(d[2]-o)*f)),n[3]=s((l=p[3],l+(d[3]-l)*f)),n}}function x(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i,r,o,l,u=t*(e.length-1),c=Math.floor(u),h=Math.ceil(u),p=y(e[c]),d=y(e[h]),f=u-c,g=b([a((i=p[0],i+(d[0]-i)*f)),a((r=p[1],r+(d[1]-r)*f)),a((o=p[2],o+(d[2]-o)*f)),s((l=p[3],l+(d[3]-l)*f))],"rgba");return n?{color:g,leftIndex:c,rightIndex:h,value:u}:g}}function b(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return("rgba"===e||"hsva"===e||"hsla"===e)&&(n+=","+t[3]),e+"("+n+")"}}var w=new i.Ay(100);n.d(e,{},{fastLerp:_,fastMapToColor:_,lerp:x,lift:m,liftColor:function(t){if((0,r.isString)(t)){var e=w.get(t);return e||(e=m(t,-.1),w.put(t,e)),e}if((0,r.isGradientObject)(t)){var n=(0,r.extend)({},t);return n.colorStops=(0,r.map)(t.colorStops,function(t){return{offset:t.offset,color:m(t.color,-.1)}}),n}return t},lum:function(t,e){var n=y(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0},mapToColor:x,modifyAlpha:function(t,e){var n=y(t);if(n&&null!=e)return n[3]=s(e),b(n,"rgba")},modifyHSL:function(t,e,n,i){var o,a=y(t);if(t)return a=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-h:r===s?e=1/3+c-p:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(a),null!=e&&(a[0]=(o=Math.round(o=(0,r.isFunction)(e)?e(a[0]):e))<0?0:o>360?360:o),null!=n&&(a[1]=u((0,r.isFunction)(n)?n(a[1]):n)),null!=i&&(a[2]=u((0,r.isFunction)(i)?i(a[2]):i)),b(v(a),"rgba")},parse:y,parseCssFloat:u,parseCssInt:l,random:function(){return b([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")},stringify:b,toHex:function(t){var e=y(t);if(e)return(0x1000000+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}})},av(t,e,n){n.d(e,{rR:()=>I,UJ:()=>T,Qh:()=>C,uc:()=>k});var i=n("SJG"),r=n("Pk"),o=n("Ig"),a=n("xy"),s=o.A.CMD,l=[[],[],[]],u=Math.sqrt,c=Math.atan2;function h(t,e){if(e){var n,i,r,o,h,p,d=t.data,f=t.len(),g=s.M,y=s.C,v=s.L,m=s.R,_=s.A,x=s.Q;for(r=0,o=0;r<f;){switch(n=d[r++],o=r,i=0,n){case g:case v:i=1;break;case y:i=3;break;case x:i=2;break;case _:var b=e[4],w=e[5],S=u(e[0]*e[0]+e[1]*e[1]),A=u(e[2]*e[2]+e[3]*e[3]),M=c(-e[1]/A,e[0]/S);d[r]*=S,d[r++]+=b,d[r]*=A,d[r++]+=w,d[r++]*=S,d[r++]*=A,d[r++]+=M,d[r++]+=M,r+=2,o=r;break;case m:p[0]=d[r++],p[1]=d[r++],(0,a.applyTransform)(p,p,e),d[o++]=p[0],d[o++]=p[1],p[0]+=d[r++],p[1]+=d[r++],(0,a.applyTransform)(p,p,e),d[o++]=p[0],d[o++]=p[1]}for(h=0;h<i;h++){var T=l[h];T[0]=d[r++],T[1]=d[r++],(0,a.applyTransform)(T,T,e),d[o++]=T[0],d[o++]=T[1]}}t.increaseVersion()}}var p=n("iY"),d=Math.sqrt,f=Math.sin,g=Math.cos,y=Math.PI;function v(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function m(t,e){return(t[0]*e[0]+t[1]*e[1])/(v(t)*v(e))}function _(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(m(t,e))}function x(t,e,n,i,r,o,a,s,l,u,c){var h=y/180*l,p=g(h)*(t-n)/2+f(h)*(e-i)/2,v=-1*f(h)*(t-n)/2+g(h)*(e-i)/2,x=p*p/(a*a)+v*v/(s*s);x>1&&(a*=d(x),s*=d(x));var b=(r===o?-1:1)*d((a*a*(s*s)-a*a*(v*v)-s*s*(p*p))/(a*a*(v*v)+s*s*(p*p)))||0,w=b*a*v/s,S=-(b*s)*p/a,A=(t+n)/2+g(h)*w-f(h)*S,M=(e+i)/2+f(h)*w+g(h)*S,T=_([1,0],[(p-w)/a,(v-S)/s]),C=[(p-w)/a,(v-S)/s],k=[(-1*p-w)/a,(-1*v-S)/s],I=_(C,k);if(-1>=m(C,k)&&(I=y),m(C,k)>=1&&(I=0),I<0){var D=Math.round(I/y*1e6)/1e6;I=2*y+D%2*y}c.addData(u,A,M,a,s,T,I,h,o)}var b=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,w=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.applyTransform=function(t){},e}(r.Ay);function A(t){return null!=t.setData}function M(t,e){var n=function(t){var e,n=new o.A;if(!t)return n;var i=0,r=0,a=0,s=0,l=o.A.CMD,u=t.match(b);if(!u)return n;for(var c=0;c<u.length;c++){for(var h=u[c],p=h.charAt(0),d=void 0,f=h.match(w)||[],g=f.length,y=0;y<g;y++)f[y]=parseFloat(f[y]);for(var v=0;v<g;){var m=void 0,_=void 0,S=void 0,A=void 0,M=void 0,T=void 0,C=void 0,k=i,I=r,D=void 0,O=void 0;switch(p){case"l":i+=f[v++],r+=f[v++],d=l.L,n.addData(d,i,r);break;case"L":i=f[v++],r=f[v++],d=l.L,n.addData(d,i,r);break;case"m":i+=f[v++],r+=f[v++],d=l.M,n.addData(d,i,r),a=i,s=r,p="l";break;case"M":i=f[v++],r=f[v++],d=l.M,n.addData(d,i,r),a=i,s=r,p="L";break;case"h":i+=f[v++],d=l.L,n.addData(d,i,r);break;case"H":i=f[v++],d=l.L,n.addData(d,i,r);break;case"v":r+=f[v++],d=l.L,n.addData(d,i,r);break;case"V":r=f[v++],d=l.L,n.addData(d,i,r);break;case"C":d=l.C,n.addData(d,f[v++],f[v++],f[v++],f[v++],f[v++],f[v++]),i=f[v-2],r=f[v-1];break;case"c":d=l.C,n.addData(d,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r),i+=f[v-2],r+=f[v-1];break;case"S":m=i,_=r,D=n.len(),O=n.data,e===l.C&&(m+=i-O[D-4],_+=r-O[D-3]),d=l.C,k=f[v++],I=f[v++],i=f[v++],r=f[v++],n.addData(d,m,_,k,I,i,r);break;case"s":m=i,_=r,D=n.len(),O=n.data,e===l.C&&(m+=i-O[D-4],_+=r-O[D-3]),d=l.C,k=i+f[v++],I=r+f[v++],i+=f[v++],r+=f[v++],n.addData(d,m,_,k,I,i,r);break;case"Q":k=f[v++],I=f[v++],i=f[v++],r=f[v++],d=l.Q,n.addData(d,k,I,i,r);break;case"q":k=f[v++]+i,I=f[v++]+r,i+=f[v++],r+=f[v++],d=l.Q,n.addData(d,k,I,i,r);break;case"T":m=i,_=r,D=n.len(),O=n.data,e===l.Q&&(m+=i-O[D-4],_+=r-O[D-3]),i=f[v++],r=f[v++],d=l.Q,n.addData(d,m,_,i,r);break;case"t":m=i,_=r,D=n.len(),O=n.data,e===l.Q&&(m+=i-O[D-4],_+=r-O[D-3]),i+=f[v++],r+=f[v++],d=l.Q,n.addData(d,m,_,i,r);break;case"A":S=f[v++],A=f[v++],M=f[v++],T=f[v++],C=f[v++],k=i,I=r,i=f[v++],x(k,I,i,r=f[v++],T,C,S,A,M,d=l.A,n);break;case"a":S=f[v++],A=f[v++],M=f[v++],T=f[v++],C=f[v++],k=i,I=r,i+=f[v++],x(k,I,i,r+=f[v++],T,C,S,A,M,d=l.A,n)}}("z"===p||"Z"===p)&&(d=l.Z,n.addData(d),i=a,r=s),e=d}return n.toStatic(),n}(t),i=(0,p.extend)({},e);return i.buildPath=function(t){var e=A(t);if(e&&t.canSave()){t.appendPath(n);var i=t.getContext();i&&t.rebuildPath(i,1)}else{var i=e?t.getContext():t;i&&n.rebuildPath(i,1)}},i.applyTransform=function(t){h(n,t),this.dirtyShape()},i}function T(t,e){return new S(M(t,e))}function C(t,e){var n=M(t,e),r=S;function o(t){var e=r.call(this,t)||this;return e.applyTransform=n.applyTransform,e.buildPath=n.buildPath,e}return(0,i.C6)(o,r),o}function k(t,e){for(var n=[],i=t.length,o=0;o<i;o++){var a=t[o];n.push(a.getUpdatedPathProxy(!0))}var s=new r.Ay(e);return s.createPathProxy(),s.buildPath=function(t){if(A(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},s}function I(t,e){e=e||{};var n=new r.Ay;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?h(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}},L5(t,e,n){n.r(e),n.d(e,{dispose:()=>ta,disposeAll:()=>ts,getElementSSRData:()=>tc,getInstance:()=>tl,init:()=>to,registerPainter:()=>tu,registerSSRDataGetter:()=>th,version:()=>tp});var i,r,o,a,s=n("E3"),l=n("iY"),u=n("SJG"),c=n("xy"),h=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},p=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new h(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new h(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new h(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new h(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new h(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new h(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),d=n("jp"),f=n("lX"),g=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=f.Yo(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in v)if(v.hasOwnProperty(e)){var n=v[e](this._track,t);if(n)return n}},t}();function y(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var v={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var o=y(i)/y(r);isFinite(o)||(o=1),e.pinchScale=o;var a=[(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},m=n("Y8"),_="silent";function x(){f.ds(this.event)}var b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,u.C6)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(d.A),w=function(t,e){this.x=t,this.y=e},S=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],A=new m.Ay(0,0,0,0),M=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new w(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new b,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new p(a),a}return(0,u.C6)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(l.each(S,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,n=t.zrY,i=C(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new w(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"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 w(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.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,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r,o="on"+e,a={type:e,event:n,target:(r=t).target,topTarget:r.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:x};i&&(i[o]&&(a.cancelBubble=!!i[o].call(i,a)),i.trigger(e,a),i=i.__hostTarget?i.__hostTarget:i.parent,!a.cancelBubble););!a.cancelBubble&&(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new w(t,e);if(T(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new m.Ay(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var c=i[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(A.copy(c.getBoundingRect()),c.transform&&A.applyTransform(c.transform),A.intersect(l)&&o.push(c))}if(o.length){for(var h=Math.PI/12,p=2*Math.PI,d=0;d<s;d+=4)for(var f=0;f<p;f+=h)if(T(o,r,t+d*Math.cos(f),e+d*Math.sin(f),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new g);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new w;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(d.A);function T(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s?i.ignoreHostSilent?null:s:i.parent}return!r||_}return!1}(a,n,i))&&(e.topTarget||(e.topTarget=a),s!==_)){e.target=a;break}}}function C(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}l.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){M.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=C(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||c.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var k=n("Ly"),I=n("ke"),D=!1;function O(){D||(D=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function L(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var P=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=L}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,(0,k.A)(n,L)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath(),r=e&&e.length,o=0,a=t.__clipPaths;if(!t.ignoreClip&&(r||i)){if(a||(a=t.__clipPaths=[]),r)for(var s=0;s<e.length;s++)a[o++]=e[s];for(var l=i,u=t;l;)l.parent=u,l.updateTransform(),a[o++]=l,u=l,l=l.getClipPath()}if(a&&(a.length=o),t.childrenRef){for(var c=t.childrenRef(),h=0;h<c.length;h++){var p=c[h];t.__dirty&&(p.__dirty|=I.M),this._updateAndAddDisplayable(p,a,n)}t.__dirty=0}else isNaN(t.z)&&(O(),t.z=0),isNaN(t.z2)&&(O(),t.z2=0),isNaN(t.zlevel)&&(O(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,a,n);var f=t.getTextGuideLine();f&&this._updateAndAddDisplayable(f,a,n);var g=t.getTextContent();g&&this._updateAndAddDisplayable(g,a,n)}},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,n=t.length;e<n;e++)this.delRoot(t[e]);return}var i=l.indexOf(this._roots,t);i>=0&&this._roots.splice(i,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}(),R=n("JV"),B=n("oi");function z(){return new Date().getTime()}var N=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,n.stage=(e=e||{}).stage||{},n}return(0,u.C6)(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,n=t.next;e?e.next=n:this._head=n,n?n.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){for(var e=z()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)&&(i.ondestroy(),this.removeClip(i)),i=r}this._time=e,!t&&(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,R.A)(function e(){t._running&&((0,R.A)(e),t._paused||t.update())})},e.prototype.start=function(){this._running||(this._time=z(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=z(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=z()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;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 n=new B.A(t,e.loop);return this.addAnimator(n),n},e}(d.A),E=s.A.domSupported,V=(i=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=l.map(i,function(t){var e=t.replace("mouse","pointer");return r.hasOwnProperty(e)?e:t}),{mouse:i,touch:["touchstart","touchend","touchmove"],pointer:o}),F=["mousemove","mouseup"],Y=["pointermove","pointerup"],H=!1;function W(t){var e=t.pointerType;return"pen"===e||"touch"===e}function G(t){t&&(t.zrByTouch=!0)}function Z(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var U=function(t,e){this.stopPropagation=l.noop,this.stopImmediatePropagation=l.noop,this.preventDefault=l.noop,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},X={mousedown:function(t){t=(0,f.e0)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,f.e0)(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,f.e0)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Z(this,(t=(0,f.e0)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){H=!0,t=(0,f.e0)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){H||(t=(0,f.e0)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){G(t=(0,f.e0)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),X.mousemove.call(this,t),X.mousedown.call(this,t)},touchmove:function(t){G(t=(0,f.e0)(this.dom,t)),this.handler.processGesture(t,"change"),X.mousemove.call(this,t)},touchend:function(t){G(t=(0,f.e0)(this.dom,t)),this.handler.processGesture(t,"end"),X.mouseup.call(this,t),new Date-this.__lastTouchMoment<300&&X.click.call(this,t)},pointerdown:function(t){X.mousedown.call(this,t)},pointermove:function(t){W(t)||X.mousemove.call(this,t)},pointerup:function(t){X.mouseup.call(this,t)},pointerout:function(t){W(t)||X.mouseout.call(this,t)}};l.each(["click","dblclick","contextmenu"],function(t){X[t]=function(e){e=(0,f.e0)(this.dom,e),this.trigger(t,e)}});var j={pointermove:function(t){W(t)||j.mousemove.call(this,t)},pointerup:function(t){j.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function q(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,(0,f.q2)(t.domTarget,e,n,i)}function $(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,f.f)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var Q=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},J=function(t){function e(e,n){var i,r,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=n,o._localHandlerScope=new Q(e,X),E&&(o._globalHandlerScope=new Q(document,j)),r=(i=o._localHandlerScope).domHandlers,s.A.pointerEventsSupported?l.each(V.pointer,function(t){q(i,t,function(e){r[t].call(o,e)})}):(s.A.touchEventsSupported&&l.each(V.touch,function(t){q(i,t,function(e){r[t].call(o,e),i.touching=!0,null!=i.touchTimer&&(clearTimeout(i.touchTimer),i.touchTimer=null),i.touchTimer=setTimeout(function(){i.touching=!1,i.touchTimer=null},700)})}),l.each(V.mouse,function(t){q(i,t,function(e){e=(0,f.mK)(e),i.touching||r[t].call(o,e)})})),o}return(0,u.C6)(e,t),e.prototype.dispose=function(){$(this._localHandlerScope),E&&$(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,E&&this.__pointerCapturing^t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){s.A.pointerEventsSupported?l.each(Y,n):s.A.touchEventsSupported||l.each(F,n);function n(n){q(e,n,function(i){if(!Z(t,(i=(0,f.mK)(i)).target)){var r;r=i,i=(0,f.e0)(t.dom,new U(t,r),!0),e.domHandlers[n].call(t,i)}},{capture:!0})}}(this,e):$(e)}},e}(d.A),K=n("x4z"),tt=n("Yo"),te=n("jZ"),tn={},ti={},tr=function(){function t(t,e,n){var i,r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!1,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new P,a=n.renderer||"canvas";tn[a]||(a=l.keys(tn)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var u=new tn[a](e,o,n,t),c=n.ssr||u.ssrOnly;this.storage=o,this.painter=u;var h=s.A.node||s.A.worker||c?null:new J(u.getViewportRoot(),u.root),p=n.useCoarsePointer;(null==p||"auto"===p?s.A.touchEventsSupported:!!p)&&(i=l.retrieve2(n.pointerSize,44)),this.handler=new M(o,u,h,u.root,i),this.animation=new N({stage:{update:c?null:function(){return r._flush(!1)}}}),c||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return(0,K.lum)(t,1)<tt.ps;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=(0,K.lum)(e[r].color,1);return(n/=i)<tt.ps}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||this._refresh({animUpdate:!t,refresh:!0,refreshHover:!1})},t.prototype._refresh=function(t){t.animUpdate&&this.animation.update(!0),this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh({refresh:t.refresh,refreshHover:t.refreshHover}),this._needsRefresh=this._needsRefreshHover=!1},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!0)},t.prototype._flush=function(t){var e,n=z(),i=this._needsRefresh,r=this._needsRefreshHover;(i||r)&&(e=!0,this._refresh({animUpdate:t,refresh:i,refreshHover:r}));var o=z();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:o-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||this._refresh({animUpdate:!1,refresh:!1,refreshHover:!0})},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof te.A&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){if(!this._disposed){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete ti[t]}},t}();function to(t,e){var n=new tr(l.guid(),t,e);return ti[n.id]=n,n}function ta(t){t.dispose()}function ts(){for(var t in ti)ti.hasOwnProperty(t)&&ti[t].dispose();ti={}}function tl(t){return ti[t]}function tu(t,e){tn[t]=e}function tc(t){if("function"==typeof a)return a(t)}function th(t){a=t}var tp="6.1.0"}}]);
1
+ /*! LICENSE: k.4a35cfdf19.js.LICENSE.txt */
2
+ "use strict";(self.chunk_PulzrTimeSeriesChart_0_1_4=self.chunk_PulzrTimeSeriesChart_0_1_4||[]).push([["k"],{i4(t,e,n){var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};n.d(e,{},{C6:function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}})},SJG(t,e,n){var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};n.d(e,{},{C6:function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}})},W5(t,e,n){var i=n("iY"),r=(0,n("xN").$r)();function o(t,e,n,r,o){if(e&&e.ecModel){var a,s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(!l)return null;var c=void 0,h=void 0,p=void 0;return r?(c=(0,i.retrieve2)(r.duration,200),h=(0,i.retrieve2)(r.easing,"cubicOut"),p=0):(c=e.getShallow(u?"animationDurationUpdate":"animationDuration"),h=e.getShallow(u?"animationEasingUpdate":"animationEasing"),p=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(c=a.duration),null!=a.easing&&(h=a.easing),null!=a.delay&&(p=a.delay)),(0,i.isFunction)(p)&&(p=p(n,o)),(0,i.isFunction)(c)&&(c=c(n)),{duration:c||0,delay:p,easing:h}}function a(t,e,n,r,a,s,l){var u,c=!1;(0,i.isFunction)(a)?(l=s,s=a,a=null):(0,i.isObject)(a)&&(s=a.cb,l=a.during,c=a.isFrom,u=a.removeOpt,a=a.dataIndex);var h="leave"===t;h||e.stopAnimation("leave");var p=o(t,r,a,h?u||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,a):null);if(p&&p.duration>0){var d={duration:p.duration,delay:p.delay||0,easing:p.easing,done:s,force:!!s||!!l,setToFinal:!h,scope:t,during:l};c?e.animateFrom(n,d):e.animateTo(n,d)}else e.stopAnimation(),c||e.attr(n),l&&l(1),s&&s()}function s(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function l(t,e,n,i,r,o){s(t)||a("leave",t,e,n,i,r,o)}function u(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),l(t,{style:{opacity:0}},e,n,i)}n.d(e,{},{Jw:o,LR:s,LW:function(t,e,n,i,r,o){a("enter",t,e,n,i,r,o)},Nz:l,Xr:function(t){return r(t).oldStyle},ap:function(t){r(t).oldStyle=t.style},oi:function(t,e,n,i,r,o){a("update",t,e,n,i,r,o)},t5:function(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||u(t,e,n,i)}):u(t,e,n,i)}})},n8(t,e,n){var i=n("i4"),r=n("yd"),o=n("hy"),a=n("iY"),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.getInitialData=function(t,e){return(0,o.A)(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)(0,a.each)(i.getAxes(),function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),!(i.length<2)){if(2===i.length){o[n]=t.toGlobalCoord(t.getExtent()[+!!l]);return}for(var u=void 0,c=void 0,h=1,p=0;p<i.length;p++){var d=i[p].coord,f=p===i.length-1?i[p-1].tickValue+h:i[p].tickValue;if(f===s){c=d;break}if(f<s)u=d;else if(null!=u&&f>s){c=(d+u)/2;break}1===p&&(h=f-i[0].tickValue)}null==c&&(u?u&&(c=i[i.length-1].coord):c=i[0].coord),o[n]=t.toGlobalCoord(c)}}});else{var s=this.getData(),l=s.getLayout("offset"),u=s.getLayout("size"),c=+!i.getBaseAxis().isHorizontal();o[c]+=l+u/2}return o}return[0/0,0/0]},e.prototype.__requireStartValue=function(t){return this.getBaseAxis()!==t},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",defaultBarGap:"10%"},e}(r.A);r.A.registerClass(s),e.A=s},oO(t,e,n){n.d(e,{a:()=>Q});var i=n("nT"),r=n("LEV"),o=n("i4"),a=n("n8"),s=n("hy"),l=n("Af"),u=n("g8w"),c=n("xN"),h=n("bVi"),p=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.C6)(e,t),e.prototype.getInitialData=function(){return(0,s.A)(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.__preparePipelineContext=function(t,e){var n=(0,c.Zk)(this,t,e);return n.progressiveRender&&(n.large=!0),n},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series."+h.f4,e.dependencies=["grid","polar"],e.defaultOption=(0,l.G_)(a.A.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:u.A.color.primary,borderWidth:2}},realtimeSort:!1}),e}(a.A),d=n("Pk"),f=n("jZ"),g=n("iY"),y=n("uf"),v=n("W5"),m=n("Vb"),_=n("Qz"),x=n("FL"),b=n("LP"),w=n("F4"),S=n("dd"),A=n("hHP"),M=n("fC"),T=n("WN9"),C=n("mR"),k=n("g2"),I=n("KO");function D(t,e,n){return e*Math.sin(t)*(n?-1:1)}function O(t,e,n){return e*Math.cos(t)*(n?1:-1)}var L=n("Z0"),P=Math.max,R=Math.min,B=function(t){function e(){var e=t.call(this)||this;return e.type=h.f4,e._isFirstFrame=!0,e}return(0,o.C6)(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){(0,y.traverseElements)(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e!==this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,h=function(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}(t,l);h&&this._enableRealtimeSort(h,a,n);var p=t.get("clip",!0)||h,d=l.getArea();o.removeClipPath();var g=t.get("roundCap",!0),y=t.get("showBackground",!0),x=t.getModel("backgroundStyle"),b=x.get("borderRadius")||0,S=[],A=this._backgroundEls,M=i&&i.isInitSort,T=i&&"changeAxisOrder"===i.type;function C(t){var e,n,i,o=W[l.type](a,t);if(!o)return null;var s=(e=l,n=r,i=o,new("polar"===e.type?_.A:m.A)({shape:$(n,i,e),silent:!0,z2:0}));return s.useStyle(x.getItemStyle()),"cartesian2d"===l.type?s.setShape("r",b):s.setShape("cornerRadius",b),S[t]=s,s}a.diff(s).add(function(e){var n=a.getItemModel(e),i=W[l.type](a,e,n);if(i&&(y&&C(e),a.hasValue(e)&&H[l.type](i))){var s=!1;p&&(s=z[l.type](d,i));var f=N[l.type](t,a,e,i,r,c,u.model,!1,g);h&&(f.forceLabelAnimation=!0),Z(f,a,e,n,i,t,r,"polar"===l.type),M?f.attr({shape:i}):h?E(h,c,f,i,e,r,!1,!1):(0,v.LW)(f,{shape:i},t,e),a.setItemGraphicEl(e,f),o.add(f),f.ignore=s}}).update(function(e,n){var i=a.getItemModel(e),f=W[l.type](a,e,i);if(f){if(y){var m=void 0;0===A.length?m=C(n):((m=A[n]).useStyle(x.getItemStyle()),"cartesian2d"===l.type?m.setShape("r",b):m.setShape("cornerRadius",b),S[e]=m);var _=W[l.type](a,e),k=$(r,_,l);(0,v.oi)(m,{shape:k},c,e)}var I=s.getItemGraphicEl(n);if(!a.hasValue(e)||!H[l.type](f))return void o.remove(I);var D=!1;if(p&&(D=z[l.type](d,f))&&o.remove(I),I&&("sector"===I.type&&g||"sausage"===I.type&&!g)&&(I&&(0,v.t5)(I,t,n),I=null),I?(0,v.ap)(I):I=N[l.type](t,a,e,f,r,c,u.model,!0,g),h&&(I.forceLabelAnimation=!0),T){var O=I.getTextContent();if(O){var L=(0,w.Lu)(O);null!=L.prevValue&&(L.prevValue=L.value)}}else Z(I,a,e,i,f,t,r,"polar"===l.type);M?I.attr({shape:f}):h?E(h,c,I,f,e,r,!0,T):(0,v.oi)(I,{shape:f},t,e,null),a.setItemGraphicEl(e,I),I.ignore=D,o.add(I)}}).remove(function(e){var n=s.getItemGraphicEl(e);n&&(0,v.t5)(n,t,e)}).execute();var k=this._backgroundGroup||(this._backgroundGroup=new f.A);k.removeAll();for(var I=0;I<S.length;++I)k.add(S[I]);o.add(k),this._backgroundEls=S,this._data=a},e.prototype._renderLarge=function(t,e,n){this._clear(),j(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),j(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&(0,A.Ip)(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(e,o,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var i=[];return t.each(t.mapDimension(e.dim),function(t,e){var r=n(e);r=null==r?0/0:r,i.push({dataIndex:e,mappedValue:r,ordinalNumber:t})}),i.sort(function(t,e){return e.mappedValue-t.mappedValue}),{ordinalNumbers:(0,g.map)(i,function(t){return t.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=i.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,i.getRawOrdinalNumber(a)),u=l<0?5e-324:e(t.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(e){(0,v.t5)(e,t,(0,x.z)(e).dataIndex)})):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type=h.f4,e}(T.A),z={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=P(e.x,t.x),s=R(e.x+e.width,r),l=P(e.y,t.y),u=R(e.y+e.height,o),c=s<a,h=u<l;return e.x=c&&a>r?s:a,e.y=h&&l>o?u:l,e.width=c?0:s-a,e.height=h?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),c||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=R(e.r,t.r),o=P(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}return a}},N={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new m.A({shape:(0,g.extend)({},i),z2:1});return u.__dataIndex=n,u.name="item",o&&(u.shape[r?"height":"width"]=0),u},polar:function(t,e,n,i,r,o,a,s,l){var u,c,h=!r&&l?M.A:_.A,p=new h({shape:i,z2:1});if(p.name="item",u=G(r),c=({isRoundCap:h===M.A}).isRoundCap,p.calculateTextPosition=function(t,e,n){var i=e.position;if(!i||i instanceof Array)return(0,I.X4)(t,e,n);var r=u(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,h=a.r,p=a.r0,d=(h+p)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,v=c?Math.abs(h-p)/2:0,m=Math.cos,_=Math.sin,x=s+h*m(f),b=l+h*_(f),w="left",S="top";switch(r){case"startArc":x=s+(p-o)*m(y),b=l+(p-o)*_(y),w="center",S="top";break;case"insideStartArc":x=s+(p+o)*m(y),b=l+(p+o)*_(y),w="center",S="bottom";break;case"startAngle":x=s+d*m(f)+D(f,o+v,!1),b=l+d*_(f)+O(f,o+v,!1),w="right",S="middle";break;case"insideStartAngle":x=s+d*m(f)+D(f,-o+v,!1),b=l+d*_(f)+O(f,-o+v,!1),w="left",S="middle";break;case"middle":x=s+d*m(y),b=l+d*_(y),w="center",S="middle";break;case"endArc":x=s+(h+o)*m(y),b=l+(h+o)*_(y),w="center",S="bottom";break;case"insideEndArc":x=s+(h-o)*m(y),b=l+(h-o)*_(y),w="center",S="top";break;case"endAngle":x=s+d*m(g)+D(g,o+v,!0),b=l+d*_(g)+O(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":x=s+d*m(g)+D(g,-o+v,!0),b=l+d*_(g)+O(g,-o+v,!0),w="right",S="middle";break;default:return(0,I.X4)(t,e,n)}return(t=t||{}).x=x,t.y=b,t.align=w,t.verticalAlign=S,t},o){var d=p.shape,f=r?"r":"endAngle",g={};d[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?v.oi:v.LW)(p,{shape:g},o)}return p}};function E(t,e,n,i,r,o,a,s){o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?v.oi:v.LW)(n,{shape:l},e,r,null);var l,u,c=e?t.baseAxis.model:null;(a?v.oi:v.LW)(n,{shape:u},c,r)}function V(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var F=["x","y","width","height"],Y=["cx","cy","r","startAngle","endAngle"],H={cartesian2d:function(t){return!V(t,F)},polar:function(t){return!V(t,Y)}},W={cartesian2d:function(t,e,n){var i,r,o,a=t.getItemLayout(e);if(!a)return null;var s=n?(i=n,r=a,(o=i.get(["itemStyle","borderColor"]))&&"none"!==o?Math.min(i.get(["itemStyle","borderWidth"])||0,isNaN(r.width)?Number.MAX_VALUE:Math.abs(r.width),isNaN(r.height)?Number.MAX_VALUE:Math.abs(r.height)):0):0,l=a.width>0?1:-1,u=a.height>0?1:-1;return{x:a.x+l*s/2,y:a.y+u*s/2,width:a.width-l*s,height:a.height-u*s}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function G(t){var e;return e=t?"Arc":"Angle",function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}function Z(t,e,n,i,r,o,a,s){var l,u,c,h,p=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var d=t.shape,f=(0,L.i)(i.getModel("itemStyle"),d,!0);(0,g.extend)(d,f),t.setShape(d)}}else{var y=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",y)}t.useStyle(p);var v=i.getShallow("cursor");v&&t.attr("cursor",v);var m=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?(l=r,u=o.coordinateSystem,0===l.height?u.getOtherAxis(u.getBaseAxis()).inverse?"bottom":"top":l.height>0?"bottom":"top"):(c=r,h=o.coordinateSystem,0===c.width?h.getOtherAxis(h.getBaseAxis()).inverse?"left":"right":c.width>=0?"right":"left"),_=(0,w.lx)(i);(0,w.qM)(t,_,{labelFetcher:o,labelDataIndex:n,defaultText:(0,k.i)(o.getData(),n),inheritColor:p.fill,defaultOpacity:p.opacity,defaultOutsidePosition:m});var x=t.getTextContent();if(s&&x){var S=i.get(["label","position"]);t.textConfig.inside="middle"===S||null,function(t,e,n,i){if((0,g.isNumber)(i))return t.setTextConfig({rotation:i});if((0,g.isArray)(e))return t.setTextConfig({rotation:0});var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=n(e);switch(l){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=(a+s)/2;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:t.setTextConfig({rotation:0});return}var u=1.5*Math.PI-r;"middle"===l&&u>Math.PI/2&&u<1.5*Math.PI&&(u-=Math.PI),t.setTextConfig({rotation:u})}(t,"outside"===S?m:S,G(a),i.get(["label","rotate"]))}(0,w.Oh)(x,_,o.getRawValue(n),function(t){return(0,k.T)(e,t)});var A=i.getModel(["emphasis"]);(0,b.Lm)(t,A.get("focus"),A.get("blurScope"),A.get("disabled")),(0,b.Mx)(t,i),null!=r.startAngle&&null!=r.endAngle&&r.startAngle===r.endAngle&&(t.style.fill="none",t.style.stroke="none",(0,g.each)(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var U=function(){},X=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return(0,o.C6)(e,t),e.prototype.getDefaultShape=function(){return new U},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[i]=s,a[r]=n[l+2],o[i]=n[l+i],o[r]=n[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(d.Ay);function j(t,e,n,i){var r=t.getData(),o=+!!r.getLayout("valueAxisHorizontal"),a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints"),h=i?(0,c.i2)(t):0;if(u){var p=new X({shape:{points:u},incremental:h,silent:!0,z2:0});p.baseDimIdx=o,p.largeDataIndices=a,p.barWidth=s,p.useStyle(l.getItemStyle()),e.add(p),n&&n.push(p)}var d=new X({shape:{points:r.getLayout("largePoints")},incremental:h,ignoreCoarsePointer:!0,z2:1});d.baseDimIdx=o,d.largeDataIndices=a,d.barWidth=s,e.add(d),d.useStyle(r.getVisual("style")),d.style.stroke=null,(0,x.z)(d).seriesIndex=t.seriesIndex,t.get("silent")||(d.on("mousedown",q),d.on("mousemove",q)),n&&n.push(d)}var q=(0,S.nF)(function(t){var e=function(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,h=o.length/3;c<h;c++){var p=3*c;if(l[i]=u,l[r]=o[p+2],s[i]=o[p+i],s[r]=o[p+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return -1}(this,t.offsetX,t.offsetY);(0,x.z)(this).dataIndex=e>=0?e:null},30,!1);function $(t,e,n){if((0,C.g)(n,"cartesian2d")){var i=n.getArea();return{x:t?e.x:i.x,y:t?i.y:e.y,width:t?e.width:i.width,height:t?i.height:e.height}}var i=n.getArea();return{cx:i.cx,cy:i.cy,r0:t?i.r0:e.r0,r:t?i.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}}function Q(t){t.registerChartView(B),t.registerSeriesModel(p),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,(0,i.Md)(h.f4)),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,(0,i.KF)(h.f4)),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(0,r.A)(h.f4)),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)})}),(0,i.Jo)(t)}},LV(t,e,n){var i={};n.d(e,{},{Z:function(t){return i[t]},m:function(t,e){i[t]=e}})},qaX(t,e,n){var i=n("i4"),r=n("iY"),o=n("xy"),a=n("up"),s=n("kU"),l=n("jZ"),u=n("W5"),c=n("LP"),h=n("F4"),p=n("MB"),d=n("g8w"),f=["fromSymbol","toSymbol"];function g(t){return"_"+t+"Type"}function y(t,e,n){var i=e.getItemVisual(n,t);if(!i||"none"===i)return i;var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),s=e.getItemVisual(n,t+"Offset"),l=e.getItemVisual(n,t+"KeepAspect"),u=a.xU(r),c=a.hV(s||0,u);return i+u+c+(o||"")+(l||"")}function v(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),s=e.getItemVisual(n,t+"Offset"),l=e.getItemVisual(n,t+"KeepAspect"),u=a.xU(r),c=a.hV(s||0,u),h=a.v5(i,-u[0]/2+c[0],-u[1]/2+c[1],u[0],u[1],null,l);return h.__specifiedRotation=null==o||isNaN(o)?void 0:o*Math.PI/180||0,h.name=t,h}}function m(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=0/0,t.cpy1=0/0)}e.A=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return(0,i.C6)(e,t),e.prototype._createLine=function(t,e,n){var i,o=t.hostModel,a=t.getItemLayout(e),l=t.getItemVisual(e,"z2"),c=(m((i=new s.A({name:"line",subPixelOptimize:!0})).shape,a),i);c.shape.percent=0,u.LW(c,{z2:(0,r.retrieve2)(l,0),shape:{percent:1}},o,e),this.add(c),(0,r.each)(f,function(n){var i=v(n,t,e);this.add(i),this[g(n)]=y(n,t,e)},this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,o=this.childOfName("line"),a=t.getItemLayout(e),s={shape:{}};m(s.shape,a),u.oi(o,s,i,e),(0,r.each)(f,function(n){var i=y(n,t,e),r=g(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=v(n,t,e);this.add(o)}this[r]=i},this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,o=this.childOfName("line"),a=n&&n.emphasisLineStyle,s=n&&n.blurLineStyle,l=n&&n.selectLineStyle,u=n&&n.labelStatesModels,g=n&&n.emphasisDisabled,y=n&&n.focus,v=n&&n.blurScope;if(!n||t.hasItemOption){var m=t.getItemModel(e),_=m.getModel("emphasis");a=_.getModel("lineStyle").getLineStyle(),s=m.getModel(["blur","lineStyle"]).getLineStyle(),l=m.getModel(["select","lineStyle"]).getLineStyle(),g=_.get("disabled"),y=_.get("focus"),v=_.get("blurScope"),u=(0,h.lx)(m)}var x=t.getItemVisual(e,"style"),b=x.stroke;o.useStyle(x),o.style.fill=null,o.style.strokeNoScale=!0,o.ensureState("emphasis").style=a,o.ensureState("blur").style=s,o.ensureState("select").style=l,(0,r.each)(f,function(t){var e=this.childOfName(t);if(e){e.setColor(b),e.style.opacity=x.opacity;for(var n=0;n<c.BV.length;n++){var i=c.BV[n],r=o.getState(i);if(r){var a=r.style||{},s=e.ensureState(i),l=s.style||(s.style={});null!=a.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}e.markRedraw()}},this);var w=i.getRawValue(e);(0,h.qM)(this,u,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:b||d.A.color.neutral99,defaultOpacity:x.opacity,defaultText:(null==w?t.getName(e):isFinite(w)?(0,p.LI)(w,10):w)+""});var S=this.getTextContent();if(S){var A=u.normal;S.__align=S.style.align,S.__verticalAlign=S.style.verticalAlign,S.__position=A.get("position")||"middle";var M=A.get("distance");(0,r.isArray)(M)||(M=[M,M]),S.__labelDistance=M}this.setTextConfig({position:null,local:!0,inside:!1}),(0,c.Lm)(this,y,v,g)},e.prototype.highlight=function(){(0,c.HY)(this)},e.prototype.downplay=function(){(0,c.SD)(this)},e.prototype.updateLayout=function(t,e){this.childOfName("line").stopAnimation(),this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");m(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this.childOfName("fromSymbol"),e=this.childOfName("toSymbol"),n=this.getTextContent();if(t||e||n&&!n.ignore){for(var i=1,r=this.parent;r;)r.scaleX&&(i/=r.scaleX),r=r.parent;var a=this.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=o.sub([],u,l);if(o.normalize(c,c),t&&(t.setPosition(l),S(t,0),t.scaleX=t.scaleY=i*s,t.markRedraw()),e&&(e.setPosition(u),S(e,1),e.scaleX=e.scaleY=i*s,e.markRedraw()),n&&!n.ignore){n.x=n.y=0,n.originX=n.originY=0;var h=void 0,p=void 0,d=n.__labelDistance,f=d[0]*i,g=d[1]*i,y=s/2,v=a.tangentAt(y),m=[v[1],-v[0]],_=a.pointAt(y);m[1]>0&&(m[0]=-m[0],m[1]=-m[1]);var x=v[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var b=-Math.atan2(v[1],v[0]);u[0]<l[0]&&(b=Math.PI+b),n.rotation=b}var w=void 0;switch(n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-g,p="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=g,p="top";break;default:w=0,p="middle"}switch(n.__position){case"end":n.x=c[0]*f+u[0],n.y=c[1]*g+u[1],h=c[0]>.8?"left":c[0]<-.8?"right":"center",p=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":n.x=-c[0]*f+l[0],n.y=-c[1]*g+l[1],h=c[0]>.8?"right":c[0]<-.8?"left":"center",p=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=f*x+l[0],n.y=l[1]+w,h=v[0]<0?"right":"left",n.originX=-f*x,n.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=_[0],n.y=_[1]+w,h="center",n.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-f*x+u[0],n.y=u[1]+w,h=v[0]>=0?"right":"left",n.originX=f*x,n.originY=-w}n.scaleX=n.scaleY=i,n.setStyle({verticalAlign:n.__verticalAlign||p,align:n.__align||h})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(l.A)},mI(t,e,n){var i=n("jZ"),r=n("uf"),o=n("qaX"),a=n("F4");function s(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:(0,a.lx)(e)}}function l(t){return isNaN(t[0])||isNaN(t[1])}function u(t){return t&&!l(t[0])&&!l(t[1])}e.A=function(){function t(t){this.group=new i.A,this._LineCtor=t||o.A}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this.group,i=this._lineData;this._lineData=t,i||n.removeAll();var r=s(t);t.diff(i).add(function(n){e._doAdd(t,n,r)}).update(function(n,o){e._doUpdate(i,t,o,n,r)}).remove(function(t){n.remove(i.getItemGraphicEl(t))}).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=s(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){var e;t.isGroup||(e=t).animators&&e.animators.length>0||(t.incremental=n,t.ensureState("emphasis").hoverLayer=r.HOVER_LAYER_FOR_INCREMENTAL)}this._progressiveEls=[];for(var o=t.start;o<t.end;o++)if(u(e.getItemLayout(o))){var a=new this._LineCtor(e,o,this._seriesScope);a.traverse(i),this.group.add(a),e.setItemGraphicEl(o,a),this._progressiveEls.push(a)}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){r.traverseElements(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){if(u(t.getItemLayout(e))){var i=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,i),this.group.add(i)}},t.prototype._doUpdate=function(t,e,n,i,r){var o=t.getItemGraphicEl(n);u(e.getItemLayout(i))?(o?o.updateData(e,i,r):o=new this._LineCtor(e,i,r),e.setItemGraphicEl(i,o),this.group.add(o)):this.group.remove(o)},t}()},kU(t,e,n){var i=n("i4"),r=n("xz"),o=n("QO"),a=n("Pk"),s=n("xy"),l=n("g8w"),u=r.A.prototype,c=o.A.prototype,h=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function p(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}(0,i.C6)(function(){return null!==h&&h.apply(this,arguments)||this},h),e.A=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:l.A.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){p(e)?u.buildPath.call(this,t,e):c.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return p(this.shape)?u.pointAt.call(this,t):c.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=p(e)?[e.x2-e.x1,e.y2-e.y1]:c.tangentAt.call(this,t);return s.normalize(n,n)},e}(a.Ay)},yw(t,e,n){var i=n("i4"),r=n("up"),o=n("jZ"),a=n("W5"),s=n("FL"),l=n("LP"),u=n("g2"),c=n("iY"),h=n("F4"),p=n("s5");function d(t,e){this.parent.drift(t,e)}e.A=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return(0,i.C6)(e,t),e.prototype._createSymbol=function(t,e,n,i,o,a){this.removeAll();var s=(0,r.v5)(t,-1,-1,2,2,null,a);s.attr({z2:(0,c.retrieve2)(o,100),culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=d,this._symbolType=t,this.add(s)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){(0,l.HY)(this.childAt(0))},e.prototype.downplay=function(){(0,l.SD)(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",s=t.hostModel,l=e.getSymbolSize(t,n),u=e.getSymbolZ2(t,n),c=o!==this._symbolType,h=r&&r.disableAnimation;if(c){var p=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,l,u,p)}else{var d=this.childAt(0);d.silent=!1;var f={scaleX:l[0]/2,scaleY:l[1]/2};h?d.attr(f):a.oi(d,f,s,n),(0,a.ap)(d)}if(this._updateCommon(t,n,l,i,r),c){var d=this.childAt(0);if(!h){var f={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,a.LW(d,f,s,n)}}h&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,o){var a,s,d,f,g,y,v,m,_,x=this.childAt(0),b=t.hostModel;if(i&&(a=i.emphasisItemStyle,s=i.blurItemStyle,d=i.selectItemStyle,f=i.focus,g=i.blurScope,v=i.labelStatesModels,m=i.hoverScale,_=i.cursorStyle,y=i.emphasisDisabled),!i||t.hasItemOption){var w=i&&i.itemModel?i.itemModel:t.getItemModel(e),S=w.getModel("emphasis");a=S.getModel("itemStyle").getItemStyle(),d=w.getModel(["select","itemStyle"]).getItemStyle(),s=w.getModel(["blur","itemStyle"]).getItemStyle(),f=S.get("focus"),g=S.get("blurScope"),y=S.get("disabled"),v=(0,h.lx)(w),m=S.getShallow("scale"),_=w.getShallow("cursor")}var A=t.getItemVisual(e,"symbolRotate");x.attr("rotation",(A||0)*Math.PI/180||0);var M=(0,r.hV)(t.getItemVisual(e,"symbolOffset"),n);M&&(x.x=M[0],x.y=M[1]),_&&x.attr("cursor",_);var T=t.getItemVisual(e,"style"),C=T.fill;if(x instanceof p.Ay){var k=x.style;x.useStyle((0,c.extend)({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},T))}else x.__isEmptyBrush?x.useStyle((0,c.extend)({},T)):x.useStyle(T),x.style.decal=null,x.setColor(C,o&&o.symbolInnerColor),x.style.strokeNoScale=!0;var I=t.getItemVisual(e,"liftZ"),D=this._z2;null!=I?null==D&&(this._z2=x.z2,x.z2+=I):null!=D&&(x.z2=D,this._z2=null);var O=o&&o.useNameLabel;(0,h.qM)(x,v,{labelFetcher:b,labelDataIndex:e,defaultText:function(e){return O?t.getName(e):(0,u.i)(t,e)},inheritColor:C,defaultOpacity:T.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var L=x.ensureState("emphasis");L.style=a,x.ensureState("select").style=d,x.ensureState("blur").style=s;var P=null==m||!0===m?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;L.scaleX=this._sizeX*P,L.scaleY=this._sizeY*P,this.setSymbolScale(1),(0,l.Lm)(this,f,g,y)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=(0,s.z)(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var l=i.getTextContent();l&&a.Nz(l,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();a.Nz(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return(0,r.xU)(t.getItemVisual(e,"symbolSize"))},e.getSymbolZ2=function(t,e){return t.getItemVisual(e,"z2")},e}(o.A)},Hp(t,e,n){var i=n("jZ"),r=n("W5"),o=n("uf"),a=n("yw"),s=n("iY"),l=n("F4");function u(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i&&i.isIgnore&&i.isIgnore(n))&&!(i&&i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function c(t){return null==t||(0,s.isObject)(t)||(t={isIgnore:t}),t||{}}function h(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:(0,l.lx)(e),cursorStyle:e.get("cursor")}}function p(t,e,n,i,r,o,a){var s=new t(e,n,i,r);return s.setPosition(o),e.setItemGraphicEl(n,s),a.add(s),s}e.A=function(){function t(t){this.group=new i.A,this._SymbolCtor=t||a.A}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=c(e);var n=this.group,i=t.hostModel,o=this._data,a=this._SymbolCtor,s=e.disableAnimation,l=this._seriesScope=h(t),d={disableAnimation:s},f=e.getSymbolPoint||function(e){return t.getItemLayout(e)};o||n.removeAll(),t.diff(o).add(function(i){var r=f(i);u(t,r,i,e)&&p(a,t,i,l,d,r,n)}).update(function(c,h){var p=o.getItemGraphicEl(h),g=f(c);if(!u(t,g,c,e))return void n.remove(p);var y=t.getItemVisual(c,"symbol")||"circle",v=p&&p.getSymbolType&&p.getSymbolType();if(!p||v&&v!==y)n.remove(p),(p=new a(t,c,l,d)).setPosition(g);else{p.updateData(t,c,l,d);var m={x:g[0],y:g[1]};s?p.attr(m):r.oi(p,m,i)}n.add(p),t.setItemGraphicEl(c,p)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)},i)}).execute(),this._getSymbolPoint=f,this._data=t},t.prototype.updateLayout=function(t){var e=this._data;if(e)for(var n=e.getStore(),i=0,r=n.count();i<r;i++){var o=e.getItemGraphicEl(i),a=this._getSymbolPoint(i);u(e,a,i,t)?((o=o||p(this._SymbolCtor,e,i,this._seriesScope,{disableAnimation:!0},a,this.group)).stopAnimation(),o.setPosition(a),o.markRedraw()):o&&(this.group.remove(o),e.setItemGraphicEl(i,null))}},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=h(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n,i){function r(t){t.isGroup||(t.incremental=n,t.ensureState("emphasis").hoverLayer=o.HOVER_LAYER_FOR_INCREMENTAL)}this._progressiveEls=[],i=c(i);for(var a=t.start;a<t.end;a++){var s=e.getItemLayout(a);if(u(e,s,a,i)){var l=new this._SymbolCtor(e,a,this._seriesScope);l.traverse(r),l.setPosition(s),this.group.add(l),e.setItemGraphicEl(a,l),this._progressiveEls.push(l)}}},t.prototype.eachRendered=function(t){o.traverseElements(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)},n.hostModel)}):e.removeAll()},t}()},XS(t,e,n){n.d(e,{N$:()=>p,sH:()=>g,fm:()=>d,Vz:()=>f});var i=n("lN"),r=n("sn"),o=n("iY"),a=n("MB"),s=n("Fy4"),l=n("YG");function u(t,e,n){var i,u=(0,o.createHashMap)(),h=n.serUids,p=n.liPosMinGap,d=e.axis,f=d.scale,g=f.needTransform(),y=f.getFilter?f.getFilter():null,v=(0,s.$6)(y);function m(n){(0,r.B_)(t,e.sers,function(t){var e=t.getRawData(),i=e.getDimensionIndex(e.mapDimension(d.dim));i>=0&&n(i,t,e.getStore())})}var _=0;if(m(function(t,e,n){u.set(e.uid,1),h&&h.hasKey(e.uid)||(i=!0),_+=n.count()}),h&&h.keys().length===u.keys().length||(i=!0),!i&&null!=p){e.liPosMinGap=p;return}(0,l.Zi)(c,_);var x=0;m(function(t,e,n){for(var i=0,r=n.count();i<r;++i){var o=n.get(t,i);isFinite(o)&&(!y||(0,s.V7)(v,o))&&(g&&(o=f.transformIn(o,null)),c.arr[x++]=o)}});var b=c.typed?c.arr.subarray(0,x):(c.arr.length=x,c.arr);c.typed?b.sort():(0,a.Y6)(b);for(var w=1/0,S=1;S<x;++S){var A=b[S]-b[S-1];A>0&&A<w&&(w=A)}n.liPosMinGap=e.liPosMinGap=(0,a.YC)(w)?w:x>0?r.e2:r.Lc,n.serUids=u}var c=(0,l.Zi)({ctor:l.MO},50),h=n("x2");function p(t){return function(e,n){var r=(0,i.D)(e,{fromStat:{key:t}});if((0,a.YC)(r.w2))return[-r.w2/2,r.w2/2]}}function d(t){return t+r.V0}function f(t,e){return t+r.V0+e}function g(t){return(0,r.wW)("liPosMinGap",u),{liPosMinGap:!(0,h.wl)(t.scale)}}},hHP(t,e,n){var i=n("Vb"),r=n("W5"),o=n("Qz"),a=n("MB"),s=n("iY");function l(t,e,n,o,a){var l=t.getArea(),u=l.x,c=l.y,h=l.width,p=l.height,d=n.get(["lineStyle","width"])||0;u-=d/2,c-=d/2,h+=d,p+=d,h=Math.ceil(h),u!==Math.floor(u)&&(u=Math.floor(u),h++);var f=new i.A({shape:{x:u,y:c,width:h,height:p}});if(e){var g=t.getBaseAxis(),y=g.isHorizontal(),v=g.inverse;y?(v&&(f.shape.x+=h),f.shape.width=0):(v||(f.shape.y+=p),f.shape.height=0);var m=(0,s.isFunction)(a)?function(t){a(t,f)}:null;r.LW(f,{shape:{width:h,height:p,x:u,y:c}},n,null,o,m)}return f}function u(t,e,n){var i=t.getArea(),s=(0,a.LI)(i.r0,1),l=(0,a.LI)(i.r,1),u=new o.A({shape:{cx:(0,a.LI)(t.cx,1),cy:(0,a.LI)(t.cy,1),r0:s,r:l,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return e&&("angle"===t.getBaseAxis().dim?u.shape.endAngle=i.startAngle:u.shape.r=s,r.LW(u,{shape:{endAngle:i.endAngle,r:l}},n)),u}n.d(e,{},{Ip:function(t,e,n,i,r){if(t){if("polar"===t.type)return u(t,e,n);else if("cartesian2d"===t.type)return l(t,e,n,i,r)}return null},Mi:u,SM:l,UW:0,VO:1,Xu:2,YQ:function(t){var e=t.coordinateSystem;if(t.get("clip",!0)&&e&&(!e.shouldClip||e.shouldClip()))return e.getArea&&e.getArea(.1)},b7:function(t,e,n){t?e.setClipPath(n):e.removeClipPath()}})},yM(t,e,n){var i=n("xN");n.d(e,{},{A:function(){var t=(0,i.$r)();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!!(i&&i.large),s=n.progressiveRender=!!(i&&i.progressiveRender);return(r!==a||o!==s)&&"reset"}}})},hy(t,e,n){n.d(e,{A:()=>y});var i=n("iY"),r=n("oo"),o=n("CG"),a=n("B6"),s=n("xN"),l=n("Ww"),u=function(t){this.coordSysDims=[],this.axisMap=(0,i.createHashMap)(),this.categoryAxisMap=(0,i.createHashMap)(),this.coordSysName=t},c={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",s.US).models[0],o=t.getReferringComponents("yAxis",s.US).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),h(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),h(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",s.US).models[0];e.coordSysDims=["single"],n.set("single",r),h(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",s.US).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),h(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),h(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,i.each)(a.parallelAxisIndex,function(t,i){var a=o.getComponent("parallelAxis",t),l=s[i];n.set(l,a),h(a)&&(r.set(l,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=i))})},matrix:function(t,e,n,i){var r=t.getReferringComponents("matrix",s.US).models[0];e.coordSysDims=["x","y"];var o=r.getDimensionModel("x"),a=r.getDimensionModel("y");n.set("x",o),n.set("y",a),i.set("x",o),i.set("y",a)}};function h(t){return"category"===t.get("type")}var p=n("oa"),d=n("pE"),f=n("rk"),g=n("No"),y=function(t,e,n){n=n||{};var h,y,v,m,_,x,b,w,S=e.getSourceManager(),A=!1;t?(A=!0,w=(0,p.AF)(t)):A=(w=S.getSource()).sourceFormat===g.mK;var M=function(t){var e=t.get("coordinateSystem"),n=new u(e),i=c[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),T=(y=e.get("coordinateSystem"),v=l.Ay.get(y),M&&M.coordSysDims&&(h=i.map(M.coordSysDims,function(t){var e={name:t},n=M.axisMap.get(t);if(n){var i=n.get("type");e.type=(0,a.B)(i)}return e})),h||(h=v&&(v.getDimensionsInfo?v.getDimensionsInfo():v.dimensions.slice())||["x","y"]),h),C=n.useEncodeDefaulter,k=i.isFunction(C)?C:C?i.curry(f.OC,T,e):null,I={coordDimensions:T,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:k,canOmitUnusedDimensions:!A},D=(0,o.A)(w,I),O=(m=D.dimensions,_=n.createInvertedIndices,M&&i.each(m,function(t,e){var n=t.coordDim,i=M.categoryAxisMap.get(n);i&&(null==x&&(x=e),t.ordinalMeta=i.getOrdinalMeta(),_&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(b=!0)}),b||null==x||(m[x].otherDims.itemName=0),x),L=A?null:S.getSharedDataStore(D),P=(0,d.iJ)(e,{schema:D,store:L}),R=new r.A(D,e);R.setCalculationInfo(P);var B=null!=O&&function(t){if(t.sourceFormat===g.mK){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!i.isArray((0,s.vj)(e))}}(w)?function(t,e,n,i){return i===O?n:this.defaultDimValueGetter(t,e,n,i)}:null;return R.hasItemOption=!1,R.initData(A?w:L,null,B),R}},g2(t,e,n){var i=n("iL"),r=n("iY");n.d(e,{},{T:function(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!(0,r.isArray)(e))return e+"";for(var i=[],o=0;o<n.length;o++){var a=t.getDimensionIndex(n[o]);a>=0&&i.push(e[a])}return i.join(" ")},i:function(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var o=(0,i.QE)(t,e,n[0]);return null!=o?o+"":null}if(r){for(var a=[],s=0;s<n.length;s++)a.push((0,i.QE)(t,e,n[s]));return a.join(" ")}}})},Z0(t,e,n){var i=n("iY"),r=n("KO");n.d(e,{},{i:function(t,e,n){var o=t.get("borderRadius");if(null==o)return n?{cornerRadius:0}:null;(0,i.isArray)(o)||(o=[o,o,o,o]);var a=Math.abs(e.r||0-e.r0||0);return{cornerRadius:(0,i.map)(o,function(t){return(0,r.lo)(t,a)})}}})},K1(t,e,n){var i=n("pE"),r=n("iY");n.d(e,{},{$F:function(t,e){return!isFinite(t)||!isFinite(e)},t6:function(t,e,n){var o,a,s,l,u=t.getBaseAxis(),c=t.getOtherAxis(u),h=(o=c,a=n,s=0,l=o.scale.getExtent(),"start"===a?s=l[0]:"end"===a?s=l[1]:(0,r.isNumber)(a)&&!isNaN(a)?s=a:l[0]>0?s=l[0]:l[1]<0&&(s=l[1]),s),p=u.dim,d=c.dim,f=e.mapDimension(d),g=e.mapDimension(p),y=+("x"===d||"radius"===d),v=(0,r.map)(t.dimensions,function(t){return e.mapDimension(t)}),m=!1,_=e.getCalculationInfo("stackResultDimension");return(0,i.sJ)(e,v[0])&&(m=!0,v[0]=_),(0,i.sJ)(e,v[1])&&(m=!0,v[1]=_),{dataDimsForPoint:v,valueStart:h,valueAxisDim:d,baseAxisDim:p,stacked:!!m,valueDim:f,baseDim:g,baseDataOffset:y,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}},tk:function(t,e,n,i){var r=0/0;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}})},R4(t,e,n){n.d(e,{a:()=>Y});var i=n("i4"),r=n("hy"),o=n("yd"),a=n("up"),s=n("jZ"),l=n("g8w"),u=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return(0,i.C6)(e,t),e.prototype.getInitialData=function(t){return(0,r.A)(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new s.A,n=(0,a.v5)("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,u=.8*t.itemHeight,c=(0,a.v5)(o,(t.itemWidth-u)/2,(t.itemHeight-u)/2,u,u,t.itemStyle.fill);return e.add(c),c.setStyle(t.itemStyle),c.rotation=("inherit"===t.iconRotate?r:t.iconRotate||0)*Math.PI/180,c.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(c.style.stroke=c.style.fill,c.style.fill=l.A.color.neutral00,c.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1,triggerEvent:!1},e}(o.A),c=n("iY"),h=n("Hp"),p=n("yw"),d=n("K1"),f=n("YG"),g=n("Up"),y=n("W5"),v=n("s2"),m=n("xN"),_=n("nM"),x=n("WN9"),b=n("hHP"),w=n("mR"),S=n("LP"),A=n("F4"),M=n("g2"),T=n("FL"),C=n("s7"),k=n("x4z"),I=n("LC");function D(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function O(t){for(var e=m.X1(),n=m.X1(),i=0;i<t.length;){var r=t[i++],o=t[i++];(0,d.$F)(r,o)||(m.vx(e,r),m.vx(n,o))}return[e,n]}function L(t,e){var n=O(t),i=n[0],r=n[1],o=O(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(r[0]-s[0]),Math.abs(i[1]-a[1]),Math.abs(r[1]-s[1]))}function P(t){return c.isNumber(t)?t:.5*!!t}function R(t,e,n,i,r){var o=n.getBaseAxis(),a=+("x"!==o.dim&&"radius"!==o.dim),s=[],l=0,u=[],c=[],h=[],p=[];if(r){for(l=0;l<t.length;l+=2){var f=e||t;(0,d.$F)(f[l],f[l+1])||p.push(t[l],t[l+1])}t=p}for(l=0;l<t.length-2;l+=2)switch(h[0]=t[l+2],h[1]=t[l+3],c[0]=t[l],c[1]=t[l+1],s.push(c[0],c[1]),i){case"end":u[a]=h[a],u[1-a]=c[1-a],s.push(u[0],u[1]);break;case"middle":var g=(c[a]+h[a])/2,y=[];u[a]=y[a]=g,u[1-a]=c[1-a],y[1-a]=h[1-a],s.push(u[0],u[1]),s.push(y[0],y[1]);break;default:u[a]=c[a],u[1-a]=h[1-a],s.push(u[0],u[1])}return s.push(t[l++],t[l++]),s}function B(t,e){return[t[2*e],t[2*e+1]]}function z(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<S.BV.length;e++)if(t.get([S.BV[e],"endLabel","show"]))return!0;return!1}function N(t,e,n,i){if(!(0,w.g)(e,"cartesian2d"))return(0,b.Mi)(e,n,i);var r=i.getModel("endLabel"),o=r.get("valueAnimation"),a=i.getData(),s={lastFrameIndex:0},l=z(i)?function(n,i){t._endLabelOnDuring(n,i,a,s,o,r,e)}:null,u=e.getBaseAxis().isHorizontal(),c=(0,b.SM)(e,n,i,function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})},l);if(!i.get("clip",!0)){var h=c.shape,p=Math.max(h.width,h.height);u?(h.y-=p,h.height+=2*p):(h.x-=p,h.width+=2*p)}return l&&l(1,c),c}var E=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.init=function(){var t=new s.A,e=new h.A;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t,this._changePolyState=c.bind(this._changePolyState,this)},e.prototype.render=function(t,e,n){var i,r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.getLayout("points")||[],h="polar"===r.type,v=this._coordSys,m=this._symbolDraw,_=this._polyline,x=this._polygon,b=this._lineGroup,w=!e.ssr&&t.get("animation"),A=!l.isEmpty(),M=l.get("origin"),O=(0,d.t6)(r,a,M),L=A&&function(t,e,n){if(null==n.valueDim)return[];for(var i=e.count(),r=(0,f.Jk)(2*i),o=0;o<i;o++){var a=(0,d.tk)(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(r,a,O),B=t.get("showSymbol"),z=t.get("connectNulls"),E=B&&!h&&function(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&!(r&&function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*p.A.getSymbolSize(e,a)[+!!t.isHorizontal()]>i)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return c.each(o.getViewLabels(),function(t){t.tick.offInterval||(s[(0,I.NQ)(o.scale,t.tick)]=1)}),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}(t,a,r),V=this._data;V&&V.eachItemGraphicEl(function(t,e){t.__temp&&(o.remove(t),V.setItemGraphicEl(e,null))}),B||m.remove(),o.add(b);var F=!h&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(i=r.getArea()).width?(i.x-=.1,i.y-=.1,i.width+=.2,i.height+=.2):i.r0&&(i.r0-=.5,i.r+=.5)),this._clipShapeForSymbol=i;var Y=function(t,e,n){var i,r,o=t.getVisual("visualMeta");if(o&&o.length&&t.count()){if("cartesian2d"!==e.type)return;for(var a=o.length-1;a>=0;a--){var s=t.getDimensionInfo(o[a].dimension);if("x"===(i=s&&s.coordDim)||"y"===i){r=o[a];break}}if(!r)return;var l=e.getAxis(i),u=c.map(r.stops,function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}}),h=u.length,p=r.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),p.reverse());var d=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord,r=(n-i)/(e.coord-i);return{coord:n,color:(0,k.lerp)(r,[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)n=l;else if(u>e){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}else n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}return r}(u,"x"===i?n.getWidth():n.getHeight()),f=d.length;if(!f&&h)return u[0].coord<0?p[1]?p[1]:u[h-1].color:p[0]?p[0]:u[0].color;var y=d[0].coord-10,v=d[f-1].coord+10,m=v-y;if(m<.001)return"transparent";c.each(d,function(t){t.offset=(t.coord-y)/m}),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var _=new g.A(0,0,0,0,d,!0);return _[i]=y,_[i+"2"]=v,_}}(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(_&&v.type===r.type&&F===this._step){A&&!x?x=this._newPolygon(u,L):x&&!A&&(b.remove(x),x=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,(0,C.he)(Y));var H=b.getClipPath();if(H){var W=N(this,r,!1,t);y.LW(H,{shape:W.shape},t)}else b.setClipPath(N(this,r,!0,t));B&&m.updateData(a,{isIgnore:E,clipShape:i,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),D(this._stackedOnPoints,L)&&D(this._points,u)||(w?this._doUpdateAnimation(a,L,r,n,F,M,z):(F&&(L&&(L=R(L,u,r,F,z)),u=R(u,null,r,F,z)),_.setShape({points:u}),x&&x.setShape({points:u,stackedOnPoints:L})))}else B&&m.updateData(a,{isIgnore:E,clipShape:i,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),w&&this._initSymbolLabelAnimation(a,r,i),F&&(L&&(L=R(L,u,r,F,z)),u=R(u,null,r,F,z)),_=this._newPolyline(u),A?x=this._newPolygon(u,L):x&&(b.remove(x),x=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,(0,C.he)(Y)),b.setClipPath(N(this,r,!0,t));var G=t.getModel("emphasis"),Z=G.get("focus"),U=G.get("blurScope"),X=G.get("disabled");_.useStyle(c.defaults(s.getLineStyle(),{fill:"none",stroke:Y,lineJoin:"bevel"})),(0,S.Mx)(_,t,"lineStyle"),_.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(_.getState("emphasis").style.lineWidth=+_.style.lineWidth+1),(0,T.z)(_).seriesIndex=t.seriesIndex,(0,S.Lm)(_,Z,U,X);var j=P(t.get("smooth")),q=t.get("smoothMonotone");if(_.setShape({smooth:j,smoothMonotone:q,connectNulls:z}),x){var $=a.getCalculationInfo("stackedOnSeries"),Q=0;x.useStyle(c.defaults(l.getAreaStyle(),{fill:Y,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),$&&(Q=P($.get("smooth"))),x.setShape({smooth:j,stackedOnSmooth:Q,smoothMonotone:q,connectNulls:z}),(0,S.Mx)(x,t,"areaStyle"),(0,T.z)(x).seriesIndex=t.seriesIndex,(0,S.Lm)(x,Z,U,X)}var J=this._changePolyState;a.eachItemGraphicEl(function(t){t&&(t.onHoverStateChange=J)}),this._polyline.onHoverStateChange=J,this._data=a,this._coordSys=r,this._stackedOnPoints=L,this._points=u,this._step=F,this._valueOrigin=M;var K=t.get("triggerEvent"),tt=t.get("triggerLineEvent");this.packEventData(t,_,!0===tt||!0===K||"line"===K),x&&this.packEventData(t,x,!0===tt||!0===K||"area"===K)},e.prototype.packEventData=function(t,e,n){(0,T.z)(e).eventData=n?{componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line",selfType:e===this._polygon?"area":"line"}:null},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=m.le(r,i);if(this._changePolyState("emphasis"),o instanceof Array||null==o||!(o>=0))x.A.prototype.highlight.call(this,t,e,n,i);else{var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if((0,d.$F)(l,u)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel")||0,h=t.get("z")||0;(s=new p.A(r,o)).x=l,s.y=u,s.setZ(c,h);var f=s.getSymbolPath().getTextContent();f&&(f.zlevel=c,f.z=h,f.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=m.le(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else x.A.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;(0,S.Pk)(this._polyline,t),e&&(0,S.Pk)(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new _.N({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new _.z({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");c.isFunction(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=c.isFunction(u)?u(null):u;t.eachItemGraphicEl(function(t,o){if(t){var s=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=e.pointToCoord(s);i?(p=n.startAngle,d=n.endAngle,f=-g[1]/180*Math.PI):(p=n.r0,d=n.r,f=g[0])}else i?(p=n.x,d=n.x+n.width,f=t.x):(p=n.y+n.height,d=n.y,f=t.y);var y=d===p?0:(f-p)/(d-p);a&&(y=1-y);var v=c.isFunction(u)?u(o):l*y+h,m=t.getSymbolPath(),_=m.getTextContent();t.attr({scaleX:0,scaleY:0}),t.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:v}),_&&_.animateFrom({style:{opacity:0}},{duration:300,delay:v}),m.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(z(t)){var r,o,a,s=t.getData(),l=this._polyline,u=s.getLayout("points");if(!u){l.removeTextContent(),this._endLabel=null;return}var c=this._endLabel;c||((c=this._endLabel=new v.Ay({z2:200})).ignoreClip=!0,l.setTextContent(this._endLabel),l.disableLabelAnimation=!0);var h=function(t){for(var e=t.length/2;e>0&&(0,d.$F)(t[2*e-2],t[2*e-1]);e--);return e-1}(u);h>=0&&((0,A.qM)(l,(0,A.lx)(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:h,defaultText:function(t,e,n){return null!=n?(0,M.T)(s,n):(0,M.i)(s,t)},enableTextSetter:!0},(o=(r=e.getBaseAxis()).isHorizontal(),a=r.inverse,{normal:{align:i.get("align")||(o?a?"right":"left":"center"),verticalAlign:i.get("verticalAlign")||(o?"middle":a?"top":"bottom")}})),l.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),p=o.get("precision"),f=o.get("distance")||0,g=a.getBaseAxis(),y=g.isHorizontal(),v=g.inverse,_=e.shape,x=v?y?_.x:_.y+_.height:y?_.x+_.width:_.y,b=(y?f:0)*(v?-1:1),w=(y?0:-f)*(v?-1:1),S=y?"x":"y",M=function(t,e,n){for(var i,r,o=t.length/2,a=+("x"!==n),s=0,l=-1,u=0;u<o;u++)if(r=t[2*u+a],!(0,d.$F)(r,t[2*u+1-a])){if(0===u){i=r;continue}if(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}return{range:[s,l],t:(e-i)/(r-i)}}(u,x,S),T=M.range,C=T[1]-T[0],k=void 0;if(C>=1){if(C>1&&!h){var I=B(u,T[0]);s.attr({x:I[0]+b,y:I[1]+w}),r&&(k=c.getRawValue(T[0]))}else{var I=l.getPointOn(x,S);I&&s.attr({x:I[0]+b,y:I[1]+w});var D=c.getRawValue(T[0]),O=c.getRawValue(T[1]);r&&(k=m.Il(n,p,D,O,M.t))}i.lastFrameIndex=T[0]}else{var L=1===t||i.lastFrameIndex>0?T[0]:0,I=B(u,L);r&&(k=c.getRawValue(L)),s.attr({x:I[0]+b,y:I[1]+w})}if(r){var P=(0,A.Lu)(s);"function"==typeof P.setLabelText&&P.setLabelText(k)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=function(t,e,n,i,r,o){for(var a,s=(a=[],e.diff(t).add(function(t){a.push({cmd:"+",idx:t})}).update(function(t,e){a.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){a.push({cmd:"-",idx:t})}).execute(),a),l=[],u=[],c=[],h=[],p=[],g=[],y=[],v=(0,d.t6)(r,e,o),m=t.getLayout("points")||[],_=e.getLayout("points")||[],x=0;x<s.length;x++){var b=s[x],w=!0,S=void 0,A=void 0;switch(b.cmd){case"=":S=2*b.idx,A=2*b.idx1;var M=m[S],T=m[S+1],C=_[A],k=_[A+1];(isNaN(M)||isNaN(T))&&(M=C,T=k),l.push(M,T),u.push(C,k),c.push(n[S],n[S+1]),h.push(i[A],i[A+1]),y.push(e.getRawIndex(b.idx1));break;case"+":var I=b.idx,D=v.dataDimsForPoint,O=r.dataToPoint([e.get(D[0],I),e.get(D[1],I)]);A=2*I,l.push(O[0],O[1]),u.push(_[A],_[A+1]);var L=(0,d.tk)(v,r,e,I);c.push(L[0],L[1]),h.push(i[A],i[A+1]),y.push(e.getRawIndex(I));break;case"-":w=!1}w&&(p.push(b),g.push(g.length))}g.sort(function(t,e){return y[t]-y[e]});for(var P=l.length,R=(0,f.Jk)(P),B=(0,f.Jk)(P),z=(0,f.Jk)(P),N=(0,f.Jk)(P),E=[],x=0;x<g.length;x++){var V=g[x],F=2*x,Y=2*V;R[F]=l[Y],R[F+1]=l[Y+1],B[F]=u[Y],B[F+1]=u[Y+1],z[F]=c[Y],z[F+1]=c[Y+1],N[F]=h[Y],N[F+1]=h[Y+1],E[x]=p[V]}return{current:R,next:B,stackedOnCurrent:z,stackedOnNext:N,status:E}}(this._data,t,this._stackedOnPoints,e,this._coordSys,this._valueOrigin),h=c.current,p=c.stackedOnCurrent,g=c.next,v=c.stackedOnNext;if(r&&(p=R(c.stackedOnCurrent,c.current,n,r,a),h=R(c.current,null,n,r,a),v=R(c.stackedOnNext,c.next,n,r,a),g=R(c.next,null,n,r,a)),L(h,g)>3e3||l&&L(p,v)>3e3){s.stopAnimation(),s.setShape({points:g}),l&&(l.stopAnimation(),l.setShape({points:g,stackedOnPoints:v}));return}s.shape.__points=c.current,s.shape.points=h;var m={shape:{points:g}};c.current!==h&&(m.shape.__points=c.next),s.stopAnimation(),y.oi(s,m,u),l&&(l.setShape({points:h,stackedOnPoints:p}),l.stopAnimation(),y.oi(l,{shape:{stackedOnPoints:v}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var _=[],x=c.status,b=0;b<x.length;b++)if("="===x[b].cmd){var w=t.getItemGraphicEl(x[b].idx1);w&&_.push({el:w,ptIdx:b})}s.animators&&s.animators.length&&s.animators[0].during(function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<_.length;e++){var n=_[e].el,i=2*_[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}})},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(x.A),V=n("NC"),F=n("LEV");function Y(t){t.registerChartView(E),t.registerSeriesModel(u),t.registerLayout((0,V.A)("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(0,F.A)("line"))}},nM(t,e,n){var i=n("i4"),r=n("Pk"),o=n("Ig"),a=n("mq"),s=n("g8w"),l=n("K1"),u=Math.min,c=Math.max;function h(t,e,n,i,r,o,a,s,h){for(var p,d,f,g,y,v,m=n,_=0;_<i;_++){var x=e[2*m],b=e[2*m+1];if(m>=r||m<0)break;if((0,l.$F)(x,b)){if(h){m+=o;continue}break}if(m===n)t[o>0?"moveTo":"lineTo"](x,b),f=x,g=b;else{var w=x-p,S=b-d;if(w*w+S*S<.5){m+=o;continue}if(a>0){for(var A=m+o,M=e[2*A],T=e[2*A+1];M===x&&T===b&&_<i;)_++,A+=o,m+=o,M=e[2*A],T=e[2*A+1],x=e[2*m],b=e[2*m+1],w=x-p,S=b-d;var C=_+1;if(h)for(;(0,l.$F)(M,T)&&C<i;)C++,A+=o,M=e[2*A],T=e[2*A+1];var k=.5,I=0,D=0,O=void 0,L=void 0;if(C>=i||(0,l.$F)(M,T))y=x,v=b;else{I=M-p,D=T-d;var P=x-p,R=M-x,B=b-d,z=T-b,N=void 0,E=void 0;if("x"===s){N=Math.abs(P),E=Math.abs(R);var V=I>0?1:-1;y=x-V*N*a,v=b,O=x+V*E*a,L=b}else if("y"===s){N=Math.abs(B),E=Math.abs(z);var F=D>0?1:-1;y=x,v=b-F*N*a,O=x,L=b+F*E*a}else N=Math.sqrt(P*P+B*B),y=x-I*a*(1-(k=(E=Math.sqrt(R*R+z*z))/(E+N))),v=b-D*a*(1-k),O=x+I*a*k,L=b+D*a*k,O=u(O,c(M,x)),L=u(L,c(T,b)),O=c(O,u(M,x)),L=c(L,u(T,b)),I=O-x,D=L-b,y=x-I*N/E,v=b-D*N/E,y=u(y,c(p,x)),v=u(v,c(d,b)),y=c(y,u(p,x)),v=c(v,u(d,b)),I=x-y,D=b-v,O=x+I*E/N,L=b+D*E/N}t.bezierCurveTo(f,g,y,v,x,b),f=O,g=L}else t.lineTo(x,b)}p=x,d=b,m+=o}return _}var p=function(){this.smooth=0,this.smoothConstraint=!0},d=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:s.A.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new p},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&(0,l.$F)(n[2*r-2],n[2*r-1]);r--);for(;i<r&&(0,l.$F)(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=h(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path.data,s=o.A.CMD,l="x"===e,u=[],c=0;c<r.length;){var h=r[c++],p=void 0,d=void 0,f=void 0,g=void 0,y=void 0,v=void 0,m=void 0;switch(h){case s.M:n=r[c++],i=r[c++];break;case s.L:if(p=r[c++],d=r[c++],(m=l?(t-n)/(p-n):(t-i)/(d-i))<=1&&m>=0){var _=l?(d-i)*m+i:(p-n)*m+n;return l?[t,_]:[_,t]}n=p,i=d;break;case s.C:p=r[c++],d=r[c++],f=r[c++],g=r[c++],y=r[c++],v=r[c++];var x=l?(0,a._E)(n,p,f,y,t,u):(0,a._E)(i,d,g,v,t,u);if(x>0)for(var b=0;b<x;b++){var w=u[b];if(w<=1&&w>=0){var _=l?(0,a.Yb)(i,d,g,v,w):(0,a.Yb)(n,p,f,y,w);return l?[t,_]:[_,t]}}n=y,i=v}}},e}(r.Ay),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e}(p),g=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new f},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&(0,l.$F)(n[2*o-2],n[2*o-1]);o--);for(;r<o&&(0,l.$F)(n[2*r],n[2*r+1]);r++);}for(;r<o;){var s=h(t,n,r,o,o,1,e.smooth,a,e.connectNulls);h(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(r.Ay);n.d(e,{},{N:d,z:g})},fk(t,e,n){n.d(e,{a:()=>B,Y:()=>z});var i=n("xNS"),r=n("i4"),o=n("hy"),a=n("yd"),s=n("g8w"),l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return(0,r.C6)(e,t),e.prototype.getInitialData=function(t,e){return(0,o.A)(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar","matrix"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:s.A.color.primary}},universalTransition:{divideShape:"clone"}},e}(a.A),u=n("Hp"),c=n("Y8"),h=n("Pk"),p=n("jZ"),d=n("up"),f=n("FL"),g=function(){},y=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return(0,r.C6)(e,t),e.prototype.getDefaultShape=function(){return new g},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.beforeBrush=function(t){t&&!t.contentRetained&&this.reset()},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l){this._ctx=s;return}for(this._ctx=null,n=this._off;n<i.length;){var c=i[n++],h=i[n++];!(isNaN(c)||isNaN(h))&&(!u||u.contain(c,h))&&(a.x=c-r[0]/2,a.y=h-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0))}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<n.length;){var a=n[t++],s=n[t++];!(isNaN(a)||isNaN(s))&&(!o||o.contain(a,s))&&r.fillRect(a-i[0]/2,s-i[1]/2,i[0],i[1])}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-o/2,c=i[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return -1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return(t=n[0],e=n[1],i.contain(t,e))?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h<n.length;){var p=n[h++],d=n[h++];a=Math.min(p,a),l=Math.max(p,l),s=Math.min(d,s),u=Math.max(d,u)}t=this._rect=new c.Ay(a-r/2,s-o/2,l-a+r,u-s+o)}return t},e}(h.Ay),v=function(){function t(){this.group=new p.A}return t.prototype.updateData=function(t,e){this._clear(),this._data=t;var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=this._data;if(e){var n=e.getLayout("points");this.group.eachChild(function(t){if(null!=t.startIndex){var e=(t.endIndex-t.startIndex)*2,i=4*t.startIndex*2;n=new Float32Array(n.buffer,i,e)}t.setShape("points",n),t.reset(),t.stopAnimation()})}},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n,i){var r=this._newAdded[0],o=e.getLayout("points"),a=r&&r.shape.points;if(a&&a.length<2e4){var s=a.length,l=new Float32Array(s+o.length);l.set(a),l.set(o,s),r.endIndex=t.end,r.setShape({points:l})}else{this._newAdded=[];var u=this._create();u.startIndex=t.start,u.endIndex=t.end,u.incremental=n,u.setShape({points:o}),this._setCommon(u,e,i)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new y({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=(0,d.v5)(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=(0,f.z)(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),m=n("NC"),_=n("WN9"),x=n("xN"),b=n("hHP"),w=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,S(t)),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),(0,x.i2)(e),S(e)),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished)return{update:!0};var r=(0,m.A)("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(S(t))},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new v:new u.A,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(_.A);function S(t){return{clipShape:(0,b.YQ)(t)}}var A=n("sZ"),M=n("lN"),T=n("Yx"),C=n("UGL"),k=n("dV"),I=n("x2"),D=(0,x.$r)();function O(t,e,n,i){if(t instanceof T.A&&"ordinal"!==t.scale.type)return n;var r,o,a,s,l,u,c,h,p,d,f,g,y,v=t.model,m=v.get("jitter");if(!(m>0))return n;var _=v.get("jitterOverlap"),x=v.get("jitterMargin")||0,b=(0,I.wl)(t.scale)?(0,M.D)(t).w:null;return _?L(n,m,b,i):(r=t,o=e,a=n,s=i,l=m,u=x,(c=D(r)).items||(c.items=[]),p=P(h=c.items,o,a,s,l,u,1),d=P(h,o,a,s,l,u,-1),f=Math.abs(p-a)<Math.abs(d-a)?p:d,g=(0,I.wl)(r.scale)?(0,M.D)(r).w:null,(y=Math.abs(f-a))>l/2||g&&y>g/2-s?L(a,l,g,s):(h.push({fixedCoord:o,floatCoord:f,r:s}),f))}function L(t,e,n,i){return null===n?t+(Math.random()-.5)*e:t+(Math.random()-.5)*Math.min(Math.max(0,e),n-2*i)}function P(t,e,n,i,r,o,a){for(var s=n,l=0;l<t.length;l++){var u=t[l],c=e-u.fixedCoord,h=s-u.floatCoord,p=c*c+h*h,d=i+u.r+o;if(p<d*d){var f=u.floatCoord+Math.sqrt(d*d-c*c)*a;if(Math.abs(f-n)>r/2)return Number.MAX_VALUE;if(1===a&&f>s||-1===a&&f<s){s=f,l=-1;continue}}}return s}var R=n("yM");function B(t){(0,i.Y)(A.a),t.registerSeriesModel(l),t.registerChartView(w),t.registerLayout((0,m.A)("scatter"))}function z(t){t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,{seriesType:"scatter",plan:(0,R.A)(),reset:function(t){var e,n,i,r,o,a,s=t.coordinateSystem;if(s&&(s.type===C.Tw||s.type===k.GN)){var l=s.getBaseAxis&&s.getBaseAxis();if(l&&(n=(e=t.coordinateSystem)&&e.type,r=(i=e&&e.getBaseAxis&&e.getBaseAxis())&&i.scale&&i.scale.type,o=n===C.Tw&&"ordinal"===r||n===k.GN,a=l.model.get("jitter")>0,o&&a)){var u=l.dim,c=l.orient,h="horizontal"===c&&"category"!==l.type||"vertical"===c&&"category"===l.type,p="y"===u||"single"===u&&h,d="x"===u||"single"===u&&!h;if(p||d)return{progress:function(t,e){for(var n=e.getLayout("points"),i=!!n,r=t.start;r<t.end;r++){var o=i?(r-t.start)*2:-1,a=i?[n[o],n[o+1]]:e.getItemLayout(r);if(a){var s=e.getItemVisual(r,"symbolSize"),u=s instanceof Array?(s[1]+s[0])/2:s;if(p){var c=O(l,a[0],a[1],u/2);i?n[o+1]=c:a[1]=c}else if(d){var c=O(l,a[1],a[0],u/2);i?n[o]=c:a[0]=c}}}}}}}}})}},hH(t,e,n){var i=n("iY"),r=n("jZ"),o=n("xz"),a=n("uf"),s=n("s2"),l=n("Vb"),u=n("FL"),c=n("F4"),h=n("Sk"),p=n("MB"),d=n("up"),f=n("AT"),g=n("xy"),y=n("LC"),v=n("EV"),m=n("xN"),_=n("Dx"),x=n("my"),b=n("xD"),w=n("Y8"),S=n("zM"),A=n("P7"),M=n("rG"),T=n("x2"),C=Math.PI,k=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],I=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],D=(0,m.$r)(),O=(0,m.$r)(),L=function(){function t(t){this.recordMap={},this.resolveAxisNameOverlap=t}return t.prototype.ensureRecord=function(t){var e=t.axis.dim,n=t.componentIndex,i=this.recordMap,r=i[e]||(i[e]=[]);return r[n]||(r[n]={ready:{}})},t}(),P=f.create(),R=new w.Ay(0,0,0,0),B=function(t,e,n,i,r,o){if((0,y.SS)(t.nameLocation)){var a=o.stOccupiedRect;a&&z((0,v.AS)({},a,o.transGroup.transform),i,r)}else N(o.labelInfoList,o.dirVec,i,r)};function z(t,e,n){var i=new S.A;(0,v.EA)(t,e,i,{direction:Math.atan2(n.y,n.x),bidirectional:!1,touchThreshold:.05})&&(0,v.Gm)(e,i)}function N(t,e,n,i){for(var r=S.A.dot(i,e)>=0,o=0,a=t.length;o<a;o++){var s=t[r?o:a-1-o];s.label.ignore||z(s,n,i)}}var E=function(){function t(t,e,n,i){this.group=new r.A,this._axisModel=t,this._api=e,this._local={},this._shared=i||new L(B),this._resetCfgDetermined(n)}return t.prototype.updateCfg=function(t){var e=this._cfg.raw;e.position=t.position,e.labelOffset=t.labelOffset,this._resetCfgDetermined(e)},t.prototype.__getRawCfg=function(){return this._cfg.raw},t.prototype._resetCfgDetermined=function(t){var e=this._axisModel,n=e.getDefaultOption?e.getDefaultOption():{},o=(0,i.retrieve2)(t.axisName,e.get("name")),a=e.get("nameMoveOverlap");(null==a||"auto"===a)&&(a=(0,i.retrieve2)(t.defaultNameMoveOverlap,!0));var s={raw:t,position:t.position,rotation:t.rotation,nameDirection:(0,i.retrieve2)(t.nameDirection,1),tickDirection:(0,i.retrieve2)(t.tickDirection,1),labelDirection:(0,i.retrieve2)(t.labelDirection,1),labelOffset:(0,i.retrieve2)(t.labelOffset,0),silent:(0,i.retrieve2)(t.silent,!0),axisName:o,nameLocation:(0,i.retrieve3)(e.get("nameLocation"),n.nameLocation,"end"),shouldNameMoveOverlap:!!o&&a,optionHideOverlap:e.get(["axisLabel","hideOverlap"]),showMinorTicks:e.get(["minorTick","show"])};this._cfg=s;var l=new r.A({x:s.position[0],y:s.position[1],rotation:s.rotation});l.updateTransform(),this._transformGroup=l;var u=this._shared.ensureRecord(e);u.transGroup=this._transformGroup,u.dirVec=new S.A(Math.cos(-s.rotation),Math.sin(-s.rotation))},t.prototype.build=function(t,e){var n=this;return t||(t={axisLine:!0,axisTickLabelEstimate:!1,axisTickLabelDetermine:!0,axisName:!0}),(0,i.each)(V,function(i){t[i]&&F[i](n._cfg,n._local,n._shared,n._axisModel,n.group,n._transformGroup,n._api,e||{})}),this},t.innerTextLayout=function(t,e,n){var i,r,o=(0,p._7)(e-t);return(0,p.dh)(o)?(r=n>0?"top":"bottom",i="center"):(0,p.dh)(o-C)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<C?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),V=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],F={axisLine:function(t,e,n,r,s,l,u){var c=r.get(["axisLine","show"]);if("auto"===c&&(c=!0,null!=t.raw.axisLineAutoShow&&(c=!!t.raw.axisLineAutoShow)),c){var h=r.axis.getExtent(),p=l.transform,f=[h[0],0],y=[h[1],0],v=f[0]>y[0];p&&((0,g.applyTransform)(f,f,p),(0,g.applyTransform)(y,y,p));var m=(0,i.extend)({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),x={strokeContainThreshold:t.raw.strokeContainThreshold||5,silent:!0,z2:1,style:m};if(r.get(["axisLine","breakLine"])&&(0,b.Bd)(r.axis.scale))(0,_.D)().buildAxisBreakLine(r,s,l,x);else{var w=new o.A((0,i.extend)({shape:{x1:f[0],y1:f[1],x2:y[0],y2:y[1]}},x));a.subPixelOptimizeLine(w.shape,w.style.lineWidth),w.anid="line",s.add(w)}var S=r.get(["axisLine","symbol"]);if(null!=S){var A=r.get(["axisLine","symbolSize"]);(0,i.isString)(S)&&(S=[S,S]),((0,i.isString)(A)||(0,i.isNumber)(A))&&(A=[A,A]);var M=(0,d.hV)(r.get(["axisLine","symbolOffset"])||0,A),T=A[0],C=A[1];(0,i.each)([{rotate:t.rotation+Math.PI/2,offset:M[0],r:0},{rotate:t.rotation-Math.PI/2,offset:M[1],r:Math.sqrt((f[0]-y[0])*(f[0]-y[0])+(f[1]-y[1])*(f[1]-y[1]))}],function(e,n){if("none"!==S[n]&&null!=S[n]){var i=(0,d.v5)(S[n],-T/2,-C/2,T,C,m.stroke,!0),r=e.r+e.offset,o=v?y:f;i.attr({rotation:e.rotate,x:o[0]+r*Math.cos(t.rotation),y:o[1]-r*Math.sin(t.rotation),silent:!0,z2:11}),s.add(i)}})}}},axisTickLabelEstimate:function(t,e,n,i,r,o,a,s){G(e,r,s)&&Y(t,e,n,i,r,o,a,M.fm.estimate)},axisTickLabelDetermine:function(t,e,n,r,o,a,s,l){G(e,o,l)&&Y(t,e,n,r,o,a,s,M.fm.determine);var u,c,h,p=function(t,e,n,r){var o=r.axis,a=r.getModel("axisTick"),s=a.get("show");if("auto"===s&&(s=!0,null!=t.raw.axisTickAutoShow&&(s=!!t.raw.axisTickAutoShow)),!s||o.scale.isBlank())return[];for(var l=a.getModel("lineStyle"),u=t.tickDirection*a.get("length"),c=W(o.getTicksCoords(),n.transform,u,(0,i.defaults)(l.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<c.length;h++)e.add(c[h]);return c}(t,o,a,r);u=t,c=e.labelLayoutList,h=p,u.showMinorTicks||(0,i.each)(c,function(t){if(t&&t.label.ignore)for(var e=0;e<h.length;e++){var n=h[e],i=O(n),r=D(t.label);if(null!=i.tickValue&&!i.onBand&&i.tickValue===r.labelInfo.tick.value)return void H(n)}}),function(t,e,n,r,o){var a=r.axis,s=r.getModel("minorTick");if(!(!t.showMinorTicks||a.scale.isBlank())){var l=a.getMinorTicksCoords();if(l.length)for(var u=s.getModel("lineStyle"),c=o*s.get("length"),h=(0,i.defaults)(u.getLineStyle(),(0,i.defaults)(r.getModel("axisTick").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})),p=0;p<l.length;p++)for(var d=W(l[p],n.transform,c,h,"minorticks_"+p),f=0;f<d.length;f++)e.add(d[f])}}(t,o,a,r,t.tickDirection)},axisName:function(t,e,n,r,o,l,h,d){var g,m,_=n.ensureRecord(r);e.nameEl&&(o.remove(e.nameEl),e.nameEl=_.nameLayout=_.nameLocation=null);var x=t.axisName;if(x){var b,w,A,M,T,D,O,L,P,R=t.nameLocation,B=t.nameDirection,z=r.getModel("nameTextStyle"),N=r.get("nameGap")||0,V=r.axis.getExtent(),F=r.axis.inverse?-1:1,Y=new S.A(0,0),H=new S.A(0,0);"start"===R?(Y.x=V[0]-F*N,H.x=-F):"end"===R?(Y.x=V[1]+F*N,H.x=F):(Y.x=(V[0]+V[1])/2,Y.y=t.labelOffset+B*N,H.y=B);var W=f.create();H.transform(f.rotate(W,W,t.rotation));var G=r.get("nameRotate");null!=G&&(G=G*C/180),(0,y.SS)(R)?g=E.innerTextLayout(t.rotation,null!=G?G:t.rotation,B):(b=t.rotation,w=R,A=G||0,M=V,O=(0,p._7)(A-b),L=M[0]>M[1],P="start"===w&&!L||"start"!==w&&L,(0,p.dh)(O-C/2)?(D=P?"bottom":"top",T="center"):(0,p.dh)(O-1.5*C)?(D=P?"top":"bottom",T="center"):(D="middle",T=O<1.5*C&&O>C/2?P?"left":"right":P?"right":"left"),g={rotation:O,textAlign:T,textVerticalAlign:D},null!=(m=t.raw.axisNameAvailableWidth)&&(isFinite(m=Math.abs(m/Math.sin(g.rotation)))||(m=null)));var Z=z.getFont(),U=r.get("nameTruncate",!0)||{},X=U.ellipsis,j=(0,i.retrieve)(t.raw.nameTruncateMaxWidth,U.maxWidth,m),q=d.nameMarginLevel||0,$=new s.Ay({x:Y.x,y:Y.y,rotation:g.rotation,silent:E.isLabelSilent(r),style:(0,c.VB)(z,{text:x,font:Z,overflow:"truncate",width:j,ellipsis:X,fill:z.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:z.get("align")||g.textAlign,verticalAlign:z.get("verticalAlign")||g.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:$,componentModel:r,itemName:x}),$.__fullText=x,$.anid="name",r.get("triggerEvent")){var Q=E.makeAxisEventDataBase(r);Q.targetType="axisName",Q.name=x,(0,u.z)($).eventData=Q}l.add($),$.updateTransform(),e.nameEl=$;var J=_.nameLayout=(0,v.jj)({label:$,priority:$.z2,defaultAttr:{ignore:$.ignore},marginDefault:(0,y.SS)(R)?k[q]:I[q]});if(_.nameLocation=R,o.add($),$.decomposeTransform(),t.shouldNameMoveOverlap&&J){var K=n.ensureRecord(r);n.resolveAxisNameOverlap(t,n,r,J,H,K)}}}};function Y(t,e,n,o,l,p,d,g){Z(e)||function(t,e,n,o,l,p){var d=l.axis,f=(0,i.retrieve)(t.raw.axisLabelShow,l.get(["axisLabel","show"])),g=new r.A;n.add(g);var v=(0,M.eP)(o);if(!f||d.scale.isBlank())return U(e,[],g,v);var m=l.getModel("axisLabel"),_=d.getViewLabels(v),b=((0,i.retrieve)(t.raw.labelRotate,m.get("rotate"))||0)*C/180,w=E.innerTextLayout(t.rotation,b,t.labelDirection),S=l.getCategories&&l.getCategories(!0),A=[],T=l.get("triggerEvent"),k=1/0,I=-1/0;(0,i.each)(_,function(t,e){var n,r=t.tick,o=t.formattedLabel,f=t.rawLabel,v=m,b=(0,y.NQ)(d.scale,r);if(S&&S[b]){var M=S[b];(0,i.isObject)(M)&&M.textStyle&&(v=new h.A(M.textStyle,m,l.ecModel))}var C=v.getTextColor()||l.get(["axisLine","lineStyle","color"]),O=v.getShallow("align",!0)||w.textAlign,L=(0,i.retrieve2)(v.getShallow("alignMinLabel",!0),O),P=(0,i.retrieve2)(v.getShallow("alignMaxLabel",!0),O),R=v.getShallow("verticalAlign",!0)||v.getShallow("baseline",!0)||w.textVerticalAlign,B=(0,i.retrieve2)(v.getShallow("verticalAlignMinLabel",!0),R),z=(0,i.retrieve2)(v.getShallow("verticalAlignMaxLabel",!0),R),N=10+((null==(n=r.time)?void 0:n.level)||0);k=Math.min(k,N),I=Math.max(I,N);var V=new s.Ay({x:0,y:0,rotation:0,silent:E.isLabelSilent(l),z2:N,style:(0,c.VB)(v,{text:o,align:0===e?L:e===_.length-1?P:O,verticalAlign:0===e?B:e===_.length-1?z:R,fill:(0,i.isFunction)(C)?C("category"===d.type?f:"value"===d.type?b+"":b,e):C})});V.anid="label_"+b;var F=D(V);if(F.labelInfo=t,F.layoutRotation=w.rotation,a.setTooltipConfig({el:V,componentModel:l,itemName:o,formatterParamsExtra:{isTruncated:function(){return V.isTruncated},value:f,tickIndex:e}}),T){var Y,H,W,G,Z=E.makeAxisEventDataBase(l);Z.targetType="axisLabel",Z.value=f,Z.tickIndex=e;var U=t.tick.break;if(U){var X=U.parsedBreak;Z.break={start:X.vmin,end:X.vmax}}"category"===d.type&&(Z.dataIndex=b),(0,u.z)(V).eventData=Z,U&&(Y=l,H=p,W=V,G=U,W.on("click",function(t){var e={type:x.vb,breaks:[{start:G.parsedBreak.breakOption.start,end:G.parsedBreak.breakOption.end}]};e[Y.axis.dim+"AxisIndex"]=Y.componentIndex,H.dispatchAction(e)}))}A.push(V),g.add(V)}),U(e,(0,i.map)(A,function(t){return{label:t,priority:D(t).labelInfo.tick.break?t.z2+(I-k+1):t.z2,defaultAttr:{ignore:t.ignore}}}),g,v)}(t,e,l,g,o,d);var m,S,k,I,O,L=e.labelLayoutList;m=t,S=o,k=L,I=p,O=S.get(["axisLabel","margin"]),(0,i.each)(k,function(t,e){var n=(0,v.jj)(t);if(n){var i=n.label,r=D(i);n.suggestIgnore=i.ignore,i.ignore=!1,(0,A.IT)(X,j);var o=S.axis;X.x=o.dataToCoord((0,y.NQ)(o.scale,r.labelInfo.tick)),X.y=m.labelOffset+m.labelDirection*O,X.rotation=r.layoutRotation,I.add(X),X.updateTransform(),I.remove(X),X.decomposeTransform(),(0,A.IT)(i,X),i.markRedraw(),(0,v.LC)(n,!0),(0,v.jj)(n)}}),function(t,e,n){var r=(0,b.mn)();if(r){var o=r.retrieveAxisBreakPairs(n,function(t){return t&&D(t.label).labelInfo.tick.break},!0),a=t.get(["breakLabelLayout","moveOverlap"],!0);(!0===a||"auto"===a)&&(0,i.each)(o,function(i){(0,_.D)().adjustBreakLabelPair(t.axis.inverse,e,[(0,v.jj)(n[i[0]]),(0,v.jj)(n[i[1]])])})}}(o,t.rotation,L);var B=t.optionHideOverlap;(function(t,e,n){var i=t.axis,r=t.get(["axisLabel","customValues"]);if(!(0,y.PJ)(i)){var o=t.get(["axisLabel","showMinLabel"]),a=t.get(["axisLabel","showMaxLabel"]),s=e.length;l(o,0,1),l(a,s-1,s-2)}function l(t,o,a){var s=(0,v.jj)(e[o]),l=(0,v.jj)(e[a]),u=i.scale;if(s&&l){if(null==t){if(!n&&r)return;var c=D(s.label).labelInfo.tick;if((0,T.oY)(u)&&c.notNice||(0,T.wl)(u)&&c.offInterval)return void H(s.label)}if(!1===t||s.suggestIgnore)return void H(s.label);if(l.suggestIgnore)return void H(l.label);if(!n){var h=[0,0,0,0];s=(0,v.PG)({marginForce:h},s),l=(0,v.PG)({marginForce:h},l)}(0,v.EA)(s,l,null,{touchThreshold:.1})&&(t?H(l.label):H(s.label))}}})(o,L,B),B&&(0,v.If)((0,i.filter)(L,function(t){return t&&!t.label.ignore})),function(t,e,n,r){var o,a=n.axis,s=e.ensureRecord(n),l=[],u=!!t.axisName&&(0,y.SS)(t.nameLocation);(0,i.each)(r,function(t){var e=(0,v.jj)(t);if(e&&!e.label.ignore){l.push(e);var n=s.transGroup;u&&(n.transform?f.invert(P,n.transform):f.identity(P),e.transform&&f.mul(P,P,e.transform),w.Ay.copy(R,e.localRect),R.applyTransform(P),o?o.union(R):w.Ay.copy(o=new w.Ay(0,0,0,0),R))}});var c=Math.abs(s.dirVec.x)>.1?"x":"y",h=s.transGroup[c];if(l.sort(function(t,e){return Math.abs(t.label[c]-h)-Math.abs(e.label[c]-h)}),u&&o){var p=a.getExtent(),d=Math.min(p[0],p[1]),g=Math.max(p[0],p[1])-d;o.union(new w.Ay(d,0,g,1))}s.stOccupiedRect=o,s.labelInfoList=l}(t,n,o,L)}function H(t){t&&(t.ignore=!0)}function W(t,e,n,i,r){for(var s=[],l=[],u=[],c=0;c<t.length;c++){var h=t[c].coord;l[0]=h,l[1]=0,u[0]=h,u[1]=n,e&&((0,g.applyTransform)(l,l,e),(0,g.applyTransform)(u,u,e));var p=new o.A({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:i,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(p.shape,p.style.lineWidth),p.anid=r+"_"+t[c].tickValue,s.push(p);var d=O(p);d.onBand=!!t[c].onBand,d.tickValue=t[c].tickValue}return s}function G(t,e,n){if(Z(t)){var i=t.axisLabelsCreationContext.out.noPxChangeTryDetermine;if(n.noPxChange){for(var r=!0,o=0;o<i.length;o++)r=r&&i[o]();if(r)return!1}i.length&&(e.remove(t.labelGroup),U(t,null,null,null))}return!0}function Z(t){return!!t.labelLayoutList}function U(t,e,n,i){t.labelLayoutList=e,t.labelGroup=n,t.axisLabelsCreationContext=i}var X=new l.A,j=new l.A;e.Ay=E,n.d(e,{},{RC:N,Z0:D,ts:L,x:B})},uJ(t,e,n){var i=n("i4"),r=n("VN"),o=n("BP"),a={};e.A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.render=function(e,n,i,o){this.axisPointerClass&&r.h_(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=r.mg(t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.A)},my(t,e,n){var i=n("xN"),r=n("iY"),o="expandAxisBreak",a="collapseAxisBreak",s="toggleAxisBreak",l="axisbreakchanged",u={type:o,event:l,update:"update",refineEvent:p},c={type:a,event:l,update:"update",refineEvent:p},h={type:s,event:l,update:"update",refineEvent:p};function p(t,e,n,i){var o=[];return(0,r.each)(t,function(t){o=o.concat(t.eventBreaks)}),{eventContent:{breaks:o}}}n.d(e,{},{C1:a,LR:s,OH:function(t){function e(t,e){var n=[],o=(0,i._e)(e,t);function a(e,i){(0,r.each)(o[e],function(e){var o=e.updateAxisBreaks(t);(0,r.each)(o.breaks,function(t){var o;n.push((0,r.defaults)(((o={})[i]=e.componentIndex,o),t))})})}return a("xAxisModels","xAxisIndex"),a("yAxisModels","yAxisIndex"),a("singleAxisModels","singleAxisIndex"),{eventBreaks:n}}t.registerAction(u,e),t.registerAction(c,e),t.registerAction(h,e)},vb:o})},Dx(t,e,n){var i=null;n.d(e,{},{D:function(){return i},G:function(t){i||(i=t)}})},VH(t,e,n){var i=n("iY"),r=n("Vb"),o=(0,n("xN").$r)();n.d(e,{},{V:function(t){o(t).splitAreaColors=null},Y:function(t,e,n,a){var s=n.axis;if(!s.scale.isBlank()){var l=n.getModel("splitArea"),u=l.getModel("areaStyle"),c=u.get("color"),h=a.coordinateSystem.getRect(),p=s.getTicksCoords({tickModel:l,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(p.length){var d=c.length,f=o(t).splitAreaColors,g=i.createHashMap(),y=0;if(f)for(var v=0;v<p.length;v++){var m=f.get(p[v].tickValue);if(null!=m){y=(m+(d-1)*v)%d;break}}var _=s.toGlobalCoord(p[0].coord),x=u.getAreaStyle();c=i.isArray(c)?c:[c];for(var v=1;v<p.length;v++){var b=s.toGlobalCoord(p[v].coord),w=void 0,S=void 0,A=void 0,M=void 0;s.isHorizontal()?(w=_,S=h.y,A=b-w,M=h.height,_=w+A):(w=h.x,S=_,A=h.width,M=b-S,_=S+M);var T=p[v-1].tickValue;null!=T&&g.set(T,y),e.add(new r.A({anid:null!=T?"area_"+T:null,shape:{x:w,y:S,width:A,height:M},style:i.defaults({fill:c[y]},x),autoBatch:!0,silent:!0})),y=(y+1)%d}o(t).splitAreaColors=g}}}})},vy(t,e,n){var i=n("iY"),r=n("jZ"),o=n("uf"),a=n("s2"),s=n("W5"),l=n("VN"),u=n("lX"),c=n("dd"),h=n("xN"),p=n("lN"),d=(0,h.$r)(),f=i.clone,g=i.bind;function y(t,e,n,r){!function t(e,n){if(!(i.isObject(e)&&i.isObject(n)))return e===n;var r=!0;return i.each(n,function(n,i){r=r&&t(e[i],n)}),!!r}(d(n).lastProp,r)&&(d(n).lastProp=r,e?s.oi(n,r,t):(n.stopAnimation(),n.attr(r)))}function v(t,e){t[e.get(["label","show"])?"show":"hide"]()}function m(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function _(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}e.A=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,o){var a=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,o||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s){l&&l.hide(),u&&u.hide();return}l&&l.show(),u&&u.show();var c={};this.makeElOption(c,a,t,e,n);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var p=this._moveAnimation=this.determineAnimation(t,e);if(l){var d=i.curry(y,e,p);this.updatePointerEl(l,c,d),this.updateLabelEl(l,c,d,e)}else l=this._group=new r.A,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),n.getZr().add(l);_(l,e,!0),this._renderHandle(a)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&(0,p.D)(i).w>a)return!0;if(o){var s=l.Yc(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var a=d(t).pointerEl=new o[r.type](f(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=d(t).labelEl=new a.Ay(f(e.label));t.add(r),v(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=d(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=d(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),v(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,r=this._api.getZr(),a=this._handle,s=n.getModel("handle"),l=n.get("status");if(!s.get("show")||!l||"hide"===l){a&&r.remove(a),this._handle=null;return}this._handle||(e=!0,a=this._handle=o.createIcon(s.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){u.ds(t.event)},onmousedown:g(this._onHandleDragMove,this,0,0),drift:g(this._onHandleDragMove,this),ondragend:g(this._onHandleDragEnd,this)}),r.add(a)),_(a,n,!1),a.setStyle(s.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var h=s.get("size");i.isArray(h)||(h=[h,h]),a.scaleX=h[0]/2,a.scaleY=h[1]/2,c.N(this,"_doDispatchAxisPointer",s.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){y(this._axisPointerModel,!e&&this._moveAnimation,this._handle,m(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(m(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(m(i)),d(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),c.IU(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}()},rR(t,e,n){var i=n("iY"),r=n("xN");n.d(e,{},{A:function(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=r.le(s,t);if(null==l||l<0||i.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)if(t.isStacked){var h=c.getBaseAxis(),p=c.getOtherAxis(h).dim,d=h.dim,f=+("x"===p||"radius"===p),g=s.mapDimension(d),y=[];y[f]=s.get(g,l),y[1-f]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=c.dataToPoint(y)||[]}else o=c.dataToPoint(s.getValues(i.map(c.dimensions,function(t){return s.mapDimension(t)}),l))||[];else if(u){var v=u.getBoundingRect().clone();v.applyTransform(u.transform),o=[v.x+v.width/2,v.y+v.height/2]}return{point:o,el:u}}})},vF3(t,e,n){var i=n("iY"),r=n("E3"),o=(0,n("xN").$r)(),a=i.each;function s(t,e,n){t.handler("leave",null,n)}function l(t,e,n,i){e.handler(t,n,i)}n.d(e,{},{h:function(t,e){if(!r.A.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}},k:function(t,e,n){if(!r.A.node){var u=e.getZr();o(u).records||(o(u).records={}),function(t,e){o(t).initialized||(o(t).initialized=!0,n("click",i.curry(l,"click")),n("mousemove",i.curry(l,"mousemove")),n("mousewheel",i.curry(l,"mousewheel")),n("globalout",s));function n(n,i){t.on(n,function(n){var r,s,l,u,c,h,p,d,f=(r=e,s={showTip:[],hideTip:[]},{dispatchAction:l=function(t){var e=s[t.type];e?e.push(t):(t.dispatchAction=l,r.dispatchAction(t))},pendings:s});a(o(t).records,function(t){t&&i(t,n,f.dispatchAction)}),u=f.pendings,c=e,p=u.showTip.length,d=u.hideTip.length,p?h=u.showTip[p-1]:d&&(h=u.hideTip[d-1]),h&&(h.dispatchAction=null,c.dispatchAction(h))})}}(u,e),(o(u).records[t]||(o(u).records[t]={})).handler=n}}})},Q9(t,e,n){n.d(e,{a:()=>I});var i=n("uJ"),r=n("i4"),o=n("vy"),a=n("lD"),s=n("sT"),l=n("MB"),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,l=o.grid,u=i.get("type"),p=o.getGlobalExtent(),d=c(l,o).getOtherAxis(o).getGlobalExtent(),f=o.toGlobalCoord(o.dataToCoord(e,!0));if(u&&"none"!==u){var g=a.bY(i),y=h[u](o,f,p,d,i.get("seriesDataIndices"),i.ecModel);y.style=g,t.graphicKey=y.type,t.pointer=y}var v=s.Zp(l.getRect(),n);a.DA(e,t,v,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=s.Zp(e.axis.grid.getRect(),e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=a.Tc(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=c(o,r).getOtherAxis(r).getGlobalExtent(),u=+("x"!==r.dim),h=[t.x,t.y];h[u]+=e[u],h[u]=(0,l.rp)(a[1],h[u]),h[u]=(0,l.JB)(a[0],h[u]);var p=(s[1]+s[0])/2,d=[p,p];return d[u]=h[u],{x:h[0],y:h[1],rotation:t.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][u]}},e}(o.A);function c(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var h={line:function(t,e,n,i){return{type:"Line",subPixelOptimize:!0,shape:a.MU([e,i[0]],[e,i[1]],p(t))}},shadow:function(t,e,n,i,r,o){var s=a.Z5(t,r,o),l=i[1]-i[0],u=a.YN(e,n,s),c=u[0],h=u[1];return{type:"Rect",shape:a.cU([c,i[0]],[h-c,l],p(t))}}};function p(t){return+("x"!==t.dim)}var d=n("wv"),f=n("g8w"),g=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:f.A.color.border,width:1,type:"dashed"},shadowStyle:{color:f.A.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:f.A.color.neutral00,padding:[5,7,5,7],backgroundColor:f.A.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:f.A.color.accent40,throttle:40}},e}(d.A),y=n("vF3"),v=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click|mousewheel";y.k("axisPointer",n,function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){y.h("axisPointer",e)},e.prototype.dispose=function(t,e){y.h("axisPointer",e)},e.type="axisPointer",e}(n("BP").A),m=n("iY"),_=n("VN"),x=n("xN"),b=n("rR"),w=(0,x.$r)();function S(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t.dispatchAction||(0,m.bind)(n.dispatchAction,n),a=e.getComponent("axisPointer").coordSysAxesInfo;if(a){k(r)&&(r=(0,b.A)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var s,l,u,c=k(r),h=t.axesInfo,p=a.axesInfo,d="leave"===i||k(r),f={},g={},y={list:[],map:{}},v={showPointer:(0,m.curry)(M,g),showTooltip:(0,m.curry)(T,y)};(0,m.each)(a.coordSysMap,function(t,e){var n=c||t.containPoint(r);(0,m.each)(a.coordSysAxesInfo[e],function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(h,t);if(!d&&n&&(!h||o)){var a=o&&o.value;null!=a||c||(a=i.pointToData(r)),null!=a&&A(t,a,v,!1,f)}})});var _={};return(0,m.each)(p,function(t,e){var n=t.linkGroup;n&&!g[e]&&(0,m.each)(n.axesInfo,function(e,i){var r=g[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,C(e),C(t)))),_[t.key]=o}})}),(0,m.each)(_,function(t,e){A(p[e],t,v,!0,f)}),s=g,l=p,u=f.axesInfo=[],(0,m.each)(l,function(t,e){var n=t.axisPointerModel.option,i=s[e];i?(t.useHandle||(n.status="show"),n.value=i.value,n.seriesDataIndices=(i.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&u.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),function(t,e,n,i){if(k(e)||!t.list.length)return i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(y,r,t,o),function(t,e){var n=e.getZr(),i="axisPointerLastHighlights",r=w(n)[i]||{},o=w(n)[i]={};(0,m.each)(t,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&(0,m.each)(n.seriesDataIndices,function(t){o[t.seriesIndex+"|"+t.dataIndex]=t})});var a=[],s=[];function l(t){return{seriesIndex:t.seriesIndex,dataIndex:t.dataIndex}}(0,m.each)(r,function(t,e){o[e]||s.push(l(t))}),(0,m.each)(o,function(t,e){r[e]||a.push(l(t))}),s.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),a.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:a})}(p,n),f}}function A(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e)){if(!t.involveSeries)return void n.showPointer(t,e);var a,s,u,c,h,p,d,f,g=(a=e,c=(u=(s=t).axis).dim,h=a,p=[],d=Number.MAX_VALUE,f=-1,(0,m.each)(s.seriesModels,function(t,e){var n,i,r=t.getData().mapDimensionsAll(c);if(t.getAxisTooltipData){var o=t.getAxisTooltipData(r,a,u);i=o.dataIndices,n=o.nestestValue}else{if(!(i=t.indicesOfNearest(c,r[0],a,"category"===u.type?.5:null)).length)return;n=t.getData().get(r[0],i[0])}if((0,l.YC)(n)){var s=a-n,g=Math.abs(s);g<=d&&((g<d||s>=0&&f<0)&&(d=g,f=s,h=n,p.length=0),(0,m.each)(i,function(e){p.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:p,snapToValue:h}),y=g.payloadBatch,v=g.snapToValue;y[0]&&null==r.seriesIndex&&(0,m.extend)(r,y[0]),!i&&t.snap&&o.containData(v)&&null!=v&&(e=v),n.showPointer(t,e,y),n.showTooltip(t,g,v)}}function M(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function T(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=_.og(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function C(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function k(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function I(t){i.A.registerAxisPointerClass("CartesianAxisPointer",u),t.registerComponentModel(g),t.registerComponentView(v),t.registerPreprocessor(function(t){if(t){t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,m.isArray)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,{overallReset:function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,_.Fo)(t,e)}}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},S)}},VN(t,e,n){var i=n("Sk"),r=n("iY");function o(t,e){return"all"===t||(0,r.isArray)(t)&&(0,r.indexOf)(t,e)>=0||t===e}function a(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[l(t)]}function s(t){return!!t.get(["handle","show"])}function l(t){return t.type+"||"+t.id}n.d(e,{},{Fo:function(t,e){var n,a,u,c,h,p,d,f,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n=g,a=t,u=e,c=a.getComponent("tooltip"),p=(h=a.getComponent("axisPointer")).get("link",!0)||[],d=[],(0,r.each)(u.getCoordinateSystems(),function(t){if(t.axisPointerEnabled){var e=l(t.model),u=n.coordSysAxesInfo[e]={};n.coordSysMap[e]=t;var f=t.model.getModel("tooltip",c);if((0,r.each)(t.getAxes(),(0,r.curry)(m,!1,null)),t.getTooltipAxes&&c&&f.get("show")){var g="axis"===f.get("trigger"),y="cross"===f.get(["axisPointer","type"]),v=t.getTooltipAxes(f.get(["axisPointer","axis"]));(g||y)&&(0,r.each)(v.baseAxes,(0,r.curry)(m,!y||"cross",g)),y&&(0,r.each)(v.otherAxes,(0,r.curry)(m,"cross",!1))}}function m(e,c,g){var y=g.model.getModel("axisPointer",h),v=y.get("show");if(v&&("auto"!==v||e||s(y))){null==c&&(c=y.get("triggerTooltip"));var m=(y=e?function(t,e,n,o,a,s){var l=e.getModel("axisPointer"),u={};(0,r.each)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=(0,r.clone)(l.get(t))}),u.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(u.type="line");var c=u.label||(u.label={});if(null==c.show&&(c.show=!1),"cross"===a){var h=l.get(["label","show"]);if(c.show=null==h||h,!s){var p=u.lineStyle=l.get("crossStyle");p&&(0,r.defaults)(c,p.textStyle)}}return t.model.getModel("axisPointer",new i.A(u,n,o))}(g,f,h,a,e,c):y).get("snap"),_=y.get("triggerEmphasis"),x=l(g.model),b=c||m||"category"===g.type,w=n.axesInfo[x]={key:x,axis:g,coordSys:t,axisPointerModel:y,triggerTooltip:c,triggerEmphasis:_,involveSeries:b,snap:m,useHandle:s(y),seriesModels:[],linkGroup:null};u[x]=w,n.seriesInvolved=n.seriesInvolved||b;var S=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var a=t[r]||{};if(o(a[i+"AxisId"],n.id)||o(a[i+"AxisIndex"],n.componentIndex)||o(a[i+"AxisName"],n.name))return r}}(p,g);if(null!=S){var A=d[S]||(d[S]={axesInfo:{}});A.axesInfo[x]=w,A.mapper=p[S].mapper,w.linkGroup=A}}}}),g.seriesInvolved&&(f=g,t.eachSeries(function(t){var e=t.coordinateSystem,n=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);e&&e.model&&"none"!==n&&!1!==n&&"item"!==n&&!1!==i&&!1!==t.get(["axisPointer","show"],!0)&&(0,r.each)(f.coordSysAxesInfo[l(e.model)],function(n){var i=n.axis;e.getAxis(i.dim)===i&&(n.seriesModels.push(t),null==n.seriesDataCount&&(n.seriesDataCount=0),n.seriesDataCount+=t.getData().count())})})),g},Yc:a,h_:function(t){var e=a(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),l=n.get("value");null!=l&&(l=i.parse(l));var u=s(n);null==o&&(r.status=u?"show":"hide");var c=i.getExtent();(null==l||l>c[1])&&(l=c[1]),l<c[0]&&(l=c[0]),r.value=l,u&&(r.status=e.axis.scale.isBlank()?"hide":"show")}},mg:function(t){var e=a(t);return e&&e.axisPointerModel},og:l})},lD(t,e,n){var i=n("iY"),r=n("uf"),o=n("KO"),a=n("s7"),s=n("AT"),l=n("LC"),u=n("hH"),c=n("F4"),h=n("lN"),p=n("MB");function d(t,e,n,i,r){var s,l,u,h,p,d,g=f(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),y=n.getModel("label"),v=a.QX(y.get("padding")||0),m=y.getFont(),_=o.NO(g,m),x=r.position,b=_.width+v[1]+v[3],w=_.height+v[0]+v[2],S=r.align;"right"===S&&(x[0]-=b),"center"===S&&(x[0]-=b/2);var A=r.verticalAlign;"bottom"===A&&(x[1]-=w),"middle"===A&&(x[1]-=w/2),s=x,l=b,u=w,p=(h=i).getWidth(),d=h.getHeight(),s[0]=Math.min(s[0]+l,p)-l,s[1]=Math.min(s[1]+u,d)-u,s[0]=Math.max(s[0],0),s[1]=Math.max(s[1],0);var M=y.get("backgroundColor");M&&"auto"!==M||(M=e.get(["axisLine","lineStyle","color"])),t.label={x:x[0],y:x[1],style:(0,c.VB)(y,{text:g,font:m,fill:y.getTextColor(),padding:v,backgroundColor:M}),z2:10}}function f(t,e,n,r,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var u={value:l.Dt(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};i.each(r,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&u.seriesData.push(r)}),i.isString(s)?a=s.replace("{value}",a):i.isFunction(s)&&(a=s(u))}return a}function g(t,e,n){var i=s.create();return s.rotate(i,i,n.rotation),s.translate(i,i,n.position),r.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}n.d(e,{},{DA:function(t,e,n,i,r,o){var a=u.Ay.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),d(e,i,r,o,{position:g(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})},MU:function(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}},T8:d,Tc:g,YN:function(t,e,n){return[(0,p.JB)((0,p.rp)(e[0],e[1]),t-n/2),(0,p.rp)(t+n/2,(0,p.JB)(e[0],e[1]))]},Z5:function(t,e,n){return(0,h.D)(t,{fromStat:{sers:i.map(e,function(t){return n.getSeriesByIndex(t.seriesIndex)})},min:1}).w},_F:f,bY:function(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e},cU:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},u7:function(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}})},Vk(t,e,n){var i=n("i4"),r=n("iY"),o=n("wv"),a=n("V2l"),s=n("xN"),l=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}();function u(t){var e={};return(0,r.each)(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}e.A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return(0,i.C6)(e,t),e.prototype.init=function(t,e,n){var i=u(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=u(t);(0,r.merge)(this.option,t,!0),(0,r.merge)(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;(0,r.each)([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=(0,r.createHashMap)();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return(0,r.each)(a.$5,function(n){var i=this.getReferringComponents((0,a.dX)(n),s.UW);if(i.specified){e=!0;var o=new l;(0,r.each)(i.models,function(t){o.add(t.componentIndex)}),t.set(n,o)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0,o="vertical"===e?"y":"x",u=n.findComponents({mainType:o+"Axis"});if(c(u,o),i){var u=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});c(u,"single")}function c(e,n){var o=e[0];if(o){var a=new l;if(a.add(o.componentIndex),t.set(n,a),i=!1,"x"===n||"y"===n){var u=o.getReferringComponents("grid",s.US).models[0];u&&(0,r.each)(e,function(t){o.componentIndex!==t.componentIndex&&u===t.getReferringComponents("grid",s.US).models[0]&&a.add(t.componentIndex)})}}}i&&(0,r.each)(a.$5,function(e){if(i){var r=n.findComponents({mainType:(0,a.dX)(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new l;o.add(r[0].componentIndex),t.set(e,o),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){t||(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");(0,r.each)([["start","startValue"],["end","endValue"]],function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent((0,a.dX)(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,i){(0,r.each)(n.indexList,function(n){t.call(e,i,n)})})},e.prototype.getAxisProxy=function(t,e){return(0,a.tB)(this.getAxisModel(t,e))},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent((0,a.dX)(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;(0,r.each)([["start","startValue"],["end","endValue"]],function(i){(null!=t[i[0]]||null!=t[i[1]])&&(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;(0,r.each)(["start","startValue","end","endValue"],function(n){e[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getWindow().percent},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getWindow().value;var n=this.findRepresentativeAxisProxy();if(n)return n.getWindow().value},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return(0,a.tB)(t);for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],o=this._targetAxisInfoMap.get(r),s=0;s<o.indexList.length;s++){var l=this.getAxisProxy(r,o.indexList[s]);if(l.hostedBy(this))return l;e||(e=l)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(o.A)},XV(t,e,n){var i=n("i4");e.A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(n("BP").A)},V2l(t,e,n){var i=n("iY"),r=n("xN"),o=n("oh"),a=(0,r.$r)(),s=["cartesian2d","polar","singleAxis"];function l(t){return t+"Axis"}function u(t){var e=a((0,o.jN)(t));return e.axisProxyMap||(e.axisProxyMap=(0,i.createHashMap)())}function c(t){if(t)return u(t.ecModel).get(t.uid)}n.d(e,{},{$5:["x","y","radius","angle","single"],CN:function(t,e){var n,r=(0,i.createHashMap)(),o=[],a=(0,i.createHashMap)();t.eachComponent({mainType:"dataZoom",query:e},function(t){a.get(t.uid)||l(t)});do n=!1,t.eachComponent("dataZoom",s);while(n)function s(t){var e;!a.get(t.uid)&&(e=!1,t.eachTargetAxis(function(t,n){var i=r.get(t);i&&i[n]&&(e=!0)}),e)&&(l(t),n=!0)}function l(t){a.set(t.uid,!0),o.push(t),t.eachTargetAxis(function(t,e){(r.get(t)||r.set(t,[]))[e]=!0})}return o},_u:function(t){var e=t.get("coordinateSystem");return(0,i.indexOf)(s,e)>=0},dX:l,es:function(t){var e=t.ecModel,n={infoList:[],infoMap:(0,i.createHashMap)()};return t.eachTargetAxis(function(t,i){var r=e.getComponent(l(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}}),n},n7:function(t,e){var n=e.getAxisModel().axis.__alignTo;return n&&t.getAxisProxy(n.dim,n.model.componentIndex)?c(n.model):null},tB:c,yk:function(t,e){u(t.ecModel).set(t.uid,e)}})},YA(t,e,n){var i=n("xNS"),r=n("aro"),o=n("ZH");n.d(e,{},{a:function(t){(0,i.Y)(r.a),(0,i.Y)(o.a)}})},jb(t,e,n){n.d(e,{A:()=>d});var i=n("iY"),r=n("V2l"),o=n("MB"),a=n("bx"),s=n("xN"),l=n("x2"),u=n("uP"),c=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getWindow=function(){return(0,i.clone)(this._window)},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if((0,r._u)(e)){var n=(0,r.dX)(this._dimName),i=e.getReferringComponents(n,s.US).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return(0,i.clone)(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._extent,r=this.getAxisModel().axis,u=r.scale,c=this._dataZoomModel.getRangePropMode(),h=[0,100],p=[],d=[],f=[!1,!1];(0,i.each)(["start","end"],function(i,r){var a=t[i],s=t[i+"Value"];"percent"===c[r]?(null==a&&(a=h[r]),s=(0,o.Cb)(a,h,n),f[r]=!0):(e=!0,null==s?s=n[r]:(s=u.parse(s),u.sanitize&&(s=u.sanitize(s,n))),a=(0,o.Cb)(s,n,h)),d[r]=null==s||isNaN(s)?n[r]:s,p[r]=null==a||isNaN(a)?h[r]:a}),(0,o.Y6)(d),(0,o.Y6)(p);var g=this._minMaxSpan;function y(t,e,n,i,r){var l=r?"Span":"ValueSpan";(0,a.A)(0,t,n,"all",g["min"+l],g["max"+l]);for(var u=0;u<2;u++)e[u]=(0,o.Cb)(t[u],n,i,!0),r&&(e[u]=e[u],f[u]=!0);(0,s.U2)(e)}e?y(d,p,n,h,!1):y(p,d,h,n,!0);var v=(0,l.wl)(u)||(0,l.oY)(u),m=r.getExtent(),_=(0,o.NY)(m[1]-m[0]),x=v?0:(0,o.EO)(d,_,.5);(0,i.each)([[0,o.ih],[1,o.Zr]],function(t){var e=t[0],i=t[1];f[e]&&isFinite(x)&&(d[e]=(0,o.LI)(d[e],x),d[e]=(0,o.rp)(n[1],(0,o.JB)(n[0],d[e])),p[e]===h[e]&&(d[e]=n[e],v&&(d[e]=i(d[e]))))}),(0,s.U2)(d);var b=[(0,o.Cb)(d[0],n,h,!0),(0,o.Cb)(d[1],n,h,!0)];return(0,s.U2)(b),{value:d,percent:p,percentInverted:b,valuePrecision:x}},t.prototype.reset=function(t,e){if(this.hostedBy(t)){var n=this.getAxisModel().axis;(0,u.DT)(n,u.fK);var r=n.scale.rawExtentInfo;this._extent=r.makeNoZoom(),this._updateMinMaxSpan();var o=t.settledOption;e&&(o=(0,i.defaults)({start:e[0],end:e[1]},o));var a=this._window=this.calculateDataWindow(o),s=a.percent,l=a.value;0!==s[0]&&r.setZoomMM(0,l[0]),100!==s[1]&&r.setZoomMM(1,l[1])}},t.prototype.filterData=function(t,e){if(this.hostedBy(t)){var n=this._dimName,r=this.getTargetSeriesModels(),o=t.get("filterMode"),a=this._window.value;"none"!==o&&(0,i.each)(r,function(t){var e=t.getData(),r=e.mapDimensionsAll(n);if(r.length){if("weakFilter"===o){var s=e.getStore(),l=(0,i.map)(r,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,n,i,o=0;o<r.length;o++){var u=s.get(l[o],t),c=!isNaN(u),h=u<a[0],p=u>a[1];if(c&&!h&&!p)return!0;c&&(i=!0),h&&(e=!0),p&&(n=!0)}return i&&e&&n})}else(0,i.each)(r,function(n){if("empty"===o)t.setData(e=e.map(n,function(t){var e;return(e=t)>=a[0]&&e<=a[1]?t:0/0}));else{var i={};i[n]=a,e.selectRange(i)}});(0,i.each)(r,function(t){e.setApproximateExtent(a,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._extent;(0,i.each)(["min","max"],function(i){var r=e.get(i+"Span"),a=e.get(i+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?r=(0,o.Cb)(n[0]+a,n,[0,100],!0):null!=r&&(a=(0,o.Cb)(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=a},this)},t}(),h={dirtyOnOverallProgress:!0,getTargetSeries:function(t){var e,n=[];e=function(e,i,o,a){if(!(0,r.tB)(o)){var s=new c(e,i,a,t);n.push(s),(0,r.yk)(o,s)}},t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(i,o){var a=t.getComponent((0,r.dX)(i),o);e(i,o,a,n)})});var o=(0,i.createHashMap)();return(0,i.each)(n,function(t){(0,i.each)(t.getTargetSeriesModels(),function(t){o.set(t.uid,t)})}),o},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){var n=[];t.eachTargetAxis(function(e,i){var o=t.getAxisProxy(e,i),a=(0,r.n7)(t,o);a?n.push([o,a]):o.reset(t,null)}),(0,i.each)(n,function(e){e[0].reset(t,e[1].getWindow().percentInverted)}),t.eachTargetAxis(function(n,i){t.getAxisProxy(n,i).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getWindow(),i=n.percent,r=n.value;t.setCalculatedRange({start:i[0],end:i[1],startValue:r[0],endValue:r[1]})}})}},p=(0,s.EV)();function d(t){p(t,function(){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,h),t.registerAction("dataZoom",function(t,e){var n=(0,r.CN)(e,t);(0,i.each)(n,function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})}),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"})})}},aro(t,e,n){n.d(e,{a:()=>S});var i=n("i4"),r=n("Vk"),o=n("Af"),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="dataZoom.inside",e.defaultOption=(0,o.G_)(r.A.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(r.A),s=n("XV"),l=n("bx"),u=n("dw"),c=n("dd"),h=n("xN"),p=n("iY"),d=n("V2l"),f=(0,h.$r)();function g(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function y(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function v(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}var m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return(0,i.C6)(e,t),e.prototype.render=function(e,n,i){var r;(t.prototype.render.apply(this,arguments),e.noTarget())?this._clear():(this.range=e.getPercentRange(),r={pan:(0,p.bind)(_.pan,this),zoom:(0,p.bind)(_.zoom,this),scrollMove:(0,p.bind)(_.scrollMove,this)},f(i).coordSysRecordMap.each(function(t){var n=t.dataZoomInfoMap.get(e.uid);n&&(n.getRange=r)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=f(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var o=i[r],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||g(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(s.A),_={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=b[e](null,[i.originX,i.originY],a,n,t),u=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/i.scale,0);o[0]=(o[0]-u)*c+u,o[1]=(o[1]-u)*c+u;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if((0,l.A)(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1])return o}},pan:x(function(t,e,n,i,r,o){var a=b[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:x(function(t,e,n,i,r,o){return b[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta})};function x(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s){var u=t(a,s,e,n,i,r);if((0,l.A)(u,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1])return a}}}var b={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},w=n("jb");function S(t){(0,w.A)(t),t.registerComponentModel(a),t.registerComponentView(m),t.registerUpdateLifecycle("coordsys:aftercreate",function(t,e){var n=f(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=(0,p.createHashMap)());i.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){var n=(0,d.es)(t);(0,p.each)(n.infoList,function(n){var r,o,a,s=n.model.uid,l=i.get(s)||i.set(s,(a=(o={model:r=n.model,containsPoint:(0,p.curry)(v,r),dispatchAction:(0,p.curry)(y,e),dataZoomInfoMap:null,controller:null}).controller=new u.A(e.getZr()),(0,p.each)(["pan","zoom","scrollMove"],function(t){a.on(t,function(e){var n=[];o.dataZoomInfoMap.each(function(i){if(e.isAvailableBehavior(i.model.option)){var r=(i.getRange||{})[t],a=r&&r(i.dzReferCoordSysInfo,o.model.mainType,o.controller,e);!i.model.get("disabled",!0)&&a&&n.push({dataZoomId:i.model.id,start:a[0],end:a[1]})}}),n.length&&o.dispatchAction(n)})}),o));(l.dataZoomInfoMap||(l.dataZoomInfoMap=(0,p.createHashMap)())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})})}),i.each(function(t){var n,r,o,a,s,l,u,h=t.controller,d=t.dataZoomInfoMap;if(d){var f=d.keys()[0];null!=f&&(u=d.get(f))}if(!u)return void g(i,t);var y=(a="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},l=!0,d.each(function(t){var e=t.model,i=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");s[a+i]>s[a+n]&&(n=i),l=l&&e.get("preventDefaultMouseMove",!0),r=(0,p.retrieve2)(e.get("cursorGrab",!0),r),o=(0,p.retrieve2)(e.get("cursorGrabbing",!0),o)}),{controlType:n,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!l,api:e,zInfo:{component:t.model},triggerInfo:{roamTrigger:null,isInSelf:t.containsPoint},cursorGrab:r,cursorGrabbing:o}});h.enable(y.controlType,y.opt),c.N(t,"dispatchAction",u.model.get("throttle",!0),"fixRate")})})}},ZH(t,e,n){n.d(e,{a:()=>B});var i=n("i4"),r=n("Vk"),o=n("Af"),a=n("g8w"),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=(0,o.G_)(r.A.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:a.A.color.accent10,borderRadius:0,backgroundColor:a.A.color.transparent,dataBackground:{lineStyle:{color:a.A.color.accent30,width:.5},areaStyle:{color:a.A.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:a.A.color.accent40,width:.5},areaStyle:{color:a.A.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:a.A.color.neutral00,borderColor:a.A.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:a.A.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:a.A.color.tertiary},brushSelect:!0,brushStyle:{color:a.A.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:a.A.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),e}(r.A),l=n("iY"),u=n("lX"),c=n("Vb"),h=n("jZ"),p=n("hC"),d=n("Jx"),f=n("s2"),g=n("uf"),y=n("zM"),v=n("dd"),m=n("XV"),_=n("MB"),x=n("db"),b=n("bx"),w=n("V2l"),S=n("LP"),A=n("up"),M=n("F4"),T=n("x2"),C=c.A,k="horizontal",I="vertical",D=["line","bar","candlestick","scatter"],O={easing:"cubicOut",duration:100,delay:0},L=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return(0,i.C6)(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=(0,l.bind)(this._onBrush,this),this._onBrushEnd=(0,l.bind)(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),v.N(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1===e.get("show"))return void this.group.removeAll();if(e.noTarget()){this._clear(),this.group.removeAll();return}r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){v.IU(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new h.A;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect"),i=x.Lj(t,e).refContainer,r=this._findCoordRect(),o=t.get("defaultLocationEdgeGap",!0)||0,a=this._orient===k?{right:i.width-r.x-r.width,top:i.height-30-o-7*!!n,width:r.width,height:30}:{right:o,top:r.y,width:30,height:r.height},s=x.vs(t.option);(0,l.each)(["right","top","width","height"],function(t){"ph"===s[t]&&(s[t]=a[t])});var u=x.dV(s,i);this._location={x:u.x,y:u.y},this._size=[u.width,u.height],this._orient===I&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==k||r?n===k&&r?{scaleY:a?1:-1,scaleX:-1}:n!==I||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]),l=isNaN(s.x)?0:s.x,u=isNaN(s.y)?0:s.y;t.x=e.x-l,t.y=e.y-u,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new C({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new C({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:(0,l.bind)(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u,c=r.getDataExtent(t.thisDim),f=r.getDataExtent(a),g=(f[1]-f[0])*.3;f=[f[0]-g,f[1]+g];var y=[0,e[1]],v=[0,e[0]],m=[[e[0],0],[0,0]],x=[],b=v[1]/Math.max(1,r.count()-1),w=e[0]/(c[1]-c[0]),S="time"===t.thisAxis.type,A=-b,M=Math.round(r.count()/e[0]);r.each([t.thisDim,a],function(t,e,n){if(M>0&&n%M){S||(A+=b);return}A=S?(t-c[0])*w:A+b;var i=null==e||isNaN(e)||""===e,r=i?0:(0,_.Cb)(e,f,y,!0);i&&!u&&n?(m.push([m[m.length-1][0],0]),x.push([x[x.length-1][0],0])):!i&&u&&(m.push([A,0]),x.push([A,0])),i||(m.push([A,r]),x.push([A,r])),u=i}),s=this._shadowPolygonPts=m,l=this._shadowPolylinePts=x}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var T=this.dataZoomModel,C=0;C<3;C++){var k=function(t){var e=T.getModel(t?"selectedDataBackground":"dataBackground"),n=new h.A,i=new p.A({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new d.A({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}(1===C);this._displayables.sliderGroup.add(k),this._displayables.dataShadowSegs.push(k)}}}},e.prototype._prepareDataShadowInfo=function(){var t,e=this.dataZoomModel,n=e.get("showDataShadow");if(!1!==n){var i=this.ecModel;return e.eachTargetAxis(function(r,o){var a=e.getAxisProxy(r,o).getTargetSeriesModels();(0,l.each)(a,function(e){if(!t&&!(!0!==n&&0>(0,l.indexOf)(D,e.get("type")))){var a,s=i.getComponent((0,w.dX)(r),o).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[r],c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(a=c.getOtherAxis(s).inverse),u=e.getData().mapDimension(u);var h=e.getData().mapDimension(r);t={thisAxis:s,series:e,thisDim:h,otherDim:u,otherAxisInverse:a}}},this)},this),t}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,s=this.dataZoomModel,u=this.api,h=s.get("borderRadius")||0,p=s.get("brushSelect"),d=e.filler=new C({silent:p,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});r.add(d),r.add(new C({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:h},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:a.A.color.transparent}})),(0,l.each)([0,1],function(e){var o=s.get("handleIcon");!A.$V[o]&&0>o.indexOf("path://")&&0>o.indexOf("image://")&&(o="path://"+o);var a=(0,A.v5)(o,-1,0,2,2,null,!0);a.attr({cursor:"vertical"===this._orient?"ns-resize":"ew-resize",draggable:!0,drift:(0,l.bind)(this._onDragMove,this,e),ondragend:(0,l.bind)(this._onDragEnd,this),onmouseover:(0,l.bind)(this._onOverDataInfoTriggerArea,this,!0),onmouseout:(0,l.bind)(this._onOverDataInfoTriggerArea,this,!1),z2:5});var u=a.getBoundingRect(),c=s.get("handleSize");this._handleHeight=(0,_.lo)(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,a.setStyle(s.getModel("handleStyle").getItemStyle()),a.style.strokeNoScale=!0,a.rectHover=!0,a.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,S.iJ)(a);var h=s.get("handleColor");null!=h&&(a.style.fill=h),r.add(n[e]=a);var p=s.getModel("textStyle"),d=(s.get("handleLabel")||{}).show||!1;t.add(i[e]=new f.Ay({silent:!0,invisible:!d,style:(0,M.VB)(p,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:p.getTextColor(),font:p.getFont()}),z2:10}))},this);var g=d;if(p){var y=(0,_.lo)(s.get("moveHandleSize"),o[1]),v=e.moveHandle=new c.A({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:y}}),m=.8*y,x=e.moveHandleIcon=(0,A.v5)(s.get("moveHandleIcon"),-m/2,-m/2,m,m,a.A.color.neutral00,!0);x.silent=!0,x.y=o[1]+y/2-.5,v.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var b=Math.min(o[1]/2,Math.max(y,10));(g=e.moveZone=new c.A({invisible:!0,shape:{y:o[1]-b,height:y+b}})).on("mouseover",function(){u.enterEmphasis(v)}).on("mouseout",function(){u.leaveEmphasis(v)}),r.add(v),r.add(x),r.add(g)}g.attr({draggable:!0,cursor:"grab",drift:(0,l.bind)(this._onActualMoveZoneDrift,this),ondragstart:(0,l.bind)(this._onActualMoveZoneDragStart,this),ondragend:(0,l.bind)(this._onActualMoveZoneDragEnd,this),onmouseover:(0,l.bind)(this._onOverDataInfoTriggerArea,this,!0),onmouseout:(0,l.bind)(this._onOverDataInfoTriggerArea,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[(0,_.Cb)(t[0],[0,100],e,!0),(0,_.Cb)(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];(0,b.A)(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?(0,_.Cb)(o.minSpan,a,r,!0):null,null!=o.maxSpan?(0,_.Cb)(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=(0,_.Y6)([(0,_.Cb)(i[0],r,a,!0),(0,_.Cb)(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=(0,_.Y6)(n.slice()),r=this._size;(0,l.each)([0,1],function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],u=0;u<a.length;u++){var h=a[u],p=h.getClipPath();p||(p=new c.A,h.setClipPath(p)),p.setShape({x:s[u],y:0,width:s[u+1]-s[u],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy(),s=a.getAxisModel().axis.scale;if(a){var l,u=this._range;if(t){var c={start:u[0],end:u[1]},h=(0,w.n7)(e,a);if(h){var p=h.calculateDataWindow(c).percentInverted;c={start:p[0],end:p[1]}}l=a.calculateDataWindow(c)}else l=a.getWindow();o=[P(e,0,l,s),P(e,1,l,s)]}}var d=(0,_.Y6)(this._handleEnds.slice());function f(t){var e=g.getTransform(n.handles[t].parent,this.group),a=g.transformDirection(0===t?"right":"left",e),s=this._handleWidth/2+5,l=g.applyTransform([d[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===k?"middle":a,align:r===k?a:"center",text:o[t]})}f.call(this,0),f.call(this,1)},e.prototype._onOverDataInfoTriggerArea=function(t){this._isOverDataInfoTriggerArea=t,this._showDataInfo(t)},e.prototype._showDataInfo=function(t){var e=(this.dataZoomModel.get("handleLabel")||{}).show||!1,n=this.dataZoomModel.getModel(["emphasis","handleLabel"]).get("show")||!1,i=t||this._dragging?n:e,r=this._displayables,o=r.handleLabels;o[0].attr("invisible",!i),o[1].attr("invisible",!i),r.moveHandle&&this.api[i?"enterEmphasis":"leaveEmphasis"](r.moveHandle,1)},e.prototype._onActualMoveZoneDrift=function(t,e,n){this.api.getZr().setCursorStyle("grabbing"),this._onDragMove("all",t,e,n)},e.prototype._onActualMoveZoneDragStart=function(t){t.target.attr("cursor","grabbing"),this._showDataInfo(!0)},e.prototype._onActualMoveZoneDragEnd=function(t){t.target.attr("cursor","grab"),this._onDragEnd()},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,u.ds(i.event);var r=this._displayables.sliderGroup.getLocalTransform(),o=g.applyTransform([e,n],r,!0),a=this._updateInterval(t,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._isOverDataInfoTriggerArea||this._showDataInfo(!1),this.dataZoomModel.get("realtime")||this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0)&&!(n[0]>e[0])&&!(n[1]<0)&&!(n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new y.A(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(new Date-this._brushStartTime<200&&5>Math.abs(n.width))){var i=this._getViewExtent(),r=[0,100],o=this._handleEnds=[n.x,n.x+n.width],a=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();(0,b.A)(0,o,i,0,null!=a.minSpan?(0,_.Cb)(a.minSpan,r,i,!0):null,null!=a.maxSpan?(0,_.Cb)(a.maxSpan,r,i,!0):null),this._range=(0,_.Y6)([(0,_.Cb)(o[0],i,r,!0),(0,_.Cb)(o[1],i,r,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(u.ds(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new C({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?O:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=(0,w.es)(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(m.A);function P(t,e,n,i){var r=t.get("labelFormatter"),o=t.get("labelPrecision");(null==o||"auto"===o)&&(o=n.valuePrecision);var a=n.value[e],s=null==a||isNaN(a)?"":(0,T.wl)(i)||(0,T.oY)(i)?i.getLabel({value:Math.round(a)}):isFinite(o)?(0,_.LI)(a,o,!0):a+"";return(0,l.isFunction)(r)?r(a,s):(0,l.isString)(r)?r.replace("{value}",s):s}var R=n("jb");function B(t){t.registerComponentModel(s),t.registerComponentView(L),(0,R.A)(t)}},MgF(t,e,n){var i=n("i4"),r=n("wv"),o=n("BP"),a=n("No"),s=n("ox2"),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,i.C6)(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new s.R(this),(0,s.A)(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),(0,s.A)(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:a.i_},e}(r.A),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,i.C6)(e,t),e.type="dataset",e}(o.A);n.d(e,{},{a:function(t){t.registerComponentModel(l),t.registerComponentView(u)}})},t4(t,e,n){var i=n("sZ"),r=n("Q9"),o=n("xNS");n.d(e,{},{a:function(t){(0,o.Y)(i.a),(0,o.Y)(r.a)}})},sZ(t,e,n){n.d(e,{a:()=>k});var i=n("i4"),r=n("BP"),o=n("UGL"),a=n("Vb"),s=n("iY"),l=n("wv"),u=n("cI"),c=n("xN"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",c.US).models[0]},e.type="cartesian2dAxis",e}(l.A);s.mixin(h,u.L);var p=n("xn"),d=n("u9"),f=n("jZ"),g=n("uf"),y=n("xz"),v=n("uJ"),m=n("VH"),_=n("Dx"),x=n("LC"),b=["splitArea","splitLine","minorSplitLine","breakArea"],w=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return(0,i.C6)(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;this._axisGroup=new f.A,this.group.add(this._axisGroup),(0,x.Qs)(e)&&(this._axisGroup.add(e.axis.axisBuilder.group),s.each(b,function(t){e.get([t,"show"])&&S[t](this,this._axisGroup,e,e.getCoordSysModel(),i)},this),r&&"changeAxisOrder"===r.type&&r.isInitSort||g.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r))},e.prototype.remove=function(){(0,m.V)(this)},e.type="cartesianAxis",e}(v.A),S={splitLine:function(t,e,n,i,r){var o=n.axis;if(!o.scale.isBlank()){var a=n.getModel("splitLine"),l=a.getModel("lineStyle"),u=l.get("color"),c=!1!==a.get("showMinLine"),h=!1!==a.get("showMaxLine");u=s.isArray(u)?u:[u];for(var p=i.coordinateSystem.getRect(),d=o.isHorizontal(),f=0,v=o.getTicksCoords({tickModel:a,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),m=[],_=[],x=l.getLineStyle(),b=0;b<v.length;b++){var w=o.toGlobalCoord(v[b].coord);if((0!==b||c)&&(b!==v.length-1||h)){var S=v[b].tickValue;d?(m[0]=w,m[1]=p.y,_[0]=w,_[1]=p.y+p.height):(m[0]=p.x,m[1]=w,_[0]=p.x+p.width,_[1]=w);var A=f++%u.length,M=new y.A({anid:null!=S?"line_"+S:null,autoBatch:!0,shape:{x1:m[0],y1:m[1],x2:_[0],y2:_[1]},style:s.defaults({stroke:u[A]},x),silent:!0});g.subPixelOptimizeLine(M.shape,x.lineWidth),e.add(M)}}}},minorSplitLine:function(t,e,n,i,r){var o=n.axis,a=n.getModel("minorSplitLine").getModel("lineStyle"),s=i.coordinateSystem.getRect(),l=o.isHorizontal(),u=o.getMinorTicksCoords();if(u.length)for(var c=[],h=[],p=a.getLineStyle(),d=0;d<u.length;d++)for(var f=0;f<u[d].length;f++){var v=o.toGlobalCoord(u[d][f].coord);l?(c[0]=v,c[1]=s.y,h[0]=v,h[1]=s.y+s.height):(c[0]=s.x,c[1]=v,h[0]=s.x+s.width,h[1]=v);var m=new y.A({anid:"minor_line_"+u[d][f].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:p,silent:!0});g.subPixelOptimizeLine(m.shape,p.lineWidth),e.add(m)}},splitArea:function(t,e,n,i,r){(0,m.Y)(t,e,n,i)},breakArea:function(t,e,n,i,r){var o=(0,_.D)(),a=n.axis.scale;o&&"ordinal"!==a.type&&o.rectCoordBuildBreakAxis(e,t,n,i.coordinateSystem.getRect(),r)}},A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="xAxis",e}(w),M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=A.type,e}return(0,i.C6)(e,t),e.type="yAxis",e}(w),T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,i.C6)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new a.A({shape:t.coordinateSystem.getRect(),style:(0,s.defaults)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(r.A),C={offset:0};function k(t){t.registerComponentView(T),t.registerComponentModel(o.Ay),t.registerCoordinateSystem("cartesian2d",d.A),(0,p.A)(t,"x",h,C),(0,p.A)(t,"y",h,C),t.registerComponentView(A),t.registerComponentView(M),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}},Y8b(t,e,n){var i=n("i4"),r=n("iY"),o=n("jp"),a=n("jZ"),s=n("Vb"),l=n("uf"),u=n("Jx"),c=n("hC"),h=n("l5"),p=n("YQ"),d=n("g8w"),f=Math.min,g=Math.max,y=Math.pow,v="globalPan",m={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},_={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},x={brushStyle:{lineWidth:2,stroke:d.A.color.backgroundTint,fill:d.A.color.borderTint},transformable:!0,brushMode:"single",removeOnClick:!1},b=0,w=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new a.A,n._uid="brushController_"+b++,(0,r.each)(q,function(t,e){this._handlers[e]=(0,r.bind)(t,this)},n),n}return(0,i.C6)(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||h.s(e,v,this._uid),(0,r.each)(this._handlers,function(t,n){e.on(n,t)}),this._brushType=t.brushType,this._brushOption=(0,r.merge)((0,r.clone)(x),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;h._r(t,v,this._uid),(0,r.each)(this._handlers,function(e,n){t.off(n,e)}),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};(0,r.each)(t,function(t){e[t.panelId]=(0,r.clone)(t)})}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=(0,r.map)(t,function(t){return(0,r.merge)((0,r.clone)(x),t,!0)});var e=this._covers,n=this._covers=[],i=this,o=this._creatingCover;return new p.A(e,t,function(t,e){return a(t.__brushOption,e)},a).add(s).update(s).remove(function(t){e[t]!==o&&i.group.remove(e[t])}).execute(),this;function a(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function s(r,a){var s=t[r];if(null!=a&&e[a]===o)n[r]=e[a];else{var l=n[r]=null!=a?(e[a].__brushOption=s,e[a]):A(i,S(i,s));C(i,l)}}},e.prototype.unmount=function(){return this.enableBrush(!1),O(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(o.A);function S(t,e){var n=Q[e.brushType].createCover(t,e);return n.__brushOption=e,T(n,e),t.group.add(n),n}function A(t,e){var n=k(e);return n.endCreating&&(n.endCreating(t,e),T(e,e.__brushOption)),e}function M(t,e){var n=e.__brushOption;k(e).updateCoverShape(t,e,n.range,n)}function T(t,e){var n=e.z;null==n&&(n=1e4),t.traverse(function(t){t.z=n,t.z2=n})}function C(t,e){k(e).updateCommon(t,e),M(t,e)}function k(t){return Q[t.__brushOption.brushType]}function I(t,e,n){var i,o=t._panels;if(!o)return!0;var a=t._transform;return(0,r.each)(o,function(t){t.isTargetByCursor(e,n,a)&&(i=t)}),i}function D(t,e){var n=t._panels;if(!n)return!0;var i=e.__brushOption.panelId;return null==i||n[i]}function O(t){var e=t._covers,n=e.length;return(0,r.each)(e,function(e){t.group.remove(e)},t),e.length=0,!!n}function L(t,e){var n=(0,r.map)(t._covers,function(t){var e=t.__brushOption,n=(0,r.clone)(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}});t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function P(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function R(t,e,n,i){var o=new a.A;return o.add(new s.A({name:"main",style:E(n),silent:!0,draggable:!0,cursor:"move",drift:(0,r.curry)(Y,t,e,o,["n","s","w","e"]),ondragend:(0,r.curry)(L,e,{isEnd:!0})})),(0,r.each)(i,function(n){o.add(new s.A({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:(0,r.curry)(Y,t,e,o,n),ondragend:(0,r.curry)(L,e,{isEnd:!0})}))}),o}function B(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=g(r,6),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],h=n[1][1],p=c-o+r/2,d=h-o+r/2,f=c-a,y=h-s,v=f+r,m=y+r;N(t,e,"main",a,s,f,y),i.transformable&&(N(t,e,"w",l,u,o,m),N(t,e,"e",p,u,o,m),N(t,e,"n",l,u,v,o),N(t,e,"s",l,d,v,o),N(t,e,"nw",l,u,o,o),N(t,e,"ne",p,u,o,o),N(t,e,"sw",l,d,o,o),N(t,e,"se",p,d,o,o))}function z(t,e){var n=e.__brushOption,i=n.transformable,o=e.childAt(0);o.useStyle(E(n)),o.attr({silent:!i,cursor:i?"move":"default"}),(0,r.each)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(n){var r,o,a,s=e.childOfName(n.join("")),l=1===n.length?F(t,n[0]):(("e"===(a=[F(r=t,(o=n)[0]),F(r,o[1])])[0]||"w"===a[0])&&a.reverse(),a.join(""));s&&s.attr({silent:!i,invisible:!i,cursor:i?_[l]+"-resize":null})})}function N(t,e,n,i,r,o,a){var s,l,u,c=e.childOfName(n);c&&c.setShape((l=f((s=G(t,e,[[i,r],[i+o,r+a]]))[0][0],s[1][0]),{x:l,y:u=f(s[0][1],s[1][1]),width:g(s[0][0],s[1][0])-l,height:g(s[0][1],s[1][1])-u}))}function E(t){return(0,r.defaults)({strokeNoScale:!0},t.brushStyle)}function V(t,e,n,i){var r=[f(t,n),f(e,i)],o=[g(t,n),g(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function F(t,e){return({left:"w",right:"e",top:"n",bottom:"s"})[l.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[e],l.getTransform(t.group))]}function Y(t,e,n,i,o,a){var s=n.__brushOption,l=t.toRectRange(s.range),u=W(e,o,a);(0,r.each)(i,function(t){var e=m[t];l[e[0]][e[1]]+=u[e[0]]}),s.range=t.fromRectRange(V(l[0][0],l[1][0],l[0][1],l[1][1])),C(e,n),L(e,{isEnd:!1})}function H(t,e,n,i){var o=e.__brushOption.range,a=W(t,n,i);(0,r.each)(o,function(t){t[0]+=a[0],t[1]+=a[1]}),C(t,e),L(t,{isEnd:!1})}function W(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function G(t,e,n){var i=D(t,e);return i&&!0!==i?i.clipPath(n,t._transform):(0,r.clone)(n)}function Z(t){var e=t.event;e.preventDefault&&e.preventDefault()}function U(t,e,n){return t.childOfName("main").contain(e,n)}function X(t,e,n,i){var o,a=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return y(r*r+o*o,.5)>6}(t)||a){if(s&&!a){"single"===l.brushMode&&O(t);var u=(0,r.clone)(l);u.brushType=j(u.brushType,s),u.panelId=!0===s?null:s.panelId,a=t._creatingCover=S(t,u),t._covers.push(a)}if(a){var c=Q[j(t._brushType,s)];a.__brushOption.range=c.getCreatingRange(G(t,a,t._track)),i&&(A(t,a),c.updateCommon(t,a)),M(t,a),o={isEnd:i}}}else i&&"single"===l.brushMode&&l.removeOnClick&&I(t,e,n)&&O(t)&&(o={isEnd:i,removeOnClick:!0});return o}function j(t,e){return"auto"===t?e.defaultBrushType:t}var q={mousedown:function(t){if(this._dragging)$(this,t);else if(!t.target||!t.target.draggable){Z(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=I(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(!function(t,e,n){if(!(!t._brushType||(i=t,r=e.offsetX,o=e.offsetY,a=i._zr,r<0||r>a.getWidth()||o<0||o>a.getHeight()))){var i,r,o,a,s=t._zr,l=t._covers,u=I(t,e,n);if(!t._dragging)for(var c=0;c<l.length;c++){var h=l[c].__brushOption;if(u&&(!0===u||h.panelId===u.panelId)&&Q[h.brushType].contain(l[c],n[0],n[1]))return}u&&s.setCursorStyle("crosshair")}}(this,t,i),this._dragging){Z(t);var r=X(this,t,i,!1);r&&L(this,r)}},mouseup:function(t){$(this,t)}};function $(t,e){if(t._dragging){Z(e);var n=e.offsetX,i=e.offsetY,r=t.group.transformCoordToLocal(n,i),o=X(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&L(t,o)}}var Q={lineX:J(0),lineY:J(1),rect:{createCover:function(t,e){function n(t){return t}return R({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=P(t);return V(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){B(t,e,n,i)},updateCommon:z,contain:U},polygon:{createCover:function(t,e){var n=new a.A;return n.add(new u.A({name:"main",style:E(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new c.A({name:"main",draggable:!0,drift:(0,r.curry)(H,t,e),ondragend:(0,r.curry)(L,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:G(t,e,n)})},updateCommon:z,contain:U}};function J(t){return{createCover:function(e,n){return R({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=P(e);return[f(n[0][t],n[1][t]),g(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,r){var o,a=D(e,n);if(!0!==a&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),B(e,n,l,r)},updateCommon:z,contain:U}}e.A=w},mh(t,e,n){var i=n("iY"),r=n("kK"),o=n("xN"),a=n("uc"),s=n("Y8"),l=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],u=function(){function t(t,e,n){var r=this;this._targetInfoList=[];var o=h(e,t);(0,i.each)(p,function(t,e){(!n||!n.include||(0,i.indexOf)(n.include,e)>=0)&&t(o,r._targetInfoList)})}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=g[t.brushType](0,n,e);t.__rangeOffset={offset:v[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}}),t},t.prototype.matchOutputRanges=function(t,e,n){(0,i.each)(t,function(t){var r=this.findTargetInfo(t,e);r&&!0!==r&&(0,i.each)(r.coordSyses,function(i){var r=g[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)})},this)},t.prototype.setInputRanges=function(t,e){(0,i.each)(t,function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var i,r,o,a,s,l=g[t.brushType](0,n.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?v[t.brushType](l.values,u.offset,(i=l.xyMinMax,r=u.xyMinMax,o=_(i),a=_(r),isNaN((s=[o[0]/a[0],o[1]/a[1]])[0])&&(s[0]=1),isNaN(s[1])&&(s[1]=1),s)):l.values}},this)},t.prototype.makePanelOpts=function(t,e){return(0,i.map)(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:r.wd(i),isTargetByCursor:r.x$(i,t,n.coordSysModel),getLinearBrushOtherExtent:r.wx(i)}})},t.prototype.controlSeries=function(t,e,n){var r=this.findTargetInfo(t,n);return!0===r||r&&(0,i.indexOf)(r.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=h(e,t),r=0;r<n.length;r++){var o=n[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<d.length;s++)if(d[s](i,o))return o}return!0},t}();function c(t){return t[0]>t[1]&&t.reverse(),t}function h(t,e){return(0,o._e)(t,e,{includeMainTypes:l})}var p={grid:function(t,e){var n=t.xAxisModels,r=t.yAxisModels,o=t.gridModels,a=(0,i.createHashMap)(),s={},l={};(n||r||o)&&((0,i.each)(n,function(t){var e=t.axis.grid.model;a.set(e.id,e),s[e.id]=!0}),(0,i.each)(r,function(t){var e=t.axis.grid.model;a.set(e.id,e),l[e.id]=!0}),(0,i.each)(o,function(t){a.set(t.id,t),s[t.id]=!0,l[t.id]=!0}),a.each(function(t){var o=t.coordinateSystem,a=[];(0,i.each)(o.getCartesians(),function(t,e){((0,i.indexOf)(n,t.getAxis("x").model)>=0||(0,i.indexOf)(r,t.getAxis("y").model)>=0)&&a.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:a[0],coordSyses:a,getPanelRect:f.grid,xAxisDeclared:s[t.id],yAxisDeclared:l[t.id]})}))},geo:function(t,e){(0,i.each)(t.geoModels,function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:f.geo})})}},d=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],f={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys.view,e=(0,a.D7)(null,t);return(0,s.zQ)(e,e,(0,a.rj)(null,t)),e}},g={lineX:(0,i.curry)(y,0),lineY:(0,i.curry)(y,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[c([r[0],o[0]]),c([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,r){var a=[(0,o.X1)(),(0,o.X1)()];return{values:(0,i.map)(n,function(n){var i=t?e.pointToData(n,r):e.dataToPoint(n,r);return a[0][0]=Math.min(a[0][0],i[0]),a[1][0]=Math.min(a[1][0],i[1]),a[0][1]=Math.max(a[0][1],i[0]),a[1][1]=Math.max(a[1][1],i[1]),i}),xyMinMax:a}}};function y(t,e,n,r){var o=n.getAxis(["x","y"][t]),a=c((0,i.map)([0,1],function(t){return e?o.coordToData(o.toLocalCoord(r[t]),!0):o.toGlobalCoord(o.dataToCoord(r[t]))})),s=[];return s[t]=a,s[1-t]=[0/0,0/0],{values:a,xyMinMax:s}}var v={lineX:(0,i.curry)(m,0),lineY:(0,i.curry)(m,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return(0,i.map)(t,function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]})}};function m(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function _(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[0/0,0/0]}e.A=u},dw(t,e,n){var i=n("i4"),r=n("jp"),o=n("lX"),a=n("l5"),s=n("iY"),l=n("xN"),u=n("uf"),c=n("FF"),h=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=(0,s.bind)(n._mousedownHandler,n),r=(0,s.bind)(n._mousemoveHandler,n),o=(0,s.bind)(n._mouseupHandler,n),a=(0,s.bind)(n._mousewheelHandler,n),l=(0,s.bind)(n._pinchHandler,n);return n.enable=function(t,n){var c=n.zInfo,h=(0,u.retrieveZInfo)(c.component),p=h.z,d=h.zlevel,f={component:c.component,z:p,zlevel:d,z2:(0,s.retrieve2)(c.z2,-1/0)},y=(0,s.extend)({},n.triggerInfo);this._opt=(0,s.defaults)((0,s.extend)({},n),{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0,zInfoParsed:f,triggerInfo:y,cursorGrab:"grab",cursorGrabbing:"grabbing"}),null==t&&(t=!0),this._enabled&&this._controlType===t||(this.disable(),this._enabled=!0,(!0===t||"move"===t||"pan"===t)&&(g(e,"mousedown",i,f),g(e,"mousemove",r,f),g(e,"mouseup",o,f)),(!0===t||"scale"===t||"zoom"===t)&&(g(e,"mousewheel",a,f),g(e,"pinch",l,f)))},n.disable=function(){this._enabled&&(this._enabled=!1,y(e,"mousedown",i),y(e,"mousemove",r),y(e,"mouseup",o),y(e,"mousewheel",a),y(e,"pinch",l))},n}return(0,i.C6)(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype._checkPointer=function(t,e,n){var i=this._opt,r=i.zInfoParsed;if((0,c.I)(t,i.api,r.component))return!1;var o=i.triggerInfo,a=o.roamTrigger,s=!1;return"global"===a&&(s=!0),s||(s=o.isInSelf(t,e,n)),s&&o.isInClip&&!o.isInClip(t,e,n)&&(s=!1),s},e.prototype._decideCursorStyle=function(t,e,n,i){var r=t.target;return!r&&this._checkPointer(t,e,n)?this._opt.cursorGrab:i?r&&r.cursor||"default":void 0},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(o.W5(t)||p(t))){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this._checkPointer(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){var e=this._zr;if(!("pinch"===t.gestureEvent||a.Ck(e,"globalPan")||p(t))){var n=t.offsetX,i=t.offsetY;if(!this._dragging||!m("moveOnMouseMove",t,this._opt)){var r=this._decideCursorStyle(t,n,i,!1);r&&e.setCursorStyle(r);return}e.setCursorStyle(this._opt.cursorGrabbing);var s=this._x,l=this._y,u=n-s,c=i-l;this._x=n,this._y=i,this._opt.preventDefaultMouseMove&&o.ds(t.event),t.__ecRoamConsumed=!0,v(this,"pan","moveOnMouseMove",t,{dx:u,dy:c,oldX:s,oldY:l,newX:n,newY:i,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){if(!p(t)){var e=this._zr;if(!o.W5(t)){this._dragging=!1;var n=this._decideCursorStyle(t,t.offsetX,t.offsetY,!0);n&&e.setCursorStyle(n)}}},e.prototype._mousewheelHandler=function(t){if(!p(t)){var e=m("zoomOnMouseWheel",t,this._opt),n=m("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);this._checkTriggerMoveZoom(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}}},e.prototype._pinchHandler=function(t){if(!(a.Ck(this._zr,"globalPan")||p(t))){var e=t.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e.prototype._checkTriggerMoveZoom=function(t,e,n,i,r){t._checkPointer(i,r.originX,r.originY)&&(o.ds(i.event),i.__ecRoamConsumed=!0,v(t,e,n,i,r))},e}(r.A);function p(t){return t.__ecRoamConsumed}var d=(0,l.$r)();function f(t){var e=d(t);return e.roam=e.roam||{},e.uniform=e.uniform||{},e}function g(t,e,n,i){for(var r,o,a,s=f(t).roam,l=s[e]=s[e]||[],u=0;u<l.length;u++){var c=l[u].zInfoParsed;if(0>=(c.zlevel-i.zlevel||c.z-i.z||c.z2-i.z2))break}l.splice(u,0,{listener:n,zInfoParsed:i}),r=t,o=e,(a=f(r)).uniform[o]||r.on(o,a.uniform[o]=function(t){var e=a.roam[o];if(e)for(var n=0;n<e.length;n++)e[n].listener(t)})}function y(t,e,n){for(var i=f(t).roam[e]||[],r=0;r<i.length;r++)if(i[r].listener===n){i.splice(r,1),i.length||function(t,e){var n=f(t).uniform;n[e]&&(t.off(e,n[e]),n[e]=null)}(t,e);return}}function v(t,e,n,i,r){r.isAvailableBehavior=(0,s.bind)(m,null,n,i),t.trigger(e,r)}function m(t,e,n){var i=n[t];return!t||i&&(!(0,s.isString)(i)||e.event[i+"Key"])}e.A=h},kK(t,e,n){var i=n("Y8"),r=n("FF"),o=n("uf");function a(t){return i.Ay.create(t)}n.d(e,{},{wd:function(t){return t=a(t),function(e){return o.clipPointsByRect(e,t)}},wx:function(t,e){return t=a(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}},x$:function(t,e,n){var i=a(t);return function(t,o){return i.contain(o[0],o[1])&&!(0,r.I)(t,e,n)}}})},FF(t,e,n){var i=n("uf"),r={axisPointer:1,tooltip:1,brush:1};n.d(e,{},{I:function(t,e,n){var o=e.getComponentByElement(t.topTarget);if(!o||o===n||r.hasOwnProperty(o.mainType))return!1;var a=o.coordinateSystem;if(!a||a.model===n)return!1;var s=(0,i.retrieveZInfo)(o),l=(0,i.retrieveZInfo)(n);return!(0>=(s.zlevel-l.zlevel||s.z-l.z))}})},l5(t,e,n){var i=n("Hr"),r=n("iY"),o=(0,n("xN").$r)();i.OH({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},r.noop),n.d(e,{},{Ck:function(t,e){return!!o(t)[e]},_r:function(t,e,n){var i=o(t);i[e]===n&&(i[e]=null)},s:function(t,e,n){o(t)[e]=n}})},HS(t,e,n){var i=n("s7"),r=n("Vb");n.d(e,{},{P:function(t,e){var n=i.QX(e.get("padding")),o=e.getItemStyle(["color","opacity"]);return o.fill=e.get("backgroundColor"),new r.A({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:o,silent:!0,z2:-1})}})},bx(t,e,n){var i=n("MB");function r(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function o(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}n.d(e,{},{A:function(t,e,n,a,s,l){t=t||0;var u,c=(0,i.Tr)(n[1],-n[0]);if(null!=s&&(s=o(s,[0,c])),null!=l&&(l=Math.max(l,null!=s?s:0)),"all"===a){var h=Math.abs((0,i.Tr)(e[1],-e[0]));h=o(h,[0,c]),s=l=o(h,[s,l]),a=0}e[0]=o(e[0],n),e[1]=o(e[1],n);var p=r(e,a);e[a]+=t;var d=s||0,f=n.slice();return p.sign<0?f[0]=(0,i.Tr)(f[0],d):f[1]=(0,i.Tr)(f[1],-d),e[a]=o(e[a],f),u=r(e,a),null!=s&&(u.sign!==p.sign||u.span<s)&&(e[1-a]=(0,i.Tr)(e[a],p.sign*s)),u=r(e,a),null!=l&&u.span>l&&(e[1-a]=(0,i.Tr)(e[a],u.sign*l)),e}})},dT(t,e,n){var i=n("i4"),r=n("iY"),o=n("E3"),a=n("lZ"),s=n("wv"),l=n("xN"),u=n("zZ");function c(t){(0,l.M5)(t,"label",["show"])}var h=(0,l.$r)(),p=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n.preventAutoZ=!0,n}return(0,i.C6)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(o.A.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,i){var o=this.mainType;n||e.eachSeries(function(t){var n=t.get(this.mainType,!0),a=h(t)[o];if(!n||!n.data){h(t)[o]=null;return}a?a._mergeOption(n,e,!0):(i&&c(n),r.each(n.data,function(t){t instanceof Array?(c(t[0]),c(t[1])):c(t)}),a=this.createMarkerModelFromSeries(n,this,e),r.extend(a,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),a.__hostSeries=t),h(t)[o]=a},this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return(0,u.Qx)("section",{header:this.name,blocks:[(0,u.Qx)("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.prototype.getDataParams=function(t,e){var n=a.J.prototype.getDataParams.call(this,t,e),i=this.__hostSeries;return i&&(n.seriesId=i.id,n.seriesName=i.name,n.seriesType=i.subType),n},e.getMarkerModelFromSeries=function(t,e){return h(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(s.A);r.mixin(p,a.J.prototype),e.A=p},Sa(t,e,n){var i=n("i4"),r=n("BP"),o=n("iY"),a=n("dT"),s=n("xN"),l=n("LP"),u=n("uf"),c=(0,s.$r)();e.A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.init=function(){this.markerGroupMap=(0,o.createHashMap)()},e.prototype.render=function(t,e,n){var i,r,o,s=this,l=this.markerGroupMap;l.each(function(t){c(t).keep=!1}),e.eachSeries(function(t){var i=a.A.getMarkerModelFromSeries(t,s.type);i&&s.renderSeries(t,i,e,n)}),l.each(function(t){c(t).keep||s.group.remove(t.group)}),i=e,r=l,o=this.type,i.eachSeries(function(t){var e=a.A.getMarkerModelFromSeries(t,o),n=r.get(t.id);if(e&&n&&n.group){var i=(0,u.retrieveZInfo)(e),s=i.z,l=i.zlevel;(0,u.traverseUpdateZ)(n.group,s,l)}})},e.prototype.markKeep=function(t){c(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;(0,o.each)(t,function(t){var i=a.A.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl(function(t){t&&(e?(0,l.QX)(t):(0,l.JC)(t))})})},e.type="marker",e}(r.A)},Fn(t,e,n){var i=n("iY");n.d(e,{},{A:function(t,e){if(!t)return!1;for(var n=(0,i.isArray)(t)?t:[t],r=0;r<n.length;r++)if(n[r]&&n[r][e])return!0;return!1}})},pc(t,e,n){n.d(e,{a:()=>L});var i=n("Fn"),r=n("i4"),o=n("dT"),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(o.A),s=n("x4z"),l=n("oo"),u=n("MB"),c=n("jZ"),h=n("hC"),p=n("W5"),d=n("LP"),f=n("ZrG"),g=n("Sa"),y=n("iY"),v=n("mR"),m=n("xN"),_=n("N1e"),x=n("F4"),b=n("FL"),w=n("Fy4"),S=n("g8w"),A=(0,m.$r)(),M=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=f.xx(t,r),s=f.xx(t,o),l=a.coord,u=s.coord;l[0]=(0,y.retrieve)(l[0],-1/0),l[1]=(0,y.retrieve)(l[1],-1/0),u[0]=(0,y.retrieve)(u[0],1/0),u[1]=(0,y.retrieve)(u[1],1/0);var c=(0,y.mergeAll)([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c}};function T(t){return!isNaN(t)&&!isFinite(t)}function C(t,e,n,i){var r=1-t;return T(e[r])&&T(n[r])}function k(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return(0,v.g)(t,"cartesian2d")?!!(n&&i&&(C(1,n,i,t)||C(0,n,i,t)))||f.PN(t,r,o):f.Lq(t,r)||f.Lq(t,o)}function I(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=u.lo(s.get(n[0]),r.getWidth()),c=u.lo(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(c)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),p=t.getValues(["x1","y1"],e),d=a.clampData(h),f=a.clampData(p),g=[];"x0"===n[0]?g[0]=d[0]>f[0]?p[0]:h[0]:g[0]=d[0]>f[0]?h[0]:p[0],"y0"===n[1]?g[1]=d[1]>f[1]?p[1]:h[1]:g[1]=d[1]>f[1]?h[1]:p[1],o=i.getMarkerPosition(g,n,!0)}else{var y=t.get(n[0],e),m=t.get(n[1],e),_=[y,m];a.clampData&&a.clampData(_,_),o=a.dataToPoint(_,!0)}if((0,v.g)(a,"cartesian2d")){var x=a.getAxis("x"),b=a.getAxis("y"),y=t.get(n[0],e),m=t.get(n[1],e);T(y)?o[0]=x.toGlobalCoord(x.getExtent()[+("x0"!==n[0])]):T(m)&&(o[1]=b.toGlobalCoord(b.getExtent()[+("y0"!==n[1])]))}isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c)}else o=[l,c];return o}var D=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],O=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=o.A.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each(function(e){var r=(0,y.map)(D,function(r){return I(i,e,r,t,n)});i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)})}},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),f=this.markerGroupMap,g=f.get(o)||f.set(o,{group:new c.A});this.group.add(g.group),this.markKeep(g);var v=function(t,e,n){if(t){var i,r,o=(0,y.map)(t&&t.dimensions,function(t){var n=e.getData(),i=n.getDimensionInfo(n.mapDimension(t))||{};return(0,y.extend)((0,y.extend)({},i),{name:t,ordinalMeta:null})});r=(0,y.map)(["x0","y0","x1","y1"],function(t,e){return{name:t,type:o[e%2].type}}),i=new l.A(r,n)}else r=[{name:"value",type:"float"}],i=new l.A(r,n);var a=(0,y.map)(n.get("data"),(0,y.curry)(M,e,t,n));t&&(a=(0,y.filter)(a,(0,y.curry)(k,t)));var s=t?function(t,e,n,i){var o=t.coord[Math.floor(i/2)][i%2];return(0,w.Pn)(o,r[i])}:function(t,e,n,i){return(0,w.Pn)(t.value,r[i])};return i.initData(a,null,s),i.hasItemOption=!0,i}(r,t,e);e.setData(v),v.each(function(e){var n=(0,y.map)(D,function(n){return I(v,e,n,t,i)}),o=r.getAxis("x").scale,l=r.getAxis("y").scale,c=o.getExtent(),h=l.getExtent(),p=[o.parse(v.get("x0",e)),o.parse(v.get("x1",e))],d=[l.parse(v.get("y0",e)),l.parse(v.get("y1",e))];u.Y6(p),u.Y6(d);var f=!(c[0]>p[1]||c[1]<p[0]||h[0]>d[1]||h[1]<d[0]);v.setItemLayout(e,{points:n,allClipped:!f});var g=v.getItemModel(e),m=g.getModel("itemStyle").getItemStyle(),x=g.get("z2"),b=(0,_.rI)(a,"color");!m.fill&&(m.fill=b,(0,y.isString)(m.fill)&&(m.fill=s.modifyAlpha(m.fill,.4))),m.stroke||(m.stroke=b),v.setItemVisual(e,"style",m),v.setItemVisual(e,"z2",(0,y.retrieve2)(x,0))}),v.diff(A(g).data).add(function(t){var e=v.getItemLayout(t),n=v.getItemVisual(t,"z2");if(!e.allClipped){var i=new h.A({z2:(0,y.retrieve2)(n,0),shape:{points:e.points}});v.setItemGraphicEl(t,i),g.group.add(i)}}).update(function(t,n){var i=A(g).data.getItemGraphicEl(n),r=v.getItemLayout(t),o=v.getItemVisual(t,"z2");r.allClipped?i&&g.group.remove(i):(i?p.oi(i,{z2:(0,y.retrieve2)(o,0),shape:{points:r.points}},e,t):i=new h.A({shape:{points:r.points}}),v.setItemGraphicEl(t,i),g.group.add(i))}).remove(function(t){var e=A(g).data.getItemGraphicEl(t);g.group.remove(e)}).execute(),v.eachItemGraphicEl(function(t,n){var i=v.getItemModel(n),r=v.getItemVisual(n,"style");t.useStyle(v.getItemVisual(n,"style")),(0,x.qM)(t,(0,x.lx)(i),{labelFetcher:e,labelDataIndex:n,defaultText:v.getName(n)||"",inheritColor:(0,y.isString)(r.fill)?s.modifyAlpha(r.fill,1):S.A.color.neutral99}),(0,d.Mx)(t,i),(0,d.Lm)(t,null,null,i.get(["emphasis","disabled"])),(0,b.z)(t).dataModel=e}),A(g).data=v,g.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(g.A);function L(t){t.registerComponentModel(a),t.registerComponentView(O),t.registerPreprocessor(function(t){(0,i.A)(t.series,"markArea")&&(t.markArea=t.markArea||{})})}},x8(t,e,n){n.d(e,{a:()=>M});var i=n("Fn"),r=n("i4"),o=n("dT"),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(o.A),s=n("oo"),l=n("MB"),u=n("ZrG"),c=n("mI"),h=n("Sa"),p=n("pE"),d=n("mR"),f=n("FL"),g=n("iY"),y=n("xN"),v=n("N1e"),m=(0,y.$r)(),_=function(t,e,n,i){var r,o=t.getData();if((0,g.isArray)(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=(0,g.retrieve)(i.yAxis,i.xAxis);else{var c=u.Yc(i,o,e,t);s=c.valueAxis;var h=(0,p.me)(o,c.valueDataDim);l=u.vz(o,h,a)}var d=+("x"!==s.dim),f=1-d,y=(0,g.clone)(i),v={coord:[]};y.type=null,y.coord=[],y.coord[f]=-1/0,v.coord[f]=1/0;var m=n.get("precision");m>=0&&(0,g.isNumber)(l)&&(l=+l.toFixed(Math.min(m,20))),y.coord[d]=v.coord[d]=l,r=[y,v,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var _=[u.xx(t,r[0]),u.xx(t,r[1]),(0,g.extend)({},r[2])];return _[2].type=_[2].type||null,(0,g.merge)(_[2],_[0]),(0,g.merge)(_[2],_[1]),_};function x(t){return!isNaN(t)&&!isFinite(t)}function b(t,e,n,i){var r=1-t,o=i.dimensions[t];return x(e[r])&&x(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function w(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(b(1,n,i,t)||b(0,n,i,t)))return!0}return u.Lq(t,e[0])&&u.Lq(t,e[1])}function S(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),u=l.lo(s.get("x"),r.getWidth()),c=l.lo(s.get("y"),r.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,p=t.get(h[0],e),f=t.get(h[1],e);o=a.dataToPoint([p,f])}if((0,d.g)(a,"cartesian2d")){var g=a.getAxis("x"),y=a.getAxis("y"),h=a.dimensions;x(t.get(h[0],e))?o[0]=g.toGlobalCoord(g.getExtent()[+!n]):x(t.get(h[1],e))&&(o[1]=y.toGlobalCoord(y.getExtent()[+!n]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];t.setItemLayout(e,o)}var A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=o.A.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=m(e).from,a=m(e).to;r.each(function(e){S(r,e,!0,t,n),S(a,e,!1,t,n)}),i.each(function(t){i.setItemLayout(t,[r.getItemLayout(t),a.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,e,n,i){var r,o,a,l,h,p,d,y,x,b=t.coordinateSystem,A=t.id,M=t.getData(),T=this.markerGroupMap,C=T.get(A)||T.set(A,new c.A);this.group.add(C.group);var k=(r=b,o=t,a=e,l=r?(0,g.map)(r&&r.dimensions,function(t){var e=o.getData(),n=e.getDimensionInfo(e.mapDimension(t))||{};return(0,g.extend)((0,g.extend)({},n),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}],h=new s.A(l,a),p=new s.A(l,a),d=new s.A([],a),y=(0,g.map)(a.get("data"),(0,g.curry)(_,o,r,a)),r&&(y=(0,g.filter)(y,(0,g.curry)(w,r))),x=u.fY(!!r,l),h.initData((0,g.map)(y,function(t){return t[0]}),null,x),p.initData((0,g.map)(y,function(t){return t[1]}),null,x),d.initData((0,g.map)(y,function(t){return t[2]})),d.hasItemOption=!0,{from:h,to:p,line:d}),I=k.from,D=k.to,O=k.line;m(e).from=I,m(e).to=D,e.setData(O);var L=e.get("symbol"),P=e.get("symbolSize"),R=e.get("symbolRotate"),B=e.get("symbolOffset");function z(e,n,r){var o=e.getItemModel(n);S(e,n,r,t,i);var a=o.getModel("itemStyle").getItemStyle();null==a.fill&&(a.fill=(0,v.rI)(M,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:(0,g.retrieve2)(o.get("symbolOffset",!0),B[+!r]),symbolRotate:(0,g.retrieve2)(o.get("symbolRotate",!0),R[+!r]),symbolSize:(0,g.retrieve2)(o.get("symbolSize"),P[+!r]),symbol:(0,g.retrieve2)(o.get("symbol",!0),L[+!r]),style:a})}(0,g.isArray)(L)||(L=[L,L]),(0,g.isArray)(P)||(P=[P,P]),(0,g.isArray)(R)||(R=[R,R]),(0,g.isArray)(B)||(B=[B,B]),k.from.each(function(t){z(I,t,!0),z(D,t,!1)}),O.each(function(t){var e=O.getItemModel(t),n=e.getModel("lineStyle").getLineStyle();O.setItemLayout(t,[I.getItemLayout(t),D.getItemLayout(t)]);var i=e.get("z2");null==n.stroke&&(n.stroke=I.getItemVisual(t,"style").fill),O.setItemVisual(t,{z2:(0,g.retrieve2)(i,0),fromSymbolKeepAspect:I.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:I.getItemVisual(t,"symbolOffset"),fromSymbolRotate:I.getItemVisual(t,"symbolRotate"),fromSymbolSize:I.getItemVisual(t,"symbolSize"),fromSymbol:I.getItemVisual(t,"symbol"),toSymbolKeepAspect:D.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:D.getItemVisual(t,"symbolOffset"),toSymbolRotate:D.getItemVisual(t,"symbolRotate"),toSymbolSize:D.getItemVisual(t,"symbolSize"),toSymbol:D.getItemVisual(t,"symbol"),style:n})}),C.updateData(O),k.line.eachItemGraphicEl(function(t){(0,f.z)(t).dataModel=e,t.traverse(function(t){(0,f.z)(t).dataModel=e})}),this.markKeep(C),C.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(h.A);function M(t){t.registerComponentModel(a),t.registerComponentView(A),t.registerPreprocessor(function(t){(0,i.A)(t.series,"markLine")&&(t.markLine=t.markLine||{})})}},fA(t,e,n){n.d(e,{a:()=>v});var i=n("Fn"),r=n("i4"),o=n("dT"),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(o.A),s=n("Hp"),l=n("MB"),u=n("oo"),c=n("ZrG"),h=n("Sa"),p=n("iY"),d=n("FL"),f=n("N1e");function g(t,e,n){var i=e.coordinateSystem,r=n.getWidth(),o=n.getHeight(),a=i&&i.getArea&&i.getArea();t.each(function(n){var s,u=t.getItemModel(n),c="coordinate"===u.get("relativeTo"),h=c?a?a.width:0:r,p=c?a?a.height:0:o,d=c&&a?a.x:0,f=c&&a?a.y:0,g=l.lo(u.get("x"),h)+d,y=l.lo(u.get("y"),p)+f;if(isNaN(g)||isNaN(y)){if(e.getMarkerPosition)s=e.getMarkerPosition(t.getValues(t.dimensions,n));else if(i){var v=t.get(i.dimensions[0],n),m=t.get(i.dimensions[1],n);s=i.dataToPoint([v,m])}}else s=[g,y];isNaN(g)||(s[0]=g),isNaN(y)||(s[1]=y),t.setItemLayout(n,s)})}var y=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=o.A.getMarkerModelFromSeries(t,"markPoint");e&&(g(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())},this)},e.prototype.renderSeries=function(t,e,n,i){var r,o,a,l,h,y,v,m=t.coordinateSystem,_=t.id,x=t.getData(),b=this.markerGroupMap,w=b.get(_)||b.set(_,new s.A),S=(r=m,o=t,a=e,l=r?(0,p.map)(r&&r.dimensions,function(t){var e=o.getData(),n=e.getDimensionInfo(e.mapDimension(t))||{};return(0,p.extend)((0,p.extend)({},n),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}],h=new u.A(l,a),y=(0,p.map)(a.get("data"),(0,p.curry)(c.xx,o)),r&&(y=(0,p.filter)(y,(0,p.curry)(c.Lq,r))),v=c.fY(!!r,l),h.initData(y,null,v),h);e.setData(S),g(e.getData(),t,i),S.each(function(t){var n=S.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),a=n.getShallow("symbolOffset"),s=n.getShallow("symbolKeepAspect");if((0,p.isFunction)(i)||(0,p.isFunction)(r)||(0,p.isFunction)(o)||(0,p.isFunction)(a)){var l=e.getRawValue(t),u=e.getDataParams(t);(0,p.isFunction)(i)&&(i=i(l,u)),(0,p.isFunction)(r)&&(r=r(l,u)),(0,p.isFunction)(o)&&(o=o(l,u)),(0,p.isFunction)(a)&&(a=a(l,u))}var c=n.getModel("itemStyle").getItemStyle(),h=n.get("z2"),d=(0,f.rI)(x,"color");c.fill||(c.fill=d),S.setItemVisual(t,{z2:(0,p.retrieve2)(h,0),symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:a,symbolKeepAspect:s,style:c})}),w.updateData(S),this.group.add(w.group),S.eachItemGraphicEl(function(t){t.traverse(function(t){(0,d.z)(t).dataModel=e})}),this.markKeep(w),w.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(h.A);function v(t){t.registerComponentModel(a),t.registerComponentView(y),t.registerPreprocessor(function(t){(0,i.A)(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}},ZrG(t,e,n){var i=n("MB"),r=n("pE"),o=n("iY"),a=n("Fy4");function s(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function l(t,e,n,o,a,s,l){var u=[],c=(0,r.sJ)(e,a)?e.getCalculationInfo("stackResultDimension"):a,p=h(e,c,t),d=e.hostModel.indicesOfNearest(n,c,p)[0];u[s]=e.get(o,d),u[l]=e.get(c,d);var f=e.get(a,d),g=i.XV(e.get(a,d));return(g=Math.min(g,20))>=0&&(u[l]=+u[l].toFixed(g)),[u,f]}var u={min:(0,o.curry)(l,"min"),max:(0,o.curry)(l,"max"),average:(0,o.curry)(l,"average"),median:(0,o.curry)(l,"median")};function c(t,e,n,i){var r,o,a,s={};return null!=t.valueIndex||null!=t.valueDim?(s.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,s.valueAxis=n.getAxis((r=i,o=s.valueDataDim,(a=r.getData().getDimensionInfo(o))&&a.coordDim)),s.baseAxis=n.getOtherAxis(s.valueAxis),s.baseDataDim=e.mapDimension(s.baseAxis.dim)):(s.baseAxis=i.getBaseAxis(),s.valueAxis=n.getOtherAxis(s.baseAxis),s.baseDataDim=e.mapDimension(s.baseAxis.dim),s.valueDataDim=e.mapDimension(s.valueAxis.dim)),s}function h(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,function(t,e){!isNaN(t)&&(i+=t,r++)}),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)[+("max"===n)]}n.d(e,{},{Lq:function(t,e){return!t||!t.containData||!e.coord||!!s(e)||t.containData(e.coord)},PN:function(t,e,n){return!t||!t.containZone||!e.coord||!n.coord||!!s(e)||!!s(n)||t.containZone(e.coord,n.coord)},Yc:c,fY:function(t,e){return t?function(t,n,i,r){var o=r<2?t.coord&&t.coord[r]:t.value;return(0,a.Pn)(o,e[r])}:function(t,n,i,r){return(0,a.Pn)(t.value,e[r])}},vz:h,xx:function(t,e){if(e){var n,i=t.getData(),r=t.coordinateSystem,a=r&&r.dimensions;if(!(!isNaN(parseFloat((n=e).x))&&!isNaN(parseFloat(n.y)))&&!(0,o.isArray)(e.coord)&&(0,o.isArray)(a)){var s=c(e,i,r,t);if((e=(0,o.clone)(e)).type&&u[e.type]&&s.baseAxis&&s.valueAxis){var l=(0,o.indexOf)(a,s.baseAxis.dim),p=(0,o.indexOf)(a,s.valueAxis.dim),d=u[e.type](i,s.valueAxis.dim,s.baseDataDim,s.valueDataDim,l,p);e.coord=d[0],e.value=d[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&(0,o.isArray)(a))for(var f=e.coord,g=0;g<2;g++)u[f[g]]&&(f[g]=h(i,i.mapDimension(a[g]),f[g]));else{e.coord=[];var y=t.getBaseAxis();if(y&&e.type&&u[e.type]){var v=r.getOtherAxis(y);v&&(e.value=h(i,i.mapDimension(v.dim),e.type))}}return e}}})},rQ5(t,e,n){var i=n("i4"),r=n("iY"),o=n("s2"),a=n("Vb"),s=n("FL"),l=n("F4"),u=n("db"),c=n("wv"),h=n("BP"),p=n("s7"),d=n("g8w"),f=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,i.C6)(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:"center",top:d.A.size.m,backgroundColor:d.A.color.transparent,borderColor:d.A.color.primary,borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:d.A.color.primary},subtextStyle:{fontSize:12,color:d.A.color.quaternary}},e}(c.A),g=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,c=t.getModel("textStyle"),h=t.getModel("subtextStyle"),d=t.get("textAlign"),f=r.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),g=new o.Ay({style:(0,l.VB)(c,{text:t.get("text"),fill:c.getTextColor()},{disableBox:!0}),z2:10}),y=g.getBoundingRect(),v=t.get("subtext"),m=new o.Ay({style:(0,l.VB)(h,{text:v,fill:h.getTextColor(),y:y.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),_=t.get("link"),x=t.get("sublink"),b=t.get("triggerEvent",!0);g.silent=!_&&!b,m.silent=!x&&!b,_&&g.on("click",function(){(0,p.JW)(_,"_"+t.get("target"))}),x&&m.on("click",function(){(0,p.JW)(x,"_"+t.get("subtarget"))}),(0,s.z)(g).eventData=(0,s.z)(m).eventData=b?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(g),v&&i.add(m);var w=i.getBoundingRect(),S=t.getBoxLayoutParams();S.width=w.width,S.height=w.height;var A=(0,u.Lj)(t,n),M=(0,u.dV)(S,A.refContainer,t.get("padding"));d||("middle"===(d=t.get("left")||t.get("right"))&&(d="center"),"right"===d?M.x+=M.width:"center"===d&&(M.x+=M.width/2)),f||("center"===(f=t.get("top")||t.get("bottom"))&&(f="middle"),"bottom"===f?M.y+=M.height:"middle"===f&&(M.y+=M.height/2),f=f||"top"),i.x=M.x,i.y=M.y,i.markRedraw();var T={align:d,verticalAlign:f};g.setStyle(T),m.setStyle(T),w=i.getBoundingRect();var C=M.margin,k=t.getItemStyle(["color","opacity"]);k.fill=t.get("backgroundColor");var I=new a.A({shape:{x:w.x-C[3],y:w.y-C[0],width:w.width+C[1]+C[3],height:w.height+C[0]+C[2],r:t.get("borderRadius")},style:k,subPixelOptimize:!0,silent:!0});i.add(I)}},e.type="title",e}(h.A);n.d(e,{},{a:function(t){t.registerComponentModel(f),t.registerComponentView(g)}})},rA(t,e,n){var i={};n.d(e,{},{M_:function(t,e){i[t]=e},Ms:function(){},x$:function(t){return i[t]}})},j1(t,e,n){n.d(e,{a:()=>tn});var i=n("xNS"),r=n("i4"),o=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.type="dataZoom.select",e}(n("Vk").A),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.type="dataZoom.select",e}(n("XV").A),s=n("jb");function l(t){t.registerComponentModel(o),t.registerComponentView(a),(0,s.A)(t)}var u=n("rA"),c=n("wv"),h=n("g8w"),p=n("iY"),d=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.init=function(e,n,i){var r=i.getTheme().get("toolbox"),o=r?r.feature:null;o&&(this._themeFeatureOption=(0,p.extend)({},o),r.feature={}),t.prototype.init.call(this,e,n,i),o&&(r.feature=o)},e.prototype.optionUpdated=function(){(0,p.each)(this.option.feature,function(t,e){var n=this._themeFeatureOption,i=u.x$(e);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(this.ecModel)),n&&n[e]&&((0,p.merge)(t,n[e]),n[e]=null),(0,p.merge)(t,i.defaultOption))},this)},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:h.A.color.border,borderRadius:0,borderWidth:0,padding:h.A.size.m,itemSize:15,itemGap:h.A.size.s,showTitle:!0,iconStyle:{borderColor:h.A.color.accent50,color:"none"},emphasis:{iconStyle:{borderColor:h.A.color.accent70}},tooltip:{show:!1,position:"bottom"}},e}(c.A),f=n("KO"),g=n("uf"),y=n("LP"),v=n("Sk"),m=n("YQ"),_=n("HS"),x=n("BP"),b=n("Af"),w=n("s2"),S=n("F4"),A=n("db"),M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features=(0,p.createHashMap)()),c=[];(0,p.each)(s,function(t,e){c.push(e)}),new m.A(this._featureNames||[],c).add(k).update(k).remove((0,p.curry)(k,null)).execute(),this._featureNames=(0,p.filter)(c,function(t){return l.hasKey(t)});var d=(0,A.Lj)(t,n).refContainer,x=t.getBoxLayoutParams(),M=t.get("padding"),C=(0,A.dV)(x,d,M);(0,A.aP)(t.get("orient"),r,t.get("itemGap"),C.width,C.height),(0,A.m$)(r,x,d,M),r.add(_.P(r.getBoundingRect(),t)),a||r.eachChild(function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!(0,p.isFunction)(l)&&e){var u=l.style||(l.style={}),c=f.NO(e,w.Ay.makeFont(u)),h=t.x+r.x,d=t.y+r.y+o,g=!1;d+c.height>n.getHeight()&&(a.position="top",g=!0);var y=g?-5-c.height:o+10;h+c.width/2>n.getWidth()?(a.position=["100%",y],u.align="right"):h-c.width/2<0&&(a.position=[0,y],u.align="left")}})}function k(d,f){var m,_,x,A,M,C,k,I,D,O,L,P=null!=d&&null==f,R=null!=d&&null!=f,B=P||R?c[d]:c[f],z=s[B],N=P||R?new v.A(z,t,e):null,E=N&&N.get("show");if(P){if(!E)return;if(0===B.indexOf("my"))L={onclick:N.option.onclick,featureName:B};else{var V=(0,u.x$)(B);if(!V)return;L=new V}l.set(B,L)}else L=l.get(B);if(null==d||!E){T(L)&&L.dispose&&L.dispose(e,n),l.removeKey(B);return}i&&null!=i.newTitle&&i.featureName===B&&(z.title=i.newTitle),P&&(L.uid=(0,b.$Q)("toolbox-feature")),L.model=N,L.ecModel=e,L.api=n,m=N,_=L,x=B,C=m.getModel("iconStyle"),k=m.getModel(["emphasis","iconStyle"]),I=_ instanceof u.Ms&&_.getIcons?_.getIcons():m.get("icon"),D=m.get("title")||{},(0,p.isString)(I)?(A={})[x]=I:A=I,(0,p.isString)(D)?(M={})[x]=D:M=D,O=m.iconPaths={},(0,p.each)(A,function(i,s){var l=g.createIcon(i,{},{x:-o/2,y:-o/2,width:o,height:o});l.setStyle(C.getItemStyle()),l.ensureState("emphasis").style=k.getItemStyle();var u=new w.Ay({style:{text:M[s],align:k.get("textAlign"),borderRadius:k.get("textBorderRadius"),padding:k.get("textPadding"),fill:null,font:(0,S.c8)({fontStyle:k.get("textFontStyle"),fontFamily:k.get("textFontFamily"),fontSize:k.get("textFontSize"),fontWeight:k.get("textFontWeight")},e)},ignore:!0});l.setTextContent(u),g.setTooltipConfig({el:l,componentModel:t,itemName:s,formatterParamsExtra:{title:M[s]}}),l.__title=M[s],l.on("mouseover",function(){var e=k.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";u.setStyle({fill:k.get("textFill")||e.fill||e.stroke||h.A.color.neutral99,backgroundColor:k.get("textBackgroundColor")}),l.setTextConfig({position:k.get("textPosition")||i}),u.ignore=!t.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==m.get(["iconStatus",s])&&n.leaveEmphasis(this),u.hide()}),("emphasis"===m.get(["iconStatus",s])?y.HY:y.SD)(l),r.add(l),l.on("click",(0,p.bind)(_.onclick,_,e,n,s)),O[s]=l}),N.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?y.HY:y.SD)(i[t])},T(L)&&L.render&&L.render(N,e,n,i)}},e.prototype.updateView=function(t,e,n,i){(0,p.each)(this._features,function(t){t&&t instanceof u.Ms&&t.updateView&&t.updateView(t.model,e,n,i)})},e.prototype.dispose=function(t,e){(0,p.each)(this._features,function(n){n&&n instanceof u.Ms&&n.dispose&&n.dispose(t,e)})},e.type="toolbox",e}(x.A);function T(t){return t instanceof u.Ms}var C=n("E3"),k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||h.A.color.neutral00,connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=C.A.browser;if("function"!=typeof MouseEvent||!s.newEdge&&(s.ie||s.edge))if(window.navigator.msSaveOrOpenBlob||r){var l=a.split(","),u=l[0].indexOf("base64")>-1,c=r?decodeURIComponent(l[1]):l[1];u&&(c=window.atob(c));var p=i+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var d=c.length,f=new Uint8Array(d);d--;)f[d]=c.charCodeAt(d);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,p)}else{var y=document.createElement("iframe");document.body.appendChild(y);var v=y.contentWindow,m=v.document;m.open("image/svg+xml","replace"),m.write(c),m.close(),v.focus(),m.execCommand("SaveAs",!0,p),document.body.removeChild(y)}}else{var _=n.get("lang"),x='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(_&&_[0]||"")+'" /></body>',b=window.open();b.document.write(x),b.document.title=i}else{var w=document.createElement("a");w.download=i+"."+o,w.target="_blank",w.href=a;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:h.A.color.neutral00,name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(u.Ms),I=n("Hr"),D=n("xN"),O="__ec_magicType_stack__",L=[["line","bar"],["stack"]],P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return p.each(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i,r=this.model,o=r.get(["seriesIndex",n]);if(R[n]){var a={series:[]};p.each(L,function(t){p.indexOf(t,n)>=0&&p.each(t,function(t){r.setIconStatus(t,"normal")})}),r.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},function(t){var e=t.subType,i=t.id,o=R[n](e,i,t,r);o&&(p.defaults(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",c=t.getReferringComponents(u,D.US).models[0].componentIndex;a[u]=a[u]||[];for(var h=0;h<=c;h++)a[u][c]=a[u][c]||{};a[u][c].boundaryGap="bar"===n}}});var s=n;"stack"===n&&(i=p.merge({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:i,featureName:"magicType"})}},e}(u.Ms),R={line:function(t,e,n,i){if("bar"===t)return p.merge({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return p.merge({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===O;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),p.merge({id:e,stack:r?"":O},i.get(["option","stack"])||{},!0)}};I.OH({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)});var B=n("lX"),z=n("sT"),N=Array(60).join("-");function E(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var V=RegExp("[ ]+","g"),F=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.onclick=function(t,e){setTimeout(function(){e.dispatchAction({type:"hideTip"})});var n,i,r,o,a,s,l,u=e.getDom(),c=this.model;this._dom&&u.removeChild(this._dom);var d=document.createElement("div");d.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",d.style.backgroundColor=c.get("backgroundColor")||h.A.color.neutral00;var f=document.createElement("h4"),g=c.get("lang")||[];f.innerHTML=g[0]||c.get("title"),f.style.cssText="margin:10px 20px",f.style.color=c.get("textColor");var y=document.createElement("div"),v=document.createElement("textarea");y.style.cssText="overflow:auto";var m=c.get("optionToContent"),_=c.get("contentToOption"),x=(l=(n={},i=[],r=[],t.eachRawSeries(function(t){var e=t.coordinateSystem;if(e&&("cartesian2d"===e.type||"polar"===e.type)){var o=e.getBaseAxis();if("category"===o.type){var a=(0,z.bJ)(o);n[a]||(n[a]={categoryAxis:o,valueAxis:e.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),n[a].series.push(t)}else i.push(t)}else i.push(t)}),{seriesGroupByCategoryAxis:n,other:i,meta:r}),{value:p.filter([(o=l.seriesGroupByCategoryAxis,a=[],p.each(o,function(t,e){var n=t.categoryAxis,i=t.valueAxis.dim,r=[" "].concat(p.map(t.series,function(t){return t.name})),o=[n.model.getCategories()];p.each(t.series,function(t){var e=t.getRawData();o.push(t.getRawData().mapArray(e.mapDimension(i),function(t){return t}))});for(var s=[r.join(" ")],l=0;l<o[0].length;l++){for(var u=[],c=0;c<o.length;c++)u.push(o[c][l]);s.push(u.join(" "))}a.push(s.join("\n"))}),a.join("\n\n"+N+"\n\n")),(s=l.other,p.map(s,function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a<t-1;a++)i[a]=arguments[a];n.push((o?o+" ":"")+i.join(" "))}),n.join("\n")}).join("\n\n"+N+"\n\n"))],function(t){return!!t.replace(/[\n\t\s]/g,"")}).join("\n\n"+N+"\n\n"),meta:l.meta});if(p.isFunction(m)){var b=m(e.getOption());p.isString(b)?y.innerHTML=b:p.isDom(b)&&y.appendChild(b)}else{v.readOnly=c.get("readOnly");var w=v.style;w.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",w.color=c.get("textColor"),w.borderColor=c.get("textareaBorderColor"),w.backgroundColor=c.get("textareaColor"),v.value=x.value,y.appendChild(v)}var S=x.meta,A=document.createElement("div");A.style.cssText="position:absolute;bottom:5px;left:0;right:0";var M="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",T=document.createElement("div"),C=document.createElement("div");M+=";background-color:"+c.get("buttonColor")+";color:"+c.get("buttonTextColor");var k=this;function I(){u.removeChild(d),k._dom=null}(0,B.q2)(T,"click",I),(0,B.q2)(C,"click",function(){var t,n,i,r;if(null==_&&null!=m||null!=_&&null==m)return void I();try{p.isFunction(_)?t=_(y,e.getOption()):(n=v.value,i=n.split(RegExp("\n*"+N+"\n*","g")),r={series:[]},p.each(i,function(t,e){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(" ")>=0)return!0}(t)){var n=function(t){for(var e=t.split(/\n+/g),n=E(e.shift()).split(V),i=[],r=p.map(n,function(t){return{name:t,data:[]}}),o=0;o<e.length;o++){var a=E(e[o]).split(V);i.push(a.shift());for(var s=0;s<a.length;s++)r[s]&&(r[s].data[o]=a[s])}return{series:r,categories:i}}(t),i=S[e],o=i.axisDim+"Axis";i&&(r[o]=r[o]||[],r[o][i.axisIndex]={data:n.categories},r.series=r.series.concat(n.series))}else{var n=function(t){for(var e=t.split(/\n+/g),n=E(e.shift()),i=[],r=0;r<e.length;r++){var o=E(e[r]);if(o){var a=o.split(V),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}(t);r.series.push(n)}}),t=r)}catch(t){throw I(),Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),I()}),T.innerHTML=g[1],C.innerHTML=g[2],C.style.cssText=T.style.cssText=M,c.get("readOnly")||A.appendChild(C),A.appendChild(T),d.appendChild(f),d.appendChild(y),d.appendChild(A),y.style.height=u.clientHeight-80+"px",u.appendChild(d),this._dom=d},e.prototype.dispose=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.getDefaultOption=function(t){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:h.A.color.background,textColor:h.A.color.primary,textareaColor:h.A.color.background,textareaBorderColor:h.A.color.border,buttonColor:h.A.color.accent50,buttonTextColor:h.A.color.neutral00}},e}(u.Ms);I.OH({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var n=[];p.each(t.newOption.series,function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r,o=i.get("data");n.push({name:t.name,data:(r=t.data,p.map(r,function(t,e){var n=o&&o[e];if(!p.isObject(n)||p.isArray(n))return t;p.isObject(t)&&!p.isArray(t)||(t={value:t});var i=null!=n.name&&null==t.name;return t=p.defaults(t,n),i&&delete t.name,t}))})}else n.push(p.extend({type:"scatter"},t))}),e.mergeOption(p.defaults({series:n},t.newOption))});var Y=p.each,H=(0,D.$r)();function W(t){var e=H(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var G=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.onclick=function(t,e){H(t).snapshots=null,e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(u.Ms);I.OH({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var Z=n("Y8b"),U=n("mh"),X=n("bx"),j=n("PG"),q=n("MB"),$=p.each,Q=(0,D.S_)("toolbox-dataZoom_"),J={x:"width",y:"height"},K=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.render=function(t,e,n,i){var r,o,a,s,l,u,c,h,d;this._brushController||(this._brushController=new Z.A(n.getZr()),this._brushController.on("brush",p.bind(this._onBrush,this)).mount()),r=t,o=e,a=this,s=i,l=n,u=a._isZoomActive,s&&"takeGlobalCursor"===s.type&&(u="dataZoomSelect"===s.key&&s.dataZoomSelectActive),a._isZoomActive=u,r.setIconStatus("zoom",u?"emphasis":"normal"),c=new U.A(te(r),o,{include:["grid"]}).makePanelOpts(l,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}),a._brushController.setPanels(c).enableBrush(!!u&&!!c.length&&{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}),h=t,d=e,h.setIconStatus("back",W(d).length>1?"emphasis":"normal")},e.prototype.onclick=function(t,e,n){tt[n].call(this)},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n,i,r,o={},a=this.ecModel;this._brushController.updateCovers([]),new U.A(te(this.model),a,{include:["grid"]}).matchOutputRanges(e,a,function(t,e,n){if("cartesian2d"===n.type){var i=n.master.getRect().clone(),r=t.brushType;"rect"===r?(s("x",n,i,e[0]),s("y",n,i,e[1])):s({lineX:"x",lineY:"y"}[r],n,i,e)}}),n=a,i=o,r=W(n),Y(i,function(t,e){for(var i=r.length-1;i>=0&&!r[i][e];i--);if(i<0){var o=n.queryComponents({mainType:"dataZoom",subType:"select",id:e})[0];if(o){var a=o.getPercentRange();r[0][e]={dataZoomId:e,start:a[0],end:a[1]}}}}),r.push(i),this._dispatchZoomAction(o)}function s(t,e,n,i){var r,s,l,u=e.getAxis(t),c=u.model,h=(r=t,s=c,a.eachComponent({mainType:"dataZoom",subType:"select"},function(t){t.getAxisModel(r,s.componentIndex)&&(l=t)}),l),p=h.findRepresentativeAxisProxy(c).getMinMaxSpan(),d=u.scale.getExtent();(null!=p.minValueSpan||null!=p.maxValueSpan)&&(i=(0,X.A)(0,i.slice(),d,0,p.minValueSpan,p.maxValueSpan));var f=(0,q.EO)(d,n[J[t]],.5);h&&(o[h.id]={dataZoomId:h.id,startValue:isFinite(f)?(0,q.LI)(i[0],f):i[0],endValue:isFinite(f)?(0,q.LI)(i[1],f):i[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];$(t,function(t,n){e.push(p.clone(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:h.A.color.backgroundTint}}},e}(u.Ms),tt={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){var t,e,n;this._dispatchZoomAction((e=(t=W(this.ecModel))[t.length-1],t.length>1&&t.pop(),n={},Y(e,function(e,i){for(var r=t.length-1;r>=0;r--)if(e=t[r][i]){n[i]=e;break}}),n))}};function te(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function tn(t){t.registerComponentModel(d),t.registerComponentView(M),(0,u.M_)("saveAsImage",k),(0,u.M_)("magicType",P),(0,u.M_)("dataView",F),(0,u.M_)("dataZoom",K),(0,u.M_)("restore",G),(0,i.Y)(l)}(0,j.S)("dataZoom",function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=te(i),a=(0,D._e)(t,o);return $(a.xAxisModels,function(t){return s(t,"xAxis","xAxisIndex")}),$(a.yAxisModels,function(t){return s(t,"yAxis","yAxisIndex")}),r}function s(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:Q+e+o};a[n]=o,r.push(a)}})},i0(t,e,n){n.d(e,{a:()=>J});var i=n("Q9"),r=n("xNS"),o=n("i4"),a=n("wv"),s=n("g8w"),l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.C6)(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click|mousewheel",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:s.A.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:s.A.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:s.A.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:s.A.color.tertiary,fontSize:14}},e}(a.A),u=n("iY"),c=n("E3"),h=n("lX"),p=n("OR"),d=n("s7");function f(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function g(t){if(c.A.domSupported){for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}}var y=g(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),v=g(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function m(t,e){if(!t)return e;e=(0,d.Cb)(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var _=n("zZ"),x=m(v,"transition"),b=m(y,"transform"),w="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(c.A.transform3dSupported?"will-change:transform;":"");function S(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!c.A.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=c.A.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+b+":"+a+";":[["top",0],["left",0],[y,a]]}function A(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&(0,p.lJ)(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var M=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,c.A.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&((0,u.isString)(r)?document.querySelector(r):(0,u.isDom)(r)?r:(0,u.isFunction)(r)&&r(t.getDom()));A(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler,n=i.painter.getViewportRoot();(0,h.e0)(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e,n,i=this._api.getDom(),r=(e="position",(n=i.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(i))?e?n[e]:n:null),o=i.style;"absolute"!==o.position&&"absolute"!==r&&(o.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this._enableDisplayTransition=t.get("displayTransition")&&t.get("transitionDuration")>0,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n,i,r,o,a,s,l,h,p,f,g,y,v,m,A,M,T,C,k,I,D,O,L,P,R=this.el,B=R.style,z=this._styleCoord;R.innerHTML?B.cssText=w+(n=!this._firstShow,i=this._longHide,r=this._enableDisplayTransition,o=[],a=t.get("transitionDuration"),s=t.get("backgroundColor"),l=t.get("shadowBlur"),h=t.get("shadowColor"),p=t.get("shadowOffsetX"),f=t.get("shadowOffsetY"),g=t.getModel("textStyle"),y=(0,_.CO)(t,"html"),v=p+"px "+f+"px "+l+"px "+h,o.push("box-shadow:"+v),n&&a>0&&o.push((m="cubic-bezier(0.23,1,0.32,1)",A="",M="",r&&(M="opacity"+(A=" "+a/2+"s "+m)+",visibility"+A),i||(A=" "+a+"s "+m,M+=(M.length?",":"")+(c.A.transformSupported?""+b+A:",left"+A+",top"+A)),x+":"+M)),s&&o.push("background-color:"+s),(0,u.each)(["width","color","radius"],function(e){var n="border-"+e,i=(0,d.Cb)(n),r=t.get(i);null!=r&&o.push(n+":"+r+("color"===e?"":"px"))}),o.push((T=[],C=g.get("fontSize"),(k=g.getTextColor())&&T.push("color:"+k),T.push("font:"+g.getFont()),I=(0,u.retrieve2)(g.get("lineHeight"),Math.round(3*C/2)),C&&T.push("line-height:"+I+"px"),D=g.get("textShadowColor"),O=g.get("textShadowBlur")||0,L=g.get("textShadowOffsetX")||0,P=g.get("textShadowOffsetY")||0,D&&O&&T.push("text-shadow:"+L+"px "+P+"px "+O+"px "+D),(0,u.each)(["decoration","align"],function(t){var e=g.get(t);e&&T.push("text-"+t+":"+e)}),T.join(";"))),null!=y&&o.push("padding:"+(0,d.QX)(y).join("px ")+"px"),o.join(";")+";")+S(z[0],z[1],!0)+"border-color:"+(0,d.he)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):B.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null==t){o.innerHTML="";return}var a="";if((0,u.isString)(r)&&"item"===n.get("trigger")&&!f(n)&&(a=function(t,e,n){if(!(0,u.isString)(n)||"inside"===n)return"";var i,r,o=t.get("backgroundColor"),a=t.get("borderWidth");e=(0,d.he)(e);var s=i="left"===(i=n)?"right":"right"===i?"left":"top"===i?"bottom":"top",l=Math.max(1.5*Math.round(a),6),c="",h=b+":";(0,u.indexOf)(["left","right"],s)>-1?(c+="top:50%",h+="translateY(-50%) rotate("+(r="left"===s?-225:-45)+"deg)"):(c+="left:50%",h+="translateX(-50%) rotate("+(r="top"===s?225:45)+"deg)");var p=r*Math.PI/180,f=l+a,g=f*Math.abs(Math.cos(p))+f*Math.abs(Math.sin(p));c+=";"+s+":-"+Math.round(((g-Math.SQRT2*a)/2+Math.SQRT2*a-(g-f)/2)*100)/100+"px";var y=e+" solid "+a+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",c+";"+h+";","border-bottom:"+y,"border-right:"+y,"background-color:"+o+";"].join("")+'"></div>'}(n,i,r)),(0,u.isString)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,u.isArray)(t)||(t=[t]);for(var s=0;s<t.length;s++)(0,u.isDom)(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},t.prototype.moveTo=function(t,e){if(this.el){var n=this._styleCoord;if(A(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=S(n[0],n[1]);(0,u.each)(r,function(t){i[t[0]]=t[1]})}}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;this._enableDisplayTransition?(e.visibility="hidden",e.opacity="0"):e.display="none",c.A.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,u.bind)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this._zr;(0,p.Yn)(t&&t.painter&&t.painter.getViewportRoot(),this._container);var e=this.el;if(e){e.onmouseenter=e.onmousemove=e.onmouseleave=null;var n=e.parentNode;n&&n.removeChild(e)}this.el=this._container=null},t}(),T=n("s2"),C=n("nXY"),k=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),O(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;u.isObject(t)&&(0,C.$8)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new T.Ay({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,_.CO)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),u.each(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=n.get(t)}),u.each(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=D(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;O(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=I(r.borderWidth||0),a=D(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(u.bind(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function I(t){return Math.max(0,t)}function D(t){var e=I(t.shadowBlur||0),n=I(t.shadowOffsetX||0),i=I(t.shadowOffsetY||0);return{left:I(e-n),right:I(e+n),top:I(e-i),bottom:I(e+i)}}function O(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var L=n("MB"),P=n("Vb"),R=n("rR"),B=n("db"),z=n("Sk"),N=n("vF3"),E=n("LC"),V=n("lD"),F=n("xN"),Y=n("BP"),H=n("MUM"),W=n("FL"),G=n("lZ"),Z=n("u1"),U=n("dd"),X=new P.A({shape:{x:-1,y:-1,width:2,height:2}}),j=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.C6)(e,t),e.prototype.init=function(t,e){if(!c.A.node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=(0,F.XJ)(n.get("renderMode"));this._tooltipContent="richText"===i?new k(e):new M(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!c.A.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,U.N)(this,"_updatePosition",50,"fixRate"):(0,U.IU)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");N.k("itemTooltip",this._api,(0,u.bind)(function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if("axis"!==t.get("trigger")&&(this._lastDataByCoordSys=null,this._cbParamsList=null),null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.isDisposed()||r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!c.A.node&&n.getDom()){var r=$(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i,r=(0,F.HB)(t).queryOptionMap,o=r.keys()[0];if(o&&"series"!==o){var a=(0,F.JO)(e,o,r.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a&&(n.getViewOfComponentModel(a).group.traverse(function(e){var n=(0,W.z)(e).tooltipConfig;if(n&&n.name===t.name)return i=e,!0}),i))return{componentMainType:o,componentIndex:a.componentIndex,el:i}}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y)X.x=i.x,X.y=i.y,X.update(),(0,W.z)(X).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:X},r);else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var l=(0,R.A)(i,e),u=l.point[0],h=l.point[1];null!=u&&null!=h&&this._tryShow({offsetX:u,offsetY:h,target:l.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,this._cbParamsList=null,i.from!==this.uid&&this._hide($(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===q([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i,r,o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(n){if("legend"===(0,W.z)(n).ssrType)return;this._lastDataByCoordSys=null,this._cbParamsList=null,(0,Z.R)(n,function(t){if(t.tooltipDisabled)return i=r=null,!0;i||r||(null!=(0,W.z)(t).dataIndex?i=t:null!=(0,W.z)(t).tooltipConfig&&(r=t))},!0),i?this._showSeriesItemTooltip(t,i,e):r?this._showComponentItemTooltip(t,r,e):this._hide(e)}else this._lastDataByCoordSys=null,this._cbParamsList=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=(0,u.bind)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=q([e.tooltipOption],i),a=this._renderMode,s=[],l=(0,_.Qx)("section",{blocks:[],noHeader:!0}),c=[],h=new _.lb;(0,u.each)(t,function(t){(0,u.each)(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value,o=e.axis,p=o.scale.parse(r);if(e&&null!=r){var f=V._F(r,o,n,t.seriesDataIndices,t.valueLabelOpt),g=(0,_.Qx)("section",{header:f,noHeader:!(0,u.trim)(f),sortBlocks:!0,blocks:[]});l.blocks.push(g),(0,u.each)(t.seriesDataIndices,function(r){var o=n.getSeriesByIndex(r.seriesIndex),l=r.dataIndexInside,y=o.getDataParams(l);if(!(y.dataIndex<0)){y.axisDim=t.axisDim,y.axisIndex=t.axisIndex,y.axisType=t.axisType,y.axisId=t.axisId,y.axisValue=E.Dt(e.axis,{value:p}),y.axisValueLabel=f,y.marker=h.makeTooltipMarker("item",(0,d.he)(y.color),a);var v=(0,G.L)(o.formatTooltip(l,!0,null)),m=v.frag;if(m){var _=q([o],i).get("valueFormatter");g.blocks.push(_?(0,u.extend)({valueFormatter:_},m):m)}v.text&&c.push(v.text),s.push(y)}})}})}),l.blocks.reverse(),c.reverse();var p=e.position,f=o.get("order"),g=(0,_.Yu)(l,h,a,f,n.get("useUTC"),o.get("textStyle"));g&&c.unshift(g);var y="richText"===a?"\n\n":"<br/>",v=c.join(y);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,p,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,v,s,Math.random()+"",r[0],r[1],p,null,h)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=(0,W.z)(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,c=r.dataType,h=s.getData(c),p=this._renderMode,f=t.positionDefault,g=q([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),y=g.get("trigger");if(null==y||"item"===y){var v=s.getDataParams(l,c),m=new _.lb;v.marker=m.makeTooltipMarker("item",(0,d.he)(v.color),p);var x=(0,G.L)(s.formatTooltip(l,!1,c)),b=g.get("order"),w=g.get("valueFormatter"),S=x.frag,A=S?(0,_.Yu)(w?(0,u.extend)({valueFormatter:w},S):S,m,p,b,i.get("useUTC"),g.get("textStyle")):x.text,M="item_"+s.name+"_"+l;this._showOrMove(g,function(){this._showTooltipContent(g,A,v,M,t.offsetX,t.offsetY,t.position,t.target,m)}),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=(0,W.z)(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if((0,u.isString)(o)){var s=o;o={content:s,formatter:s},a=!0}a&&i&&o.content&&((o=(0,u.clone)(o)).content=(0,p.Me)(o.content));var l=[o],c=this._ecModel.getComponent(r.componentMainType,r.componentIndex);c&&l.push(c),l.push({formatter:o.content});var h=t.positionDefault,d=q(l,this._tooltipModel,h?{position:h}:null),f=d.get("content"),g=Math.random()+"",y=new _.lb;this._showOrMove(d,function(){var n=(0,u.clone)(d.get("formatterParams")||{});this._showTooltipContent(d,f,n,g,t.offsetX,t.offsetY,t.position,e,y)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var p=e,f=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor"),t.get("defaultBorderColor",!0)).color;if(h)if((0,u.isString)(h)){var g=t.ecModel.get("useUTC"),y=(0,u.isArray)(n)?n[0]:n,v=y&&y.axisType&&y.axisType.indexOf("time")>=0;p=h,v&&(p=(0,H.GP)(y.axisValue,p,g)),p=(0,d.YK)(p,n,!0)}else if((0,u.isFunction)(h)){var m=(0,u.bind)(function(e,i){e===this._ticket&&(c.setContent(i,l,t,f,a),this._updatePosition(t,a,r,o,c,n,s))},this);this._ticket=i,p=h(n,i,m)}else p=h;c.setContent(p,l,t,f,a),c.show(t,f),this._updatePosition(t,a,r,o,c,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i,r){return"axis"===n||(0,u.isArray)(e)?{color:i||r}:(0,u.isArray)(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var c=r.getSize(),h=t.get("align"),p=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),(0,u.isFunction)(e)&&(e=e([n,i],o,r.el,d,{viewSize:[s,l],contentSize:c.slice()})),(0,u.isArray)(e))n=(0,L.lo)(e[0],s),i=(0,L.lo)(e[1],l);else if((0,u.isObject)(e)){var g=e;g.width=c[0],g.height=c[1];var y=(0,B.dV)(g,{width:s,height:l});n=y.x,i=y.y,h=null,p=null}else if((0,u.isString)(e)&&a){var v=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+c+a;break;case"left":s=e.x-r-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}(e,d,c,t.get("borderWidth"));n=v[0],i=v[1]}else{var m,_,x,b,w,S,A,M,T,C,v=(m=n,_=i,x=r,b=s,w=l,S=h?null:20,A=p?null:20,T=(M=x.getSize())[0],C=M[1],null!=S&&(m+T+S+2>b?m-=T+S:m+=S),null!=A&&(_+C+A>w?_-=C+A:_+=A),[m,_]);n=v[0],i=v[1]}if(h&&(n-=Q(h)?c[0]/2:"right"===h?c[0]:0),p&&(i-=Q(p)?c[1]/2:"bottom"===p?c[1]:0),f(t)){var k,I,D,O,P,R,z,N,v=(k=n,I=i,D=r,O=s,P=l,z=(R=D.getSize())[0],N=R[1],k=Math.min(k+z,O)-z,I=Math.min(I+N,P)-N,[k=Math.max(k,0),I=Math.max(I,0)]);n=v[0],i=v[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&(0,u.each)(n,function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&(0,u.each)(a,function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&(0,u.each)(a,function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&(0,u.each)(t.seriesDataIndices,function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,this._cbParamsList=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!c.A.node&&e.getDom()&&((0,U.IU)(this,"_updatePosition"),this._tooltipContent.dispose(),N.h("itemTooltip",e),this._tooltipContent=null,this._tooltipModel=null,this._lastDataByCoordSys=null,this._cbParamsList=null)},e.type="tooltip",e}(Y.A);function q(t,e,n){var i,r=e.ecModel;n?(i=new z.A(n,r,r),i=new z.A(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof z.A&&(a=a.get("tooltip",!0)),(0,u.isString)(a)&&(a={formatter:a}),a&&(i=new z.A(a,i,r)))}return i}function $(t,e){return t.dispatchAction||(0,u.bind)(e.dispatchAction,e)}function Q(t){return"center"===t||"middle"===t}function J(t){(0,r.Y)(i.a),t.registerComponentModel(l),t.registerComponentView(j),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},u.noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},u.noop)}},BJ(t,e,n){var i=n("iY"),r=n("zZ"),o=n("iL"),a=n("xN");n.d(e,{},{J:function(t){var e,n,s,l,u=t.series,c=t.dataIndex,h=t.multipleSeries,p=u.getData(),d=p.mapDimensionsAll("defaultedTooltip"),f=d.length,g=u.getRawValue(c),y=(0,i.isArray)(g),v=(0,r.aw)(u,c);if(f>1||y&&!f){var m=function(t,e,n,a,s){var l=e.getData(),u=(0,i.reduce)(t,function(t,e,n){var i=l.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName},!1),c=[],h=[],p=[];function d(t,e){var n=l.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(u?p.push((0,r.Qx)("nameValue",{markerType:"subItem",markerColor:s,name:n.displayName,value:t,valueType:n.type})):(c.push(t),h.push(n.type)))}return a.length?(0,i.each)(a,function(t){d((0,o.QE)(l,n,t),t)}):(0,i.each)(t,d),{inlineValues:c,inlineValueTypes:h,blocks:p}}(g,u,c,d,v);e=m.inlineValues,n=m.inlineValueTypes,s=m.blocks,l=m.inlineValues[0]}else if(f){var _=p.getDimensionInfo(d[0]);l=e=(0,o.QE)(p,c,d[0]),n=_.type}else l=e=y?g[0]:g;var x=(0,a.O0)(u),b=x&&u.name||"",w=p.getName(c),S=h?b:w;return(0,r.Qx)("section",{header:b,noHeader:h||!x,sortParam:l,blocks:[(0,r.Qx)("nameValue",{markerType:"item",markerColor:v,name:S,noName:!(0,i.trim)(S),value:e,valueType:n,rawDataIndex:p.getRawIndex(c)})].concat(s||[])})}})},zZ(t,e,n){var i=n("OR"),r=n("s7"),o=n("iY"),a=n("Fy4"),s=n("MB"),l=n("g8w");function u(t){var e=t.lineHeight;return null==e?"line-height:1":"line-height:"+(0,i.Me)(e+"")+"px"}function c(t,e){var n=t.color||l.A.color.tertiary,r=t.fontSize||12,o=t.fontWeight||"400",a=t.color||l.A.color.secondary,s=t.fontSize||14,u=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,i.Me)(r+"")+"px;color:"+(0,i.Me)(n)+";font-weight:"+(0,i.Me)(o+""),valueStyle:"font-size:"+(0,i.Me)(s+"")+"px;color:"+(0,i.Me)(a)+";font-weight:"+(0,i.Me)(u+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:u}}}var h=[0,10,20,30],p=["","\n","\n\n","\n\n\n"];function d(t){return"section"===t.type}function f(t,e,n,s){var l,m=e.noHeader,_={html:h[l=function t(e){if(d(e)){var n=0,i=e.blocks.length,r=i>1||i>0&&!e.noHeader;return(0,o.each)(e.blocks,function(e){var i=t(e);i>=n&&(n=i+ +(r&&(!i||d(e)&&!e.noHeader)))}),n}return 0}(e)],richText:p[l]},x=[],b=e.blocks||[];(0,o.assert)(!b||(0,o.isArray)(b)),b=b||[];var w=t.orderMode;if(e.sortBlocks&&w){b=b.slice();var S={valueAsc:"asc",valueDesc:"desc"};if((0,o.hasOwn)(S,w)){var A=new a.Fl(S[w],null);b.sort(function(t,e){return A.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===w&&b.reverse()}(0,o.each)(b,function(n,i){var r=e.valueFormatter,a=(d(n)?f:g)(r?(0,o.extend)((0,o.extend)({},t),{valueFormatter:r}):t,n,i>0?_.html:0,s);null!=a&&x.push(a)});var M="richText"===t.renderMode?x.join(_.richText):y(s,x.join(""),m?n:_.html);if(m)return M;var T=(0,r.yC)(e.header,"ordinal",t.useUTC),C=c(s,t.renderMode).nameStyle,k=u(s);return"richText"===t.renderMode?v(t,T,C)+_.richText+M:y(s,'<div style="'+C+";"+k+';">'+(0,i.Me)(T)+"</div>"+M,n)}function g(t,e,n,a){var s=t.renderMode,u=e.noName,h=e.noValue,p=!e.markerType,d=e.name,f=t.useUTC,g=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.isArray)(t)?t:[t],(0,o.map)(t,function(t,e){return(0,r.yC)(t,(0,o.isArray)(D)?D[e]:D,f)})};if(!u||!h){var m,_,x,b,w,S,A,M,T,C,k=p?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||l.A.color.secondary,s),I=u?"":(0,r.yC)(d,"ordinal",f),D=e.valueType,O=h?[]:g(e.value,e.rawDataIndex),L=!p||!u,P=!p&&u,R=c(a,s),B=R.nameStyle,z=R.valueStyle;return"richText"===s?(p?"":k)+(u?"":v(t,I,B))+(h?"":(m=t,_=O,x=L,b=P,w=[z],x&&w.push({padding:[0,0,0,b?10:20],align:"right"}),m.markupStyleCreator.wrapRichTextStyle((0,o.isArray)(_)?_.join(" "):_,w))):y(a,(p?"":k)+(u?"":(S=I,'<span style="'+B+";"+(p?"":"margin-left:2px")+'">'+(0,i.Me)(S)+"</span>"))+(h?"":(A=O,M=L,T=P,C=z,A=(0,o.isArray)(A)?A:[A],'<span style="'+(M?"float:right;margin-left:"+(T?"10px":"20px"):"")+";"+C+'">'+(0,o.map)(A,function(t){return(0,i.Me)(t)}).join("&nbsp;&nbsp;")+"</span>")),n)}}function y(t,e,n){return'<div style="margin: '+n+"px 0 0;"+u(t)+';">'+e+'<div style="clear:both"></div></div>'}function v(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}var m=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.IH)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,a=(0,r.qg)({color:e,type:t,renderMode:n,markerId:i});return(0,o.isString)(a)?a:(this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.isArray)(e)?(0,o.each)(e,function(t){return(0,o.extend)(n,t)}):(0,o.extend)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();n.d(e,{},{CO:function(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10},Qx:function(t,e){return e.type=t,e},Yu:function(t,e,n,i,r,o){if(t)return(d(t)?f:g)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)},aw:function(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,r.he)(n)},lb:m})},Ro(t,e,n){var i=n("iY"),r=n("MB"),o=n("rG"),a=n("x2"),s=n("lN"),l=n("LC"),u=[0,1];function c(t){var e=t.getExtent();if(t.onBand){var n=(e[1]-e[0])/t.scale.count()/2;e[0]+=n,e[1]-=n}return e}e.A=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(this.scale.parse(t))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this.scale;return t=n.normalize(n.parse(t)),(0,r.Cb)(t,u,c(this),e)},t.prototype.coordToData=function(t,e){var n=(0,r.Cb)(t,c(this),u,e);return this.scale.scale(n)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=(0,o.MI)(this,e,{breakTicks:t.breakTicks,pruneByBreak:t.pruneByBreak}),r=(0,i.map)(n.ticks,function(t){return{coord:this.dataToCoord((0,l.NQ)(this.scale,t)),tick:t}},this),a=function(t,e,n){var r=e.length;if(!t.onBand||n||!r)return!1;var o=(0,s.D)(t).w;if(!o)return!1;(0,i.each)(e,function(t){t.coord-=o/2});var a=t.scale.getExtent(),l=e[r-1];return l.tick.offInterval&&e.pop(),e.push({coord:l.coord+o,tick:{value:a[1]+1}}),!0}(this,r,e.get("alignWithLabel"));return(0,i.map)(r,function(t){return{coord:t.coord,tickValue:t.tick.value,onBand:a}})},t.prototype.getMinorTicksCoords=function(){if((0,a.wl)(this.scale))return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,i.map)(e,function(t){return(0,i.map)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(t){return t=t||(0,o.eP)(o.fm.determine),(0,o.vI)(this,t).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){return(0,s.D)(this,{min:1}).w},t.prototype.calculateCategoryInterval=function(t){return t=t||(0,o.eP)(o.fm.determine),(0,o.EO)(this,t)},t}()},mR(t,e,n){n.d(e,{},{L:function(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]&&!!t.getViewRect},g:function(t,e){return t.type===e}})},uc(t,e,n){var i=n("i4"),r=n("Y8"),o=n("P7"),a=n("MB"),s=n("iY"),l=n("q0"),u=n("uf"),c=n("W5"),h=n("AT"),p=n("xy"),d=function(t){function e(e,n,i){var r=t.call(this)||this;r.type="view",r.dimensions=["x","y"],r.invertY=e,r.lgCt=n,r.lgGeo=i;var a=r.trans=[];return a[0]=(0,o.Rd)(),a[1]=(0,o.Rd)(),a[2]=(0,o.Rd)(),r.mtRaw=(0,h.create)(),r.mtRawInv=(0,h.create)(),r.mtOverall=(0,h.create)(),r.mtOverallInv=(0,h.create)(),r.zoom=1,r}return(0,i.C6)(e,t),e.prototype.getBoundingRect=function(){return g(null,this)},e.prototype.getViewRect=function(){return y(null,this)},e.prototype.getRoamTransform=function(){return(0,o.Ed)(this.trans[1])},e.prototype.dataToPoint=function(t,e,n){var i=e?this.mtRaw:this.mtOverall;return n=n||[],i?(0,p.applyTransform)(n,t,i):(0,p.copy)(n,t)},e.prototype.pointToData=function(t,e,n){n=n||[];var i=this.mtOverallInv;return i?(0,p.applyTransform)(n,t,i):(0,p.copy)(n,t)},e.prototype.convertToPixel=function(t,e,n){var i=D(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=D(e);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return(0,r.iZ)(f,this.dataRect),(0,r.zQ)(f,f,this.mtOverall),(0,r.rd)(f,t[0],t[1])},e.dimensions=["x","y"],e}(o.Ay),f=(0,r.r_)();function g(t,e){return(0,r.iZ)(t||(0,r.r_)(),e.dataRect)}function y(t,e){return(0,r.iZ)(t||(0,r.r_)(),e.viewRect)}function v(t,e,n){return(0,o.IT)(t||(0,o.Rd)(),e.trans[n])}function m(t){return!!(t.dataRect&&t.viewRect)}function _(t,e,n){(0,o.Ed)(n,x),(0,h.mul)(x,x,e.mtRawInv),(0,u.decomposeTransform)(t,x)}var x=(0,h.create)();function b(t,e){t.centerOption=e.getShallow("center");var n=t.zoomLimit=e.getShallow("scaleLimit");t.zoom=V(e.getShallow("zoom")||1,n)||1,m(t)&&w(t)}function w(t){var e,n,i,s,l,c,d,f,g,y,v,m,_,x,b,w,k,I;n=(e=t).dataRect,i=e.viewRect,s=e.trans[0],(l=e.invertY)&&((n=(0,r.iZ)(A,n)).y=-n.y-n.height),(0,r.Zv)(S,n,i),(0,u.decomposeTransform)(s,S),l&&(s.scaleY=-s.scaleY),c=(0,o.Ed)(s,e.mtRaw),(0,h.invert)(e.mtRawInv,c),f=O(d=t),g=!function(t,e,n){var i=e.dataRect;if(!n)return!1;var r=e.lgCt;return r?(0,p.set)(t,(0,a.lo)(n[0],r.w),(0,a.lo)(n[1],r.h)):i&&(0,p.set)(t,(0,a.lo)(n[0],i.width,i.x),(0,a.lo)(n[1],i.height,i.y)),!0}(M,d,d.centerOption)?f:(0,p.applyTransform)(M,M,d.mtRaw),y=d.zoom,(v=d.trans[1]).x=f[0]-y*g[0],v.y=f[1]-y*g[1],v.scaleX=v.scaleY=y,x=(_=(m=t).trans)[1],b=_[0],C(w=_[2],b,x),k=(0,o.Ed)(w,m.mtOverall),I=(0,h.invert)(m.mtOverallInv,k),T(m,w,k,I),T(m.lgGeo,w,k,I)}var S=(0,h.create)(),A=(0,r.r_)(),M=[];function T(t,e,n,i){t&&((0,o.IT)(t,e),(0,h.copy)(t.transform||(t.transform=[]),n),(0,h.copy)(t.invTransform||(t.invTransform=[]),i))}function C(t,e,n){(0,o.Ed)(e,k),(0,o.Ed)(n,I),(0,h.mul)(I,I,k),(0,u.decomposeTransform)(t,I)}var k=(0,h.create)(),I=(0,h.create)();function D(t){var e=t.seriesModel;return e?e.coordinateSystem:null}function O(t){var e=t.viewRect;return L[0]=e.x+e.width/2,L[1]=e.y+e.height/2,L}var L=[],P=(0,o.Rd)(),R=(0,o.Rd)();function B(t){return t.__ownRoamView?t.__ownRoamView():null}function z(t,e,n,i){return n&&i&&i[u.WH[t]]&&(0,a.N9)(n[t])?(e[t]-i[u.XY[t]])/i[u.WH[t]]*100+"%":e[t]}var N=[];function E(t,e,n){var i=t.option;i.center=e,i.zoom=n}function V(t,e){if(e){var n=e.min||0;t=Math.max(Math.min(e.max||1/0,t),n)}return t}e.Ay=d,n.d(e,{},{$o:1,D7:g,G6:0,Nl:B,P4:v,Q3:function(t,e,n,i,o){t.dataRect=new r.Ay(e,n,i,o),m(t)&&w(t)},T$:V,X$:function(t,e,n){var i=B(e);if(i){var r=i.syncBackEl;r?(r.stopAnimation(),1===i.syncBackType?C(P,i.trans[0],r):(0,o.IT)(P,r)):(0,o.IT)(P,i.trans[2]),_(R,i,P),t?function(t,e,n,i){null!=i.dx&&null!=i.dy&&(t.x+=i.dx,t.y+=i.dy);var r=i.zoom;if(null!=r){var o=e.scaleX,a=V(o*r,n.zoomLimit)/o;t.x-=(i.originX-t.x)*(a-1),t.y-=(i.originY-t.y)*(a-1),t.scaleX*=a,t.scaleY*=a}}(P,R,i,t):(0,o.IT)(P,R),_(P,i,P),function(t,e,n,i){var r,o,l=O(t),u=i.scaleX,c=(0,a.NY)(u)>1e-6;N[0]=c?(l[0]-i.x)/u:l[0],N[1]=c?(l[1]-i.y)/u:l[1],(0,p.applyTransform)(N,N,t.mtRawInv);var h=(r=t.centerOption,o=t.dataRect,!r||t.lgCt?N.slice():[z(0,N,r,o),z(1,N,r,o)]);E(e,h,u),(0,s.each)(n,function(t){t!==e&&E(t,h.slice(),u)})}(i,e,n,P),b(i,e)}},Xj:function(t,e,n,i,o){t.viewRect=new r.Ay(e,n,i,o),m(t)&&w(t)},YP:function(t,e){var n=e.getShallow("nodeScaleRatio",!0)||1;return((t.zoom-1)*n+1)/(t.trans[2].scaleX||1)},ZD:2,_:function(t){return t.zoom},cH:y,dh:b,jR:function(t,e,n,i){n.setUpdatePayload((0,u.payloadDisableAnimation)(t));var r=(0,l.k)(i,e);r&&r.__updateOnOwnRoam&&r.__updateOnOwnRoam(t,e,i)},kx:function(t,e){return e&&t&&t.getShallow("legacyViewCoordSysCenterBase")?{w:e.getWidth(),h:e.getHeight()}:null},nT:function(t,e,n,i){n.syncBackEl=t,n.syncBackType=e,i?(0,c.oi)(t,v(null,n,e),i):(v(t,n,e),t.dirty())},rj:function(t,e){return(0,h.copy)(t||[],e.mtOverall)},yD:function(t){return t&&"view"===t.type}})},SV(t,e,n){var i=n("MB"),r=n("LC"),o=n("x2"),a=n("uP");n.d(e,{},{R:function(t,e){var n,s,l,u,c,h,p,d,f,g=t.scale,y=t.model,v=(0,a.zT)(g,y,y.ecModel,t,null),m=(0,o.F)(g),_=(0,o.F)(e)?e.intervalStub:e,x=m?g.intervalStub:g,b=g.base,w=_.getTicks(),S=_.getTicks({expandToNicedExtent:!0}),A=w.length-1;if(1===A)n=s=0,l=1;else if(2===A){var M=(0,i.NY)(w[0].value-w[1].value),T=(0,i.NY)(w[1].value-w[2].value);n=s=0,M===T?l=2:(l=1,M<T?n=M/T:s=T/M)}else{var C=_.getConfig().interval;n=(1-(w[0].value-S[0].value)/C)%1,s=(1-(S[A].value-w[A].value)/C)%1,l=A-!!n-!!s}var k=v.zoomFixMM,I=k[0]||k[1],D=[v.fixMM[0]||I,v.fixMM[1]||I],O=g.getExtent(),L=x.getExtent(),P=(0,o.Ob)(L,D);function R(t){for(var e=0;e<50&&!t();e++)h=m?h*(0,i.JB)(b,2):(0,o.kH)(h),p=(0,o.u$)(h)}function B(){u=(0,i.LI)(f-h*n,p)}function z(){c=(0,i.LI)(d+h*s,p)}function N(){f=n?(0,i.LI)(u+h*n,p):u}function E(){d=s?(0,i.LI)(c-h*s,p):c}if(D[0]&&D[1]){u=P[0],h=((c=P[1])-u)/(l+n+s);var V=t.getExtent(),F=(0,i.NY)(V[1]-V[0]);p=(0,i.EO)([c,u],F,.5/l),N(),E(),(0,i.YC)(p)&&(h=(0,i.LI)(h,p))}else{var Y=P[1]-P[0];h=m?(0,i.JB)((0,i.au)(Y),1):(0,i.Cm)(Y/l,i.Dx),p=(0,o.u$)(h),D[0]?(u=P[0],R(function(){if(N(),d=(0,i.LI)(f+h*l,p),z(),c>=P[1])return!0})):D[1]?(c=P[1],R(function(){if(E(),f=(0,i.LI)(d-h*l,p),B(),u<=P[0])return!0})):R(function(){f=(0,i.LI)((0,i.ih)(P[0]/h)*h,p),d=(0,i.LI)((0,i.Zr)(P[1]/h)*h,p);var t=(0,i.jn)((d-f)/h);if(t<=l){var e=l-t,n=void 0,r=v.incl0||m;if(r&&0===P[0])n=[0,e];else if(r&&0===P[1])n=[e,0];else{var o=(0,i.Zr)(e/2);n=e%2==0?[o,o]:u+c<P[0]+P[1]?[o,o+1]:[o+1,o]}if(f=(0,i.LI)(f-h*n[0],p),d=(0,i.LI)(d+h*n[1],p),B(),z(),u<=P[0]&&c>=P[1])return!0}})}(0,r.H1)(g,D,L,[u,c],O,{interval:h,intervalCount:l,intervalPrecision:p,niceExtent:[f,d]})}})},lN(t,e,n){var i=n("iY"),r=n("x2"),o=n("MB"),a=n("sn"),s=n("Zb");n.d(e,{},{D:function(t,e){e=e||{};var n,l,u,c,h,p,d,f,g,y,v,m,_,x={w:0/0,w2:0/0},b=t.scale,w=e.fromStat,S=e.min,A=(0,s.N2)(b);(0,o.YC)(A)||(A=0/0);var M=t.getExtent(),T=(0,o.NY)(M[1]-M[0]);return(0,r.wl)(b)?(n=x,l=t,u=A,c=T,0===(p=u+ +!!(h=l.onBand))&&(p=1),n.w=c/p,!h&&u&&c&&(n.w2=n.w*u/c)):w&&(d=x,f=t,g=A,y=T,v=w,m=!1,_=-1/0,(0,i.each)(v.key?[(0,a.C6)(f,v.key)]:(0,a.O8)(f,v.sers||[]),function(t){var e=t.liPosMinGap;null!=e&&(e>0?(e>_&&(_=e),m=!1):e===a.e2&&(m=!0))}),(0,o.YC)(g)&&g>0&&(0,o.YC)(_)?(d.w=y/g*_,d.w2=_):m&&(d.w=.8*y,d.w2=d.w*g/y)),null!=S&&(x.w=(0,o.YC)(x.w)?(0,o.JB)(S,x.w):S),x}})},q3(t,e,n){n.d(e,{},{U:{value:1,category:1,time:1,log:1}})},hj(t,e,n){var i=n("iY"),r=n("g8w"),o={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:"auto",onZeroAxisIndex:null,lineStyle:{color:r.A.color.axisLine,width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15],breakLine:!0},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12,color:r.A.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:r.A.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[r.A.color.backgroundTint,r.A.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:r.A.color.neutral00,borderColor:r.A.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},a=i.merge({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},o),s=i.merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:r.A.color.axisMinorSplitLine,width:1}}},o),l=i.merge({splitNumber:6,axisLabel:{rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},s),u=i.defaults({logBase:10},s);e.A={category:a,value:s,time:l,log:u}},LC(t,e,n){n.d(e,{M8:()=>k,f$:()=>A,J5:()=>S,n8:()=>I,Dt:()=>L,wq:()=>B,j2:()=>P,$h:()=>M,NQ:()=>F,M2:()=>Y,SS:()=>z,P5:()=>D,ry:()=>O,PP:()=>E,Qs:()=>N,PJ:()=>R,H1:()=>V});var i=n("iY"),r=n("zu"),o=n("mk"),a=n("kP"),s=n("gE"),l=n("i4"),u=n("x2"),c=n("xD"),h=n("F5"),p=n("Zb"),d=n("xN"),f=n("MB"),g=function(t){function e(n){var i=t.call(this)||this;i.type="log",i.parse=o.A.parse,i.base=n.logBase||10;var r=[],a=[],s=i._lookup={from:r,to:a};r[0]=r[1]=a[0]=a[1]=0/0,(0,p.Z0)(i,e.mapperMethods);var l=(0,c.mn)(),u=n.breakOption,h={lookup:s};return l&&l.parseAxisBreakOptionInwardTransform(u,i,{noNegative:!0},2,h),i.powStub=new o.A({breakParsed:h.original}),i.intervalStub=new o.A({breakParsed:h.transformed}),(0,p.w2)(i,i.intervalStub),i}return(0,l.C6)(e,t),e.prototype.getTicks=function(t){var e=this.base,n=this.powStub,r=(0,c.mn)(),o=this.intervalStub,a={lookup:{from:o.getExtent(),to:n.getExtent()}};return(0,i.map)(o.getTicks(t||{}),function(t){var i,o=t.value,s=(0,u.Mj)(o,e,a);if(r){var l=r.getTicksBreakOutwardTransform(this,t,(0,c.DL)(n),this._lookup);l&&(i=l.vBreak,s=l.tickVal)}return{value:s,break:i}},this)},e.prototype.getMinorTicks=function(t){return(0,h.a)(this,t,(0,c.DL)(this.powStub),this.intervalStub.getConfig().interval)},e.prototype.getLabel=function(t,e){return this.intervalStub.getLabel(t,e)},e.type="log",e.mapperMethods={needTransform:function(){return!0},normalize:function(t){return this.intervalStub.normalize((0,u.qe)(t,this.base))},scale:function(t){return(0,u.Mj)(this.intervalStub.scale(t),this.base,null)},transformIn:function(t,e){return t=(0,u.qe)(t,this.base),e&&e.depth===p.QO?t:this.intervalStub.transformIn(t,e)},transformOut:function(t,e){var n=e?e.depth:null;return y.depth=n,v.lookup=this._lookup,(0,u.Mj)(n===p.QO?t:this.intervalStub.transformOut(t,y),this.base,v)},contain:function(t){return this.powStub.contain(t)},setExtent:function(t,e){this.setExtent2(p.fU,t,e)},setExtent2:function(t,e,n){if((0,d.Xe)(e,n)&&!(e<=0)&&!(n<=0)){var i=m,r=m;if(t===p.fU){var o=this._lookup;i=o.to,r=o.from}this.powStub.setExtent2(t,i[0]=e,i[1]=n);var a=this.base;this.intervalStub.setExtent2(t,r[0]=(0,u.qe)(e,a),r[1]=(0,u.qe)(n,a))}},getFilter:function(){return{g:0}},sanitize:function(t,e){return(0,d.Xe)(e[0],e[1])&&(0,f.YC)(t)&&t<=0&&(t=e[0]),t},getDefaultStartValue:function(){return 1},getExtent:function(){return this.powStub.getExtent()},getExtentUnsafe:function(t,e){return null===e?this.powStub.getExtentUnsafe(t,null):this.intervalStub.getExtentUnsafe(t,e)}},e}(a.A);a.A.registerClass(g);var y={},v={},m=[],_=n("q3"),x=n("pE"),b=n("MUM"),w=(0,d.$r)();function S(t){var e=t.get("type");return null!=e&&(i.hasOwn(_.U,e)||a.A.getClass(e))||(e="value"),e}function A(t,e,n){var i;switch((0,c.mn)()&&(i=E(t,e,n)),e){case"category":return new r.A({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:(0,d.X1)()});case"time":return new s.A({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC"),breakOption:i});case"log":return new g({logBase:t.get("logBase"),breakOption:i});case"value":return new o.A({breakOption:i});default:return new(a.A.getClass(e)||o.A)({})}}function M(t,e,n){var i=n?(0,p.Gj)(t,null):t.getExtentUnsafe(p.fU,null),r=i[0],o=i[1];return(0,d.Xe)(r,o)?r===e||o===e?C:r<e&&o>e?T:k:k}var T=1,C=2,k=3;function I(t){w(t).noOnMyZero=!0}function D(t){return w(t).noOnMyZero}function O(t){var e=t.getLabelModel().get("formatter");if("time"===t.type){var n=(0,b._O)(e);return function(e,i){return t.scale.getFormattedLabel(e,i,n)}}if(i.isString(e))return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")};if(!i.isFunction(e))return function(e){return t.scale.getLabel(e)};if("category"===t.type)return function(n,i){return e(L(t,n),n.value-t.scale.getExtent()[0],null)};var r=(0,c.mn)();return function(n,i){var o=null;return r&&(o=r.makeAxisLabelFormatterParamBreak(o,n.break)),e(L(t,n),i,o)}}function L(t,e){var n=t.scale;return(0,u.wl)(n)?n.getLabel(e):e.value}function P(t){var e=t.get("interval");return null==e?"auto":e}function R(t){return"category"===t.type&&0===P(t.getLabelModel())}function B(t,e){var n={};return i.each(t.mapDimensionsAll(e),function(e){n[(0,x.me)(t,e)]=!0}),i.keys(n)}function z(t){return"middle"===t||"center"===t}function N(t){return t.getShallow("show")}function E(t,e,n){var i=t.get("breaks",!0);if(null!=i)return(0,c.mn)()&&n&&"category"!==e?i:void 0}function V(t,e,n,i,r,o){var a=(0,u.F)(t),s=a?t.intervalStub:t;if(s.setExtent(i[0],i[1]),a){var l=t.powStub,c={depth:p.QO},h=t.transformOut(i[0],c),d=t.transformOut(i[1],c),f=(0,u._v)(n,i);e[0]&&!f[0]&&(h=r[0]),e[1]&&!f[1]&&(d=r[1]),l.setExtent(h,d)}s.setConfig(o)}function F(t,e){return(0,u.wl)(t)?t.getRawOrdinalNumber(e.value):e.value}function Y(t,e){return(0,u.wl)(t)&&!!e.get("boundaryGap")}},cI(t,e,n){var i=function(){function t(){}return t.prototype.needIncludeZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();n.d(e,{},{L:i})},xn(t,e,n){var i=n("i4"),r=n("hj"),o=n("db"),a=n("di"),s=n("q3"),l=n("iY"),u=n("Dx");function c(t){return t.type||(t.data?"category":"value")}n.d(e,{},{A:function(t,e,n,h){(0,l.each)(s.U,function(s,p){var d=(0,l.merge)((0,l.merge)({},r.A[p],!0),h,!0),f=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+p,n}return(0,i.C6)(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,o.ad)(this),i=n?(0,o.vs)(t):{},r=e.getTheme();(0,l.merge)(t,r.get(p+"Axis")),(0,l.merge)(t,this.getDefaultOption()),t.type=c(t),n&&(0,o.YA)(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=a.A.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.prototype.updateAxisBreaks=function(t){var e=(0,u.D)();return e?e.updateModelAxisBreak(this,t):{breaks:[]}},n.type=e+"Axis."+p,n.defaultOption=d,n}(n);t.registerComponentModel(f)}),t.registerSubTypeDefaulter(e+"Axis",c)}})},cj(t,e,n){var i=n("iY"),r=n("x2"),o=n("MB"),a=n("LC"),s=n("gE"),l=n("uP"),u=n("Zb");function c(t,e){var n,i,s,l,c,h,p,d,f,g,y,v,m,_,x,b,w,S,A=(0,r.F)(t),M=A?t.intervalStub:t,T=e.fixMinMax||[],C=A?t.getExtent():null,k=M.getExtent(),I=(0,r.Ob)(k,T,e.rawExtentResult);M.setExtent(I[0],I[1]),I=M.getExtent();var D=A?(n=M,i=e,s=(0,r.Ev)(i.splitNumber,10),l=n.getExtent(),c=(0,u.t5)(n),h=(0,o.JB)((0,o.au)(c),1),s/c*h<=.5&&(h*=10),p=(0,r.u$)(h),d=[(0,o.LI)((0,o.ih)(l[0]/h)*h,p),(0,o.LI)((0,o.Zr)(l[1]/h)*h,p)],{intervalPrecision:p,interval:h,niceExtent:d}):(f=M,g=e,y=(0,r.Ev)(g.splitNumber,5),v=(0,u.t5)(f),m=g.minInterval,_=g.maxInterval,x=(0,o.Cm)(v/y,!0),null!=m&&x<m&&(x=m),null!=_&&x>_&&(x=_),b=(0,r.u$)(x),w=f.getExtent(),S=[(0,o.LI)((0,o.ih)(w[0]/x)*x,b),(0,o.LI)((0,o.Zr)(w[1]/x)*x,b)],{interval:x,intervalPrecision:b,niceExtent:S}),O=D.intervalPrecision,L=D.interval,P=e.userInterval;null!=P&&(D.interval=P,D.intervalPrecision=(0,r.u$)(P)),T[0]||(I[0]=(0,o.LI)((0,o.Zr)(I[0]/L)*L,O)),T[1]||(I[1]=(0,o.LI)((0,o.ih)(I[1]/L)*L,O)),null!=P&&(D.niceExtent=I.slice()),(0,a.H1)(t,T,k,I,C,D)}function h(t,e,n,i,o){var a=(0,l.zT)(t,e,i,n,o),s=(0,r.Qw)(t)||(0,r.oY)(t);p(t,{splitNumber:e.get("splitNumber"),fixMinMax:a.fixMM,userInterval:e.get("interval"),minInterval:s?e.get("minInterval"):null,maxInterval:s?e.get("maxInterval"):null,rawExtentResult:a}),n&&i&&(0,l.Pu)(n,t,a,i)}function p(t,e){d[t.type](t,e)}var d={interval:c,log:c,time:s.R,ordinal:i.noop};n.d(e,{},{NY:h,Z0:function(t){var e=t.scale,n=t.model,i=n.axis,r=n.ecModel;h(e,n,i,r,null)},dN:p})},sn(t,e,n){var i=n("iY"),r=n("xN"),o=n("oh"),a=(0,r.EV)(),s=(0,r.$r)(),l=(0,r.$r)();function u(t,e){var n=t.model,i=s((0,o.US)(n.ecModel)).keyed,r=i&&i.get(e);return r&&r.get(n.uid)}function c(t,e){var n=s((0,o.US)(t)).keyed;n&&n.each(function(t,n){t.each(function(t,i){e(t,n,i)})})}function h(t){return{liPosMinGap:t?t.liPosMinGap:void 0}}function p(t,e,n){if(e)for(var i=0;i<e.length;i++){var r=e[i];t.isSeriesFiltered(r)||n(r)}}function d(t){var e=l((0,o.jN)(t)),n=e.keyed||(e.keyed=(0,i.createHashMap)());c(t,function(e,r,o){var a=n.get(r)||n.set(r,(0,i.createHashMap)()),s=a.get(o)||a.set(o,{});e.metrics.liPosMinGap&&f.liPosMinGap(t,e,s)})}var f={};function g(t,e,n){return t+"|&"+(0,i.retrieve2)(e,!0)+"|&"+(n||"")}var y=(0,i.createHashMap)();n.d(e,{},{BV:function(t,e){var n=t.model,r=s((0,o.US)(n.ecModel)).keys;r&&(0,i.each)(r.get(n.uid),function(t){e(t)})},B_:p,C6:function(t,e){return h(u(t,e))},DQ:function(t,e,n){var i=s((0,o.US)(t)).keyed,r=i&&i.get(e);r&&r.each(function(t){n(t.axis)})},Lb:function(t,e,n){if(t){var r=e.ecModel,a=s((0,o.US)(r)),l=t.model.uid,u=a.axSer||(a.axSer=(0,i.createHashMap)());(u.get(l)||u.set(l,[])).push(e);var c=e.subType,h=e.getBaseAxis()===t,p=y.get(g(c,h,n))||y.get(g(c,h,null));if(p){var d=a.keyed||(a.keyed=(0,i.createHashMap)()),f=a.keys||(a.keys=(0,i.createHashMap)()),v=p.key,m=d.get(v)||d.set(v,(0,i.createHashMap)()),_=m.get(l);_||((_=m.set(l,{axis:t,sers:[],serByIdx:[]})).metrics=p.getMetrics(t),(f.get(l)||f.set(l,[])).push(v)),_.sers.push(e),_.serByIdx[e.seriesIndex]=e}}},Lc:-1,O8:function(t,e){var n=[];return c(t.model.ecModel,function(t){for(var i=0;i<e.length;i++)e[i]&&t.serByIdx[e[i].seriesIndex]&&n.push(h(t))}),n},V0:"|&",e2:-2,pd:function(t,e,n){var i=u(t,e);i&&p(t.model.ecModel,i.sers,n)},ss:function(t,e){var n=g(e.seriesType,e.baseAxis,e.coordSysType);y.set(n,e),a(t,function(){t.registerProcessor(t.PRIORITY.PROCESSOR.AXIS_STATISTICS,{overallReset:d})})},tO:function(t,e){var n=t.model.ecModel,i=s((0,o.US)(n)).axSer;i&&p(n,i.get(t.model.uid),e)},wW:function(t,e){f[t]=e},z6:function(t,e){var n=u(t,e);if(!n||!n.sers.length)return 0;var i=0;return p(t.model.ecModel,n.sers,function(){i++}),i}})},rG(t,e,n){var i=n("iY"),r=n("KO"),o=n("xN"),a=n("LC"),s=n("MB"),l=n("x2"),u=(0,o.$r)(),c=(0,o.$r)(),h={estimate:1,determine:2};function p(t){return{out:{noPxChangeTryDetermine:[]},kind:t}}function d(t,e){var n=e.getExtent(),r=[];return i.each(t,function(t){(t=e.parse(t))>=n[0]&&t<=n[1]&&r.push(t)}),(0,o.R3)(r,o.cd,null),(0,s.Y6)(r),i.map(r,function(t){return{value:t}})}function f(t,e,n){var r,o,s=y(t),l=(0,a.j2)(e),u=n.kind===h.estimate;if(!u){var p=m(s,l);if(p)return p}i.isFunction(l)?r=w(t,l,!1):(o="auto"===l?function(t,e){if(e.kind===h.estimate){var n=t.calculateCategoryInterval(e);return e.out.noPxChangeTryDetermine.push(function(){return c(t).autoInterval=n,!0}),n}var i=c(t).autoInterval;return null!=i?i:c(t).autoInterval=t.calculateCategoryInterval(e)}(t,n):l,r=w(t,o,!1));var d={labels:r,labelCategoryInterval:o};return u?n.out.noPxChangeTryDetermine.push(function(){return _(s,l,d),!0}):_(s,l,d),d}var g=v("axisTick"),y=v("axisLabel");function v(t){return function(e){return c(e)[t]||(c(e)[t]={list:[]})}}function m(t,e){for(var n=0;n<t.list.length;n++)if(t.list[n].key===e)return t.list[n].value}function _(t,e,n){return t.list.push({key:e,value:n}),n}function x(t,e,n){return null==b(t,e,n)}function b(t,e,n){var i=u(t.model),r=t.getExtent(),o=i.lastAutoInterval,a=i.lastTickCount;if(null!=o&&null!=a&&1>=Math.abs(o-e)&&1>=Math.abs(a-n)&&o>e&&i.axisExtent0===r[0]&&i.axisExtent1===r[1])return o;i.lastTickCount=n,i.lastAutoInterval=e,i.axisExtent0=r[0],i.axisExtent1=r[1]}function w(t,e,n){var r=(0,a.ry)(t),o=t.scale,s=[],u=i.isFunction(e);return(0,l.gQ)(o,u?0:e,function(t,i){var a=o.getLabel(t);if(u){var l=!!e(t.value,a);if(t.offInterval=!l,!l&&!i)return}s.push(n?t:{formattedLabel:r(t),rawLabel:a,tick:t})}),s}n.d(e,{},{EO:function(t,e){var n,o,s=e.kind,l=(o=(n=t).getLabelModel(),{axisRotate:n.getRotate?n.getRotate():n.isHorizontal&&!n.isHorizontal()?90:0,labelRotate:o.get("rotate")||0,font:o.getFont()}),u=(0,a.ry)(t),c=(l.axisRotate-l.labelRotate)/180*Math.PI,p=t.scale,d=p.getExtent(),f=p.count();if(d[1]-d[0]<1)return 0;var g=1;f>40&&(g=Math.max(1,Math.floor(f/40)));for(var y=d[0],v=t.dataToCoord(y+1)-t.dataToCoord(y),m=Math.abs(v*Math.cos(c)),_=Math.abs(v*Math.sin(c)),w=0,S=0;y<=d[1];y+=g){var A=0,M=0,T=r.NO(u({value:y}),l.font,"center","top");A=1.3*T.width,M=1.3*T.height,w=Math.max(w,A,7),S=Math.max(S,M,7)}var C=w/m,k=S/_;isNaN(C)&&(C=1/0),isNaN(k)&&(k=1/0);var I=Math.max(0,Math.floor(Math.min(C,k)));if(s===h.estimate)return e.out.noPxChangeTryDetermine.push(i.bind(x,null,t,I,f)),I;var D=b(t,I,f);return null!=D?D:I},MI:function(t,e,n){var r=t.scale,o=t.getTickModel().get("customValues");return o?{ticks:d(o,r)}:"category"===t.type?function(t,e){var n,r,o=g(t),s=(0,a.j2)(e),l=m(o,s);if(l)return l;if((!e.get("show")||t.scale.isBlank())&&(n=[]),i.isFunction(s))n=w(t,s,!0);else if("auto"===s){var u=f(t,t.getLabelModel(),p(h.determine));r=u.labelCategoryInterval,n=i.map(u.labels,function(t){return t.tick})}else n=w(t,r=s,!0);return _(o,s,{ticks:n,tickCategoryInterval:r})}(t,e):{ticks:r.getTicks(n)}},eP:p,fm:h,vI:function(t,e){var n,r,o,s,l,u,c,h=t.getLabelModel().get("customValues");if(h){var p=t.scale;return{labels:i.map(d(h,p),function(e,n){return{formattedLabel:(0,a.ry)(t)(e,n),rawLabel:p.getLabel(e),tick:e}})}}return"category"===t.type?(n=t,r=e,o=n.getLabelModel(),s=f(n,o,r),!o.get("show")||n.scale.isBlank()?{labels:[]}:s):(u=(l=t).scale.getTicks(),c=(0,a.ry)(l),{labels:i.map(u,function(t,e){return{formattedLabel:c(t,e),rawLabel:l.scale.getLabel(t),tick:t}})})}})},Yx(t,e,n){var i=n("i4");e.A=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return(0,i.C6)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t[+("x"!==this.dim)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(n("Ro").A)},u9(t,e,n){n.d(e,{A:()=>W,v:()=>V});var i,r=n("iY"),o=n("db"),a=n("LC"),s=n("i4"),l=n("Y8"),u=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return r.map(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),r.filter(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),c=n("UGL"),h=n("AT"),p=n("xy"),d=n("Zb"),f=n("xD"),g=["x","y"];function y(t){return("interval"===t.type||"time"===t.type)&&!(0,f.Bd)(t)}var v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=c.Tw,e.dimensions=g,e}return(0,s.C6)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(y(t)&&y(e)){var n=(0,d.Gj)(t,null),i=(0,d.Gj)(e,null),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,c=r[0]-n[0]*l,p=r[1]-i[0]*u,f=this._transform=[l,0,0,u,c,p];this._invTransform=(0,h.invert)([],f)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new l.Ay(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return(0,p.applyTransform)(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e,n){if(n=n||[],this._invTransform)return(0,p.applyTransform)(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new l.Ay(i,r,o,a)},e}(u),m=n("Yx"),_=n("xN"),x=n("sT"),b=n("x2"),w=n("SV"),S=n("uf"),A=n("hH"),M=n("rG"),T=n("Ww"),C=n("MB"),k=n("cj"),I=n("Od"),D=n("uP"),O=n("sn"),L=[[3,1],[0,2]],P=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=g,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){for(var e=(0,r.keys)(t),n=[],i=e.length-1;i>=0;i--){var o=t[+e[i]];o.__alignTo?n.push(o):(0,k.Z0)(o)}(0,r.each)(n,function(t){var e,n;(e=t,n=t.__alignTo,(0,f.Bd)(e.scale)||(0,f.Bd)(n.scale)||n.scale.getTicks().length<2)?(0,k.Z0)(t):(0,w.R)(t,t.__alignTo.scale)})}(0,r.each)(this._axesList,function(t){(0,D.DT)(t,D.ex);var e=t.scale;(0,b.wl)(e)&&e.setSortInfo(t.model.get("categorySortInfo"))}),i(n.x),i(n.y);var o={};(0,r.each)(n.x,function(t){R(n,"y",t,o)}),(0,r.each)(n.y,function(t){R(n,"x",t,o)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var s=(0,o.Lj)(t,e),l=this._rect=(0,o.dV)(t.getBoxLayoutParams(),s.refContainer),u=this._axesMap,h=this._coordsList,p=t.get("containLabel");if(N(u,l),!n){var d=(g=l,y=h,v=u,m=p,_=e,b=new A.ts(H),(0,r.each)(v,function(t){return(0,r.each)(t,function(t){(0,a.Qs)(t.model)&&(t.axisBuilder=(0,x.oj)(g,y,t.model,_,b,!m))})}),b),f=void 0;if(p)i?(i(this._axesList,l),N(u,l)):f=F(l.clone(),"axisLabel",null,l,u,d,s);else{var g,y,v,m,_,b,w,S,T,k,I,D,O=(w=t,S=l,T=s,"same"===(I=w.get("outerBoundsMode",!0))?k=S.clone():(null==I||"auto"===I)&&(k=(0,o.dV)(w.get("outerBounds",!0)||c.GH,T.refContainer)),{outerBoundsRect:k,parsedOuterBoundsContain:null==(D=w.get("outerBoundsContain",!0))||"auto"===D||0>(0,r.indexOf)(["all","axisLabel"],D)?"all":D,outerBoundsClamp:[(0,C.LQ)((0,r.retrieve2)(w.get("outerBoundsClampWidth",!0),c.MQ["0"]),S.width),(0,C.LQ)((0,r.retrieve2)(w.get("outerBoundsClampHeight",!0),c.MQ["1"]),S.height)]}),L=O.outerBoundsRect,P=O.parsedOuterBoundsContain,R=O.outerBoundsClamp;L&&(f=F(L,P,R,l,u,d,s))}Y(l,u,M.fm.determine,null,f,s),(0,r.each)(this._coordsList,function(t){t.calcAffineTransform()})}},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}(0,r.isObject)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,o=this._coordsList;i<o.length;i++)if(o[i].getAxis("x").index===t||o[i].getAxis("y").index===e)return o[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,o=t.xAxisModel||i&&i.getReferringComponents("xAxis",_.US).models[0],a=t.yAxisModel||i&&i.getReferringComponents("yAxis",_.US).models[0],s=t.gridModel,l=this._coordsList;return i?(e=i.coordinateSystem,0>(0,r.indexOf)(l,e)&&(e=null)):o&&a?e=this.getCartesian(o.componentIndex,a.componentIndex):o?n=this.getAxis("x",o.componentIndex):a?n=this.getAxis("y",a.componentIndex):s&&s.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,o=this,s={left:!1,right:!1,top:!1,bottom:!1},l={x:{},y:{}},u={x:0,y:0};if(e.eachComponent("xAxis",c("x"),this),e.eachComponent("yAxis",c("y"),this),!u.x||!u.y){this._axesMap={},this._axesList=[];return}function c(e){return function(n,i){var r,c;if(r=n,c=t,r.getCoordSysModel()===c){var h=n.get("position");"x"===e?"top"!==h&&"bottom"!==h&&(h=s.bottom?"top":"bottom"):"left"!==h&&"right"!==h&&(h=s.left?"right":"left"),s[h]=!0;var p=(0,a.J5)(n),d=new m.A(e,(0,a.f$)(n,p,!0),[0,0],p,h);d.onBand=(0,a.M2)(d.scale,n),d.inverse=n.get("inverse"),n.axis=d,d.model=n,d.grid=o,d.index=i,o._axesList.push(d),l[e][i]=d,u[e]++}}}this._axesMap=l,(0,r.each)(l.x,function(e,n){(0,r.each)(l.y,function(r,o){var a="x"+n+"y"+o,s=new v(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)})}),z(l.x),z(l.y)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return(0,r.each)(this.getCartesians(),function(i){var o=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),a=i.getOtherAxis(o);0>(0,r.indexOf)(e,o)&&e.push(o),0>(0,r.indexOf)(n,a)&&n.push(a)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",function(o,a){var s=new t(o,e,n);s.name="grid_"+a,s.resize(o,n,!0),o.coordinateSystem=s,i.push(s),(0,r.each)(s._axesList,function(e){(0,D.y)(e,t.dimIdxMap)})}),e.eachSeries(function(t){var e,n;(0,T.m7)({targetModel:t,coordSysType:c.Tw,coordSysProvider:function(){var i=(0,x.LR)(t),r=i.xAxisModel,o=i.yAxisModel;return e=r.axis,n=o.axis,r.getCoordSysModel().coordinateSystem.getCartesian(r.componentIndex,o.componentIndex)}}),e&&n&&((0,O.Lb)(e,t,c.Tw),(0,O.Lb)(n,t,c.Tw))},this),i},t.dimensions=g,t.dimIdxMap=(0,I.io)(g),t}();function R(t,e,n,i){n.getAxesOnZeroOf=function(){return o?[o]:[]};var o,a=t[e],s=n.model,l=s.get(["axisLine","onZero"]),u=s.get(["axisLine","onZeroAxisIndex"]);if(l){if(null!=u)B(l,a[u])&&(o=a[u]);else for(var c in a)if((0,r.hasOwn)(a,c)&&B(l,a[c])&&!i[h(a[c])]){o=a[c];break}o&&(i[h(o)]=!0)}function h(t){return t.dim+"_"+t.index}}function B(t,e){if(!e)return!1;var n=e.scale,i=(0,a.$h)(n,0,!1),r=e&&"category"!==e.type&&"time"!==e.type&&i!==a.M8;return r&&"auto"===t&&(0,a.P5)(e)&&(r=!1),r}function z(t){for(var e,n=(0,r.keys)(t),i=[],o=n.length-1;o>=0;o--){var s=t[+n[o]];(0,b.rf)(s.scale)&&null==(0,a.PP)(s.model,s.type,!0)&&(s.model.get("alignTicks")&&null==s.model.get("interval")?i.push(s):e=s)}e||(e=i.pop()),e&&(0,r.each)(i,function(t){t.__alignTo=e})}function N(t,e){(0,r.each)(t.x,function(t){return E(t,e.x,e.width)}),(0,r.each)(t.y,function(t){return E(t,e.y,e.height)})}function E(t,e,n){var i,r,o=[0,n],a=+!!t.inverse;t.setExtent(o[a],o[1-a]),r=(i=t.getExtent())[0]+i[1],t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return r-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return r-t+e}}function V(t){i=t}function F(t,e,n,i,o,s,l){Y(i,o,M.fm.estimate,e,!1,l);var u=[0,0,0,0];h(0),h(1),p(i,0,0/0),p(i,1,0/0);var c=null==(0,r.find)(u,function(t){return t>0});return(0,S.expandOrShrinkRect)(i,u,!0,!0,n),N(o,i),c;function h(t){(0,r.each)(o[S.XY[t]],function(e){if((0,a.Qs)(e.model)){var n=s.ensureRecord(e.model),i=n.labelInfoList;if(i)for(var r=0;r<i.length;r++){var o=i[r],l=e.scale.normalize((0,a.NQ)(e.scale,(0,A.Z0)(o.label).labelInfo.tick));l=1===t?1-l:l,p(o.rect,t,l),p(o.rect,1-t,0/0)}var u=n.nameLayout;if(u){var l=(0,a.SS)(n.nameLocation)?.5:0/0;p(u.rect,t,l),p(u.rect,1-t,0/0)}}})}function p(e,n,i){var r=t[S.XY[n]]-e[S.XY[n]],o=e[S.WH[n]]+e[S.XY[n]]-(t[S.WH[n]]+t[S.XY[n]]);r=d(r,1-i),o=d(o,i);var a=L[n][0],s=L[n][1];u[a]=(0,C.JB)(u[a],r),u[s]=(0,C.JB)(u[s],o)}function d(t,e){return t>0&&!(0,r.eqNaN)(e)&&e>1e-4&&(t/=e),t}}function Y(t,e,n,i,o,s){var l=n===M.fm.determine;(0,r.each)(e,function(e){return(0,r.each)(e,function(e){(0,a.Qs)(e.model)&&((0,x.Pd)(e.axisBuilder,t,e.model),e.axisBuilder.build(l?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:o}))})});var u={x:0,y:0};function c(e){u[S.XY[1-e]]=t[S.WH[e]]<=.5*s.refContainer[S.WH[e]]?0:1-e==1?2:1}c(0),c(1),(0,r.each)(e,function(t,e){return(0,r.each)(t,function(t){(0,a.Qs)(t.model)&&(("all"===i||l)&&t.axisBuilder.build({axisName:!0},{nameMarginLevel:u[e]}),l&&t.axisBuilder.build({axisLine:!0}))})})}var H=function(t,e,n,i,o,s){var l="x"===n.axis.dim?"y":"x";(0,A.x)(t,e,n,i,o,s),(0,a.SS)(t.nameLocation)||(0,r.each)(e.recordMap[l],function(t){t&&t.labelInfoList&&t.dirVec&&(0,A.RC)(t.labelInfoList,t.dirVec,i,o)})},W=P},UGL(t,e,n){var i=n("i4"),r=n("wv"),o=n("db"),a=n("g8w"),s={left:0,right:0,top:0,bottom:0},l=["25%","25%"];e.Ay=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.mergeDefaultAndTheme=function(e,n){var i=(0,o.vs)(e.outerBounds);t.prototype.mergeDefaultAndTheme.apply(this,arguments),i&&e.outerBounds&&(0,o.YA)(e.outerBounds,i)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&e.outerBounds&&(0,o.YA)(this.option.outerBounds,e.outerBounds)},e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"15%",top:65,right:"10%",bottom:80,containLabel:!1,outerBoundsMode:"auto",outerBounds:s,outerBoundsContain:"all",outerBoundsClampWidth:l[0],outerBoundsClampHeight:l[1],backgroundColor:a.A.color.transparent,borderWidth:1,borderColor:a.A.color.neutral30},e}(r.A),n.d(e,{},{GH:s,MQ:l,Tw:"cartesian2d"})},sT(t,e,n){var i=n("iY"),r=n("xN"),o=n("hH"),a=n("x2");function s(t,e,n){n=n||{};var r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,c=[t.x,t.x+t.width,t.y,t.y+t.height],h={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,d="x"===u?[c[2]-p,c[3]+p]:[c[0]-p,c[1]+p];if(a){var f=a.toGlobalCoord(a.dataToCoord(0));d[h.onZero]=Math.max(Math.min(f,d[1]),d[0])}o.position=["y"===u?d[h[l]]:c[0],"x"===u?d[h[l]]:c[3]],o.rotation=Math.PI/2*("x"!==u),o.labelDirection=o.tickDirection=o.nameDirection=({top:-1,bottom:1,left:-1,right:1})[s],o.labelOffset=a?d[h[s]]-d[h.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),i.retrieve(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var g=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-g:g,o.z2=1,o}n.d(e,{},{LR:function(t){var e={xAxisModel:null,yAxisModel:null};return i.each(e,function(n,i){var o=i.replace(/Model$/,""),a=t.getReferringComponents(o,r.US).models[0];e[i]=a}),e},Pd:function(t,e,n){var i=s(e,n);t.updateCfg(i)},Zp:s,bJ:function(t){return t.dim+"_"+t.index},oj:function(t,e,n,i,r,l){for(var u=s(t,n),c=!1,h=!1,p=0;p<e.length;p++)(0,a.rf)(e[p].getOtherAxis(n.axis).scale)&&(c=h=!0,"category"===n.axis.type&&n.axis.onBand&&(h=!1));return u.axisLineAutoShow=c,u.axisTickAutoShow=h,u.defaultNameMoveOverlap=l,new o.Ay(n,i,u,r)},ty:function(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}})},uP(t,e,n){var i=n("iY"),r=n("KO"),o=n("x2"),a=n("xN"),s=n("LC"),l=n("Ww"),u=n("MB"),c=n("Zb"),h=n("sn"),p=(0,a.$r)(),d=function(){function t(t,e,n,r,s){var l,c=(0,o.wl)(t),h=c?e.getCategories().length:null;if(c){var p=e.getCategories(!0);l=p&&!p.length}var d=n.slice();((0,o.Qw)(t)||(0,o.F)(t)||(0,o.oY)(t))&&((0,a.FM)(d,g(t,e.get("dataMin",!0))),(0,a.i_)(d,g(t,e.get("dataMax",!0)))),(0,a.o1)(d)||(d[0]=d[1]=0/0);var v=[],m=[!1,!1],_=e.get("min",!0);"dataMin"===_?(v[0]=d[0],m[0]=!0):(v[0]=g(t,(0,i.isFunction)(_)?_({min:d[0],max:d[1]}):_),m[0]=null!=v[0]);var x=e.get("max",!0);"dataMax"===x?(v[1]=d[1],m[1]=!0):(v[1]=g(t,(0,i.isFunction)(x)?x({min:d[0],max:d[1]}):x),m[1]=null!=v[1]);var b=function(t,e){var n;if((0,o.wl)(t))n=[0,0];else{var r=e.get("boundaryGap");"boolean"==typeof r&&(r=null),n=(0,i.isArray)(r)?r:[r,r]}return[y(n[0]),y(n[1])]}(t,e),w=c?null:d[1]-d[0]||Math.abs(d[0]);null==v[0]&&(v[0]=c?l?d[0]:h?0:0/0:d[0]-b[0]*w),null==v[1]&&(v[1]=c?l?d[1]:h?h-1:0/0:d[1]+b[1]*w),(0,a.fA)(v[0])||(v[0]=0/0),(0,a.fA)(v[1])||(v[1]=0/0);var S=l||(0,i.eqNaN)(v[0])||(0,i.eqNaN)(v[1])||c&&!h,A=(0,o.Qw)(t),M=A&&e.needIncludeZero&&e.needIncludeZero();M&&(v[0]>0&&v[1]>0&&!m[0]&&(v[0]=0),v[0]<0&&v[1]<0&&!m[1]&&(v[1]=0));var T=!1;v[0]>v[1]&&(v.reverse(),T=!0);var C=g(t,e.get("startValue",!0)),k=null!=C;!(0,u.YC)(C)&&r&&(C=t.getDefaultStartValue?t.getDefaultStartValue():0),(0,u.YC)(C)&&(k||!A||M)&&(C<v[0]&&!m[0]?(v[0]=C,m[0]=!0):C>v[1]&&!m[1]&&(v[1]=C,m[1]=!0)),f(this._i={scale:t,dataMM:d,noZoomEffMM:v,zoomMM:[],fixMM:m,zoomFixMM:[!1,!1],startValue:C,isBlank:S,incl0:M,tggAxInv:T,ctnShp:s},v)}return t.prototype.makeNoZoom=function(){return this._i.noZoomEffMM.slice()},t.prototype.makeFinal=function(){var t=this._i,e=t.zoomMM,n=t.noZoomEffMM,i=t.zoomFixMM,r=t.fixMM,o={fixMM:r,zoomFixMM:i,isBlank:t.isBlank,incl0:t.incl0,tggAxInv:t.tggAxInv,ctnShp:t.ctnShp,effMM:n.slice()},a=o.effMM;return null!=e[0]&&(a[0]=e[0],r[0]=i[0]=!0),null!=e[1]&&(a[1]=e[1],r[1]=i[1]=!0),f(t,a),o},t.prototype.makeRenderInfo=function(){return{startValue:this._i.startValue}},t.prototype.setZoomMM=function(t,e){this._i.zoomMM[t]=e},t}();function f(t,e){var n=t.scale,i=t.dataMM;n.sanitize&&(e[0]=n.sanitize(e[0],i),e[1]=n.sanitize(e[1],i),(0,a.U2)(e))}function g(t,e){return null==e?null:(0,i.eqNaN)(e)?0/0:t.parse(e)}function y(t){return(0,r.lo)("boolean"==typeof t?0:t,1)||0}function v(t){var e=p(t.scale);return e.extent||(e.extent=(0,a.X1)()),e}function m(t,e,n){t.rawExtentInfo=e,e.from=n}var _=(0,i.createHashMap)();n.d(e,{},{Cy:function(t,e){_.set(t,e)},DT:function(t,e){var n,r,o,u,c,p,f,g,y,x,b=t.scale,w=t.model,S=t.dim;b.rawExtentInfo||(n=b,r=t,o=S,u=w,c=e,f=(p=v(r)).extent,g=!1,(0,h.tO)(r,function(t){if(t.boxCoordinateSystem){var e=(0,l.fE)(t).coord,u=p.dimIdxInCoord;if(u>=0&&(0,i.isArray)(e)){var c=e[u];null==c||(0,i.isArray)(c)||(0,a.vx)(f,n.parse(c))}}else if(t.coordinateSystem){var h=t.getData();if(h){var d=n.getFilter?n.getFilter():null;(0,i.each)((0,s.wq)(h,o),function(t){(0,a.Ax)(f,h.getApproximateExtent(t,d))})}t.__requireStartValue&&t.__requireStartValue(r)&&(g=!0)}}),y=function(t,e,n){var i=(0,s.M2)(t,n),r=n.get("containShape",!0);if(null!=r||i||(r=!0),!r)return!1;var o=!1;return(0,h.BV)(e,function(t){o=!!_.get(t)||o}),o}(n,r,u),x=new d(n,u,f,g,y),m(n,x,c),p.extent=null)},Pu:function(t,e,n,i){if(n.ctnShp&&((0,h.BV)(t,function(e){var n=_.get(e);if(n){var o=n(t,i);o&&(r=r||[0,0],(0,a.FM)(r,o[0]),(0,a.i_)(r,o[1]),(0,s.n8)(t))}}),r)){var r,l=e.getExtent();if((0,o.wl)(e))t.onBand||e.setExtent2(c.GU,(0,u.rp)(l[0],l[0]+r[0]),(0,u.JB)(l[1],l[1]+r[1]));else{var p=l.slice();n.zoomFixMM[0]||(p[0]=(0,u.rp)(p[0],e.transformOut(e.transformIn(p[0],null)+r[0],null))),n.zoomFixMM[1]||(p[1]=(0,u.JB)(p[1],e.transformOut(e.transformIn(p[1],null)+r[1],null))),(p[0]<l[0]||p[1]>l[1])&&e.setExtent2(c.GU,p[0],p[1])}}},ex:1,fK:2,y:function(t,e){v(t).dimIdxInCoord=e.get(t.dim)},zT:function(t,e,n,i,r){t.rawExtentInfo||(o={scale:t,model:e},s=r||(0,a.X1)(),m(l=o.scale,new d(l,o.model,s,!1,!1),3));var o,s,l,u=t.rawExtentInfo.makeFinal(),c=u.effMM;return t.setExtent(c[0],c[1]),t.setBlank(u.isBlank),i&&u.tggAxInv&&n&&!n.get("legacyMinMaxDontInverseAxis")&&(i.inverse=!i.inverse),u}})},dV(t,e,n){var i=n("i4"),r=n("wv"),o=n("cI"),a=n("iY"),s="singleAxis",l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.getCoordSysModel=function(){return this},e.type=s,e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}},jitter:0,jitterOverlap:!0,jitterMargin:2},e}(r.A);(0,a.mixin)(l,o.L.prototype),e.Ay=l,n.d(e,{},{GN:"single",YO:s,jn:"singleAxis"})},Ww(t,e,n){var i=n("iY"),r=n("xN"),o={},a={},s=function(){function t(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return t.prototype.create=function(t,e){function n(n,r){var o=[];return i.each(n,function(n,i){var r=n.create(t,e);o=o.concat(r||[])}),o}this._nonSeriesBoxMasterList=n(o,!0),this._normalMasterList=n(a,!1)},t.prototype.update=function(t,e){i.each(this._normalMasterList,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},t.register=function(t,e){if("matrix"===t||"calendar"===t){o[t]=e;return}a[t]=e},t.get=function(t){return a[t]||o[t]},t}(),l=i.createHashMap();function u(t,e){var n=t.getShallow("coordinateSystem"),i=t.getShallow("coordinateSystemUsage",!0),r=0;if(n){var a="series"===t.mainType;(null==i&&(i=a?"data":"box"),"data"===i)?(r=1,a||(r=0)):"box"!==i||(r=2,a||o[n])||(r=0)}return{coordSysType:n,kind:r}}e.Ay=s,n.d(e,{},{Xf:2,bX:2,fE:function(t){var e=t.getShallow("coord",!0),n=1;if(null==e){var i=l.get(t.type);i&&i.getCoord2&&(n=2,e=i.getCoord2(t))}return{coord:e,from:n}},jM:function(t,e){var n=e.getReferringComponents(t,r.US).models[0];return n&&n.coordinateSystem},kP:u,kf:function(t){l.set(t.fullType,{getCoord2:void 0}).getCoord2=t.getCoord2},m7:function(t){var e=t.targetModel,n=t.coordSysType,i=t.coordSysProvider,r=t.isDefaultDataCoordSys;t.allowNotFound;var o=u(e,!0),a=o.kind,s=o.coordSysType;if(r&&1!==a&&(a=1,s=n),0===a||s!==n)return 0;var l=i(n,e);return l?(1===a?e.coordinateSystem=l:e.boxCoordinateSystem=l,a):0}})},q0(t,e,n){var i=n("iY"),r=n("No"),o=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];e.A=function(t){i.each(o,function(e){this[e]=i.bind(t[e],t)},this)},n.d(e,{},{k:function(t,e){return e.mainType===r.t7?t.getViewOfSeriesModel(e):t.getViewOfComponentModel(e)}})},Hr(t,e,n){n.d(e,{FQ:()=>eb,Ng:()=>e$,p5:()=>np,El:()=>ex,zm:()=>eJ,Zf:()=>eQ,AS:()=>eK,Bo:()=>nt,FP:()=>e0,aQ:()=>e1,ZB:()=>nu,Ts:()=>eq,OH:()=>e9,pX:()=>e7,mx:()=>ne,Oh:()=>nn,Ej:()=>na,E:()=>ec.E,mz:()=>nl,cf:()=>e4,tb:()=>e6,lP:()=>e5,qg:()=>e3,bf:()=>e2,iY:()=>nc,xV:()=>e8,AF:()=>ni,vV:()=>ns,rE:()=>e_});var i,r,o,a,s,l,u,c,h,p,d,f,g,y,v,m,_,x,b,w,S,A,M,T,C=n("i4"),k=n("L5"),I=n("iY"),D=n("E3"),O=n("Ly"),L=n("jp"),P=n("xN"),R=n("Sk"),B=n("wv"),z=n("x4z"),N=n("g8w"),E="";"u">typeof navigator&&(E=navigator.platform||"");var V="rgba(0, 0, 0, 0.2)",F=N.A.color.theme["0"],Y=(0,z.modifyHSL)(F,null,null,.9),H={darkMode:"auto",colorBy:"series",color:N.A.color.theme,gradientColor:[Y,F],aria:{decal:{decals:[{color:V,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:V,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:V,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:V,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:V,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:V,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:E.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},W=n("rk"),G=n("PG"),Z=n("zW"),U="\0_ec_inner",X=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,C.C6)(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new R.A(i),this._locale=new R.A(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=$(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,$(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):a(this,r),n=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var s=i.getMediaOption(this);s.length&&(0,I.each)(s,function(t){n=!0,this._mergeOption(t,e)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,o=this._componentsCount,a=[],s=(0,I.createHashMap)(),l=e&&e.replaceMergeMainTypeMap;(0,W.ps)(this),(0,I.each)(t,function(t,e){null!=t&&(B.A.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,I.clone)(t):(0,I.merge)(n[e],t,!0))}),l&&l.each(function(t,e){B.A.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),B.A.topologicalTravel(a,B.A.getAllClassMainTypes(),function(e){var a,s=(0,G.a)(this,e,P.qB(t[e])),u=i.get(e),c=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",h=P.O2(u,s,c);P.GX(h,e,B.A),n[e]=null,i.set(e,null),o.set(e,0);var p=[],d=[],f=0;(0,I.each)(h,function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,s=B.A.getClass(e,t.keyInfo.subType,!o);if(!s)return;if("tooltip"===e){if(a)return;a=!0}if(i&&i.constructor===s)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var l=(0,I.extend)({componentIndex:n},t.keyInfo);i=new s(r,this,this,l),(0,I.extend)(i,l),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(p.push(i.option),d.push(i),f++):(p.push(void 0),d.push(void 0))},this),n[e]=p,i.set(e,d),o.set(e,f),"series"===e&&r(this)},this),this._seriesIndices||r(this)},e.prototype.getOption=function(){var t=(0,I.clone)(this.option);return(0,I.each)(t,function(e,n){if(B.A.hasClass(n)){for(var i=P.qB(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!P.oh(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}}),delete t[U],t},e.prototype.setTheme=function(t){this._theme=new R.A(t),this._resetOption("recreate",null)},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e){for(var r=0;r<n.length;r++)if(n[r])return n[r]}}},e.prototype.queryComponents=function(t){var e,n=t.mainType;if(!n)return[];var i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(n);return a&&a.length?(null!=i?(e=[],(0,I.each)(P.qB(i),function(t){a[t]&&e.push(a[t])})):e=null!=r?j("id",r,a):null!=o?j("name",o,a):(0,I.filter)(a,function(t){return!!t}),q(e,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o,a=t.query,s=t.mainType,l=(e=a,n=s+"Index",i=s+"Id",r=s+"Name",e&&(null!=e[n]||null!=e[i]||null!=e[r])?{mainType:s,index:e[n],id:e[i],name:e[r]}:null);return o=q(l?this.queryComponents(l):(0,I.filter)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,I.filter)(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if((0,I.isFunction)(t))i.each(function(n,i){for(var r=0;n&&r<n.length;r++){var o=n[r];o&&t.call(e,i,o,o.componentIndex)}});else for(var r=(0,I.isString)(t)?i.get(t):(0,I.isObject)(t)?this.findComponents(t):null,o=0;r&&o<r.length;o++){var a=r[o];a&&e.call(n,a,a.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=P.vS(t,null);return(0,I.filter)(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,I.filter)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,I.filter)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){o(this),(0,I.each)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},e.prototype.eachRawSeries=function(t,e){(0,I.each)(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){o(this),(0,I.each)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)},this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,I.each)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return o(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){o(this);var n=[];(0,I.each)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=(0,I.createHashMap)(n)},e.prototype.restoreData=function(t){r(this);var e=this._componentsMap,n=[];e.each(function(t,e){B.A.hasClass(e)&&n.push(e)}),B.A.topologicalTravel(n,B.A.getAllClassMainTypes(),function(n){(0,I.each)(e.get(n),function(e){e&&("series"!==n||!function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t))&&e.restoreData()})})},e.internalField=void(r=function(t){var e=t._seriesIndices=[];(0,I.each)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,I.createHashMap)(e)},o=function(t){},a=function(t,e){t.option={},t.option[U]=1,t._componentsMap=(0,I.createHashMap)({series:[]}),t._componentsCount=(0,I.createHashMap)();var n,i,r,o=e.aria;(0,I.isObject)(o)&&null==o.enabled&&(o.enabled=!0),n=e,i=t._theme.option,r=n.color&&!n.colorLayer,(0,I.each)(i,function(t,e){"colorLayer"===e&&r||"color"===e&&n.color||B.A.hasClass(e)||("object"==typeof t?n[e]=n[e]?(0,I.merge)(n[e],t,!1):(0,I.clone)(t):null==n[e]&&(n[e]=t))}),(0,I.merge)(e,H,!1),t._mergeOption(e,null)}),e}(R.A);function j(t,e,n){if((0,I.isArray)(e)){var i=(0,I.createHashMap)();return(0,I.each)(e,function(t){null!=t&&null!=P.vS(t,null)&&i.set(t,!0)}),(0,I.filter)(n,function(e){return e&&i.get(e[t])})}var r=P.vS(e,null);return(0,I.filter)(n,function(e){return e&&null!=r&&e[t]===r})}function q(t,e){return e.hasOwnProperty("subType")?(0,I.filter)(t,function(t){return t&&t.subType===e.subType}):t}function $(t){var e=(0,I.createHashMap)();return t&&(0,I.each)(P.qB(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,I.mixin)(X,Z.X);var Q=n("q0"),J=n("Ww"),K=/^(min|max)?(.+)$/,tt=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,I.each)((0,P.qB)(t.series),function(t){t&&t.data&&(0,I.isTypedArray)(t.data)&&(0,I.setAsPrimitive)(t.data)}),(0,I.each)((0,P.qB)(t.dataset),function(t){t&&t.source&&(0,I.isTypedArray)(t.source)&&(0,I.setAsPrimitive)(t.source)})),t=(0,I.clone)(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,h=!!(l||s||a&&a.timeline);function p(t){(0,I.each)(e,function(e){e(t,n)})}return a?(r=a).timeline||(r.timeline=s):((h||c)&&(t.options=t.media=null),r=t),c&&(0,I.isArray)(u)&&(0,I.each)(u,function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))}),p(r),(0,I.each)(l,function(t){return p(t)}),(0,I.each)(o,function(t){return p(t.option)}),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,I.clone)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=(0,I.clone)(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,c=o.length;u<c;u++)(function(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return(0,I.each)(t,function(t,e){var n=e.match(K);if(n&&n[1]&&n[2]){var o,a,s,l=n[1];o=i[n[2].toLowerCase()],a=t,("min"===(s=l)?o>=a:"max"===s?o<=a:o===a)||(r=!1)}}),r})(o[u].query,i,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=(0,I.map)(s,function(t){return(0,I.clone)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),te=I.each,tn=I.isObject,ti=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function tr(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=ti.length;n<i;n++){var r=ti[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?I.merge(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?I.merge(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function to(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,I.defaults(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function ta(t){to(t,"itemStyle"),to(t,"lineStyle"),to(t,"areaStyle"),to(t,"label"),to(t,"labelLine"),to(t,"upperLabel"),to(t,"edgeLabel")}function ts(t,e){var n=tn(t)&&t[e],i=tn(n)&&n.textStyle;if(i)for(var r=0,o=P.JS.length;r<o;r++){var a=P.JS[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}function tl(t){t&&(ta(t),ts(t,"label"),t.emphasis&&ts(t.emphasis,"label"))}function tu(t){return I.isArray(t)?t:t?[t]:[]}function tc(t){return(I.isArray(t)?t[0]:t)||{}}function th(t){t&&(0,I.each)(tp,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var tp=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],td=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tf=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function tg(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<tf.length;n++){var i=tf[n][1],r=tf[n][0];null!=e[i]&&(e[r]=e[i])}}function ty(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function tv(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function tm(t,e){var n;te(tu(t.series),function(t){tn(t)&&function(t){if(tn(t)){tr(t),ta(t),ts(t,"label"),ts(t,"upperLabel"),ts(t,"edgeLabel"),t.emphasis&&(ts(t.emphasis,"label"),ts(t.emphasis,"upperLabel"),ts(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(tr(e),tl(e));var n=t.markLine;n&&(tr(n),tl(n));var i=t.markArea;i&&tl(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!I.isTypedArray(o))for(var a=0;a<o.length;a++)tl(o[a]);I.each(t.categories,function(t){ta(t)})}if(r&&!I.isTypedArray(r))for(var a=0;a<r.length;a++)tl(r[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)tl(s[a]);if((n=t.markLine)&&n.data)for(var l=n.data,a=0;a<l.length;a++)I.isArray(l[a])?(tl(l[a][0]),tl(l[a][1])):tl(l[a]);"gauge"===t.type?(ts(t,"axisLabel"),ts(t,"title"),ts(t,"detail")):"treemap"===t.type?(to(t.breadcrumb,"itemStyle"),I.each(t.levels,function(t){ta(t)})):"tree"===t.type&&ta(t.leaves)}}(t)}),n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),te(n,function(e){te(tu(t[e]),function(t){t&&(ts(t,"axisLabel"),ts(t.axisPointer,"label"))})}),te(tu(t.parallel),function(t){var e=t&&t.parallelAxisDefault;ts(e,"axisLabel"),ts(e&&e.axisPointer,"label")}),te(tu(t.calendar),function(t){to(t,"itemStyle"),ts(t,"dayLabel"),ts(t,"monthLabel"),ts(t,"yearLabel")}),te(tu(t.radar),function(t){ts(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)}),te(tu(t.geo),function(t){tn(t)&&(tl(t),te(tu(t.regions),function(t){tl(t)}))}),te(tu(t.timeline),function(t){tl(t),to(t,"label"),to(t,"itemStyle"),to(t,"controlStyle",!0);var e=t.data;I.isArray(e)&&I.each(e,function(t){I.isObject(t)&&(to(t,"label"),to(t,"itemStyle"))})}),te(tu(t.toolbox),function(t){to(t,"iconStyle"),te(t.feature,function(t){to(t,"iconStyle")})}),ts(tc(t.axisPointer),"label"),ts(tc(t.tooltip).axisPointer,"label"),t.series=(0,P.qB)(t.series),(0,I.each)(t.series,function(t){if((0,I.isObject)(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),ty(t.label);var n=t.data;if(n&&!(0,I.isTypedArray)(n))for(var i=0;i<n.length;i++)ty(n[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},t.emphasis.scaleSize=null)}else if("gauge"===e){var r=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=r&&function(t,e,n){for(var i,r=e.split(","),o=t,a=0;a<r.length-1;a++)null==o[i=r[a]]&&(o[i]={}),o=o[i];null==o[r[a]]&&(o[r[a]]=n)}(t,"itemStyle.color",r)}else if("bar"===e){tg(t),tg(t.backgroundStyle),tg(t.emphasis);var n=t.data;if(n&&!(0,I.isTypedArray)(n))for(var i=0;i<n.length;i++)"object"==typeof n[i]&&(tg(n[i]),tg(n[i]&&n[i].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),tv(t),function t(e,n){if(e)for(var i=0;i<e.length;i++)n(e[i]),e[i]&&t(e[i].children,n)}(t.data,tv)}else"graph"===e||"sankey"===e?t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency")):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,I.defaults)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),th(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,I.each)(td,function(e){var n=t[e];n&&((0,I.isArray)(n)||(n=[n]),(0,I.each)(n,function(t){th(t)}))})}var t_=n("MB"),tx=(0,P.uQ)(function(t){var e=(0,I.createHashMap)();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;i.push(o)}}),e.each(function(t){var e;0!==t.length&&("seriesDesc"===(t[0].seriesModel.get("stackOrder")||"seriesAsc")&&t.reverse(),(0,I.each)(t,function(e,n){e.data.setCalculationInfo("stackedOnSeries",n>0?t[n-1].seriesModel:null)}),e=t,(0,I.each)(e,function(t,n){var i=[],r=[0/0,0/0],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,c){var h,p,d=a.get(t.stackedDimension,c);if(isNaN(d))return r;s?p=a.getRawIndex(c):h=a.get(t.stackedByDimension,c);for(var f=0/0,g=n-1;g>=0;g--){var y=e[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,h)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=(0,t_.Tr)(d,v),f=v;break}}}return i[0]=d,i[1]=f,i})}))})}),tb=n("yd"),tw=n("BP"),tS=n("WN9"),tA=n("Vb"),tM=n("s5"),tT=n("W5"),tC=n("uf"),tk=n("Pk"),tI=n("FL"),tD=n("LP"),tO=n("dd"),tL=n("Lc"),tP=n("BE"),tR=n("pf8"),tB=(0,P.$r)(),tz={itemStyle:(0,tL.A)(tP.L,!0),lineStyle:(0,tL.A)(tR.m,!0)},tN={lineStyle:"stroke",itemStyle:"fill"};function tE(t,e){var n=t.visualStyleMapper||tz[e];return n||(console.warn("Unknown style type '"+e+"'."),tz.itemStyle)}function tV(t,e){var n=t.visualDrawType||tN[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var tF=new R.A,tY=n("jZ"),tH=n("s2"),tW=n("Wf"),tG=Math.PI,tZ=n("Hq"),tU=n("Af"),tX=function(){function t(t,e,n,i){this._stageTaskMap=(0,I.createHashMap)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount,a=null!=o?Math.ceil(o/r):null;return{step:r,modBy:a,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.__preparePipelineContext?t.__preparePipelineContext(e,n):(0,P.Zk)(t,e,n);t.pipelineContext=n.context=i},t.prototype.restorePipelines=function(t,e){var n=this,i=n._pipelineMap=(0,I.createHashMap)();e.eachSeries(function(e){var r="canvas"===t.painter.type&&e.getProgressive(),o=e.uid;i.set(o,{id:o,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),n._pipe(e,e.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;(0,I.each)(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{});(0,I.assert)(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)},this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,I.each)(t,function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,p=c.agentStubMap;p.each(function(t){a(i,t)&&(t.dirty(),h=!0)}),h&&c.dirty(),o.updatePayload(c,n);var d=o.getPerformArgs(c,i.block);p.each(function(t){t.perform(d)}),c.perform(d)&&(r=!0)}else u&&u.each(function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)})}}),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=(0,I.createHashMap)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tZ.U)({plan:tJ,reset:tK,count:t2}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||(0,tZ.U)({reset:tj});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=(0,I.createHashMap)(),l=t.seriesType,u=t.getTargetSeries,c=t.dirtyOnOverallProgress,h=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(h=!0,(0,tZ.U)({reset:tq,onDirty:tQ})));n.context={model:t,dirtyOnOverallProgress:c},n.agent=o,n.__block=c,r._pipe(t,n)}(0,I.assert)(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(0,I.each)(n.getSeries(),p),h&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);i.head||(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return(0,I.isFunction)(t)&&(t={overallReset:t,seriesType:function(t){s=null;try{t(t5,t3)}catch(t){}return s}(t)}),t.uid=(0,tU.$Q)("stageHandler"),e&&(t.visualType=e),t},t}();function tj(t){t.overallReset(t.ecModel,t.api,t.payload)}function tq(t){return t.dirtyOnOverallProgress&&t$}function t$(){this.agent.dirty(),this.getDownstream().dirty()}function tQ(){this.agent&&this.agent.dirty()}function tJ(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tK(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,P.qB)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,I.map)(e,function(t,e){return t1(e)}):t0}var t0=t1(0);function t1(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function t2(t){return t.data.count()}var t5={},t3={};function t4(t,e){for(var n in e.prototype)t[n]=I.noop}t4(t5,X),t4(t3,Q.A),t5.eachSeriesByType=t5.eachRawSeriesByType=function(t){s=t},t5.eachComponent=function(t){"series"===t.mainType&&t.subType&&(s=t.subType)};var t6=N.A.darkColor,t8=t6.background,t9=function(){return{axisLine:{lineStyle:{color:t6.axisLine}},splitLine:{lineStyle:{color:t6.axisSplitLine}},splitArea:{areaStyle:{color:[t6.backgroundTint,t6.backgroundTransparent]}},minorSplitLine:{lineStyle:{color:t6.axisMinorSplitLine}},axisLabel:{color:t6.axisLabel},axisName:{}}},t7={label:{color:t6.secondary},itemStyle:{borderColor:t6.borderTint},dividerLineStyle:{color:t6.border}},et={darkMode:!0,color:t6.theme,backgroundColor:t8,axisPointer:{lineStyle:{color:t6.border},crossStyle:{color:t6.borderShade},label:{color:t6.tertiary}},legend:{textStyle:{color:t6.secondary},pageTextStyle:{color:t6.tertiary}},textStyle:{color:t6.secondary},title:{textStyle:{color:t6.primary},subtextStyle:{color:t6.quaternary}},toolbox:{iconStyle:{borderColor:t6.accent50},feature:{dataView:{backgroundColor:t8,textColor:t6.primary,textareaColor:t6.background,textareaBorderColor:t6.border,buttonColor:t6.accent50,buttonTextColor:t6.neutral00}}},tooltip:{backgroundColor:t6.neutral20,defaultBorderColor:t6.border,textStyle:{color:t6.tertiary}},dataZoom:{borderColor:t6.accent10,textStyle:{color:t6.tertiary},brushStyle:{color:t6.backgroundTint},handleStyle:{color:t6.neutral00,borderColor:t6.accent20},moveHandleStyle:{color:t6.accent40},emphasis:{handleStyle:{borderColor:t6.accent50}},dataBackground:{lineStyle:{color:t6.accent30},areaStyle:{color:t6.accent20}},selectedDataBackground:{lineStyle:{color:t6.accent50},areaStyle:{color:t6.accent30}}},visualMap:{textStyle:{color:t6.secondary},handleStyle:{borderColor:t6.neutral30}},timeline:{lineStyle:{color:t6.accent10},label:{color:t6.tertiary},controlStyle:{color:t6.accent30,borderColor:t6.accent30}},calendar:{itemStyle:{color:t6.neutral00,borderColor:t6.neutral20},dayLabel:{color:t6.tertiary},monthLabel:{color:t6.secondary},yearLabel:{color:t6.secondary}},matrix:{x:t7,y:t7,backgroundColor:{borderColor:t6.axisLine},body:{itemStyle:{borderColor:t6.borderTint}}},timeAxis:t9(),logAxis:t9(),valueAxis:t9(),categoryAxis:t9(),line:{symbol:"circle"},graph:{color:t6.theme},gauge:{title:{color:t6.secondary},axisLine:{lineStyle:{color:[[1,t6.neutral05]]}},axisLabel:{color:t6.axisLabel},detail:{color:t6.primary}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}},funnel:{itemStyle:{borderColor:t6.background}},radar:((i=t9()).axisName={color:t6.axisLabel},i.axisLine.lineStyle.color=t6.neutral20,i),treemap:{breadcrumb:{itemStyle:{color:t6.neutral20,textStyle:{color:t6.secondary}},emphasis:{itemStyle:{color:t6.neutral30}}}},sunburst:{itemStyle:{borderColor:t6.background}},map:{itemStyle:{borderColor:t6.border,areaColor:t6.neutral10},label:{color:t6.tertiary},emphasis:{label:{color:t6.primary},itemStyle:{areaColor:t6.highlight}},select:{label:{color:t6.primary},itemStyle:{areaColor:t6.highlight}}},geo:{itemStyle:{borderColor:t6.border,areaColor:t6.neutral10},emphasis:{label:{color:t6.primary},itemStyle:{areaColor:t6.highlight}},select:{label:{color:t6.primary},itemStyle:{color:t6.highlight}}}};et.categoryAxis.splitLine.show=!1;var ee=n("MD"),en=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(I.isString(t)){var r=(0,ee.CC)(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};I.each(t,function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),ei=n("No"),er=["symbol","symbolSize","symbolRotate","symbolOffset"],eo=er.concat(["symbolKeepAspect"]),ea=n("N1e"),es=n("nXY"),el=n("GN"),eu=n("B9"),ec=n("o03"),eh=n("u1"),ep=new L.A,ed=n("mZ"),ef=n("jQ"),eg=n("LV"),ey=n("oh"),ev=n("Upd"),em=(0,P.uQ)(function(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each(function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=(0,ev.w)(n,e))});var r=i.getVisual("decal");r&&(i.getVisual("style").decal=(0,ev.w)(r,e))}})}),e_="6.1.0",ex={zrender:"6.1.0"},eb={PROCESSOR:{SERIES_FILTER:800,AXIS_STATISTICS:920,FILTER:1e3,STATISTIC:5e3,STATISTICS:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},ew="__flagInMainProcess",eS="__mainProcessVersion",eA="__pendingUpdate",eM="__needsUpdateStatus",eT=/^[a-zA-Z0-9_]+$/,eC="__connectUpdateStatus";function ek(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.isDisposed()?void this.id:eD(this,t,e)}}function eI(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return eD(this,t,e)}}function eD(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),L.A.prototype[e].apply(t,n)}var eO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,C.C6)(e,t),e}(L.A),eL=eO.prototype;eL.on=eI("on"),eL.off=eI("off");var eP=function(t){function e(e,n,i){var r=t.call(this,new en)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},r.__v_skip=!0,r._dom=e,r[eS]=1,i.ssr&&k.registerSSRDataGetter(function(t){var e=(0,tI.z)(t),n=e.dataIndex;if(null!=n){var i=(0,I.createHashMap)();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}});var o=r._zr=k.init(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:(0,I.retrieve2)(i.useDirtyRect,!1),useCoarsePointer:(0,I.retrieve2)(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=(0,tO.nF)((0,I.bind)(o.flush,o),17),r._updateTheme(n),r._locale=(0,ec.A$)(i.locale||ec.Lv),r._coordSysMgr=new J.Ay;var a=r._api=w(r);function s(t,e){return t.__prio-e.__prio}return(0,O.A)(eY,s),(0,O.A)(eV,s),r._scheduler=new tX(r,a,eV,eY),r._messageCenter=new eO,r._initEvents(),r.resize=(0,I.bind)(r.resize,r),o.animation.on("frame",r._onframe,r),v(o,r),m(o,r),(0,I.setAsPrimitive)(r),r}return(0,C.C6)(e,t),e.prototype._onframe=function(){if(!this._disposed){var t=this._scheduler,e=this._model,n=this._api;if(M(this),this[eA]){var i=this[eA].silent;this[ew]=!0,T(this);try{l(this),h.update.call(this,null,this[eA].updateParams)}catch(t){throw this[ew]=!1,this[eA]=null,t}this._zr.flush(),this[ew]=!1,this[eA]=null,g.call(this,i),y.call(this,i)}else if(t.unfinished){var r=1;do{t.unfinished=!1;var o=ed.yh.getTime();t.performSeriesTasks(e),t.performDataProcessorTasks(e),d(this,e),t.performVisualTasks(e),b(this,this._model,n,"remain",{}),r-=ed.yh.getTime()-o}while(r>0&&t.unfinished)t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[ew]){if(this._disposed)return void this.id;if((0,I.isObject)(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[ew]=!0,T(this),!this._model||e){var i,r,o,a=new tt(this._api),s=this._theme,u=this._model=new X;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},eF);var c={seriesTransition:o,optionChanged:!0};if(n)this[eA]={silent:i,updateParams:c},this[ew]=!1,this.getZr().wakeUp();else{try{l(this),h.update.call(this,null,c)}catch(t){throw this[eA]=null,this[ew]=!1,t}this._ssr||this._zr.flush(),this[eA]=null,this[ew]=!1,g.call(this,i),y.call(this,i)}}},e.prototype.setTheme=function(t,e){if(!this[ew]){if(this._disposed)return void this.id;var n=this._model;if(n){var i=e&&e.silent,r=null;this[eA]&&(null==i&&(i=this[eA].silent),r=this[eA].updateParams,this[eA]=null),this[ew]=!0,T(this);try{this._updateTheme(t),n.setTheme(this._theme),l(this),h.update.call(this,{type:"setTheme"},r)}catch(t){throw this[ew]=!1,t}this[ew]=!1,g.call(this,i),y.call(this,i)}}},e.prototype._updateTheme=function(t){(0,I.isString)(t)&&(t=eH[t]),t&&((t=(0,I.clone)(t))&&tm(t,!0),this._theme=t)},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||D.A.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){var t=this._zr,e=t.storage.getDisplayList();return(0,I.each)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()},e.prototype.getDataURL=function(t){if(this._disposed)return void this.id;var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;(0,I.each)(e,function(t){n.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,I.each)(i,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed)return void this.id;var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max;if(!eZ[n])return this.getDataURL(t);var o=1/0,a=1/0,s=-1/0,l=-1/0,u=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();(0,I.each)(eG,function(c,h){if(c.group===n){var p=e?c.getZr().painter.getSvgDom().innerHTML:c.renderToCanvas((0,I.clone)(t)),d=c.getDom().getBoundingClientRect();o=i(d.left,o),a=i(d.top,a),s=r(d.right,s),l=r(d.bottom,l),u.push({dom:p,left:d.left,top:d.top})}}),o*=c,a*=c,s*=c,l*=c;var h=s-o,p=l-a,d=ed.yh.createCanvas(),f=k.init(d,{renderer:e?"svg":"canvas"});if(f.resize({width:h,height:p}),!e)return t.connectedBackgroundColor&&f.add(new tA.A({shape:{x:0,y:0,width:h,height:p},style:{fill:t.connectedBackgroundColor}})),(0,I.each)(u,function(t){var e=new tM.Ay({style:{x:t.left*c-o,y:t.top*c-a,image:t.dom}});f.add(e)}),f.refreshImmediately(),d.toDataURL("image/"+(t&&t.type||"png"));var g="";return(0,I.each)(u,function(t){var e=t.left-o,n=t.top-a;g+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),f.painter.getSvgRoot().innerHTML=g,t.connectedBackgroundColor&&f.painter.setBackgroundColor(t.connectedBackgroundColor),f.refreshImmediately(),f.painter.toDataURL()},e.prototype.convertToPixel=function(t,e,n){return p(this,"convertToPixel",t,e,n)},e.prototype.convertToLayout=function(t,e,n){return p(this,"convertToLayout",t,e,n)},e.prototype.convertFromPixel=function(t,e,n){return p(this,"convertFromPixel",t,e,n)},e.prototype.containPixel=function(t,e){if(this._disposed)return void this.id;var n,i=this._model,r=P._e(i,t);return(0,I.each)(r,function(t,i){i.indexOf("Models")>=0&&(0,I.each)(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=this._model,i=P._e(n,t,{defaultMainType:"series"}),r=i.seriesModel.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?r.indexOfRawIndex(i.dataIndex):null;return null!=o?(0,ea.Ez)(r,o,e):(0,ea.rI)(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;(0,I.each)(eB,function(e){var n=function(n){var i,r=t.getModel(),o=n.target;if("globalout"===e?i={}:o&&(0,eh.R)(o,function(t){var e=(0,tI.z)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return i=(0,I.extend)({},e.eventData),!0},!0),i){var a=i.componentType,s=i.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=i.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&t["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:i,model:l,view:u},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)});var e=this._messageCenter;(0,I.each)(eE,function(n,i){e.on(i,function(e){t.trigger(i,e)})}),(0,el.l)(e,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)return void this.id;this._disposed=!0,this.getDom()&&P.Bq(this.getDom(),ej,"");var t=this._api,e=this._model;(0,I.each)(this._componentsViews,function(n){n.dispose(e,t)}),(0,I.each)(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete eG[this.id]},e.prototype.resize=function(t){if(!this[ew]){if(this._disposed)return void this.id;this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[eA]&&(null==i&&(i=this[eA].silent),n=!0,this[eA]=null),this[ew]=!0,T(this);try{n&&l(this),h.update.call(this,{type:"resize",animation:(0,I.extend)({duration:0},t&&t.animation)})}catch(t){throw this[ew]=!1,t}this[ew]=!1,g.call(this,i),y.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)return void this.id;if((0,I.isObject)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eW[t]){var n=eW[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=(0,I.extend)({},t);return e.type=eN[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void this.id;if(((0,I.isObject)(e)||(e={silent:!!e}),ez[t.type])&&this._model){if(this[ew])return void this._pendingActions.push(t);var n=e.silent;f.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&D.A.browser.weChat&&this._throttledZrFlush(),g.call(this,n),y.call(this,n)}},e.prototype.updateLabelLayout=function(){ep.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)return void this.id;var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===tD.e3&&t.states.emphasis?e.push("emphasis"):t.hoverState===tD.zX&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=tC.retrieveZInfo(t);e.eachRendered(function(t){return tC.traverseUpdateZ(t,n.z,n.zlevel),!0})}}function i(t,e){e.eachRendered(function(t){if(!tT.LR(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function r(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis&&!tT.LR(t)){if(t instanceof tk.Ay&&(0,tD.fz)(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}l=function(t){(0,ey.Q3)(t._model);var e=t._scheduler;e.restorePipelines(t._zr,t._model),e.prepareStageTasks(),u(t,!0),u(t,!1),e.plan()},u=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&o[u];if(!c){var h=(0,ee.CC)(t.type);(c=new(e?tw.A.getClass(h.main,h.sub):tS.A.getClass(h.sub))).init(n,s),o[u]=c,r.push(c),a.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},e||i.prepareView(c,t,n,s)}e?n.eachComponent(function(t,e){"series"!==t&&u(e)}):n.eachSeries(u);for(var l=0;l<r.length;){var c=r[l];c.__alive?l++:(e||c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),r.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},c=function(t,e,n,i,r){var o,a=t._model;if(a.setUpdatePayload(n),!i)return void(0,I.each)([].concat(t._componentsViews).concat(t._chartsViews),u);var s=P.dr(n,i,r),l=n.excludeSeriesId;function u(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}null!=l&&(o=(0,I.createHashMap)(),(0,I.each)(P.qB(l),function(t){var e=P.vS(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(s,function(e){if(!(o&&null!=o.get(e.id)))if((0,tD.T$)(n))if(e instanceof tb.A)n.type!==tD.h5||n.notBlur||e.get(["emphasis","disabled"])||(0,tD.lV)(e,n,t._api);else{var i=(0,tD.Tl)(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,a=i.dispatchers;n.type===tD.h5&&r&&!n.notBlur&&(0,tD.Du)(e.mainType,e.componentIndex,t._api),a&&(0,I.each)(a,function(t){n.type===tD.h5?(0,tD.HY)(t):(0,tD.SD)(t)})}else(0,tD.Lx)(n)&&e instanceof tb.A&&((0,tD.t6)(e,n,t._api),(0,tD.jA)(e),A(t))},t),a&&a.eachComponent(s,function(e){o&&null!=o.get(e.id)||u(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)},h={prepareAndUpdate:function(t){l(this),h.update.call(this,t,t&&{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){(0,ey.n$)(i),i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),ep.trigger("coordsys:aftercreate",i,r),s.performDataProcessorTasks(i,e),d(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e);var l=i.get("backgroundColor")||"transparent";o.setBackgroundColor(l);var u=i.get("darkMode");null!=u&&"auto"!==u&&o.setDarkMode(u),_(this,i,r,e,n),ep.trigger("afterupdate",i,r)}},updateTransform:function(t){var e=this,n=e._model,i=e._api;if(n){n.setUpdatePayload(t);var r=[];n.eachComponent(function(o,a){if(o!==ei.t7){var s=e.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,n,i,t);l&&l.update&&r.push(s)}else r.push(s)}});var o=(0,I.createHashMap)();n.eachSeries(function(r){var a=e._chartsMap[r.__viewId],s=r.pipelineContext;if(a.updateTransform&&!s.progressiveRender){var l=a.updateTransform(r,n,i,t);l&&l.update&&o.set(r.uid,1)}else o.set(r.uid,1)}),e._scheduler.performVisualTasks(n,t,{setDirty:!0,dirtyMap:o}),b(e,n,i,t,{},o),ep.trigger("afterupdate",n,i)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),tS.A.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),_(this,n,this._api,e,{}),ep.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries(function(t){t.getData().clearAllVisual()}),tS.A.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent(function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}}),i.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)}),ep.trigger("afterupdate",i,this._api))},updateLayout:function(t){h.update.call(this,t)}},p=function(t,e,n,i,r){if(t._disposed)return void t.id;for(var o,a=t._model,s=t._coordSysMgr.getCoordinateSystems(),l=P._e(a,n),u=0;u<s.length;u++){var c=s[u];if(c[e]&&null!=(o=c[e](a,l,i,r)))return o}},d=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})},f=function(t,e){var n,i=this,r=this.getModel(),o=t.type,a=t.escapeConnect,s=ez[o],u=(s.update||"update").split(":"),p=u.pop(),d=null!=u[0]&&(0,ee.CC)(u[0]);this[ew]=!0,T(this);var f=[t],g=!1;t.batch&&(g=!0,f=(0,I.map)(t.batch,function(e){return(e=(0,I.defaults)((0,I.extend)({},e),t)).batch=null,e}));var y=[],v=[],m=s.nonRefinedEventType,_=(0,tD.Lx)(t),x=(0,tD.T$)(t);if(x&&(0,tD.qR)(this._api),(0,I.each)(f,function(e){var o=s.action(e,r,i._api);if(s.refineEvent?v.push(o):n=o,(n=n||(0,I.extend)({},e)).type=m,y.push(n),x){var a=P.HB(t),l=a.queryOptionMap;c(i,p,e,a.mainTypeSpecified?l.keys()[0]:"series"),A(i)}else _?(c(i,p,e,"series"),A(i)):d&&c(i,p,e,d.main,d.sub)}),"none"!==p&&!x&&!_&&!d)try{this[eA]?(l(this),h.update.call(this,t),this[eA]=null):h[p].call(this,t)}catch(t){throw this[ew]=!1,t}if(n=g?{type:m,escapeConnect:a,batch:y}:y[0],this[ew]=!1,!e){var b=void 0;if(s.refineEvent){var w=s.refineEvent(v,t,r,this._api).eventContent;(0,I.assert)((0,I.isObject)(w)),(b=(0,I.defaults)({type:s.refinedEventType},w)).fromAction=t.type,b.fromActionPayload=t,b.escapeConnect=!0}var S=this._messageCenter;S.trigger(n.type,n),b&&S.trigger(b.type,b)}},g=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();f.call(this,n,t)}},y=function(t){t||this.trigger("updated")},v=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[eA]||e._scheduler.unfinished||e._pendingActions.length?t.refresh():e.trigger("finished")})},m=function(t,e){t.on("mouseover",function(t){var n=t.target,i=(0,eh.R)(n,tD.u6);i&&((0,tD._m)(i,t,e._api),A(e))}).on("mouseout",function(t){var n=t.target,i=(0,eh.R)(n,tD.u6);i&&((0,tD.Iz)(i,t,e._api),A(e))}).on("click",function(t){var n=t.target,i=(0,eh.R)(n,function(t){return null!=(0,tI.z)(t).dataIndex},!0);if(i){var r=i.selected?"unselect":"select",o=(0,tI.z)(i);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},_=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent(function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})}),i){var r,o,a=e.concat(n);(0,O.A)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,I.each)(a,function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)})}}(e),x(t,e,n,i,r),(0,I.each)(t._chartsViews,function(t){t.__alive=!1}),b(t,e,n,i,r),(0,I.each)(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},x=function(t,e,o,a,s,l){(0,I.each)(l||t._componentsViews,function(t){var s=t.__model;i(s,t),t.render(s,e,o,a),n(s,t),r(s,t)})},b=function(t,e,o,a,s,l){var u=t._scheduler;s=(0,I.extend)(s||{},{updatedSeries:e.getSeries()}),ep.trigger("series:beforeupdate",e,o,s);var c=!1;e.eachSeries(function(e){var n,r,o,s=t._chartsMap[e.__viewId];s.__alive=!0;var h=s.renderTask;u.updatePayload(h,a),i(e,s),l&&l.get(e.uid)&&h.dirty(),h.perform(u.getPerformArgs(h))&&(c=!0),s.group.silent=!!e.get("silent"),n=e,r=s,o=n.get("blendMode")||null,r.eachRendered(function(t){t.isGroup||(t.style.blend=o)}),(0,tD.jA)(e)}),u.unfinished=c||u.unfinished,ep.trigger("series:layoutlabels",e,o,s),ep.trigger("series:transition",e,o,s),e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];n(e,i),r(e,i)}),function(t,e){var n=t._zr;if("canvas"===n.painter.type){var i=n.storage,r=0;i.traverse(function(t){!t.isGroup&&r++});var o=r>(0,I.retrieve2)(e.get("hoverLayerThreshold"),H.hoverLayerThreshold)&&!D.A.node&&!D.A.worker;(t._usingTHL||o)&&(e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered(function(t){var e=t.states.emphasis;e&&e.hoverLayer!==tC.HOVER_LAYER_FOR_INCREMENTAL&&(e.hoverLayer=o?tC.HOVER_LAYER_FROM_THRESHOLD:tC.HOVER_LAYER_NO)})}}),t._usingTHL=o)}}(t,e),ep.trigger("series:afterupdate",e,o,s)},A=function(t){t[eM]=!0,t.getZr().wakeUp()},T=function(t){t[eS]=(t[eS]+1)%1e6},M=function(t){t[eM]&&(t.getZr().storage.traverse(function(t){tT.LR(t)||e(t)}),t[eM]=!1)},w=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,C.C6)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,tD.HY)(e,n),A(t)},n.prototype.leaveEmphasis=function(e,n){(0,tD.SD)(e,n),A(t)},n.prototype.enterBlur=function(e){(0,tD.QX)(e),A(t)},n.prototype.leaveBlur=function(e){(0,tD.JC)(e),A(t)},n.prototype.enterSelect=function(e){(0,tD.JI)(e),A(t)},n.prototype.leaveSelect=function(e){(0,tD.gd)(e),A(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n.prototype.getECUpdateCycleVersion=function(){return t[eS]},n.prototype.usingTHL=function(){return t._usingTHL},n}(Q.A))(t)},S=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][eC]=e}(0,I.each)(eN,function(n,i){t._messageCenter.on(i,function(n){if(eZ[t.group]&&0!==t[eC]&&(!n||!n.escapeConnect)){var i=t.makeActionFromEvent(n),r=[];(0,I.each)(eG,function(e){e!==t&&e.group===t.group&&r.push(e)}),e(r,0),(0,I.each)(r,function(t){1!==t[eC]&&t.dispatchAction(i)}),e(r,2)}})})}}(),e}(L.A),eR=eP.prototype;eR.on=ek("on"),eR.off=ek("off"),eR.one=function(t,e,n){var i=this;(0,es.aT)("ECharts#one is deprecated."),this.on.call(this,t,function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)},n)};var eB=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],ez={},eN={},eE={},eV=[],eF=[],eY=[],eH={},eW={},eG={},eZ={},eU=new Date-0,eX=new Date-0,ej="_echarts_instance_";function eq(t,e,n){var i=!(n&&n.ssr);if(i){var r=e0(t);if(r)return r}var o=new eP(t,e,n);return o.id="ec_"+eU++,eG[o.id]=o,i&&P.Bq(t,ej,o.id),S(o),ep.trigger("afterinit",o),o}function e$(t){if((0,I.isArray)(t)){var e=t;t=null,(0,I.each)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+eX++,(0,I.each)(e,function(e){e.group=t})}return eZ[t]=!0,t}function eQ(t){eZ[t]=!1}var eJ=eQ;function eK(t){(0,I.isString)(t)?t=eG[t]:t instanceof eP||(t=e0(t)),t instanceof eP&&!t.isDisposed()&&t.dispose()}function e0(t){return eG[P.D$(t,ej)]}function e1(t){return eG[t]}function e2(t,e){eH[t]=e}function e5(t){0>(0,I.indexOf)(eF,t)&&eF.push(t)}function e3(t,e){no(eV,t,e,2e3)}function e4(t){e8("afterinit",t)}function e6(t){e8("afterupdate",t)}function e8(t,e){ep.on(t,e)}function e9(t,e,n){function i(t){return t.toLowerCase()}(0,I.isFunction)(e)&&(n=e,e=""),(0,I.isObject)(t)?(r=t.type,l=t.event,a=t.update,s=t.publishNonRefinedEvent,n||(n=t.action),o=t.refineEvent):(r=t,l=e);var r,o,a,s,l=i(l||r),u=o?i(r):l;ez[r]||((0,I.assert)(eT.test(r)&&eT.test(l)),o&&(0,I.assert)(l!==r),ez[r]={actionType:r,refinedEventType:l,nonRefinedEventType:u,update:a,action:n,refineEvent:o},eE[l]=1,o&&s&&(eE[u]=1),eN[u]=r)}function e7(t,e){J.Ay.register(t,e)}function nt(t){var e=J.Ay.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function ne(t,e){(0,eg.m)(t,e)}function nn(t,e){no(eY,t,e,1e3,"layout",!0)}function ni(t,e){no(eY,t,e,3e3,"visual",!0)}var nr=[];function no(t,e,n,i,r,o){if(((0,I.isFunction)(e)||(0,I.isObject)(e))&&(n=e,e=i),!((0,I.indexOf)(nr,n)>=0)){nr.push(n);var a=tX.wrapStageHandler(n,r);a.__prio=e,a.__raw=n,t.push(a)}}function na(t,e){eW[t]=e}function ns(t){(0,ed.Gs)({createCanvas:t})}function nl(t,e,n){var i=(0,ef.v)("registerMap");i&&i(t,e,n)}function nu(t){var e=(0,ef.v)("getMap");return e&&e(t)}var nc=eu.v5;function nh(t,e,n,i){return{eventContent:{selected:(0,tD.mc)(n),isFromClick:e.isFromClick||!1}}}ni(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=tE(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=tV(t,i),l=o[s],u=(0,I.isFunction)(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=h,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||(0,I.isFunction)(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||(0,I.isFunction)(o.stroke)?h:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=(0,I.extend)({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}}),ni(4500,{createOnAllSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=tE(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){tF.option=n[i];var a=r(tF),s=t.ensureUniqueItemVisual(e,"style");(0,I.extend)(s,a),tF.option.decal&&(t.setItemVisual(e,"decal",tF.option.decal),tF.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),ni(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,I.createHashMap)();t.eachSeries(function(t){if(!t.isColorBySeries()){var n=t.type+"-"+t.getColorBy();tB(t).scope=e.get(n)||e.set(n,{})}}),t.eachSeries(function(t){if(!t.isColorBySeries()){var e=t.getRawData(),n={},i=t.getData(),r=tB(t).scope,o=t.visualStyleAccessPath||"itemStyle",a=tV(t,o);i.each(function(t){n[i.getRawIndex(t)]=t}),e.each(function(o){var s=n[o];if(i.getItemVisual(s,"colorFromPalette")){var l=i.ensureUniqueItemVisual(s,"style"),u=e.getName(o)||o+"",c=e.count();l[a]=t.getColorFromPalette(u,r,c)}})}})}}),ni(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a<er.length;a++){var s=er[a],l=t.get(s);(0,I.isFunction)(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual((0,I.extend)({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=(0,I.keys)(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}}),ni(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<eo.length;i++){var r=eo[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}}),ni(7e3,em),e5(tm),e3(900,tx),eW.default=function(t,e){e=e||{},I.defaults(e,{text:"loading",textColor:N.A.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:N.A.color.theme["0"],spinnerRadius:10,lineWidth:5,zlevel:0});var n,i=new tY.A,r=new tA.A({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(r);var o=new tH.Ay({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new tA.A({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return i.add(a),e.showSpinner&&((n=new tW.A({shape:{startAngle:-tG/2,endAngle:-tG/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*tG/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*tG/2}).delay(300).start("circularInOut"),i.add(n)),i.resize=function(){var i=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner&&i?0:5+i/2)+(e.showSpinner?0:i/2)+(i?0:s),u=t.getHeight()/2;e.showSpinner&&n.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i},e9({type:tD.h5,event:tD.h5,update:tD.h5},I.noop),e9({type:tD.PW,event:tD.PW,update:tD.PW},I.noop),e9({type:tD.Lv,event:tD.gM,update:tD.Lv,action:I.noop,refineEvent:nh,publishNonRefinedEvent:!0}),e9({type:tD.U2,event:tD.gM,update:tD.U2,action:I.noop,refineEvent:nh,publishNonRefinedEvent:!0}),e9({type:tD.Q6,event:tD.gM,update:tD.Q6,action:I.noop,refineEvent:nh,publishNonRefinedEvent:!0}),eH.default={},eH.dark=et;var np={}},jQ(t,e,n){var i={};n.d(e,{},{m:function(t,e){i[t]=e},v:function(t){return i[t]}})},o03(t,e,n){n.d(e,{Lv:()=>l,A$:()=>c,pr:()=>p,A4:()=>h,E:()=>u});var i=n("Sk"),r=n("E3"),o=n("iY"),a={},s={},l=r.A.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function u(t,e){s[t=t.toUpperCase()]=new i.A(e),a[t]=e}function c(t){if(!(0,o.isString)(t))return(0,o.merge)((0,o.clone)(t),(0,o.clone)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.clone)(e):(0,o.merge)((0,o.clone)(e),(0,o.clone)(a.EN),!1)}function h(t){return s[t]}function p(){return s.EN}u("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),u("ZH",{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}})},Hq(t,e,n){var i=n("iY"),r=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n,r,o,a=this._upstream,s=t&&t.skip;if(this._dirty&&a){var l=this.context;l.data=l.outputData=a.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!s&&(r=this._plan(this.context));var u=((e=this._modBy)>=1||(e=1),e),c=this._modDataCount||0,h=((n=t&&t.modBy)>=1||(n=1),n),p=t&&t.modDataCount||0;(u!==h||c!==p)&&(r="reset"),(this._dirty||"reset"===r)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=h,this._modDataCount=p;var d=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,g=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!s&&(o||f<g)){var y=this._progress;if((0,i.isArray)(y))for(var v=0;v<y.length;v++)this._doProgress(y[v],f,g,h,p);else this._doProgress(y,f,g,h,p)}this._dueIndex=g;var m=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){o.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:o.next},this.context)},t.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,i.isArray)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,n,r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),o=function(){var t,e,n,i,r,o={reset:function(l,u,c,h){e=l,t=u,n=c,r=Math.ceil((i=h)/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}();n.d(e,{},{U:function(t){return new r(t)}})},YQ(t,e){function n(t){return null==t?0:t.length||1}function i(t){return t}e.A=function(){function t(t,e,n,r,o,a){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,i={},r=Array(t.length),o=Array(e.length);this._initIndexMap(t,null,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=r[a],l=i[s],u=n(l);if(u>1){var c=l.shift();1===l.length&&(i[s]=l[0]),this._update&&this._update(c,a)}else 1===u?(i[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,i)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,i={},r={},o=[],a=[];this._initIndexMap(t,i,o,"_oldKeyGetter"),this._initIndexMap(e,r,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var l=o[s],u=i[l],c=r[l],h=n(u),p=n(c);if(h>1&&1===p)this._updateManyToOne&&this._updateManyToOne(c,u),r[l]=null;else if(1===h&&p>1)this._updateOneToMany&&this._updateOneToMany(c,u),r[l]=null;else if(1===h&&1===p)this._update&&this._update(c,u),r[l]=null;else if(h>1&&p>1)this._updateManyToMany&&this._updateManyToMany(c,u),r[l]=null;else if(h>1)for(var d=0;d<h;d++)this._remove&&this._remove(u[d]);else this._remove&&this._remove(u)}this._performRestAdd(a,r)},t.prototype._performRestAdd=function(t,e){for(var i=0;i<t.length;i++){var r=t[i],o=e[r],a=n(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);e[r]=null}},t.prototype._initIndexMap=function(t,e,i,r){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[r](t[a],a);if(o||(i[a]=s),e){var l=e[s],u=n(l);0===u?(e[s]=a,o&&i.push(s)):1===u?e[s]=[l,a]:l.push(a)}}},t}()},FX(t,e,n){var i,r=n("iY"),o=n("No"),a=n("Fy4"),s=n("oa"),l=n("xN"),u=n("MB"),c=typeof Uint32Array===o.nk?Array:Uint32Array,h=typeof Uint16Array===o.nk?Array:Uint16Array,p=typeof Int32Array===o.nk?Array:Int32Array,d=typeof Float64Array===o.nk?Array:Float64Array,f={float:d,int:p,ordinal:Array,number:Array,time:d};function g(t){return t>65535?c:h}function y(t,e,n,i,r){var o=f[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}e.Ay=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,r.createHashMap)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),a=this.defaultDimValueGetter=i[o.sourceFormat];this._dimValueGetter=n||a,this._rawExtent=[],(0,s.O0)(o),this._dimensions=(0,r.map)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new f[e||"float"](this._rawCount),this._rawExtent[r]=(0,l.X1)(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=(0,l.X1)());for(var s=r[t],u=o;u<a;u++){var c=n[u]=e.parseAndCollect(n[u]);isNaN(c)||(s[0]=Math.min(c,s[0]),s[1]=Math.max(c,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<o;u++){var c=r[u];y(n,u,c.type,l,!0)}for(var h=[],p=s;p<l;p++)for(var d=p-s,f=0;f<o;f++){var c=r[f],g=i.arrayRows.call(this,t[d]||h,c.property,d,f);n[f][p]=g;var v=a[f];g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,u=this._rawExtent,c=(0,r.map)(a,function(t){return t.property}),h=0;h<s;h++){var p=a[h];u[h]||(u[h]=(0,l.X1)()),y(o,h,p.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,u);else for(var d=[],f=t;f<e;f++){d=i.getItem(f,d);for(var g=0;g<s;g++){var v=o[g],m=this._dimValueGetter(d,c[g],f,g);v[f]=m;var _=u[g];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return 0/0;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:0/0},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;for(var r=0,o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return 0/0;var n=this._chunks[t];return n?n[e]:0/0},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)}),(0,u.Y6)(e);var n=this.count();return 0===n?0:n%2==1?e[(n-1)/2]:(e[n/2]+e[n/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return -1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return -1},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{var n=g(this._rawCount);t=new n(this.count());for(var r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(g(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],u=n._chunks,c=0;c<i;c++){var h=void 0,p=n.getRawIndex(c);if(0===a)h=e(c);else if(1===a)h=e(u[l][p],c);else{for(var d=0;d<a;d++)o[d]=u[t[d]][p];o[d]=c,h=e.apply(null,o)}h&&(r[s++]=p)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=(0,r.keys)(t),o=i.length;if(!o)return this;var a=e.count(),s=new(g(e._rawCount))(a),l=0,u=i[0],c=t[u][0],h=t[u][1],p=e._chunks,d=!1;if(!e._indices){var f=0;if(1===o){for(var y=p[i[0]],v=0;v<n;v++){var m=y[v];(m>=c&&m<=h||isNaN(m))&&(s[l++]=f),f++}d=!0}else if(2===o){for(var y=p[i[0]],_=p[i[1]],x=t[i[1]][0],b=t[i[1]][1],v=0;v<n;v++){var m=y[v],w=_[v];(m>=c&&m<=h||isNaN(m))&&(w>=x&&w<=b||isNaN(w))&&(s[l++]=f),f++}d=!0}}if(!d)if(1===o)for(var v=0;v<a;v++){var S=e.getRawIndex(v),m=p[i[0]][S];(m>=c&&m<=h||isNaN(m))&&(s[l++]=S)}else for(var v=0;v<a;v++){for(var A=!0,S=e.getRawIndex(v),M=0;M<o;M++){var T=i[M],m=p[T][S];(m<t[T][0]||m>t[T][1])&&(A=!1)}A&&(s[l++]=e.getRawIndex(v))}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],u=t._rawExtent,c=0;c<e.length;c++)u[e[c]]=(0,l.X1)();for(var h=0;h<a;h++){for(var p=t.getRawIndex(h),d=0;d<o;d++)s[d]=i[e[d]][p];s[o]=h;var f=n&&n.apply(null,s);if(null!=f){"object"!=typeof f&&(r[0]=f,f=r);for(var c=0;c<f.length;c++){var g=e[c],y=f[c],v=u[g],m=i[g];m&&(m[p]=y),y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),h=new(g(this._rawCount))(Math.min((Math.ceil(s/u)+2)*2,s));h[l++]=c;for(var p=1;p<s-1;p+=u){for(var d=Math.min(p+u,s-1),f=Math.min(p+2*u,s),y=(f+d)/2,v=0,m=d;m<f;m++){var _=this.getRawIndex(m),x=a[_];isNaN(x)||(v+=x)}v/=f-d;var b=p,w=Math.min(p+u,s),S=p-1,A=a[c];n=-1,r=b;for(var M=-1,T=0,m=b;m<w;m++){var _=this.getRawIndex(m),x=a[_];if(isNaN(x)){T++,M<0&&(M=_);continue}(i=Math.abs((S-y)*(x-A)-(S-m)*(v-A)))>n&&(n=i,r=_)}T>0&&T<w-b&&(h[l++]=Math.min(M,r),r=Math.max(M,r)),h[l++]=r,c=r}return h[l++]=this.getRawIndex(s-1),o._count=l,o._indices=h,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new(g(this._rawCount))(2*Math.ceil(a/r)),l=0,u=0;u<a;u+=r){var c=u,h=o[this.getRawIndex(c)],p=u,d=o[this.getRawIndex(p)],f=r;u+r>a&&(f=a-u);for(var y=0;y<f;y++){var v=o[this.getRawIndex(u+y)];v<h&&(h=v,c=u+y),v>d&&(d=v,p=u+y)}var m=this.getRawIndex(c),_=this.getRawIndex(p);c<p?(s[l++]=m,s[l++]=_):(s[l++]=_,s[l++]=m)}return n._count=l,n._indices=s,n._updateGetRawIdx(),n},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),u=o[t],c=this.count(),h=r._rawExtent[t]=(0,l.X1)(),p=new(g(this._rawCount))(Math.ceil(c/s)),d=0,f=0;f<c;f+=s){s>c-f&&(a.length=s=c-f);for(var y=0;y<s;y++){var v=this.getRawIndex(f+y);a[y]=u[v]}var m=n(a),_=this.getRawIndex(Math.min(f+i(a,m)||0,c-1));u[_]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[1]=m),p[d++]=_}return r._count=d,r._indices=p,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t,e){var n=this._chunks[t],i=(0,l.X1)();if(!n)return i;var r=this.count();if(!this._indices&&!e)return this._rawExtent[t].slice();var o=this._extent,s=o[t]||(o[t]={}),u=(0,a.$6)(e),c=u.key,h=s[c];if(h)return h.slice();for(var p=i[0],d=i[1],f=0;f<r;f++){var g=n[this.getRawIndex(f)];(!e||(0,a.V7)(u,g))&&(g<p&&(p=g),g>d&&(d=g))}return s[c]=[p,d]},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,o=this._chunks,a=e&&(0,r.reduce)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else i._chunks=o;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,r.clone)(this._extent),t._rawExtent=(0,r.clone)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return(0,a.Pn)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,a.Pn)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return(0,a.Pn)(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),n.d(e,{},{A_:p})},di(t,e,n){var i=n("iY"),r=0;function o(t){return(0,i.isObject)(t)&&null!=t.value?t.value:t+""}e.A=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r,this._onCollect=t.onCollect}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&(0,i.map)(r,o);return new t({categories:a,needCollect:!a,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!(0,i.isString)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,this._onCollect&&this._onCollect(t,e),e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e),this._onCollect&&this._onCollect(t,e)):e=0/0),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,i.createHashMap)(this.categories))},t}()},oo(t,e,n){var i,r,o,a,s,l,u,c=n("iY"),h=n("Sk"),p=n("YQ"),d=n("iL"),f=n("B6"),g=n("MC"),y=n("No"),v=n("xN"),m=n("FL"),_=n("oa"),x=n("FX"),b=n("Od"),w=c.isObject,S=c.map,A="u"<typeof Int32Array?Array:Int32Array,M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],T=["_approximateExtent"];e.A=function(){function t(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var n,i=!1;(0,b.fg)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var h=n[u],p=c.isString(h)?new g.A({name:h}):h instanceof g.A?h:new g.A(h),d=p.name;p.type=p.type||"float",p.coordDim||(p.coordDim=d,p.coordDimIndex=0);var f=p.otherDims=p.otherDims||{};o.push(d),r[d]=p,null!=l[d]&&(s=!0),p.createInvertedIndices&&(a[d]=[]),i&&(p.storeDimIndex=u),0===f.itemName&&(this._nameDimIdx=p.storeDimIndex),0===f.itemId&&(this._idDimIdx=p.storeDimIndex)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var y=this._dimIdxToName=c.createHashMap();c.each(o,function(t){y.set(r[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);if(i)return i.name},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return -1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(c.isNumber(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||0>this._schema.getSourceDimensionIndex(t)))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof x.Ay&&(i=t),!i){var o=this.dimensions,a=(0,_.tP)(t)||c.isArrayLike(t)?new d.d1(t,o.length):t;i=new x.Ay;var s=S(o,function(t){return{type:r._dimInfos[t].type,property:t}});i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=(0,f.l)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&u(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==y.XO&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList;if(n.getSource().sourceFormat===y.mK&&!n.pure)for(var a=[],s=t;s<e;s++){var l=n.getItem(s,a);if(!this.hasItemOption&&(0,v.zu)(l)&&(this.hasItemOption=!0),l){var c=l.name;null==r[s]&&null!=c&&(r[s]=(0,v.vS)(c,null));var h=l.id;null==o[s]&&null!=h&&(o[s]=(0,v.vS)(h,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)u(this,s);i(this)}},t.prototype.getApproximateExtent=function(t,e){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t),e)},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){w(t)?c.extend(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return r(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t),null)},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return c.isArray(t)?i.getValues(S(t,function(t){return n._getStoreDimIndex(t)}),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return -1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t],i=n&&n[e];return null==i||isNaN(i)?-1:i},t.prototype.each=function(t,e,n){c.isFunction(t)&&(n=e,e=t,t=[]);var i=n||this,r=S(a(t),this._getStoreDimIndex,this);this._store.each(r,i?c.bind(e,i):e)},t.prototype.filterSelf=function(t,e,n){c.isFunction(t)&&(n=e,e=t,t=[]);var i=n||this,r=S(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?c.bind(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=c.keys(t),r=[];return c.each(i,function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){c.isFunction(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=S(a(t),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,r?c.bind(e,r):e),s},t.prototype.modify=function(t,e,n,i){var r=n||i||this,o=S(a(t),this._getStoreDimIndex,this);this._store.modify(o,r?c.bind(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=l(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.minmaxDownSample=function(t,e){var n=l(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},t.prototype.lttbDownSample=function(t,e){var n=l(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new h.A(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new p.A(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return r(t,e)},function(t){return r(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},w(t)?c.extend(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),c.isArray(r)?r=r.slice():w(r)&&(r=c.extend({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,w(e)?c.extend(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){w(t)?c.extend(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?c.extend(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,m.a)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){c.each(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:S(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];c.isFunction(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(c.slice(arguments)))})},t.internalField=void(i=function(t){var e=t._invertedIndicesMap;c.each(e,function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new A(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(var s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}})},o=function(t,e,n){return(0,v.vS)(t._getCategory(e,n),null)},r=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},a=function(t){return c.isArray(t)||(t=null!=t?[t]:[]),t},l=function(e){var n=new t(e._schema?e._schema:S(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){c.each(M.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,c.each(T,function(n){t[n]=c.clone(e[n])}),t._calculationInfo=c.extend({},e._calculationInfo)},u=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,a=t._idDimIdx,s=n[e],l=i[e];if(null==s&&null!=r&&(n[e]=s=o(t,r,e)),null==l&&null!=a&&(i[e]=l=o(t,a,e)),null==l&&null!=s){var u=t._nameRepeatCount,c=u[s]=(u[s]||0)+1;l=s,c>1&&(l+="__ec__"+c),i[e]=l}}),t}()},MC(t,e,n){var i=n("iY");e.A=function(t){this.otherDims={},null!=t&&i.extend(this,t)}},oa(t,e,n){var i=n("iY"),r=n("No"),o=n("xN"),a=n("rk"),s=function(t){this.data=t.data||(t.sourceFormat===r.t1?{}:[]),this.sourceFormat=t.sourceFormat||r.vm,this.seriesLayoutBy=t.seriesLayoutBy||r.i_,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&(0,a.PU)(this,n)===a.sc.Must&&(i.type="ordinal")}};function l(t){var e=r.vm;if((0,i.isTypedArray)(t))e=r.XO;else if((0,i.isArray)(t)){0===t.length&&(e=r.Km);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,i.isArray)(a)||(0,i.isTypedArray)(a)){e=r.Km;break}else if((0,i.isObject)(a)){e=r.Wk;break}}}}else if((0,i.isObject)(t)){for(var s in t)if((0,i.hasOwn)(t,s)&&(0,i.isArrayLike)(t[s])){e=r.t1;break}}return e}function u(t){if(t){var e=(0,i.createHashMap)();return(0,i.map)(t,function(t,n){var r={name:(t=(0,i.isObject)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r})}}function c(t,e,n,i){if(e===r.oC)for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else for(var a=n[0]||[],o=0;o<a.length&&o<i;o++)t(a[o],o)}n.d(e,{},{AF:function(t){return new s({data:t,sourceFormat:(0,i.isTypedArray)(t)?r.XO:r.mK})},BE:function(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,i.clone)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})},O0:function(t){var e=t.sourceFormat;return e===r.Wk||e===r.t1},gV:function(t,e,n){n=n||l(t);var a=e.seriesLayoutBy,h=function(t,e,n,a,s){if(!t)return{dimensionsDefine:u(s),startIndex:h,dimensionsDetectedCount:l};if(e===r.Km){var l,h;"auto"===a||null==a?c(function(t){null!=t&&"-"!==t&&((0,i.isString)(t)?null==h&&(h=1):h=0)},n,t,10):h=(0,i.isNumber)(a)?a:+!!a,s||1!==h||(s=[],c(function(t,e){s[e]=null!=t?t+"":""},n,t,1/0)),l=s?s.length:n===r.oC?t.length:t[0]?t[0].length:null}else if(e===r.Wk)s||(s=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e)return(0,i.keys)(e)}(t));else if(e===r.t1)s||(s=[],(0,i.each)(t,function(t,e){s.push(e)}));else if(e===r.mK){var p=(0,o.vj)(t[0]);l=(0,i.isArray)(p)&&p.length||1}else r.XO;return{startIndex:h,dimensionsDefine:u(s),dimensionsDetectedCount:l}}(t,n,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:h.dimensionsDefine,startIndex:h.startIndex,dimensionsDetectedCount:h.dimensionsDetectedCount,metaRawOption:(0,i.clone)(e)})},tP:function(t){return t instanceof s},wZ:l})},Od(t,e,n){var i=n("iY"),r=n("xN"),o=n("oa"),a=(0,r.$r)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=c(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,i.retrieve2)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.O0)(this.source),n=!h(t),i="",r=[],a=0,l=0;a<t;a++){var u=void 0,c=void 0,p=void 0,d=this.dimensions[l];if(d&&d.storeDimIndex===a)u=e?d.name:null,c=d.type,p=d.ordinalMeta,l++;else{var f=this.getSourceDimension(a);f&&(u=e?f.name:null,c=f.type)}r.push({property:u,type:c,ordinalMeta:p}),!e||null==u||d&&d.isCalculationCoord||(i+=n?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),i+="$",i+=s[c]||"f",p&&(i+=p.uid),i+="$"}var g=this.source;return{dimensions:r,hash:[g.seriesLayoutBy,g.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function u(t){for(var e=(0,i.createHashMap)(),n=0;n<(t||[]).length;n++){var r=t[n],o=(0,i.isObject)(r)?r.name:r;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function c(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=u(t.dimensionsDefine))}function h(t){return t>30}n.d(e,{},{Tc:l,eS:h,fg:function(t){return t instanceof l},io:u,j_:c})},CG(t,e,n){var i=n("No"),r=n("MC"),o=n("iY"),a=n("oa"),s=n("FX"),l=n("xN"),u=n("rk"),c=n("Od");function h(t,e){(0,a.tP)(t)||(t=(0,a.AF)(t));var n,h,p,d,f,g=(e=e||{}).coordDimensions||[],y=e.dimensionsDefine||t.dimensionsDefine||[],v=(0,o.createHashMap)(),m=[],_=(n=t,h=g,p=y,d=e.dimensionsCount,f=Math.max(n.dimensionsDetectedCount||1,h.length,p.length,d||0),(0,o.each)(h,function(t){var e;(0,o.isObject)(t)&&(e=t.dimsDef)&&(f=Math.max(f,e.length))}),f),x=e.canOmitUnusedDimensions&&(0,c.eS)(_),b=y===t.dimensionsDefine,w=b?(0,c.j_)(t):(0,c.io)(y),S=e.encodeDefine;!S&&e.encodeDefaulter&&(S=e.encodeDefaulter(t,_));for(var A=(0,o.createHashMap)(S),M=new s.A_(_),T=0;T<M.length;T++)M[T]=-1;function C(t){var e=M[t];if(e<0){var n=y[t],i=(0,o.isObject)(n)?n:{name:n},a=new r.A,s=i.name;null!=s&&null!=w.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var l=m.length;return M[t]=l,a.storeDimIndex=t,m.push(a),a}return m[e]}if(!x)for(var T=0;T<_;T++)C(T);A.each(function(t,e){var n=(0,l.qB)(t).slice();if(1===n.length&&!(0,o.isString)(n[0])&&n[0]<0)return void A.set(e,!1);var i=A.set(e,[]);(0,o.each)(n,function(t,n){var r=(0,o.isString)(t)?w.get(t):t;null!=r&&r<_&&(i[n]=r,I(C(r),e,n))})});var k=0;function I(t,e,n){null!=i.Pe.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,v.set(e,!0))}(0,o.each)(g,function(t){if((0,o.isString)(t))r=t,i={};else{var e,n,i,r=(i=t).name,a=i.ordinalMeta;i.ordinalMeta=null,(i=(0,o.extend)({},i)).ordinalMeta=a,e=i.dimsDef,n=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=A.get(r);if(!1!==s){if(!(s=(0,l.qB)(s)).length)for(var u=0;u<(e&&e.length||1);u++){for(;k<_&&null!=C(k).coordDim;)k++;k<_&&s.push(k++)}(0,o.each)(s,function(t,a){var s=C(t);if(b&&null!=i.type&&(s.type=i.type),I((0,o.defaults)(s,i),r,a),null==s.name&&e){var l=e[a];(0,o.isObject)(l)||(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}n&&(0,o.defaults)(s.otherDims,n)})}});var D=e.generateCoord,O=e.generateCoordCount,L=null!=O;O=D?O||1:0;var P=D||"value";function R(t){null==t.name&&(t.name=t.coordDim)}if(x)(0,o.each)(m,function(t){R(t)}),m.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var B=0;B<_;B++){var z=C(B);null==z.coordDim&&(z.coordDim=function(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}(P,v,L),z.coordDimIndex=0,(!D||O<=0)&&(z.isExtraCoord=!0),O--),R(z),null==z.type&&((0,u.PU)(t,B)===u.sc.Must||z.isExtraCoord&&(null!=z.otherDims.itemName||null!=z.otherDims.seriesName))&&(z.type="ordinal")}return(0,l.R3)(m,function(t){return t.name},function(t,e){e>0&&(t.name=t.name+(e-1))}),new c.Tc({source:t,dimensions:m,fullDimensionCount:_,dimensionOmitted:x})}n.d(e,{},{A:h,M:function(t,e){return h(t,e).dimensions}})},iL(t,e,n){var i,r,o,a,s,l,u=n("iY"),c=n("xN"),h=n("oa"),p=n("No"),d=n("nXY"),f=function(){var t;function e(t,e){var n=(0,h.tP)(t)?t:(0,h.AF)(t);this._source=n;var i=this._data=n.data,r=n.sourceFormat;n.seriesLayoutBy,r===p.XO&&(this._offset=0,this._dimSize=e,this._data=i),l(this,i,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,e){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=void((t=e.prototype).pure=!1,t.persistent=!0),e.internalField=function(){l=function(t,r,o){var a=o.sourceFormat,l=o.seriesLayoutBy,c=o.startIndex,h=o.dimensionsDefine,d=s[M(a,l)];if((0,u.extend)(t,d),a===p.XO)t.getItem=e,t.count=i,t.fillStorage=n;else{var f=m(a,l);t.getItem=(0,u.bind)(f,null,r,c,h);var g=b(a,l);t.count=(0,u.bind)(g,null,r,c,h)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,h=n[a],p=0;p<c;p++){var d=r[p*o+a];h[t+p]=d,d<l&&(l=d),d>u&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[p.Km+"_"+p.i_]={pure:!0,appendData:r},t[p.Km+"_"+p.oC]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[p.Wk]={pure:!0,appendData:r},t[p.t1]={pure:!0,appendData:function(t){var e=this._data;(0,u.each)(t,function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])})}},t[p.mK]={appendData:r},t[p.XO]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},s=t}(),e}(),g=function(t){(0,u.isArray)(t)||(0,d.z3)("series.data or dataset.source must be an array.")};(i={})[p.Km+"_"+p.i_]=g,i[p.Km+"_"+p.oC]=g,i[p.Wk]=g,i[p.t1]=function(t,e){for(var n=0;n<e.length;n++)null==e[n].name&&(0,d.z3)("dimension name must not be null/undefined.")},i[p.mK]=g;var y=function(t,e,n,i){return t[i]},v=((r={})[p.Km+"_"+p.i_]=function(t,e,n,i){return t[i+e]},r[p.Km+"_"+p.oC]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[i]:null}return o},r[p.Wk]=y,r[p.t1]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=n[a].name,l=null!=s?t[s]:null;o[a]=l?l[i]:null}return o},r[p.mK]=y,r);function m(t,e){return v[M(t,e)]}var _=function(t,e,n){return t.length},x=((o={})[p.Km+"_"+p.i_]=function(t,e,n){return Math.max(0,t.length-e)},o[p.Km+"_"+p.oC]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},o[p.Wk]=_,o[p.t1]=function(t,e,n){var i=n[0].name,r=null!=i?t[i]:null;return r?r.length:0},o[p.mK]=_,o);function b(t,e){return x[M(t,e)]}var w=function(t,e,n){return t[e]},S=((a={})[p.Km]=w,a[p.Wk]=function(t,e,n){return t[n]},a[p.t1]=w,a[p.mK]=function(t,e,n){var i=(0,c.vj)(t);return i instanceof Array?i[e]:i},a[p.XO]=w,a);function A(t){return S[t]}function M(t,e){return t===p.Km?t+"_"+e:t}n.d(e,{},{Kd:b,QE:function(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return A(o)(i,a,s)}var l=i;return o===p.mK&&(l=(0,c.vj)(i)),l}}},d1:f,sC:m,uQ:A})},pE(t,e,n){var i=n("iY"),r=n("Od");function o(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}n.d(e,{},{iJ:function(t,e,n){var o,a,s,l,u,c,h,p,d=(n=n||{}).byIndex,f=n.stackedCoordDimension;(o=e,(0,r.fg)(o.schema))?(a=(s=e.schema).dimensions,l=e.store):a=e;var g=!!(t&&t.get("stack")),y=!0;function v(t){return"ordinal"!==t.type&&"time"!==t.type}if((0,i.each)(a,function(t,e){(0,i.isString)(t)&&(a[e]=t={name:t}),v(t)||(y=!1)}),(0,i.each)(a,function(t,e){g&&!t.isExtraCoord&&(d||u||!t.ordinalMeta||(u=t),!c&&v(t)&&(!y||"x"!==t.coordDim&&"angle"!==t.coordDim)&&(!f||f===t.coordDim)&&(c=t))}),!c||d||u||(d=!0),c){h="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var m=c.coordDim,_=c.type,x=0;(0,i.each)(a,function(t){t.coordDim===m&&x++});var b={name:h,coordDim:m,coordDimIndex:x,type:_,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},w={name:p,coordDim:p,coordDimIndex:x+1,type:_,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(b.storeDimIndex=l.ensureCalculationDimension(p,_),w.storeDimIndex=l.ensureCalculationDimension(h,_)),s.appendCalculationDimension(b),s.appendCalculationDimension(w)):(a.push(b),a.push(w))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:d,stackedOverDimension:p,stackResultDimension:h}},me:function(t,e){return o(t,e)?t.getCalculationInfo("stackResultDimension"):e},sJ:o})},Fy4(t,e,n){var i=n("MB"),r=n("iY"),o=n("nXY"),a=(0,r.createHashMap)({number:function(t){return parseFloat(t)},time:function(t){return+(0,i._U)(t)},trim:function(t){return(0,r.isString)(t)?(0,r.trim)(t):t}}),s={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},l=function(){function t(t,e){(0,r.isNumber)(e)||(0,o.$8)(""),this._opFn=s[t],this._rvalFloat=(0,i.Sm)(e)}return t.prototype.evaluate=function(t){return(0,r.isNumber)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,i.Sm)(t),this._rvalFloat)},t}(),u=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=(0,r.isNumber)(t)?t:(0,i.Sm)(t),o=(0,r.isNumber)(e)?e:(0,i.Sm)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,r.isString)(t),u=(0,r.isString)(e);l&&(n=u?t:0),u&&(o=l?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}(),c=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.Sm)(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n!==this._rvalTypeof&&("number"===n||"number"===this._rvalTypeof)&&(e=(0,i.Sm)(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();n.d(e,{},{$6:function(t){var e="",n=-1/0,i=-1/0,r=1/0,o=1/0;return t&&(null!=t.g&&(e+="G"+t.g,n=t.g),null!=t.ge&&(e+="GE"+t.ge,i=t.ge),null!=t.l&&(e+="L"+t.l,r=t.l),null!=t.le&&(e+="LE"+t.le,o=t.le)),{key:e,g:n,ge:i,l:r,le:o}},Fl:u,Pn:function(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,r.isNumber)(t)||null==t||"-"===t||(t=+(0,i._U)(t)),null==t||""===t?0/0:Number(t))},V7:function(t,e){return e>t.g&&e>=t.ge&&e<t.l&&e<=t.le},zC:function(t){return a.get(t)},zs:function(t,e){return"eq"===t||"ne"===t?new c("eq"===t,e):(0,r.hasOwn)(s,t)?new l(t,e):null}})},B6(t,e,n){var i=n("iY"),r=n("No"),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}n.d(e,{},{B:function(t){return"category"===t?"ordinal":"time"===t?"time":"float"},l:function(t,e){var n={},s=n.encode={},l=(0,i.createHashMap)(),u=[],c=[],h={};(0,i.each)(t.dimensions,function(e){var n=t.getDimensionInfo(e),i=n.coordDim;if(i){var o,p=n.coordDimIndex;a(s,i)[p]=e,n.isExtraCoord||(l.set(i,1),"ordinal"!==(o=n.type)&&"time"!==o&&(u[0]=e),a(h,i)[p]=t.getDimensionIndex(n.name)),n.defaultTooltip&&c.push(e)}r.Pe.each(function(t,e){var i=a(s,e),r=n.otherDims[e];null!=r&&!1!==r&&(i[r]=n.name)})});var p=[],d={};l.each(function(t,e){var n=s[e];d[e]=n[0],p=p.concat(n)}),n.dataDimsOnCoord=p,n.dataDimIndicesOnCoord=(0,i.map)(p,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=d;var f=s.label;f&&f.length&&(u=f.slice());var g=s.tooltip;return g&&g.length?c=g.slice():c.length||(c=u.slice()),s.defaultedLabel=u,s.defaultedTooltip=c,n.userOutput=new o(h,e),n}})},rk(t,e,n){var i=n("xN"),r=n("iY"),o=n("No"),a={Must:1,Might:2,Not:3},s=(0,i.$r)();function l(t){if(!t.get("data",!0))return(0,i.JO)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i.US).models[0]}function u(t,e,n,s,l,u){var c,h,p;if((0,r.isTypedArray)(t))return a.Not;if(s){var d=s[u];(0,r.isObject)(d)?(h=d.name,p=d.type):(0,r.isString)(d)&&(h=d)}if(null!=p)return"ordinal"===p?a.Must:a.Not;if(e===o.Km)if(n===o.oC){for(var f=t[u],g=0;g<(f||[]).length&&g<5;g++)if(null!=(c=_(f[l+g])))return c}else for(var g=0;g<t.length&&g<5;g++){var y=t[l+g];if(y&&null!=(c=_(y[u])))return c}else if(e===o.Wk){if(!h)return a.Not;for(var g=0;g<t.length&&g<5;g++){var v=t[g];if(v&&null!=(c=_(v[h])))return c}}else if(e===o.t1){if(!h)return a.Not;var f=t[h];if(!f||(0,r.isTypedArray)(f))return a.Not;for(var g=0;g<f.length&&g<5;g++)if(null!=(c=_(f[g])))return c}else if(e===o.mK)for(var g=0;g<t.length&&g<5;g++){var v=t[g],m=(0,i.vj)(v);if(!(0,r.isArray)(m))return a.Not;if(null!=(c=_(m[u])))return c}function _(t){var e=(0,r.isString)(t);return null!=t&&isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}n.d(e,{},{G9:l,Gt:function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,i.JO)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i.US).models:[]},OC:function(t,e,n){var i,o,a={},u=l(e);if(!u||!t)return a;var c=[],h=[],p=s(e.ecModel).datasetMap,d=u.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,r.each)(t,function(e,n){var s=(0,r.isObject)(e)?e:t[n]={name:e};"ordinal"===s.type&&null==i&&(i=n,o=y(s)),a[s.name]=[]});var f=p.get(d)||p.set(d,{categoryWayDim:o,valueWayDim:0});function g(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,r.each)(t,function(t,e){var n=t.name,r=y(t);if(null==i){var o=f.valueWayDim;g(a[n],o,r),g(h,o,r),f.valueWayDim+=r}else if(i===e)g(a[n],0,r),g(c,0,r);else{var o=f.categoryWayDim;g(a[n],o,r),g(h,o,r),f.categoryWayDim+=r}}),c.length&&(a.itemName=c),h.length&&(a.seriesName=h),a},PU:function(t,e){return u(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)},ln:function(t,e,n){var i,s={};if(!l(t))return s;var c=e.sourceFormat,h=e.dimensionsDefine;(c===o.Wk||c===o.t1)&&(0,r.each)(h,function(t,e){((0,r.isObject)(t)?t.name:t)==="name"&&(i=e)});var p=function(){for(var t={},r={},o=[],s=0,l=Math.min(5,n);s<l;s++){var p=u(e.data,c,e.seriesLayoutBy,h,e.startIndex,s);o.push(p);var d=p===a.Not;if(d&&null==t.v&&s!==i&&(t.v=s),null!=t.n&&t.n!==t.v&&(d||o[t.n]!==a.Not)||(t.n=s),f(t)&&o[t.n]!==a.Not)return t;d||(p===a.Might&&null==r.v&&s!==i&&(r.v=s),(null==r.n||r.n===r.v)&&(r.n=s))}function f(t){return null!=t.v&&null!=t.n}return f(t)?t:f(r)?r:null}();if(p){s.value=[p.v];var d=null!=i?i:p.n;s.itemName=[d],s.seriesName=[d]}return s},ps:function(t){s(t).datasetMap=(0,r.createHashMap)()},sc:a})},ox2(t,e,n){var i=n("iY"),r=n("oa"),o=n("No"),a=n("rk"),s=n("B9"),l=n("FX"),u=n("iL"),c=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(h(n)){var l=void 0,u=void 0,c=void 0;if(s){var p=a[0];p.prepareSource(),l=(c=p.getSource()).data,u=c.sourceFormat,e=[p._getVersionSign()]}else l=n.get("data",!0),u=(0,i.isTypedArray)(l)?o.XO:o.mK,e=[];var d=this._getSourceMetaRawOption()||{},f=c&&c.metaRawOption||{},g=(0,i.retrieve2)(d.seriesLayoutBy,f.seriesLayoutBy)||null,y=(0,i.retrieve2)(d.sourceHeader,f.sourceHeader),v=(0,i.retrieve2)(d.dimensions,f.dimensions);t=g!==f.seriesLayoutBy||!!y!=!!f.sourceHeader||v?[(0,r.gV)(l,{seriesLayoutBy:g,sourceHeader:y,dimensions:v},u)]:[]}else if(s){var m=this._applyTransform(a);t=m.sourceList,e=m.upstreamSignList}else{var _=n.get("source",!0);t=[(0,r.gV)(_,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);null!=a&&1!==t.length&&p("");var l=[],u=[];return(0,i.each)(t,function(t){t.prepareSource();var e=t.getSource(a||0);null==a||e||p(""),l.push(e),u.push(t._getVersionSign())}),o?e=(0,s.py)(o,l,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,r.BE)(l[0])]),{sourceList:e,upstreamSignList:u}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];h(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new l.Ay).initData(new u.d1(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!h(t))return(0,i.map)((0,a.Gt)(t),function(t){return t.getSourceManager()});var e=(0,a.G9)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;return h(i)?(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function h(t){return"series"===t.mainType}function p(t){throw Error(t)}n.d(e,{},{A:function(t){t.option.transform&&(0,i.setAsPrimitive)(t.option.transform)},R:c})},B9(t,e,n){var i=n("No"),r=n("xN"),o=n("iY"),a=n("iL"),s=n("Fy4"),l=n("nXY"),u=n("oa"),c=function(){function t(){}return t.prototype.getRawData=function(){throw Error("not supported")},t.prototype.getRawDataItem=function(t){throw Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.Pn)(t,e)},t}();function h(t){return y(t.sourceFormat)||(0,l.$8)(""),t.data}function p(t){var e=t.sourceFormat,n=t.data;if(y(e)||(0,l.$8)(""),e===i.Km){for(var r=[],a=0,s=n.length;a<s;a++)r.push(n[a].slice());return r}if(e===i.Wk){for(var r=[],a=0,s=n.length;a<s;a++)r.push((0,o.extend)({},n[a]));return r}}function d(t,e,n){if(null!=n){if((0,o.isNumber)(n)||!isNaN(n)&&!(0,o.hasOwn)(e,n))return t[n];else if((0,o.hasOwn)(e,n))return e[n]}}function f(t){return(0,o.clone)(t)}var g=(0,o.createHashMap)();function y(t){return t===i.Km||t===i.Wk}n.d(e,{},{py:function(t,e,n){var s=(0,r.qB)(t),v=s.length;v||(0,l.$8)("");for(var m=0;m<v;m++)e=function(t,e){e.length||(0,l.$8)(""),(0,o.isObject)(t)||(0,l.$8)("");var n=t.type,s=g.get(n);s||(0,l.$8)("");var v=(0,o.map)(e,function(t){return function(t,e){var n=new c,r=t.data,s=n.sourceFormat=t.sourceFormat,u=t.startIndex;t.seriesLayoutBy!==i.i_&&(0,l.$8)("");var g=[],y={},v=t.dimensionsDefine;if(v)(0,o.each)(v,function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};g.push(i),null!=n&&((0,o.hasOwn)(y,n)&&(0,l.$8)(""),y[n]=i)});else for(var m=0;m<t.dimensionsDetectedCount||0;m++)g.push({index:m});var _=(0,a.sC)(s,i.i_);e.__isBuiltIn&&(n.getRawDataItem=function(t){return _(r,u,g,t)},n.getRawData=(0,o.bind)(h,null,t)),n.cloneRawData=(0,o.bind)(p,null,t);var x=(0,a.Kd)(s,i.i_);n.count=(0,o.bind)(x,null,r,u,g);var b=(0,a.uQ)(s);n.retrieveValue=function(t,e){return w(_(r,u,g,t),e)};var w=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=g[e];if(n)return b(t,e,n.name)}};return n.getDimensionInfo=(0,o.bind)(d,null,g,y),n.cloneAllDimensionInfo=(0,o.bind)(f,null,g),n}(t,s)}),m=(0,r.qB)(s.transform({upstream:v[0],upstreamList:v,config:(0,o.clone)(t.config)}));return(0,o.map)(m,function(t,n){(0,o.isObject)(t)||(0,l.$8)(""),t.data||(0,l.$8)(""),y((0,u.wZ)(t.data))||(0,l.$8)("");var r,a=e[0];if(a&&0===n&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),r={seriesLayoutBy:i.i_,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else r={seriesLayoutBy:i.i_,sourceHeader:0,dimensions:t.dimensions};return(0,u.gV)(t.data,r,null)})}(s[m],e),m!==v-1&&(e.length=Math.max(e.length,1));return e},v5:function(t){var e=(t=(0,o.clone)(t)).type;e||(0,l.$8)("");var n=e.split(":");2!==n.length&&(0,l.$8)("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,g.set(e,t)}})},xNS(t,e,n){var i=n("Hr"),r=n("BP"),o=n("WN9"),a=n("wv"),s=n("yd"),l=n("iY"),u=n("jQ"),c=n("L5"),h=n("LV"),p=[],d={registerPreprocessor:i.lP,registerProcessor:i.qg,registerPostInit:i.cf,registerPostUpdate:i.tb,registerUpdateLifecycle:i.xV,registerAction:i.OH,registerCoordinateSystem:i.pX,registerLayout:i.Oh,registerVisual:i.AF,registerTransform:i.iY,registerLoading:i.Ej,registerMap:i.mz,registerImpl:u.m,PRIORITY:i.FQ,ComponentModel:a.A,ComponentView:r.A,SeriesModel:s.A,ChartView:o.A,registerComponentModel:function(t){a.A.registerClass(t)},registerComponentView:function(t){r.A.registerClass(t)},registerSeriesModel:function(t){s.A.registerClass(t)},registerChartView:function(t){o.A.registerClass(t)},registerCustomSeries:function(t,e){(0,h.m)(t,e)},registerSubTypeDefaulter:function(t,e){a.A.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,c.registerPainter)(t,e)}};n.d(e,{},{Y:function t(e){(0,l.isArray)(e)?(0,l.each)(e,function(e){t(e)}):(0,l.indexOf)(p,e)>=0||(p.push(e),(0,l.isFunction)(e)&&(e={install:e}),e.install(d))}})},EV(t,e,n){var i=n("uf"),r=n("Mg"),o=n("F4"),a=["label","labelLine","layoutOption","priority","defaultAttr","marginForce","minMarginForce","marginDefault","suggestIgnore"];function s(t,e,n){n=n||3,e?t.dirty|=n:t.dirty&=~n}function l(t,e){return e=e||3,null==t.dirty||!!(t.dirty&e)}function u(t){if(t)return l(t)&&c(t,t.label,t),t}function c(t,e,n){var r=e.getComputedTransform();t.transform=(0,i.ensureCopyTransform)(t.transform,r);var a=t.localRect=(0,i.ensureCopyRect)(t.localRect,e.getBoundingRect()),l=e.style,u=l.margin,c=n&&n.marginForce,p=n&&n.minMarginForce,d=n&&n.marginDefault,f=l.__marginType;null==f&&d&&(u=d,f=o.Br.textMargin);for(var g=0;g<4;g++)h[g]=f===o.Br.minMargin&&p&&null!=p[g]?p[g]:c&&null!=c[g]?c[g]:u?u[g]:0;f===o.Br.textMargin&&(0,i.expandOrShrinkRect)(a,h,!1,!1);var y=t.rect=(0,i.ensureCopyRect)(t.rect,a);return r&&y.applyTransform(r),f===o.Br.minMargin&&(0,i.expandOrShrinkRect)(y,h,!1,!1),t.axisAligned=(0,i.isBoundingRectAxisAligned)(r),(t.label=t.label||{}).ignore=e.ignore,s(t,!1),s(t,!0,2),t}var h=[0,0,0,0];function p(t){var e=t.obb;return(!e||l(t,2))&&(t.obb=e=e||new r.A,e.fromBoundingRect(t.localRect,t.transform),s(t,!1,2)),e}function d(t,e,n,i){return!!t&&!!e&&(!t.label||!t.label.ignore)&&(!e.label||!e.label.ignore)&&!!t.rect.intersect(e.rect,n,i)&&(!!t.axisAligned&&!!e.axisAligned||p(t).intersect(p(e),n,i))}n.d(e,{},{AS:function(t,e,n){return t.transform=(0,i.ensureCopyTransform)(t.transform,n),t.localRect=(0,i.ensureCopyRect)(t.localRect,e),t.rect=(0,i.ensureCopyRect)(t.rect,e),n&&t.rect.applyTransform(n),t.axisAligned=(0,i.isBoundingRectAxisAligned)(n),t.obb=void 0,(t.label=t.label||{}).ignore=!1,t},EA:d,Gm:function(t,e){if(t){t.label.x+=e.x,t.label.y+=e.y,t.label.markRedraw();var n=t.transform;n&&(n[4]+=e.x,n[5]+=e.y);var i=t.rect;i&&(i.x+=e.x,i.y+=e.y);var r=t.obb;r&&r.fromBoundingRect(t.localRect,n)}},If:function(t){var e=[];function n(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}t.sort(function(t,e){return!!e.suggestIgnore-!!t.suggestIgnore||e.priority-t.priority});for(var i=0;i<t.length;i++){var r=u(t[i]);if(!r.label.ignore){for(var o=r.label,a=r.labelLine,s=!1,l=0;l<e.length;l++)if(d(r,e[l],null,{touchThreshold:.05})){s=!0;break}s?(n(o),a&&n(a)):e.push(r)}}},LC:s,PG:function(t,e){for(var n=0;n<a.length;n++){var i=a[n];null==t[i]&&(t[i]=e[i])}return u(t)},Wy:c,Zv:function(t,e,n,r,o){var a,s,l,u=t.length,c=i.XY[e],h=i.WH[e];if(u<2)return!1;t.sort(function(t,e){return t.rect[c]-e.rect[c]});for(var p=0,d=!1,f=0,g=0;g<u;g++){var y=t[g],v=y.rect;(a=v[c]-p)<0&&(v[c]-=a,y.label[c]-=a,d=!0),f+=Math.max(-a,0),p=v[c]+v[h]}f>0&&o&&w(-f/u,0,u);var m=t[0],_=t[u-1];function x(){s=m.rect[c]-n,l=r-_.rect[c]-_.rect[h]}function b(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){w(i*n,0,u);var r=i+t;r<0&&S(-r*n,1)}else S(-t*n,1)}}function w(e,n,i){0!==e&&(d=!0);for(var r=n;r<i;r++){var o=t[r],a=o.rect;a[c]+=e,o.label[c]+=e}}function S(e,n){for(var i=[],r=0,o=1;o<u;o++){var a=t[o-1].rect,s=Math.max(t[o].rect[c]-a[c]-a[h],0);i.push(s),r+=s}if(r){var l=Math.min(Math.abs(e)/r,n);if(e>0)for(var o=0;o<u-1;o++){var p=i[o]*l;w(p,0,o+1)}else for(var o=u-1;o>0;o--){var p=i[o-1]*l;w(-p,o,u)}}}function A(t){for(var e=t<0?-1:1,n=Math.ceil((t=Math.abs(t))/(u-1)),i=0;i<u-1;i++)if(e>0?w(n,0,i+1):w(-n,u-i-1,u),(t-=n)<=0)return}return x(),s<0&&S(-s,.8),l<0&&S(l,.8),x(),b(s,l,1),b(l,s,-1),x(),s<0&&A(-s),l<0&&A(l),d},jj:u,vS:function(t){for(var e=0;e<t.length;e++){var n=t[e],i=n.defaultAttr,r=n.labelLine;n.label.attr("ignore",i.ignore),r&&r.attr("ignore",i.labelGuideIgnore)}}})},F4(t,e,n){var i=n("s2"),r=n("iY"),o=n("LP"),a=n("xN"),s=n("W5"),l={};function u(t,e){for(var n=0;n<o.BV.length;n++){var i=o.BV[n],r=e[i],a=t.ensureState(i);a.style=a.style||{},a.style.text=r}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function c(t,e,n){var i,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(i=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=(0,r.isFunction)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var c={normal:i},h=0;h<o.BV.length;h++){var p=o.BV[h],d=e[p];c[p]=(0,r.retrieve2)(a?a.getFormattedLabel(s,p,null,l,d&&d.get("formatter")):null,i)}return c}function h(t,e,n,i,o){var a={};return function(t,e,n,i,o){n=n||l;var a,s=e.ecModel,u=s&&s.option.textStyle,c=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||l).rich;if(n){e=e||{};for(var i=(0,r.keys)(n),o=0;o<i.length;o++)e[i[o]]=1}t=t.parentModel}return e}(e);if(c){a={};var h="richInheritPlainLabel",p=(0,r.retrieve2)(e.get(h),s?s.get(h):void 0);for(var d in c)if(c.hasOwnProperty(d)){var f=e.getModel(["rich",d]);y(a[d]={},f,u,e,p,n,i,o,!1,!0)}}a&&(t.rich=a);var g=e.get("overflow");g&&(t.overflow=g);var v=e.get("lineOverflow");v&&(t.lineOverflow=v);var _=e.get("minMargin");if(null!=_)t.margin=[_=(0,r.isNumber)(_)?_/2:0,_,_,_],t.__marginType=m.minMargin;else{var x=e.get("textMargin");null!=x&&(t.margin=(0,r.normalizeCssArray)(x),t.__marginType=m.textMargin)}y(t,e,u,null,null,n,i,o,!0,!1)}(a,t,n,i,o),e&&(0,r.extend)(a,e),a}function p(t,e,n){e=e||{};var i,o={},a=t.getShallow("rotate"),s=(0,r.retrieve2)(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(o.position=i),null!=l&&(o.offset=l),null!=a&&(o.rotation=a*=Math.PI/180),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",null!=e.autoOverflowArea&&(o.autoOverflowArea=e.autoOverflowArea),null!=e.layoutRect&&(o.layoutRect=e.layoutRect),o}var d=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],f=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],g=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function y(t,e,n,i,o,a,s,u,c,h){n=!s&&n||l;var p=a&&a.inheritColor,y=e.getShallow("color"),v=e.getShallow("textBorderColor"),m=(0,r.retrieve2)(e.getShallow("opacity"),n.opacity);("inherit"===y||"auto"===y)&&(y=p||null),("inherit"===v||"auto"===v)&&(v=p||null),u||(y=y||n.color,v=v||n.textBorderColor),null!=y&&(t.fill=y),null!=v&&(t.stroke=v);var _=(0,r.retrieve2)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=_&&(t.lineWidth=_);var x=(0,r.retrieve2)(e.getShallow("textBorderType"),n.textBorderType);null!=x&&(t.lineDash=x);var b=(0,r.retrieve2)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=b&&(t.lineDashOffset=b),s||null!=m||h||(m=a&&a.defaultOpacity),null!=m&&(t.opacity=m),s||u||null!=t.fill||!a.inheritColor||(t.fill=a.inheritColor);for(var w=0;w<d.length;w++){var S=d[w],A=!1!==o&&i?(0,r.retrieve3)(e.getShallow(S),i.getShallow(S),n[S]):(0,r.retrieve2)(e.getShallow(S),n[S]);null!=A&&(t[S]=A)}for(var w=0;w<f.length;w++){var S=f[w],A=e.getShallow(S);null!=A&&(t[S]=A)}if(null==t.verticalAlign){var M=e.getShallow("baseline");null!=M&&(t.verticalAlign=M)}if(!c||!a.disableBox){for(var w=0;w<g.length;w++){var S=g[w],A=e.getShallow(S);null!=A&&(t[S]=A)}var T=e.getShallow("borderType");null!=T&&(t.borderDash=T),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&p&&(t.backgroundColor=p),("auto"===t.borderColor||"inherit"===t.borderColor)&&p&&(t.borderColor=p)}}var v=(0,a.$r)(),m={minMargin:1,textMargin:2};n.d(e,{},{Br:m,Lu:v,Oh:function(t,e,n,i){if(t){var r=v(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}},VB:h,c8:function(t,e){var n=e&&e.getModel("textStyle");return(0,r.trim)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))},lx:function(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<o.BV.length;i++){var r=o.BV[i];n[r]=t.getModel([r,e])}return n},qM:function(t,e,n,a){n=n||l;for(var s=t instanceof i.Ay,d=!1,f=0;f<o.wV.length;f++){var g=e[o.wV[f]];if(g&&g.getShallow("show")){d=!0;break}}var y=s?t:t.getTextContent();if(d){!s&&(y||(y=new i.Ay,t.setTextContent(y)),t.stateProxy&&(y.stateProxy=t.stateProxy));var m=c(n,e),_=e.normal,x=!!_.getShallow("show"),b=h(_,a&&a.normal,n,!1,!s);b.text=m.normal,s||t.setTextConfig(p(_,n,!1));for(var f=0;f<o.BV.length;f++){var w=o.BV[f],g=e[w];if(g){var S=y.ensureState(w),A=!!(0,r.retrieve2)(g.getShallow("show"),x);A!==x&&(S.ignore=!A),S.style=h(g,a&&a[w],n,!0,!s),S.style.text=m[w],s||(t.ensureState(w).textConfig=p(g,n,!0))}}y.silent=!!_.getShallow("silent"),null!=y.style.x&&(b.x=y.style.x),null!=y.style.y&&(b.y=y.style.y),y.ignore=!x,y.useStyle(b),y.dirty(),n.enableTextSetter&&(v(y).setLabelText=function(t){var i=c(n,e,t);u(y,i)})}else y&&(y.ignore=!0);t.dirty()},sD:p,xb:function(t,e,n,i,o){var l=v(t);if(l.valueAnimation&&l.prevValue!==l.value){var h=l.defaultInterpolatedText,p=(0,r.retrieve2)(l.interpolatedValue,l.prevValue),d=l.value;t.percent=0,(null==l.prevValue?s.LW:s.oi)(t,{percent:1},i,e,null,function(i){var r=(0,a.Il)(n,l.precision,p,d,i);l.interpolatedValue=1===i?null:r,u(t,c({labelDataIndex:e,labelFetcher:o,defaultText:h?h(r):r+""},l.statesModels,r))})}}})},bVi(t,e,n){var i=n("XS"),r=n("sn");n.d(e,{},{Ns:function(t,e,n,o){(0,r.ss)(t,{key:e,seriesType:n,coordSysType:o,getMetrics:i.sH})},R8:"pictorialBar",ar:function(t){return t.scale.rawExtentInfo.makeRenderInfo().startValue},f4:"bar"})},nT(t,e,n){var i=n("iY"),r=n("MB"),o=n("pE"),a=n("yM"),s=n("YG"),l=n("xN"),u=n("x2"),c=n("sT"),h=n("uP"),p=n("sn"),d=n("lN"),f=n("bVi"),g=n("UGL"),y=n("XS"),v=(0,l.EV)(),m="__ec_stack_";function _(t){return t.get("stack")||m+t.seriesIndex}function x(t){var e,n,o,a=t.bandWidthResult.w,s=a,l=0,u=[],c={};(0,i.each)(t.seriesInfo,function(t,o){o||(n=t.defaultBarGap||0);var a=t.stackId;!(0,i.hasOwn)(c,a)&&l++;var h=c[a];h||(h=c[a]={width:0,maxWidth:0},u.push(a));var p=t.barWidth;p&&!h.width&&(h.width=p,p=(0,r.rp)(s,p),s-=p);var d=t.barMaxWidth;d&&(h.maxWidth=d);var f=t.barMinWidth;f&&(h.minWidth=f);var g=t.barGap;null!=g&&(n=g);var y=t.barCategoryGap;null!=y&&(e=y)}),null==e&&(e=(0,r.JB)(35-4*u.length,15)+"%");var h=(0,r.lo)(e,a),p=(0,r.lo)(n,1),d=(s-h)/(l+(l-1)*p);d=(0,r.JB)(d,0),(0,i.each)(u,function(t){var e=c[t],n=e.maxWidth,i=e.minWidth;if(e.width){var o=e.width;n&&(o=(0,r.rp)(o,n)),i&&(o=(0,r.JB)(o,i)),e.width=o,s-=o+p*o,l--}else{var o=d;n&&n<o&&(o=(0,r.rp)(n,s)),i&&i>o&&(o=i),o!==d&&(e.width=o,s-=o+p*o,l--)}}),d=(s-h)/(l+(l-1)*p),d=(0,r.JB)(d,0);var f=0;(0,i.each)(u,function(t){var e=c[t];e.width||(e.width=d),o=e,f+=e.width*(1+p)}),o&&(f-=o.width*p);var g={},y=-f/2;return(0,i.each)(u,function(t){var e=c[t];g[t]=g[t]||{bandWidth:a,offset:y,width:e.width},y+=e.width*(1+p)}),g}function b(t){return t.pipelineContext&&t.pipelineContext.large}n.d(e,{},{Jo:function(t){v(t,function(){function e(e){var n=(0,y.Vz)(e,g.Tw);(0,f.Ns)(t,n,e,g.Tw),(0,h.Cy)(n,(0,y.N$)((0,y.Vz)(e,g.Tw)))}e("bar"),e("pictorialBar")})},KF:function(t){return{seriesType:t,plan:(0,a.A)(),reset:function(t){if((0,c.ty)(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),a=n.getOtherAxis(i),l=e.getDimensionIndex(e.mapDimension(a.dim)),u=e.getDimensionIndex(e.mapDimension(i.dim)),h=t.get("showBackground",!0),p=e.mapDimension(a.dim),d=e.getCalculationInfo("stackResultDimension"),g=(0,o.sJ)(e,p)&&!!e.getCalculationInfo("stackedOnSeries"),y=a.isHorizontal(),v=a.toGlobalCoord(a.dataToCoord((0,f.ar)(a))),m=b(t),_=t.get("barMinHeight")||0,x=d&&e.getDimensionIndex(d),w=e.getLayout("size"),S=e.getLayout("offset");return{progress:function(t,e){for(var i,o=t.count,a=m&&(0,s.Jk)(3*o),c=m&&h&&(0,s.Jk)(3*o),p=m&&(0,s.Jk)(o),d=n.master.getRect(),f=y?d.width:d.height,b=e.getStore(),A=0;null!=(i=t.next());){var M=b.get(g?x:l,i),T=b.get(u,i),C=v,k=void 0;g&&(k=M-b.get(l,i));var I=void 0,D=void 0,O=void 0,L=void 0;if(y){var P=n.dataToPoint([M,T]);g&&(C=n.dataToPoint([k,T])[0]),I=C,D=P[1]+S,O=P[0]-C,L=w,(0,r.NY)(O)<_&&(O=(O<0?-1:1)*_)}else{var P=n.dataToPoint([T,M]);g&&(C=n.dataToPoint([T,k])[1]),I=P[0]+S,D=C,O=w,L=P[1]-C,(0,r.NY)(L)<_&&(L=(L<=0?-1:1)*_)}m?(a[A]=I,a[A+1]=D,a[A+2]=y?O:L,c&&(c[A]=y?d.x:I,c[A+1]=y?D:d.y,c[A+2]=f),p[i]=i):e.setItemLayout(i,{x:I,y:D,width:O,height:L}),A+=3}m&&e.setLayout({largePoints:a,largeDataIndices:p,largeBackgroundPoints:c,valueAxisHorizontal:y})}}}}}},Md:function(t){return{seriesType:t,overallReset:function(e){var n=(0,y.Vz)(t,g.Tw);(0,p.DQ)(e,n,function(e){var i,o,a,s,l,u,c=((i=e,o=t,a=(0,y.Vz)(o,g.Tw),s=[],l=(0,d.D)(i,{fromStat:{key:a},min:1}),(0,p.pd)(i,a,function(t){s.push({barWidth:(0,r.lo)(t.get("barWidth"),l.w),barMaxWidth:(0,r.lo)(t.get("barMaxWidth"),l.w),barMinWidth:(0,r.lo)(t.get("barMinWidth")||(b(t)?.5:1),l.w),barGap:t.get("barGap"),barCategoryGap:t.get("barCategoryGap"),defaultBarGap:t.get("defaultBarGap"),stackId:_(t)})}),u={bandWidthResult:l,seriesInfo:s}).columnMap=x(u),u);(0,p.pd)(e,n,function(t){var e=c.columnMap[_(t)];t.getData().setLayout({bandWidth:e.bandWidth,offset:e.offset,size:e.width})})})}}},aR:function(t){if((0,u.wl)(t.axis.scale)){for(var e=(0,d.D)(t.axis),n=[],r=0;r<t.count||0;r++)n.push((0,i.defaults)({stackId:m+r},t));for(var o=x({bandWidthResult:e,seriesInfo:n}),a=[],r=0;r<t.count;r++){var s=o[m+r];s.offsetCenter=s.offset+s.width/2,a.push(s)}return a}}})},NC(t,e,n){var i=n("iY"),r=n("yM"),o=n("pE"),a=n("YG");n.d(e,{},{A:function(t,e){return{seriesType:t,plan:(0,r.A)(),reset:function(t){var n=t.getData(),r=t.coordinateSystem,s=t.pipelineContext,l=e||s.large;if(r){var u=(0,i.map)(r.dimensions,function(t){return n.mapDimension(t)}).slice(0,2),c=u.length,h=n.getCalculationInfo("stackResultDimension");(0,o.sJ)(n,u[0])&&(u[0]=h),(0,o.sJ)(n,u[1])&&(u[1]=h);var p=n.getStore(),d=n.getDimensionIndex(u[0]),f=n.getDimensionIndex(u[1]);return c&&{progress:function(t,e){for(var n=t.end-t.start,i=l&&(0,a.Jk)(n*c),o=[],s=[],u=t.start,h=0;u<t.end;u++){var g=void 0;if(1===c){var y=p.get(d,u);g=r.dataToPoint(y,null,s)}else o[0]=p.get(d,u),o[1]=p.get(f,u),g=r.dataToPoint(o,null,s);l?(i[h++]=g[0],i[h++]=g[1]):e.setItemLayout(u,g.slice())}l&&(e.setLayout("points",i),e.setLayout("pointsRange",{start:t.start,end:t.end}))}}}}}}})},GN(t,e,n){var i=n("iY"),r=n("xN");function o(t,e,n,o,a){var s=t+e;n.isSilent(s)||o.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,o=t.option.selectedMap,l=a.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===e){var c=t.getData(),h=(0,r.le)(c,a.fromActionPayload);n.trigger(s,{type:s,seriesId:t.id,name:(0,i.isArray)(h)?c.getName(h[0]):c.getName(h),selected:(0,i.isString)(o)?o:(0,i.extend)({},o)})}})}n.d(e,{},{I:function(t,e){(0,i.each)([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(n){e(n[0],function(e,r,o){var a,s;e=(0,i.extend)({},e),o.dispatchAction((0,i.extend)(e,{type:n[1],seriesIndex:(a=e,s=[],r.eachComponent({mainType:"series",subType:t,query:a},function(t){s.push(t.seriesIndex)}),s)}))})})},l:function(t,e,n){t.on("selectchanged",function(t){var i=n.getModel();t.isFromClick?(o("map","selectchanged",e,i,t),o("pie","selectchanged",e,i,t)):"select"===t.fromAction?(o("map","selected",e,i,t),o("pie","selected",e,i,t)):"unselect"===t.fromAction&&(o("map","unselected",e,i,t),o("pie","unselected",e,i,t))})}})},wv(t,e,n){var i=n("i4"),r=n("iY"),o=n("Sk"),a=n("Af"),s=n("MD"),l=n("xN"),u=n("db"),c=(0,l.$r)(),h=function(t){var e;function n(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=a.$Q("ec_cpt_model"),r}return(0,i.C6)(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=u.ad(this),i=n?u.vs(t):{},o=e.getTheme();r.merge(t,o.get(this.mainType)),r.merge(t,this.getDefaultOption()),n&&u.YA(t,i,n)},n.prototype.mergeOption=function(t,e){r.merge(this.option,t,!0);var n=u.ad(this);n&&u.YA(this.option,t,n)},n.prototype.optionUpdated=function(t,e){},n.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s._E)(t))return t.defaultOption;var e=c(this);if(!e.defaultOption){for(var n=[],i=t;i;){var o=i.prototype.defaultOption;o&&n.push(o),i=i.superClass}for(var a={},l=n.length-1;l>=0;l--)a=r.merge(a,n[l],!0);e.defaultOption=a}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){return(0,l.JO)(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)},e)},n.prototype.getBoxLayoutParams=function(){return u.io(this,!1)},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=void((e=n.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0),n}(o.A);(0,s.q7)(h,o.A),(0,s.tQ)(h),a.A6(h),a.vf(h,function(t){var e=[];return r.each(h.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=r.map(e,function(t){return(0,s.CC)(t).main}),"dataset"!==t&&0>=r.indexOf(e,"dataset")&&e.unshift("dataset"),e}),e.A=h},Sk(t,e,n){n.d(e,{A:()=>v});var i=n("E3"),r=n("MD"),o=(0,n("Lc").A)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=n("F4"),l=n("s2"),u=["textStyle","color"],c=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],h=new l.Ay,p=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(u):null)},t.prototype.getFont=function(){return(0,s.c8)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<c.length;n++)e[c[n]]=this.getShallow(c[n]);return h.useStyle(e),h.update(),h.getBoundingRect()},t}(),d=n("pf8"),f=n("BE"),g=n("iY"),y=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){(0,g.merge)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new this.constructor((0,g.clone)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!i.A.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;else if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,r.gq)(y),(0,r.Od)(y),(0,g.mixin)(y,d.J),(0,g.mixin)(y,f.s),(0,g.mixin)(y,a),(0,g.mixin)(y,p);var v=y},yd(t,e,n){var i=n("i4"),r=n("iY"),o=n("E3"),a=n("xN"),s=n("wv"),l=n("zW"),u=n("lZ"),c=n("db"),h=n("Hq"),p=n("MD"),d=n("ox2"),f=n("BJ"),g=a.$r();function y(t,e){return t.getName(e)||t.getId(e)}var v="__universalTransitionEnabled",m=function(t){var e;function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,i.C6)(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,h.U)({count:x,reset:b}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(g(this).sourceManager=new d.R(this)).prepareSource();var i=this.getInitialData(t,n);S(i,this),this.dataTask.context.data=i,g(this).dataBeforeProcessed=i,_(this),this._initSelectedMapFromData(i)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,c.ad)(this),i=n?(0,c.vs)(t):{},o=this.subType;s.A.hasClass(o)&&(o+="Series"),r.merge(t,e.getTheme().get(this.subType)),r.merge(t,this.getDefaultOption()),a.M5(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,c.YA)(t,i,n)},n.prototype.mergeOption=function(t,e){t=r.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,c.ad)(this);n&&(0,c.YA)(this.option,t,n);var i=g(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,e);S(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,g(this).dataBeforeProcessed=o,_(this),this._initSelectedMapFromData(o)},n.prototype.fillDataTextStyle=function(t){if(t&&!r.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.M5(t[n],"label",e)},n.prototype.getInitialData=function(t,e){},n.prototype.appendData=function(t){this.getRawData().appendData(t.data)},n.prototype.getData=function(t){var e=M(this);if(!e)return g(this).data;var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n},n.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},n.prototype.setData=function(t){var e=M(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}g(this).data=t},n.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return r.createHashMap(t)},n.prototype.getSourceManager=function(){return g(this).sourceManager},n.prototype.getSource=function(){return this.getSourceManager().getSource()},n.prototype.getRawData=function(){return g(this).dataBeforeProcessed},n.prototype.getColorBy=function(){return this.get("colorBy")||"series"},n.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},n.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},n.prototype.indicesOfNearest=function(t,e,n,i){var r=this.getData(),o=this.coordinateSystem,a=o&&o.getAxis(t);if(!o||!a)return[];var s=a.dataToCoord(n);null==i&&(i=1/0);for(var l=[],u=1/0,c=-1,h=0,p=r.getDimensionIndex(e),d=r.getStore(),f=0,g=d.count();f<g;f++){var y=d.get(p,f),v=s-a.dataToCoord(y),m=Math.abs(v);m<=i&&((m<u||m===u&&v>=0&&c<0)&&(u=m,c=v,h=0),v===c&&(l[h++]=f))}return l.length=h,l},n.prototype.formatTooltip=function(t,e,n){return(0,f.J)({series:this,dataIndex:t,multipleSeries:e})},n.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.A.node&&!(t&&t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=l.X.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},n.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},n.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var a=y(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},n.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},n.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=r.keys(t),n=[],i=0;i<e.length;i++){var o=t[e[i]];o>=0&&n.push(o)}return n},n.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[y(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this[v])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,i,o=this.option,a=o.selectedMode,s=e.length;if(a&&s){if("series"===a)o.selectedMap="all";else if("multiple"===a){r.isObject(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var c=e[u],h=y(t,c);l[h]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(c)}}else if("single"===a||!0===a){var p=e[s-1],h=y(t,p);(n={})[h]=!0,o.selectedMap=n,this._selectedDataIndicesMap=((i={})[h]=t.getRawIndex(p),i)}}},n.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)}),e.length>0&&this._innerSelect(t,e)}},n.registerClass=function(t){return s.A.registerClass(t)},n.protoInitialize=void((e=n.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"),n}(s.A);function _(t){var e,n,i,o=t.name;a.O0(t)||(t.name=(n=(e=t.getRawData()).mapDimensionsAll("seriesName"),i=[],r.each(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")||o))}function x(t){return t.model.getRawData().count()}function b(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),w}function w(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function S(t,e){r.each(r.concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,r.curry(A,e))})}function A(t,e){var n=M(t);return n&&n.setOutputEnd((e||this).count()),e}function M(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}r.mixin(m,u.J),r.mixin(m,l.X),(0,p.q7)(m,s.A),e.A=m,n.d(e,{},{U:v})},PG(t,e,n){var i=n("iY"),r=(0,i.createHashMap)();n.d(e,{},{S:function(t,e){(0,i.assert)(null==r.get(t)&&e),r.set(t,e)},a:function(t,e,n){var i=r.get(e);if(!i)return n;var o=i(t);return o?n.concat(o):n}})},lZ(t,e,n){var i=n("iY"),r=n("iL"),o=n("s7"),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,p=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,l,u){e=e||"normal";var c=this.getData(n),h=this.getDataParams(t,n);return(u&&(h.value=u.interpolatedValue),null!=s&&i.isArray(h.value)&&(h.value=h.value[s]),l||(l=c.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),i.isFunction(l))?(h.status=e,h.dimensionIndex=s,l(h)):i.isString(l)?(0,o.YK)(l,h).replace(a,function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,r.QE)(c,t,a);if(u&&i.isArray(u.interpolatedValue)){var l=c.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return(0,r.QE)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();n.d(e,{},{J:s,L:function(t){var e,n;return i.isObject(t)?t.type&&(n=t):e=t,{text:e,frag:n}}})},BE(t,e,n){var i=n("Lc"),r=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,i.A)(r),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}();n.d(e,{},{L:r,s:a})},pf8(t,e,n){var i=n("Lc"),r=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,i.A)(r),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}();n.d(e,{},{J:a,m:r})},Lc(t,e,n){var i=n("iY");n.d(e,{},{A:function(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,r,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(r&&i.indexOf(r,l)>=0||o&&0>i.indexOf(o,l))){var u=n.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}})},zW(t,e,n){var i=n("xN"),r=(0,i.$r)(),o=(0,i.$r)(),a=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){return s(this,r,(0,i.qB)(this.get("color",!0)),this.get("colorLayer",!0),t,e,n)},t.prototype.clearColorPalette=function(){var t,e;t=this,(e=r)(t).paletteIdx=0,e(t).paletteNameMap={}},t}();function s(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var c=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,a):n;if((c=c||n)&&c.length){var h=c[l];return r&&(u[r]=h),s.paletteIdx=(l+1)%c.length,h}}n.d(e,{},{X:a,x:function(t,e,n,r){var a=(0,i.qB)(t.get(["aria","decal","decals"]));return s(t,o,a,null,e,n,r)}})},LEV(t,e,n){var i=n("iY"),r={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)!isNaN(t[i])&&(e+=t[i],n++);return 0===n?0/0:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:0/0},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:0/0},nearest:function(t){return t[0]}},o=function(t){return Math.round(t.length/2)};n.d(e,{},{A:function(t){return{seriesType:t,reset:function(t,e,n){var a=t.getData(),s=t.get("sampling"),l=t.coordinateSystem,u=a.count();if(u>10&&"cartesian2d"===l.type&&s){var c=l.getBaseAxis(),h=l.getOtherAxis(c),p=c.getExtent(),d=n.getDevicePixelRatio(),f=Math.round(u/(Math.abs(p[1]-p[0])*(d||1)));if(isFinite(f)&&f>1){"lttb"===s?t.setData(a.lttbDownSample(a.mapDimension(h.dim),1/f)):"minmax"===s&&t.setData(a.minmaxDownSample(a.mapDimension(h.dim),1/f));var g=void 0;(0,i.isString)(s)?g=r[s]:(0,i.isFunction)(s)&&(g=s),g&&t.setData(a.downSample(a.mapDimension(h.dim),1/f,g,o))}}}}}})},YO(t,e,n){n.d(e,{a:()=>I});var i=n("Yo"),r=n("iY"),o=n("SJG"),a=n("qY"),s=n("jp"),l=n("BH"),u=n("kb"),c=n("Y8"),h=n("ke"),p=n("mZ");function d(t,e,n){var i=p.yh.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}function f(t){return!t.__cursors.get(a.$z)}function g(t){var e=t.__cursors.get(a.$z);return{startIdx:e?e.startIdx:0,endIdx:e?e.endIdx:0}}var y=function(t){function e(e,n,o){var s,l=t.call(this)||this;l.motionBlur=!1,l.lastFrameAlpha=.7,l.dpr=1,l.virtual=!1,l.config={},l.zlevel=0,l.zlevel2=a.r4,l.maxRepaintRectCount=5,l.__dirty=!0,l.__firstTimePaint=!0,l.__prevIdx={startIdx:0,endIdx:0},o=o||i.Y5,"string"==typeof e?s=d(e,n,o):r.isObject(e)&&(e=(s=e).id),l.id=e,l.dom=s;var u=s.style;return u&&(r.disableUserSelect(s),s.onselectstart=function(){return!1},u.padding="0",u.margin="0",u.borderWidth="0"),l.painter=n,l.dpr=o,l}return(0,o.C6)(e,t),e.prototype.afterBrush=function(){this.__prevIdx=g(this)},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=d("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,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new c.Ay(0,0,0,0);function u(t){if(!(!t.isFinite()||t.isZero()))if(0===o.length){var e=new c.Ay(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,u=0;u<o.length;++u){var h=o[u];if(h.intersect(t)){var p=new c.Ay(0,0,0,0);p.copy(h),p.union(t),o[u]=p,n=!0;break}if(s){l.copy(t),l.union(h);var d=t.width*t.height,f=h.width*h.height,g=l.width*l.height-d-f;g<i&&(i=g,r=u)}}if(s&&(o[r].union(t),n=!0),!n){var e=new c.Ay(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var p=g(this),d=p.startIdx;d<p.endIdx;++d){var f=t[d];if(f){var y=f.shouldBePainted(n,i,!0,!0),v=f.__isRendered&&(f.__dirty&h.M||!y)?f.getPrevPaintRect():null;v&&u(v);var m=y&&(f.__dirty&h.M||!f.__isRendered)?f.getPaintRect():null;m&&u(m)}}for(var _=this.__prevIdx,d=_.startIdx;d<_.endIdx;++d){var f=e[d],y=f&&f.shouldBePainted(n,i,!0,!0);if(f&&(!y||!f.__zr)&&f.__isRendered){var v=f.getPrevPaintRect();v&&u(v)}}do{r=!1;for(var d=0;d<o.length;){if(o[d].isZero()){o.splice(d,1);continue}for(var x=d+1;x<o.length;)o[d].intersect(o[x])?(r=!0,o[d].union(o[x]),o.splice(x,1)):x++;d++}}while(r)return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,o=this.ctx,a=i.width,s=i.height;e=e||this.clearColor;var c=this.motionBlur&&!t,h=this.lastFrameAlpha,p=this.dpr,d=this;c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/p,s/p));var f=this.domBack;function g(t,n,i,a){if(o.clearRect(t,n,i,a),e&&"transparent"!==e){var s=void 0;r.isGradientObject(e)?(s=(e.global||e.__width===i&&e.__height===a)&&e.__canvasGradient||(0,l.Ff)(o,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=s,e.__width=i,e.__height=a):r.isImagePatternObject(e)&&(e.scaleX=e.scaleX||p,e.scaleY=e.scaleY||p,s=(0,u.ZQ)(o,e,{dirty:function(){d.setUnpainted(),d.painter.refresh()}})),o.save(),o.fillStyle=s||e,o.fillRect(t,n,i,a),o.restore()}c&&(o.save(),o.globalAlpha=h,o.drawImage(f,t,n,i,a),o.restore())}!n||c?g(0,0,a,s):n.length&&r.each(n,function(t){g(t.x*p,t.y*p,t.width*p,t.height*p)})},e}(s.A),v=n("JV"),m=n("E3"),_=void 0;function x(t,e,n,i){var r=new y(t,e,e.dpr);return r.zlevel=n,r.zlevel2=i,r.__builtin__=!0,b(r),r}function b(t){t.__cursorStack=[],t.__cursors=r.createHashMap()}function w(t,e){for(var n=t.__cursorStack,i=0;i<n.length;i++)e(t.__cursors.get(n[i]))}function S(t,e){var n=t.layers;return n[e]||(n[e]=[,,,])}function A(t,e,n){for(var i=t.layerStack,r=0;r<i.length;r++){var o=i[r].zl,a=i[r].zl2,s=t.layers[o][a];n&&(n&M&&!s.__builtin__||n&T&&s.__builtin__||n&C&&s===t.hoverlayer)||e(s,o,a,r)}}var M=1,T=2,C=4,k=function(){function t(t,e,n,o){this.type="canvas",this._prevDisplayList=[],this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas",this._i={layerStack:[],layers:[]};var s=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();if(this._opts=n=r.extend({},n||{}),this.dpr=n.devicePixelRatio||i.Y5,this._singleCanvas=s,this.root=t,t.style&&(r.disableUserSelect(t),t.innerHTML=""),this.storage=e,this._prevDisplayList=[],s){var u=t.width,c=t.height;null!=n.width&&(u=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,t.width=u*this.dpr,t.height=c*this.dpr,this._width=u,this._height=c;var h=x(t,this,314159,a.r4);h.initContext(),this._insertLayer(h,314159,a.r4,!0),this._domRoot=t}else{this._width=(0,l.YC)(t,0,n),this._height=(0,l.YC)(t,1,n);var p,d,f,g=this._domRoot=(p=this._width,d=this._height,(f=document.createElement("div")).style.cssText=["position:relative","width:"+p+"px","height:"+d+"px","padding:0;margin:0;border-width:0"].join(";")+";",f);t.appendChild(g)}}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=t&&!r.isObject(t)?{paintAll:!!t}:t||{},n=r.retrieve2(e.refresh,!0),i=r.retrieve2(e.refreshHover,!1);if(i&&(this._hoverLayerDirty=2),!n)return i&&this._paintHoverList(this.storage.getDisplayList(!1)),this;var o=this.storage.getDisplayList(!0);this._updateLayerStatus(o,e.paintAll),this._redrawId=Math.random();var a=this._prevDisplayList;this._paintList(o,a,this._redrawId);var s=this._backgroundColor;return A(this._i,function(t,e,n,i){t.refresh&&t.refresh(0===i?s:null)},T),this._opts.useDirtyRect&&(this._prevDisplayList=o.slice()),this},t.prototype._paintHoverList=function(t){var e,n=this._i.hoverlayer,i=this._hoverLayerDirty;if((this._hoverLayerDirty=_,i!==_)&&(n||2!==i||(n=this._i.hoverlayer=this._ensureLayer(1e5)),n)){n.clear();for(var r={inHover:!0,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{}},o=0,a=t.length;o<a;o++){var s=t[o];if(s.__inHover){e||(e=n.ctx).save();var l=s.__hoverStyle,c=void 0;l&&(c=s.style,s.style=l),(0,u.V$)(e,s,r),l&&(s.style=c)}}e&&((0,u.v6)(e,r),e.restore())}},t.prototype.getHoverLayer=function(){return this._ensureLayer(1e5)},t.prototype.paintOne=function(t,e){(0,u.Xi)(t,e)},t.prototype._paintList=function(t,e,n){if(this._redrawId===n){var i=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),i)A(this._i,function(t){t.afterBrush&&t.afterBrush()},5),this._paintHoverList(t);else{var r=this;(0,v.A)(function(){r._paintList(t,e,n)})}}},t.prototype._compositeManually=function(){var t=this._ensureLayer(314159).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),A(this._i,function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)},M)},t.prototype._doPaintList=function(t,e){var n=this,i=!0;return A(this._i,function(r){var o=!1;if(w(r,function(t){(t.drawIdx<t.endIdx||t.notClearIdx>=0)&&(o=!0)}),o||r.__dirty){var a=n._opts.useDirtyRect&&!f(r)?r.createRepaintRects(t,e,n._width,n._height):null,s=n._i.layerStack[0],l=!0;if(r.__dirty){l=!1,r.__dirty=!1;var u=r.zlevel===s.zl&&r.zlevel2===s.zl2?n._backgroundColor:null;r.clear(!1,u,a)}w(r,function(e){var o=n._paintPerCursor(r,e,t,a,l);i=i&&o})}},5),m.A.wxa&&A(this._i,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),i},t.prototype._paintPerCursor=function(t,e,n,i,r){var o=t.ctx;if(i)if(i.length)for(var a=this.dpr,s=0;s<i.length;++s){var l=i[s];o.save(),o.beginPath(),o.rect(l.x*a,l.y*a,l.width*a,l.height*a),o.clip(),this._paintPerCursorInRect(t,e,n,l,r),o.restore()}else e.drawIdx=e.endIdx;else o.save(),this._paintPerCursorInRect(t,e,n,null,r),o.restore();return e.drawIdx>=e.endIdx},t.prototype._paintPerCursorInRect=function(t,e,n,i,r){for(var o={inHover:!1,allClipped:!1,prevEl:null,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{contentRetained:r}},a=t.ctx,s=f(t),l=s&&p.yh.getTime(),c=e.drawIdx,h=e.notClearIdx,d=h>=0?Math.min(h,c):c;d<e.endIdx;d++){var g=n[d];if(!(d<c)||g.notClear){if(g.__inHover&&(this._hoverLayerDirty=2),null!=i){var y=g.getPaintRect();y&&y.intersect(i)&&((0,u.V$)(a,g,o),g.setPrevPaintRect(y))}else(0,u.V$)(a,g,o);if(s&&p.yh.getTime()-l>15){d++;break}}}(0,u.v6)(a,o),e.drawIdx=Math.max(d,c)},t.prototype.getLayer=function(t,e){return this._ensureLayer(t,0,e)},t.prototype._ensureLayer=function(t,e,n){e=e||0;var i=this._singleCanvas;i&&!this._needsManuallyCompositing&&(t=314159,e=0);var o=S(this._i,t)[e];return o||(o=x("zr_"+t+"."+e,this,t,e),this._layerConfig[t]&&r.merge(o,this._layerConfig[t],!0),(n||i&&314159!==t)&&(o.virtual=!0),this._insertLayer(o,t,e,!1),o.initContext()),o},t.prototype.insertLayer=function(t,e){this._insertLayer(e,t,0,!1)},t.prototype._insertLayer=function(t,e,n,i){var r=this._i,o=r.layers,a=r.layerStack,s=this._domRoot,l=null;if(!o[e]||!o[e][n]){if(t&&(t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh&&1)){for(var u=a.length,c=0;c<u&&(a[c].zl<e||a[c].zl===e&&a[c].zl2<n);)c++;if(c>0&&(l=S(r,a[c-1].zl)[a[c-1].zl2]),a.splice(c,0,{zl:e,zl2:n}),S(r,e)[n]=t,!i&&!t.virtual)if(l){var h=l.dom;h.nextSibling?s.insertBefore(t.dom,h.nextSibling):s.appendChild(t.dom)}else s.firstChild?s.insertBefore(t.dom,s.firstChild):s.appendChild(t.dom);t.painter||(t.painter=this)}}},t.prototype.eachLayer=function(t,e){return A(this._i,function(n,i){t.call(e,n,i)})},t.prototype.eachBuiltinLayer=function(t,e){return A(this._i,function(n,i){t.call(e,n,i)},M)},t.prototype.eachOtherLayer=function(t,e){return A(this._i,function(n,i){t.call(e,n,i)},T)},t.prototype.getLayers=function(){var t={};return A(this._i,function(e,n,i){t[e.id]=e}),t},t.prototype._updateLayerStatus=function(t,e){var n,i=this;if(i._singleCanvas)for(var o=1;o<t.length;o++){var s=t[o];if(s.zlevel!==t[o-1].zlevel||s.incremental){i._needsManuallyCompositing=!0;break}}A(i._i,function(t){t.__dirty=!1,w(t,function(t){t.used=!1,t.endIdxNew=0,t.notClearIdx=-1})},5);for(var l=null,u=null,c=!1,p=0,d=t.length;p<d;p++){var s=t[p],g=s.zlevel,y=s.incremental,v=void 0;if(n!==g&&(n=g,c=!1),y?(c=!0,v=a.cw):v=c?a.XM:a.r4,(!l||g!==l.zlevel||v!==l.zlevel2)&&(l=i._ensureLayer(g,v),u=null,!l.__builtin__)){r.logError("ZLevel "+g+" has been used by unknown layer "+l.id);continue}if((!u||y!==u.key)&&!(u=function(t,e){var n,i=t.__cursors,r=+e;return i.get(r)||(t.__cursorStack.push(r),i.set(r,((n={key:r}).startIdx=n.drawIdx=n.endIdx=n.endIdxNew=0,n.used=!1,n.first=n.last=0/0,n.notClearIdx=-1,n)))}(l,y)).used)if(u.used=!0,e||u.first!==s.id)l.__dirty=!0,u.first=s.id,u.startIdx=u.drawIdx=p,u.endIdx=p+1;else{var m=p-u.startIdx;u.startIdx=p,u.drawIdx+=m,u.endIdx+=m}u.endIdxNew=p+1,s.__dirty&h.M&&!s.__inHover&&(y&&(s.notClear||!(p<u.drawIdx))||(l.__dirty=!0),y&&s.notClear&&u.notClearIdx<0&&(u.notClearIdx=p))}A(i._i,function(e){for(var n=e.__cursorStack,r=e.__cursors,o=n.length-1;o>=0;o--){var a=r.get(n[o]);if(a.used){var s=a.endIdxNew;(f(e)?s<a.drawIdx:s!==a.endIdx||!s||t[s-1].id!==a.last)&&(e.__dirty=!0),a.endIdx=a.endIdxNew,a.last=s?t[s-1].id:0/0}else e.__dirty=!0,r.removeKey(n[o]),n.splice(o,1)}e.__dirty&&(w(e,function(t){t.drawIdx=t.startIdx}),i._hoverLayerDirty===_&&(i._hoverLayerDirty=1))},5)},t.prototype.clear=function(){return A(this._i,function(t){t.clear(),b(t)},M),this},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,A(this._i,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?r.merge(n[t],e,!0):n[t]=e,A(this._i,function(t,e){r.merge(t,n[e],!0)})}},t.prototype.delLayer=function(t){for(var e=this._i.layerStack,n=this._i.layers,i=e.length-1;i>=0;i--){var r=e[i];if(r.zl===t){var o=n[t][r.zl2];if(o.__builtin__)continue;if(e.splice(i,1),n[t][r.zl2]=void 0,!o.virtual){var a=o.dom.parentNode;a&&a.removeChild(o.dom)}}}},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;null!=t&&(i.width=t),null!=e&&(i.height=e),t=(0,l.YC)(r,0,i),e=(0,l.YC)(r,1,i),n.style.display="",(this._width!==t||e!==this._height)&&(n.style.width=t+"px",n.style.height=e+"px",A(this._i,function(n){n.resize(t,e)}),this.refresh({paintAll:!0})),this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this._ensureLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){r.each(this._i.layers[t],function(t){t&&!t.__builtin__&&t.clear()})},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._i=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._i.layers[314159][0].dom;var e=new y("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;A(this._i,function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())})}else{for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height,beforeBrushParam:{}},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var c=a[s];(0,u.V$)(n,c,o)}(0,u.v6)(n,o)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function I(t){t.registerPainter("canvas",k)}},mk(t,e,n){var i=n("i4"),r=n("MB"),o=n("s7"),a=n("kP"),s=n("x2"),l=n("xD"),u=n("iY"),c=n("F5"),h=n("Zb"),p=function(t){function e(n){var i=t.call(this)||this;i.type="interval",i.parse=e.parse,n=n||{};var r=(0,l.yM)(i,n),o=(0,h.zk)(i,r,null);return i.brk=o.brk,i._cfg={interval:0,intervalPrecision:2,intervalCount:void 0,niceExtent:void 0},i}return(0,i.C6)(e,t),e.parse=function(t){return null==t||""===t?0/0:Number(t)},e.prototype.getConfig=function(){return(0,u.clone)(this._cfg)},e.prototype.setConfig=function(t){var e=(0,h.nl)(this);this._cfg=t=(0,u.clone)(t),null==t.niceExtent&&(t.niceExtent=e.slice()),null==t.intervalPrecision&&(t.intervalPrecision=(0,s.u$)(t.interval))},e.prototype.getTicks=function(t){t=t||{};var e=this._cfg,n=e.interval,i=(0,h.nl)(this),o=e.niceExtent,a=e.intervalPrecision,s=(0,l.mn)(),u=this.brk,c=s&&u,p=[];if(!n)return p;if("only_break"===t.breakTicks&&c)return s.addBreaksToTicks(p,u.breaks,i),p;i[0]<o[0]&&p.push({value:t.expandToNicedExtent?(0,r.LI)(o[0]-n,a):i[0]});for(var d=function(t,e){return(0,r.jn)((e-t)/n)},f=e.intervalCount,g=o[0],y=0;;y++){if(null==f){if(g>o[1]||!isFinite(g)||!isFinite(o[1]))break}else{if(y>f)break;g=(0,r.rp)(g,o[1]),y===f&&(g=o[1])}if(p.push({value:g}),g=(0,r.LI)(g+n,a),u){var v=u.calcNiceTickMultiple(g,d);v>=0&&(g=(0,r.LI)(g+v*n,a))}if(p.length>0&&g===p[p.length-1].value)break;if(p.length>3e3)return[]}var m=p.length?p[p.length-1].value:o[1];return i[1]>m&&p.push({value:t.expandToNicedExtent?(0,r.LI)(m+n,a):i[1]}),c&&s.pruneTicksByBreak(t.pruneByBreak,p,u.breaks,function(t){return t.value},e.interval,i),c&&"none"!==t.breakTicks&&s.addBreaksToTicks(p,u.breaks,i),p},e.prototype.getMinorTicks=function(t){return(0,c.a)(this,t,(0,l.DL)(this),this._cfg.interval)},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=(0,r.XV)(t.value)||0:"auto"===n&&(n=this._cfg.intervalPrecision);var i=(0,r.LI)(t.value,n,!0);return(0,o.ob)(i)},e.type="interval",e}(a.A);a.A.registerClass(p),e.A=p},zu(t,e,n){var i=n("i4"),r=n("kP"),o=n("di"),a=n("iY"),s=n("MB"),l=n("Zb"),u=n("x2"),c=function(t){function e(n){var i=t.call(this)||this;i.type="ordinal",i.parse=e.parse,(0,l.Z0)(i,e.decoratedMethods);var r=n.ordinalMeta;r||(r=new o.A({})),(0,a.isArray)(r)&&(r=new o.A({categories:(0,a.map)(r,function(t){return(0,a.isObject)(t)?t.value:t})})),i._ordinalMeta=r;var s=(0,l.zk)(null,null,n.extent||[0,r.categories.length-1]);return i._mapper=s.mapper,(0,l.w2)(i,s.mapper),i}return(0,i.C6)(e,t),e.parse=function(t){return null==t?t=0/0:(0,a.isString)(t)?null==(t=this._ordinalMeta.getOrdinal(t))&&(t=0/0):t=(0,s.jn)(t),t},e.prototype.getTicks=function(){var t=[];return(0,u.gQ)(this,0,function(e){t.push(e)}),t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null==t){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=(0,s.rp)(o,e.length);r<a;++r)i[n[r]=e[r]]=r;for(var l=0;r<o;++r){for(;null!=i[l];)l++;n[r]=l,i[l]=r}},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){var t=(0,l.nl)(this._mapper);return t[1]-t[0]+1},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.type="ordinal",e.decoratedMethods={needTransform:function(){return this._mapper.needTransform()},contain:function(t){return this._mapper.contain(this._getTickNumber(t))&&t>=0&&t<this._ordinalMeta.categories.length},normalize:function(t){return this._mapper.normalize(this._getTickNumber(t))},scale:function(t){return this.getRawOrdinalNumber((0,s.jn)(this._mapper.scale(t)))},transformIn:function(t,e){return this._mapper.transformIn(this._getTickNumber(t),e)},transformOut:function(t,e){return this.getRawOrdinalNumber(this._mapper.transformOut(t,e))},getExtent:function(){return this._mapper.getExtent()},getExtentUnsafe:function(t,e){return this._mapper.getExtentUnsafe(t,e)},setExtent:function(t,e){return this._mapper.setExtent(t,e)},setExtent2:function(t,e,n){return this._mapper.setExtent2(t,e,n)}},e}(r.A);r.A.registerClass(c),e.A=c},kP(t,e,n){var i=n("MD"),r=function(){function t(){}return t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();i.tQ(r),e.A=r},gE(t,e,n){var i=n("i4"),r=n("MB"),o=n("MUM"),a=n("x2"),s=n("kP"),l=n("iY"),u=n("xD"),c=n("F5"),h=n("Zb"),p=n("xN"),d=function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},f=function(t){function e(n){var i=t.call(this)||this;i.type="time",i.parse=e.parse,i._locale=n.locale,i._useUTC=n.useUTC,i._interval=0;var r=(0,u.yM)(i,n),o=(0,h.zk)(i,r,null);return i.brk=o.brk,i}return(0,i.C6)(e,t),e.prototype.getLabel=function(t){return(0,o.GP)(t.value,o.Lm[(0,o.$9)((0,o.ym)(this._minLevelUnit))]||o.Lm.second,this._useUTC,this._locale)},e.prototype.getFormattedLabel=function(t,e,n){return(0,o.X_)(t,e,n,this._locale,this._useUTC)},e.prototype.getTicks=function(t){t=t||{};var e=this._interval,n=(0,h.nl)(this),i=(0,u.mn)(),a=this.brk,s=i&&a,c=[];if(!e)return c;var d=this._useUTC;if(s&&"only_break"===t.breakTicks)return(0,u.mn)().addBreaksToTicks(c,a.breaks,n),c;c=function(t,e,n,i,a,s){for(var u=o.F7,c=0,h=[],d=[],f=0,g=0,m=0;m<u.length;++m){var _=(0,o.ym)(u[m]);if((0,o.ce)(u[m])&&(!function(t,a,u){var h=[],p=!a.length;if(!y((0,o.ym)(t),i[0],i[1],n)){p&&(a=[{value:(m=i[0],_=Math.max(0,(0,l.indexOf)(o.vy,t)-1),(0,o._l)(new Date(m),o.vy[_],n).getTime())},{value:i[1]}]);for(var d=0;d<a.length-1;d++){var f=a[d].value,g=a[d+1].value;if(f!==g){var m,_,x,b,w,S=void 0,A=void 0,M=void 0;switch(t){case"year":S=Math.max(1,Math.round(e/o.CZ/365)),A=(0,o.hY)(n),M=(0,o.tM)(n);break;case"half-year":case"quarter":case"month":S=(x=e/(30*o.CZ))>6?6:x>3?3:x>2?2:1,A=(0,o.jJ)(n),M=(0,o.xu)(n);break;case"week":case"half-week":case"day":S=(b=e/o.CZ)>16?16:b>7.5?7:b>3.5?4:b>1.5?2:1,A=(0,o.bP)(n),M=(0,o.ti)(n);break;case"half-day":case"quarter-day":case"hour":S=(w=e/o.MA)>12?12:w>6?6:w>3.5?4:w>2?2:1,A=(0,o.iC)(n),M=(0,o.Yd)(n);break;case"minute":S=v(e,!0),A=(0,o.yB)(n),M=(0,o.KF)(n);break;case"second":S=v(e,!1),A=(0,o.Wf)(n),M=(0,o.ww)(n);break;case"millisecond":S=r.JB(r.Cm(e,!0),1),A=(0,o.Zz)(n),M=(0,o.FP)(n)}g>=i[0]&&f<=i[1]&&function(t,e,n,r,o,a){for(var l,u,h,p=((l=new Date(0))[o](1),u=l.getTime(),l[o](1+t),h=l.getTime()-u,function(t,e){return Math.max(0,Math.round((e-t)/h))}),d=e,f=new Date(d);d<n&&d<=i[1]&&(a.push({value:d}),!(c++>3e3));)if(f[o](f[r]()+t),d=f.getTime(),s){var g=s.calcNiceTickMultiple(d,p);g>0&&(f[o](f[r]()+g*t),d=f.getTime())}a.push({value:d,notAdd:d>i[1]})}(S,f,g,A,M,h),"year"===t&&u.length>1&&0===d&&u.unshift({value:u[0].value-S})}}for(var d=0;d<h.length;d++)u.push(h[d])}}(u[m],h[h.length-1]||[],d),_!==(u[m+1]?(0,o.ym)(u[m+1]):null))){if(d.length){g=f,d.sort(function(t,e){return t.value-e.value});for(var x=[],b=0;b<d.length;++b){var w=d[b].value;(0===b||d[b-1].value!==w)&&(x.push(d[b]),w>=i[0]&&w<=i[1]&&f++)}var S=a/e;if(f>1.5*S&&g>S/1.5||(h.push(x),f>S||t===u[m]))break}d=[]}}for(var A=(0,l.filter)((0,l.map)(h,function(t){return(0,l.filter)(t,function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd})}),function(t){return t.length>0}),M=A.length-1,T=[],m=0;m<A.length;++m)for(var C=A[m],k=0;k<C.length;++k){var I=(0,o.WD)(C[k].value,n);T.push({value:C[k].value,time:{level:M-m,upperTimeUnit:I,lowerTimeUnit:I}})}(0,p.R3)(T,p.qQ,null),T.sort(function(t,e){return t.value-e.value});var D=T[0],O=T[T.length-1],L=(0,o.WD)(i[0],n),P=(0,o.WD)(i[1],n);return(!D||D.value>i[0])&&T.unshift({value:i[0],time:{level:0,upperTimeUnit:L,lowerTimeUnit:L},notNice:!0}),(!O||O.value<i[1])&&T.push({value:i[1],time:{level:0,upperTimeUnit:P,lowerTimeUnit:P},notNice:!0}),T}(this._minLevelUnit,this._approxInterval,d,n,(0,h.t5)(this),a);var f=o.vy.length-1,g=0;return(0,l.each)(c,function(t){t.time&&(f=Math.min(f,(0,l.indexOf)(o.vy,t.time.upperTimeUnit)),g=Math.max(g,t.time.level))}),s&&(0,u.mn)().pruneTicksByBreak(t.pruneByBreak,c,a.breaks,function(t){return t.value},this._approxInterval,n),s&&"none"!==t.breakTicks&&(0,u.mn)().addBreaksToTicks(c,a.breaks,n,function(t){for(var e=Math.max((0,l.indexOf)(o.vy,(0,o.WD)(t.vmin,d)),(0,l.indexOf)(o.vy,(0,o.WD)(t.vmax,d))),n=0,i=0;i<o.vy.length;i++)if(!y(o.vy[i],t.vmin,t.vmax,d)){n=i;break}var r=Math.min(n,f),a=Math.max(r,e);return{level:g,lowerTimeUnit:o.vy[a],upperTimeUnit:o.vy[r]}}),c},e.prototype.getMinorTicks=function(t){return(0,c.a)(this,t,(0,u.DL)(this),this._interval)},e.prototype.setTimeInterval=function(t){this._interval=t.interval,this._approxInterval=t.approxInterval,this._minLevelUnit=t.minLevelUnit},e.parse=function(t){return(0,l.isNumber)(t)?Math.round(t):+r._U(t)},e.type="time",e}(s.A),g=[["second",o.OY],["minute",o.iW],["hour",o.MA],["quarter-day",6*o.MA],["half-day",12*o.MA],["day",1.2*o.CZ],["half-week",3.5*o.CZ],["week",7*o.CZ],["month",31*o.CZ],["quarter",95*o.CZ],["half-year",o.$H/2],["year",o.$H]];function y(t,e,n,i){return(0,o._l)(new Date(e),t,i).getTime()===(0,o._l)(new Date(n),t,i).getTime()}function v(t,e){return(t/=e?o.iW:o.OY)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}s.A.registerClass(f),e.A=f,n.d(e,{},{R:function(t,e){var n=t.getExtent();if(n[0]===n[1]&&(n[0]-=o.CZ,n[1]+=o.CZ),-1/0===n[1]&&1/0===n[0]){var i=new Date;n[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),n[0]=n[1]-o.CZ}t.setExtent(n[0],n[1]);var r=(0,a.Ev)(e.splitNumber,10),s=(0,h.t5)(t)/r,l=e.minInterval,u=e.maxInterval;null!=l&&s<l&&(s=l),null!=u&&s>u&&(s=u);var c=g.length,p=Math.min(d(g,s,0,c),c-1),f=g[p][1],y=g[Math.max(p-1,0)][0];t.setTimeInterval({approxInterval:s,interval:f,minLevelUnit:y})}})},xD(t,e,n){var i=null;function r(){return i}n.d(e,{},{Bd:function(t){var e=t.brk;return!!e&&e.hasBreaks()},DL:function(t){var e=t.brk;return e?e.breaks:[]},Rj:function(t){i||(i=t)},mn:r,yM:function(t,e){var n=r(),i=e.breakOption,o=e.breakParsed;return!o&&n&&(o=n.parseAxisBreakOption(i,t)),o}})},x2(t,e,n){var i=n("MB"),r=n("xN"),o=n("Zb");function a(t){return"interval"===t.type}function s(t){return"log"===t.type}n.d(e,{},{Ev:function(t,e){return t=t||e,(0,i.jn)((0,i.JB)(t,1))},F:s,Mj:function(t,e,n){var r=n&&n.lookup;if(r){for(var o=0;o<r.from.length;o++)if(t===r.from[o])return r.to[o]}return(0,i.z4)(e,t)},Ob:function(t,e,n){var o=t.slice();if(o[0]===o[1]){var a=n&&n.ctnShp;if(0!==o[0]){var s=(0,i.NY)(o[0]);e[1]||(o[1]+=s/2),o[0]-=s/2}else a&&(o[0]=-1),o[1]=1}return(0,r.fA)(o[0])&&(0,r.fA)(o[1])||(o[0]=0,o[1]=1),o[1]<o[0]&&o.reverse(),o},Qw:a,_v:function(t,e){return[t[0]!==e[0],t[1]!==e[1]]},gQ:function(t,e,n){var i=(0,o.nl)(t),r=i[0],a=t.count(),s=Math.max((e||0)+1,1);0!==r&&s>1&&a/s>2&&(r=Math.round(Math.ceil(r/s)*s)),r!==i[0]&&u(i[0],!0,!0);for(var l=r;l<=i[1];l+=s)u(l,!1,l===i[0]||l===i[1]);function u(t,e,i){n({value:t,offInterval:e},i)}l-s!==i[1]&&u(i[1],!0,!0)},kH:function(t){var e=(0,i.NX)(t),n=(0,i.z4)(10,e),r=(0,i.jn)(t/n);return r?2===r?r=3:3===r?r=5:r*=2:r=1,(0,i.LI)(r*n,-e)},oY:function(t){return"time"===t.type},qe:function(t,e){return(0,i.tV)(t)/(0,i.tV)(e)},rf:function(t){return a(t)||s(t)},u$:function(t){return(0,i.XV)(t)+2},wl:function(t){return"ordinal"===t.type}})},F5(t,e,n){var i=n("MB"),r=n("xD"),o=n("x2");n.d(e,{},{a:function(t,e,n,a){for(var s=t.getTicks({expandToNicedExtent:!0}),l=[],u=t.getExtent(),c=1;c<s.length;c++){var h=s[c],p=s[c-1];if(!p.break&&!h.break){for(var d=0,f=[],g=(h.value-p.value)/e,y=(0,o.u$)(g);d<e-1;){var v=(0,i.LI)(p.value+(d+1)*g,y);v>u[0]&&v<u[1]&&f.push(v),d++}var m=(0,r.mn)();m&&m.pruneTicksByBreak("auto",f,n,function(t){return t},a,u),l.push(f)}}return l}})},Zb(t,e,n){var i=n("iY"),r=n("xN"),o=n("xD"),a=(0,i.keys)({needTransform:1,normalize:1,scale:1,transformIn:1,transformOut:1,contain:1,getExtent:1,getExtentUnsafe:1,setExtent:1,setExtent2:1,getFilter:1,sanitize:1,getDefaultStartValue:1,freeze:1});function s(t,e){return t.getExtentUnsafe(1,e)||t.getExtentUnsafe(0,e)}function l(t,e){var n=t||{},o=[];return n._extents=o,o[0]=e?e.slice():(0,r.X1)(),(0,i.extend)(n,u),n}var u={needTransform:function(){return!1},normalize:function(t){var e=this._extents[1]||this._extents[0];return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},scale:function(t){var e=this._extents[1]||this._extents[0];return t*(e[1]-e[0])+e[0]},transformIn:function(t){return t},transformOut:function(t){return t},contain:function(t){var e=s(this,null);return t>=e[0]&&t<=e[1]},getExtent:function(){return this._extents[0].slice()},getExtentUnsafe:function(t){return this._extents[t]},setExtent:function(t,e){c(this._extents,0,t,e)},setExtent2:function(t,e,n){var i=this._extents;i[t]||(i[t]=i[0].slice()),c(i,t,e,n)},freeze:function(){}};function c(t,e,n,i){(0,r.Xe)(n,i)&&(t[e][0]=n,t[e][1]=i)}n.d(e,{},{GU:1,Gj:s,N2:function(t){var e=s(t,3);return e[1]-e[0]},QO:2,Z0:function(t,e){(0,i.each)(a,function(n){t[n]=e[n]})},fU:0,nl:function(t){return t.getExtentUnsafe(0,2)},t5:function(t){var e=t.getExtentUnsafe(0,3);return e[1]-e[0]},vT:l,w2:function(t,e){t.freeze=i.noop},zk:function(t,e,n){t=t||{};var r,s=(0,o.mn)();if(s){var u=s.createBreakScaleMapper(e,n);u.hasBreaks()&&((0,i.each)(a,function(e){u[e]&&(t[e]=(0,i.bind)(u[e],u))}),r=u)}return null==r&&l(t,n),{brk:r,mapper:t}}})},MD(t,e,n){var i=n("i4"),r=n("iY"),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}var l=Math.round(10*Math.random());function u(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function c(t,e,n){return this.superClass.prototype[e].apply(t,n)}n.d(e,{},{CC:s,Od:function(t){var e=["__\0is_clz",l++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!!(t&&t[e])}},_E:function(t){return!!(t&&t[a])},gq:function(t,e){t.$constructor=t,t.extend=function(t){var e,n,o=this;return(e=o,r.isFunction(e)&&/^class\s/.test(Function.prototype.toString.call(e)))?n=function(t){function e(){return t.apply(this,arguments)||this}return(0,i.C6)(e,t),e}(o):(n=function(){(t.$constructor||o).apply(this,arguments)},r.inherits(n,this)),r.extend(n.prototype,t),n[a]=!0,n.extend=this.extend,n.superCall=u,n.superApply=c,n.superClass=o,n}},q7:function(t,e){t.extend=e.extend},tQ:function(t){var e={};t.registerClass=function(t){var n=t.type||t.prototype.type;if(n){r.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=n;var i,a,l=s(n);l.sub?l.sub!==o&&(((a=e[(i=l).main])&&a[o]||((a=e[i.main]={})[o]=!0),a)[l.sub]=t):e[l.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[o]&&(r=n?r[n]:null),i&&!r)throw Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=s(t),i=[],a=e[n.main];return a&&a[o]?r.each(a,function(t,e){e!==o&&i.push(t)}):i.push(a),i},t.hasClass=function(t){return!!e[s(t).main]},t.getAllClassMainTypes=function(){var t=[];return r.each(e,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){var n=e[s(t).main];return n&&n[o]}}})},Af(t,e,n){var i=n("iY"),r=n("MD"),o=Math.round(10*Math.random());n.d(e,{},{$Q:function(t){return[t||"",o++].join("_")},A6:function(t){var e={};t.registerSubTypeDefaulter=function(t,n){e[(0,r.CC)(t).main]=n},t.determineSubType=function(n,i){var o=i.type;if(!o){var a=(0,r.CC)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](i))}return o}},G_:function(t,e){return i.merge(i.merge({},t,!0),e,!0)},vf:function(t,e){t.topologicalTravel=function(t,r,o,a){if(t.length){var s,l,u,c=(s=r,l={},u=[],i.each(s,function(t){var r,o,a,c=n(l,t),h=(r=c.originalDeps=e(t),o=s,a=[],i.each(r,function(t){i.indexOf(o,t)>=0&&a.push(t)}),a);c.entryCount=h.length,0===c.entryCount&&u.push(t),i.each(h,function(e){0>i.indexOf(c.predecessor,e)&&c.predecessor.push(e);var r=n(l,e);0>i.indexOf(r.successor,e)&&r.successor.push(t)})}),{graph:l,noEntryList:u}),h=c.graph,p=c.noEntryList,d={};for(i.each(t,function(t){d[t]=!0});p.length;){var f=p.pop(),g=h[f],y=!!d[f];y&&(o.call(a,f,g.originalDeps.slice()),delete d[f]),i.each(g.successor,y?m:v)}i.each(d,function(){throw Error("")})}function v(t){h[t].entryCount--,0===h[t].entryCount&&p.push(t)}function m(t){d[t]=!0,v(t)}};function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}}})},oh(t,e,n){var i=(0,n("xN").$r)();n.d(e,{},{Q3:function(t){i(t).prepare={}},US:function(t){return i(t).fullUpdate},jN:function(t){return i(t).prepare},n$:function(t){i(t).fullUpdate={}}})},Upd(t,e,n){n.d(e,{w:()=>g});var i=Math.round(9*Math.random()),r="function"==typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+i++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return r?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),a=n("B5"),s=n("iY"),l=n("MB"),u=n("up"),c=n("kb"),h=n("mZ"),p=new o,d=new a.Ay(100),f=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function g(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&p.delete(t);var o=p.get(t);if(o)return o;var a=(0,s.defaults)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var g={repeat:"repeat"};return function(t){for(var e,o,p,g=[n],v=!0,m=0;m<f.length;++m){var _=a[f[m]];if(null!=_&&!(0,s.isArray)(_)&&!(0,s.isString)(_)&&!(0,s.isNumber)(_)&&"boolean"!=typeof _){v=!1;break}g.push(_)}if(v){o=g.join(",")+(r?"-svg":"");var x=d.get(o);x&&(r?t.svgElement=x:t.image=x)}var b=function t(e){if(!e||0===e.length)return[[0,0]];if((0,s.isNumber)(e)){var n=Math.ceil(e);return[[n,n]]}for(var i=!0,r=0;r<e.length;++r)if(!(0,s.isNumber)(e[r])){i=!1;break}if(i)return t([e]);for(var o=[],r=0;r<e.length;++r)if((0,s.isNumber)(e[r])){var n=Math.ceil(e[r]);o.push([n,n])}else{var n=(0,s.map)(e[r],function(t){return Math.ceil(t)});n.length%2==1?o.push(n.concat(n)):o.push(n)}return o}(a.dashArrayX),w=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if((0,s.isNumber)(t)){var e=Math.ceil(t);return[e,e]}var n=(0,s.map)(t,function(t){return Math.ceil(t)});return t.length%2?n.concat(n):n}(a.dashArrayY),S=function t(e){if(!e||0===e.length)return[["rect"]];if((0,s.isString)(e))return[[e]];for(var n=!0,i=0;i<e.length;++i)if(!(0,s.isString)(e[i])){n=!1;break}if(n)return t([e]);for(var r=[],i=0;i<e.length;++i)(0,s.isString)(e[i])?r.push([e[i]]):r.push(e[i]);return r}(a.symbol),A=(e=b,(0,s.map)(e,function(t){return y(t)})),M=y(w),T=!r&&h.yh.createCanvas(),C=r&&{tag:"g",attrs:{},key:"dcl",children:[]},k=function(){for(var t=1,e=0,n=A.length;e<n;++e)t=(0,l.lQ)(t,A[e]);for(var i=1,e=0,n=S.length;e<n;++e)i=(0,l.lQ)(i,S[e].length);t*=i;var r=M*A.length*S.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();T&&(T.width=k.width*n,T.height=k.height*n,p=T.getContext("2d")),function(){p&&(p.clearRect(0,0,T.width,T.height),a.backgroundColor&&(p.fillStyle=a.backgroundColor,p.fillRect(0,0,T.width,T.height)));for(var t=0,e=0;e<w.length;++e)t+=w[e];if(!(t<=0))for(var o=-M,s=0,l=0,h=0;o<k.height;){if(s%2==0){for(var d=l/2%S.length,f=0,g=0,y=0;f<2*k.width;){for(var v=0,e=0;e<b[h].length;++e)v+=b[h][e];if(v<=0)break;if(g%2==0){var m=(1-a.symbolSize)*.5,_=f+b[h][g]*m,x=o+w[s]*m,A=b[h][g]*a.symbolSize,I=w[s]*a.symbolSize,D=y/2%S[d].length;!function(t,e,o,s,l){var h=r?1:n,d=(0,u.v5)(l,t*h,e*h,o*h,s*h,a.color,a.symbolKeepAspect);if(r){var f=i.painter.renderOneToVNode(d);f&&C.children.push(f)}else(0,c.Xi)(p,d)}(_,x,A,I,S[d][D])}f+=b[h][g],++y,++g===b[h].length&&(g=0)}++h===b.length&&(h=0)}o+=w[s],++l,++s===w.length&&(s=0)}}(),v&&d.put(o,T||C),t.image=T,t.svgElement=C,t.svgWidth=k.width,t.svgHeight=k.height}(g),g.rotation=a.rotation,g.scaleX=g.scaleY=r?1:1/n,p.set(t,g),t.dirty=!1,g}function y(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}},u1(t,e,n){n.d(e,{},{R:function(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}})},s7(t,e,n){var i=n("iY"),r=n("OR"),o=n("MB"),a=n("MUM");function s(t){if(!(0,o.kf)(t))return i.isString(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}var l=i.normalizeCssArray,u=["a","b","c","d","e","f","g"],c=function(t,e){return"{"+t+(null==e?"":e)+"}"};n.d(e,{},{Cb:function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},JW:function(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)},QX:l,YK:function(t,e,n){i.isArray(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=u[s];t=t.replace(c(l),c(l,0))}for(var h=0;h<o;h++)for(var p=0;p<a.length;p++){var d=e[h][a[p]];t=t.replace(c(u[p],h),n?(0,r.Me)(d):d)}return t},fU:function(t,e,n){("week"===t||"month"===t||"quarter"===t||"half-year"===t||"year"===t)&&(t="MM-dd\nyyyy");var i=(0,o._U)(e),r=n?"getUTC":"get",s=i[r+"FullYear"](),l=i[r+"Month"]()+1,u=i[r+"Date"](),c=i[r+"Hours"](),h=i[r+"Minutes"](),p=i[r+"Seconds"](),d=i[r+"Milliseconds"]();return t.replace("MM",(0,a.eV)(l,2)).replace("M",l).replace("yyyy",s).replace("yy",(0,a.eV)(s%100+"",2)).replace("dd",(0,a.eV)(u,2)).replace("d",u).replace("hh",(0,a.eV)(c,2)).replace("h",c).replace("mm",(0,a.eV)(h,2)).replace("m",h).replace("ss",(0,a.eV)(p,2)).replace("s",p).replace("SSS",(0,a.eV)(d,3))},he:function(t,e){return e=e||"transparent",i.isString(t)?t:i.isObject(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e},io:function(t,e,n){return i.each(e,function(e,i){t=t.replace("{"+i+"}",n?(0,r.Me)(e):e)}),t},ob:s,qg:function(t,e){var n=i.isString(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,r.Me)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,r.Me)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""},x5:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},yC:function(t,e,n){function r(t){return t&&i.trim(t)?t:"-"}var l="time"===e,u=t instanceof Date;if(l||u){var c=l?(0,o._U)(t):t;if(!isNaN(+c))return(0,a.GP)(c,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(u)return"-"}if("ordinal"===e)return i.isStringSafe(t)?r(t):i.isNumber(t)&&(0,o.YC)(t)?t+"":"-";var h=(0,o.Sm)(t);return(0,o.YC)(h)?s(h):i.isStringSafe(t)?r(t):"boolean"==typeof t?t+"":"-"}})},uf(t,e,n){n.r(e);var i=n("av"),r=n("AT"),o=n("xy"),a=n("Pk"),s=n("P7"),l=n("s5"),u=n("jZ"),c=n("s2"),h=n("vH"),p=n("Tj"),d=n("Qz"),f=n("wq"),g=n("hC"),y=n("Jx"),v=n("Vb"),m=n("xz"),_=n("QO"),x=n("Wf"),b=n("zY"),w=n("Up"),S=n("M6"),A=n("Y8"),M=n("Mg"),T=n("zM"),C=n("zv"),k=n("JU"),I=n("iY"),D=n("FL"),O=n("W5"),L=n("MB"),P={},R=i.Qh;function B(t,e){P[t]=e}function z(t,e,n,r){var o=i.UJ(t,e);return n&&("center"===r&&(n=N(n,o.getBoundingRect())),V(o,n)),o}function N(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var E=i.uc;function V(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}var F=k.M7;function Y(t,e,n){return e&&!(0,I.isArrayLike)(e)&&(e=s.Ay.getLocalTransform(e)),n&&(e=r.invert([],e)),o.applyTransform([],t,e)}function H(t,e,n,i,r,o,a,s){var l,u=n-t,c=i-e,h=a-r,p=s-o,d=h*c-u*p;if((l=d)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,y=(f*c-u*g)/d;if(y<0||y>1)return!1;var v=(f*p-h*g)/d;return!(v<0)&&!(v>1)}var W=[0,0,0,0];function G(t,e,n,i,r,o,a){var s=e[o]+e[r],l=t[i];t[i]+=s,a=(0,L.JB)(0,(0,L.rp)(a,l)),t[i]<a?(t[i]=a,t[n]+=e[r]>=0?-e[r]:e[o]>=0?l+e[o]:(0,L.NY)(s)>1e-8?(l-a)*e[r]/s:0):t[n]-=e[r]}function Z(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}var U=new s.Ay;U.transform=r.create(),B("circle",h.A),B("ellipse",p.A),B("sector",d.A),B("ring",f.A),B("polygon",g.A),B("polyline",y.A),B("rect",v.A),B("line",m.A),B("bezierCurve",_.A),B("arc",x.A),n.d(e,{Arc:()=>x.A,BezierCurve:()=>_.A,BoundingRect:()=>A.Ay,Circle:()=>h.A,CompoundPath:()=>b.A,Ellipse:()=>p.A,Group:()=>u.A,Image:()=>l.Ay,IncrementalDisplayable:()=>C.A,Line:()=>m.A,LinearGradient:()=>w.A,OrientedBoundingRect:()=>M.A,Path:()=>a.Ay,Point:()=>T.A,Polygon:()=>g.A,Polyline:()=>y.A,RadialGradient:()=>S.A,Rect:()=>v.A,Ring:()=>f.A,Sector:()=>d.A,Text:()=>c.Ay,initProps:()=>O.LW,isElementRemoved:()=>O.LR,removeElement:()=>O.Nz,removeElementWithFadeOut:()=>O.t5,updateProps:()=>O.oi},{HOVER_LAYER_FOR_INCREMENTAL:2,HOVER_LAYER_FROM_THRESHOLD:1,HOVER_LAYER_NO:0,WH:["width","height"],XY:["x","y"],applyTransform:Y,calcZ2Range:function(t){var e=-1/0,n=1/0;function i(t){if(t&&!t.isGroup){var e=t.currentStates;if(e.length)for(var n=0;n<e.length;n++)r(t.states[e[n]]);r(t)}}function r(t){if(t){var i=t.z2;i>e&&(e=i),i<n&&(n=i)}}return Z(t,function(t){i(t),i(t.getTextContent()),i(t.getTextGuideLine())}),n>e&&(n=e=0),{min:n,max:e}},clipPointsByRect:function(t,e){return(0,I.map)(t,function(t){var n=t[0];n=(0,L.JB)(n,e.x),n=(0,L.rp)(n,e.x+e.width);var i=t[1];return i=(0,L.JB)(i,e.y),[n,i=(0,L.rp)(i,e.y+e.height)]})},clipRectByRect:function(t,e){var n=(0,L.JB)(t.x,e.x),i=(0,L.rp)(t.x+t.width,e.x+e.width),r=(0,L.JB)(t.y,e.y),o=(0,L.rp)(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},createIcon:function(t,e,n){var i=(0,I.extend)({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),(0,I.defaults)(r,n),new l.Ay(i)):z(t.replace("path://",""),i,n,"center")},decomposeTransform:function(t,e){return e?r.copy(U.transform,e):r.identity(U.transform),U.decomposeTransform(),(0,s.IT)(t,U),t},ensureCopyRect:function(t,e){return t?A.Ay.copy(t,e):e.clone()},ensureCopyTransform:function(t,e){return e?r.copy(t||r.create(),e):void 0},expandOrShrinkRect:function(t,e,n,i,r){return null==e||((0,I.isNumber)(e)?W[0]=W[1]=W[2]=W[3]=e:(W[0]=e[0],W[1]=e[1],W[2]=e[2],W[3]=e[3]),i&&(W[0]=(0,L.JB)(0,W[0]),W[1]=(0,L.JB)(0,W[1]),W[2]=(0,L.JB)(0,W[2]),W[3]=(0,L.JB)(0,W[3])),n&&(W[0]=-W[0],W[1]=-W[1],W[2]=-W[2],W[3]=-W[3]),G(t,W,"x","width",3,1,r&&r[0]||0),G(t,W,"y","height",0,2,r&&r[1]||0)),t},extendPath:function(t,e){return R(t,e)},extendShape:function(t){return a.Ay.extend(t)},getCurrentCanvasPainter:function(t){var e=t.getZr().painter;return"canvas"===e.getType()?e:null},getShapeClass:function(t){if(P.hasOwnProperty(t))return P[t]},getTransform:function(t,e){for(var n=r.identity([]);t&&t!==e;)r.mul(n,t.getLocalTransform(),n),t=t.parent;return n},groupTransition:function(t,e,n){if(t&&e){var i,r=(i={},t.traverse(function(t){!t.isGroup&&t.anid&&(i[t.anid]=t)}),i);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),(0,O.oi)(t,i,n,(0,D.z)(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return null!=t.shape&&(e.shape=(0,I.clone)(t.shape)),e}},isBoundingRectAxisAligned:function(t){return!t||1e-5>(0,L.NY)(t[1])&&1e-5>(0,L.NY)(t[2])||1e-5>(0,L.NY)(t[0])&&1e-5>(0,L.NY)(t[3])},lineLineIntersect:H,linePolygonIntersect:function(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(H(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}},makeImage:function(t,e,n){var i=new l.Ay({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(N(e,r))}}});return i},makePath:z,mergePath:E,payloadDisableAnimation:function(t){return t.animation={duration:0},t},registerShape:B,resizePath:V,retrieveZInfo:function(t){return{z:t.get("z")||0,zlevel:t.get("zlevel")||0}},setTooltipConfig:function(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=(0,I.isString)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&(0,I.each)((0,I.keys)(l),function(t){(0,I.hasOwn)(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=(0,D.z)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:(0,I.defaults)({content:i,encodeHTMLContent:!0,formatterParams:s},r)}},subPixelOptimize:F,subPixelOptimizeLine:function(t,e){return k.eB(t,t,{lineWidth:e}),t},subPixelOptimizeRect:function(t,e){return k.Op(t,t,e),t},transformDirection:function(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:(0,L.NY)(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:(0,L.NY)(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=Y(o,e,n),(0,L.NY)(o[0])>(0,L.NY)(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},traverseElements:function(t,e){if(t)if((0,I.isArray)(t))for(var n=0;n<t.length;n++)Z(t[n],e);else Z(t,e)},traverseUpdateZ:function(t,e,n){!function t(e,n,i,r){if(e.ignoreModelZ)return r;var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=(0,L.JB)(t(s[l],n,i,r),r);else e.z=n,e.zlevel=i,r=(0,L.JB)(e.z2||0,r);if(o&&(o.z=n,o.zlevel=i,isFinite(r)&&(o.z2=r+2)),a){var u=e.textGuideLineConfig;a.z=n,a.zlevel=i,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}(t,e,n,-1/0)}})},FL(t,e,n){var i=(0,n("xN").$r)();n.d(e,{},{a:function(t,e,n,r){if(r){var o=i(r);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===r.type&&r.traverse(function(r){var o=i(r);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"})}},z:i})},db(t,e,n){var i=n("iY"),r=n("Y8"),o=n("MB"),a=n("s7"),s=n("Ww"),l=i.each,u=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function h(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var c,h,p=l.getBoundingRect(),d=e.childAt(u+1),f=d&&d.getBoundingRect();if("horizontal"===t){var g=p.width+(f?-f.x+p.x:0);(c=o+g)>i||l.newline?(o=0,c=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);(h=a+y)>r||l.newline?(o+=s+n,a=0,h=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+n:a=h+n)})}function p(t,e,n){n=a.QX(n||0);var i=e.width,s=e.height,l=(0,o.lo)(t.left,i),u=(0,o.lo)(t.top,s),c=(0,o.lo)(t.right,i),h=(0,o.lo)(t.bottom,s),p=(0,o.lo)(t.width,i),d=(0,o.lo)(t.height,s),f=n[2]+n[0],g=n[1]+n[3],y=t.aspect;switch(isNaN(p)&&(p=i-c-g-l),isNaN(d)&&(d=s-h-f-u),null!=y&&(isNaN(p)&&isNaN(d)&&(y>i/s?p=.8*i:d=.8*s),isNaN(p)&&(p=y*d),isNaN(d)&&(d=p/y)),isNaN(l)&&(l=i-c-p-g),isNaN(u)&&(u=s-h-d-f),t.left||t.right){case"center":l=i/2-p/2-n[3];break;case"right":l=i-p-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-d/2-n[0];break;case"bottom":u=s-d-f}l=l||0,u=u||0,isNaN(p)&&(p=i-g-l-(c||0)),isNaN(d)&&(d=s-f-u-(h||0));var v=new r.Ay((e.x||0)+l+n[3],(e.y||0)+u+n[0],p,d);return v.margin=n,v}i.curry(h,"vertical"),i.curry(h,"horizontal");var d=1,f=2;function g(t,e,n){var i,r,o,a,l=t.boxCoordinateSystem;if(l){var u=(0,s.fE)(t),c=u.coord,h=u.from;if(l.dataToLayout){o=d,a=h;var p=l.dataToLayout(c);i=p.contentRect||p.rect}else n&&n.enableLayoutOnlyByCenter&&l.dataToPoint&&(o=f,a=h,r=l.dataToPoint(c))}return null==o&&(o=d),o===d&&(i||(i={x:0,y:0,width:e.getWidth(),height:e.getHeight()}),r=[i.x+i.width/2,i.y+i.height/2]),{type:o,refContainer:i,refPoint:r,boxCoordFrom:a}}function y(t,e){return e&&t&&l(u,function(n){i.hasOwn(e,n)&&(t[n]=e[n])}),t}n.d(e,{},{FJ:function(t,e,n){var i=t.getShallow("preserveAspect",!0);if(!i)return e;var r=e.width/e.height;if(1e-9>Math.abs(Math.atan(n)-Math.atan(r)))return e;var o=t.getShallow("preserveAspectAlign",!0),a=t.getShallow("preserveAspectVerticalAlign",!0),s={width:e.width,height:e.height},l="cover"===i;return r>n&&!l||r<n&&l?(s.width=e.height*n,"left"===o?s.left=0:"right"===o?s.right=0:s.left="center"):(s.height=e.width/n,"top"===a?s.top=0:"bottom"===a?s.bottom=0:s.top="middle"),p(s,e)},Ir:y,Lj:g,Qf:function(t,e){return null!=t[c[e][0]]||null!=t[c[e][1]]&&null!=t[c[e][2]]},Tj:u,YA:function(t,e,n){var r=n&&n.ignoreSize;i.isArray(r)||(r=[r,r]);var o=s(c[0],0),a=s(c[1],1);function s(n,o){var a={},s=0,c={},h=0;if(l(n,function(e){c[e]=t[e]}),l(n,function(t){i.hasOwn(e,t)&&(a[t]=c[t]=e[t]),u(a,t)&&s++,u(c,t)&&h++}),r[o])return u(e,n[1])?c[n[2]]=null:u(e,n[2])&&(c[n[1]]=null),c;if(2===h||!s)return c;if(s>=2)return a;for(var p=0;p<n.length;p++){var d=n[p];if(!i.hasOwn(a,d)&&i.hasOwn(t,d)){a[d]=t[d];break}}return a}function u(t,e){return null!=t[e]&&"auto"!==t[e]}function h(t,e,n){l(t,function(t){e[t]=n[t]})}h(c[0],t,o),h(c[1],t,a)},aP:h,ad:function(t){var e=t.layoutMode||t.constructor.layoutMode;return i.isObject(e)?e:e?{type:e}:null},dV:p,io:function(t,e){return{left:t.getShallow("left",e),top:t.getShallow("top",e),right:t.getShallow("right",e),bottom:t.getShallow("bottom",e),width:t.getShallow("width",e),height:t.getShallow("height",e)}},m$:function(t,e,n,o,a,s){var l,u=!a||!a.hv||a.hv[0],c=!a||!a.hv||a.hv[1],h=a&&a.boundingMode||"all";if((s=s||t).x=t.x,s.y=t.y,!u&&!c)return!1;if("raw"===h)l="group"===t.type?new r.Ay(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var d=t.getLocalTransform();(l=l.clone()).applyTransform(d)}var f=p(i.defaults({width:l.width,height:l.height},e),n,o),g=u?f.x-l.x:0,y=c?f.y-l.y:0;return"raw"===h?(s.x=g,s.y=y):(s.x+=g,s.y+=y),s===t&&t.markRedraw(),!0},vs:function(t){return y({},t)},zH:function(t,e){var n=function(t,e){var n,r,a=g(t,e,{enableLayoutOnlyByCenter:!0}),l=t.getBoxLayoutParams();if(a.type===f)r=a.refPoint,n=p(l,{width:e.getWidth(),height:e.getHeight()});else{var u=t.get("center"),c=i.isArray(u)?u:[u,u];n=p(l,a.refContainer),r=a.boxCoordFrom===s.Xf?a.refPoint:[(0,o.lo)(c[0],n.width)+n.x,(0,o.lo)(c[1],n.height)+n.y]}return{viewRect:n,center:r}}(t,e),r=n.viewRect,a=n.center,l=t.get("radius");i.isArray(l)||(l=[0,l]);var u=Math.min((0,o.lo)(r.width,e.getWidth()),(0,o.lo)(r.height,e.getHeight())),c=(0,o.lo)(l[0],u/2),h=(0,o.lo)(l[1],u/2);return{cx:a[0],cy:a[1],r0:c,r:h,viewRect:r}}})},nXY(t,e,n){var i={},r="u">typeof console&&console.warn&&console.log;function o(t,e,n){if(r){if(n){if(i[e])return;i[e]=!0}console[t]("[ECharts] "+e)}}n.d(e,{},{$8:function(t){throw Error(t)},R8:function(t,e){o("warn",t,e)},aT:function(t){},z3:function(t,e){o("error",t,e)}})},xN(t,e,n){var i=n("iY"),r=n("E3"),o=n("MB"),a="series\0",s="\0_ec_\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t,e,n){var i=h(e[t],null),r=h(n[t],null);return null!=i&&null!=r&&i===r}function c(t){return h(t,"")}function h(t,e){return null==t?e:(0,i.isString)(t)?t:(0,i.isNumber)(t)||(0,i.isStringSafe)(t)?t+"":e}function p(t){return t&&null!=t.id&&0===c(t.id).indexOf(s)}var d=(0,o.IH)();function f(t,e){if((0,i.isString)(t)){var n,r={};r[t+"Index"]=0,n=r}else n=t;var o=(0,i.createHashMap)(),a={},s=!1;return(0,i.each)(n,function(t,n){if("dataIndex"===n||"dataIndexInside"===n){a[n]=t;return}var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=r[1],u=(r[2]||"").toLowerCase();!l||!u||e&&e.includeMainTypes&&0>(0,i.indexOf)(e.includeMainTypes,l)||(s=s||!!l,(o.get(l)||o.set(l,{}))[u]=t)}),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var g={useDefault:!0,enableAll:!1,enableNone:!1};function y(t,e,n,i){i=i||g;var r=n.index,o=n.id,a=n.name,s={models:null,specified:null!=r||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}if("none"===r||!1===r)if(i.enableNone)return s.models=[],s;else r=-1;return"all"===r&&(r=i.enableAll?o=a=null:-1),s.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),s}var v=function(){function t(){}return t.prototype.reset=function(t,e,n,i){return this._list=t,this._step=i=i||1,this._idx=e,this._end=null!=n?n:i>0?t.length:0,this.item=null,this.key=0/0,this},t.prototype.next=function(){return(this._step>0?this._idx<this._end:this._idx>=this._end)&&(this.item=this._list[this._idx],this.key=this._idx=this._idx+this._step,!0)},t}();function m(t){return null!=t&&isFinite(t)}function _(t,e){return m(t)&&m(e)&&t<=e}var x=(0,o.IH)();n.d(e,{},{$r:function(){var t="__ec_inner_"+d++;return function(e){return e[t]||(e[t]={})}},AR:function(t){t.option=t.parentModel=t.ecModel=null},Ax:function(t,e){_(e[0],e[1])&&(e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]))},Bq:function(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n},D$:function(t,e){return t.getAttribute?t.getAttribute(e):t[e]},D6:function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var o=h(t[i].seriesId,null);if(null==o)return;for(var a=l(t[i].dataIndex),s=n&&n[o],u=0,c=a.length;u<c;u++){var p=a[u];s&&s[p]?s[p]=null:(e[o]||(e[o]={}))[p]=1}}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=o(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}},EV:function(){var t="__ec_once_"+x++;return function(e,n){(0,i.hasOwn)(e,t)||(e[t]=1,n())}},FM:function(t,e){m(e)&&e<t[0]&&(t[0]=e)},GX:function(t,e,n){(0,i.each)(t,function(t){var r,o,a,s,l=t.newOption;(0,i.isObject)(l)&&(t.keyInfo.mainType=e,t.keyInfo.subType=(r=e,o=l,a=t.existing,s=n,o.type?o.type:a?a.subType:s.determineSubType(r,o)))})},HB:f,Il:function(t,e,n,r,a){var s=null==e||"auto"===e;if(null==r)return r;if((0,i.isNumber)(r)){var l,u=(r-(l=n||0))*a+l;return(0,o.LI)(u,s?Math.max((0,o.XV)(n||0),(0,o.XV)(r)):e)}if((0,i.isString)(r))return a<1?n:r;for(var c=[],h=Math.max(n?n.length:0,r.length),p=0;p<h;++p){var d=t.getDimensionInfo(p);if(d&&"ordinal"===d.type)c[p]=(a<1&&n?n:r)[p];else{var f=n&&n[p]?n[p]:0,g=r[p],u=(g-f)*a+f;c[p]=(0,o.LI)(u,s?Math.max((0,o.XV)(f),(0,o.XV)(g)):e)}}return c},JO:y,JS:["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"],M5:function(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}},O0:function(t){var e=t.name;return!!(e&&e.indexOf(a))},O2:function(t,e,n){var r,o,s,l,h,d,f,g,y,v,m,_,x,b="normalMerge"===n,w="replaceMerge"===n,S="replaceAll"===n;t=t||[],e=(e||[]).slice();var A=(0,i.createHashMap)();(0,i.each)(e,function(t,n){if(!(0,i.isObject)(t)){e[n]=null;return}});var M=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||p(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,A,n);return(b||w)&&(r=M,o=t,s=A,l=e,(0,i.each)(l,function(t,e){if(t&&null!=t.id){var n=c(t.id),a=s.get(n);if(null!=a){var u=r[a];(0,i.assert)(!u.newOption,'Duplicated option on id "'+n+'".'),u.newOption=t,u.existing=o[a],l[e]=null}}})),b&&(h=M,d=e,(0,i.each)(d,function(t,e){if(t&&null!=t.name)for(var n=0;n<h.length;n++){var i=h[n].existing;if(!h[n].newOption&&i&&(null==i.id||null==t.id)&&!p(t)&&!p(i)&&u("name",i,t)){h[n].newOption=t,d[e]=null;return}}})),b||w?(f=M,g=e,y=w,(0,i.each)(g,function(t){if(t){for(var e,n=0;(e=f[n])&&(e.newOption||p(e.existing)||e.existing&&null!=t.id&&!u("id",t,e.existing));)n++;e?(e.newOption=t,e.brandNew=y):f.push({newOption:t,brandNew:y,existing:null,keyInfo:null}),n++}})):S&&(v=M,m=e,(0,i.each)(m,function(t){v.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=M,x=(0,i.createHashMap)(),(0,i.each)(_,function(t){var e=t.existing;e&&x.set(e.id,t)}),(0,i.each)(_,function(t){var e=t.newOption;(0,i.assert)(!e||null==e.id||!x.get(e.id)||x.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&x.set(e.id,t),t.keyInfo||(t.keyInfo={})}),(0,i.each)(_,function(t,e){var n=t.existing,r=t.newOption,o=t.keyInfo;if((0,i.isObject)(r)){if(o.name=null!=r.name?c(r.name):n?n.name:a+e,n)o.id=c(n.id);else if(null!=r.id)o.id=c(r.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(x.get(o.id))}x.set(o.id,t)}}),M},O9:function(t,e){return{seriesType:t,overallReset:e}},R3:function(t,e,n){var r=(0,i.createHashMap)(),o=0;(0,i.each)(t,function(i){var a=e(i),s=r.get(a)||0;n&&n(i,s),s||n||(t[o++]=i),r.set(a,s+1)}),n||(t.length=o)},S_:function(t){return s+t},Sq:function(t,e){var n=(0,i.createHashMap)(),r=[];return(0,i.each)(t,function(t){var i=e(t);(n.get(i)||(r.push(i),n.set(i,[]))).push(t)}),{keys:r,buckets:n}},U2:function(t){_(t[0],t[1])&&t[0]>t[1]&&(t[0]=t[1])},US:g,UW:{useDefault:!1,enableAll:!0,enableNone:!0},Vd:v,X1:function(){return[1/0,-1/0]},XJ:function(t){return"auto"===t?r.A.domSupported?"html":"richText":t||"html"},Xe:_,Zk:function(t,e,n){var i=t.getData().count();return{progressiveRender:n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,large:t.get("large")&&i>=t.get("largeThreshold"),modDataCount:"mod"===t.get("progressiveChunkMode")?t.getData().count():null}},_e:function(t,e,n){var i=f(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each(function(e,i){var r=y(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]}),a},cd:function(t){return t+""},dr:function(t,e,n){var i={};i[e+"Id"]=t[e+"Id"],i[e+"Index"]=t[e+"Index"],i[e+"Name"]=t[e+"Name"];var r={mainType:e,query:i};return n&&(r.subType=n),r},fA:m,i2:function(t,e){return(0,i.retrieve2)(e,!0)?t.seriesIndex+2:0},i_:function(t,e){m(e)&&e>t[1]&&(t[1]=e)},le:function(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,i.isArray)(e.dataIndex)?(0,i.map)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,i.isArray)(e.name)?(0,i.map)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0},o1:function(t){var e=t[1]-t[0];return isFinite(e)&&e>=0},oh:p,qB:l,qQ:function(t){return t.value+""},uQ:function(t){return{overallReset:t}},vS:h,vj:function(t){return!(0,i.isObject)(t)||(0,i.isArray)(t)||t instanceof Date?t:t.value},vx:function(t,e){m(e)&&(e<t[0]&&(t[0]=e),e>t[1]&&(t[1]=e))},zu:function(t){return(0,i.isObject)(t)&&!(t instanceof Array)}})},MB(t,e,n){var i=n("iY"),r=Math.min,o=Math.max,a=Math.abs,s=Math.round,l=Math.floor,u=Math.ceil,c=Math.pow,h=Math.log,p=Math.LN10,d=Math.PI,f=Math.random;function g(t,e,n){return i.isString(t)?y(t)?parseFloat(t)/100*e+(n||0):parseFloat(t):null==t?0/0:+t}function y(t){return!!t.replace(/^\s+|\s+$/g,"").match(/%$/)}function v(t,e,n){return isNaN(e)?n?""+t:+t:(e=r(o(0,e),20),t=(+t).toFixed(e),n?t:+t)}function m(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e=1,n=0;n<15;n++,e*=10)if(s(t*e)/e===t)return n}return _(t)}function _(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,a=e.indexOf(".");return o(0,(a<0?0:r-1-a)-i)}function x(t,e){var n=i.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return[];for(var r=c(10,e),o=i.map(t,function(t){return(isNaN(t)?0:t)/n*r*100}),a=100*r,s=i.map(o,function(t){return l(t)}),u=i.reduce(s,function(t,e){return t+e},0),h=i.map(o,function(t,e){return t-s[e]});u<a;){for(var p=-1/0,d=null,f=0,g=h.length;f<g;++f)h[f]>p&&(p=h[f],d=f);++s[d],h[d]=0,++u}return i.map(s,function(t){return t/r})}var b=c(2,53)-1,w=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function S(t){if(0===t)return 0;var e=l(h(t)/p);return t/c(10,e)>=10&&e++,e}function A(t){var e=parseFloat(t);return e==t&&(0!==e||!i.isString(t)||0>=t.indexOf("x"))?e:0/0}n.d(e,{},{Cb:function(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i){if(l>0){if(t<=r)return a;else if(t>=o)return s}else if(t>=r)return a;else if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a},Cm:function(t,e){var n=S(t),i=c(10,n),r=t/i;return v(t=(2===e?1:e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,-n)},Dx:2,EO:function(t,e,n){var i=a(t[1]-t[0]);if(!isFinite(i)||0===i)return 0/0;var r=o(0,u(-(h(2*a(n||1)*a(i))/p)+h(a(e))/p));return isFinite(r)||(r=0/0),r},IH:function(){return s(9*f())},Is:b,JB:o,LI:v,LQ:g,N9:function(t){return i.isString(t)&&y(t)},NX:S,NY:a,Rl:14,SS:d,Sm:A,Tr:function(t,e){var n=o(m(t),m(e)),i=t+e;return n>20?i:v(i,n)},XV:m,Y6:function(t){return t.sort(function(t,e){return t-e}),t},YC:function(t){return null!=t&&isFinite(t)},YV:function(t,e){var n=(t.length-1)*e+1,i=l(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r},Zr:l,_7:function(t){var e=2*d;return(t%e+e)%e},_U:function(t){if(t instanceof Date)return t;if(i.isString(t)){var e=w.exec(t);if(!e)return new Date(0/0);if(!e[8])return new Date(+e[1],(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0);var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return null==t?new Date(0/0):new Date(s(t))},au:function(t){return c(10,S(t))},dh:function(t){return t>-1e-4&&t<1e-4},eq:function(t,e,n){return null==e&&(e=10),v(t,e,n)},hb:function(t,e){var n=r(o(-l(h(t[1]-t[0])/p)+s(h(a(e[1]-e[0]))/p),0),20);return isFinite(n)?n:20},ih:u,jn:s,kM:x,kf:function(t){return!isNaN(A(t))},lQ:function(t,e){return null==t?e:null==e?t:t*e/function t(e,n){return 0===n?e:t(n,e%n)}(t,e)},lo:function(t,e,n){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return g(t,e,n)},rp:r,sL:function(t){t.sort(function(t,e){return!function t(e,n,i){return e.interval[i]<n.interval[i]||e.interval[i]===n.interval[i]&&(e.close[i]-n.close[i]==(i?-1:1)||!i&&t(e,n,1))}(t,e,0)?1:-1});for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t},tV:h,wp:function(t,e,n){return t[e]&&x(t,n)[e]||0},y6:_,z4:c})},fC(t,e,n){var i=n("i4"),r=n("Pk"),o=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0};e.A=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=(o-r)*.5,s=r+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=2*Math.PI,p=c?u-l<h:l-u<h;p||(l=u-(c?h:-h));var d=Math.cos(l),f=Math.sin(l),g=Math.cos(u),y=Math.sin(u);p?(t.moveTo(d*r+n,f*r+i),t.arc(d*s+n,f*s+i,a,-Math.PI+l,l,!c)):t.moveTo(d*o+n,f*o+i),t.arc(n,i,o,l,u,!c),t.arc(g*s+n,y*s+i,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&t.arc(n,i,r,u,l,c)},e}(r.Ay)},LP(t,e,n){var i=n("iY"),r=n("FL"),o=n("x4z"),a=n("xN"),s=n("Pk"),l=n("q0"),u=1,c={},h=(0,a.$r)(),p=(0,a.$r)(),d="highlight",f="downplay",g="select",y="unselect",v="toggleSelect";function m(t){return null!=t&&"none"!==t}function _(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function x(t){_(t,"emphasis",2)}function b(t){2===t.hoverState&&_(t,"normal",0)}function w(t){_(t,"blur",1)}function S(t){1===t.hoverState&&_(t,"normal",0)}function A(t){t.selected=!0}function M(t){t.selected=!1}function T(t,e,n){e(t,n),t.isGroup&&t.traverse(function(t){e(t,n)})}function C(t,e){var n,r,a,l,u,c=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n){var r=e&&(0,i.indexOf)(e,"select")>=0,a=!1;if(t instanceof s.Ay){var l=h(t),u=r&&l.selectFill||l.normalFill,c=r&&l.selectStroke||l.normalStroke;if(m(u)||m(c)){var p=(n=n||{}).style||{};"inherit"===p.fill?(a=!0,n=(0,i.extend)({},n),(p=(0,i.extend)({},p)).fill=u):!m(p.fill)&&m(u)?(a=!0,n=(0,i.extend)({},n),(p=(0,i.extend)({},p)).fill=(0,o.liftColor)(u)):!m(p.stroke)&&m(c)&&(a||(n=(0,i.extend)({},n),p=(0,i.extend)({},p)),p.stroke=(0,o.liftColor)(c)),n.style=p}}if(n&&null==n.z2){a||(n=(0,i.extend)({},n));var d=t.z2EmphasisLift;n.z2=t.z2+(null!=d?d:10)}return n}(this,e,c);else if("blur"===t)return n=c,r=(0,i.indexOf)(this.currentStates,t)>=0,a=this.style.opacity,l=r?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(var a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&0>u.__fromStateTransition.indexOf(n)&&"style"===u.targetName&&u.saveTo(o,e)}return o}(this,["opacity"],t,{opacity:1}),null==(u=(n=n||{}).style||{}).opacity&&(n=(0,i.extend)({},n),u=(0,i.extend)({opacity:r?a:.1*l.opacity},u),n.style=u),n;else if("select"===t){var p=c;if(p&&null==p.z2){p=(0,i.extend)({},p);var d=this.z2SelectLift;p.z2=this.z2+(null!=d?d:9)}return p}}return c}function k(t){t.stateProxy=C;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=C),n&&(n.stateProxy=C)}function I(t,e){R(t,e)||t.__highByOuter||T(t,x)}function D(t,e){R(t,e)||t.__highByOuter||T(t,b)}function O(t){T(t,S)}function L(t){T(t,A)}function P(t){T(t,M)}function R(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function B(t){var e=t.getModel(),n=[],r=[];e.eachComponent(function(e,i){var o=p(i),a=(0,l.k)(t,i),s="series"===e;s||r.push(a),o.isBlured&&(a.group.traverse(function(t){S(t)}),s&&n.push(i)),o.isBlured=!1}),(0,i.each)(r,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function z(t,e,n,r){var o=r.getModel();function a(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&O(i)}}if((n=n||"coordinateSystem",null!=t)&&e&&"none"!==e){var s=o.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries(function(t){var o=s===t,c=t.coordinateSystem;c&&c.master&&(c=c.master);var h=c&&l?c===l:o;if(!("series"===n&&!o||"coordinateSystem"===n&&!h||"series"===e&&o)){if(r.getViewOfSeriesModel(t).group.traverse(function(t){t.__highByOuter&&o&&"self"===e||w(t)}),(0,i.isArrayLike)(e))a(t.getData(),e);else if((0,i.isObject)(e))for(var d=(0,i.keys)(e),f=0;f<d.length;f++)a(t.getData(d[f]),e[d[f]]);u.push(t),p(t).isBlured=!0}}),o.eachComponent(function(t,e){if("series"!==t){var n=r.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,o)}})}}function N(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){p(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse(function(t){w(t)})}}}function E(t,e,n,i){var o,a={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return a;var s=i.getModel().getComponent(t,e);if(!s)return a;var l=i.getViewOfComponentModel(s);if(!l||!l.findHighDownDispatchers)return a;for(var u=l.findHighDownDispatchers(n),c=0;c<u.length;c++)if("self"===(0,r.z)(u[c]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function V(t,e,n){W(t,!0),T(t,k),F(t,e,n)}function F(t,e,n){var i=(0,r.z)(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var Y=["emphasis","blur","select"],H={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function W(t,e){var n=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!n||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n)}function G(t){var e=t.type;return e===g||e===y||e===v}n.d(e,{},{BV:["emphasis","blur","select"],CA:10,DW:k,Du:N,HY:function(t,e){t.__highByOuter|=1<<(e||0),T(t,x)},Iz:function(t,e,n){B(n);var o=(0,r.z)(t),a=E(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,i.each)(a,function(t){return D(t,e)}):D(t,e)},JC:O,JI:L,Lm:function(t,e,n,i){i?W(t,!1):V(t,e,n)},Lv:g,Lx:G,Mx:function(t,e,n,i){n=n||"itemStyle";for(var r=0;r<Y.length;r++){var o=Y[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[H[n]]()}},PW:f,Pk:function(t,e){switch(e){case"emphasis":t.hoverState=2;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=1;break;case"select":t.selected=!0}},Q6:v,QX:function(t){T(t,w)},SD:function(t,e){(t.__highByOuter&=~(1<<(e||0)))||T(t,b)},T$:function(t){var e=t.type;return e===d||e===f},Tl:E,U2:y,_m:function(t,e,n){var o=(0,r.z)(t),a=E(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&N(o.componentMainType,o.componentIndex,n),(0,i.each)(s,function(t){return I(t,e)})):(z(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&N(o.componentMainType,o.componentIndex,n),I(t,e))},_n:function(t){var e=c[t];return null==e&&u<=32&&(e=c[t]=u++),e},e3:2,fz:function(t){var e=h(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null},gM:"selectchanged",gR:F,gd:P,h5:d,iJ:V,ix:W,jA:function(t){var e=t.getAllData();(0,i.each)(e,function(e){var n=e.data,i=e.type;n.eachItemGraphicEl(function(e,n){t.isSelected(n,i)?L(e):P(e)})})},lV:function(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.le)(s,e);l=((0,i.isArray)(l)?l[0]:l)||0;var u=s.getItemGraphicEl(l);if(!u)for(var c=s.count(),h=0;!u&&h<c;)u=s.getItemGraphicEl(h++);if(u){var p=(0,r.z)(u);z(o,p.focus,p.blurScope,n)}else{var d=t.get(["emphasis","focus"]),f=t.get(["emphasis","blurScope"]);null!=d&&z(o,d,f,n)}}},mc:function(t){var e=[];return t.eachSeries(function(t){var n=t.getAllData();(0,i.each)(n,function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}})}),e},ml:function(t,e,n){var i=(0,r.z)(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n},qR:B,t6:function(t,e,n){if(G(e)){var r=e.dataType,o=t.getData(r),s=(0,a.le)(o,e);(0,i.isArray)(s)||(s=[s]),t[e.type===v?"toggleSelect":e.type===g?"select":"unselect"](s,r)}},u6:function(t){return!!(t&&t.__highDownDispatcher)},wV:["normal","emphasis","blur","select"],zX:1})},up(t,e,n){var i=n("iY"),r=n("Pk"),o=n("xz"),a=n("Vb"),s=n("vH"),l=n("uf"),u=n("Y8"),c=n("KO"),h=n("MB"),p=n("g8w"),d=r.Ay.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),f=r.Ay.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),g=r.Ay.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),p=Math.cos(u),d=.6*a,f=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*d,l+s+p*d,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-c+h*d,l+s+p*d,n-c,l+s),t.closePath()}}),y=r.Ay.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),v={line:o.A,rect:a.A,roundRect:a.A,square:a.A,circle:s.A,diamond:f,pin:g,arrow:y,triangle:d},m={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},_={};(0,i.each)(v,function(t,e){_[e]=new t});var x=r.Ay.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=(0,c.X4)(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=_[i];r||(r=_[i="rect"]),m[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function b(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||p.A.color.neutral00,n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}n.d(e,{},{$V:_,hV:function(t,e){if(null!=t)return(0,i.isArray)(t)||(t=[t,t]),[(0,h.lo)(t[0],e[0])||0,(0,h.lo)((0,i.retrieve2)(t[1],t[0]),e[1])||0]},v5:function(t,e,n,i,r,o,a){var s,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?l.makeImage(t.slice(8),new u.Ay(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.Ay(e,n,i,r),a?"center":"cover"):new x({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=c,s.setColor=b,o&&s.setColor(o),s},xU:function(t){return(0,i.isArray)(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}})},dd(t,e,n){var i="\0__throttleOriginMethod",r="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var i,r,o,a,s,l=0,u=0,c=null;function h(){u=new Date().getTime(),c=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p<arguments.length;p++)t[p]=arguments[p];i=new Date().getTime(),o=this,a=t;var d=s||e,f=s||n;s=null,r=i-(f?l:u)-d,clearTimeout(c),f?c=setTimeout(h,d):r>=0?h():c=setTimeout(h,-r),l=i};return p.clear=function(){c&&(clearTimeout(c),c=null)},p.debounceNextCall=function(t){s=t},p}n.d(e,{},{IU:function(t,e){var n=t[e];n&&n[i]&&(n.clear&&n.clear(),t[e]=n[i])},N:function(t,e,n,s){var l=t[e];if(l){var u=l[i]||l,c=l[o];if(l[r]!==n||c!==s){if(null==n||!s)return t[e]=u;(l=t[e]=a(u,n,"debounce"===s))[i]=u,l[o]=s,l[r]=n}return l}},nF:a})},MUM(t,e,n){var i=n("iY"),r=n("MB"),o=n("o03"),a=n("Sk"),s=n("xD"),l={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},u={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},c="{yyyy}-{MM}-{dd}",h={year:"{yyyy}",month:"{yyyy}-{MM}",day:c,hour:c+" "+u.hour,minute:c+" "+u.minute,second:c+" "+u.second,millisecond:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},p=["year","month","day","hour","minute","second","millisecond"];function d(t,e){return t+="","0000".substr(0,e-t.length)+t}function f(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function g(t,e,n,i){var s=r._U(t),l=s[v(n)](),u=s[m(n)]()+1,c=Math.floor((u-1)/3)+1,h=s[_(n)](),p=s["get"+(n?"UTC":"")+"Day"](),f=s[x(n)](),g=(f-1)%12+1,y=s[b(n)](),A=s[w(n)](),M=s[S(n)](),T=f>=12?"pm":"am",C=T.toUpperCase(),k=(i instanceof a.A?i:(0,o.A4)(i||o.Lv)||(0,o.pr)()).getModel("time"),I=k.get("month"),D=k.get("monthAbbr"),O=k.get("dayOfWeek"),L=k.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,T+"").replace(/{A}/g,C+"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,d(l%100+"",2)).replace(/{Q}/g,c+"").replace(/{MMMM}/g,I[u-1]).replace(/{MMM}/g,D[u-1]).replace(/{MM}/g,d(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,d(h,2)).replace(/{d}/g,h+"").replace(/{eeee}/g,O[p]).replace(/{ee}/g,L[p]).replace(/{e}/g,p+"").replace(/{HH}/g,d(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,d(g+"",2)).replace(/{h}/g,g+"").replace(/{mm}/g,d(y,2)).replace(/{m}/g,y+"").replace(/{ss}/g,d(A,2)).replace(/{s}/g,A+"").replace(/{SSS}/g,d(M,3)).replace(/{S}/g,M+"")}function y(t,e){var n=r._U(t),i=n[m(e)]()+1,o=n[_(e)](),a=n[x(e)](),s=n[b(e)](),l=n[w(e)](),u=0===n[S(e)](),c=u&&0===l,h=c&&0===s,p=h&&0===a,d=p&&1===o;if(d&&1===i)return"year";if(d)return"month";if(p)return"day";if(h)return"hour";if(c)return"minute";else if(u)return"second";else return"millisecond"}function v(t){return t?"getUTCFullYear":"getFullYear"}function m(t){return t?"getUTCMonth":"getMonth"}function _(t){return t?"getUTCDate":"getDate"}function x(t){return t?"getUTCHours":"getHours"}function b(t){return t?"getUTCMinutes":"getMinutes"}function w(t){return t?"getUTCSeconds":"getSeconds"}function S(t){return t?"getUTCMilliseconds":"getMilliseconds"}function A(t){return t?"setUTCMonth":"setMonth"}function M(t){return t?"setUTCDate":"setDate"}function T(t){return t?"setUTCHours":"setHours"}function C(t){return t?"setUTCMinutes":"setMinutes"}function k(t){return t?"setUTCSeconds":"setSeconds"}function I(t){return t?"setUTCMilliseconds":"setMilliseconds"}n.d(e,{},{$9:function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}},$H:31536e6,CZ:864e5,F7:["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"],FP:I,GP:g,KF:C,Lm:h,MA:36e5,OY:1e3,WD:y,Wf:w,X_:function(t,e,n,r,o){var a=null;if(i.isString(n))a=n;else if(i.isFunction(n)){var l={time:t.time,level:t.time?t.time.level:0},u=(0,s.mn)();u&&u.makeAxisLabelFormatterParamBreak(l,t.break),a=n(t.value,e,l)}else{var c=t.time;if(c){var h=n[c.lowerTimeUnit][c.upperTimeUnit];a=h[Math.min(c.level,h.length-1)]||""}else{var p=y(t.value,o);a=n[p][p][0]}}return g(new Date(t.value),a,o,r)},Yd:T,Zz:S,_O:function(t){var e,n,r;return i.isString(t)||i.isFunction(t)?t:(e=(e=t)||{},n={},r=!0,i.each(p,function(t){r&&(r=null==e[t])}),i.each(p,function(t,o){var a=e[t];n[t]={};for(var s=null,c=o;c>=0;c--){var h=p[c],d=i.isObject(a)&&!i.isArray(a)?a[h]:a,f=void 0;i.isArray(d)?s=(f=d.slice())[0]||"":i.isString(d)?f=[s=d]:(null==s?s=u[t]:l[h].test(s)||(s=n[h][h][0]+" "+s),f=[s],r&&(f[1]="{primary|"+s+"}")),n[t][h]=f}}),n)},_l:function(t,e,n){switch(e){case"year":t[A(n)](0);case"month":t[M(n)](1);case"day":t[T(n)](0);case"hour":t[C(n)](0);case"minute":t[k(n)](0);case"second":t[I(n)](0)}return t},bP:_,ce:function(t){return t===f(t)},eV:d,hY:v,iC:x,iW:6e4,jJ:m,tM:function(t){return t?"setUTCFullYear":"setFullYear"},ti:M,vy:p,ww:k,xu:A,yB:b,ym:f})},No(t,e,n){var i=(0,n("iY").createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]);n.d(e,{},{Ev:"Roam",Km:"arrayRows",Pe:i,Wk:"objectRows",XO:"typedArray",i_:"column",mK:"original",nk:"undefined",oC:"row",t1:"keyedColumns",t7:"series",vm:"unknown"})},YG(t,e,n){var i=n("No"),r=n("MB"),o=typeof Float32Array!==i.nk?Float32Array:void 0,a=typeof Float64Array!==i.nk?Float64Array:void 0;function s(t,e){var n=t.arr,i=t.ctor;if(e>r.Is&&(e=r.Is),!n||t.typed&&n.length<e){var o=void 0;if(i)try{o=new i(e),t.typed=!0,n&&o.set(n)}catch(t){}if(!o&&(o=[],t.typed=!1,n))for(var a=0,s=n.length;a<s;a++)o[a]=n[a];t.arr=o}return t}n.d(e,{},{Jk:function(t){return s({ctor:o},t).arr},MO:a,Zi:s})},WN9(t,e,n){var i=n("iY"),r=n("jZ"),o=n("Af"),a=n("MD"),s=n("xN"),l=n("LP"),u=n("Hq"),c=n("yM"),h=n("uf"),p=s.$r(),d=(0,c.A)(),f=function(){function t(){this.group=new r.A,this.uid=o.$Q("viewChart"),this.renderTask=(0,u.U)({plan:v,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){(0,h.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){p(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g(t,e,n){t&&(0,l.u6)(t)&&("emphasis"===e?l.HY:l.SD)(t,n)}function y(t,e,n){var r=s.le(t,e),o=e&&null!=e.highlightKey?(0,l._n)(e.highlightKey):null;null!=r?(0,i.each)(s.qB(r),function(e){g(t.getItemGraphicEl(e),n,o)}):t.eachItemGraphicEl(function(t){g(t,n,o)})}function v(t){return d(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&p(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),_[l]}a.gq(f,["dispose"]),a.tQ(f);var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};e.A=f},BP(t,e,n){var i=n("jZ"),r=n("Af"),o=n("MD"),a=function(){function t(){this.group=new i.A,this.uid=r.$Q("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.gq(a),o.tQ(a),e.A=a},N1e(t,e,n){n.d(e,{},{Ez:function(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}},oZ:function(t,e,n,i){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i)}},rI:function(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}})},g8w(t,e,n){var i=n("iY"),r=n("x4z"),o={color:{},darkColor:{},size:{}},a=o.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};for(var s in(0,i.extend)(a,{primary:a.neutral80,secondary:a.neutral70,tertiary:a.neutral60,quaternary:a.neutral50,disabled:a.neutral20,border:a.neutral30,borderTint:a.neutral20,borderShade:a.neutral40,background:a.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:a.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:a.neutral70,axisLineTint:a.neutral40,axisTick:a.neutral70,axisTickMinor:a.neutral60,axisLabel:a.neutral70,axisSplitLine:a.neutral15,axisMinorSplitLine:a.neutral05}),a)if(a.hasOwnProperty(s)){var l=a[s];"theme"===s?o.darkColor.theme=a.theme.slice():"highlight"===s?o.darkColor.highlight="rgba(255,231,130,0.4)":0===s.indexOf("accent")?o.darkColor[s]=(0,r.modifyHSL)(l,null,function(t){return .5*t},function(t){return Math.min(1,1.3-t)}):o.darkColor[s]=(0,r.modifyHSL)(l,null,function(t){return .9*t},function(t){return 1-Math.pow(t,1.5)})}o.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50},e.A=o},Qc(t,e,n){var i=n("P7"),r=n("oi"),o=n("Y8"),a=n("jp"),s=n("KO"),l=n("iY"),u=n("Yo"),c=n("x4z"),h=n("ke"),p=n("AT"),d="__zr_normal__",f=i.Wx.concat(["ignore"]),g=(0,l.reduce)(i.Wx,function(t,e){return t[e]=!0,t},{ignore:!1}),y={},v=new o.Ay(0,0,0,0),m=[],_=function(){function t(t){this.id=(0,l.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[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 n=this.textConfig,i=n.local,r=e.innerTransformable,a=void 0,l=void 0,u=!1;r.parent=i?this:null;var c=!1;r.copyTransform(e);var d=null!=n.position,f=n.autoOverflowArea,g=void 0;if((f||d)&&(g=v,n.layoutRect?g.copy(n.layoutRect):g.copy(this.getBoundingRect()),i||g.applyTransform(this.transform)),d){this.calculateTextPosition?this.calculateTextPosition(y,n,g):(0,s.X4)(y,n,g),r.x=y.x,r.y=y.y,a=y.align,l=y.verticalAlign;var _=n.origin;if(_&&null!=n.rotation){var x=void 0,b=void 0;"center"===_?(x=.5*g.width,b=.5*g.height):(x=(0,s.lo)(_[0],g.width),b=(0,s.lo)(_[1],g.height)),c=!0,r.originX=-r.x+x+(i?0:g.x),r.originY=-r.y+b+(i?0:g.y)}}null!=n.rotation&&(r.rotation=n.rotation);var w=n.offset;w&&(r.x+=w[0],r.y+=w[1],c||(r.originX=-w[0],r.originY=-w[1]));var S=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(f){var A=S.overflowRect=S.overflowRect||new o.Ay(0,0,0,0);r.getLocalTransform(m),(0,p.invert)(m,m),o.Ay.copy(A,g),A.applyTransform(m)}else S.overflowRect=null;var M=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,T=void 0,C=void 0,k=void 0;M&&this.canBeInsideText()?(T=n.insideFill,C=n.insideStroke,(null==T||"auto"===T)&&(T=this.getInsideTextFill()),(null==C||"auto"===C)&&(C=this.getInsideTextStroke(T),k=!0)):(T=n.outsideFill,C=n.outsideStroke,(null==T||"auto"===T)&&(T=this.getOutsideFill()),(null==C||"auto"===C)&&(C=this.getOutsideStroke(T),k=!0)),((T=T||"#000")!==S.fill||C!==S.stroke||k!==S.autoStroke||a!==S.align||l!==S.verticalAlign)&&(u=!0,S.fill=T,S.stroke=C,S.autoStroke=k,S.align=a,S.verticalAlign=l,e.setDefaultTextStyle(S)),e.__dirty|=h.M,u&&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()?u.el:u._S},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&(0,c.parse)(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+255*!r*(1-i);return n[3]=1,(0,c.stringify)(n,"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||{},(0,l.extend)(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((0,l.isObject)(t))for(var n=(0,l.keys)(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!i.getLoop()&&(!r||r===d)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},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,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},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(d,!1,t)},t.prototype.useState=function(t,e,n,i){var r,o=t===d;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,l.indexOf)(a,t)>=0)||!e&&1!==a.length){if(this.stateProxy&&!o&&(r=this.stateProxy(t)),r||(r=this.states&&this.states[t]),!r&&!o)return void(0,l.logError)("State "+t+" not exists.");o||this.saveCurrentToNormalState(r);var u=this._textContent,c=w(this,u,r,i);c&&!this.__inHover&&(this.__inHover=c),this._applyStateObj(t,r,this._normalState,e,A(this,n,s),s);var p=this._textGuide;return u&&u.useState(t,e,n,!!c),p&&p.useState(t,e,n,!!c),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this.__inHover=0,this.__dirty&=~h.M),r}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a){for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}}if(!a){for(var s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var c=i[o-1],p=this._textContent,d=w(this,p,c,n);d&&!this.__inHover&&(this.__inHover=d);var f=this._mergeStates(i),g=this.stateTransition;this.saveCurrentToNormalState(f),this._applyStateObj(t.join(","),f,this._normalState,!1,A(this,e,g),g);var y=this._textGuide;p&&p.useStates(t,e,!!d),y&&y.useStates(t,e,!!d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this.__inHover=0,this.__dirty&=~h.M)}}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this;t;){if(t.silent)return!0;var e=t.__hostTarget;t=e?t.ignoreHostSilent?null:e:t.parent}return!1},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=(0,l.indexOf)(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=(0,l.indexOf)(i,t),o=(0,l.indexOf)(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];(0,l.extend)(n,r),r.textConfig&&(e=e||{},(0,l.extend)(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){if(1!==this.__inHover){var a=!(e&&i);e&&e.textConfig?(this.textConfig=(0,l.extend)({},i?this.textConfig:n.textConfig),(0,l.extend)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,c=0;c<f.length;c++){var h=f[c],p=r&&g[h];e&&null!=e[h]?p?(u=!0,s[h]=e[h]):this[h]=e[h]:a&&null!=n[h]&&(p?(u=!0,s[h]=n[h]):this[h]=n[h])}if(!r)for(var c=0;c<this.animators.length;c++){var d=this.animators[c],y=d.targetName;d.getLoop()||d.__changeFinalValue(y?(e||n)[y]:e||n)}u&&this._transitionState(t,s,o)}},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 i.Ay,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.extend)(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|=h.M;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);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 n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this,o=new r.A(i,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var e=i.animators,n=(0,l.indexOf)(e,t);n>=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){x(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){x(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=x(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function n(t,n,i,r){Object.defineProperty(e,t,{get:function(){return this[n]||o(this,this[n]=[]),this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}}e.type="element",e.name="",e.ignore=e.silent=e.ignoreHostSilent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=!1,e.__inHover=0,e.__dirty=h.M,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function x(t,e,n,i,o){var a=[];!function t(e,n,i,o,a,s,u,c){for(var h=(0,l.keys)(o),p=a.duration,d=a.delay,f=a.additive,g=a.setToFinal,y=!(0,l.isObject)(s),v=e.animators,m=[],_=0;_<h.length;_++){var x=h[_],w=o[x];if(null!=w&&null!=i[x]&&(y||s[x]))if(!(0,l.isObject)(w)||(0,l.isArrayLike)(w)||(0,l.isGradientObject)(w))m.push(x);else{if(n){c||(i[x]=w,e.updateDuringAnimation(n));continue}t(e,x,i[x],w,a,s&&s[x],u,c)}else c||(i[x]=w,e.updateDuringAnimation(n),m.push(x))}var S=m.length;if(!f&&S)for(var A=0;A<v.length;A++){var M=v[A];if(M.targetName===n&&M.stopTracks(m)){var T=(0,l.indexOf)(v,M);v.splice(T,1)}}if(a.force||(S=(m=(0,l.filter)(m,function(t){var e,n;return!((e=o[t])===(n=i[t])||(0,l.isArrayLike)(e)&&(0,l.isArrayLike)(n)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,n))})).length),S>0||a.force&&!u.length){var C=void 0,k=void 0,I=void 0;if(c){k={},g&&(C={});for(var A=0;A<S;A++){var x=m[A];k[x]=i[x],g?C[x]=o[x]:i[x]=o[x]}}else if(g){I={};for(var A=0;A<S;A++){var x=m[A];I[x]=(0,r.F)(i[x]),function(t,e,n){if((0,l.isArrayLike)(e[n]))if((0,l.isArrayLike)(t[n])||(t[n]=[]),(0,l.isTypedArray)(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),b(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if((0,l.isArrayLike)(r[0]))for(var s=r[0].length,u=0;u<a;u++)o[u]?b(o[u],r[u],s):o[u]=Array.prototype.slice.call(r[u]);else b(o,r,a);o.length=r.length}else t[n]=e[n]}(i,o,x)}}var M=new r.A(i,!1,!1,f?(0,l.filter)(v,function(t){return t.targetName===n}):null);M.targetName=n,a.scope&&(M.scope=a.scope),g&&C&&M.whenWithKeys(0,C,m),I&&M.whenWithKeys(0,I,m),M.whenWithKeys(null==p?500:p,c?k:o,m).delay(d||0),e.addAnimator(M,n),u.push(M)}}(t,"",t,e,n=n||{},i,a,o);var s=a.length,u=!1,c=n.done,h=n.aborted,p=function(){u=!0,--s<=0&&(u?c&&c():h&&h())},d=function(){--s<=0&&(u?c&&c():h&&h())};!s&&c&&c(),a.length>0&&n.during&&a[0].during(function(t,e){n.during(e)});for(var f=0;f<a.length;f++){var g=a[f];p&&g.done(p),d&&g.aborted(d),n.force&&g.duration(n.duration),g.start(n.easing)}return a}function b(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function w(t,e,n,i){return!(n&&n.hoverLayer||i)||S(t)||e&&S(e)?0:1}function S(t){return"text"===t.type||"tspan"===t.type}function A(t,e,n){return!e&&!t.__inHover&&n&&n.duration>0}(0,l.mixin)(_,a.A),(0,l.mixin)(_,i.Ay),e.Ay=_,n.d(e,{},{yx:1})},oi(t,e,n){n.d(e,{F:()=>d,A:()=>_});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*(-Math.pow(2,-10*(t-1))+2)},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,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1)?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):n*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)*.5+1},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){return(t*=2)<1?t*t*(3.5949095*t-2.5949095)*.5:.5*((t-=2)*t*(3.5949095*t+2.5949095)+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}},r=n("iY"),o=n("mJ"),a=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||r.noop,this.ondestroy=t.ondestroy||r.noop,this.onrestart=t.onrestart||r.noop,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){this._pausedTime+=e;return}var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r)if(!this.loop)return!0;else this._startTime=t-i%n,this._pausedTime=0,this.onrestart();return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,r.isFunction)(t)?t:i[t]||(0,o.w)(t)},t}(),s=n("x4z"),l=n("QB"),u=Array.prototype.slice;function c(t,e,n,i){for(var r,o=e.length,a=0;a<o;a++)t[a]=(r=e[a],(n[a]-r)*i+r);return t}function h(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function p(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function d(t){if((0,r.isArrayLike)(t)){var e=t.length;if((0,r.isArrayLike)(t[0])){for(var n=[],i=0;i<e;i++)n.push(u.call(t[i]));return n}return u.call(t)}return t}function f(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 g(t){return 4===t||5===t}function y(t){return 1===t||2===t}var v=[0,0,0,0],m=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,n){this._needsSort=!0;var a=this.keyframes,u=a.length,c=!1,h=6,p=e;if((0,r.isArrayLike)(e)){var d=(0,r.isArrayLike)(e&&e[0])?2:1;h=d,(1!==d||(0,r.isNumber)(e[0]))&&(2!==d||(0,r.isNumber)(e[0][0]))||(c=!0)}else if((0,r.isNumber)(e)&&!(0,r.eqNaN)(e))h=0;else if((0,r.isString)(e))if(isNaN(+e)){var f=s.parse(e);f&&(p=f,h=3)}else h=0;else if((0,r.isGradientObject)(e)){var g=(0,r.extend)({},p);g.colorStops=(0,r.map)(e.colorStops,function(t){return{offset:t.offset,color:s.parse(t.color)}}),(0,l.OS)(e)?h=4:(0,l.OH)(e)&&(h=5),p=g}0===u?this.valType=h:(h!==this.valType||6===h)&&(c=!0),this.discrete=this.discrete||c;var y={time:t,value:p,rawValue:e,percent:0};return n&&(y.easing=n,y.easingFunc=(0,r.isFunction)(n)?n:i[n]||(0,o.w)(n)),a.push(y),y},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(t,e){return t.time-e.time});for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=y(i),l=g(i),c=0;c<r;c++){var d=n[c],f=d.value,v=o.value;d.percent=d.time/t,!a&&(s&&c!==r-1?function(t,e,n){if(t.push&&e.push){var i=t.length,r=e.length;if(i!==r)if(i>r)t.length=r;else for(var o=i;o<r;o++)t.push(1===n?e[o]:u.call(e[o]));for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===n)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}}(f,v,i):l&&function(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}(f.colorStops,v.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;for(var m=n[0].value,c=0;c<r;c++)0===i?n[c].additiveValue=n[c].value-m:3===i?n[c].additiveValue=h([],n[c].value,m,-1):y(i)&&(n[c].additiveValue=1===i?h([],n[c].value,m,-1):p([],n[c].value,m,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,h=u.length,p=this.propName,d=3===l,m=this._lastFr,_=Math.min;if(1===h)i=o=u[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=_(m+1,h-1);n>=0&&!(u[n].percent<=e);n--);n=_(n,h-2)}else{for(n=m;n<h&&!(u[n].percent>e);n++);n=_(n-1,h-2)}o=u[n+1],i=u[n]}if(i&&o){this._lastFr=n,this._lastFrP=e;var x=o.percent-i.percent,b=0===x?1:_((e-i.percent)/x,1);o.easingFunc&&(b=o.easingFunc(b));var w=a?this._additiveValue:d?v:t[p];if((y(l)||d)&&!w&&(w=this._additiveValue=[]),this.discrete)t[p]=b<1?i.rawValue:o.rawValue;else if(y(l))1===l?c(w,i[s],o[s],b):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s,l=0;l<o;l++)t[a][l]=(s=e[a][l],(n[a][l]-s)*i+s)}}(w,i[s],o[s],b);else if(g(l)){var S,A,M,T,C,k=i[s],I=o[s],D=4===l;(t[p]={type:D?"linear":"radial",x:(S=k.x,(I.x-S)*b+S),y:(A=k.y,(I.y-A)*b+A),colorStops:(0,r.map)(k.colorStops,function(t,e){var n,i=I.colorStops[e];return{offset:(n=t.offset,(i.offset-n)*b+n),color:f(c([],t.color,i.color,b))}}),global:I.global},D)?(t[p].x2=(M=k.x2,(I.x2-M)*b+M),t[p].y2=(T=k.y2,(I.y2-T)*b+T)):t[p].r=(C=k.r,(I.r-C)*b+C)}else if(d)c(w,i[s],o[s],b),a||(t[p]=f(w));else{var O,L=(O=i[s],(o[s]-O)*b+O);a?this._additiveValue=L:t[p]=L}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(s.parse(t[n],v),h(v,v,i,1),t[n]=f(v)):1===e?h(t[n],t[n],i,1):2===e&&p(t[n],t[n],i,1)},t}(),_=function(){function t(t,e,n,i){(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i)?(0,r.logError)("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}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,n){return this.whenWithKeys(t,e,(0,r.keys)(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new m(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,h=c[c.length-1];l=h&&h.value,3===u.valType&&l&&(l=f(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,d(l),i),this._trackKeys.push(a)}s.addKeyframe(t,d(e[a]),i)}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,n=0;n<e;n++)t[n].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 n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],s=this._tracks[o],l=this._getAdditiveTrack(o),u=s.keyframes,c=u.length;if(s.prepare(i,l),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var h=u[c-1];h&&(e._target[s.propName]=h.rawValue),s.setFinished()}else n.push(s)}if(n.length||this._force){var p=new a({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(var o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(var o=0;o<a.length;o++)a[o](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(0,r.map)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}for(var a=!0,r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=d(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,r.keys)(t);for(var n=0;n<e.length;n++){var i=e[n],o=this._tracks[i];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},mJ(t,e,n){var i=n("mq"),r=n("iY"),o=/cubic-bezier\(([0-9,\.e ]+)\)/;n.d(e,{},{w:function(t){var e=t&&o.exec(t);if(e){var n=e[1].split(","),a=+(0,r.trim)(n[0]),s=+(0,r.trim)(n[1]),l=+(0,r.trim)(n[2]),u=+(0,r.trim)(n[3]);if(isNaN(a+s+l+u))return;var c=[];return function(t){return t<=0?0:t>=1?1:(0,i._E)(0,a,l,1,t,c)&&(0,i.Yb)(0,s,u,1,c[0])}}}})},JV(t,e,n){e.A=n("E3").A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},bD(t,e,n){var i=n("iY");n.d(e,{},{V:function(t){var e,n,r=t.style,o=r.lineDash&&r.lineWidth>0&&(e=r.lineDash,n=r.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:(0,i.isNumber)(e)?[e]:(0,i.isArray)(e)?e:null:null),a=r.lineDashOffset;if(o){var s=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;s&&1!==s&&(o=(0,i.map)(o,function(t){return t/s}),a/=s)}return[o,a]}})},kb(t,e,n){var i=n("el"),r=n("Ig"),o=n("T0"),a=n("BH"),s=n("Pk"),l=n("s5"),u=n("Ne"),c=n("iY"),h=n("bD"),p=n("ke"),d=n("mZ"),f=new r.A(!0);function g(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function y(t){return"string"==typeof t&&"none"!==t}function v(t){var e=t.fill;return null!=e&&"none"!==e}function m(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function _(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function x(t,e,n){var i=(0,o.OD)(e.image,e.__image,n);if((0,o.xA)(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*c.RADIAN_TO_DEGREE),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}var b=["shadowBlur","shadowOffsetX","shadowOffsetY"],w=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function S(t,e,n,r,o){var a=!1;if(!r&&e===(n=n||{}))return!1;if(r||e.opacity!==n.opacity){T(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.oN.opacity:s}(r||e.blend!==n.blend)&&(a||(T(t,o),a=!0),t.globalCompositeOperation=e.blend||i.oN.blend);for(var l=0;l<b.length;l++){var u=b[l];(r||e[u]!==n[u])&&(a||(T(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(r||e.shadowColor!==n.shadowColor)&&(a||(T(t,o),a=!0),t.shadowColor=e.shadowColor||i.oN.shadowColor),a}function A(t,e,n,i,r){var o=e.style,a=i?null:n&&n.style||{};if(o===a)return!1;var s=S(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(T(t,r),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(T(t,r),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(T(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(T(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<w.length;u++){var c=w[u],h=c[0];(i||o[h]!==a[h])&&(s||(T(t,r),s=!0),t[h]=o[h]||c[1])}return s}function M(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function T(t,e){e.batchFill&&(e.batchFill=!1,t.fill()),e.batchStroke&&(e.batchStroke=!1,t.stroke())}function C(t,e,n){var i,r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){e.__dirty&=~p.M,e.__isRendered=!1;return}var c=e.__clipPaths,y=n.prevElClipPaths,b=e.style,w=!1,I=!1;if((!y||(0,a.KU)(c,y))&&(y&&(T(t,n),t.restore(),I=w=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),c&&c.length)){T(t,n),t.save();for(var D=!1,O=0;O<c.length;O++){var L=c[O];D=D||L.isZeroArea(),M(t,L),t.beginPath(),L.buildPath(t,L.shape),t.clip()}n.allClipped=D,w=!0,n.prevElClipPaths=c}if(n.allClipped){e.__dirty&=~p.M,e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(n.beforeBrushParam),e.innerBeforeBrush();var P=n.prevEl;P||(I=w=!0);var R=e instanceof s.Ay&&e.autoBatch&&(B=v(b),z=g(b),!(b.lineDash||!(B^z)||B&&"string"!=typeof b.fill||z&&"string"!=typeof b.stroke||b.strokePercent<1||b.strokeOpacity<1||b.fillOpacity<1));if(!w&&(N=P.transform,r&&N?r[0]===N[0]&&r[1]===N[1]&&r[2]===N[2]&&r[3]===N[3]&&r[4]===N[4]&&r[5]===N[5]:+(!r&&!N))?R||T(t,n):(T(t,n),M(t,e)),e instanceof s.Ay)1!==n.lastDrawType&&(I=!0,n.lastDrawType=1),A(t,e,P,I,n),R&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i,r){var o,s,l,u=g(n),c=v(n),d=n.strokePercent,y=d<1,b=!e.path;(!e.silent||y)&&b&&e.createPathProxy();var w=e.path||f,S=e.__dirty;if(!i){var A=n.fill,M=n.stroke,T=c&&!!A.colorStops,C=u&&!!M.colorStops,k=c&&!!A.image,I=u&&!!M.image,D=void 0,O=void 0,L=void 0,P=void 0,R=void 0;(T||C)&&(R=e.getBoundingRect()),T&&(D=S?(0,a.Ff)(t,A,R):e.__canvasFillGradient,e.__canvasFillGradient=D),C&&(O=S?(0,a.Ff)(t,M,R):e.__canvasStrokeGradient,e.__canvasStrokeGradient=O),k&&(L=S||!e.__canvasFillPattern?x(t,A,e):e.__canvasFillPattern,e.__canvasFillPattern=L),I&&(P=S||!e.__canvasStrokePattern?x(t,M,e):e.__canvasStrokePattern,e.__canvasStrokePattern=P),T?t.fillStyle=D:k&&(L?t.fillStyle=L:c=!1),C?t.strokeStyle=O:I&&(P?t.strokeStyle=P:u=!1)}var B=e.getGlobalScale();w.setScale(B[0],B[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(s=(o=(0,h.V)(e))[0],l=o[1]);var z=!0;(b||S&p.Dl)&&(w.setDPR(t.dpr),y?w.setContext(null):(w.setContext(t),z=!1),w.reset(),e.buildPath(w,e.shape,i),w.toStatic(),e.pathUpdated()),z&&w.rebuildPath(t,y?d:1),s&&(t.setLineDash(s),t.lineDashOffset=l),i?(r.batchFill=c,r.batchStroke=u):n.strokeFirst?(u&&_(t,n),c&&m(t,n)):(c&&m(t,n),u&&_(t,n)),s&&t.setLineDash([])}(t,e,b,R,n);else if(e instanceof u.A){3!==n.lastDrawType&&(I=!0,n.lastDrawType=3),A(t,e,P,I,n);var B,z,N,E,V=b.text;if(null!=V&&(V+=""),V){t.font=b.font||d.OH,t.textAlign=b.textAlign,t.textBaseline=b.textBaseline;var F=void 0,Y=void 0;t.setLineDash&&b.lineDash&&(F=(E=(0,h.V)(e))[0],Y=E[1]),F&&(t.setLineDash(F),t.lineDashOffset=Y),b.strokeFirst?(g(b)&&t.strokeText(V,b.x,b.y),v(b)&&t.fillText(V,b.x,b.y)):(v(b)&&t.fillText(V,b.x,b.y),g(b)&&t.strokeText(V,b.x,b.y)),F&&t.setLineDash([])}}else e instanceof l.Ay?(2!==n.lastDrawType&&(I=!0,n.lastDrawType=2),i=I,S(t,e.style,P&&P.style,i,n),function(t,e,n){var i=e.__image=(0,o.OD)(n.image,e.__image,e,e.onload);if(i&&(0,o.xA)(i)){var r=n.x||0,a=n.y||0,s=e.getWidth(),l=e.getHeight(),u=i.width/i.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=i.width,l=i.height),n.sWidth&&n.sHeight){var c=n.sx||0,h=n.sy||0;t.drawImage(i,c,h,n.sWidth,n.sHeight,r,a,s,l)}else if(n.sx&&n.sy){var c=n.sx,h=n.sy,p=s-c,d=l-h;t.drawImage(i,c,h,p,d,r,a,s,l)}else t.drawImage(i,r,a,s,l)}}(t,e,b)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(I=!0,n.lastDrawType=4),function(t,e,n){var i,r,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover,beforeBrushParam:{}};for(i=e.getCursor(),r=o.length;i<r;i++){var l=o[i];l.beforeBrush&&l.beforeBrush(n.beforeBrushParam),l.innerBeforeBrush(),C(t,l,s),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}k(t,s);for(var u=0,c=a.length;u<c;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(n.beforeBrushParam),l.innerBeforeBrush(),C(t,l,s),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}k(t,s),e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n));e.innerAfterBrush(),e.afterBrush&&(R&&T(t,n),e.afterBrush()),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}function k(t,e){T(t,e),e.prevElClipPaths&&t.restore()}n.d(e,{},{V$:C,Xi:function(t,e){var n={inHover:!1,viewWidth:0,viewHeight:0,beforeBrushParam:{}};C(t,e,n),k(t,n)},ZQ:x,v6:k})},BH(t,e,n){function i(t){return isFinite(t)}function r(t){return parseInt(t,10)}n.d(e,{},{Ff:function(t,e,n){for(var r,o,a,s,l,u,c,h,p,d,f="radial"===e.type?(a=Math.min(r=n.width,o=n.height),s=null==e.x?.5:e.x,l=null==e.y?.5:e.y,u=null==e.r?.5:e.r,e.global||(s=s*r+n.x,l=l*o+n.y,u*=a),s=i(s)?s:.5,l=i(l)?l:.5,u=u>=0&&i(u)?u:.5,t.createRadialGradient(s,l,0,s,l,u)):(c=null==e.x?0:e.x,h=null==e.x2?1:e.x2,p=null==e.y?0:e.y,d=null==e.y2?0:e.y2,e.global||(c=c*n.width+n.x,h=h*n.width+n.x,p=p*n.height+n.y,d=d*n.height+n.y),c=i(c)?c:0,h=i(h)?h:1,p=i(p)?p:0,d=i(d)?d:0,t.createLinearGradient(c,p,h,d)),g=e.colorStops,y=0;y<g.length;y++)f.addColorStop(g[y].offset,g[y].color);return f},KU:function(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1},YC:function(t,e,n){var i=["width","height"][e],o=["clientWidth","clientHeight"][e],a=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var l=document.defaultView.getComputedStyle(t);return(t[o]||r(l[i])||r(t.style[i]))-(r(l[a])||0)-(r(l[s])||0)||0}})},Yo(t,e,n){var i=n("E3"),r=1;i.A.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=r;n.d(e,{},{Y5:o,_S:"#333",el:"#ccc",ps:.4,tY:"#eee"})},e6(t,e,n){n.d(e,{},{l:function(t,e,n,i,r,o,a){if(0===r)return!1;var s=0,l=t;if(a>e+r&&a>i+r||a<e-r&&a<i-r||o>t+r&&o>n+r||o<t-r&&o<n-r)return!1;if(t===n)return Math.abs(o-t)<=r/2;s=(e-i)/(t-n);var u=s*o-a+(l=(t*i-n*e)/(t-n));return u*u/(s*s+1)<=r/2*r/2}})},q9(t,e,n){var i=n("mq");n.d(e,{},{l:function(t,e,n,r,o,a,s,l,u){return 0!==s&&(!(u>e+s)||!(u>r+s)||!(u>a+s))&&(!(u<e-s)||!(u<r-s)||!(u<a-s))&&(!(l>t+s)||!(l>n+s)||!(l>o+s))&&(!(l<t-s)||!(l<n-s)||!(l<o-s))&&(0,i.kh)(t,e,n,r,o,a,l,u,null)<=s/2}})},KO(t,e,n){var i,r=n("Y8"),o=n("B5"),a=n("mZ");function s(t){i||(i=new o.Ay(100)),t=t||a.OH;var e=i.get(t);return e||(e={font:t,strWidthCache:new o.Ay(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:a.yh.measureText("国",t).width,asciiCharWidth:a.yh.measureText("a",t).width},i.put(t,e)),e}var l=0;function u(t,e){var n=t.strWidthCache,i=n.get(e);return null==i&&(i=a.yh.measureText(e,t.font).width,n.put(e,i)),i}function c(t,e,n,i){var o=u(s(e),t),a=d(e),l=h(0,o,n),c=p(0,a,i);return new r.Ay(l,c,o,a)}function h(t,e,n,i){return"right"===n?i?t+=e:t-=e:"center"===n&&(i?t+=e/2:t-=e/2),t}function p(t,e,n,i){return"middle"===n?i?t+=e/2:t-=e/2:"bottom"===n&&(i?t+=e:t-=e),t}function d(t){return s(t).stWideCharWidth}function f(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}n.d(e,{},{JK:function(t,e){return t.asciiWidthMapTried||(t.asciiWidthMap=function(t){if(!(l>=5)){t=t||a.OH;for(var e=[],n=+new Date,i=0;i<=127;i++)e[i]=a.yh.measureText(String.fromCharCode(i),t).width;var r=new Date-n;return r>16?l=5:r>2&&l++,e}}(t.font),t.asciiWidthMapTried=!0),0<=e&&e<=127?null!=t.asciiWidthMap?t.asciiWidthMap[e]:t.asciiCharWidth:t.stWideCharWidth},NO:function(t,e,n,i){var o=((t||"")+"").split("\n");if(1===o.length)return c(o[0],e,n,i);for(var a=new r.Ay(0,0,0,0),s=0;s<o.length;s++){var l=c(o[s],e,n,i);0===s?a.copy(l):a.union(l)}return a},Qw:s,X4:function(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",h="top";if(i instanceof Array)l+=f(i[0],n.width),u+=f(i[1],n.height),c=null,h=null;else switch(i){case"left":l-=r,u+=s,c="right",h="middle";break;case"right":l+=r+a,u+=s,h="middle";break;case"top":l+=a/2,u-=r,c="center",h="bottom";break;case"bottom":l+=a/2,u+=o+r,c="center";break;case"inside":l+=a/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=r,u+=s,h="middle";break;case"insideRight":l+=a-r,u+=s,c="right",h="middle";break;case"insideTop":l+=a/2,u+=r,c="center";break;case"insideBottom":l+=a/2,u+=o-r,c="center",h="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,c="right";break;case"insideBottomLeft":l+=r,u+=o-r,h="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,c="right",h="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=h,t},ks:d,l8:u,ll:h,lo:f,sZ:p})},QW(t,e,n){var i=2*Math.PI;n.d(e,{},{n:function(t){return(t%=i)<0&&(t+=i),t}})},Zv(t,e,n){n.d(e,{},{A:function(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i||i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;(1===a||0===a)&&(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}})},Y8(t,e,n){var i=n("AT"),r=n("xy"),o=n("zM"),a=Math.min,s=Math.max,l=Math.abs,u=["x","y"],c=["width","height"],h=new o.A,p=new o.A,d=new o.A,f=new o.A,g=D(),y=g.minTv,v=g.maxTv,m=[0,0],_=function(){function t(t,e,n,i){b(this,t,e,n,i)}return t.set=function(t,e,n,i,r){return i<0&&(e+=i,i=-i),r<0&&(n+=r,r=-r),t.x=e,t.y=n,t.width=i,t.height=r,t},t.prototype.union=function(t){var e=a(t.x,this.x),n=a(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=s(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=s(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){return S(i.create(),this,t)},t.prototype.intersect=function(e,n,i){return t.intersect(this,e,n,i)},t.intersect=function(e,n,i,r){i&&o.A.set(i,0,0);var a=r&&r.outIntersectRect||null,s=r&&r.clamp;if(a&&(a.x=a.y=a.width=a.height=0/0),!e||!n)return!1;e instanceof t||(e=b(T,e.x,e.y,e.width,e.height)),n instanceof t||(n=b(C,n.x,n.y,n.width,n.height));var l=!!i;g.reset(r,l);var u=g.touchThreshold,c=e.x+u,h=e.x+e.width-u,p=e.y+u,d=e.y+e.height-u,f=n.x+u,_=n.x+n.width-u,x=n.y+u,w=n.y+n.height-u;if(c>h||p>d||f>_||x>w)return!1;var S=!(h<f||_<c||d<x||w<p);return(l||a)&&(m[0]=1/0,m[1]=0,I(c,h,f,_,0,l,a,s),I(p,d,x,w,1,l,a,s),l&&o.A.copy(i,S?g.useDir?g.dirMinTv:y:v)),S},t.contain=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},t.prototype.contain=function(e,n){return t.contain(this,e,n)},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(t){w(this,t)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e?e.x:0,e?e.y:0,e?e.width:0,e?e.height:0)},t.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},t.applyTransform=function(t,e,n){if(!n){t!==e&&w(t,e);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],r=n[3],o=n[4],l=n[5];t.x=e.x*i+o,t.y=e.y*r+l,t.width=e.width*i,t.height=e.height*r,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}h.x=d.x=e.x,h.y=f.y=e.y,p.x=f.x=e.x+e.width,p.y=d.y=e.y+e.height,h.transform(n),f.transform(n),p.transform(n),d.transform(n),t.x=a(h.x,p.x,d.x,f.x),t.y=a(h.y,p.y,d.y,f.y);var u=s(h.x,p.x,d.x,f.x),c=s(h.y,p.y,d.y,f.y);t.width=u-t.x,t.height=c-t.y},t.calculateTransform=function(t,e,n){var o=n.width/e.width,a=n.height/e.height;return t=i.identity(t||[]),i.translate(t,t,r.set(k,-e.x,-e.y)),i.scale(t,t,r.set(k,o,a)),i.translate(t,t,r.set(k,n.x,n.y)),t},t}(),x=_.create,b=_.set,w=_.copy,S=_.calculateTransform,A=_.applyTransform,M=_.contain,T=new _(0,0,0,0),C=new _(0,0,0,0),k=[];function I(t,e,n,i,r,o,h,p){var d=l(e-n),f=l(i-t),_=a(d,f),x=u[r],b=u[1-r],w=c[r];e<n||i<t?d<f?(o&&(v[x]=-d),p&&(h[x]=e,h[w]=0)):(o&&(v[x]=f),p&&(h[x]=t,h[w]=0)):(h&&(h[x]=s(t,n),h[w]=a(e,i)-h[x]),o&&(_<m[0]||g.useDir)&&(m[0]=a(_,m[0]),(d<f||!g.bidirectional)&&(y[x]=d,y[b]=0,g.useDir&&g.calcDirMTV()),(d>=f||!g.bidirectional)&&(y[x]=-f,y[b]=0,g.useDir&&g.calcDirMTV())))}function D(){var t=0,e=new o.A,n=new o.A,i={minTv:new o.A,maxTv:new o.A,useDir:!1,dirMinTv:new o.A,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(r,o){i.touchThreshold=0,r&&null!=r.touchThreshold&&(i.touchThreshold=s(0,r.touchThreshold)),i.negativeSize=!1,o&&(i.minTv.set(1/0,1/0),i.maxTv.set(0,0),i.useDir=!1,r&&null!=r.direction&&(i.useDir=!0,i.dirMinTv.copy(i.minTv),n.copy(i.minTv),t=r.direction,i.bidirectional=null==r.bidirectional||!!r.bidirectional,i.bidirectional||e.set(Math.cos(t),Math.sin(t))))},calcDirMTV:function(){var o=i.minTv,a=i.dirMinTv,s=o.y*o.y+o.x*o.x,l=Math.sin(t),u=Math.cos(t),c=l*o.y+u*o.x;if(r(c)){r(o.x)&&r(o.y)&&a.set(0,0);return}(n.x=s*u/c,n.y=s*l/c,r(n.x)&&r(n.y))?a.set(0,0):(i.bidirectional||e.dot(n)>0)&&n.len()<a.len()&&a.copy(n)}};function r(t){return 1e-10>l(t)}return i}e.Ay=_,n.d(e,{},{Zv:S,bV:D,iZ:w,r_:x,rd:M,zQ:A})},jp(t,e){e.A=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}()},B5(t,e){var n=function(t){this.value=t},i=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new n(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();e.Ay=function(){function t(t){this._list=new i,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var i=this._list,r=this._map,o=null;if(null==r[t]){var a=i.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=i.head;i.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new n(e),s.key=t,i.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},Mg(t,e,n){var i=n("zM"),r=n("Y8"),o=Math.min,a=Math.max,s=Math.abs,l=[0,0],u=[0,0],c=(0,r.bV)(),h=c.minTv,p=c.maxTv;e.A=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new i.A;for(var n=0;n<2;n++)this._axes[n]=new i.A;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),e)for(var u=0;u<4;u++)n[u].transform(e);i.A.sub(r[0],n[1],n[0]),i.A.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(var u=0;u<2;u++)this._origin[u]=r[u].dot(n[0])},t.prototype.intersect=function(t,e,n){var r=!0,o=!e;return(e&&i.A.set(e,0,0),c.reset(n,!o),!this._intersectCheckOneSide(this,t,o,1)&&(r=!1,o)||!this._intersectCheckOneSide(t,this,o,-1)&&(r=!1,o))?r:(o||c.negativeSize||i.A.copy(e,r?c.useDir?c.dirMinTv:h:p),r)},t.prototype._intersectCheckOneSide=function(t,e,n,r){for(var a=!0,d=0;d<2;d++){var f=t._axes[d];if(t._getProjMinMaxOnAxis(d,t._corners,l),t._getProjMinMaxOnAxis(d,e._corners,u),c.negativeSize||l[1]<u[0]||l[0]>u[1]){if(a=!1,c.negativeSize||n)return a;var g=s(u[0]-l[1]),y=s(l[0]-u[1]);o(g,y)>p.len()&&(g<y?i.A.scale(p,f,-g*r):i.A.scale(p,f,y*r))}else if(!n){var g=s(u[0]-l[1]),y=s(l[0]-u[1]);(c.useDir||o(g,y)<h.len())&&((g<y||!c.bidirectional)&&(i.A.scale(h,f,g*r),c.useDir&&c.calcDirMTV()),(g>=y||!c.bidirectional)&&(i.A.scale(h,f,-y*r),c.useDir&&c.calcDirMTV()))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,s=e[0].dot(i)+r[t],l=s,u=s,h=1;h<e.length;h++){var p=e[h].dot(i)+r[t];l=o(p,l),u=a(p,u)}n[0]=l+c.touchThreshold,n[1]=u-c.touchThreshold,c.negativeSize=n[1]<n[0]},t}()},Ig(t,e,n){var i=n("xy"),r=n("Y8"),o=n("Yo"),a=n("xV"),s=n("mq"),l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],c=[],h=[],p=[],d=[],f=[],g=Math.min,y=Math.max,v=Math.cos,m=Math.sin,_=Math.abs,x=Math.PI,b=2*x,w="u">typeof Float32Array,S=[];function A(t){return Math.round(t/x*1e8)/1e8%2*x}function M(t,e){var n=A(t[0]);n<0&&(n+=b);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=b?r=n+b:e&&n-r>=b?r=n-b:!e&&n>r?r=n+(b-A(n-r)):e&&n<r&&(r=n-(b-A(r-n))),t[0]=n,t[1]=r}e.A=function(){var t;function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=_(n/o.Y5/t)||0,this._uy=_(n/o.Y5/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},e.prototype.lineTo=function(t,e){var n=_(t-this._xi),i=_(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(l.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(l.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(l.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),S[0]=i,S[1]=r,M(S,o),i=S[0];var a=(r=S[1])-i;return this.addData(l.A,t,e,n,n,i,a,0,+!o),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=v(r)*n+t,this._yi=m(r)*n+e,this},e.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},e.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(l.R,t,e,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(l.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){if(this._saveData){var e=t.length;!(this.data&&this.data.length===e)&&w&&(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e}},e.prototype.appendPath=function(t){if(this._saveData){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();var o=this.data;if(w&&(o instanceof Float32Array||!o)&&(this.data=new Float32Array(i+n),i>0&&o))for(var a=0;a<i;a++)this.data[a]=o[a];for(var r=0;r<e;r++)for(var s=t[r].data,a=0;a<s.length;a++)this.data[i++]=s[a];this._len=i}},e.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,w&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){h[0]=h[1]=d[0]=d[1]=Number.MAX_VALUE,p[0]=p[1]=f[0]=f[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,s=0,u=0;for(t=0;t<this._len;){var c=e[t++],g=1===t;switch(g&&(n=e[t],o=e[t+1],s=n,u=o),c){case l.M:n=s=e[t++],o=u=e[t++],d[0]=s,d[1]=u,f[0]=s,f[1]=u;break;case l.L:(0,a.j6)(n,o,e[t],e[t+1],d,f),n=e[t++],o=e[t++];break;case l.C:(0,a.BM)(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],d,f),n=e[t++],o=e[t++];break;case l.Q:(0,a.tW)(n,o,e[t++],e[t++],e[t],e[t+1],d,f),n=e[t++],o=e[t++];break;case l.A:var y=e[t++],_=e[t++],x=e[t++],b=e[t++],w=e[t++],S=e[t++]+w;t+=1;var A=!e[t++];g&&(s=v(w)*x+y,u=m(w)*b+_),(0,a.$s)(y,_,x,b,w,S,A,d,f),n=v(S)*x+y,o=m(S)*b+_;break;case l.R:s=n=e[t++],u=o=e[t++];var M=e[t++],T=e[t++];(0,a.j6)(s,u,s+M,u+T,d,f);break;case l.Z:n=s,o=u}i.min(h,h,d),i.max(p,p,f)}return 0===t&&(h[0]=h[1]=p[0]=p[1]=0),new r.Ay(h[0],h[1],p[0]-h[0],p[1]-h[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,a=0,u=0;this._pathSegLen||(this._pathSegLen=[]);for(var c=this._pathSegLen,h=0,p=0,d=0;d<e;){var f=t[d++],x=1===d;x&&(r=t[d],o=t[d+1],a=r,u=o);var w=-1;switch(f){case l.M:r=a=t[d++],o=u=t[d++];break;case l.L:var S=t[d++],A=t[d++],M=S-r,T=A-o;(_(M)>n||_(T)>i||d===e-1)&&(w=Math.sqrt(M*M+T*T),r=S,o=A);break;case l.C:var C=t[d++],k=t[d++],S=t[d++],A=t[d++],I=t[d++],D=t[d++];w=(0,s.h0)(r,o,C,k,S,A,I,D,10),r=I,o=D;break;case l.Q:var C=t[d++],k=t[d++],S=t[d++],A=t[d++];w=(0,s.d8)(r,o,C,k,S,A,10),r=S,o=A;break;case l.A:var O=t[d++],L=t[d++],P=t[d++],R=t[d++],B=t[d++],z=t[d++],N=z+B;d+=1,x&&(a=v(B)*P+O,u=m(B)*R+L),w=y(P,R)*g(b,Math.abs(z)),r=v(N)*P+O,o=m(N)*R+L;break;case l.R:a=r=t[d++],u=o=t[d++],w=2*t[d++]+2*t[d++];break;case l.Z:var M=a-r,T=u-o;w=Math.sqrt(M*M+T*T),r=a,o=u}w>=0&&(c[p++]=w,h+=w)}return this._pathLen=h,h},e.prototype.rebuildPath=function(t,e){var n,i,r,o,a,h,p,d,f,x,b=this.data,w=this._ux,S=this._uy,A=this._len,M=e<1,T=0,C=0,k=0;if(!M||(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,d=e*this._pathLen))t:for(var I=0;I<A;){var D=b[I++],O=1===I;switch(O&&(r=b[I],o=b[I+1],n=r,i=o),D!==l.L&&k>0&&(t.lineTo(f,x),k=0),D){case l.M:n=r=b[I++],i=o=b[I++],t.moveTo(r,o);break;case l.L:a=b[I++],h=b[I++];var L=_(a-r),P=_(h-o);if(L>w||P>S){if(M){var R=p[C++];if(T+R>d){var B=(d-T)/R;t.lineTo(r*(1-B)+a*B,o*(1-B)+h*B);break t}T+=R}t.lineTo(a,h),r=a,o=h,k=0}else{var z=L*L+P*P;z>k&&(f=a,x=h,k=z)}break;case l.C:var N=b[I++],E=b[I++],V=b[I++],F=b[I++],Y=b[I++],H=b[I++];if(M){var R=p[C++];if(T+R>d){var B=(d-T)/R;(0,s.YT)(r,N,V,Y,B,u),(0,s.YT)(o,E,F,H,B,c),t.bezierCurveTo(u[1],c[1],u[2],c[2],u[3],c[3]);break t}T+=R}t.bezierCurveTo(N,E,V,F,Y,H),r=Y,o=H;break;case l.Q:var N=b[I++],E=b[I++],V=b[I++],F=b[I++];if(M){var R=p[C++];if(T+R>d){var B=(d-T)/R;(0,s.kx)(r,N,V,B,u),(0,s.kx)(o,E,F,B,c),t.quadraticCurveTo(u[1],c[1],u[2],c[2]);break t}T+=R}t.quadraticCurveTo(N,E,V,F),r=V,o=F;break;case l.A:var W=b[I++],G=b[I++],Z=b[I++],U=b[I++],X=b[I++],j=b[I++],q=b[I++],$=!b[I++],Q=Z>U?Z:U,J=_(Z-U)>.001,K=X+j,tt=!1;if(M){var R=p[C++];T+R>d&&(K=X+j*(d-T)/R,tt=!0),T+=R}if(J&&t.ellipse?t.ellipse(W,G,Z,U,q,X,K,$):t.arc(W,G,Q,X,K,$),tt)break t;O&&(n=v(X)*Z+W,i=m(X)*U+G),r=v(K)*Z+W,o=m(K)*U+G;break;case l.R:n=r=b[I],i=o=b[I+1],a=b[I++],h=b[I++];var te=b[I++],tn=b[I++];if(M){var R=p[C++];if(T+R>d){var ti=d-T;t.moveTo(a,h),t.lineTo(a+g(ti,te),h),(ti-=te)>0&&t.lineTo(a+te,h+g(ti,tn)),(ti-=tn)>0&&t.lineTo(a+y(te-ti,0),h+tn),(ti-=te)>0&&t.lineTo(a,h+y(tn-ti,0));break t}T+=R}t.rect(a,h,te,tn);break;case l.Z:if(M){var R=p[C++];if(T+R>d){var B=(d-T)/R;t.lineTo(r*(1-B)+n*B,o*(1-B)+i*B);break t}T+=R}t.closePath(),r=n,o=i}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.prototype.canSave=function(){return!!this._saveData},e.CMD=l,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}(),n.d(e,{},{q:M})},zM(t,e){e.A=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}()},P7(t,e,n){var i=n("AT"),r=n("iY"),o=n("xy"),a=i.identity;function s(t){return t>5e-5||t<-5e-5}var l=[],u=[],c=i.create(),h=Math.abs,p=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return d(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(a(n),this.invTransform=null);return}n=n||i.create(),e?this.getLocalTransform(n):a(n),t&&(e?i.mul(n,t,n):i.copy(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n),this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,n)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(l);var n=l[0]<0?-1:1,i=l[1]<0?-1:1,r=((l[0]-n)*e+n)/l[0]||0,o=((l[1]-i)*e+i)/l[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}},e.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||i.create(),i.mul(u,t.invTransform,e),e=u);var n=this.originX,r=this.originY;(n||r)&&(c[4]=n,c[5]=r,i.mul(u,e,c),u[4]-=n,u[5]-=r,e=u),this.setLocalTransform(e)}},e.prototype.getGlobalScale=function(t){var e=this.transform;return(t=t||[],e)?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1])):(t[0]=1,t[1]=1),t},e.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&o.applyTransform(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&o.applyTransform(n,n,i),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){g(this,t)},e.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,h=t.y,p=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||r||s||l){var f=n+s,g=r+l;e[4]=-f*o-p*g*a,e[5]=-g*a-d*f*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=d*o,e[2]=p*a,u&&i.rotate(e,e,u),e[4]+=n+c,e[5]+=r+h,e},e.initDefaultProps=void((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0),e}(),d=p.getLocalTransform,f=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function g(t,e){return(0,r.assignProps)(t,e,f)}e.Ay=p,n.d(e,{},{Ed:d,IT:g,Rd:function(){return new p},Wx:f})},xV(t,e,n){var i=n("xy"),r=n("mq"),o=Math.min,a=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,c=i.create(),h=i.create(),p=i.create(),d=[],f=[];n.d(e,{},{$s:function(t,e,n,r,o,a,d,f,g){var y=i.min,v=i.max,m=Math.abs(o-a);if(m%u<1e-4&&m>1e-4){f[0]=t-n,f[1]=e-r,g[0]=t+n,g[1]=e+r;return}if(c[0]=l(o)*n+t,c[1]=s(o)*r+e,h[0]=l(a)*n+t,h[1]=s(a)*r+e,y(f,c,h),v(g,c,h),(o%=u)<0&&(o+=u),(a%=u)<0&&(a+=u),o>a&&!d?a+=u:o<a&&d&&(o+=u),d){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(p[0]=l(x)*n+t,p[1]=s(x)*r+e,y(f,p,f),v(g,p,g))},BM:function(t,e,n,i,s,l,u,c,h,p){var g=r.lX,y=r.Yb,v=g(t,n,s,u,d);h[0]=1/0,h[1]=1/0,p[0]=-1/0,p[1]=-1/0;for(var m=0;m<v;m++){var _=y(t,n,s,u,d[m]);h[0]=o(_,h[0]),p[0]=a(_,p[0])}v=g(e,i,l,c,f);for(var m=0;m<v;m++){var x=y(e,i,l,c,f[m]);h[1]=o(x,h[1]),p[1]=a(x,p[1])}h[0]=o(t,h[0]),p[0]=a(t,p[0]),h[0]=o(u,h[0]),p[0]=a(u,p[0]),h[1]=o(e,h[1]),p[1]=a(e,p[1]),h[1]=o(c,h[1]),p[1]=a(c,p[1])},Cr:function(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],s=i[0],l=i[1],u=i[1],c=1;c<t.length;c++)r=o(r,(i=t[c])[0]),s=a(s,i[0]),l=o(l,i[1]),u=a(u,i[1]);e[0]=r,e[1]=l,n[0]=s,n[1]=u}},j6:function(t,e,n,i,r,s){r[0]=o(t,n),r[1]=o(e,i),s[0]=a(t,n),s[1]=a(e,i)},tW:function(t,e,n,i,s,l,u,c){var h=r.gC,p=r.k3,d=a(o(h(t,n,s),1),0),f=a(o(h(e,i,l),1),0),g=p(t,n,s,d),y=p(e,i,l,f);u[0]=o(t,s,g),u[1]=o(e,l,y),c[0]=a(t,s,g),c[1]=a(e,l,y)}})},mq(t,e,n){var i=n("xy"),r=Math.pow,o=Math.sqrt,a=o(3),s=1/3,l=(0,i.create)(),u=(0,i.create)(),c=(0,i.create)();function h(t){return t>-1e-8&&t<1e-8}function p(t){return t>1e-8||t<-1e-8}function d(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function f(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}n.d(e,{},{Et:function(t,e,n,r,a,s,h,p,f,g,y){var v,m,_,x,b,w=.005,S=1/0;l[0]=f,l[1]=g;for(var A=0;A<1;A+=.05)u[0]=d(t,n,a,h,A),u[1]=d(e,r,s,p,A),(x=(0,i.distSquare)(l,u))<S&&(v=A,S=x);S=1/0;for(var M=0;M<32&&!(w<1e-4);M++)m=v-w,_=v+w,u[0]=d(t,n,a,h,m),u[1]=d(e,r,s,p,m),x=(0,i.distSquare)(u,l),m>=0&&x<S?(v=m,S=x):(c[0]=d(t,n,a,h,_),c[1]=d(e,r,s,p,_),b=(0,i.distSquare)(c,l),_<=1&&b<S?(v=_,S=b):w*=.5);return y&&(y[0]=d(t,n,a,h,v),y[1]=d(e,r,s,p,v)),o(S)},YT:function(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i},Yb:d,_E:function(t,e,n,i,l,u){var c=i+3*(e-n)-t,p=3*(n-2*e+t),d=3*(e-t),f=t-l,g=p*p-3*c*d,y=p*d-9*c*f,v=d*d-3*p*f,m=0;if(h(g)&&h(y))if(h(p))u[0]=0;else{var _=-d/p;_>=0&&_<=1&&(u[m++]=_)}else{var x=y*y-4*g*v;if(h(x)){var b=y/g,_=-p/c+b,w=-b/2;_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w)}else if(x>0){var S=o(x),A=g*p+1.5*c*(-y+S),M=g*p+1.5*c*(-y-S),_=(-p-((A=A<0?-r(-A,s):r(A,s))+(M=M<0?-r(-M,s):r(M,s))))/(3*c);_>=0&&_<=1&&(u[m++]=_)}else{var T=Math.acos((2*g*p-3*c*y)/(2*o(g*g*g)))/3,C=o(g),k=Math.cos(T),_=(-p-2*C*k)/(3*c),w=(-p+C*(k+a*Math.sin(T)))/(3*c),I=(-p+C*(k-a*Math.sin(T)))/(3*c);_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w),I>=0&&I<=1&&(u[m++]=I)}}return m},d8:function(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,c=1/a,h=1;h<=a;h++){var p=h*c,d=f(t,n,r,p),g=f(e,i,o,p),y=d-s,v=g-l;u+=Math.sqrt(y*y+v*v),s=d,l=g}return u},gC:function(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i},h0:function(t,e,n,i,r,o,a,s,l){for(var u=t,c=e,h=0,p=1/l,f=1;f<=l;f++){var g=f*p,y=d(t,n,r,a,g),v=d(e,i,o,s,g),m=y-u,_=v-c;h+=Math.sqrt(m*m+_*_),u=y,c=v}return h},k3:f,kh:function(t,e,n,r,a,s,h,p,d){var g,y=.005,v=1/0;l[0]=h,l[1]=p;for(var m=0;m<1;m+=.05){u[0]=f(t,n,a,m),u[1]=f(e,r,s,m);var _=(0,i.distSquare)(l,u);_<v&&(g=m,v=_)}v=1/0;for(var x=0;x<32&&!(y<1e-4);x++){var b=g-y,w=g+y;u[0]=f(t,n,a,b),u[1]=f(e,r,s,b);var _=(0,i.distSquare)(u,l);if(b>=0&&_<v)g=b,v=_;else{c[0]=f(t,n,a,w),c[1]=f(e,r,s,w);var S=(0,i.distSquare)(c,l);w<=1&&S<v?(g=w,v=S):y*=.5}}return d&&(d[0]=f(t,n,a,g),d[1]=f(e,r,s,g)),o(v)},kx:function(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n},lX:function(t,e,n,i,r){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(h(s)){if(p(a)){var c=-l/a;c>=0&&c<=1&&(r[u++]=c)}}else{var d=a*a-4*s*l;if(h(d))r[0]=-a/(2*s);else if(d>0){var f=o(d),c=(-a+f)/(2*s),g=(-a-f)/(2*s);c>=0&&c<=1&&(r[u++]=c),g>=0&&g<=1&&(r[u++]=g)}}return u},qY:function(t,e,n,i,r){var a=t-2*e+n,s=2*(e-t),l=t-i,u=0;if(h(a)){if(p(s)){var c=-l/s;c>=0&&c<=1&&(r[u++]=c)}}else{var d=s*s-4*a*l;if(h(d)){var c=-s/(2*a);c>=0&&c<=1&&(r[u++]=c)}else if(d>0){var f=o(d),c=(-s+f)/(2*a),g=(-s-f)/(2*a);c>=0&&c<=1&&(r[u++]=c),g>=0&&g<=1&&(r[u++]=g)}}return u},rD:function(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)},z7:function(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}})},OR(t,e,n){n.d(e,{Me:()=>y,ot:()=>d,oq:()=>p,lJ:()=>c,Yn:()=>h});var i=n("E3"),r=Math.log(2);function o(t,e,n,i,a,s){var l=i+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var c=Math.round(Math.log((1<<u)-1&~a)/r);return t[n][c]}for(var h=i|1<<n,p=n+1;i&1<<p;)p++;for(var d=0,f=0,g=0;f<u;f++){var y=1<<f;!(y&a)&&(d+=(g%2?-1:1)*t[n][f]*o(t,e-1,p,h,a|y,s),g++)}return s[l]=d,d}function a(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=o(n,8,0,0,0,i);if(0!==r){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(n,7,+(0===s),1<<s,1<<l,i)/r*e[s];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var s=n("iY"),l="___zrEVENTSAVED",u=[];function c(t,e,n,i,r){return p(u,e,i,r,!0)&&p(t,n,u[0],u[1])}function h(t,e){function n(t){var e=t[l];e&&(e.clearMarkers&&e.clearMarkers(),delete t[l])}t&&n(t),e&&n(e)}function p(t,e,n,r,o){if(e.getBoundingClientRect&&i.A.domSupported&&!d(e)){var u=e[l]||(e[l]={}),c=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,s=[],l=[],u=!0,c=0;c<4;c++){var h=t[c].getBoundingClientRect(),p=2*c,d=h.left,f=h.top;s.push(d,f),u=u&&o&&d===o[p]&&f===o[p+1],l.push(t[c].offsetLeft,t[c].offsetTop)}return u&&r?r:(e.srcCoords=s,e[i]=n?a(l,s):a(s,l))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),l=a.style,u=o%2,c=(o>>1)%2;l.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[u]+":0",r[c]+":0",i[1-u]+":auto",r[1-c]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return e.clearMarkers=function(){(0,s.each)(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})},n}(e,u),u,o);if(c)return c(t,n,r),!0}return!1}function d(t){return"CANVAS"===t.nodeName.toUpperCase()}var f=/([&<>"'])/g,g={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function y(t){return null==t?"":(t+"").replace(f,function(t,e){return g[e]})}},E3(t,e){var n=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},i=new function(){this.browser=new n,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="u">typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(i.wxa=!0,i.touchEventsSupported=!0):"u"<typeof document&&"u">typeof self?i.worker=!0:!i.hasGlobalWindow||"Deno"in window||"u">typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Node.js")>-1?(i.node=!0,i.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);if(i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="u">typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="u">typeof document){var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}}(navigator.userAgent,i),e.A=i},lX(t,e,n){var i=n("E3"),r=n("OR"),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=i.A.browser.firefox&&39>+i.A.browser.version.split(".")[0];function l(t,e,n,i){return n=n||{},i?u(t,e,n):s&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):u(t,e,n),n}function u(t,e,n){if(i.A.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,r.ot)(t)){var l=t.getBoundingClientRect();n.zrX=o-l.left,n.zrY=s-l.top;return}if((0,r.oq)(a,t,o,s)){n.zrX=a[0],n.zrY=a[1];return}}n.zrX=n.zrY=0}function c(t){return t||window.event}n.d(e,{},{W5:function(t){return 2===t.which||3===t.which},Yo:l,ds:function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0},e0:function(t,e,n){if(null!=(e=c(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&l(t,r,e,n)}else{l(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;return null==n||null==i?e:3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e},f:function(t,e,n,i){t.removeEventListener(e,n,i)},mK:c,q2:function(t,e,n,i){t.addEventListener(e,n,i)}})},AT(t,e,n){function i(){return[1,0,0,1,0,0]}function r(t,e){return 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}n.r(e),n.d(e,{},{clone:function(t){var e=i();return r(e,t),e},copy:r,create:i,identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t},invert:function(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null},mul:function(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t},rotate:function(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],c=Math.sin(n),h=Math.cos(n);return t[0]=r*h+s*c,t[1]=-r*c+s*h,t[2]=o*h+l*c,t[3]=-o*c+h*l,t[4]=h*(a-i[0])+c*(u-i[1])+i[0],t[5]=h*(u-i[1])-c*(a-i[0])+i[1],t},scale:function(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t},translate:function(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}})},mZ(t,e,n){var i,r,o="sans-serif",a="12px "+o,s=function(t){var e={};if("u"<typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),l={createCanvas:function(){return"u">typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!i){var n=l.createCanvas();i=n&&n.getContext("2d")}if(i)return r!==e&&(r=i.font=e||a),i.measureText(t);t=t||"",e=e||a;var o=/((?:\d+)?\.?\d*)px/.exec(e),u=o&&+o[1]||12,c=0;if(e.indexOf("mono")>=0)c=u*t.length;else for(var h=0;h<t.length;h++){var p=s[t[h]];c+=null==p?u:p*u}return{width:c}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i},getTime:function(){return Date.now?Date.now():+new Date}};n.d(e,{},{Gs:function(t){for(var e in l)l.hasOwnProperty(e)&&t[e]&&(l[e]=t[e])},OH:a,gI:12,yh:l,zs:o})},Ly(t,e,n){function i(t,e,n,i){var r=e+1;if(r===n)return 1;if(0>i(t[r++],t[e])){for(;r<n&&0>i(t[r],t[r-1]);)r++;var o=t,a=e,s=r;for(s--;a<s;){var l=o[a];o[a++]=o[s],o[s--]=l}}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function r(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)0>r(a,t[o=s+l>>>1])?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function o(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&0>=o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function a(t,e,n,i,r,o){var a=0,s=0,l=1;if(0>o(t,e[n+r])){for(s=r+1;l<s&&0>o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var c=a+(l-a>>>1);0>o(t,e[n+c])?l=c:a=c+1}return l}n.d(e,{},{A:function(t,e,n,s){n||(n=0),s||(s=t.length);var l=s-n;if(!(l<2)){var u=0;if(l<32){u=i(t,n,s,e),r(t,n,s,n+u,e);return}var c=function(t,e){var n,i,r=7,s=0,l=[];function u(u){var c=n[u],h=i[u],p=n[u+1],d=i[u+1];i[u]=h+d,u===s-3&&(n[u+1]=n[u+2],i[u+1]=i[u+2]),s--;var f=a(t[p],t,c,h,0,e);c+=f,0==(h-=f)||0!==(d=o(t[c+h-1],t,p,d,d-1,e))&&(h<=d?function(n,i,s,u){var c,h,p,d=0;for(d=0;d<i;d++)l[d]=t[n+d];var f=0,g=s,y=n;if(t[y++]=t[g++],0==--u){for(d=0;d<i;d++)t[y+d]=l[f+d];return}if(1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f];return}for(var v=r;;){c=0,h=0,p=!1;do if(0>e(t[g],l[f])){if(t[y++]=t[g++],h++,c=0,0==--u){p=!0;break}}else if(t[y++]=l[f++],c++,h=0,1==--i){p=!0;break}while((c|h)<v)if(p)break;do{if(0!==(c=a(t[g],l,f,i,0,e))){for(d=0;d<c;d++)t[y+d]=l[f+d];if(y+=c,f+=c,(i-=c)<=1){p=!0;break}}if(t[y++]=t[g++],0==--u){p=!0;break}if(0!==(h=o(l[f],t,g,u,0,e))){for(d=0;d<h;d++)t[y+d]=t[g+d];if(y+=h,g+=h,0==(u-=h)){p=!0;break}}if(t[y++]=l[f++],1==--i){p=!0;break}v--}while(c>=7||h>=7)if(p)break;v<0&&(v=0),v+=2}if((r=v)<1&&(r=1),1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f]}else if(0===i)throw Error();else for(d=0;d<i;d++)t[y+d]=l[f+d]}(c,h,p,d):function(n,i,s,u){var c=0;for(c=0;c<u;c++)l[c]=t[s+c];var h=n+i-1,p=u-1,d=s+u-1,f=0,g=0;if(t[d--]=t[h--],0==--i){for(f=d-(u-1),c=0;c<u;c++)t[f+c]=l[c];return}if(1===u){for(d-=i,h-=i,g=d+1,f=h+1,c=i-1;c>=0;c--)t[g+c]=t[f+c];t[d]=l[p];return}for(var y=r;;){var v=0,m=0,_=!1;do if(0>e(l[p],t[h])){if(t[d--]=t[h--],v++,m=0,0==--i){_=!0;break}}else if(t[d--]=l[p--],m++,v=0,1==--u){_=!0;break}while((v|m)<y)if(_)break;do{if(0!=(v=i-a(l[p],t,n,i,i-1,e))){for(d-=v,h-=v,i-=v,g=d+1,f=h+1,c=v-1;c>=0;c--)t[g+c]=t[f+c];if(0===i){_=!0;break}}if(t[d--]=l[p--],1==--u){_=!0;break}if(0!=(m=u-o(t[h],l,0,u,u-1,e))){for(d-=m,p-=m,u-=m,g=d+1,f=p+1,c=0;c<m;c++)t[g+c]=l[f+c];if(u<=1){_=!0;break}}if(t[d--]=t[h--],0==--i){_=!0;break}y--}while(v>=7||m>=7)if(_)break;y<0&&(y=0),y+=2}if((r=y)<1&&(r=1),1===u){for(d-=i,h-=i,g=d+1,f=h+1,c=i-1;c>=0;c--)t[g+c]=t[f+c];t[d]=l[p]}else if(0===u)throw Error();else for(f=d-(u-1),c=0;c<u;c++)t[f+c]=l[c]}(c,h,p,d))}return n=[],i=[],{mergeRuns:function(){for(;s>1;){var t=s-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;u(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&i[t-1]<i[t+1]&&t--,u(t)}},pushRun:function(t,e){n[s]=t,i[s]=e,s+=1}}}(t,e),h=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(l);do{if((u=i(t,n,s,e))<h){var p=l;p>h&&(p=h),r(t,n,n+p,n+u,e),u=p}c.pushRun(n,u),c.mergeRuns(),l-=u,n+=u}while(0!==l)c.forceMergeRuns()}}})},qY(t,e,n){n.d(e,{},{$z:0,XM:2,cw:1,jP:1,r4:0})},iY(t,e,n){n.r(e);var i=n("mZ"),r=w(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=w(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,h=s.map,p=(function(){}).constructor,d=p?p.prototype:null,f="__proto__",g=2311;function y(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!L(t)){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=y(t[i])}}else if(o[n]){if(!L(t)){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else if(!r[n]&&!L(t)&&!I(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==f&&(e[u]=y(t[u]));return e}function v(t,e,n){if(!C(e)||!C(t))return n?y(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==f){var r=t[i],o=e[i];!(C(o)&&C(r))||M(o)||M(r)||I(o)||I(r)||k(o)||k(r)||L(o)||L(r)?!n&&i in t||(t[i]=y(e[i])):v(r,o,n)}return t}function m(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==f&&(t[n]=e[n]);return t}function _(t,e,n){for(var i=S(e),r=0,o=i.length;r<o;r++){var a=i[r];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}var x=i.yh.createCanvas;function b(t,e,n){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function w(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function S(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var A=d&&T(d.bind)?d.call.bind(d.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(c.call(arguments)))}};function M(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function T(t){return"function"==typeof t}function C(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function k(t){return!!r[a.call(t)]}function I(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function D(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return c.apply(t,e)}var O="__ec_primitive__";function L(t){return t[O]}var P=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return S(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),R="function"==typeof Map,B=function(){function t(e){var n=M(e);this.data=R?new Map:new P;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&b(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(n,i){t.call(e,n,i)})},t.prototype.keys=function(){var t=this.data.keys();return R?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}(),z=180/Math.PI,N=Number.EPSILON||2220446049250313e-31;n.d(e,{},{EPSILON:N,HashMap:B,RADIAN_TO_DEGREE:z,assert:function(t,e){if(!t)throw Error(e)},assignProps:function(t,e,n){t=t||{};for(var i=0;i<n.length;i++){var r=n[i];t[r]=e[r]}return t},bind:A,clone:y,concatArray:function(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];for(var r=t.length,i=0;i<e.length;i++)n[i+r]=e[i];return n},createCanvas:x,createHashMap:function(t){return new B(t)},createObject:function(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&m(n,e),n},curry:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(c.call(arguments)))}},defaults:_,disableUserSelect:function(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"},each:b,eqNaN:function(t){return t!=t},extend:m,filter:function(t,e,n){if(!t)return[];if(!e)return D(t);if(t.filter&&t.filter===u)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i},find:function(t,e,n){if(t&&e){for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}},guid:function(){return g>=0x1fffffffffffff&&(g=0),g++},hasOwn:function(t,e){return t.hasOwnProperty(e)},indexOf:function(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return -1},inherits:function(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e},isArray:M,isArrayLike:function(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length},isBuiltInObject:k,isDom:I,isFunction:T,isGradientObject:function(t){return null!=t.colorStops},isImagePatternObject:function(t){return null!=t.image},isNumber:function(t){return"number"==typeof t},isObject:C,isPrimitive:L,isRegExp:function(t){return"[object RegExp]"===a.call(t)},isString:function(t){return"string"==typeof t},isStringSafe:function(t){return"[object String]"===a.call(t)},isTypedArray:function(t){return!!o[a.call(t)]},keys:S,logError:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"u">typeof console&&console.error.apply(console,t)},map:function(t,e,n){if(!t)return[];if(!e)return D(t);if(t.map&&t.map===h)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i},merge:v,mergeAll:function(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=v(n,t[i],e);return n},mixin:function(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else _(t,e,n)},noop:function(){},normalizeCssArray:function(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t},reduce:w,retrieve:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]},retrieve2:function(t,e){return null!=t?t:e},retrieve3:function(t,e,n){return null!=t?t:null!=e?e:n},setAsPrimitive:function(t){t[O]=!0},slice:D,trim:function(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}})},xy(t,e,n){function i(t){return Math.sqrt(r(t))}function r(t){return t[0]*t[0]+t[1]*t[1]}function o(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function a(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}n.r(e),n.d(e,{},{add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},applyTransform:function(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t},clone:function(t){return[t[0],t[1]]},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},create:function(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]},dist:o,distSquare:a,distance:o,distanceSquare:a,div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},len:i,lenSquare:r,length:i,lengthSquare:r,lerp:function(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){var n=i(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t},scale:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},scaleAndAdd:function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t},set:function(t,e,n){return t[0]=e,t[1]=n,t},sub:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}})},zY(t,e,n){var i=n("SJG"),r=n("Pk");e.A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,i.C6)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),r.Ay.prototype.getBoundingRect.call(this)},e}(r.Ay)},el(t,e,n){var i=n("SJG"),r=n("Qc"),o=n("Y8"),a=n("iY"),s=n("ke"),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},c={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var h=["z","z2","invisible"],p=["invisible"],d=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.C6)(n,t),n.prototype._init=function(e){for(var n=(0,a.keys)(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},n.prototype.beforeBrush=function(t){},n.prototype.afterBrush=function(){},n.prototype.innerBeforeBrush=function(){},n.prototype.innerAfterBrush=function(){},n.prototype.shouldBePainted=function(t,e,n,i){var r,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(r=this,o=t,a=e,f.copy(r.getBoundingRect()),r.transform&&f.applyTransform(r.transform),g.width=o,g.height=a,!f.intersect(g))||s&&!s[0]&&!s[3])return!1;if(n&&this.__clipPaths&&this.__clipPaths.length){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(i&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},n.prototype.contain=function(t,e){return this.rectContain(t,e)},n.prototype.traverse=function(t,e){t.call(e,this)},n.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},n.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.Ay(0,0,0,0)),e?o.Ay.applyTransform(t,n,e):t.copy(n),(r||a||s)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(s),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+s-r));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},n.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.Ay(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},n.prototype.getPrevPaintRect=function(){return this._prevPaintRect},n.prototype.animateStyle=function(t){return this.animate("style",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},n.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},n.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.extend)(this.style,t),this.dirtyStyle(),this},n.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.pO,this._rect&&(this._rect=null)},n.prototype.dirty=function(){this.dirtyStyle()},n.prototype.styleChanged=function(){return!!(this.__dirty&s.pO)},n.prototype.styleUpdated=function(){this.__dirty&=~s.pO},n.prototype.createStyle=function(t){return(0,a.createObject)(u,t)},n.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.style=t,this.dirtyStyle()},n.prototype._useHoverStyle=function(t){this.__hoverStyle=t},n.prototype.isStyleObject=function(t){return t[l]},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,h)},n.prototype._applyStateObj=function(e,n,i,o,s,l){t.prototype._applyStateObj.call(this,e,n,i,o,s,l);var u,c=!(n&&o),d=this.__inHover===r.yx;if(n&&n.style?s?o?u=n.style:(u=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(u,n.style)):(u=this._mergeStyle(this.createStyle(),o?this.style:i.style),this._mergeStyle(u,n.style)):c&&(u=i.style),u)if(s){var f=this.style;if(this.style=this.createStyle(c?{}:f),c)for(var g=(0,a.keys)(f),y=0;y<g.length;y++){var v=g[y];v in u&&(u[v]=u[v],this.style[v]=f[v])}for(var m=(0,a.keys)(u),y=0;y<m.length;y++){var v=m[y];this.style[v]=this.style[v]}this._transitionState(e,{style:u},l,this.getAnimationStyleProps())}else d?this._useHoverStyle(u):this.useStyle(u);if(!d)for(var _=this.__inHover?p:h,y=0;y<_.length;y++){var v=_[y];n&&null!=n[v]?this[v]=n[v]:c&&null!=i[v]&&(this[v]=i[v])}},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},n.prototype._mergeStyle=function(t,e){return(0,a.extend)(t,e),t},n.prototype.getAnimationStyleProps=function(){return c},n.initDefaultProps=void((e=n.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=0,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.M|s.pO),n}(r.Ay),f=new o.Ay(0,0,0,0),g=new o.Ay(0,0,0,0);e.Ay=d,n.d(e,{},{oN:u,sW:c})},b8(t,e){e.A=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},jZ(t,e,n){var i=n("SJG"),r=n("iY"),o=n("Qc"),a=n("Y8"),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,i.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=r.indexOf(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=r.indexOf(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.Ay(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(a.Ay.applyTransform(e,l,u),(r=r||e.clone()).union(e)):(r=r||l.clone()).union(l)}}return r||e},e}(o.Ay);s.prototype.type="group",e.A=s},s5(t,e,n){var i=n("SJG"),r=n("el"),o=n("Y8"),a=n("iY"),s=(0,a.defaults)({x:0,y:0},r.oN),l={style:(0,a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},r.sW.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.createStyle=function(t){return(0,a.createObject)(s,t)},e.prototype._getSize=function(t){var e,n=this.style,i=n[t];if(null!=i)return i;var r=(e=n.image)&&"string"!=typeof e&&e.width&&e.height?n.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=n[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.Ay(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(r.Ay);u.prototype.type="image",e.Ay=u},zv(t,e,n){var i=n("SJG"),r=n("el"),o=n("Y8"),a=n("qY"),s=[];e.A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=a.jP,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,i.C6)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype._useHoverStyle=function(){this.__hoverStyle=null},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(var e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o.Ay(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(s)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1])){for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0}return!1},e}(r.Ay)},Up(t,e,n){var i=n("SJG");e.A=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return(0,i.C6)(e,t),e}(n("b8").A)},Pk(t,e,n){n.d(e,{MW:()=>S,Ay:()=>T});var i=n("SJG"),r=n("el"),o=n("Qc"),a=n("Ig"),s=n("e6"),l=n("mq"),u=n("q9"),c=n("QW"),h=2*Math.PI,p=n("Zv"),d=a.A.CMD,f=2*Math.PI,g=[-1,-1,-1],y=[-1,-1];function v(t,e,n,i,r){for(var o,a,v=t.data,m=t.len(),_=0,x=0,b=0,w=0,S=0,A=0;A<m;){var M,T,C,k,I,D,O,L,P=v[A++],R=1===A;switch(P===d.M&&A>1&&!n&&(_+=(0,p.A)(x,b,w,S,i,r)),R&&(x=v[A],b=v[A+1],w=x,S=b),P){case d.M:w=v[A++],S=v[A++],x=w,b=S;break;case d.L:if(n){if(s.l(x,b,v[A],v[A+1],e,i,r))return!0}else _+=(0,p.A)(x,b,v[A],v[A+1],i,r)||0;x=v[A++],b=v[A++];break;case d.C:if(n){if(M=x,T=b,C=v[A++],k=v[A++],I=v[A++],D=v[A++],O=v[A],L=v[A+1],0!==e&&(!(r>T+e)||!(r>k+e)||!(r>D+e)||!(r>L+e))&&(!(r<T-e)||!(r<k-e)||!(r<D-e)||!(r<L-e))&&(!(i>M+e)||!(i>C+e)||!(i>I+e)||!(i>O+e))&&(!(i<M-e)||!(i<C-e)||!(i<I-e)||!(i<O-e))&&l.Et(M,T,C,k,I,D,O,L,i,r,null)<=e/2)return!0}else _+=function(t,e,n,i,r,o,a,s,u,c){if(c>e&&c>i&&c>o&&c>s||c<e&&c<i&&c<o&&c<s)return 0;var h=l._E(e,i,o,s,c,g);if(0===h)return 0;for(var p=0,d=-1,f=void 0,v=void 0,m=0;m<h;m++){var _=g[m],x=0===_||1===_?.5:1;l.Yb(t,n,r,a,_)<u||(d<0&&(d=l.lX(e,i,o,s,y),y[1]<y[0]&&d>1&&function(){var t=y[0];y[0]=y[1],y[1]=t}(),f=l.Yb(e,i,o,s,y[0]),d>1&&(v=l.Yb(e,i,o,s,y[1]))),2===d?_<y[0]?p+=f<e?x:-x:_<y[1]?p+=v<f?x:-x:p+=s<v?x:-x:_<y[0]?p+=f<e?x:-x:p+=s<f?x:-x)}return p}(x,b,v[A++],v[A++],v[A++],v[A++],v[A],v[A+1],i,r)||0;x=v[A++],b=v[A++];break;case d.Q:if(n){if(u.l(x,b,v[A++],v[A++],v[A],v[A+1],e,i,r))return!0}else _+=function(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var u=l.qY(e,i,o,s,g);if(0===u)return 0;var c=l.gC(e,i,o);if(c>=0&&c<=1){for(var h=0,p=l.k3(e,i,o,c),d=0;d<u;d++){var f=0===g[d]||1===g[d]?.5:1,y=l.k3(t,n,r,g[d]);y<a||(g[d]<c?h+=p<e?f:-f:h+=o<p?f:-f)}return h}var f=0===g[0]||1===g[0]?.5:1,y=l.k3(t,n,r,g[0]);return y<a?0:o<e?f:-f}(x,b,v[A++],v[A++],v[A],v[A+1],i,r)||0;x=v[A++],b=v[A++];break;case d.A:var B=v[A++],z=v[A++],N=v[A++],E=v[A++],V=v[A++],F=v[A++];A+=1;var Y=!!(1-v[A++]);o=Math.cos(V)*N+B,a=Math.sin(V)*E+z,R?(w=o,S=a):_+=(0,p.A)(x,b,o,a,i,r);var H=(i-B)*E/N+B;if(n){if(function(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=Math.sqrt((s-=t)*s+(l-=e)*l);if(u-a>n||u+a<n)return!1;if(Math.abs(i-r)%h<1e-4)return!0;if(o){var p=i;i=(0,c.n)(r),r=(0,c.n)(p)}else i=(0,c.n)(i),r=(0,c.n)(r);i>r&&(r+=h);var d=Math.atan2(l,s);return d<0&&(d+=h),d>=i&&d<=r||d+h>=i&&d+h<=r}(B,z,E,V,V+F,Y,e,H,r))return!0}else _+=function(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);g[0]=-l,g[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=f-1e-4){i=0,r=f;var c=o?1:-1;return a>=g[0]+t&&a<=g[1]+t?c:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=f,r+=f);for(var p=0,d=0;d<2;d++){var y=g[d];if(y+t>a){var v=Math.atan2(s,y),c=o?1:-1;v<0&&(v=f+v),(v>=i&&v<=r||v+f>=i&&v+f<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(c=-c),p+=c)}}return p}(B,z,E,V,V+F,Y,H,r);x=Math.cos(V+F)*N+B,b=Math.sin(V+F)*E+z;break;case d.R:w=x=v[A++],S=b=v[A++];var W=v[A++],G=v[A++];if(o=w+W,a=S+G,n){if(s.l(w,S,o,S,e,i,r)||s.l(o,S,o,a,e,i,r)||s.l(o,a,w,a,e,i,r)||s.l(w,a,w,S,e,i,r))return!0}else _+=(0,p.A)(o,S,o,a,i,r),_+=(0,p.A)(w,a,w,S,i,r);break;case d.Z:if(n){if(s.l(x,b,w,S,e,i,r))return!0}else _+=(0,p.A)(x,b,w,S,i,r);x=w,b=S}}return n||1e-4>Math.abs(b-S)||(_+=(0,p.A)(x,b,w,S,i,r)||0),0!==_}var m=n("iY"),_=n("x4z"),x=n("Yo"),b=n("ke"),w=n("P7"),S=(0,m.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.oN),A={style:(0,m.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.sW.style)},M=w.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]),T=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.C6)(n,t),n.prototype.update=function(){var e=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new n;r.buildPath===n.prototype.buildPath&&(r.buildPath=function(t){e.buildPath(t,e.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<M.length;++s)r[M[s]]=this[M[s]];r.__dirty|=b.M}else this._decalEl&&(this._decalEl=null)},n.prototype.getDecalElement=function(){return this._decalEl},n.prototype._init=function(e){var n=(0,m.keys)(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?(0,m.extend)(this.style,a):this.useStyle(a):"shape"===o?(0,m.extend)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},n.prototype.getDefaultStyle=function(){return null},n.prototype.getDefaultShape=function(){return{}},n.prototype.canBeInsideText=function(){return this.hasFill()},n.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,m.isString)(t)){var e=(0,_.lum)(t,0);return e>.5?x._S:e>.2?x.tY:x.el}else if(t)return x.el}return x._S},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,m.isString)(e)){var n=this.__zr;if(!!(n&&n.isDarkMode())==(0,_.lum)(t,0)<x.ps)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=~b.Dl},n.prototype.getUpdatedPathProxy=function(t){return this.path||this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},n.prototype.createPathProxy=function(){this.path=new a.A(!1)},n.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&b.Dl)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),v(o,a/s,!0,t,e)))return!0}if(this.hasFill())return v(o,0,!1,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=b.Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(t){return this.animate("shape",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},n.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:(0,m.extend)(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(this.__dirty&b.Dl)},n.prototype.createStyle=function(t){return(0,m.createObject)(S,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,m.extend)({},this.shape))},n.prototype._applyStateObj=function(e,n,i,r,a,s){if(t.prototype._applyStateObj.call(this,e,n,i,r,a,s),this.__inHover!==o.yx){var l,u=!(n&&r);if(n&&n.shape?a?r?l=n.shape:(l=(0,m.extend)({},i.shape),(0,m.extend)(l,n.shape)):(l=(0,m.extend)({},r?this.shape:i.shape),(0,m.extend)(l,n.shape)):u&&(l=i.shape),l)if(a){this.shape=(0,m.extend)({},this.shape);for(var c={},h=(0,m.keys)(l),p=0;p<h.length;p++){var d=h[p];"object"==typeof l[d]?this.shape[d]=l[d]:c[d]=l[d]}this._transitionState(e,{shape:c},s)}else this.shape=l,this.dirtyShape()}},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},n.prototype.getAnimationStyleProps=function(){return A},n.prototype.isZeroArea=function(){return!1},n.extend=function(t){var e=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return(0,i.C6)(n,e),n.prototype.getDefaultStyle=function(){return(0,m.clone)(t.style)},n.prototype.getDefaultShape=function(){return(0,m.clone)(t.shape)},n}(n);for(var r in t)"function"==typeof t[r]&&(e.prototype[r]=t[r]);return e},n.initDefaultProps=void((e=n.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=b.M|b.pO|b.Dl),n}(r.Ay)},M6(t,e,n){var i=n("SJG");e.A=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return(0,i.C6)(e,t),e}(n("b8").A)},Ne(t,e,n){var i=n("SJG"),r=n("el"),o=n("Pk"),a=n("iY"),s=n("mZ"),l=n("JQ"),u=(0,a.defaults)({strokeFirst:!0,font:s.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},o.MW),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.hasStroke=function(){return(0,l.n7)(this.style)},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,a.createObject)(u,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){return this._rect||(this._rect=(0,l.Xf)(this.style)),this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(r.Ay);c.prototype.type="tspan",e.A=c},s2(t,e,n){var i=n("SJG"),r=n("JQ"),o=n("Ne"),a=n("iY"),s=n("KO"),l=n("s5"),u=n("Vb"),c=n("Y8"),h=n("el"),p=n("mZ"),d={fill:"#000"},f={},g={style:(0,a.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},h.sW.style)},y=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=d,n.attr(e),n}return(0,i.C6)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,S(t=this.style),(0,a.each)(t.rich,S),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new c.Ay(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||d},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return(0,a.extend)(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=(0,a.keys)(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},(0,a.extend)(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return g},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||p.OH,n=t.padding,i=this._defaultStyle,a=t.x||0,l=t.y||0,u=t.align||i.align||"left",c=t.verticalAlign||i.verticalAlign||"top";(0,r.Ss)(f,i.overflowRect,a,l,u,c),a=f.baseX,l=f.baseY;var h=C(t),d=(0,r.j_)(h,t,f.outerWidth,f.outerHeight),g=k(t),y=!!t.backgroundColor,v=d.outerHeight,m=d.outerWidth,_=d.lines,x=d.lineHeight;this.isTruncated=!!d.isTruncated;var w=a,S=(0,s.sZ)(l,d.contentHeight,c);if(g||n){var I=(0,s.ll)(a,m,u),D=(0,s.sZ)(l,v,c);g&&this._renderBackground(t,t,I,D,m,v)}S+=x/2,n&&(w=T(a,u,n),"top"===c?S+=n[0]:"bottom"===c&&(S-=n[2]));for(var O=0,L=!1,P=!1,R=M("fill"in t?t.fill:(P=!0,i.fill)),B=A("stroke"in t?t.stroke:y||i.autoStroke&&!P?null:(O=2,L=!0,i.stroke)),z=t.textShadowBlur>0,N=0;N<_.length;N++){var E=this._getOrCreateChild(o.A),V=E.createStyle();E.useStyle(V),V.text=_[N],V.x=w,V.y=S,u&&(V.textAlign=u),V.textBaseline="middle",V.opacity=t.opacity,V.strokeFirst=!0,z&&(V.shadowBlur=t.textShadowBlur||0,V.shadowColor=t.textShadowColor||"transparent",V.shadowOffsetX=t.textShadowOffsetX||0,V.shadowOffsetY=t.textShadowOffsetY||0),V.stroke=B,V.fill=R,B&&(V.lineWidth=t.lineWidth||O,V.lineDash=t.lineDash,V.lineDashOffset=t.lineDashOffset||0),V.font=e,b(V,t),S+=x,E.setBoundingRect((0,r.xu)(V,d.contentWidth,d.calculatedLineHeight,L?0:null))}},e.prototype._updateRichTexts=function(){var t=this.style,e=this._defaultStyle,n=t.align||e.align,i=t.verticalAlign||e.verticalAlign,o=t.x||0,a=t.y||0;(0,r.Ss)(f,e.overflowRect,o,a,n,i),o=f.baseX,a=f.baseY;var l=C(t),u=(0,r.FQ)(l,t,f.outerWidth,f.outerHeight,n),c=u.width,h=u.outerWidth,p=u.outerHeight,d=t.padding;this.isTruncated=!!u.isTruncated;var g=(0,s.ll)(o,h,n),y=(0,s.sZ)(a,p,i),v=g,m=y;d&&(v+=d[3],m+=d[0]);var _=v+c;k(t)&&this._renderBackground(t,t,g,y,h,p);for(var x=!!t.backgroundColor,b=0;b<u.lines.length;b++){for(var w=u.lines[b],S=w.tokens,A=S.length,M=w.lineHeight,T=w.width,I=0,D=v,O=_,L=A-1,P=void 0;I<A&&(!(P=S[I]).align||"left"===P.align);)this._placeToken(P,t,M,m,D,"left",x),T-=P.width,D+=P.width,I++;for(;L>=0&&"right"===(P=S[L]).align;)this._placeToken(P,t,M,m,O,"right",x),T-=P.width,O-=P.width,L--;for(D+=(c-(D-v)-(_-O)-T)/2;I<=L;)P=S[I],this._placeToken(P,t,M,m,D+P.width/2,"center",x),D+=P.width,I++;m+=M}},e.prototype._placeToken=function(t,e,n,i,s,l,u){var c=e.rich[t.styleName]||{};c.text=t.text;var h=t.verticalAlign,d=i+n/2;"top"===h?d=i+t.height/2:"bottom"===h&&(d=i+n-t.height/2),!t.isLineHolder&&k(c)&&this._renderBackground(c,e,"right"===l?s-t.width:"center"===l?s-t.width/2:s,d-t.height/2,t.width,t.height);var f=!!c.backgroundColor,g=t.textPadding;g&&(s=T(s,l,g),d-=t.height/2-g[0]-t.innerHeight/2);var y=this._getOrCreateChild(o.A),v=y.createStyle();y.useStyle(v);var m=this._defaultStyle,_=!1,x=0,w=!1,S=M("fill"in c?c.fill:"fill"in e?e.fill:(_=!0,m.fill)),C=A("stroke"in c?c.stroke:"stroke"in e?e.stroke:f||u||m.autoStroke&&!_?null:(x=2,w=!0,m.stroke)),I=c.textShadowBlur>0||e.textShadowBlur>0;v.text=t.text,v.x=s,v.y=d,I&&(v.shadowBlur=c.textShadowBlur||e.textShadowBlur||0,v.shadowColor=c.textShadowColor||e.textShadowColor||"transparent",v.shadowOffsetX=c.textShadowOffsetX||e.textShadowOffsetX||0,v.shadowOffsetY=c.textShadowOffsetY||e.textShadowOffsetY||0),v.textAlign=l,v.textBaseline="middle",v.font=t.font||p.OH,v.opacity=(0,a.retrieve3)(c.opacity,e.opacity,1),b(v,c),C&&(v.lineWidth=(0,a.retrieve3)(c.lineWidth,e.lineWidth,x),v.lineDash=(0,a.retrieve2)(c.lineDash,e.lineDash),v.lineDashOffset=e.lineDashOffset||0,v.stroke=C),S&&(v.fill=S),y.setBoundingRect((0,r.xu)(v,t.contentWidth,t.contentHeight,w?0:null))},e.prototype._renderBackground=function(t,e,n,i,r,o){var s,c,h=t.backgroundColor,p=t.borderWidth,d=t.borderColor,f=h&&h.image,g=h&&!f,y=t.borderRadius,v=this;if(g||t.lineHeight||p&&d){(s=this._getOrCreateChild(u.A)).useStyle(s.createStyle()),s.style.fill=null;var m=s.shape;m.x=n,m.y=i,m.width=r,m.height=o,m.r=y,s.dirtyShape()}if(g){var _=s.style;_.fill=h||null,_.fillOpacity=(0,a.retrieve2)(t.fillOpacity,1)}else if(f){(c=this._getOrCreateChild(l.Ay)).onload=function(){v.dirtyStyle()};var x=c.style;x.image=h.image,x.x=n,x.y=i,x.width=r,x.height=o}if(p&&d){var _=s.style;_.lineWidth=p,_.stroke=d,_.strokeOpacity=(0,a.retrieve2)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var b=(s||c).style;b.shadowBlur=t.shadowBlur||0,b.shadowColor=t.shadowColor||"transparent",b.shadowOffsetX=t.shadowOffsetX||0,b.shadowOffsetY=t.shadowOffsetY||0,b.opacity=(0,a.retrieve3)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return w(t)&&(e=[t.fontStyle,t.fontWeight,x(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&(0,a.trim)(e)||t.textFont||t.font},e}(h.Ay),v={left:!0,right:1,center:1},m={top:1,bottom:1,middle:1},_=["fontStyle","fontWeight","fontSize","fontFamily"];function x(t){return"string"==typeof t&&(-1!==t.indexOf("px")||-1!==t.indexOf("rem")||-1!==t.indexOf("em"))?t:isNaN(+t)?p.gI+"px":t+"px"}function b(t,e){for(var n=0;n<_.length;n++){var i=_[n],r=e[i];null!=r&&(t[i]=r)}}function w(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function S(t){if(t){t.font=y.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||v[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||m[n]?n:"top",t.padding&&(t.padding=(0,a.normalizeCssArray)(t.padding))}}function A(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function M(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function T(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function C(t){var e=t.text;return null!=e&&(e+=""),e}function k(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}e.Ay=y,n.d(e,{},{I5:x,XE:w})},ke(t,e,n){n.d(e,{},{Dl:4,M:1,pO:2})},T0(t,e,n){var i=n("B5"),r=n("mZ"),o=new i.Ay(50);function a(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function s(t){return t&&t.width&&t.height}n.d(e,{},{OD:function(t,e,n,i,l){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!n)return e;var u=o.get(t),c={hostEl:n,cb:i,cbPayload:l};return u?s(e=u.image)||u.pending.push(c):((e=r.yh.loadImage(t,a,a)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[c]})),e},SR:function(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image},xA:s})},JQ(t,e,n){var i=n("T0"),r=n("iY"),o=n("KO"),a=n("Y8"),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(t,e,n,i,r,o){if(!n){t.text="",t.isTruncated=!1;return}var a=(e+"").split("\n");o=u(n,i,r,o);for(var s=!1,l={},h=0,p=a.length;h<p;h++)c(l,a[h],o),a[h]=l.textLine,s=s||l.isTruncated;t.text=a.join("\n"),t.isTruncated=s}function u(t,e,n,i){i=i||{};var a=(0,r.extend)({},i);n=(0,r.retrieve2)(n,"..."),a.maxIterations=(0,r.retrieve2)(i.maxIterations,2);var s=a.minChar=(0,r.retrieve2)(i.minChar,0),l=a.fontMeasureInfo=(0,o.Qw)(e),u=l.asciiCharWidth;a.placeholder=(0,r.retrieve2)(i.placeholder,"");for(var c=t=Math.max(0,t-1),h=0;h<s&&c>=u;h++)c-=u;var p=(0,o.l8)(l,n);return p>c&&(n="",p=0),c=t-p,a.ellipsis=n,a.ellipsisWidth=p,a.contentWidth=c,a.containerWidth=t,a}function c(t,e,n){var i=n.containerWidth,r=n.contentWidth,a=n.fontMeasureInfo;if(!i){t.textLine="",t.isTruncated=!1;return}var s=(0,o.l8)(a,e);if(s<=i){t.textLine=e,t.isTruncated=!1;return}for(var l=0;;l++){if(s<=r||l>=n.maxIterations){e+=n.ellipsis;break}var u=0===l?function(t,e,n){for(var i=0,r=0,a=t.length;r<a&&i<e;r++)i+=(0,o.JK)(n,t.charCodeAt(r));return r}(e,r,a):s>0?Math.floor(e.length*r/s):0;e=e.substr(0,u),s=(0,o.l8)(a,e)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}var h=function(){},p=function(t){this.tokens=[],t&&(this.tokens=t)},d=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function f(t,e,n,i,r){var a,s,l=""===e,u=r&&n.rich[r]||{},c=t.lines,d=u.font||n.font,f=!1;if(i){var g=u.padding,v=g?g[1]+g[3]:0;if(null!=u.width&&"auto"!==u.width){var m=(0,o.lo)(u.width,i.width)+v;c.length>0&&m+i.accumWidth>i.width&&(a=e.split("\n"),f=!0),i.accumWidth=m}else{var _=y(e,d,i.width,i.breakAll,i.accumWidth);i.accumWidth=_.accumWidth+v,s=_.linesWidths,a=_.lines}}a||(a=e.split("\n"));for(var x=(0,o.Qw)(d),b=0;b<a.length;b++){var w=a[b],S=new h;if(S.styleName=r,S.text=w,S.isLineHolder=!w&&!l,"number"==typeof u.width?S.width=u.width:S.width=s?s[b]:(0,o.l8)(x,w),b||f)c.push(new p([S]));else{var A=(c[c.length-1]||(c[0]=new p)).tokens,M=A.length;1===M&&A[0].isLineHolder?A[0]=S:(w||!M||l)&&A.push(S)}}}var g=(0,r.reduce)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function y(t,e,n,i,r){for(var a=[],s=[],l="",u="",c=0,h=0,p=(0,o.Qw)(e),d=0;d<t.length;d++){var f=t.charAt(d);if("\n"===f){u&&(l+=u,h+=c),a.push(l),s.push(h),l="",u="",c=0,h=0;continue}var y=(0,o.JK)(p,f.charCodeAt(0)),v=!i&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!g[t]}(f);if(a.length?h+y>n:r+h+y>n){h?(l||u)&&(v?(l||(l=u,u="",h=c=0),a.push(l),s.push(h-c),u+=f,c+=y,l="",h=c):(u&&(l+=u,u="",c=0),a.push(l),s.push(h),l=f,h=y)):v?(a.push(u),s.push(c),u=f,c=y):(a.push(f),s.push(y));continue}h+=y,v?(u+=f,c+=y):(u&&(l+=u,u="",c=0),l+=f)}return u&&(l+=u),l&&(a.push(l),s.push(h)),1===a.length&&(h+=r),{accumWidth:h,lines:a,linesWidths:s}}var v=new a.Ay(0,0,0,0),m={outIntersectRect:{},clamp:!0};function _(t){return null!=t?t+="":t=""}function x(t,e,n,i){var r=new a.Ay((0,o.ll)(t.x||0,e,t.textAlign),(0,o.sZ)(t.y||0,n,t.textBaseline),e,n),s=null!=i?i:b(t)?t.lineWidth:0;return s>0&&(r.x-=s/2,r.y-=s/2,r.width+=s,r.height+=s),r}function b(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}n.d(e,{},{EJ:function(t,e,n,i,r){var o={};return l(o,t,e,n,i,r),o.text},FQ:function(t,e,n,a,u){var c,h=new d,p=_(t);if(!p)return h;var g=e.padding,y=g?g[1]+g[3]:0,v=g?g[0]+g[2]:0,m=e.width;null==m&&null!=n&&(m=n-y);var x=e.height;null==x&&null!=a&&(x=a-v);for(var b=e.overflow,w=("break"===b||"breakAll"===b)&&null!=m?{width:m,accumWidth:0,breakAll:"breakAll"===b}:null,S=s.lastIndex=0;null!=(c=s.exec(p));){var A=c.index;A>S&&f(h,p.substring(S,A),e,w),f(h,c[2],e,w,c[1]),S=s.lastIndex}S<p.length&&f(h,p.substring(S,p.length),e,w);var M=[],T=0,C=0,k="truncate"===b,I="truncate"===e.lineOverflow,D={};function O(t,e,n){t.width=e,t.lineHeight=n,T+=n,C=Math.max(C,e)}e:for(var L=0;L<h.lines.length;L++){for(var P=h.lines[L],R=0,B=0,z=0;z<P.tokens.length;z++){var N=P.tokens[z],E=N.styleName&&e.rich[N.styleName]||{},V=N.textPadding=E.padding,F=V?V[1]+V[3]:0,Y=N.font=E.font||e.font;N.contentHeight=(0,o.ks)(Y);var H=(0,r.retrieve2)(E.height,N.contentHeight);if(N.innerHeight=H,V&&(H+=V[0]+V[2]),N.height=H,N.lineHeight=(0,r.retrieve3)(E.lineHeight,e.lineHeight,H),N.align=E&&E.align||u,N.verticalAlign=E&&E.verticalAlign||"middle",I&&null!=x&&T+N.lineHeight>x){var W=h.lines.length;z>0?(P.tokens=P.tokens.slice(0,z),O(P,B,R),h.lines=h.lines.slice(0,L+1)):h.lines=h.lines.slice(0,L),h.isTruncated=h.isTruncated||h.lines.length<W;break e}var G=E.width,Z=null==G||"auto"===G;if("string"==typeof G&&"%"===G.charAt(G.length-1))N.percentWidth=G,M.push(N),N.contentWidth=(0,o.l8)((0,o.Qw)(Y),N.text);else{if(Z){var U=E.backgroundColor,X=U&&U.image;X&&(X=i.SR(X),i.xA(X)&&(N.width=Math.max(N.width,X.width*H/X.height)))}var j=k&&null!=m?m-B:null;null!=j&&j<N.width?!Z||j<F?(N.text="",N.width=N.contentWidth=0):(l(D,N.text,j-F,Y,e.ellipsis,{minChar:e.truncateMinChar}),N.text=D.text,h.isTruncated=h.isTruncated||D.isTruncated,N.width=N.contentWidth=(0,o.l8)((0,o.Qw)(Y),N.text)):N.contentWidth=(0,o.l8)((0,o.Qw)(Y),N.text)}N.width+=F,B+=N.width,E&&(R=Math.max(R,N.lineHeight))}O(P,B,R)}h.outerWidth=h.width=(0,r.retrieve2)(m,C),h.outerHeight=h.height=(0,r.retrieve2)(x,T),h.contentHeight=T,h.contentWidth=C,h.outerWidth+=y,h.outerHeight+=v;for(var L=0;L<M.length;L++){var N=M[L],q=N.percentWidth;N.width=parseInt(q,10)/100*h.width}return h},Ss:function(t,e,n,i,r,s){if(t.baseX=n,t.baseY=i,t.outerWidth=t.outerHeight=null,e){var l=2*e.width,u=2*e.height;a.Ay.set(v,(0,o.ll)(n,l,r),(0,o.sZ)(i,u,s),l,u),a.Ay.intersect(e,v,null,m);var c=m.outIntersectRect;t.outerWidth=c.width,t.outerHeight=c.height,t.baseX=(0,o.ll)(c.x,c.width,r,!0),t.baseY=(0,o.sZ)(c.y,c.height,s,!0)}},Xf:function(t){var e=_(t.text),n=t.font;return x(t,(0,o.l8)((0,o.Qw)(n),e),(0,o.ks)(n),null)},j_:function(t,e,n,i){var a,s=_(t),l=e.overflow,h=e.padding,p=h?h[1]+h[3]:0,d=h?h[0]+h[2]:0,f=e.font,g=(0,o.ks)(f),v=(0,r.retrieve2)(e.lineHeight,g),m="truncate"===e.lineOverflow,x=!1,b=e.width;null==b&&null!=n&&(b=n-p);var w=e.height;null==w&&null!=i&&(w=i-d);var S=(a=null!=b&&("break"===l||"breakAll"===l)?s?y(s,e.font,b,"breakAll"===l,0).lines:[]:s?s.split("\n"):[]).length*v;if(null==w&&(w=S),S>w&&m){var A=Math.floor(w/v);x=x||a.length>A,S=(a=a.slice(0,A)).length*v}if(s&&"truncate"===l&&null!=b)for(var M=u(b,f,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),T={},C=0;C<a.length;C++)c(T,a[C],M),a[C]=T.textLine,x=x||T.isTruncated;for(var k=w,I=0,D=(0,o.Qw)(f),C=0;C<a.length;C++)I=Math.max((0,o.l8)(D,a[C]),I);null==b&&(b=I);var O=b;return k+=d,{lines:a,height:w,outerWidth:O+=p,outerHeight:k,lineHeight:v,calculatedLineHeight:g,contentWidth:I,contentHeight:S,width:b,isTruncated:x}},n7:b,xu:x})},mg(t,e,n){n.d(e,{U:()=>r});var i=n("xy");function r(t,e,n){var r=e.smooth,o=e.points;if(o&&o.length>=2){if(r){var a=function(t,e,n,r){var o,a,s,l,u=[],c=[],h=[],p=[];if(r){s=[1/0,1/0],l=[-1/0,-1/0];for(var d=0,f=t.length;d<f;d++)(0,i.min)(s,s,t[d]),(0,i.max)(l,l,t[d]);(0,i.min)(s,s,r[0]),(0,i.max)(l,l,r[1])}for(var d=0,f=t.length;d<f;d++){var g=t[d];if(n)o=t[d?d-1:f-1],a=t[(d+1)%f];else if(0===d||d===f-1){u.push((0,i.clone)(t[d]));continue}else o=t[d-1],a=t[d+1];(0,i.sub)(c,a,o),(0,i.scale)(c,c,e);var y=(0,i.distance)(g,o),v=(0,i.distance)(g,a),m=y+v;0!==m&&(y/=m,v/=m),(0,i.scale)(h,c,-y),(0,i.scale)(p,c,v);var _=(0,i.add)([],g,h),x=(0,i.add)([],g,p);r&&((0,i.max)(_,_,s),(0,i.min)(_,_,l),(0,i.max)(x,x,s),(0,i.min)(x,x,l)),u.push(_),u.push(x)}return n&&u.push(u.shift()),u}(o,r,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(n?s:s-1);l++){var u=a[2*l],c=a[2*l+1],h=o[(l+1)%s];t.bezierCurveTo(u[0],u[1],c[0],c[1],h[0],h[1])}}else{t.moveTo(o[0][0],o[0][1]);for(var l=1,p=o.length;l<p;l++)t.lineTo(o[l][0],o[l][1])}n&&t.closePath()}}},JU(t,e,n){var i=Math.round;function r(t,e,n){if(!e)return t;var r=i(2*t);return(r+i(e))%2==0?r/2:(r+(n?1:-1))/2}n.d(e,{},{M7:r,Op:function(t,e,n){if(e){var i=e.x,o=e.y,a=e.width,s=e.height;t.x=i,t.y=o,t.width=a,t.height=s;var l=n&&n.lineWidth;return l&&(t.x=r(i,l,!0),t.y=r(o,l,!0),t.width=Math.max(r(i+a,l,!1)-t.x,+(0!==a)),t.height=Math.max(r(o+s,l,!1)-t.y,+(0!==s))),t}},eB:function(t,e,n){if(e){var o=e.x1,a=e.x2,s=e.y1,l=e.y2;t.x1=o,t.x2=a,t.y1=s,t.y2=l;var u=n&&n.lineWidth;return u&&(i(2*o)===i(2*a)&&(t.x1=t.x2=r(o,u,!0)),i(2*s)===i(2*l)&&(t.y1=t.y2=r(s,u,!0))),t}}})},Wf(t,e,n){var i=n("SJG"),r=n("Pk"),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(r.Ay);a.prototype.type="arc",e.A=a},QO(t,e,n){var i=n("SJG"),r=n("Pk"),o=n("xy"),a=n("mq"),s=[],l=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function u(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?a.rD:a.Yb)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?a.rD:a.Yb)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?a.z7:a.k3)(t.x1,t.cpx1,t.x2,e),(n?a.z7:a.k3)(t.y1,t.cpy1,t.y2,e)]}var c=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,p=e.percent;0!==p&&(t.moveTo(n,i),null==c||null==h?(p<1&&((0,a.kx)(n,l,r,p,s),l=s[1],r=s[2],(0,a.kx)(i,u,o,p,s),u=s[1],o=s[2]),t.quadraticCurveTo(l,u,r,o)):(p<1&&((0,a.YT)(n,l,c,r,p,s),l=s[1],c=s[2],r=s[3],(0,a.YT)(i,u,h,o,p,s),u=s[1],h=s[2],o=s[3]),t.bezierCurveTo(l,u,c,h,r,o)))},e.prototype.pointAt=function(t){return u(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=u(this.shape,t,!0);return o.normalize(e,e)},e}(r.Ay);c.prototype.type="bezier-curve",e.A=c},vH(t,e,n){var i=n("SJG"),r=n("Pk"),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(r.Ay);a.prototype.type="circle",e.A=a},Tj(t,e,n){var i=n("SJG"),r=n("Pk"),o=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=e.rx,o=e.ry,a=.5522848*r,s=.5522848*o;t.moveTo(n-r,i),t.bezierCurveTo(n-r,i-s,n-a,i-o,n,i-o),t.bezierCurveTo(n+a,i-o,n+r,i-s,n+r,i),t.bezierCurveTo(n+r,i+s,n+a,i+o,n,i+o),t.bezierCurveTo(n-a,i+o,n-r,i+s,n-r,i),t.closePath()},e}(r.Ay);a.prototype.type="ellipse",e.A=a},xz(t,e,n){var i=n("SJG"),r=n("Pk"),o=n("JU"),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,s,l=(0,o.eB)(a,e,this.style);n=l.x1,i=l.y1,r=l.x2,s=l.y2}else n=e.x1,i=e.y1,r=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(n,i),u<1&&(r=n*(1-u)+r*u,s=i*(1-u)+s*u),t.lineTo(r,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(r.Ay);l.prototype.type="line",e.A=l},hC(t,e,n){var i=n("SJG"),r=n("Pk"),o=n("mg"),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!0)},e}(r.Ay);s.prototype.type="polygon",e.A=s},Jx(t,e,n){var i=n("SJG"),r=n("Pk"),o=n("mg"),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!1)},e}(r.Ay);s.prototype.type="polyline",e.A=s},Vb(t,e,n){n.d(e,{A:()=>u});var i=n("SJG"),r=n("Pk"),o=n("JU"),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,a,l,u,c,h,p,d,f,g,y,v,m,_=(0,o.Op)(s,e,this.style);g=_.x,y=_.y,v=_.width,m=_.height,_.r=e.r,e=_}else g=e.x,y=e.y,v=e.width,m=e.height;e.r?(c=(n=e).x,h=n.y,p=n.width,d=n.height,f=n.r,p<0&&(c+=p,p=-p),d<0&&(h+=d,d=-d),"number"==typeof f?i=r=a=l=f:f instanceof Array?1===f.length?i=r=a=l=f[0]:2===f.length?(i=a=f[0],r=l=f[1]):3===f.length?(i=f[0],r=l=f[1],a=f[2]):(i=f[0],r=f[1],a=f[2],l=f[3]):i=r=a=l=0,i+r>p&&(u=i+r,i*=p/u,r*=p/u),a+l>p&&(u=a+l,a*=p/u,l*=p/u),r+a>d&&(u=r+a,r*=d/u,a*=d/u),i+l>d&&(u=i+l,i*=d/u,l*=d/u),t.moveTo(c+i,h),t.lineTo(c+p-r,h),0!==r&&t.arc(c+p-r,h+r,r,-Math.PI/2,0),t.lineTo(c+p,h+d-a),0!==a&&t.arc(c+p-a,h+d-a,a,0,Math.PI/2),t.lineTo(c+l,h+d),0!==l&&t.arc(c+l,h+d-l,l,Math.PI/2,Math.PI),t.lineTo(c,h+i),0!==i&&t.arc(c+i,h+i,i,Math.PI,1.5*Math.PI),t.closePath()):t.rect(g,y,v,m)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.Ay);l.prototype.type="rect";var u=l},wq(t,e,n){var i=n("SJG"),r=n("Pk"),o=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(r.Ay);a.prototype.type="ring",e.A=a},Qz(t,e,n){n.d(e,{A:()=>_});var i=n("SJG"),r=n("Pk"),o=n("iY"),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,c=Math.acos,h=Math.atan2,p=Math.abs,d=Math.sqrt,f=Math.max,g=Math.min;function y(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/d(s*s+l*l),c=u*l,h=-u*s,p=t+c,g=e+h,y=n+c,v=i+h,m=(p+y)/2,_=(g+v)/2,x=y-p,b=v-g,w=x*x+b*b,S=r-o,A=p*v-y*g,M=(b<0?-1:1)*d(f(0,S*S*w-A*A)),T=(A*b-x*M)/w,C=(-A*x-b*M)/w,k=(A*b+x*M)/w,I=(-A*x+b*M)/w,D=T-m,O=C-_,L=k-m,P=I-_;return D*D+O*O>L*L+P*P&&(T=k,C=I),{cx:T,cy:C,x0:-c,y0:-h,x1:T*(r/S-1),y1:C*(r/S-1)}}var v=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},m=function(t){function e(e){return t.call(this,e)||this}return(0,i.C6)(e,t),e.prototype.getDefaultShape=function(){return new v},e.prototype.buildPath=function(t,e){!function(t,e){var n,i=f(e.r,0),r=f(e.r0||0,0),v=i>0,m=r>0;if(v||m){if(v||(i=r,r=0),r>i){var _=i;i=r,r=_}var x=e.startAngle,b=e.endAngle;if(!(isNaN(x)||isNaN(b))){var w=e.cx,S=e.cy,A=!!e.clockwise,M=p(b-x),T=M>s&&M%s;if(T>1e-4&&(M=T),i>1e-4)if(M>s-1e-4)t.moveTo(w+i*u(x),S+i*l(x)),t.arc(w,S,i,x,b,!A),r>1e-4&&(t.moveTo(w+r*u(b),S+r*l(b)),t.arc(w,S,r,b,x,A));else{var C=void 0,k=void 0,I=void 0,D=void 0,O=void 0,L=void 0,P=void 0,R=void 0,B=void 0,z=void 0,N=void 0,E=void 0,V=void 0,F=void 0,Y=void 0,H=void 0,W=i*u(x),G=i*l(x),Z=r*u(b),U=r*l(b),X=M>1e-4;if(X){var j=e.cornerRadius;j&&(C=(n=function(t){var e;if((0,o.isArray)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(j))[0],k=n[1],I=n[2],D=n[3]);var q=p(i-r)/2;if(O=g(q,I),L=g(q,D),P=g(q,C),R=g(q,k),N=B=f(O,L),E=z=f(P,R),(B>1e-4||z>1e-4)&&(V=i*u(b),F=i*l(b),Y=r*u(x),H=r*l(x),M<a)){var $=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,c=a-r,h=s-o,p=h*l-c*u;if(!(p*p<1e-4))return p=(c*(e-o)-h*(t-r))/p,[t+p*l,e+p*u]}(W,G,Y,H,V,F,Z,U);if($){var Q=W-$[0],J=G-$[1],K=V-$[0],tt=F-$[1],te=1/l(c((Q*K+J*tt)/(d(Q*Q+J*J)*d(K*K+tt*tt)))/2),tn=d($[0]*$[0]+$[1]*$[1]);N=g(B,(i-tn)/(te+1)),E=g(z,(r-tn)/(te-1))}}}if(X)if(N>1e-4){var ti=g(I,N),tr=g(D,N),to=y(Y,H,W,G,i,ti,A),ta=y(V,F,Z,U,i,tr,A);t.moveTo(w+to.cx+to.x0,S+to.cy+to.y0),N<B&&ti===tr?t.arc(w+to.cx,S+to.cy,N,h(to.y0,to.x0),h(ta.y0,ta.x0),!A):(ti>0&&t.arc(w+to.cx,S+to.cy,ti,h(to.y0,to.x0),h(to.y1,to.x1),!A),t.arc(w,S,i,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),!A),tr>0&&t.arc(w+ta.cx,S+ta.cy,tr,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!A))}else t.moveTo(w+W,S+G),t.arc(w,S,i,x,b,!A);else t.moveTo(w+W,S+G);if(r>1e-4&&X)if(E>1e-4){var ti=g(C,E),tr=g(k,E),to=y(Z,U,V,F,r,-tr,A),ta=y(W,G,Y,H,r,-ti,A);t.lineTo(w+to.cx+to.x0,S+to.cy+to.y0),E<z&&ti===tr?t.arc(w+to.cx,S+to.cy,E,h(to.y0,to.x0),h(ta.y0,ta.x0),!A):(tr>0&&t.arc(w+to.cx,S+to.cy,tr,h(to.y0,to.x0),h(to.y1,to.x1),!A),t.arc(w,S,r,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),A),ti>0&&t.arc(w+ta.cx,S+ta.cy,ti,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!A))}else t.lineTo(w+Z,S+U),t.arc(w,S,r,b,x,A);else t.lineTo(w+Z,S+U)}else t.moveTo(w,S);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(r.Ay);m.prototype.type="sector";var _=m},QB(t,e,n){var i=n("iY"),r=n("x4z"),o=Math.round;function a(t){return o(1e3*t)/1e3}function s(t){return o(1e4*t)/1e4}function l(t){return t&&!!t.image}var u="u">typeof Buffer&&"function"==typeof Buffer.from?function(t){return Buffer.from(t).toString("base64")}:"function"==typeof btoa&&"function"==typeof unescape&&"function"==typeof encodeURIComponent?function(t){return btoa(unescape(encodeURIComponent(t)))}:function(t){return null};n.d(e,{},{$2:function(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=(0,r.parse)(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}},Cv:function(t){return t<1e-4&&t>-1e-4},MD:function(t){var e=t.getGlobalScale();return Math.max(Math.ceil(Math.log(Math.max(e[0],e[1]))/Math.log(10)),1)},OH:function(t){return"radial"===t.type},OS:function(t){return"linear"===t.type},Pt:function(t){return l(t)||t&&!!t.svgElement},WG:u,XP:s,Xu:function(t){return"url(#"+t+")"},Z1:function(t){var e=t.x||0,n=t.y||0,r=(t.rotation||0)*i.RADIAN_TO_DEGREE,a=(0,i.retrieve2)(t.scaleX,1),s=(0,i.retrieve2)(t.scaleY,1),l=t.skewX||0,u=t.skewY||0,c=[];return(e||n)&&c.push("translate("+e+"px,"+n+"px)"),r&&c.push("rotate("+r+")"),(1!==a||1!==s)&&c.push("scale("+a+","+s+")"),(l||u)&&c.push("skew("+o(l*i.RADIAN_TO_DEGREE)+"deg, "+o(u*i.RADIAN_TO_DEGREE)+"deg)"),c.join(" ")},bn:function(t){return t&&("linear"===t.type||"radial"===t.type)},dX:function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)},eQ:{left:"start",right:"end",center:"middle",middle:"middle"},nV:function(t){return"matrix("+a(t[0])+","+a(t[1])+","+a(t[2])+","+a(t[3])+","+s(t[4])+","+s(t[5])+")"},sL:l,sZ:function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t},si:function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}})},x4z(t,e,n){n.r(e);var i=n("B5"),r=n("iY"),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function c(t,e,n){return(n<0?n+=1:n>1&&(n-=1),6*n<1)?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new i.Ay(20),f=null;function g(t,e){f&&p(f,e),f=d.put(t,f||e.slice())}function y(t,e){if(t){e=e||[];var n=d.get(t);if(n)return p(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in o)return p(e,o[i]),g(t,e),e;var r=i.length;if("#"===i.charAt(0)){if(4===r||5===r){var a=parseInt(i.slice(1,4),16);return a>=0&&a<=4095?(h(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===r?parseInt(i.slice(4),16)/15:1),g(t,e),e):void h(e,0,0,0,1)}if(7===r||9===r){var a=parseInt(i.slice(1,7),16);return a>=0&&a<=0xffffff?(h(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===r?parseInt(i.slice(7),16)/255:1),g(t,e),e):void h(e,0,0,0,1)}return}var s=i.indexOf("("),c=i.indexOf(")");if(-1!==s&&c+1===r){var f=i.substr(0,s),y=i.substr(s+1,c-(s+1)).split(","),m=1;switch(f){case"rgba":if(4!==y.length)return 3===y.length?h(e,+y[0],+y[1],+y[2],1):h(e,0,0,0,1);m=u(y.pop());case"rgb":if(y.length>=3)return h(e,l(y[0]),l(y[1]),l(y[2]),3===y.length?m:u(y[3])),g(t,e),e;return void h(e,0,0,0,1);case"hsla":if(4!==y.length)return void h(e,0,0,0,1);return y[3]=u(y[3]),v(y,e),g(t,e),e;case"hsl":if(3!==y.length)return void h(e,0,0,0,1);return v(y,e),g(t,e),e;default:return}}h(e,0,0,0,1)}}function v(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=u(t[1]),r=u(t[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return h(e=e||[],a(255*c(s,o,n+1/3)),a(255*c(s,o,n)),a(255*c(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var n=y(t);if(n){for(var i=0;i<3;i++)e<0?n[i]=n[i]*(1-e)|0:n[i]=(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return b(n,4===n.length?"rgba":"rgb")}}function _(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i,r,o,l,u=t*(e.length-1),c=Math.floor(u),h=Math.ceil(u),p=e[c],d=e[h],f=u-c;return n[0]=a((i=p[0],i+(d[0]-i)*f)),n[1]=a((r=p[1],r+(d[1]-r)*f)),n[2]=a((o=p[2],o+(d[2]-o)*f)),n[3]=s((l=p[3],l+(d[3]-l)*f)),n}}function x(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i,r,o,l,u=t*(e.length-1),c=Math.floor(u),h=Math.ceil(u),p=y(e[c]),d=y(e[h]),f=u-c,g=b([a((i=p[0],i+(d[0]-i)*f)),a((r=p[1],r+(d[1]-r)*f)),a((o=p[2],o+(d[2]-o)*f)),s((l=p[3],l+(d[3]-l)*f))],"rgba");return n?{color:g,leftIndex:c,rightIndex:h,value:u}:g}}function b(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return("rgba"===e||"hsva"===e||"hsla"===e)&&(n+=","+t[3]),e+"("+n+")"}}var w=new i.Ay(100);n.d(e,{},{fastLerp:_,fastMapToColor:_,lerp:x,lift:m,liftColor:function(t){if((0,r.isString)(t)){var e=w.get(t);return e||(e=m(t,-.1),w.put(t,e)),e}if((0,r.isGradientObject)(t)){var n=(0,r.extend)({},t);return n.colorStops=(0,r.map)(t.colorStops,function(t){return{offset:t.offset,color:m(t.color,-.1)}}),n}return t},lum:function(t,e){var n=y(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0},mapToColor:x,modifyAlpha:function(t,e){var n=y(t);if(n&&null!=e)return n[3]=s(e),b(n,"rgba")},modifyHSL:function(t,e,n,i){var o,a=y(t);if(t)return a=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-h:r===s?e=1/3+c-p:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(a),null!=e&&(a[0]=(o=Math.round(o=(0,r.isFunction)(e)?e(a[0]):e))<0?0:o>360?360:o),null!=n&&(a[1]=u((0,r.isFunction)(n)?n(a[1]):n)),null!=i&&(a[2]=u((0,r.isFunction)(i)?i(a[2]):i)),b(v(a),"rgba")},parse:y,parseCssFloat:u,parseCssInt:l,random:function(){return b([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")},stringify:b,toHex:function(t){var e=y(t);if(e)return(0x1000000+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}})},av(t,e,n){n.d(e,{rR:()=>I,UJ:()=>T,Qh:()=>C,uc:()=>k});var i=n("SJG"),r=n("Pk"),o=n("Ig"),a=n("xy"),s=o.A.CMD,l=[[],[],[]],u=Math.sqrt,c=Math.atan2;function h(t,e){if(e){var n,i,r,o,h,p,d=t.data,f=t.len(),g=s.M,y=s.C,v=s.L,m=s.R,_=s.A,x=s.Q;for(r=0,o=0;r<f;){switch(n=d[r++],o=r,i=0,n){case g:case v:i=1;break;case y:i=3;break;case x:i=2;break;case _:var b=e[4],w=e[5],S=u(e[0]*e[0]+e[1]*e[1]),A=u(e[2]*e[2]+e[3]*e[3]),M=c(-e[1]/A,e[0]/S);d[r]*=S,d[r++]+=b,d[r]*=A,d[r++]+=w,d[r++]*=S,d[r++]*=A,d[r++]+=M,d[r++]+=M,r+=2,o=r;break;case m:p[0]=d[r++],p[1]=d[r++],(0,a.applyTransform)(p,p,e),d[o++]=p[0],d[o++]=p[1],p[0]+=d[r++],p[1]+=d[r++],(0,a.applyTransform)(p,p,e),d[o++]=p[0],d[o++]=p[1]}for(h=0;h<i;h++){var T=l[h];T[0]=d[r++],T[1]=d[r++],(0,a.applyTransform)(T,T,e),d[o++]=T[0],d[o++]=T[1]}}t.increaseVersion()}}var p=n("iY"),d=Math.sqrt,f=Math.sin,g=Math.cos,y=Math.PI;function v(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function m(t,e){return(t[0]*e[0]+t[1]*e[1])/(v(t)*v(e))}function _(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(m(t,e))}function x(t,e,n,i,r,o,a,s,l,u,c){var h=y/180*l,p=g(h)*(t-n)/2+f(h)*(e-i)/2,v=-1*f(h)*(t-n)/2+g(h)*(e-i)/2,x=p*p/(a*a)+v*v/(s*s);x>1&&(a*=d(x),s*=d(x));var b=(r===o?-1:1)*d((a*a*(s*s)-a*a*(v*v)-s*s*(p*p))/(a*a*(v*v)+s*s*(p*p)))||0,w=b*a*v/s,S=-(b*s)*p/a,A=(t+n)/2+g(h)*w-f(h)*S,M=(e+i)/2+f(h)*w+g(h)*S,T=_([1,0],[(p-w)/a,(v-S)/s]),C=[(p-w)/a,(v-S)/s],k=[(-1*p-w)/a,(-1*v-S)/s],I=_(C,k);if(-1>=m(C,k)&&(I=y),m(C,k)>=1&&(I=0),I<0){var D=Math.round(I/y*1e6)/1e6;I=2*y+D%2*y}c.addData(u,A,M,a,s,T,I,h,o)}var b=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,w=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.applyTransform=function(t){},e}(r.Ay);function A(t){return null!=t.setData}function M(t,e){var n=function(t){var e,n=new o.A;if(!t)return n;var i=0,r=0,a=0,s=0,l=o.A.CMD,u=t.match(b);if(!u)return n;for(var c=0;c<u.length;c++){for(var h=u[c],p=h.charAt(0),d=void 0,f=h.match(w)||[],g=f.length,y=0;y<g;y++)f[y]=parseFloat(f[y]);for(var v=0;v<g;){var m=void 0,_=void 0,S=void 0,A=void 0,M=void 0,T=void 0,C=void 0,k=i,I=r,D=void 0,O=void 0;switch(p){case"l":i+=f[v++],r+=f[v++],d=l.L,n.addData(d,i,r);break;case"L":i=f[v++],r=f[v++],d=l.L,n.addData(d,i,r);break;case"m":i+=f[v++],r+=f[v++],d=l.M,n.addData(d,i,r),a=i,s=r,p="l";break;case"M":i=f[v++],r=f[v++],d=l.M,n.addData(d,i,r),a=i,s=r,p="L";break;case"h":i+=f[v++],d=l.L,n.addData(d,i,r);break;case"H":i=f[v++],d=l.L,n.addData(d,i,r);break;case"v":r+=f[v++],d=l.L,n.addData(d,i,r);break;case"V":r=f[v++],d=l.L,n.addData(d,i,r);break;case"C":d=l.C,n.addData(d,f[v++],f[v++],f[v++],f[v++],f[v++],f[v++]),i=f[v-2],r=f[v-1];break;case"c":d=l.C,n.addData(d,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r),i+=f[v-2],r+=f[v-1];break;case"S":m=i,_=r,D=n.len(),O=n.data,e===l.C&&(m+=i-O[D-4],_+=r-O[D-3]),d=l.C,k=f[v++],I=f[v++],i=f[v++],r=f[v++],n.addData(d,m,_,k,I,i,r);break;case"s":m=i,_=r,D=n.len(),O=n.data,e===l.C&&(m+=i-O[D-4],_+=r-O[D-3]),d=l.C,k=i+f[v++],I=r+f[v++],i+=f[v++],r+=f[v++],n.addData(d,m,_,k,I,i,r);break;case"Q":k=f[v++],I=f[v++],i=f[v++],r=f[v++],d=l.Q,n.addData(d,k,I,i,r);break;case"q":k=f[v++]+i,I=f[v++]+r,i+=f[v++],r+=f[v++],d=l.Q,n.addData(d,k,I,i,r);break;case"T":m=i,_=r,D=n.len(),O=n.data,e===l.Q&&(m+=i-O[D-4],_+=r-O[D-3]),i=f[v++],r=f[v++],d=l.Q,n.addData(d,m,_,i,r);break;case"t":m=i,_=r,D=n.len(),O=n.data,e===l.Q&&(m+=i-O[D-4],_+=r-O[D-3]),i+=f[v++],r+=f[v++],d=l.Q,n.addData(d,m,_,i,r);break;case"A":S=f[v++],A=f[v++],M=f[v++],T=f[v++],C=f[v++],k=i,I=r,i=f[v++],x(k,I,i,r=f[v++],T,C,S,A,M,d=l.A,n);break;case"a":S=f[v++],A=f[v++],M=f[v++],T=f[v++],C=f[v++],k=i,I=r,i+=f[v++],x(k,I,i,r+=f[v++],T,C,S,A,M,d=l.A,n)}}("z"===p||"Z"===p)&&(d=l.Z,n.addData(d),i=a,r=s),e=d}return n.toStatic(),n}(t),i=(0,p.extend)({},e);return i.buildPath=function(t){var e=A(t);if(e&&t.canSave()){t.appendPath(n);var i=t.getContext();i&&t.rebuildPath(i,1)}else{var i=e?t.getContext():t;i&&n.rebuildPath(i,1)}},i.applyTransform=function(t){h(n,t),this.dirtyShape()},i}function T(t,e){return new S(M(t,e))}function C(t,e){var n=M(t,e),r=S;function o(t){var e=r.call(this,t)||this;return e.applyTransform=n.applyTransform,e.buildPath=n.buildPath,e}return(0,i.C6)(o,r),o}function k(t,e){for(var n=[],i=t.length,o=0;o<i;o++){var a=t[o];n.push(a.getUpdatedPathProxy(!0))}var s=new r.Ay(e);return s.createPathProxy(),s.buildPath=function(t){if(A(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},s}function I(t,e){e=e||{};var n=new r.Ay;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?h(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}},L5(t,e,n){n.r(e),n.d(e,{dispose:()=>ta,disposeAll:()=>ts,getElementSSRData:()=>tc,getInstance:()=>tl,init:()=>to,registerPainter:()=>tu,registerSSRDataGetter:()=>th,version:()=>tp});var i,r,o,a,s=n("E3"),l=n("iY"),u=n("SJG"),c=n("xy"),h=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},p=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new h(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new h(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new h(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new h(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new h(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new h(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),d=n("jp"),f=n("lX"),g=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=f.Yo(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in v)if(v.hasOwnProperty(e)){var n=v[e](this._track,t);if(n)return n}},t}();function y(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var v={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var o=y(i)/y(r);isFinite(o)||(o=1),e.pinchScale=o;var a=[(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},m=n("Y8"),_="silent";function x(){f.ds(this.event)}var b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,u.C6)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(d.A),w=function(t,e){this.x=t,this.y=e},S=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],A=new m.Ay(0,0,0,0),M=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new w(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new b,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new p(a),a}return(0,u.C6)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(l.each(S,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,n=t.zrY,i=C(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new w(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"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 w(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.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,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r,o="on"+e,a={type:e,event:n,target:(r=t).target,topTarget:r.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:x};i&&(i[o]&&(a.cancelBubble=!!i[o].call(i,a)),i.trigger(e,a),i=i.__hostTarget?i.__hostTarget:i.parent,!a.cancelBubble););!a.cancelBubble&&(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new w(t,e);if(T(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new m.Ay(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var c=i[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(A.copy(c.getBoundingRect()),c.transform&&A.applyTransform(c.transform),A.intersect(l)&&o.push(c))}if(o.length){for(var h=Math.PI/12,p=2*Math.PI,d=0;d<s;d+=4)for(var f=0;f<p;f+=h)if(T(o,r,t+d*Math.cos(f),e+d*Math.sin(f),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new g);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new w;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(d.A);function T(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s?i.ignoreHostSilent?null:s:i.parent}return!r||_}return!1}(a,n,i))&&(e.topTarget||(e.topTarget=a),s!==_)){e.target=a;break}}}function C(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}l.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){M.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=C(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||c.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var k=n("Ly"),I=n("ke"),D=!1;function O(){D||(D=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function L(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var P=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=L}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,(0,k.A)(n,L)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath(),r=e&&e.length,o=0,a=t.__clipPaths;if(!t.ignoreClip&&(r||i)){if(a||(a=t.__clipPaths=[]),r)for(var s=0;s<e.length;s++)a[o++]=e[s];for(var l=i,u=t;l;)l.parent=u,l.updateTransform(),a[o++]=l,u=l,l=l.getClipPath()}if(a&&(a.length=o),t.childrenRef){for(var c=t.childrenRef(),h=0;h<c.length;h++){var p=c[h];t.__dirty&&(p.__dirty|=I.M),this._updateAndAddDisplayable(p,a,n)}t.__dirty=0}else isNaN(t.z)&&(O(),t.z=0),isNaN(t.z2)&&(O(),t.z2=0),isNaN(t.zlevel)&&(O(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,a,n);var f=t.getTextGuideLine();f&&this._updateAndAddDisplayable(f,a,n);var g=t.getTextContent();g&&this._updateAndAddDisplayable(g,a,n)}},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,n=t.length;e<n;e++)this.delRoot(t[e]);return}var i=l.indexOf(this._roots,t);i>=0&&this._roots.splice(i,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}(),R=n("JV"),B=n("oi");function z(){return new Date().getTime()}var N=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,n.stage=(e=e||{}).stage||{},n}return(0,u.C6)(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,n=t.next;e?e.next=n:this._head=n,n?n.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){for(var e=z()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)&&(i.ondestroy(),this.removeClip(i)),i=r}this._time=e,!t&&(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,R.A)(function e(){t._running&&((0,R.A)(e),t._paused||t.update())})},e.prototype.start=function(){this._running||(this._time=z(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=z(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=z()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;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 n=new B.A(t,e.loop);return this.addAnimator(n),n},e}(d.A),E=s.A.domSupported,V=(i=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=l.map(i,function(t){var e=t.replace("mouse","pointer");return r.hasOwnProperty(e)?e:t}),{mouse:i,touch:["touchstart","touchend","touchmove"],pointer:o}),F=["mousemove","mouseup"],Y=["pointermove","pointerup"],H=!1;function W(t){var e=t.pointerType;return"pen"===e||"touch"===e}function G(t){t&&(t.zrByTouch=!0)}function Z(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var U=function(t,e){this.stopPropagation=l.noop,this.stopImmediatePropagation=l.noop,this.preventDefault=l.noop,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},X={mousedown:function(t){t=(0,f.e0)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,f.e0)(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,f.e0)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Z(this,(t=(0,f.e0)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){H=!0,t=(0,f.e0)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){H||(t=(0,f.e0)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){G(t=(0,f.e0)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),X.mousemove.call(this,t),X.mousedown.call(this,t)},touchmove:function(t){G(t=(0,f.e0)(this.dom,t)),this.handler.processGesture(t,"change"),X.mousemove.call(this,t)},touchend:function(t){G(t=(0,f.e0)(this.dom,t)),this.handler.processGesture(t,"end"),X.mouseup.call(this,t),new Date-this.__lastTouchMoment<300&&X.click.call(this,t)},pointerdown:function(t){X.mousedown.call(this,t)},pointermove:function(t){W(t)||X.mousemove.call(this,t)},pointerup:function(t){X.mouseup.call(this,t)},pointerout:function(t){W(t)||X.mouseout.call(this,t)}};l.each(["click","dblclick","contextmenu"],function(t){X[t]=function(e){e=(0,f.e0)(this.dom,e),this.trigger(t,e)}});var j={pointermove:function(t){W(t)||j.mousemove.call(this,t)},pointerup:function(t){j.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function q(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,(0,f.q2)(t.domTarget,e,n,i)}function $(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,f.f)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var Q=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},J=function(t){function e(e,n){var i,r,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=n,o._localHandlerScope=new Q(e,X),E&&(o._globalHandlerScope=new Q(document,j)),r=(i=o._localHandlerScope).domHandlers,s.A.pointerEventsSupported?l.each(V.pointer,function(t){q(i,t,function(e){r[t].call(o,e)})}):(s.A.touchEventsSupported&&l.each(V.touch,function(t){q(i,t,function(e){r[t].call(o,e),i.touching=!0,null!=i.touchTimer&&(clearTimeout(i.touchTimer),i.touchTimer=null),i.touchTimer=setTimeout(function(){i.touching=!1,i.touchTimer=null},700)})}),l.each(V.mouse,function(t){q(i,t,function(e){e=(0,f.mK)(e),i.touching||r[t].call(o,e)})})),o}return(0,u.C6)(e,t),e.prototype.dispose=function(){$(this._localHandlerScope),E&&$(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,E&&this.__pointerCapturing^t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){s.A.pointerEventsSupported?l.each(Y,n):s.A.touchEventsSupported||l.each(F,n);function n(n){q(e,n,function(i){if(!Z(t,(i=(0,f.mK)(i)).target)){var r;r=i,i=(0,f.e0)(t.dom,new U(t,r),!0),e.domHandlers[n].call(t,i)}},{capture:!0})}}(this,e):$(e)}},e}(d.A),K=n("x4z"),tt=n("Yo"),te=n("jZ"),tn={},ti={},tr=function(){function t(t,e,n){var i,r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!1,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new P,a=n.renderer||"canvas";tn[a]||(a=l.keys(tn)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var u=new tn[a](e,o,n,t),c=n.ssr||u.ssrOnly;this.storage=o,this.painter=u;var h=s.A.node||s.A.worker||c?null:new J(u.getViewportRoot(),u.root),p=n.useCoarsePointer;(null==p||"auto"===p?s.A.touchEventsSupported:!!p)&&(i=l.retrieve2(n.pointerSize,44)),this.handler=new M(o,u,h,u.root,i),this.animation=new N({stage:{update:c?null:function(){return r._flush(!1)}}}),c||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return(0,K.lum)(t,1)<tt.ps;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=(0,K.lum)(e[r].color,1);return(n/=i)<tt.ps}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||this._refresh({animUpdate:!t,refresh:!0,refreshHover:!1})},t.prototype._refresh=function(t){t.animUpdate&&this.animation.update(!0),this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh({refresh:t.refresh,refreshHover:t.refreshHover}),this._needsRefresh=this._needsRefreshHover=!1},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!0)},t.prototype._flush=function(t){var e,n=z(),i=this._needsRefresh,r=this._needsRefreshHover;(i||r)&&(e=!0,this._refresh({animUpdate:t,refresh:i,refreshHover:r}));var o=z();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:o-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||this._refresh({animUpdate:!1,refresh:!1,refreshHover:!0})},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof te.A&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){if(!this._disposed){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete ti[t]}},t}();function to(t,e){var n=new tr(l.guid(),t,e);return ti[n.id]=n,n}function ta(t){t.dispose()}function ts(){for(var t in ti)ti.hasOwnProperty(t)&&ti[t].dispose();ti={}}function tl(t){return ti[t]}function tu(t,e){tn[t]=e}function tc(t){if("function"==typeof a)return a(t)}function th(t){a=t}var tp="6.1.0"}}]);