diff --git a/demo/dist/bundle.js b/demo/dist/bundle.js index a6c3ff8..00eaad8 100644 --- a/demo/dist/bundle.js +++ b/demo/dist/bundle.js @@ -1,4 +1,4 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(1),i=r(a),o=n(31),s=r(o),l=n(169),u=n(232),c=r(u),h=n(661),d=r(h);n(682),s.default.render(i.default.createElement(l.Router,{history:l.hashHistory},i.default.createElement(l.Route,{path:"/",component:c.default},i.default.createElement(l.Route,{path:"/echarts/:type",component:d.default}))),document.querySelector("#wrapper"))},function(e,t,n){"use strict";e.exports=n(2)},function(e,t,n){"use strict";var r=n(3),a=n(4),i=n(17),o=n(20),s=n(21),l=n(23),u=n(8),c=n(24),h=n(29),d=n(30),p=(n(10),u.createElement),f=u.createFactory,g=u.cloneElement,m=r,v={Children:{map:a.map,forEach:a.forEach,count:a.count,toArray:a.toArray,only:d},Component:i,PureComponent:o,createElement:p,cloneElement:g,isValidElement:u.isValidElement,PropTypes:c,createClass:s.createClass,createFactory:f,createMixin:function(e){return e},DOM:l,version:h,__spread:m};e.exports=v},function(e,t){/* +!function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var a=n(1),i=r(a),o=n(31),s=r(o),l=n(169),u=n(232),c=r(u),h=n(668),d=r(h);n(689),s.default.render(i.default.createElement(l.Router,{history:l.hashHistory},i.default.createElement(l.Route,{path:"/",component:c.default},i.default.createElement(l.Route,{path:"/echarts/:type",component:d.default}))),document.querySelector("#wrapper"))},function(e,t,n){"use strict";e.exports=n(2)},function(e,t,n){"use strict";var r=n(3),a=n(4),i=n(17),o=n(20),s=n(21),l=n(23),u=n(8),c=n(24),h=n(29),d=n(30),p=(n(10),u.createElement),f=u.createFactory,g=u.cloneElement,m=r,v={Children:{map:a.map,forEach:a.forEach,count:a.count,toArray:a.toArray,only:d},Component:i,PureComponent:o,createElement:p,cloneElement:g,isValidElement:u.isValidElement,PropTypes:c,createClass:s.createClass,createFactory:f,createMixin:function(e){return e},DOM:l,version:h,__spread:m};e.exports=v},function(e,t){/* object-assign (c) Sindre Sorhus @license MIT @@ -22,7 +22,7 @@ function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;va delete o.animationiteration.animation,delete o.animationstart.animation),"TransitionEvent"in window||delete o.transitionend.transition),e.exports=a},function(e,t,n){"use strict";function r(){this._rootNodeID&&d.updateWrapper(this)}function a(e){var t="checkbox"===e.type||"radio"===e.type;return t?null!=e.checked:null!=e.value}function i(e){var t=this._currentElement.props,n=u.executeOnChange(t,e);h.asap(r,this);var a=t.name;if("radio"===t.type&&null!=a){for(var i=c.getNodeFromInstance(this),s=i;s.parentNode;)s=s.parentNode;for(var l=s.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),d=0;d1)for(var n=1;n0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);if(!n){return null}return n}var o=n(34),s=(n(9),n(110)),l=(n(61),n(55)),u=(n(7),n(10),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){u.validateCallback(t,n);var a=i(e);return a?(a._pendingCallbacks?a._pendingCallbacks.push(t):a._pendingCallbacks=[t],void r(a)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t,n){var a=i(e,"replaceState");a&&(a._pendingStateQueue=[t],a._pendingReplaceState=!0,void 0!==n&&null!==n&&(u.validateCallback(n,"replaceState"),a._pendingCallbacks?a._pendingCallbacks.push(n):a._pendingCallbacks=[n]),r(a))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var a=n._pendingStateQueue||(n._pendingStateQueue=[]);a.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?o("122",t,a(e)):void 0}});e.exports=u},function(e,t,n){"use strict";var r=(n(3),n(11)),a=(n(10),r);e.exports=a},function(e,t,n){"use strict";var r=n(3),a=n(75),i=n(33),o=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(o.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++;this._domID=o,this._hostParent=t,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(e.useCreateElement){var l=n._ownerDocument,u=l.createComment(s); return i.precacheNode(this,u),a(u)}return e.renderToStaticMarkup?"":""},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),e.exports=o},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:l("33"),"_hostNode"in t?void 0:l("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var a=0,i=t;i;i=i._hostParent)a++;for(;n-a>0;)e=e._hostParent,n--;for(;a-n>0;)t=t._hostParent,a--;for(var o=n;o--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function a(e,t){"_hostNode"in e?void 0:l("35"),"_hostNode"in t?void 0:l("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e?void 0:l("36"),e._hostParent}function o(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var a;for(a=r.length;a-- >0;)t(r[a],"captured",n);for(a=0;a0;)n(l[u],"captured",i)}var l=n(34);n(7);e.exports={isAncestor:a,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:o,traverseEnterLeave:s}},function(e,t,n){"use strict";var r=n(34),a=n(3),i=n(74),o=n(75),s=n(33),l=n(80),u=(n(7),n(130),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});a(u.prototype,{mountComponent:function(e,t,n,r){var a=n._idCounter++,i=" react-text: "+a+" ",u=" /react-text ";if(this._domID=a,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,h=c.createComment(i),d=c.createComment(u),p=o(c.createDocumentFragment());return o.queueChild(p,o(h)),this._stringText&&o.queueChild(p,o(c.createTextNode(this._stringText))),o.queueChild(p,o(d)),s.precacheNode(this,h),this._closingComment=d,p}var f=l(this._stringText);return e.renderToStaticMarkup?f:""+f+""},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=u},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var a=n(3),i=n(55),o=n(62),s=n(11),l={initialize:s,close:function(){d.isBatchingUpdates=!1}},u={initialize:s,close:i.flushBatchedUpdates.bind(i)},c=[u,l];a(r.prototype,o,{getTransactionWrappers:function(){return c}});var h=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,a,i){var o=d.isBatchingUpdates;return d.isBatchingUpdates=!0,o?e(t,n,r,a,i):h.perform(e,null,t,n,r,a,i)}};e.exports=d},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=h.getNodeFromInstance(e),n=t.parentNode;return h.getClosestInstanceFromNode(n)}function a(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=p(e.nativeEvent),n=h.getClosestInstanceFromNode(t),a=n;do e.ancestors.push(a),a=a&&r(a);while(a);for(var i=0;it.end?(n=t.end,r=t.start):(n=t.start,r=t.end),a.moveToElementText(e),a.moveStart("character",n),a.setEndPoint("EndToStart",a),a.moveEnd("character",r-n),a.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,a=Math.min(t.start,r),i=void 0===t.end?a:Math.min(t.end,r);if(!n.extend&&a>i){var o=i;i=a,a=o}var s=u(e,a),l=u(e,i);if(s&&l){var h=document.createRange();h.setStart(s.node,s.offset),n.removeAllRanges(),a>i?(n.addRange(h),n.extend(l.node,l.offset)):(h.setEnd(l.node,l.offset),n.addRange(h))}}}var l=n(47),u=n(142),c=n(50),h=l.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:h?a:i,setOffsets:h?o:s};e.exports=d},function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function a(e,t){for(var a=n(e),i=0,o=0;a;){if(3===a.nodeType){if(o=i+a.textContent.length,i<=t&&o>=t)return{node:a,offset:t-i};i=o}a=n(r(a))}}e.exports=a},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!a(e)&&(a(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var a=n(144);e.exports=r},function(e,t,n){"use strict";function r(e){return a(e)&&3==e.nodeType}var a=n(145);e.exports=r},function(e,t){"use strict";function n(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t){"use strict";function n(e){if(e=e||("undefined"!=typeof document?document:void 0),"undefined"==typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=n},function(e,t){"use strict";var n={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},a={Properties:{},DOMAttributeNamespaces:{xlinkActuate:n.xlink,xlinkArcrole:n.xlink,xlinkHref:n.xlink,xlinkRole:n.xlink,xlinkShow:n.xlink,xlinkTitle:n.xlink,xlinkType:n.xlink,xmlBase:n.xml,xmlLang:n.xml,xmlSpace:n.xml},DOMAttributeNames:{}};Object.keys(r).forEach(function(e){a.Properties[e]=0,r[e]&&(a.DOMAttributeNames[e]=r[e])}),e.exports=a},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&l.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function a(e,t){if(y||null==g||g!==c())return null;var n=r(g);if(!v||!d(v,n)){v=n;var a=u.getPooled(f.select,m,e,t);return a.type="select",a.target=g,i.accumulateTwoPhaseDispatches(a),a}return null}var i=n(40),o=n(47),s=n(33),l=n(140),u=n(52),c=n(146),h=n(65),d=n(116),p=o.canUseDOM&&"documentMode"in document&&document.documentMode<=11,f={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},g=null,m=null,v=null,y=!1,x=!1,_={eventTypes:f,extractEvents:function(e,t,n,r){if(!x)return null;var i=t?s.getNodeFromInstance(t):window;switch(e){case"topFocus":(h(i)||"true"===i.contentEditable)&&(g=i,m=t,v=null);break;case"topBlur":g=null,m=null,v=null;break;case"topMouseDown":y=!0;break;case"topContextMenu":case"topMouseUp":return y=!1,a(n,r);case"topSelectionChange":if(p)break;case"topKeyDown":case"topKeyUp":return a(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(x=!0)}};e.exports=_},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function a(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(34),o=n(136),s=n(40),l=n(33),u=n(150),c=n(151),h=n(52),d=n(152),p=n(153),f=n(68),g=n(156),m=n(157),v=n(158),y=n(69),x=n(159),_=n(11),b=n(154),w=(n(7),{}),S={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,a={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};w[e]=a,S[r]=a});var M={},C={eventTypes:w,extractEvents:function(e,t,n,r){var a=S[e];if(!a)return null;var o;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":o=h;break;case"topKeyPress":if(0===b(n))return null;case"topKeyDown":case"topKeyUp":o=p;break;case"topBlur":case"topFocus":o=d;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":o=f;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":o=g;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":o=m;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":o=u;break;case"topTransitionEnd":o=v;break;case"topScroll":o=y;break;case"topWheel":o=x;break;case"topCopy":case"topCut":case"topPaste":o=c}o?void 0:i("86",e);var l=o.getPooled(a,t,n,r);return s.accumulateTwoPhaseDispatches(l),l},didPutListener:function(e,t,n){if("onClick"===t&&!a(e._tag)){var i=r(e),s=l.getNodeFromInstance(e);M[i]||(M[i]=o.listen(s,"click",_))}},willDeleteListener:function(e,t){if("onClick"===t&&!a(e._tag)){var n=r(e);M[n].remove(),delete M[n]}}};e.exports=C},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(52),i={animationName:null,elapsedTime:null,pseudoElement:null};a.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(52),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};a.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(69),i={relatedTarget:null};a.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(69),i=n(154),o=n(155),s=n(71),l={key:o,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};a.augmentClass(r,l),e.exports=r},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=a(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?o[e.keyCode]||"Unidentified":""}var a=n(154),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},o={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(68),i={dataTransfer:null};a.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(69),i=n(71),o={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};a.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(52),i={propertyName:null,elapsedTime:null,pseudoElement:null};a.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(68),i={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};a.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var o,s=m.createElement(z,{child:t});if(e){var l=w.get(e);o=l._processChildContext(l._context)}else o=A;var c=d(n);if(c){var h=c._currentElement,f=h.props.child;if(P(f,t)){var g=c._renderedComponent.getPublicInstance(),v=r&&function(){r.call(g)};return B._updateRootComponent(c,s,o,n,v),g}B.unmountComponentAtNode(n)}var y=a(n),x=y&&!!i(y),_=u(n),b=x&&!c&&!_,S=B._renderNewRootComponent(s,n,b,o)._renderedComponent.getPublicInstance();return r&&r.call(S),S},render:function(e,t,n){return B._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)?void 0:p("40");var t=d(e);if(!t){u(e),1===e.nodeType&&e.hasAttribute(D);return!1}return delete N[t._instance.rootID],T.batchedUpdates(l,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,i,o){if(c(t)?void 0:p("41"),i){var s=a(t);if(S.canReuseMarkup(e,s))return void y.precacheNode(n,s);var l=s.getAttribute(S.CHECKSUM_ATTR_NAME);s.removeAttribute(S.CHECKSUM_ATTR_NAME);var u=s.outerHTML;s.setAttribute(S.CHECKSUM_ATTR_NAME,l);var h=e,d=r(h,u),g=" (client) "+h.substring(d-20,d+20)+"\n (server) "+u.substring(d-20,d+20);t.nodeType===O?p("42",g):void 0}if(t.nodeType===O?p("43"):void 0,o.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);f.insertTreeBefore(t,e,null)}else E(t,e),y.precacheNode(n,t.firstChild)}};e.exports=B},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===a?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var a=(n(130),9);e.exports=r},function(e,t){"use strict";var n={useCreateElement:!0,useFiber:!1};e.exports=n},function(e,t,n){"use strict";var r=n(164),a=/\/?>/,i=/^<\!\-\-/,o={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(a," "+o.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(o.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var a=r(e);return a===n}};e.exports=o},function(e,t){"use strict";function n(e){for(var t=1,n=0,a=0,i=e.length,o=i&-4;a2?n-2:0),a=2;a should not have a "'+t+'" prop')}t.__esModule=!0,t.routes=t.route=t.components=t.component=t.history=void 0,t.falsy=r;var a=n(1),i=a.PropTypes.func,o=a.PropTypes.object,s=a.PropTypes.arrayOf,l=a.PropTypes.oneOfType,u=a.PropTypes.element,c=a.PropTypes.shape,h=a.PropTypes.string,d=(t.history=c({listen:i.isRequired,push:i.isRequired,replace:i.isRequired,go:i.isRequired,goBack:i.isRequired,goForward:i.isRequired}),t.component=l([i,h])),p=(t.components=l([d,o]),t.route=l([o,u]));t.routes=l([p,s(p)])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function i(e){for(var t="",n=[],r=[],i=void 0,o=0,s=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*\*|\*|\(|\)/g;i=s.exec(e);)i.index!==o&&(r.push(e.slice(o,i.index)),t+=a(e.slice(o,i.index))),i[1]?(t+="([^/]+)",n.push(i[1])):"**"===i[0]?(t+="(.*)",n.push("splat")):"*"===i[0]?(t+="(.*?)",n.push("splat")):"("===i[0]?t+="(?:":")"===i[0]&&(t+=")?"),r.push(i[0]),o=s.lastIndex;return o!==e.length&&(r.push(e.slice(o,e.length)),t+=a(e.slice(o,e.length))),{pattern:e,regexpSource:t,paramNames:n,tokens:r}}function o(e){return p[e]||(p[e]=i(e)),p[e]}function s(e,t){"/"!==e.charAt(0)&&(e="/"+e);var n=o(e),r=n.regexpSource,a=n.paramNames,i=n.tokens;"/"!==e.charAt(e.length-1)&&(r+="/?"),"*"===i[i.length-1]&&(r+="$");var s=t.match(new RegExp("^"+r,"i"));if(null==s)return null;var l=s[0],u=t.substr(l.length);if(u){if("/"!==l.charAt(l.length-1))return null;u="/"+u}return{remainingPathname:u,paramNames:a,paramValues:s.slice(1).map(function(e){return e&&decodeURIComponent(e)})}}function l(e){return o(e).paramNames}function u(e,t){var n=s(e,t);if(!n)return null;var r=n.paramNames,a=n.paramValues,i={};return r.forEach(function(e,t){i[e]=a[t]}),i}function c(e,t){t=t||{};for(var n=o(e),r=n.tokens,a=0,i="",s=0,l=void 0,u=void 0,c=void 0,h=0,p=r.length;h0?void 0:(0,d.default)(!1),null!=c&&(i+=encodeURI(c))):"("===l?a+=1:")"===l?a-=1:":"===l.charAt(0)?(u=l.substring(1),c=t[u],null!=c||a>0?void 0:(0,d.default)(!1),null!=c&&(i+=encodeURIComponent(c))):i+=l;return i.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=o,t.matchPattern=s,t.getParamNames=l,t.getParams=u,t.formatPattern=c;var h=n(177),d=r(h),p=Object.create(null)},function(e,t,n){"use strict";var r=function(e,t,n,r,a,i,o,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,i,o,s],c=0;l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return!e||!e.__v2_compatible__}function o(e){return e&&e.getCurrentLocation}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t=0&&0===window.sessionStorage.length)return;throw e}}function o(e){var t=void 0;try{t=window.sessionStorage.getItem(a(e))}catch(e){if(e.name===c)return null}if(t)try{return JSON.parse(t)}catch(e){}return null}t.__esModule=!0,t.saveState=i,t.readState=o;var s=n(180),l=(r(s),"@@History/"),u=["QuotaExceededError","QUOTA_EXCEEDED_ERR"],c="SecurityError"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){function t(e){return l.canUseDOM?void 0:s.default(!1),n.listen(e)}var n=h.default(i({getUserConfirmation:u.getUserConfirmation},e,{go:u.go}));return i({},n,{listen:t})}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t0&&"number"!=typeof e[0]))}function i(e,t,n){var i,c;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(l(e))return!!l(t)&&(e=o.call(e),t=o.call(t),u(e,t,n));if(a(e)){if(!a(t))return!1;if(e.length!==t.length)return!1;for(i=0;i=0;i--)if(h[i]!=d[i])return!1;for(i=h.length-1;i>=0;i--)if(c=h[i],!u(e[c],t[c],n))return!1;return typeof e==typeof t}var o=Array.prototype.slice,s=n(189),l=n(190),u=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:i(e,t,n))}},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"==typeof Object.keys?Object.keys:n,t.shim=n},function(e,t){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var a="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();t=e.exports=a?n:r,t.supported=n,t.unsupported=r},function(e,t){"use strict";function n(e,t,n){function a(){return s=!0,l?void(c=[].concat(r.call(arguments))):void n.apply(this,arguments)}function i(){if(!s&&(u=!0,!l)){for(l=!0;!s&&o=e&&u&&(s=!0,n()))}}var o=0,s=!1,l=!1,u=!1,c=void 0;i()}t.__esModule=!0;var r=Array.prototype.slice;t.loopAsync=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(){var e=arguments.length<=0||void 0===arguments[0]?"/":arguments[0],t=arguments.length<=1||void 0===arguments[1]?s.POP:arguments[1],n=arguments.length<=2||void 0===arguments[2]?null:arguments[2],r=arguments.length<=3||void 0===arguments[3]?null:arguments[3];"string"==typeof e&&(e=l.parsePath(e)),"object"==typeof t&&(e=i({},e,{state:t}),t=n||s.POP,n=r);var a=e.pathname||"/",o=e.search||"",u=e.hash||"",c=e.state||null;return{pathname:a,search:o,hash:u,state:c,action:t,key:n}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t1?r-1:0),i=1;i=e&&l&&(o=!0,n()))}}var i=0,o=!1,s=!1,l=!1,u=void 0;a()}function r(e,t,n){function r(e,t,r){o||(t?(o=!0,n(t)):(i[e]=r,o=++s===a,o&&n(null,i)))}var a=e.length,i=[];if(0===a)return n(null,i);var o=!1,s=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},function(e,t,n){"use strict";function r(e,t){if(e==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});if("object"===("undefined"==typeof e?"undefined":l(e))){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))if(void 0===e[n]){if(void 0!==t[n])return!1}else{if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!r(e[n],t[n]))return!1}return!0}return String(e)===String(t)}function a(e,t){return"/"!==t.charAt(0)&&(t="/"+t),"/"!==e.charAt(e.length-1)&&(e+="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t===e}function i(e,t,n){for(var r=e,a=[],i=[],o=0,s=t.length;o=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return 0===e.button}function o(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function l(e,t){var n=t.query,r=t.hash,a=t.state;return n||r||a?{pathname:e,query:n,hash:r,state:a}:e}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t=0;r--){var a=e[r],i=a.path||"";if(n=i.replace(/\/*$/,"/")+n,0===i.indexOf("/"))break}return"/"+n}},propTypes:{path:d,from:d,to:d.isRequired,query:p,state:p,onEnter:c.falsy,children:c.falsy},render:function(){(0,s.default)(!1)}});t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n(1),i=r(a),o=n(173),s=(r(o),n(177)),l=r(s),u=n(170),c=n(175),h=i.default.PropTypes.func,d=i.default.createClass({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=(0,u.createRouteFromReactElement)(e))}},propTypes:{path:c.falsy,component:c.component,components:c.components,getComponent:h,getComponents:h},render:function(){(0,l.default)(!1)}});t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n(1),i=r(a),o=n(177),s=r(o),l=n(170),u=n(175),c=i.default.PropTypes,h=c.string,d=c.func,p=i.default.createClass({displayName:"Route",statics:{createRouteFromReactElement:l.createRouteFromReactElement},propTypes:{path:h,component:u.component,components:u.components,getComponent:d,getComponents:d},render:function(){(0,s.default)(!1)}});t.default=p,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n(173),i=(r(a),n(175)),o={contextTypes:{history:i.history},componentWillMount:function(){this.history=this.context.history}};t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n(173),i=(r(a),n(1)),o=r(i),s=n(177),l=r(s),u=o.default.PropTypes.object,c={contextTypes:{history:u.isRequired,route:u},propTypes:{route:u},componentDidMount:function(){this.routerWillLeave?void 0:(0,l.default)(!1);var e=this.props.route||this.context.route;e?void 0:(0,l.default)(!1),this._unlistenBeforeLeavingRoute=this.context.history.listenBeforeLeavingRoute(e,this.routerWillLeave)},componentWillUnmount:function(){this._unlistenBeforeLeavingRoute&&this._unlistenBeforeLeavingRoute()}};t.default=c,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n(173),i=(r(a),n(1)),o=r(i),s=o.default.PropTypes.object,l={propTypes:{route:s.isRequired},childContextTypes:{route:s.isRequired},getChildContext:function(){return{route:this.props.route}},componentWillMount:function(){}};t.default=l,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=t.routes,r=a(t,["routes"]),i=(0,l.default)(e)(r),s=(0,c.default)(i,n);return o({},i,s)}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=e.history,r=e.routes,i=e.location,l=a(e,["history","routes","location"]);n||i?void 0:(0,u.default)(!1),n=n?n:(0,h.default)(l);var c=(0,p.default)(n,(0,f.createRoutes)(r)),d=void 0;i?i=n.createLocation(i):d=n.listen(function(e){i=e});var m=(0,g.createRouterObject)(n,c);n=(0,g.createRoutingHistory)(n,c),c.match(i,function(e,r,a){t(e,r&&m.createLocation(r,s.REPLACE),a&&o({},a,{history:n,router:m,matchContext:{history:n,transitionManager:c,router:m}})),d&&d()})}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t1?t-1:0),i=1;i=0&&t=0&&mt.get("hoverLayerThreshold")&&!S.node&&n.traverse(function(e){e.isGroup||(e.useHoverLayer=!0)})}function x(e,t){var n=0;t.group.traverse(function(e){"group"===e.type||e.ignore||n++});var r=+e.get("progressive"),a=n>e.get("progressiveThreshold")&&r&&!S.node;a&&t.group.traverse(function(e){e.isGroup||(e.progressive=a?Math.floor(n++/r):-1,a&&e.stopAnimation(!0))});var i=e.get("blendMode")||null;__DEV__&&!S.canvasSupported&&i&&"source-over"!==i&&console.warn("Only canvas support blendMode"),t.group.traverse(function(e){e.isGroup||e.setStyle("blend",i)})}function _(e,t){var n=e.get("z"),r=e.get("zlevel");t.group.traverse(function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=r&&(e.zlevel=r))})}function b(e){var t=e._coordSysMgr;return N.extend(new C(e),{getCoordinateSystems:N.bind(t.getCoordinateSystems,t),getComponentByElement:function(t){for(;t;){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}}})}function w(e){function t(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return 0===e.button}function o(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function l(e,t){var n=t.query,r=t.hash,a=t.state;return n||r||a?{pathname:e,query:n,hash:r,state:a}:e}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t=0;r--){var a=e[r],i=a.path||"";if(n=i.replace(/\/*$/,"/")+n,0===i.indexOf("/"))break}return"/"+n}},propTypes:{path:d,from:d,to:d.isRequired,query:p,state:p,onEnter:c.falsy,children:c.falsy},render:function(){(0,s.default)(!1)}});t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n(1),i=r(a),o=n(173),s=(r(o),n(177)),l=r(s),u=n(170),c=n(175),h=i.default.PropTypes.func,d=i.default.createClass({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=(0,u.createRouteFromReactElement)(e))}},propTypes:{path:c.falsy,component:c.component,components:c.components,getComponent:h,getComponents:h},render:function(){(0,l.default)(!1)}});t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n(1),i=r(a),o=n(177),s=r(o),l=n(170),u=n(175),c=i.default.PropTypes,h=c.string,d=c.func,p=i.default.createClass({displayName:"Route",statics:{createRouteFromReactElement:l.createRouteFromReactElement},propTypes:{path:h,component:u.component,components:u.components,getComponent:d,getComponents:d},render:function(){(0,s.default)(!1)}});t.default=p,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n(173),i=(r(a),n(175)),o={contextTypes:{history:i.history},componentWillMount:function(){this.history=this.context.history}};t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n(173),i=(r(a),n(1)),o=r(i),s=n(177),l=r(s),u=o.default.PropTypes.object,c={contextTypes:{history:u.isRequired,route:u},propTypes:{route:u},componentDidMount:function(){this.routerWillLeave?void 0:(0,l.default)(!1);var e=this.props.route||this.context.route;e?void 0:(0,l.default)(!1),this._unlistenBeforeLeavingRoute=this.context.history.listenBeforeLeavingRoute(e,this.routerWillLeave)},componentWillUnmount:function(){this._unlistenBeforeLeavingRoute&&this._unlistenBeforeLeavingRoute()}};t.default=c,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n(173),i=(r(a),n(1)),o=r(i),s=o.default.PropTypes.object,l={propTypes:{route:s.isRequired},childContextTypes:{route:s.isRequired},getChildContext:function(){return{route:this.props.route}},componentWillMount:function(){}};t.default=l,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=t.routes,r=a(t,["routes"]),i=(0,l.default)(e)(r),s=(0,c.default)(i,n);return o({},i,s)}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=e.history,r=e.routes,i=e.location,l=a(e,["history","routes","location"]);n||i?void 0:(0,u.default)(!1),n=n?n:(0,h.default)(l);var c=(0,p.default)(n,(0,f.createRoutes)(r)),d=void 0;i?i=n.createLocation(i):d=n.listen(function(e){i=e});var m=(0,g.createRouterObject)(n,c);n=(0,g.createRoutingHistory)(n,c),c.match(i,function(e,r,a){t(e,r&&m.createLocation(r,s.REPLACE),a&&o({},a,{history:n,router:m,matchContext:{history:n,transitionManager:c,router:m}})),d&&d()})}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t1?t-1:0),i=1;i=0&&t=0&&mt.get("hoverLayerThreshold")&&!S.node&&n.traverse(function(e){e.isGroup||(e.useHoverLayer=!0)})}function x(e,t){var n=0;t.group.traverse(function(e){"group"===e.type||e.ignore||n++});var r=+e.get("progressive"),a=n>e.get("progressiveThreshold")&&r&&!S.node;a&&t.group.traverse(function(e){e.isGroup||(e.progressive=a?Math.floor(n++/r):-1,a&&e.stopAnimation(!0))});var i=e.get("blendMode")||null;__DEV__&&!S.canvasSupported&&i&&"source-over"!==i&&console.warn("Only canvas support blendMode"),t.group.traverse(function(e){e.isGroup||e.setStyle("blend",i)})}function _(e,t){var n=e.get("z"),r=e.get("zlevel");t.group.traverse(function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=r&&(e.zlevel=r))})}function b(e){var t=e._coordSysMgr;return N.extend(new C(e),{getCoordinateSystems:N.bind(t.getCoordinateSystems,t),getComponentByElement:function(t){for(;t;){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}}})}function w(e){function t(e,t){for(var n=0;n=0&&N.each(e,function(e){var a=e.coordinateSystem;if(a&&a.containPoint)n|=!!a.containPoint(t);else if("seriesModels"===r){var i=this._chartsMap[e.__viewId];i&&i.containPoint?n|=i.containPoint(t,e):__DEV__&&console.warn(r+": "+(i?"The found component do not support containPoint.":"No view mapping to the found component."))}else __DEV__&&console.warn(r+": containPoint is not supported")},this)},this),!!n},$.getVisual=function(e,t){var n=this._model;e=k.parseFinder(n,e,{defaultMainType:"series"});var r=e.seriesModel;__DEV__&&(r||console.warn("There is no specified seires model"));var a=r.getData(),i=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?a.indexOfRawIndex(e.dataIndex):null;return null!=i?a.getItemVisual(i,t):a.getVisual(t)},$.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},$.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var ee={update:function(e){var t=this._model,n=this._api,r=this._coordSysMgr,a=this._zr;if(t){t.restoreData(),r.create(this._model,this._api),p.call(this,t,n),f.call(this,t),r.update(t,n),m.call(this,t,e),v.call(this,t,e);var i=t.get("backgroundColor")||"transparent",o=a.painter;if(o.isSingleCanvas&&o.isSingleCanvas())a.configLayer(0,{clearColor:i});else{if(!S.canvasSupported){var s=V.parse(i);i=V.stringify(s,"rgb"),0===s[3]&&(i="transparent")}i.colorStops||i.image?(a.configLayer(0,{clearColor:i}),this[K]=!0,this._dom.style.background="transparent"):(this[K]&&a.configLayer(0,{clearColor:null}),this[K]=!1,this._dom.style.background=i)}F(oe,function(e){e(t,n)})}},updateView:function(e){var t=this._model;t&&(t.eachSeries(function(e){e.getData().clearAllVisual()}),m.call(this,t,e),h.call(this,"updateView",t,e))},updateVisual:function(e){var t=this._model;t&&(t.eachSeries(function(e){e.getData().clearAllVisual()}),m.call(this,t,e,!0),h.call(this,"updateVisual",t,e))},updateLayout:function(e){var t=this._model;t&&(g.call(this,t,e),h.call(this,"updateLayout",t,e))},prepareAndUpdate:function(e){var t=this._model;d.call(this,"component",t),d.call(this,"chart",t),this.__lastOnlyGraphic?(F(this._componentsViews,function(n){var r=n.__model;r&&"graphic"===r.mainType&&(n.render(r,t,this._api,e),_(r,n))},this),this.__lastOnlyGraphic=!1):ee.update.call(this,e)}};$.resize=function(e){__DEV__&&N.assert(!this[X],"`resize` should not be called during main process."),this[X]=!0,this._zr.resize(e);var t=this._model&&this._model.resetOption("media"),n=t?"prepareAndUpdate":"update";ee[n].call(this),this._loadingFX&&this._loadingFX.resize(),this[X]=!1;var r=e&&e.silent;u.call(this,r),c.call(this,r)},$.showLoading=function(e,t){if(N.isObject(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),!ue[e])return void(__DEV__&&console.warn("Loading effects "+e+" not exists."));var n=ue[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)},$.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},$.makeActionFromEvent=function(e){var t=N.extend({},e);return t.type=re[e.type],t},$.dispatchAction=function(e,t){if(N.isObject(t)||(t={silent:!!t}),ne[e.type]){if(this[X])return void this._pendingActions.push(e);l.call(this,e,t.silent),t.flush?this._zr.flush(!0):t.flush!==!1&&S.browser.weChat&&this._throttledZrFlush(),u.call(this,t.silent),c.call(this,t.silent)}},$.on=r("on"),$.off=r("off"),$.one=r("one");var te=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];$._initEvents=function(){F(te,function(e){this._zr.on(e,function(t){var n,r=this.getModel(),a=t.target;if("globalout"===e)n={};else if(a&&null!=a.dataIndex){var i=a.dataModel||r.getSeriesByIndex(a.seriesIndex);n=i&&i.getDataParams(a.dataIndex,a.dataType)||{}}else a&&a.eventData&&(n=N.extend({},a.eventData));n&&(n.event=t,n.type=e,this.trigger(e,n))},this)},this),F(re,function(e,t){this._messageCenter.on(t,function(e){this.trigger(t,e)},this)},this)},$.isDisposed=function(){return this._disposed},$.clear=function(){this.setOption({series:[]},!0)},$.dispose=function(){if(this._disposed)return void(__DEV__&&console.warn("Instance "+this.id+" has been disposed"));this._disposed=!0;var e=this._api,t=this._model;F(this._componentsViews,function(n){n.dispose(t,e)}),F(this._chartsViews,function(n){n.dispose(t,e)}),this._zr.dispose(),delete ce[this.id]},N.mixin(i,z);var ne={},re={},ae=[],ie=[],oe=[],se=[],le={},ue={},ce={},he={},de=new Date-0,pe=new Date-0,fe="_echarts_instance_",ge={version:"3.5.4",dependencies:{zrender:"3.4.4"}};ge.init=function(e,t,n){if(__DEV__){if(R.version.replace(".","")-0=11)}}var r={};r="undefined"==typeof navigator?{browser:{},os:{},node:!0,canvasSupported:!0}:n(navigator.userAgent),e.exports=r},function(e,t,n){function r(e,t){c.each(t,function(t,n){x.hasClass(n)||("object"==typeof t?e[n]=e[n]?c.merge(e[n],t,!1):c.clone(t):null==e[n]&&(e[n]=t))})}function a(e){e=e,this.option={},this.option[b]=1,this._componentsMap={series:[]},this._seriesIndices=null,r(e,this._theme.option),c.merge(e,_,!1),this.mergeOption(e)}function i(e,t){c.isArray(t)||(t=t?[t]:[]);var n={};return p(t,function(t){n[t]=(e[t]||[]).slice()}),n}function o(e,t,n){var r=t.type?t.type:n?n.subType:x.determineSubType(e,t);return r}function s(e){return g(e,function(e){return e.componentIndex})||[]}function l(e,t){return t.hasOwnProperty("subType")?f(e,function(e){return e.subType===t.subType}):e}function u(e){if(__DEV__&&!e._seriesIndices)throw new Error("Series has not been initialized yet.")}var c=n(239),h=n(240),d=n(247),p=c.each,f=c.filter,g=c.map,m=c.isArray,v=c.indexOf,y=c.isObject,x=n(254),_=n(258),b="\0_ec_inner",w=d.extend({constructor:w,init:function(e,t,n,r){n=n||{},this.option=null,this._theme=new d(n),this._optionManager=r},setOption:function(e,t,n){c.assert(!(b in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null,n)},resetOption:function(e,t){var n=!1,r=this._optionManager;if(!e||"recreate"===e){var i=r.mountOption("recreate"===e);this.option&&"recreate"!==e?(!t&&this.restoreData(),this.mergeOption(i)):a.call(this,i),n=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var o=r.getTimelineOption(this);o&&(this.mergeOption(o),n=!0)}if(!e||"recreate"===e||"media"===e){var s=r.getMediaOption(this,this._api);s.length&&p(s,function(e){this.mergeOption(e,n=!0)},this)}return n},mergeOption:function(e){function t(t,a){var l=h.normalizeToArray(e[t]),u=h.mappingToExists(r[t],l);h.makeIdAndName(u),p(u,function(e,n){var r=e.option;y(r)&&(e.keyInfo.mainType=t,e.keyInfo.subType=o(t,r,e.exist))});var d=i(r,a);n[t]=[],r[t]=[],p(u,function(e,a){var i=e.exist,o=e.option;if(c.assert(y(o)||i,"Empty component definition"),o){var s=x.getClass(t,e.keyInfo.subType,!0);if(i&&i instanceof s)i.name=e.keyInfo.name,i.mergeOption(o,this),i.optionUpdated(o,!1);else{var l=c.extend({dependentModels:d,componentIndex:a},e.keyInfo);i=new s(o,this,this,l),c.extend(i,l),i.init(o,this,this,l),i.optionUpdated(null,!0)}}else i.mergeOption({},this),i.optionUpdated({},!1);r[t][a]=i,n[t][a]=i.option},this),"series"===t&&(this._seriesIndices=s(r.series))}var n=this.option,r=this._componentsMap,a=[];p(e,function(e,t){null!=e&&(x.hasClass(t)?a.push(t):n[t]=null==n[t]?c.clone(e):c.merge(n[t],e,!0))}),x.topologicalTravel(a,x.getAllClassMainTypes(),t,this),this._seriesIndices=this._seriesIndices||[]},getOption:function(){var e=c.clone(this.option);return p(e,function(t,n){if(x.hasClass(n)){for(var t=h.normalizeToArray(t),r=t.length-1;r>=0;r--)h.isIdInner(t[r])&&t.splice(r,1);e[n]=t}}),delete e[b],e},getTheme:function(){return this._theme},getComponent:function(e,t){var n=this._componentsMap[e];if(n)return n[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var n=e.index,r=e.id,a=e.name,i=this._componentsMap[t];if(!i||!i.length)return[];var o;if(null!=n)m(n)||(n=[n]),o=f(g(n,function(e){return i[e]}),function(e){return!!e});else if(null!=r){var s=m(r);o=f(i,function(e){return s&&v(r,e.id)>=0||!s&&e.id===r})}else if(null!=a){var u=m(a);o=f(i,function(e){return u&&v(a,e.name)>=0||!u&&e.name===a})}else o=i.slice();return l(o,e)},findComponents:function(e){function t(e){var t=a+"Index",n=a+"Id",r=a+"Name";return!e||null==e[t]&&null==e[n]&&null==e[r]?null:{mainType:a,index:e[t],id:e[n],name:e[r]}}function n(t){return e.filter?f(t,e.filter):t}var r=e.query,a=e.mainType,i=t(r),o=i?this.queryComponents(i):this._componentsMap[a];return n(l(o,e))},eachComponent:function(e,t,n){var r=this._componentsMap;if("function"==typeof e)n=t,t=e,p(r,function(e,r){p(e,function(e,a){t.call(n,r,e,a)})});else if(c.isString(e))p(r[e],t,n);else if(y(e)){var a=this.findComponents(e);p(a,t,n)}},getSeriesByName:function(e){var t=this._componentsMap.series;return f(t,function(t){return t.name===e})},getSeriesByIndex:function(e){return this._componentsMap.series[e]},getSeriesByType:function(e){var t=this._componentsMap.series;return f(t,function(t){return t.subType===e})},getSeries:function(){return this._componentsMap.series.slice()},eachSeries:function(e,t){u(this),p(this._seriesIndices,function(n){var r=this._componentsMap.series[n];e.call(t,r,n)},this)},eachRawSeries:function(e,t){p(this._componentsMap.series,e,t)},eachSeriesByType:function(e,t,n){u(this),p(this._seriesIndices,function(r){var a=this._componentsMap.series[r];a.subType===e&&t.call(n,a,r)},this)},eachRawSeriesByType:function(e,t,n){return p(this.getSeriesByType(e),t,n)},isSeriesFiltered:function(e){return u(this),c.indexOf(this._seriesIndices,e.componentIndex)<0},filterSeries:function(e,t){u(this);var n=f(this._componentsMap.series,e,t);this._seriesIndices=s(n)},restoreData:function(){var e=this._componentsMap;this._seriesIndices=s(e.series);var t=[];p(e,function(e,n){t.push(n)}),x.topologicalTravel(t,x.getAllClassMainTypes(),function(t,n){p(e[t],function(e){e.restoreData()})})}});c.mixin(w,n(259)),e.exports=w},function(e,t){function n(e){if(null==e||"object"!=typeof e)return e;var t=e,r=V.call(e);if("[object Array]"===r){t=[];for(var a=0,i=e.length;a=n.length&&n.push({option:e})}}),n},c.makeIdAndName=function(e){var t={};l(e,function(e,n){var r=e.exist;r&&(t[r.id]=e)}),l(e,function(e,n){var r=e.option;s.assert(!r||null==r.id||!t[r.id]||t[r.id]===e,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&(t[r.id]=e),!e.keyInfo&&(e.keyInfo={})}),l(e,function(e,n){var r=e.exist,a=e.option,i=e.keyInfo;if(u(a)){if(i.name=null!=a.name?a.name+"":r?r.name:"\0-",r)i.id=r.id;else if(null!=a.id)i.id=a.id+"";else{var o=0;do i.id="\0"+i.name+"\0"+o++;while(t[i.id])}t[i.id]=e}})},c.isIdInner=function(e){return u(e)&&e.id&&0===(e.id+"").indexOf("\0_ec_\0")},c.compressBatches=function(e,t){function n(e,t,n){for(var r=0,a=e.length;r1?"."+e[1]:""))},o.toCamelCase=function(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e},o.normalizeCssArray=function(e){var t=e.length;return"number"==typeof e?[e,e,e,e]:2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e};var s=o.encodeHTML=function(e){return String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},l=["a","b","c","d","e","f","g"],u=function(e,t){return"{"+e+(null==t?"":t)+"}"};o.formatTpl=function(e,t,n){r.isArray(t)||(t=[t]);var a=t.length;if(!a)return"";for(var i=t[0].$vars||[],o=0;o0){if(e<=t[0])return n[0];if(e>=t[1])return n[1]}else{if(e>=t[0])return n[0];if(e<=t[1])return n[1]}else{if(e===t[0])return n[0];if(e===t[1])return n[1]}return(e-t[0])/a*i+n[0]},a.parsePercent=function(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return"string"==typeof e?n(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e},a.round=function(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e},a.asc=function(e){return e.sort(function(e,t){return e-t}),e},a.getPrecision=function(e){if(e=+e,isNaN(e))return 0;for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n},a.getPrecisionSafe=function(e){var t=e.toString(),n=t.indexOf("e");if(n>0){var r=+t.slice(n+1);return r<0?-r:0}var a=t.indexOf(".");return a<0?0:t.length-1-a},a.getPixelPrecision=function(e,t){var n=Math.log,r=Math.LN10,a=Math.floor(n(e[1]-e[0])/r),i=Math.round(n(Math.abs(t[1]-t[0]))/r),o=Math.min(Math.max(-a+i,0),20);return isFinite(o)?o:20},a.MAX_SAFE_INTEGER=9007199254740991,a.remRadian=function(e){var t=2*Math.PI;return(e%t+t)%t},a.isRadianAroundZero=function(e){return e>-i&&e=-20?+e.toFixed(a<0?-a:0):e},a.reformIntervals=function(e){function t(e,n,r){return e.interval[r]=0},e.exports=a},function(e,t,n){function r(e,t){var n=e+":"+t;if(l[n])return l[n];for(var r=(e+"").split("\n"),a=0,i=0,o=r.length;ic&&(u=0,l={}),u++,l[n]=a,a}function a(e,t,n,a){var i=((e||"")+"").split("\n").length,o=r(e,t),s=r("国",t),l=i*s,u=new d(0,0,o,l);switch(u.lineHeight=s,a){case"bottom":case"alphabetic":u.y-=s;break;case"middle":u.y-=s/2}switch(n){case"end":case"right":u.x-=u.width;break;case"center":u.x-=u.width/2}return u}function i(e,t,n,r){var a=t.x,i=t.y,o=t.height,s=t.width,l=n.height,u=n.lineHeight,c=o/2-l/2+u,h="left";switch(e){case"left":a-=r,i+=c,h="right";break;case"right":a+=r+s,i+=c,h="left";break;case"top":a+=s/2,i-=r+l-u,h="center";break;case"bottom":a+=s/2,i+=o+r+u,h="center";break;case"inside":a+=s/2,i+=c,h="center";break;case"insideLeft":a+=r,i+=c,h="left";break;case"insideRight":a+=s-r,i+=c,h="right";break;case"insideTop":a+=s/2,i+=r+u,h="center";break;case"insideBottom":a+=s/2,i+=o-l-r+u,h="center";break;case"insideTopLeft":a+=r,i+=r+u,h="left";break;case"insideTopRight":a+=s-r,i+=r+u,h="right";break;case"insideBottomLeft":a+=r,i+=o-l-r+u;break;case"insideBottomRight":a+=s-r,i+=o-l-r+u,h="right"}return{x:a,y:i,textAlign:h,textBaseline:"alphabetic"}}function o(e,t,n,a,i){if(!t)return"";i=i||{},a=p(a,"...");for(var o=p(i.maxIterations,2),l=p(i.minChar,0),u=r("国",n),c=r("a",n),h=p(i.placeholder,""),d=t=Math.max(0,t-1),f=0;f=c;f++)d-=c;var g=r(a);g>d&&(a="",g=0),d=t-g;for(var m=(e+"").split("\n"),f=0,v=m.length;f=o){y+=a;break}var b=0===_?s(y,d,c,u):x>0?Math.floor(y.length*d/x):0;y=y.substr(0,b),x=r(y,n)}""===y&&(y=h),m[f]=y}}return m.join("\n")}function s(e,t,n,r){for(var a=0,i=0,o=e.length;i=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},clone:function(){return new r(this.x,this.y,this.width,this.height)},copy:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},r.create=function(e){return new r(e.x,e.y,e.width,e.height)},e.exports=r},function(e,t){var n="undefined"==typeof Float32Array?Array:Float32Array,r={create:function(e,t){var r=new n(2);return null==e&&(e=0),null==t&&(t=0),r[0]=e,r[1]=t,r},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},clone:function(e){var t=new n(2);return t[0]=e[0],t[1]=e[1],t},set:function(e,t,n){return e[0]=t,e[1]=n,e},add:function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e},scaleAndAdd:function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e},sub:function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e},len:function(e){return Math.sqrt(this.lenSquare(e))},lenSquare:function(e){return e[0]*e[0]+e[1]*e[1]},mul:function(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e},div:function(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]},scale:function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e},normalize:function(e,t){var n=r.len(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e},distance:function(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))},distanceSquare:function(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])},negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e},lerp:function(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e},applyTransform:function(e,t,n){var r=t[0],a=t[1];return e[0]=n[0]*r+n[2]*a+n[4],e[1]=n[1]*r+n[3]*a+n[5],e},min:function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e},max:function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}};r.length=r.len,r.lengthSquare=r.lenSquare,r.dist=r.distance,r.distSquare=r.distanceSquare,e.exports=r},function(e,t){var n="undefined"==typeof Float32Array?Array:Float32Array,r={create:function(){var e=new n(6);return r.identity(e),e},identity:function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e},mul:function(e,t,n){var r=t[0]*n[0]+t[2]*n[1],a=t[1]*n[0]+t[3]*n[1],i=t[0]*n[2]+t[2]*n[3],o=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=a,e[2]=i,e[3]=o,e[4]=s,e[5]=l,e},translate:function(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e},rotate:function(e,t,n){var r=t[0],a=t[2],i=t[4],o=t[1],s=t[3],l=t[5],u=Math.sin(n),c=Math.cos(n);return e[0]=r*c+o*u,e[1]=-r*u+o*c,e[2]=a*c+s*u,e[3]=-a*u+c*s,e[4]=c*i+u*l,e[5]=c*l-u*i,e},scale:function(e,t,n){var r=n[0],a=n[1];return e[0]=t[0]*r,e[1]=t[1]*a,e[2]=t[2]*r,e[3]=t[3]*a,e[4]=t[4]*r,e[5]=t[5]*a,e},invert:function(e,t){var n=t[0],r=t[2],a=t[4],i=t[1],o=t[3],s=t[5],l=n*o-i*r;return l?(l=1/l,e[0]=o*l,e[1]=-i*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-o*a)*l,e[5]=(i*a-n*s)*l,e):null}};e.exports=r},function(e,t,n){function r(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}function a(e,t,n){for(var r=0;r=0||n&&r.indexOf(n,o)<0)){var s=this.getShallow(o);null!=s&&(a[e[i][0]]=s)}}return a}}},function(e,t,n){e.exports={getAreaStyle:n(250)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]])}},function(e,t,n){function r(e,t){return e&&e.getShallow(t)}var a=n(243);e.exports={getTextColor:function(){var e=this.ecModel;return this.getShallow("color")||e&&e.get("textStyle.color")},getFont:function(){var e=this.ecModel,t=e&&e.getModel("textStyle");return[this.getShallow("fontStyle")||r(t,"fontStyle"),this.getShallow("fontWeight")||r(t,"fontWeight"),(this.getShallow("fontSize")||r(t,"fontSize")||12)+"px",this.getShallow("fontFamily")||r(t,"fontFamily")||"sans-serif"].join(" ")},getTextRect:function(e){return a.getBoundingRect(e,this.getFont(),this.getShallow("align"),this.getShallow("baseline"))},truncateText:function(e,t,n,r){return a.truncateText(e,t,this.getFont(),n,r)}}},function(e,t,n){var r=n(250)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]);e.exports={getItemStyle:function(e,t){var n=r.call(this,e,t),a=this.getBorderLineDash();return a&&(n.lineDash=a),n},getBorderLineDash:function(){var e=this.get("borderType");return"solid"===e||null==e?null:"dashed"===e?[5,5]:[1,1]}}},function(e,t,n){function r(e){var t=[];return i.each(c.getClassesByMainType(e),function(e){o.apply(t,e.prototype.dependencies||[])}),i.map(t,function(e){return l.parseClassType(e).main})}var a=n(247),i=n(239),o=Array.prototype.push,s=n(255),l=n(248),u=n(256),c=a.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,t,n,r){a.call(this,e,t,n,r),this.uid=s.getUID("componentModel")},init:function(e,t,n,r){this.mergeDefaultAndTheme(e,n)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,r=n?u.getLayoutParams(e):{},a=t.getTheme();i.merge(e,a.get(this.mainType)),i.merge(e,this.getDefaultOption()),n&&u.mergeLayoutParam(e,r,n)},mergeOption:function(e,t){i.merge(this.option,e,!0);var n=this.layoutMode;n&&u.mergeLayoutParam(this.option,e,n)},optionUpdated:function(e,t){},getDefaultOption:function(){if(!l.hasOwn(this,"__defaultOption")){for(var e=[],t=this.constructor;t;){var n=t.prototype.defaultOption;n&&e.push(n),t=t.superClass}for(var r={},a=e.length-1;a>=0;a--)r=i.merge(r,e[a],!0);l.set(this,"__defaultOption",r)}return l.get(this,"__defaultOption")},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});l.enableClassManagement(c,{registerWhenExtend:!0}),s.enableSubTypeDefaulter(c),s.enableTopologicalTravel(c,r),i.mixin(c,n(257)),e.exports=c},function(e,t,n){var r=n(239),a=n(248),i=a.parseClassType,o=0,s={},l="_";s.getUID=function(e){return[e||"",o++,Math.random()].join(l)},s.enableSubTypeDefaulter=function(e){var t={};return e.registerSubTypeDefaulter=function(e,n){e=i(e),t[e.main]=n},e.determineSubType=function(n,r){var a=r.type;if(!a){var o=i(n).main;e.hasSubTypes(n)&&t[o]&&(a=t[o](r))}return a},e},s.enableTopologicalTravel=function(e,t){function n(e){var n={},o=[];return r.each(e,function(s){var l=a(n,s),u=l.originalDeps=t(s),c=i(u,e);l.entryCount=c.length,0===l.entryCount&&o.push(s),r.each(c,function(e){r.indexOf(l.predecessor,e)<0&&l.predecessor.push(e);var t=a(n,e);r.indexOf(t.successor,e)<0&&t.successor.push(s)})}),{graph:n,noEntryList:o}}function a(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function i(e,t){var n=[];return r.each(e,function(e){r.indexOf(t,e)>=0&&n.push(e)}),n}e.topologicalTravel=function(e,t,a,i){function o(e){u[e].entryCount--,0===u[e].entryCount&&c.push(e)}function s(e){h[e]=!0,o(e)}if(e.length){var l=n(t),u=l.graph,c=l.noEntryList,h={};for(r.each(e,function(e){h[e]=!0});c.length;){var d=c.pop(),p=u[d],f=!!h[d];f&&(a.call(i,d,p.originalDeps.slice()),delete h[d]),r.each(p.successor,f?s:o)}r.each(h,function(){throw new Error("Circle dependency may exists")})}}},e.exports=s},function(e,t,n){"use strict";function r(e,t,n,r,a){var i=0,o=0;null==r&&(r=1/0),null==a&&(a=1/0);var s=0;t.eachChild(function(l,u){var c,h,d=l.position,p=l.getBoundingRect(),f=t.childAt(u+1),g=f&&f.getBoundingRect();if("horizontal"===e){var m=p.width+(g?-g.x+p.x:0);c=i+m,c>r||l.newline?(i=0,c=m,o+=s+n,s=p.height):s=Math.max(s,p.height)}else{var v=p.height+(g?-g.y+p.y:0);h=o+v,h>a||l.newline?(i+=s+n,o=0,h=v,s=p.width):s=Math.max(s,p.width)}l.newline||(d[0]=i,d[1]=o,"horizontal"===e?i=c+n:o=h+n)})}var a=n(239),i=n(244),o=n(242),s=n(241),l=o.parsePercent,u=a.each,c={},h=c.LOCATION_PARAMS=["left","right","top","bottom","width","height"],d=c.HV_NAMES=[["width","left","right"],["height","top","bottom"]];c.box=r,c.vbox=a.curry(r,"vertical"),c.hbox=a.curry(r,"horizontal"),c.getAvailableSize=function(e,t,n){var r=t.width,a=t.height,i=l(e.x,r),o=l(e.y,a),u=l(e.x2,r),c=l(e.y2,a);return(isNaN(i)||isNaN(parseFloat(e.x)))&&(i=0),(isNaN(u)||isNaN(parseFloat(e.x2)))&&(u=r),(isNaN(o)||isNaN(parseFloat(e.y)))&&(o=0),(isNaN(c)||isNaN(parseFloat(e.y2)))&&(c=a),n=s.normalizeCssArray(n||0),{width:Math.max(u-i-n[1]-n[3],0),height:Math.max(c-o-n[0]-n[2],0)}},c.getLayoutRect=function(e,t,n){n=s.normalizeCssArray(n||0);var r=t.width,a=t.height,o=l(e.left,r),u=l(e.top,a),c=l(e.right,r),h=l(e.bottom,a),d=l(e.width,r),p=l(e.height,a),f=n[2]+n[0],g=n[1]+n[3],m=e.aspect;switch(isNaN(d)&&(d=r-c-g-o),isNaN(p)&&(p=a-h-f-u),isNaN(d)&&isNaN(p)&&(m>r/a?d=.8*r:p=.8*a),null!=m&&(isNaN(d)&&(d=m*p),isNaN(p)&&(p=d/m)),isNaN(o)&&(o=r-c-d-g),isNaN(u)&&(u=a-h-p-f),e.left||e.right){case"center":o=r/2-d/2-n[3];break;case"right":o=r-d-g}switch(e.top||e.bottom){case"middle":case"center":u=a/2-p/2-n[0];break;case"bottom":u=a-p-f}o=o||0,u=u||0,isNaN(d)&&(d=r-o-(c||0)),isNaN(p)&&(p=a-u-(h||0));var v=new i(o+n[3],u+n[0],d,p);return v.margin=n,v},c.positionElement=function(e,t,n,r,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],u=o&&o.boundingMode||"all";if(s||l){var h;if("raw"===u)h="group"===e.type?new i(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(h=e.getBoundingRect(),e.needLocalTransform()){var d=e.getLocalTransform();h=h.clone(),h.applyTransform(d)}t=c.getLayoutRect(a.defaults({width:h.width,height:h.height},t),n,r);var p=e.position,f=s?t.x-h.x:0,g=l?t.y-h.y:0;e.attr("position","raw"===u?[f,g]:[p[0]+f,p[1]+g])}},c.sizeCalculable=function(e,t){return null!=e[d[t][0]]||null!=e[d[t][1]]&&null!=e[d[t][2]]},c.mergeLayoutParam=function(e,t,n){function r(n,r){var a={},s=0,c={},h=0,d=2;if(u(n,function(t){c[t]=e[t]}),u(n,function(e){i(t,e)&&(a[e]=c[e]=t[e]),o(a,e)&&s++,o(c,e)&&h++}),l[r])return o(t,n[1])?c[n[2]]=null:o(t,n[2])&&(c[n[1]]=null),c;if(h!==d&&s){if(s>=d)return a;for(var p=0;p=t:"max"===n?e<=t:e===t}function s(e,t){return e.join(",")===t.join(",")}function l(e,t){t=t||{},d(t,function(t,n){if(null!=t){var r=e[n];if(h.hasClass(n)){t=c.normalizeToArray(t),r=c.normalizeToArray(r);var a=c.mappingToExists(r,t);e[n]=f(a,function(e){return e.option&&e.exist?g(e.exist,e.option,!0):e.exist||e.option})}else e[n]=g(r,t,!0)}})}var u=n(239),c=n(240),h=n(254),d=u.each,p=u.clone,f=u.map,g=u.merge,m=/^(min|max)?(.+)$/;r.prototype={constructor:r,setOption:function(e,t){e=p(e,!0);var n=this._optionBackup,r=a.call(this,e,t,!n);this._newBaseOption=r.baseOption,n?(l(n.baseOption,r.baseOption),r.timelineOptions.length&&(n.timelineOptions=r.timelineOptions),r.mediaList.length&&(n.mediaList=r.mediaList),r.mediaDefault&&(n.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=f(t.timelineOptions,p),this._mediaList=f(t.mediaList,p),this._mediaDefault=p(t.mediaDefault),this._currentMediaIndices=[],p(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,n=this._timelineOptions;if(n.length){var r=e.getComponent("timeline");r&&(t=p(n[r.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t=this._api.getWidth(),n=this._api.getHeight(),r=this._mediaList,a=this._mediaDefault,o=[],l=[];if(!r.length&&!a)return l;for(var u=0,c=r.length;u',g=this.name;return"\0-"===g&&(g=""),t?h+p(this.name)+" : "+l:(g&&p(g)+"
")+h+(u?p(u)+" : "+l:l)},isAnimationEnabled:function(){if(u.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){h(this,"data",d(this,"dataBeforeProcessed").cloneShallow())},getColorFromPalette:function(e,t){var n=this.ecModel,r=l.getColorFromPalette.call(this,e,t);return r||(r=n.getColorFromPalette(e,t)),r},getAxisTooltipData:null,getTooltipPosition:null});r.mixin(g,o.dataFormatMixin),r.mixin(g,l),e.exports=g},function(e,t,n){var r=n(265),a=n(255),i=n(248),o=function(){this.group=new r,this.uid=a.getUID("viewComponent")};o.prototype={constructor:o,init:function(e,t){},render:function(e,t,n,r){},dispose:function(){}};var s=o.prototype;s.updateView=s.updateLayout=s.updateVisual=function(e,t,n,r){},i.enableClassExtend(o),i.enableClassManagement(o,{registerWhenExtend:!0}),e.exports=o},function(e,t,n){var r=n(239),a=n(266),i=n(244),o=function(e){e=e||{},a.call(this,e);for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(e){return this._children[e]},childOfName:function(e){for(var t=this._children,n=0;n=0&&(n.splice(r,0,e),this._doAdd(e))}return this},_doAdd:function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__storage,n=this.__zr;t&&t!==e.__storage&&(t.addToStorage(e),e instanceof o&&e.addChildrenToStorage(t)),n&&n.refresh()},remove:function(e){var t=this.__zr,n=this.__storage,a=this._children,i=r.indexOf(a,e);return i<0?this:(a.splice(i,1),e.parent=null,n&&(n.delFromStorage(e),e instanceof o&&e.delChildrenFromStorage(n)),t&&t.refresh(),this)},removeAll:function(){var e,t,n=this._children,r=this.__storage;for(t=0;t3&&(t=n.call(t,1));for(var a=this._$handlers[e],i=a.length,o=0;o4&&(t=n.call(t,1,t.length-1));for(var a=t[t.length-1],i=this._$handlers[e],o=i.length,s=0;ss||e<-s}var a=n(246),i=n(245),o=a.identity,s=5e-5,l=function(e){e=e||{},e.position||(this.position=[0,0]),null==e.rotation&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return r(this.rotation)||r(this.position[0])||r(this.position[1])||r(this.scale[0]-1)||r(this.scale[1]-1)},u.updateTransform=function(){var e=this.parent,t=e&&e.transform,n=this.needLocalTransform(),r=this.transform;return n||t?(r=r||a.create(),n?this.getLocalTransform(r):o(r),t&&(n?a.mul(r,e.transform,r):a.copy(r,e.transform)),this.transform=r,this.invTransform=this.invTransform||a.create(),void a.invert(this.invTransform,r)):void(r&&o(r))},u.getLocalTransform=function(e){return l.getLocalTransform(this,e)},u.setTransform=function(e){var t=this.transform,n=e.dpr||1;t?e.setTransform(n*t[0],n*t[1],n*t[2],n*t[3],n*t[4],n*t[5]):e.setTransform(n,0,0,n,0,0)},u.restoreTransform=function(e){var t=e.dpr||1;e.setTransform(t,0,0,t,0,0)};var c=[];u.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(a.mul(c,e.invTransform,t),t=c);var n=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],o=this.position,s=this.scale;r(n-1)&&(n=Math.sqrt(n)),r(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(n=-n),t[3]<0&&(i=-i),o[0]=t[4],o[1]=t[5],s[0]=n,s[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/n)}},u.getGlobalScale=function(){var e=this.transform;if(!e)return[1,1];var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]),n=Math.sqrt(e[2]*e[2]+e[3]*e[3]);return e[0]<0&&(t=-t),e[3]<0&&(n=-n),[t,n]},u.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&i.applyTransform(n,n,r),n},u.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&i.applyTransform(n,n,r),n},l.getLocalTransform=function(e,t){t=t||[],o(t);var n=e.origin,r=e.scale||[1,1],i=e.rotation||0,s=e.position||[0,0];return n&&(t[4]-=n[0],t[5]-=n[1]),a.scale(t,t,r),i&&a.rotate(t,t,i),n&&(t[4]+=n[0],t[5]+=n[1]),t[4]+=s[0],t[5]+=s[1],t},e.exports=l},function(e,t,n){"use strict";var r=n(271),a=n(239),i=a.isString,o=a.isFunction,s=a.isObject,l=n(276),u=function(){this.animators=[]};u.prototype={constructor:u,animate:function(e,t){var n,i=!1,o=this,s=this.__zr;if(e){var u=e.split("."),c=o;i="shape"===u[0];for(var h=0,d=u.length;h0&&this.animate(e,!1).when(null==r?500:r,o).delay(i||0),this}},e.exports=u},function(e,t,n){function r(e,t){return e[t]}function a(e,t,n){e[t]=n}function i(e,t,n){return(t-e)*n+e}function o(e,t,n){return n>.5?t:e}function s(e,t,n,r,a){ -var o=e.length;if(1==a)for(var s=0;sa;if(i)e.length=a;else for(var o=r;o=0&&!(A[n]<=t);n--);n=Math.min(n,_-2)}else{for(n=G;n<_&&!(A[n]>t);n++);n=Math.min(n-1,_-2)}G=n,H=t;var r=A[n+1]-A[n];if(0!==r)if(N=(t-A[n])/r,y)if(z=I[n],V=I[0===n?n:n-1],B=I[n>_-2?_-1:n+1],F=I[n>_-3?_-1:n+2],S)c(V,z,B,F,N,N*N,N*N*N,d(e,a),T);else{var l;if(M)l=c(V,z,B,F,N,N*N,N*N*N,W,1),l=p(W);else{if(C)return o(z,B,N);l=h(V,z,B,F,N,N*N,N*N*N)}g(e,a,l)}else if(S)s(I[n],I[n+1],N,d(e,a),T);else{var l;if(M)s(I[n],I[n+1],N,W,1),l=p(W);else{if(C)return o(I[n],I[n+1],N);l=i(I[n],I[n+1],N)}g(e,a,l)}},U=new m({target:e._target,life:b,loop:e._loop,delay:e._delay,onframe:j,ondestroy:n});return t&&"spline"!==t&&(U.easing=t),U}}}var m=n(272),v=n(274),y=n(239),x=y.isArrayLike,_=Array.prototype.slice,b=function(e,t,n,i){this._tracks={},this._target=e,this._loop=t||!1,this._getter=n||r,this._setter=i||a,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(e,t){var n=this._tracks;for(var r in t)if(t.hasOwnProperty(r)){if(!n[r]){n[r]=[];var a=this._getter(this._target,r);if(null==a)continue;0!==e&&n[r].push({time:0,value:d(a)})}n[r].push({time:e,value:t[r]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;e255?255:e}function a(e){return e=Math.round(e),e<0?0:e>360?360:e}function i(e){return e<0?0:e>1?1:e}function o(e){return r(e.length&&"%"===e.charAt(e.length-1)?parseFloat(e)/100*255:parseInt(e,10))}function s(e){return i(e.length&&"%"===e.charAt(e.length-1)?parseFloat(e)/100:parseFloat(e))}function l(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function u(e,t,n){return e+(t-e)*n}function c(e,t,n,r,a){return e[0]=t,e[1]=n,e[2]=r,e[3]=a,e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function d(e,t){T&&h(T,t),T=C.put(e,T||t.slice())}function p(e,t){if(e){t=t||[];var n=C.get(e);if(n)return h(t,n);e+="";var r=e.replace(/ /g,"").toLowerCase();if(r in M)return h(t,M[r]),d(e,t),t;if("#"!==r.charAt(0)){var a=r.indexOf("("),i=r.indexOf(")");if(a!==-1&&i+1===r.length){var l=r.substr(0,a),u=r.substr(a+1,i-(a+1)).split(","),p=1;switch(l){case"rgba":if(4!==u.length)return void c(t,0,0,0,1);p=s(u.pop());case"rgb":return 3!==u.length?void c(t,0,0,0,1):(c(t,o(u[0]),o(u[1]),o(u[2]),p),d(e,t),t);case"hsla":return 4!==u.length?void c(t,0,0,0,1):(u[3]=s(u[3]),f(u,t),d(e,t),t);case"hsl":return 3!==u.length?void c(t,0,0,0,1):(f(u,t),d(e,t),t);default:return}}c(t,0,0,0,1)}else{if(4===r.length){var g=parseInt(r.substr(1),16);return g>=0&&g<=4095?(c(t,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),d(e,t),t):void c(t,0,0,0,1)}if(7===r.length){var g=parseInt(r.substr(1),16);return g>=0&&g<=16777215?(c(t,(16711680&g)>>16,(65280&g)>>8,255&g,1),d(e,t),t):void c(t,0,0,0,1)}}}}function f(e,t){var n=(parseFloat(e[0])%360+360)%360/360,a=s(e[1]),i=s(e[2]),o=i<=.5?i*(a+1):i+a-i*a,u=2*i-o;return t=t||[],c(t,r(255*l(u,o,n+1/3)),r(255*l(u,o,n)),r(255*l(u,o,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function g(e){if(e){var t,n,r=e[0]/255,a=e[1]/255,i=e[2]/255,o=Math.min(r,a,i),s=Math.max(r,a,i),l=s-o,u=(s+o)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+o):l/(2-s-o);var c=((s-r)/6+l/2)/l,h=((s-a)/6+l/2)/l,d=((s-i)/6+l/2)/l;r===s?t=d-h:a===s?t=1/3+c-d:i===s&&(t=2/3+h-c),t<0&&(t+=1),t>1&&(t-=1)}var p=[360*t,n,u];return null!=e[3]&&p.push(e[3]),p}}function m(e,t){var n=p(e);if(n){for(var r=0;r<3;r++)t<0?n[r]=n[r]*(1-t)|0:n[r]=(255-n[r])*t+n[r]|0;return w(n,4===n.length?"rgba":"rgb")}}function v(e,t){var n=p(e);if(n)return((1<<24)+(n[0]<<16)+(n[1]<<8)+ +n[2]).toString(16).slice(1)}function y(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var a=e*(t.length-1),o=Math.floor(a),s=Math.ceil(a),l=t[o],c=t[s],h=a-o;return n[0]=r(u(l[0],c[0],h)),n[1]=r(u(l[1],c[1],h)),n[2]=r(u(l[2],c[2],h)),n[3]=i(u(l[3],c[3],h)),n}}function x(e,t,n){if(t&&t.length&&e>=0&&e<=1){var a=e*(t.length-1),o=Math.floor(a),s=Math.ceil(a),l=p(t[o]),c=p(t[s]),h=a-o,d=w([r(u(l[0],c[0],h)),r(u(l[1],c[1],h)),r(u(l[2],c[2],h)),i(u(l[3],c[3],h))],"rgba");return n?{color:d,leftIndex:o,rightIndex:s,value:a}:d}}function _(e,t,n,r){if(e=p(e))return e=g(e),null!=t&&(e[0]=a(t)),null!=n&&(e[1]=s(n)),null!=r&&(e[2]=s(r)),w(f(e),"rgba")}function b(e,t){if(e=p(e),e&&null!=t)return e[3]=i(t),w(e,"rgba")}function w(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}var S=n(275),M={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]},C=new S(20),T=null;e.exports={parse:p,lift:m,toHex:v,fastMapToColor:y,mapToColor:x,modifyHSL:_,modifyAlpha:b,stringify:w}},function(e,t){var n=function(){this.head=null,this.tail=null,this._len=0},r=n.prototype;r.insert=function(e){var t=new a(e);return this.insertEntry(t),t},r.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},r.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},r.len=function(){return this._len},r.clear=function(){this.head=this.tail=null,this._len=0};var a=function(e){this.value=e,this.next,this.prev},i=function(e){this._list=new n,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},o=i.prototype;o.put=function(e,t){var n=this._list,r=this._map,i=null;if(null==r[e]){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete r[l.key],i=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new a(t),s.key=e,n.insertEntry(s),r[e]=s}return i},o.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},o.clear=function(){this._list.clear(),this._map={}},e.exports=i},function(e,t,n){var r=n(277);e.exports=function(){if(0!==r.debugMode)if(1==r.debugMode)for(var e in arguments)throw new Error(arguments[e]);else if(r.debugMode>1)for(var e in arguments)console.log(arguments[e])}},function(e,t){var n=1;"undefined"!=typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var r={debugMode:0,devicePixelRatio:n};e.exports=r},function(e,t,n){function r(){this.group=new o,this.uid=s.getUID("viewChart")}function a(e,t){if(e&&(e.trigger(t),"group"===e.type))for(var n=0;n0?t.animateTo(n,l,c||0,u,i):(t.stopAnimation(),t.attr(n),i&&i())}else t.stopAnimation(),t.attr(n),i&&i()}var m=n(239),v=n(280),y=Math.round,x=n(281),_=n(274),b=n(246),w=n(245),S=n(269),M=n(244),C={};C.Group=n(265),C.Image=n(297),C.Text=n(298),C.Circle=n(299),C.Sector=n(300),C.Ring=n(301),C.Polygon=n(302),C.Polyline=n(306),C.Rect=n(307),C.Line=n(309),C.BezierCurve=n(310),C.Arc=n(311),C.CompoundPath=n(312),C.LinearGradient=n(313),C.RadialGradient=n(315),C.BoundingRect=M,C.extendShape=function(e){return x.extend(e)},C.extendPath=function(e,t){return v.extendFromString(e,t)},C.makePath=function(e,t,n,r){var a=v.createFromString(e,t),i=a.getBoundingRect();if(n){var o=i.width/i.height;if("center"===r){var s,l=n.height*o;l<=n.width?s=n.height:(l=n.width,s=l/o);var u=n.x+n.width/2,c=n.y+n.height/2;n.x=u-l/2,n.y=c-s/2,n.width=l,n.height=s}C.resizePath(a,n)}return a},C.mergePath=v.mergePath,C.resizePath=function(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}},C.subPixelOptimizeLine=function(e){var t=C.subPixelOptimize,n=e.shape,r=e.style.lineWidth;return y(2*n.x1)===y(2*n.x2)&&(n.x1=n.x2=t(n.x1,r,!0)),y(2*n.y1)===y(2*n.y2)&&(n.y1=n.y2=t(n.y1,r,!0)),e},C.subPixelOptimizeRect=function(e){var t=C.subPixelOptimize,n=e.shape,r=e.style.lineWidth,a=n.x,i=n.y,o=n.width,s=n.height;return n.x=t(n.x,r,!0),n.y=t(n.y,r,!0),n.width=Math.max(t(a+o,r,!1)-n.x,0===o?0:1),n.height=Math.max(t(i+s,r,!1)-n.y,0===s?0:1),e},C.subPixelOptimize=function(e,t,n){var r=y(2*e);return(r+y(t))%2===0?r/2:(r+(n?1:-1))/2},C.setHoverStyle=function(e,t,n){e.__hoverSilentOnTouch=n&&n.hoverSilentOnTouch,"group"===e.type?e.traverse(function(e){"group"!==e.type&&c(e,t)}):c(e,t),e.on("mouseover",h).on("mouseout",d),e.on("emphasis",p).on("normal",f)},C.setText=function(e,t,n){var r=t.getShallow("position")||"inside",a=t.getShallow("offset"),i=r.indexOf("inside")>=0?"white":n,o=t.getModel("textStyle");m.extend(e,{textDistance:t.getShallow("distance")||5,textFont:o.getFont(),textPosition:r,textOffset:a,textFill:o.getTextColor()||i})},C.updateProps=function(e,t,n,r,a){g(!0,e,t,n,r,a)},C.initProps=function(e,t,n,r,a){g(!1,e,t,n,r,a)},C.getTransform=function(e,t){for(var n=b.identity([]);e&&e!==t;)b.mul(n,e.getLocalTransform(),n),e=e.parent;return n},C.applyTransform=function(e,t,n){return t&&!m.isArrayLike(t)&&(t=S.getLocalTransform(t)),n&&(t=b.invert([],t)),w.applyTransform([],e,t)},C.transformDirection=function(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),a=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),i=["left"===e?-r:"right"===e?r:0,"top"===e?-a:"bottom"===e?a:0];return i=C.applyTransform(i,t,n),Math.abs(i[0])>Math.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"},C.groupTransition=function(e,t,n,r){function a(e){var t={};return e.traverse(function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)}),t}function i(e){var t={position:w.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=m.extend({},e.shape)),t}if(e&&t){var o=a(e);t.traverse(function(e){if(!e.isGroup&&e.anid){var t=o[e.anid];if(t){var r=i(e);e.attr(i(t)),C.updateProps(e,r,n,e.dataIndex)}}})}},e.exports=C},function(e,t,n){function r(e,t,n,r,a,i,o,s,l,u,f){var v=l*(p/180),y=d(v)*(e-n)/2+h(v)*(t-r)/2,x=-1*h(v)*(e-n)/2+d(v)*(t-r)/2,_=y*y/(o*o)+x*x/(s*s);_>1&&(o*=c(_),s*=c(_));var b=(a===i?-1:1)*c((o*o*(s*s)-o*o*(x*x)-s*s*(y*y))/(o*o*(x*x)+s*s*(y*y)))||0,w=b*o*x/s,S=b*-s*y/o,M=(e+n)/2+d(v)*w-h(v)*S,C=(t+r)/2+h(v)*w+d(v)*S,T=m([1,0],[(y-w)/o,(x-S)/s]),A=[(y-w)/o,(x-S)/s],I=[(-1*y-w)/o,(-1*x-S)/s],E=m(A,I);g(A,I)<=-1&&(E=p),g(A,I)>=1&&(E=0),0===i&&E>0&&(E-=2*p),1===i&&E<0&&(E+=2*p),f.addData(u,M,C,o,s,T,E,v,i)}function a(e){if(!e)return[];var t,n=e.replace(/-/g," -").replace(/ /g," ").replace(/ /g,",").replace(/,,/g,",");for(t=0;t0&&""===m[0]&&m.shift();for(var v=0;v1e-10&&(a.width+=i/s,a.height+=i/s,a.x-=i/s/2,a.y-=i/s/2)}return a}return e},contain:function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),a=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var i=this.path.data;if(a.hasStroke()){var o=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(a.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),s.containStroke(i,o/l,e,t)))return!0}if(a.hasFill())return s.contain(i,e,t)}return!1},dirty:function(e){null==e&&(e=!0),e&&(this.__dirtyPath=e,this._rect=null),this.__dirty=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(e){return this.animate("shape",e)},attrKV:function(e,t){"shape"===e?(this.setShape(t),this.__dirtyPath=!0,this._rect=null):a.prototype.attrKV.call(this,e,t)},setShape:function(e,t){var n=this.shape;if(n){if(i.isObject(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);else n[e]=t;this.dirty(!0)}return this},getLineScale:function(){var e=this.transform;return e&&c(e[0]-1)>1e-10&&c(e[3]-1)>1e-10?Math.sqrt(c(e[0]*e[3]-e[2]*e[1])):1}},r.extend=function(e){var t=function(t){r.call(this,t),e.style&&this.style.extendFrom(e.style,!1);var n=e.shape;if(n){this.shape=this.shape||{};var a=this.shape;for(var i in n)!a.hasOwnProperty(i)&&n.hasOwnProperty(i)&&(a[i]=n[i])}e.init&&e.init.call(this,t)};i.inherits(t,r);for(var n in e)"style"!==n&&"shape"!==n&&(t.prototype[n]=e[n]);return t},i.inherits(r,a),e.exports=r},function(e,t,n){function r(e){e=e||{},o.call(this,e);for(var t in e)e.hasOwnProperty(t)&&"style"!==t&&(this[t]=e[t]);this.style=new i(e.style),this._rect=null,this.__clipPaths=[]}var a=n(239),i=n(283),o=n(266),s=n(284);r.prototype={constructor:r,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:-1,beforeBrush:function(e){},afterBrush:function(e){},brush:function(e,t){},getBoundingRect:function(){},contain:function(e,t){return this.rectContain(e,t)},traverse:function(e,t){e.call(t,this)},rectContain:function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return r.contain(n[0],n[1])},dirty:function(){this.__dirty=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(e){return this.animate("style",e)},attrKV:function(e,t){"style"!==e?o.prototype.attrKV.call(this,e,t):this.style.set(t)},setStyle:function(e,t){return this.style.set(e,t),this.dirty(!1),this},useStyle:function(e){return this.style=new i(e),this.dirty(!1),this}},a.inherits(r,o),a.mixin(r,s),e.exports=r},function(e,t){function n(e,t,n){var r=null==t.x?0:t.x,a=null==t.x2?1:t.x2,i=null==t.y?0:t.y,o=null==t.y2?0:t.y2;t.global||(r=r*n.width+n.x,a=a*n.width+n.x,i=i*n.height+n.y,o=o*n.height+n.y);var s=e.createLinearGradient(r,i,a,o);return s}function r(e,t,n){var r=n.width,a=n.height,i=Math.min(r,a),o=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;t.global||(o=o*r+n.x,s=s*a+n.y,l*=i);var u=e.createRadialGradient(o,s,0,o,s,l);return u}var a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],i=function(e){this.extendFrom(e)};i.prototype={constructor:i,fill:"#000000",stroke:null,opacity:1,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,textFill:"#000",textStroke:null,textPosition:"inside",textOffset:null,textBaseline:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textTransform:!1,textRotation:0,blend:null,bind:function(e,t,n){for(var r=this,i=n&&n.style,o=!i,s=0;s0},extendFrom:function(e,t){if(e){var n=this;for(var r in e)!e.hasOwnProperty(r)||!t&&n.hasOwnProperty(r)||(n[r]=e[r])}},set:function(e,t){"string"==typeof e?this[e]=t:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,t,a){for(var i="radial"===t.type?r:n,o=i(e,t,a),s=t.colorStops,l=0;l=0?parseFloat(e)/100*t:parseFloat(e):e}var a=n(243),i=n(244),o=new i,s=function(){};s.prototype={constructor:s,drawRectText:function(e,t,n){var i=this.style,s=i.text;if(null!=s&&(s+=""), -s){e.save();var l,u,c=i.textPosition,h=i.textOffset,d=i.textDistance,p=i.textAlign,f=i.textFont||i.font,g=i.textBaseline,m=i.textVerticalAlign;n=n||a.getBoundingRect(s,f,p,g);var v=this.transform;if(i.textTransform?this.setTransform(e):v&&(o.copy(t),o.applyTransform(v),t=o),c instanceof Array){if(l=t.x+r(c[0],t.width),u=t.y+r(c[1],t.height),p=p||"left",g=g||"top",m){switch(m){case"middle":u-=n.height/2-n.lineHeight/2;break;case"bottom":u-=n.height-n.lineHeight/2;break;default:u+=n.lineHeight/2}g="middle"}}else{var y=a.adjustTextPositionOnRect(c,t,n,d);l=y.x,u=y.y,p=p||y.textAlign,g=g||y.textBaseline}h&&(l+=h[0],u+=h[1]),e.textAlign=p||"left",e.textBaseline=g||"alphabetic";var x=i.textFill,_=i.textStroke;x&&(e.fillStyle=x),_&&(e.strokeStyle=_),e.font=f||"12px sans-serif",e.shadowBlur=i.textShadowBlur,e.shadowColor=i.textShadowColor||"transparent",e.shadowOffsetX=i.textShadowOffsetX,e.shadowOffsetY=i.textShadowOffsetY;var b=s.split("\n");i.textRotation&&(v&&e.translate(v[4],v[5]),e.rotate(i.textRotation),v&&e.translate(-v[4],-v[5]));for(var w=0;wthis._ux||y(t-this._yi)>this._uy||this._len<5;return this.addData(l.L,e,t),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(e,t):this._ctx.lineTo(e,t)),n&&(this._xi=e,this._yi=t),this},bezierCurveTo:function(e,t,n,r,a,i){return this.addData(l.C,e,t,n,r,a,i),this._ctx&&(this._needsDash()?this._dashedBezierTo(e,t,n,r,a,i):this._ctx.bezierCurveTo(e,t,n,r,a,i)),this._xi=a,this._yi=i,this},quadraticCurveTo:function(e,t,n,r){return this.addData(l.Q,e,t,n,r),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(e,t,n,r):this._ctx.quadraticCurveTo(e,t,n,r)),this._xi=n,this._yi=r,this},arc:function(e,t,n,r,a,i){return this.addData(l.A,e,t,n,n,r,a-r,0,i?0:1),this._ctx&&this._ctx.arc(e,t,n,r,a,i),this._xi=g(a)*n+e,this._yi=m(a)*n+e,this},arcTo:function(e,t,n,r,a){return this._ctx&&this._ctx.arcTo(e,t,n,r,a),this},rect:function(e,t,n,r){return this._ctx&&this._ctx.rect(e,t,n,r),this.addData(l.R,e,t,n,r),this},closePath:function(){this.addData(l.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&(this._needsDash()&&this._dashedLineTo(t,n),e.closePath()),this._xi=t,this._yi=n,this},fill:function(e){e&&e.fill(),this.toStatic()},stroke:function(e){e&&e.stroke(),this.toStatic()},setLineDash:function(e){if(e instanceof Array){this._lineDash=e,this._dashIdx=0;for(var t=0,n=0;nt.length&&(this._expandData(),t=this.data);for(var n=0;n0&&g<=e||c<0&&g>=e||0==c&&(h>0&&m<=t||h<0&&m>=t);)r=this._dashIdx,n=o[r],g+=c*n,m+=h*n,this._dashIdx=(r+1)%y,c>0&&gl||h>0&&mu||s[r%2?"moveTo":"lineTo"](c>=0?p(g,e):f(g,e),h>=0?p(m,t):f(m,t));c=g-e,h=m-t,this._dashOffset=-v(c*c+h*h)},_dashedBezierTo:function(e,t,n,a,i,o){var s,l,u,c,h,d=this._dashSum,p=this._dashOffset,f=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=r.cubicAt,_=0,b=this._dashIdx,w=f.length,S=0;for(p<0&&(p=d+p),p%=d,s=0;s<1;s+=.1)l=x(m,e,n,i,s+.1)-x(m,e,n,i,s),u=x(y,t,a,o,s+.1)-x(y,t,a,o,s),_+=v(l*l+u*u);for(;bp));b++);for(s=(S-p)/_;s<=1;)c=x(m,e,n,i,s),h=x(y,t,a,o,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=f[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(i,o),l=i-c,u=o-h,this._dashOffset=-v(l*l+u*u)},_dashedQuadraticTo:function(e,t,n,r){var a=n,i=r;n=(n+2*e)/3,r=(r+2*t)/3,e=(this._xi+2*e)/3,t=(this._yi+2*t)/3,this._dashedBezierTo(e,t,n,r,a,i)},toStatic:function(){var e=this.data;e instanceof Array&&(e.length=this._len,x&&(this.data=new Float32Array(e)))},getBoundingRect:function(){u[0]=u[1]=h[0]=h[1]=Number.MAX_VALUE,c[0]=c[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var e=this.data,t=0,n=0,r=0,s=0,p=0;pu||y(o-a)>c||d===h-1)&&(e.lineTo(i,o),r=i,a=o);break;case l.C:e.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),r=s[d-2],a=s[d-1];break;case l.Q:e.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),r=s[d-2],a=s[d-1];break;case l.A:var f=s[d++],v=s[d++],x=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],C=x>_?x:_,T=x>_?1:x/_,A=x>_?_/x:1,I=Math.abs(x-_)>.001,E=b+w;I?(e.translate(f,v),e.rotate(S),e.scale(T,A),e.arc(0,0,C,b,E,1-M),e.scale(1/T,1/A),e.rotate(-S),e.translate(-f,-v)):e.arc(f,v,C,b,E,1-M),1==d&&(t=g(b)*x+f,n=m(b)*_+v),r=g(E)*x+f,a=m(E)*_+v;break;case l.R:t=r=s[d],n=a=s[d+1],e.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:e.closePath(),r=t,a=n}}}},_.CMD=l,e.exports=_},function(e,t,n){"use strict";function r(e){return e>-w&&ew||e<-w}function i(e,t,n,r,a){var i=1-a;return i*i*(i*e+3*a*t)+a*a*(a*r+3*i*n)}function o(e,t,n,r,a){var i=1-a;return 3*(((t-e)*i+2*(n-t)*a)*i+(r-n)*a*a)}function s(e,t,n,a,i,o){var s=a+3*(t-n)-e,l=3*(n-2*t+e),u=3*(t-e),c=e-i,h=l*l-3*s*u,d=l*u-9*s*c,p=u*u-3*l*c,f=0;if(r(h)&&r(d))if(r(l))o[0]=0;else{var g=-u/l;g>=0&&g<=1&&(o[f++]=g)}else{var m=d*d-4*h*p;if(r(m)){var v=d/h,g=-l/s+v,y=-v/2;g>=0&&g<=1&&(o[f++]=g),y>=0&&y<=1&&(o[f++]=y)}else if(m>0){var x=b(m),w=h*l+1.5*s*(-d+x),S=h*l+1.5*s*(-d-x);w=w<0?-_(-w,C):_(w,C),S=S<0?-_(-S,C):_(S,C);var g=(-l-(w+S))/(3*s);g>=0&&g<=1&&(o[f++]=g)}else{var T=(2*h*l-3*s*d)/(2*b(h*h*h)),A=Math.acos(T)/3,I=b(h),E=Math.cos(A),g=(-l-2*I*E)/(3*s),y=(-l+I*(E+M*Math.sin(A)))/(3*s),P=(-l+I*(E-M*Math.sin(A)))/(3*s);g>=0&&g<=1&&(o[f++]=g),y>=0&&y<=1&&(o[f++]=y),P>=0&&P<=1&&(o[f++]=P)}}return f}function l(e,t,n,i,o){var s=6*n-12*t+6*e,l=9*t+3*i-3*e-9*n,u=3*t-3*e,c=0;if(r(l)){if(a(s)){var h=-u/s;h>=0&&h<=1&&(o[c++]=h)}}else{var d=s*s-4*l*u;if(r(d))o[0]=-s/(2*l);else if(d>0){var p=b(d),h=(-s+p)/(2*l),f=(-s-p)/(2*l);h>=0&&h<=1&&(o[c++]=h),f>=0&&f<=1&&(o[c++]=f)}}return c}function u(e,t,n,r,a,i){var o=(t-e)*a+e,s=(n-t)*a+t,l=(r-n)*a+n,u=(s-o)*a+o,c=(l-s)*a+s,h=(c-u)*a+u;i[0]=e,i[1]=o,i[2]=u,i[3]=h,i[4]=h,i[5]=c,i[6]=l,i[7]=r}function c(e,t,n,r,a,o,s,l,u,c,h){var d,p,f,g,m,v=.005,y=1/0;T[0]=u,T[1]=c;for(var _=0;_<1;_+=.05)A[0]=i(e,n,a,s,_),A[1]=i(t,r,o,l,_),g=x(T,A),g=0&&g=0&&h<=1&&(o[c++]=h)}}else{var d=l*l-4*s*u;if(r(d)){var h=-l/(2*s);h>=0&&h<=1&&(o[c++]=h)}else if(d>0){var p=b(d),h=(-l+p)/(2*s),f=(-l-p)/(2*s);h>=0&&h<=1&&(o[c++]=h),f>=0&&f<=1&&(o[c++]=f)}}return c}function f(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function g(e,t,n,r,a){var i=(t-e)*r+e,o=(n-t)*r+t,s=(o-i)*r+i;a[0]=e,a[1]=i,a[2]=s,a[3]=s,a[4]=o,a[5]=n}function m(e,t,n,r,a,i,o,s,l){var u,c=.005,d=1/0;T[0]=o,T[1]=s;for(var p=0;p<1;p+=.05){A[0]=h(e,n,a,p),A[1]=h(t,r,i,p);var f=x(T,A);f=0&&f1e-4)return f[0]=e-n,f[1]=t-a,g[0]=e+n,void(g[1]=t+a);if(c[0]=u(i)*n+e,c[1]=l(i)*a+t,h[0]=u(o)*n+e,h[1]=l(o)*a+t,m(f,c,h),v(g,c,h),i%=p,i<0&&(i+=p),o%=p,o<0&&(o+=p),i>o&&!s?o+=p:ii&&(d[0]=u(_)*n+e,d[1]=l(_)*a+t,m(f,d,f),v(g,d,g))},e.exports=i},function(e,t,n){"use strict";function r(e,t){return Math.abs(e-t)t&&c>r&&c>o&&c>l||c1&&a(),d=g.cubicAt(t,r,o,l,b[0]),m>1&&(p=g.cubicAt(t,r,o,l,b[1]))),f+=2==m?yt&&s>r&&s>i||s=0&&u<=1){for(var c=0,h=g.quadraticAt(t,r,i,u),d=0;dn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);_[0]=-l,_[1]=l;var u=Math.abs(r-a);if(u<1e-4)return 0;if(u%y<1e-4){r=0,a=y;var c=i?1:-1;return o>=_[0]+e&&o<=_[1]+e?c:0}if(i){var l=r;r=f(a),a=f(l)}else r=f(r),a=f(a);r>a&&(a+=y);for(var h=0,d=0;d<2;d++){var p=_[d];if(p+e>o){var g=Math.atan2(s,p),c=i?1:-1;g<0&&(g=y+g),(g>=r&&g<=a||g+y>=r&&g+y<=a)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),h+=c)}}return h}function l(e,t,n,a,l){for(var c=0,f=0,g=0,y=0,x=0,_=0;_1&&(n||(c+=m(f,g,y,x,a,l))),1==_&&(f=e[_],g=e[_+1],y=f,x=g),b){case u.M:y=e[_++],x=e[_++],f=y,g=x;break;case u.L:if(n){if(v(f,g,e[_],e[_+1],t,a,l))return!0}else c+=m(f,g,e[_],e[_+1],a,l)||0;f=e[_++],g=e[_++];break;case u.C:if(n){if(h.containStroke(f,g,e[_++],e[_++],e[_++],e[_++],e[_],e[_+1],t,a,l))return!0}else c+=i(f,g,e[_++],e[_++],e[_++],e[_++],e[_],e[_+1],a,l)||0;f=e[_++],g=e[_++];break;case u.Q:if(n){if(d.containStroke(f,g,e[_++],e[_++],e[_],e[_+1],t,a,l))return!0}else c+=o(f,g,e[_++],e[_++],e[_],e[_+1],a,l)||0;f=e[_++],g=e[_++];break;case u.A:var w=e[_++],S=e[_++],M=e[_++],C=e[_++],T=e[_++],A=e[_++],I=(e[_++],1-e[_++]),E=Math.cos(T)*M+w,P=Math.sin(T)*C+S;_>1?c+=m(f,g,E,P,a,l):(y=E,x=P);var L=(a-w)*C/M+w;if(n){if(p.containStroke(w,S,C,T,T+A,I,t,L,l))return!0}else c+=s(w,S,C,T,T+A,I,L,l);f=Math.cos(T+A)*M+w,g=Math.sin(T+A)*C+S;break;case u.R:y=f=e[_++],x=g=e[_++];var D=e[_++],k=e[_++],E=y+D,P=x+k;if(n){if(v(y,x,E,x,t,a,l)||v(E,x,E,P,t,a,l)||v(E,P,y,P,t,a,l)||v(y,P,y,x,t,a,l))return!0}else c+=m(E,x,E,P,a,l),c+=m(y,P,y,x,a,l);break;case u.Z:if(n){if(v(f,g,y,x,t,a,l))return!0}else c+=m(f,g,y,x,a,l);f=y,g=x}}return n||r(g,x)||(c+=m(f,g,y,x,a,l)||0),0!==c}var u=n(285).CMD,c=n(289),h=n(290),d=n(291),p=n(292),f=n(293).normalizeRadian,g=n(286),m=n(294),v=c.containStroke,y=2*Math.PI,x=1e-4,_=[-1,-1,-1],b=[-1,-1];e.exports={contain:function(e,t,n){return l(e,0,!1,t,n)},containStroke:function(e,t,n,r){return l(e,t,!0,n,r)}}},function(e,t){e.exports={containStroke:function(e,t,n,r,a,i,o){if(0===a)return!1;var s=a,l=0,u=e;if(o>t+s&&o>r+s||oe+s&&i>n+s||it+d&&h>a+d&&h>o+d&&h>l+d||he+d&&c>n+d&&c>i+d&&c>s+d||ct+c&&u>a+c&&u>o+c||ue+c&&l>n+c&&l>i+c||ln||d+ho&&(o+=a);var f=Math.atan2(c,u);return f<0&&(f+=a),f>=i&&f<=o||f+a>=i&&f+a<=o}}},function(e,t){var n=2*Math.PI;e.exports={normalizeRadian:function(e){return e%=n,e<0&&(e+=n),e}}},function(e,t){e.exports=function(e,t,n,r,a,i){if(i>t&&i>r||ia?o:0}},function(e,t){var n=function(e,t){this.image=e,this.repeat=t,this.type="pattern"};n.prototype.getCanvasPattern=function(e){return e.createPattern(this.image,this.repeat||"repeat")},e.exports=n},function(e,t,n){function r(e,t){var n,r,i,c,h,d,p=e.data,f=a.M,g=a.C,m=a.L,v=a.R,y=a.A,x=a.Q;for(i=0,c=0;i=11?function(){var e,t=this.__clipPaths,n=this.style;if(t)for(var r=0;r=2){if(o&&"spline"!==o){var s=a(i,o,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var l=i.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=i[(u+1)%l];e.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(i=r(i,n)),e.moveTo(i[0][0],i[0][1]);for(var u=1,p=i.length;un-2?n-1:p+1],h=e[p>n-3?n-1:p+2]);var m=f*f,v=f*m;i.push([r(u[0],g[0],c[0],h[0],f,m,v),r(u[1],g[1],c[1],h[1],f,m,v)])}return i}},function(e,t,n){var r=n(245),a=r.min,i=r.max,o=r.scale,s=r.distance,l=r.add;e.exports=function(e,t,n,u){var c,h,d,p,f=[],g=[],m=[],v=[];if(u){d=[1/0,1/0],p=[-(1/0),-(1/0)];for(var y=0,x=e.length;yl&&(h=n+r,n*=l/h,r*=l/h),a+i>l&&(h=a+i,a*=l/h,i*=l/h),r+a>u&&(h=r+a,r*=u/h,a*=u/h),n+i>u&&(h=n+i,n*=u/h,i*=u/h),e.moveTo(o+n,s),e.lineTo(o+l-r,s),0!==r&&e.quadraticCurveTo(o+l,s,o+l,s+r),e.lineTo(o+l,s+u-a),0!==a&&e.quadraticCurveTo(o+l,s+u,o+l-a,s+u),e.lineTo(o+i,s+u),0!==i&&e.quadraticCurveTo(o,s+u,o,s+u-i),e.lineTo(o,s+n),0!==n&&e.quadraticCurveTo(o,s,o+n,s)}}},function(e,t,n){e.exports=n(281).extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.x1,r=t.y1,a=t.x2,i=t.y2,o=t.percent;0!==o&&(e.moveTo(n,r),o<1&&(a=n*(1-o)+a*o,i=r*(1-o)+i*o),e.lineTo(a,i))},pointAt:function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]}})},function(e,t,n){"use strict";function r(e,t,n){var r=e.cpx2,a=e.cpy2;return null===r||null===a?[(n?h:u)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?h:u)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?c:l)(e.x1,e.cpx1,e.x2,t),(n?c:l)(e.y1,e.cpy1,e.y2,t)]}var a=n(286),i=n(245),o=a.quadraticSubdivide,s=a.cubicSubdivide,l=a.quadraticAt,u=a.cubicAt,c=a.quadraticDerivativeAt,h=a.cubicDerivativeAt,d=[];e.exports=n(281).extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.x1,r=t.y1,a=t.x2,i=t.y2,l=t.cpx1,u=t.cpy1,c=t.cpx2,h=t.cpy2,p=t.percent;0!==p&&(e.moveTo(n,r),null==c||null==h?(p<1&&(o(n,l,a,p,d),l=d[1],a=d[2],o(r,u,i,p,d),u=d[1],i=d[2]),e.quadraticCurveTo(l,u,a,i)):(p<1&&(s(n,l,c,a,p,d),l=d[1],c=d[2],a=d[3],s(r,u,h,i,p,d),u=d[1],h=d[2],i=d[3]),e.bezierCurveTo(l,u,c,h,a,i)))},pointAt:function(e){return r(this.shape,e,!1)},tangentAt:function(e){var t=r(this.shape,e,!0);return i.normalize(t,t)}})},function(e,t,n){e.exports=n(281).extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.cx,r=t.cy,a=Math.max(t.r,0),i=t.startAngle,o=t.endAngle,s=t.clockwise,l=Math.cos(i),u=Math.sin(i);e.moveTo(l*a+n,u*a+r),e.arc(n,r,a,i,o,!s)}})},function(e,t,n){var r=n(281);e.exports=r.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var e=this.__dirtyPath,t=this.shape.paths,n=0;n=0?r():h=setTimeout(r,-i),u=a};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(e){l=e},d},n.createOrUpdate=function(e,t,o,s){var l=e[t];if(l){var u=l[r]||l,c=l[i],h=l[a];if(h!==o||c!==s){if(null==o||!s)return e[t]=u;l=e[t]=n.throttle(u,o,"debounce"===s),l[r]=u,l[i]=s,l[a]=o}return l}},n.clear=function(e,t){var n=e[t];n&&n[r]&&(e[t]=n[r])},e.exports=n},function(e,t,n){function r(e){delete p[e]}/*! +var S=n(237),M=n(238),C=n(310),T=n(311),A=n(312),I=n(304),E=n(313),P=n(314),L=n(315),D=n(253),k=n(240),O=n(316),R=n(317),N=n(239),V=n(266),z=n(260),B=n(321),F=N.each,G=I.parseClassType,H=1e3,W=5e3,j=1e3,U=2e3,q=3e3,Z=4e3,Y=5e3,X="__flagInMainProcess",K="__hasGradientOrPatternBg",Q="__optionUpdated",J=/^[a-zA-Z0-9_]+$/;a.prototype.on=r("on"),a.prototype.off=r("off"),a.prototype.one=r("one"),N.mixin(a,z);var $=i.prototype;$._onframe=function(){if(this[Q]){var e=this[Q].silent;this[X]=!0,ee.prepareAndUpdate.call(this),this[X]=!1,this[Q]=!1,u.call(this,e),c.call(this,e)}},$.getDom=function(){return this._dom},$.getZr=function(){return this._zr},$.setOption=function(e,t,n){__DEV__&&N.assert(!this[X],"`setOption` should not be called during main process.");var r;if(N.isObject(t)&&(n=t.lazyUpdate,r=t.silent,t=t.notMerge),this[X]=!0,!this._model||t){var a=new A(this._api),i=this._theme,o=this._model=new M(null,null,i,a);o.init(null,null,i,a)}this._model.setOption(e,ie),n?(this[Q]={silent:r},this[X]=!1):(ee.prepareAndUpdate.call(this),this._zr.flush(),this[Q]=!1,this[X]=!1,u.call(this,r),c.call(this,r))},$.setTheme=function(){console.log("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},$.getModel=function(){return this._model},$.getOption=function(){return this._model&&this._model.getOption()},$.getWidth=function(){return this._zr.getWidth()},$.getHeight=function(){return this._zr.getHeight()},$.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},$.getRenderedCanvas=function(e){if(S.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr,n=t.storage.getDisplayList();return N.each(n,function(e){e.stopAnimation(!0)}),t.painter.getRenderedCanvas(e)}},$.getDataURL=function(e){e=e||{};var t=e.excludeComponents,n=this._model,r=[],a=this;F(t,function(e){n.eachComponent({mainType:e},function(e){var t=a._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)})});var i=this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return F(r,function(e){e.group.ignore=!1}),i},$.getConnectedDataURL=function(e){if(S.canvasSupported){var t=this.group,n=Math.min,r=Math.max,a=1/0;if(he[t]){var i=a,o=a,s=-a,l=-a,u=[],c=e&&e.pixelRatio||1;N.each(ce,function(a,c){if(a.group===t){var h=a.getRenderedCanvas(N.clone(e)),d=a.getDom().getBoundingClientRect();i=n(d.left,i),o=n(d.top,o),s=r(d.right,s),l=r(d.bottom,l),u.push({dom:h,left:d.left,top:d.top})}}),i*=c,o*=c,s*=c,l*=c;var h=s-i,d=l-o,p=N.createCanvas();p.width=h,p.height=d;var f=R.init(p);return F(u,function(e){var t=new D.Image({style:{x:e.left*c-i,y:e.top*c-o,image:e.dom}});f.add(t)}),f.refreshImmediately(),p.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},$.convertToPixel=N.curry(o,"convertToPixel"),$.convertFromPixel=N.curry(o,"convertFromPixel"),$.containPixel=function(e,t){var n,r=this._model;return e=k.parseFinder(r,e),N.each(e,function(e,r){r.indexOf("Models")>=0&&N.each(e,function(e){var a=e.coordinateSystem;if(a&&a.containPoint)n|=!!a.containPoint(t);else if("seriesModels"===r){var i=this._chartsMap[e.__viewId];i&&i.containPoint?n|=i.containPoint(t,e):__DEV__&&console.warn(r+": "+(i?"The found component do not support containPoint.":"No view mapping to the found component."))}else __DEV__&&console.warn(r+": containPoint is not supported")},this)},this),!!n},$.getVisual=function(e,t){var n=this._model;e=k.parseFinder(n,e,{defaultMainType:"series"});var r=e.seriesModel;__DEV__&&(r||console.warn("There is no specified seires model"));var a=r.getData(),i=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?a.indexOfRawIndex(e.dataIndex):null;return null!=i?a.getItemVisual(i,t):a.getVisual(t)},$.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},$.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var ee={update:function(e){var t=this._model,n=this._api,r=this._coordSysMgr,a=this._zr;if(t){t.restoreData(),r.create(this._model,this._api),p.call(this,t,n),f.call(this,t),r.update(t,n),m.call(this,t,e),v.call(this,t,e);var i=t.get("backgroundColor")||"transparent",o=a.painter;if(o.isSingleCanvas&&o.isSingleCanvas())a.configLayer(0,{clearColor:i});else{if(!S.canvasSupported){var s=V.parse(i);i=V.stringify(s,"rgb"),0===s[3]&&(i="transparent")}i.colorStops||i.image?(a.configLayer(0,{clearColor:i}),this[K]=!0,this._dom.style.background="transparent"):(this[K]&&a.configLayer(0,{clearColor:null}),this[K]=!1,this._dom.style.background=i)}F(oe,function(e){e(t,n)})}},updateView:function(e){var t=this._model;t&&(t.eachSeries(function(e){e.getData().clearAllVisual()}),m.call(this,t,e),h.call(this,"updateView",t,e))},updateVisual:function(e){var t=this._model;t&&(t.eachSeries(function(e){e.getData().clearAllVisual()}),m.call(this,t,e,!0),h.call(this,"updateVisual",t,e))},updateLayout:function(e){var t=this._model;t&&(g.call(this,t,e),h.call(this,"updateLayout",t,e))},prepareAndUpdate:function(e){var t=this._model;d.call(this,"component",t),d.call(this,"chart",t),ee.update.call(this,e)}};$.resize=function(e){__DEV__&&N.assert(!this[X],"`resize` should not be called during main process."),this[X]=!0,this._zr.resize(e);var t=this._model&&this._model.resetOption("media"),n=t?"prepareAndUpdate":"update";ee[n].call(this),this._loadingFX&&this._loadingFX.resize(),this[X]=!1;var r=e&&e.silent;u.call(this,r),c.call(this,r)},$.showLoading=function(e,t){if(N.isObject(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),!ue[e])return void(__DEV__&&console.warn("Loading effects "+e+" not exists."));var n=ue[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)},$.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},$.makeActionFromEvent=function(e){var t=N.extend({},e);return t.type=re[e.type],t},$.dispatchAction=function(e,t){if(N.isObject(t)||(t={silent:!!t}),ne[e.type]){if(this[X])return void this._pendingActions.push(e);l.call(this,e,t.silent),t.flush?this._zr.flush(!0):t.flush!==!1&&S.browser.weChat&&this._throttledZrFlush(),u.call(this,t.silent),c.call(this,t.silent)}},$.on=r("on"),$.off=r("off"),$.one=r("one");var te=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];$._initEvents=function(){F(te,function(e){this._zr.on(e,function(t){var n,r=this.getModel(),a=t.target;if("globalout"===e)n={};else if(a&&null!=a.dataIndex){var i=a.dataModel||r.getSeriesByIndex(a.seriesIndex);n=i&&i.getDataParams(a.dataIndex,a.dataType)||{}}else a&&a.eventData&&(n=N.extend({},a.eventData));n&&(n.event=t,n.type=e,this.trigger(e,n))},this)},this),F(re,function(e,t){this._messageCenter.on(t,function(e){this.trigger(t,e)},this)},this)},$.isDisposed=function(){return this._disposed},$.clear=function(){this.setOption({series:[]},!0)},$.dispose=function(){if(this._disposed)return void(__DEV__&&console.warn("Instance "+this.id+" has been disposed"));this._disposed=!0;var e=this._api,t=this._model;F(this._componentsViews,function(n){n.dispose(t,e)}),F(this._chartsViews,function(n){n.dispose(t,e)}),this._zr.dispose(),delete ce[this.id]},N.mixin(i,z);var ne={},re={},ae=[],ie=[],oe=[],se=[],le={},ue={},ce={},he={},de=new Date-0,pe=new Date-0,fe="_echarts_instance_",ge={version:"3.6.1",dependencies:{zrender:"3.5.1"}};ge.init=function(e,t,n){if(__DEV__){if(R.version.replace(".","")-0=11)}}var r={};r="undefined"==typeof navigator?{browser:{},os:{},node:!0,canvasSupported:!0}:n(navigator.userAgent),e.exports=r},function(e,t,n){function r(e,t){c.each(t,function(t,n){x.hasClass(n)||("object"==typeof t?e[n]=e[n]?c.merge(e[n],t,!1):c.clone(t):null==e[n]&&(e[n]=t))})}function a(e){e=e,this.option={},this.option[b]=1,this._componentsMap=c.createHashMap({series:[]}),this._seriesIndices=null,r(e,this._theme.option),c.merge(e,_,!1),this.mergeOption(e)}function i(e,t){c.isArray(t)||(t=t?[t]:[]);var n={};return p(t,function(t){n[t]=(e.get(t)||[]).slice()}),n}function o(e,t,n){var r=t.type?t.type:n?n.subType:x.determineSubType(e,t);return r}function s(e){return g(e,function(e){return e.componentIndex})||[]}function l(e,t){return t.hasOwnProperty("subType")?f(e,function(e){return e.subType===t.subType}):e}function u(e){if(__DEV__&&!e._seriesIndices)throw new Error("Option should contains series.")}var c=n(239),h=n(240),d=n(247),p=c.each,f=c.filter,g=c.map,m=c.isArray,v=c.indexOf,y=c.isObject,x=n(304),_=n(308),b="\0_ec_inner",w=d.extend({constructor:w,init:function(e,t,n,r){n=n||{},this.option=null,this._theme=new d(n),this._optionManager=r},setOption:function(e,t){c.assert(!(b in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,n=this._optionManager;if(!e||"recreate"===e){var r=n.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(r)):a.call(this,r),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var i=n.getTimelineOption(this);i&&(this.mergeOption(i),t=!0)}if(!e||"recreate"===e||"media"===e){var o=n.getMediaOption(this,this._api);o.length&&p(o,function(e){this.mergeOption(e,t=!0)},this)}return t},mergeOption:function(e){function t(t,a){var l=h.normalizeToArray(e[t]),u=h.mappingToExists(r.get(t),l);h.makeIdAndName(u),p(u,function(e,n){var r=e.option;y(r)&&(e.keyInfo.mainType=t,e.keyInfo.subType=o(t,r,e.exist))});var d=i(r,a);n[t]=[],r.set(t,[]),p(u,function(e,a){var i=e.exist,o=e.option;if(c.assert(y(o)||i,"Empty component definition"),o){var s=x.getClass(t,e.keyInfo.subType,!0);if(i&&i instanceof s)i.name=e.keyInfo.name,i.mergeOption(o,this),i.optionUpdated(o,!1);else{var l=c.extend({dependentModels:d,componentIndex:a},e.keyInfo);i=new s(o,this,this,l),c.extend(i,l),i.init(o,this,this,l),i.optionUpdated(null,!0)}}else i.mergeOption({},this),i.optionUpdated({},!1);r.get(t)[a]=i,n[t][a]=i.option},this),"series"===t&&(this._seriesIndices=s(r.get("series")))}var n=this.option,r=this._componentsMap,a=[];p(e,function(e,t){null!=e&&(x.hasClass(t)?a.push(t):n[t]=null==n[t]?c.clone(e):c.merge(n[t],e,!0))}),x.topologicalTravel(a,x.getAllClassMainTypes(),t,this),this._seriesIndices=this._seriesIndices||[]},getOption:function(){var e=c.clone(this.option);return p(e,function(t,n){if(x.hasClass(n)){for(var t=h.normalizeToArray(t),r=t.length-1;r>=0;r--)h.isIdInner(t[r])&&t.splice(r,1);e[n]=t}}),delete e[b],e},getTheme:function(){return this._theme},getComponent:function(e,t){var n=this._componentsMap.get(e);if(n)return n[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var n=e.index,r=e.id,a=e.name,i=this._componentsMap.get(t);if(!i||!i.length)return[];var o;if(null!=n)m(n)||(n=[n]),o=f(g(n,function(e){return i[e]}),function(e){return!!e});else if(null!=r){var s=m(r);o=f(i,function(e){return s&&v(r,e.id)>=0||!s&&e.id===r})}else if(null!=a){var u=m(a);o=f(i,function(e){return u&&v(a,e.name)>=0||!u&&e.name===a})}else o=i.slice();return l(o,e)},findComponents:function(e){function t(e){var t=a+"Index",n=a+"Id",r=a+"Name";return!e||null==e[t]&&null==e[n]&&null==e[r]?null:{mainType:a,index:e[t],id:e[n],name:e[r]}}function n(t){return e.filter?f(t,e.filter):t}var r=e.query,a=e.mainType,i=t(r),o=i?this.queryComponents(i):this._componentsMap.get(a);return n(l(o,e))},eachComponent:function(e,t,n){var r=this._componentsMap;if("function"==typeof e)n=t,t=e,r.each(function(e,r){p(e,function(e,a){t.call(n,r,e,a)})});else if(c.isString(e))p(r.get(e),t,n);else if(y(e)){var a=this.findComponents(e);p(a,t,n)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return f(t,function(t){return t.name===e})},getSeriesByIndex:function(e){return this._componentsMap.get("series")[e]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return f(t,function(t){return t.subType===e})},getSeries:function(){return this._componentsMap.get("series").slice()},eachSeries:function(e,t){u(this),p(this._seriesIndices,function(n){var r=this._componentsMap.get("series")[n];e.call(t,r,n)},this)},eachRawSeries:function(e,t){p(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,n){u(this),p(this._seriesIndices,function(r){var a=this._componentsMap.get("series")[r];a.subType===e&&t.call(n,a,r)},this)},eachRawSeriesByType:function(e,t,n){return p(this.getSeriesByType(e),t,n)},isSeriesFiltered:function(e){return u(this),c.indexOf(this._seriesIndices,e.componentIndex)<0},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){u(this);var n=f(this._componentsMap.get("series"),e,t);this._seriesIndices=s(n)},restoreData:function(){var e=this._componentsMap;this._seriesIndices=s(e.get("series"));var t=[];e.each(function(e,n){t.push(n)}),x.topologicalTravel(t,x.getAllClassMainTypes(),function(t,n){p(e.get(t),function(e){e.restoreData()})})}});c.mixin(w,n(309)),e.exports=w},function(e,t){function n(e){if(null==e||"object"!=typeof e)return e;var t=e,r=V.call(e);if("[object Array]"===r){t=[];for(var a=0,i=e.length;a=n.length&&n.push({option:e})}}),n},c.makeIdAndName=function(e){var t=s.createHashMap();l(e,function(e,n){var r=e.exist;r&&t.set(r.id,e)}),l(e,function(e,n){var r=e.option;s.assert(!r||null==r.id||!t.get(r.id)||t.get(r.id)===e,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&t.set(r.id,e),!e.keyInfo&&(e.keyInfo={})}),l(e,function(e,n){var r=e.exist,a=e.option,i=e.keyInfo;if(u(a)){if(i.name=null!=a.name?a.name+"":r?r.name:"\0-",r)i.id=r.id;else if(null!=a.id)i.id=a.id+"";else{var o=0;do i.id="\0"+i.name+"\0"+o++;while(t.get(i.id))}t.set(i.id,e)}})},c.isIdInner=function(e){return u(e)&&e.id&&0===(e.id+"").indexOf("\0_ec_\0")},c.compressBatches=function(e,t){function n(e,t,n){for(var r=0,a=e.length;r1?"."+e[1]:""))},o.toCamelCase=function(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e},o.normalizeCssArray=function(e){var t=e.length;return"number"==typeof e?[e,e,e,e]:2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e};var s=o.encodeHTML=function(e){return String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},l=["a","b","c","d","e","f","g"],u=function(e,t){return"{"+e+(null==t?"":t)+"}"};o.formatTpl=function(e,t,n){r.isArray(t)||(t=[t]);var a=t.length;if(!a)return"";for(var i=t[0].$vars||[],o=0;o':""};var c=function(e){return e<10?"0"+e:e};o.formatTime=function(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var r=a.parseDate(t),i=n?"UTC":"",o=r["get"+i+"FullYear"](),s=r["get"+i+"Month"]()+1,l=r["get"+i+"Date"](),u=r["get"+i+"Hours"](),h=r["get"+i+"Minutes"](),d=r["get"+i+"Seconds"]();return e=e.replace("MM",c(s)).toLowerCase().replace("yyyy",o).replace("yy",o%100).replace("dd",c(l)).replace("d",l).replace("hh",c(u)).replace("h",u).replace("mm",c(h)).replace("m",h).replace("ss",c(d)).replace("s",d)},o.capitalFirst=function(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e},o.truncateText=i.truncateText,e.exports=o},function(e,t){function n(e){return e.replace(/^\s+/,"").replace(/\s+$/,"")}function r(e){return Math.floor(Math.log(e)/Math.LN10)}var a={},i=1e-4;a.linearMap=function(e,t,n,r){var a=t[1]-t[0],i=n[1]-n[0];if(0===a)return 0===i?n[0]:(n[0]+n[1])/2;if(r)if(a>0){if(e<=t[0])return n[0];if(e>=t[1])return n[1]}else{if(e>=t[0])return n[0];if(e<=t[1])return n[1]}else{if(e===t[0])return n[0];if(e===t[1])return n[1]}return(e-t[0])/a*i+n[0]},a.parsePercent=function(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return"string"==typeof e?n(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e},a.round=function(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e},a.asc=function(e){return e.sort(function(e,t){return e-t}),e},a.getPrecision=function(e){if(e=+e,isNaN(e))return 0;for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n},a.getPrecisionSafe=function(e){var t=e.toString(),n=t.indexOf("e");if(n>0){var r=+t.slice(n+1);return r<0?-r:0}var a=t.indexOf(".");return a<0?0:t.length-1-a},a.getPixelPrecision=function(e,t){var n=Math.log,r=Math.LN10,a=Math.floor(n(e[1]-e[0])/r),i=Math.round(n(Math.abs(t[1]-t[0]))/r),o=Math.min(Math.max(-a+i,0),20);return isFinite(o)?o:20},a.MAX_SAFE_INTEGER=9007199254740991,a.remRadian=function(e){var t=2*Math.PI;return(e%t+t)%t},a.isRadianAroundZero=function(e){return e>-i&&e=-20?+e.toFixed(a<0?-a:0):e},a.reformIntervals=function(e){function t(e,n,r){return e.interval[r]=0},e.exports=a},function(e,t,n){function r(e,t){var n=e+":"+t;if(l[n])return l[n];for(var r=(e+"").split("\n"),a=0,i=0,o=r.length;ic&&(u=0,l={}),u++,l[n]=a,a}function a(e,t,n,a){var i=((e||"")+"").split("\n").length,o=r(e,t),s=r("国",t),l=i*s,u=new d(0,0,o,l);switch(u.lineHeight=s,a){case"bottom":case"alphabetic":u.y-=s;break;case"middle":u.y-=s/2}switch(n){case"end":case"right":u.x-=u.width;break;case"center":u.x-=u.width/2}return u}function i(e,t,n,r){var a=t.x,i=t.y,o=t.height,s=t.width,l=n.height,u=n.lineHeight,c=o/2-l/2+u,h="left";switch(e){case"left":a-=r,i+=c,h="right";break;case"right":a+=r+s,i+=c,h="left";break;case"top":a+=s/2,i-=r+l-u,h="center";break;case"bottom":a+=s/2,i+=o+r+u,h="center";break;case"inside":a+=s/2,i+=c,h="center";break;case"insideLeft":a+=r,i+=c,h="left";break;case"insideRight":a+=s-r,i+=c,h="right";break;case"insideTop":a+=s/2,i+=r+u,h="center";break;case"insideBottom":a+=s/2,i+=o-l-r+u,h="center";break;case"insideTopLeft":a+=r,i+=r+u,h="left";break;case"insideTopRight":a+=s-r,i+=r+u,h="right";break;case"insideBottomLeft":a+=r,i+=o-l-r+u;break;case"insideBottomRight":a+=s-r,i+=o-l-r+u,h="right"}return{x:a,y:i,textAlign:h,textBaseline:"alphabetic"}}function o(e,t,n,a,i){if(!t)return"";i=i||{},a=p(a,"...");for(var o=p(i.maxIterations,2),l=p(i.minChar,0),u=r("国",n),c=r("a",n),h=p(i.placeholder,""),d=t=Math.max(0,t-1),f=0;f=c;f++)d-=c;var g=r(a);g>d&&(a="",g=0),d=t-g;for(var m=(e+"").split("\n"),f=0,v=m.length;f=o){y+=a;break}var b=0===_?s(y,d,c,u):x>0?Math.floor(y.length*d/x):0;y=y.substr(0,b),x=r(y,n)}""===y&&(y=h),m[f]=y}}return m.join("\n")}function s(e,t,n,r){for(var a=0,i=0,o=e.length;i=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},clone:function(){return new r(this.x,this.y,this.width,this.height)},copy:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},r.create=function(e){return new r(e.x,e.y,e.width,e.height)},e.exports=r},function(e,t){var n="undefined"==typeof Float32Array?Array:Float32Array,r={create:function(e,t){var r=new n(2);return null==e&&(e=0),null==t&&(t=0),r[0]=e,r[1]=t,r},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},clone:function(e){var t=new n(2);return t[0]=e[0],t[1]=e[1],t},set:function(e,t,n){return e[0]=t,e[1]=n,e},add:function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e},scaleAndAdd:function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e},sub:function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e},len:function(e){return Math.sqrt(this.lenSquare(e))},lenSquare:function(e){return e[0]*e[0]+e[1]*e[1]},mul:function(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e},div:function(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]},scale:function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e},normalize:function(e,t){var n=r.len(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e},distance:function(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))},distanceSquare:function(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])},negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e},lerp:function(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e},applyTransform:function(e,t,n){var r=t[0],a=t[1];return e[0]=n[0]*r+n[2]*a+n[4],e[1]=n[1]*r+n[3]*a+n[5],e},min:function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e},max:function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}};r.length=r.len,r.lengthSquare=r.lenSquare,r.dist=r.distance,r.distSquare=r.distanceSquare,e.exports=r},function(e,t){var n="undefined"==typeof Float32Array?Array:Float32Array,r={create:function(){var e=new n(6);return r.identity(e),e},identity:function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e},mul:function(e,t,n){var r=t[0]*n[0]+t[2]*n[1],a=t[1]*n[0]+t[3]*n[1],i=t[0]*n[2]+t[2]*n[3],o=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=a,e[2]=i,e[3]=o,e[4]=s,e[5]=l,e},translate:function(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e},rotate:function(e,t,n){var r=t[0],a=t[2],i=t[4],o=t[1],s=t[3],l=t[5],u=Math.sin(n),c=Math.cos(n);return e[0]=r*c+o*u,e[1]=-r*u+o*c,e[2]=a*c+s*u,e[3]=-a*u+c*s,e[4]=c*i+u*l,e[5]=c*l-u*i,e},scale:function(e,t,n){var r=n[0],a=n[1];return e[0]=t[0]*r,e[1]=t[1]*a,e[2]=t[2]*r,e[3]=t[3]*a,e[4]=t[4]*r,e[5]=t[5]*a,e},invert:function(e,t){var n=t[0],r=t[2],a=t[4],i=t[1],o=t[3],s=t[5],l=n*o-i*r;return l?(l=1/l,e[0]=o*l,e[1]=-i*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-o*a)*l,e[5]=(i*a-n*s)*l,e):null}};e.exports=r},function(e,t,n){function r(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}function a(e,t,n){for(var r=0;r=0||n&&r.indexOf(n,o)<0)){var s=this.getShallow(o);null!=s&&(a[e[i][0]]=s)}}return a}}},function(e,t,n){e.exports={getAreaStyle:n(250)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]])}},function(e,t,n){var r=n(243),a=n(253);e.exports={getTextColor:function(){var e=this.ecModel;return this.getShallow("color")||e&&e.get("textStyle.color")},getFont:function(){return a.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(e){return r.getBoundingRect(e,this.getFont(),this.getShallow("align"),this.getShallow("baseline"))},truncateText:function(e,t,n,a){return r.truncateText(e,t,this.getFont(),n,a)}}},function(e,t,n){"use strict";function r(e){return null!=e&&"none"!=e}function a(e){return"string"==typeof e?x.lift(e,-.1):e}function i(e){if(e.__hoverStlDirty){var t=e.style.stroke,n=e.style.fill,i=e.__hoverStl;i.fill=i.fill||(r(n)?a(n):null),i.stroke=i.stroke||(r(t)?a(t):null);var o={};for(var s in i)i.hasOwnProperty(s)&&(o[s]=e.style[s]);e.__normalStl=o,e.__hoverStlDirty=!1}}function o(e){e.__isHover||(i(e),e.useHoverLayer?e.__zr&&e.__zr.addHover(e,e.__hoverStl):(e.setStyle(e.__hoverStl),e.z2+=1),e.__isHover=!0)}function s(e){if(e.__isHover){var t=e.__normalStl;e.useHoverLayer?e.__zr&&e.__zr.removeHover(e):(t&&e.setStyle(t),e.z2-=1),e.__isHover=!1}}function l(e){"group"===e.type?e.traverse(function(e){"group"!==e.type&&o(e)}):o(e)}function u(e){"group"===e.type?e.traverse(function(e){"group"!==e.type&&s(e)}):s(e)}function c(e,t){e.__hoverStl=e.hoverStyle||t||{},e.__hoverStlDirty=!0,e.__isHover&&i(e)}function h(e){this.__hoverSilentOnTouch&&e.zrByTouch||!this.__isEmphasis&&l(this)}function d(e){this.__hoverSilentOnTouch&&e.zrByTouch||!this.__isEmphasis&&u(this)}function p(){this.__isEmphasis=!0,l(this)}function f(){this.__isEmphasis=!1,u(this)}function g(e,t,n,r,a,i){"function"==typeof a&&(i=a,a=null);var o=r&&r.isAnimationEnabled();if(o){var s=e?"Update":"",l=r.getShallow("animationDuration"+s),u=r.getShallow("animationEasing"+s),c=r.getShallow("animationDelay"+s);"function"==typeof c&&(c=c(a,r.getAnimationDelayParams?r.getAnimationDelayParams(t,a):null)),"function"==typeof l&&(l=l(a)),l>0?t.animateTo(n,l,c||0,u,i):(t.stopAnimation(),t.attr(n),i&&i())}else t.stopAnimation(),t.attr(n),i&&i()}var m=n(239),v=n(254),y=n(255),x=n(266),_=n(246),b=n(245),w=n(261),S=n(244),M=Math.round,C=Math.max,T=Math.min,A={};A.Group=n(283),A.Image=n(284),A.Text=n(285),A.Circle=n(286),A.Sector=n(287),A.Ring=n(288),A.Polygon=n(289),A.Polyline=n(293),A.Rect=n(294),A.Line=n(296),A.BezierCurve=n(297),A.Arc=n(298),A.CompoundPath=n(299),A.LinearGradient=n(300),A.RadialGradient=n(302),A.BoundingRect=S,A.extendShape=function(e){return y.extend(e)},A.extendPath=function(e,t){return v.extendFromString(e,t)},A.makePath=function(e,t,n,r){var a=v.createFromString(e,t),i=a.getBoundingRect();if(n){var o=i.width/i.height;if("center"===r){var s,l=n.height*o;l<=n.width?s=n.height:(l=n.width,s=l/o);var u=n.x+n.width/2,c=n.y+n.height/2;n.x=u-l/2,n.y=c-s/2,n.width=l,n.height=s}A.resizePath(a,n)}return a},A.mergePath=v.mergePath,A.resizePath=function(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}},A.subPixelOptimizeLine=function(e){var t=A.subPixelOptimize,n=e.shape,r=e.style.lineWidth;return M(2*n.x1)===M(2*n.x2)&&(n.x1=n.x2=t(n.x1,r,!0)),M(2*n.y1)===M(2*n.y2)&&(n.y1=n.y2=t(n.y1,r,!0)),e},A.subPixelOptimizeRect=function(e){var t=A.subPixelOptimize,n=e.shape,r=e.style.lineWidth,a=n.x,i=n.y,o=n.width,s=n.height;return n.x=t(n.x,r,!0),n.y=t(n.y,r,!0),n.width=Math.max(t(a+o,r,!1)-n.x,0===o?0:1),n.height=Math.max(t(i+s,r,!1)-n.y,0===s?0:1),e},A.subPixelOptimize=function(e,t,n){var r=M(2*e);return(r+M(t))%2===0?r/2:(r+(n?1:-1))/2},A.setHoverStyle=function(e,t,n){e.__hoverSilentOnTouch=n&&n.hoverSilentOnTouch,"group"===e.type?e.traverse(function(e){"group"!==e.type&&c(e,t)}):c(e,t),e.on("mouseover",h).on("mouseout",d),e.on("emphasis",p).on("normal",f)},A.setText=function(e,t,n){var r=t.getShallow("position")||"inside",a=t.getShallow("offset"),i=r.indexOf("inside")>=0?"white":n,o=t.getModel("textStyle");m.extend(e,{textDistance:t.getShallow("distance")||5,textFont:o.getFont(),textPosition:r,textOffset:a,textFill:o.getTextColor()||i})},A.getFont=function(e,t){var n=t&&t.getModel("textStyle");return[e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" ")},A.updateProps=function(e,t,n,r,a){g(!0,e,t,n,r,a)},A.initProps=function(e,t,n,r,a){g(!1,e,t,n,r,a)},A.getTransform=function(e,t){for(var n=_.identity([]);e&&e!==t;)_.mul(n,e.getLocalTransform(),n),e=e.parent;return n},A.applyTransform=function(e,t,n){return t&&!m.isArrayLike(t)&&(t=w.getLocalTransform(t)),n&&(t=_.invert([],t)),b.applyTransform([],e,t)},A.transformDirection=function(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),a=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),i=["left"===e?-r:"right"===e?r:0,"top"===e?-a:"bottom"===e?a:0];return i=A.applyTransform(i,t,n),Math.abs(i[0])>Math.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"},A.groupTransition=function(e,t,n,r){function a(e){var t={};return e.traverse(function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)}),t}function i(e){var t={position:b.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=m.extend({},e.shape)),t}if(e&&t){var o=a(e);t.traverse(function(e){if(!e.isGroup&&e.anid){var t=o[e.anid];if(t){var r=i(e);e.attr(i(t)),A.updateProps(e,r,n,e.dataIndex)}}})}},A.clipPointsByRect=function(e,t){return m.map(e,function(e){var n=e[0];n=C(n,t.x),n=T(n,t.x+t.width);var r=e[1];return r=C(r,t.y),r=T(r,t.y+t.height),[n,r]})},A.clipRectByRect=function(e,t){var n=C(e.x,t.x),r=T(e.x+e.width,t.x+t.width),a=C(e.y,t.y),i=T(e.y+e.height,t.y+t.height);if(r>=n&&i>=a)return{x:n,y:a,width:r-n,height:i-a}},e.exports=A},function(e,t,n){function r(e,t,n,r,a,i,o,s,l,u,f){var v=l*(p/180),y=d(v)*(e-n)/2+h(v)*(t-r)/2,x=-1*h(v)*(e-n)/2+d(v)*(t-r)/2,_=y*y/(o*o)+x*x/(s*s);_>1&&(o*=c(_),s*=c(_));var b=(a===i?-1:1)*c((o*o*(s*s)-o*o*(x*x)-s*s*(y*y))/(o*o*(x*x)+s*s*(y*y)))||0,w=b*o*x/s,S=b*-s*y/o,M=(e+n)/2+d(v)*w-h(v)*S,C=(t+r)/2+h(v)*w+d(v)*S,T=m([1,0],[(y-w)/o,(x-S)/s]),A=[(y-w)/o,(x-S)/s],I=[(-1*y-w)/o,(-1*x-S)/s],E=m(A,I);g(A,I)<=-1&&(E=p),g(A,I)>=1&&(E=0),0===i&&E>0&&(E-=2*p),1===i&&E<0&&(E+=2*p),f.addData(u,M,C,o,s,T,E,v,i)}function a(e){if(!e)return[];var t,n=e.replace(/-/g," -").replace(/ /g," ").replace(/ /g,",").replace(/,,/g,",");for(t=0;t0&&""===m[0]&&m.shift();for(var v=0;v1e-10&&(a.width+=i/s,a.height+=i/s,a.x-=i/s/2,a.y-=i/s/2)}return a}return e},contain:function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),a=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var i=this.path.data;if(a.hasStroke()){var o=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(a.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),s.containStroke(i,o/l,e,t)))return!0}if(a.hasFill())return s.contain(i,e,t)}return!1},dirty:function(e){null==e&&(e=!0),e&&(this.__dirtyPath=e,this._rect=null),this.__dirty=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(e){return this.animate("shape",e)},attrKV:function(e,t){"shape"===e?(this.setShape(t),this.__dirtyPath=!0,this._rect=null):a.prototype.attrKV.call(this,e,t)},setShape:function(e,t){var n=this.shape;if(n){if(i.isObject(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);else n[e]=t;this.dirty(!0)}return this},getLineScale:function(){var e=this.transform;return e&&c(e[0]-1)>1e-10&&c(e[3]-1)>1e-10?Math.sqrt(c(e[0]*e[3]-e[2]*e[1])):1}},r.extend=function(e){var t=function(t){r.call(this,t),e.style&&this.style.extendFrom(e.style,!1);var n=e.shape;if(n){this.shape=this.shape||{};var a=this.shape;for(var i in n)!a.hasOwnProperty(i)&&n.hasOwnProperty(i)&&(a[i]=n[i])}e.init&&e.init.call(this,t)};i.inherits(t,r);for(var n in e)"style"!==n&&"shape"!==n&&(t.prototype[n]=e[n]);return t},i.inherits(r,a),e.exports=r},function(e,t,n){function r(e){e=e||{},o.call(this,e);for(var t in e)e.hasOwnProperty(t)&&"style"!==t&&(this[t]=e[t]);this.style=new i(e.style),this._rect=null,this.__clipPaths=[]}var a=n(239),i=n(257),o=n(258),s=n(270);r.prototype={constructor:r,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:-1,beforeBrush:function(e){},afterBrush:function(e){},brush:function(e,t){},getBoundingRect:function(){},contain:function(e,t){return this.rectContain(e,t)},traverse:function(e,t){e.call(t,this)},rectContain:function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return r.contain(n[0],n[1])},dirty:function(){this.__dirty=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(e){return this.animate("style",e)},attrKV:function(e,t){"style"!==e?o.prototype.attrKV.call(this,e,t):this.style.set(t)},setStyle:function(e,t){return this.style.set(e,t),this.dirty(!1),this},useStyle:function(e){return this.style=new i(e),this.dirty(!1),this}},a.inherits(r,o),a.mixin(r,s),e.exports=r},function(e,t){function n(e,t,n){var r=null==t.x?0:t.x,a=null==t.x2?1:t.x2,i=null==t.y?0:t.y,o=null==t.y2?0:t.y2;t.global||(r=r*n.width+n.x,a=a*n.width+n.x,i=i*n.height+n.y,o=o*n.height+n.y);var s=e.createLinearGradient(r,i,a,o);return s}function r(e,t,n){var r=n.width,a=n.height,i=Math.min(r,a),o=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;t.global||(o=o*r+n.x,s=s*a+n.y,l*=i);var u=e.createRadialGradient(o,s,0,o,s,l);return u}var a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],i=function(e){this.extendFrom(e)};i.prototype={constructor:i,fill:"#000000",stroke:null,opacity:1,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,textFill:"#000",textStroke:null,textPosition:"inside",textOffset:null,textBaseline:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textTransform:!1,textRotation:0,blend:null,bind:function(e,t,n){for(var r=this,i=n&&n.style,o=!i,s=0;s0},extendFrom:function(e,t){if(e){var n=this;for(var r in e)!e.hasOwnProperty(r)||!t&&n.hasOwnProperty(r)||(n[r]=e[r])}},set:function(e,t){"string"==typeof e?this[e]=t:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,t,a){for(var i="radial"===t.type?r:n,o=i(e,t,a),s=t.colorStops,l=0;l3&&(t=n.call(t,1));for(var a=this._$handlers[e],i=a.length,o=0;o4&&(t=n.call(t,1,t.length-1));for(var a=t[t.length-1],i=this._$handlers[e],o=i.length,s=0;ss||e<-s}var a=n(246),i=n(245),o=a.identity,s=5e-5,l=function(e){e=e||{},e.position||(this.position=[0,0]),null==e.rotation&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return r(this.rotation)||r(this.position[0])||r(this.position[1])||r(this.scale[0]-1)||r(this.scale[1]-1)},u.updateTransform=function(){var e=this.parent,t=e&&e.transform,n=this.needLocalTransform(),r=this.transform;return n||t?(r=r||a.create(),n?this.getLocalTransform(r):o(r),t&&(n?a.mul(r,e.transform,r):a.copy(r,e.transform)),this.transform=r,this.invTransform=this.invTransform||a.create(),void a.invert(this.invTransform,r)):void(r&&o(r))},u.getLocalTransform=function(e){return l.getLocalTransform(this,e)},u.setTransform=function(e){var t=this.transform,n=e.dpr||1;t?e.setTransform(n*t[0],n*t[1],n*t[2],n*t[3],n*t[4],n*t[5]):e.setTransform(n,0,0,n,0,0)},u.restoreTransform=function(e){var t=e.dpr||1;e.setTransform(t,0,0,t,0,0)};var c=[];u.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(a.mul(c,e.invTransform,t),t=c);var n=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],o=this.position,s=this.scale;r(n-1)&&(n=Math.sqrt(n)),r(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(n=-n),t[3]<0&&(i=-i),o[0]=t[4],o[1]=t[5],s[0]=n,s[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/n)}},u.getGlobalScale=function(){var e=this.transform;if(!e)return[1,1];var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]),n=Math.sqrt(e[2]*e[2]+e[3]*e[3]);return e[0]<0&&(t=-t),e[3]<0&&(n=-n),[t,n]},u.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&i.applyTransform(n,n,r),n},u.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&i.applyTransform(n,n,r),n},l.getLocalTransform=function(e,t){t=t||[],o(t);var n=e.origin,r=e.scale||[1,1],i=e.rotation||0,s=e.position||[0,0];return n&&(t[4]-=n[0],t[5]-=n[1]),a.scale(t,t,r),i&&a.rotate(t,t,i),n&&(t[4]+=n[0],t[5]+=n[1]),t[4]+=s[0],t[5]+=s[1],t},e.exports=l},function(e,t,n){"use strict";var r=n(263),a=n(239),i=a.isString,o=a.isFunction,s=a.isObject,l=n(268),u=function(){this.animators=[]};u.prototype={constructor:u,animate:function(e,t){var n,i=!1,o=this,s=this.__zr;if(e){var u=e.split("."),c=o;i="shape"===u[0];for(var h=0,d=u.length;h0&&this.animate(e,!1).when(null==r?500:r,o).delay(i||0),this}},e.exports=u},function(e,t,n){function r(e,t){return e[t]}function a(e,t,n){e[t]=n}function i(e,t,n){return(t-e)*n+e}function o(e,t,n){return n>.5?t:e}function s(e,t,n,r,a){var o=e.length;if(1==a)for(var s=0;sa;if(i)e.length=a;else for(var o=r;o=0&&!(A[n]<=t);n--);n=Math.min(n,_-2)}else{for(n=G;n<_&&!(A[n]>t);n++);n=Math.min(n-1,_-2)}G=n,H=t;var r=A[n+1]-A[n];if(0!==r)if(N=(t-A[n])/r,y)if(z=I[n],V=I[0===n?n:n-1],B=I[n>_-2?_-1:n+1],F=I[n>_-3?_-1:n+2],S)c(V,z,B,F,N,N*N,N*N*N,d(e,a),T);else{var l;if(M)l=c(V,z,B,F,N,N*N,N*N*N,W,1),l=p(W);else{if(C)return o(z,B,N);l=h(V,z,B,F,N,N*N,N*N*N)}g(e,a,l)}else if(S)s(I[n],I[n+1],N,d(e,a),T);else{var l;if(M)s(I[n],I[n+1],N,W,1),l=p(W);else{if(C)return o(I[n],I[n+1],N);l=i(I[n],I[n+1],N)}g(e,a,l)}},U=new m({target:e._target,life:b,loop:e._loop,delay:e._delay,onframe:j,ondestroy:n});return t&&"spline"!==t&&(U.easing=t),U}}}var m=n(264),v=n(266),y=n(239),x=y.isArrayLike,_=Array.prototype.slice,b=function(e,t,n,i){this._tracks={},this._target=e,this._loop=t||!1,this._getter=n||r,this._setter=i||a,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(e,t){var n=this._tracks;for(var r in t)if(t.hasOwnProperty(r)){if(!n[r]){n[r]=[];var a=this._getter(this._target,r);if(null==a)continue;0!==e&&n[r].push({time:0,value:d(a)})}n[r].push({time:e,value:t[r]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;e255?255:e}function a(e){return e=Math.round(e),e<0?0:e>360?360:e}function i(e){return e<0?0:e>1?1:e}function o(e){return r(e.length&&"%"===e.charAt(e.length-1)?parseFloat(e)/100*255:parseInt(e,10))}function s(e){return i(e.length&&"%"===e.charAt(e.length-1)?parseFloat(e)/100:parseFloat(e))}function l(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function u(e,t,n){return e+(t-e)*n}function c(e,t,n,r,a){return e[0]=t,e[1]=n,e[2]=r,e[3]=a,e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function d(e,t){T&&h(T,t),T=C.put(e,T||t.slice())}function p(e,t){if(e){t=t||[];var n=C.get(e);if(n)return h(t,n);e+="";var r=e.replace(/ /g,"").toLowerCase();if(r in M)return h(t,M[r]),d(e,t),t;if("#"!==r.charAt(0)){var a=r.indexOf("("),i=r.indexOf(")");if(a!==-1&&i+1===r.length){var l=r.substr(0,a),u=r.substr(a+1,i-(a+1)).split(","),p=1;switch(l){case"rgba":if(4!==u.length)return void c(t,0,0,0,1);p=s(u.pop());case"rgb":return 3!==u.length?void c(t,0,0,0,1):(c(t,o(u[0]),o(u[1]),o(u[2]),p),d(e,t),t);case"hsla":return 4!==u.length?void c(t,0,0,0,1):(u[3]=s(u[3]),f(u,t),d(e,t),t);case"hsl":return 3!==u.length?void c(t,0,0,0,1):(f(u,t),d(e,t),t);default:return}}c(t,0,0,0,1)}else{if(4===r.length){var g=parseInt(r.substr(1),16);return g>=0&&g<=4095?(c(t,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),d(e,t),t):void c(t,0,0,0,1)}if(7===r.length){var g=parseInt(r.substr(1),16);return g>=0&&g<=16777215?(c(t,(16711680&g)>>16,(65280&g)>>8,255&g,1),d(e,t),t):void c(t,0,0,0,1)}}}}function f(e,t){var n=(parseFloat(e[0])%360+360)%360/360,a=s(e[1]),i=s(e[2]),o=i<=.5?i*(a+1):i+a-i*a,u=2*i-o;return t=t||[],c(t,r(255*l(u,o,n+1/3)),r(255*l(u,o,n)),r(255*l(u,o,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function g(e){if(e){var t,n,r=e[0]/255,a=e[1]/255,i=e[2]/255,o=Math.min(r,a,i),s=Math.max(r,a,i),l=s-o,u=(s+o)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+o):l/(2-s-o);var c=((s-r)/6+l/2)/l,h=((s-a)/6+l/2)/l,d=((s-i)/6+l/2)/l;r===s?t=d-h:a===s?t=1/3+c-d:i===s&&(t=2/3+h-c),t<0&&(t+=1),t>1&&(t-=1)}var p=[360*t,n,u];return null!=e[3]&&p.push(e[3]),p}}function m(e,t){var n=p(e);if(n){for(var r=0;r<3;r++)t<0?n[r]=n[r]*(1-t)|0:n[r]=(255-n[r])*t+n[r]|0;return w(n,4===n.length?"rgba":"rgb")}}function v(e,t){var n=p(e);if(n)return((1<<24)+(n[0]<<16)+(n[1]<<8)+ +n[2]).toString(16).slice(1)}function y(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var a=e*(t.length-1),o=Math.floor(a),s=Math.ceil(a),l=t[o],c=t[s],h=a-o;return n[0]=r(u(l[0],c[0],h)),n[1]=r(u(l[1],c[1],h)),n[2]=r(u(l[2],c[2],h)),n[3]=i(u(l[3],c[3],h)),n}}function x(e,t,n){if(t&&t.length&&e>=0&&e<=1){var a=e*(t.length-1),o=Math.floor(a),s=Math.ceil(a),l=p(t[o]),c=p(t[s]),h=a-o,d=w([r(u(l[0],c[0],h)),r(u(l[1],c[1],h)),r(u(l[2],c[2],h)),i(u(l[3],c[3],h))],"rgba");return n?{color:d,leftIndex:o,rightIndex:s,value:a}:d}}function _(e,t,n,r){if(e=p(e))return e=g(e),null!=t&&(e[0]=a(t)),null!=n&&(e[1]=s(n)),null!=r&&(e[2]=s(r)),w(f(e),"rgba")}function b(e,t){if(e=p(e),e&&null!=t)return e[3]=i(t),w(e,"rgba")}function w(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}var S=n(267),M={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]},C=new S(20),T=null;e.exports={parse:p,lift:m,toHex:v,fastMapToColor:y,mapToColor:x,modifyHSL:_,modifyAlpha:b,stringify:w}},function(e,t){var n=function(){this.head=null,this.tail=null,this._len=0},r=n.prototype;r.insert=function(e){var t=new a(e);return this.insertEntry(t),t},r.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},r.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},r.len=function(){return this._len},r.clear=function(){this.head=this.tail=null,this._len=0};var a=function(e){this.value=e,this.next,this.prev},i=function(e){this._list=new n,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},o=i.prototype;o.put=function(e,t){var n=this._list,r=this._map,i=null;if(null==r[e]){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete r[l.key],i=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new a(t),s.key=e,n.insertEntry(s),r[e]=s}return i},o.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},o.clear=function(){this._list.clear(),this._map={}},e.exports=i},function(e,t,n){var r=n(269);e.exports=function(){if(0!==r.debugMode)if(1==r.debugMode)for(var e in arguments)throw new Error(arguments[e]);else if(r.debugMode>1)for(var e in arguments)console.log(arguments[e])}},function(e,t){var n=1;"undefined"!=typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var r={debugMode:0,devicePixelRatio:n};e.exports=r},function(e,t,n){function r(e,t){return"string"==typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}var a=n(243),i=n(244),o=new i,s=function(){};s.prototype={constructor:s,drawRectText:function(e,t,n){var i=this.style,s=i.text;if(null!=s&&(s+=""),s){e.save();var l,u,c=i.textPosition,h=i.textOffset,d=i.textDistance,p=i.textAlign,f=i.textFont||i.font,g=i.textBaseline,m=i.textVerticalAlign;n=n||a.getBoundingRect(s,f,p,g);var v=this.transform;if(i.textTransform?this.setTransform(e):v&&(o.copy(t),o.applyTransform(v),t=o),c instanceof Array){if(l=t.x+r(c[0],t.width),u=t.y+r(c[1],t.height),p=p||"left",g=g||"top",m){switch(m){case"middle":u-=n.height/2-n.lineHeight/2;break;case"bottom":u-=n.height-n.lineHeight/2;break;default:u+=n.lineHeight/2}g="middle"}}else{var y=a.adjustTextPositionOnRect(c,t,n,d);l=y.x,u=y.y,p=p||y.textAlign,g=g||y.textBaseline}h&&(l+=h[0],u+=h[1]),e.textAlign=p||"left",e.textBaseline=g||"alphabetic";var x=i.textFill,_=i.textStroke;x&&(e.fillStyle=x),_&&(e.strokeStyle=_),e.font=f||"12px sans-serif",e.shadowBlur=i.textShadowBlur,e.shadowColor=i.textShadowColor||"transparent",e.shadowOffsetX=i.textShadowOffsetX,e.shadowOffsetY=i.textShadowOffsetY;var b=s.split("\n");i.textRotation&&(v&&e.translate(v[4],v[5]),e.rotate(i.textRotation),v&&e.translate(-v[4],-v[5]));for(var w=0;wthis._ux||y(t-this._yi)>this._uy||this._len<5;return this.addData(l.L,e,t),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(e,t):this._ctx.lineTo(e,t)),n&&(this._xi=e,this._yi=t),this},bezierCurveTo:function(e,t,n,r,a,i){return this.addData(l.C,e,t,n,r,a,i),this._ctx&&(this._needsDash()?this._dashedBezierTo(e,t,n,r,a,i):this._ctx.bezierCurveTo(e,t,n,r,a,i)),this._xi=a,this._yi=i,this},quadraticCurveTo:function(e,t,n,r){return this.addData(l.Q,e,t,n,r),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(e,t,n,r):this._ctx.quadraticCurveTo(e,t,n,r)),this._xi=n,this._yi=r,this},arc:function(e,t,n,r,a,i){return this.addData(l.A,e,t,n,n,r,a-r,0,i?0:1),this._ctx&&this._ctx.arc(e,t,n,r,a,i),this._xi=g(a)*n+e,this._yi=m(a)*n+e,this},arcTo:function(e,t,n,r,a){return this._ctx&&this._ctx.arcTo(e,t,n,r,a),this},rect:function(e,t,n,r){return this._ctx&&this._ctx.rect(e,t,n,r),this.addData(l.R,e,t,n,r),this},closePath:function(){this.addData(l.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&(this._needsDash()&&this._dashedLineTo(t,n),e.closePath()),this._xi=t,this._yi=n,this},fill:function(e){e&&e.fill(),this.toStatic()},stroke:function(e){e&&e.stroke(),this.toStatic()},setLineDash:function(e){if(e instanceof Array){this._lineDash=e,this._dashIdx=0;for(var t=0,n=0;nt.length&&(this._expandData(),t=this.data);for(var n=0;n0&&g<=e||c<0&&g>=e||0==c&&(h>0&&m<=t||h<0&&m>=t);)r=this._dashIdx,n=o[r],g+=c*n,m+=h*n,this._dashIdx=(r+1)%y,c>0&&gl||h>0&&mu||s[r%2?"moveTo":"lineTo"](c>=0?p(g,e):f(g,e),h>=0?p(m,t):f(m,t));c=g-e,h=m-t,this._dashOffset=-v(c*c+h*h)},_dashedBezierTo:function(e,t,n,a,i,o){var s,l,u,c,h,d=this._dashSum,p=this._dashOffset,f=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=r.cubicAt,_=0,b=this._dashIdx,w=f.length,S=0;for(p<0&&(p=d+p),p%=d,s=0;s<1;s+=.1)l=x(m,e,n,i,s+.1)-x(m,e,n,i,s),u=x(y,t,a,o,s+.1)-x(y,t,a,o,s),_+=v(l*l+u*u);for(;bp));b++);for(s=(S-p)/_;s<=1;)c=x(m,e,n,i,s),h=x(y,t,a,o,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=f[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(i,o),l=i-c,u=o-h,this._dashOffset=-v(l*l+u*u)},_dashedQuadraticTo:function(e,t,n,r){var a=n,i=r;n=(n+2*e)/3,r=(r+2*t)/3,e=(this._xi+2*e)/3,t=(this._yi+2*t)/3,this._dashedBezierTo(e,t,n,r,a,i)},toStatic:function(){var e=this.data;e instanceof Array&&(e.length=this._len,x&&(this.data=new Float32Array(e)))},getBoundingRect:function(){u[0]=u[1]=h[0]=h[1]=Number.MAX_VALUE,c[0]=c[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var e=this.data,t=0,n=0,r=0,s=0,p=0;pu||y(o-a)>c||d===h-1)&&(e.lineTo(i,o),r=i,a=o);break;case l.C:e.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),r=s[d-2],a=s[d-1];break;case l.Q:e.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),r=s[d-2],a=s[d-1];break;case l.A:var f=s[d++],v=s[d++],x=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],C=x>_?x:_,T=x>_?1:x/_,A=x>_?_/x:1,I=Math.abs(x-_)>.001,E=b+w;I?(e.translate(f,v),e.rotate(S),e.scale(T,A),e.arc(0,0,C,b,E,1-M),e.scale(1/T,1/A),e.rotate(-S),e.translate(-f,-v)):e.arc(f,v,C,b,E,1-M),1==d&&(t=g(b)*x+f,n=m(b)*_+v),r=g(E)*x+f,a=m(E)*_+v;break;case l.R:t=r=s[d],n=a=s[d+1],e.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:e.closePath(),r=t,a=n}}}},_.CMD=l,e.exports=_},function(e,t,n){"use strict";function r(e){return e>-w&&ew||e<-w}function i(e,t,n,r,a){var i=1-a;return i*i*(i*e+3*a*t)+a*a*(a*r+3*i*n)}function o(e,t,n,r,a){var i=1-a;return 3*(((t-e)*i+2*(n-t)*a)*i+(r-n)*a*a)}function s(e,t,n,a,i,o){var s=a+3*(t-n)-e,l=3*(n-2*t+e),u=3*(t-e),c=e-i,h=l*l-3*s*u,d=l*u-9*s*c,p=u*u-3*l*c,f=0;if(r(h)&&r(d))if(r(l))o[0]=0;else{var g=-u/l;g>=0&&g<=1&&(o[f++]=g)}else{var m=d*d-4*h*p;if(r(m)){var v=d/h,g=-l/s+v,y=-v/2;g>=0&&g<=1&&(o[f++]=g),y>=0&&y<=1&&(o[f++]=y)}else if(m>0){var x=b(m),w=h*l+1.5*s*(-d+x),S=h*l+1.5*s*(-d-x);w=w<0?-_(-w,C):_(w,C),S=S<0?-_(-S,C):_(S,C);var g=(-l-(w+S))/(3*s);g>=0&&g<=1&&(o[f++]=g)}else{var T=(2*h*l-3*s*d)/(2*b(h*h*h)),A=Math.acos(T)/3,I=b(h),E=Math.cos(A),g=(-l-2*I*E)/(3*s),y=(-l+I*(E+M*Math.sin(A)))/(3*s),P=(-l+I*(E-M*Math.sin(A)))/(3*s);g>=0&&g<=1&&(o[f++]=g),y>=0&&y<=1&&(o[f++]=y),P>=0&&P<=1&&(o[f++]=P)}}return f}function l(e,t,n,i,o){var s=6*n-12*t+6*e,l=9*t+3*i-3*e-9*n,u=3*t-3*e,c=0;if(r(l)){if(a(s)){var h=-u/s;h>=0&&h<=1&&(o[c++]=h)}}else{var d=s*s-4*l*u;if(r(d))o[0]=-s/(2*l);else if(d>0){var p=b(d),h=(-s+p)/(2*l),f=(-s-p)/(2*l);h>=0&&h<=1&&(o[c++]=h),f>=0&&f<=1&&(o[c++]=f)}}return c}function u(e,t,n,r,a,i){var o=(t-e)*a+e,s=(n-t)*a+t,l=(r-n)*a+n,u=(s-o)*a+o,c=(l-s)*a+s,h=(c-u)*a+u;i[0]=e,i[1]=o,i[2]=u,i[3]=h,i[4]=h,i[5]=c,i[6]=l,i[7]=r}function c(e,t,n,r,a,o,s,l,u,c,h){var d,p,f,g,m,v=.005,y=1/0;T[0]=u,T[1]=c;for(var _=0;_<1;_+=.05)A[0]=i(e,n,a,s,_),A[1]=i(t,r,o,l,_),g=x(T,A),g=0&&g=0&&h<=1&&(o[c++]=h)}}else{var d=l*l-4*s*u;if(r(d)){var h=-l/(2*s);h>=0&&h<=1&&(o[c++]=h)}else if(d>0){var p=b(d),h=(-l+p)/(2*s),f=(-l-p)/(2*s);h>=0&&h<=1&&(o[c++]=h),f>=0&&f<=1&&(o[c++]=f)}}return c}function f(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function g(e,t,n,r,a){var i=(t-e)*r+e,o=(n-t)*r+t,s=(o-i)*r+i;a[0]=e,a[1]=i,a[2]=s,a[3]=s,a[4]=o,a[5]=n}function m(e,t,n,r,a,i,o,s,l){var u,c=.005,d=1/0;T[0]=o,T[1]=s;for(var p=0;p<1;p+=.05){A[0]=h(e,n,a,p),A[1]=h(t,r,i,p);var f=x(T,A);f=0&&f1e-4)return f[0]=e-n,f[1]=t-a,g[0]=e+n,void(g[1]=t+a);if(c[0]=u(i)*n+e,c[1]=l(i)*a+t,h[0]=u(o)*n+e,h[1]=l(o)*a+t,m(f,c,h),v(g,c,h),i%=p,i<0&&(i+=p),o%=p,o<0&&(o+=p),i>o&&!s?o+=p:ii&&(d[0]=u(_)*n+e,d[1]=l(_)*a+t,m(f,d,f),v(g,d,g))},e.exports=i},function(e,t,n){"use strict";function r(e,t){return Math.abs(e-t)t&&c>r&&c>o&&c>l||c1&&a(),d=g.cubicAt(t,r,o,l,b[0]),m>1&&(p=g.cubicAt(t,r,o,l,b[1]))),f+=2==m?yt&&s>r&&s>i||s=0&&u<=1){for(var c=0,h=g.quadraticAt(t,r,i,u),d=0;dn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);_[0]=-l,_[1]=l;var u=Math.abs(r-a);if(u<1e-4)return 0;if(u%y<1e-4){r=0,a=y;var c=i?1:-1;return o>=_[0]+e&&o<=_[1]+e?c:0}if(i){var l=r;r=f(a),a=f(l)}else r=f(r),a=f(a);r>a&&(a+=y);for(var h=0,d=0;d<2;d++){var p=_[d];if(p+e>o){var g=Math.atan2(s,p),c=i?1:-1;g<0&&(g=y+g),(g>=r&&g<=a||g+y>=r&&g+y<=a)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),h+=c)}}return h}function l(e,t,n,a,l){for(var c=0,f=0,g=0,y=0,x=0,_=0;_1&&(n||(c+=m(f,g,y,x,a,l))),1==_&&(f=e[_],g=e[_+1],y=f,x=g),b){case u.M:y=e[_++],x=e[_++],f=y,g=x;break;case u.L:if(n){if(v(f,g,e[_],e[_+1],t,a,l))return!0}else c+=m(f,g,e[_],e[_+1],a,l)||0;f=e[_++],g=e[_++];break;case u.C:if(n){if(h.containStroke(f,g,e[_++],e[_++],e[_++],e[_++],e[_],e[_+1],t,a,l))return!0}else c+=i(f,g,e[_++],e[_++],e[_++],e[_++],e[_],e[_+1],a,l)||0;f=e[_++],g=e[_++];break;case u.Q:if(n){if(d.containStroke(f,g,e[_++],e[_++],e[_],e[_+1],t,a,l))return!0}else c+=o(f,g,e[_++],e[_++],e[_],e[_+1],a,l)||0;f=e[_++],g=e[_++];break;case u.A:var w=e[_++],S=e[_++],M=e[_++],C=e[_++],T=e[_++],A=e[_++],I=(e[_++],1-e[_++]),E=Math.cos(T)*M+w,P=Math.sin(T)*C+S;_>1?c+=m(f,g,E,P,a,l):(y=E,x=P);var L=(a-w)*C/M+w;if(n){if(p.containStroke(w,S,C,T,T+A,I,t,L,l))return!0}else c+=s(w,S,C,T,T+A,I,L,l);f=Math.cos(T+A)*M+w,g=Math.sin(T+A)*C+S;break;case u.R:y=f=e[_++],x=g=e[_++];var D=e[_++],k=e[_++],E=y+D,P=x+k;if(n){if(v(y,x,E,x,t,a,l)||v(E,x,E,P,t,a,l)||v(E,P,y,P,t,a,l)||v(y,P,y,x,t,a,l))return!0}else c+=m(E,x,E,P,a,l),c+=m(y,P,y,x,a,l);break;case u.Z:if(n){if(v(f,g,y,x,t,a,l))return!0}else c+=m(f,g,y,x,a,l);f=y,g=x}}return n||r(g,x)||(c+=m(f,g,y,x,a,l)||0),0!==c}var u=n(271).CMD,c=n(275),h=n(276),d=n(277),p=n(278),f=n(279).normalizeRadian,g=n(272),m=n(280),v=c.containStroke,y=2*Math.PI,x=1e-4,_=[-1,-1,-1],b=[-1,-1];e.exports={contain:function(e,t,n){return l(e,0,!1,t,n)},containStroke:function(e,t,n,r){return l(e,t,!0,n,r)}}},function(e,t){e.exports={containStroke:function(e,t,n,r,a,i,o){if(0===a)return!1;var s=a,l=0,u=e;if(o>t+s&&o>r+s||oe+s&&i>n+s||it+d&&h>a+d&&h>o+d&&h>l+d||he+d&&c>n+d&&c>i+d&&c>s+d||ct+c&&u>a+c&&u>o+c||ue+c&&l>n+c&&l>i+c||ln||d+ho&&(o+=a);var f=Math.atan2(c,u);return f<0&&(f+=a),f>=i&&f<=o||f+a>=i&&f+a<=o}}},function(e,t){var n=2*Math.PI;e.exports={normalizeRadian:function(e){return e%=n,e<0&&(e+=n),e}}},function(e,t){e.exports=function(e,t,n,r,a,i){if(i>t&&i>r||ia?o:0}},function(e,t){var n=function(e,t){this.image=e,this.repeat=t,this.type="pattern"};n.prototype.getCanvasPattern=function(e){return e.createPattern(this.image,this.repeat||"repeat")},e.exports=n},function(e,t,n){function r(e,t){var n,r,i,c,h,d,p=e.data,f=a.M,g=a.C,m=a.L,v=a.R,y=a.A,x=a.Q;for(i=0,c=0;i=0&&(n.splice(r,0,e),this._doAdd(e))}return this},_doAdd:function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__storage,n=this.__zr;t&&t!==e.__storage&&(t.addToStorage(e),e instanceof o&&e.addChildrenToStorage(t)),n&&n.refresh()},remove:function(e){var t=this.__zr,n=this.__storage,a=this._children,i=r.indexOf(a,e);return i<0?this:(a.splice(i,1),e.parent=null,n&&(n.delFromStorage(e),e instanceof o&&e.delChildrenFromStorage(n)),t&&t.refresh(),this)},removeAll:function(){var e,t,n=this._children,r=this.__storage;for(t=0;t=11?function(){var e,t=this.__clipPaths,n=this.style;if(t)for(var r=0;r=2){if(o&&"spline"!==o){var s=a(i,o,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var l=i.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=i[(u+1)%l];e.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(i=r(i,n)),e.moveTo(i[0][0],i[0][1]);for(var u=1,p=i.length;un-2?n-1:p+1],h=e[p>n-3?n-1:p+2]);var m=f*f,v=f*m;i.push([r(u[0],g[0],c[0],h[0],f,m,v),r(u[1],g[1],c[1],h[1],f,m,v)])}return i}},function(e,t,n){var r=n(245),a=r.min,i=r.max,o=r.scale,s=r.distance,l=r.add;e.exports=function(e,t,n,u){var c,h,d,p,f=[],g=[],m=[],v=[];if(u){d=[1/0,1/0],p=[-(1/0),-(1/0)];for(var y=0,x=e.length;yl&&(h=n+r,n*=l/h,r*=l/h),a+i>l&&(h=a+i,a*=l/h,i*=l/h),r+a>u&&(h=r+a,r*=u/h,a*=u/h),n+i>u&&(h=n+i,n*=u/h,i*=u/h),e.moveTo(o+n,s),e.lineTo(o+l-r,s),0!==r&&e.quadraticCurveTo(o+l,s,o+l,s+r),e.lineTo(o+l,s+u-a),0!==a&&e.quadraticCurveTo(o+l,s+u,o+l-a,s+u),e.lineTo(o+i,s+u),0!==i&&e.quadraticCurveTo(o,s+u,o,s+u-i),e.lineTo(o,s+n),0!==n&&e.quadraticCurveTo(o,s,o+n,s)}}},function(e,t,n){e.exports=n(255).extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.x1,r=t.y1,a=t.x2,i=t.y2,o=t.percent;0!==o&&(e.moveTo(n,r),o<1&&(a=n*(1-o)+a*o,i=r*(1-o)+i*o),e.lineTo(a,i))},pointAt:function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]}})},function(e,t,n){"use strict";function r(e,t,n){var r=e.cpx2,a=e.cpy2;return null===r||null===a?[(n?h:u)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?h:u)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?c:l)(e.x1,e.cpx1,e.x2,t),(n?c:l)(e.y1,e.cpy1,e.y2,t)]}var a=n(272),i=n(245),o=a.quadraticSubdivide,s=a.cubicSubdivide,l=a.quadraticAt,u=a.cubicAt,c=a.quadraticDerivativeAt,h=a.cubicDerivativeAt,d=[];e.exports=n(255).extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.x1,r=t.y1,a=t.x2,i=t.y2,l=t.cpx1,u=t.cpy1,c=t.cpx2,h=t.cpy2,p=t.percent;0!==p&&(e.moveTo(n,r),null==c||null==h?(p<1&&(o(n,l,a,p,d),l=d[1],a=d[2],o(r,u,i,p,d),u=d[1],i=d[2]),e.quadraticCurveTo(l,u,a,i)):(p<1&&(s(n,l,c,a,p,d),l=d[1],c=d[2],a=d[3],s(r,u,h,i,p,d),u=d[1],h=d[2],i=d[3]),e.bezierCurveTo(l,u,c,h,a,i)))},pointAt:function(e){return r(this.shape,e,!1)},tangentAt:function(e){var t=r(this.shape,e,!0);return i.normalize(t,t)}})},function(e,t,n){e.exports=n(255).extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.cx,r=t.cy,a=Math.max(t.r,0),i=t.startAngle,o=t.endAngle,s=t.clockwise,l=Math.cos(i),u=Math.sin(i);e.moveTo(l*a+n,u*a+r),e.arc(n,r,a,i,o,!s)}})},function(e,t,n){var r=n(255);e.exports=r.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var e=this.__dirtyPath,t=this.shape.paths,n=0;n=0;a--)r=i.merge(r,e[a],!0);l.set(this,"__defaultOption",r)}return l.get(this,"__defaultOption")},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});l.enableClassManagement(c,{registerWhenExtend:!0}),s.enableSubTypeDefaulter(c),s.enableTopologicalTravel(c,r),i.mixin(c,n(307)),e.exports=c},function(e,t,n){var r=n(239),a=n(248),i=a.parseClassType,o=0,s={},l="_";s.getUID=function(e){return[e||"",o++,Math.random()].join(l)},s.enableSubTypeDefaulter=function(e){var t={};return e.registerSubTypeDefaulter=function(e,n){e=i(e),t[e.main]=n},e.determineSubType=function(n,r){var a=r.type;if(!a){var o=i(n).main;e.hasSubTypes(n)&&t[o]&&(a=t[o](r))}return a},e},s.enableTopologicalTravel=function(e,t){function n(e){var n={},o=[];return r.each(e,function(s){var l=a(n,s),u=l.originalDeps=t(s),c=i(u,e);l.entryCount=c.length,0===l.entryCount&&o.push(s),r.each(c,function(e){r.indexOf(l.predecessor,e)<0&&l.predecessor.push(e);var t=a(n,e);r.indexOf(t.successor,e)<0&&t.successor.push(s)})}),{graph:n,noEntryList:o}}function a(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function i(e,t){var n=[];return r.each(e,function(e){r.indexOf(t,e)>=0&&n.push(e)}),n}e.topologicalTravel=function(e,t,a,i){function o(e){u[e].entryCount--,0===u[e].entryCount&&c.push(e)}function s(e){h[e]=!0,o(e)}if(e.length){var l=n(t),u=l.graph,c=l.noEntryList,h={};for(r.each(e,function(e){h[e]=!0});c.length;){var d=c.pop(),p=u[d],f=!!h[d];f&&(a.call(i,d,p.originalDeps.slice()),delete h[d]),r.each(p.successor,f?s:o)}r.each(h,function(){throw new Error("Circle dependency may exists")})}}},e.exports=s},function(e,t,n){"use strict";function r(e,t,n,r,a){var i=0,o=0;null==r&&(r=1/0),null==a&&(a=1/0);var s=0;t.eachChild(function(l,u){var c,h,d=l.position,p=l.getBoundingRect(),f=t.childAt(u+1),g=f&&f.getBoundingRect();if("horizontal"===e){var m=p.width+(g?-g.x+p.x:0);c=i+m,c>r||l.newline?(i=0,c=m,o+=s+n,s=p.height):s=Math.max(s,p.height)}else{var v=p.height+(g?-g.y+p.y:0);h=o+v,h>a||l.newline?(i+=s+n,o=0,h=v,s=p.width):s=Math.max(s,p.width)}l.newline||(d[0]=i,d[1]=o,"horizontal"===e?i=c+n:o=h+n)})}var a=n(239),i=n(244),o=n(242),s=n(241),l=o.parsePercent,u=a.each,c={},h=c.LOCATION_PARAMS=["left","right","top","bottom","width","height"],d=c.HV_NAMES=[["width","left","right"],["height","top","bottom"]];c.box=r,c.vbox=a.curry(r,"vertical"),c.hbox=a.curry(r,"horizontal"),c.getAvailableSize=function(e,t,n){var r=t.width,a=t.height,i=l(e.x,r),o=l(e.y,a),u=l(e.x2,r),c=l(e.y2,a);return(isNaN(i)||isNaN(parseFloat(e.x)))&&(i=0),(isNaN(u)||isNaN(parseFloat(e.x2)))&&(u=r),(isNaN(o)||isNaN(parseFloat(e.y)))&&(o=0),(isNaN(c)||isNaN(parseFloat(e.y2)))&&(c=a),n=s.normalizeCssArray(n||0),{width:Math.max(u-i-n[1]-n[3],0),height:Math.max(c-o-n[0]-n[2],0)}},c.getLayoutRect=function(e,t,n){n=s.normalizeCssArray(n||0);var r=t.width,a=t.height,o=l(e.left,r),u=l(e.top,a),c=l(e.right,r),h=l(e.bottom,a),d=l(e.width,r),p=l(e.height,a),f=n[2]+n[0],g=n[1]+n[3],m=e.aspect;switch(isNaN(d)&&(d=r-c-g-o),isNaN(p)&&(p=a-h-f-u),isNaN(d)&&isNaN(p)&&(m>r/a?d=.8*r:p=.8*a),null!=m&&(isNaN(d)&&(d=m*p),isNaN(p)&&(p=d/m)),isNaN(o)&&(o=r-c-d-g),isNaN(u)&&(u=a-h-p-f),e.left||e.right){case"center":o=r/2-d/2-n[3];break;case"right":o=r-d-g}switch(e.top||e.bottom){case"middle":case"center":u=a/2-p/2-n[0];break;case"bottom":u=a-p-f}o=o||0,u=u||0,isNaN(d)&&(d=r-o-(c||0)),isNaN(p)&&(p=a-u-(h||0));var v=new i(o+n[3],u+n[0],d,p);return v.margin=n,v},c.positionElement=function(e,t,n,r,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],u=o&&o.boundingMode||"all";if(s||l){var h;if("raw"===u)h="group"===e.type?new i(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(h=e.getBoundingRect(),e.needLocalTransform()){var d=e.getLocalTransform();h=h.clone(),h.applyTransform(d)}t=c.getLayoutRect(a.defaults({width:h.width,height:h.height},t),n,r);var p=e.position,f=s?t.x-h.x:0,g=l?t.y-h.y:0;e.attr("position","raw"===u?[f,g]:[p[0]+f,p[1]+g])}},c.sizeCalculable=function(e,t){return null!=e[d[t][0]]||null!=e[d[t][1]]&&null!=e[d[t][2]]},c.mergeLayoutParam=function(e,t,n){function r(n,r){var a={},s=0,c={},h=0,d=2;if(u(n,function(t){c[t]=e[t]}),u(n,function(e){i(t,e)&&(a[e]=c[e]=t[e]),o(a,e)&&s++,o(c,e)&&h++}),l[r])return o(t,n[1])?c[n[2]]=null:o(t,n[2])&&(c[n[1]]=null),c;if(h!==d&&s){if(s>=d)return a;for(var p=0;p=t:"max"===n?e<=t:e===t}function s(e,t){return e.join(",")===t.join(",")}function l(e,t){t=t||{},d(t,function(t,n){if(null!=t){var r=e[n];if(h.hasClass(n)){t=c.normalizeToArray(t),r=c.normalizeToArray(r);var a=c.mappingToExists(r,t);e[n]=f(a,function(e){return e.option&&e.exist?g(e.exist,e.option,!0):e.exist||e.option})}else e[n]=g(r,t,!0)}})}var u=n(239),c=n(240),h=n(304),d=u.each,p=u.clone,f=u.map,g=u.merge,m=/^(min|max)?(.+)$/;r.prototype={constructor:r,setOption:function(e,t){e=p(e,!0);var n=this._optionBackup,r=a.call(this,e,t,!n);this._newBaseOption=r.baseOption,n?(l(n.baseOption,r.baseOption),r.timelineOptions.length&&(n.timelineOptions=r.timelineOptions),r.mediaList.length&&(n.mediaList=r.mediaList),r.mediaDefault&&(n.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=f(t.timelineOptions,p),this._mediaList=f(t.mediaList,p),this._mediaDefault=p(t.mediaDefault),this._currentMediaIndices=[],p(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,n=this._timelineOptions;if(n.length){var r=e.getComponent("timeline");r&&(t=p(n[r.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t=this._api.getWidth(),n=this._api.getHeight(),r=this._mediaList,a=this._mediaDefault,o=[],l=[];if(!r.length&&!a)return l;for(var u=0,c=r.length;u":"")+u.join(l?"
":", ")}var s=d(this,"data"),l=this.getRawValue(e),u=r.isArray(l)?i(l):p(f(l)),c=s.getName(e),h=s.getItemVisual(e,"color");r.isObject(h)&&h.colorStops&&(h=(h.colorStops[0]||{}).color),h=h||"transparent";var g=a.getTooltipMarker(h),m=this.name;return"\0-"===m&&(m=""),m=m?p(m)+(t?": ":"
"):"",t?g+m+u:m+g+(c?p(c)+": "+u:u)},isAnimationEnabled:function(){if(u.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){h(this,"data",d(this,"dataBeforeProcessed").cloneShallow())},getColorFromPalette:function(e,t){var n=this.ecModel,r=l.getColorFromPalette.call(this,e,t);return r||(r=n.getColorFromPalette(e,t)),r},getAxisTooltipData:null,getTooltipPosition:null});r.mixin(g,o.dataFormatMixin),r.mixin(g,l),e.exports=g},function(e,t,n){var r=n(283),a=n(305),i=n(248),o=function(){this.group=new r,this.uid=a.getUID("viewComponent")};o.prototype={constructor:o,init:function(e,t){},render:function(e,t,n,r){},dispose:function(){}};var s=o.prototype;s.updateView=s.updateLayout=s.updateVisual=function(e,t,n,r){},i.enableClassExtend(o),i.enableClassManagement(o,{registerWhenExtend:!0}),e.exports=o},function(e,t,n){function r(){this.group=new o,this.uid=s.getUID("viewChart")}function a(e,t){if(e&&(e.trigger(t),"group"===e.type))for(var n=0;n=0?r():h=setTimeout(r,-i),u=a};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(e){l=e},d},n.createOrUpdate=function(e,t,o,s){var l=e[t];if(l){var u=l[r]||l,c=l[i],h=l[a];if(h!==o||c!==s){if(null==o||!s)return e[t]=u;l=e[t]=n.throttle(u,o,"debounce"===s),l[r]=u,l[i]=s,l[a]=o}return l}},n.clear=function(e,t){var n=e[t];n&&n[r]&&(e[t]=n[r])},e.exports=n},function(e,t,n){function r(e){delete p[e]}/*! * ZRender, a high performance 2d drawing library. * * Copyright (c) 2013, Baidu Inc. @@ -43,24 +43,24 @@ s){e.save();var l,u,c=i.textPosition,h=i.textOffset,d=i.textDistance,p=i.textAli * LICENSE * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt */ -var a=n(267),i=n(237),o=n(239),s=n(318),l=n(320),u=n(322),c=n(325),h=!i.canvasSupported,d={canvas:n(327)},p={},f={};f.version="3.5.1",f.init=function(e,t){var n=new g(a(),e,t);return p[n.id]=n,n},f.dispose=function(e){if(e)e.dispose();else{for(var t in p)p.hasOwnProperty(t)&&p[t].dispose();p={}}return f},f.getInstance=function(e){return p[e]},f.registerPainter=function(e,t){d[e]=t};var g=function(e,t,n){n=n||{},this.dom=t,this.id=e;var r=this,a=new l,p=n.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");p="vml"}else p&&d[p]||(p="canvas");var f=new d[p](t,a,n);this.storage=a,this.painter=f;var g=i.node?null:new c(f.getViewportRoot());this.handler=new s(a,f,g,f.root),this.animation=new u({stage:{update:o.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=a.delFromStorage,v=a.addToStorage;a.delFromStorage=function(e){m.call(a,e),e&&e.removeSelfFromZr(r)},a.addToStorage=function(e){v.call(a,e),e.addSelfToZr(r)}};g.prototype={constructor:g,getId:function(){return this.id},add:function(e){this.storage.addRoot(e),this._needsRefresh=!0},remove:function(e){this.storage.delRoot(e),this._needsRefresh=!0},configLayer:function(e,t){this.painter.configLayer(e,t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){this._needsRefresh&&this.refreshImmediately(),this._needsRefreshHover&&this.refreshHoverImmediately()},addHover:function(e,t){this.painter.addHover&&(this.painter.addHover(e,t),this.refreshHover())},removeHover:function(e){this.painter.removeHover&&(this.painter.removeHover(e),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(e,t){return this.painter.pathToImage(e,t)},setCursorStyle:function(e){this.handler.setCursorStyle(e)},findHover:function(e,t){return this.handler.findHover(e,t)},on:function(e,t,n){this.handler.on(e,t,n)},off:function(e,t){this.handler.off(e,t)},trigger:function(e,t){this.handler.trigger(e,t)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,r(this.id)}},e.exports=f},function(e,t,n){"use strict";function r(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.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}}function a(){}function i(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r,a=e;a;){if(a.clipPath&&!a.clipPath.contain(t,n))return!1;a.silent&&(r=!0),a=a.parent}return!r||u}return!1}var o=n(239),s=n(319),l=n(268),u="silent";a.prototype.dispose=function(){};var c=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],h=function(e,t,n,r){l.call(this),this.storage=e,this.painter=t,this.painterRoot=r,n=n||new a,this.proxy=n,n.handler=this,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,s.call(this),o.each(c,function(e){n.on&&n.on(e,this[e],this)},this)};h.prototype={constructor:h,mousemove:function(e){var t=e.zrX,n=e.zrY,r=this._hovered,a=this._hovered=this.findHover(t,n),i=a.target,o=r.target,s=this.proxy;s.setCursor&&s.setCursor(i?i.cursor:"default"),o&&i!==o&&o.__zr&&this.dispatchToElement(r,"mouseout",e),this.dispatchToElement(a,"mousemove",e),i&&i!==o&&this.dispatchToElement(a,"mouseover",e)},mouseout:function(e){this.dispatchToElement(this._hovered,"mouseout",e);var t,n=e.toElement||e.relatedTarget;do n=n&&n.parentNode;while(n&&9!=n.nodeType&&!(t=n===this.painterRoot));!t&&this.trigger("globalout",{event:e})},resize:function(e){this._hovered={}},dispatch:function(e,t){var n=this[e];n&&n.call(this,t)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},dispatchToElement:function(e,t,n){e=e||{};for(var a="on"+t,i=r(t,e,n),o=e.target;o&&(o[a]&&(i.cancelBubble=o[a].call(o,i)),o.trigger(t,i),o=o.parent,!i.cancelBubble););i.cancelBubble||(this.trigger(t,i),this.painter&&this.painter.eachOtherLayer(function(e){"function"==typeof e[a]&&e[a].call(e,i),e.trigger&&e.trigger(t,i)}))},findHover:function(e,t,n){for(var r=this.storage.getDisplayList(),a={},o=r.length-1;o>=0;o--){var s;if(r[o]!==n&&!r[o].ignore&&(s=i(r[o],e,t))&&(!a.topTarget&&(a.topTarget=r[o]),s!==u)){a.target=r[o];break}}return a}},o.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){h.prototype[e]=function(t){var n=this.findHover(t.zrX,t.zrY),r=n.target;if("mousedown"===e)this._downel=r,this._upel=r;else if("mosueup"===e)this._upel=r;else if("click"===e&&this._downel!==this._upel)return;this.dispatchToElement(n,e,t)}}),o.mixin(h,l),o.mixin(h,s),e.exports=h},function(e,t){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}function r(e,t){return{target:e,topTarget:t&&t.topTarget}}n.prototype={constructor:n,_dragStart:function(e){var t=e.target;t&&t.draggable&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.dispatchToElement(r(t,e),"dragstart",e.event))},_drag:function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,a=e.offsetY,i=n-this._x,o=a-this._y;this._x=n,this._y=a,t.drift(i,o,e),this.dispatchToElement(r(t,e),"drag",e.event);var s=this.findHover(n,a,t).target,l=this._dropTarget;this._dropTarget=s,t!==s&&(l&&s!==l&&this.dispatchToElement(r(l,e),"dragleave",e.event),s&&s!==l&&this.dispatchToElement(r(s,e),"dragenter",e.event))}},_dragEnd:function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.dispatchToElement(r(t,e),"dragend",e.event),this._dropTarget&&this.dispatchToElement(r(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null}},e.exports=n},function(e,t,n){"use strict";function r(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var a=n(239),i=n(237),o=n(265),s=n(321),l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(e,t){for(var n=0;n=0&&(this.delFromStorage(e),this._roots.splice(i,1),e instanceof o&&e.delChildrenFromStorage(this))}},addToStorage:function(e){return e.__storage=this,e.dirty(!1),this},delFromStorage:function(e){return e&&(e.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:r},e.exports=l},function(e,t){function n(e){for(var t=0;e>=c;)t|=1&e,e>>=1;return e+t}function r(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){for(;i=0;)i++;return i-t}function a(e,t,n){for(n--;t>>1,a(o,e[i])<0?l=i:s=i+1;var u=r-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;u>0;)e[s+u]=e[s+u-1],u--}e[s]=o}}function o(e,t,n,r,a,i){var o=0,s=0,l=1;if(i(e,t[n+a])>0){for(s=r-a;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{for(s=a+1;ls&&(l=s);var u=o;o=a-l,l=a-u}for(o++;o>>1);i(e,t[n+c])>0?o=c+1:l=c}return l}function s(e,t,n,r,a,i){var o=0,s=0,l=1;if(i(e,t[n+a])<0){for(s=a+1;ls&&(l=s);var u=o;o=a-l,l=a-u}else{for(s=r-a;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}for(o++;o>>1);i(e,t[n+c])<0?l=c:o=c+1}return l}function l(e,t){function n(e,t){c[y]=e,p[y]=t,y+=1}function r(){for(;y>1;){var e=y-2;if(e>=1&&p[e-1]<=p[e]+p[e+1]||e>=2&&p[e-2]<=p[e]+p[e-1])p[e-1]p[e+1])break;i(e)}}function a(){for(;y>1;){var e=y-2;e>0&&p[e-1]=h||g>=h);if(m)break;v<0&&(v=0),v+=2}if(f=v,f<1&&(f=1),1===r){for(l=0;l=0;l--)e[g+l]=e[p+l];return void(e[d]=x[c])}for(var m=f;;){var v=0,y=0,_=!1;do if(t(x[c],e[u])<0){if(e[d--]=e[u--],v++,y=0,0===--r){_=!0;break}}else if(e[d--]=x[c--],y++,v=0,1===--i){_=!0;break}while((v|y)=0;l--)e[g+l]=e[p+l];if(0===r){_=!0;break}}if(e[d--]=x[c--],1===--i){_=!0;break}if(y=i-o(e[u],x,0,i,i-1,t),0!==y){for(d-=y,c-=y,i-=y,g=d+1,p=c+1,l=0;l=h||y>=h);if(_)break;m<0&&(m=0),m+=2}if(f=m,f<1&&(f=1),1===i){for(d-=r,u-=r,g=d+1,p=u+1,l=r-1;l>=0;l--)e[g+l]=e[p+l];e[d]=x[c]}else{if(0===i)throw new Error;for(p=d-(i-1),l=0;l>>1);var x=[];v=g<120?5:g<1542?10:g<119151?19:40,c=[],p=[],this.mergeRuns=r,this.forceMergeRuns=a,this.pushRun=n}function u(e,t,a,o){a||(a=0),o||(o=e.length);var s=o-a;if(!(s<2)){var u=0;if(sd&&(p=d),i(e,a,a+p,a+u,t),u=p}h.pushRun(a,u),h.mergeRuns(),s-=u,a+=u}while(0!==s);h.forceMergeRuns()}}var c=32,h=7,d=256;e.exports=u},function(e,t,n){"use strict";var r=n(239),a=n(323).Dispatcher,i=n(324),o=n(271),s=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,a.call(this)};s.prototype={constructor:s,addClip:function(e){this._clips.push(e)},addAnimator:function(e){e.animation=this;for(var t=e.getClips(),n=0;n=0&&this._clips.splice(t,1)},removeAnimator:function(e){for(var t=e.getClips(),n=0;n=0;if(i){var o="touchend"!=r?t.targetTouches[0]:t.changedTouches[0];o&&a(e,o,t,n)}else a(e,t,t,n),t.zrDelta=t.wheelDelta?t.wheelDelta/120:-(t.detail||0)/3;return t}function s(e,t,n){h?e.addEventListener(t,n):e.attachEvent("on"+t,n)}function l(e,t,n){h?e.removeEventListener(t,n):e.detachEvent("on"+t,n)}var u=n(268),c=n(237),h="undefined"!=typeof window&&!!window.addEventListener,d=h?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};e.exports={clientToLocal:a,normalizeEvent:o,addEventListener:s,removeEventListener:l,stop:d,Dispatcher:u}},function(e,t){e.exports="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){setTimeout(e,16)}},function(e,t,n){function r(e){return"mousewheel"===e&&d.browser.firefox?"DOMMouseScroll":e}function a(e,t,n){var r=e._gestureMgr;"start"===n&&r.clear();var a=r.recognize(t,e.handler.findHover(t.zrX,t.zrY,null).target,e.dom);if("end"===n&&r.clear(),a){var i=a.type;t.gestureEvent=i,e.handler.dispatchToElement({target:a.target},i,a.event)}}function i(e){e._touching=!0,clearTimeout(e._touchTimer),e._touchTimer=setTimeout(function(){e._touching=!1},700)}function o(e){var t=e.pointerType;return"pen"===t||"touch"===t}function s(e){function t(e,t){return function(){if(!t._touching)return e.apply(t,arguments)}}c.each(x,function(t){e._handlers[t]=c.bind(w[t],e)}),c.each(b,function(t){e._handlers[t]=c.bind(w[t],e)}),c.each(y,function(n){e._handlers[n]=t(w[n],e)})}function l(e){function t(t,n){c.each(t,function(t){f(e,r(t),n._handlers[t])},n)}h.call(this),this.dom=e,this._touching=!1,this._touchTimer,this._gestureMgr=new p,this._handlers={},s(this),d.pointerEventsSupported?t(b,this):(d.touchEventsSupported&&t(x,this),t(y,this))}var u=n(323),c=n(239),h=n(268),d=n(237),p=n(326),f=u.addEventListener,g=u.removeEventListener,m=u.normalizeEvent,v=300,y=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],x=["touchstart","touchend","touchmove"],_={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},b=c.map(y,function(e){var t=e.replace("mouse","pointer");return _[t]?t:e}),w={mousemove:function(e){e=m(this.dom,e),this.trigger("mousemove",e)},mouseout:function(e){e=m(this.dom,e);var t=e.toElement||e.relatedTarget;if(t!=this.dom)for(;t&&9!=t.nodeType;){if(t===this.dom)return;t=t.parentNode}this.trigger("mouseout",e)},touchstart:function(e){e=m(this.dom,e),e.zrByTouch=!0,this._lastTouchMoment=new Date,a(this,e,"start"),w.mousemove.call(this,e),w.mousedown.call(this,e),i(this)},touchmove:function(e){e=m(this.dom,e),e.zrByTouch=!0,a(this,e,"change"),w.mousemove.call(this,e),i(this)},touchend:function(e){e=m(this.dom,e),e.zrByTouch=!0,a(this,e,"end"),w.mouseup.call(this,e),+new Date-this._lastTouchMoment1&&i&&i.length>1){var s=r(i)/r(o);!isFinite(s)&&(s=1),t.pinchScale=s;var l=a(i);return t.pinchX=l[0],t.pinchY=l[1],{type:"pinch",target:e[0].target,event:t}}}}};e.exports=o},function(e,t,n){"use strict";function r(e){return parseInt(e,10)}function a(e){return!!e&&(!!e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh)}function i(e){e.__unusedCount++}function o(e){1==e.__unusedCount&&e.clear()}function s(e,t,n){return x.copy(e.getBoundingRect()),e.transform&&x.applyTransform(e.transform),_.width=t,_.height=n,!x.intersect(_)}function l(e,t){if(e==t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n=0&&n.splice(r,1),e.__hoverMir=null},clearHover:function(e){for(var t=this._hoverElements,n=0;n=0){if(!s){if(s=this._progressiveLayers[Math.min(u++,y-1)],s.ctx.save(),s.renderScope={},s&&s.__progress>s.__maxProgress){g=s.__nextIdxNotProg-1;continue}l=s.__progress,s.__dirty||(f=l),s.__progress=f+1}_===f&&this._doPaintEl(v,s,!0,s.renderScope)}else this._doPaintEl(v,r,t,o);v.__dirty=!1}}s&&n(s),i&&i.restore(),this._furtherProgressive=!1,d.each(this._progressiveLayers,function(e){e.__maxProgress>=e.__progress&&(this._furtherProgressive=!0)},this)},_doPaintEl:function(e,t,n,r){var a=t.ctx,i=e.transform;if((t.__dirty||n)&&!e.invisible&&0!==e.style.opacity&&(!i||i[0]||i[3])&&(!e.culling||!s(e,this._width,this._height))){var o=e.__clipPaths;(r.prevClipLayer!==t||l(o,r.prevElClipPaths))&&(r.prevElClipPaths&&(r.prevClipLayer.ctx.restore(),r.prevClipLayer=r.prevElClipPaths=null,r.prevEl=null),o&&(a.save(),u(o,a),r.prevClipLayer=t,r.prevElClipPaths=o)),e.beforeBrush&&e.beforeBrush(a),e.brush(a,r.prevEl||null),r.prevEl=e,e.afterBrush&&e.afterBrush(a)}},getLayer:function(e){if(this._singleCanvas)return this._layers[0];var t=this._layers[e];return t||(t=new m("zr_"+e,this,this.dpr),t.__builtin__=!0,this._layerConfig[e]&&d.merge(t,this._layerConfig[e],!0),this.insertLayer(e,t),t.initContext()),t},insertLayer:function(e,t){var n=this._layers,r=this._zlevelList,i=r.length,o=null,s=-1,l=this._domRoot;if(n[e])return void p("ZLevel "+e+" has been used already");if(!a(t))return void p("Layer of zlevel "+e+" is not valid");if(i>0&&e>r[0]){for(s=0;se);s++);o=n[r[s]]}if(r.splice(s+1,0,e),n[e]=t,!t.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(t.dom,u.nextSibling):l.appendChild(t.dom)}else l.firstChild?l.insertBefore(t.dom,l.firstChild):l.appendChild(t.dom)},eachLayer:function(e,t){var n,r,a=this._zlevelList;for(r=0;r=0){o!==g&&(o=g,l++);var v=h.__frame=l-1;if(!i){var x=Math.min(s,y-1);i=n[x],i||(i=n[x]=new m("progressive",this,this.dpr),i.initContext()),i.__maxProgress=0}i.__dirty=i.__dirty||h.__dirty,i.elCount++,i.__maxProgress=Math.max(i.__maxProgress,v),i.__maxProgress>=i.__progress&&(f.__dirty=!0)}else h.__frame=-1,i&&(i.__nextIdxNotProg=u,s++,i=null)}i&&(s++,i.__nextIdxNotProg=u),this.eachBuiltinLayer(function(e,t){r[t]!==e.elCount&&(e.__dirty=!0)}),n.length=Math.min(s,y),d.each(n,function(e,t){a[t]!==e.elCount&&(h.__dirty=!0),e.__dirty&&(e.__progress=0)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(e){e.clear()},configLayer:function(e,t){if(t){var n=this._layerConfig;n[e]?d.merge(n[e],t,!0):n[e]=t;var r=this._layers[e];r&&d.merge(r,n[e],!0)}},delLayer:function(e){var t=this._layers,n=this._zlevelList,r=t[e];r&&(r.dom.parentNode.removeChild(r.dom),delete t[e],n.splice(d.indexOf(n,e),1))},resize:function(e,t){var n=this._domRoot;n.style.display="none";var r=this._opts;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!=e||t!=this._height){n.style.width=e+"px",n.style.height=t+"px";for(var a in this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(e,t);d.each(this._progressiveLayers,function(n){n.resize(e,t)}),this.refresh(!0)}return this._width=e,this._height=t,this},clearLayer:function(e){var t=this._layers[e];t&&t.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(e){function t(e,t){var r=o._zlevelList;null==e&&(e=-(1/0));for(var a,i=0;ie&&s=0?a[s]=new l.constructor(i[s].length):a[s]=i[s]}return r}var i="undefined",o="undefined"==typeof window?t:window,s=typeof o.Float64Array===i?Array:o.Float64Array,l=typeof o.Int32Array===i?Array:o.Int32Array,u={float:s,int:l,ordinal:Array,number:Array,time:Array},c=n(247),h=n(334),d=n(239),p=n(240),f=d.isObject,g=["stackedOn","hasItemOption","_nameList","_idList","_rawData"],m=function(e,t){d.each(g.concat(t.__wrappedMethods||[]),function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e.__wrappedMethods=t.__wrappedMethods},v=function(e,t){e=e||["x","y"];for(var n={},r=[],a=0;a0&&(S+="__ec__"+c[w]),c[w]++),S&&(l[h]=S)}this._nameList=t,this._idList=l},y.count=function(){return this.indices.length},y.get=function(e,t,n){var r=this._storage,a=this.indices[t];if(null==a)return NaN;var i=r[e]&&r[e][a];if(n){var o=this._dimensionInfos[e];if(o&&o.stackable)for(var s=this.stackedOn;s;){var l=s.get(e,t);(i>=0&&l>0||i<=0&&l<0)&&(i+=l),s=s.stackedOn}}return i},y.getValues=function(e,t,n){var r=[];d.isArray(e)||(n=t,t=e,e=this.dimensions);for(var a=0,i=e.length;al&&(l=i));return this._extent[e+!!t]=[s,l]}return[1/0,-(1/0)]},y.getSum=function(e,t){var n=this._storage[e],r=0;if(n)for(var a=0,i=this.count();ae))return i;a=i-1}}return-1},y.indicesOfNearest=function(e,t,n,r){var a=this._storage,i=a[e],o=[];if(!i)return o;null==r&&(r=1/0);for(var s=Number.MAX_VALUE,l=-1,u=0,c=this.count();u=0&&l<0)&&(s=d,l=h,o.length=0),o.push(u))}return o},y.getRawIndex=function(e){var t=this.indices[e];return null==t?-1:t},y.getRawDataItem=function(e){return this._rawData[this.getRawIndex(e)]},y.getName=function(e){return this._nameList[this.indices[e]]||""},y.getId=function(e){return this._idList[this.indices[e]]||this.getRawIndex(e)+""},y.each=function(e,t,n,a){"function"==typeof e&&(a=n,n=t,t=e,e=[]),e=d.map(r(e),this.getDimension,this);var i=[],o=e.length,s=this.indices;a=a||this;for(var l=0;lf-g&&(d=f-g,c.length=d);for(var m=0;m=n&&e<=r},containData:function(e){return this.contain(this.dataToCoord(e))},getExtent:function(){var e=this._extent.slice();return e},getPixelPrecision:function(e){return a.getPixelPrecision(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var n=this._extent;n[0]=e,n[1]=t},dataToCoord:function(e,t){var n=this._extent,a=this.scale;return e=a.normalize(e),this.onBand&&"ordinal"===a.type&&(n=n.slice(),r(n,a.count())),i(e,s,n,t)},coordToData:function(e,t){var n=this._extent,a=this.scale;this.onBand&&"ordinal"===a.type&&(n=n.slice(),r(n,a.count()));var o=i(e,n,s,t);return this.scale.scale(o)},pointToData:function(e,t){},getTicksCoords:function(e){if(this.onBand&&!e){for(var t=this.getBands(),n=[],r=0;r=0&&a(e)?function(e,t,n,r){return d.isDataItemOption(e)&&(x.hasItemOption=!0),r===y?n:g(f(e),v[r])}:function(e,t,n,r){var a=f(e),i=g(a&&a[r],v[r]);d.isDataItemOption(e)&&(x.hasItemOption=!0);var o=s&&s.categoryAxesModels;return o&&o[t]&&"string"==typeof i&&(b[t]=b[t]||o[t].getCategories(),i=h.indexOf(b[t],i),i<0&&!isNaN(i)&&(i=+i)),i};return x.hasItemOption=!1,x.initData(e,_,w),x}function o(e){return"category"!==e&&"time"!==e}function s(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function l(e,t){var n,r=[],a=e&&e.dimensions[e.categoryIndex];if(a&&(n=e.categoryAxesModels[a.name]),n){var i=n.getCategories();if(i){var o=t.length;if(h.isArray(t[0])&&t[0].length>1){r=[];for(var s=0;s0&&u>0&&!c&&(l=0),l<0&&u<0&&!h&&(u=0)),[l,u]},u.niceScaleExtent=function(e,t){var n=u.getScaleExtent(e,t),r=null!=t.getMin(),a=null!=t.getMax(),i=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase")),e.setExtent(n[0],n[1]),e.niceExtent(i,r,a);var o=t.get("minInterval");if(isFinite(o)&&!r&&!a&&"interval"===e.type){var s=e.getInterval(),l=Math.max(Math.abs(s),o)/s;n=e.getExtent();var c=(n[1]+n[0])/2;e.setExtent(l*(n[0]-c)+c,l*(n[1]-c)+c),e.niceExtent(i)}var s=t.get("interval");null!=s&&e.setInterval&&e.setInterval(s)},u.createScaleByModel=function(e,t){if(t=t||e.get("type"))switch(t){case"category":return new r(e.getCategories(),[1/0,-(1/0)]);case"value":return new a;default:return(i.getClass(t)||a).create(e)}},u.ifAxisCrossZero=function(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)},u.getAxisLabelInterval=function(e,t,n,r){var a,i=0,o=0,s=1;t.length>40&&(s=Math.floor(t.length/40));for(var u=0;u1?s:(i+1)*s-1},u.getFormattedLabels=function(e,t){var n=e.scale,r=n.getTicksLabels(),a=n.getTicks();return"string"==typeof t?(t=function(e){return function(t){return e.replace("{value}",null!=t?t:"")}}(t),s.map(r,t)):"function"==typeof t?s.map(a,function(n,r){return t(u.getAxisRawValue(e,n),r)},this):r},u.getAxisRawValue=function(e,t){return"category"===e.type?e.scale.getLabel(t):t},e.exports=u},function(e,t,n){var r=n(239),a=n(342),i=a.prototype,o=a.extend({type:"ordinal",init:function(e,t){this._data=e,this._extent=t||[0,e.length-1]},parse:function(e){return"string"==typeof e?r.indexOf(this._data,e):Math.round(e)},contain:function(e){return e=this.parse(e),i.contain.call(this,e)&&null!=this._data[e]},normalize:function(e){return i.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(i.scale.call(this,e))},getTicks:function(){for(var e=[],t=this._extent,n=t[0];n<=t[1];)e.push(n),n++;return e},getLabel:function(e){return this._data[e]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(e,t){this.unionExtent(e.getDataExtent(t,!1))},niceTicks:r.noop,niceExtent:r.noop});o.create=function(){return new o},e.exports=o},function(e,t,n){function r(e){this._setting=e||{},this._extent=[1/0,-(1/0)],this._interval=0,this.init&&this.init.apply(this,arguments)}var a=n(248),i=r.prototype;i.parse=function(e){return e},i.getSetting=function(e){return this._setting[e]},i.contain=function(e){var t=this._extent;return e>=t[0]&&e<=t[1]},i.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},i.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},i.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1])},i.unionExtentFromData=function(e,t){this.unionExtent(e.getDataExtent(t,!0))},i.getExtent=function(){return this._extent.slice()},i.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},i.getTicksLabels=function(){for(var e=[],t=this.getTicks(),n=0;nt[1]&&(t[1]=e[1]),l.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval||this.niceTicks(),this._interval},setInterval:function(e){this._interval=e,this._niceExtent=this._extent.slice()},getTicks:function(){return this._interval||this.niceTicks(),o.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getTicksLabels:function(){for(var e=[],t=this.getTicks(),n=0;ne[1]&&(e[0]=e[1])},o.intervalScaleGetTicks=function(e,t,n,r){var a=[];if(!e)return a;var o=1e4;t[0]o)return[];return t[1]>(a.length?a[a.length-1]:n[1])&&a.push(t[1]),a},e.exports=o},function(e,t,n){var r=n(239),a=n(242),i=n(241),o=n(344),s=n(343),l=s.prototype,u=Math.ceil,c=Math.floor,h=1e3,d=60*h,p=60*d,f=24*p,g=function(e,t,n,r){for(;n>>1;e[a][2]0}))},niceTicks:function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var r=o.quantity(n),a=e/n*r;for(a<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var i=[o.round(p(t[0]/r)*r),o.round(d(t[1]/r)*r)];this._interval=r,this._niceExtent=i}},niceExtent:function(e,t,n){u.niceExtent.call(this,e,t,n);var r=this._originalScale;r.__fixMin=t,r.__fixMax=n}});a.each(["contain","normalize"],function(e){m.prototype[e]=function(t){return t=g(t)/g(this.base),l[e].call(this,t)}}),m.create=function(){return new m},e.exports=m},function(e,t,n){function r(e){return a.isObject(e)&&null!=e.value?e.value:e}var a=n(239),i=n(340);e.exports={getFormattedLabels:function(){return i.getFormattedLabels(this.axis,this.get("axisLabel.formatter"))},getCategories:function(){return"category"===this.get("type")&&a.map(this.get("data"),r)},getMin:function(e){var t=this.option,n=e||null==t.rangeStart?t.min:t.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&!a.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(e){var t=this.option,n=e||null==t.rangeEnd?t.max:t.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&!a.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var e=this.option;return null==e.rangeStart&&null==e.rangeEnd&&!e.scale},getCoordSysModel:a.noop,setRange:function(e,t){this.option.rangeStart=e,this.option.rangeEnd=t},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}}},function(e,t,n){var r=n(239),a=n(236),i=a.PRIORITY;n(349),n(350),a.registerVisual(r.curry(n(355),"line","circle","line")),a.registerLayout(r.curry(n(356),"line")),a.registerProcessor(i.PROCESSOR.STATISTIC,r.curry(n(357),"line")),n(358)},function(e,t,n){"use strict";var r=n(337),a=n(263);e.exports=a.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){if(__DEV__){var n=e.coordinateSystem;if("polar"!==n&&"cartesian2d"!==n)throw new Error("Line not support coordinateSystem besides cartesian and polar")}return r(e.data,this,t)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{normal:{position:"top"}},lineStyle:{normal:{width:2,type:"solid"}},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:!1,connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}})},function(e,t,n){"use strict";function r(e,t){if(e.length===t.length){for(var n=0;nt[0]?1:-1;t[0]+=r*n,t[1]-=r*n}return t}function o(e){return e>=0?1:-1}function s(e,t){var n=e.getBaseAxis(),r=e.getOtherAxis(n),a=n.onZero?0:r.scale.getExtent()[0],i=r.dim,s="x"===i||"radius"===i?1:0;return t.mapArray([i],function(r,l){for(var u,c=t.stackedOn;c&&o(c.get(i,l))===o(r);){u=c;break}var h=[];return h[s]=t.get(n.dim,l),h[1-s]=u?u.get(i,l,!0):a,e.dataToPoint(h)},!0)}function l(e,t,n){var r=i(e.getAxis("x")),a=i(e.getAxis("y")),o=e.getBaseAxis().isHorizontal(),s=Math.min(r[0],r[1]),l=Math.min(a[0],a[1]),u=Math.max(r[0],r[1])-s,c=Math.max(a[0],a[1])-l,h=n.get("lineStyle.normal.width")||2,d=n.get("clipOverflow")?h/2:Math.max(u,c);o?(l-=d,c+=2*d):(s-=d,u+=2*d);var p=new v.Rect({shape:{x:s,y:l,width:u,height:c}});return t&&(p.shape[o?"width":"height"]=0,v.initProps(p,{shape:{width:u,height:c}},n)),p}function u(e,t,n){var r=e.getAngleAxis(),a=e.getRadiusAxis(),i=a.getExtent(),o=r.getExtent(),s=Math.PI/180,l=new v.Sector({shape:{cx:e.cx,cy:e.cy,r0:i[0],r:i[1],startAngle:-o[0]*s,endAngle:-o[1]*s,clockwise:r.inverse}});return t&&(l.shape.endAngle=-o[0]*s,v.initProps(l,{shape:{endAngle:-o[1]*s}},n)),l}function c(e,t,n){return"polar"===e.type?u(e,t,n):l(e,t,n)}function h(e,t,n){for(var r=t.getBaseAxis(),a="x"===r.dim||"radius"===r.dim?0:1,i=[],o=0;o=0;a--)if(n[a].dimension<2){r=n[a];break}if(!r||"cartesian2d"!==t.type)return void(__DEV__&&console.warn("Visual map on line style only support x or y dimension."));var i=r.dimension,o=e.dimensions[i],s=t.getAxis(o),l=p.map(r.stops,function(e){return{coord:s.toGlobalCoord(s.dataToCoord(e.value)),color:e.color}}),u=l.length,c=r.outerColors.slice();u&&l[0].coord>l[u-1].coord&&(l.reverse(),c.reverse());var h=10,d=l[0].coord-h,f=l[u-1].coord+h,g=f-d;if(g<.001)return"transparent";p.each(l,function(e){e.offset=(e.coord-d)/g}),l.push({offset:u?l[u-1].offset:.5,color:c[1]||"transparent"}),l.unshift({offset:u?l[0].offset:.5,color:c[0]||"transparent"});var m=new v.LinearGradient(0,0,0,0,l,!0);return m[o]=d,m[o+"2"]=f,m}}var p=n(239),f=n(351),g=n(352),m=n(353),v=n(279),y=n(240),x=n(354),_=n(278);e.exports=_.extend({type:"line",init:function(){var e=new v.Group,t=new f;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,n){var i=e.coordinateSystem,o=this.group,l=e.getData(),u=e.getModel("lineStyle.normal"),f=e.getModel("areaStyle.normal"),g=l.mapArray(l.getItemLayout,!0),m="polar"===i.type,v=this._coordSys,y=this._symbolDraw,x=this._polyline,_=this._polygon,b=this._lineGroup,w=e.get("animation"),S=!f.isEmpty(),M=s(i,l),C=e.get("showSymbol"),T=C&&!m&&!e.get("showAllSymbol")&&this._getSymbolIgnoreFunc(l,i),A=this._data;A&&A.eachItemGraphicEl(function(e,t){e.__temp&&(o.remove(e),A.setItemGraphicEl(t,null))}),C||y.remove(),o.add(b);var I=!m&&e.get("step");x&&v.type===i.type&&I===this._step?(S&&!_?_=this._newPolygon(g,M,i,w):_&&!S&&(b.remove(_),_=this._polygon=null),b.setClipPath(c(i,!1,e)),C&&y.updateData(l,T),l.eachItemGraphicEl(function(e){e.stopAnimation(!0)}),r(this._stackedOnPoints,M)&&r(this._points,g)||(w?this._updateAnimation(l,M,i,n,I):(I&&(g=h(g,i,I),M=h(M,i,I)),x.setShape({points:g}),_&&_.setShape({points:g,stackedOnPoints:M})))):(C&&y.updateData(l,T),I&&(g=h(g,i,I),M=h(M,i,I)),x=this._newPolyline(g,i,w),S&&(_=this._newPolygon(g,M,i,w)),b.setClipPath(c(i,!0,e)));var E=d(l,i)||l.getVisual("color");x.useStyle(p.defaults(u.getLineStyle(),{fill:"none",stroke:E,lineJoin:"bevel"}));var P=e.get("smooth");if(P=a(e.get("smooth")),x.setShape({smooth:P,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),_){var L=l.stackedOn,D=0;if(_.useStyle(p.defaults(f.getAreaStyle(),{fill:E,opacity:.7,lineJoin:"bevel"})),L){var k=L.hostModel;D=a(k.get("smooth"))}_.setShape({smooth:P,stackedOnSmooth:D,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=l,this._coordSys=i,this._stackedOnPoints=M,this._points=g,this._step=I},dispose:function(){},highlight:function(e,t,n,r){var a=e.getData(),i=y.queryDataIndex(a,r);if(!(i instanceof Array)&&null!=i&&i>=0){var o=a.getItemGraphicEl(i);if(!o){var s=a.getItemLayout(i);if(!s)return;o=new g(a,i),o.position=s,o.setZ(e.get("zlevel"),e.get("z")),o.ignore=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,a.setItemGraphicEl(i,o),o.stopSymbolAnimation(!0),this.group.add(o)}o.highlight()}else _.prototype.highlight.call(this,e,t,n,r)},downplay:function(e,t,n,r){var a=e.getData(),i=y.queryDataIndex(a,r);if(null!=i&&i>=0){var o=a.getItemGraphicEl(i);o&&(o.__temp?(a.setItemGraphicEl(i,null),this.group.remove(o)):o.downplay())}else _.prototype.downplay.call(this,e,t,n,r)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new x.Polyline({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new x.Polygon({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_getSymbolIgnoreFunc:function(e,t){var n=t.getAxesByScale("ordinal")[0];if(n&&n.isLabelIgnored)return p.bind(n.isLabelIgnored,n)},_updateAnimation:function(e,t,n,r,a){var i=this._polyline,o=this._polygon,s=e.hostModel,l=m(this._data,e,this._stackedOnPoints,t,this._coordSys,n),u=l.current,c=l.stackedOnCurrent,d=l.next,p=l.stackedOnNext;a&&(u=h(l.current,n,a),c=h(l.stackedOnCurrent,n,a),d=h(l.next,n,a),p=h(l.stackedOnNext,n,a)),i.shape.__points=l.current,i.shape.points=u,v.updateProps(i,{shape:{points:d}},s),o&&(o.setShape({points:u,stackedOnPoints:c}),v.updateProps(o,{shape:{points:d,stackedOnPoints:p}},s));for(var f=[],g=l.status,y=0;y=0?1:-1}function r(e,t,r){for(var a,i=e.getBaseAxis(),o=e.getOtherAxis(i),s=i.onZero?0:o.scale.getExtent()[0],l=o.dim,u="x"===l||"radius"===l?1:0,c=t.stackedOn,h=t.get(l,r);c&&n(c.get(l,r))===n(h);){a=c;break}var d=[];return d[u]=t.get(i.dim,r),d[1-u]=a?a.get(l,r,!0):s,e.dataToPoint(d)}function a(e,t){var n=[];return t.diff(e).add(function(e){n.push({cmd:"+",idx:e})}).update(function(e,t){n.push({cmd:"=",idx:t,idx1:e})}).remove(function(e){n.push({cmd:"-",idx:e})}).execute(),n}e.exports=function(e,t,n,i,o,s){for(var l=a(e,t),u=[],c=[],h=[],d=[],p=[],f=[],g=[],m=s.dimensions,v=0;v=i||b<0)break;if(r(S)){if(x){b+=o;continue}break}if(b===n)e[o>0?"moveTo":"lineTo"](S[0],S[1]),h(p,S);else if(v>0){var M=b+o,C=t[M];if(x)for(;C&&r(t[M]);)M+=o,C=t[M];var T=.5,A=t[_],C=t[M];if(!C||r(C))h(f,S);else{r(C)&&!x&&(C=S),s.sub(d,C,A);var I,E;if("x"===y||"y"===y){var P="x"===y?0:1;I=Math.abs(S[P]-A[P]),E=Math.abs(S[P]-C[P])}else I=s.dist(S,A),E=s.dist(S,C);T=E/(E+I),c(f,S,d,-v*(1-T))}l(p,p,m),u(p,p,g),l(f,f,m),u(f,f,g),e.bezierCurveTo(p[0],p[1],f[0],f[1],S[0],S[1]),c(p,S,d,v*T)}else e.lineTo(S[0],S[1]);_=b,b+=o}return w}function i(e,t){var n=[1/0,1/0],r=[-(1/0),-(1/0)];if(t)for(var a=0;ar[0]&&(r[0]=i[0]),i[1]>r[1]&&(r[1]=i[1])}return{min:t?n:r,max:t?r:n}}var o=n(281),s=n(245),l=s.min,u=s.max,c=s.scaleAndAdd,h=s.copy,d=[],p=[],f=[];e.exports={Polyline:o.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},buildPath:function(e,t){var n=t.points,o=0,s=n.length,l=i(n,t.smoothConstraint);if(t.connectNulls){for(;s>0&&r(n[s-1]);s--);for(;o0&&r(n[l-1]);l--);for(;st&&(t=e[n]);return t},min:function(e){for(var t=1/0,n=0;n1){var h;"string"==typeof a?h=n[a]:"function"==typeof a&&(h=a),h&&(t=t.downSample(s.dim,1/c,h,r),e.setData(t))}}},this)}},function(e,t,n){"use strict";var r=n(279),a=n(239),i=n(236);n(359),n(368),i.extendComponentView({type:"grid",render:function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new r.Rect({shape:e.coordinateSystem.getRect(),style:a.defaults({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))}}),i.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})},function(e,t,n){function r(e,t,n){return e.getCoordSysModel()===t}function a(e){var t,n=e.model,r=n.getFormattedLabels(),a=n.getModel("axisLabel.textStyle"),i=1,o=r.length;o>40&&(i=Math.ceil(o/40));for(var s=0;st[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},getLabelInterval:function(){var e=this._labelInterval;return e||(e=this._labelInterval=i(this)),e},isLabelIgnored:function(e){if("category"===this.type){var t=this.getLabelInterval();return"function"==typeof t&&!t(e,this.scale.getLabel(e))||e%(t+1)}},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},r.inherits(o,a),e.exports=o},function(e,t,n){"use strict";var r=n(239),a=n(340);e.exports=function(e){var t=e.model,n=t.getModel("axisLabel"),i=n.get("interval");return"category"!==e.type||"auto"!==i?"auto"===i?0:i:a.getAxisLabelInterval(r.map(e.scale.getTicks(),e.dataToCoord,e),t.getFormattedLabels(),n.getModel("textStyle").getFont(),e.isHorizontal())}},function(e,t,n){"use strict";n(365);var r=n(254);e.exports=r.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}})},function(e,t,n){"use strict";function r(e,t){return t.type||(t.data?"category":"value")}var a=n(254),i=n(239),o=n(366),s=a.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});i.merge(s.prototype,n(347));var l={offset:0};o("x",s,r,l),o("y",s,r,l),e.exports=s},function(e,t,n){var r=n(367),a=n(239),i=n(254),o=n(256),s=["value","category","time","log"];e.exports=function(e,t,n,l){a.each(s,function(i){t.extend({type:e+"Axis."+i,mergeDefaultAndTheme:function(t,r){var s=this.layoutMode,l=s?o.getLayoutParams(t):{},u=r.getTheme();a.merge(t,u.get(i+"Axis")),a.merge(t,this.getDefaultOption()),t.type=n(e,t),s&&o.mergeLayoutParam(t,l,s)},defaultOption:a.mergeAll([{},r[i+"Axis"],l],!0)})}),i.registerSubTypeDefaulter(e+"Axis",a.curry(n,e))}},function(e,t,n){var r=n(239),a={show:!0,zlevel: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:!0,lineStyle:{color:"#333",width:1,type:"solid"}},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,textStyle:{fontSize:12}},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},i=r.merge({boundaryGap:!0,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},a),o=r.merge({boundaryGap:[0,0],splitNumber:5},a),s=r.defaults({scale:!0,min:"dataMin",max:"dataMax"},o),l=r.defaults({logBase:10},o);l.scale=!0,e.exports={categoryAxis:i,valueAxis:o,timeAxis:s,logAxis:l}},function(e,t,n){"use strict";n(365),n(369)},function(e,t,n){var r=n(239),a=n(279),i=n(370),o=n(371),s=n(373),l=i.ifIgnoreOnTick,u=i.getInterval,c=["axisLine","axisLabel","axisTick","axisName"],h=["splitArea","splitLine"],d=o.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,n,o){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new a.Group,this.group.add(this._axisGroup),e.get("show")){var u=e.getCoordSysModel(),p=s.layout(u,e),f=new i(e,p);r.each(c,f.add,f),this._axisGroup.add(f.getGroup()),r.each(h,function(t){e.get(t+".show")&&this["_"+t](e,u,p.labelInterval)},this),a.groupTransition(l,this._axisGroup,e),d.superCall(this,"render",e,t,n,o)}},_splitLine:function(e,t,n){var i=e.axis;if(!i.scale.isBlank()){var o=e.getModel("splitLine"),s=o.getModel("lineStyle"),c=s.get("color"),h=u(o,n);c=r.isArray(c)?c:[c];for(var d=t.coordinateSystem.getRect(),p=i.isHorizontal(),f=0,g=i.getTicksCoords(),m=i.scale.getTicks(),v=[],y=[],x=s.getLineStyle(),_=0;_r[1],l="start"===t&&!s||"start"!==t&&s;return f(o-x/2)?(i=l?"bottom":"top",a="center"):f(o-1.5*x)?(i=l?"top":"bottom",a="center"):(i="middle",a=o<1.5*x&&o>x/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:a,textVerticalAlign:i}}function i(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)}function o(e,t){var n=e.get("axisLabel.showMinLabel"),r=e.get("axisLabel.showMaxLabel"),a=t[0],i=t[1],o=t[t.length-1],l=t[t.length-2];n===!1?a.ignore=!0:null!=e.getMin()&&s(a,i)&&(n?i.ignore=!0:a.ignore=!0),r===!1?o.ignore=!0:null!=e.getMax()&&s(l,o)&&(r?l.ignore=!0:o.ignore=!0)}function s(e,t,n){var r=e&&e.getBoundingRect().clone(),a=t&&t.getBoundingRect().clone();if(r&&a){var i=m.identity([]);return m.rotate(i,i,-e.rotation),r.applyTransform(m.mul([],i,e.getLocalTransform())),a.applyTransform(m.mul([],i,t.getLocalTransform())),r.intersect(a)}}var l=n(239),u=n(241),c=n(279),h=n(247),d=n(242),p=d.remRadian,f=d.isRadianAroundZero,g=n(245),m=n(246),v=g.applyTransform,y=l.retrieve,x=Math.PI,_=function(e,t){this.opt=t,this.axisModel=e,l.defaults(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group;var n=new c.Group({position:t.position.slice(),rotation:t.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};_.prototype={constructor:_,hasBuilder:function(e){return!!b[e]},add:function(e){b[e].call(this)},getGroup:function(){return this.group}};var b={axisLine:function(){var e=this.opt,t=this.axisModel;if(t.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),r=this._transform,a=[n[0],0],i=[n[1],0];r&&(v(a,a,r),v(i,i,r)),this.group.add(new c.Line(c.subPixelOptimizeLine({anid:"line",shape:{x1:a[0],y1:a[1],x2:i[0],y2:i[1]},style:l.extend({lineCap:"round"},t.getModel("axisLine.lineStyle").getLineStyle()),strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1})))}},axisTick:function(){var e=this.axisModel,t=e.axis;if(e.get("axisTick.show")&&!t.scale.isBlank())for(var n=e.getModel("axisTick"),r=this.opt,a=n.getModel("lineStyle"),i=n.get("length"),o=M(n,r.labelInterval),s=t.getTicksCoords(n.get("alignWithLabel")),u=t.scale.getTicks(),h=[],d=[],p=this._transform,f=0;ff[1]?-1:1,m=["start"===s?f[0]-g*p:"end"===s?f[1]+g*p:(f[0]+f[1])/2,"middle"===s?e.labelOffset+h*p:0],v=t.get("nameRotate");null!=v&&(v=v*x/180);var _;"middle"===s?o=w(e.rotation,null!=v?v:e.rotation,h):(o=a(e,s,v||0,f),_=e.axisNameAvailableWidth,null!=_&&(_=Math.abs(_/Math.sin(o.rotation)),!isFinite(_)&&(_=null)));var b=d.getFont(),S=t.get("nameTruncate",!0)||{},M=S.ellipsis,C=y(e.nameTruncateMaxWidth,S.maxWidth,_),T=null!=M&&null!=C?u.truncateText(n,C,b,M,{minChar:2,placeholder:S.placeholder}):n,A=t.get("tooltip",!0),I=t.mainType,E={componentType:I,name:n,$vars:["name"]};E[I+"Index"]=t.componentIndex;var P=new c.Text({anid:"name",__fullText:n,__truncatedText:T,style:{text:T,textFont:b,fill:d.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:o.textAlign,textVerticalAlign:o.textVerticalAlign},position:m,rotation:o.rotation,silent:i(t),z2:1,tooltip:A&&A.show?l.extend({content:n,formatter:function(){return n},formatterParams:E},A):null});t.get("triggerEvent")&&(P.eventData=r(t),P.eventData.targetType="axisName",P.eventData.name=n),this._dumbGroup.add(P),P.updateTransform(),this.group.add(P),P.decomposeTransform()}}},w=_.innerTextLayout=function(e,t,n){var r,a,i=p(t-e);return f(i)?(a=n>0?"top":"bottom",r="center"):f(i-x)?(a=n>0?"bottom":"top",r="center"):(a="middle",r=i>0&&i0?"right":"left":n>0?"left":"right"),{rotation:i,textAlign:r,textVerticalAlign:a}},S=_.ifIgnoreOnTick=function(e,t,n){var r,a=e.scale;return"ordinal"===a.type&&("function"==typeof n?(r=a.getTicks()[t],!n(r,a.getLabel(r))):t%(n+1))},M=_.getInterval=function(e,t){var n=e.get("interval");return null!=n&&"auto"!=n||(n=t),n};e.exports=_},function(e,t,n){function r(e,t,n,r,s,l){var u=o.getAxisPointerClass(e.axisPointerClass);if(u){var c=i.getAxisPointerModel(t);c?(e._axisPointer||(e._axisPointer=new u)).render(t,c,r,l):a(e,r)}}function a(e,t,n){var r=e._axisPointer;r&&r.dispose(t,n),e._axisPointer=null}var i=n(372),o=n(236).extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,t,n,a){this.axisPointerClass&&i.fixValue(e),o.superApply(this,"render",arguments),r(this,e,t,n,a,!0)},updateAxisPointer:function(e,t,n,a,i){r(this,e,t,n,a,!1)},remove:function(e,t){var n=this._axisPointer;n&&n.remove(t),o.superApply(this,"remove",arguments)},dispose:function(e,t){a(this,t),o.superApply(this,"dispose",arguments)}}),s=[];o.registerAxisPointerClass=function(e,t){if(__DEV__&&s[e])throw new Error("axisPointer "+e+" exists");s[e]=t},o.getAxisPointerClass=function(e){return e&&s[e]},e.exports=o},function(e,t,n){function r(e,t,n){var r=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),s=i.get("link",!0)||[],u=[];h(n.getCoordinateSystems(),function(n){function c(r,c,h){var d=h.model.getModel("axisPointer",i),p=d.get("show");if(p&&("auto"!==p||r||l(d))){null==c&&(c=d.get("triggerTooltip")),d=r?a(h,v,i,t,r,c):d;var m=d.get("snap"),y=f(h.model),x=c||m||"category"===h.type,_=e.axesInfo[y]={key:y,axis:h,coordSys:n,axisPointerModel:d,triggerTooltip:c,involveSeries:x,snap:m,useHandle:l(d),seriesModels:[]};g[y]=_,e.seriesInvolved|=x;var b=o(s,h);if(null!=b){var w=u[b]||(u[b]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=s[b].mapper,_.linkGroup=w}}}if(n.axisPointerEnabled){var p=f(n.model),g=e.coordSysAxesInfo[p]={};e.coordSysMap[p]=n;var m=n.model,v=m.getModel("tooltip",r);if(h(n.getAxes(),d(c,!1,null)),n.getTooltipAxes&&r&&v.get("show")){var y="axis"===v.get("trigger"),x="cross"===v.get("axisPointer.type"),_=n.getTooltipAxes(v.get("axisPointer.axis"));(y||x)&&h(_.baseAxes,d(c,!x||"cross",y)),x&&h(_.otherAxes,d(c,"cross",!1))}}})}function a(e,t,n,r,a,i){var o=t.getModel("axisPointer"),s={};h(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(e){s[e]=u.clone(o.get(e))}),s.snap="category"!==e.type&&!!i,"cross"===o.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===a&&(l.show=!0,!i)){var d=s.lineStyle=o.get("crossStyle");d&&u.defaults(l.textStyle||(l.textStyle={}),d.textStyle)}return e.model.getModel("axisPointer",new c(s,n,r))}function i(e,t){t.eachSeries(function(t){var n=t.coordinateSystem,r=t.get("tooltip.trigger",!0);n&&"none"!==r&&r!==!1&&"item"!==r&&t.get("axisPointer.show",!0)!==!1&&h(e.coordSysAxesInfo[f(n.model)],function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())})},this)}function o(e,t){for(var n=t.model,r=t.dim,a=0;a=0||e===t}function l(e){return!!e.get("handle.show")}var u=n(239),c=n(247),h=u.each,d=u.curry,p={};p.collect=function(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return r(n,e,t),n.seriesInvolved&&i(n,e),n},p.fixValue=function(e){var t=p.getAxisInfo(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,a=n.option,i=n.get("status"),o=n.get("value");null!=o&&(o=r.parse(o));var s=l(n);null==i&&(a.status=s?"show":"hide");var u=r.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==o||o>u[1])&&(o=u[1]),o0?1:-1,o=r.height>0?1:-1;return{x:r.x+i*a/2,y:r.y+o*a/2,width:r.width-i*a,height:r.height-o*a}}function o(e,t,n,r,a,i,o){var s=t.getItemVisual(n,"color"),h=t.getItemVisual(n,"opacity"),d=r.getModel("itemStyle.normal"),p=r.getModel("itemStyle.emphasis").getBarItemStyle();e.setShape("r",d.get("barBorderRadius")||0),e.useStyle(l.defaults({fill:s,opacity:h},d.getBarItemStyle()));var f=o?a.height>0?"bottom":"top":a.width>0?"left":"right";c.setLabel(e.style,p,r,s,i,n,f),u.setHoverStyle(e,p)}function s(e,t){var n=e.get(h)||0;return Math.min(n,Math.abs(t.width),Math.abs(t.height))}var l=n(239),u=n(279),c=n(378),h=["itemStyle","normal","barBorderWidth"];l.extend(n(247).prototype,n(379));var d=n(236).extendChartView({type:"bar",render:function(e,t,n){var r=e.get("coordinateSystem");return"cartesian2d"===r&&this._renderOnCartesian(e,t,n),this.group},dispose:l.noop,_renderOnCartesian:function(e,t,n){var s=this.group,l=e.getData(),c=this._data,h=e.coordinateSystem,d=h.getBaseAxis(),p=d.isHorizontal(),f=e.isAnimationEnabled()?e:null;l.diff(c).add(function(t){if(l.hasValue(t)){var n=l.getItemModel(t),a=i(l,t,n),u=r(l,t,n,a,p,f);l.setItemGraphicEl(t,u),s.add(u),o(u,l,t,n,a,e,p)}}).update(function(t,n){var a=c.getItemGraphicEl(n);if(!l.hasValue(t))return void s.remove(a);var h=l.getItemModel(t),d=i(l,t,h);a?u.updateProps(a,{shape:d},f,t):a=r(l,t,h,d,p,f,!0),l.setItemGraphicEl(t,a),s.add(a),o(a,l,t,h,d,e,p)}).remove(function(e){var t=c.getItemGraphicEl(e);t&&a(e,f,t)}).execute(),this._data=l},remove:function(e,t){var n=this.group,r=this._data;e.get("animation")?r&&r.eachItemGraphicEl(function(t){a(t.dataIndex,e,t)}):n.removeAll()}});e.exports=d},function(e,t,n){function r(e,t,n,r,a){i.setText(e,t,n),e.text=r,"outside"===e.textPosition&&(e.textPosition=a)}var a=n(239),i=n(279),o={};o.setLabel=function(e,t,n,i,o,s,l){var u=n.getModel("label.normal"),c=n.getModel("label.emphasis");u.get("show")?r(e,u,i,a.retrieve(o.getFormattedLabel(s,"normal"),o.getRawValue(s)),l):e.text="",c.get("show")?r(t,c,i,a.retrieve(o.getFormattedLabel(s,"emphasis"),o.getRawValue(s)),l):t.text=""},e.exports=o},function(e,t,n){var r=n(250)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);e.exports={getBarItemStyle:function(e){var t=r.call(this,e);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(t.lineDash=n)}return t}}},function(e,t,n){"use strict";function r(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function a(e){return e.dim+e.index}function i(e,t){var n={};s.each(e,function(e,t){var i=e.getData(),o=e.coordinateSystem,s=o.getBaseAxis(),l=s.getExtent(),c="category"===s.type?s.getBandWidth():Math.abs(l[1]-l[0])/i.count(),h=n[a(s)]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},d=h.stacks;n[a(s)]=h;var p=r(e);d[p]||h.autoWidthCount++,d[p]=d[p]||{width:0,maxWidth:0};var f=u(e.get("barWidth"),c),g=u(e.get("barMaxWidth"),c),m=e.get("barGap"),v=e.get("barCategoryGap");f&&!d[p].width&&(f=Math.min(h.remainedWidth,f),d[p].width=f,h.remainedWidth-=f),g&&(d[p].maxWidth=g),null!=m&&(h.gap=m),null!=v&&(h.categoryGap=v)});var i={};return s.each(n,function(e,t){i[t]={};var n=e.stacks,r=e.bandWidth,a=u(e.categoryGap,r),o=u(e.gap,1),l=e.remainedWidth,c=e.autoWidthCount,h=(l-a)/(c+(c-1)*o);h=Math.max(h,0),s.each(n,function(e,t){var n=e.maxWidth;n&&n=0?"p":"n",v=m[n],y=l[s][n][c],x=u[s][n][c];p.isHorizontal()?(r=y,a=v[1]+h,i=v[0]-x,o=d,u[s][n][c]+=i,Math.abs(i)0&&"scale"!==d){var g=o.getItemLayout(0),m=Math.max(n.getWidth(),n.getHeight())/2,v=l.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(g.cx,g.cy,m,g.startAngle,g.clockwise,v,e))}this._data=o}},dispose:function(){},_createClipPath:function(e,t,n,r,a,i,o){var l=new s.Sector({shape:{cx:e,cy:t,r0:0,r:n,startAngle:r,endAngle:r,clockwise:a}});return s.initProps(l,{shape:{endAngle:r+(a?1:-1)*Math.PI*2}},o,i),l},containPoint:function(e,t){var n=t.getData(),r=n.getItemLayout(0);if(r){var a=e[0]-r.cx,i=e[1]-r.cy,o=Math.sqrt(a*a+i*i);return o<=r.r&&o>=r.r0}}});e.exports=c},function(e,t,n){var r=n(236),a=n(239);e.exports=function(e,t){a.each(t,function(t){t.update="updateView",r.registerAction(t,function(n,r){var a={};return r.eachComponent({mainType:"series",subType:e,query:n},function(e){e[t.method]&&e[t.method](n.name);var r=e.getData();r.each(function(t){var n=r.getName(t);a[n]=e.isSelected(n)||!1})}),{name:n.name,selected:a}})})}},function(e,t){e.exports=function(e,t){var n={};t.eachRawSeriesByType(e,function(e){var r=e.getRawData(),a={};if(!t.isSeriesFiltered(e)){var i=e.getData();i.each(function(e){var t=i.getRawIndex(e);a[t]=e}),r.each(function(t){var o=a[t],s=null!=o&&i.getItemVisual(o,"color",!0);if(s)r.setItemVisual(t,"color",s);else{var l=r.getItemModel(t),u=l.get("itemStyle.normal.color")||e.getColorFromPalette(r.getName(t),n);r.setItemVisual(t,"color",u),null!=o&&i.setItemVisual(o,"color",u)}})}})}},function(e,t,n){var r=n(242),a=r.parsePercent,i=n(388),o=n(239),s=2*Math.PI,l=Math.PI/180;e.exports=function(e,t,n,u){t.eachSeriesByType(e,function(e){var t=e.get("center"),u=e.get("radius");o.isArray(u)||(u=[0,u]),o.isArray(t)||(t=[t,t]);var c=n.getWidth(),h=n.getHeight(),d=Math.min(c,h),p=a(t[0],c),f=a(t[1],h),g=a(u[0],d/2),m=a(u[1],d/2),v=e.getData(),y=-e.get("startAngle")*l,x=e.get("minAngle")*l,_=v.getSum("value"),b=Math.PI/(_||v.count())*2,w=e.get("clockwise"),S=e.get("roseType"),M=e.get("stillShowZeroSum"),C=v.getDataExtent("value");C[0]=0;var T=s,A=0,I=y,E=w?1:-1;if(v.each("value",function(e,t){var n;if(isNaN(e))return void v.setItemLayout(t,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:w,cx:p,cy:f,r0:g,r:S?NaN:m});n="area"!==S?0===_&&M?b:e*b:s/(v.count()||1),nt&&i+1e[i].y+e[i].height)return void l(i,r/2);l(n-1,r/2)}function l(t,n){for(var r=t;r>=0&&(e[r].y-=n,!(r>0&&e[r].y>e[r-1].y+e[r-1].height));r--);}function u(e,t,n,r,a,i){for(var o=i>0?t?Number.MAX_VALUE:0:t?Number.MAX_VALUE:0,s=0,l=e.length;s=o&&(d=o-10),!t&&d<=o&&(d=o+10),e[s].x=n+d*i,o=d}}e.sort(function(e,t){return e.y-t.y});for(var c,h=0,d=e.length,p=[],f=[],g=0;g=n?f.push(e[g]):p.push(e[g]);u(p,!1,t,n,r,a),u(f,!0,t,n,r,a)}function a(e,t,n,a,i,o){for(var s=[],l=[],u=0;u0?"left":"right"}var P=g.getModel("textStyle").getFont(),L=g.get("rotate")?b<0?-_+Math.PI:-_:0,D=e.getFormattedLabel(n,"normal")||l.getName(n),k=i.getBoundingRect(D,P,d,"top");c=!!L,p.label={x:r,y:a,position:m,height:k.height,len:y,len2:x,linePoints:h,textAlign:d,verticalAlign:"middle",font:P,rotation:L},S||u.push(p.label)}),!c&&e.get("avoidLabelOverlap")&&a(u,o,s,t,n,r)}},function(e,t){e.exports=function(e,t){var n=t.findComponents({mainType:"legend"});n&&n.length&&t.eachSeriesByType(e,function(e){var t=e.getData();t.filterSelf(function(e){for(var r=t.getName(e),a=0;ae.get("largeThreshold")?a:i;this._symbolDraw=s,s.updateData(r),o.add(s.group),o.remove(s===a?i.group:a.group)},updateLayout:function(e){this._symbolDraw.updateLayout(e)},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t,!0)},dispose:function(){}})},function(e,t,n){function r(){this.group=new a.Group,this._symbolEl=new o({})}var a=n(279),i=n(339),o=a.extendShape({shape:{points:null,sizes:null},symbolProxy:null,buildPath:function(e,t){for(var n=t.points,r=t.sizes,a=this.symbolProxy,i=a.shape,o=0;o=0;i--){var o=r[i],s=a[i],l=o[0]-s[0]/2,u=o[1]-s[1]/2;if(e>=l&&t>=u&&e<=l+s[0]&&t<=u+s[1])return i}return-1}}),s=r.prototype;s.updateData=function(e){this.group.removeAll();var t=this._symbolEl,n=e.hostModel;t.setShape({points:e.mapArray(e.getItemLayout),sizes:e.mapArray(function(t){var n=e.getItemVisual(t,"symbolSize");return n instanceof Array||(n=[n,n]),n})}),t.symbolProxy=i.createSymbol(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor,t.useStyle(n.getModel("itemStyle.normal").getItemStyle(["color"]));var r=e.getVisual("color");r&&t.setColor(r),t.seriesIndex=n.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n)}),this.group.add(t)},s.updateLayout=function(e){var t=e.getData();this._symbolEl.setShape({points:t.mapArray(t.getItemLayout)})},s.remove=function(){this.group.removeAll()},e.exports=r},function(e,t,n){var r=n(239),a=n(236);n(395),n(400),n(401),a.registerVisual(r.curry(n(386),"radar")),a.registerVisual(r.curry(n(355),"radar","circle",null)),a.registerLayout(n(402)),a.registerProcessor(r.curry(n(389),"radar")),a.registerPreprocessor(n(403))},function(e,t,n){n(396),n(398),n(399)},function(e,t,n){function r(e,t,n){this._model=e,this.dimensions=[],this._indicatorAxes=a.map(e.getIndicatorModels(),function(e,t){var n="indicator_"+t,r=new i(n,new o);return r.name=e.get("name"),r.model=e,e.axis=r,this.dimensions.push(n),r},this),this.resize(e,n),this.cx,this.cy,this.r,this.startAngle}var a=n(239),i=n(397),o=n(343),s=n(242),l=n(340);r.prototype.getIndicatorAxes=function(){return this._indicatorAxes},r.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},r.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t],r=n.angle,a=this.cx+e*Math.cos(r),i=this.cy-e*Math.sin(r);return[a,i]},r.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=Math.sqrt(t*t+n*n);t/=r,n/=r;for(var a,i=Math.atan2(-n,t),o=1/0,s=-1,l=0;lr[0]&&isFinite(p)&&isFinite(r[0]))}else{var f=i.getTicks().length-1;f>o&&(h=n(h));var g=Math.round((r[0]+r[1])/2/h)*h,m=Math.round(o/2);i.setExtent(s.round(g-m*h),s.round(g+(o-m)*h)),i.setInterval(h)}})},r.dimensions=[],r.create=function(e,t){var n=[];return e.eachComponent("radar",function(a){var i=new r(a,e,t);n.push(i),a.coordinateSystem=i}),e.eachSeriesByType("radar",function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("radarIndex")||0])}),n},n(261).register("radar",r),e.exports=r},function(e,t,n){function r(e,t,n){i.call(this,e,t,n),this.type="value",this.angle=0,this.name="",this.model}var a=n(239),i=n(335);a.inherits(r,i),e.exports=r},function(e,t,n){function r(e,t){return s.defaults({show:t},e)}var a=n(367),i=a.valueAxis,o=n(247),s=n(239),l=n(347),u=n(236).extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),a=this.get("axisTick"),i=this.get("axisLabel"),u=this.get("name.textStyle"),c=this.get("name.show"),h=this.get("name.formatter"),d=this.get("nameGap"),p=this.get("triggerEvent"),f=s.map(this.get("indicator")||[],function(f){if(null!=f.max&&f.max>0&&!f.min?f.min=0:null!=f.min&&f.min<0&&!f.max&&(f.max=0),f=s.merge(s.clone(f),{boundaryGap:e,splitNumber:t,scale:n,axisLine:r,axisTick:a,axisLabel:i,name:f.text,nameLocation:"end", -nameGap:d,nameTextStyle:u,triggerEvent:p},!1),c||(f.name=""),"string"==typeof h){var g=f.name;f.name=h.replace("{value}",null!=g?g:"")}else"function"==typeof h&&(f.name=h(f.name,f));var m=s.extend(new o(f,null,this.ecModel),l);return m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this.getIndicatorModels=function(){return f}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:s.merge({lineStyle:{color:"#bbb"}},i.axisLine),axisLabel:r(i.axisLabel,!1),axisTick:r(i.axisTick,!1),splitLine:r(i.splitLine,!0),splitArea:r(i.splitArea,!0),indicator:[]}});e.exports=u},function(e,t,n){var r=n(370),a=n(239),i=n(279),o=["axisLine","axisLabel","axisTick","axisName"];e.exports=n(236).extendComponentView({type:"radar",render:function(e,t,n){var r=this.group;r.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),i=a.map(n,function(e){var n=new r(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return n});a.each(i,function(e){a.each(o,e.add,e),this.group.add(e.getGroup())},this)},_buildSplitLineAndArea:function(e){function t(e,t,n){var r=n%t.length;return e[r]=e[r]||[],r}var n=e.coordinateSystem,r=n.getIndicatorAxes();if(r.length){var o=e.get("shape"),s=e.getModel("splitLine"),l=e.getModel("splitArea"),u=s.getModel("lineStyle"),c=l.getModel("areaStyle"),h=s.get("show"),d=l.get("show"),p=u.get("color"),f=c.get("color");p=a.isArray(p)?p:[p],f=a.isArray(f)?f:[f];var g=[],m=[];if("circle"===o)for(var v=r[0].getTicksCoords(),y=n.cx,x=n.cy,_=0;_"+o.map(r,function(e,n){return s(e.name+" : "+t[n])}).join("
")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{normal:{width:2,type:"solid"}},label:{normal:{position:"top"}},symbol:"emptyCircle",symbolSize:4}});e.exports=l},function(e,t,n){function r(e){return i.isArray(e)||(e=[+e,+e]),e}var a=n(279),i=n(239),o=n(339);e.exports=n(236).extendChartView({type:"radar",render:function(e,t,n){function s(e,t){var n=e.getItemVisual(t,"symbol")||"circle",a=e.getItemVisual(t,"color");if("none"!==n){var i=o.createSymbol(n,-.5,-.5,1,1,a);return i.attr({style:{strokeNoScale:!0},z2:100,scale:r(e.getItemVisual(t,"symbolSize"))}),i}}function l(t,n,r,i,o,l){r.removeAll();for(var u=0;u"+l(r+" : "+n)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,r=n.getRegion(t);return r&&n.dataToPoint(r.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,textStyle:{color:"#000"}},emphasis:{show:!0,textStyle:{color:"rgb(100,0,0)"}}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{areaColor:"rgba(255,215,0,0.8)"}}}});i.mixin(d,c),e.exports=d},function(e,t,n){function r(e,t){var n=e.get("boundingCoords");if(null!=n){var r=n[0],a=n[1];isNaN(r[0])||isNaN(r[1])||isNaN(a[0])||isNaN(a[1])?__DEV__&&console.error("Invalid boundingCoords"):this.setBoundingRect(r[0],r[1],a[0]-r[0],a[1]-r[1])}var i,s=this.getBoundingRect(),u=e.get("layoutCenter"),c=e.get("layoutSize"),h=t.getWidth(),d=t.getHeight(),p=e.get("aspectScale")||.75,f=s.width/s.height*p,g=!1;u&&c&&(u=[l.parsePercent(u[0],h),l.parsePercent(u[1],d)],c=l.parsePercent(c,Math.min(h,d)),isNaN(u[0])||isNaN(u[1])||isNaN(c)?__DEV__&&console.warn("Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead."):g=!0);var m;if(g){var m={};f>1?(m.width=c,m.height=c/f):(m.height=c,m.width=c*f),m.y=u[1]-m.height/2,m.x=u[0]-m.width/2}else i=e.getBoxLayoutParams(),i.aspect=f,m=o.getLayoutRect(i,{width:h,height:d});this.setViewRect(m.x,m.y,m.width,m.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function a(e,t){s.each(t.get("geoCoord"),function(t,n){e.addGeoCoord(n,t)})}var i=n(407),o=n(256),s=n(239),l=n(242),u={};if(__DEV__)var c=function(e){console.error("Map "+e+" not exists. You can download map file on http://echarts.baidu.com/download-map.html")};var h={dimensions:i.prototype.dimensions,create:function(e,t){var n=[];e.eachComponent("geo",function(e,o){var s=e.get("map"),l=u[s];__DEV__&&(l||c(s));var h=new i(s+o,s,l&&l.geoJson,l&&l.specialAreas,e.get("nameMap"));h.zoomLimit=e.get("scaleLimit"),n.push(h),a(h,e),e.coordinateSystem=h,h.model=e,h.resize=r,h.resize(e,t)}),e.eachSeries(function(e){var t=e.get("coordinateSystem");if("geo"===t){var r=e.get("geoIndex")||0;e.coordinateSystem=n[r]}});var o={};return e.eachSeriesByType("map",function(e){if(!e.getHostGeoModel()){var t=e.getMapType();o[t]=o[t]||[],o[t].push(e)}}),s.each(o,function(e,o){var l=u[o];__DEV__&&(l||c(e[0].get("map")));var h=s.map(e,function(e){return e.get("nameMap")}),d=new i(o,o,l&&l.geoJson,l&&l.specialAreas,s.mergeAll(h));d.zoomLimit=s.retrieve.apply(null,s.map(e,function(e){return e.get("scaleLimit")})),n.push(d),d.resize=r,d.resize(e[0],t),s.each(e,function(e){e.coordinateSystem=d,a(d,e)})}),n},registerMap:function(e,t,n){t.geoJson&&!t.features&&(n=t.specialAreas,t=t.geoJson),"string"==typeof t&&(t="undefined"!=typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")()),u[e]={geoJson:t,specialAreas:n}},getMap:function(e){return u[e]},getFilledRegions:function(e,t){var n=(e||[]).slice(),r=h.getMap(t),a=r&&r.geoJson;if(!a)return __DEV__&&c(t),e;for(var i={},o=a.features,s=0;s>1^-(1&s),l=l>>1^-(1&l),s+=a,l+=i,a=s,i=l,r.push([s/n,l/n])}return r}var i=n(239),o=n(409);e.exports=function(e){return r(e),i.map(i.filter(e.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var t=e.properties,n=e.geometry,r=n.coordinates,a=[];"Polygon"===n.type&&a.push({type:"polygon",exterior:r[0],interiors:r.slice(1)}),"MultiPolygon"===n.type&&i.each(r,function(e){e[0]&&a.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})});var s=new o(t.name,a,t.cp);return s.properties=t,s})}},function(e,t,n){function r(e,t,n){if(this.name=e,this.geometries=t,n)n=[n[0],n[1]];else{var r=this.getBoundingRect();n=[r.x+r.width/2,r.y+r.height/2]}this.center=n}var a=n(410),i=n(244),o=n(287),s=n(245);r.prototype={constructor:r,properties:null,getBoundingRect:function(){var e=this._rect;if(e)return e;for(var t=Number.MAX_VALUE,n=[t,t],r=[-t,-t],a=[],l=[],u=this.geometries,c=0;c0?1.1:1/1.1;u.call(this,e,t,e.offsetX,e.offsetY)}}function l(e){if(!p.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;u.call(this,e,t,e.pinchX,e.pinchY)}}function u(e,t,n,r){this.pointerChecker&&this.pointerChecker(e,n,r)&&(d.stop(e.event),this.trigger("zoom",t,n,r))}var c=n(268),h=n(239),d=n(323),p=n(418);h.mixin(r,c),e.exports=r},function(e,t,n){function r(e){return e[a]||(e[a]={})}var a="\0_ec_interaction_mutex",i={take:function(e,t,n){var a=r(e);a[t]=n},release:function(e,t,n){var a=r(e),i=a[t];i===n&&(a[t]=null)},isTaken:function(e,t){return!!r(e)[t]}};n(236).registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),e.exports=i},function(e,t){var n={};n.updateViewOnPan=function(e,t,n){var r=e.target,a=r.position;a[0]+=t,a[1]+=n,r.dirty()},n.updateViewOnZoom=function(e,t,n,r){var a=e.target,i=e.zoomLimit,o=a.position,s=a.scale,l=e.zoom=e.zoom||1;if(l*=t,i){var u=i.min||0,c=i.max||1/0;l=Math.max(Math.min(c,l),u)}var h=l/e.zoom;e.zoom=l,o[0]-=(n-o[0])*(h-1),o[1]-=(r-o[1])*(h-1),s[0]*=h,s[1]*=h,a.dirty()},e.exports=n},function(e,t){var n={},r={axisPointer:1,tooltip:1,brush:1};n.onIrrelevantElement=function(e,t,n){var a=t.getComponentByElement(e.topTarget),i=a&&a.coordinateSystem;return a&&a!==n&&!r[a.mainType]&&i&&i.model!==n},e.exports=n},function(e,t,n){var r=n(239),a=n(422),i=n(236);i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateLayout"},function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},function(t){var i=t.coordinateSystem;if("geo"===i.type){var o=a.updateCenterAndZoom(i,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===n&&r.each(t.seriesGroup,function(e){e.setCenter(o.center),e.setZoom(o.zoom)})}})})},function(e,t){var n={};n.updateCenterAndZoom=function(e,t,n){var r=e.getZoom(),a=e.getCenter(),i=t.zoom,o=e.dataToPoint(a);if(null!=t.dx&&null!=t.dy){o[0]-=t.dx,o[1]-=t.dy;var a=e.pointToData(o);e.setCenter(a)}if(null!=i){if(n){var s=n.min||0,l=n.max||1/0;i=Math.max(Math.min(r*i,l),s)/r}e.scale[0]*=i,e.scale[1]*=i;var u=e.position,c=(t.originX-u[0])*(i-1),h=(t.originY-u[1])*(i-1);u[0]-=c,u[1]-=h,e.updateTransform();var a=e.pointToData(o);e.setCenter(a),e.setZoom(i*r)}return{center:e.getCenter(),zoom:e.getZoom()}},e.exports=n},function(e,t,n){var r=n(239);e.exports=function(e){var t={};e.eachSeriesByType("map",function(n){var a=n.getMapType();if(!n.getHostGeoModel()&&!t[a]){var i={};r.each(n.seriesGroup,function(t){var n=t.coordinateSystem,r=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&r.each("value",function(e,t){var a=r.getName(t),o=n.getRegion(a);if(o&&!isNaN(e)){var s=i[a]||0,l=n.dataToPoint(o.center);i[a]=s+1,r.setItemLayout(t,{point:l,offset:s})}})});var o=n.getData();o.each(function(e){var t=o.getName(e),n=o.getItemLayout(e)||{};n.showLabel=!i[t],o.setItemLayout(e,n)}),t[a]=!0}})}},function(e,t){e.exports=function(e){e.eachSeriesByType("map",function(e){var t=e.get("color"),n=e.getModel("itemStyle.normal"),r=n.get("areaColor"),a=n.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:r,color:a})})}},function(e,t,n){function r(e,t){var n={},r=["value"];return a.each(e,function(e){e.each(r,function(t,r){var a=e.getName(r);n[a]=n[a]||[],isNaN(t)||n[a].push(t)})}),e[0].map(r,function(r,a){for(var i=e[0].getName(a),o=0,s=1/0,l=-(1/0),u=n[i].length,c=0;ct&&(t=r.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostTree,n=t.data.getItemModel(this.dataIndex),r=this.getLevelModel();return n.getModel(e,(r||t.hostModel).getModel(e))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)}},r.prototype={constructor:r,type:"tree",eachNode:function(e,t,n){this.root.eachNode(e,t,n)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,n=0,r=t.length;n=0},wrapTreePathInfo:function(e,t){for(var n=[];e;){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}};e.exports=a},function(e,t,n){function r(){return{nodeGroup:[],background:[],content:[]}}function a(e,t,n,r,a,l,u,c,h,d){function p(t){R.dataIndex=u.dataIndex,R.seriesIndex=e.seriesIndex;var n=T.borderWidth,r=Math.max(A-2*n,0),a=Math.max(I-2*n,0);R.culling=!0,R.setShape({x:n,y:n,width:r,height:a});var i=u.getVisual("color",!0);f(R,function(){var e={fill:i},t=u.getModel("itemStyle.emphasis").getItemStyle();g(e,t,i,r,a),R.setStyle(e),s.setHoverStyle(R,t)}),t.add(R)}function f(e,t){E?!e.invisible&&l.push(e):(t(),e.__tmWillVisible||(e.invisible=!1))}function g(t,n,r,a,i){var o=u.getModel(),s=o.get("name");if(T.isLeafRoot){var l=e.get("drillDownIcon",!0);s=l?l+" "+s:s}y(s,t,o,_,r,a,i),y(s,n,o,b,r,a,i)}function y(e,t,n,r,a,i,o){var l=n.getModel(r),u=l.getModel("textStyle");s.setText(t,l,a),t.textAlign=u.get("align"),t.textVerticalAlign=u.get("baseline");var c=u.getTextRect(e);!l.getShallow("show")||c.height>o?t.text="":c.width>i?t.text=u.get("ellipsis")?u.truncateText(e,i,null,{minChar:2}):"":t.text=e}function x(e,r,o,s){var l=null!=L&&n[e][L],u=a[e];return l?(n[e][L]=null,w(u,l,e)):E||(l=new r({z:i(o,s)}),l.__tmDepth=o,l.__tmStorageName=e,C(u,l,e)),t[e][P]=l}function w(e,t,n){var r=e[P]={};r.old="nodeGroup"===n?t.position.slice():o.extend({},t.shape)}function C(e,t,n){var i=e[P]={},o=u.parentNode;if(o&&(!r||"drillDown"===r.direction)){var s=0,l=0,c=a.background[o.getRawIndex()];!r&&c&&c.old&&(s=c.old.width,l=c.old.height),i.old="nodeGroup"===n?[0,l]:{x:s,y:l,width:0,height:0}}i.fadein="nodeGroup"!==n}if(u){var T=u.getLayout();if(T&&T.isInView){var A=T.width,I=T.height,E=T.invisible,P=u.getRawIndex(),L=c&&c.getRawIndex(),D=x("nodeGroup",m);if(D){if(h.add(D),D.attr("position",[T.x||0,T.y||0]),D.__tmNodeWidth=A,D.__tmNodeHeight=I,T.isAboveViewRoot)return D;var k=x("background",v,d,S);k&&(k.setShape({x:0,y:0,width:A,height:I}),f(k,function(){k.setStyle("fill",u.getVisual("borderColor",!0))}),D.add(k));var O=u.viewChildren;if(!O||!O.length){var R=x("content",v,d,M);R&&p(D)}return D}}}}function i(e,t){var n=e*w+t;return(n-1)/n}var o=n(239),s=n(279),l=n(334),u=n(431),c=n(433),h=n(417),d=n(244),p=n(246),f=n(434),g=o.bind,m=s.Group,v=s.Rect,y=o.each,x=3,_=["label","normal"],b=["label","emphasis"],w=10,S=1,M=2;e.exports=n(236).extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage=r(),this._oldTree,this._breadcrumb,this._controller,this._state="ready",this._mayClick},render:function(e,t,n,r){var a=t.findComponents({mainType:"series",subType:"treemap",query:r});if(!(o.indexOf(a,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var i=u.retrieveTargetInfo(r,e),s=r&&r.type,l=e.layoutInfo,c=!this._oldTree,h=this._storage,d="treemapRootToNode"===s&&i&&h?{rootNodeGroup:h.nodeGroup[i.node.getRawIndex()],direction:r.direction}:null,p=this._giveContainerGroup(l),f=this._doRender(p,e,d);c||s&&"treemapZoomToNode"!==s&&"treemapRootToNode"!==s?f.renderFinally():this._doAnimation(p,f,e,d),this._resetController(n),this._renderBreadcrumb(e,n,i)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new m,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,n){function i(e,t,n,r,a){function s(e){return e.getId()}function u(o,s){var l=null!=o?e[o]:null,u=null!=s?t[s]:null,c=m(l,u,n,a);c&&i(l&&l.viewChildren||[],u&&u.viewChildren||[],c,r,a+1)}r?(t=e,y(e,function(e,t){!e.isRemoved()&&u(t,t)})):new l(t,e,s,s).add(u).update(u).remove(o.curry(u,null)).execute()}function s(e){var t=r();return e&&y(e,function(e,n){var r=t[n];y(e,function(e){e&&(r.push(e),e.__tmWillDelete=1)})}),t}function u(){y(v,function(e){y(e,function(e){e.parent&&e.parent.remove(e)})}),y(g,function(e){e.invisible=!0,e.dirty()})}var c=t.getData().tree,h=this._oldTree,d=r(),p=r(),f=this._storage,g=[],m=o.curry(a,t,p,f,n,d,g);i(c.root?[c.root]:[],h&&h.root?[h.root]:[],e,c===h||!h,0);var v=s(f);return this._oldTree=c,this._storage=p,{lastsForAnimation:d,willDeleteEls:v,renderFinally:u}},_doAnimation:function(e,t,n,r){if(n.get("animation")){var a=n.get("animationDurationUpdate"),i=n.get("animationEasing"),s=f.createWrap();y(t.willDeleteEls,function(e,t){y(e,function(e,n){if(!e.invisible){var o,l=e.parent;if(r&&"drillDown"===r.direction)o=l===r.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),o="nodeGroup"===t?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}o&&s.add(e,o,a,i)}})}),y(this._storage,function(e,n){y(e,function(e,r){var l=t.lastsForAnimation[n][r],u={};l&&("nodeGroup"===n?l.old&&(u.position=e.position.slice(),e.attr("position",l.old)):(l.old&&(u.shape=o.extend({},e.shape),e.setShape(l.old)),l.fadein?(e.setStyle("opacity",0),u.style={opacity:1}):1!==e.style.opacity&&(u.style={opacity:1})),s.add(e,u,a,i))})},this),this._state="animating",s.done(g(function(){this._state="ready",t.renderFinally()},this)).start()}},_resetController:function(e){var t=this._controller;t||(t=this._controller=new h(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",g(this._onPan,this)),t.on("zoom",g(this._onZoom,this)));var n=new d(0,0,e.getWidth(),e.getHeight());t.setPointerChecker(function(e,t,r){return n.contain(t,r)})},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e,t){if(this._mayClick=!1,"animating"!==this._state&&(Math.abs(e)>x||Math.abs(t)>x)){var n=this.seriesModel.getData().tree.root;if(!n)return;var r=n.getLayout();if(!r)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x+e,y:r.y+t,width:r.width,height:r.height}})}},_onZoom:function(e,t,n){if(this._mayClick=!1,"animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var a=r.getLayout();if(!a)return;var i=new d(a.x,a.y,a.width,a.height),o=this.seriesModel.layoutInfo;t-=o.x,n-=o.y;var s=p.create();p.translate(s,s,[-t,-n]),p.scale(s,s,[e,e]),p.translate(s,s,[t,n]),i.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x,y:i.y,width:i.width,height:i.height}})}},_initEvents:function(e){function t(e){var t=this.seriesModel.get("nodeClick",!0);if(t){var n=this.findTarget(e.offsetX,e.offsetY);if(n){var r=n.node;if(r.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===t)this._zoomToNode(n);else if("link"===t){var a=r.hostTree.data.getItemModel(r.dataIndex),i=a.get("link",!0),o=a.get("target",!0)||"blank";i&&window.open(i,o)}}}}e.on("mousedown",function(e){"ready"===this._state&&(this._mayClick=!0)},this),e.on("mouseup",function(e){this._mayClick&&(this._mayClick=!1,"ready"===this._state&&t.call(this,e))},this)},_renderBreadcrumb:function(e,t,n){function r(t){"animating"!==this._state&&(u.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),n||(n={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new c(this.group))).render(e,t,n.node,g(r,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=r(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var n,r=this.seriesModel.getViewRoot();return r.eachNode({attr:"viewChildren",order:"preorder"},function(r){var a=this._storage.background[r.getRawIndex()];if(a){var i=a.transformCoordToLocal(e,t),o=a.shape;if(!(o.x<=i[0]&&i[0]<=o.x+o.width&&o.y<=i[1]&&i[1]<=o.y+o.height))return!1;n={node:r,offsetX:i[0],offsetY:i[1]}}},this),n}})},function(e,t,n){function r(e){this.group=new o.Group,e.add(this.group)}function a(e,t,n,r,a,i){var o=[[a?e:e-d,t],[e+n,t],[e+n,t+r],[a?e:e-d,t+r]];return!i&&o.splice(2,0,[e+n+d,t+r/2]),!a&&o.push([e,t+r/2]),o}function i(e,t,n){e.eventData={componentType:"series",componentSubType:"treemap",seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&u.wrapTreePathInfo(n,t)}}var o=n(279),s=n(256),l=n(239),u=n(431),c=8,h=8,d=5;r.prototype={constructor:r,render:function(e,t,n,r){var a=e.getModel("breadcrumb"),i=this.group;if(i.removeAll(),a.get("show")&&n){var o=a.getModel("itemStyle.normal"),l=o.getModel("textStyle"),u={pos:{left:a.get("left"),right:a.get("right"),top:a.get("top"),bottom:a.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:a.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(e,u,o,l,r),s.positionElement(i,u.pos,u.box)}},_prepare:function(e,t,n){for(var r=e;r;r=r.parentNode){var a=r.getModel().get("name"),i=n.getTextRect(a),o=Math.max(i.width+2*c,t.emptyItemWidth);t.totalWidth+=o+h,t.renderList.push({node:r,text:a,width:o})}},_renderContent:function(e,t,n,r,u){for(var c=0,d=t.emptyItemWidth,p=e.get("breadcrumb.height"),f=s.getAvailableSize(t.pos,t.box),g=t.totalWidth,m=t.renderList,v=m.length-1;v>=0;v--){var y=m[v],x=y.node,_=y.width,b=y.text;g>f.width&&(g-=_-d,_=d,b="");var w=new o.Polygon({shape:{points:a(c,0,_,p,v===m.length-1,0===v)},style:l.defaults(n.getItemStyle(),{lineJoin:"bevel",text:b,textFill:r.getTextColor(),textFont:r.getFont()}),z:10,onclick:l.curry(u,x)});this.group.add(w),i(w,e,x),c+=_+h}},remove:function(){this.group.removeAll()}},e.exports=r},function(e,t,n){function r(){var e,t=[],n={};return{add:function(e,r,i,o,s){return a.isString(o)&&(s=o,o=0),!n[e.id]&&(n[e.id]=1,t.push({el:e,target:r,time:i,delay:o,easing:s}),!0)},done:function(t){return e=t,this},start:function(){function r(){a--,a||(t.length=0,n={},e&&e())}for(var a=t.length,i=0,o=t.length;i=u.length||e===u[e.depth]){var a=c(d,x,e,t,S,h);r(e,a,n,s,u,h)}})}else m=i(x,e),e.setVisual("color",m)}}function a(e,t,n,r){var a=p.extend({},t);return p.each(["color","colorAlpha","colorSaturation"],function(i){var o=e.get(i,!0);null==o&&n&&(o=n[i]),null==o&&(o=t[i]),null==o&&(o=r.get(i)),null!=o&&(a[i]=o)}),a}function i(e){var t=s(e,"color");if(t){var n=s(e,"colorAlpha"),r=s(e,"colorSaturation");return r&&(t=d.modifyHSL(t,null,null,r)),n&&(t=d.modifyAlpha(t,n)),t}}function o(e,t){return null!=t?d.modifyHSL(t,null,null,e):null}function s(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function l(e,t,n,r,a,i){if(i&&i.length){var o=u(t,"color")||null!=a.color&&"none"!==a.color&&(u(t,"colorAlpha")||u(t,"colorSaturation"));if(o){var s=t.get("visualMin"),l=t.get("visualMax"),c=n.dataExtent.slice();null!=s&&sc[1]&&(c[1]=l);var d=t.get("colorMappingBy"),p={type:o.name,dataExtent:c,visual:o.range};"color"!==p.type||"index"!==d&&"id"!==d?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var f=new h(p);return f.__drColorMappingBy=d,f}}}function u(e,t){var n=e.get(t);return f(n)&&n.length?{name:t,range:n}:null}function c(e,t,n,r,a,i){var o=p.extend({},t);if(a){var s=a.type,l="color"===s&&a.__drColorMappingBy,u="index"===l?r:"id"===l?i.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));o[s]=a.mapValueToVisual(u)}return o}var h=n(437),d=n(274),p=n(239),f=p.isArray,g="itemStyle.normal";e.exports=function(e,t,n){var a={mainType:"series",subType:"treemap",query:n};e.eachComponent(a,function(e){var t=e.getData().tree,n=t.root,a=e.getModel(g);if(!n.isRemoved()){var i=p.map(t.levelModels,function(e){return e?e.get(g):null});r(n,{},i,a,e.getViewRoot().getAncestors(),e)}})}},function(e,t,n){function r(e){var t=e.pieceList;e.hasSpecialVisual=!1,g.each(t,function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)})}function a(e){var t=e.categories,n=e.visual,r=e.categoryMap={};if(y(t,function(e,t){r[e]=t}),!g.isArray(n)){var a=[];g.isObject(n)?y(n,function(e,t){var n=r[t];a[null!=n?n:_]=e}):a[_]=n,n=p(e,a)}for(var i=t.length-1;i>=0;i--)null==n[i]&&(delete r[t[i]],t.pop())}function i(e,t){var n=e.visual,r=[];g.isObject(n)?y(n,function(e){r.push(e)}):null!=n&&r.push(n);var a={color:1,symbol:1};t||1!==r.length||a.hasOwnProperty(e.type)||(r[1]=r[0]),p(e,r)}function o(e){return{applyVisual:function(t,n,r){t=this.mapValueToVisual(t),r("color",e(n("color"),t))},_doMap:h([0,1])}}function s(e){var t=this.option.visual;return t[Math.round(v(e,[0,1],[0,t.length-1],!0))]||{}}function l(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function u(e){var t=this.option.visual;return t[this.option.loop&&e!==_?e%t.length:e]}function c(){return this.option.visual[0]}function h(e){return{linear:function(t){return v(t,e,this.option.visual,!0)},category:u,piecewise:function(t,n){var r=d.call(this,n);return null==r&&(r=v(t,e,this.option.visual,!0)),r},fixed:c}}function d(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=b.findPieceIndex(e,n),a=n[r];if(a&&a.visual)return a.visual[this.type]}}function p(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=g.map(t,function(e){return m.parse(e)})),t}function f(e,t,n){return e?t<=n:t=0;l--){var u=a["asc"===r?o-l-1:l].getValue();u/n*to[1]&&(o[1]=t)})}else o=[NaN,NaN];return{sum:r,dataExtent:o}}function u(e,t,n){for(var r,a=0,i=1/0,o=0,s=e.length;oa&&(a=r));var l=e.area*e.area,u=t*t*n;return l?x(u*a/l,l/(u*i)):1/0}function c(e,t,n,r,a){var i=t===n.width?0:1,o=1-i,s=["x","y"],l=["width","height"],u=n[s[i]],c=t?e.area/t:0;(a||c>n[l[o]])&&(c=n[l[o]]);for(var h=0,d=e.length;hg.MAX_SAFE_INTEGER&&(u=g.MAX_SAFE_INTEGER),i=s}u ")),a.value&&(c+=" : "+s.encodeHTML(a.value)),c}return u.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=a.map(this.option.categories||[],function(e){return null!=e.value?e:a.extend({value:0},e)}),t=new r(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray(function(e){return t.getItemModel(e,!0)})},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return u.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,edgeLength:30,layoutAnimation:!0 -},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{normal:{position:"middle"},emphasis:{}},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{normal:{show:!1,formatter:"{b}"},emphasis:{show:!0}},itemStyle:{normal:{},emphasis:{}},lineStyle:{normal:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{}}}});e.exports=u},function(e,t,n){var r=n(333),a=n(442),i=n(430),o=n(338),s=n(261),l=n(239),u=n(337);e.exports=function(e,t,n,c,h){for(var d=new a(c),p=0;p "+x)),m++)}var _,b=n.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(e,n,n.ecModel);else{var w=s.get(b),S=o((w&&"view"!==w.type?w.dimensions||[]:[]).concat(["value"]),e);_=new r(S,n),_.initData(e)}var M=new r(["value"],n);return M.initData(g,f),h&&h(_,M),i({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:M},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},function(e,t,n){"use strict";function r(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function a(e,t,n){this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}var i=n(239),o=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},s=o.prototype;s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(e,t){e=e||""+t;var n=this._nodesMap;if(!n[e]){var a=new r(e,t);return a.hostGraph=this,this.nodes.push(a),n[e]=a,a}},s.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},s.getNodeById=function(e){return this._nodesMap[e]},s.addEdge=function(e,t,n){var i=this._nodesMap,o=this._edgesMap;if("number"==typeof e&&(e=this.nodes[e]),"number"==typeof t&&(t=this.nodes[t]),e instanceof r||(e=i[e]),t instanceof r||(t=i[t]),e&&t){var s=e.id+"-"+t.id;if(!o[s]){var l=new a(e,t,n);return l.hostGraph=this,this._directed&&(e.outEdges.push(l),t.inEdges.push(l)),e.edges.push(l),e!==t&&t.edges.push(l),this.edges.push(l),o[s]=l,l}}},s.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},s.getEdge=function(e,t){e instanceof r&&(e=e.id),t instanceof r&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},s.eachNode=function(e,t){for(var n=this.nodes,r=n.length,a=0;a=0&&e.call(t,n[a],a)},s.eachEdge=function(e,t){for(var n=this.edges,r=n.length,a=0;a=0&&n[a].node1.dataIndex>=0&&n[a].node2.dataIndex>=0&&e.call(t,n[a],a)},s.breadthFirstTraverse=function(e,t,n,a){if(t instanceof r||(t=this._nodesMap[t]),t){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0});for(var a=0,i=r.length;a=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n,r){return this[e][t].getItemVisual(this.dataIndex,n,r)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};i.mixin(r,l("hostGraph","data")),i.mixin(a,l("hostGraph","edgeData")),o.Node=r,o.Edge=a,e.exports=o},function(e,t,n){function r(e,t){return e.getVisual("opacity")||e.getModel().get(t)}var a=n(351),i=n(444),o=n(417),s=n(419),l=n(420),u=n(279),c=n(447),h=n(239),d=["itemStyle","normal","opacity"],p=["lineStyle","normal","opacity"];n(236).extendChartView({type:"graph",init:function(e,t){var n=new a,r=new i,s=this.group;this._controller=new o(t.getZr()),this._controllerHost={target:s},s.add(n.group),s.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},render:function(e,t,n){var r=e.coordinateSystem;this._model=e,this._nodeScaleRatio=e.get("nodeScaleRatio");var a=this._symbolDraw,i=this._lineDraw,o=this.group;if("view"===r.type){var s={position:r.position,scale:r.scale};this._firstRender?o.attr(s):u.updateProps(o,s,e)}c(e.getGraph(),this._getNodeGlobalScale(e));var l=e.getData();a.updateData(l);var h=e.getEdgeData();i.updateData(h),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var d=e.forceLayout,p=e.get("force.layoutAnimation");d&&this._startForceLayoutIteration(d,p),l.eachItemGraphicEl(function(t,r){var a=l.getItemModel(r);t.off("drag").off("dragend");var i=l.getItemModel(r).get("draggable");i&&t.on("drag",function(){d&&(d.warmUp(),!this._layouting&&this._startForceLayoutIteration(d,p),d.setFixed(r),l.setItemLayout(r,t.position))},this).on("dragend",function(){d&&d.setUnfixed(r)},this),t.setDraggable(i&&d),t.off("mouseover",t.__focusNodeAdjacency),t.off("mouseout",t.__unfocusNodeAdjacency),a.get("focusNodeAdjacency")&&(t.on("mouseover",t.__focusNodeAdjacency=function(){n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t.__unfocusNodeAdjacency=function(){n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))},this);var f="circular"===e.get("layout")&&e.get("circular.rotateLabel"),g=l.getLayout("cx"),m=l.getLayout("cy");l.eachItemGraphicEl(function(e,t){var n=e.getSymbolPath();if(f){var r=l.getItemLayout(t),a=Math.atan2(r[1]-m,r[0]-g);a<0&&(a=2*Math.PI+a);var i=r[0].8?"left":h[0]<-.8?"right":"center",g=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===r.__position){var v=s/2,d=o.tangentAt(v),y=[d[1],-d[0]],x=o.pointAt(v);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]),p=[x[0]+y[0]*m,x[1]+y[1]*m],f="center",g="bottom";var _=-Math.atan2(d[1],d[0]);u[0].8?"right":h[0]<-.8?"left":"center",g=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";r.attr({style:{textVerticalAlign:r.__verticalAlign||g,textAlign:r.__textAlign||f},position:p,scale:[a,a]})}}}}function l(e,t,n){d.Group.call(this),this._createLine(e,t,n)}var u=n(339),c=n(245),h=n(446),d=n(279),p=n(239),f=n(242),g=["fromSymbol","toSymbol"],m=l.prototype;m.beforeUpdate=s,m._createLine=function(e,t,n){var o=e.hostModel,s=e.getItemLayout(t),l=i(s);l.shape.percent=0,d.initProps(l,{shape:{percent:1}},o,t),this.add(l);var u=new d.Text({name:"label"});this.add(u),p.each(g,function(n){var i=a(n,e,t);this.add(i),this[r(n)]=e.getItemVisual(t,n)},this),this._updateCommonStl(e,t,n)},m.updateData=function(e,t,n){var i=e.hostModel,s=this.childOfName("line"),l=e.getItemLayout(t),u={shape:{}};o(u.shape,l),d.updateProps(s,u,i,t),p.each(g,function(n){var i=e.getItemVisual(t,n),o=r(n);if(this[o]!==i){this.remove(this.childOfName(n));var s=a(n,e,t);this.add(s)}this[o]=i},this),this._updateCommonStl(e,t,n)},m._updateCommonStl=function(e,t,n){var r=e.hostModel,a=this.childOfName("line"),i=n&&n.lineStyle,o=n&&n.hoverLineStyle,s=n&&n.labelModel,l=n&&n.hoverLabelModel;if(!n||e.hasItemOption){var u=e.getItemModel(t);i=u.getModel("lineStyle.normal").getLineStyle(),o=u.getModel("lineStyle.emphasis").getLineStyle(),s=u.getModel("label.normal"),l=u.getModel("label.emphasis")}var c=e.getItemVisual(t,"color"),h=p.retrieve(e.getItemVisual(t,"opacity"),i.opacity,1);a.useStyle(p.defaults({strokeNoScale:!0,fill:"none",stroke:c,opacity:h},i)),a.hoverStyle=o,p.each(g,function(e){var t=this.childOfName(e);t&&(t.setColor(c),t.setStyle({opacity:h}))},this);var m,v,y=s.getShallow("show"),x=l.getShallow("show"),_=this.childOfName("label");if(y||x){var b=r.getRawValue(t);v=null==b?v=e.getName(t):isFinite(b)?f.round(b):b,m=c||"#000"}if(y){var w=s.getModel("textStyle");_.setStyle({text:p.retrieve(r.getFormattedLabel(t,"normal",e.dataType),v),textFont:w.getFont(),fill:w.getTextColor()||m}),_.__textAlign=w.get("align"),_.__verticalAlign=w.get("baseline"),_.__position=s.get("position")}else _.setStyle("text","");if(x){var S=l.getModel("textStyle");_.hoverStyle={text:p.retrieve(r.getFormattedLabel(t,"emphasis",e.dataType),v),textFont:S.getFont(),fill:S.getTextColor()||m}}else _.hoverStyle={text:""};_.ignore=!y&&!x,d.setHoverStyle(this)},m.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},m.setLinePoints=function(e){var t=this.childOfName("line");o(t.shape,e),t.dirty()},p.inherits(l,d.Group),e.exports=l},function(e,t,n){function r(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var a=n(279),i=n(245),o=a.Line.prototype,s=a.BezierCurve.prototype;e.exports=a.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(e,t){(r(t)?o:s).buildPath(e,t)},pointAt:function(e){return r(this.shape)?o.pointAt.call(this,e):s.pointAt.call(this,e)},tangentAt:function(e){var t=this.shape,n=r(t)?[t.x2-t.x1,t.y2-t.y1]:s.tangentAt.call(this,e);return i.normalize(n,n)}})},function(e,t,n){function r(e,t,n){for(var r,a=e[0],i=e[1],d=e[2],p=1/0,f=n*n,g=.1,m=.1;m<=.9;m+=.1){o[0]=u(a[0],i[0],d[0],m),o[1]=u(a[1],i[1],d[1],m);var v=h(c(o,t)-f);v=0?r+=g:r-=g:_>=0?r-=g:r+=g}return r}var a=n(286),i=n(245),o=[],s=[],l=[],u=a.quadraticAt,c=i.distSquare,h=Math.abs;e.exports=function(e,t){function n(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),t}var o=[],s=a.quadraticSubdivide,l=[[],[],[]],u=[[],[]],c=[];t/=2,e.eachEdge(function(e,a){var h=e.getLayout(),d=e.getVisual("fromSymbol"),p=e.getVisual("toSymbol");h.__original||(h.__original=[i.clone(h[0]),i.clone(h[1])],h[2]&&h.__original.push(i.clone(h[2])));var f=h.__original;if(null!=h[2]){if(i.copy(l[0],f[0]),i.copy(l[1],f[2]),i.copy(l[2],f[1]),d&&"none"!=d){var g=n(e.node1),m=r(l,f[0],g*t);s(l[0][0],l[1][0],l[2][0],m,o),l[0][0]=o[3],l[1][0]=o[4],s(l[0][1],l[1][1],l[2][1],m,o),l[0][1]=o[3],l[1][1]=o[4]}if(p&&"none"!=p){var g=n(e.node2),m=r(l,f[1],g*t);s(l[0][0],l[1][0],l[2][0],m,o),l[1][0]=o[1],l[2][0]=o[2],s(l[0][1],l[1][1],l[2][1],m,o),l[1][1]=o[1],l[2][1]=o[2]}i.copy(h[0],l[0]),i.copy(h[1],l[2]),i.copy(h[2],l[1])}else{if(i.copy(u[0],f[0]),i.copy(u[1],f[1]),i.sub(c,u[1],u[0]),i.normalize(c,c),d&&"none"!=d){var g=n(e.node1);i.scaleAndAdd(u[0],u[0],c,g*t)}if(p&&"none"!=p){var g=n(e.node2);i.scaleAndAdd(u[1],u[1],c,-g*t)}i.copy(h[0],u[0]),i.copy(h[1],u[1])}})}},function(e,t,n){var r=n(236),a=n(422),i={type:"graphRoam",event:"graphRoam",update:"none"};r.registerAction(i,function(e,t){t.eachComponent({mainType:"series",query:e},function(t){var n=t.coordinateSystem,r=a.updateCenterAndZoom(n,e);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)})}),r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series.graph:focusNodeAdjacency"},function(){}),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series.graph:unfocusNodeAdjacency"},function(){})},function(e,t){e.exports=function(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",function(e){var n=e.getCategoriesData(),r=e.getGraph(),a=r.data,i=n.mapArray(n.getName);a.filterSelf(function(e){var n=a.getItemModel(e),r=n.getShallow("category");if(null!=r){"number"==typeof r&&(r=i[r]);for(var o=0;o=e&&(0===t?0:r[t-1][0]).4?"bottom":"middle",textAlign:D<-.4?"left":D>.4?"right":"center"},silent:!0});"auto"===V.style.fill&&V.setStyle({fill:r(L/b)}),d.add(V)}if(x.get("show")&&L!==b){for(var z=0;z<=w;z++){var D=Math.cos(C),k=Math.sin(C),B=new o.Line({shape:{x1:D*g+p,y1:k*g+f,x2:D*(g-M)+p,y2:k*(g-M)+f},silent:!0,style:E});"auto"===E.stroke&&B.setStyle({stroke:r((L+z/w)/b)}),d.add(B),C+=A}C-=A}else C+=T}},_renderPointer:function(e,t,n,r,a,u,c,h){var d=this.group,p=this._data;if(!e.get("pointer.show"))return void(p&&p.eachItemGraphicEl(function(e){d.remove(e)}));var f=[+e.get("min"),+e.get("max")],g=[u,c],m=e.getData();m.diff(p).add(function(t){var n=new i({shape:{angle:u}});o.initProps(n,{shape:{angle:s.linearMap(m.get("value",t),f,g,!0)}},e),d.add(n),m.setItemGraphicEl(t,n)}).update(function(t,n){var r=p.getItemGraphicEl(n);o.updateProps(r,{shape:{angle:s.linearMap(m.get("value",t),f,g,!0)}},e),d.add(r),m.setItemGraphicEl(t,r)}).remove(function(e){var t=p.getItemGraphicEl(e);d.remove(t)}).execute(),m.eachItemGraphicEl(function(e,t){var n=m.getItemModel(t),i=n.getModel("pointer");e.setShape({x:a.cx,y:a.cy,width:l(i.get("width"),a.r),r:l(i.get("length"),a.r)}),e.useStyle(n.getModel("itemStyle.normal").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",r(s.linearMap(m.get("value",t),f,[0,1],!0))),o.setHoverStyle(e,n.getModel("itemStyle.emphasis").getItemStyle())}),this._data=m},_renderTitle:function(e,t,n,r,a){var i=e.getModel("title");if(i.get("show")){var u=i.getModel("textStyle"),c=i.get("offsetCenter"),h=a.cx+l(c[0],a.r),d=a.cy+l(c[1],a.r),p=new o.Text({style:{x:h,y:d,text:e.getData().getName(0),fill:u.getTextColor(),textFont:u.getFont(),textAlign:"center",textVerticalAlign:"middle"}});if("auto"===p.style.fill){var f=+e.get("min"),g=+e.get("max"),m=e.getData().get("value",0);p.setStyle("fill",r(s.linearMap(m,[f,g],[0,1],!0)))}this.group.add(p)}},_renderDetail:function(e,t,n,r,i){var u=e.getModel("detail"),c=+e.get("min"),h=+e.get("max");if(u.get("show")){var d=u.getModel("textStyle"),p=u.get("offsetCenter"),f=i.cx+l(p[0],i.r),g=i.cy+l(p[1],i.r),m=l(u.get("width"),i.r),v=l(u.get("height"),i.r),y=e.getData().get("value",0),x=new o.Rect({shape:{x:f-m/2,y:g-v/2,width:m,height:v},style:{text:a(y,u.get("formatter")),fill:u.get("backgroundColor"),textFill:d.getTextColor(),textFont:d.getFont()}});"auto"===x.style.textFill&&x.setStyle("textFill",r(s.linearMap(y,[c,h],[0,1],!0))),x.setStyle(u.getItemStyle(["color"])),this.group.add(x)}}});e.exports=c},function(e,t,n){e.exports=n(281).extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(e,t){var n=Math.cos,r=Math.sin,a=t.r,i=t.width,o=t.angle,s=t.x-n(o)*i*(i>=a/3?1:2),l=t.y-r(o)*i*(i>=a/3?1:2);o=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(o)*i,t.y+r(o)*i),e.lineTo(t.x+n(t.angle)*a,t.y+r(t.angle)*a),e.lineTo(t.x-n(o)*i,t.y-r(o)*i),e.lineTo(s,l)}})},function(e,t,n){var r=n(239),a=n(236);n(465),n(466),a.registerVisual(r.curry(n(386),"funnel")),a.registerLayout(n(467)),a.registerProcessor(r.curry(n(389),"funnel"))},function(e,t,n){"use strict";var r=n(333),a=n(240),i=n(338),o=n(236).extendSeriesModel({type:"series.funnel",init:function(e){o.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(e)},getInitialData:function(e,t){var n=i(["value"],e.data),a=new r(n,this);return a.initData(e.data),a},_defaultLabelLine:function(e){a.defaultEmphasis(e.labelLine,["show"]);var t=e.labelLine.normal,n=e.labelLine.emphasis;t.show=t.show&&e.label.normal.show,n.show=n.show&&e.label.emphasis.show},getDataParams:function(e){var t=this.getData(),n=o.superCall(this,"getDataParams",e),r=t.getSum("value");return n.percent=r?+(t.get("value",e)/r*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{normal:{show:!0,position:"outer"},emphasis:{show:!0}},labelLine:{normal:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},emphasis:{}},itemStyle:{normal:{borderColor:"#fff",borderWidth:1},emphasis:{}}}});e.exports=o},function(e,t,n){function r(e,t){ -function n(){o.ignore=o.hoverIgnore,s.ignore=s.hoverIgnore}function r(){o.ignore=o.normalIgnore,s.ignore=s.normalIgnore}i.Group.call(this);var a=new i.Polygon,o=new i.Polyline,s=new i.Text;this.add(a),this.add(o),this.add(s),this.updateData(e,t,!0),this.on("emphasis",n).on("normal",r).on("mouseover",n).on("mouseout",r)}function a(e,t,n,r){var a=r.getModel("textStyle"),i=r.get("position"),s="inside"===i||"inner"===i||"center"===i;return{fill:a.getTextColor()||(s?"#fff":e.getItemVisual(t,"color")),textFont:a.getFont(),text:o.retrieve(e.hostModel.getFormattedLabel(t,n),e.getName(t))}}var i=n(279),o=n(239),s=r.prototype,l=["itemStyle","normal","opacity"];s.updateData=function(e,t,n){var r=this.childAt(0),a=e.hostModel,s=e.getItemModel(t),u=e.getItemLayout(t),c=e.getItemModel(t).get(l);c=null==c?1:c,r.useStyle({}),n?(r.setShape({points:u.points}),r.setStyle({opacity:0}),i.initProps(r,{style:{opacity:c}},a,t)):i.updateProps(r,{style:{opacity:c},shape:{points:u.points}},a,t);var h=s.getModel("itemStyle"),d=e.getItemVisual(t,"color");r.setStyle(o.defaults({lineJoin:"round",fill:d},h.getModel("normal").getItemStyle(["opacity"]))),r.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),i.setHoverStyle(this)},s._updateLabel=function(e,t){var n=this.childAt(1),r=this.childAt(2),o=e.hostModel,s=e.getItemModel(t),l=e.getItemLayout(t),u=l.label,c=e.getItemVisual(t,"color");i.updateProps(n,{shape:{points:u.linePoints||u.linePoints}},o,t),i.updateProps(r,{style:{x:u.x,y:u.y}},o,t),r.attr({style:{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,textFont:u.font},rotation:u.rotation,origin:[u.x,u.y],z2:10});var h=s.getModel("label.normal"),d=s.getModel("label.emphasis"),p=s.getModel("labelLine.normal"),f=s.getModel("labelLine.emphasis");r.setStyle(a(e,t,"normal",h)),r.ignore=r.normalIgnore=!h.get("show"),r.hoverIgnore=!d.get("show"),n.ignore=n.normalIgnore=!p.get("show"),n.hoverIgnore=!f.get("show"),n.setStyle({stroke:c}),n.setStyle(p.getModel("lineStyle").getLineStyle()),r.hoverStyle=a(e,t,"emphasis",d),n.hoverStyle=f.getModel("lineStyle").getLineStyle()},o.inherits(r,i.Group);var u=n(278).extend({type:"funnel",render:function(e,t,n){var a=e.getData(),i=this._data,o=this.group;a.diff(i).add(function(e){var t=new r(a,e);a.setItemGraphicEl(e,t),o.add(t)}).update(function(e,t){var n=i.getItemGraphicEl(t);n.updateData(a,e),o.add(n),a.setItemGraphicEl(e,n)}).remove(function(e){var t=i.getItemGraphicEl(e);o.remove(t)}).execute(),this._data=a},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});e.exports=u},function(e,t,n){function r(e,t){return o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function a(e,t){for(var n=e.mapArray("value",function(e){return e}),r=[],a="ascending"===t,i=0,o=e.count();is)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&r(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),a=n.behavior;"jump"===a&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===a?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===a&&null})}}};a.registerPreprocessor(n(481))},function(e,t,n){function r(e,t){var n=[];return e.eachComponent("parallel",function(r,i){var o=new a(r,e,t);o.name="parallel_"+i,o.resize(r,t),r.coordinateSystem=o,o.model=r,n.push(o)}),e.eachSeries(function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}}),n}var a=n(471);n(261).register("parallel",{create:r})},function(e,t,n){function r(e,t,n){this._axesMap={},this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,t,n)}function a(e,t){return m(v(e,t[0]),t[1])}function i(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function o(e,t){var n,r,a=t.layoutLength,i=t.axisExpandWidth,o=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e=n&&i<=n+t.axisLength&&o>=r&&o<=r+t.layoutLength},_updateAxesFromSeries:function(e,t){t.eachSeries(function(n){if(e.contains(n,t)){var r=n.getData();g(this.dimensions,function(e){var t=this._axesMap[e];t.scale.unionExtentFromData(r,e),l.niceScaleExtent(t.scale,t.model)},this)}},this)},resize:function(e,t){this._rect=s.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=t.get("layout"),s="horizontal"===o?0:1,l=n[i[s]],u=[0,l],c=this.dimensions.length,h=a(t.get("axisExpandWidth"),u),d=a(t.get("axisExpandCount")||0,[0,c]),p=t.get("axisExpandable")&&c>3&&c>d&&d>1&&h>0&&l>0,f=t.get("axisExpandWindow");if(f)e=a(f[1]-f[0],u),f[1]=f[0]+e;else{e=a(h*(d-1),u);var g=t.get("axisExpandCenter")||y(c/2);f=[h*g-e/2],f[1]=f[0]+e}var m=(l-e)/(c-d);m<3&&(m=0);var v=[y(_(f[0]/h,1))+1,x(_(f[1]/h,1))-1],b=m/h*f[0];return{layout:o,pixelDimIndex:s,layoutBase:n[r[s]],layoutLength:l,axisBase:n[r[1-s]],axisLength:n[i[1-s]],axisExpandable:p,axisExpandWidth:h,axisCollapseWidth:m,axisExpandWindow:f,axisCount:c,winInnerIndices:v,axisExpandWindow0Pos:b}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),a=r.layout;g(t,function(e){var t=[0,r.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])}),g(n,function(t,n){var s=(r.axisExpandable?o:i)(n,r),l={horizontal:{x:s.position,y:r.axisLength},vertical:{x:0,y:s.position}},u={horizontal:b/2,vertical:0},c=[l[a].x+e.x,l[a].y+e.y],h=u[a],p=d.create();d.rotate(p,p,h),d.translate(p,p,c),this._axesLayout[t]={position:c,rotation:h,transform:p,axisNameAvailableWidth:s.axisNameAvailableWidth,axisLabelShow:s.axisLabelShow,nameTruncateMaxWidth:s.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(e){return this._axesMap[e]},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap[t].dataToCoord(e),t)},eachActiveState:function(e,t,n){for(var r=this.dimensions,a=this._axesMap,i=this.hasAxisBrushed(),o=0,s=e.count();oa*(1-c[0])?(l="jump",o=s-a*(1-c[2])):(o=s-a*c[1])>=0&&(o=s-a*(1-c[1]))<=0&&(o=0),o*=t.axisExpandWidth/u,o?f(o,r,i,"rigid"):l="none";else{var a=r[1]-r[0],d=i[1]*s/a;r=[v(0,d-a/2)],r[1]=m(i[1],r[0]+a),r[0]=r[1]-a}return{axisExpandWindow:r,behavior:l}}},e.exports=r},function(e,t,n){var r=n(239),a=n(335),i=function(e,t,n,r,i){a.call(this,e,t,n),this.type=r||"value",this.axisIndex=i};i.prototype={constructor:i,model:null},r.inherits(i,a),e.exports=i},function(e,t){e.exports=function(e,t,n,r,a){function i(e,t,n){var r=t.length?t.slice():[t,t];return t[0]>t[1]&&r.reverse(),e<0&&r[0]+e0&&r[1]+e>n[1]&&(e=n[1]-r[1]),e}return e?("rigid"===r?(e=i(e,t,n),t[0]+=e,t[1]+=e):(e=i(e,t[a],n),t[a]+=e,"push"===r&&t[0]>t[1]&&(t[1-a]=t[a])),t):t}},function(e,t,n){var r=n(239),a=n(254);n(475),a.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&r.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},setAxisExpand:function(e){r.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])},this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=r.filter(this.dependentModels.parallelAxis,function(e){return e.get("parallelIndex")===this.componentIndex});r.each(n,function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)})}})},function(e,t,n){function r(e,t){return t.type||(t.data?"category":"value")}var a=n(254),i=n(239),o=n(250),s=n(366),l=n(242),u=a.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return o([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]]).call(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var t=this.activeIntervals=i.clone(e);if(t)for(var n=t.length-1;n>=0;n--)l.asc(t[n])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e)return"inactive";for(var n=0,r=t.length;nK}function v(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function y(e,t,n,r){var a=new F.Group;return a.add(new F.Rect({name:"main",style:w(n),silent:!0,draggable:!0,cursor:"move",drift:W(e,t,a,"nswe"),ondragend:W(g,t,{isEnd:!0})})),j(r,function(n){a.add(new F.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:W(e,t,a,n),ondragend:W(g,t,{isEnd:!0})}))}),a}function x(e,t,n,r){var a=r.brushStyle.lineWidth||0,i=Z(a,Q),o=n[0][0],s=n[1][0],l=o-a/2,u=s-a/2,c=n[0][1],h=n[1][1],d=c-i+a/2,p=h-i+a/2,f=c-o,g=h-s,m=f+a,v=g+a;b(e,t,"main",o,s,f,g),r.transformable&&(b(e,t,"w",l,u,i,v),b(e,t,"e",d,u,i,v),b(e,t,"n",l,u,m,i),b(e,t,"s",l,p,m,i),b(e,t,"nw",l,u,i,i),b(e,t,"ne",d,u,i,i),b(e,t,"sw",l,p,i,i),b(e,t,"se",d,p,i,i))}function _(e,t){var n=t.__brushOption,r=n.transformable,a=t.childAt(0);a.useStyle(w(n)),a.attr({silent:!r,cursor:r?"move":"default"}),j(["w","e","n","s","se","sw","ne","nw"],function(n){var a=t.childOfName(n),i=C(e,n);a&&a.attr({silent:!r,invisible:!r,cursor:r?ee[i]+"-resize":null})})}function b(e,t,n,r,a,i,o){var s=t.childOfName(n);s&&s.setShape(P(E(e,t,[[r,a],[r+i,a+o]])))}function w(e){return B.defaults({strokeNoScale:!0},e.brushStyle)}function S(e,t,n,r){var a=[q(e,n),q(t,r)],i=[Z(e,n),Z(t,r)];return[[a[0],i[0]],[a[1],i[1]]]}function M(e){return F.getTransform(e.group)}function C(e,t){if(t.length>1){t=t.split("");var n=[C(e,t[0]),C(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}var r={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"},n=F.transformDirection(r[t],M(e));return a[n]}function T(e,t,n,r,a,i,o,s){var l=r.__brushOption,u=e(l.range),h=I(n,i,o);j(a.split(""),function(e){var t=$[e];u[t[0]][t[1]]+=h[t[0]]}),l.range=t(S(u[0][0],u[1][0],u[0][1],u[1][1])),c(n,r),g(n,{isEnd:!1})}function A(e,t,n,r,a){var i=t.__brushOption.range,o=I(e,n,r);j(i,function(e){e[0]+=o[0],e[1]+=o[1]}),c(e,t),g(e,{isEnd:!1})}function I(e,t,n){var r=e.group,a=r.transformCoordToLocal(t,n),i=r.transformCoordToLocal(0,0);return[a[0]-i[0],a[1]-i[1]]}function E(e,t,n){var r=p(e,t);return r&&r!==!0?r.clipPath(n,e._transform):B.clone(n)}function P(e){var t=q(e[0][0],e[1][0]),n=q(e[0][1],e[1][1]),r=Z(e[0][0],e[1][0]),a=Z(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:a-n}}function L(e,t,n){if(e._brushType){var r=e._zr,a=e._covers,i=d(e,t,n);if(!e._dragging)for(var o=0;o=0?t:NaN}})}function a(e){return+e.replace("dim","")}function i(e,t){var n=0;s.each(e,function(e){var t=a(e);t>n&&(n=t)});var r=t[0];r&&r.length-1>n&&(n=r.length-1);for(var i=[],o=0;o<=n;o++)i.push("dim"+o);return i}var o=n(333),s=n(239),l=n(263),u=n(338);e.exports=l.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.normal.color",getInitialData:function(e,t){var n=t.getComponent("parallel",this.get("parallelIndex")),a=n.parallelAxisIndex,l=e.data,c=n.dimensions,h=i(c,l),d=s.map(h,function(e,n){var i=s.indexOf(c,e),o=i>=0&&t.getComponent("parallelAxis",a[i]);return o&&"category"===o.get("type")?(r(o,e,l),{name:e,type:"ordinal"}):i<0&&u.guessOrdinal(l,n)?{name:e,type:"ordinal"}:e}),p=new o(d,this);return p.initData(l),this.option.progressive&&(this.option.animation=!1),p},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,n=this.getData(),r=[];return t.eachActiveState(n,function(t,a){e===t&&r.push(n.getRawIndex(a))}),r},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{normal:{show:!1},emphasis:{show:!1}},inactiveOpacity:.05,activeOpacity:1,lineStyle:{normal:{width:1,opacity:.45,type:"solid"}},progressive:!1,smooth:!1,animationEasing:"linear"}})},function(e,t,n){function r(e,t,n){var r=e.model,a=e.getRect(),i=new l.Rect({shape:{x:a.x,y:a.y,width:a.width,height:a.height}}),o="horizontal"===r.get("layout")?"width":"height";return i.setShape(o,0),l.initProps(i,{shape:{width:a.width,height:a.height}},t,n),i}function a(e,t,n,r){for(var a=[],i=0;i0;a--)o*=.99,d(i,o),h(i,r,n),f(i,o),h(i,r,n)}function c(e,t,n,r,a){var i=[];T.each(t,function(e){var t=e.length,n=0;T.each(e,function(e){n+=e.getLayout().value});var o=(r-(t-1)*a)/n;i.push(o)}),i.sort(function(e,t){return e-t});var o=i[0];T.each(t,function(e){T.each(e,function(e,t){e.setLayout({y:t},!0);var n=e.getLayout().value*o;e.setLayout({dy:n},!0)})}),T.each(n,function(e){var t=+e.getValue()*o;e.setLayout({dy:t},!0)})}function h(e,t,n){T.each(e,function(e){var r,a,i,o=0,s=e.length;for(e.sort(b),i=0;i0){var l=r.getLayout().y+a;r.setLayout({y:l},!0)}o=r.getLayout().y+r.getLayout().dy+t}if(a=o-t-n,a>0){var l=r.getLayout().y-a;for(r.setLayout({y:l},!0),o=r.getLayout().y,i=s-2;i>=0;--i)r=e[i],a=r.getLayout().y+r.getLayout().dy+t-o,a>0&&(l=r.getLayout().y-a,r.setLayout({y:l},!0)),o=r.getLayout().y}})}function d(e,t){T.each(e.slice().reverse(),function(e){T.each(e,function(e){if(e.outEdges.length){var n=x(e.outEdges,p)/x(e.outEdges,S),r=e.getLayout().y+(n-_(e))*t;e.setLayout({y:r},!0)}})})}function p(e){return _(e.node2)*e.getValue()}function f(e,t){T.each(e,function(e){T.each(e,function(e){if(e.inEdges.length){var n=x(e.inEdges,g)/x(e.inEdges,S),r=e.getLayout().y+(n-_(e))*t;e.setLayout({y:r},!0)}})})}function g(e){return _(e.node1)*e.getValue()}function m(e){T.each(e,function(e){e.outEdges.sort(v),e.inEdges.sort(y)}),T.each(e,function(e){var t=0,n=0;T.each(e.outEdges,function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy}),T.each(e.inEdges,function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy})})}function v(e,t){return e.node2.getLayout().y-t.node2.getLayout().y}function y(e,t){return e.node1.getLayout().y-t.node1.getLayout().y}function x(e,t){for(var n=0,r=e.length,a=-1;++at?1:e===t?0:NaN}function S(e){return e.getValue()}var M=n(256),C=n(489),T=n(239);e.exports=function(e,t,n){e.eachSeriesByType("sankey",function(e){var n=e.get("nodeWidth"),o=e.get("nodeGap"),s=r(e,t);e.layoutInfo=s;var l=s.width,u=s.height,c=e.getGraph(),h=c.nodes,d=c.edges;i(h);var p=T.filter(h,function(e){return 0===e.getLayout().value}),f=0!==p.length?0:e.get("layoutIterations");a(h,d,n,o,l,u,f)})}},function(e,t,n){function r(){function e(t,r){if(r>=n.length)return t;for(var i=-1,o=t.length,s=n[r++],l={},u={};++i=n.length)return e;var o=[],s=r[i++];return a.each(e,function(e,n){o.push({key:n,values:t(e,i)})}),s?o.sort(function(e,t){return s(e.key,t.key)}):o}var n=[],r=[];return{key:function(e){return n.push(e),this},sortKeys:function(e){return r[n.length-1]=e,this},entries:function(n){return t(e(n,0),0)}}}var a=n(239);e.exports=r},function(e,t,n){var r=n(437),a=n(239);e.exports=function(e,t){e.eachSeriesByType("sankey",function(e){var t=e.getGraph(),n=t.nodes;n.sort(function(e,t){return e.getLayout().value-t.getLayout().value});var i=n[0].getLayout().value,o=n[n.length-1].getLayout().value;a.each(n,function(t){var n=new r({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:e.get("color")}),a=n.mapValueToVisual(t.getLayout().value);t.setVisual("color",a);var s=t.getModel(),l=s.get("itemStyle.normal.color");null!=l&&t.setVisual("color",l)})})}},function(e,t,n){var r=n(236);n(492),n(495),r.registerVisual(n(496)),r.registerLayout(n(497))},function(e,t,n){"use strict";var r=n(239),a=n(263),i=n(493),o=a.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],valueDimensions:["min","Q1","median","Q3","max"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{normal:{color:"#fff",borderWidth:1},emphasis:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});r.mixin(o,i.seriesModelMixin,!0),e.exports=o},function(e,t,n){"use strict";function r(e){return null==e.value?e:e.value}var a=n(333),i=n(338),o=n(494),s=n(239),l={_baseAxisDim:null,getInitialData:function(e,t){var n,o,s=t.getComponent("xAxis",this.get("xAxisIndex")),l=t.getComponent("yAxis",this.get("yAxisIndex")),u=s.get("type"),c=l.get("type");"category"===u?(e.layout="horizontal",n=s.getCategories(),o=!0):"category"===c?(e.layout="vertical",n=l.getCategories(),o=!0):e.layout=e.layout||"horizontal",this._baseAxisDim="horizontal"===e.layout?"x":"y";var h=e.data,d=this.dimensions=["base"].concat(this.valueDimensions);i(d,h);var p=new a(d,this);return p.initData(h,n?n.slice():null,function(e,t,n,a){var i=r(e);return o?"base"===t?n:i[a-1]:i[a]}),p},coordDimToDataDim:function(e){var t=this.valueDimensions.slice(),n=["base"],r={horizontal:{x:n,y:t},vertical:{x:t,y:n}};return r[this.get("layout")][e]},dataDimToCoordDim:function(e){var t;return s.each(["x","y"],function(n,r){var a=this.coordDimToDataDim(n);s.indexOf(a,e)>=0&&(t=n)},this),t},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}},u={init:function(){var e=this._whiskerBoxDraw=new o(this.getStyleUpdater());this.group.add(e.group)},render:function(e,t,n){this._whiskerBoxDraw.updateData(e.getData())},remove:function(e){this._whiskerBoxDraw.remove()}};e.exports={seriesModelMixin:l,viewMixin:u}},function(e,t,n){function r(e,t,n,r){l.Group.call(this),this.bodyIndex,this.whiskerIndex,this.styleUpdater=n,this._createContent(e,t,r),this.updateData(e,t,r),this._seriesModel}function a(e,t,n){return s.map(e,function(e){return e=e.slice(),e[t]=n.initBaseline,e})}function i(e){var t={};return s.each(e,function(e,n){t["ends"+n]=e}),t}function o(e){this.group=new l.Group,this.styleUpdater=e}var s=n(239),l=n(279),u=n(281),c=u.extend({type:"whiskerInBox",shape:{},buildPath:function(e,t){for(var n in t)if(t.hasOwnProperty(n)&&0===n.indexOf("ends")){var r=t[n];e.moveTo(r[0][0],r[0][1]),e.lineTo(r[1][0],r[1][1])}}}),h=r.prototype;h._createContent=function(e,t,n){var r=e.getItemLayout(t),o="horizontal"===r.chartLayout?1:0,u=0;this.add(new l.Polygon({shape:{points:n?a(r.bodyEnds,o,r):r.bodyEnds},style:{strokeNoScale:!0},z2:100})),this.bodyIndex=u++;var h=s.map(r.whiskerEnds,function(e){return n?a(e,o,r):e});this.add(new c({shape:i(h),style:{strokeNoScale:!0},z2:100})),this.whiskerIndex=u++},h.updateData=function(e,t,n){var r=this._seriesModel=e.hostModel,a=e.getItemLayout(t),o=l[n?"initProps":"updateProps"];o(this.childAt(this.bodyIndex),{shape:{points:a.bodyEnds}},r,t),o(this.childAt(this.whiskerIndex),{shape:i(a.whiskerEnds)},r,t),this.styleUpdater.call(null,this,e,t)},s.inherits(r,l.Group);var d=o.prototype;d.updateData=function(e){var t=this.group,n=this._data,a=this.styleUpdater;e.diff(n).add(function(n){if(e.hasValue(n)){var i=new r(e,n,a,!0);e.setItemGraphicEl(n,i),t.add(i)}}).update(function(i,o){var s=n.getItemGraphicEl(o);return e.hasValue(i)?(s?s.updateData(e,i):s=new r(e,i,a),t.add(s),void e.setItemGraphicEl(i,s)):void t.remove(s)}).remove(function(e){var r=n.getItemGraphicEl(e);r&&t.remove(r)}).execute(),this._data=e},d.remove=function(){var e=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(t){t&&e.remove(t)})},e.exports=o},function(e,t,n){"use strict";function r(e,t,n){var r=t.getItemModel(n),a=r.getModel(u),i=t.getItemVisual(n,"color"),s=a.getItemStyle(["borderColor"]),l=e.childAt(e.whiskerIndex);l.style.set(s),l.style.stroke=i,l.dirty();var h=e.childAt(e.bodyIndex);h.style.set(s),h.style.stroke=i,h.dirty();var d=r.getModel(c).getItemStyle();o.setHoverStyle(e,d)}var a=n(239),i=n(278),o=n(279),s=n(493),l=i.extend({type:"boxplot",getStyleUpdater:function(){return r},dispose:a.noop});a.mixin(l,s.viewMixin,!0);var u=["itemStyle","normal"],c=["itemStyle","emphasis"];e.exports=l},function(e,t){var n=["itemStyle","normal","borderColor"];e.exports=function(e,t){var r=e.get("color");e.eachRawSeriesByType("boxplot",function(t){var a=r[t.seriesIndex%r.length],i=t.getData();i.setVisual({legendSymbol:"roundRect",color:t.get(n)||a}),e.isSeriesFiltered(t)||i.each(function(e){var t=i.getItemModel(e);i.setItemVisual(e,{color:t.get(n,!0)})})})}},function(e,t,n){function r(e){var t=[],n=[];return e.eachSeriesByType("boxplot",function(e){var r=e.getBaseAxis(),a=o.indexOf(n,r);a<0&&(a=n.length,n[a]=r,t[a]={axis:r,seriesModels:[]}),t[a].seriesModels.push(e)}),t}function a(e){var t,n,r=e.axis,a=e.seriesModels,i=a.length,s=e.boxWidthList=[],c=e.boxOffsetList=[],h=[];if("category"===r.type)n=r.getBandWidth();else{var d=0;u(a,function(e){d=Math.max(d,e.getData().count())}),t=r.getExtent(),Math.abs(t[1]-t[0])/d}u(a,function(e){var t=e.get("boxWidth");o.isArray(t)||(t=[t,t]),h.push([l(t[0],n)||0,l(t[1],n)||0])});var p=.8*n-2,f=p/i*.3,g=(p-f*(i-1))/i,m=g/2-p/2;u(a,function(e,t){c.push(m),m+=f+g,s.push(Math.min(Math.max(g,h[t][0]),h[t][1]))})}function i(e,t,n){var r=e.coordinateSystem,a=e.getData(),i=e.dimensions,o=e.get("layout"),s=n/2;a.each(i,function(){function e(e){var n=[];n[p]=h,n[f]=e;var a;return isNaN(h)||isNaN(e)?a=[NaN,NaN]:(a=r.dataToPoint(n),a[p]+=t),a}function n(e,t){var n=e.slice(),r=e.slice();n[p]+=s,r[p]-=s,t?x.push(n,r):x.push(r,n)}function l(e){var t=[e.slice(),e.slice()];t[0][p]-=s,t[1][p]+=s,y.push(t)}var u=arguments,c=i.length,h=u[0],d=u[c],p="horizontal"===o?0:1,f=1-p,g=e(u[3]),m=e(u[1]),v=e(u[5]),y=[[m,e(u[2])],[v,e(u[4])]];l(m),l(v),l(g);var x=[];n(y[0][1],0),n(y[1][1],1),a.setItemLayout(d,{chartLayout:o,initBaseline:g[f],median:g,bodyEnds:x,whiskerEnds:y})})}var o=n(239),s=n(242),l=s.parsePercent,u=o.each;e.exports=function(e){var t=r(e);u(t,function(e){var t=e.seriesModels;t.length&&(a(e),u(t,function(t,n){i(t,e.boxOffsetList[n],e.boxWidthList[n])}))})}},function(e,t,n){var r=n(236);n(499),n(500),r.registerPreprocessor(n(501)),r.registerVisual(n(502)),r.registerLayout(n(503))},function(e,t,n){"use strict";var r=n(239),a=n(263),i=n(493),o=n(241),s=o.encodeHTML,l=o.addCommas,u=a.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],valueDimensions:["open","close","lowest","highest"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,itemStyle:{normal:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},formatTooltip:function(e,t){var n=r.map(this.valueDimensions,function(t){return s(t+": "+l(this.getData().get(t,e)))},this).join("
"),a=[];return null!=this.name&&a.push(s(this.name)),null!=n&&a.push(n),a.join("
")},brushSelector:function(e,t,n){var r=t.getItemLayout(e);return n.rect(r.brushRect)}});r.mixin(u,i.seriesModelMixin,!0),e.exports=u},function(e,t,n){"use strict";function r(e,t,n){var r=t.getItemModel(n),a=r.getModel(u),i=t.getItemVisual(n,"color"),s=t.getItemVisual(n,"borderColor")||i,l=a.getItemStyle(["color","color0","borderColor","borderColor0"]),h=e.childAt(e.whiskerIndex);h.useStyle(l),h.style.stroke=s;var d=e.childAt(e.bodyIndex);d.useStyle(l),d.style.fill=i,d.style.stroke=s;var p=r.getModel(c).getItemStyle();o.setHoverStyle(e,p)}var a=n(239),i=n(278),o=n(279),s=n(493),l=i.extend({type:"candlestick",getStyleUpdater:function(){return r},dispose:a.noop});a.mixin(l,s.viewMixin,!0);var u=["itemStyle","normal"],c=["itemStyle","emphasis"];e.exports=l},function(e,t,n){var r=n(239);e.exports=function(e){e&&r.isArray(e.series)&&r.each(e.series,function(e){r.isObject(e)&&"k"===e.type&&(e.type="candlestick")})}},function(e,t){var n=["itemStyle","normal","borderColor"],r=["itemStyle","normal","borderColor0"],a=["itemStyle","normal","color"],i=["itemStyle","normal","color0"];e.exports=function(e,t){e.eachRawSeriesByType("candlestick",function(t){var o=t.getData();o.setVisual({legendSymbol:"roundRect"}),e.isSeriesFiltered(t)||o.each(function(e){var t=o.getItemModel(e),s=o.getItemLayout(e).sign;o.setItemVisual(e,{color:t.get(s>0?a:i),borderColor:t.get(s>0?n:r)})})})}},function(e,t,n){function r(e,t){var n,r=e.getBaseAxis(),o="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),s=i(a(e.get("barMaxWidth"),o),o),l=i(a(e.get("barMinWidth"),1),o),u=e.get("barWidth");return null!=u?i(u,o):Math.max(Math.min(o/2,s),l)}var a=n(239).retrieve,i=n(242).parsePercent;e.exports=function(e){e.eachSeriesByType("candlestick",function(e){var t=e.coordinateSystem,n=e.getData(),a=e.dimensions,i=e.get("layout"),o=r(e,n);n.each(a,function(){function e(e){var n=[];return n[d]=c,n[p]=e,isNaN(c)||isNaN(e)?[NaN,NaN]:t.dataToPoint(n)}function r(e,t){var n=e.slice(),r=e.slice();n[d]+=o/2,r[d]-=o/2,t?C.push(n,r):C.push(r,n)}function s(){var t=e(Math.min(f,g,m,v)),n=e(Math.max(f,g,m,v));return t[d]-=o/2,n[d]-=o/2,{x:t[0],y:t[1],width:p?o:n[0]-t[0],height:p?n[1]-t[1]:o}}var l=arguments,u=a.length,c=l[0],h=l[u],d="horizontal"===i?0:1,p=1-d,f=l[1],g=l[2],m=l[3],v=l[4],y=Math.min(f,g),x=Math.max(f,g),_=e(y),b=e(x),w=e(m),S=e(v),M=[[S,b],[w,_]],C=[];r(b,0),r(_,1),n.setItemLayout(h,{chartLayout:i,sign:f>g?-1:fg?b[p]:_[p],bodyEnds:C,whiskerEnds:M,brushRect:s()})},!0)})}},function(e,t,n){var r=n(239),a=n(236);n(505),n(506),a.registerVisual(r.curry(n(355),"effectScatter","circle",null)),a.registerLayout(r.curry(n(356),"effectScatter"))},function(e,t,n){"use strict";var r=n(337),a=n(263);e.exports=a.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,t){var n=r(e.data,this,t);return n},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}})},function(e,t,n){var r=n(351),a=n(507);n(236).extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new r(a)},render:function(e,t,n){var r=e.getData(),a=this._symbolDraw;a.updateData(r),this.group.add(a.group)},updateLayout:function(){this._symbolDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t)},dispose:function(){}})},function(e,t,n){function r(e){return o.isArray(e)||(e=[+e,+e]),e}function a(e,t){e.eachChild(function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?t.color:null,fill:"fill"===t.brushType?t.color:null}})})}function i(e,t){h.call(this);var n=new c(e,t),r=new h;this.add(n),this.add(r),r.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(e,t)}var o=n(239),s=n(339),l=n(279),u=n(242),c=n(352),h=l.Group,d=3,p=i.prototype;p.stopEffectAnimation=function(){this.childAt(1).removeAll()},p.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,r=this.childAt(1),i=0;i "))},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{normal:{show:!1,position:"end"}},lineStyle:{normal:{opacity:.5}}}})},function(e,t,n){var r=n(444),a=n(511),i=n(445),o=n(512),s=n(513),l=n(514);n(236).extendChartView({type:"lines",init:function(){},render:function(e,t,n){var u=e.getData(),c=this._lineDraw,h=e.get("effect.show"),d=e.get("polyline"),p=e.get("large")&&u.count()>=e.get("largeThreshold");__DEV__&&h&&p&&console.warn("Large lines not support effect"),h===this._hasEffet&&d===this._isPolyline&&p===this._isLarge||(c&&c.remove(),c=this._lineDraw=p?new l:new r(d?h?s:o:h?a:i),this._hasEffet=h,this._isPolyline=d,this._isLarge=p);var f=e.get("zlevel"),g=e.get("effect.trailLength"),m=n.getZr();if(m.painter.getLayer(f).clear(!0),null!=this._lastZlevel&&m.configLayer(this._lastZlevel,{motionBlur:!1}),h&&g){if(__DEV__){var v=!1;t.eachSeries(function(t){t!==e&&t.get("zlevel")===f&&(v=!0)}),v&&console.warn("Lines with trail effect should have an individual zlevel")}m.configLayer(f,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(g/10+.9,1),0)})}this.group.add(c.group),c.updateData(u),this._lastZlevel=f},updateLayout:function(e,t,n){this._lineDraw.updateLayout(e);var r=n.getZr();r.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(e,t){this._lineDraw&&this._lineDraw.remove(t,!0)},dispose:function(){}})},function(e,t,n){function r(e,t,n){a.Group.call(this),this.add(this.createLine(e,t,n)),this._updateEffectSymbol(e,t)}var a=n(279),i=n(445),o=n(239),s=n(339),l=n(245),u=n(286),c=r.prototype;c.createLine=function(e,t,n){return new i(e,t,n)},c._updateEffectSymbol=function(e,t){var n=e.getItemModel(t),r=n.getModel("effect"),a=r.get("symbolSize"),i=r.get("symbol");o.isArray(a)||(a=[a,a]);var l=r.get("color")||e.getItemVisual(t,"color"),u=this.childAt(1);this._symbolType!==i&&(this.remove(u),u=s.createSymbol(i,-.5,-.5,1,1,l),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",l),u.setStyle(r.getItemStyle(["color"])),u.attr("scale",a),u.setColor(l),u.attr("scale",a),this._symbolType=i,this._updateEffectAnimation(e,r,t))},c._updateEffectAnimation=function(e,t,n){var r=this.childAt(1);if(r){var a=this,i=e.getItemLayout(n),s=1e3*t.get("period"),l=t.get("loop"),u=t.get("constantSpeed"),c=o.retrieve(t.get("delay"),function(t){return t/e.count()*s/3}),h="function"==typeof c;if(r.ignore=!0,this.updateAnimationPoints(r,i),u>0&&(s=this.getLineLength(r)/u*1e3),s!==this._period||l!==this._loop){r.stopAnimation();var d=c;h&&(d=c(n)),r.__t>0&&(d=-s*r.__t),r.__t=0;var p=r.animate("",l).when(s,{__t:1}).delay(d).during(function(){a.updateSymbolPosition(r)});l||p.done(function(){a.remove(r)}),p.start()}this._period=s,this._loop=l}},c.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},c.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},c.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},c.updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,a=e.__t,i=e.position,o=u.quadraticAt,s=u.quadraticDerivativeAt;i[0]=o(t[0],r[0],n[0],a),i[1]=o(t[1],r[1],n[1],a);var l=s(t[0],r[0],n[0],a),c=s(t[1],r[1],n[1],a);e.rotation=-Math.atan2(c,l)-Math.PI/2,e.ignore=!1},c.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},o.inherits(r,a.Group),e.exports=r},function(e,t,n){function r(e,t,n){a.Group.call(this),this._createPolyline(e,t,n)}var a=n(279),i=n(239),o=r.prototype;o._createPolyline=function(e,t,n){var r=e.getItemLayout(t),i=new a.Polyline({shape:{points:r}});this.add(i),this._updateCommonStl(e,t,n)},o.updateData=function(e,t,n){var r=e.hostModel,i=this.childAt(0),o={shape:{points:e.getItemLayout(t)}};a.updateProps(i,o,r,t),this._updateCommonStl(e,t,n)},o._updateCommonStl=function(e,t,n){var r=this.childAt(0),o=e.getItemModel(t),s=e.getItemVisual(t,"color"),l=n&&n.lineStyle,u=n&&n.hoverLineStyle;n&&!e.hasItemOption||(l=o.getModel("lineStyle.normal").getLineStyle(),u=o.getModel("lineStyle.emphasis").getLineStyle()),r.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),r.hoverStyle=u,a.setHoverStyle(this)},o.updateLayout=function(e,t){var n=this.childAt(0);n.setShape("points",e.getItemLayout(t))},i.inherits(r,a.Group),e.exports=r},function(e,t,n){function r(e,t,n){o.call(this,e,t,n),this._lastFrame=0,this._lastFramePercent=0}var a=n(512),i=n(239),o=n(511),s=n(245),l=r.prototype;l.createLine=function(e,t,n){return new a(e,t,n)},l.updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],r=0,a=1;a=0&&!(r[i]<=t);i--);i=Math.min(i,a-2)}else{for(var i=o;it);i++);i=Math.min(i-1,a-2)}s.lerp(e.position,n[i],n[i+1],(t-r[i])/(r[i+1]-r[i]));var u=n[i+1][0]-n[i][0],c=n[i+1][1]-n[i][1];e.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=i,this._lastFramePercent=t,e.ignore=!1}},i.inherits(r,o),e.exports=r},function(e,t,n){function r(){this.group=new a.Group,this._lineEl=new s}var a=n(279),i=n(291),o=n(289),s=a.extendShape({shape:{polyline:!1,segs:[]},buildPath:function(e,t){for(var n=t.segs,r=t.polyline,a=0;a2?e.quadraticCurveTo(i[2][0],i[2][1],i[1][0],i[1][1]):e.lineTo(i[1][0],i[1][1])}},findDataIndex:function(e,t){for(var n=this.shape,r=n.segs,a=n.polyline,s=Math.max(this.style.lineWidth,1),l=0;l2){if(i.containStroke(u[0][0],u[0][1],u[2][0],u[2][1],u[1][0],u[1][1],s,e,t))return l}else if(o.containStroke(u[0][0],u[0][1],u[1][0],u[1][1],s,e,t))return l}return-1}}),l=r.prototype;l.updateData=function(e){this.group.removeAll();var t=this._lineEl,n=e.hostModel;t.setShape({segs:e.mapArray(e.getItemLayout),polyline:n.get("polyline")}),t.useStyle(n.getModel("lineStyle.normal").getLineStyle());var r=e.getVisual("color");r&&t.setStyle("stroke",r),t.setStyle("fill"),t.seriesIndex=n.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n)}),this.group.add(t)},l.updateLayout=function(e){var t=e.getData();this._lineEl.setShape({segs:t.mapArray(t.getItemLayout)})},l.remove=function(){this.group.removeAll()},e.exports=r},function(e,t){e.exports=function(e){e.eachSeriesByType("lines",function(e){var t=e.coordinateSystem,n=e.getData();n.each(function(r){var a=n.getItemModel(r),i=a.option instanceof Array?a.option:a.get("coords");if(__DEV__&&!(i instanceof Array&&i.length>0&&i[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(i)+". Lines must have 2d coords array in data item.");var o=[];if(e.get("polyline"))for(var s=0;s=0;r--){var o=t[r].interval;if(o[0]<=e&&e<=o[1]){i=r;break}}return r>=0&&r=t[0]&&e<=t[1]}}function i(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var o=n(279),s=n(520),l=n(239);e.exports=n(236).extendChartView({type:"heatmap",render:function(e,t,n){var r;if(t.eachComponent("visualMap",function(t){t.eachTargetSeries(function(n){n===e&&(r=t)})}),__DEV__&&!r)throw new Error("Heatmap must use with visualMap");this.group.removeAll();var a=e.coordinateSystem;"cartesian2d"===a.type||"calendar"===a.type?this._renderOnCartesianAndCalendar(a,e,n):i(a)&&this._renderOnGeo(a,e,r,n)},dispose:function(){},_renderOnCartesianAndCalendar:function(e,t,n){if("cartesian2d"===e.type){var r=e.getAxis("x"),a=e.getAxis("y");if(__DEV__){if("category"!==r.type||"category"!==a.type)throw new Error("Heatmap on cartesian must have two category axes");if(!r.onBand||!a.onBand)throw new Error("Heatmap on cartesian must have two axes with boundaryGap true")}var i=r.getBandWidth(),s=a.getBandWidth()}var u=this.group,c=t.getData(),h="itemStyle.normal",d="itemStyle.emphasis",p="label.normal",f="label.emphasis",g=t.getModel(h).getItemStyle(["color"]),m=t.getModel(d).getItemStyle(),v=t.getModel("label.normal"),y=t.getModel("label.emphasis");c.each("cartesian2d"===e.type?["x","y","z"]:["time","value"],function(n,r,a,x){var _;if("cartesian2d"===e.type){if(isNaN(a))return;var b=e.dataToPoint([n,r]);_=new o.Rect({shape:{x:b[0]-i/2,y:b[1]-s/2,width:i,height:s},style:{fill:c.getItemVisual(x,"color"),opacity:c.getItemVisual(x,"opacity")}})}else{if(isNaN(r))return;x=a,_=new o.Rect({z2:1,shape:e.dataToRect([n,r]).contentShape,style:{fill:c.getItemVisual(x,"color"),opacity:c.getItemVisual(x,"opacity")}})}var w=c.getItemModel(x);c.hasItemOption&&(g=w.getModel(h).getItemStyle(["color"]),m=w.getModel(d).getItemStyle(),v=w.getModel(p),y=w.getModel(f));var S=t.getRawValue(x),M="-";S&&null!=S[2]&&(M=S[2]),v.getShallow("show")&&(o.setText(g,v),g.text=t.getFormattedLabel(x,"normal")||M),y.getShallow("show")&&(o.setText(m,y),m.text=t.getFormattedLabel(x,"emphasis")||M),_.setStyle(g),o.setHoverStyle(_,c.hasItemOption?m:l.extend({},m)),u.add(_),c.setItemGraphicEl(x,_)})},_renderOnGeo:function(e,t,n,i){var l=n.targetVisuals.inRange,u=n.targetVisuals.outOfRange,c=t.getData(),h=this._hmLayer||this._hmLayer||new s;h.blurSize=t.get("blurSize"),h.pointSize=t.get("pointSize"),h.minOpacity=t.get("minOpacity"),h.maxOpacity=t.get("maxOpacity");var d=e.getViewRect().clone(),p=e.getRoamTransform().transform; -d.applyTransform(p);var f=Math.max(d.x,0),g=Math.max(d.y,0),m=Math.min(d.width+d.x,i.getWidth()),v=Math.min(d.height+d.y,i.getHeight()),y=m-f,x=v-g,_=c.mapArray(["lng","lat","value"],function(t,n,r){var a=e.dataToPoint([t,n]);return a[0]-=f,a[1]-=g,a.push(r),a}),b=n.getExtent(),w="visualMap.continuous"===n.type?a(b,n.option.range):r(b,n.getPieceList(),n.option.selected);h.update(_,y,x,l.color.getNormalizer(),{inRange:l.color.getColorMapper(),outOfRange:u.color.getColorMapper()},w);var S=new o.Image({style:{width:y,height:x,x:f,y:g,image:h.canvas},silent:!0});this.group.add(S)}})},function(e,t,n){function r(){var e=i.createCanvas();this.canvas=e,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}var a=256,i=n(239);r.prototype={update:function(e,t,n,r,i,o){var s=this._getBrush(),l=this._getGradient(e,i,"inRange"),u=this._getGradient(e,i,"outOfRange"),c=this.pointSize+this.blurSize,h=this.canvas,d=h.getContext("2d"),p=e.length;h.width=t,h.height=n;for(var f=0;f0){var I=o(x)?l:u;x>0&&(x=x*T+M),b[w++]=I[A],b[w++]=I[A+1],b[w++]=I[A+2],b[w++]=I[A+3]*x*256}else w+=4}return d.putImageData(_,0,0),h},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=i.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var r=e.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-t,t,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},_getGradient:function(e,t,n){for(var r=this._gradientPixels,a=r[n]||(r[n]=new Uint8ClampedArray(1024)),i=[0,0,0,0],o=0,s=0;s<256;s++)t[n](s/255,!0,i),a[o++]=i[0],a[o++]=i[1],a[o++]=i[2],a[o++]=i[3];return a}},e.exports=r},function(e,t,n){var r=n(239);n(359),n(522),n(523);var a=n(380),i=n(236);i.registerLayout(r.curry(a,"pictorialBar")),i.registerVisual(r.curry(n(355),"pictorialBar","roundRect",null)),n(358)},function(e,t,n){var r=n(376).extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(e){return e.stack=null,r.superApply(this,"getInitialData",arguments)}});e.exports=r},function(e,t,n){function r(e,t,n,r){var l=e.getItemLayout(t),u=n.get("symbolRepeat"),c=n.get("symbolClip"),h=n.get("symbolPosition")||"start",d=n.get("symbolRotate"),p=(d||0)*Math.PI/180||0,f=n.get("symbolPatternSize")||2,g=n.isAnimationEnabled(),m={dataIndex:t,layout:l,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:c,symbolRepeat:u,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:f,rotation:p,animationModel:g?n:null,hoverAnimation:g&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};a(n,u,l,r,m),i(e,t,l,u,c,m.boundingLength,m.pxSign,f,r,m),o(n,m.symbolScale,p,r,m);var v=m.symbolSize,y=n.get("symbolOffset");return C.isArray(y)&&(y=[P(y[0],v[0]),P(y[1],v[1])]),s(n,v,l,u,c,y,h,m.valueLineWidth,m.boundingLength,m.repeatCutLength,r,m),m}function a(e,t,n,r,a){var i=r.valueDim,o=e.get("symbolBoundingData"),s=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=a.boundingLength=null!=o?s.toGlobalCoord(s.dataToCoord(s.scale.parse(o)))-l:t?r.coordSysExtent[i.index][1-+(n[i.wh]<=0)]-l:n[i.wh];t&&(a.repeatCutLength=n[i.wh]),a.pxSign=u>0?1:u<0?-1:0}function i(e,t,n,r,a,i,o,s,l,u){var c=l.valueDim,h=l.categoryDim,d=Math.abs(n[h.wh]),p=e.getItemVisual(t,"symbolSize");C.isArray(p)?p=p.slice():(null==p&&(p="100%"),p=[p,p]),p[h.index]=P(p[h.index],d),p[c.index]=P(p[c.index],r?d:Math.abs(i)),u.symbolSize=p;var f=u.symbolScale=[p[0]/s,p[1]/s];f[c.index]*=(l.isHorizontal?-1:1)*o}function o(e,t,n,r,a){var i=e.get(L)||0;i&&(k.attr({scale:t.slice(),rotation:n}),k.updateTransform(),i/=k.getLineScale(),i*=t[r.valueDim.index]),a.valueLineWidth=i}function s(e,t,n,r,a,i,o,s,l,u,c,h){var d=c.categoryDim,p=c.valueDim,f=h.pxSign,g=Math.max(t[p.index]+s,0),m=g;if(r){var v=Math.abs(l),y=C.retrieve(e.get("symbolMargin"),"15%")+"",x=!1;y.lastIndexOf("!")===y.length-1&&(x=!0,y=y.slice(0,y.length-1)),y=P(y,t[p.index]);var _=Math.max(g+2*y,0),b=x?0:2*y,w=I.isNumeric(r),S=w?r:M((v+b)/_),T=v-S*g;y=T/2/(x?S:S-1),_=g+2*y,b=x?0:2*y,w||"fixed"===r||(S=u?M((Math.abs(u)+b)/_):0),m=S*_-b,h.repeatTimes=S,h.symbolMargin=y}var A=f*(m/2),E=h.pathPosition=[];E[d.index]=n[d.wh]/2,E[p.index]="start"===o?A:"end"===o?l-A:l/2,i&&(E[0]+=i[0],E[1]+=i[1]);var L=h.bundlePosition=[];L[d.index]=n[d.xy],L[p.index]=n[p.xy];var D=h.barRectShape=C.extend({},n);D[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(E[p.index]+A)),D[d.wh]=n[d.wh];var k=h.clipShape={};k[d.xy]=-n[d.xy],k[d.wh]=c.ecSize[d.wh],k[p.xy]=0,k[p.wh]=n[p.wh]}function l(e){var t=e.symbolPatternSize,n=A.createSymbol(e.symbolType,-t/2,-t/2,t,t,e.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function u(e,t,n,r){function a(e){var t=h.slice(),r=n.pxSign,a=e;return("start"===n.symbolRepeatDirection?r>0:r<0)&&(a=p-1-e),t[d.index]=g*(a-p/2+.5)+h[d.index],{position:t,scale:n.symbolScale.slice(),rotation:n.rotation}}function i(){b(e,function(e){e.trigger("emphasis")})}function o(){b(e,function(e){e.trigger("normal")})}var s=e.__pictorialBundle,u=n.symbolSize,c=n.valueLineWidth,h=n.pathPosition,d=t.valueDim,p=n.repeatTimes||0,f=0,g=u[t.valueDim.index]+c+2*n.symbolMargin;for(b(e,function(e){e.__pictorialAnimationIndex=f,e.__pictorialRepeatTimes=p,f0)],c=e.__pictorialBarRect;E.setLabel(c.style,l,i,r,t.seriesModel,a,u),T.setHoverStyle(c,l)}function M(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var C=n(239),T=n(279),A=n(339),I=n(242),E=n(378),P=I.parsePercent,L=["itemStyle","normal","borderWidth"],D=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],k=new T.Circle,O=n(236).extendChartView({type:"pictorialBar",render:function(e,t,n){var a=this.group,i=e.getData(),o=this._data,s=e.coordinateSystem,l=s.getBaseAxis(),u=!!l.isHorizontal(),c=s.grid.getRect(),h={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:s,coordSysExtent:[[c.x,c.x+c.width],[c.y,c.y+c.height]],isHorizontal:u,valueDim:D[+u],categoryDim:D[1-u]};return i.diff(o).add(function(e){if(i.hasValue(e)){var t=p(i,e),n=r(i,e,t,h),o=v(i,h,n);i.setItemGraphicEl(e,o),a.add(o),S(o,h,n)}}).update(function(e,t){var n=o.getItemGraphicEl(t);if(!i.hasValue(e))return void a.remove(n);var s=p(i,e),l=r(i,e,s,h),u=_(i,l);n&&u!==n.__pictorialShapeStr&&(a.remove(n),i.setItemGraphicEl(e,null),n=null),n?y(n,h,l):n=v(i,h,l,!0),i.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=l,a.add(n),S(n,h,l)}).remove(function(e){var t=o.getItemGraphicEl(e);t&&x(o,e,t.__pictorialSymbolMeta.animationModel,t)}).execute(),this._data=i,this.group},dispose:C.noop,remove:function(e,t){var n=this.group,r=this._data;e.get("animation")?r&&r.eachItemGraphicEl(function(t){x(r,t.dataIndex,e,t)}):n.removeAll()}});e.exports=O},function(e,t,n){var r=n(236),a=n(239);n(525),n(542),n(543),r.registerLayout(n(544)),r.registerVisual(n(545)),r.registerProcessor(a.curry(n(389),"themeRiver"))},function(e,t,n){n(526),n(529),n(531),n(532),n(541);var r=n(236);r.extendComponentView({type:"single"})},function(e,t,n){function r(e,t){var n=[];return e.eachComponent("singleAxis",function(r,i){var o=new a(r,e,t);o.name="single_"+i,o.resize(r,t),r.coordinateSystem=o,n.push(o)}),e.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=n&&n.coordinateSystem}}),n}var a=n(527);n(261).register("single",{create:r,dimensions:a.prototype.dimensions})},function(e,t,n){function r(e,t,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,n),this.model=e}var a=n(528),i=n(340),o=n(256);r.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:r,_init:function(e,t,n){var r=this.dimension,o=new a(r,i.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===o.type;o.onBand=s&&e.get("boundaryGap"),o.inverse=e.get("inverse"),o.orient=e.get("orient"),e.axis=o,o.model=e,o.coordinateSystem=this,this._axis=o},update:function(e,t){e.eachSeries(function(e){if(e.coordinateSystem===this){var t=e.getData(),n=this.dimension;this._axis.scale.unionExtentFromData(t,e.coordDimToDataDim(n)),i.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(e,t){this._rect=o.getLayoutRect({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),r=n?[0,e.width]:[0,e.height],a=t.reverse?1:0;t.setExtent(r[a],r[1-a]),this._updateAxisTransform(t,n?e.x:e.y)},_updateAxisTransform:function(e,t){var n=e.getExtent(),r=n[0]+n[1],a=e.isHorizontal();e.toGlobalCoord=a?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord=a?function(e){return e-t}:function(e){return r-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),n=this.getAxis(),r=n.orient;return"horizontal"===r?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),n=this.getRect(),r=[],a="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),r[a]=t.toGlobalCoord(t.dataToCoord(+e)),r[1-a]=0===a?n.y+n.height/2:n.x+n.width/2,r}},e.exports=r},function(e,t,n){var r=n(239),a=n(335),i=n(340),o=function(e,t,n,r,i){a.call(this,e,t,n),this.type=r||"value",this.position=i||"bottom",this.orient=null,this._labelInterval=null};o.prototype={constructor:o,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getLabelInterval:function(){var e=this._labelInterval;if(!e){var t=this.model,n=t.getModel("axisLabel"),a=n.get("interval");if("category"!==this.type||"auto"!==a)return e=this._labelInterval="auto"===a?0:a;e=this._labelInterval=i.getAxisLabelInterval(r.map(this.scale.getTicks(),this.dataToCoord,this),t.getFormattedLabels(),n.getModel("textStyle").getFont(),this.isHorizontal())}return e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},r.inherits(o,a),e.exports=o},function(e,t,n){var r=n(370),a=n(239),i=n(279),o=n(530),s=r.getInterval,l=r.ifIgnoreOnTick,u=["axisLine","axisLabel","axisTick","axisName"],c="splitLine",h=n(371).extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,n,i){var s=this.group;s.removeAll();var l=o.layout(e),d=new r(e,l);a.each(u,d.add,d),s.add(d.getGroup()),e.get(c+".show")&&this["_"+c](e,l.labelInterval),h.superCall(this,"render",e,t,n,i)},_splitLine:function(e,t){var n=e.axis;if(!n.scale.isBlank()){var r=e.getModel("splitLine"),a=r.getModel("lineStyle"),o=a.get("width"),u=a.get("color"),c=s(r,t);u=u instanceof Array?u:[u];for(var h=e.coordinateSystem.getRect(),d=n.isHorizontal(),p=[],f=0,g=n.getTicksCoords(),m=[],v=[],y=0;y=0&&s<0)&&(o=f,s=p,a=u,i.length=0),x(c,function(e){i.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:i,snapToValue:a}}function o(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function s(e,t,n,r){var a=n.payloadBatch,i=t.axis,o=i.model,s=t.axisPointerModel;if(t.triggerTooltip&&a.length){var l=t.coordSys.model,u=v.makeKey(l),c=e.map[u];c||(c=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:i.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:r,valueLabelOpt:{precision:s.get("label.precision"),formatter:s.get("label.formatter")},seriesDataIndices:a.slice()})}}function l(e,t,n){e.push.apply(e,n)}function u(e,t){x(t,function(t,n){var r=t.axisPointerModel.option,a=e[n];a?(!t.useHandle&&(r.status="show"),r.value=a.value,r.seriesDataIndices=(a.payloadBatch||[]).slice()):!t.useHandle&&(r.status="hide")})}function c(e,t,n,r){if(f(t)||!e.list.length)return void r({type:"hideTip"});var a=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:e.list})}function h(e,t,n,r){var a=n.getZr();r="lastHighlights"+(r||"");var i=b(a)[r]||{},o=b(a)[r]={};g.each(e,function(e){var t=e.seriesIndex+" | "+e.dataIndex;o[t]=e});var s=[],l=[];g.each(i,function(e,t){!o[t]&&l.push(e)}),g.each(o,function(e,t){!i[t]&&s.push(e)}),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:s})}function d(e,t){var n=1;return x(e,function(e,t){n&=!/^.+(AxisId|AxisName|AxisIndex)$/.test(t)}),!n&&x([["AxisId","id"],["AxisIndex","componentIndex"],["AxisName","name"]],function(r){var a=m.normalizeToArray(e[t.dim+r[0]]);n|=g.indexOf(a,t.model[r[1]])>=0}),!n}function p(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function f(e){return null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}var g=n(239),m=n(240),v=n(372),y=n(534),x=g.each,_=g.curry,b=m.makeGetter();e.exports=r},function(e,t,n){var r=n(239),a=n(240);e.exports=function(e,t){var n,i=[],o=e.seriesIndex;if(null==o||!(n=t.getSeriesByIndex(o)))return{point:[]};var s=n.getData(),l=a.queryDataIndex(s,e);if(null==l||r.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)i=c.dataToPoint(s.getValues(r.map(c.dimensions,function(e){return n.coordDimToDataDim(e)[0]}),l,!0))||[];else if(u){var h=u.getBoundingRect().clone();h.applyTransform(u.transform),i=[h.x+h.width/2,h.y+h.height/2]}return{point:i,el:u}}},function(e,t,n){var r=n(236),a=r.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,textStyle:{color:"#fff"},padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},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:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});e.exports=a},function(e,t,n){var r=n(537),a=n(236).extendComponentView({type:"axisPointer",render:function(e,t,n){var a=t.getComponent("tooltip"),i=e.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";r.register("axisPointer",n,function(e,t,n){"none"!==i&&("leave"===e||i.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})})},remove:function(e,t){r.disopse(t.getZr(),"axisPointer"),a.superApply(this._model,"remove",arguments)},dispose:function(e,t){r.unregister("axisPointer",t),a.superApply(this._model,"dispose",arguments)}})},function(e,t,n){function r(e,t){function n(n,r){e.on(n,function(n){var i=s(t);h(c(e).records,function(e){e&&r(e,n,i.dispatchAction)}),a(i.pendings,t)})}c(e).initialized||(c(e).initialized=!0,n("click",u.curry(o,"click")),n("mousemove",u.curry(o,"mousemove")),n("globalout",i))}function a(e,t){var n,r=e.showTip.length,a=e.hideTip.length;r?n=e.showTip[r-1]:a&&(n=e.hideTip[a-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}function i(e,t,n){e.handler("leave",null,n)}function o(e,t,n,r){t.handler(e,n,r)}function s(e){var t={showTip:[],hideTip:[]},n=function(r){var a=t[r.type];a?a.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}var l=n(237),u=n(239),c=n(240).makeGetter(),h=u.each,d={};d.register=function(e,t,n){if(!l.node){var a=t.getZr();c(a).records||(c(a).records={}),r(a,t);var i=c(a).records[e]||(c(a).records[e]={});i.handler=n}},d.unregister=function(e,t){if(!l.node){var n=t.getZr(),r=(c(n).records||{})[e];r&&(c(n).records[e]=null)}},e.exports=d},function(e,t,n){"use strict";function r(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}function a(e){return"x"===e.dim?0:1}var i=n(279),o=n(539),s=n(540),l=n(373),u=n(371),c=o.extend({makeElOption:function(e,t,n,a,i){var o=n.axis,u=o.grid,c=a.get("type"),d=r(u,o).getOtherAxis(o).getGlobalExtent(),p=o.toGlobalCoord(o.dataToCoord(t,!0));if(c&&"none"!==c){var f=s.buildElStyle(a),g=h[c](o,p,d,f);g.style=f,e.graphicKey=g.type,e.pointer=g}var m=l.layout(u.model,n);s.buildCartesianSingleLabelElOption(t,e,m,n,a,i)},getHandleTransform:function(e,t,n){var r=l.layout(t.axis.grid.model,t,{labelInside:!1});return r.labelMargin=n.get("handle.margin"),{position:s.getTransformedPosition(t.axis,e,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,a){var i=n.axis,o=i.grid,s=i.getGlobalExtent(!0),l=r(o,i).getOtherAxis(i).getGlobalExtent(),u="x"===i.dim?0:1,c=e.position;c[u]+=t[u],c[u]=Math.min(s[1],c[u]),c[u]=Math.max(s[0],c[u]);var h=(l[1]+l[0])/2,d=[h,h];d[u]=c[u];var p=[{verticalAlign:"middle"},{align:"center"}];return{position:c,rotation:e.rotation,cursorPoint:d,tooltipOption:p[u]}}}),h={line:function(e,t,n,r){var o=s.makeLineShape([t,n[0]],[t,n[1]],a(e));return i.subPixelOptimizeLine({shape:o,style:r}),{type:"Line",shape:o}},shadow:function(e,t,n,r){var i=e.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:s.makeRectShape([t-i/2,n[0]],[i,o],a(e))}}};u.registerAxisPointerClass("CartesianAxisPointer",c),e.exports=c},function(e,t,n){"use strict";function r(){}function a(e,t,n,r){i(p(n).lastProp,r)||(p(n).lastProp=r,t?d.updateProps(n,r,e):(n.stopAnimation(),n.attr(r)))}function i(e,t){if(c.isObject(e)&&c.isObject(t)){var n=!0;return c.each(t,function(t,r){n&=i(e[r],t)}),!!n}return e===t}function o(e,t){e[t.get("label.show")?"show":"hide"]()}function s(e){return{position:e.position.slice(),rotation:e.rotation||0}}function l(e,t){var n=e.get("icon"),r={x:-1,y:-1,width:2,height:2},a=c.extend({style:{strokeNoScale:!0},rectHover:!0,cursor:"move",draggable:!0},t);return 0===n.indexOf("image://")?(r.image=n.slice(8),a.style=r,new d.Image(a)):d.makePath(n.replace("path://",""),a,r,"center")}function u(e,t,n){var r=t.get("z"),a=t.get("zlevel");e&&e.traverse(function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=a&&(e.zlevel=a),e.silent=n)})}var c=n(239),h=n(248),d=n(279),p=n(240).makeGetter(),f=n(372),g=n(323),m=n(316),v=c.clone,y=c.bind;r.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,n,r){var i=t.get("value"),o=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,r||this._lastValue!==i||this._lastStatus!==o){this._lastValue=i,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||"hide"===o)return s&&s.hide(),void(l&&l.hide());s&&s.show(),l&&l.show();var h={};this.makeElOption(h,i,e,t,n);var p=h.graphicKey;p!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=p;var f=this._moveAnimation=this.determineAnimation(e,t);if(s){var g=c.curry(a,t,f);this.updatePointerEl(s,h,g,t),this.updateLabelEl(s,h,g,t)}else s=this._group=new d.Group,this.createPointerEl(s,h,e,t),this.createLabelEl(s,h,e,t),n.getZr().add(s);u(s,t,!0),this._renderHandle(i)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var n=t.get("animation"),r=e.axis,a="category"===r.type,i=t.get("snap");if(!i&&!a)return!1;if("auto"===n||null==n){var o=this.animationThreshold;if(a&&r.getBandWidth()>o)return!0;if(i){var s=f.getAxisInfo(e).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1}return n===!0},makeElOption:function(e,t,n,r,a){},createPointerEl:function(e,t,n,r){var a=t.pointer;if(a){var i=p(e).pointerEl=new d[a.type](v(t.pointer));e.add(i)}},createLabelEl:function(e,t,n,r){if(t.label){var a=p(e).labelEl=new d.Rect(v(t.label));e.add(a),o(a,r)}},updatePointerEl:function(e,t,n){var r=p(e).pointerEl;r&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,n,r){var a=p(e).labelEl;a&&(a.setStyle(t.label.style),n(a,{shape:t.label.shape,position:t.label.position}),o(a,r))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t=this._axisPointerModel,n=this._api.getZr(),r=this._handle,a=t.getModel("handle"),i=t.get("status");if(!a.get("show")||!i||"hide"===i)return r&&n.remove(r),void(this._handle=null);var o;this._handle||(o=!0,r=this._handle=l(a,{onmousemove:function(e){g.stop(e.event)},onmousedown:y(this._onHandleDragMove,this,0,0),drift:y(this._onHandleDragMove,this),ondragend:y(this._onHandleDragEnd,this)}),n.add(r)),u(r,t,!1);var s=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];r.setStyle(a.getItemStyle(null,s));var h=a.get("size");c.isArray(h)||(h=[h,h]),r.attr("scale",[h[0]/2,h[1]/2]),m.createOrUpdate(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,o)}},_moveHandleToValue:function(e,t){a(this._axisPointerModel,!t&&this._moveAnimation,this._handle,s(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(s(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(s(r)),p(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var e=this._handle;if(e){var t=this._payloadInfo,n={type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,highDownKey:"axisPointerHandle"},r=this._axisModel.axis;n[r.dim+"AxisId"]=this._axisModel.id,this._api.dispatchAction(n)}},_onHandleDragEnd:function(e){this._dragging=!1;var t=this._handle;if(t){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}},r.prototype.constructor=r,h.enableClassExtend(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){var a=r.getWidth(),i=r.getHeight();e[0]=Math.min(e[0]+t,a)-t,e[1]=Math.min(e[1]+n,i)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}var a=n(239),i=n(279),o=n(243),s=n(241),l=n(246),u=n(340),c=n(370),h={};h.buildElStyle=function(e){var t,n=e.get("type"),r=e.getModel(n+"Style");return"line"===n?(t=r.getLineStyle(),t.fill=null):"shadow"===n&&(t=r.getAreaStyle(),t.stroke=null),t},h.buildLabelElOption=function(e,t,n,a,i){var l=n.get("value"),u=h.getValueLabel(l,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),c=n.getModel("label"),d=c.getModel("textStyle"),p=s.normalizeCssArray(c.get("padding")||0),f=d.getFont(),g=o.getBoundingRect(u,f,i.textAlign,i.textBaseline),m=i.position,v=g.width+p[1]+p[3],y=g.height+p[0]+p[2],x=i.align;"right"===x&&(m[0]-=v),"center"===x&&(m[0]-=v/2);var _=i.verticalAlign;"bottom"===_&&(m[1]-=y),"middle"===_&&(m[1]-=y/2),r(m,v,y,a);var b=c.get("backgroundColor");b&&"auto"!==b||(b=t.get("axisLine.lineStyle.color")),e.label={shape:{x:0,y:0,width:v,height:y,r:c.get("borderRadius")},position:m.slice(), -style:{text:u,textFont:f,textFill:d.getTextColor(),textPosition:"inside",fill:b,stroke:c.get("borderColor")||"transparent",lineWidth:c.get("borderWidth")||0,shadowBlur:c.get("shadowBlur"),shadowColor:c.get("shadowColor"),shadowOffsetX:c.get("shadowOffsetX"),shadowOffsetY:c.get("shadowOffsetY")},z2:10}},h.getValueLabel=function(e,t,n,r,i){var o=t.scale.getLabel(e,{precision:i.precision}),s=i.formatter;if(s){var l={value:u.getAxisRawValue(t,e),seriesData:[]};a.each(r,function(e){var t=n.getSeriesByIndex(e.seriesIndex),r=e.dataIndexInside,a=t&&t.getDataParams(r);a&&l.seriesData.push(a)}),a.isString(s)?o=s.replace("{value}",o):a.isFunction(s)&&(o=s(l))}return o},h.getTransformedPosition=function(e,t,n){var r=l.create();return l.rotate(r,r,n.rotation),l.translate(r,r,n.position),i.applyTransform([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)},h.buildCartesianSingleLabelElOption=function(e,t,n,r,a,i){var o=c.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get("label.margin"),h.buildLabelElOption(t,r,a,i,{position:h.getTransformedPosition(r.axis,e,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})},h.makeLineShape=function(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}},h.makeRectShape=function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}},h.makeSectorShape=function(e,t,n,r,a,i){return{cx:e,cy:t,r0:n,r:r,startAngle:a,endAngle:i,clockwise:!0}},e.exports=h},function(e,t,n){"use strict";function r(e){return e.isHorizontal()?0:1}function a(e,t){var n=e.getRect();return[n[c[t]],n[c[t]]+n[h[t]]]}var i=n(279),o=n(539),s=n(540),l=n(530),u=n(371),c=["x","y"],h=["width","height"],d=o.extend({makeElOption:function(e,t,n,i,o){var u=n.axis,c=u.coordinateSystem,h=a(c,1-r(u)),d=c.dataToPoint(t)[0],f=i.get("type");if(f&&"none"!==f){var g=s.buildElStyle(i),m=p[f](u,d,h,g);m.style=g,e.graphicKey=m.type,e.pointer=m}var v=l.layout(n);s.buildCartesianSingleLabelElOption(t,e,v,n,i,o)},getHandleTransform:function(e,t,n){var r=l.layout(t,{labelInside:!1});return r.labelMargin=n.get("handle.margin"),{position:s.getTransformedPosition(t.axis,e,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,i){var o=n.axis,s=o.coordinateSystem,l=r(o),u=a(s,l),c=e.position;c[l]+=t[l],c[l]=Math.min(u[1],c[l]),c[l]=Math.max(u[0],c[l]);var h=a(s,1-l),d=(h[1]+h[0])/2,p=[d,d];return p[l]=c[l],{position:c,rotation:e.rotation,cursorPoint:p,tooltipOption:{verticalAlign:"middle"}}}}),p={line:function(e,t,n,a){var o=s.makeLineShape([t,n[0]],[t,n[1]],r(e));return i.subPixelOptimizeLine({shape:o,style:a}),{type:"Line",shape:o}},shadow:function(e,t,n,a){var i=e.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:s.makeRectShape([t-i/2,n[0]],[i,o],r(e))}}};u.registerAxisPointerClass("SingleAxisPointer",d),e.exports=d},function(e,t,n){"use strict";var r=n(338),a=n(263),i=n(333),o=n(239),s=n(241),l=s.encodeHTML,u=n(489),c=2,h=a.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){h.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(e){for(var t=e.length,n=u().key(function(e){return e[2]}).entries(e),r=o.map(n,function(e){return{name:e.key,dataList:e.values}}),a=r.length,i=-1,s=-1,l=0;li&&(i=c,s=l)}for(var h=0;ho&&(o=t),a.push(t)}for(var c=0;co&&(o=d)}return s.y0=i,s.max=o,s}var i=n(239),o=n(242);e.exports=function(e,t){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),n=e.coordinateSystem,a={},i=n.getRect();a.rect=i;var s=e.get("boundaryGap"),l=n.getAxis();if(a.boundaryGap=s,"horizontal"===l.orient){s[0]=o.parsePercent(s[0],i.height),s[1]=o.parsePercent(s[1],i.height);var u=i.height-s[0]-s[1];r(t,e,u)}else{s[0]=o.parsePercent(s[0],i.width),s[1]=o.parsePercent(s[1],i.width);var c=i.width-s[0]-s[1];r(t,e,c)}t.setLayout("layoutInfo",a)})}},function(e,t){e.exports=function(e){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),n=e.getRawData(),r=e.get("color");t.each(function(a){var i=t.getName(a),o=r[(e.nameMap[i]-1)%r.length];n.setItemVisual(a,"color",o)})})}},function(e,t,n){function r(e,t,n,r){var a=n.type;__DEV__&&h.assert(a,"graphic type MUST be set");var i=p[a.charAt(0).toUpperCase()+a.slice(1)];__DEV__&&h.assert(i,"graphic type can not be found");var o=new i(n);t.add(o),r[e]=o,o.__ecGraphicId=e}function a(e,t){var n=e&&e.parent;n&&("group"===e.type&&e.traverse(function(e){a(e,t)}),delete t[e.__ecGraphicId],n.remove(e))}function i(e){return e=h.extend({},e),h.each(["id","parentId","$action","hv","bounding"].concat(f.LOCATION_PARAMS),function(t){delete e[t]}),e}function o(e,t){var n;return h.each(t,function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)}),n}function s(e,t){var n=e.exist;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function l(e,t,n){var r=h.extend({},n),a=e[t],i=n.$action||"merge";if("merge"===i)if(a){if(__DEV__){var o=n.type;h.assert(!o||a.type===o,'Please set $action: "replace" to change `type`')}h.merge(a,r,!0),f.mergeLayoutParam(a,r,{ignoreSize:!0}),f.copyLayoutParams(n,a)}else e[t]=r;else"replace"===i?e[t]=r:"remove"===i&&a&&(e[t]=null)}function u(e,t){e&&(e.hv=t.hv=[o(t,["left","right"]),o(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0)))}var c=n(236),h=n(239),d=n(240),p=n(279),f=n(256);c.registerPreprocessor(function(e){var t=e.graphic;h.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])});var g=c.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,g.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var n=this.option,r=(t?n:e).elements,a=n.elements=t?[]:n.elements,i=[];this._flatten(r,i);var o=d.mappingToExists(a,i);d.makeIdAndName(o);var c=this._elOptionsToUpdate=[];h.each(o,function(e,t){var n=e.option;__DEV__&&h.assert(h.isObject(n)||e.exist,"Empty graphic option definition"),n&&(c.push(n),s(e,n),l(a,t,n),u(a[t],n))},this);for(var p=a.length-1;p>=0;p--)null==a[p]?a.splice(p,1):delete a[p].$action},_flatten:function(e,t,n){h.each(e,function(e){if(e){n&&(e.parentOption=n),t.push(e);var r=e.children;"group"===e.type&&r&&this._flatten(r,t,e),delete e.children}},this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});c.extendComponentView({type:"graphic",init:function(e,t){this._elMap={},this._lastGraphicModel},render:function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e,n),this._relocate(e,n)},_updateElements:function(e,t){var n=e.useElOptionsToUpdate();if(n){var o=this._elMap,s=this.group;h.each(n,function(e){var t=e.$action,n=e.id,l=o[n],u=e.parentId,c=null!=u?o[u]:s;e.hv&&e.hv[1]&&"text"===e.type&&(e.style=h.defaults({textBaseline:"middle"},e.style),e.style.textVerticalAlign=null);var d=i(e);__DEV__&&l&&h.assert(c===l.parent,"Changing parent is not supported."),t&&"merge"!==t?"replace"===t?(a(l,o),r(n,c,d,o)):"remove"===t&&a(l,o):l?l.attr(d):r(n,c,d,o),o[n]&&(o[n].__ecGraphicWidth=e.width,o[n].__ecGraphicHeight=e.height)})}},_relocate:function(e,t){for(var n=e.option.elements,r=this.group,a=this._elMap,i=n.length-1;i>=0;i--){var o=n[i],s=a[o.id];if(s){var l=s.parent,u=l===r?{width:t.getWidth(),height:t.getHeight()}:{width:l.__ecGraphicWidth||0,height:l.__ecGraphicHeight||0};f.positionElement(s,o,u,null,{hv:o.hv,boundingMode:o.bounding})}}},_clear:function(){var e=this._elMap;h.each(e,function(t){a(t,e)}),this._elMap={}},dispose:function(){this._clear()}})},function(e,t,n){n(358),n(538),n(532)},function(e,t,n){n(549),n(550),n(551);var r=n(236);r.registerProcessor(n(553))},function(e,t,n){"use strict";var r=n(239),a=n(247),i=n(236).extendComponentModel({type:"legend",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{}},mergeOption:function(e){i.superCall(this,"mergeOption",e)},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n=0},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:"top",align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}});e.exports=i},function(e,t,n){function r(e,t,n){var r,a={},o="toggleSelected"===e;return n.eachComponent("legend",function(n){o&&null!=r?n[r?"select":"unSelect"](t.name):(n[e](t.name),r=n.isSelected(t.name));var s=n.getData();i.each(s,function(e){var t=e.get("name");if("\n"!==t&&""!==t){var r=n.isSelected(t);t in a?a[t]=a[t]&&r:a[t]=r}})}),{name:t.name,selected:a}}var a=n(236),i=n(239);a.registerAction("legendToggleSelect","legendselectchanged",i.curry(r,"toggleSelected")),a.registerAction("legendSelect","legendselected",i.curry(r,"select")),a.registerAction("legendUnSelect","legendunselected",i.curry(r,"unSelect"))},function(e,t,n){function r(e,t){t.dispatchAction({type:"legendToggleSelect",name:e})}function a(e,t,n){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||e.get("legendHoverLink")&&n.dispatchAction({type:"highlight",seriesName:e.name,name:t})}function i(e,t,n){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||e.get("legendHoverLink")&&n.dispatchAction({type:"downplay",seriesName:e.name,name:t})}var o=n(239),s=n(339),l=n(279),u=n(552),c=o.curry;e.exports=n(236).extendComponentView({type:"legend",init:function(){this._symbolTypeStore={}},render:function(e,t,n){var s=this.group;if(s.removeAll(),e.get("show")){var h=e.get("selectedMode"),d=e.get("align");"auto"===d&&(d="right"===e.get("left")&&"vertical"===e.get("orient")?"right":"left");var p={};o.each(e.getData(),function(o){var u=o.get("name");if(""===u||"\n"===u)return void s.add(new l.Group({newline:!0}));var f=t.getSeriesByName(u)[0];if(!p[u]){if(f){var g=f.getData(),m=g.getVisual("color");"function"==typeof m&&(m=m(f.getDataParams(0)));var v=g.getVisual("legendSymbol")||"roundRect",y=g.getVisual("symbol"),x=this._createItem(u,o,e,v,y,d,m,h);x.on("click",c(r,u,n)).on("mouseover",c(a,f,null,n)).on("mouseout",c(i,f,null,n)),p[u]=!0}else t.eachRawSeries(function(t){if(!p[u]&&t.legendDataProvider){var s=t.legendDataProvider(),l=s.indexOfName(u);if(l<0)return;var f=s.getItemVisual(l,"color"),g="roundRect",m=this._createItem(u,o,e,g,null,d,f,h);m.on("click",c(r,u,n)).on("mouseover",c(a,t,u,n)).on("mouseout",c(i,t,u,n)),p[u]=!0}},this);__DEV__&&(p[u]||console.warn(u+" series not exists. Legend data should be same with series name or data name."))}},this),u.layout(s,e,n),u.addBackground(s,e)}},_createItem:function(e,t,n,r,a,i,u,c){var h=n.get("itemWidth"),d=n.get("itemHeight"),p=n.get("inactiveColor"),f=n.isSelected(e),g=new l.Group,m=t.getModel("textStyle"),v=t.get("icon"),y=t.getModel("tooltip"),x=y.parentModel;if(r=v||r,g.add(s.createSymbol(r,0,0,h,d,f?u:p)),!v&&a&&(a!==r||"none"==a)){var _=.8*d;"none"===a&&(a="circle"),g.add(s.createSymbol(a,(h-_)/2,(d-_)/2,_,_,f?u:p))}var b="left"===i?h+5:-5,w=i,S=n.get("formatter"),M=e;"string"==typeof S&&S?M=S.replace("{name}",null!=e?e:""):"function"==typeof S&&(M=S(e));var C=new l.Text({style:{text:M,x:b,y:d/2,fill:f?m.getTextColor():p,textFont:m.getFont(),textAlign:w,textVerticalAlign:"middle"}});g.add(C);var T=new l.Rect({shape:g.getBoundingRect(),invisible:!0,tooltip:y.get("show")?o.extend({content:e,formatter:x.get("formatter",!0)||function(){return e},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:e,$vars:["name"]}},y.option):null});return g.add(T),g.eachChild(function(e){e.silent=!0}),T.silent=!c,this.group.add(g),l.setHoverStyle(g),g}})},function(e,t,n){function r(e,t,n){a.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()},t.get("padding"))}var a=n(256),i=n(241),o=n(279);e.exports={layout:function(e,t,n){var i=a.getLayoutRect(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a.box(t.get("orient"),e,t.get("itemGap"),i.width,i.height),r(e,t,n)},addBackground:function(e,t){var n=i.normalizeCssArray(t.get("padding")),r=e.getBoundingRect(),a=t.getItemStyle(["color","opacity"]);a.fill=t.get("backgroundColor");var s=new o.Rect({shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[1]+n[3],height:r.height+n[0]+n[2]},style:a,silent:!0,z2:-1});o.subPixelOptimizeRect(s),e.add(s)}}},function(e,t){e.exports=function(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(e){for(var n=0;nr?e-=s+i:e+=i),null!=o&&(t+l+o>a?t-=l+o:t+=o),[e,t]}function o(e,t,n,r,a){var i=n.clientWidth,o=n.clientHeight;return e=Math.min(e+i,r)-i,t=Math.min(t+o,a)-o,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function s(e,t,n){var r=n[0],a=n[1],i=5,o=0,s=0,l=t.width,u=t.height;switch(e){case"inside":o=t.x+l/2-r/2,s=t.y+u/2-a/2;break;case"top":o=t.x+l/2-r/2,s=t.y-a-i;break;case"bottom":o=t.x+l/2-r/2,s=t.y+u+i;break;case"left":o=t.x-r-i,s=t.y+u/2-a/2;break;case"right":o=t.x+l+i,s=t.y+u/2-a/2}return[o,s]}function l(e){return"center"===e||"middle"===e}var u=n(557),c=n(239),h=n(241),d=n(242),p=n(279),f=n(534),g=n(256),m=n(237),v=n(247),y=n(537),x=n(340),_=n(540),b=c.bind,w=c.each,S=d.parsePercent,M=new p.Rect({shape:{x:-1,y:-1,width:2,height:2}});n(236).extendComponentView({type:"tooltip",init:function(e,t){if(!m.node){var n=new u(t.getDom(),t);this._tooltipContent=n}},render:function(e,t,n){if(!m.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=e.get("alwaysShowContent");var r=this._tooltipContent;r.update(),r.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel,t=e.get("triggerOn");y.register("itemTooltip",this._api,b(function(e,n,r){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,r):"leave"===e&&this._hide(r))},this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){r.manuallyShowTip(e,t,n,{x:r._lastX,y:r._lastY})})}},manuallyShowTip:function(e,t,n,r){if(r.from!==this.uid&&!m.node){var i=a(r,n);this._ticket="";var o=r.dataByCoordSys;if(r.tooltip&&null!=r.x&&null!=r.y){var s=M;s.position=[r.x,r.y],s.update(),s.tooltip=r.tooltip,this._tryShow({offsetX:r.x,offsetY:r.y,target:s},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,event:{},dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return;var l=f(r,t),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:r.position,target:l.el,event:{}},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target,event:{}},i))}},manuallyHideTip:function(e,t,n,r){var i=this._tooltipContent;this._alwaysShowContent||i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,r.from!==this.uid&&this._hide(a(r,n))},_manuallyAxisShowTip:function(e,t,n,a){var i=a.seriesIndex,o=a.dataIndex,s=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=s){var l=t.getSeriesByIndex(i);if(l){var u=l.getData(),e=r([u.getItemModel(o),l,(l.coordinateSystem||{}).model,e]);if("axis"===e.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o}),!0}}},_tryShow:function(e,t){var n=e.target,r=this._tooltipModel;if(r){this._lastX=e.offsetX,this._lastY=e.offsetY;var a=e.dataByCoordSys;a&&a.length?this._showAxisTooltip(a,e):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,n,t)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,n,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var n=e.get("showDelay");t=c.bind(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},_showAxisTooltip:function(e,t){var n=this._ecModel,a=this._tooltipModel,i=[t.offsetX,t.offsetY],o=[],s=[],l=r([t.tooltipOption,a]);w(e,function(e){w(e.dataByAxis,function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),r=e.value,a=[];if(t&&null!=r){var i=_.getValueLabel(r,t.axis,n,e.seriesDataIndices,e.valueLabelOpt);c.each(e.seriesDataIndices,function(o){var l=n.getSeriesByIndex(o.seriesIndex),u=o.dataIndexInside,c=l&&l.getDataParams(u);c.axisDim=e.axisDim,c.axisIndex=e.axisIndex,c.axisType=e.axisType,c.axisId=e.axisId,c.axisValue=x.getAxisRawValue(t.axis,r),c.axisValueLabel=i,c&&(s.push(c),a.push(l.formatTooltip(u,!0)))});var l=i;o.push((l?h.encodeHTML(l)+"
":"")+a.join("
"))}})},this),o.reverse(),o=o.join("

");var u=t.position;this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(l,u,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(l,o,s,Math.random(),i[0],i[1],u)})},_showSeriesItemTooltip:function(e,t,n){var a=this._ecModel,i=t.seriesIndex,o=a.getSeriesByIndex(i),s=t.dataModel||o,l=t.dataIndex,u=t.dataType,c=s.getData(),h=r([c.getItemModel(l),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),d=h.get("trigger");if(null==d||"item"===d){var p=s.getDataParams(l,u),f=s.formatTooltip(l,!1,u),g="item_"+s.name+"_"+l;this._showOrMove(h,function(){this._showTooltipContent(h,f,p,g,e.offsetX,e.offsetY,e.position,e.target)}),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:i,from:this.uid})}},_showComponentItemTooltip:function(e,t,n){var r=t.tooltip;if("string"==typeof r){var a=r;r={content:a,formatter:a}}var i=new v(r,this._tooltipModel,this._ecModel),o=i.get("content"),s=Math.random();this._showOrMove(i,function(){this._showTooltipContent(i,o,i.get("formatterParams")||{},s,e.offsetX,e.offsetY,e.position,t)}),n({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,n,r,a,i,o,s){if(this._ticket="",e.get("showContent")&&e.get("show")){var l=this._tooltipContent,u=e.get("formatter");o=o||e.get("position");var c=t;if(u&&"string"==typeof u)c=h.formatTpl(u,n,!0);else if("function"==typeof u){var d=b(function(t,r){t===this._ticket&&(l.setContent(r),this._updatePosition(e,o,a,i,l,n,s))},this);this._ticket=r,c=u(n,r,d)}l.setContent(c),l.show(e),this._updatePosition(e,o,a,i,l,n,s)}},_updatePosition:function(e,t,n,r,a,u,h){var d=this._api.getWidth(),p=this._api.getHeight();t=t||e.get("position");var f=a.getSize(),m=e.get("align"),v=e.get("verticalAlign"),y=h&&h.getBoundingRect().clone();if(h&&y.applyTransform(h.transform),"function"==typeof t&&(t=t([n,r],u,a.el,y,{viewSize:[d,p],contentSize:f.slice()})),c.isArray(t))n=S(t[0],d),r=S(t[1],p);else if(c.isObject(t)){t.width=f[0],t.height=f[1];var x=g.getLayoutRect(t,{width:d,height:p});n=x.x,r=x.y,m=null,v=null}else if("string"==typeof t&&h){var _=s(t,y,f);n=_[0],r=_[1]}else{var _=i(n,r,a.el,d,p,m?null:20,v?null:20);n=_[0],r=_[1]}if(m&&(n-=l(m)?f[0]/2:"right"===m?f[0]:0),v&&(r-=l(v)?f[1]/2:"bottom"===v?f[1]:0),e.get("confine")){var _=o(n,r,a.el,d,p);n=_[0],r=_[1]}a.moveTo(n,r)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,n=!!t&&t.length===e.length;return w(t,function(t,r){var a=t.dataByAxis||{},i=e[r]||{},o=i.dataByAxis||[];n&=a.length===o.length,w(a,function(e,t){var r=o[t]||{},a=e.seriesDataIndices||[],i=r.seriesDataIndices||[];n&=e.value===r.value&&e.axisType===r.axisType&&e.axisId===r.axisId&&a.length===i.length,w(a,function(e,t){var r=i[t];n&=e.seriesIndex===r.seriesIndex&&e.dataIndex===r.dataIndex})})}),this._lastDataByCoordSys=e,!!n},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){m.node||(this._tooltipContent.hide(),y.unregister("itemTooltip",t))}})},function(e,t,n){function r(e){var t="cubic-bezier(0.23, 1, 0.32, 1)",n="left "+e+"s "+t+",top "+e+"s "+t;return s.map(f,function(e){return e+"transition:"+n}).join(";")}function a(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();return r&&t.push("color:"+r),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px"),h(["decoration","align"],function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)}),t.join(";")}function i(e){var t=[],n=e.get("transitionDuration"),i=e.get("backgroundColor"),o=e.getModel("textStyle"),s=e.get("padding");return n&&t.push(r(n)),i&&(p.canvasSupported?t.push("background-Color:"+i):(t.push("background-Color:#"+l.toHex(i)),t.push("filter:alpha(opacity=70)"))),h(["width","color","radius"],function(n){var r="border-"+n,a=d(r),i=e.get(a);null!=i&&t.push(r+":"+i+("color"===n?"":"px"))}),t.push(a(o)),null!=s&&t.push("padding:"+c.normalizeCssArray(s).join("px ")+"px"),t.join(";")+";"}function o(e,t){var n=document.createElement("div"),r=this._zr=t.getZr();this.el=n,this._x=t.getWidth()/2,this._y=t.getHeight()/2,e.appendChild(n),this._container=e,this._show=!1,this._hideTimeout;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 n=r.handler;u.normalizeEvent(e,t,!0),n.dispatch("mousemove",t)}},n.onmouseleave=function(){a._enterable&&a._show&&a.hideLater(a._hideDelay),a._inContent=!1}}var s=n(239),l=n(274),u=n(323),c=n(241),h=s.each,d=c.toCamelCase,p=n(237),f=["","-webkit-","-moz-","-o-"],g="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";o.prototype={constructor:o,_enterable:!0,update:function(){var e=this._container,t=e.currentStyle||document.defaultView.getComputedStyle(e),n=e.style;"absolute"!==n.position&&"absolute"!==t.position&&(n.position="relative")},show:function(e){clearTimeout(this._hideTimeout);var t=this.el;t.style.cssText=g+i(e)+";left:"+this._x+"px;top:"+this._y+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",this._show=!0},setContent:function(e){this.el.innerHTML=null==e?"":e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var n,r=this._zr;r&&r.painter&&(n=r.painter.getViewportRoot())&&(e+=n.offsetLeft||0,t+=n.offsetTop||0);var a=this.el.style;a.left=e+"px",a.top=t+"px",this._x=e,this._y=t},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(s.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show}},e.exports=o},function(e,t,n){"use strict";n(559),n(565),n(567),n(532),n(569),n(236).extendComponentView({type:"polar"})},function(e,t,n){function r(e,t){var n=e.get("center"),r=e.get("radius"),a=t.getWidth(),i=t.getHeight(),o=s.parsePercent;this.cx=o(n[0],a),this.cy=o(n[1],i);var l=this.getRadiusAxis(),u=Math.min(a,i)/2;l.setExtent(0,o(r,u))}function a(e,t){var n=this,r=n.getAngleAxis(),a=n.getRadiusAxis();if(r.scale.setExtent(1/0,-(1/0)),a.scale.setExtent(1/0,-(1/0)),e.eachSeries(function(e){if(e.coordinateSystem===n){var t=e.getData();a.scale.unionExtentFromData(t,"radius"),r.scale.unionExtentFromData(t,"angle")}}),c(r.scale,r.model),c(a.scale,a.model),"category"===r.type&&!r.onBand){var i=r.getExtent(),o=360/r.scale.count();r.inverse?i[1]+=o:i[1]-=o,r.setExtent(i[0],i[1])}}function i(e,t){if(e.type=t.get("type"),e.scale=u.createScaleByModel(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,"angleAxis"===t.mainType){var n=t.get("startAngle");e.inverse=t.get("inverse")^t.get("clockwise"),e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}var o=n(560),s=n(242),l=n(239),u=n(340),c=u.niceScaleExtent;n(563);var h={dimensions:o.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("polar",function(e,s){var l=new o(s);l.resize=r,l.update=a;var u=l.getRadiusAxis(),c=l.getAngleAxis(),h=e.findAxisModel("radiusAxis"),d=e.findAxisModel("angleAxis");i(u,h),i(c,d),l.resize(e,t),n.push(l),e.coordinateSystem=l,l.model=e}),e.eachSeries(function(t){if("polar"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];if(__DEV__&&!n)throw new Error('Polar "'+l.retrieve(t.get("polarIndex"),t.get("polarId"),0)+'" not found');t.coordinateSystem=n.coordinateSystem}}),n}};n(261).register("polar",h)},function(e,t,n){"use strict";var r=n(561),a=n(562),i=function(e){this.name=e||"",this.cx=0,this.cy=0,this._radiusAxis=new r,this._angleAxis=new a,this._radiusAxis.polar=this._angleAxis.polar=this};i.prototype={type:"polar",axisPointerEnabled:!0,constructor:i,dimensions:["radius","angle"],model:null,containPoint:function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1]); -},containData:function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},getAxis:function(e){return this["_"+e+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(e){var t=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===e&&t.push(n),r.scale.type===e&&t.push(r),t},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoints:function(e){return e.mapArray(this.dimensions,function(e,t){return this.dataToPoint([e,t])},this)},dataToPoint:function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},pointToData:function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},pointToCoord:function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=this.getAngleAxis(),a=r.getExtent(),i=Math.min(a[0],a[1]),o=Math.max(a[0],a[1]);r.inverse?i=o-360:o=i+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;for(var l=Math.atan2(-n,t)/Math.PI*180,u=lo;)l+=360*u;return[s,l]},coordToPoint:function(e){var t=e[0],n=e[1]/180*Math.PI,r=Math.cos(n)*t+this.cx,a=-Math.sin(n)*t+this.cy;return[r,a]}},e.exports=i},function(e,t,n){"use strict";function r(e,t){i.call(this,"radius",e,t),this.type="category"}var a=n(239),i=n(335);r.prototype={constructor:r,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:i.prototype.dataToCoord,radiusToData:i.prototype.coordToData},a.inherits(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t){t=t||[0,360],i.call(this,"angle",e,t),this.type="category"}var a=n(239),i=n(335);r.prototype={constructor:r,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToAngle:i.prototype.dataToCoord,angleToData:i.prototype.coordToData},a.inherits(r,i),e.exports=r},function(e,t,n){"use strict";n(564),n(236).extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var t,n=this.ecModel;return n.eachComponent(e,function(e){e.getCoordSysModel()===this&&(t=e)},this),t},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}})},function(e,t,n){"use strict";function r(e,t){return t.type||(t.data?"category":"value")}var a=n(239),i=n(254),o=n(366),s=i.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});a.merge(s.prototype,n(347));var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};o("angle",s,r,l.angle),o("radius",s,r,l.radius)},function(e,t,n){"use strict";n(559),n(566)},function(e,t,n){"use strict";function r(e,t,n,r){var a=e.coordToPoint([t,r]),i=e.coordToPoint([n,r]);return{x1:a[0],y1:a[1],x2:i[0],y2:i[1]}}var a=n(239),i=n(279),o=n(247),s=["axisLine","axisLabel","axisTick","splitLine","splitArea"];n(371).extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,r=n.polar,i=r.getRadiusAxis().getExtent(),o=n.getTicksCoords();"category"!==n.type&&o.pop(),a.each(s,function(t){!e.get(t+".show")||n.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,r,o,i)},this)}},_axisLine:function(e,t,n,r){var a=e.getModel("axisLine.lineStyle"),o=new i.Circle({shape:{cx:t.cx,cy:t.cy,r:r[1]},style:a.getLineStyle(),z2:1,silent:!0});o.style.fill=null,this.group.add(o)},_axisTick:function(e,t,n,o){var s=e.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),u=a.map(n,function(e){return new i.Line({shape:r(t,o[1],o[1]+l,e)})});this.group.add(i.mergePath(u,{style:a.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_axisLabel:function(e,t,n,r){for(var a=e.axis,s=e.get("data"),l=e.getModel("axisLabel"),u=l.getModel("textStyle"),c=e.getFormattedLabels(),h=l.get("margin"),d=a.getLabelsCoords(),p=0;pm?"left":"right",x=Math.abs(g[1]-v)/f<.3?"middle":g[1]>v?"top":"bottom",_=u;s&&s[p]&&s[p].textStyle&&(_=new o(s[p].textStyle,u)),this.group.add(new i.Text({style:{x:g[0],y:g[1],fill:_.getTextColor()||e.get("axisLine.lineStyle.color"),text:c[p],textAlign:y,textVerticalAlign:x,textFont:_.getFont()},silent:!0}))}},_splitLine:function(e,t,n,o){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=0;dx?"left":"right",p=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:p}}var a=n(241),i=n(539),o=n(279),s=n(540),l=n(246),u=n(370),c=n(371),h=i.extend({makeElOption:function(e,t,n,i,o){var l=n.axis;"angle"===l.dim&&(this.animationThreshold=Math.PI/18);var u,c=l.polar,h=c.getOtherAxis(l),p=h.getExtent();u=l["dataTo"+a.capitalFirst(l.dim)](t);var f=i.get("type");if(f&&"none"!==f){var g=s.buildElStyle(i),m=d[f](l,c,u,p,g);m.style=g,e.graphicKey=m.type,e.pointer=m}var v=i.get("label.margin"),y=r(t,n,i,c,v);s.buildLabelElOption(e,n,i,o,y)}}),d={line:function(e,t,n,r,a){return"angle"===e.dim?{type:"Line",shape:s.makeLineShape(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r,a){var i=e.getBandWidth(),o=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:s.makeSectorShape(t.cx,t.cy,r[0],r[1],(-n-i/2)*o,(-n+i/2)*o)}:{type:"Sector",shape:s.makeSectorShape(t.cx,t.cy,n-i/2,n+i/2,0,2*Math.PI)}}};c.registerAxisPointerClass("PolarAxisPointer",h),e.exports=h},function(e,t,n){function r(e,t){t.update="updateView",a.registerAction(t,function(t,n){var r={};return n.eachComponent({mainType:"geo",query:t},function(n){n[e](t.name);var a=n.coordinateSystem;i.each(a.regions,function(e){r[e.name]=n.isSelected(e.name)||!1})}),{selected:r,name:t.name}})}n(571),n(406),n(572),n(421);var a=n(236),i=n(239);r("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),r("select",{type:"geoSelect",event:"geoselected"}),r("unSelect",{type:"geoUnSelect",event:"geounselected"})},function(e,t,n){"use strict";var r=n(240),a=n(254),i=n(247),o=n(239),s=n(383),l=n(406),u=a.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){a.prototype.init.apply(this,arguments),r.defaultEmphasis(e.label,["position","show","textStyle","distance","formatter"])},optionUpdated:function(){var e=this.option,t=this;e.regions=l.getFilledRegions(e.regions,e.map),this._optionModelMap=o.reduce(e.regions||[],function(e,n){return n.name&&(e[n.name]=new i(n,t)),e},{}),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:.75,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,textStyle:{color:"#000"}},emphasis:{show:!0,textStyle:{color:"rgb(100,0,0)"}}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(e){return this._optionModelMap[e]||new i(null,this,this.ecModel)},getFormattedLabel:function(e,t){var n=this.getRegionModel(e),r=n.get("label."+t+".formatter"),a={name:e};if("function"==typeof r)return a.status=t,r(a);if("string"==typeof r){var i=a.seriesName;return r.replace("{a}",null!=i?i:"")}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});o.mixin(u,s),e.exports=u},function(e,t,n){"use strict";var r=n(416);e.exports=n(236).extendComponentView({type:"geo",init:function(e,t){var n=new r(t,!0);this._mapDraw=n,this.group.add(n.group)},render:function(e,t,n,r){if(!r||"geoToggleSelect"!==r.type||r.from!==this.uid){var a=this._mapDraw;e.get("show")?a.draw(e,t,n,this,r):this._mapDraw.group.removeAll(),this.group.silent=e.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}})},function(e,t,n){n(236).registerPreprocessor(n(574)),n(575),n(579),n(580),n(581),n(582)},function(e,t,n){function r(e){var t={};a.each(e,function(e){t[e]=1}),e.length=0,a.each(t,function(t,n){e.push(n)})}var a=n(239),i=["rect","polygon","keep","clear"];e.exports=function(e,t){var n=e&&e.brush;if(a.isArray(n)||(n=n?[n]:[]),n.length){var o=[];a.each(n,function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(o=o.concat(t))});var s=e&&e.toolbox;a.isArray(s)&&(s=s[0]),s||(s={feature:{}},e.toolbox=[s]);var l=s.feature||(s.feature={}),u=l.brush||(l.brush={}),c=u.type||(u.type=[]);c.push.apply(c,o),r(c),t&&!c.length&&c.push.apply(c,i)}}},function(e,t,n){function r(e,t,n,r,i){if(i){var o=e.getZr();if(!o[x]){o[y]||(o[y]=a);var s=g.createOrUpdate(o,y,n,t);s(e,r)}}}function a(e,t){if(!e.isDisposed()){var n=e.getZr();n[x]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[x]=!1}}function i(e,t,n,r){for(var a=0,i=t.length;at[0][1]&&(t[0][1]=i[0]),i[1]t[1][1]&&(t[1][1]=i[1])}return t&&u(t)}}},function(e,t,n){function r(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}var a=n(239),i=n(437),o=a.each,s={createVisualMappings:function(e,t,n){function r(){var e=function(){};e.prototype.__hidden=e.prototype;var t=new e;return t}var s={};return o(t,function(t){var l=s[t]=r();o(e[t],function(e,r){if(i.isValidType(r)){var o={type:r,visual:e};n&&n(o,t),l[r]=new i(o),"opacity"===r&&(o=a.clone(o),o.type="colorAlpha",l.__hidden.__alphaForOpacity=new i(o))}})}),s},replaceVisualOption:function(e,t,n){var i;a.each(n,function(e){t.hasOwnProperty(e)&&r(t[e])&&(i=!0)}),i&&a.each(n,function(n){t.hasOwnProperty(n)&&r(t[n])?e[n]=a.clone(t[n]):delete e[n]})},applyVisual:function(e,t,n,r,o,s){function l(e){return n.getItemVisual(d,e)}function u(e,t){n.setItemVisual(d,e,t)}function c(e,a){d=null==s?e:a;var i=n.getRawDataItem(d);if(!i||i.visualMap!==!1)for(var c=r.call(o,e),p=t[c],f=h[c],g=0,m=f.length;g1)return!1;var d=l(n-e,a-e,r-t,i-t)/c;return!(d<0||d>1)}function s(e){return e<=1e-6&&e>=-1e-6}function l(e,t,n,r){return e*r-t*n}var u=n(410).contain,c=n(244),h={lineX:r(0),lineY:r(1),rect:{point:function(e,t,n){return n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return n.boundingRect.contain(e[0],e[1])&&u(n.range,e[0],e[1])},rect:function(e,t,n){var r=n.range;if(r.length<=1)return!1;var a=e.x,o=e.y,s=e.width,l=e.height,h=r[0];return!!(u(r,a,o)||u(r,a+s,o)||u(r,a,o+l)||u(r,a+s,o+l)||c.create(e).contain(h[0],h[1])||i(a,o,a+s,o,r)||i(a,o,a,o+l,r)||i(a+s,o,a+s,o+l,r)||i(a,o+l,a+s,o+l,r))||void 0}}};e.exports=h},function(e,t,n){function r(e,t,n){var r=this._targetInfoList=[],a={},o=i(t,e);f(_,function(e,t){(!n||!n.include||g(n.include,t)>=0)&&e(o,r,a)})}function a(e){return e[0]>e[1]&&e.reverse(),e}function i(e,t){return d.parseFinder(e,t,{includeMainTypes:y})}function o(e,t,n,r){__DEV__&&c.assert("cartesian2d"===n.type,"lineX/lineY brush is available only in cartesian2d.");var i=n.getAxis(["x","y"][e]),o=a(c.map([0,1],function(e){return t?i.coordToData(i.toLocalCoord(r[e])):i.toGlobalCoord(i.dataToCoord(r[e]))})),s=[];return s[e]=o,s[1-e]=[NaN,NaN],{values:o,xyMinMax:s}}function s(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function l(e,t){var n=u(e),r=u(t),a=[n[0]/r[0],n[1]/r[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function u(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var c=n(239),h=n(279),d=n(240),p=n(480),f=c.each,g=c.indexOf,m=c.curry,v=["dataToPoint","pointToData"],y=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],x=r.prototype;x.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=S[e.brushType](0,n,t);e.__rangeOffset={offset:M[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}})},x.matchOutputRanges=function(e,t,n){f(e,function(e){var r=this.findTargetInfo(e,t);r&&r!==!0&&c.each(r.coordSyses,function(r){var a=S[e.brushType](1,r,e.range);n(e,a.values,r,t)})},this)},x.setInputRanges=function(e,t){f(e,function(e){var n=this.findTargetInfo(e,t);if(__DEV__&&(c.assert(!n||n===!0||e.coordRange,"coordRange must be specified when coord index specified."),c.assert(!n||n!==!0||e.range,"range must be specified in global brush.")),e.range=e.range||[],n&&n!==!0){e.panelId=n.panelId;var r=S[e.brushType](0,n.coordSys,e.coordRange),a=e.__rangeOffset;e.range=a?M[e.brushType](r.values,a.offset,l(r.xyMinMax,a.xyMinMax)):r.values}},this)},x.makePanelOpts=function(e,t){return c.map(this._targetInfoList,function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t&&t(n),clipPath:p.makeRectPanelClipPath(r),isTargetByCursor:p.makeRectIsTargetByCursor(r,e,n.coordSysModel),getLinearBrushOtherExtent:p.makeLinearBrushOtherExtent(r)}})},x.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return r===!0||r&&g(r.coordSyses,t.coordinateSystem)>=0},x.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=i(t,e),a=0;a=0||g(r,e.getAxis("y").model)>=0)&&i.push(e)}),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:i[0],coordSyses:i,getPanelRect:w.grid,xAxisDeclared:o[e.id],yAxisDeclared:s[e.id]})}))},geo:function(e,t){f(e.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:w.geo})})}},b=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,a=e.gridModel;return!a&&n&&(a=n.axis.grid.model),!a&&r&&(a=r.axis.grid.model),a&&a===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],w={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(h.getTransform(e)),t}},S={lineX:m(o,0),lineY:m(o,1),rect:function(e,t,n){var r=t[v[e]]([n[0][0],n[1][0]]),i=t[v[e]]([n[0][1],n[1][1]]),o=[a([r[0],i[0]]),a([r[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n){var r=[[1/0,-(1/0)],[1/0,-(1/0)]],a=c.map(n,function(n){var a=t[v[e]](n);return r[0][0]=Math.min(r[0][0],a[0]),r[1][0]=Math.min(r[1][0],a[1]),r[0][1]=Math.max(r[0][1],a[0]),r[1][1]=Math.max(r[1][1],a[1]),a});return{values:a,xyMinMax:r}}},M={lineX:m(s,0),lineY:m(s,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return c.map(e,function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]})}};e.exports=r},function(e,t,n){function r(e,t){return i.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new s(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var a=n(236),i=n(239),o=n(576),s=n(247),l=["#ddd"],u=a.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var n=this.option;!t&&o.replaceVisualOption(n,e,["inBrush","outOfBrush"]),n.inBrush=n.inBrush||{},n.outOfBrush=n.outOfBrush||{color:l}},setAreas:function(e){__DEV__&&(i.assert(i.isArray(e)),i.each(e,function(e){i.assert(e.brushType,"Illegal areas")})),e&&(this.areas=i.map(e,function(e){return r(this.option,e)},this))},setBrushOption:function(e){this.brushOption=r(this.option,e),this.brushType=this.brushOption.brushType}});e.exports=u},function(e,t,n){function r(e,t,n,r){(!r||r.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())}var a=n(239),i=n(479),o=n(236);e.exports=o.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new i(t.getZr())).on("brush",a.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,r.apply(this,arguments)},updateView:r,updateLayout:r,updateVisual:r,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:a.clone(e),$from:n})}})},function(e,t,n){var r=n(236);r.registerAction({type:"brush",event:"brush",update:"updateView"},function(e,t){t.eachComponent({mainType:"brush",query:e},function(t){t.setAreas(e.areas)})}),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){})},function(e,t,n){"use strict";function r(e,t,n){this.model=e,this.ecModel=t,this.api=n,this._brushType,this._brushMode}var a=n(583),i=n(239);r.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}};var o=r.prototype;o.render=o.updateView=o.updateLayout=function(e,t,n){var r,a,o;t.eachComponent({mainType:"brush"},function(e){r=e.brushType,a=e.brushOption.brushMode||"single",o|=e.areas.length}),this._brushType=r,this._brushMode=a,i.each(e.get("type",!0),function(t){e.setIconStatus(t,("keep"===t?"multiple"===a:"clear"===t?o:t===r)?"emphasis":"normal")})},o.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return i.each(e.get("type",!0),function(e){t[e]&&(n[e]=t[e])}),n},o.onclick=function(e,t,n){var t=this.api,r=this._brushType,a=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===a?"single":"multiple":a}})},a.register("brush",r),e.exports=r},function(e,t){"use strict";var n={};e.exports={register:function(e,t){n[e]=t},get:function(e){return n[e]}}},function(e,t,n){"use strict";n(585),n(586),n(587)},function(e,t,n){"use strict";function r(e,t,n){this._model=e}function a(e,t,n,r){var a=n.calendarModel,i=n.seriesModel,o=a?a.coordinateSystem:i?i.coordinateSystem:null;return o===this?o[e](r):null}var i=n(256),o=n(242),s=n(239),l=864e5;r.prototype={constructor:r,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"}]},getHandledRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){e=o.parseDate(e);var t=e.getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var r=e.getDate();r=r<10?"0"+r:r;var a=e.getDay();return a=Math.abs((a+7-this.getFirstDayOfWeek())%7),{y:t,m:n,d:r,day:a,time:e.getTime(),formatedDate:t+"-"+n+"-"+r,date:e}},getNextNDay:function(e,t){if(t=t||0,0===t)return this.getDateInfo(e);var n=this.getDateInfo(e).time;return this.getDateInfo(n+l*t)},update:function(e,t){function n(e,t){return null!=e[t]&&"auto"!==e[t]}this._firstDayOfWeek=this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle.normal").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var r=this._rangeInfo.weeks||1,a=["width","height"],o=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),u="horizontal"===this._orient?[r,7]:[7,r];s.each([0,1],function(e){n(o,e)&&(l[a[e]]=o[e]*u[e])});var c={width:t.getWidth(),height:t.getHeight()},h=this._rect=i.getLayoutRect(l,c);s.each([0,1],function(e){n(o,e)||(o[e]=h[a[e]]/u[e])}),this._sw=o[0],this._sh=o[1]},dataToPoint:function(e,t){var n=this.getDateInfo(e[0]),r=this._rangeInfo,a=n.formatedDate;if(!(t||n.time>=r.start.time&&n.time<=r.end.time))return[NaN,NaN];var i=n.day,o=this._getRangeInfo([r.start.time,a]).weeks;return"vertical"===this._orient?[this._rect.x+i*this._sw+this._sw/2,this._rect.y+(o-1)*this._sh+this._sh/2]:[this._rect.x+(o-1)*this._sw+this._sw/2,this._rect.y+i*this._sh+this._sh/2]},pointToData:function(e){var t=this.pointToDate(e);return t&&t.time},dataToRect:function(e,t){var n=this.dataToPoint(e,t);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},pointToDate:function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,r=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,r):this._getDateByWeeksAndDay(t,n-1,r)},convertToPixel:s.curry(a,"dataToPoint"),convertFromPixel:s.curry(a,"pointToData"),_initRangeOption:function(){var e=this._model.get("range"),t=e;if(s.isArray(t)&&1===t.length&&(t=t[0]),/^\d{4}$/.test(t)&&(e=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var n=this.getDateInfo(t),r=n.date;r.setMonth(r.getMonth()+1);var a=this.getNextNDay(r,-1);e=[n.formatedDate,a.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(e=[t,t]);var i=this._getRangeInfo(e);return i.start.time>i.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t=this.getDateInfo(e[0]),n=this.getDateInfo(e[1]),r=Math.floor(n.time/l)-Math.floor(t.time/l)+1,a=Math.floor((r+t.day+6)/7);return{range:[t.formatedDate,n.formatedDate],start:t,end:n,allDay:r,weeks:a,fweek:t.day,lweek:n.day}},_getDateByWeeksAndDay:function(e,t,n){var r=this._getRangeInfo(n);if(e>r.weeks||0===e&&tr.lweek)return!1;var a=7*(e-1)-r.fweek+t,i=r.start.time+a*l;return this.getDateInfo(i)}},r.dimensions=r.prototype.dimensions,r.getDimensionsInfo=r.prototype.getDimensionsInfo,r.create=function(e,t){var n=[];return e.eachComponent("calendar",function(a){var i=new r(a,e,t);n.push(i),a.coordinateSystem=i}),e.eachSeries(function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("calendarIndex")||0])}),n},n(261).register("calendar",r),e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.cellSize;i.isArray(n)?1===n.length&&(n[1]=n[0]):n=e.cellSize=[n,n];var r=i.map([0,1],function(e){return o.sizeCalculable(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]});o.mergeLayoutParam(e,t,{type:"box",ignoreSize:r})}var a=n(254),i=n(239),o=n(256),s=a.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{normal:{color:"#fff",borderWidth:1,borderColor:"#ccc"}},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",textStyle:{color:"#000"}},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,textStyle:{color:"#000"}},yearLabel:{show:!0,position:null,margin:30,formatter:null,textStyle:{color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}}},init:function(e,t,n,a){var i=o.getLayoutParams(e);s.superApply(this,"init",arguments),r(e,i)},mergeOption:function(e,t){s.superApply(this,"mergeOption",arguments), -r(this.option,e)}});e.exports=s},function(e,t,n){"use strict";var r=n(239),a=n(279),i=n(241),o=n(242),s={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},l={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]};e.exports=n(236).extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,n){var r=this.group;r.removeAll();var a=e.coordinateSystem,i=a.getHandledRangeInfo(),o=a.getOrient();this._renderDayRect(e,i,r),this._renderLines(e,i,o,r),this._renderYearText(e,i,o,r),this._renderMonthText(e,o,r),this._renderWeekText(e,i,o,r)},_renderDayRect:function(e,t,n){for(var r=e.coordinateSystem,i=e.getModel("itemStyle.normal").getItemStyle(),o=r.getCellWidth(),s=r.getCellHeight(),l=t.start.time;l<=t.end.time;l=r.getNextNDay(l,1).time){var u=r.dataToRect([l],!0).tl,c=new a.Rect({shape:{x:u[0],y:u[1],width:o,height:s},style:i});n.add(c)}},_renderLines:function(e,t,n,r){function a(t){i._firstDayOfMonth.push(o.getDateInfo(t)),i._firstDayPoints.push(o.dataToRect([t],!0).tl);var a=i._getLinePointsOfOneWeek(e,t,n);i._tlpoints.push(a[0]),i._blpoints.push(a[a.length-1]),l&&i._drawSplitline(a,s,r)}var i=this,o=e.coordinateSystem,s=e.getModel("splitLine.lineStyle").getLineStyle(),l=e.get("splitLine.show"),u=s.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=t.start,h=0;c.time<=t.end.time;h++){a(c.formatedDate),0===h&&(c=o.getDateInfo(t.start.y+"-"+t.start.m));var d=c.date;d.setMonth(d.getMonth()+1),c=o.getDateInfo(d)}a(o.getNextNDay(t.end.time,1).formatedDate),l&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,u,n),s,r),l&&this._drawSplitline(i._getEdgesPoints(i._blpoints,u,n),s,r)},_getEdgesPoints:function(e,t,n){var r=[e[0].slice(),e[e.length-1].slice()],a="horizontal"===n?0:1;return r[0][a]=r[0][a]-t/2,r[1][a]=r[1][a]+t/2,r},_drawSplitline:function(e,t,n){var r=new a.Polyline({z2:20,shape:{points:e},style:t});n.add(r)},_getLinePointsOfOneWeek:function(e,t,n){var r=e.coordinateSystem;t=r.getDateInfo(t);for(var a=[],i=0;i<7;i++){var o=r.getNextNDay(t.time,i),s=r.dataToRect([o.time],!0);a[2*o.day]=s.tl,a[2*o.day+1]=s["horizontal"===n?"bl":"tr"]}return a},_formatterLabel:function(e,t){return"string"==typeof e&&e?i.formatTplSimple(e,t):"function"==typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,n,r){e=e.slice();var a=["center","bottom"];"top"===n&&(e[1]-=r),"bottom"===n&&(e[1]+=r,a=["center","top"]),"left"===n&&(e[0]-=r),"right"===n&&(e[0]+=r,a=["center","top"]);var i=0;return"left"!==n&&"right"!==n||(i=Math.PI/2),{rotation:i,origin:e,style:{x:e[0],y:e[1],textAlign:a[0],textVerticalAlign:a[1]}}},_renderYearText:function(e,t,n,i){var o=e.getModel("yearLabel");if(o.get("show")){var s=e.getModel("yearLabel.textStyle"),l=o.get("margin"),u=o.get("position");u||(u="horizontal"!==n?"top":"left");var c=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],h=(c[0][0]+c[1][0])/2,d=(c[0][1]+c[1][1])/2,p="horizontal"===n?0:1,f={top:[h,c[p][1]],bottom:[h,c[1-p][1]],left:[c[1-p][0],d],right:[c[p][0],d]},g=t.start.y;+t.end.y>+t.start.y&&(g=g+"-"+t.end.y);var m=o.get("formatter"),v={start:t.start.y,end:t.end.y,nameMap:g},y=this._formatterLabel(m,v),x=new a.Text(r.merge({z2:30,style:{text:y,font:s.getFont(),fill:s.getTextColor()}},this._yearTextPositionControl(f[u],n,u,l)));i.add(x)}},_monthTextPositionControl:function(e,t,n,r,a){var i="left",o="top",s=e[0],l=e[1];return"horizontal"===n?(l+=a,t&&(i="center"),"start"===r&&(o="bottom")):(s+=a,t&&(o="middle"),"start"===r&&(i="right")),{x:s,y:l,textAlign:i,textVerticalAlign:o}},_renderMonthText:function(e,t,n){var i=e.getModel("monthLabel");if(i.get("show")){var o=e.getModel("monthLabel.textStyle"),l=i.get("nameMap"),u=i.get("margin"),c=i.get("position"),h=i.get("align"),d=[this._tlpoints,this._blpoints];r.isString(l)&&(l=s[l.toUpperCase()]||[]);var p="start"===c?0:1,f="horizontal"===t?0:1;u="start"===c?-u:u;for(var g="center"===h,m=0;m0?100:20}},getFirstTargetAxisModel:function(){var e;return d(function(t){if(null==e){var n=this.get(t.axisIndex);n.length&&(e=this.dependentModels[t.axis][n[0]])}},this),e},eachTargetAxis:function(e,t){var n=this.ecModel;d(function(r){h(this.get(r.axisIndex),function(a){e.call(t,r,a,this,n)},this)},this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var n=this.getAxisProxy(e,t);return n&&n.getAxisModel()},setRawRange:function(e,t){h(["start","end","startValue","endValue"],function(t){this.option[t]=e[t]},this),!t&&a(this,e)},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(){var e=this._axisProxies;for(var t in e)if(e.hasOwnProperty(t)&&e[t].hostedBy(this))return e[t];for(var t in e)if(e.hasOwnProperty(t)&&!e[t].hostedBy(this))return e[t]},getRangePropMode:function(){return this._rangePropMode.slice()}});e.exports=p},function(e,t,n){var r=n(241),a=n(239),i={},o=["x","y","z","radius","angle","single"],s=["cartesian2d","polar","singleAxis"];i.isCoordSupported=function(e){return a.indexOf(s,e)>=0},i.createNameEach=function(e,t){e=e.slice();var n=a.map(e,r.capitalFirst);t=(t||[]).slice();var i=a.map(t,r.capitalFirst);return function(r,o){a.each(e,function(e,a){for(var s={name:e,capital:n[a]},l=0;l=0}function i(e,r){var i=!1;return t(function(t){a.each(n(e,t)||[],function(e){r.records[t.name][e]&&(i=!0)})}),i}function o(e,r){r.nodes.push(e),t(function(t){a.each(n(e,t)||[],function(e){r.records[t.name][e]=!0})})}return function(n){function a(e){!r(e,s)&&i(e,s)&&(o(e,s),l=!0)}var s={nodes:[],records:{}};if(t(function(e){s.records[e.name]={}}),!n)return s;o(n,s);var l;do l=!1,e(a);while(l);return s}},e.exports=i},function(e,t,n){function r(e,t,n){var r=[1/0,-(1/0)];return u(n,function(e){var n=e.getData();n&&u(e.coordDimToDataDim(t),function(e){var t=n.getDataExtent(e);t[0]r[1]&&(r[1]=t[1])})}),r[1]0?0:NaN);var o=n.getMax(!0);return null!=o&&"dataMax"!==o?t[1]=o:a&&(t[1]=i>0?i-1:NaN),n.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function i(e,t){var n=e.getAxisModel(),r=e._percentWindow,a=e._valueWindow;if(r){var i=s.getPixelPrecision(a,[0,500]),o=t||0===r[0]&&100===r[1];n.setRange(o?null:+a[0].toFixed(i),o?null:+a[1].toFixed(i))}}var o=n(239),s=n(242),l=n(592),u=o.each,c=s.asc,h=function(e,t,n,r){this._dimName=e,this._axisIndex=t,this._valueWindow,this._percentWindow,this._dataExtent,this.ecModel=r,this._dataZoomModel=n};h.prototype={constructor:h,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries(function(n){if(l.isCoordSupported(n.get("coordinateSystem"))){var r=this._dimName,a=t.queryComponents({mainType:r+"Axis",index:n.get(r+"AxisIndex"),id:n.get(r+"AxisId")})[0];this._axisIndex===(a&&a.componentIndex)&&e.push(n)}},this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,n=this._dimName,r=this.ecModel,a=this.getAxisModel(),i="x"===n||"y"===n;i?(t="gridIndex",e="x"===n?"y":"x"):(t="polarIndex",e="angle"===n?"radius":"angle");var o;return r.eachComponent(e+"Axis",function(e){(e.get(t)||0)===(a.get(t)||0)&&(o=e)}),o},calculateDataWindow:function(e){var t=this._dataExtent,n=this.getAxisModel(),r=n.axis.scale,a=this._dataZoomModel.getRangePropMode(),i=[0,100],o=[e.start,e.end],l=[];return u(["startValue","endValue"],function(t){l.push(null!=e[t]?r.parse(e[t]):null)}),u([0,1],function(e){var n=l[e],u=o[e];"percent"===a[e]?(null==u&&(u=i[e]),n=r.parse(s.linearMap(u,i,t,!0))):u=s.linearMap(n,t,i,!0),l[e]=n,o[e]=u}),{valueWindow:c(l),percentWindow:c(o)}},reset:function(e){if(e===this._dataZoomModel){this._dataExtent=r(this,this._dimName,this.getTargetSeriesModels());var t=this.calculateDataWindow(e.option);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,i(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,i(this,!0))},filterData:function(e){function t(e){return e>=i[0]&&e<=i[1]}if(e===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),a=e.get("filterMode"),i=this._valueWindow,o=this.getOtherAxisModel();e.get("$fromToolbox")&&o&&"category"===o.get("type")&&(a="empty"),u(r,function(e){var r=e.getData();r&&u(e.coordDimToDataDim(n),function(n){"empty"===a?e.setData(r.map(n,function(e){return t(e)?e:NaN})):r.filterSelf(n,t)})})}}},e.exports=h},function(e,t,n){var r=n(264);e.exports=r.extend({type:"dataZoom",render:function(e,t,n,r){this.dataZoomModel=e,this.ecModel=t,this.api=n},getTargetCoordInfo:function(){function e(e,t,n,r){for(var a,i=0;i0&&t%v)return void(m+=g);var n=null==e||isNaN(e)||""===e,r=n?0:c(e,s,h,!0);n&&!u&&t?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!n&&u&&(p.push([m,0]),f.push([m,0])),p.push([m,r]),f.push([m,r]),m+=g,u=n});var y=this.dataZoomModel;this._displayables.barGroup.add(new i.Polygon({shape:{points:p},style:a.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new i.Polyline({shape:{points:f},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(t!==!1){var n,i=this.ecModel;return e.eachTargetAxis(function(o,s){var l=e.getAxisProxy(o.name,s).getTargetSeriesModels();a.each(l,function(e){if(!(n||t!==!0&&a.indexOf(S,e.get("type"))<0)){var l,u=i.getComponent(o.axis,s).axis,c=r(o.name),h=e.coordinateSystem;null!=c&&h.getOtherAxis&&(l=h.getOtherAxis(u).inverse),n={thisAxis:u,series:e,thisDim:o.name,otherDim:c,otherAxisInverse:l}}},this)},this),n}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],n=e.handleLabels=[],r=this._displayables.barGroup,a=this._size,o=this.dataZoomModel;r.add(e.filler=new l({draggable:!0,cursor:"move",drift:g(this._onDragMove,this,"all"),onmousemove:function(e){p.stop(e.event)},ondragstart:g(this._showDataInfo,this,!0),ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1),style:{fill:o.get("fillerColor"),textPosition:"inside"}})),r.add(new l(i.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:y,fill:"rgba(0,0,0,0)"}})));var s=o.get("handleIcon");m([0,1],function(e){var a=i.makePath(s,{style:{strokeNoScale:!0},rectHover:!0,cursor:"vertical"===this._orient?"ns-resize":"ew-resize",draggable:!0,drift:g(this._onDragMove,this,e),onmousemove:function(e){p.stop(e.event)},ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1)},{x:-.5,y:0,width:1,height:1},"center"),l=a.getBoundingRect();this._handleHeight=u.parsePercent(o.get("handleSize"),this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,a.setStyle(o.getModel("handleStyle").getItemStyle());var c=o.get("handleColor");null!=c&&(a.style.fill=c),r.add(t[e]=a);var h=o.textStyleModel;this.group.add(n[e]=new i.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",fill:h.getTextColor(),textFont:h.getFont()},z2:10}))},this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[c(e[0],[0,100],t,!0),c(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var n=this._handleEnds,r=this._getViewExtent();d(t,n,r,"all"===e||this.dataZoomModel.get("zoomLock")?"rigid":"cross",e),this._range=f([c(n[0],r,[0,100],!0),c(n[1],r,[0,100],!0)])},_updateView:function(e){var t=this._displayables,n=this._handleEnds,r=f(n.slice()),a=this._size;m([0,1],function(e){var r=t.handles[e],i=this._handleHeight;r.attr({scale:[i,i],position:[n[e],a[1]/2-i/2]})},this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:a[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){function t(e){var t=i.getTransform(r.handles[e].parent,this.group),n=i.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+w,u=i.applyTransform([d[e]+(0===e?-l:l),this._size[1]/2],t);a[e].setStyle({x:u[0],y:u[1],textVerticalAlign:o===_?"middle":n,textAlign:o===_?n:"center",text:s[e]})}var n=this.dataZoomModel,r=this._displayables,a=r.handleLabels,o=this._orient,s=["",""];if(n.get("showDetail")){var l=n.findRepresentativeAxisProxy();if(l){var u=l.getAxisModel().axis,c=this._range,h=e?l.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:l.getDataValueWindow();s=[this._formatLabel(h[0],u),this._formatLabel(h[1],u)]}}var d=f(this._handleEnds.slice());t.call(this,0),t.call(this,1)},_formatLabel:function(e,t){var n=this.dataZoomModel,r=n.get("labelFormatter"),i=n.get("labelPrecision");null!=i&&"auto"!==i||(i=t.getPixelPrecision());var o=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(i,20));return a.isFunction(r)?r(e,o):a.isString(r)?r.replace("{value}",o):o},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,n){this._dragging=!0;var r=this._applyBarTransform([t,n],!0);this._updateInterval(e,r[0]);var a=this.dataZoomModel.get("realtime");this._updateView(!a),a&&a&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),this._dispatchZoomAction()},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_applyBarTransform:function(e,t){var n=this._displayables.barGroup.getLocalTransform();return i.applyTransform(e,n,t)},_findCoordRect:function(){var e;if(m(this.getTargetCoordInfo(),function(t){if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}}),!e){var t=this.api.getWidth(),n=this.api.getHeight();e={x:.2*t,y:.2*n,width:.6*t,height:.6*n}}return e}});e.exports=M},function(e,t,n){e.exports=n(591).extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1}})},function(e,t,n){function r(e){var t=[0,100];return!(e[0]<=t[1])&&(e[0]=t[1]),!(e[1]<=t[1])&&(e[1]=t[1]),!(e[0]>=t[0])&&(e[0]=t[0]),!(e[1]>=t[0])&&(e[1]=t[0]),e}var a=n(594),i=n(239),o=n(473),s=n(599),l=i.bind,u=a.extend({type:"dataZoom.inside",init:function(e,t){this._range},render:function(e,t,n,r){u.superApply(this,"render",arguments),s.shouldRecordRange(r,e.id)&&(this._range=e.getPercentRange()),i.each(this.getTargetCoordInfo(),function(t,r){var a=i.map(t,function(e){return s.generateCoordId(e.model)});i.each(t,function(t){var i=t.model;s.register(n,{coordId:s.generateCoordId(i),allCoordIds:a,containsPoint:function(e,t,n){return i.coordinateSystem.containPoint([t,n])},dataZoomId:e.id,throttleRate:e.get("throttle",!0),panGetRange:l(this._onPan,this,t,r),zoomGetRange:l(this._onZoom,this,t,r)})},this)},this)},dispose:function(){s.unregister(this.api,this.dataZoomModel.id),u.superApply(this,"dispose",arguments),this._range=null},_onPan:function(e,t,n,r,a,i,s,l,u){if(this.dataZoomModel.option.disabled)return this._range;var h=this._range.slice(),d=e.axisModels[0];if(d){var p=c[t]([i,s],[l,u],d,n,e),f=p.signal*(h[1]-h[0])*p.pixel/p.pixelLength;return o(f,h,[0,100],"rigid"),this._range=h}},_onZoom:function(e,t,n,a,i,o){var s=this.dataZoomModel.option;if(s.disabled||s.zoomLock)return this._range;var l=this._range.slice(),u=e.axisModels[0];if(u){var h=c[t](null,[i,o],u,n,e),d=(h.pixel-h.pixelStart)/h.pixelLength*(l[1]-l[0])+l[0];return a=Math.max(1/a,0),l[0]=(l[0]-d)*a+d,l[1]=(l[1]-d)*a+d,this._range=r(l)}}}),c={grid:function(e,t,n,r,a){var i=n.axis,o={},s=a.model.coordinateSystem.getRect();return e=e||[0,0],"x"===i.dim?(o.pixel=t[0]-e[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=i.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=i.inverse?-1:1),o},polar:function(e,t,n,r,a){var i=n.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(o.pixel=t[0]-e[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=i.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=i.inverse?-1:1),o},singleAxis:function(e,t,n,r,a){var i=n.axis,o=a.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===i.orient?(s.pixel=t[0]-e[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=i.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=i.inverse?-1:1),s}};e.exports=u},function(e,t,n){function r(e){var t=e.getZr();return t[f]||(t[f]={})}function a(e,t,n){var r=new h(e.getZr());return r.enable(),r.on("pan",p(o,n)),r.on("zoom",p(s,n)),r}function i(e){c.each(e,function(t,n){t.count||(t.controller.dispose(),delete e[n])})}function o(e,t,n,r,a,i,o){l(e,function(s){return s.panGetRange(e.controller,t,n,r,a,i,o)})}function s(e,t,n,r){l(e,function(a){return a.zoomGetRange(e.controller,t,n,r)})}function l(e,t){var n=[];c.each(e.dataZoomInfos,function(e){var r=t(e);r&&n.push({dataZoomId:e.dataZoomId,start:r[0],end:r[1]})}),e.dispatchAction(n)}function u(e,t){e.dispatchAction({type:"dataZoom",batch:t})}var c=n(239),h=n(417),d=n(316),p=c.curry,f="\0_ec_dataZoom_roams",g={register:function(e,t){var n=r(e),o=t.dataZoomId,s=t.coordId;c.each(n,function(e,n){var r=e.dataZoomInfos;r[o]&&c.indexOf(t.allCoordIds,s)<0&&(delete r[o],e.count--)}),i(n);var l=n[s];l||(l=n[s]={coordId:s,dataZoomInfos:{},count:0},l.controller=a(e,t,l),l.dispatchAction=c.curry(u,e)),l.controller.setPointerChecker(t.containsPoint),d.createOrUpdate(l,"dispatchAction",t.throttleRate,"fixRate"),!l.dataZoomInfos[o]&&l.count++,l.dataZoomInfos[o]=t},unregister:function(e,t){var n=r(e);c.each(n,function(e){e.controller.dispose();var n=e.dataZoomInfos;n[t]&&(delete n[t],e.count--)}),i(n)},shouldRecordRange:function(e,t){if(e&&"dataZoom"===e.type&&e.batch)for(var n=0,r=e.batch.length;n0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})},function(e,t,n){function r(e,t){e.eachTargetSeries(function(t){var n=t.getData();s.applyVisual(e.stateList,e.targetVisuals,n,e.getValueState,e,e.getDataDimension(n))})}function a(e){e.eachSeries(function(t){var n=t.getData(),r=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var a=e.getVisualMeta(u.bind(i,null,t,e))||{stops:[],outerColors:[]};a.dimension=e.getDataDimension(n),r.push(a)}}),t.getData().setVisual("visualMeta",r)})}function i(e,t,n,r){function a(e){return u[e]}function i(e,t){u[e]=t}for(var o=t.targetVisuals[r],s=l.prepareVisualTypes(o),u={color:e.getData().getVisual("color")},c=0,h=s.length;ct[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)},this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=o.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]=n[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries(function(n){var r=[],a=n.getData();a.each(this.getDataDimension(a),function(t,n){e[0]<=t&&t<=e[1]&&r.push(n)},!0,this),t.push({seriesId:n.id,dataIndex:r})},this),t},getVisualMeta:function(e){function t(t,n){i.push({value:t,color:e(t,n)})}for(var n=r(this,"outOfRange",this.getExtent()),a=r(this,"inRange",this.option.range.slice()),i=[],o=0,s=0,l=a.length,u=n.length;s"],a.isArray(e)&&(e=e.slice(),i=!0),o=t?e:i?[r(e[0]),r(e[1])]:r(e),a.isString(c)?c.replace("{value}",i?o[0]:o).replace("{value2}",i?o[1]:o):a.isFunction(c)?i?c(e[0],e[1]):c(e):i?e[0]===u[0]?n[0]+" "+o[1]:e[1]===u[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o},resetExtent:function(){var e=this.option,t=g([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension;return null!=t?t:e.dimensions.length-1},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){function e(e){p(r.color)&&!e.inRange&&(e.inRange={color:r.color.slice().reverse()}),e.inRange=e.inRange||{color:y},f(this.stateList,function(t){var n=e[t];if(a.isString(n)){var r=o.get(n,"active",d);r?(e[t]={},e[t][n]=r):delete e[t]}},this)}function t(e,t,n){var r=e[t],a=e[n];r&&!a&&(a=e[n]={},f(r,function(e,t){if(s.isValidType(t)){var n=o.get(t,"inactive",d);null!=n&&(a[t]=n,"color"!==t||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}}))}function n(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,r=this.get("inactiveColor");f(this.stateList,function(i){var o=this.itemSize,s=e[i];s||(s=e[i]={color:d?r:[r]}),null==s.symbol&&(s.symbol=t&&a.clone(t)||(d?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&a.clone(n)||(d?o[0]:[o[0],o[0]])),s.symbol=u(s.symbol,function(e){return"none"===e||"square"===e?"roundRect":e});var l=s.symbolSize;if(null!=l){var c=-(1/0);h(l,function(e){e>c&&(c=e)}),s.symbolSize=u(l,function(e){return m(e,[0,c],[0,o[0]],!0)})}},this)}var r=this.option,i={inRange:r.inRange,outOfRange:r.outOfRange},l=r.target||(r.target={}),c=r.controller||(r.controller={});a.merge(l,i),a.merge(c,i);var d=this.isCategory();e.call(this,l),e.call(this,c),t.call(this,l,"inRange","outOfRange"),n.call(this,c)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});e.exports=x},function(e,t,n){var r=n(239),a={get:function(e,t,n){var a=r.clone((i[e]||{})[t]);return n&&r.isArray(a)?a[a.length-1]:a}},i={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};e.exports=a},function(e,t,n){function r(e,t,n,r){return new u.Polygon({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){m.stop(e.event)},ondragend:r})}function a(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}function i(e,t,n,r){return e?[[0,-x(t,_(n,0))],[w,0],[0,x(t,_(r-n,0))]]:[[0,0],[5,-5],[5,5]]}function o(e,t,n){var r=b/2,a=e.get("hoverLinkDataSize");return a&&(r=v(a,t,n,!0)/2),r}function s(e){return!e.get("realtime")&&e.get("hoverLinkOnHandle")}var l=n(611),u=n(279),c=n(239),h=n(242),d=n(473),p=n(313),f=n(612),g=n(240),m=n(323),v=h.linearMap,y=c.each,x=Math.min,_=Math.max,b=12,w=6,S=l.extend({type:"visualMap.continuous",init:function(){S.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(e,t,n,r){r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},_renderEndsText:function(e,t,n){if(t){var r=t[1-n];r=null!=r?r+"":"";var a=this.visualMapModel,i=a.get("textGap"),o=a.itemSize,s=this._shapes.barGroup,l=this._applyTransform([o[0]/2,0===n?-i:o[1]+i],s),c=this._applyTransform(0===n?"bottom":"top",s),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new u.Text({style:{x:l[0],y:l[1],textVerticalAlign:"horizontal"===h?"middle":c,textAlign:"horizontal"===h?c:"center",text:r,textFont:d.getFont(),fill:d.getTextColor()}}))}},_renderBar:function(e){var t=this.visualMapModel,n=this._shapes,a=t.itemSize,i=this._orient,o=this._useHandle,s=f.getItemAlign(t,this.api,a),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=r()),l.add(n.inRange=r(null,o?"move":null,c.bind(this._dragHandle,this,"all",!1),c.bind(this._dragHandle,this,"all",!0)));var u=t.textStyleModel.getTextRect("国"),h=_(u.width,u.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(l,0,a,h,i,s),this._createHandle(l,1,a,h,i,s)),this._createIndicator(l,a,h,i),e.add(l)},_createHandle:function(e,t,n,i,o){var s=c.bind(this._dragHandle,this,t,!1),l=c.bind(this._dragHandle,this,t,!0),h=r(a(t,i),"move",s,l);h.position[0]=n[0],e.add(h);var d=this.visualMapModel.textStyleModel,p=new u.Text({draggable:!0,drift:s,onmousemove:function(e){m.stop(e.event)},ondragend:l,style:{x:0,y:0,text:"",textFont:d.getFont(),fill:d.getTextColor()}});this.group.add(p);var f=["horizontal"===o?i/2:1.5*i,"horizontal"===o?0===t?-(1.5*i):1.5*i:0===t?-i/2:i/2],g=this._shapes;g.handleThumbs[t]=h,g.handleLabelPoints[t]=f,g.handleLabels[t]=p},_createIndicator:function(e,t,n,a){var i=r([[0,0]],"move");i.position[0]=t[0],i.attr({invisible:!0,silent:!0}),e.add(i);var o=this.visualMapModel.textStyleModel,s=new u.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:o.getFont(),fill:o.getTextColor()}});this.group.add(s);var l=["horizontal"===a?n/2:w+3,0],c=this._shapes;c.indicator=i,c.indicatorLabel=s,c.indicatorLabelPoint=l},_dragHandle:function(e,t,n,r){if(this._useHandle){if(this._dragging=!t,!t){var a=this._applyTransform([n,r],this._shapes.barGroup,!0);this._updateInterval(e,a[1]),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():s(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},_resetInterval:function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),r=[0,e.itemSize[1]];this._handleEnds=[v(t[0],n,r,!0),v(t[1],n,r,!0)]},_updateInterval:function(e,t){t=t||0;var n=this.visualMapModel,r=this._handleEnds;d(t,r,[0,n.itemSize[1]],"all"===e?"rigid":"push",e);var a=n.getExtent(),i=[0,n.itemSize[1]];this._dataInterval=[v(r[0],i,a,!0),v(r[1],i,a,!0)]},_updateView:function(e){var t=this.visualMapModel,n=t.getExtent(),r=this._shapes,a=[0,t.itemSize[1]],i=e?a:this._handleEnds,o=this._createBarVisual(this._dataInterval,n,i,"inRange"),s=this._createBarVisual(n,n,a,"outOfRange");r.inRange.setStyle({fill:o.barColor,opacity:o.opacity}).setShape("points",o.barPoints),r.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(i,o)},_createBarVisual:function(e,t,n,r){var a={forceState:r,convertOpacityToAlpha:!0},i=this._makeColorGradient(e,a),o=[this.getControllerVisual(e[0],"symbolSize",a),this.getControllerVisual(e[1],"symbolSize",a)],s=this._createBarPoints(n,o);return{barColor:new p(0,0,0,1,i),barPoints:s,handlesColor:[i[0].color,i[i.length-1].color]}},_makeColorGradient:function(e,t){var n=100,r=[],a=(e[1]-e[0])/n;r.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var i=1;ie[1])break;r.push({color:this.getControllerVisual(o,"color",t),offset:i/n})}return r.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),r},_createBarPoints:function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new u.Group("horizontal"!==t||n?"horizontal"===t&&n?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||n?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,a=n.handleThumbs,i=n.handleLabels;y([0,1],function(o){var s=a[o];s.setStyle("fill",t.handlesColor[o]),s.position[1]=e[o];var l=u.applyTransform(n.handleLabelPoints[o],u.getTransform(s,this.group));i[o].setStyle({x:l[0],y:l[1],text:r.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",n.barGroup)})},this)}},_showIndicator:function(e,t,n,r){var a=this.visualMapModel,o=a.getExtent(),s=a.itemSize,l=[0,s[1]],c=v(e,o,l,!0),h=this._shapes,d=h.indicator;if(d){d.position[1]=c,d.attr("invisible",!1),d.setShape("points",i(!!n,r,c,s[1]));var p={convertOpacityToAlpha:!0},f=this.getControllerVisual(e,"color",p);d.setStyle("fill",f);var g=u.applyTransform(h.indicatorLabelPoint,u.getTransform(d,this.group)),m=h.indicatorLabel;m.attr("invisible",!1);var y=this._applyTransform("left",h.barGroup),x=this._orient;m.setStyle({text:(n?n:"")+a.formatValueText(t),textVerticalAlign:"horizontal"===x?y:"middle",textAlign:"horizontal"===x?"center":y,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,r=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);r[1]=x(_(0,r[1]),n[1]),e._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}}).on("mouseout",function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var a=[0,r[1]],i=n.getExtent();e=x(_(a[0],e),a[1]);var l=o(n,i,a),u=[e-l,e+l],c=v(e,a,i,!0),h=[v(u[0],a,i,!0),v(u[1],a,i,!0)];u[0]a[1]&&(h[1]=1/0),t&&(h[0]===-(1/0)?this._showIndicator(c,h[1],"< ",l):h[1]===1/0?this._showIndicator(c,h[0],"> ",l):this._showIndicator(c,c,"≈ ",l));var d=this._hoverLinkDataIndices,p=[];(t||s(n))&&(p=this._hoverLinkDataIndices=n.findTargetDataIndices(h));var m=g.compressBatches(d,p);this._dispatchHighDown("downplay",f.convertDataIndex(m[0])),this._dispatchHighDown("highlight",f.convertDataIndex(m[1]))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,n=this.visualMapModel;if(t&&null!=t.dataIndex){var r=this.ecModel.getSeriesByIndex(t.seriesIndex);if(n.isTargetSeries(r)){var a=r.getData(t.dataType),i=a.getDimension(n.getDataDimension(a)),o=a.get(i,t.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",f.convertDataIndex(e)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,n,r){var a=u.getTransform(t,r?null:this.group);return u[c.isArray(e)?"applyTransform":"transformDirection"](e,a,n)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});e.exports=S},function(e,t,n){var r=n(239),a=n(279),i=n(241),o=n(256),s=n(236),l=n(437);e.exports=s.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,n,r){return this.visualMapModel=e,e.get("show")===!1?void this.group.removeAll():void this.doRender.apply(this,arguments)},renderBackground:function(e){var t=this.visualMapModel,n=i.normalizeCssArray(t.get("padding")||0),r=e.getBoundingRect();e.add(new a.Rect({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,n){function a(e){return u[e]}function i(e,t){u[e]=t}n=n||{};var o=n.forceState,s=this.visualMapModel,u={};if("symbol"===t&&(u.symbol=s.get("itemSymbol")),"color"===t){var c=s.get("contentColor");u.color=c}var h=s.controllerVisuals[o||s.getValueState(e)],d=l.prepareVisualTypes(h);return r.each(d,function(r){var o=h[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",o=h.__alphaForOpacity),l.dependsOn(r,t)&&o&&o.applyVisual(e,a,i)}),u[t]},positionGroup:function(e){var t=this.visualMapModel,n=this.api;o.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:r.noop})},function(e,t,n){var r=n(239),a=n(256),i={getItemAlign:function(e,t,n){var r=e.option,i=r.align;if(null!=i&&"auto"!==i)return i;for(var o={width:t.getWidth(),height:t.getHeight()},s="horizontal"===r.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],c=[0,null,10],h={},d=0;d<3;d++)h[l[1-s][d]]=c[d],h[u[d]]=2===d?n[0]:r[u[d]];var p=[["x","width",3],["y","height",0]][s],f=a.getLayoutRect(h,o,r.padding);return u[(f.margin[p[2]]||0)+f[p[0]]+.5*f[p[1]]<.5*o[p[1]]?0:1]},convertDataIndex:function(e){return r.each(e||[],function(t){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null)}),e}};e.exports=i},function(e,t,n){var r=n(236),a={type:"selectDataRange",event:"dataRangeSelected",update:"update"};r.registerAction(a,function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(t){t.setSelected(e.selected)})})},function(e,t,n){n(236).registerPreprocessor(n(604)),n(605),n(606),n(615),n(616),n(613)},function(e,t,n){function r(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var a=n(608),i=n(239),o=n(437),s=n(609),l=n(242).reformIntervals,u=a.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(e,t){u.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetTargetSeries(),this.resetExtent();var n=this._mode=this._determineMode();c[this._mode].call(this),this._resetSelected(e,t);var r=this.option.categories;this.resetVisual(function(e,t){"categories"===n?(e.mappingMethod="category",e.categories=i.clone(r)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=i.map(this._pieceList,function(e){var e=i.clone(e);return"inRange"!==t&&(e.visual=null),e}))})},completeVisualOption:function(){function e(e,t,n){return e&&e[t]&&(i.isObject(e[t])?e[t].hasOwnProperty(n):e[t]===n)}var t=this.option,n={},r=o.listVisualTypes(),l=this.isCategory();i.each(t.pieces,function(e){i.each(r,function(t){e.hasOwnProperty(t)&&(n[t]=1)})}),i.each(n,function(n,r){var a=0;i.each(this.stateList,function(n){a|=e(t,n,r)||e(t.target,n,r)},this),!a&&i.each(this.stateList,function(e){(t[e]||(t[e]={}))[r]=s.get(r,"inRange"===e?"active":"inactive",l)})},this),a.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,t){var n=this.option,r=this._pieceList,a=(t?n:e).selected||{};if(n.selected=a,i.each(r,function(e,t){var n=this.getSelectedMapKey(e);a.hasOwnProperty(n)||(a[n]=!0)},this),"single"===n.selectedMode){var o=!1;i.each(r,function(e,t){var n=this.getSelectedMapKey(e);a[n]&&(o?a[n]=!1:o=!0)},this)}},getSelectedMapKey:function(e){return"categories"===this._mode?e.value+"":e.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=i.clone(e)},getValueState:function(e){var t=o.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries(function(n){var r=[],a=n.getData();a.each(this.getDataDimension(a),function(t,n){var a=o.findPieceIndex(t,this._pieceList);a===e&&r.push(n)},!0,this),t.push({seriesId:n.id,dataIndex:r})},this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-(1/0)&&n[1]===1/0?0:(n[0]+n[1])/2}return t},getVisualMeta:function(e){function t(t,i){var o=a.getRepresentValue({interval:t});i||(i=a.getValueState(o));var s=e(o,i);t[0]===-(1/0)?r[0]=s:t[1]===1/0?r[1]=s:n.push({value:t[0],color:s},{value:t[1],color:s})}if(!this.isCategory()){var n=[],r=[],a=this,o=this._pieceList.slice();if(o.length){var s=o[0].interval[0];s!==-(1/0)&&o.unshift({interval:[-(1/0),s]}),s=o[o.length-1].interval[1],s!==1/0&&o.push({interval:[s,1/0]})}else o.push({interval:[-(1/0),1/0]});var l=-(1/0);return i.each(o,function(e){var n=e.interval;n&&(n[0]>l&&t([l,n[0]],"outOfRange"),t(n.slice()),l=n[1])},this),{stops:n,outerColors:r}}}}),c={splitNumber:function(){var e=this.option,t=this._pieceList,n=e.precision,r=this.getExtent(),a=e.splitNumber;a=Math.max(parseInt(a,10),1),e.splitNumber=a;for(var o=(r[1]-r[0])/a;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n);var s=0;e.minOpen&&t.push({index:s++,interval:[-(1/0),r[0]],close:[0,0]});for(var u=r[0],c=s+a;ss[1]&&console.warn("Piece "+n+"is illegal: "+s+" lower bound should not greater then uppper bound."),s[0]===s[1]&&l[0]&&l[1]&&(r.value=s[0])}r.visual=o.retrieveVisuals(e),t.push(r)},this),r(e,t),l(t),i.each(t,function(e){var t=e.close,n=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)},this)}};e.exports=u},function(e,t,n){var r=n(611),a=n(239),i=n(279),o=n(339),s=n(256),l=n(612),u=r.extend({type:"visualMap.piecewise",doRender:function(){function e(e){var o=e.piece,s=new i.Group;s.onclick=a.bind(this._onItemClick,this,o),this._enableHoverLink(s,e.indexInModelPieceList);var d=n.getRepresentValue(o);if(this._createItemSymbol(s,d,[0,0,h[0],h[1]]),f){var p=this.visualMapModel.getValueState(d);s.add(new i.Text({style:{x:"right"===c?-r:h[0]+r,y:h[1]/2,text:o.text,textVerticalAlign:"middle",textAlign:c,textFont:l,fill:u,opacity:"outOfRange"===p?.5:1}}))}t.add(s)}var t=this.group;t.removeAll();var n=this.visualMapModel,r=n.get("textGap"),o=n.textStyleModel,l=o.getFont(),u=o.getTextColor(),c=this._getItemAlign(),h=n.itemSize,d=this._getViewData(),p=d.endsText,f=a.retrieve(n.get("showLabel",!0),!p);p&&this._renderEndsText(t,p[0],h,f,c),a.each(d.viewPieceList,e,this),p&&this._renderEndsText(t,p[1],h,f,c),s.box(n.get("orient"),t,n.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(e,t){function n(e){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:e,batch:l.convertDataIndex(n.findTargetDataIndices(t))})}e.on("mouseover",a.bind(n,this,"highlight")).on("mouseout",a.bind(n,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return l.getItemAlign(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(e,t,n,r,a){if(t){var o=new i.Group,s=this.visualMapModel.textStyleModel;o.add(new i.Text({style:{x:r?"right"===a?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:r?a:"center",text:t,textFont:s.getFont(),fill:s.getTextColor()}})),e.add(o)}},_getViewData:function(){var e=this.visualMapModel,t=a.map(e.getPieceList(),function(e,t){return{piece:e,indexInModelPieceList:t}}),n=e.get("text"),r=e.get("orient"),i=e.get("inverse");return("horizontal"===r?i:!i)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},_createItemSymbol:function(e,t,n){e.add(o.createSymbol(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,n=t.option,r=a.clone(n.selected),i=t.getSelectedMapKey(e);"single"===n.selectedMode?(r[i]=!0,a.each(r,function(e,t){r[t]=t===i})):r[i]=!r[i],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}});e.exports=u},function(e,t,n){n(618),n(620),n(236).registerPreprocessor(function(e){e.markPoint=e.markPoint||{}})},function(e,t,n){e.exports=n(619).extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"inside"},emphasis:{show:!0}},itemStyle:{normal:{borderWidth:2}}}})},function(e,t,n){function r(e){a.defaultEmphasis(e.label,a.LABEL_OPTIONS)}var a=n(240),i=n(239),o=n(237),s=n(241),l=s.addCommas,u=s.encodeHTML,c=n(236).extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,n,r){if(__DEV__&&"marker"===this.type)throw new Error("Marker component is abstract component. Use markLine, markPoint, markArea instead.");this.mergeDefaultAndTheme(e,n),this.mergeOption(e,n,r.createdBySelf,!0)},isAnimationEnabled:function(){if(o.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t,n,a){var o=this.constructor,s=this.mainType+"Model";n||t.eachSeries(function(e){var n=e.get(this.mainType),l=e[s];return n&&n.data?(l?l.mergeOption(n,t,!0):(a&&r(n),i.each(n.data,function(e){e instanceof Array?(r(e[0]),r(e[1])):r(e)}),l=new o(n,this,t),i.extend(l,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),l.__hostSeries=e),void(e[s]=l)):void(e[s]=null)},this)},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),r=i.isArray(n)?i.map(n,l).join(", "):l(n),a=t.getName(e),o=u(this.name);return(null!=n||a)&&(o+="
"),a&&(o+=u(a),null!=n&&(o+=" : ")),null!=n&&(o+=u(r)),o},getData:function(){return this._data},setData:function(e){this._data=e}});i.mixin(c,a.dataFormatMixin),e.exports=c},function(e,t,n){function r(e,t,n){var r=t.coordinateSystem;e.each(function(a){var i,o=e.getItemModel(a),l=s.parsePercent(o.get("x"),n.getWidth()),u=s.parsePercent(o.get("y"),n.getHeight());if(isNaN(l)||isNaN(u)){if(t.getMarkerPosition)i=t.getMarkerPosition(e.getValues(e.dimensions,a));else if(r){var c=e.get(r.dimensions[0],a),h=e.get(r.dimensions[1],a);i=r.dataToPoint([c,h])}}else i=[l,u];isNaN(l)||(i[0]=l),isNaN(u)||(i[1]=u),e.setItemLayout(a,i)})}function a(e,t,n){var r;r=e?o.map(e&&e.dimensions,function(e){var n=t.getData().getDimensionInfo(t.coordDimToDataDim(e)[0])||{};return n.name=e,n}):[{name:"value",type:"float"}];var a=new l(r,n),i=o.map(n.get("data"),o.curry(u.dataTransform,t));return e&&(i=o.filter(i,o.curry(u.dataFilter,e))),a.initData(i,null,e?u.dimValueGetter:function(e){return e.value}),a}var i=n(351),o=n(239),s=n(242),l=n(333),u=n(621);n(622).extend({type:"markPoint",updateLayout:function(e,t,n){t.eachSeries(function(e){var t=e.markPointModel;t&&(r(t.getData(),e,n),this.markerGroupMap[e.name].updateLayout(t))},this)},renderSeries:function(e,t,n,o){var s=e.coordinateSystem,l=e.name,u=e.getData(),c=this.markerGroupMap,h=c[l];h||(h=c[l]=new i);var d=a(s,e,t);t.setData(d),r(t.getData(),e,o),d.each(function(e){var n=d.getItemModel(e),r=n.getShallow("symbolSize");"function"==typeof r&&(r=r(t.getRawValue(e),t.getDataParams(e))),d.setItemVisual(e,{symbolSize:r,color:n.get("itemStyle.normal.color")||u.getVisual("color"),symbol:n.getShallow("symbol")})}),h.updateData(d),this.group.add(h.group),d.eachItemGraphicEl(function(e){e.traverse(function(e){e.dataModel=t})}),h.__keep=!0,h.group.silent=t.get("silent")||e.get("silent")}})},function(e,t,n){function r(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function a(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function i(e,t,n){var r=-1;do r=Math.max(l.getPrecision(e.get(t,n)),r),e=e.stackedOn;while(e);return r}function o(e,t,n,r,a,o){var s=[],l=m(t,r,e),u=t.indicesOfNearest(r,l,!0)[0];s[a]=t.get(n,u,!0),s[o]=t.get(r,u,!0);var c=i(t,r,u);return c>=0&&(s[o]=+s[o].toFixed(c)),s}var s=n(239),l=n(242),u=s.indexOf,c=s.curry,h={min:c(o,"min"),max:c(o,"max"),average:c(o,"average")},d=function(e,t){var n=e.getData(),r=e.coordinateSystem;if(t&&!a(t)&&!s.isArray(t.coord)&&r){var i=r.dimensions,o=p(t,n,r,e);if(t=s.clone(t),t.type&&h[t.type]&&o.baseAxis&&o.valueAxis){var l=u(i,o.baseAxis.dim),c=u(i,o.valueAxis.dim);t.coord=h[t.type](n,o.baseDataDim,o.valueDataDim,l,c),t.value=t.coord[c]}else{for(var d=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],f=0;f<2;f++)if(h[d[f]]){var g=e.coordDimToDataDim(i[f])[0];d[f]=m(n,g,d[f])}t.coord=d}}return t},p=function(e,t,n,r){var a={};return null!=e.valueIndex||null!=e.valueDim?(a.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,a.valueAxis=n.getAxis(r.dataDimToCoordDim(a.valueDataDim)),a.baseAxis=n.getOtherAxis(a.valueAxis),a.baseDataDim=r.coordDimToDataDim(a.baseAxis.dim)[0]):(a.baseAxis=r.getBaseAxis(),a.valueAxis=n.getOtherAxis(a.baseAxis),a.baseDataDim=r.coordDimToDataDim(a.baseAxis.dim)[0],a.valueDataDim=r.coordDimToDataDim(a.valueAxis.dim)[0]),a},f=function(e,t){return!(e&&e.containData&&t.coord&&!r(t))||e.containData(t.coord)},g=function(e,t,n,r){return r<2?e.coord&&e.coord[r]:e.value},m=function(e,t,n){if("average"===n){var r=0,a=0;return e.each(t,function(e,t){isNaN(e)||(r+=e,a++)},!0),r/a}return e.getDataExtent(t,!0)["max"===n?1:0]};e.exports={dataTransform:d,dataFilter:f,dimValueGetter:g,getAxisInfo:p,numCalculate:m}},function(e,t,n){e.exports=n(236).extendComponentView({type:"marker",init:function(){this.markerGroupMap={}},render:function(e,t,n){var r=this.markerGroupMap;for(var a in r)r.hasOwnProperty(a)&&(r[a].__keep=!1);var i=this.type+"Model";t.eachSeries(function(e){var r=e[i];r&&this.renderSeries(e,r,t,n)},this);for(var a in r)r.hasOwnProperty(a)&&!r[a].__keep&&this.group.remove(r[a].group)}, -renderSeries:function(){}})},function(e,t,n){n(624),n(625),n(236).registerPreprocessor(function(e){e.markLine=e.markLine||{}})},function(e,t,n){e.exports=n(619).extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"end"},emphasis:{show:!0}},lineStyle:{normal:{type:"dashed"},emphasis:{width:3}},animationEasing:"linear"}})},function(e,t,n){function r(e){return!isNaN(e)&&!isFinite(e)}function a(e,t,n,a){var i=1-e,o=a.dimensions[e];return r(t[i])&&r(n[i])&&t[e]===n[e]&&a.getAxis(o).containData(t[e])}function i(e,t){if("cartesian2d"===e.type){var n=t[0].coord,r=t[1].coord;if(n&&r&&(a(1,n,r,e)||a(0,n,r,e)))return!0}return h.dataFilter(e,t[0])&&h.dataFilter(e,t[1])}function o(e,t,n,a,i){var o,s=a.coordinateSystem,l=e.getItemModel(t),u=c.parsePercent(l.get("x"),i.getWidth()),h=c.parsePercent(l.get("y"),i.getHeight());if(isNaN(u)||isNaN(h)){if(a.getMarkerPosition)o=a.getMarkerPosition(e.getValues(e.dimensions,t));else{var d=s.dimensions,p=e.get(d[0],t),f=e.get(d[1],t);o=s.dataToPoint([p,f])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y"),d=s.dimensions;r(e.get(d[0],t))?o[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):r(e.get(d[1],t))&&(o[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(u)||(o[0]=u),isNaN(h)||(o[1]=h)}else o=[u,h];e.setItemLayout(t,o)}function s(e,t,n){var r;r=e?l.map(e&&e.dimensions,function(e){var n=t.getData().getDimensionInfo(t.coordDimToDataDim(e)[0])||{};return n.name=e,n}):[{name:"value",type:"float"}];var a=new u(r,n),o=new u(r,n),s=new u([],n),c=l.map(n.get("data"),l.curry(p,t,e,n));e&&(c=l.filter(c,l.curry(i,e)));var d=e?h.dimValueGetter:function(e){return e.value};return a.initData(l.map(c,function(e){return e[0]}),null,d),o.initData(l.map(c,function(e){return e[1]}),null,d),s.initData(l.map(c,function(e){return e[2]})),s.hasItemOption=!0,{from:a,to:o,line:s}}var l=n(239),u=n(333),c=n(242),h=n(621),d=n(444),p=function(e,t,n,r){var a=e.getData(),i=r.type;if(!l.isArray(r)&&("min"===i||"max"===i||"average"===i||null!=r.xAxis||null!=r.yAxis)){var o,s,u;if(null!=r.yAxis||null!=r.xAxis)s=null!=r.yAxis?"y":"x",o=t.getAxis(s),u=l.retrieve(r.yAxis,r.xAxis);else{var c=h.getAxisInfo(r,a,t,e);s=c.valueDataDim,o=c.valueAxis,u=h.numCalculate(a,s,i)}var d="x"===s?0:1,p=1-d,f=l.clone(r),g={};f.type=null,f.coord=[],g.coord=[],f.coord[p]=-(1/0),g.coord[p]=1/0;var m=n.get("precision");m>=0&&"number"==typeof u&&(u=+u.toFixed(m)),f.coord[d]=g.coord[d]=u,r=[f,g,{type:i,valueIndex:r.valueIndex,value:u}]}return r=[h.dataTransform(e,r[0]),h.dataTransform(e,r[1]),l.extend({},r[2])],r[2].type=r[2].type||"",l.merge(r[2],r[0]),l.merge(r[2],r[1]),r};n(622).extend({type:"markLine",updateLayout:function(e,t,n){t.eachSeries(function(e){var t=e.markLineModel;if(t){var r=t.getData(),a=t.__from,i=t.__to;a.each(function(t){o(a,t,!0,e,n),o(i,t,!1,e,n)}),r.each(function(e){r.setItemLayout(e,[a.getItemLayout(e),i.getItemLayout(e)])}),this.markerGroupMap[e.name].updateLayout()}},this)},renderSeries:function(e,t,n,r){function a(t,n,a){var i=t.getItemModel(n);o(t,n,a,e,r),t.setItemVisual(n,{symbolSize:i.get("symbolSize")||x[a?0:1],symbol:i.get("symbol",!0)||y[a?0:1],color:i.get("itemStyle.normal.color")||c.getVisual("color")})}var i=e.coordinateSystem,u=e.name,c=e.getData(),h=this.markerGroupMap,p=h[u];p||(p=h[u]=new d),this.group.add(p.group);var f=s(i,e,t),g=f.from,m=f.to,v=f.line;t.__from=g,t.__to=m,t.setData(v);var y=t.get("symbol"),x=t.get("symbolSize");l.isArray(y)||(y=[y,y]),"number"==typeof x&&(x=[x,x]),f.from.each(function(e){a(g,e,!0),a(m,e,!1)}),v.each(function(e){var t=v.getItemModel(e).get("lineStyle.normal.color");v.setItemVisual(e,{color:t||g.getItemVisual(e,"color")}),v.setItemLayout(e,[g.getItemLayout(e),m.getItemLayout(e)]),v.setItemVisual(e,{fromSymbolSize:g.getItemVisual(e,"symbolSize"),fromSymbol:g.getItemVisual(e,"symbol"),toSymbolSize:m.getItemVisual(e,"symbolSize"),toSymbol:m.getItemVisual(e,"symbol")})}),p.updateData(v),f.line.eachItemGraphicEl(function(e,n){e.traverse(function(e){e.dataModel=t})}),p.__keep=!0,p.group.silent=t.get("silent")||e.get("silent")}})},function(e,t,n){n(627),n(628),n(236).registerPreprocessor(function(e){e.markArea=e.markArea||{}})},function(e,t,n){e.exports=n(619).extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{normal:{show:!0,position:"top"},emphasis:{show:!0,position:"top"}},itemStyle:{normal:{borderWidth:0}}}})},function(e,t,n){function r(e){return!isNaN(e)&&!isFinite(e)}function a(e,t,n,a){var i=1-e;return r(t[i])&&r(n[i])}function i(e,t){var n=t.coord[0],r=t.coord[1];return!("cartesian2d"!==e.type||!n||!r||!a(1,n,r,e)&&!a(0,n,r,e))||(p.dataFilter(e,{coord:n,x:t.x0,y:t.y0})||p.dataFilter(e,{coord:r,x:t.x1,y:t.y1}))}function o(e,t,n,a,i){var o,s=a.coordinateSystem,l=e.getItemModel(t),u=c.parsePercent(l.get(n[0]),i.getWidth()),h=c.parsePercent(l.get(n[1]),i.getHeight());if(isNaN(u)||isNaN(h)){if(a.getMarkerPosition)o=a.getMarkerPosition(e.getValues(n,t));else{var d=e.get(n[0],t),p=e.get(n[1],t);o=s.dataToPoint([d,p],!0)}if("cartesian2d"===s.type){var f=s.getAxis("x"),g=s.getAxis("y"),d=e.get(n[0],t),p=e.get(n[1],t);r(d)?o[0]=f.toGlobalCoord(f.getExtent()["x0"===n[0]?0:1]):r(p)&&(o[1]=g.toGlobalCoord(g.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(o[0]=u),isNaN(h)||(o[1]=h)}else o=[u,h];return o}function s(e,t,n){var r,a,o=["x0","y0","x1","y1"];e?(r=l.map(e&&e.dimensions,function(e){var n=t.getData().getDimensionInfo(t.coordDimToDataDim(e)[0])||{};return n.name=e,n}),a=new u(l.map(o,function(e,t){return{name:e,type:r[t%2].type}}),n)):(r=[{name:"value",type:"float"}],a=new u(r,n));var s=l.map(n.get("data"),l.curry(f,t,e,n));e&&(s=l.filter(s,l.curry(i,e)));var c=e?function(e,t,n,r){return e.coord[Math.floor(r/2)][r%2]}:function(e){return e.value};return a.initData(s,null,c),a.hasItemOption=!0,a}var l=n(239),u=n(333),c=n(242),h=n(279),d=n(274),p=n(621),f=function(e,t,n,r){var a=p.dataTransform(e,r[0]),i=p.dataTransform(e,r[1]),o=l.retrieve,s=a.coord,u=i.coord;s[0]=o(s[0],-(1/0)),s[1]=o(s[1],-(1/0)),u[0]=o(u[0],1/0),u[1]=o(u[1],1/0);var c=l.mergeAll([{},a,i]);return c.coord=[a.coord,i.coord],c.x0=a.x,c.y0=a.y,c.x1=i.x,c.y1=i.y,c},g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];n(622).extend({type:"markArea",updateLayout:function(e,t,n){t.eachSeries(function(e){var t=e.markAreaModel;if(t){var r=t.getData();r.each(function(t){var a=l.map(g,function(a){return o(r,t,a,e,n)});r.setItemLayout(t,a);var i=r.getItemGraphicEl(t);i.setShape("points",a)})}},this)},renderSeries:function(e,t,n,r){var a=e.coordinateSystem,i=e.name,u=e.getData(),c=this.markerGroupMap,p=c[i];p||(p=c[i]={group:new h.Group}),this.group.add(p.group),p.__keep=!0;var f=s(a,e,t);t.setData(f),f.each(function(t){f.setItemLayout(t,l.map(g,function(n){return o(f,t,n,e,r)})),f.setItemVisual(t,{color:u.getVisual("color")})}),f.diff(p.__data).add(function(e){var t=new h.Polygon({shape:{points:f.getItemLayout(e)}});f.setItemGraphicEl(e,t),p.group.add(t)}).update(function(e,n){var r=p.__data.getItemGraphicEl(n);h.updateProps(r,{shape:{points:f.getItemLayout(e)}},t,e),p.group.add(r),f.setItemGraphicEl(e,r)}).remove(function(e){var t=p.__data.getItemGraphicEl(e);p.group.remove(t)}).execute(),f.eachItemGraphicEl(function(e,n){var r=f.getItemModel(n),a=r.getModel("label.normal"),i=r.getModel("label.emphasis"),o=f.getItemVisual(n,"color");e.useStyle(l.defaults(r.getModel("itemStyle.normal").getItemStyle(),{fill:d.modifyAlpha(o,.4),stroke:o})),e.hoverStyle=r.getModel("itemStyle.normal").getItemStyle();var s=f.getName(n)||"",u=o||e.style.fill;a.getShallow("show")?(h.setText(e.style,a,u),e.style.text=l.retrieve(t.getFormattedLabel(n,"normal"),s)):e.style.text="",i.getShallow("show")?(h.setText(e.hoverStyle,i,u),e.hoverStyle.text=l.retrieve(t.getFormattedLabel(n,"emphasis"),s)):e.hoverStyle.text="",h.setHoverStyle(e,{}),e.dataModel=t}),p.__data=f,p.group.silent=t.get("silent")||e.get("silent")}})},function(e,t,n){var r=n(236);r.registerPreprocessor(n(630)),n(631),n(632),n(633),n(635)},function(e,t,n){function r(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),a(e),i(e,"controlPosition")){var r=e.controlStyle||(e.controlStyle={});i(r,"position")||(r.position=e.controlPosition),"none"!==r.position||i(r,"show")||(r.show=!1,delete r.position),delete e.controlPosition}o.each(e.data||[],function(e){o.isObject(e)&&!o.isArray(e)&&(!i(e,"value")&&i(e,"name")&&(e.value=e.name),a(e))})}function a(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),r=e.label||e.label||{},a=r.normal||(r.normal={}),s={normal:1,emphasis:1};o.each(r,function(e,t){s[t]||i(a,t)||(a[t]=e)}),n.label&&!i(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function i(e,t){return e.hasOwnProperty(t)}var o=n(239);e.exports=function(e){var t=e&&e.timeline;o.isArray(t)||(t=t?[t]:[]),o.each(t,function(e){e&&r(e)})}},function(e,t,n){n(254).registerSubTypeDefaulter("timeline",function(){return"slider"})},function(e,t,n){var r=n(236),a=n(239);r.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(e,t){var n=t.getComponent("timeline");return n&&null!=e.currentIndex&&(n.setCurrentIndex(e.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),t.resetOption("timeline"),a.defaults({currentIndex:n.option.currentIndex},e)}),r.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)})},function(e,t,n){var r=n(634),a=n(239),i=n(240),o=r.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",normal:{show:!0,interval:"auto",rotate:0,textStyle:{color:"#304654"}},emphasis:{show:!0,textStyle:{color:"#c23531"}}},itemStyle:{normal:{color:"#304654",borderWidth:1},emphasis:{color:"#c23531"}},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",normal:{color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});a.mixin(o,i.dataFormatMixin),e.exports=o},function(e,t,n){var r=n(254),a=n(333),i=n(239),o=n(240),s=r.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{normal:{},emphasis:{}},label:{normal:{textStyle:{color:"#000"}},emphasis:{}},data:[]},init:function(e,t,n){this._data,this._names,this.mergeDefaultAndTheme(e,n),this._initData()},mergeOption:function(e){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],n=e.axisType,r=this._names=[];if("category"===n){var s=[];i.each(t,function(e,t){var n,a=o.getDataItemValue(e);i.isObject(e)?(n=i.clone(e),n.value=t):n=t,s.push(n),i.isString(a)||null!=a&&!isNaN(a)||(a=""),r.push(a+"")}),t=s}var l={category:"ordinal",time:"time"}[n]||"number",u=this._data=new a([{name:"value",type:l}],this);u.initData(t,r)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});e.exports=s},function(e,t,n){function r(e,t){return u.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function a(e,t,n,r){var a=l.makePath(e.get(t).replace(/^path:\/\//,""),s.clone(r||{}),new f(n[0],n[1],n[2],n[3]),"center");return a}function i(e,t,n,r,a,i){var o=t.get("color");if(a)a.setColor(o),n.add(a),i&&i.onUpdate(a);else{var l=e.get("symbol");a=d.createSymbol(l,-1,-1,2,2,o),a.setStyle("strokeNoScale",!0),n.add(a),i&&i.onCreate(a)}var u=t.getItemStyle(["color","symbol","symbolSize"]);a.setStyle(u),r=s.merge({rectHover:!0,z2:100},r,!0);var c=e.get("symbolSize");c=c instanceof Array?c.slice():[+c,+c],c[0]/=2,c[1]/=2,r.scale=c;var h=e.get("symbolOffset");if(h){var p=r.position=r.position||[0,0];p[0]+=m.parsePercent(h[0],c[0]),p[1]+=m.parsePercent(h[1],c[1])}var f=e.get("symbolRotate");return r.rotation=(f||0)*Math.PI/180||0,a.attr(r),a.updateTransform(),a}function o(e,t,n,r,a){if(!e.dragging){var i=r.getModel("checkpointStyle"),o=n.dataToCoord(r.getData().get(["value"],t));a||!i.get("animation",!0)?e.attr({position:[o,0]}):(e.stopAnimation(!0),e.animateTo({position:[o,0]},i.get("animationDuration",!0),i.get("animationEasing",!0)))}}var s=n(239),l=n(279),u=n(256),c=n(636),h=n(637),d=n(339),p=n(340),f=n(244),g=n(246),m=n(242),v=n(241),y=v.encodeHTML,x=s.bind,_=s.each,b=Math.PI;e.exports=c.extend({type:"timeline.slider",init:function(e,t){this.api=t,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,n,r){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var a=this._layout(e,n),i=this._createGroup("mainGroup"),o=this._createGroup("labelGroup"),s=this._axis=this._createAxis(a,e);e.formatTooltip=function(e){return y(s.scale.getLabel(e))},_(["AxisLine","AxisTick","Control","CurrentPointer"],function(t){this["_render"+t](a,i,s,e)},this),this._renderAxisLabel(a,o,s,e),this._position(a,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(e,t){var n=e.get("label.normal.position"),a=e.get("orient"),i=r(e,t);null==n||"auto"===n?n="horizontal"===a?i.y+i.height/2=0||"+"===n?"left":"right"},s={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},l={horizontal:0,vertical:b/2},u="vertical"===a?i.height:i.width,c=e.getModel("controlStyle"),h=c.get("show"),d=h?c.get("itemSize"):0,p=h?c.get("itemGap"):0,f=d+p,g=e.get("label.normal.rotate")||0;g=g*b/180;var m,v,y,x,_=c.get("position",!0),h=c.get("show",!0),w=h&&c.get("showPlayBtn",!0),S=h&&c.get("showPrevBtn",!0),M=h&&c.get("showNextBtn",!0),C=0,T=u;return"left"===_||"bottom"===_?(w&&(m=[0,0],C+=f),S&&(v=[C,0],C+=f),M&&(y=[T-d,0],T-=f)):(w&&(m=[T-d,0],T-=f),S&&(v=[0,0],C+=f),M&&(y=[T-d,0],T-=f)),x=[C,T],e.get("inverse")&&x.reverse(),{viewRect:i,mainLength:u,orient:a,rotation:l[a],labelRotation:g,labelPosOpt:n,labelAlign:o[a],labelBaseline:s[a],playPosition:m,prevBtnPosition:v,nextBtnPosition:y,axisExtent:x,controlSize:d,controlGap:p}},_position:function(e,t){function n(e){var t=e.position;e.origin=[h[0][0]-t[0],h[1][0]-t[1]]}function r(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function a(e,t,n,r,a){e[r]+=n[r][a]-t[r][a]}var i=this._mainGroup,o=this._labelGroup,s=e.viewRect;if("vertical"===e.orient){var l=g.create(),u=s.x,c=s.y+s.height;g.translate(l,l,[-u,-c]),g.rotate(l,l,-b/2),g.translate(l,l,[u,c]),s=s.clone(),s.applyTransform(l)}var h=r(s),d=r(i.getBoundingRect()),p=r(o.getBoundingRect()),f=i.position,m=o.position;m[0]=f[0]=h[0][0];var v=e.labelPosOpt;if(isNaN(v)){var y="+"===v?0:1;a(f,d,h,1,y),a(m,p,h,1,1-y)}else{var y=v>=0?0:1;a(f,d,h,1,y),m[1]=f[1]+v}i.attr("position",f),o.attr("position",m),i.rotation=o.rotation=e.rotation,n(i),n(o)},_createAxis:function(e,t){var n=t.getData(),r=t.get("axisType"),a=p.createScaleByModel(t,r),i=n.getDataExtent("value");a.setExtent(i[0],i[1]),this._customizeScale(a,n),a.niceTicks();var o=new h("value",a,e.axisExtent,r);return o.model=t,o},_customizeScale:function(e,t){e.getTicks=function(){return t.mapArray(["value"],function(e){return e})},e.getTicksLabels=function(){return s.map(this.getTicks(),e.getLabel,e)}},_createGroup:function(e){var t=this["_"+e]=new l.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,n,r){var a=n.getExtent();r.get("lineStyle.show")&&t.add(new l.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:s.extend({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,n,r){var a=r.getData(),o=n.scale.getTicks();_(o,function(e,o){var s=n.dataToCoord(e),u=a.getItemModel(o),c=u.getModel("itemStyle.normal"),h=u.getModel("itemStyle.emphasis"),d={position:[s,0],onclick:x(this._changeTimeline,this,o)},p=i(u,c,t,d);l.setHoverStyle(p,h.getItemStyle()),u.get("tooltip")?(p.dataIndex=o,p.dataModel=r):p.dataIndex=p.dataModel=null},this)},_renderAxisLabel:function(e,t,n,r){var a=r.getModel("label.normal");if(a.get("show")){var i=r.getData(),o=n.scale.getTicks(),s=p.getFormattedLabels(n,a.get("formatter")),u=n.getLabelInterval();_(o,function(r,a){if(!n.isLabelIgnored(a,u)){var o=i.getItemModel(a),c=o.getModel("label.normal.textStyle"),h=o.getModel("label.emphasis.textStyle"),d=n.dataToCoord(r),p=new l.Text({style:{text:s[a],textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline,textFont:c.getFont(),fill:c.getTextColor()},position:[d,0],rotation:e.labelRotation-e.rotation,onclick:x(this._changeTimeline,this,a),silent:!1});t.add(p),l.setHoverStyle(p,h.getItemStyle())}},this)}},_renderControl:function(e,t,n,r){function i(e,n,i,d){if(e){var p={position:e,origin:[o/2,0],rotation:d?-s:0,rectHover:!0,style:u,onclick:i},f=a(r,n,h,p);t.add(f),l.setHoverStyle(f,c)}}var o=e.controlSize,s=e.rotation,u=r.getModel("controlStyle.normal").getItemStyle(),c=r.getModel("controlStyle.emphasis").getItemStyle(),h=[0,-o/2,o,o],d=r.getPlayState(),p=r.get("inverse",!0);i(e.nextBtnPosition,"controlStyle.nextIcon",x(this._changeTimeline,this,p?"-":"+")),i(e.prevBtnPosition,"controlStyle.prevIcon",x(this._changeTimeline,this,p?"+":"-")),i(e.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),x(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(e,t,n,r){var a=r.getData(),s=r.getCurrentIndex(),l=a.getItemModel(s).getModel("checkpointStyle"),u=this,c={onCreate:function(e){e.draggable=!0,e.drift=x(u._handlePointerDrag,u),e.ondragend=x(u._handlePointerDragend,u),o(e,s,n,r,!0)},onUpdate:function(e){o(e,s,n,r)}};this._currentPointer=i(l,l,this._mainGroup,{},this._currentPointer,c)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var n=this._toAxisCoord(e)[0],r=this._axis,a=m.asc(r.getExtent().slice());n>a[1]&&(n=a[1]),nn.getHeight()&&(r.textPosition="top",s=!0);var l=s?-5-a.height:g+8;i+a.width/2>n.getWidth()?(r.textPosition=["100%",l],r.textAlign="right"):i-a.width/2<0&&(r.textPosition=[0,l],r.textAlign="left")}})}},updateView:function(e,t,n,r){i.each(this._features,function(e){e.updateView&&e.updateView(e.model,t,n,r)})},updateLayout:function(e,t,n,r){i.each(this._features,function(e){e.updateLayout&&e.updateLayout(e.model,t,n,r)})},remove:function(e,t){i.each(this._features,function(n){n.remove&&n.remove(e,t)}),this.group.removeAll()},dispose:function(e,t){i.each(this._features,function(n){n.dispose&&n.dispose(e,t)})}})}).call(t,n(112))},function(e,t,n){function r(e){this.model=e}var a=n(237);r.defaultOption={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:"保存为图片",type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:["右键另存为图片"]},r.prototype.unusable=!a.canvasSupported;var i=r.prototype;i.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",i=document.createElement("a"),o=n.get("type",!0)||"png";i.download=r+"."+o,i.target="_blank";var s=t.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if(i.href=s,"function"!=typeof MouseEvent||a.browser.ie||a.browser.edge){var l=n.get("lang"),u='',c=window.open();c.document.write(u)}else{var h=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});i.dispatchEvent(h)}},n(583).register("saveAsImage",r),e.exports=r},function(e,t,n){"use strict";function r(e){this.model=e}var a=n(239);r.defaultOption={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",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"},option:{},seriesIndex:{}};var i=r.prototype;i.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return a.each(e.get("type"),function(e){t[e]&&(n[e]=t[e])}),n};var o={line:function(e,t,n,r){if("bar"===e)return a.merge({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get("option.line")||{},!0)},bar:function(e,t,n,r){if("line"===e)return a.merge({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get("option.bar")||{},!0)},stack:function(e,t,n,r){if("line"===e||"bar"===e)return a.merge({id:t,stack:"__ec_magicType_stack__"},r.get("option.stack")||{},!0)},tiled:function(e,t,n,r){if("line"===e||"bar"===e)return a.merge({id:t,stack:""},r.get("option.tiled")||{},!0)}},s=[["line","bar"],["stack","tiled"]];i.onclick=function(e,t,n){var r=this.model,i=r.get("seriesIndex."+n);if(o[n]){var l={series:[]},u=function(t){var i=t.subType,s=t.id,u=o[n](i,s,t,r);u&&(a.defaults(u,t.option),l.series.push(u));var c=t.coordinateSystem;if(c&&"cartesian2d"===c.type&&("line"===n||"bar"===n)){var h=c.getAxesByScale("ordinal")[0];if(h){var d=h.dim,p=d+"Axis",f=e.queryComponents({mainType:p,index:t.get(name+"Index"),id:t.get(name+"Id")})[0],g=f.componentIndex;l[p]=l[p]||[];for(var m=0;m<=g;m++)l[p][g]=l[p][g]||{};l[p][g].boundaryGap="bar"===n}}};a.each(s,function(e){a.indexOf(e,n)>=0&&a.each(e,function(e){r.setIconStatus(e,"normal")})}),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},u),t.dispatchAction({type:"changeMagicType",currentType:n,newOption:l})}};var l=n(236);l.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)}),n(583).register("magicType",r),e.exports=r},function(e,t,n){function r(e){var t={},n=[],r=[];return e.eachRawSeries(function(e){var a=e.coordinateSystem;if(!a||"cartesian2d"!==a.type&&"polar"!==a.type)n.push(e);else{var i=a.getBaseAxis();if("category"===i.type){var o=i.dim+"_"+i.index;t[o]||(t[o]={categoryAxis:i,valueAxis:a.getOtherAxis(i),series:[]},r.push({axisDim:i.dim,axisIndex:i.index})),t[o].series.push(e)}else n.push(e)}}),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function a(e){var t=[];return f.each(e,function(e,n){var r=e.categoryAxis,a=e.valueAxis,i=a.dim,o=[" "].concat(f.map(e.series,function(e){return e.name})),s=[r.model.getCategories()];f.each(e.series,function(e){s.push(e.getRawData().mapArray(i,function(e){return e}))});for(var l=[o.join(v)],u=0;u=0)return!0}function u(e){for(var t=e.split(/\n+/g),n=s(t.shift()).split(y),r=[],a=f.map(n,function(e){return{name:e,data:[]}}),i=0;i1?"emphasis":"normal")}function o(e,t,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var s=new u(a(e.option),t,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(i,function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"})).enableBrush(!!o&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}var s=n(239),l=n(479),u=n(578),c=n(645),h=s.each;n(646);var d="\0_ec_\0toolbox-dataZoom_";r.defaultOption={show:!0,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:{zoom:"区域缩放",back:"区域缩放还原"}};var p=r.prototype;p.render=function(e,t,n,r){this.model=e,this.ecModel=t,this.api=n,o(e,t,this,r,n),i(e,t)},p.onclick=function(e,t,n){f[n].call(this)},p.remove=function(e,t){this._brushController.unmount()},p.dispose=function(e,t){this._brushController.dispose()};var f={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(c.pop(this.ecModel))}};p._onBrush=function(e,t){function n(e,t,n){var a=r(e,t.getAxis(e).model,o);a&&(i[a.id]={dataZoomId:a.id,startValue:n[0],endValue:n[1]})}function r(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){var a=n.getAxisModel(e,t.componentIndex);a&&(r=n)}),r}if(t.isEnd&&e.length){var i={},o=this.ecModel;this._brushController.updateCovers([]);var s=new u(a(this.model.option),o,{include:["grid"]});s.matchOutputRanges(e,o,function(e,t,r){if("cartesian2d"===r.type){var a=e.brushType;"rect"===a?(n("x",r,t[0]),n("y",r,t[1])):n({lineX:"x",lineY:"y"}[a],r,t)}}),c.push(o,i),this._dispatchZoomAction(i)}},p._dispatchZoomAction=function(e){var t=[];h(e,function(e,n){t.push(s.clone(e))}),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},n(583).register("dataZoom",r),n(236).registerPreprocessor(function(e){function t(e,t){if(t){var a=e+"Index",i=t[a];null==i||"all"==i||s.isArray(i)||(i=i===!1||"none"===i?[]:[i]),n(e,function(t,n){if(null==i||"all"==i||s.indexOf(i,n)!==-1){var o={type:"select",$fromToolbox:!0,id:d+e+n};o[a]=n,r.push(o)}})}}function n(t,n){var r=e[t];s.isArray(r)||(r=r?[r]:[]),h(r,n)}if(e){var r=e.dataZoom||(e.dataZoom=[]);s.isArray(r)||(e.dataZoom=r=[r]);var a=e.toolbox;if(a&&(s.isArray(a)&&(a=a[0]),a&&a.feature)){var i=a.feature.dataZoom;t("xAxis",i),t("yAxis",i)}}}),e.exports=r},function(e,t,n){function r(e){var t=e[o];return t||(t=e[o]=[{}]),t}var a=n(239),i=a.each,o="\0_ec_hist_store",s={push:function(e,t){var n=r(e);i(t,function(t,r){for(var a=n.length-1;a>=0;a--){var i=n[a];if(i[r])break}if(a<0){var o=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(o){var s=o.getPercentRange();n[0][r]={dataZoomId:r,start:s[0],end:s[1]}}}}),n.push(t)},pop:function(e){var t=r(e),n=t[t.length-1];t.length>1&&t.pop();var a={};return i(n,function(e,n){for(var r=t.length-1;r>=0;r--){var e=t[r][n];if(e){a[n]=e;break}}}),a},clear:function(e){e[o]=null},count:function(e){return r(e).length}};e.exports=s},function(e,t,n){n(590),n(591),n(594),n(647),n(648),n(600),n(601)},function(e,t,n){var r=n(591);e.exports=r.extend({type:"dataZoom.select"})},function(e,t,n){e.exports=n(594).extend({type:"dataZoom.select"})},function(e,t,n){"use strict";function r(e){this.model=e}var a=n(645);r.defaultOption={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:"还原"};var i=r.prototype;i.onclick=function(e,t,n){a.clear(e),t.dispatchAction({type:"restore",from:this.uid})},n(583).register("restore",r),n(236).registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")}),e.exports=r},function(e,t,n){n(651),n(317).registerPainter("vml",n(653))},function(e,t,n){if(!n(237).canvasSupported){var r=n(245),a=n(244),i=n(285).CMD,o=n(274),s=n(243),l=n(284),u=n(282),c=n(297),h=n(298),d=n(281),p=n(285),f=n(314),g=n(652),m=Math.round,v=Math.sqrt,y=Math.abs,x=Math.cos,_=Math.sin,b=Math.max,w=r.applyTransform,S=",",M="progid:DXImageTransform.Microsoft",C=21600,T=C/2,A=1e5,I=1e3,E=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=C+","+C,e.coordorigin="0,0"},P=function(e){return String(e).replace(/&/g,"&").replace(/"/g,""")},L=function(e,t,n){return"rgb("+[e,t,n].join(",")+")"},D=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},k=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},O=function(e,t,n){return(parseFloat(e)||0)*A+(parseFloat(t)||0)*I+n},R=function(e,t){return"string"==typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e},N=function(e,t,n){var r=o.parse(t);n=+n,isNaN(n)&&(n=1),r&&(e.color=L(r[0],r[1],r[2]),e.opacity=n*r[3])},V=function(e){var t=o.parse(e);return[L(t[0],t[1],t[2]),t[3]]},z=function(e,t,n){var r=t.fill;if(null!=r)if(r instanceof f){var a,i=0,o=[0,0],s=0,l=1,u=n.getBoundingRect(),c=u.width,h=u.height;if("linear"===r.type){a="gradient";var d=n.transform,p=[r.x*c,r.y*h],g=[r.x2*c,r.y2*h];d&&(w(p,p,d),w(g,g,d));var m=g[0]-p[0],v=g[1]-p[1];i=180*Math.atan2(m,v)/Math.PI,i<0&&(i+=360),i<1e-6&&(i=0)}else{a="gradientradial";var p=[r.x*c,r.y*h],d=n.transform,y=n.scale,x=c,_=h;o=[(p[0]-u.x)/x,(p[1]-u.y)/_],d&&w(p,p,d),x/=y[0]*C,_/=y[1]*C;var S=b(x,_);s=0/S,l=2*r.r/S-s}var M=r.colorStops.slice();M.sort(function(e,t){return e.offset-t.offset});for(var T=M.length,A=[],I=[],E=0;E=2){var D=A[0][0],k=A[1][0],O=A[0][1]*t.opacity,R=A[1][1]*t.opacity;e.type=a,e.method="none",e.focus="100%",e.angle=i,e.color=D,e.color2=k,e.colors=I.join(","),e.opacity=R,e.opacity2=O}"radial"===a&&(e.focusposition=o.join(","))}else N(e,r,t.opacity)},B=function(e,t){null!=t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof f||N(e,t.stroke,t.opacity)},F=function(e,t,n,r){var a="fill"==t,i=e.getElementsByTagName(t)[0];null!=n[t]&&"none"!==n[t]&&(a||!a&&n.lineWidth)?(e[a?"filled":"stroked"]="true",n[t]instanceof f&&k(e,i),i||(i=g.createNode(t)),a?z(i,n,r):B(i,n),D(e,i)):(e[a?"filled":"stroked"]="false",k(e,i))},G=[[],[],[]],H=function(e,t){var n,r,a,o,s,l,u=i.M,c=i.C,h=i.L,d=i.A,p=i.Q,f=[];for(o=0;o.01?F&&(H+=270/C):Math.abs(W-R)<1e-4?F&&HO?M-=270/C:M+=270/C:F&&WR?b+=270/C:b-=270/C),f.push(j,m(((O-N)*L+E)*C-T),S,m(((R-V)*D+P)*C-T),S,m(((O+N)*L+E)*C-T),S,m(((R+V)*D+P)*C-T),S,m((H*L+E)*C-T),S,m((W*D+P)*C-T),S,m((b*L+E)*C-T),S,m((M*D+P)*C-T)),s=b,l=M;break;case i.R:var U=G[0],q=G[1];U[0]=e[o++],U[1]=e[o++],q[0]=U[0]+e[o++],q[1]=U[1]+e[o++],t&&(w(U,U,t),w(q,q,t)),U[0]=m(U[0]*C-T),q[0]=m(q[0]*C-T),U[1]=m(U[1]*C-T),q[1]=m(q[1]*C-T),f.push(" m ",U[0],S,U[1]," l ",q[0],S,U[1]," l ",q[0],S,q[1]," l ",U[0],S,q[1]);break;case i.Z:f.push(" x ")}if(n>0){f.push(r);for(var Z=0;ZY&&(Z=0,q={});var n,r=X.style;try{r.font=e,n=r.fontFamily.split(",")[0]}catch(e){}t={style:r.fontStyle||U,variant:r.fontVariant||U,weight:r.fontWeight||U,size:0|parseFloat(r.fontSize||12),family:n||"Microsoft YaHei"},q[e]=t,Z++}return t};s.measureText=function(e,t){var n=g.doc;j||(j=n.createElement("div"),j.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",g.doc.body.appendChild(j));try{j.style.font=t}catch(e){}return j.innerHTML="",j.appendChild(n.createTextNode(e)),{width:j.offsetWidth}};for(var Q=new a,J=function(e,t,n,r){var a=this.style,i=a.text;if(null!=i&&(i+=""),i){var o,l,u=a.textAlign,c=K(a.textFont),h=c.style+" "+c.variant+" "+c.weight+" "+c.size+'px "'+c.family+'"',d=a.textBaseline,p=a.textVerticalAlign;n=n||s.getBoundingRect(i,h,u,d);var f=this.transform;if(f&&!r&&(Q.copy(t),Q.applyTransform(f),t=Q),r)o=t.x,l=t.y;else{var v=a.textPosition,y=a.textDistance;if(v instanceof Array)o=t.x+R(v[0],t.width),l=t.y+R(v[1],t.height),u=u||"left",d=d||"top";else{var x=s.adjustTextPositionOnRect(v,t,n,y);o=x.x,l=x.y,u=u||x.textAlign,d=d||x.textBaseline}}if(p){switch(p){case"middle":l-=n.height/2;break;case"bottom":l-=n.height}d="top"}var _=c.size;switch(d){case"hanging":case"top":l+=_/1.75;break;case"middle":break;default:l-=_/2.25}switch(u){case"left":break;case"center":o-=n.width/2;break;case"right":o-=n.width}var b,M,C,T=g.createNode,A=this._textVmlEl;A?(C=A.firstChild,b=C.nextSibling,M=b.nextSibling):(A=T("line"),b=T("path"),M=T("textpath"),C=T("skew"),M.style["v-text-align"]="left",E(A),b.textpathok=!0,M.on=!0,A.from="0 0",A.to="1000 0.05",D(A,C),D(A,b),D(A,M),this._textVmlEl=A);var I=[o,l],L=A.style;f&&r?(w(I,I,f),C.on=!0,C.matrix=f[0].toFixed(3)+S+f[2].toFixed(3)+S+f[1].toFixed(3)+S+f[3].toFixed(3)+",0,0",C.offset=(m(I[0])||0)+","+(m(I[1])||0),C.origin="0 0",L.left="0px",L.top="0px"):(C.on=!1,L.left=m(o)+"px",L.top=m(l)+"px"),M.string=P(i);try{M.style.font=h}catch(e){}F(A,"fill",{fill:r?a.fill:a.textFill,opacity:a.opacity},this),F(A,"stroke",{stroke:r?a.stroke:a.textStroke,opacity:a.opacity,lineDash:a.lineDash},this),A.style.zIndex=O(this.zlevel,this.z,this.z2),D(e,A)}},$=function(e){k(e,this._textVmlEl),this._textVmlEl=null},ee=function(e){D(e,this._textVmlEl)},te=[l,u,c,d,h],ne=0;ne')}}catch(e){r=function(e){return o.createElement("<"+e+' xmlns="'+a+'" class="zrvml">')}}var l=function(){if(!s){s=!0;var e=o.styleSheets;e.length<31?o.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}};e.exports={doc:o,initVML:l,createNode:r}}},function(e,t,n){function r(e){return parseInt(e,10)}function a(e,t){s.initVML(),this.root=e,this.storage=t;var n=document.createElement("div"),r=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",r.style.cssText="position:absolute;left:0;top:0;",e.appendChild(n),this._vmlRoot=r,this._vmlViewport=n,this.resize();var a=t.delFromStorage,i=t.addToStorage;t.delFromStorage=function(e){a.call(t,e),e&&e.onRemove&&e.onRemove(r)},t.addToStorage=function(e){e.onAdd&&e.onAdd(r),i.call(t,e)},this._firstPaint=!0}function i(e){return function(){o('In IE8.0 VML mode painter not support method "'+e+'"')}}var o=n(276),s=n(652);a.prototype={constructor:a,getViewportRoot:function(){return this._vmlViewport},refresh:function(){var e=this.storage.getDisplayList(!0,!0);this._paintList(e)},_paintList:function(e){for(var t=this._vmlRoot,n=0;n{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"left",data:["直接访问","邮件营销","联盟广告","视频广告","搜索引擎"]},series:[{name:"访问来源",type:"pie",radius:"55%",center:["50%","60%"],data:[{value:335,name:"直接访问"},{value:310,name:"邮件营销"},{value:234,name:"联盟广告"},{value:135,name:"视频广告"},{value:1548,name:"搜索引擎"}],itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]};return e},onChartClick:function(e,t){console.log(e,t),alert("chart click")},onChartLegendselectchanged:function(e,t){console.log(e,t),alert("chart legendselectchanged")},onChartReady:function(e){console.log("echart is ready",e)},render:function(){var e={click:this.onChartClick,legendselectchanged:this.onChartLegendselectchanged},t="let onEvents = {\n 'click': this.onChartClick,\n 'legendselectchanged': this.onChartLegendselectchanged\n}\n\n";return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," Chart With event ",i.default.createElement("strong",null," onEvents "),": (Click the chart, and watch the console)"),i.default.createElement(s.default,{option:this.getOtion(),style:{height:300},onChartReady:this.onChartReady,onEvents:e}),i.default.createElement("label",null," code below: "),i.default.createElement("pre",null,i.default.createElement("code",null,t))))}});t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o),l=n(235),u=r(l),c=i.default.createClass({displayName:"ThemeChartComponent",propTypes:{},getOtion:function(){var e={title:{text:"阶梯瀑布图",subtext:"From ExcelHome",sublink:"http://e.weibo.com/1341556070/Aj1J2x5a5"},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:["支出","收入"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",splitLine:{show:!1},data:["11月1日","11月2日","11月3日","11月4日","11月5日","11月6日","11月7日","11月8日","11月9日","11月10日","11月11日"]},yAxis:{type:"value"},series:[{name:"辅助",type:"bar",stack:"总量",itemStyle:{normal:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"},emphasis:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"}},data:[0,900,1245,1530,1376,1376,1511,1689,1856,1495,1292]},{name:"收入",type:"bar",stack:"总量",label:{normal:{show:!0,position:"top"}},data:[900,345,393,"-","-",135,178,286,"-","-","-"]},{name:"支出",type:"bar",stack:"总量",label:{normal:{show:!0,position:"bottom"}},data:["-","-","-",108,154,"-","-","-",119,361,203]}]};return e},registerTheme:function(){u.default.registerTheme("my_theme",{backgroundColor:"#f4cccc"})},render:function(){this.registerTheme();var e="echarts.registerTheme('my_theme', {\n backgroundColor: '#f4cccc'\n});\n\n";return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," render a echart With ",i.default.createElement("strong",null,"theme"),", should ",i.default.createElement("strong",null,"echarts.registerTheme(themeName, themeObj)")," before use."),i.default.createElement(s.default,{option:this.getOtion(),theme:"my_theme"}),i.default.createElement("label",null," the theme object format: https://github.com/ecomfe/echarts/blob/master/theme/dark.js"),i.default.createElement("pre",null,i.default.createElement("code",null,e))))}});t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o),l=i.default.createClass({displayName:"ChartShowLoadingComponent",propTypes:{},_t:null,getOtion:function(){var e={title:{text:"基础雷达图"},tooltip:{},legend:{data:["预算分配(Allocated Budget)","实际开销(Actual Spending)"]},radar:{indicator:[{name:"销售(sales)",max:6500},{name:"管理(Administration)",max:16e3},{name:"信息技术(Information Techology)",max:3e4},{name:"客服(Customer Support)",max:38e3},{name:"研发(Development)",max:52e3},{name:"市场(Marketing)",max:25e3}]},series:[{name:"预算 vs 开销(Budget vs spending)",type:"radar",data:[{value:[4300,1e4,28e3,35e3,5e4,19e3],name:"预算分配(Allocated Budget)"},{value:[5e3,14e3,28e3,31e3,42e3,21e3],name:"实际开销(Actual Spending)"}]}]};return e},onChartReady:function(e){this._t=setTimeout(function(){e.hideLoading()},3e3)},getLoadingOption:function(){var e={text:"加载中...",color:"#4413c2",textColor:"#270240",maskColor:"rgba(194, 88, 86, 0.3)",zlevel:0};return e},componentWillUnmount:function(){clearTimeout(this._t)},render:function(){var e="onChartReady: function(chart) {\n 'chart.hideLoading();\n}\n\n";return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," Chart loading With ",i.default.createElement("strong",null," showLoading "),": (when chart ready, hide the loading mask.)"),i.default.createElement(s.default,{option:this.getOtion(),onChartReady:this.onChartReady,loadingOption:this.getLoadingOption(),showLoading:!0}),i.default.createElement("label",null," code below: "),i.default.createElement("pre",null,i.default.createElement("code",null,e))))}});t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o),l=i.default.createClass({displayName:"ChartAPIComponent",propTypes:{},getOtion:function(){var e={title:{text:"漏斗图",subtext:"纯属虚构"},tooltip:{trigger:"item",formatter:"{a}
{b} : {c}%"},toolbox:{feature:{dataView:{readOnly:!1},restore:{},saveAsImage:{}}},legend:{data:["展现","点击","访问","咨询","订单"]},series:[{name:"预期",type:"funnel",left:"10%",width:"80%",label:{normal:{formatter:"{b}预期"},emphasis:{position:"inside",formatter:"{b}预期: {c}%"}},labelLine:{normal:{show:!1}},itemStyle:{normal:{opacity:.7}},data:[{value:60,name:"访问"},{value:40,name:"咨询"},{value:20,name:"订单"},{value:80,name:"点击"},{value:100,name:"展现"}]},{name:"实际",type:"funnel",left:"10%",width:"80%",maxSize:"80%",label:{normal:{position:"inside",formatter:"{c}%",textStyle:{color:"#fff"}},emphasis:{position:"inside",formatter:"{b}实际: {c}%"}},itemStyle:{normal:{opacity:.5,borderColor:"#fff",borderWidth:2}},data:[{value:30,name:"访问"},{value:10,name:"咨询"},{value:5,name:"订单"},{value:50,name:"点击"},{value:80,name:"展现"}]}]};return e},clickBtn:function(){window.open(this.refs.echarts_react.getEchartsInstance().getDataURL(),"_blank")},render:function(){var e=" \n\n// use echarts API: http://echarts.baidu.com/api.html#echartsInstancethis.refs.echarts_react.getEchartsInstance().getDataURL();";return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," use echarts API With ",i.default.createElement("strong",null," getEchartsInstance() "),": (the API will return the echarts instance, then you can use any API of echarts.)"),i.default.createElement(s.default,{ref:"echarts_react",option:this.getOtion()}),i.default.createElement("div",null,i.default.createElement("button",{className:"a_line",onClick:this.clickBtn},"click here to get the DataURL of chart.")),i.default.createElement("label",null," code below: (echarts API list see: http://echarts.baidu.com/api.html#echartsInstance)"),i.default.createElement("pre",null,i.default.createElement("code",null,e))))}});t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o);n(668);var l=i.default.createClass({displayName:"MapChartComponent",propTypes:{},timeTicket:null,getInitialState:function(){return{option:this.getOtion()}},componentDidMount:function(){var e=this;this.timeTicket&&clearInterval(this.timeTicket),this.timeTicket=setInterval(function(){var t=e.state.option,n=(new Date).getSeconds();t.title.text="iphone销量"+n,t.series[0].name="iphone销量"+n,t.legend.data[0]="iphone销量"+n,e.setState({option:t})},1e3)},componentWillUnmount:function(){this.timeTicket&&clearInterval(this.timeTicket)},randomData:function(){return Math.round(1e3*Math.random())},getOtion:function(){var e={title:{text:"iphone销量",subtext:"纯属虚构",left:"center"},tooltip:{trigger:"item"},legend:{orient:"vertical",left:"left",data:["iphone3","iphone4","iphone5"]},visualMap:{min:0,max:2500,left:"left",top:"bottom",text:["高","低"],calculable:!0},toolbox:{show:!0,orient:"vertical",left:"right",top:"center",feature:{dataView:{readOnly:!1},restore:{},saveAsImage:{}}},series:[{name:"iphone3",type:"map",mapType:"china",roam:!1,label:{normal:{show:!0},emphasis:{show:!0}},data:[{name:"北京",value:this.randomData()},{name:"天津",value:this.randomData()},{name:"上海",value:this.randomData()},{name:"重庆",value:this.randomData()},{name:"河北",value:this.randomData()},{name:"河南",value:this.randomData()},{name:"云南",value:this.randomData()},{name:"辽宁",value:this.randomData()},{name:"黑龙江",value:this.randomData()},{name:"湖南",value:this.randomData()},{name:"安徽",value:this.randomData()},{name:"山东",value:this.randomData()},{name:"新疆",value:this.randomData()},{name:"江苏",value:this.randomData()},{name:"浙江",value:this.randomData()},{name:"江西",value:this.randomData()},{name:"湖北",value:this.randomData()},{name:"广西",value:this.randomData()},{name:"甘肃",value:this.randomData()},{name:"山西",value:this.randomData()},{name:"内蒙古",value:this.randomData()},{name:"陕西",value:this.randomData()},{name:"吉林",value:this.randomData()},{name:"福建",value:this.randomData()},{name:"贵州",value:this.randomData()},{name:"广东",value:this.randomData()},{name:"青海",value:this.randomData()},{name:"西藏",value:this.randomData()},{name:"四川",value:this.randomData()},{name:"宁夏",value:this.randomData()},{name:"海南",value:this.randomData()},{name:"台湾",value:this.randomData()},{name:"香港",value:this.randomData()},{name:"澳门",value:this.randomData()}]},{name:"iphone4",type:"map",mapType:"china",label:{normal:{show:!0},emphasis:{show:!0}},data:[{name:"北京",value:this.randomData()},{name:"天津",value:this.randomData()},{name:"上海",value:this.randomData()},{name:"重庆",value:this.randomData()},{name:"河北",value:this.randomData()},{name:"安徽",value:this.randomData()},{name:"新疆",value:this.randomData()},{name:"浙江",value:this.randomData()},{name:"江西",value:this.randomData()},{name:"山西",value:this.randomData()},{name:"内蒙古",value:this.randomData()},{name:"吉林",value:this.randomData()},{name:"福建",value:this.randomData()},{name:"广东",value:this.randomData()},{name:"西藏",value:this.randomData()},{name:"四川",value:this.randomData()},{name:"宁夏",value:this.randomData()},{name:"香港",value:this.randomData()},{name:"澳门",value:this.randomData()}]},{name:"iphone5",type:"map",mapType:"china",label:{normal:{show:!0},emphasis:{show:!0}},data:[{name:"北京",value:this.randomData()},{name:"天津",value:this.randomData()},{name:"上海",value:this.randomData()},{name:"广东",value:this.randomData()},{name:"台湾",value:this.randomData()},{name:"香港",value:this.randomData()},{name:"澳门",value:this.randomData()}]}]};return e},render:function(){var e="require('echarts/map/js/china.js'); \n";return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," render a china map. ",i.default.createElement("strong",null,"MAP charts"),": "),i.default.createElement(s.default,{option:this.state.option,style:{height:"500px",width:"100%"},className:"react_for_echarts"}),i.default.createElement("label",null," code below: "),i.default.createElement("pre",null,i.default.createElement("code",null,e))))}});t.default=l},function(e,t,n){var r,a,i;!function(o,s){a=[t,n(235)],r=s,i="function"==typeof r?r.apply(t,a):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t){var n=function(e){"undefined"!=typeof console&&console&&console.error&&console.error(e)};return t?t.registerMap?void t.registerMap("china",{type:"FeatureCollection",features:[{id:"710000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@°Ü¯Û"],["@@ƛĴÕƊÉɼģºðʀ\\ƎsÆNŌÔĚäœnÜƤɊĂǀĆĴžĤNJŨxĚĮǂƺòƌ‚–âÔ®ĮXŦţƸZûЋƕƑGđ¨ĭMó·ęcëƝɉlÝƯֹÅŃ^Ó·śŃNjƏďíåɛGɉ™¿@ăƑŽ¥ĘWǬÏĶŁâ"],["@@\\p|WoYG¿¥I†j@¢"],["@@…¡‰@ˆV^RqˆBbAŒnTXeRz¤Lž«³I"],["@@ÆEE—„kWqë @œ"],["@@fced"]],encodeOffsets:[[[122886,24033]],[[123335,22980]],[[122375,24193]],[[122518,24117]],[[124427,22618]],[[124862,26043]]]},properties:{cp:[121.509062,25.044332],name:"台湾",childNum:6}},{id:"130000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@o~†Z]‚ªr‰ºc_ħ²G¼s`jΟnüsœłNX_“M`ǽÓnUK…Ĝēs¤­©yrý§uģŒc†JŠ›e"],["@@U`Ts¿m‚"],["@@oºƋÄd–eVŽDJj£€J|Ådz•Ft~žKŨ¸IÆv|”‡¢r}膎onb˜}`RÎÄn°ÒdÞ²„^®’lnÐèĄlðӜ×]ªÆ}LiĂ±Ö`^°Ç¶p®đDcœŋ`–ZÔ’¶êqvFƚ†N®ĆTH®¦O’¾ŠIbÐã´BĐɢŴÆíȦp–ĐÞXR€·nndOž¤’OÀĈƒ­Qg˜µFo|gȒęSWb©osx|hYh•gŃfmÖĩnº€T̒Sp›¢dYĤ¶UĈjl’ǐpäìë|³kÛfw²Xjz~ÂqbTŠÑ„ěŨ@|oM‡’zv¢ZrÃVw¬ŧĖ¸fŒ°ÐT€ªqŽs{Sž¯r æÝlNd®²Ğ džiGʂJ™¼lr}~K¨ŸƐÌWö€™ÆŠzRš¤lêmĞL΄’@¡|q]SvK€ÑcwpÏρ†ĿćènĪWlĄkT}ˆJ”¤~ƒÈT„d„™pddʾĬŠ”ŽBVt„EÀ¢ôPĎƗè@~‚k–ü\\rÊĔÖæW_§¼F˜†´©òDòj’ˆYÈrbĞāøŀG{ƀ|¦ðrb|ÀH`pʞkv‚GpuARhÞÆǶgʊTǼƹS£¨¡ù³ŘÍ]¿Ây™ôEP xX¶¹܇O¡“gÚ¡IwÃ鑦ÅB‡Ï|Ç°…N«úmH¯‹âŸDùŽyŜžŲIÄuШDž•¸dɂ‡‚FŸƒ•›Oh‡đ©OŸ›iÃ`ww^ƒÌkŸ‘ÑH«ƇǤŗĺtFu…{Z}Ö@U‡´…ʚLg®¯Oı°ÃwŸ ^˜—€VbÉs‡ˆmA…ê]]w„§›RRl£‡ȭµu¯b{ÍDěïÿȧŽuT£ġƒěŗƃĝ“Q¨fV†Ƌ•ƅn­a@‘³@šď„yýIĹÊKšŭfċŰóŒxV@tˆƯŒJ”]eƒR¾fe|rHA˜|h~Ėƍl§ÏŠlTíb ØoˆÅbbx³^zÃĶš¶Sj®A”yÂhðk`š«P€”ˈµEF†Û¬Y¨Ļrõqi¼‰Wi°§’б´°^[ˆÀ|ĠO@ÆxO\\tŽa\\tĕtû{ġŒȧXýĪÓjùÎRb›š^ΛfK[ݏděYfíÙTyŽuUSyŌŏů@Oi½’éŅ­aVcř§ax¹XŻác‡žWU£ôãºQ¨÷Ñws¥qEH‰Ù|‰›šYQoŕÇyáĂ£MðoťÊ‰P¡mšWO¡€v†{ôvîēÜISpÌhp¨ ‘j†deŔQÖj˜X³à™Ĉ[n`Yp@Už–cM`’RKhŒEbœ”pŞlNut®Etq‚nsÁŠgA‹iú‹oH‡qCX‡”hfgu“~ϋWP½¢G^}¯ÅīGCŸÑ^ãziMáļMTÃƘrMc|O_ž¯Ŏ´|‡morDkO\\mĆJfl@cĢ¬¢aĦtRıҙ¾ùƀ^juųœK­ƒUFy™—Ɲ…›īÛ÷ąV×qƥV¿aȉd³B›qPBm›aËđŻģm“Å®VŠ¹d^K‡KoŸnYg“¯Xhqa”Ldu¥•ÍpDž¡KąÅƒkĝęěhq‡}HyÓ]¹ǧ£…Í÷¿qᵧš™g‘¤o^á¾ZE‡¤i`ij{n•ƒOl»ŸWÝĔįhg›F[¿¡—ßkOüš_‰€ū‹i„DZàUtėGylƒ}ŒÓM}€jpEC~¡FtoQi‘šHkk{Ãmï‚"]],encodeOffsets:[[[119712,40641]],[[121616,39981]],[[116462,37237]]]},properties:{cp:[114.502461,38.045474],name:"河北",childNum:3}},{id:"140000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@Þĩ҃S‰ra}Á€yWix±Üe´lè“ßÓǏok‘ćiµVZģ¡coœ‘TS˹ĪmnÕńe–hZg{gtwªpXaĚThȑp{¶Eh—®RćƑP¿£‘Pmc¸mQÝW•ďȥoÅîɡųAďä³aωJ‘½¥PG­ąSM­™…EÅruµé€‘Yӎ•Ō_d›ĒCo­Èµ]¯_²ÕjāŽK~©ÅØ^ԛkïçămϑk]­±ƒcݯÑÃmQÍ~_a—pm…~ç¡q“ˆu{JÅŧ·Ls}–EyÁÆcI{¤IiCfUc•ƌÃp§]웫vD@¡SÀ‘µM‚ÅwuŽYY‡¡DbÑc¡hƒ×]nkoQdaMç~eD•ÛtT‰©±@¥ù@É¡‰ZcW|WqOJmĩl«ħşvOÓ«IqăV—¥ŸD[mI~Ó¢cehiÍ]Ɠ~ĥqXŠ·eƷœn±“}v•[ěďŽŕ]_‘œ•`‰¹ƒ§ÕōI™o©b­s^}Ét±ū«³p£ÿ·Wµ|¡¥ăFÏs׌¥ŅxŸÊdÒ{ºvĴÎêÌɊ²¶€ü¨|ÞƸµȲ‘LLúÉƎ¤ϊęĔV`„_bª‹S^|ŸdŠzY|dz¥p†ZbÆ£¶ÒK}tĦÔņƠ‚PYzn€ÍvX¶Ěn ĠÔ„zý¦ª˜÷žÑĸَUȌ¸‚dòÜJð´’ìúNM¬ŒXZ´‘¤ŊǸ_tldIš{¦ƀðĠȤ¥NehXnYG‚‡R° ƬDj¬¸|CĞ„Kq‚ºfƐiĺ©ª~ĆOQª ¤@ìǦɌ²æBŒÊ”TœŸ˜ʂōĖ’šĴŞ–ȀœÆÿȄlŤĒö„t”νî¼ĨXhŒ‘˜|ªM¤Ðz"],encodeOffsets:[[116874,41716]]},properties:{cp:[112.549248,37.857014],name:"山西",childNum:1}},{id:"150000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@Č^â£Ăh–šĖMÈÄw‚\\fŦ°W ¢¾luŸD„wŠ\\̀ʉÌÛM…Ā[bӞEn}¶Vc…ê“sƒ–›¯PqƒFB…‰|S•³C|kñ•H‹d‘iÄ¥sˆʼnő…PóÑÑE^‘ÅPpy_YtS™hQ·aHwsOnʼnÚs©iqj›‰€USiº]ïWš‰«gW¡A–R붛ijʕ…Œů`çõh]y»ǃŸǛҤxÒm~zf}pf|ÜroÈzrKÈĵSƧ„ż؜Ġu¦ö"],["@@sKCš…GS|úþX”gp›{ÁX¿Ÿć{ƱȏñZáĔyoÁhA™}ŅĆfdʼn„_¹„Y°ėǩÑ¡H¯¶oMQqð¡Ë™|‘Ñ`ƭŁX½·óۓxğįÅcQ‡ˆ“ƒs«tȋDžF“Ÿù^i‘t«Č¯[›hAi©á¥ÇĚ×l|¹y¯YȵƓ‹ñǙµï‚ċ™Ļ|Dœ™üȭ¶¡˜›oŽäÕG\\ďT¿Òõr¯œŸLguÏYęRƩšɷŌO\\İТæ^Ŋ IJȶȆbÜGŽĝ¬¿ĚVĎgª^íu½jÿĕęjık@Ľƒ]ėl¥Ë‡ĭûÁ„ƒėéV©±ćn©­ȇžÍq¯½•YÃÔʼn“ÉNѝÅÝy¹NqáʅDǡËñ­ƁYÅy̱os§ȋµʽǘǏƬɱà‘ưN¢ƔÊuľýľώȪƺɂļžxœZĈ}ÌʼnŪ˜ĺœŽĭFЛĽ̅ȣͽÒŵìƩÇϋÿȮǡŏçƑůĕ~Ǎ›¼ȳÐUf†dIxÿ\\G ˆzâɏÙOº·pqy£†@ŒŠqþ@Ǟ˽IBäƣzsÂZ†ÁàĻdñ°ŕzéØűzșCìDȐĴĺf®ŽÀľưø@ɜÖÞKĊŇƄ§‚͑těï͡VAġÑÑ»d³öǍÝXĉĕÖ{þĉu¸ËʅğU̎éhɹƆ̗̮ȘNJ֥ड़ࡰţાíϲäʮW¬®ҌeרūȠkɬɻ̼ãüfƠSצɩςåȈHϚÎKdzͲOðÏȆƘ¼CϚǚ࢚˼ФԂ¤ƌžĞ̪Qʤ´¼mȠJˀŸƲÀɠmǐnǔĎȆÞǠN~€ʢĜ‚¶ƌĆĘźʆȬ˪ĚĒ¸ĞGȖƴƀj`ĢçĶāàŃºēĢƒĖćšYŒÀŎüôQÐÂŎŞdžŞêƖš˜oˆDĤÕºÑǘÛˤ³̀gńƘĔÀ^žªƂ`ªt¾äƚêĦĀ¼Ð€Ĕǎ¨Ȕ»͠^ˮÊȦƤøxRrŜH¤¸ÂxDĝŒ|ø˂˜ƮÐ¬ɚwɲFjĔ²Äw°dždÀɞ_ĸdîàŎjʜêTЪŌ‡ŜWÈ|tqĢUB~´°ÎFC•ŽU¼pĀēƄN¦¾O¶ŠłKĊOj“Ě”j´ĜYp˜{¦„ˆSĚÍ\\Tš×ªV–÷Ší¨ÅDK°ßtŇĔKš¨ǵÂcḷ̌ĚǣȄĽF‡lġUĵœŇ‹ȣFʉɁƒMğįʏƶɷØŭOǽ«ƽū¹Ʊő̝Ȩ§ȞʘĖiɜɶʦ}¨֪ࠜ̀ƇǬ¹ǨE˦ĥªÔêFŽxúQ„Er´W„rh¤Ɛ \\talĈDJ˜Ü|[Pll̚¸ƎGú´Pž¬W¦†^¦–H]prR“n|or¾wLVnÇIujkmon£cX^Bh`¥V”„¦U¤¸}€xRj–[^xN[~ªŠxQ„‚[`ªHÆÂExx^wšN¶Ê˜|¨ì†˜€MrœdYp‚oRzNy˜ÀDs~€bcfÌ`L–¾n‹|¾T‚°c¨È¢a‚r¤–`[|òDŞĔöxElÖdH„ÀI`„Ď\\Àì~ƎR¼tf•¦^¢ķ¶e”ÐÚMŒptgj–„ɡČÅyġLû™ŇV®ŠÄÈƀ†Ď°P|ªVV†ªj–¬ĚÒêp¬–E|ŬÂc|ÀtƐK fˆ{ĘFĒœƌXƲąo½Ę‘\\¥–o}›Ûu£ç­kX‘{uĩ«āíÓUŅßŢq€Ť¥lyň[€oi{¦‹L‡ń‡ðFȪȖ”ĒL„¿Ì‹ˆfŒ£K£ʺ™oqNŸƒwğc`ue—tOj×°KJ±qƒÆġm‰Ěŗos¬…qehqsuœƒH{¸kH¡Š…ÊRǪÇƌbȆ¢´ä܍¢NìÉʖ¦â©Ż؛Ç@Vu»A—ylßí¹ĵê…ÝlISò³C¹Ìâ„²i¶’Ìoú^H“²CǜңDŽ z¼g^èöŰ_‹‚–†IJĕꄜ}gÁnUI«m‰…„‹]j‡vV¼euhwqA„aW˜ƒ_µj…»çjioQR¹ēÃßt@r³[ÛlćË^ÍÉáG“›OUۗOB±•XŸkŇ¹£k|e]ol™ŸkVͼÕqtaÏõjgÁ£§U^Œ”RLˆËnX°Ç’Bz†^~wfvˆypV ¯„ƫĉ˭ȫƗŷɿÿĿƑ˃ĝÿÃǃßËőó©ǐȍŒĖM×ÍEyx‹þp]Évïè‘vƀnÂĴÖ@‚‰†V~Ĉ™Š³MEˆĸÅĖt—ējyÄDXÄxGQuv_›i¦aBçw‘˛wD™©{ŸtāmQ€{EJ§KPśƘƿ¥@‰sCT•É}ɃwˆƇy±ŸgÑ“}T[÷kÐ禫…SÒ¥¸ëBX½‰HáŵÀğtSÝÂa[ƣ°¯¦P]£ġ“–“Òk®G²„èQ°óMq}EŠóƐÇ\\ƒ‡@áügQ͋u¥Fƒ“T՛¿Jû‡]|mvāÎYua^WoÀa·­ząÒot׶CLƗi¯¤mƎHNJ¤îìɾŊìTdåwsRÖgĒųúÍġäÕ}Q¶—ˆ¿A•†‹[¡Œ{d×uQAƒ›M•xV‹vMOmăl«ct[wº_šÇʊŽŸjb£ĦS_é“QZ“_lwgOiýe`YYLq§IÁˆdz£ÙË[ÕªuƏ³ÍT—s·bÁĽäė[›b[ˆŗfãcn¥îC¿÷µ[ŏÀQ­ōšĉm¿Á^£mJVm‡—L[{Ï_£›F¥Ö{ŹA}…×Wu©ÅaųijƳhB{·TQqÙIķˑZđ©Yc|M¡…L•eVUóK_QWk’_ĥ‘¿ãZ•»X\\ĴuUƒè‡lG®ěłTĠğDєOrÍd‚ÆÍz]‹±…ŭ©ŸÅ’]ŒÅÐ}UË¥©Tċ™ïxgckfWgi\\ÏĒ¥HkµE˜ë{»ÏetcG±ahUiñiWsɁˆ·c–C‚Õk]wȑ|ća}w…VaĚ᠞ŒG°ùnM¬¯†{ȈÐÆA’¥ÄêJxÙ¢”hP¢Ûˆº€µwWOŸóFŽšÁz^ÀŗÎú´§¢T¤ǻƺSė‰ǵhÝÅQgvBHouʝl_o¿Ga{ïq{¥|ſĿHĂ÷aĝÇq‡Z‘ñiñC³ª—…»E`¨åXēÕqÉû[l•}ç@čƘóO¿¡ƒFUsA‰“ʽīccšocƒ‚ƒÇS}„“£‡IS~ălkĩXçmĈ…ŀЂoÐdxÒuL^T{r@¢‘žÍƒĝKén£kQ™‰yšÅõËXŷƏL§~}kqš»IHėDžjĝŸ»ÑÞoŸå°qTt|r©ÏS‹¯·eŨĕx«È[eMˆ¿yuˆ‘pN~¹ÏyN£{©’—g‹ħWí»Í¾s“əšDž_ÃĀɗ±ą™ijĉʍŌŷ—S›É“A‹±åǥɋ@럣R©ąP©}ĹªƏj¹erƒLDĝ·{i«ƫC£µ"]],encodeOffsets:[[[127444,52594]],[[113793,40312]]]},properties:{cp:[111.670801,40.818311],name:"内蒙古",childNum:2}},{id:"210000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@L–Ž@@s™a"],["@@MnNm"],["@@d‚c"],["@@eÀ‚C@b‚“‰"],["@@f‡…Xwkbr–Ä`qg"],["@@^jtW‘Q"],["@@~ Y]c"],["@@G`ĔN^_¿Z‚ÃM"],["@@iX¶B‹Y"],["@@„YƒZ"],["@@L_{Epf"],["@@^WqCT\\"],["@@\\[“‹§t|”¤_"],["@@m`n_"],["@@Ïxnj{q_×^Giip"],["@@@œé^B†‡ntˆaÊU—˜Ÿ]x ¯ÄPIJ­°h€ʙK³†VˆÕ@Y~†|EvĹsDŽ¦­L^p²ŸÒG ’Ël]„xxÄ_˜fT¤Ď¤cŽœP„–C¨¸TVjbgH²sdÎdHt`Bˆ—²¬GJję¶[ÐhjeXdlwhšðSȦªVÊπ‹Æ‘Z˜ÆŶ®²†^ŒÎyÅÎcPqń“ĚDMħĜŁH­ˆk„çvV[ij¼W–‚YÀäĦ’‘`XlžR`žôLUVžfK–¢†{NZdĒª’YĸÌÚJRr¸SA|ƴgŴĴÆbvªØX~†źBŽ|¦ÕœEž¤Ð`\\|Kˆ˜UnnI]¤ÀÂĊnŎ™R®Ő¿¶\\ÀøíDm¦ÎbŨab‰œaĘ\\ľã‚¸a˜tÎSƐ´©v\\ÖÚÌǴ¤Â‡¨JKr€Z_Z€fjþhPkx€`Y”’RIŒjJcVf~sCN¤ ˆE‚œhæm‰–sHy¨SðÑÌ\\\\ŸĐRZk°IS§fqŒßýáЍÙÉÖ[^¯ǤŲ„ê´\\¦¬ĆPM¯£Ÿˆ»uïpùzEx€žanµyoluqe¦W^£ÊL}ñrkqWňûP™‰UP¡ôJŠoo·ŒU}£Œ„[·¨@XŒĸŸ“‹‹DXm­Ûݏº‡›GU‹CÁª½{íĂ^cj‡k“¶Ã[q¤“LÉö³cux«zZfƒ²BWÇ®Yß½ve±ÃC•ý£W{Ú^’q^sÑ·¨‹ÍOt“¹·C¥‡GD›rí@wÕKţ݋˜Ÿ«V·i}xËÍ÷‘i©ĝ‡ɝǡ]ƒˆ{c™±OW‹³Ya±Ÿ‰_穂Hžĕoƫ€Ňqƒr³‰Lys[„ñ³¯OS–ďOMisZ†±ÅFC¥Pq{‚Ã[Pg}\\—¿ghćO…•k^ģÁFıĉĥM­oEqqZûěʼn³F‘¦oĵ—hŸÕP{¯~TÍlª‰N‰ßY“Ð{Ps{ÃVU™™eĎwk±ʼnVÓ½ŽJãÇÇ»Jm°dhcÀff‘dF~ˆ€ĀeĖ€d`sx² šƒ®EżĀdQ‹Âd^~ăÔHˆ¦\\›LKpĄVez¤NP ǹӗR™ÆąJSh­a[¦´Âghwm€BÐ¨źhI|žVVŽ—Ž|p] Â¼èNä¶ÜBÖ¼“L`‚¼bØæŒKV”ŸpoœúNZÞÒKxpw|ÊEMnzEQšŽIZ”ŽZ‡NBˆčÚFÜçmĩ‚WĪñt‘ÞĵÇñZ«uD‚±|Əlij¥ãn·±PmÍa‰–da‡ CL‡Ǒkùó¡³Ï«QaċϑOÃ¥ÕđQȥċƭy‹³ÃA"]],encodeOffsets:[[[123686,41445]],[[126019,40435]],[[124393,40128]],[[126117,39963]],[[125322,40140]],[[126686,40700]],[[126041,40374]],[[125584,40168]],[[125453,40165]],[[125362,40214]],[[125280,40291]],[[125774,39997]],[[125976,40496]],[[125822,39993]],[[125509,40217]],[[122731,40949]]]},properties:{cp:[123.429096,41.796767],name:"辽宁",childNum:16}},{id:"220000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@‘p䔳PClƒFbbÍzš€wBG’ĭ€Z„Åi“»ƒlY­ċ²SgŽkÇ£—^S‰“qd¯•‹R…©éŽ£¯S†\\cZ¹iűƏCuƍÓX‡oR}“M^o•£…R}oªU­F…uuXHlEŕ‡€Ï©¤ÛmTŽþ¤D–²ÄufàÀ­XXȱAe„yYw¬dvõ´KÊ£”\\rµÄl”iˆdā]|DÂVŒœH¹ˆÞ®ÜWnŒC”Œķ W‹§@\\¸‹ƒ~¤‹Vp¸‰póIO¢ŠVOšŇürXql~òÉK]¤¥Xrfkvzpm¶bwyFoúvð‡¼¤ N°ąO¥«³[ƒéǡű_°Õ\\ÚÊĝŽþâőàerR¨­JYlďQ[ ÏYëЧTGz•tnŠß¡gFkMŸāGÁ¤ia É‰™È¹`\\xs€¬dĆkNnuNUŠ–užP@‚vRY¾•–\\¢…ŒGªóĄ~RãÖÎĢù‚đŴÕhQŽxtcæëSɽʼníëlj£ƍG£nj°KƘµDsØÑpyƸ®¿bXp‚]vbÍZuĂ{nˆ^IüœÀSք”¦EŒvRÎûh@℈[‚Əȉô~FNr¯ôçR±ƒ­HÑl•’Ģ–^¤¢‚OðŸŒævxsŒ]ÞÁTĠs¶¿âƊGW¾ìA¦·TѬ†è¥€ÏÐJ¨¼ÒÖ¼ƒƦɄxÊ~S–tD@ŠĂ¼Ŵ¡jlºWžvЉˆzƦZЎ²CH— „Axiukd‹ŒGgetqmcžÛ£Ozy¥cE}|…¾cZ…k‚‰¿uŐã[oxGikfeäT@…šSUwpiÚFM©’£è^ڟ‚`@v¶eň†f h˜eP¶žt“äOlÔUgƒÞzŸU`lœ}ÔÆUvØ_Ō¬Öi^ĉi§²ÃŠB~¡Ĉ™ÚEgc|DC_Ȧm²rBx¼MÔ¦ŮdĨÃâYx‘ƘDVÇĺĿg¿cwÅ\\¹˜¥Yĭlœ¤žOv†šLjM_a W`zļMž·\\swqÝSA‡š—q‰Śij¯Š‘°kŠRē°wx^Đkǂғ„œž“œŽ„‹\\]˜nrĂ}²ĊŲÒøãh·M{yMzysěnĒġV·°“G³¼XÀ““™¤¹i´o¤ŃšŸÈ`̃DzÄUĞd\\i֚ŒˆmÈBĤÜɲDEh LG¾ƀľ{WaŒYÍȏĢĘÔRîĐj‹}Ǟ“ccj‡oUb½š{“h§Ǿ{K‹ƖµÎ÷žGĀÖŠåưÎs­l›•yiē«‹`姝H¥Ae^§„GK}iã\\c]v©ģZ“mÃ|“[M}ģTɟĵ‘Â`À–çm‰‘FK¥ÚíÁbXš³ÌQґHof{‰]e€pt·GŋĜYünĎųVY^’˜ydõkÅZW„«WUa~U·Sb•wGçǑ‚“iW^q‹F‚“›uNĝ—·Ew„‹UtW·Ýďæ©PuqEzwAV•—XR‰ãQ`­©GŒM‡ehc›c”ďϝd‡©ÑW_ϗYƅŒ»…é\\ƒɹ~ǙG³mØ©BšuT§Ĥ½¢Ã_ý‘L¡‘ýŸqT^rme™\\Pp•ZZbƒyŸ’uybQ—efµ]UhĿDCmûvašÙNSkCwn‰cćfv~…Y‹„ÇG"],encodeOffsets:[[130196,42528]]},properties:{cp:[125.3245,43.886841],name:"吉林",childNum:1}},{id:"230000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@ƨƒĶTLÇyqpÇÛqe{~oyen}s‰`q‡iXG”ù]Ëp½“©lɇÁp]Þñ´FÔ^f‘äîºkà˜z¼BUvÈ@"],["@@UƒµNÿ¥īè灋•HÍøƕ¶LŒǽ|g¨|”™Ža¾pViˆdd”~ÈiŒíďÓQġėǐZ΋ŽXb½|ſÃH½ŸKFgɱCģÛÇA‡n™‹jÕc[VĝDZÃ˄Ç_™ £ń³pŽj£º”š¿”»WH´¯”U¸đĢmžtĜyzzNN|g¸÷äűѱĉā~mq^—Œ[ƒ”››”ƒǁÑďlw]¯xQĔ‰¯l‰’€°řĴrŠ™˜BˆÞTxr[tŽ¸ĻN_yŸX`biN™Ku…P›£k‚ZĮ—¦[ºxÆÀdhŽĹŀUÈƗCw’áZħÄŭcÓ¥»NAw±qȥnD`{ChdÙFćš}¢‰A±Äj¨]ĊÕjŋ«×`VuÓś~_kŷVÝyh„“VkÄãPs”Oµ—fŸge‚Ň…µf@u_Ù ÙcŸªNªÙEojVx™T@†ãSefjlwH\\pŏäÀvŠŽlY†½d{†F~¦dyz¤PÜndsrhf‹HcŒvlwjFœ£G˜±DύƥY‡yϊu¹XikĿ¦ÏqƗǀOŜ¨LI|FRĂn sª|Cš˜zxAè¥bœfudTrFWÁ¹Am|˜ĔĕsķÆF‡´Nš‰}ć…UŠÕ@Áijſmužç’uð^ÊýowŒFzØÎĕNőžǏȎôªÌŒDŽàĀÄ˄ĞŀƒʀĀƘŸˮȬƬĊ°ƒUŸzou‡xe]}Ž…AyȑW¯ÌmK‡“Q]‹Īºif¸ÄX|sZt|½ÚUΠlkš^p{f¤lˆºlÆW –€A²˜PVܜPH”Êâ]ÎĈÌÜk´\\@qàsĔÄQºpRij¼èi†`¶—„bXƒrBgxfv»ŽuUiˆŒ^v~”J¬mVp´£Œ´VWrnP½ì¢BX‚¬h™ŠðX¹^TjVœŠriªj™tŊÄm€tPGx¸bgRšŽsT`ZozÆO]’ÒFô҆Oƒ‡ŊŒvŞ”p’cGŒêŠsx´DR–Œ{A†„EOr°Œ•žx|íœbˆ³Wm~DVjºéNN†Ëܲɶ­GƒxŷCStŸ}]ûō•SmtuÇÃĕN•™āg»šíT«u}ç½BĵÞʣ¥ëÊ¡Mێ³ãȅ¡ƋaǩÈÉQ‰†G¢·lG|›„tvgrrf«†ptęŘnŠÅĢr„I²¯LiØsPf˜_vĠd„xM prʹšL¤‹¤‡eˌƒÀđK“žïÙVY§]I‡óáĥ]ķ†Kˆ¥Œj|pŇ\\kzţ¦šnņäÔVĂîĪ¬|vW’®l¤èØr‚˜•xm¶ă~lÄƯĄ̈́öȄEÔ¤ØQĄ–Ą»ƢjȦOǺ¨ìSŖÆƬy”Qœv`–cwƒZSÌ®ü±DŽ]ŀç¬B¬©ńzƺŷɄeeOĨS’Œfm Ċ‚ƀP̎ēz©Ċ‚ÄÕÊmgŸÇsJ¥ƔˆŊśæ’΁Ñqv¿íUOµª‰ÂnĦÁ_½ä@ê텣P}Ġ[@gġ}g“ɊדûÏWXá¢užƻÌsNͽƎÁ§č՛AēeL³àydl›¦ĘVçŁpśdžĽĺſʃQíÜçÛġԏsĕ¬—Ǹ¯YßċġHµ ¡eå`ļƒrĉŘóƢFì“ĎWøxÊk†”ƈdƬv|–I|·©NqńRŀƒ¤é”eŊœŀ›ˆàŀU²ŕƀB‚Q£Ď}L¹Îk@©ĈuǰųǨ”Ú§ƈnTËÇéƟÊcfčŤ^Xm‡—HĊĕË«W·ċëx³ǔķÐċJā‚wİ_ĸ˜Ȁ^ôWr­°oú¬Ħ…ŨK~”ȰCĐ´Ƕ£’fNÎèâw¢XnŮeÂÆĶŽ¾¾xäLĴĘlļO¤ÒĨA¢Êɚ¨®‚ØCÔ ŬGƠ”ƦYĜ‡ĘÜƬDJ—g_ͥœ@čŅĻA“¶¯@wÎqC½Ĉ»NŸăëK™ďÍQ“Ùƫ[«Ãí•gßÔÇOÝáW‘ñuZ“¯ĥ€Ÿŕā¡ÑķJu¤E Ÿå¯°WKɱ_d_}}vyŸõu¬ï¹ÓU±½@gÏ¿rýD‰†g…Cd‰µ—°MFYxw¿CG£‹Rƛ½Õ{]L§{qqąš¿BÇƻğëšܭNJË|c²}Fµ}›ÙRsÓpg±ŠQNqǫŋRwŕnéÑÉKŸ†«SeYR…ŋ‹@{¤SJ}šD Ûǖ֍Ÿ]gr¡µŷjqWÛham³~S«“„›Þ]"]],encodeOffsets:[[[127123,51780]],[[134456,44547]]]},properties:{cp:[126.642464,45.756967],name:"黑龙江",childNum:2}},{id:"320000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@cþÅPiŠ`ZŸRu¥É\\]~°ŽY`µ†Óƒ^phÁbnÀşúŽòa–ĬºTÖŒb‚˜e¦¦€{¸ZâćNpŒ©žHr|^ˆmjhŠSEb\\afv`sz^lkŽlj‹Ätg‹¤D˜­¾Xš¿À’|ДiZ„ȀåB·î}GL¢õcßjaŸyBFµÏC^ĭ•cÙt¿sğH]j{s©HM¢ƒQnDÀ©DaÜތ·jgàiDbPufjDk`dPOîƒhw¡ĥ‡¥šG˜ŸP²ĐobºrY†„î¶aHŢ´ ]´‚rılw³r_{£DB_Ûdåuk|ˆŨ¯F Cºyr{XFy™e³Þċ‡¿Â™kĭB¿„MvÛpm`rÚã”@Ę¹hågËÖƿxnlč¶Åì½Ot¾dJlŠVJʜǀœŞqvnOŠ^ŸJ”Z‘ż·Q}ê͎ÅmµÒ]Žƍ¦Dq}¬R^èĂ´ŀĻĊIԒtžIJyQŐĠMNtœR®òLh‰›Ěs©»œ}OӌGZz¶A\\jĨFˆäOĤ˜HYš†JvÞHNiÜaϚɖnFQlšNM¤ˆB´ĄNöɂtp–Ŭdf先‹qm¿QûŠùއÚb¤uŃJŴu»¹Ą•lȖħŴw̌ŵ²ǹǠ͛hĭłƕrçü±Y™xci‡tğ®jű¢KOķ•Coy`å®VTa­_Ā]ŐÝɞï²ʯÊ^]afYǸÃĆēĪȣJđ͍ôƋĝÄ͎ī‰çÛɈǥ£­ÛmY`ó£Z«§°Ó³QafusNıDž_k}¢m[ÝóDµ—¡RLčiXy‡ÅNïă¡¸iĔϑNÌŕoēdōîåŤûHcs}~Ûwbù¹£¦ÓCt‹OPrƒE^ÒoŠg™ĉIµžÛÅʹK…¤½phMŠü`o怆ŀ"],encodeOffsets:[[121740,32276]]},properties:{cp:[118.767413,32.041544],name:"江苏",childNum:1}},{id:"330000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@E^dQ]K"],["@@jX^j‡"],["@@sfŠbU‡"],["@@qP\\xz[ck"],["@@‘Rƒ¢‚FX}°[s_"],["@@Cbœ\\—}"],["@@e|v\\la{u"],["@@v~u}"],["@@QxÂF¯}"],["@@¹nŒvÞs¯o"],["@@rSkUEj"],["@@bi­ZŒP"],["@@p[}INf"],["@@À¿€"],["@@¹dnbŒ…"],["@@rSŸBnR"],["@@g~h}"],["@@FlEk"],["@@OdPc"],["@@v[u\\"],["@@FjâL~wyoo~›sµL–\\"],["@@¬e¹aNˆ"],["@@\\nÔ¡q]L³ë\\ÿ®ŒQ֎"],["@@ÊA­©[¬"],["@@KxŒv­"],["@@@hlIk]"],["@@pW{o||j"],["@@Md|_mC"],["@@¢…X£ÏylD¼XˆtH"],["@@hlÜ[LykAvyfw^Ež›¤"],["@@fp¤Mus“R"],["@@®_ma~•LÁ¬šZ"],["@@iM„xZ"],["@@ZcYd"],["@@Z~dOSo|A¿qZv"],["@@@`”EN¡v"],["@@|–TY{"],["@@@n@m"],["@@XWkCT\\"],["@@ºwšZRkĕWO¢"],["@@™X®±Grƪ\\ÔáXq{‹"],["@@ůTG°ĄLHm°UC‹"],["@@¤Ž€aÜx~}dtüGæţŎíĔcŖpMËВjē¢·ðĄÆMzˆjWKĎ¢Q¶˜À_꒔_Bı€i«pZ€gf€¤Nrq]§ĂN®«H±‡yƳí¾×ŸīàLłčŴǝĂíÀBŖÕªˆŠÁŖHŗʼnåqûõi¨hÜ·ƒñt»¹ýv_[«¸m‰YL¯‰Qª…mĉÅdMˆ•gÇjcº«•ęœ¬­K­´ƒB«Âącoċ\\xKd¡gěŧ«®á’[~ıxu·Å”KsËɏc¢Ù\\ĭƛëbf¹­ģSƒĜkáƉÔ­ĈZB{ŠaM‘µ‰fzʼnfåÂŧįƋǝÊĕġć£g³ne­ą»@­¦S®‚\\ßðCšh™iqªĭiAu‡A­µ”_W¥ƣO\\lċĢttC¨£t`ˆ™PZäuXßBs‡Ļyek€OđġĵHuXBšµ]׌‡­­\\›°®¬F¢¾pµ¼kŘó¬Wät’¸|@ž•L¨¸µr“ºù³Ù~§WI‹ŸZWŽ®’±Ð¨ÒÉx€`‰²pĜ•rOògtÁZ}þÙ]„’¡ŒŸFK‚wsPlU[}¦Rvn`hq¬\\”nQ´ĘRWb”‚_ rtČFI֊kŠŠĦPJ¶ÖÀÖJĈĄTĚòžC ²@Pú…Øzœ©PœCÈڜĒ±„hŖ‡l¬â~nm¨f©–iļ«m‡nt–u†ÖZÜÄj“ŠLŽ®E̜Fª²iÊxبžIÈhhst"],["@@o\\V’zRZ}y"],["@@†@°¡mۛGĕ¨§Ianá[ýƤjfæ‡ØL–•äGr™"]],encodeOffsets:[[[125592,31553]],[[125785,31436]],[[125729,31431]],[[125513,31380]],[[125223,30438]],[[125115,30114]],[[124815,29155]],[[124419,28746]],[[124095,28635]],[[124005,28609]],[[125e3,30713]],[[125111,30698]],[[125078,30682]],[[125150,30684]],[[124014,28103]],[[125008,31331]],[[125411,31468]],[[125329,31479]],[[125626,30916]],[[125417,30956]],[[125254,30976]],[[125199,30997]],[[125095,31058]],[[125083,30915]],[[124885,31015]],[[125218,30798]],[[124867,30838]],[[124755,30788]],[[124802,30809]],[[125267,30657]],[[125218,30578]],[[125200,30562]],[[124968,30474]],[[125167,30396]],[[124955,29879]],[[124714,29781]],[[124762,29462]],[[124325,28754]],[[123990,28459]],[[125366,31477]],[[125115,30363]],[[125369,31139]],[[122495,31878]],[[125329,30690]],[[125192,30787]]]},properties:{cp:[120.153576,30.287459],name:"浙江",childNum:45}},{id:"340000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@^iuLX^"],["@@‚e©Ehl"],["@@°ZÆëϵmkǀwÌÕæhºgBĝâqÙĊz›ÖgņtÀÁÊÆá’hEz|WzqD¹€Ÿ°E‡ŧl{ævÜcA`¤C`|´qžxIJkq^³³ŸGšµbƒíZ…¹qpa±ď OH—¦™Ħˆx¢„gPícOl_iCveaOjCh߸i݋bÛªCC¿€m„RV§¢A|t^iĠGÀtÚs–d]ĮÐDE¶zAb àiödK¡~H¸íæAžǿYƒ“j{ď¿‘™À½W—®£ChŒÃsiŒkkly]_teu[bFa‰Tig‡n{]Gqªo‹ĈMYá|·¥f¥—őaSÕė™NµñĞ«ImŒ_m¿Âa]uĜp …Z_§{Cƒäg¤°r[_Yj‰ÆOdý“[ŽI[á·¥“Q_n‡ùgL¾mv™ˊBÜƶĊJhšp“c¹˜O]iŠ]œ¥ jtsggJǧw×jÉ©±›EFˍ­‰Ki”ÛÃÕYv…s•ˆm¬njĻª•§emná}k«ŕˆƒgđ²Ù›DǤ›í¡ªOy›†×Où±@DŸñSęćăÕIÕ¿IµĥO‰‰jNÕËT¡¿tNæŇàåyķrĕq§ÄĩsWÆߎF¶žX®¿‰mŒ™w…RIޓfßoG‘³¾©uyH‘į{Ɓħ¯AFnuP…ÍÔzšŒV—dàôº^Ðæd´€‡oG¤{S‰¬ćxã}›ŧ×Kǥĩ«žÕOEзÖdÖsƘѨ[’Û^Xr¢¼˜§xvěƵ`K”§ tÒ´Cvlo¸fzŨð¾NY´ı~ÉĔē…ßúLÃϖ_ÈÏ|]ÂÏFl”g`bšežž€n¾¢pU‚h~ƴĖ¶_‚r sĄ~cž”ƈ]|r c~`¼{À{ȒiJjz`îÀT¥Û³…]’u}›f…ïQl{skl“oNdŸjŸäËzDvčoQŠďHI¦rb“tHĔ~BmlRš—V_„ħTLnñH±’DžœL‘¼L˜ªl§Ťa¸ŒĚlK²€\\RòvDcÎJbt[¤€D@®hh~kt°ǾzÖ@¾ªdb„YhüóZ ň¶vHrľ\\ʗJuxAT|dmÀO„‹[ÃԋG·ĚąĐlŪÚpSJ¨ĸˆLvÞcPæķŨŽ®mАˆálŸwKhïgA¢ųƩޖ¤OȜm’°ŒK´"]],encodeOffsets:[[[121722,32278]],[[119475,30423]],[[119168,35472]]]},properties:{cp:[117.283042,31.86119],name:"安徽",childNum:3}},{id:"350000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@“zht´‡]"],["@@aj^~ĆG—©O"],["@@ed¨„C}}i"],["@@@vˆPGsQ"],["@@‰sBz‚ddW]Q"],["@@SŽ¨Q“{"],["@@NŽVucW"],["@@qptBAq"],["@@‰’¸[mu"],["@@Q\\pD]_"],["@@jSwUadpF"],["@@eXª~ƒ•"],["@@AjvFso"],["@@fT–›_Çí\\Ÿ™—v|ba¦jZÆy€°"],["@@IjJi"],["@@wJI€ˆxš«¼AoNe{M­"],["@@K‰±¡Óˆ”ČäeZ"],["@@k¡¹Eh~c®wBk‹UplÀ¡I•~Māe£bN¨gZý¡a±Öcp©PhžI”Ÿ¢Qq…ÇGj‹|¥U™ g[Ky¬ŏ–v@OpˆtÉEŸF„\\@ åA¬ˆV{Xģ‰ĐBy…cpě…¼³Ăp·¤ƒ¥o“hqqÚ¡ŅLsƒ^ᗞ§qlŸÀhH¨MCe»åÇGD¥zPO£čÙkJA¼ß–ėu›ĕeûҍiÁŧSW¥˜QŠûŗ½ùěcݧSùĩąSWó«íęACµ›eR—åǃRCÒÇZÍ¢‹ź±^dlsŒtjD¸•‚ZpužÔâÒH¾oLUêÃÔjjēò´ĄW‚ƛ…^Ñ¥‹ĦŸ@Çò–ŠmŒƒOw¡õyJ†yD}¢ďÑÈġfŠZd–a©º²z£šN–ƒjD°Ötj¶¬ZSÎ~¾c°¶Ðm˜x‚O¸¢Pl´žSL|¥žA†ȪĖM’ņIJg®áIJČĒü` ŽQF‡¬h|ÓJ@zµ |ê³È ¸UÖŬŬÀEttĸr‚]€˜ðŽM¤ĶIJHtÏ A’†žĬkvsq‡^aÎbvŒd–™fÊòSD€´Z^’xPsÞrv‹ƞŀ˜jJd×ŘÉ ®A–ΦĤd€xĆqAŒ†ZR”ÀMźŒnĊ»ŒİÐZ— YX–æJŠyĊ²ˆ·¶q§·–K@·{s‘Xãô«lŗ¶»o½E¡­«¢±¨Yˆ®Ø‹¶^A™vWĶGĒĢžPlzfˆļŽtàAvWYãšO_‡¤sD§ssČġ[kƤPX¦Ž`¶“ž®ˆBBvĪjv©šjx[L¥àï[F…¼ÍË»ğV`«•Ip™}ccÅĥZE‹ãoP…´B@ŠD—¸m±“z«Ƴ—¿å³BRضˆœWlâþäą`“]Z£Tc— ĹGµ¶H™m@_©—kŒ‰¾xĨ‡ôȉðX«½đCIbćqK³Á‹Äš¬OAwã»aLʼn‡ËĥW[“ÂGI—ÂNxij¤D¢ŽîĎÎB§°_JœGsƒ¥E@…¤uć…P‘å†cuMuw¢BI¿‡]zG¹guĮck\\_"]],encodeOffsets:[[[123250,27563]],[[122541,27268]],[[123020,27189]],[[122916,27125]],[[122887,26845]],[[122808,26762]],[[122568,25912]],[[122778,26197]],[[122515,26757]],[[122816,26587]],[[123388,27005]],[[122450,26243]],[[122578,25962]],[[121255,25103]],[[120987,24903]],[[122339,25802]],[[121042,25093]],[[122439,26024]]]},properties:{cp:[119.306239,26.075302],name:"福建",childNum:18}},{id:"360000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@ĢĨƐgļˆ¼ÂMD~ņªe^\\^§„ý©j׍cZ†Ø¨zdÒa¶ˆlҍJŒìõ`oz÷@¤u޸´†ôęöY¼‰HČƶajlÞƩ¥éZ[”|h}^U Œ ¥p„ĄžƦO lt¸Æ €Q\\€ŠaÆ|CnÂOjt­ĚĤd’ÈŒF`’¶„@Ð딠¦ōҞ¨Sêv†HĢûXD®…QgėWiØPÞìºr¤dž€NĠ¢l–•ĄtZoœCƞÔºCxrpĠV®Ê{f_Y`_ƒeq’’®Aot`@o‚DXfkp¨|Šs¬\\D‘ÄSfè©Hn¬…^DhÆyøJh“ØxĢĀLʈ„ƠPżċĄwȠ̦G®ǒĤäTŠÆ~ĦwŠ«|TF¡Šn€c³Ïå¹]ĉđxe{ÎӐ†vOEm°BƂĨİ|G’vz½ª´€H’àp”eJ݆Qšxn‹ÀŠW­žEµàXÅĪt¨ÃĖrÄwÀFÎ|ňÓMå¼ibµ¯»åDT±m[“r«_gŽmQu~¥V\\OkxtL E¢‹ƒ‘Ú^~ýê‹Pó–qo슱_Êw§ÑªåƗā¼‹mĉŹ‹¿NQ“…YB‹ąrwģcÍ¥B•Ÿ­ŗÊcØiI—žƝĿuŒqtāwO]‘³YCñTeɕš‹caub͈]trlu€ī…B‘ПGsĵıN£ï—^ķqss¿FūūV՟·´Ç{éĈý‰ÿ›OEˆR_ŸđûIċâJh­ŅıN‘ȩĕB…¦K{Tk³¡OP·wn—µÏd¯}½TÍ«YiµÕsC¯„iM•¤™­•¦¯P|ÿUHv“he¥oFTu‰õ\\ŽOSs‹MòđƇiaºćXŸĊĵà·çhƃ÷ǜ{‘ígu^›đg’m[×zkKN‘¶Õ»lčÓ{XSƉv©_ÈëJbVk„ĔVÀ¤P¾ºÈMÖxlò~ªÚàGĂ¢B„±’ÌŒK˜y’áV‡¼Ã~­…`g›ŸsÙfI›Ƌlę¹e|–~udjˆuTlXµf`¿JdŠ[\\˜„L‚‘²"],encodeOffsets:[[116689,26234]]},properties:{cp:[115.892151,28.676493],name:"江西",childNum:1}},{id:"370000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@Xjd]{K"],["@@itbFHy"],["@@HlGk"],["@@T‚ŒGŸy"],["@@K¬˜•‹U"],["@@WdXc"],["@@PtOs"],["@@•LnXhc"],["@@ppVƒu]Or"],["@@cdzAUa"],["@@udRhnCI‡"],["@@ˆoIƒpR„"],["@@Ľč{fzƤî’Kš–ÎMĮ]†—ZFˆ½Y]â£ph’™š¶¨râøÀ†ÎǨ¤^ºÄ”Gzˆ~grĚĜlĞƄLĆdž¢Îo¦–cv“Kb€gr°Wh”mZp ˆL]LºcU‰Æ­n”żĤÌĒœbAnrOAœ´žȊcÀbƦUØrĆUÜøœĬƞ†š˜Ez„VL®öØBkŖÝĐĖ¹ŧ̄±ÀbÎɜnb²ĦhņBĖ›žįĦåXćì@L¯´ywƕCéõė ƿ¸‘lµ¾Z|†ZWyFYŸ¨Mf~C¿`€à_RÇzwƌfQnny´INoƬˆèôº|sT„JUš›‚L„îVj„ǎ¾Ē؍‚Dz²XPn±ŴPè¸ŔLƔÜƺ_T‘üÃĤBBċȉöA´fa„˜M¨{«M`‡¶d¡ô‰Ö°šmȰBÔjjŒ´PM|”c^d¤u•ƒ¤Û´Œä«ƢfPk¶Môlˆ]Lb„}su^ke{lC‘…M•rDŠÇ­]NÑFsmoõľH‰yGă{{çrnÓE‰‹ƕZGª¹Fj¢ïW…uøCǷ돡ąuhÛ¡^Kx•C`C\\bÅxì²ĝÝ¿_N‰īCȽĿåB¥¢·IŖÕy\\‡¹kx‡Ã£Č×GDyÕ¤ÁçFQ¡„KtŵƋ]CgÏAùSed‡cÚź—ŠuYfƒyMmhUWpSyGwMPqŀ—›Á¼zK›¶†G•­Y§Ëƒ@–´śÇµƕBmœ@Io‚g——Z¯u‹TMx}C‘‰VK‚ï{éƵP—™_K«™pÛÙqċtkkù]gŽ‹Tğwo•ɁsMõ³ă‡AN£™MRkmEʕč™ÛbMjÝGu…IZ™—GPģ‡ãħE[iµBEuŸDPԛ~ª¼ętŠœ]ŒûG§€¡QMsğNPŏįzs£Ug{đJĿļā³]ç«Qr~¥CƎÑ^n¶ÆéÎR~Ż¸Y’I“] P‰umŝrƿ›‰›Iā‹[x‰edz‹L‘¯v¯s¬ÁY…~}…ťuŁŒg›ƋpÝĄ_ņī¶ÏSR´ÁP~ž¿Cyžċßdwk´Ss•X|t‰`Ä Èð€AªìÎT°¦Dd–€a^lĎDĶÚY°Ž`ĪŴǒˆ”àŠv\\ebŒZH„ŖR¬ŢƱùęO•ÑM­³FۃWp[ƒ"]],encodeOffsets:[[[123806,39303]],[[123821,39266]],[[123742,39256]],[[123702,39203]],[[123649,39066]],[[123847,38933]],[[123580,38839]],[[123894,37288]],[[123043,36624]],[[123344,38676]],[[123522,38857]],[[123628,38858]],[[118260,36742]]]},properties:{cp:[117.000923,36.675807],name:"山东",childNum:13}},{id:"410000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@•ýL™ùµP³swIÓxcŢĞð†´E®žÚPt†ĴXØx¶˜@«ŕŕQGƒ‹Yfa[şu“ßǩ™đš_X³ijÕčC]kbc•¥CS¯ëÍB©÷‹–³­Siˆ_}m˜YTtž³xlàcȂzÀD}ÂOQ³ÐTĨ¯†ƗòËŖ[hœł‹Ŧv~††}ÂZž«¤lPǕ£ªÝŴÅR§ØnhcŒtâk‡nύ­ľŹUÓÝdKuķ‡I§oTũÙďkęĆH¸ÓŒ\\ăŒ¿PcnS{wBIvɘĽ[GqµuŸŇôYgûƒZcaŽ©@½Õǽys¯}lgg@­C\\£as€IdÍuCQñ[L±ęk·‹ţb¨©kK—’»›KC²‘òGKmĨS`ƒ˜UQ™nk}AGē”sqaJ¥ĐGR‰ĎpCuÌy ã iMc”plk|tRk†ðœev~^‘´†¦ÜŽSí¿_iyjI|ȑ|¿_»d}qŸ^{“Ƈdă}Ÿtqµ`Ƴĕg}V¡om½fa™Ço³TTj¥„tĠ—Ry”K{ùÓjuµ{t}uËR‘iŸvGŠçJFjµŠÍyqΘàQÂFewixGw½Yŷpµú³XU›½ġy™łå‰kÚwZXˆ·l„¢Á¢K”zO„Λ΀jc¼htoDHr…|­J“½}JZ_¯iPq{tę½ĕ¦Zpĵø«kQ…Ťƒ]MÛfaQpě±ǽ¾]u­Fu‹÷nƒ™čįADp}AjmcEǒaª³o³ÆÍSƇĈÙDIzˑ赟^ˆKLœ—i—Þñ€[œƒaA²zz‰Ì÷Dœ|[šíijgf‚ÕÞd®|`ƒĆ~„oĠƑô³Ŋ‘D×°¯CsŠøÀ«ì‰UMhTº¨¸ǡîS–Ô„DruÂÇZ•ÖEŽ’vPZ„žW”~؋ÐtĄE¢¦Ðy¸bŠô´oŬ¬Ž²Ês~€€]®tªašpŎJ¨Öº„_ŠŔ–`’Ŗ^Ѝ\\Ĝu–”~m²Ƹ›¸fW‰ĦrƔ}Î^gjdfÔ¡J}\\n C˜¦þWxªJRÔŠu¬ĨĨmF†dM{\\d\\ŠYÊ¢ú@@¦ª²SŠÜsC–}fNècbpRmlØ^g„d¢aÒ¢CZˆZxvÆ¶N¿’¢T@€uCœ¬^ĊðÄn|žlGl’™Rjsp¢ED}€Fio~ÔNŽ‹„~zkĘHVsDzßjƒŬŒŠŢ`Pûàl¢˜\\ÀœEhŽİgÞē X¼Pk–„|m"], -encodeOffsets:[[118256,37017]]},properties:{cp:[113.665412,34.757975],name:"河南",childNum:1}},{id:"420000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@AB‚"],["@@lskt"],["@@¾«}{ra®pîÃ\\™›{øCŠËyyB±„b\\›ò˜Ý˜jK›‡L ]ĎĽÌ’JyÚCƈćÎT´Å´pb©È‘dFin~BCo°BĎĚømvŒ®E^vǾ½Ĝ²Ro‚bÜeNŽ„^ĺ£R†¬lĶ÷YoĖ¥Ě¾|sOr°jY`~I”¾®I†{GqpCgyl{‡£œÍƒÍyPL“¡ƒ¡¸kW‡xYlÙ抚ŁĢzœ¾žV´W¶ùŸo¾ZHxjwfx„GNÁ•³Xéæl¶‰EièIH‰ u’jÌQ~v|sv¶Ôi|ú¢Fh˜Qsğ¦ƒSiŠBg™ÐE^ÁÐ{–čnOÂȞUÎóĔ†ÊēIJ}Z³½Mŧïeyp·uk³DsѨŸL“¶_œÅuèw»—€¡WqÜ]\\‘Ò§tƗcÕ¸ÕFÏǝĉăxŻČƟO‡ƒKÉġÿ×wg”÷IÅzCg†]m«ªGeçÃTC’«[‰t§{loWeC@ps_Bp‘­r‘„f_``Z|ei¡—oċMqow€¹DƝӛDYpûs•–‹Ykıǃ}s¥ç³[§ŸcYŠ§HK„«Qy‰]¢“wwö€¸ïx¼ņ¾Xv®ÇÀµRĠЋžHMž±cÏd„ƒǍũȅȷ±DSyúĝ£ŤĀàtÖÿï[îb\\}pĭÉI±Ñy…¿³x¯N‰o‰|¹H™ÏÛm‹júË~Tš•u˜ęjCöAwě¬R’đl¯ Ñb­‰ŇT†Ŀ_[Œ‘IčĄʿnM¦ğ\\É[T·™k¹œ©oĕ@A¾w•ya¥Y\\¥Âaz¯ãÁ¡k¥ne£Ûw†E©Êō¶˓uoj_Uƒ¡cF¹­[Wv“P©w—huÕyBF“ƒ`R‹qJUw\\i¡{jŸŸEPïÿ½fć…QÑÀQ{ž‚°‡fLԁ~wXg—ītêݾ–ĺ‘Hdˆ³fJd]‹HJ²…E€ƒoU¥†HhwQsƐ»Xmg±çve›]Dm͂PˆoCc¾‹_h”–høYrŊU¶eD°Č_N~øĹĚ·`z’]Äþp¼…äÌQŒv\\rCŒé¾TnkžŐڀÜa‡“¼ÝƆĢ¶Ûo…d…ĔňТJq’Pb ¾|JŒ¾fXŠƐîĨ_Z¯À}úƲ‹N_ĒĊ^„‘ĈaŐyp»CÇĕKŠšñL³ŠġMŒ²wrIÒŭxjb[œžn«øœ˜—æˆàƒ ^²­h¯Ú€ŐªÞ¸€Y²ĒVø}Ā^İ™´‚LŠÚm„¥ÀJÞ{JVŒųÞŃx×sxxƈē ģMř–ÚðòIf–Ċ“Œ\\Ʈ±ŒdʧĘD†vČ_Àæ~DŒċ´A®µ†¨ØLV¦êHÒ¤"]],encodeOffsets:[[[113712,34e3]],[[115612,30507]],[[113649,34054]]]},properties:{cp:[114.298572,30.584355],name:"湖北",childNum:3}},{id:"430000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@—n„FTs"],["@@ßÅÆችÔXr—†CO™“…ËR‘ïÿĩ­TooQyšÓ[‹ŅBE¬–ÎÓXa„į§Ã¸G °ITxp‰úxÚij¥Ïš–Ģ¾ŠedžÄ©ĸG…œàGh‚€M¤–Â_U}Ċ}¢pczfŠþg¤€”ÇòAV‘‹M"],["@@©K—ƒA·³CQ±Á«³BUŠƑ¹AŠtćOw™D]ŒJiØSm¯b£‘ylƒ›X…HËѱH•«–‘C^õľA–Å§¤É¥„ïyuǙuA¢^{ÌC´­¦ŷJ£^[†“ª¿‡ĕ~•Ƈ…•N… skóā‡¹¿€ï]ă~÷O§­@—Vm¡‹Qđ¦¢Ĥ{ºjԏŽŒª¥nf´•~ÕoŸž×Ûą‹MąıuZœmZcÒ IJĪ²SÊDŽŶ¨ƚƒ’CÖŎªQؼrŭŽ­«}NÏürʬŒmjr€@ĘrTW ­SsdHzƓ^ÇÂyUi¯DÅYlŹu{hTœ}mĉ–¹¥ě‰Dÿë©ıÓ[Oº£ž“¥ót€ł¹MՄžƪƒ`Pš…Di–ÛUŠ¾Å‌ìˆU’ñB“È£ýhe‰dy¡oċ€`pfmjP~‚kZa…ZsÐd°wj§ƒ@€Ĵ®w~^‚kÀÅKvNmX\\¨a“”сqvíó¿F„¤¡@ũÑVw}S@j}¾«pĂr–ªg àÀ²NJ¶¶Dô…K‚|^ª†Ž°LX¾ŴäPĪ±œ£EXd›”^¶›IJÞܓ~‘u¸ǔ˜Ž›MRhsR…e†`ÄofIÔ\\Ø  i”ćymnú¨cj ¢»–GČìƊÿШXeĈĀ¾Oð Fi ¢|[jVxrIQŒ„_E”zAN¦zLU`œcªx”OTu RLÄ¢dV„i`p˔vŎµªÉžF~ƒØ€d¢ºgİàw¸Áb[¦Zb¦–z½xBĖ@ªpº›šlS¸Ö\\Ĕ[N¥ˀmĎă’J\\‹ŀ`€…ňSڊĖÁĐiO“Ĝ«BxDõĚiv—ž–S™Ì}iùŒžÜnšÐºGŠ{Šp°M´w†ÀÒzJ²ò¨ oTçüöoÛÿñŽőФ‚ùTz²CȆȸǎŪƒƑÐc°dPÎŸğ˶[Ƚu¯½WM¡­Éž“’B·rížnZŸÒ `‡¨GA¾\\pē˜XhÆRC­üWGġu…T靧Ŏѝ©ò³I±³}_‘‹EÃħg®ęisÁPDmÅ{‰b[Rşs·€kPŸŽƥƒóRo”O‹ŸVŸ~]{g\\“êYƪ¦kÝbiċƵŠGZ»Ěõ…ó·³vŝž£ø@pyö_‹ëŽIkѵ‡bcѧy…×dY؎ªiþž¨ƒ[]f]Ņ©C}ÁN‡»hĻħƏ’ĩ"]],encodeOffsets:[[[115640,30489]],[[112543,27312]],[[116690,26230]]]},properties:{cp:[112.982279,28.19409],name:"湖南",childNum:3}},{id:"440000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@QdˆAua"],["@@ƒlxDLo"],["@@sbhNLo"],["@@Ă āŸ"],["@@WltO[["],["@@Krœ]S"],["@@e„„I]y"],["@@I|„Mym"],["@@ƒÛ³LSŒž¼Y"],["@@nvºB–ëui©`¾"],["@@zdšÛ›Jw®"],["@@†°…¯"],["@@a yAª¸ËJIx،@€ĀHAmßV¡o•fu•o"],["@@šs‰ŗÃÔėAƁ›ZšÄ ~°ČP‚‹äh"],["@@‹¶Ý’Ì‚vmĞh­ı‡Q"],["@@HœŠdSjĒ¢D}war…“u«ZqadYM"],["@@elŒ\\LqqU"],["@@~rMo\\"],["@@f„^ƒC"],["@@øPªoj÷ÍÝħXČx”°Q¨ıXNv"],["@@gÇƳˆŽˆ”oˆŠˆ[~tly"],["@@E–ÆC¿‘"],["@@OŽP"],["@@w‹†đóg‰™ĝ—[³‹¡VÙæÅöM̳¹pÁaËýý©D©Ü“JŹƕģGą¤{Ùū…ǘO²«BƱéA—Ò‰ĥ‡¡«BhlmtÃPµyU¯uc“d·w_bŝcīímGOŽ|KP’ȏ‡ŹãŝIŕŭŕ@Óoo¿ē‹±ß}Ž…ŭ‚ŸIJWÈCőâUâǙI›ğʼn©I›ijEׅÁ”³Aó›wXJþ±ÌŒÜӔĨ£L]ĈÙƺZǾĆĖMĸĤfŒÎĵl•ŨnȈ‘ĐtF”Š–FĤ–‚êk¶œ^k°f¶gŠŽœ}®Fa˜f`vXŲxl˜„¦–ÔÁ²¬ÐŸ¦pqÊ̲ˆi€XŸØRDÎ}†Ä@ZĠ’s„x®AR~®ETtĄZ†–ƈfŠŠHâÒÐA†µ\\S¸„^wĖkRzŠalŽŜ|E¨ÈNĀňZTŒ’pBh£\\ŒĎƀuXĖtKL–¶G|Ž»ĺEļĞ~ÜĢÛĊrˆO˜Ùîvd]nˆ¬VœÊĜ°R֟pM††–‚ƂªFbwžEÀˆ˜©Œž\\…¤]ŸI®¥D³|ˎ]CöAŤ¦…æ’´¥¸Lv¼€•¢ĽBaô–F~—š®²GÌҐEY„„œzk¤’°ahlV՞I^‹šCxĈPŽsB‰ƒºV‰¸@¾ªR²ĨN]´_eavSi‡vc•}p}Đ¼ƌkJœÚe thœ†_¸ ºx±ò_xN›Ë‹²‘@ƒă¡ßH©Ùñ}wkNÕ¹ÇO½¿£ĕ]ly_WìIžÇª`ŠuTÅxYĒÖ¼k֞’µ‚MžjJÚwn\\h‘œĒv]îh|’È›Ƅøègž¸Ķß ĉĈWb¹ƀdéʌNTtP[ŠöSvrCZžžaGuœbo´ŖÒÇА~¡zCI…özx¢„Pn‹•‰Èñ @ŒĥÒ¦†]ƞŠV}³ăĔñiiÄÓVépKG½Ä‘ÓávYo–C·sit‹iaÀy„ŧΡÈYDÑům}‰ý|m[węõĉZÅxUO}÷N¹³ĉo_qtă“qwµŁYلǝŕ¹tïÛUïmRCº…ˆĭ|µ›ÕÊK™½R‘ē ó]‘–GªęAx–»HO£|ām‡¡diď×YïYWªʼnOeÚtĐ«zđ¹T…ā‡úE™á²\\‹ķÍ}jYàÙÆſ¿Çdğ·ùTßÇţʄ¡XgWÀLJğ·¿ÃˆOj YÇ÷Qě‹i"]],encodeOffsets:[[[117381,22988]],[[116552,22934]],[[116790,22617]],[[116973,22545]],[[116444,22536]],[[116931,22515]],[[116496,22490]],[[116453,22449]],[[113301,21439]],[[118726,21604]],[[118709,21486]],[[113210,20816]],[[115482,22082]],[[113171,21585]],[[113199,21590]],[[115232,22102]],[[115739,22373]],[[115134,22184]],[[113056,21175]],[[119573,21271]],[[119957,24020]],[[115859,22356]],[[116561,22649]],[[116285,22746]]]},properties:{cp:[113.280637,23.125178],name:"广东",childNum:24}},{id:"450000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@H– TQ§•A"],["@@ĨʪƒLƒƊDÎĹĐCǦė¸zÚGn£¾›rªŀÜt¬@֛ڈSx~øOŒ˜ŶÐÂæȠ\\„ÈÜObĖw^oބLf¬°bI lTØB̈F£Ć¹gñĤaY“t¿¤VSñœK¸¤nM†¼‚JE±„½¸šŠño‹ÜCƆæĪ^ŠĚQÖ¦^‡ˆˆf´Q†üÜʝz¯šlzUĺš@쇀p¶n]sxtx¶@„~ÒĂJb©gk‚{°‚~c°`ԙ¬rV\\“la¼¤ôá`¯¹LC†ÆbŒxEræO‚v[H­˜„[~|aB£ÖsºdAĐzNÂðsŽÞƔ…Ĥªbƒ–ab`ho¡³F«èVloŽ¤™ÔRzpp®SŽĪº¨ÖƒºN…ij„d`’a”¦¤F³ºDÎńĀìŠCžĜº¦Ċ•~nS›|gźvZkCÆj°zVÈÁƔ]LÊFZg…čP­kini«‹qǀcz͔Y®¬Ů»qR×ō©DՄ‘§ƙǃŵTÉĩ±ŸıdÑnYY›IJvNĆƌØÜ Öp–}e³¦m‹©iÓ|¹Ÿħņ›|ª¦QF¢Â¬ʖovg¿em‡^ucà÷gՎuŒíÙćĝ}FĻ¼Ĺ{µHK•sLSđƃr‹č¤[Ag‘oS‹ŇYMÿ§Ç{Fśbky‰lQxĕƒ]T·¶[B…ÑÏGáşşƇe€…•ăYSs­FQ}­Bƒw‘tYğÃ@~…C̀Q ×W‡j˱rÉ¥oÏ ±«ÓÂ¥•ƒ€k—ŽwWűŒmcih³K›~‰µh¯e]lµ›él•Eģ‰•E“ďs‡’mǖŧē`ãògK_ÛsUʝ“ćğ¶hŒöŒO¤Ǜn³Žc‘`¡y‹¦C‘ez€YŠwa™–‘[ďĵűMę§]X˜Î_‚훘Û]é’ÛUćİÕBƣ±…dƒy¹T^džûÅÑŦ·‡PĻþÙ`K€¦˜…¢ÍeœĥR¿Œ³£[~Œäu¼dl‰t‚†W¸oRM¢ď\\zœ}Æzdvň–{ÎXF¶°Â_„ÒÂÏL©Ö•TmuŸ¼ãl‰›īkiqéfA„·Êµ\\őDc¥ÝF“y›Ôć˜c€űH_hL܋êĺШc}rn`½„Ì@¸¶ªVLŒŠhŒ‹\\•Ţĺk~ŽĠið°|gŒtTĭĸ^x‘vK˜VGréAé‘bUu›MJ‰VÃO¡…qĂXËS‰ģãlýàŸ_ju‡YÛÒB†œG^˜é֊¶§ŽƒEG”ÅzěƒƯ¤Ek‡N[kdåucé¬dnYpAyČ{`]þ¯T’bÜÈk‚¡Ġ•vŒàh„ÂƄ¢J"]],encodeOffsets:[[[111707,21520]],[[107619,25527]]]},properties:{cp:[108.320004,22.82402],name:"广西",childNum:2}},{id:"460000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@š¦Ŝil¢”XƦ‘ƞò–ïè§ŞCêɕrŧůÇąĻõ™·ĉ³œ̅kÇm@ċȧƒŧĥ‰Ľʉ­ƅſ“ȓÒ˦ŝE}ºƑ[ÍĜȋ gÎfǐÏĤ¨êƺ\\Ɔ¸ĠĎvʄȀœÐ¾jNðĀÒRŒšZdž™zÐŘΰH¨Ƣb²_Ġ "],encodeOffsets:[[112750,20508]]},properties:{cp:[110.33119,20.031971],name:"海南",childNum:1}},{id:"510000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@LqKr"],["@@Š[ĻéV£ž_ţġñpG •réÏ·~ąSfy×͂·ºſƽiÍıƣıĻmHH}siaX@iÇ°ÁÃ×t«ƒ­Tƒ¤J–JJŒyJ•ÈŠ`Ohߦ¡uËhIyCjmÿw…ZG……Ti‹SˆsO‰žB²ŸfNmsPaˆ{M{ŠõE‘^Hj}gYpaeuž¯‘oáwHjÁ½M¡pM“–uå‡mni{fk”\\oƒÎqCw†EZ¼K›ĝŠƒAy{m÷L‡wO×SimRI¯rK™õBS«sFe‡]fµ¢óY_ÆPRcue°Cbo׌bd£ŌIHgtrnyPt¦foaXďx›lBowz‹_{ÊéWiêE„GhܸºuFĈIxf®Ž•Y½ĀǙ]¤EyŸF²ċ’w¸¿@g¢§RGv»–áŸW`ÃĵJwi]t¥wO­½a[׈]`Ãi­üL€¦LabbTÀå’c}Íh™Æhˆ‹®BH€î|Ék­¤S†y£„ia©taį·Ɖ`ō¥Uh“O…ƒĝLk}©Fos‰´›Jm„µlŁu—…ø–nÑJWΪ–YÀïAetTžŅ‚ӍG™Ë«bo‰{ıwodƟ½ƒžOġܑµxàNÖ¾P²§HKv¾–]|•B‡ÆåoZ`¡Ø`ÀmºĠ~ÌЧnDž¿¤]wğ@sƒ‰rğu‰~‘Io”[é±¹ ¿žſđӉ@q‹gˆ¹zƱřaí°KtǤV»Ã[ĩǭƑ^ÇÓ@ỗs›Zϕ‹œÅĭ€Ƌ•ěpwDóÖሯneQˌq·•GCœýS]xŸ·ý‹q³•O՜Œ¶Qzßti{ř‰áÍÇWŝŭñzÇW‹pç¿JŒ™‚Xœĩè½cŒF–ÂLiVjx}\\N†ŇĖ¥Ge–“JA¼ÄHfÈu~¸Æ«dE³ÉMA|b˜Ò…˜ćhG¬CM‚õŠ„ƤąAvƒüV€éŀ‰_V̳ĐwQj´·ZeÈÁ¨X´Æ¡Qu·»Ÿ“˜ÕZ³ġqDo‰y`L¬gdp°şŠp¦ėìÅĮZŽ°Iä”h‚‘ˆzŠĵœf²å ›ĚрKp‹IN|‹„Ñz]ń……·FU×é»R³™MƒÉ»GM«€ki€™ér™}Ã`¹ăÞmȝnÁîRǀ³ĜoİzŔwǶVÚ£À]ɜ»ĆlƂ²Ġ…þTº·àUȞÏʦ¶†I’«dĽĢdĬ¿–»Ĕ׊h\\c¬†ä²GêëĤł¥ÀǿżÃÆMº}BÕĢyFVvw–ˆxBèĻĒ©Ĉ“tCĢɽŠȣ¦āæ·HĽî“ôNԓ~^¤Ɗœu„œ^s¼{TA¼ø°¢İªDè¾Ň¶ÝJ‘®Z´ğ~Sn|ªWÚ©òzPOȸ‚bð¢|‹øĞŠŒœŒQìÛÐ@Ğ™ǎRS¤Á§d…i“´ezÝúØã]Hq„kIŸþËQǦÃsǤ[E¬ÉŪÍxXƒ·ÖƁİlƞ¹ª¹|XÊwn‘ÆƄmÀêErĒtD®ċæcQƒ”E®³^ĭ¥©l}äQto˜ŖÜqƎkµ–„ªÔĻĴ¡@Ċ°B²Èw^^RsºTĀ£ŚæœQP‘JvÄz„^Đ¹Æ¯fLà´GC²‘dt˜­ĀRt¼¤ĦOðğfÔðDŨŁĞƘïžPȆ®âbMüÀXZ ¸£@Ś›»»QÉ­™]d“sÖ×_͖_ÌêŮPrĔĐÕGĂeZÜîĘqBhtO ¤tE[h|Y‹Ô‚ZśÎs´xº±UŒ’ñˆt|O’ĩĠºNbgþŠJy^dÂY Į„]Řz¦gC‚³€R`ĀŠz’¢AjŒ¸CL„¤RÆ»@­Ŏk\\Ç´£YW}z@Z}‰Ã¶“oû¶]´^N‡Ò}èN‚ª–P˜Íy¹`S°´†ATe€VamdUĐwʄvĮÕ\\ƒu‹Æŗ¨Yp¹àZÂm™Wh{á„}WØǍ•Éüw™ga§áCNęÎ[ĀÕĪgÖɪX˜øx¬½Ů¦¦[€—„NΆL€ÜUÖ´òrÙŠxR^–†J˜k„ijnDX{Uƒ~ET{ļº¦PZc”jF²Ė@Žp˜g€ˆ¨“B{ƒu¨ŦyhoÚD®¯¢˜ WòàFΤ¨GDäz¦kŮPœġq˚¥À]€Ÿ˜eŽâÚ´ªKxī„Pˆ—Ö|æ[xäJÞĥ‚s’NÖ½ž€I†¬nĨY´®Ð—ƐŠ€mD™ŝuäđđEb…e’e_™v¡}ìęNJē}q”É埁T¯µRs¡M@}ůa†a­¯wvƉåZwž\\Z{åû^›"]],encodeOffsets:[[[108815,30935]],[[110617,31811]]]},properties:{cp:[104.065735,30.659462],name:"四川",childNum:2}},{id:"520000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@†G\\†lY£‘in"],["@@q‚|ˆ‚mc¯tχVSÎ"],["@@hÑ£Is‡NgßH†›HªķÃh_¹ƒ¡ĝħń¦uيùŽgS¯JHŸ|sÝÅtÁïyMDč»eÕtA¤{b\\}—ƒG®u\\åPFq‹wÅaD…žK°ºâ_£ùbµ”mÁ‹ÛœĹM[q|hlaªāI}тƒµ@swtwm^oµˆD鼊yV™ky°ÉžûÛR…³‚‡eˆ‡¥]RՋěħ[ƅåÛDpŒ”J„iV™™‰ÂF²I…»mN·£›LbÒYb—WsÀbŽ™pki™TZĄă¶HŒq`……ĥ_JŸ¯ae«ƒKpÝx]aĕÛPƒÇȟ[ÁåŵÏő—÷Pw}‡TœÙ@Õs«ĿÛq©½œm¤ÙH·yǥĘĉBµĨÕnđ]K„©„œá‹ŸG纍§Õßg‡ǗĦTèƤƺ{¶ÉHÎd¾ŚÊ·OÐjXWrãLyzÉAL¾ę¢bĶėy_qMĔąro¼hĊžw¶øV¤w”²Ĉ]ʚKx|`ź¦ÂÈdr„cȁbe¸›`I¼čTF´¼Óýȃr¹ÍJ©k_șl³´_pН`oÒhŽ¶pa‚^ÓĔ}D»^Xyœ`d˜[Kv…JPhèhCrĂĚÂ^Êƌ wˆZL­Ġ£šÁbrzOIl’MM”ĪŐžËr×ÎeŦŽtw|Œ¢mKjSǘňĂStÎŦEtqFT†¾†E쬬ôxÌO¢Ÿ KŠ³ŀºäY†„”PVgŎ¦Ŋm޼VZwVlŒ„z¤…ž£Tl®ctĽÚó{G­A‡ŒÇgeš~Αd¿æaSba¥KKûj®_ć^\\ؾbP®¦x^sxjĶI_Ä X‚⼕Hu¨Qh¡À@Ëô}Ž±žGNìĎlT¸ˆ…`V~R°tbÕĊ`¸úÛtπFDu€[ƒMfqGH·¥yA‰ztMFe|R‚_Gk†ChZeÚ°to˜v`x‹b„ŒDnÐ{E}šZ˜è€x—†NEފREn˜[Pv@{~rĆAB§‚EO¿|UZ~ì„Uf¨J²ĂÝƀ‚sª–B`„s¶œfvö¦ŠÕ~dÔq¨¸º»uù[[§´sb¤¢zþFœ¢Æ…Àhˆ™ÂˆW\\ıŽËI݊o±ĭŠ£þˆÊs}¡R]ŒěƒD‚g´VG¢‚j±®è†ºÃmpU[Á›‘Œëº°r›ÜbNu¸}Žº¼‡`ni”ºÔXĄ¤¼Ôdaµ€Á_À…†ftQQgœR—‘·Ǔ’v”}Ýלĵ]µœ“Wc¤F²›OĩųãW½¯K‚©…]€{†LóµCIµ±Mß¿hŸ•©āq¬o‚½ž~@i~TUxŪÒ¢@ƒ£ÀEîôruń‚”“‚b[§nWuMÆLl¿]x}ij­€½"]],encodeOffsets:[[[112158,27383]],[[112105,27474]],[[112095,27476]]]},properties:{cp:[106.713478,26.578343],name:"贵州",childNum:3}},{id:"530000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@[„ùx½}ÑRH‘YīĺûsÍn‘iEoã½Ya²ė{c¬ĝg•ĂsA•ØÅwď‚õzFjw}—«Dx¿}UũlŸê™@•HÅ­F‰¨ÇoJ´Ónũuą¡Ã¢pÒŌ“Ø TF²‚xa²ËX€‚cʋlHîAßËŁkŻƑŷÉ©h™W­æßU‡“Ës¡¦}•teèƶStǀÇ}Fd£j‹ĈZĆÆ‹¤T‚č\\Dƒ}O÷š£Uˆ§~ŃG™‚åŃDĝ¸œTsd¶¶Bªš¤u¢ŌĎo~t¾ÍŶÒtD¦Ú„iôö‰€z›ØX²ghįh½Û±¯€ÿm·zR¦Ɵ`ªŊÃh¢rOԍ´£Ym¼èêf¯ŪĽn„†cÚbŒw\\zlvWžªâˆ ¦g–mĿBş£¢ƹřbĥkǫßeeZkÙIKueT»sVesb‘aĕ  ¶®dNœĄÄpªyŽ¼—„³BE˜®l‡ŽGœŭCœǶwêżĔÂe„pÍÀQƞpC„–¼ŲÈ­AÎô¶R„ä’Q^Øu¬°š_Èôc´¹ò¨P΢hlϦ´Ħ“Æ´sâDŽŲPnÊD^¯°’Upv†}®BP̪–jǬx–Söwlfòªv€qĸ|`H€­viļ€ndĜ­Ćhň•‚em·FyށqóžSį¯‘³X_ĞçêtryvL¤§z„¦c¦¥jnŞk˜ˆlD¤øz½ĜàžĂŧMÅ|áƆàÊcðÂF܎‚áŢ¥\\\\º™İøÒÐJĴ‡„îD¦zK²ǏÎEh~’CD­hMn^ÌöÄ©ČZÀžaü„fɭyœpį´ěFűk]Ôě¢qlÅĆÙa¶~Äqššê€ljN¬¼H„ÊšNQ´ê¼VظE††^ŃÒyŒƒM{ŒJLoÒœęæŸe±Ķ›y‰’‡gã“¯JYÆĭĘëo¥Š‰o¯hcK«z_pŠrC´ĢÖY”—¼ v¸¢RŽÅW³Â§fǸYi³xR´ďUˊ`êĿU„û€uĆBƒƣö‰N€DH«Ĉg†——Ñ‚aB{ÊNF´¬c·Åv}eÇÃGB»”If•¦HňĕM…~[iwjUÁKE•Ž‹¾dĪçW›šI‹èÀŒoÈXòyŞŮÈXâÎŚŠj|àsRy‹µÖ›–Pr´þŒ ¸^wþTDŔ–Hr¸‹žRÌmf‡żÕâCôox–ĜƌÆĮŒ›Ð–œY˜tâŦÔ@]ÈǮƒ\\Ī¼Ä£UsȯLbîƲŚºyh‡rŒŠ@ĒԝƀŸÀ²º\\êp“’JŠ}ĠvŠqt„Ġ@^xÀ£È†¨mËÏğ}n¹_¿¢×Y_æpˆÅ–A^{½•Lu¨GO±Õ½ßM¶w’ÁĢۂP‚›Ƣ¼pcIJxŠ|ap̬HšÐŒŊSfsðBZ¿©“XÏÒK•k†÷Eû¿‰S…rEFsÕūk”óVǥʼniTL‚¡n{‹uxţÏh™ôŝ¬ğōN“‘NJkyPaq™Âğ¤K®‡YŸxÉƋÁ]āęDqçgOg†ILu—\\_gz—]W¼ž~CÔē]bµogpў_oď`´³Țkl`IªºÎȄqÔþž»E³ĎSJ»œ_f·‚adÇqƒÇc¥Á_Źw{™L^ɱćx“U£µ÷xgĉp»ĆqNē`rĘzaĵĚ¡K½ÊBzyäKXqiWPÏɸ½řÍcÊG|µƕƣG˛÷Ÿk°_^ý|_zċBZocmø¯hhcæ\\lˆMFlư£Ĝ„ÆyH“„F¨‰µêÕ]—›HA…àӄ^it `þßäkŠĤÎT~Wlÿ¨„ÔPzUC–NVv [jâôDôď[}ž‰z¿–msSh‹¯{jïğl}šĹ[–őŒ‰gK‹©U·µË@¾ƒm_~q¡f¹…ÅË^»‘f³ø}Q•„¡Ö˳gͱ^ǁ…\\ëÃA_—¿bW›Ï[¶ƛ鏝£F{īZgm@|kHǭƁć¦UĔťƒ×ë}ǝƒeďºȡȘÏíBə£āĘPªij¶“ʼnÿ‡y©n‰ď£G¹¡I›Š±LÉĺÑdĉ܇W¥˜‰}g˜Á†{aqÃ¥aŠıęÏZ—ï`"],encodeOffsets:[[104636,22969]]},properties:{cp:[102.712251,25.040609],name:"云南",childNum:1}},{id:"540000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@hžľxŽŖ‰xƒÒVŽ†ºÅâAĪÝȆµę¯Ňa±r_w~uSÕň‘qOj]ɄQ…£Z……UDûoY’»©M[‹L¼qãË{V͕çWViŽ]ë©Ä÷àyƛh›ÚU°ŒŒa”d„cQƒ~Mx¥™cc¡ÙaSyF—ցk­ŒuRýq¿Ôµ•QĽ³aG{¿FµëªéĜÿª@¬·–K‰·àariĕĀ«V»Ŷ™Ĵū˜gèLǴŇƶaf‹tŒèBŚ£^Šâ†ǐÝ®–šM¦ÁǞÿ¬LhŸŽJ¾óƾƺcxw‹f]Y…´ƒ¦|œQLn°aœdĊ…œ\\¨o’œǀÍŎœ´ĩĀd`tÊQŞŕ|‚¨C^©œĈ¦„¦ÎJĊ{ŽëĎjª²rЉšl`¼Ą[t|¦St辉PŒÜK¸€d˜Ƅı]s¤—î_v¹ÎVòŦj˜£Əsc—¬_Ğ´|Ł˜¦AvŽ¦w`ăaÝaa­¢e¤ı²©ªSªšÈMĄwžÉØŔì@T‘¤—Ę™\\õª@”þo´­xA s”ÂtŎKzó´ÇĊµ¢rž^nĊ­Æ¬×üGž¢‚³ {âĊ]š™G‚~bÀgVjzlhǶf€žOšfdŠ‰ªB]pj„•TO–tĊ‚n¤}®¦ƒČ¥d¢¼»ddš”Y¼Žt—¢eȤJ¤}Ǿ¡°§¤AГlc@ĝ”sªćļđAç‡wx•UuzEÖġ~AN¹ÄÅȀŻ¦¿ģŁéì±H…ãd«g[؉¼ēÀ•cīľġ¬cJ‘µ…ÐʥVȝ¸ßS¹†ý±ğkƁ¼ą^ɛ¤Ûÿ‰b[}¬ōõÃ]ËNm®g@•Bg}ÍF±ǐyL¥íCˆƒIij€Ï÷њį[¹¦[⚍EÛïÁÉdƅß{âNÆāŨߝ¾ě÷yC£‡k­´ÓH@¹†TZ¥¢įƒ·ÌAЧ®—Zc…v½ŸZ­¹|ŕWZqgW“|ieZÅYVӁqdq•bc²R@†c‡¥Rã»Ge†ŸeƃīQ•}J[ғK…¬Ə|o’ėjġĠÑN¡ð¯EBčnwôɍėªƒ²•CλŹġǝʅįĭạ̃ūȹ]ΓͧgšsgȽóϧµǛ†ęgſ¶ҍć`ĘąŌJޚä¤rÅň¥ÖÁUětęuůÞiĊÄÀ\\Æs¦ÓRb|Â^řÌkÄŷ¶½÷‡f±iMݑ›‰@ĥ°G¬ÃM¥n£Øą‚ğ¯ß”§aëbéüÑOčœk£{\\‘eµª×M‘šÉfm«Ƒ{Å׃Gŏǩãy³©WÑăû‚··‘Q—òı}¯ã‰I•éÕÂZ¨īès¶ZÈsŽæĔTŘvŽgÌsN@îá¾ó@‰˜ÙwU±ÉT廣TđŸWxq¹Zo‘b‹s[׌¯cĩv‡Œėŧ³BM|¹k‰ªħ—¥TzNYnݍßpęrñĠĉRS~½ŠěVVŠµ‚õ‡«ŒM££µB•ĉ¥áºae~³AuĐh`Ü³ç@BۘïĿa©|z²Ý¼D”£àč²‹ŸƒIƒû›I ā€óK¥}rÝ_Á´éMaň¨€~ªSĈ½Ž½KÙóĿeƃÆBŽ·¬ën×W|Uº}LJrƳ˜lŒµ`bÔ`QˆˆÐÓ@s¬ñIŒÍ@ûws¡åQÑßÁ`ŋĴ{Ī“T•ÚÅTSij‚‹Yo|Ç[ǾµMW¢ĭiÕØ¿@˜šMh…pÕ]j†éò¿OƇĆƇp€êĉâlØw–ěsˆǩ‚ĵ¸c…bU¹ř¨WavquSMzeo_^gsÏ·¥Ó@~¯¿RiīB™Š\\”qTGªÇĜçPoŠÿfñòą¦óQīÈáP•œābß{ƒZŗĸIæńhnszÁCËìñšÏ·ąĚÝUm®ó­L·ăU›Èíoù´Êj°ŁŤ_uµ^‘°Œìǖ@tĶĒ¡Æ‡M³Ģ«˜İĨÅ®ğ†RŽāð“ggheÆ¢z‚Ê©Ô\\°ÝĎz~ź¤Pn–MĪÖB£Ÿk™n鄧żćŠ˜ĆK„Ē°¼L¶è‰âz¨u¦¥LDĘz¬ýÎmĘd¾ß”Fz“hg²™Fy¦ĝ¤ċņbΛ@y‚Ąæm°NĮZRÖíŽJ²öLĸÒ¨Y®ƌÐV‰à˜tt_ڀÂyĠzž]Ţh€zĎ{†ĢX”ˆc|šÐqŽšfO¢¤ög‚ÌHNŽ„PKŖœŽ˜Uú´xx[xˆvĐCûĀŠìÖT¬¸^}Ìsòd´_Ž‡KgžLĴ…ÀBon|H@–Êx˜—¦BpŰˆŌ¿fµƌA¾zLjRxŠ¶F”œkĄźRzŀˆ~¶[”´Hnª–VƞuĒ­È¨ƎcƽÌm¸ÁÈM¦x͊ëÀxdžB’šú^´W†£–d„kɾĬpœw‚˂ØɦļĬIŚœÊ•n›Ŕa¸™~J°î”lɌxĤÊÈðhÌ®‚g˜T´øŽàCˆŽÀ^ªerrƘdž¢İP|Ė ŸWœªĦ^¶´ÂL„aT±üWƜ˜ǀRšŶUńšĖ[QhlLüA†‹Ü\\†qR›Ą©"],encodeOffsets:[[90849,37210]]},properties:{cp:[91.132212,29.660361],name:"西藏",childNum:1}},{id:"610000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@˜p¢—ȮµšûG™Ħ}Ħšðǚ¶òƄ€jɂz°{ºØkÈęâ¦jª‚Bg‚\\œċ°s¬Ž’]jžú ‚E”Ȍdž¬s„t‡”RˆÆdĠݎwܔ¸ôW¾ƮłÒ_{’Ìšû¼„jº¹¢GǪÒ¯ĘƒZ`ºŊƒecņąš~BÂgzpâēòYǠȰÌTΨÂWœ|fcŸă§uF—Œ@NŸ¢XLƒŠRMº[ğȣſï|¥J™kc`sʼnǷ’Y¹‹W@µ÷K…ãï³ÛIcñ·VȋڍÒķø©—þ¥ƒy‚ÓŸğęmWµÎumZyOŅƟĥÓ~sÑL¤µaŅY¦ocyZ{‰y c]{ŒTa©ƒ`U_Ěē£ωÊƍKù’K¶ȱÝƷ§{û»ÅÁȹÍéuij|¹cÑd‘ŠìUYƒŽO‘uF–ÕÈYvÁCqӃT•Ǣí§·S¹NgŠV¬ë÷Át‡°Dد’C´ʼnƒópģ}„ċcE˅FŸŸéGU¥×K…§­¶³B‹Č}C¿åċ`wġB·¤őcƭ²ő[Å^axwQO…ÿEËߌ•ĤNĔŸwƇˆÄŠńwĪ­Šo[„_KÓª³“ÙnK‰Çƒěœÿ]ď€ă_d©·©Ýŏ°Ù®g]±„Ÿ‡ß˜å›—¬÷m\\›iaǑkěX{¢|ZKlçhLt€Ňîŵ€œè[€É@ƉĄEœ‡tƇÏ˜³­ħZ«mJ…›×¾‘MtÝĦ£IwÄå\\Õ{‡˜ƒOwĬ©LÙ³ÙgBƕŀr̛ĢŭO¥lãyC§HÍ£ßEñŸX¡—­°ÙCgpťz‘ˆb`wI„vA|§”‡—hoĕ@E±“iYd¥OĻ¹S|}F@¾oAO²{tfžÜ—¢Fǂ҈W²°BĤh^Wx{@„¬‚­F¸¡„ķn£P|ŸªĴ@^ĠĈæb–Ôc¶l˜Yi…–^Mi˜cĎ°Â[ä€vï¶gv@À“Ĭ·lJ¸sn|¼u~a]’ÆÈtŌºJp’ƒþ£KKf~Š¦UbyäIšĺãn‡Ô¿^­žŵMT–hĠܤko¼Ŏìąǜh`[tŒRd²IJ_œXPrɲ‰l‘‚XžiL§àƒ–¹ŽH˜°Ȧqº®QC—bA†„ŌJ¸ĕÚ³ĺ§ `d¨YjžiZvRĺ±öVKkjGȊĐePОZmļKÀ€‚[ŠŽ`ösìh†ïÎoĬdtKÞ{¬èÒÒBŒÔpIJÇĬJŊ¦±J«ˆY§‹@·pH€µàåVKe›pW†ftsAÅqC·¬ko«pHÆuK@oŸHĆۄķhx“e‘n›S³àǍrqƶRbzy€¸ËАl›¼EºpĤ¼Œx¼½~Ğ’”à@†ÚüdK^ˆmÌSj"],encodeOffsets:[[110234,38774]]},properties:{cp:[108.948024,34.263161],name:"陕西",childNum:1}},{id:"620000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@VuUv"],["@@ũ‹EĠtt~nkh`Q‰¦ÅÄÜdw˜Ab×ĠąJˆ¤DüègĺqBqœj°lI¡ĨÒ¤úSHbš‡ŠjΑBŠ°aZˆ¢KJŽ’O[|A£žDx}Nì•HUnrk„ kp€¼Y kMJn[aG‚áÚÏ[½rc†}aQxOgsPMnUs‡nc‹Z…ž–sKúvA›t„Þġ’£®ĀYKdnFwš¢JE°”Latf`¼h¬we|€Æ‡šbj}GA€·~WŽ”—`†¢MC¤tL©IJ°qdf”O‚“bÞĬ¹ttu`^ZúE`Œ[@„Æsîz®¡’C„ƳƜG²“R‘¢R’m”fŽwĸg܃‚ą G@pzJM½mŠhVy¸uÈÔO±¨{LfæU¶ßGĂq\\ª¬‡²I‚¥IʼnÈīoı‹ÓÑAçÑ|«LÝcspīðÍg…të_õ‰\\ĉñLYnĝg’ŸRǡÁiHLlõUĹ²uQjYi§Z_c¨Ÿ´ĹĖÙ·ŋI…ƒaBD˜­R¹ȥr—¯G•ºß„K¨jWk’ɱŠOq›Wij\\a­‹Q\\sg_ĆǛōëp»£lğۀgS•ŶN®À]ˆÓäm™ĹãJaz¥V}‰Le¤L„ýo‘¹IsŋÅÇ^‘Žbz…³tmEÁ´aŠ¹cčecÇN•ĊãÁ\\č¯—dNj•]j†—ZµkÓda•ćå]ğij@ ©O{¤ĸm¢ƒE·®ƒ«|@Xwg]Aģ±¯‡XǁÑdzªc›wQÚŝñsÕ³ÛV_ýƒ˜¥\\ů¥©¾÷w—Ž©WÕÊĩhÿÖÁRo¸V¬âDb¨šhûx–Ê×nj~Zâƒg|šXÁnßYoº§ZÅŘvŒ[„ĭÖʃuďxcVbnUSf…B¯³_Tzº—ΕO©çMÑ~Mˆ³]µ^püµ”ŠÄY~y@X~¤Z³€[Èōl@®Å¼£QKƒ·Di‹¡By‘ÿ‰Q_´D¥hŗyƒ^ŸĭÁZ]cIzý‰ah¹MĪğP‘s{ò‡‹‘²Vw¹t³Ŝˁ[ŽÑ}X\\gsFŸ£sPAgěp×ëfYHāďÖqēŭOÏë“dLü•\\iŒ”t^c®šRʺ¶—¢H°mˆ‘rYŸ£BŸ¹čIoľu¶uI]vģSQ{ƒUŻ”Å}QÂ|̋°ƅ¤ĩŪU ęĄžÌZҞ\\v˜²PĔ»ƢNHƒĂyAmƂwVmž`”]ȏb•”H`‰Ì¢²ILvĜ—H®¤Dlt_„¢JJÄämèÔDëþgºƫ™”aʎÌrêYi~ ÎݤNpÀA¾Ĕ¼b…ð÷’Žˆ‡®‚”üs”zMzÖĖQdȨý†v§Tè|ªH’þa¸|šÐ ƒwKĢx¦ivr^ÿ ¸l öæfƟĴ·PJv}n\\h¹¶v†·À|\\ƁĚN´Ĝ€çèÁz]ġ¤²¨QÒŨTIl‡ªťØ}¼˗ƦvÄùØE‹’«Fï˛Iq”ōŒTvāÜŏ‚íÛߜÛV—j³âwGăÂíNOŠˆŠPìyV³ʼnĖýZso§HіiYw[߆\\X¦¥c]ÔƩÜ·«j‡ÐqvÁ¦m^ċ±R™¦΋ƈťĚgÀ»IïĨʗƮŽ°Ɲ˜ĻþÍAƉſ±tÍEÕÞāNU͗¡\\ſčåÒʻĘm ƭÌŹöʥ’ëQ¤µ­ÇcƕªoIýˆ‰Iɐ_mkl³ă‰Ɠ¦j—¡Yz•Ňi–}Msßõ–īʋ —}ƒÁVmŸ_[n}eı­Uĥ¼‘ª•I{ΧDӜƻėoj‘qYhĹT©oūĶ£]ďxĩ‹ǑMĝ‰q`B´ƃ˺Ч—ç~™²ņj@”¥@đ´ί}ĥtPńǾV¬ufӃÉC‹tÓ̻‰…¹£G³€]ƖƾŎĪŪĘ̖¨ʈĢƂlɘ۪üºňUðǜȢƢż̌ȦǼ‚ĤŊɲĖ­Kq´ï¦—ºĒDzņɾªǀÞĈĂD†½ĄĎÌŗĞrôñnŽœN¼â¾ʄľԆ|DŽŽ֦ज़ȗlj̘̭ɺƅêgV̍ʆĠ·ÌĊv|ýĖÕWĊǎÞ´õ¼cÒÒBĢ͢UĜð͒s¨ňƃLĉÕÝ@ɛƯ÷¿Ľ­ĹeȏijëCȚDŲyê×Ŗyò¯ļcÂßY…tÁƤyAã˾J@ǝrý‹‰@¤…rz¸oP¹ɐÚyᐇHŸĀ[Jw…cVeȴϜ»ÈŽĖ}ƒŰŐèȭǢόĀƪÈŶë;Ñ̆ȤМľĮEŔ—ĹŊũ~ËUă{ŸĻƹɁύȩþĽvĽƓÉ@ē„ĽɲßǐƫʾǗĒpäWÐxnsÀ^ƆwW©¦cÅ¡Ji§vúF¶Ž¨c~c¼īŒeXǚ‹\\đ¾JŽwÀďksãA‹fÕ¦L}wa‚o”Z’‹D½†Ml«]eÒÅaɲáo½FõÛ]ĻÒ¡wYR£¢rvÓ®y®LF‹LzĈ„ôe]gx}•|KK}xklL]c¦£fRtív¦†PĤoH{tK"]],encodeOffsets:[[[108619,36299]],[[108589,36341]]]},properties:{cp:[103.823557,36.058039],name:"甘肃",childNum:2}},{id:"630000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@InJm"],["@@CƒÆ½OŃĦsΰ~Ē³¦@@“Ņiš±è}ؘƄ˹A³r_ĞŠǒNĪŒĐw¤^ŬĵªpĺSZg’rpiƼĘԛ¨C|͖J’©Ħ»®VIJ~f\\m `Un„˜~ʌŸ•ĬàöNt•~ňjy–¢Zi˜Ɣ¥ĄŠk´nl`JʇŠJþ©pdƖ®È£¶ìRʦ‘źõƮËnŸʼėæÑƀĎ[‚˜¢VÎĂMÖÝÎF²sƊƀÎBļýƞ—¯ʘƭðħ¼Jh¿ŦęΌƇš¥²Q]Č¥nuÂÏriˆ¸¬ƪÛ^Ó¦d€¥[Wà…x\\ZŽjҕ¨GtpþYŊĕ´€zUO뇉P‰îMĄÁxH´á˜iÜUà›îÜՁĂÛSuŎ‹r“œJð̬EŒ‘FÁú×uÃÎkr“Ē{V}İ«O_ÌËĬ©ŽÓŧSRѱ§Ģ£^ÂyèçěM³Ƃę{[¸¿u…ºµ[gt£¸OƤĿéYŸõ·kĀŸq]juw¥Dĩƍ€õÇPéĽG‘ž©ã‡¤G…uȧþRcÕĕNy“yût“ˆ­‡ø‘†ï»a½ē¿BMoį£ŸÍj}éZËqbʍš“Ƭh¹ìÿÓAçãnIáI`ƒks£CG­ě˜Uy×Cy•…’Ÿ@¶ʡÊBnāzG„ơMē¼±O÷õJËĚăVŸĪũƆ£Œ¯{ËL½Ìzż“„VR|ĠTbuvJvµhĻĖH”Aëáa…­OÇðñęNw‡…œľ·L›mI±íĠĩPÉ×®ÿs—’cB³±JKßĊ«`…ađ»·QAmO’‘Vţéÿ¤¹SQt]]Çx€±¯A@ĉij¢Óļ©•ƒl¶ÅÛr—ŕspãRk~¦ª]Į­´“FR„åd­ČsCqđéFn¿Åƃm’Éx{W©ºƝºįkÕƂƑ¸wWūЩÈFž£\\tÈ¥ÄRÈýÌJ ƒlGr^×äùyÞ³fj”c†€¨£ÂZ|ǓMĝšÏ@ëÜőR‹›ĝ‰Œ÷¡{aïȷPu°ËXÙ{©TmĠ}Y³’­ÞIňµç½©C¡į÷¯B»|St»›]vƒųƒs»”}MÓ ÿʪƟǭA¡fs˜»PY¼c¡»¦c„ċ­¥£~msĉP•–Siƒ^o©A‰Šec‚™PeǵŽkg‚yUi¿h}aH™šĉ^|ᴟ¡HØûÅ«ĉ®]m€¡qĉ¶³ÈyôōLÁst“BŸ®wn±ă¥HSòėš£˜S’ë@לÊăxÇN©™©T±ª£IJ¡fb®ÞbŽb_Ą¥xu¥B—ž{łĝ³«`d˜Ɛt—¤ťiñžÍUuºí`£˜^tƃIJc—·ÛLO‹½Šsç¥Ts{ă\\_»™kϊ±q©čiìĉ|ÍIƒ¥ć¥›€]ª§D{ŝŖÉR_sÿc³Īō›ƿΑ›§p›[ĉ†›c¯bKm›R¥{³„Z†e^ŽŒwx¹dƽŽôIg §Mĕ ƹĴ¿—ǣÜ̓]‹Ý–]snåA{‹eŒƭ`ǻŊĿ\\ijŬű”YÂÿ¬jĖqŽßbŠ¸•L«¸©@ěĀ©ê¶ìÀEH|´bRľž–Ó¶rÀQþ‹vl®Õ‚E˜TzÜdb ˜hw¤{LR„ƒd“c‹b¯‹ÙVgœ‚ƜßzÃô쮍^jUèXΖ|UäÌ»rKŽ\\ŒªN‘¼pZCü†VY††¤ɃRi^rPҒTÖ}|br°qňbĚ°ªiƶGQ¾²„x¦PœmlŜ‘[Ĥ¡ΞsĦŸÔÏâ\\ªÚŒU\\f…¢N²§x|¤§„xĔsZPòʛ²SÐqF`ª„VƒÞŜĶƨVZŒÌL`ˆ¢dŐIqr\\oäõ–F礻Ŷ×h¹]Clـ\\¦ďÌį¬řtTӺƙgQÇÓHţĒ”´ÃbEÄlbʔC”|CˆŮˆk„Ʈ[ʼ¬ňœ´KŮÈΰÌĪ¶ƶlð”ļA†TUvdTŠG†º̼ŠÔ€ŒsÊDԄveOg"]],encodeOffsets:[[[105308,37219]],[[95370,40081]]]},properties:{cp:[101.778916,36.623178],name:"青海",childNum:2}},{id:"640000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@KëÀęĞ«OęȿȕŸı]ʼn¡åįÕÔ«Ǵõƪ™ĚQÐZhv K°›öqÀѐS[ÃÖHƖčË‡nL]ûc…Ùß@‚“ĝ‘¾}w»»‹oģF¹œ»kÌÏ·{zPƒ§B­¢íyÅt@ƒ@áš]Yv_ssģ¼i߁”ĻL¾ġsKD£¡N_…“˜X¸}B~Haiˆ™Åf{«x»ge_bs“KF¯¡Ix™mELcÿZ¤­Ģ‘ƒÝœsuBLù•t†ŒYdˆmVtNmtOPhRw~bd…¾qÐ\\âÙH\\bImlNZŸ»loƒŸqlVm–Gā§~QCw¤™{A\\‘PKŸNY‡¯bF‡kC¥’sk‹Šs_Ã\\ă«¢ħkJi¯r›rAhĹûç£CU‡ĕĊ_ԗBixÅُĄnªÑaM~ħpOu¥sîeQ¥¤^dkKwlL~{L~–hw^‚ófćƒKyEŒ­K­zuÔ¡qQ¤xZÑ¢^ļöܾEpž±âbÊÑÆ^fk¬…NC¾‘Œ“YpxbK~¥Že֎ŒäBlt¿Đx½I[ĒǙŒWž‹f»Ĭ}d§dµùEuj¨‚IÆ¢¥dXªƅx¿]mtÏwßRĶŒX¢͎vÆzƂZò®ǢÌʆCrâºMÞzžÆMҔÊÓŊZľ–r°Î®Ȉmª²ĈUªĚøºˆĮ¦ÌĘk„^FłĬhĚiĀĖ¾iİbjÕ"],["@@mfwěwMrŢªv@G‰"]],encodeOffsets:[[[109366,40242]],[[108600,36303]]]},properties:{cp:[106.278179,38.46637],name:"宁夏",childNum:2}},{id:"650000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@QØĔ²X¨”~ǘBºjʐßØvK”ƔX¨vĊOžÃƒ·¢i@~c—‡ĝe_«”Eš“}QxgɪëÏÃ@sÅyXoŖ{ô«ŸuX…ê•Îf`œC‚¹ÂÿÐGĮÕĞXŪōŸMźÈƺQèĽôe|¿ƸJR¤ĘEjcUóº¯Ĩ_ŘÁMª÷Ð¥Oéȇ¿ÖğǤǷÂF҇zÉx[]­Ĥĝ‰œ¦EP}ûƥé¿İƷTėƫœŕƅ™ƱB»Đ±’ēO…¦E–•}‘`cȺrĦáŖuҞª«IJ‡πdƺÏØZƴwʄ¤ĖGЙǂZĶƒèH¶}ÚZצʥĪï|ÇĦMŔ»İĝLj‹ì¥Βœba­¯¥ǕǚkĆŵĦɑĺƯxūД̵nơʃĽá½M»›òmqóŘĝč˾ăC…ćāƿÝɽ©DZŅ¹đ¥˜³ðLrÁ®ɱĕģʼnǻ̋ȥơŻǛȡVï¹Ň۩ûkɗġƁ§ʇė̕ĩũƽō^ƕŠUv£ƁQï“Ƶkŏ½ΉÃŭdzLқʻ«ƭ\\lƒ‡ŭD‡“{ʓDkaFÃÄa“³ŤđÔGRÈƚhSӹŚsİ«ĐË[¥ÚDkº^Øg¼ŵ¸£EÍö•€ůʼnT¡c_‡ËKY‹ƧUśĵ„݃U_©rETÏʜ±OñtYwē¨ƒ{£¨uM³x½şL©Ùá[ÓÐĥ Νtģ¢\\‚ś’nkO›w¥±ƒT»ƷFɯàĩÞáB¹Æ…ÑUw„੍žĽw[“mG½Èå~‡Æ÷QyŠěCFmĭZī—ŵVÁ™ƿQƛ—ûXS²‰b½KϽĉS›©ŷXĕŸ{ŽĕK·¥Ɨcqq©f¿]‡ßDõU³h—­gËÇïģÉɋw“k¯í}I·šœbmœÉ–ř›īJɥĻˁ×xo›ɹī‡l•c…¤³Xù]‘™DžA¿w͉ì¥wÇN·ÂËnƾƍdǧđ®Ɲv•Um©³G\\“}µĿ‡QyŹl㓛µEw‰LJQ½yƋBe¶ŋÀů‡ož¥A—˜Éw@•{Gpm¿Aij†ŽKLhˆ³`ñcËtW‚±»ÕS‰ëüÿďD‡u\\wwwù³—V›LŕƒOMËGh£õP¡™er™Ïd{“‡ġWÁ…č|yšg^ğyÁzÙs`—s|ÉåªÇ}m¢Ń¨`x¥’ù^•}ƒÌ¥H«‰Yªƅ”Aйn~ź¯šf¤áÀz„gŠÇDIԝ´AňĀ҄¶ûEYospõD[{ù°]u›Jq•U•|Soċxţ[õÔĥkŋÞŭZ˺óYËüċrw €ÞkrťË¿XGÉbřaDü·Ē÷Aê[Ää€I®BÕИÞ_¢āĠpŠÛÄȉĖġDKwbm‡ÄNô‡ŠfœƫVÉvi†dz—H‘‹QµâFšù­Âœ³¦{YGžƒd¢ĚÜO „€{Ö¦ÞÍÀPŒ^b–ƾŠlŽ[„vt×ĈÍE˨¡Đ~´î¸ùÎh€uè`¸ŸHÕŔVºwĠââWò‡@{œÙNÝ´ə²ȕn{¿¥{l—÷eé^e’ďˆXj©î\\ªÑò˜Üìc\\üqˆÕ[Č¡xoÂċªbØ­Œø|€¶ȴZdÆšońéŒGš\\”¼C°ÌƁn´nxšÊOĨ’Ūƴĸ¢¸òTxÊǪMīИÖŲÃɎOvˆʦƢ~FŽ‡Rěò—¿ġ~åŊœú‰Nšžš¸qŽ’Ę[Ĕ¶ÂćnÒPĒÜvúĀÊbÖ{Äî¸~Ŕünp¤ÂH¾œĄYÒ©ÊfºmԈĘcDoĬMŬ’˜S¤„s²‚”ʘچžȂVŦ –ŽèW°ªB|IJXŔþÈJĦÆæFĚêŠYĂªĂ]øªŖNÞüA€’fɨJ€˜¯ÎrDDšĤ€`€mz\\„§~D¬{vJÂ˜«lµĂb–¤p€ŌŰNĄ¨ĊXW|ų ¿¾ɄĦƐMT”‡òP˜÷fØĶK¢ȝ˔Sô¹òEð­”`Ɩ½ǒÂň×äı–§ĤƝ§C~¡‚hlå‚ǺŦŞkâ’~}ŽFøàIJaĞ‚fƠ¥Ž„Ŕdž˜®U¸ˆźXœv¢aƆúŪtŠųƠjd•ƺŠƺÅìnrh\\ĺ¯äɝĦ]èpĄ¦´LƞĬŠ´ƤǬ˼Ēɸ¤rºǼ²¨zÌPðŀbþ¹ļD¢¹œ\\ĜÑŚŸ¶ZƄ³àjĨoâŠȴLʉȮŒĐ­ĚăŽÀêZǚŐ¤qȂ\\L¢ŌİfÆs|zºeªÙæ§΢{Ā´ƐÚ¬¨Ĵà²łhʺKÞºÖTŠiƢ¾ªì°`öøu®Ê¾ãØ"],encodeOffsets:[[88824,50096]]},properties:{cp:[87.617733,43.792818],name:"新疆",childNum:1}},{id:"110000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@ĽOÁ›ûtŷmiÍt_H»Ĩ±d`Š¹­{bw…Yr“³S]§§o¹€qGtm_Sŧ€“oa›‹FLg‘QN_•dV€@Zom_ć\\ߚc±x¯oœRcfe…£’o§ËgToÛJíĔóu…|wP¤™XnO¢ÉˆŦ¯rNÄā¤zâŖÈRpŢZŠœÚ{GŠrFt¦Òx§ø¹RóäV¤XdˆżâºWbwŚ¨Ud®bêņ¾‘jnŎGŃŶŠnzÚSeîĜZczî¾i]͜™QaúÍÔiþĩȨWĢ‹ü|Ėu[qb[swP@ÅğP¿{\\‡¥A¨Ï‘Ѩj¯ŠX\\¯œMK‘pA³[H…īu}}"],encodeOffsets:[[120023,41045]]},properties:{cp:[116.405285,39.904989],name:"北京",childNum:1}},{id:"120000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@ŬgX§Ü«E…¶Ḟ“¬O_™ïlÁg“z±AXe™µÄĵ{¶]gitgšIj·›¥îakS€‰¨ÐƎk}ĕ{gB—qGf{¿a†U^fI“ư‹³õ{YƒıëNĿžk©ïËZŏ‘R§òoY×Ógc…ĥs¡bġ«@dekąI[nlPqCnp{ˆō³°`{PNdƗqSÄĻNNâyj]äžÒD ĬH°Æ]~¡HO¾ŒX}ÐxŒgp“gWˆrDGˆŒpù‚Š^L‚ˆrzWxˆZ^¨´T\\|~@I‰zƒ–bĤ‹œjeĊªz£®Ĕvě€L†mV¾Ô_ȔNW~zbĬvG†²ZmDM~”~"],encodeOffsets:[[120237,41215]]},properties:{cp:[117.190182,39.125596],name:"天津",childNum:1}},{id:"310000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@ɧư¬EpƸÁxc‡"],["@@©„ªƒ"],["@@”MA‹‘š"],["@@Qp݁E§ÉC¾"],["@@bŝՕÕEȣÚƥêImɇǦèÜĠŒÚžÃƌÃ͎ó"],["@@ǜûȬɋŠŭ™×^‰sYŒɍDŋ‘ŽąñCG²«ªč@h–_p¯A{‡oloY€¬j@IJ`•gQڛhr|ǀ^MIJvtbe´R¯Ô¬¨YŽô¤r]ì†Ƭį"]],encodeOffsets:[[[124702,32062]],[[124547,32200]],[[124808,31991]],[[124726,32110]],[[124903,32376]],[[124438,32149]]]},properties:{cp:[121.472644,31.231706],name:"上海",childNum:6}},{id:"500000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@vjG~nGŘŬĶȂƀƾ¹¸ØÎezĆT¸}êЖqHŸðqĖ䒊¥^CƒIj–²p…\\_ æüY|[YxƊæuž°xb®…Űb@~¢NQt°¶‚S栓Ê~rljĔëĚ¢~šuf`‘‚†fa‚ĔJåĊ„nÖ]„jƎćÊ@Š£¾a®£Ű{ŶĕF‹ègLk{Y|¡ĜWƔtƬJÑxq‹±ĢN´‰òK‰™–LÈüD|s`ŋ’ć]ƒÃ‰`đŒMûƱ½~Y°ħ`ƏíW‰½eI‹½{aŸ‘OIrÏ¡ĕŇa†p†µÜƅġ‘œ^ÖÛbÙŽŏml½S‹êqDu[R‹ãË»†ÿw`»y‘¸_ĺę}÷`M¯ċfCVµqʼn÷Z•gg“Œ`d½pDO‡ÎCnœ^uf²ènh¼WtƏxRGg¦…pV„†FI±ŽG^ŒIc´ec‡’G•ĹÞ½sëĬ„h˜xW‚}Kӈe­Xsbk”F¦›L‘ØgTkïƵNï¶}Gy“w\\oñ¡nmĈzjŸ•@™Óc£»Wă¹Ój“_m»ˆ¹·~MvÛaqœ»­‰êœ’\\ÂoVnŽÓØ͙²«‹bq¿efE „€‹Ĝ^Qž~ Évý‡ş¤²Į‰pEİ}zcĺƒL‹½‡š¿gņ›¡ýE¡ya£³t\\¨\\vú»¼§·Ñr_oÒý¥u‚•_n»_ƒ•At©Þűā§IVeëƒY}{VPÀFA¨ąB}q@|Ou—\\Fm‰QF݅Mw˜å}]•€|FmϋCaƒwŒu_p—¯sfÙgY…DHl`{QEfNysBŠ¦zG¸rHe‚„N\\CvEsÐùÜ_·ÖĉsaQ¯€}_U‡†xÃđŠq›NH¬•Äd^ÝŰR¬ã°wećJEž·vÝ·Hgƒ‚éFXjÉê`|yŒpxkAwœWĐpb¥eOsmzwqChóUQl¥F^laf‹anòsr›EvfQdÁUVf—ÎvÜ^efˆtET¬ôA\\œ¢sJŽnQTjP؈xøK|nBz‰„œĞ»LY‚…FDxӄvr“[ehľš•vN”¢o¾NiÂxGp⬐z›bfZo~hGi’]öF|‰|Nb‡tOMn eA±ŠtPT‡LjpYQ|†SH††YĀxinzDJ€Ìg¢và¥Pg‰_–ÇzII‹€II•„£®S¬„Øs쐣ŒN"],["@@ifjN@s"]],encodeOffsets:[[[109628,30765]],[[111725,31320]]]},properties:{cp:[106.504962,29.533155],name:"重庆",childNum:2}},{id:"810000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@AlBk"],["@@mŽn"],["@@EpFo"],["@@ea¢pl¸Eõ¹‡hj[ƒ]ÔCΖ@lj˜¡uBXŸ…•´‹AI¹…[‹yDUˆ]W`çwZkmc–…M›žp€Åv›}I‹oJlcaƒfёKŽ°ä¬XJmРđhI®æÔtSHn€Eˆ„ÒrÈc"],["@@rMUw‡AS®€e"]],encodeOffsets:[[[117111,23002]],[[117072,22876]],[[117045,22887]],[[116975,23082]],[[116882,22747]]]},properties:{cp:[114.173355,22.320048],name:"香港",childNum:5}},{id:"820000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@kÊd°å§s"],encodeOffsets:[[116279,22639]]},properties:{cp:[113.54909,22.198951],name:"澳门",childNum:1}}],UTF8Encoding:!0}):void n("ECharts Map is not loaded"):void n("ECharts is not Loaded")})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o),l=n(235);r(l);n(668);var u=i.default.createClass({displayName:"AirportCoordComponent",getOtion:function(){var e={"上海":[121.4648,31.2891],"东莞":[113.8953,22.901],"东营":[118.7073,37.5513],"中山":[113.4229,22.478],"临汾":[111.4783,36.1615],"临沂":[118.3118,35.2936],"丹东":[124.541,40.4242],"丽水":[119.5642,28.1854],"乌鲁木齐":[87.9236,43.5883],"佛山":[112.8955,23.1097],"保定":[115.0488,39.0948],"兰州":[103.5901,36.3043],"包头":[110.3467,41.4899],"北京":[116.4551,40.2539],"北海":[109.314,21.6211],"南京":[118.8062,31.9208],"南宁":[108.479,23.1152],"南昌":[116.0046,28.6633],"南通":[121.1023,32.1625],"厦门":[118.1689,24.6478],"台州":[121.1353,28.6688],"合肥":[117.29,32.0581],"呼和浩特":[111.4124,40.4901],"咸阳":[108.4131,34.8706],"哈尔滨":[127.9688,45.368],"唐山":[118.4766,39.6826],"嘉兴":[120.9155,30.6354],"大同":[113.7854,39.8035],"大连":[122.2229,39.4409],"天津":[117.4219,39.4189],"太原":[112.3352,37.9413],"威海":[121.9482,37.1393],"宁波":[121.5967,29.6466],"宝鸡":[107.1826,34.3433],"宿迁":[118.5535,33.7775],"常州":[119.4543,31.5582],"广州":[113.5107,23.2196],"廊坊":[116.521,39.0509],"延安":[109.1052,36.4252],"张家口":[115.1477,40.8527],"徐州":[117.5208,34.3268],"德州":[116.6858,37.2107],"惠州":[114.6204,23.1647],"成都":[103.9526,30.7617],"扬州":[119.4653,32.8162],"承德":[117.5757,41.4075],"拉萨":[91.1865,30.1465],"无锡":[120.3442,31.5527],"日照":[119.2786,35.5023],"昆明":[102.9199,25.4663],"杭州":[119.5313,29.8773],"枣庄":[117.323,34.8926],"柳州":[109.3799,24.9774],"株洲":[113.5327,27.0319],"武汉":[114.3896,30.6628],"汕头":[117.1692,23.3405],"江门":[112.6318,22.1484],"沈阳":[123.1238,42.1216],"沧州":[116.8286,38.2104],"河源":[114.917,23.9722],"泉州":[118.3228,25.1147],"泰安":[117.0264,36.0516],"泰州":[120.0586,32.5525],"济南":[117.1582,36.8701],"济宁":[116.8286,35.3375],"海口":[110.3893,19.8516],"淄博":[118.0371,36.6064],"淮安":[118.927,33.4039],"深圳":[114.5435,22.5439],"清远":[112.9175,24.3292],"温州":[120.498,27.8119],"渭南":[109.7864,35.0299],"湖州":[119.8608,30.7782],"湘潭":[112.5439,27.7075],"滨州":[117.8174,37.4963],"潍坊":[119.0918,36.524],"烟台":[120.7397,37.5128],"玉溪":[101.9312,23.8898],"珠海":[113.7305,22.1155],"盐城":[120.2234,33.5577],"盘锦":[121.9482,41.0449],"石家庄":[114.4995,38.1006],"福州":[119.4543,25.9222],"秦皇岛":[119.2126,40.0232],"绍兴":[120.564,29.7565],"聊城":[115.9167,36.4032],"肇庆":[112.1265,23.5822],"舟山":[122.2559,30.2234],"苏州":[120.6519,31.3989],"莱芜":[117.6526,36.2714],"菏泽":[115.6201,35.2057],"营口":[122.4316,40.4297],"葫芦岛":[120.1575,40.578],"衡水":[115.8838,37.7161],"衢州":[118.6853,28.8666],"西宁":[101.4038,36.8207],"西安":[109.1162,34.2004],"贵阳":[106.6992,26.7682],"连云港":[119.1248,34.552],"邢台":[114.8071,37.2821],"邯郸":[114.4775,36.535],"郑州":[113.4668,34.6234],"鄂尔多斯":[108.9734,39.2487],"重庆":[107.7539,30.1904],"金华":[120.0037,29.1028],"铜川":[109.0393,35.1947],"银川":[106.3586,38.1775],"镇江":[119.4763,31.9702],"长春":[125.8154,44.2584],"长沙":[113.0823,28.2568],"长治":[112.8625,36.4746],"阳泉":[113.4778,38.0951],"青岛":[120.4651,36.3373],"韶关":[113.7964,24.7028]},t=[[{name:"北京"},{name:"上海",value:95}],[{name:"北京"},{name:"广州",value:90}],[{name:"北京"},{name:"大连",value:80}],[{name:"北京"},{name:"南宁",value:70}],[{name:"北京"},{name:"南昌",value:60}],[{name:"北京"},{name:"拉萨",value:50}],[{name:"北京"},{name:"长春",value:40}],[{name:"北京"},{name:"包头",value:30}],[{name:"北京"},{name:"重庆",value:20}],[{name:"北京"},{name:"常州",value:10}]],n=[[{name:"上海"},{name:"包头",value:95}],[{name:"上海"},{name:"昆明",value:90}],[{name:"上海"},{name:"广州",value:80}],[{name:"上海"},{name:"郑州",value:70}],[{name:"上海"},{name:"长春",value:60}],[{name:"上海"},{name:"重庆",value:50}],[{name:"上海"},{name:"长沙",value:40}],[{name:"上海"},{name:"北京",value:30}],[{name:"上海"},{name:"丹东",value:20}],[{name:"上海"},{name:"大连",value:10}]],r=[[{name:"广州"},{name:"福州",value:95}],[{name:"广州"},{name:"太原",value:90}],[{name:"广州"},{name:"长春",value:80}],[{name:"广州"},{name:"重庆",value:70}],[{name:"广州"},{name:"西安",value:60}],[{name:"广州"},{name:"成都",value:50}],[{name:"广州"},{name:"常州",value:40}],[{name:"广州"},{name:"北京",value:30}],[{name:"广州"},{name:"北海",value:20}],[{name:"广州"},{name:"海口",value:10}]],a="path://M1705.06,1318.313v-89.254l-319.9-221.799l0.073-208.063c0.521-84.662-26.629-121.796-63.961-121.491c-37.332-0.305-64.482,36.829-63.961,121.491l0.073,208.063l-319.9,221.799v89.254l330.343-157.288l12.238,241.308l-134.449,92.931l0.531,42.034l175.125-42.917l175.125,42.917l0.531-42.034l-134.449-92.931l12.238-241.308L1705.06,1318.313z",i=function(t){for(var n=[],r=0;r{c} {b}"},toolbox:{show:!0,feature:{mark:{show:!0},restore:{show:!0},saveAsImage:{show:!0}}},series:[{name:"速度",type:"gauge",min:0,max:220,splitNumber:11,radius:"50%",axisLine:{lineStyle:{color:[[.09,"lime"],[.82,"#1e90ff"],[1,"#ff4500"]],width:3,shadowColor:"#fff",shadowBlur:10}},axisLabel:{textStyle:{fontWeight:"bolder",color:"#fff",shadowColor:"#fff",shadowBlur:10}},axisTick:{length:15,lineStyle:{color:"auto",shadowColor:"#fff",shadowBlur:10}},splitLine:{length:25,lineStyle:{width:3,color:"#fff",shadowColor:"#fff",shadowBlur:10 -}},pointer:{shadowColor:"#fff",shadowBlur:5},title:{textStyle:{fontWeight:"bolder",fontSize:20,fontStyle:"italic",color:"#fff",shadowColor:"#fff",shadowBlur:10}},detail:{backgroundColor:"rgba(30,144,255,0.8)",borderWidth:1,borderColor:"#fff",shadowColor:"#fff",shadowBlur:5,offsetCenter:[0,"50%"],textStyle:{fontWeight:"bolder",color:"#fff"}},data:[{value:40,name:"km/h"}]},{name:"转速",type:"gauge",center:["25%","55%"],radius:"30%",min:0,max:7,endAngle:45,splitNumber:7,axisLine:{lineStyle:{color:[[.29,"lime"],[.86,"#1e90ff"],[1,"#ff4500"]],width:2,shadowColor:"#fff",shadowBlur:10}},axisLabel:{textStyle:{fontWeight:"bolder",color:"#fff",shadowColor:"#fff",shadowBlur:10}},axisTick:{length:12,lineStyle:{color:"auto",shadowColor:"#fff",shadowBlur:10}},splitLine:{length:20,lineStyle:{width:3,color:"#fff",shadowColor:"#fff",shadowBlur:10}},pointer:{width:5,shadowColor:"#fff",shadowBlur:5},title:{offsetCenter:[0,"-30%"],textStyle:{fontWeight:"bolder",fontStyle:"italic",color:"#fff",shadowColor:"#fff",shadowBlur:10}},detail:{borderColor:"#fff",shadowColor:"#fff",shadowBlur:5,width:80,height:30,offsetCenter:[25,"20%"],textStyle:{fontWeight:"bolder",color:"#fff"}},data:[{value:1.5,name:"x1000 r/min"}]},{name:"油表",type:"gauge",center:["75%","50%"],radius:"30%",min:0,max:2,startAngle:135,endAngle:45,splitNumber:2,axisLine:{lineStyle:{color:[[.2,"lime"],[.8,"#1e90ff"],[1,"#ff4500"]],width:2,shadowColor:"#fff",shadowBlur:10}},axisTick:{length:12,lineStyle:{color:"auto",shadowColor:"#fff",shadowBlur:10}},axisLabel:{textStyle:{fontWeight:"bolder",color:"#fff",shadowColor:"#fff",shadowBlur:10},formatter:function(e){switch(e+""){case"0":return"E";case"1":return"Gas";case"2":return"F"}}},splitLine:{length:15,lineStyle:{width:3,color:"#fff",shadowColor:"#fff",shadowBlur:10}},pointer:{width:2,shadowColor:"#fff",shadowBlur:5},title:{show:!1},detail:{show:!1},data:[{value:.5,name:"gas"}]},{name:"水表",type:"gauge",center:["75%","50%"],radius:"30%",min:0,max:2,startAngle:315,endAngle:225,splitNumber:2,axisLine:{lineStyle:{color:[[.2,"lime"],[.8,"#1e90ff"],[1,"#ff4500"]],width:2,shadowColor:"#fff",shadowBlur:10}},axisTick:{show:!1},axisLabel:{textStyle:{fontWeight:"bolder",color:"#fff",shadowColor:"#fff",shadowBlur:10},formatter:function(e){switch(e+""){case"0":return"H";case"1":return"Water";case"2":return"C"}}},splitLine:{length:15,lineStyle:{width:3,color:"#fff",shadowColor:"#fff",shadowBlur:10}},pointer:{width:2,shadowColor:"#fff",shadowBlur:5},title:{show:!1},detail:{show:!1},data:[{value:.5,name:"gas"}]}]};return e},timeTicket:null,getInitialState:function(){return{option:this.getOtion()}},componentDidMount:function(){var e=this;this.timeTicket&&clearInterval(this.timeTicket),this.timeTicket=setInterval(function(){var t=e.state.option;t.series[0].data[0].value=(100*Math.random()).toFixed(2)-0,t.series[1].data[0].value=(7*Math.random()).toFixed(2)-0,t.series[2].data[0].value=(2*Math.random()).toFixed(2)-0,t.series[3].data[0].value=(2*Math.random()).toFixed(2)-0,e.setState({option:t})},1e3)},componentWillUnmount:function(){this.timeTicket&&clearInterval(this.timeTicket)},render:function(){return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," render a car gauge chart. "),i.default.createElement(s.default,{option:this.state.option,style:{height:"500px",width:"100%"},className:"react_for_echarts"})))}});t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o),l=n(235),u=r(l),c=i.default.createClass({displayName:"GCalendarComponent",getVirtulData:function(e){e=e||"2017";for(var t=+u.default.number.parseDate(e+"-01-01"),n=+u.default.number.parseDate(+e+1+"-01-01"),r=864e5,a=[],i=t;i'+n.encodeHTML(a.join("/"))+"","Disk Usage: "+n.addCommas(t)+" KB"].join("")}},series:[{name:"Disk Usage",type:"treemap",visibleMin:300,label:{show:!0,formatter:"{b}"},itemStyle:{normal:{borderColor:"#fff"}},levels:e(),data:t}]};return r},render:function(){return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," render a disk usage treemap. "),i.default.createElement(s.default,{option:this.getOtion(),style:{height:"500px",width:"100%"},className:"react_for_echarts"})))}});t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o);n(677);var l=i.default.createClass({displayName:"LiquidfillComponent",propTypes:{},getOption:function(){var e={series:[{type:"liquidFill",data:[.6]}]};return e},render:function(){return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," render a Liquidfill chart: "),i.default.createElement(s.default,{option:this.getOption(),style:{height:"400px",width:"100%"},className:"react_for_echarts"})))}});t.default=l},function(e,t,n){e.exports=n(678)},function(e,t,n){var r=n(236);n(679),n(680),r.registerVisual(r.util.curry(n(386),"liquidFill"))},function(e,t,n){var r=n(338),a=n(236);a.extendSeriesModel({type:"series.liquidFill",visualColorAccessPath:"textStyle.normal.color",optionUpdated:function(){var e=this.option;e.gridSize=Math.max(Math.floor(e.gridSize),4)},getInitialData:function(e,t){var n=r(["value"],e.data),i=new a.List(n,this);return i.initData(e.data),i},defaultOption:{color:["#294D99","#156ACF","#1598ED","#45BDFF"],center:["50%","50%"],radius:"50%",amplitude:"8%",waveLength:"80%",phase:"auto",period:"auto",direction:"right",shape:"circle",waveAnimation:!0,animationEasing:"linear",animationEasingUpdate:"linear",animationDuration:2e3,animationDurationUpdate:1e3,outline:{show:!0,borderDistance:8,itemStyle:{color:"none",borderColor:"#294D99",borderWidth:8,shadowBlur:20,shadowColor:"rgba(0, 0, 0, 0.25)"}},backgroundStyle:{color:"#E3F7FF"},itemStyle:{normal:{opacity:.95,shadowBlur:50,shadowColor:"rgba(0, 0, 0, 0.4)"},emphasis:{opacity:.8}},label:{normal:{show:!0,textStyle:{color:"#294D99",insideColor:"#fff",fontSize:50,fontWeight:"bold",align:"center",baseline:"middle"},position:"inside"}}}})},function(e,t,n){var r=n(236),a=r.number,i=n(339),o=a.parsePercent,s=n(681);r.extendChartView({type:"liquidFill",render:function(e,t,n){function a(t,n){var a=e.get("shape");if(a){if(0===a.indexOf("path://")){var o=r.graphic.makePath(a.slice(7),{}),s=o.getBoundingRect(),l=s.width,u=s.height;l>u?(u*=2*t/l,l=2*t):(l*=2*t/u,u=2*t);var c=n?0:M-l/2,h=n?0:C-u/2;return o=r.graphic.makePath(a.slice(7),{},new r.graphic.BoundingRect(c,h,l,u)),n&&(o.position=[-l/2,-u/2]),o}var d=n?-t:M-t,p=n?-t:C-t;return"pin"===a?p+=t:"arrow"===a&&(p-=t),i.createSymbol(a,d,p,2*t,2*t)}return new r.graphic.Circle({shape:{cx:n?0:M,cy:n?0:C,r:t}})}function l(){var t=a(T);return t.style.fill=null,t.setStyle(e.getModel("outline.itemStyle").getItemStyle()),t}function u(){var t=a(v);t.setStyle(e.getModel("backgroundStyle").getItemStyle()),t.style.fill=null,t.z2=5;var n=a(v);n.setStyle(e.getModel("backgroundStyle").getItemStyle()),n.style.stroke=null;var i=new r.graphic.Group;return i.add(t),i.add(n),i}function c(e,t,n){var i=f.getItemModel(e),l=i.getModel("itemStyle"),u=i.get("phase"),c=o(i.get("amplitude"),2*v),h=o(i.get("waveLength"),2*v),d=f.get("value",e),p=v-d*v*2;u=n?n.shape.phase:"auto"===u?e*Math.PI/4:u;var g=l.getModel("normal").getItemStyle();g.fill=f.getItemVisual(e,"color");var m=2*v,y=new s({shape:{waveLength:h,radius:v,cx:m,cy:0,waterLevel:p,amplitude:c,phase:u,inverse:t},style:g,position:[M,C]});y.shape._waterLevel=p;var x=l.getModel("emphasis").getItemStyle();x.lineWidth=0,r.graphic.setHoverStyle(y,x);var _=a(v,!0);return _.setStyle({fill:"white"}),y.setClipPath(_),y}function h(e,t,n){var r=f.getItemModel(e),a=r.get("period"),i=r.get("direction"),o=f.get("value",e),s=(f.get("value",0),r.get("phase"));s=n?n.shape.phase:"auto"===s?e*Math.PI/4:s;var l=function(t){var n=f.count();return 0===n?t:t*(.2+(n-e)/n*.8)},u=0;u="auto"===a?l(5e3):"function"==typeof a?a(o,e):a;var c=0;"right"===i||null==i?c=Math.PI:"left"===i?c=-Math.PI:"none"===i?c=0:console.error("Illegal direction value for liquid fill."),"none"!==i&&r.get("waveAnimation")&&t.animate("shape",!0).when(0,{phase:s}).when(u/2,{phase:c+s}).when(u,{phase:2*c+s}).during(function(){E&&E.dirty(!0)}).start()}function d(t){function n(){var t=e.getFormattedLabel(0,"normal"),n=100*f.get("value",0),r=f.getName(0)||e.name;return isNaN(n)||(r=n.toFixed(0)+"%"),null==t?r:t}var i=g.getModel("label.normal"),o=i.getModel("textStyle"),s={z2:10,shape:{x:L,y:D,width:2*v,height:2*v},style:{fill:"transparent",text:n(),textAlign:o.get("align"),textVerticalAlign:o.get("baseline")},silent:!0},l=new r.graphic.Rect(s),u=o.get("color"); -r.graphic.setText(l.style,i,u);var c=new r.graphic.Rect(s),h=o.get("insideColor");r.graphic.setText(c.style,i,h),c.style.textFill=h;var d=new r.graphic.Group;d.add(l),d.add(c);var p=a(v,!0);return E=new r.graphic.CompoundPath({shape:{paths:t},position:[M,C]}),E.setClipPath(p),c.setClipPath(E),d}var p=this.group;p.removeAll();var f=e.getData(),g=f.getItemModel(0),m=g.get("center"),v=g.get("radius"),y=n.getWidth(),x=n.getHeight(),_=Math.min(y,x),b=0,w=0,S=e.get("outline.show");S&&(b=e.get("outline.borderDistance"),w=o(e.get("outline.itemStyle.borderWidth"),_));var M=o(m[0],y),C=o(m[1],x),T=o(v,_)/2,A=T-w/2,I=o(b,_),E=null;if(S){var P=l();P.style.lineWidth=w,p.add(l())}v=A-I;var L=M-v,D=C-v;p.add(u());var k=this._data,O=[];f.diff(k).add(function(t){var n=c(t,!1),a=n.shape.waterLevel;n.shape.waterLevel=v,r.graphic.initProps(n,{shape:{waterLevel:a}},e),n.z2=2,h(t,n,null),p.add(n),f.setItemGraphicEl(t,n),O.push(n)}).update(function(t,n){var a=k.getItemGraphicEl(n),i=c(t,!1,a);r.graphic.updateProps(a,{shape:i.shape,style:i.style},e),a.position=i.position,a.setClipPath(i.clipPath),h(t,a,a),p.add(a),f.setItemGraphicEl(t,a),O.push(a)}).remove(function(e){var t=k.getItemGraphicEl(e);p.remove(t)}).execute(),p.add(d(O)),this._data=f},dispose:function(){}})},function(e,t,n){function r(e,t,n,r){return 0===t?[[e+.5*n/Math.PI/2,r/2],[e+.5*n/Math.PI,r],[e+n/4,r]]:1===t?[[e+.5*n/Math.PI/2*(Math.PI-2),r],[e+.5*n/Math.PI/2*(Math.PI-1),r/2],[e+n/4,0]]:2===t?[[e+.5*n/Math.PI/2,-r/2],[e+.5*n/Math.PI,-r],[e+n/4,-r]]:[[e+.5*n/Math.PI/2*(Math.PI-2),-r],[e+.5*n/Math.PI/2*(Math.PI-1),-r/2],[e+n/4,0]]}var a=n(236);e.exports=a.graphic.extendShape({type:"ec-liquid-fill",shape:{waveLength:0,radius:0,cx:0,cy:0,waterLevel:0,amplitude:0,phase:0,inverse:!1},style:{fill:"#0f0"},buildPath:function(e,t){for(var n=2*Math.ceil(2*t.radius/t.waveLength*4);t.phase<2*-Math.PI;)t.phase+=2*Math.PI;for(;t.phase>0;)t.phase-=2*Math.PI;var a=t.phase/Math.PI/2*t.waveLength,i=t.cx-t.radius+a-2*t.radius;e.moveTo(i,t.waterLevel);for(var o=0,s=0;s=0;o--){var s;if(r[o]!==n&&!r[o].ignore&&(s=i(r[o],e,t))&&(!a.topTarget&&(a.topTarget=r[o]),s!==u)){a.target=r[o];break}}return a}},o.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){h.prototype[e]=function(t){var n=this.findHover(t.zrX,t.zrY),r=n.target;if("mousedown"===e)this._downel=r,this._upel=r;else if("mosueup"===e)this._upel=r;else if("click"===e&&this._downel!==this._upel)return;this.dispatchToElement(n,e,t)}}),o.mixin(h,l),o.mixin(h,s),e.exports=h},function(e,t){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}function r(e,t){return{target:e,topTarget:t&&t.topTarget}}n.prototype={constructor:n,_dragStart:function(e){var t=e.target;t&&t.draggable&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.dispatchToElement(r(t,e),"dragstart",e.event))},_drag:function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,a=e.offsetY,i=n-this._x,o=a-this._y;this._x=n,this._y=a,t.drift(i,o,e),this.dispatchToElement(r(t,e),"drag",e.event);var s=this.findHover(n,a,t).target,l=this._dropTarget;this._dropTarget=s,t!==s&&(l&&s!==l&&this.dispatchToElement(r(l,e),"dragleave",e.event),s&&s!==l&&this.dispatchToElement(r(s,e),"dragenter",e.event))}},_dragEnd:function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.dispatchToElement(r(t,e),"dragend",e.event),this._dropTarget&&this.dispatchToElement(r(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null}},e.exports=n},function(e,t,n){"use strict";function r(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var a=n(239),i=n(237),o=n(283),s=n(321),l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(e,t){for(var n=0;n=0&&(this.delFromStorage(e),this._roots.splice(i,1),e instanceof o&&e.delChildrenFromStorage(this))}},addToStorage:function(e){return e.__storage=this,e.dirty(!1),this},delFromStorage:function(e){return e&&(e.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:r},e.exports=l},function(e,t){function n(e){for(var t=0;e>=c;)t|=1&e,e>>=1;return e+t}function r(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){for(;i=0;)i++;return i-t}function a(e,t,n){for(n--;t>>1,a(o,e[i])<0?l=i:s=i+1;var u=r-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;u>0;)e[s+u]=e[s+u-1],u--}e[s]=o}}function o(e,t,n,r,a,i){var o=0,s=0,l=1;if(i(e,t[n+a])>0){for(s=r-a;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{for(s=a+1;ls&&(l=s);var u=o;o=a-l,l=a-u}for(o++;o>>1);i(e,t[n+c])>0?o=c+1:l=c}return l}function s(e,t,n,r,a,i){var o=0,s=0,l=1;if(i(e,t[n+a])<0){for(s=a+1;ls&&(l=s);var u=o;o=a-l,l=a-u}else{for(s=r-a;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}for(o++;o>>1);i(e,t[n+c])<0?l=c:o=c+1}return l}function l(e,t){function n(e,t){c[y]=e,p[y]=t,y+=1}function r(){for(;y>1;){var e=y-2;if(e>=1&&p[e-1]<=p[e]+p[e+1]||e>=2&&p[e-2]<=p[e]+p[e-1])p[e-1]p[e+1])break;i(e)}}function a(){for(;y>1;){var e=y-2;e>0&&p[e-1]=h||g>=h);if(m)break;v<0&&(v=0),v+=2}if(f=v,f<1&&(f=1),1===r){for(l=0;l=0;l--)e[g+l]=e[p+l];return void(e[d]=x[c])}for(var m=f;;){var v=0,y=0,_=!1;do if(t(x[c],e[u])<0){if(e[d--]=e[u--],v++,y=0,0===--r){_=!0;break}}else if(e[d--]=x[c--],y++,v=0,1===--i){_=!0;break}while((v|y)=0;l--)e[g+l]=e[p+l];if(0===r){_=!0;break}}if(e[d--]=x[c--],1===--i){_=!0;break}if(y=i-o(e[u],x,0,i,i-1,t),0!==y){for(d-=y,c-=y,i-=y,g=d+1,p=c+1,l=0;l=h||y>=h);if(_)break;m<0&&(m=0),m+=2}if(f=m,f<1&&(f=1),1===i){for(d-=r,u-=r,g=d+1,p=u+1,l=r-1;l>=0;l--)e[g+l]=e[p+l];e[d]=x[c]}else{if(0===i)throw new Error;for(p=d-(i-1),l=0;l>>1);var x=[];v=g<120?5:g<1542?10:g<119151?19:40,c=[],p=[],this.mergeRuns=r,this.forceMergeRuns=a,this.pushRun=n}function u(e,t,a,o){a||(a=0),o||(o=e.length);var s=o-a;if(!(s<2)){var u=0;if(sd&&(p=d),i(e,a,a+p,a+u,t),u=p}h.pushRun(a,u),h.mergeRuns(),s-=u,a+=u}while(0!==s);h.forceMergeRuns()}}var c=32,h=7,d=256;e.exports=u},function(e,t,n){"use strict";var r=n(239),a=n(323).Dispatcher,i=n(324),o=n(263),s=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,a.call(this)};s.prototype={constructor:s,addClip:function(e){this._clips.push(e)},addAnimator:function(e){e.animation=this;for(var t=e.getClips(),n=0;n=0&&this._clips.splice(t,1)},removeAnimator:function(e){for(var t=e.getClips(),n=0;n=0;if(i){var o="touchend"!=r?t.targetTouches[0]:t.changedTouches[0];o&&a(e,o,t,n)}else a(e,t,t,n),t.zrDelta=t.wheelDelta?t.wheelDelta/120:-(t.detail||0)/3;return t}function s(e,t,n){h?e.addEventListener(t,n):e.attachEvent("on"+t,n)}function l(e,t,n){h?e.removeEventListener(t,n):e.detachEvent("on"+t,n)}var u=n(260),c=n(237),h="undefined"!=typeof window&&!!window.addEventListener,d=h?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};e.exports={clientToLocal:a,normalizeEvent:o,addEventListener:s,removeEventListener:l,stop:d,Dispatcher:u}},function(e,t){e.exports="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){setTimeout(e,16)}},function(e,t,n){function r(e){return"mousewheel"===e&&d.browser.firefox?"DOMMouseScroll":e}function a(e,t,n){var r=e._gestureMgr;"start"===n&&r.clear();var a=r.recognize(t,e.handler.findHover(t.zrX,t.zrY,null).target,e.dom);if("end"===n&&r.clear(),a){var i=a.type;t.gestureEvent=i,e.handler.dispatchToElement({target:a.target},i,a.event)}}function i(e){e._touching=!0,clearTimeout(e._touchTimer),e._touchTimer=setTimeout(function(){e._touching=!1},700)}function o(e){var t=e.pointerType;return"pen"===t||"touch"===t}function s(e){function t(e,t){return function(){if(!t._touching)return e.apply(t,arguments)}}c.each(x,function(t){e._handlers[t]=c.bind(w[t],e)}),c.each(b,function(t){e._handlers[t]=c.bind(w[t],e)}),c.each(y,function(n){e._handlers[n]=t(w[n],e)})}function l(e){function t(t,n){c.each(t,function(t){f(e,r(t),n._handlers[t])},n)}h.call(this),this.dom=e,this._touching=!1,this._touchTimer,this._gestureMgr=new p,this._handlers={},s(this),d.pointerEventsSupported?t(b,this):(d.touchEventsSupported&&t(x,this),t(y,this))}var u=n(323),c=n(239),h=n(260),d=n(237),p=n(326),f=u.addEventListener,g=u.removeEventListener,m=u.normalizeEvent,v=300,y=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],x=["touchstart","touchend","touchmove"],_={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},b=c.map(y,function(e){var t=e.replace("mouse","pointer");return _[t]?t:e}),w={mousemove:function(e){e=m(this.dom,e),this.trigger("mousemove",e)},mouseout:function(e){e=m(this.dom,e);var t=e.toElement||e.relatedTarget;if(t!=this.dom)for(;t&&9!=t.nodeType;){if(t===this.dom)return;t=t.parentNode}this.trigger("mouseout",e)},touchstart:function(e){e=m(this.dom,e),e.zrByTouch=!0,this._lastTouchMoment=new Date,a(this,e,"start"),w.mousemove.call(this,e),w.mousedown.call(this,e),i(this)},touchmove:function(e){e=m(this.dom,e),e.zrByTouch=!0,a(this,e,"change"),w.mousemove.call(this,e),i(this)},touchend:function(e){e=m(this.dom,e),e.zrByTouch=!0,a(this,e,"end"),w.mouseup.call(this,e),+new Date-this._lastTouchMoment1&&i&&i.length>1){var s=r(i)/r(o);!isFinite(s)&&(s=1),t.pinchScale=s;var l=a(i);return t.pinchX=l[0],t.pinchY=l[1],{type:"pinch",target:e[0].target,event:t}}}}};e.exports=o},function(e,t,n){"use strict";function r(e){return parseInt(e,10)}function a(e){return!!e&&(!!e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh)}function i(e){e.__unusedCount++}function o(e){1==e.__unusedCount&&e.clear()}function s(e,t,n){return x.copy(e.getBoundingRect()),e.transform&&x.applyTransform(e.transform),_.width=t,_.height=n,!x.intersect(_)}function l(e,t){if(e==t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n=0&&n.splice(r,1),e.__hoverMir=null},clearHover:function(e){for(var t=this._hoverElements,n=0;n=0){if(!s){if(s=this._progressiveLayers[Math.min(u++,y-1)],s.ctx.save(),s.renderScope={},s&&s.__progress>s.__maxProgress){g=s.__nextIdxNotProg-1;continue}l=s.__progress,s.__dirty||(f=l),s.__progress=f+1}_===f&&this._doPaintEl(v,s,!0,s.renderScope)}else this._doPaintEl(v,r,t,o);v.__dirty=!1}}s&&n(s),i&&i.restore(),this._furtherProgressive=!1,d.each(this._progressiveLayers,function(e){e.__maxProgress>=e.__progress&&(this._furtherProgressive=!0)},this)},_doPaintEl:function(e,t,n,r){var a=t.ctx,i=e.transform;if((t.__dirty||n)&&!e.invisible&&0!==e.style.opacity&&(!i||i[0]||i[3])&&(!e.culling||!s(e,this._width,this._height))){var o=e.__clipPaths;(r.prevClipLayer!==t||l(o,r.prevElClipPaths))&&(r.prevElClipPaths&&(r.prevClipLayer.ctx.restore(),r.prevClipLayer=r.prevElClipPaths=null,r.prevEl=null),o&&(a.save(),u(o,a),r.prevClipLayer=t,r.prevElClipPaths=o)),e.beforeBrush&&e.beforeBrush(a),e.brush(a,r.prevEl||null),r.prevEl=e,e.afterBrush&&e.afterBrush(a)}},getLayer:function(e){if(this._singleCanvas)return this._layers[0];var t=this._layers[e];return t||(t=new m("zr_"+e,this,this.dpr),t.__builtin__=!0,this._layerConfig[e]&&d.merge(t,this._layerConfig[e],!0),this.insertLayer(e,t),t.initContext()),t},insertLayer:function(e,t){var n=this._layers,r=this._zlevelList,i=r.length,o=null,s=-1,l=this._domRoot;if(n[e])return void p("ZLevel "+e+" has been used already");if(!a(t))return void p("Layer of zlevel "+e+" is not valid");if(i>0&&e>r[0]){for(s=0;se);s++);o=n[r[s]]}if(r.splice(s+1,0,e),n[e]=t,!t.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(t.dom,u.nextSibling):l.appendChild(t.dom)}else l.firstChild?l.insertBefore(t.dom,l.firstChild):l.appendChild(t.dom)},eachLayer:function(e,t){var n,r,a=this._zlevelList;for(r=0;r=0){o!==g&&(o=g,l++);var v=h.__frame=l-1;if(!i){var x=Math.min(s,y-1);i=n[x],i||(i=n[x]=new m("progressive",this,this.dpr),i.initContext()),i.__maxProgress=0}i.__dirty=i.__dirty||h.__dirty,i.elCount++,i.__maxProgress=Math.max(i.__maxProgress,v),i.__maxProgress>=i.__progress&&(f.__dirty=!0)}else h.__frame=-1,i&&(i.__nextIdxNotProg=u,s++,i=null)}i&&(s++,i.__nextIdxNotProg=u),this.eachBuiltinLayer(function(e,t){r[t]!==e.elCount&&(e.__dirty=!0)}),n.length=Math.min(s,y),d.each(n,function(e,t){a[t]!==e.elCount&&(h.__dirty=!0),e.__dirty&&(e.__progress=0)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(e){e.clear()},configLayer:function(e,t){if(t){var n=this._layerConfig;n[e]?d.merge(n[e],t,!0):n[e]=t;var r=this._layers[e];r&&d.merge(r,n[e],!0)}},delLayer:function(e){var t=this._layers,n=this._zlevelList,r=t[e];r&&(r.dom.parentNode.removeChild(r.dom),delete t[e],n.splice(d.indexOf(n,e),1))},resize:function(e,t){var n=this._domRoot;n.style.display="none";var r=this._opts;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!=e||t!=this._height){n.style.width=e+"px",n.style.height=t+"px";for(var a in this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(e,t);d.each(this._progressiveLayers,function(n){n.resize(e,t)}),this.refresh(!0)}return this._width=e,this._height=t,this},clearLayer:function(e){var t=this._layers[e];t&&t.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(e){function t(e,t){var r=o._zlevelList;null==e&&(e=-(1/0));for(var a,i=0;ie&&s=0?i[l]=new u.constructor(o[l].length):i[l]=o[l]}return a}var s="undefined",l="undefined"==typeof window?t:window,u=typeof l.Float64Array===s?Array:l.Float64Array,c=typeof l.Int32Array===s?Array:l.Int32Array,h={float:u,int:c,ordinal:Array,number:Array,time:Array},d=n(247),p=n(334),f=n(239),g=n(240),m=f.isObject,v=["stackedOn","hasItemOption","_nameList","_idList","_rawData"];a.prototype.pure=!1,a.prototype.count=function(){return this._array.length},a.prototype.getItem=function(e){return this._array[e]};var y=function(e,t){e=e||["x","y"];for(var n={},r=[],a=0;a0&&(C+="__ec__"+p[M]),p[M]++),C&&(d[m]=C)}this._nameList=t,this._idList=d},x.count=function(){return this.indices.length},x.get=function(e,t,n){var r=this._storage,a=this.indices[t];if(null==a||!r[e])return NaN;var i=r[e][a];if(n){var o=this._dimensionInfos[e];if(o&&o.stackable)for(var s=this.stackedOn;s;){var l=s.get(e,t);(i>=0&&l>0||i<=0&&l<0)&&(i+=l),s=s.stackedOn}}return i},x.getValues=function(e,t,n){var r=[];f.isArray(e)||(n=t,t=e,e=this.dimensions);for(var a=0,i=e.length;al&&(l=i));return this._extent[e+!!t]=[s,l]}return[1/0,-(1/0)]},x.getSum=function(e,t){var n=this._storage[e],r=0;if(n)for(var a=0,i=this.count();ae))return i;a=i-1}}return-1},x.indicesOfNearest=function(e,t,n,r){var a=this._storage,i=a[e],o=[];if(!i)return o;null==r&&(r=1/0);for(var s=Number.MAX_VALUE,l=-1,u=0,c=this.count();u=0&&l<0)&&(s=d,l=h,o.length=0),o.push(u))}return o},x.getRawIndex=function(e){var t=this.indices[e];return null==t?-1:t},x.getRawDataItem=function(e){return this._rawData.getItem(this.getRawIndex(e))},x.getName=function(e){return this._nameList[this.indices[e]]||""},x.getId=function(e){return this._idList[this.indices[e]]||this.getRawIndex(e)+""},x.each=function(e,t,n,r){"function"==typeof e&&(r=n,n=t,t=e,e=[]),e=f.map(i(e),this.getDimension,this);var a=[],o=e.length,s=this.indices;r=r||this;for(var l=0;lf-g&&(d=f-g,c.length=d);for(var m=0;m=n&&e<=r},containData:function(e){return this.contain(this.dataToCoord(e))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(e){return a.getPixelPrecision(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var n=this._extent;n[0]=e,n[1]=t},dataToCoord:function(e,t){var n=this._extent,a=this.scale;return e=a.normalize(e),this.onBand&&"ordinal"===a.type&&(n=n.slice(),r(n,a.count())),i(e,l,n,t)},coordToData:function(e,t){var n=this._extent,a=this.scale;this.onBand&&"ordinal"===a.type&&(n=n.slice(),r(n,a.count()));var o=i(e,n,l,t);return this.scale.scale(o)},pointToData:function(e,t){},getTicksCoords:function(e){if(this.onBand&&!e){for(var t=this.getBands(),n=[],r=0;r0&&u>0&&!c&&(l=0),l<0&&u<0&&!h&&(u=0)),[l,u]},u.niceScaleExtent=function(e,t){var n=u.getScaleExtent(e,t),r=null!=t.getMin(),a=null!=t.getMax(),i=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase")),e.setExtent(n[0],n[1]),e.niceExtent({splitNumber:i,fixMin:r,fixMax:a,minInterval:"interval"===e.type?t.get("minInterval"):null});var o=t.get("interval");null!=o&&e.setInterval&&e.setInterval(o)},u.createScaleByModel=function(e,t){if(t=t||e.get("type"))switch(t){case"category":return new r(e.getCategories(),[1/0,-(1/0)]);case"value":return new a;default:return(i.getClass(t)||a).create(e)}},u.ifAxisCrossZero=function(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)},u.getAxisLabelInterval=function(e,t,n,r){var a,i=0,o=0,s=1;t.length>40&&(s=Math.floor(t.length/40));for(var u=0;u1?s:(i+1)*s-1},u.getFormattedLabels=function(e,t){var n=e.scale,r=n.getTicksLabels(),a=n.getTicks();return"string"==typeof t?(t=function(e){return function(t){return e.replace("{value}",null!=t?t:"")}}(t),s.map(r,t)):"function"==typeof t?s.map(a,function(n,r){return t(u.getAxisRawValue(e,n),r)},this):r},u.getAxisRawValue=function(e,t){return"category"===e.type?e.scale.getLabel(t):t},e.exports=u},function(e,t,n){var r=n(239),a=n(338),i=a.prototype,o=a.extend({type:"ordinal",init:function(e,t){this._data=e,this._extent=t||[0,e.length-1]},parse:function(e){return"string"==typeof e?r.indexOf(this._data,e):Math.round(e)},contain:function(e){return e=this.parse(e),i.contain.call(this,e)&&null!=this._data[e]},normalize:function(e){return i.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(i.scale.call(this,e))},getTicks:function(){for(var e=[],t=this._extent,n=t[0];n<=t[1];)e.push(n),n++;return e},getLabel:function(e){return this._data[e]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(e,t){this.unionExtent(e.getDataExtent(t,!1))},niceTicks:r.noop,niceExtent:r.noop});o.create=function(){return new o},e.exports=o},function(e,t,n){function r(e){this._setting=e||{},this._extent=[1/0,-(1/0)],this._interval=0,this.init&&this.init.apply(this,arguments)}var a=n(248),i=r.prototype;i.parse=function(e){return e},i.getSetting=function(e){return this._setting[e]},i.contain=function(e){var t=this._extent;return e>=t[0]&&e<=t[1]},i.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},i.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},i.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1])},i.unionExtentFromData=function(e,t){this.unionExtent(e.getDataExtent(t,!0))},i.getExtent=function(){return this._extent.slice()},i.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},i.getTicksLabels=function(){for(var e=[],t=this.getTicks(),n=0;nt[1]&&(t[1]=e[1]),l.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval},setInterval:function(e){this._interval=e,this._niceExtent=this._extent.slice()},getTicks:function(){return o.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getTicksLabels:function(){for(var e=[],t=this.getTicks(),n=0;ne[1]&&(e[0]=e[1])},o.intervalScaleGetTicks=function(e,t,n,r){var a=[];if(!e)return a;var o=1e4;t[0]o)return[];return t[1]>(a.length?a[a.length-1]:n[1])&&a.push(t[1]),a},e.exports=o},function(e,t,n){var r=n(239),a=n(242),i=n(241),o=n(340),s=n(339),l=s.prototype,u=Math.ceil,c=Math.floor,h=1e3,d=60*h,p=60*d,f=24*p,g=function(e,t,n,r){for(;n>>1;e[a][2]0}))},niceTicks:function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var r=o.quantity(n),a=e/n*r;for(a<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var i=[o.round(p(t[0]/r)*r),o.round(d(t[1]/r)*r)];this._interval=r,this._niceExtent=i}},niceExtent:function(e){u.niceExtent.call(this,e);var t=this._originalScale;t.__fixMin=e.fixMin,t.__fixMax=e.fixMax}});a.each(["contain","normalize"],function(e){m.prototype[e]=function(t){return t=g(t)/g(this.base),l[e].call(this,t)}}),m.create=function(){return new m},e.exports=m},function(e,t,n){var r=n(344),a=n(346),i=n(336),o=n(347),s=n(247),l=n(239);e.exports={createList:function(e){var t=e.get("data");return r(t,e,e.ecModel)},completeDimensions:n(345),createSymbol:a.createSymbol,createScale:function(e,t){var n=t;t instanceof s||(n=new s(t),l.mixin(n,o));var r=i.createScaleByModel(n);return r.setExtent(e[0],e[1]),i.niceScaleExtent(r,n),r},mixinAxisModelCommonMethods:function(e){l.mixin(e,o)}}},function(e,t,n){"use strict";function r(e){for(var t=0;t=0&&a(e)?function(e,t,n,r){return d.isDataItemOption(e)&&(_.hasItemOption=!0),r===x?n:g(f(e),y[r])}:function(e,t,n,r){var a=f(e),i=g(a&&a[r],y[r]);d.isDataItemOption(e)&&(_.hasItemOption=!0);var o=v&&v.categoryAxesModels;return o&&o[t]&&"string"==typeof i&&(w[t]=w[t]||o[t].getCategories(),i=h.indexOf(w[t],i),i<0&&!isNaN(i)&&(i=+i)),i};return _.hasItemOption=!1,_.initData(e,b,S),_}function o(e){return"category"!==e&&"time"!==e}function s(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function l(e,t){var n,r=[],a=e&&e.dimensions[e.categoryIndex];if(a&&(n=e.categoryAxesModels[a.name]),n){var i=n.getCategories();if(i){var o=t.length;if(h.isArray(t[0])&&t[0].length>1){r=[];for(var s=0;st[0]?1:-1;t[0]+=r*n,t[1]-=r*n}return t}function o(e){return e>=0?1:-1}function s(e,t){var n=e.getBaseAxis(),r=e.getOtherAxis(n),a=n.onZero?0:r.scale.getExtent()[0],i=r.dim,s="x"===i||"radius"===i?1:0;return t.mapArray([i],function(r,l){for(var u,c=t.stackedOn;c&&o(c.get(i,l))===o(r);){u=c;break}var h=[];return h[s]=t.get(n.dim,l),h[1-s]=u?u.get(i,l,!0):a,e.dataToPoint(h)},!0)}function l(e,t,n){var r=i(e.getAxis("x")),a=i(e.getAxis("y")),o=e.getBaseAxis().isHorizontal(),s=Math.min(r[0],r[1]),l=Math.min(a[0],a[1]),u=Math.max(r[0],r[1])-s,c=Math.max(a[0],a[1])-l,h=n.get("lineStyle.normal.width")||2,d=n.get("clipOverflow")?h/2:Math.max(u,c);o?(l-=d,c+=2*d):(s-=d,u+=2*d);var p=new v.Rect({shape:{x:s,y:l,width:u,height:c}});return t&&(p.shape[o?"width":"height"]=0,v.initProps(p,{shape:{width:u,height:c}},n)),p}function u(e,t,n){var r=e.getAngleAxis(),a=e.getRadiusAxis(),i=a.getExtent(),o=r.getExtent(),s=Math.PI/180,l=new v.Sector({shape:{cx:e.cx,cy:e.cy,r0:i[0],r:i[1],startAngle:-o[0]*s,endAngle:-o[1]*s,clockwise:r.inverse}});return t&&(l.shape.endAngle=-o[0]*s,v.initProps(l,{shape:{endAngle:-o[1]*s}},n)),l}function c(e,t,n){return"polar"===e.type?u(e,t,n):l(e,t,n)}function h(e,t,n){for(var r=t.getBaseAxis(),a="x"===r.dim||"radius"===r.dim?0:1,i=[],o=0;o=0;a--)if(n[a].dimension<2){r=n[a];break}if(!r||"cartesian2d"!==t.type)return void(__DEV__&&console.warn("Visual map on line style only support x or y dimension."));var i=r.dimension,o=e.dimensions[i],s=t.getAxis(o),l=p.map(r.stops,function(e){return{coord:s.toGlobalCoord(s.dataToCoord(e.value)),color:e.color}}),u=l.length,c=r.outerColors.slice();u&&l[0].coord>l[u-1].coord&&(l.reverse(),c.reverse());var h=10,d=l[0].coord-h,f=l[u-1].coord+h,g=f-d;if(g<.001)return"transparent";p.each(l,function(e){e.offset=(e.coord-d)/g}),l.push({offset:u?l[u-1].offset:.5,color:c[1]||"transparent"}),l.unshift({offset:u?l[0].offset:.5,color:c[0]||"transparent"});var m=new v.LinearGradient(0,0,0,0,l,!0);return m[o]=d,m[o+"2"]=f,m}}var p=n(239),f=n(351),g=n(352),m=n(354),v=n(253),y=n(240),x=n(355),_=n(315);e.exports=_.extend({type:"line",init:function(){var e=new v.Group,t=new f;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,n){var i=e.coordinateSystem,o=this.group,l=e.getData(),u=e.getModel("lineStyle.normal"),f=e.getModel("areaStyle.normal"),g=l.mapArray(l.getItemLayout,!0),m="polar"===i.type,v=this._coordSys,y=this._symbolDraw,x=this._polyline,_=this._polygon,b=this._lineGroup,w=e.get("animation"),S=!f.isEmpty(),M=s(i,l),C=e.get("showSymbol"),T=C&&!m&&!e.get("showAllSymbol")&&this._getSymbolIgnoreFunc(l,i),A=this._data;A&&A.eachItemGraphicEl(function(e,t){e.__temp&&(o.remove(e),A.setItemGraphicEl(t,null))}),C||y.remove(),o.add(b);var I=!m&&e.get("step");x&&v.type===i.type&&I===this._step?(S&&!_?_=this._newPolygon(g,M,i,w):_&&!S&&(b.remove(_),_=this._polygon=null),b.setClipPath(c(i,!1,e)),C&&y.updateData(l,T),l.eachItemGraphicEl(function(e){e.stopAnimation(!0)}),r(this._stackedOnPoints,M)&&r(this._points,g)||(w?this._updateAnimation(l,M,i,n,I):(I&&(g=h(g,i,I),M=h(M,i,I)),x.setShape({points:g}),_&&_.setShape({points:g,stackedOnPoints:M})))):(C&&y.updateData(l,T),I&&(g=h(g,i,I),M=h(M,i,I)),x=this._newPolyline(g,i,w),S&&(_=this._newPolygon(g,M,i,w)),b.setClipPath(c(i,!0,e)));var E=d(l,i)||l.getVisual("color");x.useStyle(p.defaults(u.getLineStyle(),{fill:"none",stroke:E,lineJoin:"bevel"}));var P=e.get("smooth");if(P=a(e.get("smooth")),x.setShape({smooth:P,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),_){var L=l.stackedOn,D=0;if(_.useStyle(p.defaults(f.getAreaStyle(),{fill:E,opacity:.7,lineJoin:"bevel"})),L){var k=L.hostModel;D=a(k.get("smooth"))}_.setShape({smooth:P,stackedOnSmooth:D,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=l,this._coordSys=i,this._stackedOnPoints=M,this._points=g,this._step=I},dispose:function(){},highlight:function(e,t,n,r){var a=e.getData(),i=y.queryDataIndex(a,r);if(!(i instanceof Array)&&null!=i&&i>=0){var o=a.getItemGraphicEl(i);if(!o){var s=a.getItemLayout(i);if(!s)return;o=new g(a,i),o.position=s,o.setZ(e.get("zlevel"),e.get("z")),o.ignore=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,a.setItemGraphicEl(i,o),o.stopSymbolAnimation(!0),this.group.add(o)}o.highlight()}else _.prototype.highlight.call(this,e,t,n,r)},downplay:function(e,t,n,r){var a=e.getData(),i=y.queryDataIndex(a,r);if(null!=i&&i>=0){var o=a.getItemGraphicEl(i);o&&(o.__temp?(a.setItemGraphicEl(i,null),this.group.remove(o)):o.downplay())}else _.prototype.downplay.call(this,e,t,n,r)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new x.Polyline({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new x.Polygon({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_getSymbolIgnoreFunc:function(e,t){var n=t.getAxesByScale("ordinal")[0];if(n&&n.isLabelIgnored)return p.bind(n.isLabelIgnored,n)},_updateAnimation:function(e,t,n,r,a){var i=this._polyline,o=this._polygon,s=e.hostModel,l=m(this._data,e,this._stackedOnPoints,t,this._coordSys,n),u=l.current,c=l.stackedOnCurrent,d=l.next,p=l.stackedOnNext;a&&(u=h(l.current,n,a),c=h(l.stackedOnCurrent,n,a),d=h(l.next,n,a),p=h(l.stackedOnNext,n,a)),i.shape.__points=l.current,i.shape.points=u,v.updateProps(i,{shape:{points:d}},s),o&&(o.setShape({points:u,stackedOnPoints:c}),v.updateProps(o,{shape:{points:d,stackedOnPoints:p}},s));for(var f=[],g=l.status,y=0;y=0?1:-1}function r(e,t,r){for(var a,i=e.getBaseAxis(),o=e.getOtherAxis(i),s=i.onZero?0:o.scale.getExtent()[0],l=o.dim,u="x"===l||"radius"===l?1:0,c=t.stackedOn,h=t.get(l,r);c&&n(c.get(l,r))===n(h);){a=c;break}var d=[];return d[u]=t.get(i.dim,r),d[1-u]=a?a.get(l,r,!0):s,e.dataToPoint(d)}function a(e,t){var n=[];return t.diff(e).add(function(e){n.push({cmd:"+",idx:e})}).update(function(e,t){n.push({cmd:"=",idx:t,idx1:e})}).remove(function(e){n.push({cmd:"-",idx:e})}).execute(),n}e.exports=function(e,t,n,i,o,s){for(var l=a(e,t),u=[],c=[],h=[],d=[],p=[],f=[],g=[],m=s.dimensions,v=0;v=i||b<0)break;if(r(S)){if(x){b+=o;continue}break}if(b===n)e[o>0?"moveTo":"lineTo"](S[0],S[1]),h(p,S);else if(v>0){var M=b+o,C=t[M];if(x)for(;C&&r(t[M]);)M+=o,C=t[M];var T=.5,A=t[_],C=t[M];if(!C||r(C))h(f,S);else{r(C)&&!x&&(C=S),s.sub(d,C,A);var I,E;if("x"===y||"y"===y){var P="x"===y?0:1;I=Math.abs(S[P]-A[P]),E=Math.abs(S[P]-C[P])}else I=s.dist(S,A),E=s.dist(S,C);T=E/(E+I),c(f,S,d,-v*(1-T))}l(p,p,m),u(p,p,g),l(f,f,m),u(f,f,g),e.bezierCurveTo(p[0],p[1],f[0],f[1],S[0],S[1]),c(p,S,d,v*T)}else e.lineTo(S[0],S[1]);_=b,b+=o}return w}function i(e,t){var n=[1/0,1/0],r=[-(1/0),-(1/0)];if(t)for(var a=0;ar[0]&&(r[0]=i[0]),i[1]>r[1]&&(r[1]=i[1])}return{min:t?n:r,max:t?r:n}}var o=n(255),s=n(245),l=s.min,u=s.max,c=s.scaleAndAdd,h=s.copy,d=[],p=[],f=[];e.exports={Polyline:o.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},buildPath:function(e,t){var n=t.points,o=0,s=n.length,l=i(n,t.smoothConstraint);if(t.connectNulls){for(;s>0&&r(n[s-1]);s--);for(;o0&&r(n[l-1]);l--);for(;st&&(t=e[n]);return t},min:function(e){for(var t=1/0,n=0;n1){var h;"string"==typeof a?h=n[a]:"function"==typeof a&&(h=a),h&&(t=t.downSample(s.dim,1/c,h,r),e.setData(t))}}},this)}},function(e,t,n){"use strict";var r=n(253),a=n(239),i=n(236);n(360),n(368),i.extendComponentView({type:"grid",render:function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new r.Rect({shape:e.coordinateSystem.getRect(),style:a.defaults({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))}}),i.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})},function(e,t,n){function r(e,t,n){return e.getCoordSysModel()===t}function a(e){var t,n=e.model,r=n.getFormattedLabels(),a=n.getModel("axisLabel.textStyle"),i=1,o=r.length;o>40&&(i=Math.ceil(o/40));for(var s=0;st[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},isLabelIgnored:function(e){if("category"===this.type){var t=this.getLabelInterval();return"function"==typeof t&&!t(e,this.scale.getLabel(e))||e%(t+1)}},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},r.inherits(i,a),e.exports=i},function(e,t,n){"use strict";n(365);var r=n(304);e.exports=r.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}})},function(e,t,n){"use strict";function r(e,t){return t.type||(t.data?"category":"value")}var a=n(304),i=n(239),o=n(366),s=a.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});i.merge(s.prototype,n(347));var l={offset:0};o("x",s,r,l),o("y",s,r,l),e.exports=s},function(e,t,n){var r=n(367),a=n(239),i=n(304),o=n(306),s=["value","category","time","log"];e.exports=function(e,t,n,l){a.each(s,function(i){t.extend({type:e+"Axis."+i,mergeDefaultAndTheme:function(t,r){var s=this.layoutMode,l=s?o.getLayoutParams(t):{},u=r.getTheme();a.merge(t,u.get(i+"Axis")),a.merge(t,this.getDefaultOption()),t.type=n(e,t),s&&o.mergeLayoutParam(t,l,s)},defaultOption:a.mergeAll([{},r[i+"Axis"],l],!0)})}),i.registerSubTypeDefaulter(e+"Axis",a.curry(n,e))}},function(e,t,n){var r=n(239),a={show:!0,zlevel: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:!0,lineStyle:{color:"#333",width:1,type:"solid"}},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,textStyle:{fontSize:12}},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},i=r.merge({boundaryGap:!0,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},a),o=r.merge({boundaryGap:[0,0],splitNumber:5},a),s=r.defaults({scale:!0,min:"dataMin",max:"dataMax"},o),l=r.defaults({scale:!0,logBase:10},o);e.exports={categoryAxis:i,valueAxis:o,timeAxis:s,logAxis:l}},function(e,t,n){"use strict";n(365),n(369)},function(e,t,n){var r=n(239),a=n(253),i=n(370),o=n(371),s=n(373),l=i.ifIgnoreOnTick,u=i.getInterval,c=["axisLine","axisLabel","axisTick","axisName"],h=["splitArea","splitLine"],d=o.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,n,o){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new a.Group,this.group.add(this._axisGroup),e.get("show")){var u=e.getCoordSysModel(),p=s.layout(u,e),f=new i(e,p);r.each(c,f.add,f),this._axisGroup.add(f.getGroup()),r.each(h,function(t){e.get(t+".show")&&this["_"+t](e,u,p.labelInterval)},this),a.groupTransition(l,this._axisGroup,e),d.superCall(this,"render",e,t,n,o)}},_splitLine:function(e,t,n){var i=e.axis;if(!i.scale.isBlank()){var o=e.getModel("splitLine"),s=o.getModel("lineStyle"),c=s.get("color"),h=u(o,n);c=r.isArray(c)?c:[c];for(var d=t.coordinateSystem.getRect(),p=i.isHorizontal(),f=0,g=i.getTicksCoords(),m=i.scale.getTicks(),v=[],y=[],x=s.getLineStyle(),_=0;_r[1],l="start"===t&&!s||"start"!==t&&s;return f(o-x/2)?(i=l?"bottom":"top",a="center"):f(o-1.5*x)?(i=l?"top":"bottom",a="center"):(i="middle",a=o<1.5*x&&o>x/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:a, +textVerticalAlign:i}}function i(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)}function o(e,t){var n=e.get("axisLabel.showMinLabel"),r=e.get("axisLabel.showMaxLabel"),a=t[0],i=t[1],o=t[t.length-1],l=t[t.length-2];n===!1?a.ignore=!0:null!=e.getMin()&&s(a,i)&&(n?i.ignore=!0:a.ignore=!0),r===!1?o.ignore=!0:null!=e.getMax()&&s(l,o)&&(r?l.ignore=!0:o.ignore=!0)}function s(e,t,n){var r=e&&e.getBoundingRect().clone(),a=t&&t.getBoundingRect().clone();if(r&&a){var i=m.identity([]);return m.rotate(i,i,-e.rotation),r.applyTransform(m.mul([],i,e.getLocalTransform())),a.applyTransform(m.mul([],i,t.getLocalTransform())),r.intersect(a)}}var l=n(239),u=n(241),c=n(253),h=n(247),d=n(242),p=d.remRadian,f=d.isRadianAroundZero,g=n(245),m=n(246),v=g.applyTransform,y=l.retrieve,x=Math.PI,_=function(e,t){this.opt=t,this.axisModel=e,l.defaults(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group;var n=new c.Group({position:t.position.slice(),rotation:t.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};_.prototype={constructor:_,hasBuilder:function(e){return!!b[e]},add:function(e){b[e].call(this)},getGroup:function(){return this.group}};var b={axisLine:function(){var e=this.opt,t=this.axisModel;if(t.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),r=this._transform,a=[n[0],0],i=[n[1],0];r&&(v(a,a,r),v(i,i,r)),this.group.add(new c.Line(c.subPixelOptimizeLine({anid:"line",shape:{x1:a[0],y1:a[1],x2:i[0],y2:i[1]},style:l.extend({lineCap:"round"},t.getModel("axisLine.lineStyle").getLineStyle()),strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1})))}},axisTick:function(){var e=this.axisModel,t=e.axis;if(e.get("axisTick.show")&&!t.scale.isBlank())for(var n=e.getModel("axisTick"),r=this.opt,a=n.getModel("lineStyle"),i=n.get("length"),o=M(n,r.labelInterval),s=t.getTicksCoords(n.get("alignWithLabel")),u=t.scale.getTicks(),h=[],d=[],p=this._transform,f=0;ff[1]?-1:1,m=["start"===s?f[0]-g*p:"end"===s?f[1]+g*p:(f[0]+f[1])/2,"middle"===s?e.labelOffset+h*p:0],v=t.get("nameRotate");null!=v&&(v=v*x/180);var _;"middle"===s?o=w(e.rotation,null!=v?v:e.rotation,h):(o=a(e,s,v||0,f),_=e.axisNameAvailableWidth,null!=_&&(_=Math.abs(_/Math.sin(o.rotation)),!isFinite(_)&&(_=null)));var b=d.getFont(),S=t.get("nameTruncate",!0)||{},M=S.ellipsis,C=y(e.nameTruncateMaxWidth,S.maxWidth,_),T=null!=M&&null!=C?u.truncateText(n,C,b,M,{minChar:2,placeholder:S.placeholder}):n,A=t.get("tooltip",!0),I=t.mainType,E={componentType:I,name:n,$vars:["name"]};E[I+"Index"]=t.componentIndex;var P=new c.Text({anid:"name",__fullText:n,__truncatedText:T,style:{text:T,textFont:b,fill:d.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:o.textAlign,textVerticalAlign:o.textVerticalAlign},position:m,rotation:o.rotation,silent:i(t),z2:1,tooltip:A&&A.show?l.extend({content:n,formatter:function(){return n},formatterParams:E},A):null});t.get("triggerEvent")&&(P.eventData=r(t),P.eventData.targetType="axisName",P.eventData.name=n),this._dumbGroup.add(P),P.updateTransform(),this.group.add(P),P.decomposeTransform()}}},w=_.innerTextLayout=function(e,t,n){var r,a,i=p(t-e);return f(i)?(a=n>0?"top":"bottom",r="center"):f(i-x)?(a=n>0?"bottom":"top",r="center"):(a="middle",r=i>0&&i0?"right":"left":n>0?"left":"right"),{rotation:i,textAlign:r,textVerticalAlign:a}},S=_.ifIgnoreOnTick=function(e,t,n){var r,a=e.scale;return"ordinal"===a.type&&("function"==typeof n?(r=a.getTicks()[t],!n(r,a.getLabel(r))):t%(n+1))},M=_.getInterval=function(e,t){var n=e.get("interval");return null!=n&&"auto"!=n||(n=t),n};e.exports=_},function(e,t,n){function r(e,t,n,r,s,l){var u=o.getAxisPointerClass(e.axisPointerClass);if(u){var c=i.getAxisPointerModel(t);c?(e._axisPointer||(e._axisPointer=new u)).render(t,c,r,l):a(e,r)}}function a(e,t,n){var r=e._axisPointer;r&&r.dispose(t,n),e._axisPointer=null}var i=n(372),o=n(236).extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,t,n,a){this.axisPointerClass&&i.fixValue(e),o.superApply(this,"render",arguments),r(this,e,t,n,a,!0)},updateAxisPointer:function(e,t,n,a,i){r(this,e,t,n,a,!1)},remove:function(e,t){var n=this._axisPointer;n&&n.remove(t),o.superApply(this,"remove",arguments)},dispose:function(e,t){a(this,t),o.superApply(this,"dispose",arguments)}}),s=[];o.registerAxisPointerClass=function(e,t){if(__DEV__&&s[e])throw new Error("axisPointer "+e+" exists");s[e]=t},o.getAxisPointerClass=function(e){return e&&s[e]},e.exports=o},function(e,t,n){function r(e,t,n){var r=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),s=i.get("link",!0)||[],u=[];h(n.getCoordinateSystems(),function(n){function c(r,c,h){var d=h.model.getModel("axisPointer",i),p=d.get("show");if(p&&("auto"!==p||r||l(d))){null==c&&(c=d.get("triggerTooltip")),d=r?a(h,v,i,t,r,c):d;var m=d.get("snap"),y=f(h.model),x=c||m||"category"===h.type,_=e.axesInfo[y]={key:y,axis:h,coordSys:n,axisPointerModel:d,triggerTooltip:c,involveSeries:x,snap:m,useHandle:l(d),seriesModels:[]};g[y]=_,e.seriesInvolved|=x;var b=o(s,h);if(null!=b){var w=u[b]||(u[b]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=s[b].mapper,_.linkGroup=w}}}if(n.axisPointerEnabled){var p=f(n.model),g=e.coordSysAxesInfo[p]={};e.coordSysMap[p]=n;var m=n.model,v=m.getModel("tooltip",r);if(h(n.getAxes(),d(c,!1,null)),n.getTooltipAxes&&r&&v.get("show")){var y="axis"===v.get("trigger"),x="cross"===v.get("axisPointer.type"),_=n.getTooltipAxes(v.get("axisPointer.axis"));(y||x)&&h(_.baseAxes,d(c,!x||"cross",y)),x&&h(_.otherAxes,d(c,"cross",!1))}}})}function a(e,t,n,r,a,i){var o=t.getModel("axisPointer"),s={};h(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(e){s[e]=u.clone(o.get(e))}),s.snap="category"!==e.type&&!!i,"cross"===o.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===a&&(l.show=!0,!i)){var d=s.lineStyle=o.get("crossStyle");d&&u.defaults(l.textStyle||(l.textStyle={}),d.textStyle)}return e.model.getModel("axisPointer",new c(s,n,r))}function i(e,t){t.eachSeries(function(t){var n=t.coordinateSystem,r=t.get("tooltip.trigger",!0);n&&"none"!==r&&r!==!1&&"item"!==r&&t.get("axisPointer.show",!0)!==!1&&h(e.coordSysAxesInfo[f(n.model)],function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())})},this)}function o(e,t){for(var n=t.model,r=t.dim,a=0;a=0||e===t}function l(e){return!!e.get("handle.show")}var u=n(239),c=n(247),h=u.each,d=u.curry,p={};p.collect=function(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return r(n,e,t),n.seriesInvolved&&i(n,e),n},p.fixValue=function(e){var t=p.getAxisInfo(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,a=n.option,i=n.get("status"),o=n.get("value");null!=o&&(o=r.parse(o));var s=l(n);null==i&&(a.status=s?"show":"hide");var u=r.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==o||o>u[1])&&(o=u[1]),o0?"bottom":"top":a.width>0?"left":"right";c||u.setLabel(e.style,f,r,h,i,n,g),l.setHoverStyle(e,f)}function o(e,t){var n=e.get(c)||0;return Math.min(n,Math.abs(t.width),Math.abs(t.height))}var s=n(239),l=n(253),u=n(378),c=["itemStyle","normal","barBorderWidth"];s.extend(n(247).prototype,n(379));var h=n(236).extendChartView({type:"bar",render:function(e,t,n){var r=e.get("coordinateSystem");return"cartesian2d"===r||"polar"===r?this._render(e,t,n):__DEV__&&console.warn("Only cartesian2d and polar supported for bar."),this.group},dispose:s.noop,_render:function(e,t,n){var o,s=this.group,u=e.getData(),c=this._data,h=e.coordinateSystem,f=h.getBaseAxis();"cartesian2d"===h.type?o=f.isHorizontal():"polar"===h.type&&(o="angle"===f.dim);var g=e.isAnimationEnabled()?e:null;u.diff(c).add(function(t){if(u.hasValue(t)){var n=u.getItemModel(t),r=p[h.type](u,t,n),a=d[h.type](u,t,n,r,o,g);u.setItemGraphicEl(t,a),s.add(a),i(a,u,t,n,r,e,o,"polar"===h.type)}}).update(function(t,n){var r=c.getItemGraphicEl(n);if(!u.hasValue(t))return void s.remove(r);var a=u.getItemModel(t),f=p[h.type](u,t,a);r?l.updateProps(r,{shape:f},g,t):r=d[h.type](u,t,a,f,o,g,!0),u.setItemGraphicEl(t,r),s.add(r),i(r,u,t,a,f,e,o,"polar"===h.type)}).remove(function(e){var t=c.getItemGraphicEl(e);"cartesian2d"===h.type?t&&r(e,g,t):t&&a(e,g,t)}).execute(),this._data=u},remove:function(e,t){var n=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl(function(t){"sector"===t.type?a(t.dataIndex,e,t):r(t.dataIndex,e,t)}):n.removeAll()}}),d={cartesian2d:function(e,t,n,r,a,i,o){var u=new l.Rect({shape:s.extend({},r)});if(i){var c=u.shape,h=a?"height":"width",d={};c[h]=0,d[h]=r[h],l[o?"updateProps":"initProps"](u,{shape:d},i,t)}return u},polar:function(e,t,n,r,a,i,o){var u=new l.Sector({shape:s.extend({},r)});if(i){var c=u.shape,h=a?"r":"endAngle",d={};c[h]=a?0:r.startAngle,d[h]=r[h],l[o?"updateProps":"initProps"](u,{shape:d},i,t)}return u}},p={cartesian2d:function(e,t,n){var r=e.getItemLayout(t),a=o(n,r),i=r.width>0?1:-1,s=r.height>0?1:-1;return{x:r.x+i*a/2,y:r.y+s*a/2,width:r.width-i*a,height:r.height-s*a}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle}}};e.exports=h},function(e,t,n){function r(e,t,n,r,a){i.setText(e,t,n),e.text=r,"outside"===e.textPosition&&(e.textPosition=a)}var a=n(239),i=n(253),o={};o.setLabel=function(e,t,n,i,o,s,l){var u=n.getModel("label.normal"),c=n.getModel("label.emphasis");u.get("show")?r(e,u,i,a.retrieve(o.getFormattedLabel(s,"normal"),o.getRawValue(s)),l):e.text="",c.get("show")?r(t,c,i,a.retrieve(o.getFormattedLabel(s,"emphasis"),o.getRawValue(s)),l):t.text=""},e.exports=o},function(e,t,n){var r=n(250)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);e.exports={getBarItemStyle:function(e){var t=r.call(this,e);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(t.lineDash=n)}return t}}},function(e,t,n){"use strict";function r(e){return e.get("stack")||d+e.seriesIndex}function a(e){return e.dim+e.index}function i(e,t){var n=[],r=e.axis,a="axis0";if("category"===r.type){for(var i=r.getBandWidth(),o=0;o=0?"p":"n",v=m[n],y=s[u][n][c],x=l[u][n][c];p.isHorizontal()?(r=y,a=v[1]+h,i=v[0]-x,o=d,l[u][n][c]+=i,Math.abs(i)0&&"scale"!==d){var g=o.getItemLayout(0),m=Math.max(n.getWidth(),n.getHeight())/2,v=l.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(g.cx,g.cy,m,g.startAngle,g.clockwise,v,e))}this._data=o}},dispose:function(){},_createClipPath:function(e,t,n,r,a,i,o){var l=new s.Sector({shape:{cx:e,cy:t,r0:0,r:n,startAngle:r,endAngle:r,clockwise:a}});return s.initProps(l,{shape:{endAngle:r+(a?1:-1)*Math.PI*2}},o,i),l},containPoint:function(e,t){var n=t.getData(),r=n.getItemLayout(0);if(r){var a=e[0]-r.cx,i=e[1]-r.cy,o=Math.sqrt(a*a+i*i);return o<=r.r&&o>=r.r0}}});e.exports=c},function(e,t,n){var r=n(236),a=n(239);e.exports=function(e,t){a.each(t,function(t){t.update="updateView",r.registerAction(t,function(n,r){var a={};return r.eachComponent({mainType:"series",subType:e,query:n},function(e){e[t.method]&&e[t.method](n.name);var r=e.getData();r.each(function(t){var n=r.getName(t);a[n]=e.isSelected(n)||!1})}),{name:n.name,selected:a}})})}},function(e,t){e.exports=function(e,t){var n={};t.eachRawSeriesByType(e,function(e){var r=e.getRawData(),a={};if(!t.isSeriesFiltered(e)){var i=e.getData();i.each(function(e){var t=i.getRawIndex(e);a[t]=e}),r.each(function(t){var o=a[t],s=null!=o&&i.getItemVisual(o,"color",!0);if(s)r.setItemVisual(t,"color",s);else{var l=r.getItemModel(t),u=l.get("itemStyle.normal.color")||e.getColorFromPalette(r.getName(t),n);r.setItemVisual(t,"color",u),null!=o&&i.setItemVisual(o,"color",u)}})}})}},function(e,t,n){var r=n(242),a=r.parsePercent,i=n(388),o=n(239),s=2*Math.PI,l=Math.PI/180;e.exports=function(e,t,n,u){t.eachSeriesByType(e,function(e){var t=e.get("center"),u=e.get("radius");o.isArray(u)||(u=[0,u]),o.isArray(t)||(t=[t,t]);var c=n.getWidth(),h=n.getHeight(),d=Math.min(c,h),p=a(t[0],c),f=a(t[1],h),g=a(u[0],d/2),m=a(u[1],d/2),v=e.getData(),y=-e.get("startAngle")*l,x=e.get("minAngle")*l,_=0;v.each("value",function(e){!isNaN(e)&&_++});var b=v.getSum("value"),w=Math.PI/(b||_)*2,S=e.get("clockwise"),M=e.get("roseType"),C=e.get("stillShowZeroSum"),T=v.getDataExtent("value");T[0]=0;var A=s,I=0,E=y,P=S?1:-1;if(v.each("value",function(e,t){var n;if(isNaN(e))return void v.setItemLayout(t,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:S,cx:p,cy:f,r0:g,r:M?NaN:m});n="area"!==M?0===b&&C?w:e*w:s/_,nt&&i+1e[i].y+e[i].height)return void l(i,r/2);l(n-1,r/2)}function l(t,n){for(var r=t;r>=0&&(e[r].y-=n,!(r>0&&e[r].y>e[r-1].y+e[r-1].height));r--);}function u(e,t,n,r,a,i){for(var o=i>0?t?Number.MAX_VALUE:0:t?Number.MAX_VALUE:0,s=0,l=e.length;s=o&&(d=o-10),!t&&d<=o&&(d=o+10),e[s].x=n+d*i,o=d}}e.sort(function(e,t){return e.y-t.y});for(var c,h=0,d=e.length,p=[],f=[],g=0;g=n?f.push(e[g]):p.push(e[g]);u(p,!1,t,n,r,a),u(f,!0,t,n,r,a)}function a(e,t,n,a,i,o){for(var s=[],l=[],u=0;u0?"left":"right"}var P=g.getModel("textStyle").getFont(),L=g.get("rotate")?b<0?-_+Math.PI:-_:0,D=e.getFormattedLabel(n,"normal")||l.getName(n),k=i.getBoundingRect(D,P,d,"top");c=!!L,p.label={x:r,y:a,position:m,height:k.height,len:y,len2:x,linePoints:h,textAlign:d,verticalAlign:"middle",font:P,rotation:L},S||u.push(p.label)}),!c&&e.get("avoidLabelOverlap")&&a(u,o,s,t,n,r)}},function(e,t){e.exports=function(e,t){var n=t.findComponents({mainType:"legend"});n&&n.length&&t.eachSeriesByType(e,function(e){var t=e.getData();t.filterSelf(function(e){for(var r=t.getName(e),a=0;ae.get("largeThreshold")?a:i;this._symbolDraw=s,s.updateData(r),o.add(s.group),o.remove(s===a?i.group:a.group)},updateLayout:function(e){this._symbolDraw.updateLayout(e)},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t,!0)},dispose:function(){}})},function(e,t,n){function r(){this.group=new a.Group,this._symbolEl=new o({})}var a=n(253),i=n(346),o=a.extendShape({shape:{points:null,sizes:null},symbolProxy:null,buildPath:function(e,t){for(var n=t.points,r=t.sizes,a=this.symbolProxy,i=a.shape,o=0;o=0;i--){var o=r[i],s=a[i],l=o[0]-s[0]/2,u=o[1]-s[1]/2;if(e>=l&&t>=u&&e<=l+s[0]&&t<=u+s[1])return i}return-1}}),s=r.prototype;s.updateData=function(e){this.group.removeAll();var t=this._symbolEl,n=e.hostModel;t.setShape({points:e.mapArray(e.getItemLayout),sizes:e.mapArray(function(t){var n=e.getItemVisual(t,"symbolSize");return n instanceof Array||(n=[n,n]),n})}),t.symbolProxy=i.createSymbol(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor,t.useStyle(n.getModel("itemStyle.normal").getItemStyle(["color"]));var r=e.getVisual("color");r&&t.setColor(r),t.seriesIndex=n.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n)}),this.group.add(t)},s.updateLayout=function(e){var t=e.getData();this._symbolEl.setShape({points:t.mapArray(t.getItemLayout)})},s.remove=function(){this.group.removeAll()},e.exports=r},function(e,t,n){var r=n(239),a=n(236);n(395),n(400),n(401),a.registerVisual(r.curry(n(386),"radar")),a.registerVisual(r.curry(n(356),"radar","circle",null)),a.registerLayout(n(402)),a.registerProcessor(r.curry(n(389),"radar")),a.registerPreprocessor(n(403))},function(e,t,n){n(396),n(398),n(399)},function(e,t,n){function r(e,t,n){this._model=e,this.dimensions=[],this._indicatorAxes=a.map(e.getIndicatorModels(),function(e,t){var n="indicator_"+t,r=new i(n,new o);return r.name=e.get("name"),r.model=e,e.axis=r,this.dimensions.push(n),r},this),this.resize(e,n), +this.cx,this.cy,this.r,this.startAngle}var a=n(239),i=n(397),o=n(339),s=n(242),l=n(336);r.prototype.getIndicatorAxes=function(){return this._indicatorAxes},r.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},r.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t],r=n.angle,a=this.cx+e*Math.cos(r),i=this.cy-e*Math.sin(r);return[a,i]},r.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=Math.sqrt(t*t+n*n);t/=r,n/=r;for(var a,i=Math.atan2(-n,t),o=1/0,s=-1,l=0;lr[0]&&isFinite(p)&&isFinite(r[0]))}else{var f=i.getTicks().length-1;f>o&&(h=n(h));var g=Math.round((r[0]+r[1])/2/h)*h,m=Math.round(o/2);i.setExtent(s.round(g-m*h),s.round(g+(o-m)*h)),i.setInterval(h)}})},r.dimensions=[],r.create=function(e,t){var n=[];return e.eachComponent("radar",function(a){var i=new r(a,e,t);n.push(i),a.coordinateSystem=i}),e.eachSeriesByType("radar",function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("radarIndex")||0])}),n},n(311).register("radar",r),e.exports=r},function(e,t,n){function r(e,t,n){i.call(this,e,t,n),this.type="value",this.angle=0,this.name="",this.model}var a=n(239),i=n(335);a.inherits(r,i),e.exports=r},function(e,t,n){function r(e,t){return s.defaults({show:t},e)}var a=n(367),i=a.valueAxis,o=n(247),s=n(239),l=n(347),u=n(236).extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),a=this.get("axisTick"),i=this.get("axisLabel"),u=this.get("name.textStyle"),c=this.get("name.show"),h=this.get("name.formatter"),d=this.get("nameGap"),p=this.get("triggerEvent"),f=s.map(this.get("indicator")||[],function(f){if(null!=f.max&&f.max>0&&!f.min?f.min=0:null!=f.min&&f.min<0&&!f.max&&(f.max=0),f=s.merge(s.clone(f),{boundaryGap:e,splitNumber:t,scale:n,axisLine:r,axisTick:a,axisLabel:i,name:f.text,nameLocation:"end",nameGap:d,nameTextStyle:u,triggerEvent:p},!1),c||(f.name=""),"string"==typeof h){var g=f.name;f.name=h.replace("{value}",null!=g?g:"")}else"function"==typeof h&&(f.name=h(f.name,f));var m=s.extend(new o(f,null,this.ecModel),l);return m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this.getIndicatorModels=function(){return f}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:s.merge({lineStyle:{color:"#bbb"}},i.axisLine),axisLabel:r(i.axisLabel,!1),axisTick:r(i.axisTick,!1),splitLine:r(i.splitLine,!0),splitArea:r(i.splitArea,!0),indicator:[]}});e.exports=u},function(e,t,n){var r=n(370),a=n(239),i=n(253),o=["axisLine","axisLabel","axisTick","axisName"];e.exports=n(236).extendComponentView({type:"radar",render:function(e,t,n){var r=this.group;r.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),i=a.map(n,function(e){var n=new r(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return n});a.each(i,function(e){a.each(o,e.add,e),this.group.add(e.getGroup())},this)},_buildSplitLineAndArea:function(e){function t(e,t,n){var r=n%t.length;return e[r]=e[r]||[],r}var n=e.coordinateSystem,r=n.getIndicatorAxes();if(r.length){var o=e.get("shape"),s=e.getModel("splitLine"),l=e.getModel("splitArea"),u=s.getModel("lineStyle"),c=l.getModel("areaStyle"),h=s.get("show"),d=l.get("show"),p=u.get("color"),f=c.get("color");p=a.isArray(p)?p:[p],f=a.isArray(f)?f:[f];var g=[],m=[];if("circle"===o)for(var v=r[0].getTicksCoords(),y=n.cx,x=n.cy,_=0;_"+o.map(r,function(e,n){return s(e.name+" : "+t[n])}).join("
")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{normal:{width:2,type:"solid"}},label:{normal:{position:"top"}},symbol:"emptyCircle",symbolSize:4}});e.exports=l},function(e,t,n){function r(e){return i.isArray(e)||(e=[+e,+e]),e}var a=n(253),i=n(239),o=n(346);e.exports=n(236).extendChartView({type:"radar",render:function(e,t,n){function s(e,t){var n=e.getItemVisual(t,"symbol")||"circle",a=e.getItemVisual(t,"color");if("none"!==n){var i=o.createSymbol(n,-.5,-.5,1,1,a);return i.attr({style:{strokeNoScale:!0},z2:100,scale:r(e.getItemVisual(t,"symbolSize"))}),i}}function l(t,n,r,i,o,l){r.removeAll();for(var u=0;u"+l(r+" : "+n)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,r=n.getRegion(t);return r&&n.dataToPoint(r.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,textStyle:{color:"#000"}},emphasis:{show:!0,textStyle:{color:"rgb(100,0,0)"}}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{areaColor:"rgba(255,215,0,0.8)"}}}});i.mixin(d,c),e.exports=d},function(e,t,n){function r(e,t){var n=e.get("boundingCoords");if(null!=n){var r=n[0],a=n[1];isNaN(r[0])||isNaN(r[1])||isNaN(a[0])||isNaN(a[1])?__DEV__&&console.error("Invalid boundingCoords"):this.setBoundingRect(r[0],r[1],a[0]-r[0],a[1]-r[1])}var i,s=this.getBoundingRect(),u=e.get("layoutCenter"),c=e.get("layoutSize"),h=t.getWidth(),d=t.getHeight(),p=e.get("aspectScale")||.75,f=s.width/s.height*p,g=!1;u&&c&&(u=[l.parsePercent(u[0],h),l.parsePercent(u[1],d)],c=l.parsePercent(c,Math.min(h,d)),isNaN(u[0])||isNaN(u[1])||isNaN(c)?__DEV__&&console.warn("Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead."):g=!0);var m;if(g){var m={};f>1?(m.width=c,m.height=c/f):(m.height=c,m.width=c*f),m.y=u[1]-m.height/2,m.x=u[0]-m.width/2}else i=e.getBoxLayoutParams(),i.aspect=f,m=o.getLayoutRect(i,{width:h,height:d});this.setViewRect(m.x,m.y,m.width,m.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function a(e,t){s.each(t.get("geoCoord"),function(t,n){e.addGeoCoord(n,t)})}var i=n(407),o=n(306),s=n(239),l=n(242),u={};if(__DEV__)var c=function(e){console.error("Map "+e+" not exists. You can download map file on http://echarts.baidu.com/download-map.html")};var h={dimensions:i.prototype.dimensions,create:function(e,t){var n=[];e.eachComponent("geo",function(e,o){var s=e.get("map"),l=u[s];__DEV__&&(l||c(s));var h=new i(s+o,s,l&&l.geoJson,l&&l.specialAreas,e.get("nameMap"));h.zoomLimit=e.get("scaleLimit"),n.push(h),a(h,e),e.coordinateSystem=h,h.model=e,h.resize=r,h.resize(e,t)}),e.eachSeries(function(e){var t=e.get("coordinateSystem");if("geo"===t){var r=e.get("geoIndex")||0;e.coordinateSystem=n[r]}});var o={};return e.eachSeriesByType("map",function(e){if(!e.getHostGeoModel()){var t=e.getMapType();o[t]=o[t]||[],o[t].push(e)}}),s.each(o,function(e,o){var l=u[o];__DEV__&&(l||c(e[0].get("map")));var h=s.map(e,function(e){return e.get("nameMap")}),d=new i(o,o,l&&l.geoJson,l&&l.specialAreas,s.mergeAll(h));d.zoomLimit=s.retrieve.apply(null,s.map(e,function(e){return e.get("scaleLimit")})),n.push(d),d.resize=r,d.resize(e[0],t),s.each(e,function(e){e.coordinateSystem=d,a(d,e)})}),n},registerMap:function(e,t,n){t.geoJson&&!t.features&&(n=t.specialAreas,t=t.geoJson),"string"==typeof t&&(t="undefined"!=typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")()),u[e]={geoJson:t,specialAreas:n}},getMap:function(e){return u[e]},getFilledRegions:function(e,t){var n=(e||[]).slice(),r=h.getMap(t),a=r&&r.geoJson;if(!a)return __DEV__&&c(t),e;for(var i=s.createHashMap(),o=a.features,l=0;l>1^-(1&s),l=l>>1^-(1&l),s+=a,l+=i,a=s,i=l,r.push([s/n,l/n])}return r}var i=n(239),o=n(409);e.exports=function(e){return r(e),i.map(i.filter(e.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var t=e.properties,n=e.geometry,r=n.coordinates,a=[];"Polygon"===n.type&&a.push({type:"polygon",exterior:r[0],interiors:r.slice(1)}),"MultiPolygon"===n.type&&i.each(r,function(e){e[0]&&a.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})});var s=new o(t.name,a,t.cp);return s.properties=t,s})}},function(e,t,n){function r(e,t,n){if(this.name=e,this.geometries=t,n)n=[n[0],n[1]];else{var r=this.getBoundingRect();n=[r.x+r.width/2,r.y+r.height/2]}this.center=n}var a=n(410),i=n(244),o=n(273),s=n(245);r.prototype={constructor:r,properties:null,getBoundingRect:function(){var e=this._rect;if(e)return e;for(var t=Number.MAX_VALUE,n=[t,t],r=[-t,-t],a=[],l=[],u=this.geometries,c=0;c0?1.1:1/1.1;u.call(this,e,t,e.offsetX,e.offsetY)}}function l(e){if(!f.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;u.call(this,e,t,e.pinchX,e.pinchY)}}function u(e,t,n,r){this.pointerChecker&&this.pointerChecker(e,n,r)&&(p.stop(e.event),this.trigger("zoom",t,n,r))}function c(e,t,n){var r=e._opt[t];return r&&(!d.isString(r)||n.event[r+"Key"])}var h=n(260),d=n(239),p=n(323),f=n(418);d.mixin(r,h),e.exports=r},function(e,t,n){function r(e){return e[a]||(e[a]={})}var a="\0_ec_interaction_mutex",i={take:function(e,t,n){var a=r(e);a[t]=n},release:function(e,t,n){var a=r(e),i=a[t];i===n&&(a[t]=null)},isTaken:function(e,t){return!!r(e)[t]}};n(236).registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),e.exports=i},function(e,t){var n={};n.updateViewOnPan=function(e,t,n){var r=e.target,a=r.position;a[0]+=t,a[1]+=n,r.dirty()},n.updateViewOnZoom=function(e,t,n,r){var a=e.target,i=e.zoomLimit,o=a.position,s=a.scale,l=e.zoom=e.zoom||1;if(l*=t,i){var u=i.min||0,c=i.max||1/0;l=Math.max(Math.min(c,l),u); +}var h=l/e.zoom;e.zoom=l,o[0]-=(n-o[0])*(h-1),o[1]-=(r-o[1])*(h-1),s[0]*=h,s[1]*=h,a.dirty()},e.exports=n},function(e,t){var n={},r={axisPointer:1,tooltip:1,brush:1};n.onIrrelevantElement=function(e,t,n){var a=t.getComponentByElement(e.topTarget),i=a&&a.coordinateSystem;return a&&a!==n&&!r[a.mainType]&&i&&i.model!==n},e.exports=n},function(e,t,n){var r=n(239),a=n(422),i=n(236);i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateLayout"},function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},function(t){var i=t.coordinateSystem;if("geo"===i.type){var o=a.updateCenterAndZoom(i,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===n&&r.each(t.seriesGroup,function(e){e.setCenter(o.center),e.setZoom(o.zoom)})}})})},function(e,t){var n={};n.updateCenterAndZoom=function(e,t,n){var r=e.getZoom(),a=e.getCenter(),i=t.zoom,o=e.dataToPoint(a);if(null!=t.dx&&null!=t.dy){o[0]-=t.dx,o[1]-=t.dy;var a=e.pointToData(o);e.setCenter(a)}if(null!=i){if(n){var s=n.min||0,l=n.max||1/0;i=Math.max(Math.min(r*i,l),s)/r}e.scale[0]*=i,e.scale[1]*=i;var u=e.position,c=(t.originX-u[0])*(i-1),h=(t.originY-u[1])*(i-1);u[0]-=c,u[1]-=h,e.updateTransform();var a=e.pointToData(o);e.setCenter(a),e.setZoom(i*r)}return{center:e.getCenter(),zoom:e.getZoom()}},e.exports=n},function(e,t,n){var r=n(239);e.exports=function(e){var t={};e.eachSeriesByType("map",function(n){var a=n.getMapType();if(!n.getHostGeoModel()&&!t[a]){var i={};r.each(n.seriesGroup,function(t){var n=t.coordinateSystem,r=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&r.each("value",function(e,t){var a=r.getName(t),o=n.getRegion(a);if(o&&!isNaN(e)){var s=i[a]||0,l=n.dataToPoint(o.center);i[a]=s+1,r.setItemLayout(t,{point:l,offset:s})}})});var o=n.getData();o.each(function(e){var t=o.getName(e),n=o.getItemLayout(e)||{};n.showLabel=!i[t],o.setItemLayout(e,n)}),t[a]=!0}})}},function(e,t){e.exports=function(e){e.eachSeriesByType("map",function(e){var t=e.get("color"),n=e.getModel("itemStyle.normal"),r=n.get("areaColor"),a=n.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:r,color:a})})}},function(e,t,n){function r(e,t){var n={},r=["value"];return a.each(e,function(e){e.each(r,function(t,r){var a="ec-"+e.getName(r);n[a]=n[a]||[],isNaN(t)||n[a].push(t)})}),e[0].map(r,function(r,a){for(var i="ec-"+e[0].getName(a),o=0,s=1/0,l=-(1/0),u=n[i].length,c=0;ct&&(t=r.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostTree,n=t.data.getItemModel(this.dataIndex),r=this.getLevelModel();return n.getModel(e,(r||t.hostModel).getModel(e))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)}},r.prototype={constructor:r,type:"tree",eachNode:function(e,t,n){this.root.eachNode(e,t,n)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,n=0,r=t.length;n=0},wrapTreePathInfo:function(e,t){for(var n=[];e;){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}};e.exports=a},function(e,t,n){function r(){return{nodeGroup:[],background:[],content:[]}}function a(e,t,n,r,a,l,u,c,h,d){function p(t){R.dataIndex=u.dataIndex,R.seriesIndex=e.seriesIndex;var n=T.borderWidth,r=Math.max(A-2*n,0),a=Math.max(I-2*n,0);R.culling=!0,R.setShape({x:n,y:n,width:r,height:a});var i=u.getVisual("color",!0);f(R,function(){var e={fill:i},t=u.getModel("itemStyle.emphasis").getItemStyle();g(e,t,i,r,a),R.setStyle(e),s.setHoverStyle(R,t)}),t.add(R)}function f(e,t){E?!e.invisible&&l.push(e):(t(),e.__tmWillVisible||(e.invisible=!1))}function g(t,n,r,a,i){var o=u.getModel(),s=o.get("name");if(T.isLeafRoot){var l=e.get("drillDownIcon",!0);s=l?l+" "+s:s}y(s,t,o,_,r,a,i),y(s,n,o,b,r,a,i)}function y(e,t,n,r,a,i,o){var l=n.getModel(r),u=l.getModel("textStyle");s.setText(t,l,a),t.textAlign=u.get("align"),t.textVerticalAlign=u.get("baseline");var c=u.getTextRect(e);!l.getShallow("show")||c.height>o?t.text="":c.width>i?t.text=u.get("ellipsis")?u.truncateText(e,i,null,{minChar:2}):"":t.text=e}function x(e,r,o,s){var l=null!=L&&n[e][L],u=a[e];return l?(n[e][L]=null,w(u,l,e)):E||(l=new r({z:i(o,s)}),l.__tmDepth=o,l.__tmStorageName=e,C(u,l,e)),t[e][P]=l}function w(e,t,n){var r=e[P]={};r.old="nodeGroup"===n?t.position.slice():o.extend({},t.shape)}function C(e,t,n){var i=e[P]={},o=u.parentNode;if(o&&(!r||"drillDown"===r.direction)){var s=0,l=0,c=a.background[o.getRawIndex()];!r&&c&&c.old&&(s=c.old.width,l=c.old.height),i.old="nodeGroup"===n?[0,l]:{x:s,y:l,width:0,height:0}}i.fadein="nodeGroup"!==n}if(u){var T=u.getLayout();if(T&&T.isInView){var A=T.width,I=T.height,E=T.invisible,P=u.getRawIndex(),L=c&&c.getRawIndex(),D=x("nodeGroup",m);if(D){if(h.add(D),D.attr("position",[T.x||0,T.y||0]),D.__tmNodeWidth=A,D.__tmNodeHeight=I,T.isAboveViewRoot)return D;var k=x("background",v,d,S);k&&(k.setShape({x:0,y:0,width:A,height:I}),f(k,function(){k.setStyle("fill",u.getVisual("borderColor",!0))}),D.add(k));var O=u.viewChildren;if(!O||!O.length){var R=x("content",v,d,M);R&&p(D)}return D}}}}function i(e,t){var n=e*w+t;return(n-1)/n}var o=n(239),s=n(253),l=n(334),u=n(431),c=n(433),h=n(417),d=n(244),p=n(246),f=n(434),g=o.bind,m=s.Group,v=s.Rect,y=o.each,x=3,_=["label","normal"],b=["label","emphasis"],w=10,S=1,M=2;e.exports=n(236).extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage=r(),this._oldTree,this._breadcrumb,this._controller,this._state="ready",this._mayClick},render:function(e,t,n,r){var a=t.findComponents({mainType:"series",subType:"treemap",query:r});if(!(o.indexOf(a,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var i=u.retrieveTargetInfo(r,e),s=r&&r.type,l=e.layoutInfo,c=!this._oldTree,h=this._storage,d="treemapRootToNode"===s&&i&&h?{rootNodeGroup:h.nodeGroup[i.node.getRawIndex()],direction:r.direction}:null,p=this._giveContainerGroup(l),f=this._doRender(p,e,d);c||s&&"treemapZoomToNode"!==s&&"treemapRootToNode"!==s?f.renderFinally():this._doAnimation(p,f,e,d),this._resetController(n),this._renderBreadcrumb(e,n,i)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new m,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,n){function i(e,t,n,r,a){function s(e){return e.getId()}function u(o,s){var l=null!=o?e[o]:null,u=null!=s?t[s]:null,c=m(l,u,n,a);c&&i(l&&l.viewChildren||[],u&&u.viewChildren||[],c,r,a+1)}r?(t=e,y(e,function(e,t){!e.isRemoved()&&u(t,t)})):new l(t,e,s,s).add(u).update(u).remove(o.curry(u,null)).execute()}function s(e){var t=r();return e&&y(e,function(e,n){var r=t[n];y(e,function(e){e&&(r.push(e),e.__tmWillDelete=1)})}),t}function u(){y(v,function(e){y(e,function(e){e.parent&&e.parent.remove(e)})}),y(g,function(e){e.invisible=!0,e.dirty()})}var c=t.getData().tree,h=this._oldTree,d=r(),p=r(),f=this._storage,g=[],m=o.curry(a,t,p,f,n,d,g);i(c.root?[c.root]:[],h&&h.root?[h.root]:[],e,c===h||!h,0);var v=s(f);return this._oldTree=c,this._storage=p,{lastsForAnimation:d,willDeleteEls:v,renderFinally:u}},_doAnimation:function(e,t,n,r){if(n.get("animation")){var a=n.get("animationDurationUpdate"),i=n.get("animationEasing"),s=f.createWrap();y(t.willDeleteEls,function(e,t){y(e,function(e,n){if(!e.invisible){var o,l=e.parent;if(r&&"drillDown"===r.direction)o=l===r.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),o="nodeGroup"===t?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}o&&s.add(e,o,a,i)}})}),y(this._storage,function(e,n){y(e,function(e,r){var l=t.lastsForAnimation[n][r],u={};l&&("nodeGroup"===n?l.old&&(u.position=e.position.slice(),e.attr("position",l.old)):(l.old&&(u.shape=o.extend({},e.shape),e.setShape(l.old)),l.fadein?(e.setStyle("opacity",0),u.style={opacity:1}):1!==e.style.opacity&&(u.style={opacity:1})),s.add(e,u,a,i))})},this),this._state="animating",s.done(g(function(){this._state="ready",t.renderFinally()},this)).start()}},_resetController:function(e){var t=this._controller;t||(t=this._controller=new h(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",g(this._onPan,this)),t.on("zoom",g(this._onZoom,this)));var n=new d(0,0,e.getWidth(),e.getHeight());t.setPointerChecker(function(e,t,r){return n.contain(t,r)})},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e,t){if(this._mayClick=!1,"animating"!==this._state&&(Math.abs(e)>x||Math.abs(t)>x)){var n=this.seriesModel.getData().tree.root;if(!n)return;var r=n.getLayout();if(!r)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x+e,y:r.y+t,width:r.width,height:r.height}})}},_onZoom:function(e,t,n){if(this._mayClick=!1,"animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var a=r.getLayout();if(!a)return;var i=new d(a.x,a.y,a.width,a.height),o=this.seriesModel.layoutInfo;t-=o.x,n-=o.y;var s=p.create();p.translate(s,s,[-t,-n]),p.scale(s,s,[e,e]),p.translate(s,s,[t,n]),i.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x,y:i.y,width:i.width,height:i.height}})}},_initEvents:function(e){function t(e){var t=this.seriesModel.get("nodeClick",!0);if(t){var n=this.findTarget(e.offsetX,e.offsetY);if(n){var r=n.node;if(r.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===t)this._zoomToNode(n);else if("link"===t){var a=r.hostTree.data.getItemModel(r.dataIndex),i=a.get("link",!0),o=a.get("target",!0)||"blank";i&&window.open(i,o)}}}}e.on("mousedown",function(e){"ready"===this._state&&(this._mayClick=!0)},this),e.on("mouseup",function(e){this._mayClick&&(this._mayClick=!1,"ready"===this._state&&t.call(this,e))},this)},_renderBreadcrumb:function(e,t,n){function r(t){"animating"!==this._state&&(u.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),n||(n={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new c(this.group))).render(e,t,n.node,g(r,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=r(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var n,r=this.seriesModel.getViewRoot();return r.eachNode({attr:"viewChildren",order:"preorder"},function(r){var a=this._storage.background[r.getRawIndex()];if(a){var i=a.transformCoordToLocal(e,t),o=a.shape;if(!(o.x<=i[0]&&i[0]<=o.x+o.width&&o.y<=i[1]&&i[1]<=o.y+o.height))return!1;n={node:r,offsetX:i[0],offsetY:i[1]}}},this),n}})},function(e,t,n){function r(e){this.group=new o.Group,e.add(this.group)}function a(e,t,n,r,a,i){var o=[[a?e:e-d,t],[e+n,t],[e+n,t+r],[a?e:e-d,t+r]];return!i&&o.splice(2,0,[e+n+d,t+r/2]),!a&&o.push([e,t+r/2]),o}function i(e,t,n){e.eventData={componentType:"series",componentSubType:"treemap",seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&u.wrapTreePathInfo(n,t)}}var o=n(253),s=n(306),l=n(239),u=n(431),c=8,h=8,d=5;r.prototype={constructor:r,render:function(e,t,n,r){var a=e.getModel("breadcrumb"),i=this.group;if(i.removeAll(),a.get("show")&&n){var o=a.getModel("itemStyle.normal"),l=o.getModel("textStyle"),u={pos:{left:a.get("left"),right:a.get("right"),top:a.get("top"),bottom:a.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:a.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(e,u,o,l,r),s.positionElement(i,u.pos,u.box)}},_prepare:function(e,t,n){for(var r=e;r;r=r.parentNode){var a=r.getModel().get("name"),i=n.getTextRect(a),o=Math.max(i.width+2*c,t.emptyItemWidth);t.totalWidth+=o+h,t.renderList.push({node:r,text:a,width:o})}},_renderContent:function(e,t,n,r,u){for(var c=0,d=t.emptyItemWidth,p=e.get("breadcrumb.height"),f=s.getAvailableSize(t.pos,t.box),g=t.totalWidth,m=t.renderList,v=m.length-1;v>=0;v--){var y=m[v],x=y.node,_=y.width,b=y.text;g>f.width&&(g-=_-d,_=d,b="");var w=new o.Polygon({shape:{points:a(c,0,_,p,v===m.length-1,0===v)},style:l.defaults(n.getItemStyle(),{lineJoin:"bevel",text:b,textFill:r.getTextColor(),textFont:r.getFont()}),z:10,onclick:l.curry(u,x)});this.group.add(w),i(w,e,x),c+=_+h}},remove:function(){this.group.removeAll()}},e.exports=r},function(e,t,n){function r(){var e,t=[],n={};return{add:function(e,r,i,o,s){return a.isString(o)&&(s=o,o=0),!n[e.id]&&(n[e.id]=1,t.push({el:e,target:r,time:i,delay:o,easing:s}),!0)},done:function(t){return e=t,this},start:function(){function r(){a--,a||(t.length=0,n={},e&&e())}for(var a=t.length,i=0,o=t.length;i=u.length||e===u[e.depth]){var a=c(d,x,e,t,S,h);r(e,a,n,s,u,h)}})}else m=i(x,e),e.setVisual("color",m)}}function a(e,t,n,r){var a=p.extend({},t);return p.each(["color","colorAlpha","colorSaturation"],function(i){var o=e.get(i,!0);null==o&&n&&(o=n[i]),null==o&&(o=t[i]),null==o&&(o=r.get(i)),null!=o&&(a[i]=o)}),a}function i(e){var t=s(e,"color");if(t){var n=s(e,"colorAlpha"),r=s(e,"colorSaturation");return r&&(t=d.modifyHSL(t,null,null,r)),n&&(t=d.modifyAlpha(t,n)),t}}function o(e,t){return null!=t?d.modifyHSL(t,null,null,e):null}function s(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function l(e,t,n,r,a,i){if(i&&i.length){var o=u(t,"color")||null!=a.color&&"none"!==a.color&&(u(t,"colorAlpha")||u(t,"colorSaturation"));if(o){var s=t.get("visualMin"),l=t.get("visualMax"),c=n.dataExtent.slice();null!=s&&sc[1]&&(c[1]=l);var d=t.get("colorMappingBy"),p={type:o.name,dataExtent:c,visual:o.range};"color"!==p.type||"index"!==d&&"id"!==d?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var f=new h(p);return f.__drColorMappingBy=d,f}}}function u(e,t){var n=e.get(t);return f(n)&&n.length?{name:t,range:n}:null}function c(e,t,n,r,a,i){var o=p.extend({},t);if(a){var s=a.type,l="color"===s&&a.__drColorMappingBy,u="index"===l?r:"id"===l?i.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));o[s]=a.mapValueToVisual(u)}return o}var h=n(437),d=n(266),p=n(239),f=p.isArray,g="itemStyle.normal";e.exports=function(e,t,n){var a={mainType:"series",subType:"treemap",query:n};e.eachComponent(a,function(e){var t=e.getData().tree,n=t.root,a=e.getModel(g);if(!n.isRemoved()){var i=p.map(t.levelModels,function(e){return e?e.get(g):null});r(n,{},i,a,e.getViewRoot().getAncestors(),e)}})}},function(e,t,n){function r(e){var t=e.pieceList;e.hasSpecialVisual=!1,g.each(t,function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)})}function a(e){var t=e.categories,n=e.visual,r=e.categoryMap={};if(y(t,function(e,t){r[e]=t}),!g.isArray(n)){var a=[];g.isObject(n)?y(n,function(e,t){var n=r[t];a[null!=n?n:_]=e}):a[_]=n,n=p(e,a)}for(var i=t.length-1;i>=0;i--)null==n[i]&&(delete r[t[i]],t.pop())}function i(e,t){var n=e.visual,r=[];g.isObject(n)?y(n,function(e){r.push(e)}):null!=n&&r.push(n);var a={color:1,symbol:1};t||1!==r.length||a.hasOwnProperty(e.type)||(r[1]=r[0]),p(e,r)}function o(e){return{applyVisual:function(t,n,r){t=this.mapValueToVisual(t),r("color",e(n("color"),t))},_doMap:h([0,1])}}function s(e){var t=this.option.visual;return t[Math.round(v(e,[0,1],[0,t.length-1],!0))]||{}}function l(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function u(e){var t=this.option.visual;return t[this.option.loop&&e!==_?e%t.length:e]}function c(){return this.option.visual[0]}function h(e){return{linear:function(t){return v(t,e,this.option.visual,!0)},category:u,piecewise:function(t,n){var r=d.call(this,n);return null==r&&(r=v(t,e,this.option.visual,!0)),r},fixed:c}}function d(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=b.findPieceIndex(e,n),a=n[r];if(a&&a.visual)return a.visual[this.type]}}function p(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=g.map(t,function(e){return m.parse(e)})),t}function f(e,t,n){return e?t<=n:t=0;l--){var u=a["asc"===r?o-l-1:l].getValue();u/n*to[1]&&(o[1]=t)})}else o=[NaN,NaN];return{sum:r,dataExtent:o}}function u(e,t,n){for(var r,a=0,i=1/0,o=0,s=e.length;oa&&(a=r));var l=e.area*e.area,u=t*t*n;return l?x(u*a/l,l/(u*i)):1/0}function c(e,t,n,r,a){var i=t===n.width?0:1,o=1-i,s=["x","y"],l=["width","height"],u=n[s[i]],c=t?e.area/t:0;(a||c>n[l[o]])&&(c=n[l[o]]);for(var h=0,d=e.length;hg.MAX_SAFE_INTEGER&&(u=g.MAX_SAFE_INTEGER),i=s}u ")),a.value&&(c+=" : "+s.encodeHTML(a.value)),c}return u.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=a.map(this.option.categories||[],function(e){return null!=e.value?e:a.extend({value:0},e)}),t=new r(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray(function(e){return t.getItemModel(e,!0)})},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return u.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{normal:{position:"middle"},emphasis:{}},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{normal:{show:!1,formatter:"{b}"},emphasis:{show:!0}},itemStyle:{normal:{},emphasis:{}},lineStyle:{normal:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{}}}});e.exports=u},function(e,t,n){var r=n(333),a=n(442),i=n(430),o=n(345),s=n(311),l=n(239),u=n(344);e.exports=function(e,t,n,c,h){for(var d=new a(c),p=0;p "+x)),m++)}var _,b=n.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(e,n,n.ecModel);else{var w=s.get(b),S=o((w&&"view"!==w.type?w.dimensions||[]:[]).concat(["value"]),e);_=new r(S,n),_.initData(e)}var M=new r(["value"],n);return M.initData(g,f),h&&h(_,M),i({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:M},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},function(e,t,n){"use strict";function r(e){return"_EC_"+e}function a(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function i(e,t,n){this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}var o=n(239),s=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},l=s.prototype;l.type="graph",l.isDirected=function(){return this._directed},l.addNode=function(e,t){e=e||""+t;var n=this._nodesMap;if(!n[r(e)]){var i=new a(e,t);return i.hostGraph=this,this.nodes.push(i),n[r(e)]=i,i}},l.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},l.getNodeById=function(e){return this._nodesMap[r(e)]},l.addEdge=function(e,t,n){var o=this._nodesMap,s=this._edgesMap;if("number"==typeof e&&(e=this.nodes[e]),"number"==typeof t&&(t=this.nodes[t]),e instanceof a||(e=o[r(e)]),t instanceof a||(t=o[r(t)]),e&&t){var l=e.id+"-"+t.id;if(!s[l]){var u=new i(e,t,n);return u.hostGraph=this,this._directed&&(e.outEdges.push(u),t.inEdges.push(u)),e.edges.push(u),e!==t&&t.edges.push(u),this.edges.push(u),s[l]=u,u}}},l.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},l.getEdge=function(e,t){e instanceof a&&(e=e.id),t instanceof a&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},l.eachNode=function(e,t){for(var n=this.nodes,r=n.length,a=0;a=0&&e.call(t,n[a],a)},l.eachEdge=function(e,t){for(var n=this.edges,r=n.length,a=0;a=0&&n[a].node1.dataIndex>=0&&n[a].node2.dataIndex>=0&&e.call(t,n[a],a)},l.breadthFirstTraverse=function(e,t,n,i){if(t instanceof a||(t=this._nodesMap[r(t)]),t){for(var o="out"===n?"outEdges":"in"===n?"inEdges":"edges",s=0;s=0&&n.node2.dataIndex>=0});for(var a=0,i=r.length;a=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n,r){return this[e][t].getItemVisual(this.dataIndex,n,r)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};o.mixin(a,u("hostGraph","data")),o.mixin(i,u("hostGraph","edgeData")),s.Node=a,s.Edge=i,e.exports=s},function(e,t,n){function r(e,t){return e.getVisual("opacity")||e.getModel().get(t)}var a=n(351),i=n(444),o=n(417),s=n(419),l=n(420),u=n(253),c=n(447),h=n(239),d=["itemStyle","normal","opacity"],p=["lineStyle","normal","opacity"];n(236).extendChartView({type:"graph",init:function(e,t){var n=new a,r=new i,s=this.group;this._controller=new o(t.getZr()),this._controllerHost={target:s},s.add(n.group),s.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},render:function(e,t,n){var r=e.coordinateSystem;this._model=e,this._nodeScaleRatio=e.get("nodeScaleRatio");var a=this._symbolDraw,i=this._lineDraw,o=this.group;if("view"===r.type){var s={position:r.position,scale:r.scale};this._firstRender?o.attr(s):u.updateProps(o,s,e)}c(e.getGraph(),this._getNodeGlobalScale(e));var l=e.getData();a.updateData(l);var h=e.getEdgeData();i.updateData(h),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var d=e.forceLayout,p=e.get("force.layoutAnimation");d&&this._startForceLayoutIteration(d,p),l.eachItemGraphicEl(function(t,r){var a=l.getItemModel(r);t.off("drag").off("dragend");var i=l.getItemModel(r).get("draggable");i&&t.on("drag",function(){d&&(d.warmUp(),!this._layouting&&this._startForceLayoutIteration(d,p),d.setFixed(r),l.setItemLayout(r,t.position))},this).on("dragend",function(){d&&d.setUnfixed(r)},this),t.setDraggable(i&&d),t.off("mouseover",t.__focusNodeAdjacency),t.off("mouseout",t.__unfocusNodeAdjacency),a.get("focusNodeAdjacency")&&(t.on("mouseover",t.__focusNodeAdjacency=function(){n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t.__unfocusNodeAdjacency=function(){n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))},this);var f="circular"===e.get("layout")&&e.get("circular.rotateLabel"),g=l.getLayout("cx"),m=l.getLayout("cy");l.eachItemGraphicEl(function(e,t){var n=e.getSymbolPath();if(f){var r=l.getItemLayout(t),a=Math.atan2(r[1]-m,r[0]-g);a<0&&(a=2*Math.PI+a);var i=r[0].8?"left":h[0]<-.8?"right":"center",g=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===r.__position){var v=s/2,d=o.tangentAt(v),y=[d[1],-d[0]],x=o.pointAt(v);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]),p=[x[0]+y[0]*m,x[1]+y[1]*m],f="center",g="bottom";var _=-Math.atan2(d[1],d[0]);u[0].8?"right":h[0]<-.8?"left":"center",g=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";r.attr({style:{textVerticalAlign:r.__verticalAlign||g,textAlign:r.__textAlign||f},position:p,scale:[a,a]})}}}}function l(e,t,n){d.Group.call(this),this._createLine(e,t,n)}var u=n(346),c=n(245),h=n(446),d=n(253),p=n(239),f=n(242),g=["fromSymbol","toSymbol"],m=l.prototype;m.beforeUpdate=s,m._createLine=function(e,t,n){var o=e.hostModel,s=e.getItemLayout(t),l=i(s);l.shape.percent=0,d.initProps(l,{shape:{percent:1}},o,t),this.add(l);var u=new d.Text({name:"label"});this.add(u),p.each(g,function(n){var i=a(n,e,t);this.add(i),this[r(n)]=e.getItemVisual(t,n)},this),this._updateCommonStl(e,t,n)},m.updateData=function(e,t,n){var i=e.hostModel,s=this.childOfName("line"),l=e.getItemLayout(t),u={shape:{}};o(u.shape,l),d.updateProps(s,u,i,t),p.each(g,function(n){var i=e.getItemVisual(t,n),o=r(n);if(this[o]!==i){this.remove(this.childOfName(n));var s=a(n,e,t);this.add(s)}this[o]=i},this),this._updateCommonStl(e,t,n)},m._updateCommonStl=function(e,t,n){var r=e.hostModel,a=this.childOfName("line"),i=n&&n.lineStyle,o=n&&n.hoverLineStyle,s=n&&n.labelModel,l=n&&n.hoverLabelModel;if(!n||e.hasItemOption){var u=e.getItemModel(t);i=u.getModel("lineStyle.normal").getLineStyle(),o=u.getModel("lineStyle.emphasis").getLineStyle(),s=u.getModel("label.normal"),l=u.getModel("label.emphasis")}var c=e.getItemVisual(t,"color"),h=p.retrieve(e.getItemVisual(t,"opacity"),i.opacity,1);a.useStyle(p.defaults({strokeNoScale:!0,fill:"none",stroke:c,opacity:h},i)),a.hoverStyle=o,p.each(g,function(e){var t=this.childOfName(e);t&&(t.setColor(c),t.setStyle({opacity:h}))},this);var m,v,y=s.getShallow("show"),x=l.getShallow("show"),_=this.childOfName("label");if(y||x){var b=r.getRawValue(t);v=null==b?v=e.getName(t):isFinite(b)?f.round(b):b,m=c||"#000"}if(y){var w=s.getModel("textStyle");_.setStyle({text:p.retrieve(r.getFormattedLabel(t,"normal",e.dataType),v),textFont:w.getFont(),fill:w.getTextColor()||m}),_.__textAlign=w.get("align"),_.__verticalAlign=w.get("baseline"),_.__position=s.get("position")}else _.setStyle("text","");if(x){var S=l.getModel("textStyle");_.hoverStyle={text:p.retrieve(r.getFormattedLabel(t,"emphasis",e.dataType),v),textFont:S.getFont(),fill:S.getTextColor()||m}}else _.hoverStyle={text:""};_.ignore=!y&&!x,d.setHoverStyle(this)},m.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},m.setLinePoints=function(e){var t=this.childOfName("line");o(t.shape,e),t.dirty()},p.inherits(l,d.Group),e.exports=l},function(e,t,n){function r(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var a=n(253),i=n(245),o=a.Line.prototype,s=a.BezierCurve.prototype;e.exports=a.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(e,t){(r(t)?o:s).buildPath(e,t)},pointAt:function(e){return r(this.shape)?o.pointAt.call(this,e):s.pointAt.call(this,e)},tangentAt:function(e){var t=this.shape,n=r(t)?[t.x2-t.x1,t.y2-t.y1]:s.tangentAt.call(this,e);return i.normalize(n,n)}})},function(e,t,n){function r(e,t,n){for(var r,a=e[0],i=e[1],d=e[2],p=1/0,f=n*n,g=.1,m=.1;m<=.9;m+=.1){o[0]=u(a[0],i[0],d[0],m),o[1]=u(a[1],i[1],d[1],m);var v=h(c(o,t)-f);v=0?r+=g:r-=g:_>=0?r-=g:r+=g}return r}var a=n(272),i=n(245),o=[],s=[],l=[],u=a.quadraticAt,c=i.distSquare,h=Math.abs;e.exports=function(e,t){function n(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),t}var o=[],s=a.quadraticSubdivide,l=[[],[],[]],u=[[],[]],c=[];t/=2,e.eachEdge(function(e,a){var h=e.getLayout(),d=e.getVisual("fromSymbol"),p=e.getVisual("toSymbol");h.__original||(h.__original=[i.clone(h[0]),i.clone(h[1])],h[2]&&h.__original.push(i.clone(h[2])));var f=h.__original;if(null!=h[2]){if(i.copy(l[0],f[0]),i.copy(l[1],f[2]),i.copy(l[2],f[1]),d&&"none"!=d){var g=n(e.node1),m=r(l,f[0],g*t);s(l[0][0],l[1][0],l[2][0],m,o),l[0][0]=o[3],l[1][0]=o[4],s(l[0][1],l[1][1],l[2][1],m,o),l[0][1]=o[3],l[1][1]=o[4]}if(p&&"none"!=p){var g=n(e.node2),m=r(l,f[1],g*t);s(l[0][0],l[1][0],l[2][0],m,o),l[1][0]=o[1],l[2][0]=o[2],s(l[0][1],l[1][1],l[2][1],m,o),l[1][1]=o[1],l[2][1]=o[2]}i.copy(h[0],l[0]),i.copy(h[1],l[2]),i.copy(h[2],l[1])}else{if(i.copy(u[0],f[0]),i.copy(u[1],f[1]),i.sub(c,u[1],u[0]),i.normalize(c,c),d&&"none"!=d){var g=n(e.node1);i.scaleAndAdd(u[0],u[0],c,g*t)}if(p&&"none"!=p){var g=n(e.node2);i.scaleAndAdd(u[1],u[1],c,-g*t)}i.copy(h[0],u[0]),i.copy(h[1],u[1])}})}},function(e,t,n){var r=n(236),a=n(422),i={type:"graphRoam",event:"graphRoam",update:"none"};r.registerAction(i,function(e,t){t.eachComponent({mainType:"series",query:e},function(t){var n=t.coordinateSystem,r=a.updateCenterAndZoom(n,e);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)})}),r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series.graph:focusNodeAdjacency"},function(){}),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series.graph:unfocusNodeAdjacency"},function(){})},function(e,t){e.exports=function(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",function(e){var n=e.getCategoriesData(),r=e.getGraph(),a=r.data,i=n.mapArray(n.getName);a.filterSelf(function(e){var n=a.getItemModel(e),r=n.getShallow("category");if(null!=r){"number"==typeof r&&(r=i[r]);for(var o=0;o=e&&(0===t?0:r[t-1][0]).4?"bottom":"middle",textAlign:D<-.4?"left":D>.4?"right":"center"},silent:!0});"auto"===V.style.fill&&V.setStyle({fill:r(L/b)}),d.add(V)}if(x.get("show")&&L!==b){for(var z=0;z<=w;z++){var D=Math.cos(C),k=Math.sin(C),B=new o.Line({shape:{x1:D*g+p,y1:k*g+f,x2:D*(g-M)+p,y2:k*(g-M)+f},silent:!0,style:E +});"auto"===E.stroke&&B.setStyle({stroke:r((L+z/w)/b)}),d.add(B),C+=A}C-=A}else C+=T}},_renderPointer:function(e,t,n,r,a,u,c,h){var d=this.group,p=this._data;if(!e.get("pointer.show"))return void(p&&p.eachItemGraphicEl(function(e){d.remove(e)}));var f=[+e.get("min"),+e.get("max")],g=[u,c],m=e.getData();m.diff(p).add(function(t){var n=new i({shape:{angle:u}});o.initProps(n,{shape:{angle:s.linearMap(m.get("value",t),f,g,!0)}},e),d.add(n),m.setItemGraphicEl(t,n)}).update(function(t,n){var r=p.getItemGraphicEl(n);o.updateProps(r,{shape:{angle:s.linearMap(m.get("value",t),f,g,!0)}},e),d.add(r),m.setItemGraphicEl(t,r)}).remove(function(e){var t=p.getItemGraphicEl(e);d.remove(t)}).execute(),m.eachItemGraphicEl(function(e,t){var n=m.getItemModel(t),i=n.getModel("pointer");e.setShape({x:a.cx,y:a.cy,width:l(i.get("width"),a.r),r:l(i.get("length"),a.r)}),e.useStyle(n.getModel("itemStyle.normal").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",r(s.linearMap(m.get("value",t),f,[0,1],!0))),o.setHoverStyle(e,n.getModel("itemStyle.emphasis").getItemStyle())}),this._data=m},_renderTitle:function(e,t,n,r,a){var i=e.getModel("title");if(i.get("show")){var u=i.getModel("textStyle"),c=i.get("offsetCenter"),h=a.cx+l(c[0],a.r),d=a.cy+l(c[1],a.r),p=new o.Text({style:{x:h,y:d,text:e.getData().getName(0),fill:u.getTextColor(),textFont:u.getFont(),textAlign:"center",textVerticalAlign:"middle"}});if("auto"===p.style.fill){var f=+e.get("min"),g=+e.get("max"),m=e.getData().get("value",0);p.setStyle("fill",r(s.linearMap(m,[f,g],[0,1],!0)))}this.group.add(p)}},_renderDetail:function(e,t,n,r,i){var u=e.getModel("detail"),c=+e.get("min"),h=+e.get("max");if(u.get("show")){var d=u.getModel("textStyle"),p=u.get("offsetCenter"),f=i.cx+l(p[0],i.r),g=i.cy+l(p[1],i.r),m=l(u.get("width"),i.r),v=l(u.get("height"),i.r),y=e.getData().get("value",0),x=new o.Rect({shape:{x:f-m/2,y:g-v/2,width:m,height:v},style:{text:a(y,u.get("formatter")),fill:u.get("backgroundColor"),textFill:d.getTextColor(),textFont:d.getFont()}});"auto"===x.style.textFill&&x.setStyle("textFill",r(s.linearMap(y,[c,h],[0,1],!0))),x.setStyle(u.getItemStyle(["color"])),this.group.add(x)}}});e.exports=c},function(e,t,n){e.exports=n(255).extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(e,t){var n=Math.cos,r=Math.sin,a=t.r,i=t.width,o=t.angle,s=t.x-n(o)*i*(i>=a/3?1:2),l=t.y-r(o)*i*(i>=a/3?1:2);o=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(o)*i,t.y+r(o)*i),e.lineTo(t.x+n(t.angle)*a,t.y+r(t.angle)*a),e.lineTo(t.x-n(o)*i,t.y-r(o)*i),e.lineTo(s,l)}})},function(e,t,n){var r=n(239),a=n(236);n(465),n(466),a.registerVisual(r.curry(n(386),"funnel")),a.registerLayout(n(467)),a.registerProcessor(r.curry(n(389),"funnel"))},function(e,t,n){"use strict";var r=n(333),a=n(240),i=n(345),o=n(236).extendSeriesModel({type:"series.funnel",init:function(e){o.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(e)},getInitialData:function(e,t){var n=i(["value"],e.data),a=new r(n,this);return a.initData(e.data),a},_defaultLabelLine:function(e){a.defaultEmphasis(e.labelLine,["show"]);var t=e.labelLine.normal,n=e.labelLine.emphasis;t.show=t.show&&e.label.normal.show,n.show=n.show&&e.label.emphasis.show},getDataParams:function(e){var t=this.getData(),n=o.superCall(this,"getDataParams",e),r=t.getSum("value");return n.percent=r?+(t.get("value",e)/r*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{normal:{show:!0,position:"outer"},emphasis:{show:!0}},labelLine:{normal:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},emphasis:{}},itemStyle:{normal:{borderColor:"#fff",borderWidth:1},emphasis:{}}}});e.exports=o},function(e,t,n){function r(e,t){function n(){o.ignore=o.hoverIgnore,s.ignore=s.hoverIgnore}function r(){o.ignore=o.normalIgnore,s.ignore=s.normalIgnore}i.Group.call(this);var a=new i.Polygon,o=new i.Polyline,s=new i.Text;this.add(a),this.add(o),this.add(s),this.updateData(e,t,!0),this.on("emphasis",n).on("normal",r).on("mouseover",n).on("mouseout",r)}function a(e,t,n,r){var a=r.getModel("textStyle"),i=r.get("position"),s="inside"===i||"inner"===i||"center"===i;return{fill:a.getTextColor()||(s?"#fff":e.getItemVisual(t,"color")),textFont:a.getFont(),text:o.retrieve(e.hostModel.getFormattedLabel(t,n),e.getName(t))}}var i=n(253),o=n(239),s=r.prototype,l=["itemStyle","normal","opacity"];s.updateData=function(e,t,n){var r=this.childAt(0),a=e.hostModel,s=e.getItemModel(t),u=e.getItemLayout(t),c=e.getItemModel(t).get(l);c=null==c?1:c,r.useStyle({}),n?(r.setShape({points:u.points}),r.setStyle({opacity:0}),i.initProps(r,{style:{opacity:c}},a,t)):i.updateProps(r,{style:{opacity:c},shape:{points:u.points}},a,t);var h=s.getModel("itemStyle"),d=e.getItemVisual(t,"color");r.setStyle(o.defaults({lineJoin:"round",fill:d},h.getModel("normal").getItemStyle(["opacity"]))),r.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),i.setHoverStyle(this)},s._updateLabel=function(e,t){var n=this.childAt(1),r=this.childAt(2),o=e.hostModel,s=e.getItemModel(t),l=e.getItemLayout(t),u=l.label,c=e.getItemVisual(t,"color");i.updateProps(n,{shape:{points:u.linePoints||u.linePoints}},o,t),i.updateProps(r,{style:{x:u.x,y:u.y}},o,t),r.attr({style:{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,textFont:u.font},rotation:u.rotation,origin:[u.x,u.y],z2:10});var h=s.getModel("label.normal"),d=s.getModel("label.emphasis"),p=s.getModel("labelLine.normal"),f=s.getModel("labelLine.emphasis");r.setStyle(a(e,t,"normal",h)),r.ignore=r.normalIgnore=!h.get("show"),r.hoverIgnore=!d.get("show"),n.ignore=n.normalIgnore=!p.get("show"),n.hoverIgnore=!f.get("show"),n.setStyle({stroke:c}),n.setStyle(p.getModel("lineStyle").getLineStyle()),r.hoverStyle=a(e,t,"emphasis",d),n.hoverStyle=f.getModel("lineStyle").getLineStyle()},o.inherits(r,i.Group);var u=n(315).extend({type:"funnel",render:function(e,t,n){var a=e.getData(),i=this._data,o=this.group;a.diff(i).add(function(e){var t=new r(a,e);a.setItemGraphicEl(e,t),o.add(t)}).update(function(e,t){var n=i.getItemGraphicEl(t);n.updateData(a,e),o.add(n),a.setItemGraphicEl(e,n)}).remove(function(e){var t=i.getItemGraphicEl(e);o.remove(t)}).execute(),this._data=a},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});e.exports=u},function(e,t,n){function r(e,t){return o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function a(e,t){for(var n=e.mapArray("value",function(e){return e}),r=[],a="ascending"===t,i=0,o=e.count();is)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&r(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),a=n.behavior;"jump"===a&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===a?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===a&&null})}}};a.registerPreprocessor(n(481))},function(e,t,n){function r(e,t){var n=[];return e.eachComponent("parallel",function(r,i){var o=new a(r,e,t);o.name="parallel_"+i,o.resize(r,t),r.coordinateSystem=o,o.model=r,n.push(o)}),e.eachSeries(function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}}),n}var a=n(471);n(311).register("parallel",{create:r})},function(e,t,n){function r(e,t,n){this._axesMap=u.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,t,n)}function a(e,t){return m(v(e,t[0]),t[1])}function i(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function o(e,t){var n,r,a=t.layoutLength,i=t.axisExpandWidth,o=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e=n&&i<=n+t.axisLength&&o>=r&&o<=r+t.layoutLength},_updateAxesFromSeries:function(e,t){t.eachSeries(function(n){if(e.contains(n,t)){var r=n.getData();g(this.dimensions,function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(r,e),l.niceScaleExtent(t.scale,t.model)},this)}},this)},resize:function(e,t){this._rect=s.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=t.get("layout"),s="horizontal"===o?0:1,l=n[i[s]],u=[0,l],c=this.dimensions.length,h=a(t.get("axisExpandWidth"),u),d=a(t.get("axisExpandCount")||0,[0,c]),p=t.get("axisExpandable")&&c>3&&c>d&&d>1&&h>0&&l>0,f=t.get("axisExpandWindow");if(f)e=a(f[1]-f[0],u),f[1]=f[0]+e;else{e=a(h*(d-1),u);var g=t.get("axisExpandCenter")||y(c/2);f=[h*g-e/2],f[1]=f[0]+e}var m=(l-e)/(c-d);m<3&&(m=0);var v=[y(_(f[0]/h,1))+1,x(_(f[1]/h,1))-1],b=m/h*f[0];return{layout:o,pixelDimIndex:s,layoutBase:n[r[s]],layoutLength:l,axisBase:n[r[1-s]],axisLength:n[i[1-s]],axisExpandable:p,axisExpandWidth:h,axisCollapseWidth:m,axisExpandWindow:f,axisCount:c,winInnerIndices:v,axisExpandWindow0Pos:b}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),a=r.layout;t.each(function(e){var t=[0,r.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])}),g(n,function(n,s){var l=(r.axisExpandable?o:i)(s,r),u={horizontal:{x:l.position,y:r.axisLength},vertical:{x:0,y:l.position}},c={horizontal:b/2,vertical:0},h=[u[a].x+e.x,u[a].y+e.y],p=c[a],f=d.create();d.rotate(f,f,p),d.translate(f,f,h),this._axesLayout[n]={position:h,rotation:p,transform:f,axisNameAvailableWidth:l.axisNameAvailableWidth,axisLabelShow:l.axisLabelShow,nameTruncateMaxWidth:l.nameTruncateMaxWidth,tickDirection:1,labelDirection:1,labelInterval:t.get(n).getLabelInterval()}},this)},getAxis:function(e){return this._axesMap.get(e)},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},eachActiveState:function(e,t,n){for(var r=this.dimensions,a=this._axesMap,i=this.hasAxisBrushed(),o=0,s=e.count();oa*(1-c[0])?(l="jump",o=s-a*(1-c[2])):(o=s-a*c[1])>=0&&(o=s-a*(1-c[1]))<=0&&(o=0),o*=t.axisExpandWidth/u,o?f(o,r,i,"all"):l="none";else{var a=r[1]-r[0],d=i[1]*s/a;r=[v(0,d-a/2)],r[1]=m(i[1],r[0]+a),r[0]=r[1]-a}return{axisExpandWindow:r,behavior:l}}},e.exports=r},function(e,t,n){var r=n(239),a=n(335),i=function(e,t,n,r,i){a.call(this,e,t,n),this.type=r||"value",this.axisIndex=i};i.prototype={constructor:i,model:null},r.inherits(i,a),e.exports=i},function(e,t){function n(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function r(e,t){return Math.min(t[1],Math.max(t[0],e))}e.exports=function(e,t,a,i,o,s){t[0]=r(t[0],a),t[1]=r(t[1],a),e=e||0;var l=a[1]-a[0];null!=o&&(o=r(o,[0,l])),null!=s&&(s=Math.max(s,null!=o?o:0)),"all"===i&&(o=s=Math.abs(t[1]-t[0]),i=0);var u=n(t,i);t[i]+=e;var c=o||0,h=a.slice();u.sign<0?h[0]+=c:h[1]-=c,t[i]=r(t[i],h);var d=n(t,i);null!=o&&(d.sign!==u.sign||d.spans&&(t[1-i]=t[i]+d.sign*s),t}},function(e,t,n){var r=n(239),a=n(304);n(475),a.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&r.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},setAxisExpand:function(e){r.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])},this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=r.filter(this.dependentModels.parallelAxis,function(e){return e.get("parallelIndex")===this.componentIndex});r.each(n,function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)})}})},function(e,t,n){function r(e,t){return t.type||(t.data?"category":"value")}var a=n(304),i=n(239),o=n(250),s=n(366),l=n(242),u=a.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return o([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]]).call(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var t=this.activeIntervals=i.clone(e);if(t)for(var n=t.length-1;n>=0;n--)l.asc(t[n])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e)return"inactive";for(var n=0,r=t.length;nK}function v(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function y(e,t,n,r){var a=new F.Group;return a.add(new F.Rect({name:"main",style:w(n),silent:!0,draggable:!0,cursor:"move",drift:W(e,t,a,"nswe"),ondragend:W(g,t,{isEnd:!0})})),j(r,function(n){a.add(new F.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:W(e,t,a,n),ondragend:W(g,t,{isEnd:!0})}))}),a}function x(e,t,n,r){var a=r.brushStyle.lineWidth||0,i=Z(a,Q),o=n[0][0],s=n[1][0],l=o-a/2,u=s-a/2,c=n[0][1],h=n[1][1],d=c-i+a/2,p=h-i+a/2,f=c-o,g=h-s,m=f+a,v=g+a;b(e,t,"main",o,s,f,g),r.transformable&&(b(e,t,"w",l,u,i,v),b(e,t,"e",d,u,i,v),b(e,t,"n",l,u,m,i),b(e,t,"s",l,p,m,i),b(e,t,"nw",l,u,i,i),b(e,t,"ne",d,u,i,i),b(e,t,"sw",l,p,i,i),b(e,t,"se",d,p,i,i))}function _(e,t){var n=t.__brushOption,r=n.transformable,a=t.childAt(0);a.useStyle(w(n)),a.attr({silent:!r,cursor:r?"move":"default"}),j(["w","e","n","s","se","sw","ne","nw"],function(n){var a=t.childOfName(n),i=C(e,n);a&&a.attr({silent:!r,invisible:!r,cursor:r?ee[i]+"-resize":null})})}function b(e,t,n,r,a,i,o){var s=t.childOfName(n);s&&s.setShape(P(E(e,t,[[r,a],[r+i,a+o]])))}function w(e){return B.defaults({strokeNoScale:!0},e.brushStyle)}function S(e,t,n,r){var a=[q(e,n),q(t,r)],i=[Z(e,n),Z(t,r)];return[[a[0],i[0]],[a[1],i[1]]]}function M(e){return F.getTransform(e.group)}function C(e,t){if(t.length>1){t=t.split("");var n=[C(e,t[0]),C(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}var r={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"},n=F.transformDirection(r[t],M(e));return a[n]}function T(e,t,n,r,a,i,o,s){var l=r.__brushOption,u=e(l.range),h=I(n,i,o);j(a.split(""),function(e){var t=$[e];u[t[0]][t[1]]+=h[t[0]]}),l.range=t(S(u[0][0],u[1][0],u[0][1],u[1][1])),c(n,r),g(n,{isEnd:!1})}function A(e,t,n,r,a){var i=t.__brushOption.range,o=I(e,n,r);j(i,function(e){e[0]+=o[0],e[1]+=o[1]}),c(e,t),g(e,{isEnd:!1})}function I(e,t,n){var r=e.group,a=r.transformCoordToLocal(t,n),i=r.transformCoordToLocal(0,0);return[a[0]-i[0],a[1]-i[1]]}function E(e,t,n){var r=p(e,t);return r&&r!==!0?r.clipPath(n,e._transform):B.clone(n)}function P(e){var t=q(e[0][0],e[1][0]),n=q(e[0][1],e[1][1]),r=Z(e[0][0],e[1][0]),a=Z(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:a-n}}function L(e,t,n){if(e._brushType){var r=e._zr,a=e._covers,i=d(e,t,n);if(!e._dragging)for(var o=0;o=0?t:NaN}})}function a(e){return+e.replace("dim","")}function i(e,t){var n=0;s.each(e,function(e){var t=a(e);t>n&&(n=t)});var r=t[0];r&&r.length-1>n&&(n=r.length-1);for(var i=[],o=0;o<=n;o++)i.push("dim"+o);return i}var o=n(333),s=n(239),l=n(313),u=n(345);e.exports=l.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.normal.color",getInitialData:function(e,t){var n=t.getComponent("parallel",this.get("parallelIndex")),a=n.parallelAxisIndex,l=e.data,c=n.dimensions,h=i(c,l),d=s.map(h,function(e,n){var i=s.indexOf(c,e),o=i>=0&&t.getComponent("parallelAxis",a[i]);return o&&"category"===o.get("type")?(r(o,e,l),{name:e,type:"ordinal"}):i<0&&u.guessOrdinal(l,n)?{name:e,type:"ordinal"}:e}),p=new o(d,this);return p.initData(l),this.option.progressive&&(this.option.animation=!1),p},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,n=this.getData(),r=[];return t.eachActiveState(n,function(t,a){e===t&&r.push(n.getRawIndex(a))}),r},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{normal:{show:!1},emphasis:{show:!1}},inactiveOpacity:.05,activeOpacity:1,lineStyle:{normal:{width:1,opacity:.45,type:"solid"}},progressive:!1,smooth:!1,animationEasing:"linear"}})},function(e,t,n){function r(e,t,n){var r=e.model,a=e.getRect(),i=new l.Rect({shape:{x:a.x,y:a.y,width:a.width,height:a.height}}),o="horizontal"===r.get("layout")?"width":"height";return i.setShape(o,0),l.initProps(i,{shape:{width:a.width,height:a.height}},t,n),i}function a(e,t,n,r){for(var a=[],i=0;i0;a--)o*=.99,d(i,o),h(i,r,n),f(i,o),h(i,r,n)}function c(e,t,n,r,a){var i=[];T.each(t,function(e){var t=e.length,n=0;T.each(e,function(e){n+=e.getLayout().value});var o=(r-(t-1)*a)/n;i.push(o)}),i.sort(function(e,t){return e-t});var o=i[0];T.each(t,function(e){T.each(e,function(e,t){e.setLayout({y:t},!0);var n=e.getLayout().value*o;e.setLayout({dy:n},!0)})}),T.each(n,function(e){var t=+e.getValue()*o;e.setLayout({dy:t},!0)})}function h(e,t,n){T.each(e,function(e){var r,a,i,o=0,s=e.length;for(e.sort(b),i=0;i0){var l=r.getLayout().y+a;r.setLayout({y:l},!0)}o=r.getLayout().y+r.getLayout().dy+t}if(a=o-t-n,a>0){var l=r.getLayout().y-a;for(r.setLayout({y:l},!0),o=r.getLayout().y,i=s-2;i>=0;--i)r=e[i],a=r.getLayout().y+r.getLayout().dy+t-o,a>0&&(l=r.getLayout().y-a,r.setLayout({y:l},!0)),o=r.getLayout().y}})}function d(e,t){T.each(e.slice().reverse(),function(e){T.each(e,function(e){if(e.outEdges.length){var n=x(e.outEdges,p)/x(e.outEdges,S),r=e.getLayout().y+(n-_(e))*t;e.setLayout({y:r},!0)}})})}function p(e){return _(e.node2)*e.getValue()}function f(e,t){T.each(e,function(e){T.each(e,function(e){if(e.inEdges.length){var n=x(e.inEdges,g)/x(e.inEdges,S),r=e.getLayout().y+(n-_(e))*t;e.setLayout({y:r},!0)}})})}function g(e){return _(e.node1)*e.getValue()}function m(e){T.each(e,function(e){e.outEdges.sort(v),e.inEdges.sort(y)}),T.each(e,function(e){var t=0,n=0;T.each(e.outEdges,function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy}),T.each(e.inEdges,function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy})})}function v(e,t){return e.node2.getLayout().y-t.node2.getLayout().y}function y(e,t){return e.node1.getLayout().y-t.node1.getLayout().y}function x(e,t){for(var n=0,r=e.length,a=-1;++at?1:e===t?0:NaN}function S(e){return e.getValue()}var M=n(306),C=n(489),T=n(239);e.exports=function(e,t,n){e.eachSeriesByType("sankey",function(e){var n=e.get("nodeWidth"),o=e.get("nodeGap"),s=r(e,t);e.layoutInfo=s;var l=s.width,u=s.height,c=e.getGraph(),h=c.nodes,d=c.edges;i(h);var p=T.filter(h,function(e){return 0===e.getLayout().value}),f=0!==p.length?0:e.get("layoutIterations");a(h,d,n,o,l,u,f)})}},function(e,t,n){function r(){function e(t,r){if(r>=n.length)return t;for(var i=-1,o=t.length,s=n[r++],l={},u={};++i=n.length)return e;var o=[],s=r[i++];return a.each(e,function(e,n){o.push({key:n,values:t(e,i)})}),s?o.sort(function(e,t){return s(e.key,t.key)}):o}var n=[],r=[];return{key:function(e){return n.push(e),this},sortKeys:function(e){return r[n.length-1]=e,this},entries:function(n){return t(e(n,0),0)}}}var a=n(239);e.exports=r},function(e,t,n){var r=n(437),a=n(239);e.exports=function(e,t){e.eachSeriesByType("sankey",function(e){var t=e.getGraph(),n=t.nodes;n.sort(function(e,t){return e.getLayout().value-t.getLayout().value});var i=n[0].getLayout().value,o=n[n.length-1].getLayout().value;a.each(n,function(t){var n=new r({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:e.get("color")}),a=n.mapValueToVisual(t.getLayout().value);t.setVisual("color",a);var s=t.getModel(),l=s.get("itemStyle.normal.color");null!=l&&t.setVisual("color",l)})})}},function(e,t,n){var r=n(236);n(492),n(495),r.registerVisual(n(496)),r.registerLayout(n(497))},function(e,t,n){"use strict";var r=n(239),a=n(313),i=n(493),o=a.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:["min","Q1","median","Q3","max"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{normal:{color:"#fff",borderWidth:1},emphasis:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});r.mixin(o,i.seriesModelMixin,!0),e.exports=o},function(e,t,n){"use strict";var r=n(333),a=n(345),i=n(494),o=n(239),s={_baseAxisDim:null,getInitialData:function(e,t){var n,i,s=t.getComponent("xAxis",this.get("xAxisIndex")),l=t.getComponent("yAxis",this.get("yAxisIndex")),u=s.get("type"),c=l.get("type");"category"===u?(e.layout="horizontal",n=s.getCategories(),i=!0):"category"===c?(e.layout="vertical",n=l.getCategories(),i=!0):e.layout=e.layout||"horizontal";var h=["x","y"],d="horizontal"===e.layout?0:1,p=this._baseAxisDim=h[d],f=h[1-d],g=e.data;i&&o.each(g,function(e,t){o.isArray(e)&&e.unshift(t)});var m=[{name:p,otherDims:{tooltip:!1},dimsDef:["base"]},{name:f,dimsDef:this.defaultValueDimensions.slice()}];m=a(m,g,{encodeDef:this.get("encode"),dimsDef:this.get("dimensions")});var v=new r(m,this);return v.initData(g,n?n.slice():null),v},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}},l={init:function(){var e=this._whiskerBoxDraw=new i(this.getStyleUpdater());this.group.add(e.group)},render:function(e,t,n){this._whiskerBoxDraw.updateData(e.getData())},remove:function(e){this._whiskerBoxDraw.remove()}};e.exports={seriesModelMixin:s,viewMixin:l}},function(e,t,n){function r(e,t,n,r){l.Group.call(this),this.bodyIndex,this.whiskerIndex,this.styleUpdater=n,this._createContent(e,t,r),this.updateData(e,t,r),this._seriesModel}function a(e,t,n){return s.map(e,function(e){return e=e.slice(),e[t]=n.initBaseline,e})}function i(e){var t={};return s.each(e,function(e,n){t["ends"+n]=e}),t}function o(e){this.group=new l.Group,this.styleUpdater=e}var s=n(239),l=n(253),u=n(255),c=u.extend({type:"whiskerInBox",shape:{},buildPath:function(e,t){for(var n in t)if(t.hasOwnProperty(n)&&0===n.indexOf("ends")){var r=t[n];e.moveTo(r[0][0],r[0][1]),e.lineTo(r[1][0],r[1][1])}}}),h=r.prototype;h._createContent=function(e,t,n){var r=e.getItemLayout(t),o="horizontal"===r.chartLayout?1:0,u=0;this.add(new l.Polygon({shape:{points:n?a(r.bodyEnds,o,r):r.bodyEnds},style:{strokeNoScale:!0},z2:100})),this.bodyIndex=u++;var h=s.map(r.whiskerEnds,function(e){return n?a(e,o,r):e});this.add(new c({shape:i(h),style:{strokeNoScale:!0},z2:100})),this.whiskerIndex=u++},h.updateData=function(e,t,n){var r=this._seriesModel=e.hostModel,a=e.getItemLayout(t),o=l[n?"initProps":"updateProps"];o(this.childAt(this.bodyIndex),{shape:{points:a.bodyEnds}},r,t),o(this.childAt(this.whiskerIndex),{shape:i(a.whiskerEnds)},r,t),this.styleUpdater.call(null,this,e,t)},s.inherits(r,l.Group);var d=o.prototype;d.updateData=function(e){var t=this.group,n=this._data,a=this.styleUpdater;e.diff(n).add(function(n){if(e.hasValue(n)){var i=new r(e,n,a,!0);e.setItemGraphicEl(n,i),t.add(i)}}).update(function(i,o){var s=n.getItemGraphicEl(o);return e.hasValue(i)?(s?s.updateData(e,i):s=new r(e,i,a),t.add(s),void e.setItemGraphicEl(i,s)):void t.remove(s)}).remove(function(e){var r=n.getItemGraphicEl(e);r&&t.remove(r)}).execute(),this._data=e},d.remove=function(){var e=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(t){t&&e.remove(t)})},e.exports=o},function(e,t,n){"use strict";function r(e,t,n){var r=t.getItemModel(n),a=r.getModel(u),i=t.getItemVisual(n,"color"),s=a.getItemStyle(["borderColor"]),l=e.childAt(e.whiskerIndex);l.style.set(s),l.style.stroke=i,l.dirty();var h=e.childAt(e.bodyIndex);h.style.set(s),h.style.stroke=i,h.dirty();var d=r.getModel(c).getItemStyle();o.setHoverStyle(e,d)}var a=n(239),i=n(315),o=n(253),s=n(493),l=i.extend({type:"boxplot",getStyleUpdater:function(){return r},dispose:a.noop});a.mixin(l,s.viewMixin,!0);var u=["itemStyle","normal"],c=["itemStyle","emphasis"];e.exports=l},function(e,t){var n=["itemStyle","normal","borderColor"];e.exports=function(e,t){var r=e.get("color");e.eachRawSeriesByType("boxplot",function(t){var a=r[t.seriesIndex%r.length],i=t.getData();i.setVisual({legendSymbol:"roundRect",color:t.get(n)||a}),e.isSeriesFiltered(t)||i.each(function(e){var t=i.getItemModel(e);i.setItemVisual(e,{color:t.get(n,!0)})})})}},function(e,t,n){function r(e){var t=[],n=[];return e.eachSeriesByType("boxplot",function(e){var r=e.getBaseAxis(),a=o.indexOf(n,r);a<0&&(a=n.length,n[a]=r,t[a]={axis:r,seriesModels:[]}),t[a].seriesModels.push(e)}),t}function a(e){var t,n,r=e.axis,a=e.seriesModels,i=a.length,s=e.boxWidthList=[],c=e.boxOffsetList=[],h=[];if("category"===r.type)n=r.getBandWidth();else{var d=0;u(a,function(e){d=Math.max(d,e.getData().count())}),t=r.getExtent(),Math.abs(t[1]-t[0])/d}u(a,function(e){var t=e.get("boxWidth");o.isArray(t)||(t=[t,t]),h.push([l(t[0],n)||0,l(t[1],n)||0])});var p=.8*n-2,f=p/i*.3,g=(p-f*(i-1))/i,m=g/2-p/2;u(a,function(e,t){c.push(m),m+=f+g,s.push(Math.min(Math.max(g,h[t][0]),h[t][1]))})}function i(e,t,n){var r,a=e.coordinateSystem,i=e.getData(),s=n/2,l=e.get("layout"),u="horizontal"===l?0:1,c=1-u,h=["x","y"],d=[];o.each(i.dimensions,function(e){var t=i.getDimensionInfo(e),n=t.coordDim;n===h[c]?d.push(e):n===h[u]&&(r=e)}),null==r||d.length<5||i.each([r].concat(d),function(){function e(e){var n=[];n[u]=h,n[c]=e;var r;return isNaN(h)||isNaN(e)?r=[NaN,NaN]:(r=a.dataToPoint(n),r[u]+=t),r}function n(e,t){var n=e.slice(),r=e.slice();n[u]+=s,r[u]-=s,t?y.push(n,r):y.push(r,n)}function r(e){var t=[e.slice(),e.slice()];t[0][u]-=s,t[1][u]+=s,v.push(t)}var o=arguments,h=o[0],p=o[d.length+1],f=e(o[3]),g=e(o[1]),m=e(o[5]),v=[[g,e(o[2])],[m,e(o[4])]];r(g),r(m),r(f);var y=[];n(v[0][1],0),n(v[1][1],1),i.setItemLayout(p,{chartLayout:l,initBaseline:f[c],median:f,bodyEnds:y,whiskerEnds:v})})}var o=n(239),s=n(242),l=s.parsePercent,u=o.each;e.exports=function(e){var t=r(e);u(t,function(e){var t=e.seriesModels;t.length&&(a(e),u(t,function(t,n){i(t,e.boxOffsetList[n],e.boxWidthList[n])}))})}},function(e,t,n){var r=n(236);n(499),n(500),r.registerPreprocessor(n(501)),r.registerVisual(n(502)),r.registerLayout(n(503))},function(e,t,n){"use strict";var r=n(239),a=n(313),i=n(493),o=a.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:["open","close","lowest","highest"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,itemStyle:{normal:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(e,t,n){var r=t.getItemLayout(e);return n.rect(r.brushRect)}});r.mixin(o,i.seriesModelMixin,!0),e.exports=o},function(e,t,n){"use strict";function r(e,t,n){var r=t.getItemModel(n),a=r.getModel(u),i=t.getItemVisual(n,"color"),s=t.getItemVisual(n,"borderColor")||i,l=a.getItemStyle(["color","color0","borderColor","borderColor0"]),h=e.childAt(e.whiskerIndex);h.useStyle(l),h.style.stroke=s;var d=e.childAt(e.bodyIndex);d.useStyle(l),d.style.fill=i,d.style.stroke=s;var p=r.getModel(c).getItemStyle();o.setHoverStyle(e,p)}var a=n(239),i=n(315),o=n(253),s=n(493),l=i.extend({type:"candlestick",getStyleUpdater:function(){return r},dispose:a.noop});a.mixin(l,s.viewMixin,!0);var u=["itemStyle","normal"],c=["itemStyle","emphasis"];e.exports=l},function(e,t,n){var r=n(239);e.exports=function(e){e&&r.isArray(e.series)&&r.each(e.series,function(e){r.isObject(e)&&"k"===e.type&&(e.type="candlestick")})}},function(e,t){var n=["itemStyle","normal","borderColor"],r=["itemStyle","normal","borderColor0"],a=["itemStyle","normal","color"],i=["itemStyle","normal","color0"];e.exports=function(e,t){e.eachRawSeriesByType("candlestick",function(t){var o=t.getData();o.setVisual({legendSymbol:"roundRect"}),e.isSeriesFiltered(t)||o.each(function(e){var t=o.getItemModel(e),s=o.getItemLayout(e).sign;o.setItemVisual(e,{color:t.get(s>0?a:i),borderColor:t.get(s>0?n:r)})})})}},function(e,t,n){function r(e,t){var n,r=e.getBaseAxis(),a="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),s=o(i(e.get("barMaxWidth"),a),a),l=o(i(e.get("barMinWidth"),1),a),u=e.get("barWidth");return null!=u?o(u,a):Math.max(Math.min(a/2,s),l)}var a=n(239),i=n(239).retrieve,o=n(242).parsePercent;e.exports=function(e){e.eachSeriesByType("candlestick",function(e){var t,n=e.coordinateSystem,i=e.getData(),o=r(e,i),s=e.get("layout"),l="horizontal"===s?0:1,u=1-l,c=["x","y"],h=[];a.each(i.dimensions,function(e){var n=i.getDimensionInfo(e),r=n.coordDim;r===c[u]?h.push(e):r===c[l]&&(t=e)}),null==t||h.length<4||i.each([t].concat(h),function(){function e(e){var t=[];return t[l]=c,t[u]=e,isNaN(c)||isNaN(e)?[NaN,NaN]:n.dataToPoint(t)}function t(e,t){var n=e.slice(),r=e.slice();n[l]+=o/2,r[l]-=o/2,t?M.push(n,r):M.push(r,n)}function r(){var t=e(Math.min(p,f,g,m)),n=e(Math.max(p,f,g,m));return t[l]-=o/2,n[l]-=o/2,{x:t[0],y:t[1],width:u?o:n[0]-t[0],height:u?n[1]-t[1]:o}}var a=arguments,c=a[0],d=a[h.length+1],p=a[1],f=a[2],g=a[3],m=a[4],v=Math.min(p,f),y=Math.max(p,f),x=e(v),_=e(y),b=e(g),w=e(m),S=[[w,_],[b,x]],M=[];t(_,0),t(x,1),i.setItemLayout(d,{chartLayout:s,sign:p>f?-1:pf?_[u]:x[u],bodyEnds:M,whiskerEnds:S,brushRect:r()})},!0)})}},function(e,t,n){var r=n(239),a=n(236);n(505),n(506),a.registerVisual(r.curry(n(356),"effectScatter","circle",null)),a.registerLayout(r.curry(n(357),"effectScatter"))},function(e,t,n){"use strict";var r=n(344),a=n(313);e.exports=a.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,t){var n=r(e.data,this,t);return n},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}})},function(e,t,n){var r=n(351),a=n(507);n(236).extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new r(a)},render:function(e,t,n){var r=e.getData(),a=this._symbolDraw;a.updateData(r),this.group.add(a.group)},updateLayout:function(){this._symbolDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t)},dispose:function(){}})},function(e,t,n){function r(e){return o.isArray(e)||(e=[+e,+e]),e}function a(e,t){e.eachChild(function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?t.color:null,fill:"fill"===t.brushType?t.color:null}})})}function i(e,t){h.call(this);var n=new c(e,t),r=new h;this.add(n),this.add(r),r.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(e,t)}var o=n(239),s=n(346),l=n(253),u=n(242),c=n(352),h=l.Group,d=3,p=i.prototype;p.stopEffectAnimation=function(){this.childAt(1).removeAll()},p.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,r=this.childAt(1),i=0;i "))},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{normal:{show:!1,position:"end"}},lineStyle:{normal:{opacity:.5}}}})},function(e,t,n){var r=n(444),a=n(511),i=n(445),o=n(512),s=n(513),l=n(514);n(236).extendChartView({type:"lines",init:function(){},render:function(e,t,n){var u=e.getData(),c=this._lineDraw,h=e.get("effect.show"),d=e.get("polyline"),p=e.get("large")&&u.count()>=e.get("largeThreshold");__DEV__&&h&&p&&console.warn("Large lines not support effect"),h===this._hasEffet&&d===this._isPolyline&&p===this._isLarge||(c&&c.remove(),c=this._lineDraw=p?new l:new r(d?h?s:o:h?a:i),this._hasEffet=h,this._isPolyline=d,this._isLarge=p);var f=e.get("zlevel"),g=e.get("effect.trailLength"),m=n.getZr();if(m.painter.getLayer(f).clear(!0),null!=this._lastZlevel&&m.configLayer(this._lastZlevel,{motionBlur:!1}),h&&g){if(__DEV__){var v=!1;t.eachSeries(function(t){t!==e&&t.get("zlevel")===f&&(v=!0)}),v&&console.warn("Lines with trail effect should have an individual zlevel")}m.configLayer(f,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(g/10+.9,1),0)})}this.group.add(c.group),c.updateData(u),this._lastZlevel=f},updateLayout:function(e,t,n){this._lineDraw.updateLayout(e);var r=n.getZr();r.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(e,t){this._lineDraw&&this._lineDraw.remove(t,!0)},dispose:function(){}})},function(e,t,n){function r(e,t,n){a.Group.call(this),this.add(this.createLine(e,t,n)),this._updateEffectSymbol(e,t)}var a=n(253),i=n(445),o=n(239),s=n(346),l=n(245),u=n(272),c=r.prototype;c.createLine=function(e,t,n){return new i(e,t,n)},c._updateEffectSymbol=function(e,t){var n=e.getItemModel(t),r=n.getModel("effect"),a=r.get("symbolSize"),i=r.get("symbol");o.isArray(a)||(a=[a,a]);var l=r.get("color")||e.getItemVisual(t,"color"),u=this.childAt(1);this._symbolType!==i&&(this.remove(u),u=s.createSymbol(i,-.5,-.5,1,1,l),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",l),u.setStyle(r.getItemStyle(["color"])),u.attr("scale",a),u.setColor(l),u.attr("scale",a),this._symbolType=i,this._updateEffectAnimation(e,r,t))},c._updateEffectAnimation=function(e,t,n){var r=this.childAt(1);if(r){var a=this,i=e.getItemLayout(n),s=1e3*t.get("period"),l=t.get("loop"),u=t.get("constantSpeed"),c=o.retrieve(t.get("delay"),function(t){return t/e.count()*s/3}),h="function"==typeof c;if(r.ignore=!0,this.updateAnimationPoints(r,i),u>0&&(s=this.getLineLength(r)/u*1e3),s!==this._period||l!==this._loop){r.stopAnimation();var d=c;h&&(d=c(n)),r.__t>0&&(d=-s*r.__t),r.__t=0;var p=r.animate("",l).when(s,{__t:1}).delay(d).during(function(){a.updateSymbolPosition(r)});l||p.done(function(){a.remove(r)}),p.start()}this._period=s,this._loop=l}},c.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},c.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},c.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},c.updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,a=e.__t,i=e.position,o=u.quadraticAt,s=u.quadraticDerivativeAt;i[0]=o(t[0],r[0],n[0],a),i[1]=o(t[1],r[1],n[1],a);var l=s(t[0],r[0],n[0],a),c=s(t[1],r[1],n[1],a);e.rotation=-Math.atan2(c,l)-Math.PI/2,e.ignore=!1},c.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},o.inherits(r,a.Group),e.exports=r},function(e,t,n){function r(e,t,n){a.Group.call(this),this._createPolyline(e,t,n)}var a=n(253),i=n(239),o=r.prototype;o._createPolyline=function(e,t,n){var r=e.getItemLayout(t),i=new a.Polyline({shape:{points:r}});this.add(i),this._updateCommonStl(e,t,n)},o.updateData=function(e,t,n){var r=e.hostModel,i=this.childAt(0),o={shape:{points:e.getItemLayout(t)}};a.updateProps(i,o,r,t),this._updateCommonStl(e,t,n)},o._updateCommonStl=function(e,t,n){var r=this.childAt(0),o=e.getItemModel(t),s=e.getItemVisual(t,"color"),l=n&&n.lineStyle,u=n&&n.hoverLineStyle;n&&!e.hasItemOption||(l=o.getModel("lineStyle.normal").getLineStyle(),u=o.getModel("lineStyle.emphasis").getLineStyle()),r.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),r.hoverStyle=u,a.setHoverStyle(this)},o.updateLayout=function(e,t){var n=this.childAt(0);n.setShape("points",e.getItemLayout(t))},i.inherits(r,a.Group),e.exports=r},function(e,t,n){function r(e,t,n){o.call(this,e,t,n),this._lastFrame=0,this._lastFramePercent=0}var a=n(512),i=n(239),o=n(511),s=n(245),l=r.prototype;l.createLine=function(e,t,n){return new a(e,t,n)},l.updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],r=0,a=1;a=0&&!(r[i]<=t);i--);i=Math.min(i,a-2)}else{for(var i=o;it);i++);i=Math.min(i-1,a-2)}s.lerp(e.position,n[i],n[i+1],(t-r[i])/(r[i+1]-r[i]));var u=n[i+1][0]-n[i][0],c=n[i+1][1]-n[i][1];e.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=i,this._lastFramePercent=t,e.ignore=!1}},i.inherits(r,o),e.exports=r},function(e,t,n){function r(){this.group=new a.Group,this._lineEl=new s}var a=n(253),i=n(277),o=n(275),s=a.extendShape({shape:{polyline:!1,segs:[]},buildPath:function(e,t){for(var n=t.segs,r=t.polyline,a=0;a2?e.quadraticCurveTo(i[2][0],i[2][1],i[1][0],i[1][1]):e.lineTo(i[1][0],i[1][1])}},findDataIndex:function(e,t){for(var n=this.shape,r=n.segs,a=n.polyline,s=Math.max(this.style.lineWidth,1),l=0;l2){if(i.containStroke(u[0][0],u[0][1],u[2][0],u[2][1],u[1][0],u[1][1],s,e,t))return l}else if(o.containStroke(u[0][0],u[0][1],u[1][0],u[1][1],s,e,t))return l}return-1}}),l=r.prototype;l.updateData=function(e){this.group.removeAll();var t=this._lineEl,n=e.hostModel;t.setShape({segs:e.mapArray(e.getItemLayout),polyline:n.get("polyline")}),t.useStyle(n.getModel("lineStyle.normal").getLineStyle());var r=e.getVisual("color");r&&t.setStyle("stroke",r),t.setStyle("fill"),t.seriesIndex=n.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n)}),this.group.add(t)},l.updateLayout=function(e){var t=e.getData();this._lineEl.setShape({segs:t.mapArray(t.getItemLayout)})},l.remove=function(){this.group.removeAll()},e.exports=r},function(e,t){e.exports=function(e){e.eachSeriesByType("lines",function(e){var t=e.coordinateSystem,n=e.getData();n.each(function(r){var a=n.getItemModel(r),i=a.option instanceof Array?a.option:a.get("coords");if(__DEV__&&!(i instanceof Array&&i.length>0&&i[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(i)+". Lines must have 2d coords array in data item.");var o=[];if(e.get("polyline"))for(var s=0;s=0;r--){var o=t[r].interval;if(o[0]<=e&&e<=o[1]){i=r;break}}return r>=0&&r=t[0]&&e<=t[1]}}function i(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var o=n(253),s=n(520),l=n(239);e.exports=n(236).extendChartView({type:"heatmap",render:function(e,t,n){var r;if(t.eachComponent("visualMap",function(t){t.eachTargetSeries(function(n){n===e&&(r=t)})}),__DEV__&&!r)throw new Error("Heatmap must use with visualMap");this.group.removeAll();var a=e.coordinateSystem;"cartesian2d"===a.type||"calendar"===a.type?this._renderOnCartesianAndCalendar(a,e,n):i(a)&&this._renderOnGeo(a,e,r,n)},dispose:function(){},_renderOnCartesianAndCalendar:function(e,t,n){if("cartesian2d"===e.type){var r=e.getAxis("x"),a=e.getAxis("y");if(__DEV__){if("category"!==r.type||"category"!==a.type)throw new Error("Heatmap on cartesian must have two category axes");if(!r.onBand||!a.onBand)throw new Error("Heatmap on cartesian must have two axes with boundaryGap true")}var i=r.getBandWidth(),s=a.getBandWidth()}var u=this.group,c=t.getData(),h="itemStyle.normal",d="itemStyle.emphasis",p="label.normal",f="label.emphasis",g=t.getModel(h).getItemStyle(["color"]),m=t.getModel(d).getItemStyle(),v=t.getModel("label.normal"),y=t.getModel("label.emphasis"),x=e.type,_="cartesian2d"===x?[t.coordDimToDataDim("x")[0],t.coordDimToDataDim("y")[0],t.coordDimToDataDim("value")[0]]:[t.coordDimToDataDim("time")[0],t.coordDimToDataDim("value")[0]];c.each(function(n){var r;if("cartesian2d"===x){if(isNaN(c.get(_[2],n)))return;var a=e.dataToPoint([c.get(_[0],n),c.get(_[1],n)]);r=new o.Rect({shape:{x:a[0]-i/2,y:a[1]-s/2,width:i,height:s},style:{fill:c.getItemVisual(n,"color"),opacity:c.getItemVisual(n,"opacity")}})}else{if(isNaN(c.get(_[1],n)))return;r=new o.Rect({z2:1,shape:e.dataToRect([c.get(_[0],n)]).contentShape,style:{fill:c.getItemVisual(n,"color"),opacity:c.getItemVisual(n,"opacity")}})}var b=c.getItemModel(n);c.hasItemOption&&(g=b.getModel(h).getItemStyle(["color"]),m=b.getModel(d).getItemStyle(),v=b.getModel(p),y=b.getModel(f));var w=t.getRawValue(n),S="-";w&&null!=w[2]&&(S=w[2]),v.getShallow("show")&&(o.setText(g,v),g.text=t.getFormattedLabel(n,"normal")||S),y.getShallow("show")&&(o.setText(m,y),m.text=t.getFormattedLabel(n,"emphasis")||S),r.setStyle(g),o.setHoverStyle(r,c.hasItemOption?m:l.extend({},m)),u.add(r),c.setItemGraphicEl(n,r)})},_renderOnGeo:function(e,t,n,i){var l=n.targetVisuals.inRange,u=n.targetVisuals.outOfRange,c=t.getData(),h=this._hmLayer||this._hmLayer||new s;h.blurSize=t.get("blurSize"),h.pointSize=t.get("pointSize"),h.minOpacity=t.get("minOpacity"),h.maxOpacity=t.get("maxOpacity");var d=e.getViewRect().clone(),p=e.getRoamTransform().transform;d.applyTransform(p);var f=Math.max(d.x,0),g=Math.max(d.y,0),m=Math.min(d.width+d.x,i.getWidth()),v=Math.min(d.height+d.y,i.getHeight()),y=m-f,x=v-g,_=c.mapArray(["lng","lat","value"],function(t,n,r){var a=e.dataToPoint([t,n]);return a[0]-=f,a[1]-=g,a.push(r),a}),b=n.getExtent(),w="visualMap.continuous"===n.type?a(b,n.option.range):r(b,n.getPieceList(),n.option.selected);h.update(_,y,x,l.color.getNormalizer(),{inRange:l.color.getColorMapper(),outOfRange:u.color.getColorMapper()},w);var S=new o.Image({style:{width:y,height:x,x:f,y:g,image:h.canvas},silent:!0});this.group.add(S)}})},function(e,t,n){function r(){var e=i.createCanvas();this.canvas=e,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}var a=256,i=n(239);r.prototype={update:function(e,t,n,r,i,o){var s=this._getBrush(),l=this._getGradient(e,i,"inRange"),u=this._getGradient(e,i,"outOfRange"),c=this.pointSize+this.blurSize,h=this.canvas,d=h.getContext("2d"),p=e.length;h.width=t,h.height=n;for(var f=0;f0){var I=o(x)?l:u;x>0&&(x=x*T+M),b[w++]=I[A],b[w++]=I[A+1],b[w++]=I[A+2],b[w++]=I[A+3]*x*256}else w+=4}return d.putImageData(_,0,0),h},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=i.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var r=e.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-t,t,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},_getGradient:function(e,t,n){for(var r=this._gradientPixels,a=r[n]||(r[n]=new Uint8ClampedArray(1024)),i=[0,0,0,0],o=0,s=0;s<256;s++)t[n](s/255,!0,i),a[o++]=i[0],a[o++]=i[1],a[o++]=i[2],a[o++]=i[3];return a}},e.exports=r},function(e,t,n){var r=n(239);n(360),n(522),n(523);var a=n(380),i=n(236);i.registerLayout(r.curry(a,"pictorialBar")),i.registerVisual(r.curry(n(356),"pictorialBar","roundRect",null)),n(359)},function(e,t,n){var r=n(376).extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(e){return e.stack=null,r.superApply(this,"getInitialData",arguments)}});e.exports=r},function(e,t,n){function r(e,t,n,r){var l=e.getItemLayout(t),u=n.get("symbolRepeat"),c=n.get("symbolClip"),h=n.get("symbolPosition")||"start",d=n.get("symbolRotate"),p=(d||0)*Math.PI/180||0,f=n.get("symbolPatternSize")||2,g=n.isAnimationEnabled(),m={dataIndex:t,layout:l,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:c,symbolRepeat:u,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:f,rotation:p,animationModel:g?n:null,hoverAnimation:g&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};a(n,u,l,r,m),i(e,t,l,u,c,m.boundingLength,m.pxSign,f,r,m),o(n,m.symbolScale,p,r,m);var v=m.symbolSize,y=n.get("symbolOffset");return C.isArray(y)&&(y=[P(y[0],v[0]),P(y[1],v[1])]),s(n,v,l,u,c,y,h,m.valueLineWidth,m.boundingLength,m.repeatCutLength,r,m),m}function a(e,t,n,r,a){var i=r.valueDim,o=e.get("symbolBoundingData"),s=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=a.boundingLength=null!=o?s.toGlobalCoord(s.dataToCoord(s.scale.parse(o)))-l:t?r.coordSysExtent[i.index][1-+(n[i.wh]<=0)]-l:n[i.wh];t&&(a.repeatCutLength=n[i.wh]),a.pxSign=u>0?1:u<0?-1:0}function i(e,t,n,r,a,i,o,s,l,u){var c=l.valueDim,h=l.categoryDim,d=Math.abs(n[h.wh]),p=e.getItemVisual(t,"symbolSize");C.isArray(p)?p=p.slice():(null==p&&(p="100%"),p=[p,p]),p[h.index]=P(p[h.index],d),p[c.index]=P(p[c.index],r?d:Math.abs(i)),u.symbolSize=p;var f=u.symbolScale=[p[0]/s,p[1]/s];f[c.index]*=(l.isHorizontal?-1:1)*o}function o(e,t,n,r,a){var i=e.get(L)||0;i&&(k.attr({scale:t.slice(),rotation:n}),k.updateTransform(),i/=k.getLineScale(),i*=t[r.valueDim.index]),a.valueLineWidth=i}function s(e,t,n,r,a,i,o,s,l,u,c,h){var d=c.categoryDim,p=c.valueDim,f=h.pxSign,g=Math.max(t[p.index]+s,0),m=g;if(r){var v=Math.abs(l),y=C.retrieve(e.get("symbolMargin"),"15%")+"",x=!1;y.lastIndexOf("!")===y.length-1&&(x=!0,y=y.slice(0,y.length-1)),y=P(y,t[p.index]);var _=Math.max(g+2*y,0),b=x?0:2*y,w=I.isNumeric(r),S=w?r:M((v+b)/_),T=v-S*g;y=T/2/(x?S:S-1),_=g+2*y,b=x?0:2*y,w||"fixed"===r||(S=u?M((Math.abs(u)+b)/_):0),m=S*_-b,h.repeatTimes=S,h.symbolMargin=y}var A=f*(m/2),E=h.pathPosition=[];E[d.index]=n[d.wh]/2,E[p.index]="start"===o?A:"end"===o?l-A:l/2,i&&(E[0]+=i[0],E[1]+=i[1]);var L=h.bundlePosition=[];L[d.index]=n[d.xy],L[p.index]=n[p.xy];var D=h.barRectShape=C.extend({},n);D[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(E[p.index]+A)),D[d.wh]=n[d.wh];var k=h.clipShape={};k[d.xy]=-n[d.xy],k[d.wh]=c.ecSize[d.wh],k[p.xy]=0,k[p.wh]=n[p.wh]}function l(e){var t=e.symbolPatternSize,n=A.createSymbol(e.symbolType,-t/2,-t/2,t,t,e.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function u(e,t,n,r){function a(e){var t=h.slice(),r=n.pxSign,a=e;return("start"===n.symbolRepeatDirection?r>0:r<0)&&(a=p-1-e),t[d.index]=g*(a-p/2+.5)+h[d.index],{position:t,scale:n.symbolScale.slice(),rotation:n.rotation}}function i(){b(e,function(e){e.trigger("emphasis")})}function o(){b(e,function(e){e.trigger("normal")})}var s=e.__pictorialBundle,u=n.symbolSize,c=n.valueLineWidth,h=n.pathPosition,d=t.valueDim,p=n.repeatTimes||0,f=0,g=u[t.valueDim.index]+c+2*n.symbolMargin;for(b(e,function(e){e.__pictorialAnimationIndex=f,e.__pictorialRepeatTimes=p,f0)],c=e.__pictorialBarRect;E.setLabel(c.style,l,i,r,t.seriesModel,a,u),T.setHoverStyle(c,l)}function M(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var C=n(239),T=n(253),A=n(346),I=n(242),E=n(378),P=I.parsePercent,L=["itemStyle","normal","borderWidth"],D=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],k=new T.Circle,O=n(236).extendChartView({type:"pictorialBar",render:function(e,t,n){var a=this.group,i=e.getData(),o=this._data,s=e.coordinateSystem,l=s.getBaseAxis(),u=!!l.isHorizontal(),c=s.grid.getRect(),h={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:s,coordSysExtent:[[c.x,c.x+c.width],[c.y,c.y+c.height]],isHorizontal:u,valueDim:D[+u],categoryDim:D[1-u]};return i.diff(o).add(function(e){if(i.hasValue(e)){var t=p(i,e),n=r(i,e,t,h),o=v(i,h,n);i.setItemGraphicEl(e,o),a.add(o),S(o,h,n)}}).update(function(e,t){var n=o.getItemGraphicEl(t);if(!i.hasValue(e))return void a.remove(n);var s=p(i,e),l=r(i,e,s,h),u=_(i,l);n&&u!==n.__pictorialShapeStr&&(a.remove(n),i.setItemGraphicEl(e,null),n=null),n?y(n,h,l):n=v(i,h,l,!0),i.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=l,a.add(n),S(n,h,l)}).remove(function(e){var t=o.getItemGraphicEl(e);t&&x(o,e,t.__pictorialSymbolMeta.animationModel,t)}).execute(),this._data=i,this.group},dispose:C.noop,remove:function(e,t){var n=this.group,r=this._data;e.get("animation")?r&&r.eachItemGraphicEl(function(t){x(r,t.dataIndex,e,t)}):n.removeAll()}});e.exports=O},function(e,t,n){var r=n(236),a=n(239);n(525),n(542),n(543),r.registerLayout(n(544)),r.registerVisual(n(545)),r.registerProcessor(a.curry(n(389),"themeRiver"))},function(e,t,n){n(526),n(529),n(531),n(532),n(541);var r=n(236);r.extendComponentView({type:"single"})},function(e,t,n){function r(e,t){var n=[];return e.eachComponent("singleAxis",function(r,i){var o=new a(r,e,t);o.name="single_"+i,o.resize(r,t),r.coordinateSystem=o,n.push(o)}),e.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=n&&n.coordinateSystem}}),n}var a=n(527);n(311).register("single",{create:r,dimensions:a.prototype.dimensions})},function(e,t,n){function r(e,t,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,n),this.model=e}var a=n(528),i=n(336),o=n(306);r.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:r,_init:function(e,t,n){var r=this.dimension,o=new a(r,i.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===o.type;o.onBand=s&&e.get("boundaryGap"),o.inverse=e.get("inverse"),o.orient=e.get("orient"),e.axis=o,o.model=e,o.coordinateSystem=this,this._axis=o},update:function(e,t){e.eachSeries(function(e){if(e.coordinateSystem===this){var t=e.getData(),n=this.dimension;this._axis.scale.unionExtentFromData(t,e.coordDimToDataDim(n)),i.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(e,t){this._rect=o.getLayoutRect({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),r=n?[0,e.width]:[0,e.height],a=t.reverse?1:0;t.setExtent(r[a],r[1-a]),this._updateAxisTransform(t,n?e.x:e.y)},_updateAxisTransform:function(e,t){var n=e.getExtent(),r=n[0]+n[1],a=e.isHorizontal();e.toGlobalCoord=a?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord=a?function(e){return e-t}:function(e){return r-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),n=this.getAxis(),r=n.orient;return"horizontal"===r?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),n=this.getRect(),r=[],a="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),r[a]=t.toGlobalCoord(t.dataToCoord(+e)),r[1-a]=0===a?n.y+n.height/2:n.x+n.width/2,r}},e.exports=r},function(e,t,n){var r=n(239),a=n(335),i=function(e,t,n,r,i){a.call(this,e,t,n),this.type=r||"value",this.position=i||"bottom",this.orient=null,this._labelInterval=null};i.prototype={constructor:i,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},r.inherits(i,a),e.exports=i},function(e,t,n){var r=n(370),a=n(239),i=n(253),o=n(530),s=r.getInterval,l=r.ifIgnoreOnTick,u=["axisLine","axisLabel","axisTick","axisName"],c="splitLine",h=n(371).extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,n,i){var s=this.group;s.removeAll();var l=o.layout(e),d=new r(e,l);a.each(u,d.add,d),s.add(d.getGroup()),e.get(c+".show")&&this["_"+c](e,l.labelInterval),h.superCall(this,"render",e,t,n,i)},_splitLine:function(e,t){var n=e.axis;if(!n.scale.isBlank()){var r=e.getModel("splitLine"),a=r.getModel("lineStyle"),o=a.get("width"),u=a.get("color"),c=s(r,t);u=u instanceof Array?u:[u];for(var h=e.coordinateSystem.getRect(),d=n.isHorizontal(),p=[],f=0,g=n.getTicksCoords(),m=[],v=[],y=0;y=0&&s<0)&&(o=f,s=p,a=u,i.length=0),y(c,function(e){i.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:i,snapToValue:a}}function o(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function s(e,t,n,r){var a=n.payloadBatch,i=t.axis,o=i.model,s=t.axisPointerModel;if(t.triggerTooltip&&a.length){var l=t.coordSys.model,u=m.makeKey(l),c=e.map[u];c||(c=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:i.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:r,valueLabelOpt:{precision:s.get("label.precision"),formatter:s.get("label.formatter")},seriesDataIndices:a.slice()})}}function l(e,t,n){var r=n.axesInfo=[];y(t,function(t,n){var a=t.axisPointerModel.option,i=e[n];i?(!t.useHandle&&(a.status="show"),a.value=i.value,a.seriesDataIndices=(i.payloadBatch||[]).slice()):!t.useHandle&&(a.status="hide"),"show"===a.status&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:a.value})})}function u(e,t,n,r){if(p(t)||!e.list.length)return void r({type:"hideTip"});var a=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:e.list})}function c(e,t,n){var r=n.getZr(),a="axisPointerLastHighlights",i=_(r)[a]||{},o=_(r)[a]={};y(e,function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&y(n.seriesDataIndices,function(e){var t=e.seriesIndex+" | "+e.dataIndex;o[t]=e})});var s=[],l=[];f.each(i,function(e,t){!o[t]&&l.push(e)}),f.each(o,function(e,t){!i[t]&&s.push(e)}),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:s})}function h(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function d(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function p(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}var f=n(239),g=n(240),m=n(372),v=n(534),y=f.each,x=f.curry,_=g.makeGetter();e.exports=r},function(e,t,n){var r=n(239),a=n(240);e.exports=function(e,t){var n,i=[],o=e.seriesIndex;if(null==o||!(n=t.getSeriesByIndex(o)))return{point:[]};var s=n.getData(),l=a.queryDataIndex(s,e);if(null==l||r.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)i=c.dataToPoint(s.getValues(r.map(c.dimensions,function(e){return n.coordDimToDataDim(e)[0]}),l,!0))||[];else if(u){var h=u.getBoundingRect().clone();h.applyTransform(u.transform),i=[h.x+h.width/2,h.y+h.height/2]}return{point:i,el:u}}},function(e,t,n){var r=n(236),a=r.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,textStyle:{color:"#fff"},padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},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:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});e.exports=a},function(e,t,n){var r=n(537),a=n(236).extendComponentView({type:"axisPointer",render:function(e,t,n){var a=t.getComponent("tooltip"),i=e.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";r.register("axisPointer",n,function(e,t,n){"none"!==i&&("leave"===e||i.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})})},remove:function(e,t){r.disopse(t.getZr(),"axisPointer"),a.superApply(this._model,"remove",arguments)},dispose:function(e,t){r.unregister("axisPointer",t),a.superApply(this._model,"dispose",arguments)}})},function(e,t,n){function r(e,t){function n(n,r){e.on(n,function(n){var i=s(t);h(c(e).records,function(e){e&&r(e,n,i.dispatchAction)}),a(i.pendings,t)})}c(e).initialized||(c(e).initialized=!0,n("click",u.curry(o,"click")),n("mousemove",u.curry(o,"mousemove")),n("globalout",i))}function a(e,t){var n,r=e.showTip.length,a=e.hideTip.length;r?n=e.showTip[r-1]:a&&(n=e.hideTip[a-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}function i(e,t,n){e.handler("leave",null,n)}function o(e,t,n,r){t.handler(e,n,r)}function s(e){var t={showTip:[],hideTip:[]},n=function(r){var a=t[r.type];a?a.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}var l=n(237),u=n(239),c=n(240).makeGetter(),h=u.each,d={};d.register=function(e,t,n){if(!l.node){var a=t.getZr();c(a).records||(c(a).records={}),r(a,t);var i=c(a).records[e]||(c(a).records[e]={});i.handler=n}},d.unregister=function(e,t){if(!l.node){var n=t.getZr(),r=(c(n).records||{})[e];r&&(c(n).records[e]=null)}},e.exports=d},function(e,t,n){"use strict";function r(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}function a(e){return"x"===e.dim?0:1}var i=n(253),o=n(539),s=n(540),l=n(373),u=n(371),c=o.extend({makeElOption:function(e,t,n,a,i){var o=n.axis,u=o.grid,c=a.get("type"),d=r(u,o).getOtherAxis(o).getGlobalExtent(),p=o.toGlobalCoord(o.dataToCoord(t,!0));if(c&&"none"!==c){var f=s.buildElStyle(a),g=h[c](o,p,d,f);g.style=f,e.graphicKey=g.type,e.pointer=g}var m=l.layout(u.model,n);s.buildCartesianSingleLabelElOption(t,e,m,n,a,i)},getHandleTransform:function(e,t,n){var r=l.layout(t.axis.grid.model,t,{labelInside:!1});return r.labelMargin=n.get("handle.margin"),{position:s.getTransformedPosition(t.axis,e,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,a){var i=n.axis,o=i.grid,s=i.getGlobalExtent(!0),l=r(o,i).getOtherAxis(i).getGlobalExtent(),u="x"===i.dim?0:1,c=e.position;c[u]+=t[u],c[u]=Math.min(s[1],c[u]),c[u]=Math.max(s[0],c[u]);var h=(l[1]+l[0])/2,d=[h,h];d[u]=c[u];var p=[{verticalAlign:"middle"},{align:"center"}];return{position:c,rotation:e.rotation,cursorPoint:d,tooltipOption:p[u]}}}),h={line:function(e,t,n,r){var o=s.makeLineShape([t,n[0]],[t,n[1]],a(e));return i.subPixelOptimizeLine({shape:o,style:r}),{type:"Line",shape:o}},shadow:function(e,t,n,r){var i=e.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:s.makeRectShape([t-i/2,n[0]],[i,o],a(e))}}};u.registerAxisPointerClass("CartesianAxisPointer",c),e.exports=c},function(e,t,n){"use strict";function r(){}function a(e,t,n,r){i(p(n).lastProp,r)||(p(n).lastProp=r,t?d.updateProps(n,r,e):(n.stopAnimation(),n.attr(r)))}function i(e,t){if(c.isObject(e)&&c.isObject(t)){var n=!0;return c.each(t,function(t,r){n&=i(e[r],t)}),!!n}return e===t}function o(e,t){e[t.get("label.show")?"show":"hide"]()}function s(e){return{position:e.position.slice(),rotation:e.rotation||0}}function l(e,t){var n=e.get("icon"),r={x:-1,y:-1,width:2,height:2},a=c.extend({style:{strokeNoScale:!0},rectHover:!0,cursor:"move",draggable:!0},t);return 0===n.indexOf("image://")?(r.image=n.slice(8),a.style=r,new d.Image(a)):d.makePath(n.replace("path://",""),a,r,"center")}function u(e,t,n){var r=t.get("z"),a=t.get("zlevel");e&&e.traverse(function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=a&&(e.zlevel=a),e.silent=n)})}var c=n(239),h=n(248),d=n(253),p=n(240).makeGetter(),f=n(372),g=n(323),m=n(316),v=c.clone,y=c.bind;r.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,n,r){var i=t.get("value"),o=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,r||this._lastValue!==i||this._lastStatus!==o){this._lastValue=i,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||"hide"===o)return s&&s.hide(),void(l&&l.hide());s&&s.show(),l&&l.show();var h={};this.makeElOption(h,i,e,t,n);var p=h.graphicKey;p!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=p;var f=this._moveAnimation=this.determineAnimation(e,t);if(s){var g=c.curry(a,t,f);this.updatePointerEl(s,h,g,t),this.updateLabelEl(s,h,g,t)}else s=this._group=new d.Group,this.createPointerEl(s,h,e,t),this.createLabelEl(s,h,e,t),n.getZr().add(s);u(s,t,!0),this._renderHandle(i)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var n=t.get("animation"),r=e.axis,a="category"===r.type,i=t.get("snap");if(!i&&!a)return!1;if("auto"===n||null==n){var o=this.animationThreshold;if(a&&r.getBandWidth()>o)return!0;if(i){var s=f.getAxisInfo(e).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1}return n===!0},makeElOption:function(e,t,n,r,a){},createPointerEl:function(e,t,n,r){var a=t.pointer;if(a){var i=p(e).pointerEl=new d[a.type](v(t.pointer)); +e.add(i)}},createLabelEl:function(e,t,n,r){if(t.label){var a=p(e).labelEl=new d.Rect(v(t.label));e.add(a),o(a,r)}},updatePointerEl:function(e,t,n){var r=p(e).pointerEl;r&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,n,r){var a=p(e).labelEl;a&&(a.setStyle(t.label.style),n(a,{shape:t.label.shape,position:t.label.position}),o(a,r))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t=this._axisPointerModel,n=this._api.getZr(),r=this._handle,a=t.getModel("handle"),i=t.get("status");if(!a.get("show")||!i||"hide"===i)return r&&n.remove(r),void(this._handle=null);var o;this._handle||(o=!0,r=this._handle=l(a,{onmousemove:function(e){g.stop(e.event)},onmousedown:y(this._onHandleDragMove,this,0,0),drift:y(this._onHandleDragMove,this),ondragend:y(this._onHandleDragEnd,this)}),n.add(r)),u(r,t,!1);var s=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];r.setStyle(a.getItemStyle(null,s));var h=a.get("size");c.isArray(h)||(h=[h,h]),r.attr("scale",[h[0]/2,h[1]/2]),m.createOrUpdate(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,o)}},_moveHandleToValue:function(e,t){a(this._axisPointerModel,!t&&this._moveAnimation,this._handle,s(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(s(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(s(r)),p(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var e=this._handle;if(e){var t=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},_onHandleDragEnd:function(e){this._dragging=!1;var t=this._handle;if(t){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}},r.prototype.constructor=r,h.enableClassExtend(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){var a=r.getWidth(),i=r.getHeight();e[0]=Math.min(e[0]+t,a)-t,e[1]=Math.min(e[1]+n,i)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}var a=n(239),i=n(253),o=n(243),s=n(241),l=n(246),u=n(336),c=n(370),h={};h.buildElStyle=function(e){var t,n=e.get("type"),r=e.getModel(n+"Style");return"line"===n?(t=r.getLineStyle(),t.fill=null):"shadow"===n&&(t=r.getAreaStyle(),t.stroke=null),t},h.buildLabelElOption=function(e,t,n,a,i){var l=n.get("value"),u=h.getValueLabel(l,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),c=n.getModel("label"),d=c.getModel("textStyle"),p=s.normalizeCssArray(c.get("padding")||0),f=d.getFont(),g=o.getBoundingRect(u,f,i.textAlign,i.textBaseline),m=i.position,v=g.width+p[1]+p[3],y=g.height+p[0]+p[2],x=i.align;"right"===x&&(m[0]-=v),"center"===x&&(m[0]-=v/2);var _=i.verticalAlign;"bottom"===_&&(m[1]-=y),"middle"===_&&(m[1]-=y/2),r(m,v,y,a);var b=c.get("backgroundColor");b&&"auto"!==b||(b=t.get("axisLine.lineStyle.color")),e.label={shape:{x:0,y:0,width:v,height:y,r:c.get("borderRadius")},position:m.slice(),style:{text:u,textFont:f,textFill:d.getTextColor(),textPosition:"inside",fill:b,stroke:c.get("borderColor")||"transparent",lineWidth:c.get("borderWidth")||0,shadowBlur:c.get("shadowBlur"),shadowColor:c.get("shadowColor"),shadowOffsetX:c.get("shadowOffsetX"),shadowOffsetY:c.get("shadowOffsetY")},z2:10}},h.getValueLabel=function(e,t,n,r,i){var o=t.scale.getLabel(e,{precision:i.precision}),s=i.formatter;if(s){var l={value:u.getAxisRawValue(t,e),seriesData:[]};a.each(r,function(e){var t=n.getSeriesByIndex(e.seriesIndex),r=e.dataIndexInside,a=t&&t.getDataParams(r);a&&l.seriesData.push(a)}),a.isString(s)?o=s.replace("{value}",o):a.isFunction(s)&&(o=s(l))}return o},h.getTransformedPosition=function(e,t,n){var r=l.create();return l.rotate(r,r,n.rotation),l.translate(r,r,n.position),i.applyTransform([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)},h.buildCartesianSingleLabelElOption=function(e,t,n,r,a,i){var o=c.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get("label.margin"),h.buildLabelElOption(t,r,a,i,{position:h.getTransformedPosition(r.axis,e,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})},h.makeLineShape=function(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}},h.makeRectShape=function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}},h.makeSectorShape=function(e,t,n,r,a,i){return{cx:e,cy:t,r0:n,r:r,startAngle:a,endAngle:i,clockwise:!0}},e.exports=h},function(e,t,n){"use strict";function r(e){return e.isHorizontal()?0:1}function a(e,t){var n=e.getRect();return[n[c[t]],n[c[t]]+n[h[t]]]}var i=n(253),o=n(539),s=n(540),l=n(530),u=n(371),c=["x","y"],h=["width","height"],d=o.extend({makeElOption:function(e,t,n,i,o){var u=n.axis,c=u.coordinateSystem,h=a(c,1-r(u)),d=c.dataToPoint(t)[0],f=i.get("type");if(f&&"none"!==f){var g=s.buildElStyle(i),m=p[f](u,d,h,g);m.style=g,e.graphicKey=m.type,e.pointer=m}var v=l.layout(n);s.buildCartesianSingleLabelElOption(t,e,v,n,i,o)},getHandleTransform:function(e,t,n){var r=l.layout(t,{labelInside:!1});return r.labelMargin=n.get("handle.margin"),{position:s.getTransformedPosition(t.axis,e,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,i){var o=n.axis,s=o.coordinateSystem,l=r(o),u=a(s,l),c=e.position;c[l]+=t[l],c[l]=Math.min(u[1],c[l]),c[l]=Math.max(u[0],c[l]);var h=a(s,1-l),d=(h[1]+h[0])/2,p=[d,d];return p[l]=c[l],{position:c,rotation:e.rotation,cursorPoint:p,tooltipOption:{verticalAlign:"middle"}}}}),p={line:function(e,t,n,a){var o=s.makeLineShape([t,n[0]],[t,n[1]],r(e));return i.subPixelOptimizeLine({shape:o,style:a}),{type:"Line",shape:o}},shadow:function(e,t,n,a){var i=e.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:s.makeRectShape([t-i/2,n[0]],[i,o],r(e))}}};u.registerAxisPointerClass("SingleAxisPointer",d),e.exports=d},function(e,t,n){"use strict";var r=n(345),a=n(313),i=n(333),o=n(239),s=n(241),l=s.encodeHTML,u=n(489),c=2,h=a.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){h.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(e){for(var t=e.length,n=u().key(function(e){return e[2]}).entries(e),r=o.map(n,function(e){return{name:e.key,dataList:e.values}}),a=r.length,i=-1,s=-1,l=0;li&&(i=c,s=l)}for(var h=0;ho&&(o=t),a.push(t)}for(var c=0;co&&(o=d)}return s.y0=i,s.max=o,s}var i=n(239),o=n(242);e.exports=function(e,t){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),n=e.coordinateSystem,a={},i=n.getRect();a.rect=i;var s=e.get("boundaryGap"),l=n.getAxis();if(a.boundaryGap=s,"horizontal"===l.orient){s[0]=o.parsePercent(s[0],i.height),s[1]=o.parsePercent(s[1],i.height);var u=i.height-s[0]-s[1];r(t,e,u)}else{s[0]=o.parsePercent(s[0],i.width),s[1]=o.parsePercent(s[1],i.width);var c=i.width-s[0]-s[1];r(t,e,c)}t.setLayout("layoutInfo",a)})}},function(e,t){e.exports=function(e){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),n=e.getRawData(),r=e.get("color");t.each(function(a){var i=t.getName(a),o=r[(e.nameMap.get(i)-1)%r.length];n.setItemVisual(a,"color",o)})})}},function(e,t,n){function r(e){var t,n=e.type;if("path"===n){var r=e.shape;t=d.makePath(r.pathData,null,{x:r.x||0,y:r.y||0,width:r.width||0,height:r.height||0},"center"),t.__customPathData=e.pathData}else if("image"===n)t=new d.Image({}),t.__customImagePath=e.style.image;else if("text"===n)t=new d.Text({}),t.__customText=e.style.text;else{var a=d[n.charAt(0).toUpperCase()+n.slice(1)];__DEV__&&h.assert(a,'graphic type "'+n+'" can not be found.'),t=new a}return t.__customGraphicType=n,t}function a(e,t,n,r,a,o){var s={},l=n.style||{};if(n.shape&&(s.shape=h.clone(n.shape)),n.position&&(s.position=n.position.slice()),n.scale&&(s.scale=n.scale.slice()),n.origin&&(s.origin=n.origin.slice()),n.rotation&&(s.rotation=n.rotation),"image"===e.type&&n.style){var u=s.style={};h.each(["x","y","width","height"],function(t){i(t,u,l,e.style,o)})}if("text"===e.type&&n.style){var u=s.style={};h.each(["x","y"],function(t){i(t,u,l,e.style,o)})}if("group"!==e.type&&(e.useStyle(l),o)){e.style.opacity=0;var c=l.opacity;null==c&&(c=1),d.initProps(e,{style:{opacity:c}},r,t)}o?e.attr(s):d.updateProps(e,s,r,t),e.attr({z2:n.z2||0,silent:n.silent}),e.styleEmphasis!==!1&&d.setHoverStyle(e,e.styleEmphasis)}function i(e,t,n,r,a){null==n[e]||a||(t[e]=n[e],n[e]=r[e])}function o(e,t,n,r){function a(e){null==e&&(e=M),k&&(C=t.getItemModel(e),T=C.getModel(y),A=C.getModel(x),I=p.findLabelValueDim(t),E=t.getItemVisual(e,"color"),k=!1)}function i(e,n){return null==n&&(n=M),t.get(t.getDimension(e||0),n)}function o(n,r){null==r&&(r=M),a(r);var i=C.getModel(m).getItemStyle();null!=E&&(i.fill=E);var o=t.getItemVisual(r,"opacity");return null!=o&&(i.opacity=o),p.setTextToStyle(t,r,I,i,e,T,E),n&&h.extend(i,n),i}function l(n,r){null==r&&(r=M),a(r);var i=C.getModel(v).getItemStyle();return p.setTextToStyle(t,r,I,i,e,A,E),n&&h.extend(i,n),i}function u(e,n){return null==n&&(n=M),t.getItemVisual(n,e)}function c(e){if(S.getBaseAxis){var t=S.getBaseAxis();return g.getLayoutOnAxis(h.defaults({axis:t},e),r)}}function f(){return n.getCurrentSeriesIndices()}function b(e){return d.getFont(e,n)}var w=e.get("renderItem"),S=e.coordinateSystem;__DEV__&&(h.assert(w,"series.render is required."),h.assert(_[S.type],"This coordSys does not support custom series."));var M,C,T,A,I,E,P=_[S.type](S),L=h.defaults({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:i,style:o,styleEmphasis:l,visual:u,barLayout:c,currentSeriesIndices:f,font:b},P.api),D={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:P.coordSys,dataInsideLength:t.count(),encode:s(e.getData())},k=!0;return function(e){return M=e,k=!0,w&&w(h.defaults({dataIndexInside:e,dataIndex:t.getRawIndex(e)},D),L)||{}}}function s(e){var t={};return h.each(e.dimensions,function(n,r){var a=e.getDimensionInfo(n);if(!a.isExtraCoord){var i=a.coordDim,o=t[i]=t[i]||[];o[a.coordDimIndex]=r}}),t}function l(e,t,n,r,a,i){e=u(e,t,n,r,a,i),e&&i.setItemGraphicEl(t,e)}function u(e,t,n,i,o,s){var l=n.type;if(!e||l===e.__customGraphicType||"path"===l&&n.pathData===e.__customPathData||"image"===l&&n.style.image===e.__customImagePath||"text"===l&&n.style.text===e.__customText||(o.remove(e),e=null),null!=l){var c=!e;return!e&&(e=r(n)),a(e,t,n,i,s,c),"group"===l&&h.each(n.children,function(n,r){u(e.childAt(r),t,n,i,e,s)}),o.add(e),e}}var c=n(236),h=n(239),d=n(253),p=n(353),f=n(344),g=n(380),m=["itemStyle","normal"],v=["itemStyle","emphasis"],y=["label","normal"],x=["label","emphasis"],_={cartesian2d:n(547),geo:n(548),singleAxis:n(549),polar:n(550),calendar:n(551)};c.extendSeriesModel({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0},getInitialData:function(e,t){return f(e.data,this,t)}}),c.extendChartView({type:"custom",_data:null,render:function(e,t,n){var r=this._data,a=e.getData(),i=this.group,s=o(e,a,t,n);a.diff(r).add(function(t){a.hasValue(t)&&l(null,t,s(t),e,i,a)}).update(function(t,n){var o=r.getItemGraphicEl(n);a.hasValue(t)?l(o,t,s(t),e,i,a):o&&i.remove(o)}).remove(function(e){var t=r.getItemGraphicEl(e);t&&i.remove(t)}).execute(),this._data=a}})},function(e,t,n){function r(e,t){return t=t||[0,0],i.map(["x","y"],function(n,r){var a=this.getAxis(n),i=t[r],o=e[r]/2;return"category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(i-o)-a.dataToCoord(i+o))},this)}function a(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:i.bind(e.dataToPoint,e),size:i.bind(r,e)}}}var i=n(239);e.exports=a},function(e,t,n){function r(e,t){return t=t||[0,0],i.map([0,1],function(n){var r=t[n],a=e[n]/2,i=[],o=[];return i[n]=r-a,o[n]=r+a,i[1-n]=o[1-n]=t[1-n],Math.abs(this.dataToPoint(i)[n]-this.dataToPoint(o)[n])},this)}function a(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:i.bind(e.dataToPoint,e),size:i.bind(r,e)}}}var i=n(239);e.exports=a},function(e,t,n){function r(e,t){var n=this.getAxis(),r=t instanceof Array?t[0]:t,a=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-a)-n.dataToCoord(r+a))}function a(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:i.bind(e.dataToPoint,e),size:i.bind(r,e)}}}var i=n(239);e.exports=a},function(e,t,n){function r(e,t){return i.map(["Radius","Angle"],function(n,r){var a=this["get"+n+"Axis"](),i=t[r],o=e[r]/2,s="dataTo"+n,l="category"===a.type?a.getBandWidth():Math.abs(a[s](i-o)-a[s](i+o));return"Angle"===n&&(l=l*Math.PI/180),l},this)}function a(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),a=t.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:a[1],r0:a[0]},api:{coord:i.bind(function(r){var a=t.dataToRadius(r[0]),i=n.dataToAngle(r[1]),o=e.coordToPoint([a,i]);return o.push(a,i*Math.PI/180),o}),size:i.bind(r,e)}}}var i=n(239);e.exports=a},function(e,t,n){function r(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:a.bind(e.dataToPoint,e)}}}var a=n(239);e.exports=r},function(e,t,n){function r(e,t,n,r){var a=n.type;__DEV__&&h.assert(a,"graphic type MUST be set");var i=p[a.charAt(0).toUpperCase()+a.slice(1)];__DEV__&&h.assert(i,"graphic type can not be found");var o=new i(n);t.add(o),r.set(e,o),o.__ecGraphicId=e}function a(e,t){var n=e&&e.parent;n&&("group"===e.type&&e.traverse(function(e){a(e,t)}),t.removeKey(e.__ecGraphicId),n.remove(e))}function i(e){return e=h.extend({},e),h.each(["id","parentId","$action","hv","bounding"].concat(f.LOCATION_PARAMS),function(t){delete e[t]}),e}function o(e,t){var n;return h.each(t,function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)}),n}function s(e,t){var n=e.exist;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function l(e,t,n){var r=h.extend({},n),a=e[t],i=n.$action||"merge";if("merge"===i)if(a){if(__DEV__){var o=n.type;h.assert(!o||a.type===o,'Please set $action: "replace" to change `type`')}h.merge(a,r,!0),f.mergeLayoutParam(a,r,{ignoreSize:!0}),f.copyLayoutParams(n,a)}else e[t]=r;else"replace"===i?e[t]=r:"remove"===i&&a&&(e[t]=null)}function u(e,t){e&&(e.hv=t.hv=[o(t,["left","right"]),o(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0)))}var c=n(236),h=n(239),d=n(240),p=n(253),f=n(306);c.registerPreprocessor(function(e){var t=e.graphic;h.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])});var g=c.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,g.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var n=this.option,r=(t?n:e).elements,a=n.elements=t?[]:n.elements,i=[];this._flatten(r,i);var o=d.mappingToExists(a,i);d.makeIdAndName(o);var c=this._elOptionsToUpdate=[];h.each(o,function(e,t){var n=e.option;__DEV__&&h.assert(h.isObject(n)||e.exist,"Empty graphic option definition"),n&&(c.push(n),s(e,n),l(a,t,n),u(a[t],n))},this);for(var p=a.length-1;p>=0;p--)null==a[p]?a.splice(p,1):delete a[p].$action},_flatten:function(e,t,n){h.each(e,function(e){if(e){n&&(e.parentOption=n),t.push(e);var r=e.children;"group"===e.type&&r&&this._flatten(r,t,e),delete e.children}},this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});c.extendComponentView({type:"graphic",init:function(e,t){this._elMap=h.createHashMap(),this._lastGraphicModel},render:function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e,n),this._relocate(e,n)},_updateElements:function(e,t){var n=e.useElOptionsToUpdate();if(n){var o=this._elMap,s=this.group;h.each(n,function(e){var t=e.$action,n=e.id,l=o.get(n),u=e.parentId,c=null!=u?o.get(u):s;e.hv&&e.hv[1]&&"text"===e.type&&(e.style=h.defaults({textBaseline:"middle"},e.style),e.style.textVerticalAlign=null);var d=i(e);__DEV__&&l&&h.assert(c===l.parent,"Changing parent is not supported."),t&&"merge"!==t?"replace"===t?(a(l,o),r(n,c,d,o)):"remove"===t&&a(l,o):l?l.attr(d):r(n,c,d,o);var p=o.get(n);p&&(p.__ecGraphicWidth=e.width,p.__ecGraphicHeight=e.height)})}},_relocate:function(e,t){for(var n=e.option.elements,r=this.group,a=this._elMap,i=n.length-1;i>=0;i--){var o=n[i],s=a.get(o.id);if(s){var l=s.parent,u=l===r?{width:t.getWidth(),height:t.getHeight()}:{width:l.__ecGraphicWidth||0,height:l.__ecGraphicHeight||0};f.positionElement(s,o,u,null,{hv:o.hv,boundingMode:o.bounding})}}},_clear:function(){var e=this._elMap;e.each(function(t){a(t,e)}),this._elMap=h.createHashMap()},dispose:function(){this._clear()}})},function(e,t,n){n(359),n(538),n(532)},function(e,t,n){n(555),n(556),n(557);var r=n(236);r.registerProcessor(n(559))},function(e,t,n){"use strict";var r=n(239),a=n(247),i=n(236).extendComponentModel({type:"legend",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{}},mergeOption:function(e){i.superCall(this,"mergeOption",e)},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n=0},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:"top",align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}});e.exports=i},function(e,t,n){function r(e,t,n){var r,a={},o="toggleSelected"===e;return n.eachComponent("legend",function(n){o&&null!=r?n[r?"select":"unSelect"](t.name):(n[e](t.name),r=n.isSelected(t.name));var s=n.getData();i.each(s,function(e){var t=e.get("name");if("\n"!==t&&""!==t){var r=n.isSelected(t);a.hasOwnProperty(t)?a[t]=a[t]&&r:a[t]=r}})}),{name:t.name,selected:a}}var a=n(236),i=n(239);a.registerAction("legendToggleSelect","legendselectchanged",i.curry(r,"toggleSelected")),a.registerAction("legendSelect","legendselected",i.curry(r,"select")),a.registerAction("legendUnSelect","legendunselected",i.curry(r,"unSelect"))},function(e,t,n){function r(e,t){t.dispatchAction({type:"legendToggleSelect",name:e})}function a(e,t,n){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||e.get("legendHoverLink")&&n.dispatchAction({type:"highlight",seriesName:e.name,name:t})}function i(e,t,n){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||e.get("legendHoverLink")&&n.dispatchAction({type:"downplay",seriesName:e.name,name:t})}var o=n(239),s=n(346),l=n(253),u=n(558),c=o.curry;e.exports=n(236).extendComponentView({type:"legend",init:function(){this._symbolTypeStore={}},render:function(e,t,n){var s=this.group;if(s.removeAll(),e.get("show")){var h=e.get("selectedMode"),d=e.get("align");"auto"===d&&(d="right"===e.get("left")&&"vertical"===e.get("orient")?"right":"left");var p=o.createHashMap();o.each(e.getData(),function(o){var u=o.get("name");if(""===u||"\n"===u)return void s.add(new l.Group({newline:!0}));var f=t.getSeriesByName(u)[0];if(!p.get(u)){if(f){var g=f.getData(),m=g.getVisual("color");"function"==typeof m&&(m=m(f.getDataParams(0)));var v=g.getVisual("legendSymbol")||"roundRect",y=g.getVisual("symbol"),x=this._createItem(u,o,e,v,y,d,m,h);x.on("click",c(r,u,n)).on("mouseover",c(a,f,null,n)).on("mouseout",c(i,f,null,n)),p.set(u,!0)}else t.eachRawSeries(function(t){if(!p.get(u)&&t.legendDataProvider){var s=t.legendDataProvider(),l=s.indexOfName(u);if(l<0)return;var f=s.getItemVisual(l,"color"),g="roundRect",m=this._createItem(u,o,e,g,null,d,f,h);m.on("click",c(r,u,n)).on("mouseover",c(a,t,u,n)).on("mouseout",c(i,t,u,n)),p.set(u,!0)}},this);__DEV__&&(p.get(u)||console.warn(u+" series not exists. Legend data should be same with series name or data name."))}},this),u.layout(s,e,n),u.addBackground(s,e)}},_createItem:function(e,t,n,r,a,i,u,c){var h=n.get("itemWidth"),d=n.get("itemHeight"),p=n.get("inactiveColor"),f=n.isSelected(e),g=new l.Group,m=t.getModel("textStyle"),v=t.get("icon"),y=t.getModel("tooltip"),x=y.parentModel;if(r=v||r,g.add(s.createSymbol(r,0,0,h,d,f?u:p)),!v&&a&&(a!==r||"none"==a)){var _=.8*d;"none"===a&&(a="circle"),g.add(s.createSymbol(a,(h-_)/2,(d-_)/2,_,_,f?u:p))}var b="left"===i?h+5:-5,w=i,S=n.get("formatter"),M=e;"string"==typeof S&&S?M=S.replace("{name}",null!=e?e:""):"function"==typeof S&&(M=S(e));var C=new l.Text({style:{text:M,x:b,y:d/2,fill:f?m.getTextColor():p,textFont:m.getFont(),textAlign:w,textVerticalAlign:"middle"}});g.add(C);var T=new l.Rect({shape:g.getBoundingRect(),invisible:!0,tooltip:y.get("show")?o.extend({content:e,formatter:x.get("formatter",!0)||function(){return e},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:e,$vars:["name"]}},y.option):null});return g.add(T),g.eachChild(function(e){e.silent=!0}),T.silent=!c,this.group.add(g),l.setHoverStyle(g),g}})},function(e,t,n){function r(e,t,n){a.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()},t.get("padding"))}var a=n(306),i=n(241),o=n(253);e.exports={layout:function(e,t,n){var i=a.getLayoutRect(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a.box(t.get("orient"),e,t.get("itemGap"),i.width,i.height),r(e,t,n)},addBackground:function(e,t){var n=i.normalizeCssArray(t.get("padding")),r=e.getBoundingRect(),a=t.getItemStyle(["color","opacity"]);a.fill=t.get("backgroundColor");var s=new o.Rect({shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[1]+n[3],height:r.height+n[0]+n[2]},style:a,silent:!0,z2:-1});o.subPixelOptimizeRect(s),e.add(s)}}},function(e,t){e.exports=function(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(e){for(var n=0;nr?e-=s+i:e+=i),null!=o&&(t+l+o>a?t-=l+o:t+=o),[e,t]}function o(e,t,n,r,a){var i=n.clientWidth,o=n.clientHeight;return e=Math.min(e+i,r)-i,t=Math.min(t+o,a)-o,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function s(e,t,n){var r=n[0],a=n[1],i=5,o=0,s=0,l=t.width,u=t.height;switch(e){case"inside":o=t.x+l/2-r/2,s=t.y+u/2-a/2;break;case"top":o=t.x+l/2-r/2,s=t.y-a-i;break;case"bottom":o=t.x+l/2-r/2,s=t.y+u+i;break;case"left":o=t.x-r-i,s=t.y+u/2-a/2;break;case"right":o=t.x+l+i,s=t.y+u/2-a/2}return[o,s]}function l(e){return"center"===e||"middle"===e}var u=n(563),c=n(239),h=n(241),d=n(242),p=n(253),f=n(534),g=n(306),m=n(237),v=n(247),y=n(537),x=n(336),_=n(540),b=c.bind,w=c.each,S=d.parsePercent,M=new p.Rect({shape:{x:-1,y:-1,width:2,height:2}});n(236).extendComponentView({type:"tooltip",init:function(e,t){if(!m.node){var n=new u(t.getDom(),t);this._tooltipContent=n}},render:function(e,t,n){if(!m.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=e.get("alwaysShowContent");var r=this._tooltipContent;r.update(),r.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel,t=e.get("triggerOn");y.register("itemTooltip",this._api,b(function(e,n,r){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,r):"leave"===e&&this._hide(r))},this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){r.manuallyShowTip(e,t,n,{x:r._lastX,y:r._lastY})})}},manuallyShowTip:function(e,t,n,r){if(r.from!==this.uid&&!m.node){var i=a(r,n);this._ticket="";var o=r.dataByCoordSys;if(r.tooltip&&null!=r.x&&null!=r.y){var s=M;s.position=[r.x,r.y],s.update(),s.tooltip=r.tooltip,this._tryShow({offsetX:r.x,offsetY:r.y,target:s},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,event:{},dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return; +var l=f(r,t),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:r.position,target:l.el,event:{}},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target,event:{}},i))}},manuallyHideTip:function(e,t,n,r){var i=this._tooltipContent;this._alwaysShowContent||i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,r.from!==this.uid&&this._hide(a(r,n))},_manuallyAxisShowTip:function(e,t,n,a){var i=a.seriesIndex,o=a.dataIndex,s=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=s){var l=t.getSeriesByIndex(i);if(l){var u=l.getData(),e=r([u.getItemModel(o),l,(l.coordinateSystem||{}).model,e]);if("axis"===e.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o}),!0}}},_tryShow:function(e,t){var n=e.target,r=this._tooltipModel;if(r){this._lastX=e.offsetX,this._lastY=e.offsetY;var a=e.dataByCoordSys;a&&a.length?this._showAxisTooltip(a,e):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,n,t)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,n,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var n=e.get("showDelay");t=c.bind(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},_showAxisTooltip:function(e,t){var n=this._ecModel,a=this._tooltipModel,i=[t.offsetX,t.offsetY],o=[],s=[],l=r([t.tooltipOption,a]);w(e,function(e){w(e.dataByAxis,function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),r=e.value,a=[];if(t&&null!=r){var i=_.getValueLabel(r,t.axis,n,e.seriesDataIndices,e.valueLabelOpt);c.each(e.seriesDataIndices,function(o){var l=n.getSeriesByIndex(o.seriesIndex),u=o.dataIndexInside,c=l&&l.getDataParams(u);c.axisDim=e.axisDim,c.axisIndex=e.axisIndex,c.axisType=e.axisType,c.axisId=e.axisId,c.axisValue=x.getAxisRawValue(t.axis,r),c.axisValueLabel=i,c&&(s.push(c),a.push(l.formatTooltip(u,!0)))});var l=i;o.push((l?h.encodeHTML(l)+"
":"")+a.join("
"))}})},this),o.reverse(),o=o.join("

");var u=t.position;this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(l,u,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(l,o,s,Math.random(),i[0],i[1],u)})},_showSeriesItemTooltip:function(e,t,n){var a=this._ecModel,i=t.seriesIndex,o=a.getSeriesByIndex(i),s=t.dataModel||o,l=t.dataIndex,u=t.dataType,c=s.getData(),h=r([c.getItemModel(l),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),d=h.get("trigger");if(null==d||"item"===d){var p=s.getDataParams(l,u),f=s.formatTooltip(l,!1,u),g="item_"+s.name+"_"+l;this._showOrMove(h,function(){this._showTooltipContent(h,f,p,g,e.offsetX,e.offsetY,e.position,e.target)}),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:i,from:this.uid})}},_showComponentItemTooltip:function(e,t,n){var r=t.tooltip;if("string"==typeof r){var a=r;r={content:a,formatter:a}}var i=new v(r,this._tooltipModel,this._ecModel),o=i.get("content"),s=Math.random();this._showOrMove(i,function(){this._showTooltipContent(i,o,i.get("formatterParams")||{},s,e.offsetX,e.offsetY,e.position,t)}),n({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,n,r,a,i,o,s){if(this._ticket="",e.get("showContent")&&e.get("show")){var l=this._tooltipContent,u=e.get("formatter");o=o||e.get("position");var c=t;if(u&&"string"==typeof u)c=h.formatTpl(u,n,!0);else if("function"==typeof u){var d=b(function(t,r){t===this._ticket&&(l.setContent(r),this._updatePosition(e,o,a,i,l,n,s))},this);this._ticket=r,c=u(n,r,d)}l.setContent(c),l.show(e),this._updatePosition(e,o,a,i,l,n,s)}},_updatePosition:function(e,t,n,r,a,u,h){var d=this._api.getWidth(),p=this._api.getHeight();t=t||e.get("position");var f=a.getSize(),m=e.get("align"),v=e.get("verticalAlign"),y=h&&h.getBoundingRect().clone();if(h&&y.applyTransform(h.transform),"function"==typeof t&&(t=t([n,r],u,a.el,y,{viewSize:[d,p],contentSize:f.slice()})),c.isArray(t))n=S(t[0],d),r=S(t[1],p);else if(c.isObject(t)){t.width=f[0],t.height=f[1];var x=g.getLayoutRect(t,{width:d,height:p});n=x.x,r=x.y,m=null,v=null}else if("string"==typeof t&&h){var _=s(t,y,f);n=_[0],r=_[1]}else{var _=i(n,r,a.el,d,p,m?null:20,v?null:20);n=_[0],r=_[1]}if(m&&(n-=l(m)?f[0]/2:"right"===m?f[0]:0),v&&(r-=l(v)?f[1]/2:"bottom"===v?f[1]:0),e.get("confine")){var _=o(n,r,a.el,d,p);n=_[0],r=_[1]}a.moveTo(n,r)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,n=!!t&&t.length===e.length;return n&&w(t,function(t,r){var a=t.dataByAxis||{},i=e[r]||{},o=i.dataByAxis||[];n&=a.length===o.length,n&&w(a,function(e,t){var r=o[t]||{},a=e.seriesDataIndices||[],i=r.seriesDataIndices||[];n&=e.value===r.value&&e.axisType===r.axisType&&e.axisId===r.axisId&&a.length===i.length,n&&w(a,function(e,t){var r=i[t];n&=e.seriesIndex===r.seriesIndex&&e.dataIndex===r.dataIndex})})}),this._lastDataByCoordSys=e,!!n},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){m.node||(this._tooltipContent.hide(),y.unregister("itemTooltip",t))}})},function(e,t,n){function r(e){var t="cubic-bezier(0.23, 1, 0.32, 1)",n="left "+e+"s "+t+",top "+e+"s "+t;return s.map(f,function(e){return e+"transition:"+n}).join(";")}function a(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();return r&&t.push("color:"+r),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px"),h(["decoration","align"],function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)}),t.join(";")}function i(e){var t=[],n=e.get("transitionDuration"),i=e.get("backgroundColor"),o=e.getModel("textStyle"),s=e.get("padding");return n&&t.push(r(n)),i&&(p.canvasSupported?t.push("background-Color:"+i):(t.push("background-Color:#"+l.toHex(i)),t.push("filter:alpha(opacity=70)"))),h(["width","color","radius"],function(n){var r="border-"+n,a=d(r),i=e.get(a);null!=i&&t.push(r+":"+i+("color"===n?"":"px"))}),t.push(a(o)),null!=s&&t.push("padding:"+c.normalizeCssArray(s).join("px ")+"px"),t.join(";")+";"}function o(e,t){var n=document.createElement("div"),r=this._zr=t.getZr();this.el=n,this._x=t.getWidth()/2,this._y=t.getHeight()/2,e.appendChild(n),this._container=e,this._show=!1,this._hideTimeout;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 n=r.handler;u.normalizeEvent(e,t,!0),n.dispatch("mousemove",t)}},n.onmouseleave=function(){a._enterable&&a._show&&a.hideLater(a._hideDelay),a._inContent=!1}}var s=n(239),l=n(266),u=n(323),c=n(241),h=s.each,d=c.toCamelCase,p=n(237),f=["","-webkit-","-moz-","-o-"],g="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";o.prototype={constructor:o,_enterable:!0,update:function(){var e=this._container,t=e.currentStyle||document.defaultView.getComputedStyle(e),n=e.style;"absolute"!==n.position&&"absolute"!==t.position&&(n.position="relative")},show:function(e){clearTimeout(this._hideTimeout);var t=this.el;t.style.cssText=g+i(e)+";left:"+this._x+"px;top:"+this._y+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",this._show=!0},setContent:function(e){this.el.innerHTML=null==e?"":e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var n,r=this._zr;r&&r.painter&&(n=r.painter.getViewportRoot())&&(e+=n.offsetLeft||0,t+=n.offsetTop||0);var a=this.el.style;a.left=e+"px",a.top=t+"px",this._x=e,this._y=t},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(s.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show}},e.exports=o},function(e,t,n){"use strict";var r=n(239);n(565),n(571),n(573),n(532),n(575),n(236).registerLayout(r.curry(n(576),"bar")),n(236).extendComponentView({type:"polar"})},function(e,t,n){function r(e,t){var n=e.get("center"),r=e.get("radius"),a=t.getWidth(),i=t.getHeight(),o=s.parsePercent;this.cx=o(n[0],a),this.cy=o(n[1],i);var l=this.getRadiusAxis(),u=Math.min(a,i)/2;l.setExtent(0,o(r,u))}function a(e,t){var n=this,r=n.getAngleAxis(),a=n.getRadiusAxis();if(r.scale.setExtent(1/0,-(1/0)),a.scale.setExtent(1/0,-(1/0)),e.eachSeries(function(e){if(e.coordinateSystem===n){var t=e.getData();a.scale.unionExtentFromData(t,"radius"),r.scale.unionExtentFromData(t,"angle")}}),c(r.scale,r.model),c(a.scale,a.model),"category"===r.type&&!r.onBand){var i=r.getExtent(),o=360/r.scale.count();r.inverse?i[1]+=o:i[1]-=o,r.setExtent(i[0],i[1])}}function i(e,t){if(e.type=t.get("type"),e.scale=u.createScaleByModel(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,"angleAxis"===t.mainType){var n=t.get("startAngle");e.inverse=t.get("inverse")^t.get("clockwise"),e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}var o=n(566),s=n(242),l=n(239),u=n(336),c=u.niceScaleExtent;n(569);var h={dimensions:o.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("polar",function(e,s){var l=new o(s);l.resize=r,l.update=a;var u=l.getRadiusAxis(),c=l.getAngleAxis(),h=e.findAxisModel("radiusAxis"),d=e.findAxisModel("angleAxis");i(u,h),i(c,d),l.resize(e,t),n.push(l),e.coordinateSystem=l,l.model=e}),e.eachSeries(function(t){if("polar"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];if(__DEV__&&!n)throw new Error('Polar "'+l.retrieve(t.get("polarIndex"),t.get("polarId"),0)+'" not found');t.coordinateSystem=n.coordinateSystem}}),n}};n(311).register("polar",h)},function(e,t,n){"use strict";var r=n(567),a=n(568),i=function(e){this.name=e||"",this.cx=0,this.cy=0,this._radiusAxis=new r,this._angleAxis=new a,this._radiusAxis.polar=this._angleAxis.polar=this};i.prototype={type:"polar",axisPointerEnabled:!0,constructor:i,dimensions:["radius","angle"],model:null,containPoint:function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},getAxis:function(e){return this["_"+e+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(e){var t=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===e&&t.push(n),r.scale.type===e&&t.push(r),t},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoints:function(e){return e.mapArray(this.dimensions,function(e,t){return this.dataToPoint([e,t])},!0,this)},dataToPoint:function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},pointToData:function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},pointToCoord:function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=this.getAngleAxis(),a=r.getExtent(),i=Math.min(a[0],a[1]),o=Math.max(a[0],a[1]);r.inverse?i=o-360:o=i+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;for(var l=Math.atan2(-n,t)/Math.PI*180,u=lo;)l+=360*u;return[s,l]},coordToPoint:function(e){var t=e[0],n=e[1]/180*Math.PI,r=Math.cos(n)*t+this.cx,a=-Math.sin(n)*t+this.cy;return[r,a]}},e.exports=i},function(e,t,n){"use strict";function r(e,t){i.call(this,"radius",e,t),this.type="category"}var a=n(239),i=n(335);r.prototype={constructor:r,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:i.prototype.dataToCoord,radiusToData:i.prototype.coordToData},a.inherits(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t){t=t||[0,360],i.call(this,"angle",e,t),this.type="category"}var a=n(239),i=n(335);r.prototype={constructor:r,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToAngle:i.prototype.dataToCoord,angleToData:i.prototype.coordToData},a.inherits(r,i),e.exports=r},function(e,t,n){"use strict";n(570),n(236).extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var t,n=this.ecModel;return n.eachComponent(e,function(e){e.getCoordSysModel()===this&&(t=e)},this),t},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}})},function(e,t,n){"use strict";function r(e,t){return t.type||(t.data?"category":"value")}var a=n(239),i=n(304),o=n(366),s=i.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});a.merge(s.prototype,n(347));var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};o("angle",s,r,l.angle),o("radius",s,r,l.radius)},function(e,t,n){"use strict";n(565),n(572)},function(e,t,n){"use strict";function r(e,t,n,r){var a=e.coordToPoint([t,r]),i=e.coordToPoint([n,r]);return{x1:a[0],y1:a[1],x2:i[0],y2:i[1]}}var a=n(239),i=n(253),o=n(247),s=["axisLine","axisLabel","axisTick","splitLine","splitArea"];n(371).extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,r=n.polar,i=r.getRadiusAxis().getExtent(),o=n.getTicksCoords();"category"!==n.type&&o.pop(),a.each(s,function(t){!e.get(t+".show")||n.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,r,o,i)},this)}},_axisLine:function(e,t,n,r){var a=e.getModel("axisLine.lineStyle"),o=new i.Circle({shape:{cx:t.cx,cy:t.cy,r:r[1]},style:a.getLineStyle(),z2:1,silent:!0});o.style.fill=null,this.group.add(o)},_axisTick:function(e,t,n,o){var s=e.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),u=a.map(n,function(e){return new i.Line({shape:r(t,o[1],o[1]+l,e)})});this.group.add(i.mergePath(u,{style:a.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_axisLabel:function(e,t,n,r){for(var a=e.axis,s=e.get("data"),l=e.getModel("axisLabel"),u=l.getModel("textStyle"),c=e.getFormattedLabels(),h=l.get("margin"),d=a.getLabelsCoords(),p=0;pm?"left":"right",x=Math.abs(g[1]-v)/f<.3?"middle":g[1]>v?"top":"bottom",_=u;s&&s[p]&&s[p].textStyle&&(_=new o(s[p].textStyle,u)),this.group.add(new i.Text({style:{x:g[0],y:g[1],fill:_.getTextColor()||e.get("axisLine.lineStyle.color"),text:c[p],textAlign:y,textVerticalAlign:x,textFont:_.getFont()},silent:!0}))}},_splitLine:function(e,t,n,o){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=0;dx?"left":"right",p=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:p}}var a=n(241),i=n(539),o=n(253),s=n(540),l=n(246),u=n(370),c=n(371),h=i.extend({makeElOption:function(e,t,n,i,o){var l=n.axis;"angle"===l.dim&&(this.animationThreshold=Math.PI/18);var u,c=l.polar,h=c.getOtherAxis(l),p=h.getExtent();u=l["dataTo"+a.capitalFirst(l.dim)](t);var f=i.get("type");if(f&&"none"!==f){var g=s.buildElStyle(i),m=d[f](l,c,u,p,g);m.style=g,e.graphicKey=m.type,e.pointer=m}var v=i.get("label.margin"),y=r(t,n,i,c,v);s.buildLabelElOption(e,n,i,o,y)}}),d={line:function(e,t,n,r,a){return"angle"===e.dim?{type:"Line",shape:s.makeLineShape(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r,a){var i=e.getBandWidth(),o=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:s.makeSectorShape(t.cx,t.cy,r[0],r[1],(-n-i/2)*o,(-n+i/2)*o)}:{type:"Sector",shape:s.makeSectorShape(t.cx,t.cy,n-i/2,n+i/2,0,2*Math.PI)}}};c.registerAxisPointerClass("PolarAxisPointer",h),e.exports=h},function(e,t,n){"use strict";function r(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function a(e){return e.dim}function i(e,t,n){var i=n.getWidth(),u=n.getHeight(),c={},h={},d=o(s.filter(t.getSeriesByType(e),function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type}));t.eachSeriesByType(e,function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,o=n.getAngleAxis(),s=n.getBaseAxis(),p=r(e),f=d[a(s)][p],g=f.offset,m=f.width,v=n.getOtherAxis(s),y=e.get("center")||["50%","50%"],x=l(y[0],i),_=l(y[1],u),b=e.get("barMinHeight")||0,w=e.get("barMinAngle")||0,S=v.getExtent()[0],M=v.model.get("max"),C=v.model.get("min"),T=n.dataToPoints(t);c[p]=c[p]||[],h[p]=h[p]||[],t.each(v.dim,function(e,r){if(!isNaN(e)){c[p][r]||(c[p][r]={p:S,n:S},h[p][r]={p:S,n:S});var a,i,s,l,u=e>=0?"p":"n",d=n.pointToCoord(T[r]),f=h[p][r][u];if("radius"===v.dim)a=f,i=d[0],s=(-d[1]+g)*Math.PI/180,l=s+m*Math.PI/180,Math.abs(i)0?I=A[1]:I===A[1]&&e<0&&(I=A[0]),h[p][r][u]=I}t.setItemLayout(r,{cx:x,cy:_,r0:a,r:i,startAngle:s,endAngle:l})}},!0)}},this)}function o(e,t){var n={};s.each(e,function(e,t){var i=e.getData(),o=e.coordinateSystem,s=o.getBaseAxis(),u=s.getExtent(),c="category"===s.type?s.getBandWidth():Math.abs(u[1]-u[0])/i.count(),h=n[a(s)]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},d=h.stacks;n[a(s)]=h;var p=r(e);d[p]||h.autoWidthCount++,d[p]=d[p]||{width:0,maxWidth:0};var f=l(e.get("barWidth"),c),g=l(e.get("barMaxWidth"),c),m=e.get("barGap"),v=e.get("barCategoryGap");f&&!d[p].width&&(f=Math.min(h.remainedWidth,f),d[p].width=f,h.remainedWidth-=f),g&&(d[p].maxWidth=g),null!=m&&(h.gap=m),null!=v&&(h.categoryGap=v)});var i={};return s.each(n,function(e,t){i[t]={};var n=e.stacks,r=e.bandWidth,a=l(e.categoryGap,r),o=l(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,h=(u-a)/(c+(c-1)*o);h=Math.max(h,0),s.each(n,function(e,t){var n=e.maxWidth;n&&nt[0][1]&&(t[0][1]=i[0]),i[1]t[1][1]&&(t[1][1]=i[1])}return t&&u(t)}}},function(e,t,n){function r(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}var a=n(239),i=n(437),o=a.each,s={createVisualMappings:function(e,t,n){function r(){var e=function(){};e.prototype.__hidden=e.prototype;var t=new e;return t}var s={};return o(t,function(t){var l=s[t]=r();o(e[t],function(e,r){if(i.isValidType(r)){var o={type:r,visual:e};n&&n(o,t),l[r]=new i(o),"opacity"===r&&(o=a.clone(o),o.type="colorAlpha",l.__hidden.__alphaForOpacity=new i(o))}})}),s},replaceVisualOption:function(e,t,n){var i;a.each(n,function(e){t.hasOwnProperty(e)&&r(t[e])&&(i=!0)}),i&&a.each(n,function(n){t.hasOwnProperty(n)&&r(t[n])?e[n]=a.clone(t[n]):delete e[n]})},applyVisual:function(e,t,n,r,o,s){function l(e){return n.getItemVisual(d,e)}function u(e,t){n.setItemVisual(d,e,t)}function c(e,a){d=null==s?e:a;var i=n.getRawDataItem(d);if(!i||i.visualMap!==!1)for(var c=r.call(o,e),p=t[c],f=h[c],g=0,m=f.length;g1)return!1;var d=l(n-e,a-e,r-t,i-t)/c;return!(d<0||d>1)}function s(e){return e<=1e-6&&e>=-1e-6}function l(e,t,n,r){return e*r-t*n}var u=n(410).contain,c=n(244),h={lineX:r(0),lineY:r(1),rect:{point:function(e,t,n){return n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return n.boundingRect.contain(e[0],e[1])&&u(n.range,e[0],e[1])},rect:function(e,t,n){var r=n.range;if(r.length<=1)return!1;var a=e.x,o=e.y,s=e.width,l=e.height,h=r[0];return!!(u(r,a,o)||u(r,a+s,o)||u(r,a,o+l)||u(r,a+s,o+l)||c.create(e).contain(h[0],h[1])||i(a,o,a+s,o,r)||i(a,o,a,o+l,r)||i(a+s,o,a+s,o+l,r)||i(a,o+l,a+s,o+l,r))||void 0}}};e.exports=h},function(e,t,n){function r(e,t,n){var r=this._targetInfoList=[],a={},o=i(t,e);f(_,function(e,t){(!n||!n.include||g(n.include,t)>=0)&&e(o,r,a)})}function a(e){return e[0]>e[1]&&e.reverse(),e}function i(e,t){return d.parseFinder(e,t,{includeMainTypes:y})}function o(e,t,n,r){__DEV__&&c.assert("cartesian2d"===n.type,"lineX/lineY brush is available only in cartesian2d.");var i=n.getAxis(["x","y"][e]),o=a(c.map([0,1],function(e){return t?i.coordToData(i.toLocalCoord(r[e])):i.toGlobalCoord(i.dataToCoord(r[e]))})),s=[];return s[e]=o,s[1-e]=[NaN,NaN],{values:o,xyMinMax:s}}function s(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function l(e,t){var n=u(e),r=u(t),a=[n[0]/r[0],n[1]/r[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function u(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var c=n(239),h=n(253),d=n(240),p=n(480),f=c.each,g=c.indexOf,m=c.curry,v=["dataToPoint","pointToData"],y=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],x=r.prototype;x.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=S[e.brushType](0,n,t);e.__rangeOffset={offset:M[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}})},x.matchOutputRanges=function(e,t,n){f(e,function(e){var r=this.findTargetInfo(e,t);r&&r!==!0&&c.each(r.coordSyses,function(r){var a=S[e.brushType](1,r,e.range);n(e,a.values,r,t)})},this)},x.setInputRanges=function(e,t){f(e,function(e){var n=this.findTargetInfo(e,t);if(__DEV__&&(c.assert(!n||n===!0||e.coordRange,"coordRange must be specified when coord index specified."),c.assert(!n||n!==!0||e.range,"range must be specified in global brush.")),e.range=e.range||[],n&&n!==!0){e.panelId=n.panelId;var r=S[e.brushType](0,n.coordSys,e.coordRange),a=e.__rangeOffset;e.range=a?M[e.brushType](r.values,a.offset,l(r.xyMinMax,a.xyMinMax)):r.values}},this)},x.makePanelOpts=function(e,t){return c.map(this._targetInfoList,function(n){var r=n.getPanelRect();return{ +panelId:n.panelId,defaultBrushType:t&&t(n),clipPath:p.makeRectPanelClipPath(r),isTargetByCursor:p.makeRectIsTargetByCursor(r,e,n.coordSysModel),getLinearBrushOtherExtent:p.makeLinearBrushOtherExtent(r)}})},x.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return r===!0||r&&g(r.coordSyses,t.coordinateSystem)>=0},x.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=i(t,e),a=0;a=0||g(r,e.getAxis("y").model)>=0)&&i.push(e)}),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:i[0],coordSyses:i,getPanelRect:w.grid,xAxisDeclared:o[e.id],yAxisDeclared:s[e.id]})}))},geo:function(e,t){f(e.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:w.geo})})}},b=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,a=e.gridModel;return!a&&n&&(a=n.axis.grid.model),!a&&r&&(a=r.axis.grid.model),a&&a===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],w={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(h.getTransform(e)),t}},S={lineX:m(o,0),lineY:m(o,1),rect:function(e,t,n){var r=t[v[e]]([n[0][0],n[1][0]]),i=t[v[e]]([n[0][1],n[1][1]]),o=[a([r[0],i[0]]),a([r[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n){var r=[[1/0,-(1/0)],[1/0,-(1/0)]],a=c.map(n,function(n){var a=t[v[e]](n);return r[0][0]=Math.min(r[0][0],a[0]),r[1][0]=Math.min(r[1][0],a[1]),r[0][1]=Math.max(r[0][1],a[0]),r[1][1]=Math.max(r[1][1],a[1]),a});return{values:a,xyMinMax:r}}},M={lineX:m(s,0),lineY:m(s,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return c.map(e,function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]})}};e.exports=r},function(e,t,n){function r(e,t){return i.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new s(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var a=n(236),i=n(239),o=n(583),s=n(247),l=["#ddd"],u=a.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var n=this.option;!t&&o.replaceVisualOption(n,e,["inBrush","outOfBrush"]),n.inBrush=n.inBrush||{},n.outOfBrush=n.outOfBrush||{color:l}},setAreas:function(e){__DEV__&&(i.assert(i.isArray(e)),i.each(e,function(e){i.assert(e.brushType,"Illegal areas")})),e&&(this.areas=i.map(e,function(e){return r(this.option,e)},this))},setBrushOption:function(e){this.brushOption=r(this.option,e),this.brushType=this.brushOption.brushType}});e.exports=u},function(e,t,n){function r(e,t,n,r){(!r||r.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())}var a=n(239),i=n(479),o=n(236);e.exports=o.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new i(t.getZr())).on("brush",a.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,r.apply(this,arguments)},updateView:r,updateLayout:r,updateVisual:r,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:a.clone(e),$from:n})}})},function(e,t,n){var r=n(236);r.registerAction({type:"brush",event:"brush",update:"updateView"},function(e,t){t.eachComponent({mainType:"brush",query:e},function(t){t.setAreas(e.areas)})}),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){})},function(e,t,n){"use strict";function r(e,t,n){this.model=e,this.ecModel=t,this.api=n,this._brushType,this._brushMode}var a=n(590),i=n(239);r.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}};var o=r.prototype;o.render=o.updateView=o.updateLayout=function(e,t,n){var r,a,o;t.eachComponent({mainType:"brush"},function(e){r=e.brushType,a=e.brushOption.brushMode||"single",o|=e.areas.length}),this._brushType=r,this._brushMode=a,i.each(e.get("type",!0),function(t){e.setIconStatus(t,("keep"===t?"multiple"===a:"clear"===t?o:t===r)?"emphasis":"normal")})},o.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return i.each(e.get("type",!0),function(e){t[e]&&(n[e]=t[e])}),n},o.onclick=function(e,t,n){var t=this.api,r=this._brushType,a=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===a?"single":"multiple":a}})},a.register("brush",r),e.exports=r},function(e,t){"use strict";var n={};e.exports={register:function(e,t){n[e]=t},get:function(e){return n[e]}}},function(e,t,n){"use strict";n(592),n(593),n(594)},function(e,t,n){"use strict";function r(e,t,n){this._model=e}function a(e,t,n,r){var a=n.calendarModel,i=n.seriesModel,o=a?a.coordinateSystem:i?i.coordinateSystem:null;return o===this?o[e](r):null}var i=n(306),o=n(242),s=n(239),l=864e5;r.prototype={constructor:r,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"}]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){e=o.parseDate(e);var t=e.getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var r=e.getDate();r=r<10?"0"+r:r;var a=e.getDay();return a=Math.abs((a+7-this.getFirstDayOfWeek())%7),{y:t,m:n,d:r,day:a,time:e.getTime(),formatedDate:t+"-"+n+"-"+r,date:e}},getNextNDay:function(e,t){if(t=t||0,0===t)return this.getDateInfo(e);var n=this.getDateInfo(e).time;return this.getDateInfo(n+l*t)},update:function(e,t){function n(e,t){return null!=e[t]&&"auto"!==e[t]}this._firstDayOfWeek=this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle.normal").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var r=this._rangeInfo.weeks||1,a=["width","height"],o=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),u="horizontal"===this._orient?[r,7]:[7,r];s.each([0,1],function(e){n(o,e)&&(l[a[e]]=o[e]*u[e])});var c={width:t.getWidth(),height:t.getHeight()},h=this._rect=i.getLayoutRect(l,c);s.each([0,1],function(e){n(o,e)||(o[e]=h[a[e]]/u[e])}),this._sw=o[0],this._sh=o[1]},dataToPoint:function(e,t){s.isArray(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),r=this._rangeInfo,a=n.formatedDate;if(t&&!(n.time>=r.start.time&&n.time<=r.end.time))return[NaN,NaN];var i=n.day,o=this._getRangeInfo([r.start.time,a]).weeks;return"vertical"===this._orient?[this._rect.x+i*this._sw+this._sw/2,this._rect.y+(o-1)*this._sh+this._sh/2]:[this._rect.x+(o-1)*this._sw+this._sw/2,this._rect.y+i*this._sh+this._sh/2]},pointToData:function(e){var t=this.pointToDate(e);return t&&t.time},dataToRect:function(e,t){var n=this.dataToPoint(e,t);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},pointToDate:function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,r=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,r):this._getDateByWeeksAndDay(t,n-1,r)},convertToPixel:s.curry(a,"dataToPoint"),convertFromPixel:s.curry(a,"pointToData"),_initRangeOption:function(){var e=this._model.get("range"),t=e;if(s.isArray(t)&&1===t.length&&(t=t[0]),/^\d{4}$/.test(t)&&(e=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var n=this.getDateInfo(t),r=n.date;r.setMonth(r.getMonth()+1);var a=this.getNextNDay(r,-1);e=[n.formatedDate,a.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(e=[t,t]);var i=this._getRangeInfo(e);return i.start.time>i.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t=this.getDateInfo(e[0]),n=this.getDateInfo(e[1]),r=Math.floor(n.time/l)-Math.floor(t.time/l)+1,a=Math.floor((r+t.day+6)/7);return{range:[t.formatedDate,n.formatedDate],start:t,end:n,allDay:r,weeks:a,fweek:t.day,lweek:n.day}},_getDateByWeeksAndDay:function(e,t,n){var r=this._getRangeInfo(n);if(e>r.weeks||0===e&&tr.lweek)return!1;var a=7*(e-1)-r.fweek+t,i=r.start.time+a*l;return this.getDateInfo(i)}},r.dimensions=r.prototype.dimensions,r.getDimensionsInfo=r.prototype.getDimensionsInfo,r.create=function(e,t){var n=[];return e.eachComponent("calendar",function(a){var i=new r(a,e,t);n.push(i),a.coordinateSystem=i}),e.eachSeries(function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("calendarIndex")||0])}),n},n(311).register("calendar",r),e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.cellSize;i.isArray(n)?1===n.length&&(n[1]=n[0]):n=e.cellSize=[n,n];var r=i.map([0,1],function(e){return o.sizeCalculable(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]});o.mergeLayoutParam(e,t,{type:"box",ignoreSize:r})}var a=n(304),i=n(239),o=n(306),s=a.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{normal:{color:"#fff",borderWidth:1,borderColor:"#ccc"}},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",textStyle:{color:"#000"}},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,textStyle:{color:"#000"}},yearLabel:{show:!0,position:null,margin:30,formatter:null,textStyle:{color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}}},init:function(e,t,n,a){var i=o.getLayoutParams(e);s.superApply(this,"init",arguments),r(e,i)},mergeOption:function(e,t){s.superApply(this,"mergeOption",arguments),r(this.option,e)}});e.exports=s},function(e,t,n){"use strict";var r=n(239),a=n(253),i=n(241),o=n(242),s={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},l={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]};e.exports=n(236).extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,n){var r=this.group;r.removeAll();var a=e.coordinateSystem,i=a.getRangeInfo(),o=a.getOrient();this._renderDayRect(e,i,r),this._renderLines(e,i,o,r),this._renderYearText(e,i,o,r),this._renderMonthText(e,o,r),this._renderWeekText(e,i,o,r)},_renderDayRect:function(e,t,n){for(var r=e.coordinateSystem,i=e.getModel("itemStyle.normal").getItemStyle(),o=r.getCellWidth(),s=r.getCellHeight(),l=t.start.time;l<=t.end.time;l=r.getNextNDay(l,1).time){var u=r.dataToRect([l],!1).tl,c=new a.Rect({shape:{x:u[0],y:u[1],width:o,height:s},style:i});n.add(c)}},_renderLines:function(e,t,n,r){function a(t){i._firstDayOfMonth.push(o.getDateInfo(t)),i._firstDayPoints.push(o.dataToRect([t],!1).tl);var a=i._getLinePointsOfOneWeek(e,t,n);i._tlpoints.push(a[0]),i._blpoints.push(a[a.length-1]),l&&i._drawSplitline(a,s,r)}var i=this,o=e.coordinateSystem,s=e.getModel("splitLine.lineStyle").getLineStyle(),l=e.get("splitLine.show"),u=s.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=t.start,h=0;c.time<=t.end.time;h++){a(c.formatedDate),0===h&&(c=o.getDateInfo(t.start.y+"-"+t.start.m));var d=c.date;d.setMonth(d.getMonth()+1),c=o.getDateInfo(d)}a(o.getNextNDay(t.end.time,1).formatedDate),l&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,u,n),s,r),l&&this._drawSplitline(i._getEdgesPoints(i._blpoints,u,n),s,r)},_getEdgesPoints:function(e,t,n){var r=[e[0].slice(),e[e.length-1].slice()],a="horizontal"===n?0:1;return r[0][a]=r[0][a]-t/2,r[1][a]=r[1][a]+t/2,r},_drawSplitline:function(e,t,n){var r=new a.Polyline({z2:20,shape:{points:e},style:t});n.add(r)},_getLinePointsOfOneWeek:function(e,t,n){var r=e.coordinateSystem;t=r.getDateInfo(t);for(var a=[],i=0;i<7;i++){var o=r.getNextNDay(t.time,i),s=r.dataToRect([o.time],!1);a[2*o.day]=s.tl,a[2*o.day+1]=s["horizontal"===n?"bl":"tr"]}return a},_formatterLabel:function(e,t){return"string"==typeof e&&e?i.formatTplSimple(e,t):"function"==typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,n,r){e=e.slice();var a=["center","bottom"];"top"===n&&(e[1]-=r),"bottom"===n&&(e[1]+=r,a=["center","top"]),"left"===n&&(e[0]-=r),"right"===n&&(e[0]+=r,a=["center","top"]);var i=0;return"left"!==n&&"right"!==n||(i=Math.PI/2),{rotation:i,origin:e,style:{x:e[0],y:e[1],textAlign:a[0],textVerticalAlign:a[1]}}},_renderYearText:function(e,t,n,i){var o=e.getModel("yearLabel");if(o.get("show")){var s=e.getModel("yearLabel.textStyle"),l=o.get("margin"),u=o.get("position");u||(u="horizontal"!==n?"top":"left");var c=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],h=(c[0][0]+c[1][0])/2,d=(c[0][1]+c[1][1])/2,p="horizontal"===n?0:1,f={top:[h,c[p][1]],bottom:[h,c[1-p][1]],left:[c[1-p][0],d],right:[c[p][0],d]},g=t.start.y;+t.end.y>+t.start.y&&(g=g+"-"+t.end.y);var m=o.get("formatter"),v={start:t.start.y,end:t.end.y,nameMap:g},y=this._formatterLabel(m,v),x=new a.Text(r.merge({z2:30,style:{text:y,font:s.getFont(),fill:s.getTextColor()}},this._yearTextPositionControl(f[u],n,u,l)));i.add(x)}},_monthTextPositionControl:function(e,t,n,r,a){var i="left",o="top",s=e[0],l=e[1];return"horizontal"===n?(l+=a,t&&(i="center"),"start"===r&&(o="bottom")):(s+=a,t&&(o="middle"),"start"===r&&(i="right")),{x:s,y:l,textAlign:i,textVerticalAlign:o}},_renderMonthText:function(e,t,n){var i=e.getModel("monthLabel");if(i.get("show")){var o=e.getModel("monthLabel.textStyle"),l=i.get("nameMap"),u=i.get("margin"),c=i.get("position"),h=i.get("align"),d=[this._tlpoints,this._blpoints];r.isString(l)&&(l=s[l.toUpperCase()]||[]);var p="start"===c?0:1,f="horizontal"===t?0:1;u="start"===c?-u:u;for(var g="center"===h,m=0;m0?100:20}},getFirstTargetAxisModel:function(){var e;return d(function(t){if(null==e){var n=this.get(t.axisIndex);n.length&&(e=this.dependentModels[t.axis][n[0]])}},this),e},eachTargetAxis:function(e,t){var n=this.ecModel;d(function(r){h(this.get(r.axisIndex),function(a){e.call(t,r,a,this,n)},this)},this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var n=this.getAxisProxy(e,t);return n&&n.getAxisModel()},setRawRange:function(e,t){h(["start","end","startValue","endValue"],function(t){this.option[t]=e[t]},this),!t&&a(this,e)},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var n in t)if(t.hasOwnProperty(n)&&t[n].hostedBy(this))return t[n];for(var n in t)if(t.hasOwnProperty(n)&&!t[n].hostedBy(this))return t[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});e.exports=p},function(e,t,n){var r=n(241),a=n(239),i={},o=["x","y","z","radius","angle","single"],s=["cartesian2d","polar","singleAxis"];i.isCoordSupported=function(e){return a.indexOf(s,e)>=0},i.createNameEach=function(e,t){e=e.slice();var n=a.map(e,r.capitalFirst);t=(t||[]).slice();var i=a.map(t,r.capitalFirst);return function(r,o){a.each(e,function(e,a){for(var s={name:e,capital:n[a]},l=0;l=0}function i(e,r){var i=!1;return t(function(t){a.each(n(e,t)||[],function(e){r.records[t.name][e]&&(i=!0)})}),i}function o(e,r){r.nodes.push(e),t(function(t){a.each(n(e,t)||[],function(e){r.records[t.name][e]=!0})})}return function(n){function a(e){!r(e,s)&&i(e,s)&&(o(e,s),l=!0)}var s={nodes:[],records:{}};if(t(function(e){s.records[e.name]={}}),!n)return s;o(n,s);var l;do l=!1,e(a);while(l);return s}},e.exports=i},function(e,t,n){function r(e,t,n){var r=[1/0,-(1/0)];return c(n,function(e){var n=e.getData();n&&c(e.coordDimToDataDim(t),function(e){var t=n.getDataExtent(e);t[0]r[1]&&(r[1]=t[1])})}),r[1]0?0:NaN);var o=n.getMax(!0);return null!=o&&"dataMax"!==o?t[1]=o:a&&(t[1]=i>0?i-1:NaN),n.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function i(e,t){var n=e.getAxisModel(),r=e._percentWindow,a=e._valueWindow;if(r){var i=l.getPixelPrecision(a,[0,500]),o=t||0===r[0]&&100===r[1];n.setRange(o?null:+a[0].toFixed(i),o?null:+a[1].toFixed(i))}}function o(e){var t=e._minMaxSpan={},n=e._dataZoomModel;c(["min","max"],function(r){t[r+"Span"]=n.get(r+"Span");var a=n.get(r+"ValueSpan");null!=a&&(t[r+"ValueSpan"]=a,a=e.getAxisModel().axis.scale.parse(a),null!=a&&(t[r+"Span"]=l.linearMap(a,e._dataExtent,[0,100],!0)))})}var s=n(239),l=n(242),u=n(599),c=s.each,h=l.asc,d=function(e,t,n,r){this._dimName=e,this._axisIndex=t,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=r,this._dataZoomModel=n};d.prototype={constructor:d,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries(function(n){if(u.isCoordSupported(n.get("coordinateSystem"))){var r=this._dimName,a=t.queryComponents({mainType:r+"Axis",index:n.get(r+"AxisIndex"),id:n.get(r+"AxisId")})[0];this._axisIndex===(a&&a.componentIndex)&&e.push(n)}},this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,n=this._dimName,r=this.ecModel,a=this.getAxisModel(),i="x"===n||"y"===n;i?(t="gridIndex",e="x"===n?"y":"x"):(t="polarIndex",e="angle"===n?"radius":"angle");var o;return r.eachComponent(e+"Axis",function(e){(e.get(t)||0)===(a.get(t)||0)&&(o=e)}),o},getMinMaxSpan:function(){return s.clone(this._minMaxSpan)},calculateDataWindow:function(e){var t=this._dataExtent,n=this.getAxisModel(),r=n.axis.scale,a=this._dataZoomModel.getRangePropMode(),i=[0,100],o=[e.start,e.end],s=[];return c(["startValue","endValue"],function(t){s.push(null!=e[t]?r.parse(e[t]):null)}),c([0,1],function(e){var n=s[e],u=o[e];"percent"===a[e]?(null==u&&(u=i[e]),n=r.parse(l.linearMap(u,i,t,!0))):u=l.linearMap(n,t,i,!0),s[e]=n,o[e]=u}),{valueWindow:h(s),percentWindow:h(o)}},reset:function(e){if(e===this._dataZoomModel){this._dataExtent=r(this,this._dimName,this.getTargetSeriesModels());var t=this.calculateDataWindow(e.option);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,o(this),i(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,i(this,!0))},filterData:function(e){function t(e){return e>=i[0]&&e<=i[1]}if(e===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),a=e.get("filterMode"),i=this._valueWindow;if("none"!==a){var o=this.getOtherAxisModel();e.get("$fromToolbox")&&o&&"category"===o.get("type")&&(a="empty"),c(r,function(e){var r=e.getData(),o=e.coordDimToDataDim(n);"weakFilter"===a?r&&r.filterSelf(function(e){for(var t,n,a,s=0;si[1];if(u&&!c&&!h)return!0;u&&(a=!0),c&&(t=!0),h&&(n=!0)}return a&&t&&n}):r&&c(o,function(n){"empty"===a?e.setData(r.map(n,function(e){return t(e)?e:NaN})):r.filterSelf(n,t)})})}}}},e.exports=d},function(e,t,n){var r=n(314);e.exports=r.extend({type:"dataZoom",render:function(e,t,n,r){this.dataZoomModel=e,this.ecModel=t,this.api=n},getTargetCoordInfo:function(){function e(e,t,n,r){for(var a,i=0;i0&&t%v)return void(m+=g);var n=null==e||isNaN(e)||""===e,r=n?0:c(e,s,h,!0);n&&!u&&t?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!n&&u&&(p.push([m,0]),f.push([m,0])),p.push([m,r]),f.push([m,r]),m+=g,u=n});var y=this.dataZoomModel;this._displayables.barGroup.add(new i.Polygon({shape:{points:p},style:a.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new i.Polyline({shape:{points:f},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(t!==!1){var n,i=this.ecModel;return e.eachTargetAxis(function(o,s){var l=e.getAxisProxy(o.name,s).getTargetSeriesModels();a.each(l,function(e){if(!(n||t!==!0&&a.indexOf(S,e.get("type"))<0)){var l,u=i.getComponent(o.axis,s).axis,c=r(o.name),h=e.coordinateSystem;null!=c&&h.getOtherAxis&&(l=h.getOtherAxis(u).inverse),n={thisAxis:u,series:e,thisDim:o.name,otherDim:c,otherAxisInverse:l}}},this)},this),n}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],n=e.handleLabels=[],r=this._displayables.barGroup,a=this._size,o=this.dataZoomModel;r.add(e.filler=new l({draggable:!0,cursor:"move",drift:g(this._onDragMove,this,"all"),onmousemove:function(e){p.stop(e.event)},ondragstart:g(this._showDataInfo,this,!0),ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1),style:{fill:o.get("fillerColor"),textPosition:"inside"}})),r.add(new l(i.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:y,fill:"rgba(0,0,0,0)"}})));var s=o.get("handleIcon");m([0,1],function(e){var a={style:{strokeNoScale:!0},rectHover:!0,cursor:"vertical"===this._orient?"ns-resize":"ew-resize",draggable:!0,drift:g(this._onDragMove,this,e),onmousemove:function(e){p.stop(e.event)},ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1)},l={x:-1,y:0,width:2,height:2},c=0===s.indexOf("image://")?(l.image=s.slice(8),a.style=l,new i.Image(a)):i.makePath(s.replace("path://",""),a,l,"center"),h=c.getBoundingRect();this._handleHeight=u.parsePercent(o.get("handleSize"),this._size[1]),this._handleWidth=h.width/h.height*this._handleHeight,c.setStyle(o.getModel("handleStyle").getItemStyle());var d=o.get("handleColor");null!=d&&(c.style.fill=d),r.add(t[e]=c);var f=o.textStyleModel;this.group.add(n[e]=new i.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",fill:f.getTextColor(),textFont:f.getFont()},z2:10}))},this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[c(e[0],[0,100],t,!0),c(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var n=this.dataZoomModel,r=this._handleEnds,a=this._getViewExtent(),i=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];d(t,r,a,n.get("zoomLock")?"all":e,null!=i.minSpan?c(i.minSpan,o,a,!0):null,null!=i.maxSpan?c(i.maxSpan,o,a,!0):null),this._range=f([c(r[0],a,o,!0),c(r[1],a,o,!0)])},_updateView:function(e){var t=this._displayables,n=this._handleEnds,r=f(n.slice()),a=this._size;m([0,1],function(e){var r=t.handles[e],i=this._handleHeight;r.attr({scale:[i/2,i/2],position:[n[e],a[1]/2-i/2]})},this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:a[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){function t(e){var t=i.getTransform(r.handles[e].parent,this.group),n=i.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+w,u=i.applyTransform([d[e]+(0===e?-l:l),this._size[1]/2],t);a[e].setStyle({x:u[0],y:u[1],textVerticalAlign:o===_?"middle":n,textAlign:o===_?n:"center",text:s[e]})}var n=this.dataZoomModel,r=this._displayables,a=r.handleLabels,o=this._orient,s=["",""];if(n.get("showDetail")){var l=n.findRepresentativeAxisProxy();if(l){var u=l.getAxisModel().axis,c=this._range,h=e?l.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:l.getDataValueWindow();s=[this._formatLabel(h[0],u),this._formatLabel(h[1],u)]}}var d=f(this._handleEnds.slice());t.call(this,0),t.call(this,1)},_formatLabel:function(e,t){var n=this.dataZoomModel,r=n.get("labelFormatter"),i=n.get("labelPrecision");null!=i&&"auto"!==i||(i=t.getPixelPrecision());var o=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(i,20));return a.isFunction(r)?r(e,o):a.isString(r)?r.replace("{value}",o):o},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,n){this._dragging=!0;var r=this._displayables.barGroup.getLocalTransform(),a=i.applyTransform([t,n],r,!0);this._updateInterval(e,a[0]);var o=this.dataZoomModel.get("realtime");this._updateView(!o),o&&o&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,n=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var r=this._handleEnds,a=(r[0]+r[1])/2;this._updateInterval("all",n[0]-a),this._updateView(),this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(m(this.getTargetCoordInfo(),function(t){if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}}),!e){var t=this.api.getWidth(),n=this.api.getHeight();e={x:.2*t,y:.2*n,width:.6*t,height:.6*n}}return e}});e.exports=M},function(e,t,n){e.exports=n(598).extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,preventDefaultMouseMove:!0}})},function(e,t,n){var r=n(601),a=n(239),i=n(473),o=n(606),s=a.bind,l=r.extend({type:"dataZoom.inside",init:function(e,t){this._range},render:function(e,t,n,r){l.superApply(this,"render",arguments),o.shouldRecordRange(r,e.id)&&(this._range=e.getPercentRange()),a.each(this.getTargetCoordInfo(),function(t,r){var i=a.map(t,function(e){return o.generateCoordId(e.model)});a.each(t,function(t){var a=t.model,l=e.option;o.register(n,{coordId:o.generateCoordId(a),allCoordIds:i,containsPoint:function(e,t,n){return a.coordinateSystem.containPoint([t,n])},dataZoomId:e.id,throttleRate:e.get("throttle",!0),panGetRange:s(this._onPan,this,t,r),zoomGetRange:s(this._onZoom,this,t,r),zoomLock:l.zoomLock,disabled:l.disabled,roamControllerOpt:{zoomOnMouseWheel:l.zoomOnMouseWheel,moveOnMouseMove:l.moveOnMouseMove,preventDefaultMouseMove:l.preventDefaultMouseMove}})},this)},this)},dispose:function(){o.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null},_onPan:function(e,t,n,r,a,o,s,l,c){var h=this._range.slice(),d=e.axisModels[0];if(d){var p=u[t]([o,s],[l,c],d,n,e),f=p.signal*(h[1]-h[0])*p.pixel/p.pixelLength;return i(f,h,[0,100],"all"),this._range=h}},_onZoom:function(e,t,n,r,a,o){var s=this._range.slice(),l=e.axisModels[0];if(l){var c=u[t](null,[a,o],l,n,e),h=(c.pixel-c.pixelStart)/c.pixelLength*(s[1]-s[0])+s[0];r=Math.max(1/r,0),s[0]=(s[0]-h)*r+h,s[1]=(s[1]-h)*r+h;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return i(0,s,[0,100],0,d.minSpan,d.maxSpan),this._range=s}}}),u={grid:function(e,t,n,r,a){var i=n.axis,o={},s=a.model.coordinateSystem.getRect();return e=e||[0,0],"x"===i.dim?(o.pixel=t[0]-e[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=i.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=i.inverse?-1:1),o},polar:function(e,t,n,r,a){var i=n.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(o.pixel=t[0]-e[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=i.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=i.inverse?-1:1),o},singleAxis:function(e,t,n,r,a){var i=n.axis,o=a.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===i.orient?(s.pixel=t[0]-e[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=i.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=i.inverse?-1:1),s}};e.exports=l},function(e,t,n){function r(e){var t=e.getZr();return t[f]||(t[f]={})}function a(e,t){var n=new h(e.getZr());return n.on("pan",p(o,t)),n.on("zoom",p(s,t)),n}function i(e){c.each(e,function(t,n){t.count||(t.controller.dispose(),delete e[n])})}function o(e,t,n,r,a,i,o){l(e,function(s){return s.panGetRange(e.controller,t,n,r,a,i,o)})}function s(e,t,n,r){l(e,function(a){return a.zoomGetRange(e.controller,t,n,r)})}function l(e,t){var n=[];c.each(e.dataZoomInfos,function(e){var r=t(e);r&&n.push({dataZoomId:e.dataZoomId,start:r[0],end:r[1]})}),e.dispatchAction(n)}function u(e,t){e.dispatchAction({type:"dataZoom",batch:t})}var c=n(239),h=n(417),d=n(316),p=c.curry,f="\0_ec_dataZoom_roams",g={register:function(e,t){var n=r(e),o=t.dataZoomId,s=t.coordId;c.each(n,function(e,n){var r=e.dataZoomInfos;r[o]&&c.indexOf(t.allCoordIds,s)<0&&(delete r[o],e.count--)}),i(n);var l=n[s];l||(l=n[s]={coordId:s,dataZoomInfos:{},count:0},l.controller=a(e,l),l.dispatchAction=c.curry(u,e)),l.controller.enable(!t.disabled&&(!t.zoomLock||"move"),t.roamControllerOpt),l.controller.setPointerChecker(t.containsPoint),d.createOrUpdate(l,"dispatchAction",t.throttleRate,"fixRate"),!l.dataZoomInfos[o]&&l.count++,l.dataZoomInfos[o]=t},unregister:function(e,t){var n=r(e);c.each(n,function(e){e.controller.dispose();var n=e.dataZoomInfos;n[t]&&(delete n[t],e.count--)}),i(n)},shouldRecordRange:function(e,t){if(e&&"dataZoom"===e.type&&e.batch)for(var n=0,r=e.batch.length;n0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})},function(e,t,n){function r(e,t){e.eachTargetSeries(function(t){var n=t.getData();s.applyVisual(e.stateList,e.targetVisuals,n,e.getValueState,e,e.getDataDimension(n))})}function a(e){e.eachSeries(function(t){var n=t.getData(),r=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var a=e.getVisualMeta(u.bind(i,null,t,e))||{stops:[],outerColors:[]};a.dimension=e.getDataDimension(n),r.push(a)}}),t.getData().setVisual("visualMeta",r)})}function i(e,t,n,r){function a(e){return u[e]}function i(e,t){u[e]=t}for(var o=t.targetVisuals[r],s=l.prepareVisualTypes(o),u={color:e.getData().getVisual("color")},c=0,h=s.length;ct[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)},this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=o.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]=n[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries(function(n){var r=[],a=n.getData();a.each(this.getDataDimension(a),function(t,n){e[0]<=t&&t<=e[1]&&r.push(n)},!0,this),t.push({seriesId:n.id,dataIndex:r})},this),t},getVisualMeta:function(e){function t(t,n){i.push({value:t,color:e(t,n)})}for(var n=r(this,"outOfRange",this.getExtent()),a=r(this,"inRange",this.option.range.slice()),i=[],o=0,s=0,l=a.length,u=n.length;s"],a.isArray(e)&&(e=e.slice(),i=!0),o=t?e:i?[r(e[0]),r(e[1])]:r(e),a.isString(c)?c.replace("{value}",i?o[0]:o).replace("{value2}",i?o[1]:o):a.isFunction(c)?i?c(e[0],e[1]):c(e):i?e[0]===u[0]?n[0]+" "+o[1]:e[1]===u[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o},resetExtent:function(){var e=this.option,t=g([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension;return null!=t?t:e.dimensions.length-1},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){function e(e){p(r.color)&&!e.inRange&&(e.inRange={color:r.color.slice().reverse()}),e.inRange=e.inRange||{color:y},f(this.stateList,function(t){var n=e[t];if(a.isString(n)){var r=o.get(n,"active",d);r?(e[t]={},e[t][n]=r):delete e[t]}},this)}function t(e,t,n){var r=e[t],a=e[n];r&&!a&&(a=e[n]={},f(r,function(e,t){if(s.isValidType(t)){var n=o.get(t,"inactive",d);null!=n&&(a[t]=n,"color"!==t||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}}))}function n(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,r=this.get("inactiveColor");f(this.stateList,function(i){var o=this.itemSize,s=e[i];s||(s=e[i]={color:d?r:[r]}),null==s.symbol&&(s.symbol=t&&a.clone(t)||(d?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&a.clone(n)||(d?o[0]:[o[0],o[0]])),s.symbol=u(s.symbol,function(e){return"none"===e||"square"===e?"roundRect":e});var l=s.symbolSize;if(null!=l){var c=-(1/0);h(l,function(e){e>c&&(c=e)}),s.symbolSize=u(l,function(e){return m(e,[0,c],[0,o[0]],!0)})}},this)}var r=this.option,i={inRange:r.inRange,outOfRange:r.outOfRange},l=r.target||(r.target={}),c=r.controller||(r.controller={});a.merge(l,i),a.merge(c,i);var d=this.isCategory();e.call(this,l),e.call(this,c),t.call(this,l,"inRange","outOfRange"),n.call(this,c)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});e.exports=x},function(e,t,n){var r=n(239),a={get:function(e,t,n){var a=r.clone((i[e]||{})[t]);return n&&r.isArray(a)?a[a.length-1]:a}},i={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};e.exports=a},function(e,t,n){function r(e,t,n,r){return new u.Polygon({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){m.stop(e.event)},ondragend:r})}function a(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}function i(e,t,n,r){return e?[[0,-x(t,_(n,0))],[w,0],[0,x(t,_(r-n,0))]]:[[0,0],[5,-5],[5,5]]}function o(e,t,n){var r=b/2,a=e.get("hoverLinkDataSize");return a&&(r=v(a,t,n,!0)/2),r}function s(e){return!e.get("realtime")&&e.get("hoverLinkOnHandle")}var l=n(618),u=n(253),c=n(239),h=n(242),d=n(473),p=n(300),f=n(619),g=n(240),m=n(323),v=h.linearMap,y=c.each,x=Math.min,_=Math.max,b=12,w=6,S=l.extend({type:"visualMap.continuous",init:function(){S.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(e,t,n,r){r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},_renderEndsText:function(e,t,n){if(t){var r=t[1-n];r=null!=r?r+"":"";var a=this.visualMapModel,i=a.get("textGap"),o=a.itemSize,s=this._shapes.barGroup,l=this._applyTransform([o[0]/2,0===n?-i:o[1]+i],s),c=this._applyTransform(0===n?"bottom":"top",s),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new u.Text({style:{x:l[0],y:l[1],textVerticalAlign:"horizontal"===h?"middle":c,textAlign:"horizontal"===h?c:"center",text:r,textFont:d.getFont(),fill:d.getTextColor()}}))}},_renderBar:function(e){var t=this.visualMapModel,n=this._shapes,a=t.itemSize,i=this._orient,o=this._useHandle,s=f.getItemAlign(t,this.api,a),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=r()),l.add(n.inRange=r(null,o?"move":null,c.bind(this._dragHandle,this,"all",!1),c.bind(this._dragHandle,this,"all",!0)));var u=t.textStyleModel.getTextRect("国"),h=_(u.width,u.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(l,0,a,h,i,s),this._createHandle(l,1,a,h,i,s)),this._createIndicator(l,a,h,i),e.add(l)},_createHandle:function(e,t,n,i,o){var s=c.bind(this._dragHandle,this,t,!1),l=c.bind(this._dragHandle,this,t,!0),h=r(a(t,i),"move",s,l);h.position[0]=n[0],e.add(h);var d=this.visualMapModel.textStyleModel,p=new u.Text({draggable:!0,drift:s,onmousemove:function(e){m.stop(e.event)},ondragend:l,style:{x:0,y:0,text:"",textFont:d.getFont(),fill:d.getTextColor()}});this.group.add(p);var f=["horizontal"===o?i/2:1.5*i,"horizontal"===o?0===t?-(1.5*i):1.5*i:0===t?-i/2:i/2],g=this._shapes;g.handleThumbs[t]=h,g.handleLabelPoints[t]=f,g.handleLabels[t]=p},_createIndicator:function(e,t,n,a){var i=r([[0,0]],"move");i.position[0]=t[0],i.attr({invisible:!0,silent:!0}),e.add(i);var o=this.visualMapModel.textStyleModel,s=new u.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:o.getFont(),fill:o.getTextColor()}});this.group.add(s);var l=["horizontal"===a?n/2:w+3,0],c=this._shapes;c.indicator=i,c.indicatorLabel=s,c.indicatorLabelPoint=l},_dragHandle:function(e,t,n,r){if(this._useHandle){if(this._dragging=!t,!t){var a=this._applyTransform([n,r],this._shapes.barGroup,!0);this._updateInterval(e,a[1]),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():s(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},_resetInterval:function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),r=[0,e.itemSize[1]];this._handleEnds=[v(t[0],n,r,!0),v(t[1],n,r,!0)]},_updateInterval:function(e,t){t=t||0;var n=this.visualMapModel,r=this._handleEnds,a=[0,n.itemSize[1]];d(t,r,a,e,0);var i=n.getExtent();this._dataInterval=[v(r[0],a,i,!0),v(r[1],a,i,!0)]},_updateView:function(e){var t=this.visualMapModel,n=t.getExtent(),r=this._shapes,a=[0,t.itemSize[1]],i=e?a:this._handleEnds,o=this._createBarVisual(this._dataInterval,n,i,"inRange"),s=this._createBarVisual(n,n,a,"outOfRange");r.inRange.setStyle({fill:o.barColor,opacity:o.opacity}).setShape("points",o.barPoints),r.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(i,o)},_createBarVisual:function(e,t,n,r){var a={forceState:r,convertOpacityToAlpha:!0},i=this._makeColorGradient(e,a),o=[this.getControllerVisual(e[0],"symbolSize",a),this.getControllerVisual(e[1],"symbolSize",a)],s=this._createBarPoints(n,o);return{barColor:new p(0,0,0,1,i),barPoints:s,handlesColor:[i[0].color,i[i.length-1].color]}},_makeColorGradient:function(e,t){var n=100,r=[],a=(e[1]-e[0])/n;r.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var i=1;ie[1])break;r.push({color:this.getControllerVisual(o,"color",t),offset:i/n})}return r.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),r},_createBarPoints:function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new u.Group("horizontal"!==t||n?"horizontal"===t&&n?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||n?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,a=n.handleThumbs,i=n.handleLabels;y([0,1],function(o){var s=a[o];s.setStyle("fill",t.handlesColor[o]),s.position[1]=e[o];var l=u.applyTransform(n.handleLabelPoints[o],u.getTransform(s,this.group));i[o].setStyle({x:l[0],y:l[1],text:r.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",n.barGroup)})},this)}},_showIndicator:function(e,t,n,r){var a=this.visualMapModel,o=a.getExtent(),s=a.itemSize,l=[0,s[1]],c=v(e,o,l,!0),h=this._shapes,d=h.indicator;if(d){d.position[1]=c,d.attr("invisible",!1),d.setShape("points",i(!!n,r,c,s[1]));var p={convertOpacityToAlpha:!0},f=this.getControllerVisual(e,"color",p);d.setStyle("fill",f);var g=u.applyTransform(h.indicatorLabelPoint,u.getTransform(d,this.group)),m=h.indicatorLabel;m.attr("invisible",!1);var y=this._applyTransform("left",h.barGroup),x=this._orient;m.setStyle({text:(n?n:"")+a.formatValueText(t),textVerticalAlign:"horizontal"===x?y:"middle",textAlign:"horizontal"===x?"center":y,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,r=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);r[1]=x(_(0,r[1]),n[1]),e._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}}).on("mouseout",function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var a=[0,r[1]],i=n.getExtent();e=x(_(a[0],e),a[1]);var l=o(n,i,a),u=[e-l,e+l],c=v(e,a,i,!0),h=[v(u[0],a,i,!0),v(u[1],a,i,!0)];u[0]a[1]&&(h[1]=1/0),t&&(h[0]===-(1/0)?this._showIndicator(c,h[1],"< ",l):h[1]===1/0?this._showIndicator(c,h[0],"> ",l):this._showIndicator(c,c,"≈ ",l));var d=this._hoverLinkDataIndices,p=[];(t||s(n))&&(p=this._hoverLinkDataIndices=n.findTargetDataIndices(h));var m=g.compressBatches(d,p);this._dispatchHighDown("downplay",f.convertDataIndex(m[0])),this._dispatchHighDown("highlight",f.convertDataIndex(m[1]))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,n=this.visualMapModel;if(t&&null!=t.dataIndex){var r=this.ecModel.getSeriesByIndex(t.seriesIndex);if(n.isTargetSeries(r)){var a=r.getData(t.dataType),i=a.getDimension(n.getDataDimension(a)),o=a.get(i,t.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",f.convertDataIndex(e)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,n,r){var a=u.getTransform(t,r?null:this.group);return u[c.isArray(e)?"applyTransform":"transformDirection"](e,a,n)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});e.exports=S},function(e,t,n){var r=n(239),a=n(253),i=n(241),o=n(306),s=n(236),l=n(437);e.exports=s.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,n,r){return this.visualMapModel=e,e.get("show")===!1?void this.group.removeAll():void this.doRender.apply(this,arguments)},renderBackground:function(e){var t=this.visualMapModel,n=i.normalizeCssArray(t.get("padding")||0),r=e.getBoundingRect();e.add(new a.Rect({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,n){function a(e){return u[e]}function i(e,t){u[e]=t}n=n||{};var o=n.forceState,s=this.visualMapModel,u={};if("symbol"===t&&(u.symbol=s.get("itemSymbol")),"color"===t){var c=s.get("contentColor");u.color=c}var h=s.controllerVisuals[o||s.getValueState(e)],d=l.prepareVisualTypes(h);return r.each(d,function(r){var o=h[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",o=h.__alphaForOpacity), +l.dependsOn(r,t)&&o&&o.applyVisual(e,a,i)}),u[t]},positionGroup:function(e){var t=this.visualMapModel,n=this.api;o.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:r.noop})},function(e,t,n){var r=n(239),a=n(306),i={getItemAlign:function(e,t,n){var r=e.option,i=r.align;if(null!=i&&"auto"!==i)return i;for(var o={width:t.getWidth(),height:t.getHeight()},s="horizontal"===r.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],c=[0,null,10],h={},d=0;d<3;d++)h[l[1-s][d]]=c[d],h[u[d]]=2===d?n[0]:r[u[d]];var p=[["x","width",3],["y","height",0]][s],f=a.getLayoutRect(h,o,r.padding);return u[(f.margin[p[2]]||0)+f[p[0]]+.5*f[p[1]]<.5*o[p[1]]?0:1]},convertDataIndex:function(e){return r.each(e||[],function(t){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null)}),e}};e.exports=i},function(e,t,n){var r=n(236),a={type:"selectDataRange",event:"dataRangeSelected",update:"update"};r.registerAction(a,function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(t){t.setSelected(e.selected)})})},function(e,t,n){n(236).registerPreprocessor(n(611)),n(612),n(613),n(622),n(623),n(620)},function(e,t,n){function r(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var a=n(615),i=n(239),o=n(437),s=n(616),l=n(242).reformIntervals,u=a.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(e,t){u.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetTargetSeries(),this.resetExtent();var n=this._mode=this._determineMode();c[this._mode].call(this),this._resetSelected(e,t);var r=this.option.categories;this.resetVisual(function(e,t){"categories"===n?(e.mappingMethod="category",e.categories=i.clone(r)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=i.map(this._pieceList,function(e){var e=i.clone(e);return"inRange"!==t&&(e.visual=null),e}))})},completeVisualOption:function(){function e(e,t,n){return e&&e[t]&&(i.isObject(e[t])?e[t].hasOwnProperty(n):e[t]===n)}var t=this.option,n={},r=o.listVisualTypes(),l=this.isCategory();i.each(t.pieces,function(e){i.each(r,function(t){e.hasOwnProperty(t)&&(n[t]=1)})}),i.each(n,function(n,r){var a=0;i.each(this.stateList,function(n){a|=e(t,n,r)||e(t.target,n,r)},this),!a&&i.each(this.stateList,function(e){(t[e]||(t[e]={}))[r]=s.get(r,"inRange"===e?"active":"inactive",l)})},this),a.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,t){var n=this.option,r=this._pieceList,a=(t?n:e).selected||{};if(n.selected=a,i.each(r,function(e,t){var n=this.getSelectedMapKey(e);a.hasOwnProperty(n)||(a[n]=!0)},this),"single"===n.selectedMode){var o=!1;i.each(r,function(e,t){var n=this.getSelectedMapKey(e);a[n]&&(o?a[n]=!1:o=!0)},this)}},getSelectedMapKey:function(e){return"categories"===this._mode?e.value+"":e.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=i.clone(e)},getValueState:function(e){var t=o.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries(function(n){var r=[],a=n.getData();a.each(this.getDataDimension(a),function(t,n){var a=o.findPieceIndex(t,this._pieceList);a===e&&r.push(n)},!0,this),t.push({seriesId:n.id,dataIndex:r})},this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-(1/0)&&n[1]===1/0?0:(n[0]+n[1])/2}return t},getVisualMeta:function(e){function t(t,i){var o=a.getRepresentValue({interval:t});i||(i=a.getValueState(o));var s=e(o,i);t[0]===-(1/0)?r[0]=s:t[1]===1/0?r[1]=s:n.push({value:t[0],color:s},{value:t[1],color:s})}if(!this.isCategory()){var n=[],r=[],a=this,o=this._pieceList.slice();if(o.length){var s=o[0].interval[0];s!==-(1/0)&&o.unshift({interval:[-(1/0),s]}),s=o[o.length-1].interval[1],s!==1/0&&o.push({interval:[s,1/0]})}else o.push({interval:[-(1/0),1/0]});var l=-(1/0);return i.each(o,function(e){var n=e.interval;n&&(n[0]>l&&t([l,n[0]],"outOfRange"),t(n.slice()),l=n[1])},this),{stops:n,outerColors:r}}}}),c={splitNumber:function(){var e=this.option,t=this._pieceList,n=e.precision,r=this.getExtent(),a=e.splitNumber;a=Math.max(parseInt(a,10),1),e.splitNumber=a;for(var o=(r[1]-r[0])/a;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n);var s=0;e.minOpen&&t.push({index:s++,interval:[-(1/0),r[0]],close:[0,0]});for(var u=r[0],c=s+a;ss[1]&&console.warn("Piece "+n+"is illegal: "+s+" lower bound should not greater then uppper bound."),s[0]===s[1]&&l[0]&&l[1]&&(r.value=s[0])}r.visual=o.retrieveVisuals(e),t.push(r)},this),r(e,t),l(t),i.each(t,function(e){var t=e.close,n=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)},this)}};e.exports=u},function(e,t,n){var r=n(618),a=n(239),i=n(253),o=n(346),s=n(306),l=n(619),u=r.extend({type:"visualMap.piecewise",doRender:function(){function e(e){var o=e.piece,s=new i.Group;s.onclick=a.bind(this._onItemClick,this,o),this._enableHoverLink(s,e.indexInModelPieceList);var d=n.getRepresentValue(o);if(this._createItemSymbol(s,d,[0,0,h[0],h[1]]),f){var p=this.visualMapModel.getValueState(d);s.add(new i.Text({style:{x:"right"===c?-r:h[0]+r,y:h[1]/2,text:o.text,textVerticalAlign:"middle",textAlign:c,textFont:l,fill:u,opacity:"outOfRange"===p?.5:1}}))}t.add(s)}var t=this.group;t.removeAll();var n=this.visualMapModel,r=n.get("textGap"),o=n.textStyleModel,l=o.getFont(),u=o.getTextColor(),c=this._getItemAlign(),h=n.itemSize,d=this._getViewData(),p=d.endsText,f=a.retrieve(n.get("showLabel",!0),!p);p&&this._renderEndsText(t,p[0],h,f,c),a.each(d.viewPieceList,e,this),p&&this._renderEndsText(t,p[1],h,f,c),s.box(n.get("orient"),t,n.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(e,t){function n(e){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:e,batch:l.convertDataIndex(n.findTargetDataIndices(t))})}e.on("mouseover",a.bind(n,this,"highlight")).on("mouseout",a.bind(n,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return l.getItemAlign(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(e,t,n,r,a){if(t){var o=new i.Group,s=this.visualMapModel.textStyleModel;o.add(new i.Text({style:{x:r?"right"===a?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:r?a:"center",text:t,textFont:s.getFont(),fill:s.getTextColor()}})),e.add(o)}},_getViewData:function(){var e=this.visualMapModel,t=a.map(e.getPieceList(),function(e,t){return{piece:e,indexInModelPieceList:t}}),n=e.get("text"),r=e.get("orient"),i=e.get("inverse");return("horizontal"===r?i:!i)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},_createItemSymbol:function(e,t,n){e.add(o.createSymbol(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,n=t.option,r=a.clone(n.selected),i=t.getSelectedMapKey(e);"single"===n.selectedMode?(r[i]=!0,a.each(r,function(e,t){r[t]=t===i})):r[i]=!r[i],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}});e.exports=u},function(e,t,n){n(625),n(627),n(236).registerPreprocessor(function(e){e.markPoint=e.markPoint||{}})},function(e,t,n){e.exports=n(626).extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"inside"},emphasis:{show:!0}},itemStyle:{normal:{borderWidth:2}}}})},function(e,t,n){function r(e){a.defaultEmphasis(e.label,a.LABEL_OPTIONS)}var a=n(240),i=n(239),o=n(237),s=n(241),l=s.addCommas,u=s.encodeHTML,c=n(236).extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,n,r){if(__DEV__&&"marker"===this.type)throw new Error("Marker component is abstract component. Use markLine, markPoint, markArea instead.");this.mergeDefaultAndTheme(e,n),this.mergeOption(e,n,r.createdBySelf,!0)},isAnimationEnabled:function(){if(o.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t,n,a){var o=this.constructor,s=this.mainType+"Model";n||t.eachSeries(function(e){var n=e.get(this.mainType),l=e[s];return n&&n.data?(l?l.mergeOption(n,t,!0):(a&&r(n),i.each(n.data,function(e){e instanceof Array?(r(e[0]),r(e[1])):r(e)}),l=new o(n,this,t),i.extend(l,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),l.__hostSeries=e),void(e[s]=l)):void(e[s]=null)},this)},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),r=i.isArray(n)?i.map(n,l).join(", "):l(n),a=t.getName(e),o=u(this.name);return(null!=n||a)&&(o+="
"),a&&(o+=u(a),null!=n&&(o+=" : ")),null!=n&&(o+=u(r)),o},getData:function(){return this._data},setData:function(e){this._data=e}});i.mixin(c,a.dataFormatMixin),e.exports=c},function(e,t,n){function r(e,t,n){var r=t.coordinateSystem;e.each(function(a){var i,o=e.getItemModel(a),l=s.parsePercent(o.get("x"),n.getWidth()),u=s.parsePercent(o.get("y"),n.getHeight());if(isNaN(l)||isNaN(u)){if(t.getMarkerPosition)i=t.getMarkerPosition(e.getValues(e.dimensions,a));else if(r){var c=e.get(r.dimensions[0],a),h=e.get(r.dimensions[1],a);i=r.dataToPoint([c,h])}}else i=[l,u];isNaN(l)||(i[0]=l),isNaN(u)||(i[1]=u),e.setItemLayout(a,i)})}function a(e,t,n){var r;r=e?o.map(e&&e.dimensions,function(e){var n=t.getData().getDimensionInfo(t.coordDimToDataDim(e)[0])||{};return n.name=e,n}):[{name:"value",type:"float"}];var a=new l(r,n),i=o.map(n.get("data"),o.curry(u.dataTransform,t));return e&&(i=o.filter(i,o.curry(u.dataFilter,e))),a.initData(i,null,e?u.dimValueGetter:function(e){return e.value}),a}var i=n(351),o=n(239),s=n(242),l=n(333),u=n(628);n(629).extend({type:"markPoint",updateLayout:function(e,t,n){t.eachSeries(function(e){var t=e.markPointModel;t&&(r(t.getData(),e,n),this.markerGroupMap.get(e.name).updateLayout(t))},this)},renderSeries:function(e,t,n,o){var s=e.coordinateSystem,l=e.name,u=e.getData(),c=this.markerGroupMap,h=c.get(l)||c.set(l,new i),d=a(s,e,t);t.setData(d),r(t.getData(),e,o),d.each(function(e){var n=d.getItemModel(e),r=n.getShallow("symbolSize");"function"==typeof r&&(r=r(t.getRawValue(e),t.getDataParams(e))),d.setItemVisual(e,{symbolSize:r,color:n.get("itemStyle.normal.color")||u.getVisual("color"),symbol:n.getShallow("symbol")})}),h.updateData(d),this.group.add(h.group),d.eachItemGraphicEl(function(e){e.traverse(function(e){e.dataModel=t})}),h.__keep=!0,h.group.silent=t.get("silent")||e.get("silent")}})},function(e,t,n){function r(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function a(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function i(e,t,n){var r=-1;do r=Math.max(l.getPrecision(e.get(t,n)),r),e=e.stackedOn;while(e);return r}function o(e,t,n,r,a,o){var s=[],l=m(t,r,e),u=t.indicesOfNearest(r,l,!0)[0];s[a]=t.get(n,u,!0),s[o]=t.get(r,u,!0);var c=i(t,r,u);return c>=0&&(s[o]=+s[o].toFixed(c)),s}var s=n(239),l=n(242),u=s.indexOf,c=s.curry,h={min:c(o,"min"),max:c(o,"max"),average:c(o,"average")},d=function(e,t){var n=e.getData(),r=e.coordinateSystem;if(t&&!a(t)&&!s.isArray(t.coord)&&r){var i=r.dimensions,o=p(t,n,r,e);if(t=s.clone(t),t.type&&h[t.type]&&o.baseAxis&&o.valueAxis){var l=u(i,o.baseAxis.dim),c=u(i,o.valueAxis.dim);t.coord=h[t.type](n,o.baseDataDim,o.valueDataDim,l,c),t.value=t.coord[c]}else{for(var d=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],f=0;f<2;f++)if(h[d[f]]){var g=e.coordDimToDataDim(i[f])[0];d[f]=m(n,g,d[f])}t.coord=d}}return t},p=function(e,t,n,r){var a={};return null!=e.valueIndex||null!=e.valueDim?(a.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,a.valueAxis=n.getAxis(r.dataDimToCoordDim(a.valueDataDim)),a.baseAxis=n.getOtherAxis(a.valueAxis),a.baseDataDim=r.coordDimToDataDim(a.baseAxis.dim)[0]):(a.baseAxis=r.getBaseAxis(),a.valueAxis=n.getOtherAxis(a.baseAxis),a.baseDataDim=r.coordDimToDataDim(a.baseAxis.dim)[0],a.valueDataDim=r.coordDimToDataDim(a.valueAxis.dim)[0]),a},f=function(e,t){return!(e&&e.containData&&t.coord&&!r(t))||e.containData(t.coord)},g=function(e,t,n,r){return r<2?e.coord&&e.coord[r]:e.value},m=function(e,t,n){if("average"===n){var r=0,a=0;return e.each(t,function(e,t){isNaN(e)||(r+=e,a++)},!0),r/a}return e.getDataExtent(t,!0)["max"===n?1:0]};e.exports={dataTransform:d,dataFilter:f,dimValueGetter:g,getAxisInfo:p,numCalculate:m}},function(e,t,n){var r=n(239);e.exports=n(236).extendComponentView({type:"marker",init:function(){this.markerGroupMap=r.createHashMap()},render:function(e,t,n){var r=this.markerGroupMap;r.each(function(e){e.__keep=!1});var a=this.type+"Model";t.eachSeries(function(e){var r=e[a];r&&this.renderSeries(e,r,t,n)},this),r.each(function(e){!e.__keep&&this.group.remove(e.group)},this)},renderSeries:function(){}})},function(e,t,n){n(631),n(632),n(236).registerPreprocessor(function(e){e.markLine=e.markLine||{}})},function(e,t,n){e.exports=n(626).extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"end"},emphasis:{show:!0}},lineStyle:{normal:{type:"dashed"},emphasis:{width:3}},animationEasing:"linear"}})},function(e,t,n){function r(e){return!isNaN(e)&&!isFinite(e)}function a(e,t,n,a){var i=1-e,o=a.dimensions[e];return r(t[i])&&r(n[i])&&t[e]===n[e]&&a.getAxis(o).containData(t[e])}function i(e,t){if("cartesian2d"===e.type){var n=t[0].coord,r=t[1].coord;if(n&&r&&(a(1,n,r,e)||a(0,n,r,e)))return!0}return h.dataFilter(e,t[0])&&h.dataFilter(e,t[1])}function o(e,t,n,a,i){var o,s=a.coordinateSystem,l=e.getItemModel(t),u=c.parsePercent(l.get("x"),i.getWidth()),h=c.parsePercent(l.get("y"),i.getHeight());if(isNaN(u)||isNaN(h)){if(a.getMarkerPosition)o=a.getMarkerPosition(e.getValues(e.dimensions,t));else{var d=s.dimensions,p=e.get(d[0],t),f=e.get(d[1],t);o=s.dataToPoint([p,f])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y"),d=s.dimensions;r(e.get(d[0],t))?o[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):r(e.get(d[1],t))&&(o[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(u)||(o[0]=u),isNaN(h)||(o[1]=h)}else o=[u,h];e.setItemLayout(t,o)}function s(e,t,n){var r;r=e?l.map(e&&e.dimensions,function(e){var n=t.getData().getDimensionInfo(t.coordDimToDataDim(e)[0])||{};return n.name=e,n}):[{name:"value",type:"float"}];var a=new u(r,n),o=new u(r,n),s=new u([],n),c=l.map(n.get("data"),l.curry(p,t,e,n));e&&(c=l.filter(c,l.curry(i,e)));var d=e?h.dimValueGetter:function(e){return e.value};return a.initData(l.map(c,function(e){return e[0]}),null,d),o.initData(l.map(c,function(e){return e[1]}),null,d),s.initData(l.map(c,function(e){return e[2]})),s.hasItemOption=!0,{from:a,to:o,line:s}}var l=n(239),u=n(333),c=n(242),h=n(628),d=n(444),p=function(e,t,n,r){var a=e.getData(),i=r.type;if(!l.isArray(r)&&("min"===i||"max"===i||"average"===i||null!=r.xAxis||null!=r.yAxis)){var o,s,u;if(null!=r.yAxis||null!=r.xAxis)s=null!=r.yAxis?"y":"x",o=t.getAxis(s),u=l.retrieve(r.yAxis,r.xAxis);else{var c=h.getAxisInfo(r,a,t,e);s=c.valueDataDim,o=c.valueAxis,u=h.numCalculate(a,s,i)}var d="x"===s?0:1,p=1-d,f=l.clone(r),g={};f.type=null,f.coord=[],g.coord=[],f.coord[p]=-(1/0),g.coord[p]=1/0;var m=n.get("precision");m>=0&&"number"==typeof u&&(u=+u.toFixed(m)),f.coord[d]=g.coord[d]=u,r=[f,g,{type:i,valueIndex:r.valueIndex,value:u}]}return r=[h.dataTransform(e,r[0]),h.dataTransform(e,r[1]),l.extend({},r[2])],r[2].type=r[2].type||"",l.merge(r[2],r[0]),l.merge(r[2],r[1]),r};n(629).extend({type:"markLine",updateLayout:function(e,t,n){t.eachSeries(function(e){var t=e.markLineModel;if(t){var r=t.getData(),a=t.__from,i=t.__to;a.each(function(t){o(a,t,!0,e,n),o(i,t,!1,e,n)}),r.each(function(e){r.setItemLayout(e,[a.getItemLayout(e),i.getItemLayout(e)])}),this.markerGroupMap.get(e.name).updateLayout()}},this)},renderSeries:function(e,t,n,r){function a(t,n,a){var i=t.getItemModel(n);o(t,n,a,e,r),t.setItemVisual(n,{symbolSize:i.get("symbolSize")||x[a?0:1],symbol:i.get("symbol",!0)||y[a?0:1],color:i.get("itemStyle.normal.color")||c.getVisual("color")})}var i=e.coordinateSystem,u=e.name,c=e.getData(),h=this.markerGroupMap,p=h.get(u)||h.set(u,new d);this.group.add(p.group);var f=s(i,e,t),g=f.from,m=f.to,v=f.line;t.__from=g,t.__to=m,t.setData(v);var y=t.get("symbol"),x=t.get("symbolSize");l.isArray(y)||(y=[y,y]),"number"==typeof x&&(x=[x,x]),f.from.each(function(e){a(g,e,!0),a(m,e,!1)}),v.each(function(e){var t=v.getItemModel(e).get("lineStyle.normal.color");v.setItemVisual(e,{color:t||g.getItemVisual(e,"color")}),v.setItemLayout(e,[g.getItemLayout(e),m.getItemLayout(e)]),v.setItemVisual(e,{fromSymbolSize:g.getItemVisual(e,"symbolSize"),fromSymbol:g.getItemVisual(e,"symbol"),toSymbolSize:m.getItemVisual(e,"symbolSize"),toSymbol:m.getItemVisual(e,"symbol")})}),p.updateData(v),f.line.eachItemGraphicEl(function(e,n){e.traverse(function(e){e.dataModel=t})}),p.__keep=!0,p.group.silent=t.get("silent")||e.get("silent")}})},function(e,t,n){n(634),n(635),n(236).registerPreprocessor(function(e){e.markArea=e.markArea||{}})},function(e,t,n){e.exports=n(626).extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{normal:{show:!0,position:"top"},emphasis:{show:!0,position:"top"}},itemStyle:{normal:{borderWidth:0}}}})},function(e,t,n){function r(e){return!isNaN(e)&&!isFinite(e)}function a(e,t,n,a){var i=1-e;return r(t[i])&&r(n[i])}function i(e,t){var n=t.coord[0],r=t.coord[1];return!("cartesian2d"!==e.type||!n||!r||!a(1,n,r,e)&&!a(0,n,r,e))||(p.dataFilter(e,{coord:n,x:t.x0,y:t.y0})||p.dataFilter(e,{coord:r,x:t.x1,y:t.y1}))}function o(e,t,n,a,i){var o,s=a.coordinateSystem,l=e.getItemModel(t),u=c.parsePercent(l.get(n[0]),i.getWidth()),h=c.parsePercent(l.get(n[1]),i.getHeight());if(isNaN(u)||isNaN(h)){if(a.getMarkerPosition)o=a.getMarkerPosition(e.getValues(n,t));else{var d=e.get(n[0],t),p=e.get(n[1],t);o=s.dataToPoint([d,p],!0)}if("cartesian2d"===s.type){var f=s.getAxis("x"),g=s.getAxis("y"),d=e.get(n[0],t),p=e.get(n[1],t);r(d)?o[0]=f.toGlobalCoord(f.getExtent()["x0"===n[0]?0:1]):r(p)&&(o[1]=g.toGlobalCoord(g.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(o[0]=u),isNaN(h)||(o[1]=h)}else o=[u,h];return o}function s(e,t,n){var r,a,o=["x0","y0","x1","y1"];e?(r=l.map(e&&e.dimensions,function(e){var n=t.getData().getDimensionInfo(t.coordDimToDataDim(e)[0])||{};return n.name=e,n}),a=new u(l.map(o,function(e,t){return{name:e,type:r[t%2].type}}),n)):(r=[{name:"value",type:"float"}],a=new u(r,n));var s=l.map(n.get("data"),l.curry(f,t,e,n));e&&(s=l.filter(s,l.curry(i,e)));var c=e?function(e,t,n,r){return e.coord[Math.floor(r/2)][r%2]}:function(e){return e.value};return a.initData(s,null,c),a.hasItemOption=!0,a}var l=n(239),u=n(333),c=n(242),h=n(253),d=n(266),p=n(628),f=function(e,t,n,r){var a=p.dataTransform(e,r[0]),i=p.dataTransform(e,r[1]),o=l.retrieve,s=a.coord,u=i.coord;s[0]=o(s[0],-(1/0)),s[1]=o(s[1],-(1/0)),u[0]=o(u[0],1/0),u[1]=o(u[1],1/0);var c=l.mergeAll([{},a,i]);return c.coord=[a.coord,i.coord],c.x0=a.x,c.y0=a.y,c.x1=i.x,c.y1=i.y,c},g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];n(629).extend({type:"markArea",updateLayout:function(e,t,n){t.eachSeries(function(e){var t=e.markAreaModel;if(t){var r=t.getData();r.each(function(t){var a=l.map(g,function(a){return o(r,t,a,e,n)});r.setItemLayout(t,a);var i=r.getItemGraphicEl(t);i.setShape("points",a)})}},this)},renderSeries:function(e,t,n,r){var a=e.coordinateSystem,i=e.name,u=e.getData(),c=this.markerGroupMap,p=c.get(i)||c.set(i,{group:new h.Group});this.group.add(p.group),p.__keep=!0;var f=s(a,e,t);t.setData(f),f.each(function(t){f.setItemLayout(t,l.map(g,function(n){return o(f,t,n,e,r)})),f.setItemVisual(t,{color:u.getVisual("color")})}),f.diff(p.__data).add(function(e){var t=new h.Polygon({shape:{points:f.getItemLayout(e)}});f.setItemGraphicEl(e,t),p.group.add(t)}).update(function(e,n){var r=p.__data.getItemGraphicEl(n);h.updateProps(r,{shape:{points:f.getItemLayout(e)}},t,e),p.group.add(r),f.setItemGraphicEl(e,r)}).remove(function(e){var t=p.__data.getItemGraphicEl(e);p.group.remove(t)}).execute(),f.eachItemGraphicEl(function(e,n){var r=f.getItemModel(n),a=r.getModel("label.normal"),i=r.getModel("label.emphasis"),o=f.getItemVisual(n,"color");e.useStyle(l.defaults(r.getModel("itemStyle.normal").getItemStyle(),{fill:d.modifyAlpha(o,.4),stroke:o})),e.hoverStyle=r.getModel("itemStyle.normal").getItemStyle();var s=f.getName(n)||"",u=o||e.style.fill;a.getShallow("show")?(h.setText(e.style,a,u),e.style.text=l.retrieve(t.getFormattedLabel(n,"normal"),s)):e.style.text="",i.getShallow("show")?(h.setText(e.hoverStyle,i,u),e.hoverStyle.text=l.retrieve(t.getFormattedLabel(n,"emphasis"),s)):e.hoverStyle.text="",h.setHoverStyle(e,{}),e.dataModel=t}),p.__data=f,p.group.silent=t.get("silent")||e.get("silent")}})},function(e,t,n){var r=n(236);r.registerPreprocessor(n(637)),n(638),n(639),n(640),n(642)},function(e,t,n){function r(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),a(e),i(e,"controlPosition")){var r=e.controlStyle||(e.controlStyle={});i(r,"position")||(r.position=e.controlPosition),"none"!==r.position||i(r,"show")||(r.show=!1,delete r.position),delete e.controlPosition}o.each(e.data||[],function(e){o.isObject(e)&&!o.isArray(e)&&(!i(e,"value")&&i(e,"name")&&(e.value=e.name),a(e))})}function a(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),r=e.label||e.label||{},a=r.normal||(r.normal={}),s={normal:1,emphasis:1};o.each(r,function(e,t){s[t]||i(a,t)||(a[t]=e)}),n.label&&!i(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function i(e,t){return e.hasOwnProperty(t)}var o=n(239);e.exports=function(e){var t=e&&e.timeline;o.isArray(t)||(t=t?[t]:[]),o.each(t,function(e){e&&r(e)})}},function(e,t,n){n(304).registerSubTypeDefaulter("timeline",function(){return"slider"})},function(e,t,n){var r=n(236),a=n(239);r.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(e,t){var n=t.getComponent("timeline");return n&&null!=e.currentIndex&&(n.setCurrentIndex(e.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),t.resetOption("timeline"),a.defaults({currentIndex:n.option.currentIndex},e)}),r.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)})},function(e,t,n){var r=n(641),a=n(239),i=n(240),o=r.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",normal:{show:!0,interval:"auto",rotate:0,textStyle:{color:"#304654"}},emphasis:{show:!0,textStyle:{color:"#c23531"}}},itemStyle:{normal:{color:"#304654",borderWidth:1},emphasis:{color:"#c23531"}},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",normal:{color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});a.mixin(o,i.dataFormatMixin),e.exports=o},function(e,t,n){var r=n(304),a=n(333),i=n(239),o=n(240),s=r.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{normal:{},emphasis:{}},label:{normal:{textStyle:{color:"#000"}},emphasis:{}},data:[]},init:function(e,t,n){this._data,this._names,this.mergeDefaultAndTheme(e,n),this._initData()},mergeOption:function(e){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],n=e.axisType,r=this._names=[];if("category"===n){var s=[];i.each(t,function(e,t){var n,a=o.getDataItemValue(e);i.isObject(e)?(n=i.clone(e),n.value=t):n=t,s.push(n),i.isString(a)||null!=a&&!isNaN(a)||(a=""),r.push(a+"")}),t=s}var l={category:"ordinal",time:"time"}[n]||"number",u=this._data=new a([{name:"value",type:l}],this);u.initData(t,r)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});e.exports=s},function(e,t,n){function r(e,t){return u.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function a(e,t,n,r){var a=l.makePath(e.get(t).replace(/^path:\/\//,""),s.clone(r||{}),new f(n[0],n[1],n[2],n[3]),"center");return a}function i(e,t,n,r,a,i){var o=t.get("color");if(a)a.setColor(o),n.add(a),i&&i.onUpdate(a);else{var l=e.get("symbol");a=d.createSymbol(l,-1,-1,2,2,o),a.setStyle("strokeNoScale",!0),n.add(a),i&&i.onCreate(a)}var u=t.getItemStyle(["color","symbol","symbolSize"]);a.setStyle(u),r=s.merge({rectHover:!0,z2:100},r,!0);var c=e.get("symbolSize");c=c instanceof Array?c.slice():[+c,+c],c[0]/=2,c[1]/=2,r.scale=c;var h=e.get("symbolOffset");if(h){var p=r.position=r.position||[0,0];p[0]+=m.parsePercent(h[0],c[0]),p[1]+=m.parsePercent(h[1],c[1])}var f=e.get("symbolRotate");return r.rotation=(f||0)*Math.PI/180||0,a.attr(r),a.updateTransform(),a}function o(e,t,n,r,a){if(!e.dragging){var i=r.getModel("checkpointStyle"),o=n.dataToCoord(r.getData().get(["value"],t));a||!i.get("animation",!0)?e.attr({position:[o,0]}):(e.stopAnimation(!0),e.animateTo({position:[o,0]},i.get("animationDuration",!0),i.get("animationEasing",!0)))}}var s=n(239),l=n(253),u=n(306),c=n(643),h=n(644),d=n(346),p=n(336),f=n(244),g=n(246),m=n(242),v=n(241),y=v.encodeHTML,x=s.bind,_=s.each,b=Math.PI;e.exports=c.extend({type:"timeline.slider",init:function(e,t){this.api=t,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,n,r){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var a=this._layout(e,n),i=this._createGroup("mainGroup"),o=this._createGroup("labelGroup"),s=this._axis=this._createAxis(a,e);e.formatTooltip=function(e){return y(s.scale.getLabel(e))},_(["AxisLine","AxisTick","Control","CurrentPointer"],function(t){this["_render"+t](a,i,s,e)},this),this._renderAxisLabel(a,o,s,e),this._position(a,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(e,t){var n=e.get("label.normal.position"),a=e.get("orient"),i=r(e,t);null==n||"auto"===n?n="horizontal"===a?i.y+i.height/2=0||"+"===n?"left":"right"},s={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},l={horizontal:0,vertical:b/2},u="vertical"===a?i.height:i.width,c=e.getModel("controlStyle"),h=c.get("show"),d=h?c.get("itemSize"):0,p=h?c.get("itemGap"):0,f=d+p,g=e.get("label.normal.rotate")||0;g=g*b/180;var m,v,y,x,_=c.get("position",!0),h=c.get("show",!0),w=h&&c.get("showPlayBtn",!0),S=h&&c.get("showPrevBtn",!0),M=h&&c.get("showNextBtn",!0),C=0,T=u;return"left"===_||"bottom"===_?(w&&(m=[0,0],C+=f),S&&(v=[C,0],C+=f),M&&(y=[T-d,0],T-=f)):(w&&(m=[T-d,0],T-=f),S&&(v=[0,0],C+=f),M&&(y=[T-d,0],T-=f)),x=[C,T],e.get("inverse")&&x.reverse(),{viewRect:i,mainLength:u,orient:a,rotation:l[a],labelRotation:g,labelPosOpt:n,labelAlign:o[a],labelBaseline:s[a],playPosition:m,prevBtnPosition:v,nextBtnPosition:y,axisExtent:x,controlSize:d,controlGap:p}},_position:function(e,t){function n(e){var t=e.position;e.origin=[h[0][0]-t[0],h[1][0]-t[1]]}function r(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function a(e,t,n,r,a){e[r]+=n[r][a]-t[r][a]}var i=this._mainGroup,o=this._labelGroup,s=e.viewRect;if("vertical"===e.orient){var l=g.create(),u=s.x,c=s.y+s.height;g.translate(l,l,[-u,-c]),g.rotate(l,l,-b/2),g.translate(l,l,[u,c]),s=s.clone(),s.applyTransform(l)}var h=r(s),d=r(i.getBoundingRect()),p=r(o.getBoundingRect()),f=i.position,m=o.position;m[0]=f[0]=h[0][0];var v=e.labelPosOpt;if(isNaN(v)){var y="+"===v?0:1;a(f,d,h,1,y),a(m,p,h,1,1-y)}else{var y=v>=0?0:1;a(f,d,h,1,y),m[1]=f[1]+v}i.attr("position",f),o.attr("position",m),i.rotation=o.rotation=e.rotation,n(i),n(o)},_createAxis:function(e,t){var n=t.getData(),r=t.get("axisType"),a=p.createScaleByModel(t,r),i=n.getDataExtent("value");a.setExtent(i[0],i[1]),this._customizeScale(a,n),a.niceTicks();var o=new h("value",a,e.axisExtent,r);return o.model=t, +o},_customizeScale:function(e,t){e.getTicks=function(){return t.mapArray(["value"],function(e){return e})},e.getTicksLabels=function(){return s.map(this.getTicks(),e.getLabel,e)}},_createGroup:function(e){var t=this["_"+e]=new l.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,n,r){var a=n.getExtent();r.get("lineStyle.show")&&t.add(new l.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:s.extend({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,n,r){var a=r.getData(),o=n.scale.getTicks();_(o,function(e,o){var s=n.dataToCoord(e),u=a.getItemModel(o),c=u.getModel("itemStyle.normal"),h=u.getModel("itemStyle.emphasis"),d={position:[s,0],onclick:x(this._changeTimeline,this,o)},p=i(u,c,t,d);l.setHoverStyle(p,h.getItemStyle()),u.get("tooltip")?(p.dataIndex=o,p.dataModel=r):p.dataIndex=p.dataModel=null},this)},_renderAxisLabel:function(e,t,n,r){var a=r.getModel("label.normal");if(a.get("show")){var i=r.getData(),o=n.scale.getTicks(),s=p.getFormattedLabels(n,a.get("formatter")),u=n.getLabelInterval();_(o,function(r,a){if(!n.isLabelIgnored(a,u)){var o=i.getItemModel(a),c=o.getModel("label.normal.textStyle"),h=o.getModel("label.emphasis.textStyle"),d=n.dataToCoord(r),p=new l.Text({style:{text:s[a],textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline,textFont:c.getFont(),fill:c.getTextColor()},position:[d,0],rotation:e.labelRotation-e.rotation,onclick:x(this._changeTimeline,this,a),silent:!1});t.add(p),l.setHoverStyle(p,h.getItemStyle())}},this)}},_renderControl:function(e,t,n,r){function i(e,n,i,d){if(e){var p={position:e,origin:[o/2,0],rotation:d?-s:0,rectHover:!0,style:u,onclick:i},f=a(r,n,h,p);t.add(f),l.setHoverStyle(f,c)}}var o=e.controlSize,s=e.rotation,u=r.getModel("controlStyle.normal").getItemStyle(),c=r.getModel("controlStyle.emphasis").getItemStyle(),h=[0,-o/2,o,o],d=r.getPlayState(),p=r.get("inverse",!0);i(e.nextBtnPosition,"controlStyle.nextIcon",x(this._changeTimeline,this,p?"-":"+")),i(e.prevBtnPosition,"controlStyle.prevIcon",x(this._changeTimeline,this,p?"+":"-")),i(e.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),x(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(e,t,n,r){var a=r.getData(),s=r.getCurrentIndex(),l=a.getItemModel(s).getModel("checkpointStyle"),u=this,c={onCreate:function(e){e.draggable=!0,e.drift=x(u._handlePointerDrag,u),e.ondragend=x(u._handlePointerDragend,u),o(e,s,n,r,!0)},onUpdate:function(e){o(e,s,n,r)}};this._currentPointer=i(l,l,this._mainGroup,{},this._currentPointer,c)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var n=this._toAxisCoord(e)[0],r=this._axis,a=m.asc(r.getExtent().slice());n>a[1]&&(n=a[1]),nn.getHeight()&&(r.textPosition="top",s=!0);var l=s?-5-a.height:g+8;i+a.width/2>n.getWidth()?(r.textPosition=["100%",l],r.textAlign="right"):i-a.width/2<0&&(r.textPosition=[0,l],r.textAlign="left")}})}},updateView:function(e,t,n,r){i.each(this._features,function(e){e.updateView&&e.updateView(e.model,t,n,r)})},updateLayout:function(e,t,n,r){i.each(this._features,function(e){e.updateLayout&&e.updateLayout(e.model,t,n,r)})},remove:function(e,t){i.each(this._features,function(n){n.remove&&n.remove(e,t)}),this.group.removeAll()},dispose:function(e,t){i.each(this._features,function(n){n.dispose&&n.dispose(e,t)})}})}).call(t,n(112))},function(e,t,n){function r(e){this.model=e}var a=n(237);r.defaultOption={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:"保存为图片",type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:["右键另存为图片"]},r.prototype.unusable=!a.canvasSupported;var i=r.prototype;i.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",i=document.createElement("a"),o=n.get("type",!0)||"png";i.download=r+"."+o,i.target="_blank";var s=t.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if(i.href=s,"function"!=typeof MouseEvent||a.browser.ie||a.browser.edge){var l=n.get("lang"),u='',c=window.open();c.document.write(u)}else{var h=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});i.dispatchEvent(h)}},n(590).register("saveAsImage",r),e.exports=r},function(e,t,n){"use strict";function r(e){this.model=e}var a=n(239);r.defaultOption={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",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"},option:{},seriesIndex:{}};var i=r.prototype;i.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return a.each(e.get("type"),function(e){t[e]&&(n[e]=t[e])}),n};var o={line:function(e,t,n,r){if("bar"===e)return a.merge({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get("option.line")||{},!0)},bar:function(e,t,n,r){if("line"===e)return a.merge({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get("option.bar")||{},!0)},stack:function(e,t,n,r){if("line"===e||"bar"===e)return a.merge({id:t,stack:"__ec_magicType_stack__"},r.get("option.stack")||{},!0)},tiled:function(e,t,n,r){if("line"===e||"bar"===e)return a.merge({id:t,stack:""},r.get("option.tiled")||{},!0)}},s=[["line","bar"],["stack","tiled"]];i.onclick=function(e,t,n){var r=this.model,i=r.get("seriesIndex."+n);if(o[n]){var l={series:[]},u=function(t){var i=t.subType,s=t.id,u=o[n](i,s,t,r);u&&(a.defaults(u,t.option),l.series.push(u));var c=t.coordinateSystem;if(c&&"cartesian2d"===c.type&&("line"===n||"bar"===n)){var h=c.getAxesByScale("ordinal")[0];if(h){var d=h.dim,p=d+"Axis",f=e.queryComponents({mainType:p,index:t.get(name+"Index"),id:t.get(name+"Id")})[0],g=f.componentIndex;l[p]=l[p]||[];for(var m=0;m<=g;m++)l[p][g]=l[p][g]||{};l[p][g].boundaryGap="bar"===n}}};a.each(s,function(e){a.indexOf(e,n)>=0&&a.each(e,function(e){r.setIconStatus(e,"normal")})}),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},u),t.dispatchAction({type:"changeMagicType",currentType:n,newOption:l})}};var l=n(236);l.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)}),n(590).register("magicType",r),e.exports=r},function(e,t,n){function r(e){var t={},n=[],r=[];return e.eachRawSeries(function(e){var a=e.coordinateSystem;if(!a||"cartesian2d"!==a.type&&"polar"!==a.type)n.push(e);else{var i=a.getBaseAxis();if("category"===i.type){var o=i.dim+"_"+i.index;t[o]||(t[o]={categoryAxis:i,valueAxis:a.getOtherAxis(i),series:[]},r.push({axisDim:i.dim,axisIndex:i.index})),t[o].series.push(e)}else n.push(e)}}),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function a(e){var t=[];return f.each(e,function(e,n){var r=e.categoryAxis,a=e.valueAxis,i=a.dim,o=[" "].concat(f.map(e.series,function(e){return e.name})),s=[r.model.getCategories()];f.each(e.series,function(e){s.push(e.getRawData().mapArray(i,function(e){return e}))});for(var l=[o.join(v)],u=0;u=0)return!0}function u(e){for(var t=e.split(/\n+/g),n=s(t.shift()).split(y),r=[],a=f.map(n,function(e){return{name:e,data:[]}}),i=0;i1?"emphasis":"normal")}function o(e,t,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var s=new u(a(e.option),t,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(i,function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"})).enableBrush(!!o&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}var s=n(239),l=n(479),u=n(585),c=n(652),h=n(473),d=s.each;n(653);var p="\0_ec_\0toolbox-dataZoom_";r.defaultOption={show:!0,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:{zoom:"区域缩放",back:"区域缩放还原"}};var f=r.prototype;f.render=function(e,t,n,r){this.model=e,this.ecModel=t,this.api=n,o(e,t,this,r,n),i(e,t)},f.onclick=function(e,t,n){g[n].call(this)},f.remove=function(e,t){this._brushController.unmount()},f.dispose=function(e,t){this._brushController.dispose()};var g={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(c.pop(this.ecModel))}};f._onBrush=function(e,t){function n(e,t,n){var a=t.getAxis(e),s=a.model,l=r(e,s,o),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(n=h(0,n.slice(),a.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(i[l.id]={dataZoomId:l.id,startValue:n[0],endValue:n[1]})}function r(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){var a=n.getAxisModel(e,t.componentIndex);a&&(r=n)}),r}if(t.isEnd&&e.length){var i={},o=this.ecModel;this._brushController.updateCovers([]);var s=new u(a(this.model.option),o,{include:["grid"]});s.matchOutputRanges(e,o,function(e,t,r){if("cartesian2d"===r.type){var a=e.brushType;"rect"===a?(n("x",r,t[0]),n("y",r,t[1])):n({lineX:"x",lineY:"y"}[a],r,t)}}),c.push(o,i),this._dispatchZoomAction(i)}},f._dispatchZoomAction=function(e){var t=[];d(e,function(e,n){t.push(s.clone(e))}),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},n(590).register("dataZoom",r),n(236).registerPreprocessor(function(e){function t(e,t){if(t){var a=e+"Index",i=t[a];null==i||"all"==i||s.isArray(i)||(i=i===!1||"none"===i?[]:[i]),n(e,function(t,n){if(null==i||"all"==i||s.indexOf(i,n)!==-1){var o={type:"select",$fromToolbox:!0,id:p+e+n};o[a]=n,r.push(o)}})}}function n(t,n){var r=e[t];s.isArray(r)||(r=r?[r]:[]),d(r,n)}if(e){var r=e.dataZoom||(e.dataZoom=[]);s.isArray(r)||(e.dataZoom=r=[r]);var a=e.toolbox;if(a&&(s.isArray(a)&&(a=a[0]),a&&a.feature)){var i=a.feature.dataZoom;t("xAxis",i),t("yAxis",i)}}}),e.exports=r},function(e,t,n){function r(e){var t=e[o];return t||(t=e[o]=[{}]),t}var a=n(239),i=a.each,o="\0_ec_hist_store",s={push:function(e,t){var n=r(e);i(t,function(t,r){for(var a=n.length-1;a>=0;a--){var i=n[a];if(i[r])break}if(a<0){var o=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(o){var s=o.getPercentRange();n[0][r]={dataZoomId:r,start:s[0],end:s[1]}}}}),n.push(t)},pop:function(e){var t=r(e),n=t[t.length-1];t.length>1&&t.pop();var a={};return i(n,function(e,n){for(var r=t.length-1;r>=0;r--){var e=t[r][n];if(e){a[n]=e;break}}}),a},clear:function(e){e[o]=null},count:function(e){return r(e).length}};e.exports=s},function(e,t,n){n(597),n(598),n(601),n(654),n(655),n(607),n(608)},function(e,t,n){var r=n(598);e.exports=r.extend({type:"dataZoom.select"})},function(e,t,n){e.exports=n(601).extend({type:"dataZoom.select"})},function(e,t,n){"use strict";function r(e){this.model=e}var a=n(652);r.defaultOption={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:"还原"};var i=r.prototype;i.onclick=function(e,t,n){a.clear(e),t.dispatchAction({type:"restore",from:this.uid})},n(590).register("restore",r),n(236).registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")}),e.exports=r},function(e,t,n){n(658),n(317).registerPainter("vml",n(660))},function(e,t,n){if(!n(237).canvasSupported){var r=n(245),a=n(244),i=n(271).CMD,o=n(266),s=n(243),l=n(270),u=n(256),c=n(284),h=n(285),d=n(255),p=n(271),f=n(301),g=n(659),m=Math.round,v=Math.sqrt,y=Math.abs,x=Math.cos,_=Math.sin,b=Math.max,w=r.applyTransform,S=",",M="progid:DXImageTransform.Microsoft",C=21600,T=C/2,A=1e5,I=1e3,E=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=C+","+C,e.coordorigin="0,0"},P=function(e){return String(e).replace(/&/g,"&").replace(/"/g,""")},L=function(e,t,n){return"rgb("+[e,t,n].join(",")+")"},D=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},k=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},O=function(e,t,n){return(parseFloat(e)||0)*A+(parseFloat(t)||0)*I+n},R=function(e,t){return"string"==typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e},N=function(e,t,n){var r=o.parse(t);n=+n,isNaN(n)&&(n=1),r&&(e.color=L(r[0],r[1],r[2]),e.opacity=n*r[3])},V=function(e){var t=o.parse(e);return[L(t[0],t[1],t[2]),t[3]]},z=function(e,t,n){var r=t.fill;if(null!=r)if(r instanceof f){var a,i=0,o=[0,0],s=0,l=1,u=n.getBoundingRect(),c=u.width,h=u.height;if("linear"===r.type){a="gradient";var d=n.transform,p=[r.x*c,r.y*h],g=[r.x2*c,r.y2*h];d&&(w(p,p,d),w(g,g,d));var m=g[0]-p[0],v=g[1]-p[1];i=180*Math.atan2(m,v)/Math.PI,i<0&&(i+=360),i<1e-6&&(i=0)}else{a="gradientradial";var p=[r.x*c,r.y*h],d=n.transform,y=n.scale,x=c,_=h;o=[(p[0]-u.x)/x,(p[1]-u.y)/_],d&&w(p,p,d),x/=y[0]*C,_/=y[1]*C;var S=b(x,_);s=0/S,l=2*r.r/S-s}var M=r.colorStops.slice();M.sort(function(e,t){return e.offset-t.offset});for(var T=M.length,A=[],I=[],E=0;E=2){var D=A[0][0],k=A[1][0],O=A[0][1]*t.opacity,R=A[1][1]*t.opacity;e.type=a,e.method="none",e.focus="100%",e.angle=i,e.color=D,e.color2=k,e.colors=I.join(","),e.opacity=R,e.opacity2=O}"radial"===a&&(e.focusposition=o.join(","))}else N(e,r,t.opacity)},B=function(e,t){null!=t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof f||N(e,t.stroke,t.opacity)},F=function(e,t,n,r){var a="fill"==t,i=e.getElementsByTagName(t)[0];null!=n[t]&&"none"!==n[t]&&(a||!a&&n.lineWidth)?(e[a?"filled":"stroked"]="true",n[t]instanceof f&&k(e,i),i||(i=g.createNode(t)),a?z(i,n,r):B(i,n),D(e,i)):(e[a?"filled":"stroked"]="false",k(e,i))},G=[[],[],[]],H=function(e,t){var n,r,a,o,s,l,u=i.M,c=i.C,h=i.L,d=i.A,p=i.Q,f=[];for(o=0;o.01?F&&(H+=270/C):Math.abs(W-R)<1e-4?F&&HO?M-=270/C:M+=270/C:F&&WR?b+=270/C:b-=270/C),f.push(j,m(((O-N)*L+E)*C-T),S,m(((R-V)*D+P)*C-T),S,m(((O+N)*L+E)*C-T),S,m(((R+V)*D+P)*C-T),S,m((H*L+E)*C-T),S,m((W*D+P)*C-T),S,m((b*L+E)*C-T),S,m((M*D+P)*C-T)),s=b,l=M;break;case i.R:var U=G[0],q=G[1];U[0]=e[o++],U[1]=e[o++],q[0]=U[0]+e[o++],q[1]=U[1]+e[o++],t&&(w(U,U,t),w(q,q,t)),U[0]=m(U[0]*C-T),q[0]=m(q[0]*C-T),U[1]=m(U[1]*C-T),q[1]=m(q[1]*C-T),f.push(" m ",U[0],S,U[1]," l ",q[0],S,U[1]," l ",q[0],S,q[1]," l ",U[0],S,q[1]);break;case i.Z:f.push(" x ")}if(n>0){f.push(r);for(var Z=0;ZY&&(Z=0,q={});var n,r=X.style;try{r.font=e,n=r.fontFamily.split(",")[0]}catch(e){}t={style:r.fontStyle||U,variant:r.fontVariant||U,weight:r.fontWeight||U,size:0|parseFloat(r.fontSize||12),family:n||"Microsoft YaHei"},q[e]=t,Z++}return t};s.measureText=function(e,t){var n=g.doc;j||(j=n.createElement("div"),j.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",g.doc.body.appendChild(j));try{j.style.font=t}catch(e){}return j.innerHTML="",j.appendChild(n.createTextNode(e)),{width:j.offsetWidth}};for(var Q=new a,J=function(e,t,n,r){var a=this.style,i=a.text;if(null!=i&&(i+=""),i){var o,l,u=a.textAlign,c=K(a.textFont),h=c.style+" "+c.variant+" "+c.weight+" "+c.size+'px "'+c.family+'"',d=a.textBaseline,p=a.textVerticalAlign;n=n||s.getBoundingRect(i,h,u,d);var f=this.transform;if(f&&!r&&(Q.copy(t),Q.applyTransform(f),t=Q),r)o=t.x,l=t.y;else{var v=a.textPosition,y=a.textDistance;if(v instanceof Array)o=t.x+R(v[0],t.width),l=t.y+R(v[1],t.height),u=u||"left",d=d||"top";else{var x=s.adjustTextPositionOnRect(v,t,n,y);o=x.x,l=x.y,u=u||x.textAlign,d=d||x.textBaseline}}if(p){switch(p){case"middle":l-=n.height/2;break;case"bottom":l-=n.height}d="top"}var _=c.size;switch(d){case"hanging":case"top":l+=_/1.75;break;case"middle":break;default:l-=_/2.25}switch(u){case"left":break;case"center":o-=n.width/2;break;case"right":o-=n.width}var b,M,C,T=g.createNode,A=this._textVmlEl;A?(C=A.firstChild,b=C.nextSibling,M=b.nextSibling):(A=T("line"),b=T("path"),M=T("textpath"),C=T("skew"),M.style["v-text-align"]="left",E(A),b.textpathok=!0,M.on=!0,A.from="0 0",A.to="1000 0.05",D(A,C),D(A,b),D(A,M),this._textVmlEl=A);var I=[o,l],L=A.style;f&&r?(w(I,I,f),C.on=!0,C.matrix=f[0].toFixed(3)+S+f[2].toFixed(3)+S+f[1].toFixed(3)+S+f[3].toFixed(3)+",0,0",C.offset=(m(I[0])||0)+","+(m(I[1])||0),C.origin="0 0",L.left="0px",L.top="0px"):(C.on=!1,L.left=m(o)+"px",L.top=m(l)+"px"),M.string=P(i);try{M.style.font=h}catch(e){}F(A,"fill",{fill:r?a.fill:a.textFill,opacity:a.opacity},this),F(A,"stroke",{stroke:r?a.stroke:a.textStroke,opacity:a.opacity,lineDash:a.lineDash},this),A.style.zIndex=O(this.zlevel,this.z,this.z2),D(e,A)}},$=function(e){k(e,this._textVmlEl),this._textVmlEl=null},ee=function(e){D(e,this._textVmlEl)},te=[l,u,c,d,h],ne=0;ne')}}catch(e){r=function(e){return o.createElement("<"+e+' xmlns="'+a+'" class="zrvml">')}}var l=function(){if(!s){s=!0;var e=o.styleSheets;e.length<31?o.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}};e.exports={doc:o,initVML:l,createNode:r}}},function(e,t,n){function r(e){return parseInt(e,10)}function a(e,t){s.initVML(),this.root=e,this.storage=t;var n=document.createElement("div"),r=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",r.style.cssText="position:absolute;left:0;top:0;",e.appendChild(n),this._vmlRoot=r,this._vmlViewport=n,this.resize();var a=t.delFromStorage,i=t.addToStorage;t.delFromStorage=function(e){a.call(t,e),e&&e.onRemove&&e.onRemove(r)},t.addToStorage=function(e){e.onAdd&&e.onAdd(r),i.call(t,e)},this._firstPaint=!0}function i(e){return function(){o('In IE8.0 VML mode painter not support method "'+e+'"')}}var o=n(268),s=n(659);a.prototype={constructor:a,getViewportRoot:function(){return this._vmlViewport},refresh:function(){var e=this.storage.getDisplayList(!0,!0);this._paintList(e)},_paintList:function(e){for(var t=this._vmlRoot,n=0;n{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"left",data:["直接访问","邮件营销","联盟广告","视频广告","搜索引擎"]},series:[{name:"访问来源",type:"pie",radius:"55%",center:["50%","60%"],data:[{value:335,name:"直接访问"},{value:310,name:"邮件营销"},{value:234,name:"联盟广告"},{value:135,name:"视频广告"},{value:1548,name:"搜索引擎"}],itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]};return e},onChartClick:function(e,t){console.log(e,t),alert("chart click")},onChartLegendselectchanged:function(e,t){console.log(e,t),alert("chart legendselectchanged")},onChartReady:function(e){console.log("echart is ready",e)},render:function(){var e={click:this.onChartClick,legendselectchanged:this.onChartLegendselectchanged},t="let onEvents = {\n 'click': this.onChartClick,\n 'legendselectchanged': this.onChartLegendselectchanged\n}\n\n";return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," Chart With event ",i.default.createElement("strong",null," onEvents "),": (Click the chart, and watch the console)"),i.default.createElement(s.default,{option:this.getOtion(),style:{height:300},onChartReady:this.onChartReady,onEvents:e}),i.default.createElement("label",null," code below: "),i.default.createElement("pre",null,i.default.createElement("code",null,t))))}});t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o),l=n(235),u=r(l),c=i.default.createClass({displayName:"ThemeChartComponent",propTypes:{},getOtion:function(){var e={title:{text:"阶梯瀑布图",subtext:"From ExcelHome",sublink:"http://e.weibo.com/1341556070/Aj1J2x5a5"},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:["支出","收入"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",splitLine:{show:!1},data:["11月1日","11月2日","11月3日","11月4日","11月5日","11月6日","11月7日","11月8日","11月9日","11月10日","11月11日"]},yAxis:{type:"value"},series:[{name:"辅助",type:"bar",stack:"总量",itemStyle:{normal:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"},emphasis:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"}},data:[0,900,1245,1530,1376,1376,1511,1689,1856,1495,1292]},{name:"收入",type:"bar",stack:"总量",label:{normal:{show:!0,position:"top"}},data:[900,345,393,"-","-",135,178,286,"-","-","-"]},{name:"支出",type:"bar",stack:"总量",label:{normal:{show:!0,position:"bottom"}},data:["-","-","-",108,154,"-","-","-",119,361,203]}]};return e},registerTheme:function(){u.default.registerTheme("my_theme",{backgroundColor:"#f4cccc"})},render:function(){this.registerTheme();var e="echarts.registerTheme('my_theme', {\n backgroundColor: '#f4cccc'\n});\n\n";return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," render a echart With ",i.default.createElement("strong",null,"theme"),", should ",i.default.createElement("strong",null,"echarts.registerTheme(themeName, themeObj)")," before use."),i.default.createElement(s.default,{option:this.getOtion(),theme:"my_theme"}),i.default.createElement("label",null," the theme object format: https://github.com/ecomfe/echarts/blob/master/theme/dark.js"),i.default.createElement("pre",null,i.default.createElement("code",null,e))))}});t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o),l=i.default.createClass({displayName:"ChartShowLoadingComponent",propTypes:{},_t:null,getOtion:function(){var e={title:{text:"基础雷达图"},tooltip:{},legend:{data:["预算分配(Allocated Budget)","实际开销(Actual Spending)"]},radar:{indicator:[{name:"销售(sales)",max:6500},{name:"管理(Administration)",max:16e3},{name:"信息技术(Information Techology)",max:3e4},{name:"客服(Customer Support)",max:38e3},{name:"研发(Development)",max:52e3},{name:"市场(Marketing)",max:25e3}]},series:[{name:"预算 vs 开销(Budget vs spending)",type:"radar",data:[{value:[4300,1e4,28e3,35e3,5e4,19e3],name:"预算分配(Allocated Budget)"},{value:[5e3,14e3,28e3,31e3,42e3,21e3],name:"实际开销(Actual Spending)"}]}]};return e},onChartReady:function(e){this._t=setTimeout(function(){e.hideLoading()},3e3)},getLoadingOption:function(){var e={text:"加载中...",color:"#4413c2",textColor:"#270240",maskColor:"rgba(194, 88, 86, 0.3)",zlevel:0};return e},componentWillUnmount:function(){clearTimeout(this._t)},render:function(){var e="onChartReady: function(chart) {\n 'chart.hideLoading();\n}\n\n";return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," Chart loading With ",i.default.createElement("strong",null," showLoading "),": (when chart ready, hide the loading mask.)"),i.default.createElement(s.default,{option:this.getOtion(),onChartReady:this.onChartReady,loadingOption:this.getLoadingOption(),showLoading:!0}),i.default.createElement("label",null," code below: "),i.default.createElement("pre",null,i.default.createElement("code",null,e))))}});t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o),l=i.default.createClass({displayName:"ChartAPIComponent",propTypes:{},getOtion:function(){var e={title:{text:"漏斗图",subtext:"纯属虚构"},tooltip:{trigger:"item",formatter:"{a}
{b} : {c}%"},toolbox:{feature:{dataView:{readOnly:!1},restore:{},saveAsImage:{}}},legend:{data:["展现","点击","访问","咨询","订单"]},series:[{name:"预期",type:"funnel",left:"10%",width:"80%",label:{normal:{formatter:"{b}预期"},emphasis:{position:"inside",formatter:"{b}预期: {c}%"}},labelLine:{normal:{show:!1}},itemStyle:{normal:{opacity:.7}},data:[{value:60,name:"访问"},{value:40,name:"咨询"},{value:20,name:"订单"},{value:80,name:"点击"},{value:100,name:"展现"}]},{name:"实际",type:"funnel",left:"10%",width:"80%",maxSize:"80%",label:{normal:{position:"inside",formatter:"{c}%",textStyle:{color:"#fff"}},emphasis:{position:"inside",formatter:"{b}实际: {c}%"}},itemStyle:{normal:{opacity:.5,borderColor:"#fff",borderWidth:2}},data:[{value:30,name:"访问"},{value:10,name:"咨询"},{value:5,name:"订单"},{value:50,name:"点击"},{value:80,name:"展现"}]}]};return e},clickBtn:function(){window.open(this.refs.echarts_react.getEchartsInstance().getDataURL(),"_blank")},render:function(){var e=" \n\n// use echarts API: http://echarts.baidu.com/api.html#echartsInstancethis.refs.echarts_react.getEchartsInstance().getDataURL();";return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," use echarts API With ",i.default.createElement("strong",null," getEchartsInstance() "),": (the API will return the echarts instance, then you can use any API of echarts.)"),i.default.createElement(s.default,{ref:"echarts_react",option:this.getOtion()}),i.default.createElement("div",null,i.default.createElement("button",{className:"a_line",onClick:this.clickBtn},"click here to get the DataURL of chart.")),i.default.createElement("label",null," code below: (echarts API list see: http://echarts.baidu.com/api.html#echartsInstance)"),i.default.createElement("pre",null,i.default.createElement("code",null,e))))}});t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o);n(675);var l=i.default.createClass({displayName:"MapChartComponent",propTypes:{},timeTicket:null,getInitialState:function(){return{option:this.getOtion()}},componentDidMount:function(){var e=this;this.timeTicket&&clearInterval(this.timeTicket),this.timeTicket=setInterval(function(){var t=e.state.option,n=(new Date).getSeconds();t.title.text="iphone销量"+n,t.series[0].name="iphone销量"+n,t.legend.data[0]="iphone销量"+n,e.setState({option:t})},1e3)},componentWillUnmount:function(){this.timeTicket&&clearInterval(this.timeTicket)},randomData:function(){return Math.round(1e3*Math.random())},getOtion:function(){var e={title:{text:"iphone销量",subtext:"纯属虚构",left:"center"},tooltip:{trigger:"item"},legend:{orient:"vertical",left:"left",data:["iphone3","iphone4","iphone5"]},visualMap:{min:0,max:2500,left:"left",top:"bottom",text:["高","低"],calculable:!0},toolbox:{show:!0,orient:"vertical",left:"right",top:"center",feature:{dataView:{readOnly:!1},restore:{},saveAsImage:{}}},series:[{name:"iphone3",type:"map",mapType:"china",roam:!1,label:{normal:{show:!0},emphasis:{show:!0}},data:[{name:"北京",value:this.randomData()},{name:"天津",value:this.randomData()},{name:"上海",value:this.randomData()},{name:"重庆",value:this.randomData()},{name:"河北",value:this.randomData()},{name:"河南",value:this.randomData()},{name:"云南",value:this.randomData()},{name:"辽宁",value:this.randomData()},{name:"黑龙江",value:this.randomData()},{name:"湖南",value:this.randomData()},{name:"安徽",value:this.randomData()},{name:"山东",value:this.randomData()},{name:"新疆",value:this.randomData()},{name:"江苏",value:this.randomData()},{name:"浙江",value:this.randomData()},{name:"江西",value:this.randomData()},{name:"湖北",value:this.randomData()},{name:"广西",value:this.randomData()},{name:"甘肃",value:this.randomData()},{name:"山西",value:this.randomData()},{name:"内蒙古",value:this.randomData()},{name:"陕西",value:this.randomData()},{name:"吉林",value:this.randomData()},{name:"福建",value:this.randomData()},{name:"贵州",value:this.randomData()},{name:"广东",value:this.randomData()},{name:"青海",value:this.randomData()},{name:"西藏",value:this.randomData()},{name:"四川",value:this.randomData()},{name:"宁夏",value:this.randomData()},{name:"海南",value:this.randomData()},{name:"台湾",value:this.randomData()},{name:"香港",value:this.randomData()},{name:"澳门",value:this.randomData()}]},{name:"iphone4",type:"map",mapType:"china",label:{normal:{show:!0},emphasis:{show:!0}},data:[{name:"北京",value:this.randomData()},{name:"天津",value:this.randomData()},{name:"上海",value:this.randomData()},{name:"重庆",value:this.randomData()},{name:"河北",value:this.randomData()},{name:"安徽",value:this.randomData()},{name:"新疆",value:this.randomData()},{name:"浙江",value:this.randomData()},{name:"江西",value:this.randomData()},{name:"山西",value:this.randomData()},{name:"内蒙古",value:this.randomData()},{name:"吉林",value:this.randomData()},{name:"福建",value:this.randomData()},{name:"广东",value:this.randomData()},{name:"西藏",value:this.randomData()},{name:"四川",value:this.randomData()},{name:"宁夏",value:this.randomData()},{name:"香港",value:this.randomData()},{name:"澳门",value:this.randomData()}]},{name:"iphone5",type:"map",mapType:"china",label:{normal:{show:!0},emphasis:{show:!0}},data:[{name:"北京",value:this.randomData()},{name:"天津",value:this.randomData()},{name:"上海",value:this.randomData()},{name:"广东",value:this.randomData()},{name:"台湾",value:this.randomData()},{name:"香港",value:this.randomData()},{name:"澳门",value:this.randomData()}]}]};return e},render:function(){var e="require('echarts/map/js/china.js'); \n";return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," render a china map. ",i.default.createElement("strong",null,"MAP charts"),": "),i.default.createElement(s.default,{option:this.state.option,style:{height:"500px",width:"100%"},className:"react_for_echarts"}),i.default.createElement("label",null," code below: "),i.default.createElement("pre",null,i.default.createElement("code",null,e))))}});t.default=l},function(e,t,n){var r,a,i;!function(o,s){a=[t,n(235)],r=s,i="function"==typeof r?r.apply(t,a):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t){var n=function(e){"undefined"!=typeof console&&console&&console.error&&console.error(e)};return t?t.registerMap?void t.registerMap("china",{type:"FeatureCollection",features:[{id:"710000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@°Ü¯Û"],["@@ƛĴÕƊÉɼģºðʀ\\ƎsÆNŌÔĚäœnÜƤɊĂǀĆĴžĤNJŨxĚĮǂƺòƌ‚–âÔ®ĮXŦţƸZûЋƕƑGđ¨ĭMó·ęcëƝɉlÝƯֹÅŃ^Ó·śŃNjƏďíåɛGɉ™¿@ăƑŽ¥ĘWǬÏĶŁâ"],["@@\\p|WoYG¿¥I†j@¢"],["@@…¡‰@ˆV^RqˆBbAŒnTXeRz¤Lž«³I"],["@@ÆEE—„kWqë @œ"],["@@fced"]],encodeOffsets:[[[122886,24033]],[[123335,22980]],[[122375,24193]],[[122518,24117]],[[124427,22618]],[[124862,26043]]]},properties:{cp:[121.509062,25.044332],name:"台湾",childNum:6}},{id:"130000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@o~†Z]‚ªr‰ºc_ħ²G¼s`jΟnüsœłNX_“M`ǽÓnUK…Ĝēs¤­©yrý§uģŒc†JŠ›e"],["@@U`Ts¿m‚"],["@@oºƋÄd–eVŽDJj£€J|Ådz•Ft~žKŨ¸IÆv|”‡¢r}膎onb˜}`RÎÄn°ÒdÞ²„^®’lnÐèĄlðӜ×]ªÆ}LiĂ±Ö`^°Ç¶p®đDcœŋ`–ZÔ’¶êqvFƚ†N®ĆTH®¦O’¾ŠIbÐã´BĐɢŴÆíȦp–ĐÞXR€·nndOž¤’OÀĈƒ­Qg˜µFo|gȒęSWb©osx|hYh•gŃfmÖĩnº€T̒Sp›¢dYĤ¶UĈjl’ǐpäìë|³kÛfw²Xjz~ÂqbTŠÑ„ěŨ@|oM‡’zv¢ZrÃVw¬ŧĖ¸fŒ°ÐT€ªqŽs{Sž¯r æÝlNd®²Ğ džiGʂJ™¼lr}~K¨ŸƐÌWö€™ÆŠzRš¤lêmĞL΄’@¡|q]SvK€ÑcwpÏρ†ĿćènĪWlĄkT}ˆJ”¤~ƒÈT„d„™pddʾĬŠ”ŽBVt„EÀ¢ôPĎƗè@~‚k–ü\\rÊĔÖæW_§¼F˜†´©òDòj’ˆYÈrbĞāøŀG{ƀ|¦ðrb|ÀH`pʞkv‚GpuARhÞÆǶgʊTǼƹS£¨¡ù³ŘÍ]¿Ây™ôEP xX¶¹܇O¡“gÚ¡IwÃ鑦ÅB‡Ï|Ç°…N«úmH¯‹âŸDùŽyŜžŲIÄuШDž•¸dɂ‡‚FŸƒ•›Oh‡đ©OŸ›iÃ`ww^ƒÌkŸ‘ÑH«ƇǤŗĺtFu…{Z}Ö@U‡´…ʚLg®¯Oı°ÃwŸ ^˜—€VbÉs‡ˆmA…ê]]w„§›RRl£‡ȭµu¯b{ÍDěïÿȧŽuT£ġƒěŗƃĝ“Q¨fV†Ƌ•ƅn­a@‘³@šď„yýIĹÊKšŭfċŰóŒxV@tˆƯŒJ”]eƒR¾fe|rHA˜|h~Ėƍl§ÏŠlTíb ØoˆÅbbx³^zÃĶš¶Sj®A”yÂhðk`š«P€”ˈµEF†Û¬Y¨Ļrõqi¼‰Wi°§’б´°^[ˆÀ|ĠO@ÆxO\\tŽa\\tĕtû{ġŒȧXýĪÓjùÎRb›š^ΛfK[ݏděYfíÙTyŽuUSyŌŏů@Oi½’éŅ­aVcř§ax¹XŻác‡žWU£ôãºQ¨÷Ñws¥qEH‰Ù|‰›šYQoŕÇyáĂ£MðoťÊ‰P¡mšWO¡€v†{ôvîēÜISpÌhp¨ ‘j†deŔQÖj˜X³à™Ĉ[n`Yp@Už–cM`’RKhŒEbœ”pŞlNut®Etq‚nsÁŠgA‹iú‹oH‡qCX‡”hfgu“~ϋWP½¢G^}¯ÅīGCŸÑ^ãziMáļMTÃƘrMc|O_ž¯Ŏ´|‡morDkO\\mĆJfl@cĢ¬¢aĦtRıҙ¾ùƀ^juųœK­ƒUFy™—Ɲ…›īÛ÷ąV×qƥV¿aȉd³B›qPBm›aËđŻģm“Å®VŠ¹d^K‡KoŸnYg“¯Xhqa”Ldu¥•ÍpDž¡KąÅƒkĝęěhq‡}HyÓ]¹ǧ£…Í÷¿qᵧš™g‘¤o^á¾ZE‡¤i`ij{n•ƒOl»ŸWÝĔįhg›F[¿¡—ßkOüš_‰€ū‹i„DZàUtėGylƒ}ŒÓM}€jpEC~¡FtoQi‘šHkk{Ãmï‚"]],encodeOffsets:[[[119712,40641]],[[121616,39981]],[[116462,37237]]]},properties:{cp:[114.502461,38.045474],name:"河北",childNum:3}},{id:"140000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@Þĩ҃S‰ra}Á€yWix±Üe´lè“ßÓǏok‘ćiµVZģ¡coœ‘TS˹ĪmnÕńe–hZg{gtwªpXaĚThȑp{¶Eh—®RćƑP¿£‘Pmc¸mQÝW•ďȥoÅîɡųAďä³aωJ‘½¥PG­ąSM­™…EÅruµé€‘Yӎ•Ō_d›ĒCo­Èµ]¯_²ÕjāŽK~©ÅØ^ԛkïçămϑk]­±ƒcݯÑÃmQÍ~_a—pm…~ç¡q“ˆu{JÅŧ·Ls}–EyÁÆcI{¤IiCfUc•ƌÃp§]웫vD@¡SÀ‘µM‚ÅwuŽYY‡¡DbÑc¡hƒ×]nkoQdaMç~eD•ÛtT‰©±@¥ù@É¡‰ZcW|WqOJmĩl«ħşvOÓ«IqăV—¥ŸD[mI~Ó¢cehiÍ]Ɠ~ĥqXŠ·eƷœn±“}v•[ěďŽŕ]_‘œ•`‰¹ƒ§ÕōI™o©b­s^}Ét±ū«³p£ÿ·Wµ|¡¥ăFÏs׌¥ŅxŸÊdÒ{ºvĴÎêÌɊ²¶€ü¨|ÞƸµȲ‘LLúÉƎ¤ϊęĔV`„_bª‹S^|ŸdŠzY|dz¥p†ZbÆ£¶ÒK}tĦÔņƠ‚PYzn€ÍvX¶Ěn ĠÔ„zý¦ª˜÷žÑĸَUȌ¸‚dòÜJð´’ìúNM¬ŒXZ´‘¤ŊǸ_tldIš{¦ƀðĠȤ¥NehXnYG‚‡R° ƬDj¬¸|CĞ„Kq‚ºfƐiĺ©ª~ĆOQª ¤@ìǦɌ²æBŒÊ”TœŸ˜ʂōĖ’šĴŞ–ȀœÆÿȄlŤĒö„t”νî¼ĨXhŒ‘˜|ªM¤Ðz"],encodeOffsets:[[116874,41716]]},properties:{cp:[112.549248,37.857014],name:"山西",childNum:1}},{id:"150000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@Č^â£Ăh–šĖMÈÄw‚\\fŦ°W ¢¾luŸD„wŠ\\̀ʉÌÛM…Ā[bӞEn}¶Vc…ê“sƒ–›¯PqƒFB…‰|S•³C|kñ•H‹d‘iÄ¥sˆʼnő…PóÑÑE^‘ÅPpy_YtS™hQ·aHwsOnʼnÚs©iqj›‰€USiº]ïWš‰«gW¡A–R붛ijʕ…Œů`çõh]y»ǃŸǛҤxÒm~zf}pf|ÜroÈzrKÈĵSƧ„ż؜Ġu¦ö"],["@@sKCš…GS|úþX”gp›{ÁX¿Ÿć{ƱȏñZáĔyoÁhA™}ŅĆfdʼn„_¹„Y°ėǩÑ¡H¯¶oMQqð¡Ë™|‘Ñ`ƭŁX½·óۓxğįÅcQ‡ˆ“ƒs«tȋDžF“Ÿù^i‘t«Č¯[›hAi©á¥ÇĚ×l|¹y¯YȵƓ‹ñǙµï‚ċ™Ļ|Dœ™üȭ¶¡˜›oŽäÕG\\ďT¿Òõr¯œŸLguÏYęRƩšɷŌO\\İТæ^Ŋ IJȶȆbÜGŽĝ¬¿ĚVĎgª^íu½jÿĕęjık@Ľƒ]ėl¥Ë‡ĭûÁ„ƒėéV©±ćn©­ȇžÍq¯½•YÃÔʼn“ÉNѝÅÝy¹NqáʅDǡËñ­ƁYÅy̱os§ȋµʽǘǏƬɱà‘ưN¢ƔÊuľýľώȪƺɂļžxœZĈ}ÌʼnŪ˜ĺœŽĭFЛĽ̅ȣͽÒŵìƩÇϋÿȮǡŏçƑůĕ~Ǎ›¼ȳÐUf†dIxÿ\\G ˆzâɏÙOº·pqy£†@ŒŠqþ@Ǟ˽IBäƣzsÂZ†ÁàĻdñ°ŕzéØűzșCìDȐĴĺf®ŽÀľưø@ɜÖÞKĊŇƄ§‚͑těï͡VAġÑÑ»d³öǍÝXĉĕÖ{þĉu¸ËʅğU̎éhɹƆ̗̮ȘNJ֥ड़ࡰţાíϲäʮW¬®ҌeרūȠkɬɻ̼ãüfƠSצɩςåȈHϚÎKdzͲOðÏȆƘ¼CϚǚ࢚˼ФԂ¤ƌžĞ̪Qʤ´¼mȠJˀŸƲÀɠmǐnǔĎȆÞǠN~€ʢĜ‚¶ƌĆĘźʆȬ˪ĚĒ¸ĞGȖƴƀj`ĢçĶāàŃºēĢƒĖćšYŒÀŎüôQÐÂŎŞdžŞêƖš˜oˆDĤÕºÑǘÛˤ³̀gńƘĔÀ^žªƂ`ªt¾äƚêĦĀ¼Ð€Ĕǎ¨Ȕ»͠^ˮÊȦƤøxRrŜH¤¸ÂxDĝŒ|ø˂˜ƮÐ¬ɚwɲFjĔ²Äw°dždÀɞ_ĸdîàŎjʜêTЪŌ‡ŜWÈ|tqĢUB~´°ÎFC•ŽU¼pĀēƄN¦¾O¶ŠłKĊOj“Ě”j´ĜYp˜{¦„ˆSĚÍ\\Tš×ªV–÷Ší¨ÅDK°ßtŇĔKš¨ǵÂcḷ̌ĚǣȄĽF‡lġUĵœŇ‹ȣFʉɁƒMğįʏƶɷØŭOǽ«ƽū¹Ʊő̝Ȩ§ȞʘĖiɜɶʦ}¨֪ࠜ̀ƇǬ¹ǨE˦ĥªÔêFŽxúQ„Er´W„rh¤Ɛ \\talĈDJ˜Ü|[Pll̚¸ƎGú´Pž¬W¦†^¦–H]prR“n|or¾wLVnÇIujkmon£cX^Bh`¥V”„¦U¤¸}€xRj–[^xN[~ªŠxQ„‚[`ªHÆÂExx^wšN¶Ê˜|¨ì†˜€MrœdYp‚oRzNy˜ÀDs~€bcfÌ`L–¾n‹|¾T‚°c¨È¢a‚r¤–`[|òDŞĔöxElÖdH„ÀI`„Ď\\Àì~ƎR¼tf•¦^¢ķ¶e”ÐÚMŒptgj–„ɡČÅyġLû™ŇV®ŠÄÈƀ†Ď°P|ªVV†ªj–¬ĚÒêp¬–E|ŬÂc|ÀtƐK fˆ{ĘFĒœƌXƲąo½Ę‘\\¥–o}›Ûu£ç­kX‘{uĩ«āíÓUŅßŢq€Ť¥lyň[€oi{¦‹L‡ń‡ðFȪȖ”ĒL„¿Ì‹ˆfŒ£K£ʺ™oqNŸƒwğc`ue—tOj×°KJ±qƒÆġm‰Ěŗos¬…qehqsuœƒH{¸kH¡Š…ÊRǪÇƌbȆ¢´ä܍¢NìÉʖ¦â©Ż؛Ç@Vu»A—ylßí¹ĵê…ÝlISò³C¹Ìâ„²i¶’Ìoú^H“²CǜңDŽ z¼g^èöŰ_‹‚–†IJĕꄜ}gÁnUI«m‰…„‹]j‡vV¼euhwqA„aW˜ƒ_µj…»çjioQR¹ēÃßt@r³[ÛlćË^ÍÉáG“›OUۗOB±•XŸkŇ¹£k|e]ol™ŸkVͼÕqtaÏõjgÁ£§U^Œ”RLˆËnX°Ç’Bz†^~wfvˆypV ¯„ƫĉ˭ȫƗŷɿÿĿƑ˃ĝÿÃǃßËőó©ǐȍŒĖM×ÍEyx‹þp]Évïè‘vƀnÂĴÖ@‚‰†V~Ĉ™Š³MEˆĸÅĖt—ējyÄDXÄxGQuv_›i¦aBçw‘˛wD™©{ŸtāmQ€{EJ§KPśƘƿ¥@‰sCT•É}ɃwˆƇy±ŸgÑ“}T[÷kÐ禫…SÒ¥¸ëBX½‰HáŵÀğtSÝÂa[ƣ°¯¦P]£ġ“–“Òk®G²„èQ°óMq}EŠóƐÇ\\ƒ‡@áügQ͋u¥Fƒ“T՛¿Jû‡]|mvāÎYua^WoÀa·­ząÒot׶CLƗi¯¤mƎHNJ¤îìɾŊìTdåwsRÖgĒųúÍġäÕ}Q¶—ˆ¿A•†‹[¡Œ{d×uQAƒ›M•xV‹vMOmăl«ct[wº_šÇʊŽŸjb£ĦS_é“QZ“_lwgOiýe`YYLq§IÁˆdz£ÙË[ÕªuƏ³ÍT—s·bÁĽäė[›b[ˆŗfãcn¥îC¿÷µ[ŏÀQ­ōšĉm¿Á^£mJVm‡—L[{Ï_£›F¥Ö{ŹA}…×Wu©ÅaųijƳhB{·TQqÙIķˑZđ©Yc|M¡…L•eVUóK_QWk’_ĥ‘¿ãZ•»X\\ĴuUƒè‡lG®ěłTĠğDєOrÍd‚ÆÍz]‹±…ŭ©ŸÅ’]ŒÅÐ}UË¥©Tċ™ïxgckfWgi\\ÏĒ¥HkµE˜ë{»ÏetcG±ahUiñiWsɁˆ·c–C‚Õk]wȑ|ća}w…VaĚ᠞ŒG°ùnM¬¯†{ȈÐÆA’¥ÄêJxÙ¢”hP¢Ûˆº€µwWOŸóFŽšÁz^ÀŗÎú´§¢T¤ǻƺSė‰ǵhÝÅQgvBHouʝl_o¿Ga{ïq{¥|ſĿHĂ÷aĝÇq‡Z‘ñiñC³ª—…»E`¨åXēÕqÉû[l•}ç@čƘóO¿¡ƒFUsA‰“ʽīccšocƒ‚ƒÇS}„“£‡IS~ălkĩXçmĈ…ŀЂoÐdxÒuL^T{r@¢‘žÍƒĝKén£kQ™‰yšÅõËXŷƏL§~}kqš»IHėDžjĝŸ»ÑÞoŸå°qTt|r©ÏS‹¯·eŨĕx«È[eMˆ¿yuˆ‘pN~¹ÏyN£{©’—g‹ħWí»Í¾s“əšDž_ÃĀɗ±ą™ijĉʍŌŷ—S›É“A‹±åǥɋ@럣R©ąP©}ĹªƏj¹erƒLDĝ·{i«ƫC£µ"]], +encodeOffsets:[[[127444,52594]],[[113793,40312]]]},properties:{cp:[111.670801,40.818311],name:"内蒙古",childNum:2}},{id:"210000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@L–Ž@@s™a"],["@@MnNm"],["@@d‚c"],["@@eÀ‚C@b‚“‰"],["@@f‡…Xwkbr–Ä`qg"],["@@^jtW‘Q"],["@@~ Y]c"],["@@G`ĔN^_¿Z‚ÃM"],["@@iX¶B‹Y"],["@@„YƒZ"],["@@L_{Epf"],["@@^WqCT\\"],["@@\\[“‹§t|”¤_"],["@@m`n_"],["@@Ïxnj{q_×^Giip"],["@@@œé^B†‡ntˆaÊU—˜Ÿ]x ¯ÄPIJ­°h€ʙK³†VˆÕ@Y~†|EvĹsDŽ¦­L^p²ŸÒG ’Ël]„xxÄ_˜fT¤Ď¤cŽœP„–C¨¸TVjbgH²sdÎdHt`Bˆ—²¬GJję¶[ÐhjeXdlwhšðSȦªVÊπ‹Æ‘Z˜ÆŶ®²†^ŒÎyÅÎcPqń“ĚDMħĜŁH­ˆk„çvV[ij¼W–‚YÀäĦ’‘`XlžR`žôLUVžfK–¢†{NZdĒª’YĸÌÚJRr¸SA|ƴgŴĴÆbvªØX~†źBŽ|¦ÕœEž¤Ð`\\|Kˆ˜UnnI]¤ÀÂĊnŎ™R®Ő¿¶\\ÀøíDm¦ÎbŨab‰œaĘ\\ľã‚¸a˜tÎSƐ´©v\\ÖÚÌǴ¤Â‡¨JKr€Z_Z€fjþhPkx€`Y”’RIŒjJcVf~sCN¤ ˆE‚œhæm‰–sHy¨SðÑÌ\\\\ŸĐRZk°IS§fqŒßýáЍÙÉÖ[^¯ǤŲ„ê´\\¦¬ĆPM¯£Ÿˆ»uïpùzEx€žanµyoluqe¦W^£ÊL}ñrkqWňûP™‰UP¡ôJŠoo·ŒU}£Œ„[·¨@XŒĸŸ“‹‹DXm­Ûݏº‡›GU‹CÁª½{íĂ^cj‡k“¶Ã[q¤“LÉö³cux«zZfƒ²BWÇ®Yß½ve±ÃC•ý£W{Ú^’q^sÑ·¨‹ÍOt“¹·C¥‡GD›rí@wÕKţ݋˜Ÿ«V·i}xËÍ÷‘i©ĝ‡ɝǡ]ƒˆ{c™±OW‹³Ya±Ÿ‰_穂Hžĕoƫ€Ňqƒr³‰Lys[„ñ³¯OS–ďOMisZ†±ÅFC¥Pq{‚Ã[Pg}\\—¿ghćO…•k^ģÁFıĉĥM­oEqqZûěʼn³F‘¦oĵ—hŸÕP{¯~TÍlª‰N‰ßY“Ð{Ps{ÃVU™™eĎwk±ʼnVÓ½ŽJãÇÇ»Jm°dhcÀff‘dF~ˆ€ĀeĖ€d`sx² šƒ®EżĀdQ‹Âd^~ăÔHˆ¦\\›LKpĄVez¤NP ǹӗR™ÆąJSh­a[¦´Âghwm€BÐ¨źhI|žVVŽ—Ž|p] Â¼èNä¶ÜBÖ¼“L`‚¼bØæŒKV”ŸpoœúNZÞÒKxpw|ÊEMnzEQšŽIZ”ŽZ‡NBˆčÚFÜçmĩ‚WĪñt‘ÞĵÇñZ«uD‚±|Əlij¥ãn·±PmÍa‰–da‡ CL‡Ǒkùó¡³Ï«QaċϑOÃ¥ÕđQȥċƭy‹³ÃA"]],encodeOffsets:[[[123686,41445]],[[126019,40435]],[[124393,40128]],[[126117,39963]],[[125322,40140]],[[126686,40700]],[[126041,40374]],[[125584,40168]],[[125453,40165]],[[125362,40214]],[[125280,40291]],[[125774,39997]],[[125976,40496]],[[125822,39993]],[[125509,40217]],[[122731,40949]]]},properties:{cp:[123.429096,41.796767],name:"辽宁",childNum:16}},{id:"220000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@‘p䔳PClƒFbbÍzš€wBG’ĭ€Z„Åi“»ƒlY­ċ²SgŽkÇ£—^S‰“qd¯•‹R…©éŽ£¯S†\\cZ¹iűƏCuƍÓX‡oR}“M^o•£…R}oªU­F…uuXHlEŕ‡€Ï©¤ÛmTŽþ¤D–²ÄufàÀ­XXȱAe„yYw¬dvõ´KÊ£”\\rµÄl”iˆdā]|DÂVŒœH¹ˆÞ®ÜWnŒC”Œķ W‹§@\\¸‹ƒ~¤‹Vp¸‰póIO¢ŠVOšŇürXql~òÉK]¤¥Xrfkvzpm¶bwyFoúvð‡¼¤ N°ąO¥«³[ƒéǡű_°Õ\\ÚÊĝŽþâőàerR¨­JYlďQ[ ÏYëЧTGz•tnŠß¡gFkMŸāGÁ¤ia É‰™È¹`\\xs€¬dĆkNnuNUŠ–užP@‚vRY¾•–\\¢…ŒGªóĄ~RãÖÎĢù‚đŴÕhQŽxtcæëSɽʼníëlj£ƍG£nj°KƘµDsØÑpyƸ®¿bXp‚]vbÍZuĂ{nˆ^IüœÀSք”¦EŒvRÎûh@℈[‚Əȉô~FNr¯ôçR±ƒ­HÑl•’Ģ–^¤¢‚OðŸŒævxsŒ]ÞÁTĠs¶¿âƊGW¾ìA¦·TѬ†è¥€ÏÐJ¨¼ÒÖ¼ƒƦɄxÊ~S–tD@ŠĂ¼Ŵ¡jlºWžvЉˆzƦZЎ²CH— „Axiukd‹ŒGgetqmcžÛ£Ozy¥cE}|…¾cZ…k‚‰¿uŐã[oxGikfeäT@…šSUwpiÚFM©’£è^ڟ‚`@v¶eň†f h˜eP¶žt“äOlÔUgƒÞzŸU`lœ}ÔÆUvØ_Ō¬Öi^ĉi§²ÃŠB~¡Ĉ™ÚEgc|DC_Ȧm²rBx¼MÔ¦ŮdĨÃâYx‘ƘDVÇĺĿg¿cwÅ\\¹˜¥Yĭlœ¤žOv†šLjM_a W`zļMž·\\swqÝSA‡š—q‰Śij¯Š‘°kŠRē°wx^Đkǂғ„œž“œŽ„‹\\]˜nrĂ}²ĊŲÒøãh·M{yMzysěnĒġV·°“G³¼XÀ““™¤¹i´o¤ŃšŸÈ`̃DzÄUĞd\\i֚ŒˆmÈBĤÜɲDEh LG¾ƀľ{WaŒYÍȏĢĘÔRîĐj‹}Ǟ“ccj‡oUb½š{“h§Ǿ{K‹ƖµÎ÷žGĀÖŠåưÎs­l›•yiē«‹`姝H¥Ae^§„GK}iã\\c]v©ģZ“mÃ|“[M}ģTɟĵ‘Â`À–çm‰‘FK¥ÚíÁbXš³ÌQґHof{‰]e€pt·GŋĜYünĎųVY^’˜ydõkÅZW„«WUa~U·Sb•wGçǑ‚“iW^q‹F‚“›uNĝ—·Ew„‹UtW·Ýďæ©PuqEzwAV•—XR‰ãQ`­©GŒM‡ehc›c”ďϝd‡©ÑW_ϗYƅŒ»…é\\ƒɹ~ǙG³mØ©BšuT§Ĥ½¢Ã_ý‘L¡‘ýŸqT^rme™\\Pp•ZZbƒyŸ’uybQ—efµ]UhĿDCmûvašÙNSkCwn‰cćfv~…Y‹„ÇG"],encodeOffsets:[[130196,42528]]},properties:{cp:[125.3245,43.886841],name:"吉林",childNum:1}},{id:"230000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@ƨƒĶTLÇyqpÇÛqe{~oyen}s‰`q‡iXG”ù]Ëp½“©lɇÁp]Þñ´FÔ^f‘äîºkà˜z¼BUvÈ@"],["@@UƒµNÿ¥īè灋•HÍøƕ¶LŒǽ|g¨|”™Ža¾pViˆdd”~ÈiŒíďÓQġėǐZ΋ŽXb½|ſÃH½ŸKFgɱCģÛÇA‡n™‹jÕc[VĝDZÃ˄Ç_™ £ń³pŽj£º”š¿”»WH´¯”U¸đĢmžtĜyzzNN|g¸÷äűѱĉā~mq^—Œ[ƒ”››”ƒǁÑďlw]¯xQĔ‰¯l‰’€°řĴrŠ™˜BˆÞTxr[tŽ¸ĻN_yŸX`biN™Ku…P›£k‚ZĮ—¦[ºxÆÀdhŽĹŀUÈƗCw’áZħÄŭcÓ¥»NAw±qȥnD`{ChdÙFćš}¢‰A±Äj¨]ĊÕjŋ«×`VuÓś~_kŷVÝyh„“VkÄãPs”Oµ—fŸge‚Ň…µf@u_Ù ÙcŸªNªÙEojVx™T@†ãSefjlwH\\pŏäÀvŠŽlY†½d{†F~¦dyz¤PÜndsrhf‹HcŒvlwjFœ£G˜±DύƥY‡yϊu¹XikĿ¦ÏqƗǀOŜ¨LI|FRĂn sª|Cš˜zxAè¥bœfudTrFWÁ¹Am|˜ĔĕsķÆF‡´Nš‰}ć…UŠÕ@Áijſmužç’uð^ÊýowŒFzØÎĕNőžǏȎôªÌŒDŽàĀÄ˄ĞŀƒʀĀƘŸˮȬƬĊ°ƒUŸzou‡xe]}Ž…AyȑW¯ÌmK‡“Q]‹Īºif¸ÄX|sZt|½ÚUΠlkš^p{f¤lˆºlÆW –€A²˜PVܜPH”Êâ]ÎĈÌÜk´\\@qàsĔÄQºpRij¼èi†`¶—„bXƒrBgxfv»ŽuUiˆŒ^v~”J¬mVp´£Œ´VWrnP½ì¢BX‚¬h™ŠðX¹^TjVœŠriªj™tŊÄm€tPGx¸bgRšŽsT`ZozÆO]’ÒFô҆Oƒ‡ŊŒvŞ”p’cGŒêŠsx´DR–Œ{A†„EOr°Œ•žx|íœbˆ³Wm~DVjºéNN†Ëܲɶ­GƒxŷCStŸ}]ûō•SmtuÇÃĕN•™āg»šíT«u}ç½BĵÞʣ¥ëÊ¡Mێ³ãȅ¡ƋaǩÈÉQ‰†G¢·lG|›„tvgrrf«†ptęŘnŠÅĢr„I²¯LiØsPf˜_vĠd„xM prʹšL¤‹¤‡eˌƒÀđK“žïÙVY§]I‡óáĥ]ķ†Kˆ¥Œj|pŇ\\kzţ¦šnņäÔVĂîĪ¬|vW’®l¤èØr‚˜•xm¶ă~lÄƯĄ̈́öȄEÔ¤ØQĄ–Ą»ƢjȦOǺ¨ìSŖÆƬy”Qœv`–cwƒZSÌ®ü±DŽ]ŀç¬B¬©ńzƺŷɄeeOĨS’Œfm Ċ‚ƀP̎ēz©Ċ‚ÄÕÊmgŸÇsJ¥ƔˆŊśæ’΁Ñqv¿íUOµª‰ÂnĦÁ_½ä@ê텣P}Ġ[@gġ}g“ɊדûÏWXá¢užƻÌsNͽƎÁ§č՛AēeL³àydl›¦ĘVçŁpśdžĽĺſʃQíÜçÛġԏsĕ¬—Ǹ¯YßċġHµ ¡eå`ļƒrĉŘóƢFì“ĎWøxÊk†”ƈdƬv|–I|·©NqńRŀƒ¤é”eŊœŀ›ˆàŀU²ŕƀB‚Q£Ď}L¹Îk@©ĈuǰųǨ”Ú§ƈnTËÇéƟÊcfčŤ^Xm‡—HĊĕË«W·ċëx³ǔķÐċJā‚wİ_ĸ˜Ȁ^ôWr­°oú¬Ħ…ŨK~”ȰCĐ´Ƕ£’fNÎèâw¢XnŮeÂÆĶŽ¾¾xäLĴĘlļO¤ÒĨA¢Êɚ¨®‚ØCÔ ŬGƠ”ƦYĜ‡ĘÜƬDJ—g_ͥœ@čŅĻA“¶¯@wÎqC½Ĉ»NŸăëK™ďÍQ“Ùƫ[«Ãí•gßÔÇOÝáW‘ñuZ“¯ĥ€Ÿŕā¡ÑķJu¤E Ÿå¯°WKɱ_d_}}vyŸõu¬ï¹ÓU±½@gÏ¿rýD‰†g…Cd‰µ—°MFYxw¿CG£‹Rƛ½Õ{]L§{qqąš¿BÇƻğëšܭNJË|c²}Fµ}›ÙRsÓpg±ŠQNqǫŋRwŕnéÑÉKŸ†«SeYR…ŋ‹@{¤SJ}šD Ûǖ֍Ÿ]gr¡µŷjqWÛham³~S«“„›Þ]"]],encodeOffsets:[[[127123,51780]],[[134456,44547]]]},properties:{cp:[126.642464,45.756967],name:"黑龙江",childNum:2}},{id:"320000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@cþÅPiŠ`ZŸRu¥É\\]~°ŽY`µ†Óƒ^phÁbnÀşúŽòa–ĬºTÖŒb‚˜e¦¦€{¸ZâćNpŒ©žHr|^ˆmjhŠSEb\\afv`sz^lkŽlj‹Ätg‹¤D˜­¾Xš¿À’|ДiZ„ȀåB·î}GL¢õcßjaŸyBFµÏC^ĭ•cÙt¿sğH]j{s©HM¢ƒQnDÀ©DaÜތ·jgàiDbPufjDk`dPOîƒhw¡ĥ‡¥šG˜ŸP²ĐobºrY†„î¶aHŢ´ ]´‚rılw³r_{£DB_Ûdåuk|ˆŨ¯F Cºyr{XFy™e³Þċ‡¿Â™kĭB¿„MvÛpm`rÚã”@Ę¹hågËÖƿxnlč¶Åì½Ot¾dJlŠVJʜǀœŞqvnOŠ^ŸJ”Z‘ż·Q}ê͎ÅmµÒ]Žƍ¦Dq}¬R^èĂ´ŀĻĊIԒtžIJyQŐĠMNtœR®òLh‰›Ěs©»œ}OӌGZz¶A\\jĨFˆäOĤ˜HYš†JvÞHNiÜaϚɖnFQlšNM¤ˆB´ĄNöɂtp–Ŭdf先‹qm¿QûŠùއÚb¤uŃJŴu»¹Ą•lȖħŴw̌ŵ²ǹǠ͛hĭłƕrçü±Y™xci‡tğ®jű¢KOķ•Coy`å®VTa­_Ā]ŐÝɞï²ʯÊ^]afYǸÃĆēĪȣJđ͍ôƋĝÄ͎ī‰çÛɈǥ£­ÛmY`ó£Z«§°Ó³QafusNıDž_k}¢m[ÝóDµ—¡RLčiXy‡ÅNïă¡¸iĔϑNÌŕoēdōîåŤûHcs}~Ûwbù¹£¦ÓCt‹OPrƒE^ÒoŠg™ĉIµžÛÅʹK…¤½phMŠü`o怆ŀ"],encodeOffsets:[[121740,32276]]},properties:{cp:[118.767413,32.041544],name:"江苏",childNum:1}},{id:"330000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@E^dQ]K"],["@@jX^j‡"],["@@sfŠbU‡"],["@@qP\\xz[ck"],["@@‘Rƒ¢‚FX}°[s_"],["@@Cbœ\\—}"],["@@e|v\\la{u"],["@@v~u}"],["@@QxÂF¯}"],["@@¹nŒvÞs¯o"],["@@rSkUEj"],["@@bi­ZŒP"],["@@p[}INf"],["@@À¿€"],["@@¹dnbŒ…"],["@@rSŸBnR"],["@@g~h}"],["@@FlEk"],["@@OdPc"],["@@v[u\\"],["@@FjâL~wyoo~›sµL–\\"],["@@¬e¹aNˆ"],["@@\\nÔ¡q]L³ë\\ÿ®ŒQ֎"],["@@ÊA­©[¬"],["@@KxŒv­"],["@@@hlIk]"],["@@pW{o||j"],["@@Md|_mC"],["@@¢…X£ÏylD¼XˆtH"],["@@hlÜ[LykAvyfw^Ež›¤"],["@@fp¤Mus“R"],["@@®_ma~•LÁ¬šZ"],["@@iM„xZ"],["@@ZcYd"],["@@Z~dOSo|A¿qZv"],["@@@`”EN¡v"],["@@|–TY{"],["@@@n@m"],["@@XWkCT\\"],["@@ºwšZRkĕWO¢"],["@@™X®±Grƪ\\ÔáXq{‹"],["@@ůTG°ĄLHm°UC‹"],["@@¤Ž€aÜx~}dtüGæţŎíĔcŖpMËВjē¢·ðĄÆMzˆjWKĎ¢Q¶˜À_꒔_Bı€i«pZ€gf€¤Nrq]§ĂN®«H±‡yƳí¾×ŸīàLłčŴǝĂíÀBŖÕªˆŠÁŖHŗʼnåqûõi¨hÜ·ƒñt»¹ýv_[«¸m‰YL¯‰Qª…mĉÅdMˆ•gÇjcº«•ęœ¬­K­´ƒB«Âącoċ\\xKd¡gěŧ«®á’[~ıxu·Å”KsËɏc¢Ù\\ĭƛëbf¹­ģSƒĜkáƉÔ­ĈZB{ŠaM‘µ‰fzʼnfåÂŧįƋǝÊĕġć£g³ne­ą»@­¦S®‚\\ßðCšh™iqªĭiAu‡A­µ”_W¥ƣO\\lċĢttC¨£t`ˆ™PZäuXßBs‡Ļyek€OđġĵHuXBšµ]׌‡­­\\›°®¬F¢¾pµ¼kŘó¬Wät’¸|@ž•L¨¸µr“ºù³Ù~§WI‹ŸZWŽ®’±Ð¨ÒÉx€`‰²pĜ•rOògtÁZ}þÙ]„’¡ŒŸFK‚wsPlU[}¦Rvn`hq¬\\”nQ´ĘRWb”‚_ rtČFI֊kŠŠĦPJ¶ÖÀÖJĈĄTĚòžC ²@Pú…Øzœ©PœCÈڜĒ±„hŖ‡l¬â~nm¨f©–iļ«m‡nt–u†ÖZÜÄj“ŠLŽ®E̜Fª²iÊxبžIÈhhst"],["@@o\\V’zRZ}y"],["@@†@°¡mۛGĕ¨§Ianá[ýƤjfæ‡ØL–•äGr™"]],encodeOffsets:[[[125592,31553]],[[125785,31436]],[[125729,31431]],[[125513,31380]],[[125223,30438]],[[125115,30114]],[[124815,29155]],[[124419,28746]],[[124095,28635]],[[124005,28609]],[[125e3,30713]],[[125111,30698]],[[125078,30682]],[[125150,30684]],[[124014,28103]],[[125008,31331]],[[125411,31468]],[[125329,31479]],[[125626,30916]],[[125417,30956]],[[125254,30976]],[[125199,30997]],[[125095,31058]],[[125083,30915]],[[124885,31015]],[[125218,30798]],[[124867,30838]],[[124755,30788]],[[124802,30809]],[[125267,30657]],[[125218,30578]],[[125200,30562]],[[124968,30474]],[[125167,30396]],[[124955,29879]],[[124714,29781]],[[124762,29462]],[[124325,28754]],[[123990,28459]],[[125366,31477]],[[125115,30363]],[[125369,31139]],[[122495,31878]],[[125329,30690]],[[125192,30787]]]},properties:{cp:[120.153576,30.287459],name:"浙江",childNum:45}},{id:"340000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@^iuLX^"],["@@‚e©Ehl"],["@@°ZÆëϵmkǀwÌÕæhºgBĝâqÙĊz›ÖgņtÀÁÊÆá’hEz|WzqD¹€Ÿ°E‡ŧl{ævÜcA`¤C`|´qžxIJkq^³³ŸGšµbƒíZ…¹qpa±ď OH—¦™Ħˆx¢„gPícOl_iCveaOjCh߸i݋bÛªCC¿€m„RV§¢A|t^iĠGÀtÚs–d]ĮÐDE¶zAb àiödK¡~H¸íæAžǿYƒ“j{ď¿‘™À½W—®£ChŒÃsiŒkkly]_teu[bFa‰Tig‡n{]Gqªo‹ĈMYá|·¥f¥—őaSÕė™NµñĞ«ImŒ_m¿Âa]uĜp …Z_§{Cƒäg¤°r[_Yj‰ÆOdý“[ŽI[á·¥“Q_n‡ùgL¾mv™ˊBÜƶĊJhšp“c¹˜O]iŠ]œ¥ jtsggJǧw×jÉ©±›EFˍ­‰Ki”ÛÃÕYv…s•ˆm¬njĻª•§emná}k«ŕˆƒgđ²Ù›DǤ›í¡ªOy›†×Où±@DŸñSęćăÕIÕ¿IµĥO‰‰jNÕËT¡¿tNæŇàåyķrĕq§ÄĩsWÆߎF¶žX®¿‰mŒ™w…RIޓfßoG‘³¾©uyH‘į{Ɓħ¯AFnuP…ÍÔzšŒV—dàôº^Ðæd´€‡oG¤{S‰¬ćxã}›ŧ×Kǥĩ«žÕOEзÖdÖsƘѨ[’Û^Xr¢¼˜§xvěƵ`K”§ tÒ´Cvlo¸fzŨð¾NY´ı~ÉĔē…ßúLÃϖ_ÈÏ|]ÂÏFl”g`bšežž€n¾¢pU‚h~ƴĖ¶_‚r sĄ~cž”ƈ]|r c~`¼{À{ȒiJjz`îÀT¥Û³…]’u}›f…ïQl{skl“oNdŸjŸäËzDvčoQŠďHI¦rb“tHĔ~BmlRš—V_„ħTLnñH±’DžœL‘¼L˜ªl§Ťa¸ŒĚlK²€\\RòvDcÎJbt[¤€D@®hh~kt°ǾzÖ@¾ªdb„YhüóZ ň¶vHrľ\\ʗJuxAT|dmÀO„‹[ÃԋG·ĚąĐlŪÚpSJ¨ĸˆLvÞcPæķŨŽ®mАˆálŸwKhïgA¢ųƩޖ¤OȜm’°ŒK´"]],encodeOffsets:[[[121722,32278]],[[119475,30423]],[[119168,35472]]]},properties:{cp:[117.283042,31.86119],name:"安徽",childNum:3}},{id:"350000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@“zht´‡]"],["@@aj^~ĆG—©O"],["@@ed¨„C}}i"],["@@@vˆPGsQ"],["@@‰sBz‚ddW]Q"],["@@SŽ¨Q“{"],["@@NŽVucW"],["@@qptBAq"],["@@‰’¸[mu"],["@@Q\\pD]_"],["@@jSwUadpF"],["@@eXª~ƒ•"],["@@AjvFso"],["@@fT–›_Çí\\Ÿ™—v|ba¦jZÆy€°"],["@@IjJi"],["@@wJI€ˆxš«¼AoNe{M­"],["@@K‰±¡Óˆ”ČäeZ"],["@@k¡¹Eh~c®wBk‹UplÀ¡I•~Māe£bN¨gZý¡a±Öcp©PhžI”Ÿ¢Qq…ÇGj‹|¥U™ g[Ky¬ŏ–v@OpˆtÉEŸF„\\@ åA¬ˆV{Xģ‰ĐBy…cpě…¼³Ăp·¤ƒ¥o“hqqÚ¡ŅLsƒ^ᗞ§qlŸÀhH¨MCe»åÇGD¥zPO£čÙkJA¼ß–ėu›ĕeûҍiÁŧSW¥˜QŠûŗ½ùěcݧSùĩąSWó«íęACµ›eR—åǃRCÒÇZÍ¢‹ź±^dlsŒtjD¸•‚ZpužÔâÒH¾oLUêÃÔjjēò´ĄW‚ƛ…^Ñ¥‹ĦŸ@Çò–ŠmŒƒOw¡õyJ†yD}¢ďÑÈġfŠZd–a©º²z£šN–ƒjD°Ötj¶¬ZSÎ~¾c°¶Ðm˜x‚O¸¢Pl´žSL|¥žA†ȪĖM’ņIJg®áIJČĒü` ŽQF‡¬h|ÓJ@zµ |ê³È ¸UÖŬŬÀEttĸr‚]€˜ðŽM¤ĶIJHtÏ A’†žĬkvsq‡^aÎbvŒd–™fÊòSD€´Z^’xPsÞrv‹ƞŀ˜jJd×ŘÉ ®A–ΦĤd€xĆqAŒ†ZR”ÀMźŒnĊ»ŒİÐZ— YX–æJŠyĊ²ˆ·¶q§·–K@·{s‘Xãô«lŗ¶»o½E¡­«¢±¨Yˆ®Ø‹¶^A™vWĶGĒĢžPlzfˆļŽtàAvWYãšO_‡¤sD§ssČġ[kƤPX¦Ž`¶“ž®ˆBBvĪjv©šjx[L¥àï[F…¼ÍË»ğV`«•Ip™}ccÅĥZE‹ãoP…´B@ŠD—¸m±“z«Ƴ—¿å³BRضˆœWlâþäą`“]Z£Tc— ĹGµ¶H™m@_©—kŒ‰¾xĨ‡ôȉðX«½đCIbćqK³Á‹Äš¬OAwã»aLʼn‡ËĥW[“ÂGI—ÂNxij¤D¢ŽîĎÎB§°_JœGsƒ¥E@…¤uć…P‘å†cuMuw¢BI¿‡]zG¹guĮck\\_"]],encodeOffsets:[[[123250,27563]],[[122541,27268]],[[123020,27189]],[[122916,27125]],[[122887,26845]],[[122808,26762]],[[122568,25912]],[[122778,26197]],[[122515,26757]],[[122816,26587]],[[123388,27005]],[[122450,26243]],[[122578,25962]],[[121255,25103]],[[120987,24903]],[[122339,25802]],[[121042,25093]],[[122439,26024]]]},properties:{cp:[119.306239,26.075302],name:"福建",childNum:18}},{id:"360000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@ĢĨƐgļˆ¼ÂMD~ņªe^\\^§„ý©j׍cZ†Ø¨zdÒa¶ˆlҍJŒìõ`oz÷@¤u޸´†ôęöY¼‰HČƶajlÞƩ¥éZ[”|h}^U Œ ¥p„ĄžƦO lt¸Æ €Q\\€ŠaÆ|CnÂOjt­ĚĤd’ÈŒF`’¶„@Ð딠¦ōҞ¨Sêv†HĢûXD®…QgėWiØPÞìºr¤dž€NĠ¢l–•ĄtZoœCƞÔºCxrpĠV®Ê{f_Y`_ƒeq’’®Aot`@o‚DXfkp¨|Šs¬\\D‘ÄSfè©Hn¬…^DhÆyøJh“ØxĢĀLʈ„ƠPżċĄwȠ̦G®ǒĤäTŠÆ~ĦwŠ«|TF¡Šn€c³Ïå¹]ĉđxe{ÎӐ†vOEm°BƂĨİ|G’vz½ª´€H’àp”eJ݆Qšxn‹ÀŠW­žEµàXÅĪt¨ÃĖrÄwÀFÎ|ňÓMå¼ibµ¯»åDT±m[“r«_gŽmQu~¥V\\OkxtL E¢‹ƒ‘Ú^~ýê‹Pó–qo슱_Êw§ÑªåƗā¼‹mĉŹ‹¿NQ“…YB‹ąrwģcÍ¥B•Ÿ­ŗÊcØiI—žƝĿuŒqtāwO]‘³YCñTeɕš‹caub͈]trlu€ī…B‘ПGsĵıN£ï—^ķqss¿FūūV՟·´Ç{éĈý‰ÿ›OEˆR_ŸđûIċâJh­ŅıN‘ȩĕB…¦K{Tk³¡OP·wn—µÏd¯}½TÍ«YiµÕsC¯„iM•¤™­•¦¯P|ÿUHv“he¥oFTu‰õ\\ŽOSs‹MòđƇiaºćXŸĊĵà·çhƃ÷ǜ{‘ígu^›đg’m[×zkKN‘¶Õ»lčÓ{XSƉv©_ÈëJbVk„ĔVÀ¤P¾ºÈMÖxlò~ªÚàGĂ¢B„±’ÌŒK˜y’áV‡¼Ã~­…`g›ŸsÙfI›Ƌlę¹e|–~udjˆuTlXµf`¿JdŠ[\\˜„L‚‘²"],encodeOffsets:[[116689,26234]]},properties:{cp:[115.892151,28.676493],name:"江西",childNum:1}},{id:"370000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@Xjd]{K"],["@@itbFHy"],["@@HlGk"],["@@T‚ŒGŸy"],["@@K¬˜•‹U"],["@@WdXc"],["@@PtOs"],["@@•LnXhc"],["@@ppVƒu]Or"],["@@cdzAUa"],["@@udRhnCI‡"],["@@ˆoIƒpR„"],["@@Ľč{fzƤî’Kš–ÎMĮ]†—ZFˆ½Y]â£ph’™š¶¨râøÀ†ÎǨ¤^ºÄ”Gzˆ~grĚĜlĞƄLĆdž¢Îo¦–cv“Kb€gr°Wh”mZp ˆL]LºcU‰Æ­n”żĤÌĒœbAnrOAœ´žȊcÀbƦUØrĆUÜøœĬƞ†š˜Ez„VL®öØBkŖÝĐĖ¹ŧ̄±ÀbÎɜnb²ĦhņBĖ›žįĦåXćì@L¯´ywƕCéõė ƿ¸‘lµ¾Z|†ZWyFYŸ¨Mf~C¿`€à_RÇzwƌfQnny´INoƬˆèôº|sT„JUš›‚L„îVj„ǎ¾Ē؍‚Dz²XPn±ŴPè¸ŔLƔÜƺ_T‘üÃĤBBċȉöA´fa„˜M¨{«M`‡¶d¡ô‰Ö°šmȰBÔjjŒ´PM|”c^d¤u•ƒ¤Û´Œä«ƢfPk¶Môlˆ]Lb„}su^ke{lC‘…M•rDŠÇ­]NÑFsmoõľH‰yGă{{çrnÓE‰‹ƕZGª¹Fj¢ïW…uøCǷ돡ąuhÛ¡^Kx•C`C\\bÅxì²ĝÝ¿_N‰īCȽĿåB¥¢·IŖÕy\\‡¹kx‡Ã£Č×GDyÕ¤ÁçFQ¡„KtŵƋ]CgÏAùSed‡cÚź—ŠuYfƒyMmhUWpSyGwMPqŀ—›Á¼zK›¶†G•­Y§Ëƒ@–´śÇµƕBmœ@Io‚g——Z¯u‹TMx}C‘‰VK‚ï{éƵP—™_K«™pÛÙqċtkkù]gŽ‹Tğwo•ɁsMõ³ă‡AN£™MRkmEʕč™ÛbMjÝGu…IZ™—GPģ‡ãħE[iµBEuŸDPԛ~ª¼ętŠœ]ŒûG§€¡QMsğNPŏįzs£Ug{đJĿļā³]ç«Qr~¥CƎÑ^n¶ÆéÎR~Ż¸Y’I“] P‰umŝrƿ›‰›Iā‹[x‰edz‹L‘¯v¯s¬ÁY…~}…ťuŁŒg›ƋpÝĄ_ņī¶ÏSR´ÁP~ž¿Cyžċßdwk´Ss•X|t‰`Ä Èð€AªìÎT°¦Dd–€a^lĎDĶÚY°Ž`ĪŴǒˆ”àŠv\\ebŒZH„ŖR¬ŢƱùęO•ÑM­³FۃWp[ƒ"]],encodeOffsets:[[[123806,39303]],[[123821,39266]],[[123742,39256]],[[123702,39203]],[[123649,39066]],[[123847,38933]],[[123580,38839]],[[123894,37288]],[[123043,36624]],[[123344,38676]],[[123522,38857]],[[123628,38858]],[[118260,36742]]]},properties:{cp:[117.000923,36.675807],name:"山东",childNum:13}},{id:"410000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@•ýL™ùµP³swIÓxcŢĞð†´E®žÚPt†ĴXØx¶˜@«ŕŕQGƒ‹Yfa[şu“ßǩ™đš_X³ijÕčC]kbc•¥CS¯ëÍB©÷‹–³­Siˆ_}m˜YTtž³xlàcȂzÀD}ÂOQ³ÐTĨ¯†ƗòËŖ[hœł‹Ŧv~††}ÂZž«¤lPǕ£ªÝŴÅR§ØnhcŒtâk‡nύ­ľŹUÓÝdKuķ‡I§oTũÙďkęĆH¸ÓŒ\\ăŒ¿PcnS{wBIvɘĽ[GqµuŸŇôYgûƒZcaŽ©@½Õǽys¯}lgg@­C\\£as€IdÍuCQñ[L±ęk·‹ţb¨©kK—’»›KC²‘òGKmĨS`ƒ˜UQ™nk}AGē”sqaJ¥ĐGR‰ĎpCuÌy ã iMc”plk|tRk†ðœev~^‘´†¦ÜŽSí¿_iyjI|ȑ|¿_»d}qŸ^{“Ƈdă}Ÿtqµ`Ƴĕg}V¡om½fa™Ço³TTj¥„tĠ—Ry”K{ùÓjuµ{t}uËR‘iŸvGŠçJFjµŠÍyqΘàQÂFewixGw½Yŷpµú³XU›½ġy™łå‰kÚwZXˆ·l„¢Á¢K”zO„Λ΀jc¼htoDHr…|­J“½}JZ_¯iPq{tę½ĕ¦Zpĵø«kQ…Ťƒ]MÛfaQpě±ǽ¾]u­Fu‹÷nƒ™čįADp}AjmcEǒaª³o³ÆÍSƇĈÙDIzˑ赟^ˆKLœ—i—Þñ€[œƒaA²zz‰Ì÷Dœ|[šíijgf‚ÕÞd®|`ƒĆ~„oĠƑô³Ŋ‘D×°¯CsŠøÀ«ì‰UMhTº¨¸ǡîS–Ô„DruÂÇZ•ÖEŽ’vPZ„žW”~؋ÐtĄE¢¦Ðy¸bŠô´oŬ¬Ž²Ês~€€]®tªašpŎJ¨Öº„_ŠŔ–`’Ŗ^Ѝ\\Ĝu–”~m²Ƹ›¸fW‰ĦrƔ}Î^gjdfÔ¡J}\\n C˜¦þWxªJRÔŠu¬ĨĨmF†dM{\\d\\ŠYÊ¢ú@@¦ª²SŠÜsC–}fNècbpRmlØ^g„d¢aÒ¢CZˆZxvÆ¶N¿’¢T@€uCœ¬^ĊðÄn|žlGl’™Rjsp¢ED}€Fio~ÔNŽ‹„~zkĘHVsDzßjƒŬŒŠŢ`Pûàl¢˜\\ÀœEhŽİgÞē X¼Pk–„|m"],encodeOffsets:[[118256,37017]]},properties:{cp:[113.665412,34.757975],name:"河南",childNum:1}},{id:"420000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@AB‚"],["@@lskt"],["@@¾«}{ra®pîÃ\\™›{øCŠËyyB±„b\\›ò˜Ý˜jK›‡L ]ĎĽÌ’JyÚCƈćÎT´Å´pb©È‘dFin~BCo°BĎĚømvŒ®E^vǾ½Ĝ²Ro‚bÜeNŽ„^ĺ£R†¬lĶ÷YoĖ¥Ě¾|sOr°jY`~I”¾®I†{GqpCgyl{‡£œÍƒÍyPL“¡ƒ¡¸kW‡xYlÙ抚ŁĢzœ¾žV´W¶ùŸo¾ZHxjwfx„GNÁ•³Xéæl¶‰EièIH‰ u’jÌQ~v|sv¶Ôi|ú¢Fh˜Qsğ¦ƒSiŠBg™ÐE^ÁÐ{–čnOÂȞUÎóĔ†ÊēIJ}Z³½Mŧïeyp·uk³DsѨŸL“¶_œÅuèw»—€¡WqÜ]\\‘Ò§tƗcÕ¸ÕFÏǝĉăxŻČƟO‡ƒKÉġÿ×wg”÷IÅzCg†]m«ªGeçÃTC’«[‰t§{loWeC@ps_Bp‘­r‘„f_``Z|ei¡—oċMqow€¹DƝӛDYpûs•–‹Ykıǃ}s¥ç³[§ŸcYŠ§HK„«Qy‰]¢“wwö€¸ïx¼ņ¾Xv®ÇÀµRĠЋžHMž±cÏd„ƒǍũȅȷ±DSyúĝ£ŤĀàtÖÿï[îb\\}pĭÉI±Ñy…¿³x¯N‰o‰|¹H™ÏÛm‹júË~Tš•u˜ęjCöAwě¬R’đl¯ Ñb­‰ŇT†Ŀ_[Œ‘IčĄʿnM¦ğ\\É[T·™k¹œ©oĕ@A¾w•ya¥Y\\¥Âaz¯ãÁ¡k¥ne£Ûw†E©Êō¶˓uoj_Uƒ¡cF¹­[Wv“P©w—huÕyBF“ƒ`R‹qJUw\\i¡{jŸŸEPïÿ½fć…QÑÀQ{ž‚°‡fLԁ~wXg—ītêݾ–ĺ‘Hdˆ³fJd]‹HJ²…E€ƒoU¥†HhwQsƐ»Xmg±çve›]Dm͂PˆoCc¾‹_h”–høYrŊU¶eD°Č_N~øĹĚ·`z’]Äþp¼…äÌQŒv\\rCŒé¾TnkžŐڀÜa‡“¼ÝƆĢ¶Ûo…d…ĔňТJq’Pb ¾|JŒ¾fXŠƐîĨ_Z¯À}úƲ‹N_ĒĊ^„‘ĈaŐyp»CÇĕKŠšñL³ŠġMŒ²wrIÒŭxjb[œžn«øœ˜—æˆàƒ ^²­h¯Ú€ŐªÞ¸€Y²ĒVø}Ā^İ™´‚LŠÚm„¥ÀJÞ{JVŒųÞŃx×sxxƈē ģMř–ÚðòIf–Ċ“Œ\\Ʈ±ŒdʧĘD†vČ_Àæ~DŒċ´A®µ†¨ØLV¦êHÒ¤"]],encodeOffsets:[[[113712,34e3]],[[115612,30507]],[[113649,34054]]]},properties:{cp:[114.298572,30.584355],name:"湖北",childNum:3}},{id:"430000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@—n„FTs"],["@@ßÅÆችÔXr—†CO™“…ËR‘ïÿĩ­TooQyšÓ[‹ŅBE¬–ÎÓXa„į§Ã¸G °ITxp‰úxÚij¥Ïš–Ģ¾ŠedžÄ©ĸG…œàGh‚€M¤–Â_U}Ċ}¢pczfŠþg¤€”ÇòAV‘‹M"],["@@©K—ƒA·³CQ±Á«³BUŠƑ¹AŠtćOw™D]ŒJiØSm¯b£‘ylƒ›X…HËѱH•«–‘C^õľA–Å§¤É¥„ïyuǙuA¢^{ÌC´­¦ŷJ£^[†“ª¿‡ĕ~•Ƈ…•N… skóā‡¹¿€ï]ă~÷O§­@—Vm¡‹Qđ¦¢Ĥ{ºjԏŽŒª¥nf´•~ÕoŸž×Ûą‹MąıuZœmZcÒ IJĪ²SÊDŽŶ¨ƚƒ’CÖŎªQؼrŭŽ­«}NÏürʬŒmjr€@ĘrTW ­SsdHzƓ^ÇÂyUi¯DÅYlŹu{hTœ}mĉ–¹¥ě‰Dÿë©ıÓ[Oº£ž“¥ót€ł¹MՄžƪƒ`Pš…Di–ÛUŠ¾Å‌ìˆU’ñB“È£ýhe‰dy¡oċ€`pfmjP~‚kZa…ZsÐd°wj§ƒ@€Ĵ®w~^‚kÀÅKvNmX\\¨a“”сqvíó¿F„¤¡@ũÑVw}S@j}¾«pĂr–ªg àÀ²NJ¶¶Dô…K‚|^ª†Ž°LX¾ŴäPĪ±œ£EXd›”^¶›IJÞܓ~‘u¸ǔ˜Ž›MRhsR…e†`ÄofIÔ\\Ø  i”ćymnú¨cj ¢»–GČìƊÿШXeĈĀ¾Oð Fi ¢|[jVxrIQŒ„_E”zAN¦zLU`œcªx”OTu RLÄ¢dV„i`p˔vŎµªÉžF~ƒØ€d¢ºgİàw¸Áb[¦Zb¦–z½xBĖ@ªpº›šlS¸Ö\\Ĕ[N¥ˀmĎă’J\\‹ŀ`€…ňSڊĖÁĐiO“Ĝ«BxDõĚiv—ž–S™Ì}iùŒžÜnšÐºGŠ{Šp°M´w†ÀÒzJ²ò¨ oTçüöoÛÿñŽőФ‚ùTz²CȆȸǎŪƒƑÐc°dPÎŸğ˶[Ƚu¯½WM¡­Éž“’B·rížnZŸÒ `‡¨GA¾\\pē˜XhÆRC­üWGġu…T靧Ŏѝ©ò³I±³}_‘‹EÃħg®ęisÁPDmÅ{‰b[Rşs·€kPŸŽƥƒóRo”O‹ŸVŸ~]{g\\“êYƪ¦kÝbiċƵŠGZ»Ěõ…ó·³vŝž£ø@pyö_‹ëŽIkѵ‡bcѧy…×dY؎ªiþž¨ƒ[]f]Ņ©C}ÁN‡»hĻħƏ’ĩ"]],encodeOffsets:[[[115640,30489]],[[112543,27312]],[[116690,26230]]]},properties:{cp:[112.982279,28.19409],name:"湖南",childNum:3}},{id:"440000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@QdˆAua"],["@@ƒlxDLo"],["@@sbhNLo"],["@@Ă āŸ"],["@@WltO[["],["@@Krœ]S"],["@@e„„I]y"],["@@I|„Mym"],["@@ƒÛ³LSŒž¼Y"],["@@nvºB–ëui©`¾"],["@@zdšÛ›Jw®"],["@@†°…¯"],["@@a yAª¸ËJIx،@€ĀHAmßV¡o•fu•o"],["@@šs‰ŗÃÔėAƁ›ZšÄ ~°ČP‚‹äh"],["@@‹¶Ý’Ì‚vmĞh­ı‡Q"],["@@HœŠdSjĒ¢D}war…“u«ZqadYM"],["@@elŒ\\LqqU"],["@@~rMo\\"],["@@f„^ƒC"],["@@øPªoj÷ÍÝħXČx”°Q¨ıXNv"],["@@gÇƳˆŽˆ”oˆŠˆ[~tly"],["@@E–ÆC¿‘"],["@@OŽP"],["@@w‹†đóg‰™ĝ—[³‹¡VÙæÅöM̳¹pÁaËýý©D©Ü“JŹƕģGą¤{Ùū…ǘO²«BƱéA—Ò‰ĥ‡¡«BhlmtÃPµyU¯uc“d·w_bŝcīímGOŽ|KP’ȏ‡ŹãŝIŕŭŕ@Óoo¿ē‹±ß}Ž…ŭ‚ŸIJWÈCőâUâǙI›ğʼn©I›ijEׅÁ”³Aó›wXJþ±ÌŒÜӔĨ£L]ĈÙƺZǾĆĖMĸĤfŒÎĵl•ŨnȈ‘ĐtF”Š–FĤ–‚êk¶œ^k°f¶gŠŽœ}®Fa˜f`vXŲxl˜„¦–ÔÁ²¬ÐŸ¦pqÊ̲ˆi€XŸØRDÎ}†Ä@ZĠ’s„x®AR~®ETtĄZ†–ƈfŠŠHâÒÐA†µ\\S¸„^wĖkRzŠalŽŜ|E¨ÈNĀňZTŒ’pBh£\\ŒĎƀuXĖtKL–¶G|Ž»ĺEļĞ~ÜĢÛĊrˆO˜Ùîvd]nˆ¬VœÊĜ°R֟pM††–‚ƂªFbwžEÀˆ˜©Œž\\…¤]ŸI®¥D³|ˎ]CöAŤ¦…æ’´¥¸Lv¼€•¢ĽBaô–F~—š®²GÌҐEY„„œzk¤’°ahlV՞I^‹šCxĈPŽsB‰ƒºV‰¸@¾ªR²ĨN]´_eavSi‡vc•}p}Đ¼ƌkJœÚe thœ†_¸ ºx±ò_xN›Ë‹²‘@ƒă¡ßH©Ùñ}wkNÕ¹ÇO½¿£ĕ]ly_WìIžÇª`ŠuTÅxYĒÖ¼k֞’µ‚MžjJÚwn\\h‘œĒv]îh|’È›Ƅøègž¸Ķß ĉĈWb¹ƀdéʌNTtP[ŠöSvrCZžžaGuœbo´ŖÒÇА~¡zCI…özx¢„Pn‹•‰Èñ @ŒĥÒ¦†]ƞŠV}³ăĔñiiÄÓVépKG½Ä‘ÓávYo–C·sit‹iaÀy„ŧΡÈYDÑům}‰ý|m[węõĉZÅxUO}÷N¹³ĉo_qtă“qwµŁYلǝŕ¹tïÛUïmRCº…ˆĭ|µ›ÕÊK™½R‘ē ó]‘–GªęAx–»HO£|ām‡¡diď×YïYWªʼnOeÚtĐ«zđ¹T…ā‡úE™á²\\‹ķÍ}jYàÙÆſ¿Çdğ·ùTßÇţʄ¡XgWÀLJğ·¿ÃˆOj YÇ÷Qě‹i"]],encodeOffsets:[[[117381,22988]],[[116552,22934]],[[116790,22617]],[[116973,22545]],[[116444,22536]],[[116931,22515]],[[116496,22490]],[[116453,22449]],[[113301,21439]],[[118726,21604]],[[118709,21486]],[[113210,20816]],[[115482,22082]],[[113171,21585]],[[113199,21590]],[[115232,22102]],[[115739,22373]],[[115134,22184]],[[113056,21175]],[[119573,21271]],[[119957,24020]],[[115859,22356]],[[116561,22649]],[[116285,22746]]]},properties:{cp:[113.280637,23.125178],name:"广东",childNum:24}},{id:"450000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@H– TQ§•A"],["@@ĨʪƒLƒƊDÎĹĐCǦė¸zÚGn£¾›rªŀÜt¬@֛ڈSx~øOŒ˜ŶÐÂæȠ\\„ÈÜObĖw^oބLf¬°bI lTØB̈F£Ć¹gñĤaY“t¿¤VSñœK¸¤nM†¼‚JE±„½¸šŠño‹ÜCƆæĪ^ŠĚQÖ¦^‡ˆˆf´Q†üÜʝz¯šlzUĺš@쇀p¶n]sxtx¶@„~ÒĂJb©gk‚{°‚~c°`ԙ¬rV\\“la¼¤ôá`¯¹LC†ÆbŒxEræO‚v[H­˜„[~|aB£ÖsºdAĐzNÂðsŽÞƔ…Ĥªbƒ–ab`ho¡³F«èVloŽ¤™ÔRzpp®SŽĪº¨ÖƒºN…ij„d`’a”¦¤F³ºDÎńĀìŠCžĜº¦Ċ•~nS›|gźvZkCÆj°zVÈÁƔ]LÊFZg…čP­kini«‹qǀcz͔Y®¬Ů»qR×ō©DՄ‘§ƙǃŵTÉĩ±ŸıdÑnYY›IJvNĆƌØÜ Öp–}e³¦m‹©iÓ|¹Ÿħņ›|ª¦QF¢Â¬ʖovg¿em‡^ucà÷gՎuŒíÙćĝ}FĻ¼Ĺ{µHK•sLSđƃr‹č¤[Ag‘oS‹ŇYMÿ§Ç{Fśbky‰lQxĕƒ]T·¶[B…ÑÏGáşşƇe€…•ăYSs­FQ}­Bƒw‘tYğÃ@~…C̀Q ×W‡j˱rÉ¥oÏ ±«ÓÂ¥•ƒ€k—ŽwWűŒmcih³K›~‰µh¯e]lµ›él•Eģ‰•E“ďs‡’mǖŧē`ãògK_ÛsUʝ“ćğ¶hŒöŒO¤Ǜn³Žc‘`¡y‹¦C‘ez€YŠwa™–‘[ďĵűMę§]X˜Î_‚훘Û]é’ÛUćİÕBƣ±…dƒy¹T^džûÅÑŦ·‡PĻþÙ`K€¦˜…¢ÍeœĥR¿Œ³£[~Œäu¼dl‰t‚†W¸oRM¢ď\\zœ}Æzdvň–{ÎXF¶°Â_„ÒÂÏL©Ö•TmuŸ¼ãl‰›īkiqéfA„·Êµ\\őDc¥ÝF“y›Ôć˜c€űH_hL܋êĺШc}rn`½„Ì@¸¶ªVLŒŠhŒ‹\\•Ţĺk~ŽĠið°|gŒtTĭĸ^x‘vK˜VGréAé‘bUu›MJ‰VÃO¡…qĂXËS‰ģãlýàŸ_ju‡YÛÒB†œG^˜é֊¶§ŽƒEG”ÅzěƒƯ¤Ek‡N[kdåucé¬dnYpAyČ{`]þ¯T’bÜÈk‚¡Ġ•vŒàh„ÂƄ¢J"]],encodeOffsets:[[[111707,21520]],[[107619,25527]]]},properties:{cp:[108.320004,22.82402],name:"广西",childNum:2}},{id:"460000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@š¦Ŝil¢”XƦ‘ƞò–ïè§ŞCêɕrŧůÇąĻõ™·ĉ³œ̅kÇm@ċȧƒŧĥ‰Ľʉ­ƅſ“ȓÒ˦ŝE}ºƑ[ÍĜȋ gÎfǐÏĤ¨êƺ\\Ɔ¸ĠĎvʄȀœÐ¾jNðĀÒRŒšZdž™zÐŘΰH¨Ƣb²_Ġ "],encodeOffsets:[[112750,20508]]},properties:{cp:[110.33119,20.031971],name:"海南",childNum:1}},{id:"510000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@LqKr"],["@@Š[ĻéV£ž_ţġñpG •réÏ·~ąSfy×͂·ºſƽiÍıƣıĻmHH}siaX@iÇ°ÁÃ×t«ƒ­Tƒ¤J–JJŒyJ•ÈŠ`Ohߦ¡uËhIyCjmÿw…ZG……Ti‹SˆsO‰žB²ŸfNmsPaˆ{M{ŠõE‘^Hj}gYpaeuž¯‘oáwHjÁ½M¡pM“–uå‡mni{fk”\\oƒÎqCw†EZ¼K›ĝŠƒAy{m÷L‡wO×SimRI¯rK™õBS«sFe‡]fµ¢óY_ÆPRcue°Cbo׌bd£ŌIHgtrnyPt¦foaXďx›lBowz‹_{ÊéWiêE„GhܸºuFĈIxf®Ž•Y½ĀǙ]¤EyŸF²ċ’w¸¿@g¢§RGv»–áŸW`ÃĵJwi]t¥wO­½a[׈]`Ãi­üL€¦LabbTÀå’c}Íh™Æhˆ‹®BH€î|Ék­¤S†y£„ia©taį·Ɖ`ō¥Uh“O…ƒĝLk}©Fos‰´›Jm„µlŁu—…ø–nÑJWΪ–YÀïAetTžŅ‚ӍG™Ë«bo‰{ıwodƟ½ƒžOġܑµxàNÖ¾P²§HKv¾–]|•B‡ÆåoZ`¡Ø`ÀmºĠ~ÌЧnDž¿¤]wğ@sƒ‰rğu‰~‘Io”[é±¹ ¿žſđӉ@q‹gˆ¹zƱřaí°KtǤV»Ã[ĩǭƑ^ÇÓ@ỗs›Zϕ‹œÅĭ€Ƌ•ěpwDóÖሯneQˌq·•GCœýS]xŸ·ý‹q³•O՜Œ¶Qzßti{ř‰áÍÇWŝŭñzÇW‹pç¿JŒ™‚Xœĩè½cŒF–ÂLiVjx}\\N†ŇĖ¥Ge–“JA¼ÄHfÈu~¸Æ«dE³ÉMA|b˜Ò…˜ćhG¬CM‚õŠ„ƤąAvƒüV€éŀ‰_V̳ĐwQj´·ZeÈÁ¨X´Æ¡Qu·»Ÿ“˜ÕZ³ġqDo‰y`L¬gdp°şŠp¦ėìÅĮZŽ°Iä”h‚‘ˆzŠĵœf²å ›ĚрKp‹IN|‹„Ñz]ń……·FU×é»R³™MƒÉ»GM«€ki€™ér™}Ã`¹ăÞmȝnÁîRǀ³ĜoİzŔwǶVÚ£À]ɜ»ĆlƂ²Ġ…þTº·àUȞÏʦ¶†I’«dĽĢdĬ¿–»Ĕ׊h\\c¬†ä²GêëĤł¥ÀǿżÃÆMº}BÕĢyFVvw–ˆxBèĻĒ©Ĉ“tCĢɽŠȣ¦āæ·HĽî“ôNԓ~^¤Ɗœu„œ^s¼{TA¼ø°¢İªDè¾Ň¶ÝJ‘®Z´ğ~Sn|ªWÚ©òzPOȸ‚bð¢|‹øĞŠŒœŒQìÛÐ@Ğ™ǎRS¤Á§d…i“´ezÝúØã]Hq„kIŸþËQǦÃsǤ[E¬ÉŪÍxXƒ·ÖƁİlƞ¹ª¹|XÊwn‘ÆƄmÀêErĒtD®ċæcQƒ”E®³^ĭ¥©l}äQto˜ŖÜqƎkµ–„ªÔĻĴ¡@Ċ°B²Èw^^RsºTĀ£ŚæœQP‘JvÄz„^Đ¹Æ¯fLà´GC²‘dt˜­ĀRt¼¤ĦOðğfÔðDŨŁĞƘïžPȆ®âbMüÀXZ ¸£@Ś›»»QÉ­™]d“sÖ×_͖_ÌêŮPrĔĐÕGĂeZÜîĘqBhtO ¤tE[h|Y‹Ô‚ZśÎs´xº±UŒ’ñˆt|O’ĩĠºNbgþŠJy^dÂY Į„]Řz¦gC‚³€R`ĀŠz’¢AjŒ¸CL„¤RÆ»@­Ŏk\\Ç´£YW}z@Z}‰Ã¶“oû¶]´^N‡Ò}èN‚ª–P˜Íy¹`S°´†ATe€VamdUĐwʄvĮÕ\\ƒu‹Æŗ¨Yp¹àZÂm™Wh{á„}WØǍ•Éüw™ga§áCNęÎ[ĀÕĪgÖɪX˜øx¬½Ů¦¦[€—„NΆL€ÜUÖ´òrÙŠxR^–†J˜k„ijnDX{Uƒ~ET{ļº¦PZc”jF²Ė@Žp˜g€ˆ¨“B{ƒu¨ŦyhoÚD®¯¢˜ WòàFΤ¨GDäz¦kŮPœġq˚¥À]€Ÿ˜eŽâÚ´ªKxī„Pˆ—Ö|æ[xäJÞĥ‚s’NÖ½ž€I†¬nĨY´®Ð—ƐŠ€mD™ŝuäđđEb…e’e_™v¡}ìęNJē}q”É埁T¯µRs¡M@}ůa†a­¯wvƉåZwž\\Z{åû^›"]],encodeOffsets:[[[108815,30935]],[[110617,31811]]]},properties:{cp:[104.065735,30.659462],name:"四川",childNum:2}},{id:"520000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@†G\\†lY£‘in"],["@@q‚|ˆ‚mc¯tχVSÎ"],["@@hÑ£Is‡NgßH†›HªķÃh_¹ƒ¡ĝħń¦uيùŽgS¯JHŸ|sÝÅtÁïyMDč»eÕtA¤{b\\}—ƒG®u\\åPFq‹wÅaD…žK°ºâ_£ùbµ”mÁ‹ÛœĹM[q|hlaªāI}тƒµ@swtwm^oµˆD鼊yV™ky°ÉžûÛR…³‚‡eˆ‡¥]RՋěħ[ƅåÛDpŒ”J„iV™™‰ÂF²I…»mN·£›LbÒYb—WsÀbŽ™pki™TZĄă¶HŒq`……ĥ_JŸ¯ae«ƒKpÝx]aĕÛPƒÇȟ[ÁåŵÏő—÷Pw}‡TœÙ@Õs«ĿÛq©½œm¤ÙH·yǥĘĉBµĨÕnđ]K„©„œá‹ŸG纍§Õßg‡ǗĦTèƤƺ{¶ÉHÎd¾ŚÊ·OÐjXWrãLyzÉAL¾ę¢bĶėy_qMĔąro¼hĊžw¶øV¤w”²Ĉ]ʚKx|`ź¦ÂÈdr„cȁbe¸›`I¼čTF´¼Óýȃr¹ÍJ©k_șl³´_pН`oÒhŽ¶pa‚^ÓĔ}D»^Xyœ`d˜[Kv…JPhèhCrĂĚÂ^Êƌ wˆZL­Ġ£šÁbrzOIl’MM”ĪŐžËr×ÎeŦŽtw|Œ¢mKjSǘňĂStÎŦEtqFT†¾†E쬬ôxÌO¢Ÿ KŠ³ŀºäY†„”PVgŎ¦Ŋm޼VZwVlŒ„z¤…ž£Tl®ctĽÚó{G­A‡ŒÇgeš~Αd¿æaSba¥KKûj®_ć^\\ؾbP®¦x^sxjĶI_Ä X‚⼕Hu¨Qh¡À@Ëô}Ž±žGNìĎlT¸ˆ…`V~R°tbÕĊ`¸úÛtπFDu€[ƒMfqGH·¥yA‰ztMFe|R‚_Gk†ChZeÚ°to˜v`x‹b„ŒDnÐ{E}šZ˜è€x—†NEފREn˜[Pv@{~rĆAB§‚EO¿|UZ~ì„Uf¨J²ĂÝƀ‚sª–B`„s¶œfvö¦ŠÕ~dÔq¨¸º»uù[[§´sb¤¢zþFœ¢Æ…Àhˆ™ÂˆW\\ıŽËI݊o±ĭŠ£þˆÊs}¡R]ŒěƒD‚g´VG¢‚j±®è†ºÃmpU[Á›‘Œëº°r›ÜbNu¸}Žº¼‡`ni”ºÔXĄ¤¼Ôdaµ€Á_À…†ftQQgœR—‘·Ǔ’v”}Ýלĵ]µœ“Wc¤F²›OĩųãW½¯K‚©…]€{†LóµCIµ±Mß¿hŸ•©āq¬o‚½ž~@i~TUxŪÒ¢@ƒ£ÀEîôruń‚”“‚b[§nWuMÆLl¿]x}ij­€½"]],encodeOffsets:[[[112158,27383]],[[112105,27474]],[[112095,27476]]]},properties:{cp:[106.713478,26.578343],name:"贵州",childNum:3}},{id:"530000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@[„ùx½}ÑRH‘YīĺûsÍn‘iEoã½Ya²ė{c¬ĝg•ĂsA•ØÅwď‚õzFjw}—«Dx¿}UũlŸê™@•HÅ­F‰¨ÇoJ´Ónũuą¡Ã¢pÒŌ“Ø TF²‚xa²ËX€‚cʋlHîAßËŁkŻƑŷÉ©h™W­æßU‡“Ës¡¦}•teèƶStǀÇ}Fd£j‹ĈZĆÆ‹¤T‚č\\Dƒ}O÷š£Uˆ§~ŃG™‚åŃDĝ¸œTsd¶¶Bªš¤u¢ŌĎo~t¾ÍŶÒtD¦Ú„iôö‰€z›ØX²ghįh½Û±¯€ÿm·zR¦Ɵ`ªŊÃh¢rOԍ´£Ym¼èêf¯ŪĽn„†cÚbŒw\\zlvWžªâˆ ¦g–mĿBş£¢ƹřbĥkǫßeeZkÙIKueT»sVesb‘aĕ  ¶®dNœĄÄpªyŽ¼—„³BE˜®l‡ŽGœŭCœǶwêżĔÂe„pÍÀQƞpC„–¼ŲÈ­AÎô¶R„ä’Q^Øu¬°š_Èôc´¹ò¨P΢hlϦ´Ħ“Æ´sâDŽŲPnÊD^¯°’Upv†}®BP̪–jǬx–Söwlfòªv€qĸ|`H€­viļ€ndĜ­Ćhň•‚em·FyށqóžSį¯‘³X_ĞçêtryvL¤§z„¦c¦¥jnŞk˜ˆlD¤øz½ĜàžĂŧMÅ|áƆàÊcðÂF܎‚áŢ¥\\\\º™İøÒÐJĴ‡„îD¦zK²ǏÎEh~’CD­hMn^ÌöÄ©ČZÀžaü„fɭyœpį´ěFűk]Ôě¢qlÅĆÙa¶~Äqššê€ljN¬¼H„ÊšNQ´ê¼VظE††^ŃÒyŒƒM{ŒJLoÒœęæŸe±Ķ›y‰’‡gã“¯JYÆĭĘëo¥Š‰o¯hcK«z_pŠrC´ĢÖY”—¼ v¸¢RŽÅW³Â§fǸYi³xR´ďUˊ`êĿU„û€uĆBƒƣö‰N€DH«Ĉg†——Ñ‚aB{ÊNF´¬c·Åv}eÇÃGB»”If•¦HňĕM…~[iwjUÁKE•Ž‹¾dĪçW›šI‹èÀŒoÈXòyŞŮÈXâÎŚŠj|àsRy‹µÖ›–Pr´þŒ ¸^wþTDŔ–Hr¸‹žRÌmf‡żÕâCôox–ĜƌÆĮŒ›Ð–œY˜tâŦÔ@]ÈǮƒ\\Ī¼Ä£UsȯLbîƲŚºyh‡rŒŠ@ĒԝƀŸÀ²º\\êp“’JŠ}ĠvŠqt„Ġ@^xÀ£È†¨mËÏğ}n¹_¿¢×Y_æpˆÅ–A^{½•Lu¨GO±Õ½ßM¶w’ÁĢۂP‚›Ƣ¼pcIJxŠ|ap̬HšÐŒŊSfsðBZ¿©“XÏÒK•k†÷Eû¿‰S…rEFsÕūk”óVǥʼniTL‚¡n{‹uxţÏh™ôŝ¬ğōN“‘NJkyPaq™Âğ¤K®‡YŸxÉƋÁ]āęDqçgOg†ILu—\\_gz—]W¼ž~CÔē]bµogpў_oď`´³Țkl`IªºÎȄqÔþž»E³ĎSJ»œ_f·‚adÇqƒÇc¥Á_Źw{™L^ɱćx“U£µ÷xgĉp»ĆqNē`rĘzaĵĚ¡K½ÊBzyäKXqiWPÏɸ½řÍcÊG|µƕƣG˛÷Ÿk°_^ý|_zċBZocmø¯hhcæ\\lˆMFlư£Ĝ„ÆyH“„F¨‰µêÕ]—›HA…àӄ^it `þßäkŠĤÎT~Wlÿ¨„ÔPzUC–NVv [jâôDôď[}ž‰z¿–msSh‹¯{jïğl}šĹ[–őŒ‰gK‹©U·µË@¾ƒm_~q¡f¹…ÅË^»‘f³ø}Q•„¡Ö˳gͱ^ǁ…\\ëÃA_—¿bW›Ï[¶ƛ鏝£F{īZgm@|kHǭƁć¦UĔťƒ×ë}ǝƒeďºȡȘÏíBə£āĘPªij¶“ʼnÿ‡y©n‰ď£G¹¡I›Š±LÉĺÑdĉ܇W¥˜‰}g˜Á†{aqÃ¥aŠıęÏZ—ï`"],encodeOffsets:[[104636,22969]]},properties:{cp:[102.712251,25.040609],name:"云南",childNum:1}},{id:"540000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@hžľxŽŖ‰xƒÒVŽ†ºÅâAĪÝȆµę¯Ňa±r_w~uSÕň‘qOj]ɄQ…£Z……UDûoY’»©M[‹L¼qãË{V͕çWViŽ]ë©Ä÷àyƛh›ÚU°ŒŒa”d„cQƒ~Mx¥™cc¡ÙaSyF—ցk­ŒuRýq¿Ôµ•QĽ³aG{¿FµëªéĜÿª@¬·–K‰·àariĕĀ«V»Ŷ™Ĵū˜gèLǴŇƶaf‹tŒèBŚ£^Šâ†ǐÝ®–šM¦ÁǞÿ¬LhŸŽJ¾óƾƺcxw‹f]Y…´ƒ¦|œQLn°aœdĊ…œ\\¨o’œǀÍŎœ´ĩĀd`tÊQŞŕ|‚¨C^©œĈ¦„¦ÎJĊ{ŽëĎjª²rЉšl`¼Ą[t|¦St辉PŒÜK¸€d˜Ƅı]s¤—î_v¹ÎVòŦj˜£Əsc—¬_Ğ´|Ł˜¦AvŽ¦w`ăaÝaa­¢e¤ı²©ªSªšÈMĄwžÉØŔì@T‘¤—Ę™\\õª@”þo´­xA s”ÂtŎKzó´ÇĊµ¢rž^nĊ­Æ¬×üGž¢‚³ {âĊ]š™G‚~bÀgVjzlhǶf€žOšfdŠ‰ªB]pj„•TO–tĊ‚n¤}®¦ƒČ¥d¢¼»ddš”Y¼Žt—¢eȤJ¤}Ǿ¡°§¤AГlc@ĝ”sªćļđAç‡wx•UuzEÖġ~AN¹ÄÅȀŻ¦¿ģŁéì±H…ãd«g[؉¼ēÀ•cīľġ¬cJ‘µ…ÐʥVȝ¸ßS¹†ý±ğkƁ¼ą^ɛ¤Ûÿ‰b[}¬ōõÃ]ËNm®g@•Bg}ÍF±ǐyL¥íCˆƒIij€Ï÷њį[¹¦[⚍EÛïÁÉdƅß{âNÆāŨߝ¾ě÷yC£‡k­´ÓH@¹†TZ¥¢įƒ·ÌAЧ®—Zc…v½ŸZ­¹|ŕWZqgW“|ieZÅYVӁqdq•bc²R@†c‡¥Rã»Ge†ŸeƃīQ•}J[ғK…¬Ə|o’ėjġĠÑN¡ð¯EBčnwôɍėªƒ²•CλŹġǝʅįĭạ̃ūȹ]ΓͧgšsgȽóϧµǛ†ęgſ¶ҍć`ĘąŌJޚä¤rÅň¥ÖÁUětęuůÞiĊÄÀ\\Æs¦ÓRb|Â^řÌkÄŷ¶½÷‡f±iMݑ›‰@ĥ°G¬ÃM¥n£Øą‚ğ¯ß”§aëbéüÑOčœk£{\\‘eµª×M‘šÉfm«Ƒ{Å׃Gŏǩãy³©WÑăû‚··‘Q—òı}¯ã‰I•éÕÂZ¨īès¶ZÈsŽæĔTŘvŽgÌsN@îá¾ó@‰˜ÙwU±ÉT廣TđŸWxq¹Zo‘b‹s[׌¯cĩv‡Œėŧ³BM|¹k‰ªħ—¥TzNYnݍßpęrñĠĉRS~½ŠěVVŠµ‚õ‡«ŒM££µB•ĉ¥áºae~³AuĐh`Ü³ç@BۘïĿa©|z²Ý¼D”£àč²‹ŸƒIƒû›I ā€óK¥}rÝ_Á´éMaň¨€~ªSĈ½Ž½KÙóĿeƃÆBŽ·¬ën×W|Uº}LJrƳ˜lŒµ`bÔ`QˆˆÐÓ@s¬ñIŒÍ@ûws¡åQÑßÁ`ŋĴ{Ī“T•ÚÅTSij‚‹Yo|Ç[ǾµMW¢ĭiÕØ¿@˜šMh…pÕ]j†éò¿OƇĆƇp€êĉâlØw–ěsˆǩ‚ĵ¸c…bU¹ř¨WavquSMzeo_^gsÏ·¥Ó@~¯¿RiīB™Š\\”qTGªÇĜçPoŠÿfñòą¦óQīÈáP•œābß{ƒZŗĸIæńhnszÁCËìñšÏ·ąĚÝUm®ó­L·ăU›Èíoù´Êj°ŁŤ_uµ^‘°Œìǖ@tĶĒ¡Æ‡M³Ģ«˜İĨÅ®ğ†RŽāð“ggheÆ¢z‚Ê©Ô\\°ÝĎz~ź¤Pn–MĪÖB£Ÿk™n鄧żćŠ˜ĆK„Ē°¼L¶è‰âz¨u¦¥LDĘz¬ýÎmĘd¾ß”Fz“hg²™Fy¦ĝ¤ċņbΛ@y‚Ąæm°NĮZRÖíŽJ²öLĸÒ¨Y®ƌÐV‰à˜tt_ڀÂyĠzž]Ţh€zĎ{†ĢX”ˆc|šÐqŽšfO¢¤ög‚ÌHNŽ„PKŖœŽ˜Uú´xx[xˆvĐCûĀŠìÖT¬¸^}Ìsòd´_Ž‡KgžLĴ…ÀBon|H@–Êx˜—¦BpŰˆŌ¿fµƌA¾zLjRxŠ¶F”œkĄźRzŀˆ~¶[”´Hnª–VƞuĒ­È¨ƎcƽÌm¸ÁÈM¦x͊ëÀxdžB’šú^´W†£–d„kɾĬpœw‚˂ØɦļĬIŚœÊ•n›Ŕa¸™~J°î”lɌxĤÊÈðhÌ®‚g˜T´øŽàCˆŽÀ^ªerrƘdž¢İP|Ė ŸWœªĦ^¶´ÂL„aT±üWƜ˜ǀRšŶUńšĖ[QhlLüA†‹Ü\\†qR›Ą©"],encodeOffsets:[[90849,37210]]},properties:{cp:[91.132212,29.660361],name:"西藏",childNum:1}},{id:"610000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@˜p¢—ȮµšûG™Ħ}Ħšðǚ¶òƄ€jɂz°{ºØkÈęâ¦jª‚Bg‚\\œċ°s¬Ž’]jžú ‚E”Ȍdž¬s„t‡”RˆÆdĠݎwܔ¸ôW¾ƮłÒ_{’Ìšû¼„jº¹¢GǪÒ¯ĘƒZ`ºŊƒecņąš~BÂgzpâēòYǠȰÌTΨÂWœ|fcŸă§uF—Œ@NŸ¢XLƒŠRMº[ğȣſï|¥J™kc`sʼnǷ’Y¹‹W@µ÷K…ãï³ÛIcñ·VȋڍÒķø©—þ¥ƒy‚ÓŸğęmWµÎumZyOŅƟĥÓ~sÑL¤µaŅY¦ocyZ{‰y c]{ŒTa©ƒ`U_Ěē£ωÊƍKù’K¶ȱÝƷ§{û»ÅÁȹÍéuij|¹cÑd‘ŠìUYƒŽO‘uF–ÕÈYvÁCqӃT•Ǣí§·S¹NgŠV¬ë÷Át‡°Dد’C´ʼnƒópģ}„ċcE˅FŸŸéGU¥×K…§­¶³B‹Č}C¿åċ`wġB·¤őcƭ²ő[Å^axwQO…ÿEËߌ•ĤNĔŸwƇˆÄŠńwĪ­Šo[„_KÓª³“ÙnK‰Çƒěœÿ]ď€ă_d©·©Ýŏ°Ù®g]±„Ÿ‡ß˜å›—¬÷m\\›iaǑkěX{¢|ZKlçhLt€Ňîŵ€œè[€É@ƉĄEœ‡tƇÏ˜³­ħZ«mJ…›×¾‘MtÝĦ£IwÄå\\Õ{‡˜ƒOwĬ©LÙ³ÙgBƕŀr̛ĢŭO¥lãyC§HÍ£ßEñŸX¡—­°ÙCgpťz‘ˆb`wI„vA|§”‡—hoĕ@E±“iYd¥OĻ¹S|}F@¾oAO²{tfžÜ—¢Fǂ҈W²°BĤh^Wx{@„¬‚­F¸¡„ķn£P|ŸªĴ@^ĠĈæb–Ôc¶l˜Yi…–^Mi˜cĎ°Â[ä€vï¶gv@À“Ĭ·lJ¸sn|¼u~a]’ÆÈtŌºJp’ƒþ£KKf~Š¦UbyäIšĺãn‡Ô¿^­žŵMT–hĠܤko¼Ŏìąǜh`[tŒRd²IJ_œXPrɲ‰l‘‚XžiL§àƒ–¹ŽH˜°Ȧqº®QC—bA†„ŌJ¸ĕÚ³ĺ§ `d¨YjžiZvRĺ±öVKkjGȊĐePОZmļKÀ€‚[ŠŽ`ösìh†ïÎoĬdtKÞ{¬èÒÒBŒÔpIJÇĬJŊ¦±J«ˆY§‹@·pH€µàåVKe›pW†ftsAÅqC·¬ko«pHÆuK@oŸHĆۄķhx“e‘n›S³àǍrqƶRbzy€¸ËАl›¼EºpĤ¼Œx¼½~Ğ’”à@†ÚüdK^ˆmÌSj"],encodeOffsets:[[110234,38774]]},properties:{cp:[108.948024,34.263161],name:"陕西",childNum:1}},{id:"620000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@VuUv"],["@@ũ‹EĠtt~nkh`Q‰¦ÅÄÜdw˜Ab×ĠąJˆ¤DüègĺqBqœj°lI¡ĨÒ¤úSHbš‡ŠjΑBŠ°aZˆ¢KJŽ’O[|A£žDx}Nì•HUnrk„ kp€¼Y kMJn[aG‚áÚÏ[½rc†}aQxOgsPMnUs‡nc‹Z…ž–sKúvA›t„Þġ’£®ĀYKdnFwš¢JE°”Latf`¼h¬we|€Æ‡šbj}GA€·~WŽ”—`†¢MC¤tL©IJ°qdf”O‚“bÞĬ¹ttu`^ZúE`Œ[@„Æsîz®¡’C„ƳƜG²“R‘¢R’m”fŽwĸg܃‚ą G@pzJM½mŠhVy¸uÈÔO±¨{LfæU¶ßGĂq\\ª¬‡²I‚¥IʼnÈīoı‹ÓÑAçÑ|«LÝcspīðÍg…të_õ‰\\ĉñLYnĝg’ŸRǡÁiHLlõUĹ²uQjYi§Z_c¨Ÿ´ĹĖÙ·ŋI…ƒaBD˜­R¹ȥr—¯G•ºß„K¨jWk’ɱŠOq›Wij\\a­‹Q\\sg_ĆǛōëp»£lğۀgS•ŶN®À]ˆÓäm™ĹãJaz¥V}‰Le¤L„ýo‘¹IsŋÅÇ^‘Žbz…³tmEÁ´aŠ¹cčecÇN•ĊãÁ\\č¯—dNj•]j†—ZµkÓda•ćå]ğij@ ©O{¤ĸm¢ƒE·®ƒ«|@Xwg]Aģ±¯‡XǁÑdzªc›wQÚŝñsÕ³ÛV_ýƒ˜¥\\ů¥©¾÷w—Ž©WÕÊĩhÿÖÁRo¸V¬âDb¨šhûx–Ê×nj~Zâƒg|šXÁnßYoº§ZÅŘvŒ[„ĭÖʃuďxcVbnUSf…B¯³_Tzº—ΕO©çMÑ~Mˆ³]µ^püµ”ŠÄY~y@X~¤Z³€[Èōl@®Å¼£QKƒ·Di‹¡By‘ÿ‰Q_´D¥hŗyƒ^ŸĭÁZ]cIzý‰ah¹MĪğP‘s{ò‡‹‘²Vw¹t³Ŝˁ[ŽÑ}X\\gsFŸ£sPAgěp×ëfYHāďÖqēŭOÏë“dLü•\\iŒ”t^c®šRʺ¶—¢H°mˆ‘rYŸ£BŸ¹čIoľu¶uI]vģSQ{ƒUŻ”Å}QÂ|̋°ƅ¤ĩŪU ęĄžÌZҞ\\v˜²PĔ»ƢNHƒĂyAmƂwVmž`”]ȏb•”H`‰Ì¢²ILvĜ—H®¤Dlt_„¢JJÄämèÔDëþgºƫ™”aʎÌrêYi~ ÎݤNpÀA¾Ĕ¼b…ð÷’Žˆ‡®‚”üs”zMzÖĖQdȨý†v§Tè|ªH’þa¸|šÐ ƒwKĢx¦ivr^ÿ ¸l öæfƟĴ·PJv}n\\h¹¶v†·À|\\ƁĚN´Ĝ€çèÁz]ġ¤²¨QÒŨTIl‡ªťØ}¼˗ƦvÄùØE‹’«Fï˛Iq”ōŒTvāÜŏ‚íÛߜÛV—j³âwGăÂíNOŠˆŠPìyV³ʼnĖýZso§HіiYw[߆\\X¦¥c]ÔƩÜ·«j‡ÐqvÁ¦m^ċ±R™¦΋ƈťĚgÀ»IïĨʗƮŽ°Ɲ˜ĻþÍAƉſ±tÍEÕÞāNU͗¡\\ſčåÒʻĘm ƭÌŹöʥ’ëQ¤µ­ÇcƕªoIýˆ‰Iɐ_mkl³ă‰Ɠ¦j—¡Yz•Ňi–}Msßõ–īʋ —}ƒÁVmŸ_[n}eı­Uĥ¼‘ª•I{ΧDӜƻėoj‘qYhĹT©oūĶ£]ďxĩ‹ǑMĝ‰q`B´ƃ˺Ч—ç~™²ņj@”¥@đ´ί}ĥtPńǾV¬ufӃÉC‹tÓ̻‰…¹£G³€]ƖƾŎĪŪĘ̖¨ʈĢƂlɘ۪üºňUðǜȢƢż̌ȦǼ‚ĤŊɲĖ­Kq´ï¦—ºĒDzņɾªǀÞĈĂD†½ĄĎÌŗĞrôñnŽœN¼â¾ʄľԆ|DŽŽ֦ज़ȗlj̘̭ɺƅêgV̍ʆĠ·ÌĊv|ýĖÕWĊǎÞ´õ¼cÒÒBĢ͢UĜð͒s¨ňƃLĉÕÝ@ɛƯ÷¿Ľ­ĹeȏijëCȚDŲyê×Ŗyò¯ļcÂßY…tÁƤyAã˾J@ǝrý‹‰@¤…rz¸oP¹ɐÚyᐇHŸĀ[Jw…cVeȴϜ»ÈŽĖ}ƒŰŐèȭǢόĀƪÈŶë;Ñ̆ȤМľĮEŔ—ĹŊũ~ËUă{ŸĻƹɁύȩþĽvĽƓÉ@ē„ĽɲßǐƫʾǗĒpäWÐxnsÀ^ƆwW©¦cÅ¡Ji§vúF¶Ž¨c~c¼īŒeXǚ‹\\đ¾JŽwÀďksãA‹fÕ¦L}wa‚o”Z’‹D½†Ml«]eÒÅaɲáo½FõÛ]ĻÒ¡wYR£¢rvÓ®y®LF‹LzĈ„ôe]gx}•|KK}xklL]c¦£fRtív¦†PĤoH{tK"]],encodeOffsets:[[[108619,36299]],[[108589,36341]]]},properties:{cp:[103.823557,36.058039],name:"甘肃",childNum:2}},{id:"630000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@InJm"],["@@CƒÆ½OŃĦsΰ~Ē³¦@@“Ņiš±è}ؘƄ˹A³r_ĞŠǒNĪŒĐw¤^ŬĵªpĺSZg’rpiƼĘԛ¨C|͖J’©Ħ»®VIJ~f\\m `Un„˜~ʌŸ•ĬàöNt•~ňjy–¢Zi˜Ɣ¥ĄŠk´nl`JʇŠJþ©pdƖ®È£¶ìRʦ‘źõƮËnŸʼėæÑƀĎ[‚˜¢VÎĂMÖÝÎF²sƊƀÎBļýƞ—¯ʘƭðħ¼Jh¿ŦęΌƇš¥²Q]Č¥nuÂÏriˆ¸¬ƪÛ^Ó¦d€¥[Wà…x\\ZŽjҕ¨GtpþYŊĕ´€zUO뇉P‰îMĄÁxH´á˜iÜUà›îÜՁĂÛSuŎ‹r“œJð̬EŒ‘FÁú×uÃÎkr“Ē{V}İ«O_ÌËĬ©ŽÓŧSRѱ§Ģ£^ÂyèçěM³Ƃę{[¸¿u…ºµ[gt£¸OƤĿéYŸõ·kĀŸq]juw¥Dĩƍ€õÇPéĽG‘ž©ã‡¤G…uȧþRcÕĕNy“yût“ˆ­‡ø‘†ï»a½ē¿BMoį£ŸÍj}éZËqbʍš“Ƭh¹ìÿÓAçãnIáI`ƒks£CG­ě˜Uy×Cy•…’Ÿ@¶ʡÊBnāzG„ơMē¼±O÷õJËĚăVŸĪũƆ£Œ¯{ËL½Ìzż“„VR|ĠTbuvJvµhĻĖH”Aëáa…­OÇðñęNw‡…œľ·L›mI±íĠĩPÉ×®ÿs—’cB³±JKßĊ«`…ađ»·QAmO’‘Vţéÿ¤¹SQt]]Çx€±¯A@ĉij¢Óļ©•ƒl¶ÅÛr—ŕspãRk~¦ª]Į­´“FR„åd­ČsCqđéFn¿Åƃm’Éx{W©ºƝºįkÕƂƑ¸wWūЩÈFž£\\tÈ¥ÄRÈýÌJ ƒlGr^×äùyÞ³fj”c†€¨£ÂZ|ǓMĝšÏ@ëÜőR‹›ĝ‰Œ÷¡{aïȷPu°ËXÙ{©TmĠ}Y³’­ÞIňµç½©C¡į÷¯B»|St»›]vƒųƒs»”}MÓ ÿʪƟǭA¡fs˜»PY¼c¡»¦c„ċ­¥£~msĉP•–Siƒ^o©A‰Šec‚™PeǵŽkg‚yUi¿h}aH™šĉ^|ᴟ¡HØûÅ«ĉ®]m€¡qĉ¶³ÈyôōLÁst“BŸ®wn±ă¥HSòėš£˜S’ë@לÊăxÇN©™©T±ª£IJ¡fb®ÞbŽb_Ą¥xu¥B—ž{łĝ³«`d˜Ɛt—¤ťiñžÍUuºí`£˜^tƃIJc—·ÛLO‹½Šsç¥Ts{ă\\_»™kϊ±q©čiìĉ|ÍIƒ¥ć¥›€]ª§D{ŝŖÉR_sÿc³Īō›ƿΑ›§p›[ĉ†›c¯bKm›R¥{³„Z†e^ŽŒwx¹dƽŽôIg §Mĕ ƹĴ¿—ǣÜ̓]‹Ý–]snåA{‹eŒƭ`ǻŊĿ\\ijŬű”YÂÿ¬jĖqŽßbŠ¸•L«¸©@ěĀ©ê¶ìÀEH|´bRľž–Ó¶rÀQþ‹vl®Õ‚E˜TzÜdb ˜hw¤{LR„ƒd“c‹b¯‹ÙVgœ‚ƜßzÃô쮍^jUèXΖ|UäÌ»rKŽ\\ŒªN‘¼pZCü†VY††¤ɃRi^rPҒTÖ}|br°qňbĚ°ªiƶGQ¾²„x¦PœmlŜ‘[Ĥ¡ΞsĦŸÔÏâ\\ªÚŒU\\f…¢N²§x|¤§„xĔsZPòʛ²SÐqF`ª„VƒÞŜĶƨVZŒÌL`ˆ¢dŐIqr\\oäõ–F礻Ŷ×h¹]Clـ\\¦ďÌį¬řtTӺƙgQÇÓHţĒ”´ÃbEÄlbʔC”|CˆŮˆk„Ʈ[ʼ¬ňœ´KŮÈΰÌĪ¶ƶlð”ļA†TUvdTŠG†º̼ŠÔ€ŒsÊDԄveOg"]],encodeOffsets:[[[105308,37219]],[[95370,40081]]]},properties:{cp:[101.778916,36.623178],name:"青海",childNum:2}},{id:"640000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@KëÀęĞ«OęȿȕŸı]ʼn¡åįÕÔ«Ǵõƪ™ĚQÐZhv K°›öqÀѐS[ÃÖHƖčË‡nL]ûc…Ùß@‚“ĝ‘¾}w»»‹oģF¹œ»kÌÏ·{zPƒ§B­¢íyÅt@ƒ@áš]Yv_ssģ¼i߁”ĻL¾ġsKD£¡N_…“˜X¸}B~Haiˆ™Åf{«x»ge_bs“KF¯¡Ix™mELcÿZ¤­Ģ‘ƒÝœsuBLù•t†ŒYdˆmVtNmtOPhRw~bd…¾qÐ\\âÙH\\bImlNZŸ»loƒŸqlVm–Gā§~QCw¤™{A\\‘PKŸNY‡¯bF‡kC¥’sk‹Šs_Ã\\ă«¢ħkJi¯r›rAhĹûç£CU‡ĕĊ_ԗBixÅُĄnªÑaM~ħpOu¥sîeQ¥¤^dkKwlL~{L~–hw^‚ófćƒKyEŒ­K­zuÔ¡qQ¤xZÑ¢^ļöܾEpž±âbÊÑÆ^fk¬…NC¾‘Œ“YpxbK~¥Že֎ŒäBlt¿Đx½I[ĒǙŒWž‹f»Ĭ}d§dµùEuj¨‚IÆ¢¥dXªƅx¿]mtÏwßRĶŒX¢͎vÆzƂZò®ǢÌʆCrâºMÞzžÆMҔÊÓŊZľ–r°Î®Ȉmª²ĈUªĚøºˆĮ¦ÌĘk„^FłĬhĚiĀĖ¾iİbjÕ"],["@@mfwěwMrŢªv@G‰"]],encodeOffsets:[[[109366,40242]],[[108600,36303]]]},properties:{cp:[106.278179,38.46637],name:"宁夏",childNum:2}},{id:"650000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@QØĔ²X¨”~ǘBºjʐßØvK”ƔX¨vĊOžÃƒ·¢i@~c—‡ĝe_«”Eš“}QxgɪëÏÃ@sÅyXoŖ{ô«ŸuX…ê•Îf`œC‚¹ÂÿÐGĮÕĞXŪōŸMźÈƺQèĽôe|¿ƸJR¤ĘEjcUóº¯Ĩ_ŘÁMª÷Ð¥Oéȇ¿ÖğǤǷÂF҇zÉx[]­Ĥĝ‰œ¦EP}ûƥé¿İƷTėƫœŕƅ™ƱB»Đ±’ēO…¦E–•}‘`cȺrĦáŖuҞª«IJ‡πdƺÏØZƴwʄ¤ĖGЙǂZĶƒèH¶}ÚZצʥĪï|ÇĦMŔ»İĝLj‹ì¥Βœba­¯¥ǕǚkĆŵĦɑĺƯxūД̵nơʃĽá½M»›òmqóŘĝč˾ăC…ćāƿÝɽ©DZŅ¹đ¥˜³ðLrÁ®ɱĕģʼnǻ̋ȥơŻǛȡVï¹Ň۩ûkɗġƁ§ʇė̕ĩũƽō^ƕŠUv£ƁQï“Ƶkŏ½ΉÃŭdzLқʻ«ƭ\\lƒ‡ŭD‡“{ʓDkaFÃÄa“³ŤđÔGRÈƚhSӹŚsİ«ĐË[¥ÚDkº^Øg¼ŵ¸£EÍö•€ůʼnT¡c_‡ËKY‹ƧUśĵ„݃U_©rETÏʜ±OñtYwē¨ƒ{£¨uM³x½şL©Ùá[ÓÐĥ Νtģ¢\\‚ś’nkO›w¥±ƒT»ƷFɯàĩÞáB¹Æ…ÑUw„੍žĽw[“mG½Èå~‡Æ÷QyŠěCFmĭZī—ŵVÁ™ƿQƛ—ûXS²‰b½KϽĉS›©ŷXĕŸ{ŽĕK·¥Ɨcqq©f¿]‡ßDõU³h—­gËÇïģÉɋw“k¯í}I·šœbmœÉ–ř›īJɥĻˁ×xo›ɹī‡l•c…¤³Xù]‘™DžA¿w͉ì¥wÇN·ÂËnƾƍdǧđ®Ɲv•Um©³G\\“}µĿ‡QyŹl㓛µEw‰LJQ½yƋBe¶ŋÀů‡ož¥A—˜Éw@•{Gpm¿Aij†ŽKLhˆ³`ñcËtW‚±»ÕS‰ëüÿďD‡u\\wwwù³—V›LŕƒOMËGh£õP¡™er™Ïd{“‡ġWÁ…č|yšg^ğyÁzÙs`—s|ÉåªÇ}m¢Ń¨`x¥’ù^•}ƒÌ¥H«‰Yªƅ”Aйn~ź¯šf¤áÀz„gŠÇDIԝ´AňĀ҄¶ûEYospõD[{ù°]u›Jq•U•|Soċxţ[õÔĥkŋÞŭZ˺óYËüċrw €ÞkrťË¿XGÉbřaDü·Ē÷Aê[Ää€I®BÕИÞ_¢āĠpŠÛÄȉĖġDKwbm‡ÄNô‡ŠfœƫVÉvi†dz—H‘‹QµâFšù­Âœ³¦{YGžƒd¢ĚÜO „€{Ö¦ÞÍÀPŒ^b–ƾŠlŽ[„vt×ĈÍE˨¡Đ~´î¸ùÎh€uè`¸ŸHÕŔVºwĠââWò‡@{œÙNÝ´ə²ȕn{¿¥{l—÷eé^e’ďˆXj©î\\ªÑò˜Üìc\\üqˆÕ[Č¡xoÂċªbØ­Œø|€¶ȴZdÆšońéŒGš\\”¼C°ÌƁn´nxšÊOĨ’Ūƴĸ¢¸òTxÊǪMīИÖŲÃɎOvˆʦƢ~FŽ‡Rěò—¿ġ~åŊœú‰Nšžš¸qŽ’Ę[Ĕ¶ÂćnÒPĒÜvúĀÊbÖ{Äî¸~Ŕünp¤ÂH¾œĄYÒ©ÊfºmԈĘcDoĬMŬ’˜S¤„s²‚”ʘچžȂVŦ –ŽèW°ªB|IJXŔþÈJĦÆæFĚêŠYĂªĂ]øªŖNÞüA€’fɨJ€˜¯ÎrDDšĤ€`€mz\\„§~D¬{vJÂ˜«lµĂb–¤p€ŌŰNĄ¨ĊXW|ų ¿¾ɄĦƐMT”‡òP˜÷fØĶK¢ȝ˔Sô¹òEð­”`Ɩ½ǒÂň×äı–§ĤƝ§C~¡‚hlå‚ǺŦŞkâ’~}ŽFøàIJaĞ‚fƠ¥Ž„Ŕdž˜®U¸ˆźXœv¢aƆúŪtŠųƠjd•ƺŠƺÅìnrh\\ĺ¯äɝĦ]èpĄ¦´LƞĬŠ´ƤǬ˼Ēɸ¤rºǼ²¨zÌPðŀbþ¹ļD¢¹œ\\ĜÑŚŸ¶ZƄ³àjĨoâŠȴLʉȮŒĐ­ĚăŽÀêZǚŐ¤qȂ\\L¢ŌİfÆs|zºeªÙæ§΢{Ā´ƐÚ¬¨Ĵà²łhʺKÞºÖTŠiƢ¾ªì°`öøu®Ê¾ãØ"], +encodeOffsets:[[88824,50096]]},properties:{cp:[87.617733,43.792818],name:"新疆",childNum:1}},{id:"110000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@ĽOÁ›ûtŷmiÍt_H»Ĩ±d`Š¹­{bw…Yr“³S]§§o¹€qGtm_Sŧ€“oa›‹FLg‘QN_•dV€@Zom_ć\\ߚc±x¯oœRcfe…£’o§ËgToÛJíĔóu…|wP¤™XnO¢ÉˆŦ¯rNÄā¤zâŖÈRpŢZŠœÚ{GŠrFt¦Òx§ø¹RóäV¤XdˆżâºWbwŚ¨Ud®bêņ¾‘jnŎGŃŶŠnzÚSeîĜZczî¾i]͜™QaúÍÔiþĩȨWĢ‹ü|Ėu[qb[swP@ÅğP¿{\\‡¥A¨Ï‘Ѩj¯ŠX\\¯œMK‘pA³[H…īu}}"],encodeOffsets:[[120023,41045]]},properties:{cp:[116.405285,39.904989],name:"北京",childNum:1}},{id:"120000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@ŬgX§Ü«E…¶Ḟ“¬O_™ïlÁg“z±AXe™µÄĵ{¶]gitgšIj·›¥îakS€‰¨ÐƎk}ĕ{gB—qGf{¿a†U^fI“ư‹³õ{YƒıëNĿžk©ïËZŏ‘R§òoY×Ógc…ĥs¡bġ«@dekąI[nlPqCnp{ˆō³°`{PNdƗqSÄĻNNâyj]äžÒD ĬH°Æ]~¡HO¾ŒX}ÐxŒgp“gWˆrDGˆŒpù‚Š^L‚ˆrzWxˆZ^¨´T\\|~@I‰zƒ–bĤ‹œjeĊªz£®Ĕvě€L†mV¾Ô_ȔNW~zbĬvG†²ZmDM~”~"],encodeOffsets:[[120237,41215]]},properties:{cp:[117.190182,39.125596],name:"天津",childNum:1}},{id:"310000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@ɧư¬EpƸÁxc‡"],["@@©„ªƒ"],["@@”MA‹‘š"],["@@Qp݁E§ÉC¾"],["@@bŝՕÕEȣÚƥêImɇǦèÜĠŒÚžÃƌÃ͎ó"],["@@ǜûȬɋŠŭ™×^‰sYŒɍDŋ‘ŽąñCG²«ªč@h–_p¯A{‡oloY€¬j@IJ`•gQڛhr|ǀ^MIJvtbe´R¯Ô¬¨YŽô¤r]ì†Ƭį"]],encodeOffsets:[[[124702,32062]],[[124547,32200]],[[124808,31991]],[[124726,32110]],[[124903,32376]],[[124438,32149]]]},properties:{cp:[121.472644,31.231706],name:"上海",childNum:6}},{id:"500000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@vjG~nGŘŬĶȂƀƾ¹¸ØÎezĆT¸}êЖqHŸðqĖ䒊¥^CƒIj–²p…\\_ æüY|[YxƊæuž°xb®…Űb@~¢NQt°¶‚S栓Ê~rljĔëĚ¢~šuf`‘‚†fa‚ĔJåĊ„nÖ]„jƎćÊ@Š£¾a®£Ű{ŶĕF‹ègLk{Y|¡ĜWƔtƬJÑxq‹±ĢN´‰òK‰™–LÈüD|s`ŋ’ć]ƒÃ‰`đŒMûƱ½~Y°ħ`ƏíW‰½eI‹½{aŸ‘OIrÏ¡ĕŇa†p†µÜƅġ‘œ^ÖÛbÙŽŏml½S‹êqDu[R‹ãË»†ÿw`»y‘¸_ĺę}÷`M¯ċfCVµqʼn÷Z•gg“Œ`d½pDO‡ÎCnœ^uf²ènh¼WtƏxRGg¦…pV„†FI±ŽG^ŒIc´ec‡’G•ĹÞ½sëĬ„h˜xW‚}Kӈe­Xsbk”F¦›L‘ØgTkïƵNï¶}Gy“w\\oñ¡nmĈzjŸ•@™Óc£»Wă¹Ój“_m»ˆ¹·~MvÛaqœ»­‰êœ’\\ÂoVnŽÓØ͙²«‹bq¿efE „€‹Ĝ^Qž~ Évý‡ş¤²Į‰pEİ}zcĺƒL‹½‡š¿gņ›¡ýE¡ya£³t\\¨\\vú»¼§·Ñr_oÒý¥u‚•_n»_ƒ•At©Þűā§IVeëƒY}{VPÀFA¨ąB}q@|Ou—\\Fm‰QF݅Mw˜å}]•€|FmϋCaƒwŒu_p—¯sfÙgY…DHl`{QEfNysBŠ¦zG¸rHe‚„N\\CvEsÐùÜ_·ÖĉsaQ¯€}_U‡†xÃđŠq›NH¬•Äd^ÝŰR¬ã°wećJEž·vÝ·Hgƒ‚éFXjÉê`|yŒpxkAwœWĐpb¥eOsmzwqChóUQl¥F^laf‹anòsr›EvfQdÁUVf—ÎvÜ^efˆtET¬ôA\\œ¢sJŽnQTjP؈xøK|nBz‰„œĞ»LY‚…FDxӄvr“[ehľš•vN”¢o¾NiÂxGp⬐z›bfZo~hGi’]öF|‰|Nb‡tOMn eA±ŠtPT‡LjpYQ|†SH††YĀxinzDJ€Ìg¢và¥Pg‰_–ÇzII‹€II•„£®S¬„Øs쐣ŒN"],["@@ifjN@s"]],encodeOffsets:[[[109628,30765]],[[111725,31320]]]},properties:{cp:[106.504962,29.533155],name:"重庆",childNum:2}},{id:"810000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@AlBk"],["@@mŽn"],["@@EpFo"],["@@ea¢pl¸Eõ¹‡hj[ƒ]ÔCΖ@lj˜¡uBXŸ…•´‹AI¹…[‹yDUˆ]W`çwZkmc–…M›žp€Åv›}I‹oJlcaƒfёKŽ°ä¬XJmРđhI®æÔtSHn€Eˆ„ÒrÈc"],["@@rMUw‡AS®€e"]],encodeOffsets:[[[117111,23002]],[[117072,22876]],[[117045,22887]],[[116975,23082]],[[116882,22747]]]},properties:{cp:[114.173355,22.320048],name:"香港",childNum:5}},{id:"820000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@kÊd°å§s"],encodeOffsets:[[116279,22639]]},properties:{cp:[113.54909,22.198951],name:"澳门",childNum:1}}],UTF8Encoding:!0}):void n("ECharts Map is not loaded"):void n("ECharts is not Loaded")})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o),l=n(235);r(l);n(675);var u=i.default.createClass({displayName:"AirportCoordComponent",getOtion:function(){var e={"上海":[121.4648,31.2891],"东莞":[113.8953,22.901],"东营":[118.7073,37.5513],"中山":[113.4229,22.478],"临汾":[111.4783,36.1615],"临沂":[118.3118,35.2936],"丹东":[124.541,40.4242],"丽水":[119.5642,28.1854],"乌鲁木齐":[87.9236,43.5883],"佛山":[112.8955,23.1097],"保定":[115.0488,39.0948],"兰州":[103.5901,36.3043],"包头":[110.3467,41.4899],"北京":[116.4551,40.2539],"北海":[109.314,21.6211],"南京":[118.8062,31.9208],"南宁":[108.479,23.1152],"南昌":[116.0046,28.6633],"南通":[121.1023,32.1625],"厦门":[118.1689,24.6478],"台州":[121.1353,28.6688],"合肥":[117.29,32.0581],"呼和浩特":[111.4124,40.4901],"咸阳":[108.4131,34.8706],"哈尔滨":[127.9688,45.368],"唐山":[118.4766,39.6826],"嘉兴":[120.9155,30.6354],"大同":[113.7854,39.8035],"大连":[122.2229,39.4409],"天津":[117.4219,39.4189],"太原":[112.3352,37.9413],"威海":[121.9482,37.1393],"宁波":[121.5967,29.6466],"宝鸡":[107.1826,34.3433],"宿迁":[118.5535,33.7775],"常州":[119.4543,31.5582],"广州":[113.5107,23.2196],"廊坊":[116.521,39.0509],"延安":[109.1052,36.4252],"张家口":[115.1477,40.8527],"徐州":[117.5208,34.3268],"德州":[116.6858,37.2107],"惠州":[114.6204,23.1647],"成都":[103.9526,30.7617],"扬州":[119.4653,32.8162],"承德":[117.5757,41.4075],"拉萨":[91.1865,30.1465],"无锡":[120.3442,31.5527],"日照":[119.2786,35.5023],"昆明":[102.9199,25.4663],"杭州":[119.5313,29.8773],"枣庄":[117.323,34.8926],"柳州":[109.3799,24.9774],"株洲":[113.5327,27.0319],"武汉":[114.3896,30.6628],"汕头":[117.1692,23.3405],"江门":[112.6318,22.1484],"沈阳":[123.1238,42.1216],"沧州":[116.8286,38.2104],"河源":[114.917,23.9722],"泉州":[118.3228,25.1147],"泰安":[117.0264,36.0516],"泰州":[120.0586,32.5525],"济南":[117.1582,36.8701],"济宁":[116.8286,35.3375],"海口":[110.3893,19.8516],"淄博":[118.0371,36.6064],"淮安":[118.927,33.4039],"深圳":[114.5435,22.5439],"清远":[112.9175,24.3292],"温州":[120.498,27.8119],"渭南":[109.7864,35.0299],"湖州":[119.8608,30.7782],"湘潭":[112.5439,27.7075],"滨州":[117.8174,37.4963],"潍坊":[119.0918,36.524],"烟台":[120.7397,37.5128],"玉溪":[101.9312,23.8898],"珠海":[113.7305,22.1155],"盐城":[120.2234,33.5577],"盘锦":[121.9482,41.0449],"石家庄":[114.4995,38.1006],"福州":[119.4543,25.9222],"秦皇岛":[119.2126,40.0232],"绍兴":[120.564,29.7565],"聊城":[115.9167,36.4032],"肇庆":[112.1265,23.5822],"舟山":[122.2559,30.2234],"苏州":[120.6519,31.3989],"莱芜":[117.6526,36.2714],"菏泽":[115.6201,35.2057],"营口":[122.4316,40.4297],"葫芦岛":[120.1575,40.578],"衡水":[115.8838,37.7161],"衢州":[118.6853,28.8666],"西宁":[101.4038,36.8207],"西安":[109.1162,34.2004],"贵阳":[106.6992,26.7682],"连云港":[119.1248,34.552],"邢台":[114.8071,37.2821],"邯郸":[114.4775,36.535],"郑州":[113.4668,34.6234],"鄂尔多斯":[108.9734,39.2487],"重庆":[107.7539,30.1904],"金华":[120.0037,29.1028],"铜川":[109.0393,35.1947],"银川":[106.3586,38.1775],"镇江":[119.4763,31.9702],"长春":[125.8154,44.2584],"长沙":[113.0823,28.2568],"长治":[112.8625,36.4746],"阳泉":[113.4778,38.0951],"青岛":[120.4651,36.3373],"韶关":[113.7964,24.7028]},t=[[{name:"北京"},{name:"上海",value:95}],[{name:"北京"},{name:"广州",value:90}],[{name:"北京"},{name:"大连",value:80}],[{name:"北京"},{name:"南宁",value:70}],[{name:"北京"},{name:"南昌",value:60}],[{name:"北京"},{name:"拉萨",value:50}],[{name:"北京"},{name:"长春",value:40}],[{name:"北京"},{name:"包头",value:30}],[{name:"北京"},{name:"重庆",value:20}],[{name:"北京"},{name:"常州",value:10}]],n=[[{name:"上海"},{name:"包头",value:95}],[{name:"上海"},{name:"昆明",value:90}],[{name:"上海"},{name:"广州",value:80}],[{name:"上海"},{name:"郑州",value:70}],[{name:"上海"},{name:"长春",value:60}],[{name:"上海"},{name:"重庆",value:50}],[{name:"上海"},{name:"长沙",value:40}],[{name:"上海"},{name:"北京",value:30}],[{name:"上海"},{name:"丹东",value:20}],[{name:"上海"},{name:"大连",value:10}]],r=[[{name:"广州"},{name:"福州",value:95}],[{name:"广州"},{name:"太原",value:90}],[{name:"广州"},{name:"长春",value:80}],[{name:"广州"},{name:"重庆",value:70}],[{name:"广州"},{name:"西安",value:60}],[{name:"广州"},{name:"成都",value:50}],[{name:"广州"},{name:"常州",value:40}],[{name:"广州"},{name:"北京",value:30}],[{name:"广州"},{name:"北海",value:20}],[{name:"广州"},{name:"海口",value:10}]],a="path://M1705.06,1318.313v-89.254l-319.9-221.799l0.073-208.063c0.521-84.662-26.629-121.796-63.961-121.491c-37.332-0.305-64.482,36.829-63.961,121.491l0.073,208.063l-319.9,221.799v89.254l330.343-157.288l12.238,241.308l-134.449,92.931l0.531,42.034l175.125-42.917l175.125,42.917l0.531-42.034l-134.449-92.931l12.238-241.308L1705.06,1318.313z",i=function(t){for(var n=[],r=0;r{c} {b}"},toolbox:{show:!0,feature:{mark:{show:!0},restore:{show:!0},saveAsImage:{show:!0}}},series:[{name:"速度",type:"gauge",min:0,max:220,splitNumber:11,radius:"50%",axisLine:{lineStyle:{color:[[.09,"lime"],[.82,"#1e90ff"],[1,"#ff4500"]],width:3,shadowColor:"#fff",shadowBlur:10}},axisLabel:{textStyle:{fontWeight:"bolder",color:"#fff",shadowColor:"#fff",shadowBlur:10}},axisTick:{length:15,lineStyle:{color:"auto",shadowColor:"#fff",shadowBlur:10}},splitLine:{length:25,lineStyle:{width:3,color:"#fff",shadowColor:"#fff",shadowBlur:10}},pointer:{shadowColor:"#fff",shadowBlur:5},title:{textStyle:{fontWeight:"bolder",fontSize:20,fontStyle:"italic",color:"#fff",shadowColor:"#fff",shadowBlur:10}},detail:{backgroundColor:"rgba(30,144,255,0.8)",borderWidth:1,borderColor:"#fff",shadowColor:"#fff",shadowBlur:5,offsetCenter:[0,"50%"],textStyle:{fontWeight:"bolder",color:"#fff"}},data:[{value:40,name:"km/h"}]},{name:"转速",type:"gauge",center:["25%","55%"],radius:"30%",min:0,max:7,endAngle:45,splitNumber:7,axisLine:{lineStyle:{color:[[.29,"lime"],[.86,"#1e90ff"],[1,"#ff4500"]],width:2,shadowColor:"#fff",shadowBlur:10}},axisLabel:{textStyle:{fontWeight:"bolder",color:"#fff",shadowColor:"#fff",shadowBlur:10}},axisTick:{length:12,lineStyle:{color:"auto",shadowColor:"#fff",shadowBlur:10}},splitLine:{length:20,lineStyle:{width:3,color:"#fff",shadowColor:"#fff",shadowBlur:10}},pointer:{width:5,shadowColor:"#fff",shadowBlur:5},title:{offsetCenter:[0,"-30%"],textStyle:{fontWeight:"bolder",fontStyle:"italic",color:"#fff",shadowColor:"#fff",shadowBlur:10}},detail:{borderColor:"#fff",shadowColor:"#fff",shadowBlur:5,width:80,height:30,offsetCenter:[25,"20%"],textStyle:{fontWeight:"bolder",color:"#fff"}},data:[{value:1.5,name:"x1000 r/min"}]},{name:"油表",type:"gauge",center:["75%","50%"],radius:"30%",min:0,max:2,startAngle:135,endAngle:45,splitNumber:2,axisLine:{lineStyle:{color:[[.2,"lime"],[.8,"#1e90ff"],[1,"#ff4500"]],width:2,shadowColor:"#fff",shadowBlur:10}},axisTick:{length:12,lineStyle:{color:"auto",shadowColor:"#fff",shadowBlur:10}},axisLabel:{textStyle:{fontWeight:"bolder",color:"#fff",shadowColor:"#fff",shadowBlur:10},formatter:function(e){switch(e+""){case"0":return"E";case"1":return"Gas";case"2":return"F"}}},splitLine:{length:15,lineStyle:{width:3,color:"#fff",shadowColor:"#fff",shadowBlur:10}},pointer:{width:2,shadowColor:"#fff",shadowBlur:5},title:{show:!1},detail:{show:!1},data:[{value:.5,name:"gas"}]},{name:"水表",type:"gauge",center:["75%","50%"],radius:"30%",min:0,max:2,startAngle:315,endAngle:225,splitNumber:2,axisLine:{lineStyle:{color:[[.2,"lime"],[.8,"#1e90ff"],[1,"#ff4500"]],width:2,shadowColor:"#fff",shadowBlur:10}},axisTick:{show:!1},axisLabel:{textStyle:{fontWeight:"bolder",color:"#fff",shadowColor:"#fff",shadowBlur:10},formatter:function(e){switch(e+""){case"0":return"H";case"1":return"Water";case"2":return"C"}}},splitLine:{length:15,lineStyle:{width:3,color:"#fff",shadowColor:"#fff",shadowBlur:10}},pointer:{width:2,shadowColor:"#fff",shadowBlur:5},title:{show:!1},detail:{show:!1},data:[{value:.5,name:"gas"}]}]};return e},timeTicket:null,getInitialState:function(){return{option:this.getOtion()}},componentDidMount:function(){var e=this;this.timeTicket&&clearInterval(this.timeTicket),this.timeTicket=setInterval(function(){var t=e.state.option;t.series[0].data[0].value=(100*Math.random()).toFixed(2)-0,t.series[1].data[0].value=(7*Math.random()).toFixed(2)-0,t.series[2].data[0].value=(2*Math.random()).toFixed(2)-0,t.series[3].data[0].value=(2*Math.random()).toFixed(2)-0,e.setState({option:t})},1e3)},componentWillUnmount:function(){this.timeTicket&&clearInterval(this.timeTicket)},render:function(){return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," render a car gauge chart. "),i.default.createElement(s.default,{option:this.state.option,style:{height:"500px",width:"100%"},className:"react_for_echarts"})))}});t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o),l=n(235),u=r(l),c=i.default.createClass({displayName:"GCalendarComponent",getVirtulData:function(e){e=e||"2017";for(var t=+u.default.number.parseDate(e+"-01-01"),n=+u.default.number.parseDate(+e+1+"-01-01"),r=864e5,a=[],i=t;i'+n.encodeHTML(a.join("/"))+"","Disk Usage: "+n.addCommas(t)+" KB"].join("")}},series:[{name:"Disk Usage",type:"treemap",visibleMin:300,label:{show:!0,formatter:"{b}"},itemStyle:{normal:{borderColor:"#fff"}},levels:e(),data:t}]};return r},render:function(){return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," render a disk usage treemap. "),i.default.createElement(s.default,{option:this.getOtion(),style:{height:"500px",width:"100%"},className:"react_for_echarts"})))}});t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),o=n(234),s=r(o);n(684);var l=i.default.createClass({displayName:"LiquidfillComponent",propTypes:{},getOption:function(){var e={series:[{type:"liquidFill",data:[.6]}]};return e},render:function(){return i.default.createElement("div",{className:"examples"},i.default.createElement("div",{className:"parent"},i.default.createElement("label",null," render a Liquidfill chart: "),i.default.createElement(s.default,{option:this.getOption(),style:{height:"400px",width:"100%"},className:"react_for_echarts"})))}});t.default=l},function(e,t,n){e.exports=n(685)},function(e,t,n){var r=n(236);n(686),n(687),r.registerVisual(r.util.curry(n(386),"liquidFill"))},function(e,t,n){var r=n(345),a=n(236);a.extendSeriesModel({type:"series.liquidFill",visualColorAccessPath:"textStyle.normal.color",optionUpdated:function(){var e=this.option;e.gridSize=Math.max(Math.floor(e.gridSize),4)},getInitialData:function(e,t){var n=r(["value"],e.data),i=new a.List(n,this);return i.initData(e.data),i},defaultOption:{color:["#294D99","#156ACF","#1598ED","#45BDFF"],center:["50%","50%"],radius:"50%",amplitude:"8%",waveLength:"80%",phase:"auto",period:"auto",direction:"right",shape:"circle",waveAnimation:!0,animationEasing:"linear",animationEasingUpdate:"linear",animationDuration:2e3,animationDurationUpdate:1e3,outline:{show:!0,borderDistance:8,itemStyle:{color:"none",borderColor:"#294D99",borderWidth:8,shadowBlur:20,shadowColor:"rgba(0, 0, 0, 0.25)"}},backgroundStyle:{color:"#E3F7FF"},itemStyle:{normal:{opacity:.95,shadowBlur:50,shadowColor:"rgba(0, 0, 0, 0.4)"},emphasis:{opacity:.8}},label:{normal:{show:!0,textStyle:{color:"#294D99",insideColor:"#fff",fontSize:50,fontWeight:"bold",align:"center",baseline:"middle"},position:"inside"}}}})},function(e,t,n){var r=n(236),a=r.number,i=n(346),o=a.parsePercent,s=n(688);r.extendChartView({type:"liquidFill",render:function(e,t,n){function a(t,n){var a=e.get("shape");if(a){if(0===a.indexOf("path://")){var o=r.graphic.makePath(a.slice(7),{}),s=o.getBoundingRect(),l=s.width,u=s.height;l>u?(u*=2*t/l,l=2*t):(l*=2*t/u,u=2*t);var c=n?0:M-l/2,h=n?0:C-u/2;return o=r.graphic.makePath(a.slice(7),{},new r.graphic.BoundingRect(c,h,l,u)),n&&(o.position=[-l/2,-u/2]),o}var d=n?-t:M-t,p=n?-t:C-t;return"pin"===a?p+=t:"arrow"===a&&(p-=t),i.createSymbol(a,d,p,2*t,2*t)}return new r.graphic.Circle({shape:{cx:n?0:M,cy:n?0:C,r:t}})}function l(){var t=a(T);return t.style.fill=null,t.setStyle(e.getModel("outline.itemStyle").getItemStyle()),t}function u(){var t=a(v);t.setStyle(e.getModel("backgroundStyle").getItemStyle()),t.style.fill=null,t.z2=5;var n=a(v);n.setStyle(e.getModel("backgroundStyle").getItemStyle()),n.style.stroke=null;var i=new r.graphic.Group;return i.add(t),i.add(n),i}function c(e,t,n){var i=f.getItemModel(e),l=i.getModel("itemStyle"),u=i.get("phase"),c=o(i.get("amplitude"),2*v),h=o(i.get("waveLength"),2*v),d=f.get("value",e),p=v-d*v*2;u=n?n.shape.phase:"auto"===u?e*Math.PI/4:u;var g=l.getModel("normal").getItemStyle();g.fill=f.getItemVisual(e,"color");var m=2*v,y=new s({shape:{waveLength:h,radius:v,cx:m,cy:0,waterLevel:p,amplitude:c,phase:u,inverse:t},style:g,position:[M,C]});y.shape._waterLevel=p;var x=l.getModel("emphasis").getItemStyle();x.lineWidth=0,r.graphic.setHoverStyle(y,x);var _=a(v,!0);return _.setStyle({fill:"white"}),y.setClipPath(_),y}function h(e,t,n){var r=f.getItemModel(e),a=r.get("period"),i=r.get("direction"),o=f.get("value",e),s=(f.get("value",0),r.get("phase"));s=n?n.shape.phase:"auto"===s?e*Math.PI/4:s;var l=function(t){var n=f.count();return 0===n?t:t*(.2+(n-e)/n*.8)},u=0;u="auto"===a?l(5e3):"function"==typeof a?a(o,e):a;var c=0;"right"===i||null==i?c=Math.PI:"left"===i?c=-Math.PI:"none"===i?c=0:console.error("Illegal direction value for liquid fill."),"none"!==i&&r.get("waveAnimation")&&t.animate("shape",!0).when(0,{phase:s}).when(u/2,{phase:c+s}).when(u,{phase:2*c+s}).during(function(){E&&E.dirty(!0)}).start()}function d(t){function n(){var t=e.getFormattedLabel(0,"normal"),n=100*f.get("value",0),r=f.getName(0)||e.name;return isNaN(n)||(r=n.toFixed(0)+"%"),null==t?r:t}var i=g.getModel("label.normal"),o=i.getModel("textStyle"),s={z2:10,shape:{x:L,y:D,width:2*v,height:2*v},style:{fill:"transparent",text:n(),textAlign:o.get("align"),textVerticalAlign:o.get("baseline")},silent:!0},l=new r.graphic.Rect(s),u=o.get("color");r.graphic.setText(l.style,i,u);var c=new r.graphic.Rect(s),h=o.get("insideColor");r.graphic.setText(c.style,i,h),c.style.textFill=h;var d=new r.graphic.Group;d.add(l),d.add(c);var p=a(v,!0);return E=new r.graphic.CompoundPath({shape:{paths:t},position:[M,C]}),E.setClipPath(p),c.setClipPath(E),d}var p=this.group;p.removeAll();var f=e.getData(),g=f.getItemModel(0),m=g.get("center"),v=g.get("radius"),y=n.getWidth(),x=n.getHeight(),_=Math.min(y,x),b=0,w=0,S=e.get("outline.show");S&&(b=e.get("outline.borderDistance"),w=o(e.get("outline.itemStyle.borderWidth"),_));var M=o(m[0],y),C=o(m[1],x),T=o(v,_)/2,A=T-w/2,I=o(b,_),E=null;if(S){var P=l();P.style.lineWidth=w,p.add(l())}v=A-I;var L=M-v,D=C-v;p.add(u());var k=this._data,O=[];f.diff(k).add(function(t){var n=c(t,!1),a=n.shape.waterLevel;n.shape.waterLevel=v,r.graphic.initProps(n,{shape:{waterLevel:a}},e),n.z2=2,h(t,n,null),p.add(n),f.setItemGraphicEl(t,n),O.push(n)}).update(function(t,n){var a=k.getItemGraphicEl(n),i=c(t,!1,a);r.graphic.updateProps(a,{shape:i.shape,style:i.style},e),a.position=i.position,a.setClipPath(i.clipPath),h(t,a,a),p.add(a),f.setItemGraphicEl(t,a),O.push(a)}).remove(function(e){var t=k.getItemGraphicEl(e);p.remove(t)}).execute(),p.add(d(O)),this._data=f},dispose:function(){}})},function(e,t,n){function r(e,t,n,r){return 0===t?[[e+.5*n/Math.PI/2,r/2],[e+.5*n/Math.PI,r],[e+n/4,r]]:1===t?[[e+.5*n/Math.PI/2*(Math.PI-2),r],[e+.5*n/Math.PI/2*(Math.PI-1),r/2],[e+n/4,0]]:2===t?[[e+.5*n/Math.PI/2,-r/2],[e+.5*n/Math.PI,-r],[e+n/4,-r]]:[[e+.5*n/Math.PI/2*(Math.PI-2),-r],[e+.5*n/Math.PI/2*(Math.PI-1),-r/2],[e+n/4,0]]}var a=n(236);e.exports=a.graphic.extendShape({type:"ec-liquid-fill",shape:{waveLength:0,radius:0,cx:0,cy:0,waterLevel:0,amplitude:0,phase:0,inverse:!1},style:{fill:"#0f0"},buildPath:function(e,t){for(var n=2*Math.ceil(2*t.radius/t.waveLength*4);t.phase<2*-Math.PI;)t.phase+=2*Math.PI;for(;t.phase>0;)t.phase-=2*Math.PI;var a=t.phase/Math.PI/2*t.waveLength,i=t.cx-t.radius+a-2*t.radius;e.moveTo(i,t.waterLevel);for(var o=0,s=0;s=0.13.2 || ^0.14 || ^15.0.0 || >=16.0.0-alpha.1 <17.0.0",