You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/61372.65ed00c3.async.js

1 line
28 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(self.webpackChunk=self.webpackChunk||[]).push([[61372,42441,56047],{77578:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});const r=e=>e?"function"==typeof e?e():e:null},39722:function(e,t,n){"use strict";n.d(t,{t5:function(){return d}});var r=n(92310),o=n.n(r),a=n(55477),i=n(59301),s=n(36355),l=n(77578),c=n(17356),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const d=e=>{const{hashId:t,prefixCls:n,className:r,style:s,placement:c="top",title:u,content:d,children:f}=e;return i.createElement("div",{className:o()(t,n,`${n}-pure`,`${n}-placement-${c}`,r),style:s},i.createElement("div",{className:`${n}-arrow`}),i.createElement(a.G,Object.assign({},e,{className:t,prefixCls:n}),f||((e,t,n)=>{if(t||n)return i.createElement(i.Fragment,null,t&&i.createElement("div",{className:`${e}-title`},(0,l.Z)(t)),i.createElement("div",{className:`${e}-inner-content`},(0,l.Z)(n)))})(n,u,d)))};t.ZP=e=>{const{prefixCls:t}=e,n=u(e,["prefixCls"]),{getPrefixCls:r}=i.useContext(s.E_),o=r("popover",t),[a,l]=(0,c.Z)(o);return a(i.createElement(d,Object.assign({},n,{prefixCls:o,hashId:l})))}},60324:function(e,t,n){"use strict";var r=n(92310),o=n.n(r),a=n(59301),i=n(77578),s=n(62892),l=n(36355),c=n(6848),u=n(39722),d=n(17356),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const h=e=>{let{title:t,content:n,prefixCls:r}=e;return a.createElement(a.Fragment,null,t&&a.createElement("div",{className:`${r}-title`},(0,i.Z)(t)),a.createElement("div",{className:`${r}-inner-content`},(0,i.Z)(n)))},p=a.forwardRef(((e,t)=>{const{prefixCls:n,title:r,content:i,overlayClassName:u,placement:p="top",trigger:m="hover",mouseEnterDelay:v=.1,mouseLeaveDelay:g=.1,overlayStyle:y={}}=e,w=f(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:b}=a.useContext(l.E_),x=b("popover",n),[S,M]=(0,d.Z)(x),O=b(),E=o()(u,M);return S(a.createElement(c.Z,Object.assign({placement:p,trigger:m,mouseEnterDelay:v,mouseLeaveDelay:g,overlayStyle:y},w,{prefixCls:x,overlayClassName:E,ref:t,overlay:r||i?a.createElement(h,{prefixCls:x,title:r,content:i}):null,transitionName:(0,s.m)(O,"zoom-big",w.transitionName),"data-popover-inject":!0})))}));p._InternalPanelDoNotUseOrYouWillBeFired=u.ZP,t.Z=p},17356:function(e,t,n){"use strict";var r=n(17313),o=n(29878),a=n(19447),i=n(33166),s=n(83116),l=n(37613);const c=e=>{const{componentCls:t,popoverColor:n,minWidth:o,fontWeightStrong:i,popoverPadding:s,boxShadowSecondary:l,colorTextHeading:c,borderRadiusLG:u,zIndexPopup:d,marginXS:f,colorBgElevated:h,popoverBg:p}=e;return[{[t]:Object.assign(Object.assign({},(0,r.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:d,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":h,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:p,backgroundClip:"padding-box",borderRadius:u,boxShadow:l,padding:s},[`${t}-title`]:{minWidth:o,marginBottom:f,color:c,fontWeight:i},[`${t}-inner-content`]:{color:n}})},(0,a.ZP)(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},u=e=>{const{componentCls:t}=e;return{[t]:i.i.map((n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}}))}},d=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorSplit:o,paddingSM:a,controlHeight:i,fontSize:s,lineHeight:l,padding:c}=e,u=i-Math.round(s*l);return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${u/2}px ${c}px ${u/2-n}px`,borderBottom:`${n}px ${r} ${o}`},[`${t}-inner-content`]:{padding:`${a}px ${c}px`}}}};t.Z=(0,s.Z)("Popover",(e=>{const{colorBgElevated:t,colorText:n,wireframe:r}=e,a=(0,l.TS)(e,{popoverPadding:12,popoverBg:t,popoverColor:n});return[c(a),u(a),r&&d(a),(0,o._y)(a,"zoom-big")]}),(e=>({width:177,minWidth:177,zIndexPopup:e.zIndexPopupBase+30})),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},97774:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(59301),i=d(a),s=d(n(12708)),l=d(n(53291)),c=n(47242),u=n(65429);function d(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getEchartsInstance=function(){return n.echartsLib.getInstanceByDom(n.echartsElement)||n.echartsLib.init(n.echartsElement,n.props.theme,n.props.opts)},n.dispose=function(){if(n.echartsElement){try{(0,c.clear)(n.echartsElement)}catch(e){console.warn(e)}n.echartsLib.dispose(n.echartsElement)}},n.rerender=function(){var e=n.props,t=e.onEvents,r=e.onChartReady,o=n.renderEchartDom();n.bindEvents(o,t||{}),"function"==typeof r&&n.props.onChartReady(o),n.echartsElement&&(0,c.bind)(n.echartsElement,(function(){try{o.resize()}catch(e){console.warn(e)}}))},n.bindEvents=function(e,t){var n=function(t,n){"string"==typeof t&&"function"==typeof n&&e.on(t,(function(t){n(t,e)}))};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n(r,t[r])},n.renderEchartDom=function(){var e=n.getEchartsInstance();return e.setOption(n.props.option,n.props.notMerge||!1,n.props.lazyUpdate||!1),n.props.showLoading?e.showLoading(n.props.loadingOption||null):e.hideLoading(),e},n.echartsLib=e.echarts,n.echartsElement=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(e){if("function"!=typeof this.props.shouldSetOption||this.props.shouldSetOption(e,this.props)){if(!(0,l.default)(e.theme,this.props.theme)||!(0,l.default)(e.opts,this.props.opts)||!(0,l.default)(e.onEvents,this.props.onEvents))return this.dispose(),void this.rerender();var t=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if(!(0,l.default)((0,u.pick)(this.props,t),(0,u.pick)(e,t))){var n=this.renderEchartDom();if(!(0,l.default)(e.style,this.props.style)||!(0,l.default)(e.className,this.props.className))try{n.resize()}catch(e){console.warn(e)}}}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var e=this,t=this.props,n=t.style,o=t.className,a=r({height:300},n);return i.default.createElement("div",{ref:function(t){e.echartsElement=t},style:a,className:"echarts-for-react "+o})}}]),t}(a.Component);t.default=f,f.propTypes={option:s.default.object.isRequired,echarts:s.default.object,notMerge:s.default.bool,lazyUpdate:s.default.bool,style:s.default.object,className:s.default.string,theme:s.default.oneOfType([s.default.string,s.default.object]),onChartReady:s.default.func,showLoading:s.default.bool,loadingOption:s.default.object,onEvents:s.default.object,opts:s.default.shape({devicePixelRatio:s.default.number,renderer:s.default.oneOf(["canvas","svg"]),width:s.default.oneOfType([s.default.number,s.default.oneOf([null,void 0,"auto"])]),height:s.default.oneOfType([s.default.number,s.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:s.default.func},f.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},42441:function(e,t,n){"use strict";t.Z=void 0;var r=o(n(76411));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.echartsLib=r.default,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(o(n(97774)).default);t.Z=a},65429:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.pick=function(e,t){var n={};return t.forEach((function(t){n[t]=e[t]})),n}},56047:function(e,t,n){n(16896)},66607:function(e,t,n){var r=n(58347),o=n(3096);o.extendSeriesModel({type:"series.wordCloud",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),a=new o.List(n,this);return a.initData(e.data),a},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:{normal:{fontWeight:"normal"}}}})},31041:function(e,t,n){var r=n(3096);r.extendChartView({type:"wordCloud",render:function(e,t,n){var o=this.group;o.removeAll();var a=e.getData(),i=e.get("gridSize");e.layoutInstance.ondraw=function(e,t,n,s){var l=a.getItemModel(n),c=l.getModel("textStyle.normal"),u=l.getModel("textStyle.emphasis"),d=new r.graphic.Text({style:r.graphic.setTextStyle({},c,{x:s.info.fillTextOffsetX,y:s.info.fillTextOffsetY+.5*t,text:e,textBaseline:"middle",textFill:a.getItemVisual(n,"color"),fontSize:t}),scale:[1/s.info.mu,1/s.info.mu],position:[(s.gx+s.info.gw/2)*i,(s.gy+s.info.gh/2)*i],rotation:s.rot});o.add(d),a.setItemGraphicEl(n,d),r.graphic.setHoverStyle(d,r.graphic.setTextStyle({},u,null,{forMerge:!0},!0))},this._model=e},remove:function(){this.group.removeAll(),this._model.layoutInstance.dispose()},dispose:function(){this._model.layoutInstance.dispose()}})},19131:function(e,t){"use strict";var n,r,o,a,i;window.setImmediate||(window.setImmediate=window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var e=[void 0],t="zero-timeout-message";return window.addEventListener("message",(function(n){if("string"==typeof n.data&&n.data.substr(0,t.length)===t){n.stopImmediatePropagation();var r=parseInt(n.data.substr(t.length),36);e[r]&&(e[r](),e[r]=void 0)}}),!0),window.clearImmediate=function(t){e[t]&&(e[t]=void 0)},function(n){var r=e.length;return e.push(n),window.postMessage(t+r.toString(36),"*"),r}}()||function(e){window.setTimeout(e,0)}),window.clearImmediate||(window.clearImmediate=window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(e){window.clearTimeout(e)}),r=function(){var e=document.createElement("canvas");if(!e||!e.getContext)return!1;var t=e.getContext("2d");return!!(t.getImageData&&t.fillText&&Array.prototype.some&&Array.prototype.push)}(),o=function(){if(r){for(var e,t,n=document.createElement("canvas").getContext("2d"),o=20;o;){if(n.font=o.toString(10)+"px sans-serif",n.measureText("").width===e&&n.measureText("m").width===t)return o+1;e=n.measureText("").width,t=n.measureText("m").width,o--}return 0}}(),a=function(e){for(var t,n,r=e.length;r;t=Math.floor(Math.random()*r),n=e[--r],e[r]=e[t],e[t]=n);return e},(i=function(e,t){if(r){Array.isArray(e)||(e=[e]),e.forEach((function(t,n){if("string"==typeof t){if(e[n]=document.getElementById(t),!e[n])throw"The element id specified is not found."}else if(!t.tagName&&!t.appendChild)throw"You must pass valid HTML elements, or ID of the element."}));var n={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,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(t)for(var i in t)i in n&&(n[i]=t[i]);if("function"!=typeof n.weightFactor){var s=n.weightFactor;n.weightFactor=function(e){return e*s}}if("function"!=typeof n.shape)switch(n.shape){case"circle":default:n.shape="circle";break;case"cardioid":n.shape=function(e){return 1-Math.sin(e)};break;case"diamond":case"square":n.shape=function(e){var t=e%(2*Math.PI/4);return 1/(Math.cos(t)+Math.sin(t))};break;case"triangle-forward":n.shape=function(e){var t=e%(2*Math.PI/3);return 1/(Math.cos(t)+Math.sqrt(3)*Math.sin(t))};break;case"triangle":case"triangle-upright":n.shape=function(e){var t=(e+3*Math.PI/2)%(2*Math.PI/3);return 1/(Math.cos(t)+Math.sqrt(3)*Math.sin(t))};break;case"pentagon":n.shape=function(e){var t=(e+.955)%(2*Math.PI/5);return 1/(Math.cos(t)+.726543*Math.sin(t))};break;case"star":n.shape=function(e){var t=(e+.955)%(2*Math.PI/10);return(e+.955)%(2*Math.PI/5)-2*Math.PI/10>=0?1/(Math.cos(2*Math.PI/10-t)+3.07768*Math.sin(2*Math.PI/10-t)):1/(Math.cos(t)+3.07768*Math.sin(t))}}n.gridSize=Math.max(Math.floor(n.gridSize),4);var l,c,u,d,f,h,p,m=n.gridSize,v=m-n.maskGapWidth,g=Math.abs(n.maxRotation-n.minRotation),y=Math.min(n.maxRotation,n.minRotation),w=n.rotationStep;switch(n.color){case"random-dark":p=function(){return z(10,50)};break;case"random-light":p=function(){return z(50,90)};break;default:"function"==typeof n.color&&(p=n.color)}var b=null;"function"==typeof n.classes&&(b=n.classes);var x,S=!1,M=[],O=function(e){var t,n,r=e.currentTarget,o=r.getBoundingClientRect();e.touches?(t=e.touches[0].clientX,n=e.touches[0].clientY):(t=e.clientX,n=e.clientY);var a=t-o.left,i=n-o.top,s=Math.floor(a*(r.width/o.width||1)/m),l=Math.floor(i*(r.height/o.height||1)/m);return M[s][l]},E=function(e){var t=O(e);x!==t&&(x=t,t?n.hover(t.item,t.dimension,e):n.hover(void 0,void 0,e))},C=function(e){var t=O(e);t&&(n.click(t.item,t.dimension,e),e.preventDefault())},I=[],k=function(e){if(I[e])return I[e];var t=8*e,r=t,o=[];for(0===e&&o.push([d[0],d[1],0]);r--;){var a=1;"circle"!==n.shape&&(a=n.shape(r/t*2*Math.PI)),o.push([d[0]+e*a*Math.cos(-r/t*2*Math.PI),d[1]+e*a*Math.sin(-r/t*2*Math.PI)*n.ellipticity,r/t*2*Math.PI])}return I[e]=o,o},T=function(){return n.abortThreshold>0&&(new Date).getTime()-h>n.abortThreshold},P=function(t,n,r,o,a){t>=c||n>=u||t<0||n<0||(l[t][n]=!1,r&&e[0].getContext("2d").fillRect(t*m,n*m,v,v),S&&(M[t][n]={item:a,dimension:o}))},_=function(t){var r,i,s;Array.isArray(t)?(r=t[0],i=t[1]):(r=t.word,i=t.weight,s=t.attributes);var d=0===n.rotateRatio||Math.random()>n.rotateRatio?0:0===g?y:y+Math.round(Math.random()*g/w)*w,h=function(e,t,r){var a=n.weightFactor(t);if(a<=n.minSize)return!1;var i=1;a<o&&(i=function(){for(var e=2;e*a<o;)e+=2;return e}());var s=document.createElement("canvas"),l=s.getContext("2d",{willReadFrequently:!0});l.font=n.fontWeight+" "+(a*i).toString(10)+"px "+n.fontFamily;var c=l.measureText(e).width/i,u=Math.max(a*i,l.measureText("m").width,l.measureText("").width)/i,d=c+2*u,f=3*u,h=Math.ceil(d/m),p=Math.ceil(f/m);d=h*m,f=p*m;var v=-c/2,g=.4*-u,y=Math.ceil((d*Math.abs(Math.sin(r))+f*Math.abs(Math.cos(r)))/m),w=Math.ceil((d*Math.abs(Math.cos(r))+f*Math.abs(Math.sin(r)))/m),b=w*m,x=y*m;s.setAttribute("width",b),s.setAttribute("height",x),l.scale(1/i,1/i),l.translate(b*i/2,x*i/2),l.rotate(-r),l.font=n.fontWeight+" "+(a*i).toString(10)+"px "+n.fontFamily,l.fillStyle="#000",l.textBaseline="middle",l.fillText(e,v*i,(g+.5*a)*i);var S=l.getImageData(0,0,b,x).data;if(T())return!1;for(var M,O,E,C=[],I=w,k=[y/2,w/2,y/2,w/2];I--;)for(M=y;M--;){E=m;e:for(;E--;)for(O=m;O--;)if(S[4*((M*m+E)*b+(I*m+O))+3]){C.push([I,M]),I<k[3]&&(k[3]=I),I>k[1]&&(k[1]=I),M<k[0]&&(k[0]=M),M>k[2]&&(k[2]=M);break e}}return{mu:i,occupied:C,bounds:k,gw:w,gh:y,fillTextOffsetX:v,fillTextOffsetY:g,fillTextWidth:c,fillTextHeight:u,fontSize:a}}(r,i,d);if(!h)return!1;if(T())return!1;if(!n.drawOutOfBound){var v=h.bounds;if(v[1]-v[3]+1>c||v[2]-v[0]+1>u)return!1}for(var x=f+1,M=function(o){var a=Math.floor(o[0]-h.gw/2),v=Math.floor(o[1]-h.gh/2);return h.gw,h.gh,!!function(e,t,r,o,a){for(var i=a.length;i--;){var s=e+a[i][0],d=t+a[i][1];if(s>=c||d>=u||s<0||d<0){if(!n.drawOutOfBound)return!1}else if(!l[s][d])return!1}return!0}(a,v,0,0,h.occupied)&&(function(t,r,o,a,i,s,l,c,u){var d,f,h=o.fontSize;d=p?p(a,i,h,s,l):n.color,f=b?b(a,i,h,s,l):n.classes;var v=o.bounds;v[3],v[0],v[1],v[3],v[2],v[0],e.forEach((function(e){if(e.getContext){var i=e.getContext("2d"),s=o.mu;i.save(),i.scale(1/s,1/s),i.font=n.fontWeight+" "+(h*s).toString(10)+"px "+n.fontFamily,i.fillStyle=d,i.translate((t+o.gw/2)*m*s,(r+o.gh/2)*m*s),0!==c&&i.rotate(-c),i.textBaseline="middle",i.fillText(a,o.fillTextOffsetX*s,(o.fillTextOffsetY+.5*h)*s),i.restore()}else{var l=document.createElement("span"),p="";p="rotate("+-c/Math.PI*180+"deg) ",1!==o.mu&&(p+="translateX(-"+o.fillTextWidth/4+"px) scale("+1/o.mu+")");var v={position:"absolute",display:"block",font:n.fontWeight+" "+h*o.mu+"px "+n.fontFamily,left:(t+o.gw/2)*m+o.fillTextOffsetX+"px",top:(r+o.gh/2)*m+o.fillTextOffsetY+"px",width:o.fillTextWidth+"px",height:o.fillTextHeight+"px",lineHeight:h+"px",whiteSpace:"nowrap",transform:p,webkitTransform:p,msTransform:p,transformOrigin:"50% 40%",webkitTransformOrigin:"50% 40%",msTransformOrigin:"50% 40%"};for(var g in d&&(v.color=d),l.textContent=a,v)l.style[g]=v[g];if(u)for(var y in u)l.setAttribute(y,u[y]);f&&(l.className+=f),e.appendChild(l)}}))}(a,v,h,r,i,f-x,o[2],d,s),function(t,r,o,a,i,s){var l,d,f=i.occupied,h=n.drawMask;if(h&&((l=e[0].getContext("2d")).save(),l.fillStyle=n.maskColor),S){var p=i.bounds;d={x:(t+p[3])*m,y:(r+p[0])*m,w:(p[1]-p[3]+1)*m,h:(p[2]-p[0]+1)*m}}for(var v=f.length;v--;){var g=t+f[v][0],y=r+f[v][1];g>=c||y>=u||g<0||y<0||P(g,y,h,d,s)}h&&l.restore()}(a,v,0,0,h,t),{gx:a,gy:v,rot:d,info:h})};x--;){var O=k(f-x);n.shuffle&&(O=[].concat(O),a(O));for(var E=0;E<O.length;E++){var C=M(O[E]);if(C)return C}}return null},j=function(t,n,r){if(n)return!e.some((function(e){var o=document.createEvent("CustomEvent");return o.initCustomEvent(t,!0,n,r||{}),!e.dispatchEvent(o)}),this);e.forEach((function(e){var o=document.createEvent("CustomEvent");o.initCustomEvent(t,!0,n,r||{}),e.dispatchEvent(o)}),this)};!function(){var t=e[0];if(t.getContext)c=Math.ceil(t.width/m),u=Math.ceil(t.height/m);else{var r=t.getBoundingClientRect();c=Math.ceil(r.width/m),u=Math.ceil(r.height/m)}if(j("wordcloudstart",!0)){var o,a,i,s,p;if(d=n.origin?[n.origin[0]/m,n.origin[1]/m]:[c/2,u/2],f=Math.floor(Math.sqrt(c*c+u*u)),l=[],!t.getContext||n.clearCanvas)for(e.forEach((function(e){if(e.getContext){var t=e.getContext("2d");t.fillStyle=n.backgroundColor,t.clearRect(0,0,c*(m+1),u*(m+1)),t.fillRect(0,0,c*(m+1),u*(m+1))}else e.textContent="",e.style.backgroundColor=n.backgroundColor,e.style.position="relative"})),o=c;o--;)for(l[o]=[],a=u;a--;)l[o][a]=!0;else{var v=document.createElement("canvas").getContext("2d");v.fillStyle=n.backgroundColor,v.fillRect(0,0,1,1);var g,y,w=v.getImageData(0,0,1,1).data,b=t.getContext("2d").getImageData(0,0,c*m,u*m).data;for(o=c;o--;)for(l[o]=[],a=u;a--;){y=m;e:for(;y--;)for(g=m;g--;)for(i=4;i--;)if(b[4*((a*m+y)*c*m+(o*m+g))+i]!==w[i]){l[o][a]=!1;break e}!1!==l[o][a]&&(l[o][a]=!0)}b=v=w=void 0}if(n.hover||n.click){for(S=!0,o=c+1;o--;)M[o]=[];n.hover&&t.addEventListener("mousemove",E),n.click&&(t.addEventListener("click",C),t.addEventListener("touchstart",C),t.addEventListener("touchend",(function(e){e.preventDefault()})),t.style.webkitTapHighlightColor="rgba(0, 0, 0, 0)"),t.addEventListener("wordcloudstart",(function e(){t.removeEventListener("wordcloudstart",e),t.removeEventListener("mousemove",E),t.removeEventListener("click",C),x=void 0}))}i=0,0!==n.wait?(s=window.setTimeout,p=window.clearTimeout):(s=window.setImmediate,p=window.clearImmediate);var O=function(t,n){e.forEach((function(e){e.removeEventListener(t,n)}),this)},I=function e(){O("wordcloudstart",e),p(k)};!function(t,n){e.forEach((function(e){e.addEventListener(t,n)}),this)}("wordcloudstart",I);var k=s((function e(){if(i>=n.list.length)return p(k),j("wordcloudstop",!1),void O("wordcloudstart",I);h=(new Date).getTime();var t=_(n.list[i]),r=!j("wordclouddrawn",!0,{item:n.list[i],drawn:t});if(T()||r)return p(k),n.abort(),j("wordcloudabort",!1),j("wordcloudstop",!1),void O("wordcloudstart",I);i++,k=s(e,n.wait)}),n.wait)}}()}function z(e,t){return"hsl("+(360*Math.random()).toFixed()+","+(30*Math.random()+70).toFixed()+"%,"+(Math.random()*(t-e)+e).toFixed()+"%)"}}).isSupported=r,i.minFontSize=o,void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)},16896:function(e,t,n){var r=n(3096),o=n(7357);n(66607),n(31041);var a=n(19131);if(!a.isSupported)throw new Error("Sorry your browser not support wordCloud");r.registerLayout((function(e,t){e.eachSeriesByType("wordCloud",(function(n){var i=o.getLayoutRect(n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),s=n.getData(),l=document.createElement("canvas");l.width=i.width,l.height=i.height;var c=l.getContext("2d"),u=n.get("maskImage");if(u)try{c.drawImage(u,0,0,l.width,l.height),function(e){for(var t=e.getContext("2d"),n=t.getImageData(0,0,e.width,e.height),r=t.createImageData(n),o=0,a=0,i=0;i<n.data.length;i+=4)n.data[i+3]>128&&(o+=l=n.data[i]+n.data[i+1]+n.data[i+2],++a);var s=o/a;for(i=0;i<n.data.length;i+=4){var l=n.data[i]+n.data[i+1]+n.data[i+2];n.data[i+3]<128||l>s?(r.data[i]=0,r.data[i+1]=0,r.data[i+2]=0,r.data[i+3]=0):(r.data[i]=255,r.data[i+1]=255,r.data[i+2]=255,r.data[i+3]=255)}t.putImageData(r,0,0)}(l)}catch(e){console.error("Invalid mask image"),console.error(e.toString())}var d=n.get("sizeRange"),f=n.get("rotationRange"),h=s.getDataExtent("value"),p=Math.PI/180,m=n.get("gridSize");function v(e){var t=e.detail.item;e.detail.drawn&&n.layoutInstance.ondraw&&(e.detail.drawn.gx+=i.x/m,e.detail.drawn.gy+=i.y/m,n.layoutInstance.ondraw(t[0],t[1],t[2],e.detail.drawn))}a(l,{list:s.mapArray("value",(function(e,t){var n=s.getItemModel(t);return[s.getName(t),n.get("textStyle.normal.textSize",!0)||r.number.linearMap(e,h,d),t]})).sort((function(e,t){return t[1]-e[1]})),fontFamily:n.get("textStyle.normal.fontFamily")||n.get("textStyle.emphasis.fontFamily")||e.get("textStyle.fontFamily"),fontWeight:n.get("textStyle.normal.fontWeight")||n.get("textStyle.emphasis.fontWeight")||e.get("textStyle.fontWeight"),gridSize:m,ellipticity:i.height/i.width,minRotation:f[0]*p,maxRotation:f[1]*p,clearCanvas:!u,rotateRatio:1,rotationStep:n.get("rotationStep")*p,drawOutOfBound:n.get("drawOutOfBound"),shuffle:!1,shape:n.get("shape")}),l.addEventListener("wordclouddrawn",v),n.layoutInstance&&n.layoutInstance.dispose(),n.layoutInstance={ondraw:null,dispose:function(){l.removeEventListener("wordclouddrawn",v),l.addEventListener("wordclouddrawn",(function(e){e.preventDefault()}))}}}))})),r.registerPreprocessor((function(e){var t=(e||{}).series;!r.util.isArray(t)&&(t=t?[t]:[]);var n=["shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function o(e){e&&r.util.each(n,(function(t){e.hasOwnProperty(t)&&(e["text"+r.format.capitalFirst(t)]=e[t])}))}r.util.each(t,(function(e){if(e&&"wordCloud"===e.type){var t=e.textStyle||{};o(t.normal),o(t.emphasis)}}))}))},53291:function(e){"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty;e.exports=function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var i,s,l,c=t(o),u=t(a);if(c&&u){if((s=o.length)!=a.length)return!1;for(i=s;0!=i--;)if(!e(o[i],a[i]))return!1;return!0}if(c!=u)return!1;var d=o instanceof Date,f=a instanceof Date;if(d!=f)return!1;if(d&&f)return o.getTime()==a.getTime();var h=o instanceof RegExp,p=a instanceof RegExp;if(h!=p)return!1;if(h&&p)return o.toString()==a.toString();var m=n(o);if((s=m.length)!==n(a).length)return!1;for(i=s;0!=i--;)if(!r.call(a,m[i]))return!1;for(i=s;0!=i--;)if(!e(o[l=m[i]],a[l]))return!1;return!0}return o!=o&&a!=a}},27774:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SizeSensorId=t.SensorTabIndex=t.SensorClassName=void 0;t.SizeSensorId="size-sensor-id";t.SensorClassName="size-sensor-object";t.SensorTabIndex="-1"},79301:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var r=this,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];clearTimeout(n),n=setTimeout((function(){e.apply(r,a)}),t)}}},79789:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=1;t.default=function(){return"".concat(n++)}},47242:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ver=t.clear=t.bind=void 0;var r=n(95270);t.bind=function(e,t){var n=(0,r.getSensor)(e);return n.bind(t),function(){n.unbind(t)}};t.clear=function(e){var t=(0,r.getSensor)(e);(0,r.removeSensor)(t)};t.ver="1.0.2"},95270:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeSensor=t.getSensor=t.Sensors=void 0;var r,o=(r=n(79789))&&r.__esModule?r:{default:r},a=n(57829),i=n(27774);var s={};function l(e){e&&s[e]&&delete s[e]}t.Sensors=s;t.getSensor=function(e){var t=e.getAttribute(i.SizeSensorId);if(t&&s[t])return s[t];var n=(0,o.default)();e.setAttribute(i.SizeSensorId,n);var r=(0,a.createSensor)(e,(function(){return l(n)}));return s[n]=r,r};t.removeSensor=function(e){var t=e.element.getAttribute(i.SizeSensorId);e.destroy(),l(t)}},57829:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r=n(20953),o=n(55202),a="undefined"!=typeof ResizeObserver?o.createSensor:r.createSensor;t.createSensor=a},20953:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r,o=(r=n(79301))&&r.__esModule?r:{default:r},a=n(27774);t.createSensor=function(e,t){var n=void 0,r=[],i=(0,o.default)((function(){r.forEach((function(t){t(e)}))})),s=function(){n&&n.parentNode&&(n.contentDocument&&n.contentDocument.defaultView.removeEventListener("resize",i),n.parentNode.removeChild(n),e.removeAttribute(a.SizeSensorId),n=void 0,r=[],t&&t())};return{element:e,bind:function(t){n||(n=function(){"static"===getComputedStyle(e).position&&(e.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",i),i()},t.style.display="block",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.height="100%",t.style.width="100%",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="-1",t.style.opacity="0",t.setAttribute("class",a.SensorClassName),t.setAttribute("tabindex",a.SensorTabIndex),t.type="text/html",e.appendChild(t),t.data="about:blank",t}()),-1===r.indexOf(t)&&r.push(t)},destroy:s,unbind:function(e){var t=r.indexOf(e);-1!==t&&r.splice(t,1),0===r.length&&n&&s()}}}},55202:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r,o=n(27774),a=(r=n(79301))&&r.__esModule?r:{default:r};t.createSensor=function(e,t){var n=void 0,r=[],i=(0,a.default)((function(){r.forEach((function(t){t(e)}))})),s=function(){n.disconnect(),r=[],n=void 0,e.removeAttribute(o.SizeSensorId),t&&t()};return{element:e,bind:function(t){var o;n||((o=new ResizeObserver(i)).observe(e),i(),n=o),-1===r.indexOf(t)&&r.push(t)},destroy:s,unbind:function(e){var t=r.indexOf(e);-1!==t&&r.splice(t,1),0===r.length&&n&&s()}}}}}]);