Agriculture-front-end/dist/assets/index.2809c208.js

27 lines
616 KiB
JavaScript
Raw Normal View History

import{ak as Fe,Z as pe,al as Ia,am as Ly,an as vu,j as G,ao as Pt,$ as My,ap as Yf,o as D,aq as K,ar as Py,as as Ry,ag as $,at as Xf,au as tl,av as Jt,aw as Kf,ax as Yt,ay as ky,az as It,aA as qf,aB as Ey,aC as Vy,aD as At,aE as Ny,aF as dn,aG as Oy,aH as Oi,aI as zy,K as lt,aJ as it,aK as Gy,aL as By,aM as Fy,aN as Hy,aO as Wy,aP as $y,aQ as Zy,aR as jf,aS as el,aT as Uy,aU as Yy,aV as Xy,aW as Ky,h as B,a1 as _t,aX as cu,aY as qy,aZ as _e,a_ as E,c as Ee,a$ as Y,a8 as Et,a5 as Tt,b0 as hu,b1 as Fr,b2 as Hr,b3 as ct,b4 as fe,b5 as bt,b6 as zt,b7 as xr,b8 as Wt,b9 as St,l as et,ba as Wr,bb as Qr,bc as ta,i as $r,bd as vr,be as fu,bf as pu,R as ft,a9 as be,bg as ue,bh as Zr,x as Q,bi as $t,bj as is,a6 as xt,bk as zi,B as vt,bl as jy,bm as Jf,aj as gn,bn as La,bo as Jy,bp as yn,bq as Qe,br as du,bs as Gi,bt as Bi,bu as Qf,bv as Qy,N as J,bw as tp,bx as ep,by as rp,af as ht,J as Gt,bz as F,bA as he,bB as tm,bC as em,bD as rm,bE as de,bF as ap,bG as ea,bH as ip,bI as mn,S as te,bJ as Z,bK as rl,bL as am,bM as Za,bN as Ct,bO as np,U as kt,C as Lt,bP as ee,m as we,A as Ua,w as dt,bQ as im,bR as xn,bS as Sn,O as nm,ab as op,ac as Pe,G as om,I as ge,bT as Ft,bU as Fi,bV as sm,bW as Gn,bX as lm,q as yt,a as bn,bY as ns,bZ as um,b_ as os,n as Ur,b$ as Kt,c0 as Ma,c1 as vm,c2 as cm,D as gt,c3 as Ya,c4 as hm,c5 as fm,c6 as ra,c7 as Hi,M as Rt,c8 as sp,c9 as Pa,E as Vt,ca as nt,cb as _n,u as tt,cc as pm,cd as ve,ce as Sr,cf as dm,cg as Ut,ch as Xa,ci as lp,cj as ce,ck as wn,cl as gu,cm as Ye,cn as up,co as W,cp as gm,cq as ym,cr as mm,cs as vp,ct as cp,cu as Xe,aa as br,cv as xm,cw as Sm,W as bm,V as _m,cx as hp,cy as gr,cz as Yr,cA as An,cB as wm,cC as Ka,cD as ga,cE as Am,cF as Xt,cG as al,cH as Tm,cI as Cm,X as fp,cJ as il,cK as Tn,ah as ss,cL as Dm,cM as pp,cN as Ce,ae as dp,cO as ls,cP as jt,cQ as Cn,cR as Im,cS as gp,cT as Ke,cU as Wi,cV as yu,cW as ya,cX as mu,cY as Lm,cZ as Bn,c_ as Pi,p as yp,d0 as Aa,d1 as $i,d2 as xu,d3 as Ze,d4 as qa,d5 as Mm,d6 as Pm,d7 as Nr,d8 as Su,d9 as Rm,da as us,db as km,dc as mp,dd as Em,ad as Vm,de as xp,df as Nm,dg as bu,dh as Om,di as zm,dj as Gm,dk as aa,dl as Ra,dm as Ie,dn as le,dp as nl,dq as zr,dr as Bm,ds as vs,dt as cs,du as Fm,dv as Fn,dw as Sp,dx as wt,dy as Hn,dz as Hm,dA as ma,dB as Wm,a7 as _u,dC as $m,dD as wu,dE as Zm,dF as li,dG as Um,T as Ym,dH as ka,dI as Xm,dJ as bp,dK as ja,dL as Au,dM as Km,dN as _p,dO as qm,dP as wp,dQ as Dn,dR as In,dS as ol,dT as Ap,dU as qt,dV as jm,dW as Jm,dX as Tu,Y as Qm,dY as t0,dZ as e0,d_ as r0,d$ as a0,e0 as i0,e1 as n0,e2 as o0,e3 as hr,e4 as hs,e5 as Cu,e6 as Tp,e7 as s0,e8 as l0,e9 as Cp,ea as u0,eb as Dp,ec as v0,ed as c0,ee as Wn,ef as Du,eg as Iu,eh as h0,_ as f0,ei as p0,ej as d0,ek as Ip,el as Lp,em as na,en as ui,eo as g0,ep as Mp,eq as Gr,er as y0,es as m0,et as x0,eu as Zi,ev as S0,ew as b0,ex as Ln,g as _0,ey as w0,ez as A0,eA as T0,eB as Lu,eC as Pp,eD as C0,eE as D0,eF as I0,eG as L0,eH as Ui,eI as sl,eJ as M0,eK as $n,eL as P0,b as R0,d as k0,f as E0}from"./linkSeriesData.e74eae00.js";var Zn=Math.sin,Un=Math.cos,Rp=Math.PI,tr=Math.PI*2,V0=180/Rp,N0=function(){function a(){}return a.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},a.prototype.moveTo=function(e,t){this._add("M",e,t)},a.prototype.lineTo=function(e,t){this._add("L",e,t)},a.prototype.bezierCurveTo=function(e,t,r,i,n,o){this._add("C",e,t,r,i,n,o)},a.prototype.quadraticCurveTo=function(e,t,r,i){this._add("Q",e,t,r,i)},a.prototype.arc=function(e,t,r,i,n,o){this.ellipse(e,t,r,r,0,i,n,o)},a.prototype.ellipse=function(e,t,r,i,n,o,s,l){var u=s-o,v=!l,c=Math.abs(u),h=Fe(c-tr)||(v?u>=tr:-u>=tr),f=u>0?u%tr:u%tr+tr,p=!1;h?p=!0:Fe(c)?p=!1:p=f>=Rp==!!v;var d=e+r*Un(o),g=t+i*Zn(o);this._start&&this._add("M",d,g);var y=Math.round(n*V0);if(h){var x=1/this._p,m=(v?1:-1)*(tr-x);this._add("A",r,i,y,1,+v,e+r*Un(o+m),t+i*Zn(o+m)),x>.01&&this._add("A",r,i,y,0,+v,d,g)}else{var S=e+r*Un(s),b=t+i*Zn(s);this._add("A",r,i,y,+p,+v,S,b)}},a.prototype.rect=function(e,t,r,i){this._add("M",e,t),this._add("l",r,0),this._add("l",0,i),this._add("l",-r,0),th
`:"";function r(i){var n=i.children,o=i.tag,s=i.attrs,l=i.text;return $0(o,s)+(o!=="style"?My(l):l||"")+(n?""+t+G(n,function(u){return r(u)}).join(t)+t:"")+Z0(o)}return r(a)}function U0(a,e,t){t=t||{};var r=t.newline?`
`:"",i=" {"+r,n=r+"}",o=G(Pt(a),function(l){return l+i+G(Pt(a[l]),function(u){return u+":"+a[l][u]+";"}).join(r)+n}).join(r),s=G(Pt(e),function(l){return"@keyframes "+l+i+G(Pt(e[l]),function(u){return u+i+G(Pt(e[l][u]),function(v){var c=e[l][u][v];return v==="d"&&(c='path("'+c+'")'),v+":"+c+";"}).join(r)+n}).join(r)+n}).join(r);return!o&&!s?"":["<![CDATA[",o,s,"]]>"].join(r)}function ps(a){return{zrId:a,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Pu(a,e,t,r){return Ot("svg","root",{width:a,height:e,xmlns:Ep,"xmlns:xlink":Vp,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+a+" "+e:!1},t)}var Y0=0;function Op(){return Y0++}var Ru={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},rr="transform-origin";function X0(a,e,t){var r=$({},a.shape);$(r,e),a.buildPath(t,r);var i=new kp;return i.reset(Kf(a)),t.rebuildPath(i,1),i.generateStr(),i.getStr()}function K0(a,e){var t=e.originX,r=e.originY;(t||r)&&(a[rr]=t+"px "+r+"px")}var q0={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function zp(a,e){var t=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[t]=a,t}function j0(a,e,t){var r=a.shape.paths,i={},n,o;if(D(r,function(l){var u=ps(t.zrId);u.animation=!0,Mn(l,{},u,!0);var v=u.cssAnims,c=u.cssNodes,h=Pt(v),f=h.length;if(!!f){o=h[f-1];var p=v[o];for(var d in p){var g=p[d];i[d]=i[d]||{d:""},i[d].d+=g.d||""}for(var y in c){var x=c[y].animation;x.indexOf(o)>=0&&(n=x)}}}),!!n){e.d=!1;var s=zp(i,t);return n.replace(o,s)}}function ku(a){return K(a)?Ru[a]?"cubic-bezier("+Ru[a]+")":Py(a)?a:"":""}function Mn(a,e,t,r){var i=a.animators,n=i.length,o=[];if(a instanceof Yf){var s=j0(a,e,t);if(s)o.push(s);else if(!n)return}else if(!n)return;for(var l={},u=0;u<n;u++){var v=i[u],c=[v.getMaxTime()/1e3+"s"],h=ku(v.getClip().easing),f=v.getDelay();h?c.push(h):c.push("linear"),f&&c.push(f/1e3+"s"),v.getLoop()&&c.push("infinite");var p=c.join(" ");l[p]=l[p]||[p,[]],l[p][1].push(v)}function d(x){var m=x[1],S=m.length,b={},_={},w={},A="animation-timing-function";function T(U,ut,st){for(var pt=U.getTracks(),Nt=U.getMaxTime(),Bt=0;Bt<pt.length;Bt++){var mt=pt[Bt];if(mt.needsAnimate()){var Mt=mt.keyframes,Dt=mt.propName;if(st&&(Dt=st(Dt)),Dt)for(var Zt=0;Zt<Mt.length;Zt++){var Ae=Mt[Zt],Qt=Math.round(Ae.time/Nt*100)+"%",si=ku(Ae.easing),Ve=Ae.rawValue;(K(Ve)||Yt(Ve))&&(ut[Qt]=ut[Qt]||{},ut[Qt][Dt]=Ae.rawValue,si&&(ut[Qt][A]=si))}}}}for(var C=0;C<S;C++){var I=m[C],L=I.targetName;L?L==="shape"&&T(I,_):!r&&T(I,b)}for(var M in b){var P={};Ry(P,a),$(P,b[M]);var R=Xf(P),k=b[M][A];w[M]=R?{transform:R}:{},K0(w[M],P),k&&(w[M][A]=k)}var N,V=!0;for(var M in _){w[M]=w[M]||{};var O=!N,k=_[M][A];O&&(N=new tl);var z=N.len();N.reset(),w[M].d=X0(a,_[M],N);var H=N.len();if(!O&&z!==H){V=!1;break}k&&(w[M][A]=k)}if(!V)for(var M in w)delete w[M].d;if(!r)for(var C=0;C<S;C++){var I=m[C],L=I.targetName;L==="style"&&T(I,w,function(pt){return q0[pt]})}for(var q=Pt(w),j=!0,X,C=1;C<q.length;C++){var at=q[C-1],ot=q[C];if(w[at][rr]!==w[ot][rr]){j=!1;break}X=w[at][rr]}if(j&&X){for(var M in w)w[M][rr]&&delete w[M][rr];e[rr]=X}if(Jt(q,function(U){return Pt(w[U]).length>0}).length){var rt=zp(w,t);return rt+" "+x[0]+" both"}}for(var g in l){var s=d(l[g]);s&&o.push(s)}if(o.length){var y=t.zrId+"-cls-"+Op();t.cssNodes["."+y]={animation:o.join(",")},e.class=y}}function J0(a,e,t){if(!a.ignore)if(a.isSilent()){var r={"pointer-events":"none"};Eu(r,e,t,!0)}else{var i=a.states.empha
`+g.message)}var i=new Y;i.add(r),i.isGeoSVGGraphicRoot=!0;var n=t.width,o=t.height,s=t.viewBoxRect,l=this._boundingRect;if(!l){var u=void 0,v=void 0,c=void 0,h=void 0;if(n!=null?(u=0,c=n):s&&(u=s.x,c=s.width),o!=null?(v=0,h=o):s&&(v=s.y,h=s.height),u==null||v==null){var f=r.getBoundingRect();u==null&&(u=f.x,c=f.width),v==null&&(v=f.y,h=f.height)}l=this._boundingRect=new kt(u,v,c,h)}if(s){var p=bd(s,l);r.scaleX=r.scaleY=p.scale,r.x=p.x,r.y=p.y}i.setClipPath(new ft({shape:l.plain()}));var d=[];return D(t.named,function(g){k1.get(g.svgNodeTagLower)!=null&&(d.push(g),V1(g.el))}),{root:i,boundingRect:l,named:d}},a.prototype.useGraphic=function(e){var t=this._usedGraphicMap,r=t.get(e);return r||(r=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),t.set(e,r),r)},a.prototype.freeGraphic=function(e){var t=this._usedGraphicMap,r=t.get(e);r&&(t.removeKey(e),this._freedGraphics.push(r))},a}();function V1(a){a.silent=!1,a.isGroup&&a.traverse(function(e){e.silent=!1})}function N1(a){var e=[],t=nt();return D(a,function(r){if(r.namedFrom==null){var i=new xm(r.name,r.el);e.push(i),t.set(r.name,i)}}),{regions:e,regionsMap:t}}var _s=[126,25],Pv="\u5357\u6D77\u8BF8\u5C9B",ar=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]];for(var er=0;er<ar.length;er++)for(var Tr=0;Tr<ar[er].length;Tr++)ar[er][Tr][0]/=10.5,ar[er][Tr][1]/=-10.5/.75,ar[er][Tr][0]+=_s[0],ar[er][Tr][1]+=_s[1];function O1(a,e){if(a==="china"){for(var t=0;t<e.length;t++)if(e[t].name===Pv)return;e.push(new Sm(Pv,G(ar,function(r){return{type:"polygon",exterior:r}}),_s))}}var z1=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function G1(a,e){a==="china"&&e.name==="\u53F0\u6E7E"&&e.geometries.push({type:"polygon",exterior:z1[0]})}var B1="name",F1=function(){function a(e,t,r){this.type="geoJSON",this._parsedMap=nt(),this._mapName=e,this._specialAreas=r,this._geoJSON=W1(t)}return a.prototype.load=function(e,t){t=t||B1;var r=this._parsedMap.get(t);if(!r){var i=this._parseToRegions(t);r=this._parsedMap.set(t,{regions:i,boundingRect:H1(i)})}var n=nt(),o=[];return D(r.regions,function(s){var l=s.name;e&&W(e,l)&&(s=s.cloneShallow(l=e[l])),o.push(s),n.set(l,s)}),{regions:o,boundingRect:r.boundingRect||new kt(0,0,0,0),regionsMap:n}},a.prototype._parseToRegions=function(e){var t=this._mapName,r=this._geoJSON,i;try{i=r?bm(r,e):[]}catch(n){throw new Error(`Invalid geoJson format
`+n.message)}return O1(t,i),D(i,function(n){var o=n.name;_m(t,n),G1(t,n);var s=this._specialAreas&&this._specialAreas[o];s&&n.transformTo(s.left,s.top,s.width,s.height)},this),i},a.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},a}();function H1(a){for(var e,t=0;t<a.length;t++){var r=a[t].getBoundingRect();e=e||r.clone(),e.union(r)}return e}function W1(a){return K(a)?typeof JSON<"u"&&JSON.parse?JSON.parse(a):new Function("return ("+a+");")():a}var sa=nt();const ke={registerMap:function(a,e,t){if(e.svg){var r=new E1(a,e.svg);sa.set(a,r)}else{var i=e.geoJson||e.geoJSON;i&&!e.features?t=e.specialAreas:i=e;var r=new F1(a,i,t);sa.set(a,r)}},getGeoResource:function(a){return sa.get(a)},getMapForUser:function(a){var e=sa.get(a);return e&&e.type==="geoJSON"&&e.getMapForUser()},load:function(a,e,t){var r=sa.get(a);if(!!r)return r.load(e,t)}};var ml=["rect","circle","line","ellipse","polygon","polyline","path"],$1=nt(ml),Z1=nt(ml.concat(["g"])),U1=nt(ml.concat(["g"])),_d=Ct();function di(a){var e=a.getItemStyle(),t=a.get("areaColor");return t!=null&&(e.fill=t),e}function Rv(a){var e=a.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var Y1=function(){function a(e){var t=new Y;this.uid=hp("ec_map_draw"),this._controller=new ii(e.getZr()),this._controllerHost={target:t},this.group=t,t.add(this._regionsGroup=new Y),t.add(this._svgGroup=new Y)}return a.prototype.draw=function(e,t,r,i,n){var o=e.mainType==="geo",s=e.getData&&e.getData();o&&t.eachComponent({mainType:"series",subType:"map"},function(y){!s&&y.getHostGeoModel()===e&&(s=y.getData())});var l=e.coordinateSystem,u=this._regionsGroup,v=this.group,c=l.getTransformInfo(),h=c.raw,f=c.roam,p=!u.childAt(0)||n;p?(v.x=f.x,v.y=f.y,v.scaleX=f.scaleX,v.scaleY=f.scaleY,v.dirty()):ct(v,f,e);var d=s&&s.getVisual("visualMeta")&&s.getVisual("visualMeta").length>0,g={api:r,geo:l,mapOrGeoModel:e,data:s,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:h};l.resourceType==="geoJSON"?this._buildGeoJSON(g):l.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(e,t,r),this._updateMapSelectHandler(e,u,r,i)},a.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=nt(),r=nt(),i=this._regionsGroup,n=e.transformInfoRaw,o=e.mapOrGeoModel,s=e.data,l=e.geo.projection,u=l&&l.stream;function v(f,p){return p&&(f=p(f)),f&&[f[0]*n.scaleX+n.x,f[1]*n.scaleY+n.y]}function c(f){for(var p=[],d=!u&&l&&l.project,g=0;g<f.length;++g){var y=v(f[g],d);y&&p.push(y)}return p}function h(f){return{shape:{points:c(f)}}}i.removeAll(),D(e.geo.regions,function(f){var p=f.name,d=t.get(p),g=r.get(p)||{},y=g.dataIdx,x=g.regionModel;d||(d=t.set(p,new Y),i.add(d),y=s?s.indexOfName(p):null,x=e.isGeo?o.getRegionModel(p):s?s.getItemModel(y):null,r.set(p,{dataIdx:y,regionModel:x}));var m=[],S=[];D(f.geometries,function(w){if(w.type==="polygon"){var A=[w.exterior].concat(w.interiors||[]);u&&(A=zv(A,u)),D(A,function(C){m.push(new ve(h(C)))})}else{var T=w.points;u&&(T=zv(T,u,!0)),D(T,function(C){S.push(new de(h(C)))})}});var b=v(f.getCenter(),l&&l.project);function _(w,A){if(!!w.length){var T=new Yf({culling:!0,segmentIgnoreThreshold:1,shape:{paths:w}});d.add(T),kv(e,T,y,x),Ev(e,T,p,x,o,y,b),A&&(Rv(T),D(T.states,Rv))}}_(m),_(S,!0)}),t.each(function(f,p){var d=r.get(p),g=d.dataIdx,y=d.regionModel;Vv(e,f,p,y,o,g),Nv(e,f,p,y,o),Ov(e,f,p,y,o)},this)},a.prototype._buildSVG=function(e){var t=e.geo.map,r=e.transformInfoRaw;this._svgGroup.x=r.x,this._svgGroup.y=r.y,this._svgGroup.scaleX=r.scaleX,this._svgGroup.scaleY=r.scaleY,this._svgResourceChanged(t)&&(this._freeSVG(),this._useSVG(t));var i=this._svgDispatcherMap=nt(),n=!1;D(this._svgGraphicRecord.named,function(o){var s=o.name,l=e.mapOrGeoModel,u=e.data,v=o.svgNodeTagLower,c=o.el,h=u?u.indexOfName(s):null,f=l.getRegionModel(s);if($1.get(v)!=null&&c instanceof gr&&kv(e,c,h,f),c instanceof gr&&(c.culling=!0),c.z2EmphasisLift=0,!o.namedFrom&&(U1.get(v)!=null&&Ev(e,c,s,f,l,h,null),Vv(e,c,s,f,l,h),Nv(e,c,s,f,l),Z1.get(v)!=null)){var p=Ov(e,c,s,f,l);p==="self"&&(n=!0);var d=i.get(s)||i.set(s,[]);d.pus
`))}),e.join(`
`+On+`
`)}function NL(a){return G(a,function(e){var t=e.getRawData(),r=[e.name],i=[];return t.each(t.dimensions,function(){for(var n=arguments.length,o=arguments[n-1],s=t.getName(o),l=0;l<n-1;l++)i[l]=arguments[l];r.push((s?s+Jr:"")+i.join(Jr))}),r.join(`
`)}).join(`
`+On+`
`)}function OL(a){var e=EL(a);return{value:Jt([VL(e.seriesGroupByCategoryAxis),NL(e.other)],function(t){return!!t.replace(/[\n\t\s]/g,"")}).join(`
`+On+`
`),meta:e.meta}}function sn(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function zL(a){var e=a.slice(0,a.indexOf(`
`));if(e.indexOf(Jr)>=0)return!0}var Fs=new RegExp("["+Jr+"]+","g");function GL(a){for(var e=a.split(/\n+/g),t=sn(e.shift()).split(Fs),r=[],i=G(t,function(l){return{name:l,data:[]}}),n=0;n<e.length;n++){var o=sn(e[n]).split(Fs);r.push(o.shift());for(var s=0;s<o.length;s++)i[s]&&(i[s].data[n]=o[s])}return{series:i,categories:r}}function BL(a){for(var e=a.split(/\n+/g),t=sn(e.shift()),r=[],i=0;i<e.length;i++){var n=sn(e[i]);if(!!n){var o=n.split(Fs),s="",l=void 0,u=!1;isNaN(o[0])?(u=!0,s=o[0],o=o.slice(1),r[i]={name:s,value:[]},l=r[i].value):l=r[i]=[];for(var v=0;v<o.length;v++)l.push(+o[v]);l.length===1&&(u?r[i].value=l[0]:r[i]=l[0])}}return{name:t,data:r}}function FL(a,e){var t=a.split(new RegExp(`
*`+On+`
*`,"g")),r={series:[]};return D(t,function(i,n){if(zL(i)){var o=GL(i),s=e[n],l=s.axisDim+"Axis";s&&(r[l]=r[l]||[],r[l][s.axisIndex]={data:o.categories},r.series=r.series.concat(o.series))}else{var o=BL(i);r.series.push(o)}}),r}var HL=function(a){E(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.onclick=function(t,r){setTimeout(function(){r.dispatchAction({type:"hideTip"})});var i=r.getDom(),n=this.model;this._dom&&i.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",o.style.backgroundColor=n.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=n.get("lang")||[];s.innerHTML=l[0]||n.get("title"),s.style.cssText="margin:10px 20px",s.style.color=n.get("textColor");var u=document.createElement("div"),v=document.createElement("textarea");u.style.cssText="overflow:auto";var c=n.get("optionToContent"),h=n.get("contentToOption"),f=OL(t);if(it(c)){var p=c(r.getOption());K(p)?u.innerHTML=p:hs(p)&&u.appendChild(p)}else{v.readOnly=n.get("readOnly");var d=v.style;d.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",d.color=n.get("textColor"),d.borderColor=n.get("textareaBorderColor"),d.backgroundColor=n.get("textareaColor"),v.value=f.value,u.appendChild(v)}var g=f.meta,y=document.createElement("div");y.style.cssText="position:absolute;bottom:5px;left:0;right:0";var x="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),S=document.createElement("div");x+=";background-color:"+n.get("buttonColor"),x+=";color:"+n.get("buttonTextColor");var b=this;function _(){i.removeChild(o),b._dom=null}Cu(m,"click",_),Cu(S,"click",function(){if(h==null&&c!=null||h!=null&&c==null){_();return}var w;try{it(h)?w=h(u,r.getOption()):w=FL(v.value,g)}catch(A){throw _(),new Error("Data view format error "+A)}w&&r.dispatchAction({type:"changeDataView",newOption:w}),_()}),m.innerHTML=l[1],S.innerHTML=l[2],S.style.cssText=m.style.cssText=x,!n.get("readOnly")&&y.appendChild(S),y.appendChild(m),o.appendChild(s),o.appendChild(u),o.appendChild(y),u.style.height=i.clientHeight-80+"px",i.appendChild(o),this._dom=o},e.prototype.remove=function(t,r){this._dom&&r.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,r){this.remove(t,r)},e.getDefaultOption=function(t){var r={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return r},e}(se);function WL(a,e){return G(a,function(t,r){var i=e&&e[r];if(_t(i)&&!B(i)){var n=_t(t)&&!B(t);n||(t={value:t});var o=i.name!=null&&t.name==null;return t=Q(t,i),o&&delete t.name,t}else return t})}wn({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(a,e){var t=[];D(a.newOption.series,function(r){var i=e.getSeriesByName(r.name)[0];if(!i)t.push($({type:"scatter"},r));else{var n=i.get("data");t.push({name:r.name,data:WL(r.data,n)})}}),e.mergeOption(Q({series:t},a.newOption))});const $L=HL;var Jg=D,Qg=Ct();function ZL(a,e){var t=Ql(a);Jg(e,function(r,i){for(var n=t.length-1;n>=0;n--){var o=t[n];if(o[i])break}if(n<0){var s=a.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(s){var l=s.getPercentRange();t[0][i]={dataZoomId:i,start:l[0],end:l[1]}}}}),t.push(e)}function UL(a){var e=Ql(a),t=e[e.length-1];e.length>1&&e.pop();var r={};return Jg(t,function(i,n){for(var o=e.length-1;o>=0;o--)if(i=e[o][n],i){r[n]=i;break}}),r}function YL(a){Qg(a).snapshots=null}function XL(a){return Ql(a).length}function Ql(a){var e=Qg(a);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var KL=function(a){E(e,a);function
`:"<br/>",y=c.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(t,u)?this._updatePosition(s,f,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,y,u,Math.random()+"",o[0],o[1],f,null,h)})},e.prototype._showSeriesItemTooltip=function(t,r,i){var n=this._ecModel,o=et(r),s=o.seriesIndex,l=n.getSeriesByIndex(s),u=o.dataModel||l,v=o.dataIndex,c=o.dataType,h=u.getData(c),f=this._renderMode,p=t.positionDefault,d=ca([h.getItemModel(v),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=d.get("trigger");if(!(g!=null&&g!=="item")){var y=u.getDataParams(v,c),x=new Wn;y.marker=x.makeTooltipMarker("item",Zr(y.color),f);var m=Du(u.formatTooltip(v,!1,c)),S=d.get("order"),b=d.get("valueFormatter"),_=m.frag,w=_?Iu(b?$({valueFormatter:b},_):_,x,f,S,n.get("useUTC"),d.get("textStyle")):m.text,A="item_"+u.name+"_"+v;this._showOrMove(d,function(){this._showTooltipContent(d,w,y,A,t.offsetX,t.offsetY,t.position,t.target,x)}),i({type:"showTip",dataIndexInside:v,dataIndex:h.getRawIndex(v),seriesIndex:s,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,r,i){var n=et(r),o=n.tooltipConfig,s=o.option||{};if(K(s)){var l=s;s={content:l,formatter:l}}var u=[s],v=this._ecModel.getComponent(n.componentMainType,n.componentIndex);v&&u.push(v),u.push({formatter:s.content});var c=t.positionDefault,h=ca(u,this._tooltipModel,c?{position:c}:null),f=h.get("content"),p=Math.random()+"",d=new Wn;this._showOrMove(h,function(){var g=lt(h.get("formatterParams")||{});this._showTooltipContent(h,f,g,p,t.offsetX,t.offsetY,t.position,r,d)}),i({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,r,i,n,o,s,l,u,v){if(this._ticket="",!(!t.get("showContent")||!t.get("show"))){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var h=t.get("formatter");l=l||t.get("position");var f=r,p=this._getNearestPoint([o,s],i,t.get("trigger"),t.get("borderColor")),d=p.color;if(h)if(K(h)){var g=t.ecModel.get("useUTC"),y=B(i)?i[0]:i,x=y&&y.axisType&&y.axisType.indexOf("time")>=0;f=h,x&&(f=h0(y.axisValue,f,g)),f=f0(f,i,!0)}else if(it(h)){var m=Z(function(S,b){S===this._ticket&&(c.setContent(b,v,t,d,l),this._updatePosition(t,l,o,s,c,i,u))},this);this._ticket=n,f=h(i,n,m)}else f=h;c.setContent(f,v,t,d,l),c.show(t,d),this._updatePosition(t,l,o,s,c,i,u)}},e.prototype._getNearestPoint=function(t,r,i,n){if(i==="axis"||B(r))return{color:n||(this._renderMode==="html"?"#fff":"none")};if(!B(r))return{color:n||r.color||r.borderColor}},e.prototype._updatePosition=function(t,r,i,n,o,s,l){var u=this._api.getWidth(),v=this._api.getHeight();r=r||t.get("position");var c=o.getSize(),h=t.get("align"),f=t.get("verticalAlign"),p=l&&l.getBoundingRect().clone();if(l&&p.applyTransform(l.transform),it(r)&&(r=r([i,n],s,o.el,p,{viewSize:[u,v],contentSize:c.slice()})),B(r))i=F(r[0],u),n=F(r[1],v);else if(_t(r)){var d=r;d.width=c[0],d.height=c[1];var g=Gt(d,{width:u,height:v});i=g.x,n=g.y,h=null,f=null}else if(K(r)&&l){var y=DM(r,p,c,t.get("borderWidth"));i=y[0],n=y[1]}else{var y=TM(i,n,o,u,v,h?null:20,f?null:20);i=y[0],n=y[1]}if(h&&(i-=$h(h)?c[0]/2:h==="right"?c[0]:0),f&&(n-=$h(f)?c[1]/2:f==="bottom"?c[1]:0),ty(t)){var y=CM(i,n,o,u,v);i=y[0],n=y[1]}o.moveTo(i,n)},e.prototype._updateContentNotChangedOnAxis=function(t,r){var i=this._lastDataByCoordSys,n=this._cbParamsList,o=!!i&&i.length===t.length;return o&&D(i,function(s,l){var u=s.dataByAxis||[],v=t[l]||{},c=v.dataByAxis||[];o=o&&u.length===c.length,o&&D(u,function(h,f){var p=c[f]||{},d=h.seriesDataIndices||[],g=p.seriesDataIndices||[];o=o&&h.value===p.value&&h.axisType===p.axisType&&h.axisId===p.axisId&&d.length===g.length,o&&D(d,function(y,x){var m=g[x];o=o&&y.seriesIndex===m.seriesIndex&&y.dataIndex===m.dataIndex}),n&&D(h.seriesDataIndices,function(y){var x=y.seriesIndex,m=r[x],S=n[x];m&&S&&S.data!==m.data&&(o=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=r,!!o},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,r){qt.node||!r.getDom()||(Ra(this,"_updatePosition"),this._toolt
`)){var g=new Mi;g.newline=!0,u.add(g);return}var y=i.getSeriesByName(d)[0];if(!v.get(d))if(y){var x=y.getData(),m=x.getVisual("legendLineStyle")||{},S=x.getVisual("legendIcon"),b=x.getVisual("style"),_=this._createItem(y,d,p,f,r,t,m,b,S,c,n);_.on("click",Lr(vf,d,null,n,h)).on("mouseover",Lr(Ks,y.name,null,n,h)).on("mouseout",Lr(qs,y.name,null,n,h)),i.ssr&&_.eachChild(function(w){var A=et(w);A.seriesIndex=y.seriesIndex,A.dataIndex=p,A.ssrType="legend"}),v.set(d,!0)}else i.eachRawSeries(function(w){if(!v.get(d)&&w.legendVisualProvider){var A=w.legendVisualProvider;if(!A.containName(d))return;var T=A.indexOfName(d),C=A.getItemVisual(T,"style"),I=A.getItemVisual(T,"legendIcon"),L=yp(C.fill);L&&L[3]===0&&(L[3]=.2,C=$($({},C),{fill:Pi(L,"rgba")}));var M=this._createItem(w,d,p,f,r,t,{},C,I,c,n);M.on("click",Lr(vf,null,d,n,h)).on("mouseover",Lr(Ks,null,d,n,h)).on("mouseout",Lr(qs,null,d,n,h)),i.ssr&&M.eachChild(function(P){var R=et(P);R.seriesIndex=w.seriesIndex,R.dataIndex=p,R.ssrType="legend"}),v.set(d,!0)}},this)},this),o&&this._createSelector(o,r,n,s,l)},e.prototype._createSelector=function(t,r,i,n,o){var s=this.getSelectorGroup();Xs(t,function(u){var v=u.type,c=new vt({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:v==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(c);var h=r.getModel("selectorLabel"),f=r.getModel(["emphasis","selectorLabel"]);Wt(c,{normal:h,emphasis:f},{defaultText:u.title}),Gr(c)})},e.prototype._createItem=function(t,r,i,n,o,s,l,u,v,c,h){var f=t.visualDrawType,p=o.get("itemWidth"),d=o.get("itemHeight"),g=o.isSelected(r),y=n.get("symbolRotate"),x=n.get("symbolKeepAspect"),m=n.get("icon");v=m||v||"roundRect";var S=$2(v,n,l,u,f,g,h),b=new Mi,_=n.getModel("textStyle");if(it(t.getLegendIcon)&&(!m||m==="inherit"))b.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:v,iconRotate:y,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:x}));else{var w=m==="inherit"&&t.getData().getVisual("symbol")?y==="inherit"?t.getData().getVisual("symbolRotate"):y:0;b.add(Z2({itemWidth:p,itemHeight:d,icon:v,iconRotate:w,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:x}))}var A=s==="left"?p+5:-5,T=s,C=o.get("formatter"),I=r;K(C)&&C?I=C.replace("{name}",r!=null?r:""):it(C)&&(I=C(r));var L=g?_.getTextColor():n.get("inactiveColor");b.add(new vt({style:gt(_,{text:I,x:A,y:d/2,fill:L,align:T,verticalAlign:"middle"},{inheritColor:L})}));var M=new ft({shape:b.getBoundingRect(),style:{fill:"transparent"}}),P=n.getModel("tooltip");return P.get("show")&&Ya({el:M,componentModel:o,itemName:r,itemTooltipOption:P.option}),b.add(M),b.eachChild(function(R){R.silent=!0}),M.silent=!c,this.getContentGroup().add(b),Gr(b),b.__legendDataIndex=i,b},e.prototype.layoutInner=function(t,r,i,n,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();hr(t.get("orient"),l,t.get("itemGap"),i.width,i.height);var v=l.getBoundingRect(),c=[-v.x,-v.y];if(u.markRedraw(),l.markRedraw(),o){hr("horizontal",u,t.get("selectorItemGap",!0));var h=u.getBoundingRect(),f=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,g=d===0?"width":"height",y=d===0?"height":"width",x=d===0?"y":"x";s==="end"?f[d]+=v[g]+p:c[d]+=h[g]+p,f[1-d]+=v[y]/2-h[y]/2,u.x=f[0],u.y=f[1],l.x=c[0],l.y=c[1];var m={x:0,y:0};return m[g]=v[g]+p+h[g],m[y]=Math.max(v[y],h[y]),m[x]=Math.min(0,h[x]+f[1-d]),m}else return l.x=c[0],l.y=c[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Vt);function $2(a,e,t,r,i,n,o){function s(g,y){g.lineWidth==="auto"&&(g.lineWidth=y.lineWidth>0?2:0),Xs(g,function(x,m){g[m]==="inherit"&&(g[m]=y[m])})}var l=e.getModel("itemStyle"),u=l.getItemStyle(),v=a.lastIndexOf("empty",0)===0?"fill":"stroke",c=l.getShallow("decal");u.decal=!c||c==="inherit"?r.decal:An(c,o),u.fill==="inherit"&&(u.fill=r[i]),u.stroke==="inherit"&&(u.stroke=r[v]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?r:t).opacity),s(u,r);var h=e.getModel("lineStyle"),f=h.getLineStyle();if(s(f,t),u.fill==="auto"&&(u.fill=r.fill),
`||u==="")){var v=o.isSelected(u);r.hasOwnProperty(u)?r[u]=r[u]&&v:r[u]=v}})}),a==="allSelect"||a==="inverseSelect"?{selected:r}:{name:e.name,selected:r}}function Y2(a){a.registerAction("legendToggleSelect","legendselectchanged",J(fa,"toggleSelected")),a.registerAction("legendAllSelect","legendselectall",J(fa,"allSelect")),a.registerAction("legendInverseSelect","legendinverseselect",J(fa,"inverseSelect")),a.registerAction("legendSelect","legendselected",J(fa,"select")),a.registerAction("legendUnSelect","legendunselected",J(fa,"unSelect"))}function hy(a){a.registerComponentModel(Ys),a.registerComponentView(cy),a.registerProcessor(a.PRIORITY.PROCESSOR.SERIES_FILTER,U2),a.registerSubTypeDefaulter("legend",function(){return"plain"}),Y2(a)}var X2=function(a){E(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(t,r,i){var n=xn(t);a.prototype.init.call(this,t,r,i),cf(this,t,n)},e.prototype.mergeOption=function(t,r){a.prototype.mergeOption.call(this,t,r),cf(this,this.option,t)},e.type="legend.scroll",e.defaultOption=Qe(Ys.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(Ys);function cf(a,e,t){var r=a.getOrient(),i=[1,1];i[r.index]=0,Sn(e,t,{type:"box",ignoreSize:!!i})}const K2=X2;var hf=Y,Ko=["width","height"],qo=["x","y"],q2=function(a){E(e,a);function e(){var t=a!==null&&a.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!0,t._currentIndex=0,t}return e.prototype.init=function(){a.prototype.init.call(this),this.group.add(this._containerGroup=new hf),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new hf)},e.prototype.resetInner=function(){a.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(t,r,i,n,o,s,l){var u=this;a.prototype.renderInner.call(this,t,r,i,n,o,s,l);var v=this._controllerGroup,c=r.get("pageIconSize",!0),h=B(c)?c:[c,c];p("pagePrev",0);var f=r.getModel("pageTextStyle");v.add(new vt({name:"pageText",style:{text:"xx/xx",fill:f.getTextColor(),font:f.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1);function p(d,g){var y=d+"DataIndex",x=Dn(r.get("pageIcons",!0)[r.getOrient().name][g],{onclick:Z(u._pageGo,u,y,r,n)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});x.name=d,v.add(x)}},e.prototype.layoutInner=function(t,r,i,n,o,s){var l=this.getSelectorGroup(),u=t.getOrient().index,v=Ko[u],c=qo[u],h=Ko[1-u],f=qo[1-u];o&&hr("horizontal",l,t.get("selectorItemGap",!0));var p=t.get("selectorButtonGap",!0),d=l.getBoundingRect(),g=[-d.x,-d.y],y=lt(i);o&&(y[v]=i[v]-d[v]-p);var x=this._layoutContentAndController(t,n,y,u,v,h,f,c);if(o){if(s==="end")g[u]+=x[v]+p;else{var m=d[v]+p;g[u]-=m,x[c]-=m}x[v]+=d[v]+p,g[1-u]+=x[f]+x[h]/2-d[h]/2,x[h]=Math.max(x[h],d[h]),x[f]=Math.min(x[f],d[f]+g[1-u]),l.x=g[0],l.y=g[1],l.markRedraw()}return x},e.prototype._layoutContentAndController=function(t,r,i,n,o,s,l,u){var v=this.getContentGroup(),c=this._containerGroup,h=this._controllerGroup;hr(t.get("orient"),v,t.get("itemGap"),n?i.width:null,n?null:i.height),hr("horizontal",h,t.get("pageButtonItemGap",!0));var f=v.getBoundingRect(),p=h.getBoundingRect(),d=this._showController=f[o]>i[o],g=[-f.x,-f.y];r||(g[n]=v[u]);var y=[0,0],x=[-p.x,-p.y],m=At(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var S=t.get("pageButtonPosition",!0);S==="end"?x[n]+=i[o]-p[o]:y[n]+=p[o]+m}x[1-n]+=f[s]/2-p[s]/2,v.setPosition(g),c.setPosition(y),h.setPosition(x);var b={x:0,y:0};if(b[o]=d?i[o]:f[o],b[s]=Math.max(f[s],p[s]),b[l]=Math.min(0,p[l]+x[1-n]),c.__rectSize=i[o],d){var _={x:0,y:0};_[o]=Math.max(i