1234567891011121314151617 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6b9530ce"],{"07de":function(t,e,a){(function(t,a){a(e)})(0,(function(t){"use strict";(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),a=" .timeline { padding: 0; position: relative; list-style: none; font-family: PingFangSC-light, Avenir, Helvetica, Arial, Hiragino Sans GB, Microsoft YaHei, sans-serif; -webkit-font-smoothing: antialiased; margin: 10px 20px; } .timeline:after { position: absolute; content: ''; left: 0; top: 0; width: 1px; height: 100%; background-color: var(--timelineTheme); } .timeline-item { position: relative; margin: 1.5em 0 0 28px; padding-bottom: 1.5em; border-bottom: 1px dotted var(--timelineTheme); } .timeline-item:last-child { border-bottom: none; } .timeline-circle { position: absolute; top: .28em; left: -34px; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--timelineTheme); background-color: var(--timelineTheme); z-index: 1; box-sizing: content-box; } .timeline-circle.hollow { background-color: var(--timelineBg); } .timeline-title { position: relative; display: inline-block; /** * BFC inline-block 元素与其兄弟元素、子元素和父元素的外边距都不会折叠(包括其父元素和子元素) */ cursor: crosshair; margin: -.15em 0 15px 28px } .timeline-title:not(:first-child) { margin-top: 28px; } .timeline-title-circle { left: -36px; top: .15em; width: 16px; height: 16px; } .timeline-others { width: 40px; height: auto; top: .2em; left: -48px; line-height: 1; padding: 2px 0; text-align: center; border: none; background-color: var(--timelineBg); } ";e.type="text/css",e.styleSheet?e.styleSheet.cssText=a:e.appendChild(document.createTextNode(a)),t.appendChild(e)}})();var e={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{ref:"timeline",staticClass:"timeline"},[t._t("default")],2)},staticRenderFns:[],name:"Timeline",props:{timelineTheme:{type:String,default:"#dbdde0"},timelineBg:{type:String,default:"#fff"}},mounted:function(){var t=this.$refs.timeline;t.style.setProperty("--timelineTheme",this.timelineTheme),t.style.setProperty("--timelineBg",this.timelineBg)}};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),a="";e.type="text/css",e.styleSheet?e.styleSheet.cssText=a:e.appendChild(document.createTextNode(a)),t.appendChild(e)}})();var a={name:"TimelineItemBase",props:{bgColor:{type:String,default:""},lineColor:{type:String,default:""},hollow:{type:Boolean,default:!1},fontColor:{type:String,default:"#37414a"}},data:function(){return{slotOthers:!1}},computed:{circleStyle:function(){if(this.bgColor||this.lineColor||this.hollow){var t={};return this.bgColor&&(t={"border-color":this.bgColor,"background-color":this.bgColor}),this.lineColor&&(t=Object.assign({},t,{"border-color":this.lineColor})),t}},itemStyle:function(){return{color:this.fontColor}},slotClass:function(){var t="";return this.slotOthers?t="timeline-others":this.hollow&&(t="hollow"),t}},mounted:function(){this.slotOthers=!!this.$refs.others.innerHTML}};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),a="";e.type="text/css",e.styleSheet?e.styleSheet.cssText=a:e.appendChild(document.createTextNode(a)),t.appendChild(e)}})();var i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"timeline-item",style:t.itemStyle},[a("div",{ref:"others",staticClass:"timeline-circle",class:t.slotClass,style:t.circleStyle},[t._t("others")],2),t._v(" "),t._t("default")],2)},staticRenderFns:[],extends:a};(function(){if("undefined"!==typeof document){var t=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style"),a="";e.type="text/css",e.styleSheet?e.styleSheet.cssText=a:e.appendChild(document.createTextNode(a)),t.appendChild(e)}})();var o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"timeline-title",style:t.itemStyle},[a("div",{ref:"others",staticClass:"timeline-circle timeline-title-circle",class:t.slotClass,style:t.circleStyle},[t._t("others")],2),t._v(" "),t._t("default")],2)},staticRenderFns:[],extends:a};"undefined"!==typeof window&&window.Vue&&(window.Vue.component(e.name,e),window.Vue.component(i.name,i),window.Vue.component(o.name,o)),t.Timeline=e,t.TimelineItem=i,t.TimelineTitle=o,Object.defineProperty(t,"__esModule",{value:!0})}))},"52d4":function(t,e,a){
- /*! For license information please see echarts-wordcloud.min.js.LICENSE.txt */
- !function(e,i){t.exports=i(a("4d28"))}(self,(function(t){return(()=>{"use strict";var e={638:(t,e,a)=>{a.r(e);var i=a(83);i.extendSeriesModel({type:"series.wordCloud",visualStyleAccessPath:"textStyle",visualStyleMapper:function(t){return{fill:t.get("color")}},visualDrawType:"fill",optionUpdated:function(){var t=this.option;t.gridSize=Math.max(Math.floor(t.gridSize),4)},getInitialData:function(t,e){var a=i.helper.createDimensions(t.data,{coordDimensions:["value"]}),o=new i.List(a,this);return o.initData(t.data),o},defaultOption:{maskImage:null,shape:"circle",left:"center",top:"center",width:"70%",height:"80%",sizeRange:[12,60],rotationRange:[-90,90],rotationStep:45,gridSize:8,drawOutOfBound:!1,textStyle:{fontWeight:"normal"}}}),i.extendChartView({type:"wordCloud",render:function(t,e,a){var o=this.group;o.removeAll();var n=t.getData(),r=t.get("gridSize");t.layoutInstance.ondraw=function(e,a,l,s){var d=n.getItemModel(l),c=d.getModel("textStyle"),u=new i.graphic.Text({style:i.helper.createTextStyle(c),scaleX:1/s.info.mu,scaleY:1/s.info.mu,x:(s.gx+s.info.gw/2)*r,y:(s.gy+s.info.gh/2)*r,rotation:s.rot});u.setStyle({x:s.info.fillTextOffsetX,y:s.info.fillTextOffsetY+.5*a,text:e,verticalAlign:"middle",fill:n.getItemVisual(l,"style").fill,fontSize:a}),o.add(u),n.setItemGraphicEl(l,u),u.ensureState("emphasis").style=i.helper.createTextStyle(d.getModel(["emphasis","textStyle"]),{state:"emphasis"}),u.ensureState("blur").style=i.helper.createTextStyle(d.getModel(["blur","textStyle"]),{state:"blur"}),i.helper.enableHoverEmphasis(u,d.get(["emphasis","focus"]),d.get(["emphasis","blurScope"])),u.stateTransition={duration:t.get("animation")?t.get(["stateAnimation","duration"]):0,easing:t.get(["stateAnimation","easing"])},u.__highDownDispatcher=!0},this._model=t},remove:function(){this.group.removeAll(),this._model.layoutInstance.dispose()},dispose:function(){this._model.layoutInstance.dispose()}}),window.setImmediate||(window.setImmediate=window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var t=[void 0],e="zero-timeout-message";return window.addEventListener("message",(function(a){if("string"==typeof a.data&&a.data.substr(0,e.length)===e){a.stopImmediatePropagation();var i=parseInt(a.data.substr(e.length),36);t[i]&&(t[i](),t[i]=void 0)}}),!0),window.clearImmediate=function(e){t[e]&&(t[e]=void 0)},function(a){var i=t.length;return t.push(a),window.postMessage(e+i.toString(36),"*"),i}}()||function(t){window.setTimeout(t,0)}),window.clearImmediate||(window.clearImmediate=window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(t){window.clearTimeout(t)});var o=function(){var t=document.createElement("canvas");if(!t||!t.getContext)return!1;var e=t.getContext("2d");return!!(e.getImageData&&e.fillText&&Array.prototype.some&&Array.prototype.push)}(),n=function(){if(o){for(var t,e,a=document.createElement("canvas").getContext("2d"),i=20;i;){if(a.font=i.toString(10)+"px sans-serif",a.measureText("W").width===t&&a.measureText("m").width===e)return i+1;t=a.measureText("W").width,e=a.measureText("m").width,i--}return 0}}(),r=function(t){for(var e,a,i=t.length;i;e=Math.floor(Math.random()*i),a=t[--i],t[i]=t[e],t[e]=a);return t},l=function(t,e){if(o){Array.isArray(t)||(t=[t]),t.forEach((function(e,a){if("string"==typeof e){if(t[a]=document.getElementById(e),!t[a])throw"The element id specified is not found."}else if(!e.tagName&&!e.appendChild)throw"You must pass valid HTML elements, or ID of the element."}));var a={list:[],fontFamily:'"Trebuchet MS", "Heiti TC", "微軟正黑體", "Arial Unicode MS", "Droid Fallback Sans", sans-serif',fontWeight:"normal",color:"random-dark",minSize:0,weightFactor:1,clearCanvas:!0,backgroundColor:"#fff",gridSize:8,drawOutOfBound:!1,origin:null,drawMask:!1,maskColor:"rgba(255,0,0,0.3)",maskGapWidth:.3,layoutAnimation:!0,wait:0,abortThreshold:0,abort:function(){},minRotation:-Math.PI/2,maxRotation:Math.PI/2,rotationStep:.1,shuffle:!0,rotateRatio:.1,shape:"circle",ellipticity:.65,classes:null,hover:null,click:null};if(e)for(var i in e)i in a&&(a[i]=e[i]);if("function"!=typeof a.weightFactor){var l=a.weightFactor;a.weightFactor=function(t){return t*l}}if("function"!=typeof a.shape)switch(a.shape){case"circle":default:a.shape="circle";break;case"cardioid":a.shape=function(t){return 1-Math.sin(t)};break;case"diamond":case"square":a.shape=function(t){var e=t%(2*Math.PI/4);return 1/(Math.cos(e)+Math.sin(e))};break;case"triangle-forward":a.shape=function(t){var e=t%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"triangle":case"triangle-upright":a.shape=function(t){var e=(t+3*Math.PI/2)%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"pentagon":a.shape=function(t){var e=(t+.955)%(2*Math.PI/5);return 1/(Math.cos(e)+.726543*Math.sin(e))};break;case"star":a.shape=function(t){var e=(t+.955)%(2*Math.PI/10);return(t+.955)%(2*Math.PI/5)-2*Math.PI/10>=0?1/(Math.cos(2*Math.PI/10-e)+3.07768*Math.sin(2*Math.PI/10-e)):1/(Math.cos(e)+3.07768*Math.sin(e))}}a.gridSize=Math.max(Math.floor(a.gridSize),4);var s,d,c,u,f,h,m,g=a.gridSize,p=g-a.maskGapWidth,v=Math.abs(a.maxRotation-a.minRotation),w=Math.min(a.maxRotation,a.minRotation),y=a.rotationStep;switch(a.color){case"random-dark":m=function(){return A(10,50)};break;case"random-light":m=function(){return A(50,90)};break;default:"function"==typeof a.color&&(m=a.color)}var x=null;"function"==typeof a.classes&&(x=a.classes);var S,b=!1,M=[],C=function(t){var e,a,i=t.currentTarget,o=i.getBoundingClientRect();t.touches?(e=t.touches[0].clientX,a=t.touches[0].clientY):(e=t.clientX,a=t.clientY);var n=e-o.left,r=a-o.top,l=Math.floor(n*(i.width/o.width||1)/g),s=Math.floor(r*(i.height/o.height||1)/g);return M[l][s]},T=function(t){var e=C(t);S!==e&&(S=e,e?a.hover(e.item,e.dimension,t):a.hover(void 0,void 0,t))},I=function(t){var e=C(t);e&&(a.click(e.item,e.dimension,t),t.preventDefault())},k=[],E=function(t){if(k[t])return k[t];var e=8*t,i=e,o=[];for(0===t&&o.push([u[0],u[1],0]);i--;){var n=1;"circle"!==a.shape&&(n=a.shape(i/e*2*Math.PI)),o.push([u[0]+t*n*Math.cos(-i/e*2*Math.PI),u[1]+t*n*Math.sin(-i/e*2*Math.PI)*a.ellipticity,i/e*2*Math.PI])}return k[t]=o,o},O=function(){return a.abortThreshold>0&&(new Date).getTime()-h>a.abortThreshold},P=function(e,a,i,o,n){e>=d||a>=c||e<0||a<0||(s[e][a]=!1,i&&t[0].getContext("2d").fillRect(e*g,a*g,p,p),b&&(M[e][a]={item:n,dimension:o}))},R=function(e,a,i){if(a)return!t.some((function(t){var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,!0,a,i||{}),!t.dispatchEvent(o)}),this);t.forEach((function(t){var o=document.createEvent("CustomEvent");o.initCustomEvent(e,!0,a,i||{}),t.dispatchEvent(o)}),this)};!function(){var e=t[0];if(e.getContext)d=Math.ceil(e.width/g),c=Math.ceil(e.height/g);else{var i=e.getBoundingClientRect();d=Math.ceil(i.width/g),c=Math.ceil(i.height/g)}if(R("wordcloudstart",!0)){var o,l,p,C,k;if(u=a.origin?[a.origin[0]/g,a.origin[1]/g]:[d/2,c/2],f=Math.floor(Math.sqrt(d*d+c*c)),s=[],!e.getContext||a.clearCanvas)for(t.forEach((function(t){if(t.getContext){var e=t.getContext("2d");e.fillStyle=a.backgroundColor,e.clearRect(0,0,d*(g+1),c*(g+1)),e.fillRect(0,0,d*(g+1),c*(g+1))}else t.textContent="",t.style.backgroundColor=a.backgroundColor,t.style.position="relative"})),o=d;o--;)for(s[o]=[],l=c;l--;)s[o][l]=!0;else{var A=document.createElement("canvas").getContext("2d");A.fillStyle=a.backgroundColor,A.fillRect(0,0,1,1);var z,D,L=A.getImageData(0,0,1,1).data,F=e.getContext("2d").getImageData(0,0,d*g,c*g).data;for(o=d;o--;)for(s[o]=[],l=c;l--;){D=g;t:for(;D--;)for(z=g;z--;)for(p=4;p--;)if(F[4*((l*g+D)*d*g+(o*g+z))+p]!==L[p]){s[o][l]=!1;break t}!1!==s[o][l]&&(s[o][l]=!0)}F=A=L=void 0}if(a.hover||a.click){for(b=!0,o=d+1;o--;)M[o]=[];a.hover&&e.addEventListener("mousemove",T),a.click&&(e.addEventListener("click",I),e.addEventListener("touchstart",I),e.addEventListener("touchend",(function(t){t.preventDefault()})),e.style.webkitTapHighlightColor="rgba(0, 0, 0, 0)"),e.addEventListener("wordcloudstart",(function t(){e.removeEventListener("wordcloudstart",t),e.removeEventListener("mousemove",T),e.removeEventListener("click",I),S=void 0}))}p=0;var B=!0;a.layoutAnimation?0!==a.wait?(C=window.setTimeout,k=window.clearTimeout):(C=window.setImmediate,k=window.clearImmediate):(C=function(t){t()},k=function(){B=!1});var W=function(e,a){t.forEach((function(t){t.removeEventListener(e,a)}),this)},_=function t(){W("wordcloudstart",t),k(H)};!function(e,a){t.forEach((function(t){t.addEventListener("wordcloudstart",a)}),this)}(0,_);var H=(a.layoutAnimation?C:setTimeout)((function e(){if(B){if(p>=a.list.length)return k(H),R("wordcloudstop",!1),void W("wordcloudstart",_);h=(new Date).getTime();var i=function(e){var i,o,l;Array.isArray(e)?(i=e[0],o=e[1]):(i=e.word,o=e.weight,l=e.attributes);var u,h,p,S=0===a.rotateRatio||Math.random()>a.rotateRatio?0:0===v?w:w+Math.round(Math.random()*v/y)*y,M=function(t,e,i){var o=a.weightFactor(e);if(o<=a.minSize)return!1;var r=1;o<n&&(r=function(){for(var t=2;t*o<n;)t+=2;return t}());var l=document.createElement("canvas"),s=l.getContext("2d",{willReadFrequently:!0});s.font=a.fontWeight+" "+(o*r).toString(10)+"px "+a.fontFamily;var d=s.measureText(t).width/r,c=Math.max(o*r,s.measureText("m").width,s.measureText("W").width)/r,u=d+2*c,f=3*c,h=Math.ceil(u/g),m=Math.ceil(f/g);u=h*g,f=m*g;var p=-d/2,v=.4*-c,w=Math.ceil((u*Math.abs(Math.sin(i))+f*Math.abs(Math.cos(i)))/g),y=Math.ceil((u*Math.abs(Math.cos(i))+f*Math.abs(Math.sin(i)))/g),x=y*g,S=w*g;l.setAttribute("width",x),l.setAttribute("height",S),s.scale(1/r,1/r),s.translate(x*r/2,S*r/2),s.rotate(-i),s.font=a.fontWeight+" "+(o*r).toString(10)+"px "+a.fontFamily,s.fillStyle="#000",s.textBaseline="middle",s.fillText(t,p*r,(v+.5*o)*r);var b=s.getImageData(0,0,x,S).data;if(O())return!1;for(var M,C,T,I=[],k=y,E=[w/2,y/2,w/2,y/2];k--;)for(M=w;M--;){T=g;t:for(;T--;)for(C=g;C--;)if(b[4*((M*g+T)*x+(k*g+C))+3]){I.push([k,M]),k<E[3]&&(E[3]=k),k>E[1]&&(E[1]=k),M<E[0]&&(E[0]=M),M>E[2]&&(E[2]=M);break t}}return{mu:r,occupied:I,bounds:E,gw:y,gh:w,fillTextOffsetX:p,fillTextOffsetY:v,fillTextWidth:d,fillTextHeight:c,fontSize:o}}(i,o,S);if(!M)return!1;if(O())return!1;if(!a.drawOutOfBound){var C=M.bounds;if(C[1]-C[3]+1>d||C[2]-C[0]+1>c)return!1}for(var T=f+1;T--;){var I=E(f-T);a.shuffle&&(I=[].concat(I),r(I));for(var k=0;k<I.length;k++){var R=(u=I[k],h=void 0,p=void 0,h=Math.floor(u[0]-M.gw/2),p=Math.floor(u[1]-M.gh/2),M.gw,M.gh,!!function(t,e,i,o,n){for(var r=n.length;r--;){var l=t+n[r][0],u=e+n[r][1];if(l>=d||u>=c||l<0||u<0){if(!a.drawOutOfBound)return!1}else if(!s[l][u])return!1}return!0}(h,p,0,0,M.occupied)&&(function(e,i,o,n,r,l,s,d,c){var u,f,h=o.fontSize;u=m?m(n,r,h,l,s):a.color,f=x?x(n,r,h,l,s):a.classes;var p=o.bounds;p[3],p[0],p[1],p[3],p[2],p[0],t.forEach((function(t){if(t.getContext){var r=t.getContext("2d"),l=o.mu;r.save(),r.scale(1/l,1/l),r.font=a.fontWeight+" "+(h*l).toString(10)+"px "+a.fontFamily,r.fillStyle=u,r.translate((e+o.gw/2)*g*l,(i+o.gh/2)*g*l),0!==d&&r.rotate(-d),r.textBaseline="middle",r.fillText(n,o.fillTextOffsetX*l,(o.fillTextOffsetY+.5*h)*l),r.restore()}else{var s=document.createElement("span"),m="";m="rotate("+-d/Math.PI*180+"deg) ",1!==o.mu&&(m+="translateX(-"+o.fillTextWidth/4+"px) scale("+1/o.mu+")");var p={position:"absolute",display:"block",font:a.fontWeight+" "+h*o.mu+"px "+a.fontFamily,left:(e+o.gw/2)*g+o.fillTextOffsetX+"px",top:(i+o.gh/2)*g+o.fillTextOffsetY+"px",width:o.fillTextWidth+"px",height:o.fillTextHeight+"px",lineHeight:h+"px",whiteSpace:"nowrap",transform:m,webkitTransform:m,msTransform:m,transformOrigin:"50% 40%",webkitTransformOrigin:"50% 40%",msTransformOrigin:"50% 40%"};for(var v in u&&(p.color=u),s.textContent=n,p)s.style[v]=p[v];if(c)for(var w in c)s.setAttribute(w,c[w]);f&&(s.className+=f),t.appendChild(s)}}))}(h,p,M,i,o,f-T,u[2],S,l),function(e,i,o,n,r,l){var s,u,f=r.occupied,h=a.drawMask;if(h&&((s=t[0].getContext("2d")).save(),s.fillStyle=a.maskColor),b){var m=r.bounds;u={x:(e+m[3])*g,y:(i+m[0])*g,w:(m[1]-m[3]+1)*g,h:(m[2]-m[0]+1)*g}}for(var p=f.length;p--;){var v=e+f[p][0],w=i+f[p][1];v>=d||w>=c||v<0||w<0||P(v,w,h,u,l)}h&&s.restore()}(h,p,0,0,M,e),{gx:h,gy:p,rot:S,info:M}));if(R)return R}}return null}(a.list[p]),o=!R("wordclouddrawn",!0,{item:a.list[p],drawn:i});if(O()||o)return k(H),a.abort(),R("wordcloudabort",!1),R("wordcloudstop",!1),void W("wordcloudstart",_);p++,H=C(e,a.wait)}}),a.wait)}}()}function A(t,e){return"hsl("+(360*Math.random()).toFixed()+","+(30*Math.random()+70).toFixed()+"%,"+(Math.random()*(e-t)+t).toFixed()+"%)"}};l.isSupported=o,l.minFontSize=n;const s=l;if(!s.isSupported)throw new Error("Sorry your browser not support wordCloud");i.registerLayout((function(t,e){t.eachSeriesByType("wordCloud",(function(a){var o=i.helper.getLayoutRect(a.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),n=a.getData(),r=document.createElement("canvas");r.width=o.width,r.height=o.height;var l=r.getContext("2d"),d=a.get("maskImage");if(d)try{l.drawImage(d,0,0,r.width,r.height),function(t){for(var e=t.getContext("2d"),a=e.getImageData(0,0,t.width,t.height),i=e.createImageData(a),o=0,n=0,r=0;r<a.data.length;r+=4)a.data[r+3]>128&&(o+=s=a.data[r]+a.data[r+1]+a.data[r+2],++n);var l=o/n;for(r=0;r<a.data.length;r+=4){var s=a.data[r]+a.data[r+1]+a.data[r+2];a.data[r+3]<128||s>l?(i.data[r]=0,i.data[r+1]=0,i.data[r+2]=0,i.data[r+3]=0):(i.data[r]=255,i.data[r+1]=255,i.data[r+2]=255,i.data[r+3]=255)}e.putImageData(i,0,0)}(r)}catch(t){console.error("Invalid mask image"),console.error(t.toString())}var c=a.get("sizeRange"),u=a.get("rotationRange"),f=n.getDataExtent("value"),h=Math.PI/180,m=a.get("gridSize");function g(t){var e=t.detail.item;t.detail.drawn&&a.layoutInstance.ondraw&&(t.detail.drawn.gx+=o.x/m,t.detail.drawn.gy+=o.y/m,a.layoutInstance.ondraw(e[0],e[1],e[2],t.detail.drawn))}s(r,{list:n.mapArray("value",(function(t,e){var a=n.getItemModel(e);return[n.getName(e),a.get("textStyle.fontSize",!0)||i.number.linearMap(t,f,c),e]})).sort((function(t,e){return e[1]-t[1]})),fontFamily:a.get("textStyle.fontFamily")||a.get("emphasis.textStyle.fontFamily")||t.get("textStyle.fontFamily"),fontWeight:a.get("textStyle.fontWeight")||a.get("emphasis.textStyle.fontWeight")||t.get("textStyle.fontWeight"),gridSize:m,ellipticity:o.height/o.width,minRotation:u[0]*h,maxRotation:u[1]*h,clearCanvas:!d,rotateRatio:1,rotationStep:a.get("rotationStep")*h,drawOutOfBound:a.get("drawOutOfBound"),layoutAnimation:a.get("layoutAnimation"),shuffle:!1,shape:a.get("shape")}),r.addEventListener("wordclouddrawn",g),a.layoutInstance&&a.layoutInstance.dispose(),a.layoutInstance={ondraw:null,dispose:function(){r.removeEventListener("wordclouddrawn",g),r.addEventListener("wordclouddrawn",(function(t){t.preventDefault()}))}}}))})),i.registerPreprocessor((function(t){var e=(t||{}).series;!i.util.isArray(e)&&(e=e?[e]:[]);var a=["shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function o(t){t&&i.util.each(a,(function(e){t.hasOwnProperty(e)&&(t["text"+i.format.capitalFirst(e)]=t[e])}))}i.util.each(e,(function(t){if(t&&"wordCloud"===t.type){var e=t.textStyle||{};o(e.normal),o(e.emphasis)}}))}))},83:e=>{e.exports=t}},a={};function i(t){if(a[t])return a[t].exports;var o=a[t]={exports:{}};return e[t](o,o.exports,i),o.exports}return i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i(638)})()}))},"658d":function(t,e,a){(function(e,i){t.exports=i(a("4d28"))})(self,(function(t){return(()=>{"use strict";var e={"./index.js":
- /*!******************************!*\
- !*** ./index.js + 4 modules ***!
- \******************************/(t,e,a)=>{a.r(e);var i=a("echarts/lib/echarts");i.extendSeriesModel({type:"series.wordCloud",visualStyleAccessPath:"textStyle",visualStyleMapper:function(t){return{fill:t.get("color")}},visualDrawType:"fill",optionUpdated:function(){var t=this.option;t.gridSize=Math.max(Math.floor(t.gridSize),4)},getInitialData:function(t,e){var a=i.helper.createDimensions(t.data,{coordDimensions:["value"]}),o=new i.List(a,this);return o.initData(t.data),o},defaultOption:{maskImage:null,shape:"circle",left:"center",top:"center",width:"70%",height:"80%",sizeRange:[12,60],rotationRange:[-90,90],rotationStep:45,gridSize:8,drawOutOfBound:!1,textStyle:{fontWeight:"normal"}}}),i.extendChartView({type:"wordCloud",render:function(t,e,a){var o=this.group;o.removeAll();var n=t.getData(),r=t.get("gridSize");t.layoutInstance.ondraw=function(e,a,l,s){var d=n.getItemModel(l),c=d.getModel("textStyle"),u=new i.graphic.Text({style:i.helper.createTextStyle(c),scaleX:1/s.info.mu,scaleY:1/s.info.mu,x:(s.gx+s.info.gw/2)*r,y:(s.gy+s.info.gh/2)*r,rotation:s.rot});u.setStyle({x:s.info.fillTextOffsetX,y:s.info.fillTextOffsetY+.5*a,text:e,verticalAlign:"middle",fill:n.getItemVisual(l,"style").fill,fontSize:a}),o.add(u),n.setItemGraphicEl(l,u),u.ensureState("emphasis").style=i.helper.createTextStyle(d.getModel(["emphasis","textStyle"]),{state:"emphasis"}),u.ensureState("blur").style=i.helper.createTextStyle(d.getModel(["blur","textStyle"]),{state:"blur"}),i.helper.enableHoverEmphasis(u,d.get(["emphasis","focus"]),d.get(["emphasis","blurScope"])),u.stateTransition={duration:t.get("animation")?t.get(["stateAnimation","duration"]):0,easing:t.get(["stateAnimation","easing"])},u.__highDownDispatcher=!0},this._model=t},remove:function(){this.group.removeAll(),this._model.layoutInstance.dispose()},dispose:function(){this._model.layoutInstance.dispose()}}),
- /*!
- * wordcloud2.js
- * http://timdream.org/wordcloud2.js/
- *
- * Copyright 2011 - 2013 Tim Chien
- * Released under the MIT license
- */
- window.setImmediate||(window.setImmediate=function(){return window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var t=[void 0],e="zero-timeout-message",a=function(a){var i=t.length;return t.push(a),window.postMessage(e+i.toString(36),"*"),i};return window.addEventListener("message",(function(a){if("string"===typeof a.data&&a.data.substr(0,e.length)===e){a.stopImmediatePropagation();var i=parseInt(a.data.substr(e.length),36);t[i]&&(t[i](),t[i]=void 0)}}),!0),window.clearImmediate=function(e){t[e]&&(t[e]=void 0)},a}()||function(t){window.setTimeout(t,0)}}()),window.clearImmediate||(window.clearImmediate=function(){return window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(t){window.clearTimeout(t)}}());var o=function(){var t=document.createElement("canvas");if(!t||!t.getContext)return!1;var e=t.getContext("2d");return!!e.getImageData&&(!!e.fillText&&(!!Array.prototype.some&&!!Array.prototype.push))}(),n=function(){if(o){var t,e,a=document.createElement("canvas").getContext("2d"),i=20;while(i){if(a.font=i.toString(10)+"px sans-serif",a.measureText("W").width===t&&a.measureText("m").width===e)return i+1;t=a.measureText("W").width,e=a.measureText("m").width,i--}return 0}}(),r=function(t){for(var e,a,i=t.length;i;e=Math.floor(Math.random()*i),a=t[--i],t[i]=t[e],t[e]=a);return t},l=function(t,e){if(o){Array.isArray(t)||(t=[t]),t.forEach((function(e,a){if("string"===typeof e){if(t[a]=document.getElementById(e),!t[a])throw"The element id specified is not found."}else if(!e.tagName&&!e.appendChild)throw"You must pass valid HTML elements, or ID of the element."}));var a={list:[],fontFamily:'"Trebuchet MS", "Heiti TC", "微軟正黑體", "Arial Unicode MS", "Droid Fallback Sans", sans-serif',fontWeight:"normal",color:"random-dark",minSize:0,weightFactor:1,clearCanvas:!0,backgroundColor:"#fff",gridSize:8,drawOutOfBound:!1,origin:null,drawMask:!1,maskColor:"rgba(255,0,0,0.3)",maskGapWidth:.3,layoutAnimation:!0,wait:0,abortThreshold:0,abort:function(){},minRotation:-Math.PI/2,maxRotation:Math.PI/2,rotationStep:.1,shuffle:!0,rotateRatio:.1,shape:"circle",ellipticity:.65,classes:null,hover:null,click:null};if(e)for(var i in e)i in a&&(a[i]=e[i]);if("function"!==typeof a.weightFactor){var l=a.weightFactor;a.weightFactor=function(t){return t*l}}if("function"!==typeof a.shape)switch(a.shape){case"circle":default:a.shape="circle";break;case"cardioid":a.shape=function(t){return 1-Math.sin(t)};break;case"diamond":case"square":a.shape=function(t){var e=t%(2*Math.PI/4);return 1/(Math.cos(e)+Math.sin(e))};break;case"triangle-forward":a.shape=function(t){var e=t%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"triangle":case"triangle-upright":a.shape=function(t){var e=(t+3*Math.PI/2)%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"pentagon":a.shape=function(t){var e=(t+.955)%(2*Math.PI/5);return 1/(Math.cos(e)+.726543*Math.sin(e))};break;case"star":a.shape=function(t){var e=(t+.955)%(2*Math.PI/10);return(t+.955)%(2*Math.PI/5)-2*Math.PI/10>=0?1/(Math.cos(2*Math.PI/10-e)+3.07768*Math.sin(2*Math.PI/10-e)):1/(Math.cos(e)+3.07768*Math.sin(e))};break}a.gridSize=Math.max(Math.floor(a.gridSize),4);var s,d,c,u,f,h,m,g=a.gridSize,p=g-a.maskGapWidth,v=Math.abs(a.maxRotation-a.minRotation),w=Math.min(a.maxRotation,a.minRotation),y=a.rotationStep;switch(a.color){case"random-dark":m=function(){return _(10,50)};break;case"random-light":m=function(){return _(50,90)};break;default:"function"===typeof a.color&&(m=a.color);break}var x=null;"function"===typeof a.classes&&(x=a.classes);var S,b=!1,M=[],C=function(t){var e,a,i=t.currentTarget,o=i.getBoundingClientRect();t.touches?(e=t.touches[0].clientX,a=t.touches[0].clientY):(e=t.clientX,a=t.clientY);var n=e-o.left,r=a-o.top,l=Math.floor(n*(i.width/o.width||1)/g),s=Math.floor(r*(i.height/o.height||1)/g);return M[l][s]},T=function(t){var e=C(t);S!==e&&(S=e,e?a.hover(e.item,e.dimension,t):a.hover(void 0,void 0,t))},I=function(t){var e=C(t);e&&(a.click(e.item,e.dimension,t),t.preventDefault())},k=[],E=function(t){if(k[t])return k[t];var e=8*t,i=e,o=[];0===t&&o.push([u[0],u[1],0]);while(i--){var n=1;"circle"!==a.shape&&(n=a.shape(i/e*2*Math.PI)),o.push([u[0]+t*n*Math.cos(-i/e*2*Math.PI),u[1]+t*n*Math.sin(-i/e*2*Math.PI)*a.ellipticity,i/e*2*Math.PI])}return k[t]=o,o},O=function(){return a.abortThreshold>0&&(new Date).getTime()-h>a.abortThreshold},P=function(){return 0===a.rotateRatio||Math.random()>a.rotateRatio?0:0===v?w:w+Math.round(Math.random()*v/y)*y},R=function(t,e,i){var o=!1,r=a.weightFactor(e);if(r<=a.minSize)return!1;var l=1;r<n&&(l=function(){var t=2;while(t*r<n)t+=2;return t}());var s=document.createElement("canvas"),d=s.getContext("2d",{willReadFrequently:!0});d.font=a.fontWeight+" "+(r*l).toString(10)+"px "+a.fontFamily;var c=d.measureText(t).width/l,u=Math.max(r*l,d.measureText("m").width,d.measureText("W").width)/l,f=c+2*u,h=3*u,m=Math.ceil(f/g),p=Math.ceil(h/g);f=m*g,h=p*g;var v=-c/2,w=.4*-u,y=Math.ceil((f*Math.abs(Math.sin(i))+h*Math.abs(Math.cos(i)))/g),x=Math.ceil((f*Math.abs(Math.cos(i))+h*Math.abs(Math.sin(i)))/g),S=x*g,b=y*g;s.setAttribute("width",S),s.setAttribute("height",b),o&&(document.body.appendChild(s),d.save()),d.scale(1/l,1/l),d.translate(S*l/2,b*l/2),d.rotate(-i),d.font=a.fontWeight+" "+(r*l).toString(10)+"px "+a.fontFamily,d.fillStyle="#000",d.textBaseline="middle",d.fillText(t,v*l,(w+.5*r)*l);var M=d.getImageData(0,0,S,b).data;if(O())return!1;o&&(d.strokeRect(v*l,w,c*l,u*l),d.restore());var C,T,I,k=[],E=x,P=[y/2,x/2,y/2,x/2];while(E--){C=y;while(C--){I=g;t:{while(I--){T=g;while(T--)if(M[4*((C*g+I)*S+(E*g+T))+3]){k.push([E,C]),E<P[3]&&(P[3]=E),E>P[1]&&(P[1]=E),C<P[0]&&(P[0]=C),C>P[2]&&(P[2]=C),o&&(d.fillStyle="rgba(255, 0, 0, 0.5)",d.fillRect(E*g,C*g,g-.5,g-.5));break t}}o&&(d.fillStyle="rgba(0, 0, 255, 0.5)",d.fillRect(E*g,C*g,g-.5,g-.5))}}}return o&&(d.fillStyle="rgba(0, 255, 0, 0.5)",d.fillRect(P[3]*g,P[0]*g,(P[1]-P[3]+1)*g,(P[2]-P[0]+1)*g)),{mu:l,occupied:k,bounds:P,gw:x,gh:y,fillTextOffsetX:v,fillTextOffsetY:w,fillTextWidth:c,fillTextHeight:u,fontSize:r}},A=function(t,e,i,o,n){var r=n.length;while(r--){var l=t+n[r][0],u=e+n[r][1];if(l>=d||u>=c||l<0||u<0){if(!a.drawOutOfBound)return!1}else if(!s[l][u])return!1}return!0},z=function(e,i,o,n,r,l,s,d,c){var u,f,h=o.fontSize;u=m?m(n,r,h,l,s):a.color,f=x?x(n,r,h,l,s):a.classes;var p=o.bounds;p[3],p[0],p[1],p[3],p[2],p[0],t.forEach((function(t){if(t.getContext){var r=t.getContext("2d"),l=o.mu;r.save(),r.scale(1/l,1/l),r.font=a.fontWeight+" "+(h*l).toString(10)+"px "+a.fontFamily,r.fillStyle=u,r.translate((e+o.gw/2)*g*l,(i+o.gh/2)*g*l),0!==d&&r.rotate(-d),r.textBaseline="middle",r.fillText(n,o.fillTextOffsetX*l,(o.fillTextOffsetY+.5*h)*l),r.restore()}else{var s=document.createElement("span"),m="";m="rotate("+-d/Math.PI*180+"deg) ",1!==o.mu&&(m+="translateX(-"+o.fillTextWidth/4+"px) scale("+1/o.mu+")");var p={position:"absolute",display:"block",font:a.fontWeight+" "+h*o.mu+"px "+a.fontFamily,left:(e+o.gw/2)*g+o.fillTextOffsetX+"px",top:(i+o.gh/2)*g+o.fillTextOffsetY+"px",width:o.fillTextWidth+"px",height:o.fillTextHeight+"px",lineHeight:h+"px",whiteSpace:"nowrap",transform:m,webkitTransform:m,msTransform:m,transformOrigin:"50% 40%",webkitTransformOrigin:"50% 40%",msTransformOrigin:"50% 40%"};for(var v in u&&(p.color=u),s.textContent=n,p)s.style[v]=p[v];if(c)for(var w in c)s.setAttribute(w,c[w]);f&&(s.className+=f),t.appendChild(s)}}))},D=function(e,a,i,o,n){if(!(e>=d||a>=c||e<0||a<0)){if(s[e][a]=!1,i){var r=t[0].getContext("2d");r.fillRect(e*g,a*g,p,p)}b&&(M[e][a]={item:n,dimension:o})}},L=function(e,i,o,n,r,l){var s,u,f=r.occupied,h=a.drawMask;if(h&&(s=t[0].getContext("2d"),s.save(),s.fillStyle=a.maskColor),b){var m=r.bounds;u={x:(e+m[3])*g,y:(i+m[0])*g,w:(m[1]-m[3]+1)*g,h:(m[2]-m[0]+1)*g}}var p=f.length;while(p--){var v=e+f[p][0],w=i+f[p][1];v>=d||w>=c||v<0||w<0||D(v,w,h,u,l)}h&&s.restore()},F=function(t){var e,i,o;Array.isArray(t)?(e=t[0],i=t[1]):(e=t.word,i=t.weight,o=t.attributes);var n=P(),l=R(e,i,n);if(!l)return!1;if(O())return!1;if(!a.drawOutOfBound){var s=l.bounds;if(s[1]-s[3]+1>d||s[2]-s[0]+1>c)return!1}var u=f+1,h=function(a){var r=Math.floor(a[0]-l.gw/2),s=Math.floor(a[1]-l.gh/2),d=l.gw,c=l.gh;return!!A(r,s,d,c,l.occupied)&&(z(r,s,l,e,i,f-u,a[2],n,o),L(r,s,d,c,l,t),{gx:r,gy:s,rot:n,info:l})};while(u--){var m=E(f-u);a.shuffle&&(m=[].concat(m),r(m));for(var g=0;g<m.length;g++){var p=h(m[g]);if(p)return p}}return null},B=function(e,a,i){if(a)return!t.some((function(t){var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,!0,a,i||{}),!t.dispatchEvent(o)}),this);t.forEach((function(t){var o=document.createEvent("CustomEvent");o.initCustomEvent(e,!0,a,i||{}),t.dispatchEvent(o)}),this)},W=function(){var e=t[0];if(e.getContext)d=Math.ceil(e.width/g),c=Math.ceil(e.height/g);else{var i=e.getBoundingClientRect();d=Math.ceil(i.width/g),c=Math.ceil(i.height/g)}if(B("wordcloudstart",!0)){var o,n,r,l,m;if(u=a.origin?[a.origin[0]/g,a.origin[1]/g]:[d/2,c/2],f=Math.floor(Math.sqrt(d*d+c*c)),s=[],!e.getContext||a.clearCanvas){t.forEach((function(t){if(t.getContext){var e=t.getContext("2d");e.fillStyle=a.backgroundColor,e.clearRect(0,0,d*(g+1),c*(g+1)),e.fillRect(0,0,d*(g+1),c*(g+1))}else t.textContent="",t.style.backgroundColor=a.backgroundColor,t.style.position="relative"})),o=d;while(o--){s[o]=[],n=c;while(n--)s[o][n]=!0}}else{var p=document.createElement("canvas").getContext("2d");p.fillStyle=a.backgroundColor,p.fillRect(0,0,1,1);var v,w,y=p.getImageData(0,0,1,1).data,x=e.getContext("2d").getImageData(0,0,d*g,c*g).data;o=d;while(o--){s[o]=[],n=c;while(n--){w=g;t:while(w--){v=g;while(v--){r=4;while(r--)if(x[4*((n*g+w)*d*g+(o*g+v))+r]!==y[r]){s[o][n]=!1;break t}}}!1!==s[o][n]&&(s[o][n]=!0)}}x=p=y=void 0}if(a.hover||a.click){b=!0,o=d+1;while(o--)M[o]=[];a.hover&&e.addEventListener("mousemove",T),a.click&&(e.addEventListener("click",I),e.addEventListener("touchstart",I),e.addEventListener("touchend",(function(t){t.preventDefault()})),e.style.webkitTapHighlightColor="rgba(0, 0, 0, 0)"),e.addEventListener("wordcloudstart",(function t(){e.removeEventListener("wordcloudstart",t),e.removeEventListener("mousemove",T),e.removeEventListener("click",I),S=void 0}))}r=0;var C=!0;a.layoutAnimation?0!==a.wait?(l=window.setTimeout,m=window.clearTimeout):(l=window.setImmediate,m=window.clearImmediate):(l=function(t){t()},m=function(){C=!1});var k=function(e,a){t.forEach((function(t){t.addEventListener(e,a)}),this)},E=function(e,a){t.forEach((function(t){t.removeEventListener(e,a)}),this)},P=function t(){E("wordcloudstart",t),m(R)};k("wordcloudstart",P);var R=(a.layoutAnimation?l:setTimeout)((function t(){if(C){if(r>=a.list.length)return m(R),B("wordcloudstop",!1),void E("wordcloudstart",P);h=(new Date).getTime();var e=F(a.list[r]),i=!B("wordclouddrawn",!0,{item:a.list[r],drawn:e});if(O()||i)return m(R),a.abort(),B("wordcloudabort",!1),B("wordcloudstop",!1),void E("wordcloudstart",P);r++,R=l(t,a.wait)}}),a.wait)}};W()}function _(t,e){return"hsl("+(360*Math.random()).toFixed()+","+(30*Math.random()+70).toFixed()+"%,"+(Math.random()*(e-t)+t).toFixed()+"%)"}};l.isSupported=o,l.minFontSize=n;const s=l;if(!s.isSupported)throw new Error("Sorry your browser not support wordCloud");function d(t){for(var e=t.getContext("2d"),a=e.getImageData(0,0,t.width,t.height),i=e.createImageData(a),o=0,n=0,r=0;r<a.data.length;r+=4){var l=a.data[r+3];if(l>128){var s=a.data[r]+a.data[r+1]+a.data[r+2];o+=s,++n}}var d=o/n;for(r=0;r<a.data.length;r+=4){s=a.data[r]+a.data[r+1]+a.data[r+2],l=a.data[r+3];l<128||s>d?(i.data[r]=0,i.data[r+1]=0,i.data[r+2]=0,i.data[r+3]=0):(i.data[r]=255,i.data[r+1]=255,i.data[r+2]=255,i.data[r+3]=255)}e.putImageData(i,0,0)}i.registerLayout((function(t,e){t.eachSeriesByType("wordCloud",(function(a){var o=i.helper.getLayoutRect(a.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),n=a.getData(),r=document.createElement("canvas");r.width=o.width,r.height=o.height;var l=r.getContext("2d"),c=a.get("maskImage");if(c)try{l.drawImage(c,0,0,r.width,r.height),d(r)}catch(v){console.error("Invalid mask image"),console.error(v.toString())}var u=a.get("sizeRange"),f=a.get("rotationRange"),h=n.getDataExtent("value"),m=Math.PI/180,g=a.get("gridSize");function p(t){var e=t.detail.item;t.detail.drawn&&a.layoutInstance.ondraw&&(t.detail.drawn.gx+=o.x/g,t.detail.drawn.gy+=o.y/g,a.layoutInstance.ondraw(e[0],e[1],e[2],t.detail.drawn))}s(r,{list:n.mapArray("value",(function(t,e){var a=n.getItemModel(e);return[n.getName(e),a.get("textStyle.fontSize",!0)||i.number.linearMap(t,h,u),e]})).sort((function(t,e){return e[1]-t[1]})),fontFamily:a.get("textStyle.fontFamily")||a.get("emphasis.textStyle.fontFamily")||t.get("textStyle.fontFamily"),fontWeight:a.get("textStyle.fontWeight")||a.get("emphasis.textStyle.fontWeight")||t.get("textStyle.fontWeight"),gridSize:g,ellipticity:o.height/o.width,minRotation:f[0]*m,maxRotation:f[1]*m,clearCanvas:!c,rotateRatio:1,rotationStep:a.get("rotationStep")*m,drawOutOfBound:a.get("drawOutOfBound"),layoutAnimation:a.get("layoutAnimation"),shuffle:!1,shape:a.get("shape")}),r.addEventListener("wordclouddrawn",p),a.layoutInstance&&a.layoutInstance.dispose(),a.layoutInstance={ondraw:null,dispose:function(){r.removeEventListener("wordclouddrawn",p),r.addEventListener("wordclouddrawn",(function(t){t.preventDefault()}))}}}))})),i.registerPreprocessor((function(t){var e=(t||{}).series;!i.util.isArray(e)&&(e=e?[e]:[]);var a=["shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function o(t){t&&i.util.each(a,(function(e){t.hasOwnProperty(e)&&(t["text"+i.format.capitalFirst(e)]=t[e])}))}i.util.each(e,(function(t){if(t&&"wordCloud"===t.type){var e=t.textStyle||{};o(e.normal),o(e.emphasis)}}))}))},"echarts/lib/echarts":
- /*!**************************!*\
- !*** external "echarts" ***!
- \**************************/e=>{e.exports=t}},a={};function i(t){if(a[t])return a[t].exports;var o=a[t]={exports:{}};return e[t](o,o.exports,i),o.exports}return(()=>{i.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),i("./index.js")})()}))},d8ac:function(t,e,a){var i,o,n;(function(r,l){o=[e,a("4d28")],i=l,n="function"===typeof i?i.apply(e,o):i,void 0===n||(t.exports=n)})(0,(function(t,e){var a=function(t){"undefined"!==typeof console&&console&&console.error&&console.error(t)};if(e){var i=["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],o={color:i,title:{textStyle:{fontWeight:"normal",color:"#008acd"}},visualMap:{itemWidth:15,color:["#5ab1ef","#e0ffff"]},toolbox:{iconStyle:{normal:{borderColor:i[0]}}},tooltip:{backgroundColor:"rgba(50,50,50,0.5)",axisPointer:{type:"line",lineStyle:{color:"#008acd"},crossStyle:{color:"#008acd"},shadowStyle:{color:"rgba(200,200,200,0.2)"}}},dataZoom:{dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd"},grid:{borderColor:"#eee"},categoryAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitLine:{lineStyle:{color:["#eee"]}}},valueAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.1)","rgba(200,200,200,0.1)"]}},splitLine:{lineStyle:{color:["#eee"]}}},timeline:{lineStyle:{color:"#008acd"},controlStyle:{color:"#008acd",borderColor:"#008acd"},symbol:"emptyCircle",symbolSize:3},line:{smooth:!0,symbol:"emptyCircle",symbolSize:3},candlestick:{itemStyle:{color:"#d87a80",color0:"#2ec7c9"},lineStyle:{width:1,color:"#d87a80",color0:"#2ec7c9"},areaStyle:{color:"#2ec7c9",color0:"#b6a2de"}},scatter:{symbol:"circle",symbolSize:4},map:{itemStyle:{color:"#ddd"},areaStyle:{color:"#fe994e"},label:{color:"#d87a80"}},graph:{itemStyle:{color:"#d87a80"},linkStyle:{color:"#2ec7c9"}},gauge:{axisLine:{lineStyle:{color:[[.2,"#2ec7c9"],[.8,"#5ab1ef"],[1,"#d87a80"]],width:10}},axisTick:{splitNumber:10,length:15,lineStyle:{color:"auto"}},splitLine:{length:22,lineStyle:{color:"auto"}},pointer:{width:5}}};e.registerTheme("macarons",o)}else a("ECharts is not Loaded")}))}}]);
|