IntelligentRecognition/ah-jjsp-web/.svn/pristine/d4/d46f1c57ad2780933c004cc47ba...

4 lines
115 KiB
Plaintext
Raw Normal View History

2024-05-24 16:09:40 +08:00
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("echarts")):"function"==typeof define&&define.amd?define(["echarts"],e):"object"==typeof exports?exports["echarts-liquidfill"]=e(require("echarts")):t["echarts-liquidfill"]=e(t.echarts)}(this,function(t){return function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){t.exports=r(26)},function(t,e){function r(t){if(null==t||"object"!=typeof t)return t;var e=t,n=E.call(t);if("[object Array]"===n){e=[];for(var i=0,a=t.length;i<a;i++)e[i]=r(t[i])}else if(W[n]){var o=t.constructor;if(t.constructor.from)e=o.from(t);else{e=new o(t.length);for(var i=0,a=t.length;i<a;i++)e[i]=r(t[i])}}else if(!q[n]&&!B(t)&&!M(t)){e={};for(var s in t)t.hasOwnProperty(s)&&(e[s]=r(t[s]))}return e}function n(t,e,i){if(!S(e)||!S(t))return i?r(e):t;for(var a in e)if(e.hasOwnProperty(a)){var o=t[a],s=e[a];!S(s)||!S(o)||_(s)||_(o)||M(s)||M(o)||T(s)||T(o)||B(s)||B(o)?!i&&a in t||(t[a]=r(e[a],!0)):n(o,s,i)}return t}function i(t,e){for(var r=t[0],i=1,a=t.length;i<a;i++)r=n(r,t[i],e);return r}function a(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function o(t,e,r){for(var n in e)e.hasOwnProperty(n)&&(r?null!=e[n]:null==t[n])&&(t[n]=e[n]);return t}function s(){return document.createElement("canvas")}function l(){return z||(z=$.createCanvas().getContext("2d")),z}function h(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r}return-1}function u(t,e){function r(){}var n=t.prototype;r.prototype=e.prototype,t.prototype=new r;for(var i in n)t.prototype[i]=n[i];t.prototype.constructor=t,t.superClass=e}function c(t,e,r){t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,o(t,e,r)}function f(t){if(t)return"string"!=typeof t&&"number"==typeof t.length}function d(t,e,r){if(t&&e)if(t.forEach&&t.forEach===H)t.forEach(e,r);else if(t.length===+t.length)for(var n=0,i=t.length;n<i;n++)e.call(r,t[n],n,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(r,t[a],a,t)}function p(t,e,r){if(t&&e){if(t.map&&t.map===X)return t.map(e,r);for(var n=[],i=0,a=t.length;i<a;i++)n.push(e.call(r,t[i],i,t));return n}}function g(t,e,r,n){if(t&&e){if(t.reduce&&t.reduce===G)return t.reduce(e,r,n);for(var i=0,a=t.length;i<a;i++)r=e.call(n,r,t[i],i,t);return r}}function v(t,e,r){if(t&&e){if(t.filter&&t.filter===j)return t.filter(e,r);for(var n=[],i=0,a=t.length;i<a;i++)e.call(r,t[i],i,t)&&n.push(t[i]);return n}}function m(t,e,r){if(t&&e)for(var n=0,i=t.length;n<i;n++)if(e.call(r,t[n],n,t))return t[n]}function x(t,e){var r=V.call(arguments,2);return function(){return t.apply(e,r.concat(V.call(arguments)))}}function y(t){var e=V.call(arguments,1);return function(){return t.apply(this,e.concat(V.call(arguments)))}}function _(t){return"[object Array]"===E.call(t)}function w(t){return"function"==typeof t}function b(t){return"[object String]"===E.call(t)}function S(t){var e=typeof t;return"function"===e||!!t&&"object"==e}function T(t){return!!q[E.call(t)]}function M(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function P(t){return t!==t}function k(t){for(var e=0,r=arguments.length;e<r;e++)if(null!=arguments[e])return arguments[e]}function C(t,e){return null!=t?t:e}function I(t,e,r){return null!=t?t:null!=e?e:r}function A(){return Function.call.apply(V,arguments)}function O(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function D(t,e){if(!t)throw new Error(e)}function L(t){t[Y]=!0}function B(t){return t[Y]}function F(t){t&&d(t,function(t,e){this.set(e,t)},this)}function R(t){return new F(t)}var z,q={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},W={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":
d(e,"textAlign",s),d(e,"textBaseline","middle"),d(e,"font",r.font||v.DEFAULT_FONT);var m=M(l.textStroke||n.textStroke,y),x=P(l.textFill||n.textFill),y=w(l.textLineWidth,n.textLineWidth);m&&(d(e,"lineWidth",y),d(e,"strokeStyle",m),e.strokeText(r.text,o,f)),x&&(d(e,"fillStyle",x),e.fillText(r.text,o,f))}function h(t){return t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor}function u(t,e,r,n,i,a,o){var s=r.textBackgroundColor,l=r.textBorderWidth,h=r.textBorderColor,u=m.isString(s);if(d(e,"shadowBlur",r.textBoxShadowBlur||0),d(e,"shadowColor",r.textBoxShadowColor||"transparent"),d(e,"shadowOffsetX",r.textBoxShadowOffsetX||0),d(e,"shadowOffsetY",r.textBoxShadowOffsetY||0),u||l&&h){e.beginPath();var f=r.textBorderRadius;f?x.buildPath(e,{x:n,y:i,width:a,height:o,r:f}):e.rect(n,i,a,o),e.closePath()}if(u)d(e,"fillStyle",s),e.fill();else if(m.isObject(s)){var p=s.image;p=y.createOrUpdateImage(p,null,t,c,s),p&&y.isImageReady(p)&&e.drawImage(p,n,i,a,o)}l&&h&&(d(e,"lineWidth",l),d(e,"strokeStyle",h),e.stroke())}function c(t,e){e.image=t}function f(t,e,r){var n=e.x||0,i=e.y||0,a=e.textAlign,o=e.textVerticalAlign;if(r){var s=e.textPosition;if(s instanceof Array)n=r.x+p(s[0],r.width),i=r.y+p(s[1],r.height);else{var l=v.adjustTextPositionOnRect(s,r,e.textDistance);n=l.x,i=l.y,a=a||l.textAlign,o=o||l.textVerticalAlign}var h=e.textOffset;h&&(n+=h[0],i+=h[1])}return{baseX:n,baseY:i,textAlign:a,textVerticalAlign:o}}function d(t,e,r){return t[e]=t.__currentValues[e]=r,t[e]}function p(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function g(t,e,r){return"right"===e?t-r[1]:"center"===e?t+r[3]/2-r[1]/2:t+r[3]}var v=r(6),m=r(1),x=r(23),y=r(12),_=m.retrieve3,w=m.retrieve2,b={left:1,right:1,center:1},S={top:1,bottom:1,middle:1},T={};T.normalizeTextStyle=function(t){return n(t),m.each(t.rich,n),t},T.renderText=function(t,e,r,n,o){n.rich?a(t,e,r,n,o):i(t,e,r,n,o)};var M=T.getStroke=function(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t},P=T.getFill=function(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t};T.needDrawText=function(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)},t.exports=T},function(t,e,r){"use strict";function n(t){return null!=t&&"none"!=t}function i(t){return"string"==typeof t?T.lift(t,-.1):t}function a(t){if(t.__hoverStlDirty){var e=t.style.stroke,r=t.style.fill,a=t.__hoverStl;a.fill=a.fill||(n(r)?i(r):null),a.stroke=a.stroke||(n(e)?i(e):null);var o={};for(var s in a)null!=a[s]&&(o[s]=t.style[s]);t.__normalStl=o,t.__hoverStlDirty=!1}}function o(t){t.__isHover||(a(t),t.useHoverLayer?t.__zr&&t.__zr.addHover(t,t.__hoverStl):(t.style.extendFrom(t.__hoverStl),t.dirty(!1),t.z2+=1),t.__isHover=!0)}function s(t){if(t.__isHover){var e=t.__normalStl;t.useHoverLayer?t.__zr&&t.__zr.removeHover(t):(e&&t.setStyle(e),t.z2-=1),t.__isHover=!1}}function l(t){"group"===t.type?t.traverse(function(t){"group"!==t.type&&o(t)}):o(t)}function h(t){"group"===t.type?t.traverse(function(t){"group"!==t.type&&s(t)}):s(t)}function u(t,e){t.__hoverStl=t.hoverStyle||e||{},t.__hoverStlDirty=!0,t.__isHover&&a(t)}function c(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&l(this)}function f(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&h(this)}function d(){this.__isEmphasis=!0,l(this)}function p(){this.__isEmphasis=!1,h(this)}function g(t,e){return e&&e.indexOf("inside")>=0}function v(t,e,r){if(r=r||D,r.isRectText){var n=e.getShallow("position")||(r.forMerge?null:"inside");"outside"===n&&(n="top"),t.textPosition=n,t.textOffset=e.getShallow("offset");var i=e.getShallow("rotate");null!=i&&(i*=Math.PI/180),t.textRotation=i,t.textDistance=w.retrieve2(e.getShallow("distance"),r.forMerge?null:5)}var a,o=e.ecModel,s=o&&o.option.textStyle,l=m(e);if(l){a={};for(var h in l)if(l.hasOwnProperty(h)){var u=e.getModel(["rich",h]);x(a[h]={},u,s,r)}}return t.rich=a,x(t,e,s,r,!0),r.forceRich&&!r.textStyle&&(r.textStyle={}),t}function m(t){for(var e;t&&t!==t.ecModel;){var r=(t.option||
phase:s}).when(h/2,{phase:u+s}).when(h,{phase:2*u+s}).during(function(){B&&B.dirty(!0)}).start()}function f(e){function r(){var e=t.getFormattedLabel(0,"normal"),r=100*p.get("value",0),n=p.getName(0)||t.name;return isNaN(r)||(n=r.toFixed(0)+"%"),null==e?n:e}var a=g.getModel("label.normal"),o=a.getModel("textStyle"),s={z2:10,shape:{x:D,y:L,width:2*(I?m[0]:m),height:2*(I?m[1]:m)},style:{fill:"transparent",text:r(),textAlign:o.get("align"),textVerticalAlign:o.get("baseline")},silent:!0},l=new n.graphic.Rect(s),h=a.get("color")||o.get("color");n.graphic.setText(l.style,a,h);var u=new n.graphic.Rect(s),c=a.get("insideColor")||o.get("insideColor");n.graphic.setText(u.style,a,c),u.style.textFill=c;var f=new n.graphic.Group;f.add(l),f.add(u);var d=i(m,!0);return B=new n.graphic.CompoundPath({shape:{paths:e},position:[k,C]}),B.setClipPath(d),u.setClipPath(B),f}var d=this.group;d.removeAll();var p=t.getData(),g=p.getItemModel(0),v=g.get("center"),m=g.get("radius"),x=r.getWidth(),y=r.getHeight(),_=Math.min(x,y),w=0,b=0,S=t.get("outline.show");S&&(w=t.get("outline.borderDistance"),b=o(t.get("outline.itemStyle.borderWidth"),_));var T,M,P,k=o(v[0],x),C=o(v[1],y),I=!1,A=t.get("shape");if("container"===A?(I=!0,T=[x/2,y/2],M=[T[0]-b/2,T[1]-b/2],P=[o(w,x),o(w,y)],m=[M[0]-P[0],M[1]-P[1]]):(T=o(m,_)/2,M=T-b/2,P=o(w,_),m=M-P),S){var O=l();O.style.lineWidth=b,d.add(l())}var D=I?0:k-m,L=I?0:C-m,B=null;d.add(h());var F=this._data,R=[];p.diff(F).add(function(e){var r=u(e,!1),i=r.shape.waterLevel;r.shape.waterLevel=I?m[1]:m,n.graphic.initProps(r,{shape:{waterLevel:i}},t),r.z2=2,c(e,r,null),d.add(r),p.setItemGraphicEl(e,r),R.push(r)}).update(function(e,r){var i=F.getItemGraphicEl(r),a=u(e,!1,i),o=Object.assign({},a.shape),s=Object.assign({},a.style);s.host=null,n.graphic.updateProps(i,{shape:o,style:s},t),i.position=a.position,i.setClipPath(a.clipPath),c(e,i,i),d.add(i),p.setItemGraphicEl(e,i),R.push(i)}).remove(function(t){var e=F.getItemGraphicEl(t);d.remove(e)}).execute(),d.add(f(R)),this._data=p},dispose:function(){}})},function(t,e,r){function n(t,e,r){function n(t,e,r){c[e]?t.otherDims[e]=r:(t.coordDim=e,t.coordDimIndex=r,v.set(e,!0))}function o(t,e,r){if(r||null!=e.get(t)){for(var n=0;null!=e.get(t+n);)n++;t+=n}return e.set(t,!0),t}e=e||[],r=r||{},t=(t||[]).slice();var d=(r.dimsDef||[]).slice(),p=a.createHashMap(r.encodeDef),g=a.createHashMap(),v=a.createHashMap(),m=[],x=r.dimCount;if(null==x){var y=i(e[0]);x=Math.max(a.isArray(y)&&y.length||1,t.length,d.length),s(t,function(t){var e=t.dimsDef;e&&(x=Math.max(x,e.length))})}for(var _=0;_<x;_++){var w=l(d[_])?{name:d[_]}:d[_]||{},b=w.name,S=m[_]={otherDims:{}};null!=b&&null==g.get(b)&&(S.name=S.tooltipName=b,g.set(b,_)),null!=w.type&&(S.type=w.type)}p.each(function(t,e){t=p.set(e,u(t).slice()),s(t,function(r,i){l(r)&&(r=g.get(r)),null!=r&&r<x&&(t[i]=r,n(m[r],e,i))})});var T=0;s(t,function(t,e){var r,t,i,o;l(t)?(r=t,t={}):(r=t.name,t=a.clone(t),i=t.dimsDef,o=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null);var c=u(p.get(r));if(!c.length)for(var f=0;f<(i&&i.length||1);f++){for(;T<m.length&&null!=m[T].coordDim;)T++;T<m.length&&c.push(T++)}s(c,function(e,a){var s=m[e];n(h(s,t),r,a),null==s.name&&i&&(s.name=s.tooltipName=i[a]),o&&h(s.otherDims,o)})});for(var M=r.extraPrefix||"value",P=0;P<x;P++){var S=m[P]=m[P]||{},k=S.coordDim;null==k&&(S.coordDim=o(M,v,r.extraFromZero),S.coordDimIndex=0,S.isExtraCoord=!0),null==S.name&&(S.name=o(S.coordDim,g)),null==S.type&&f(e,P)&&(S.type="ordinal")}return m}function i(t){return a.isArray(t)?t:a.isObject(t)?t.value:t}var a=r(1),o=r(38),s=a.each,l=a.isString,h=a.defaults,u=o.normalizeToArray,c={tooltip:1,label:1,itemName:1},f=n.guessOrdinal=function(t,e){for(var r=0,n=t.length;r<n;r++){var o=i(t[r]);if(!a.isArray(o))return!1;var o=o[e];if(null!=o&&isFinite(o)&&""!==o)return!1;if(l(o)&&"-"!==o)return!0}return!1};t.exports=n},function(t,e,r){function n(t,e,r){this.parentModel=e,this.ecModel=r,this.option=t}function i(t,e,r){for(var n=0;n<e.length&&(!e[n]||(t=t&&"object"==typeof t?t[e[n]]:null,null!=t));n++);return null==t&&r&&(t=r.get(e))
return this._children[t]},childOfName:function(t){for(var e=this._children,r=0;r<e.length;r++)if(e[r].name===t)return e[r]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var r=this._children,n=r.indexOf(e);n>=0&&(r.splice(n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,r=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),r&&r.refresh()},remove:function(t){var e=this.__zr,r=this.__storage,i=this._children,a=n.indexOf(i,t);return a<0?this:(i.splice(a,1),t.parent=null,r&&(r.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(r)),e&&e.refresh(),this)},removeAll:function(){var t,e,r=this._children,n=this.__storage;for(e=0;e<r.length;e++)t=r[e],n&&(n.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(n)),t.parent=null;return r.length=0,this},eachChild:function(t,e){for(var r=this._children,n=0;n<r.length;n++){var i=r[n];t.call(e,i,n)}return this},traverse:function(t,e){for(var r=0;r<this._children.length;r++){var n=this._children[r];t.call(e,n),"group"===n.type&&n.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var r=this._children[e];t.addToStorage(r),r instanceof o&&r.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var r=this._children[e];t.delFromStorage(r),r instanceof o&&r.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,r=new a(0,0,0,0),n=t||this._children,i=[],o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),h=s.getLocalTransform(i);h?(r.copy(l),r.applyTransform(h),e=e||r.clone(),e.union(r)):(e=e||l.clone(),e.union(l))}}return e||r}},n.inherits(o,i),t.exports=o},function(t,e,r){var n=r(3),i=r(5),a={},o=Math.min,s=Math.max,l=Math.sin,h=Math.cos,u=n.create(),c=n.create(),f=n.create(),d=2*Math.PI;a.fromPoints=function(t,e,r){if(0!==t.length){var n,i=t[0],a=i[0],l=i[0],h=i[1],u=i[1];for(n=1;n<t.length;n++)i=t[n],a=o(a,i[0]),l=s(l,i[0]),h=o(h,i[1]),u=s(u,i[1]);e[0]=a,e[1]=h,r[0]=l,r[1]=u}},a.fromLine=function(t,e,r,n,i,a){i[0]=o(t,r),i[1]=o(e,n),a[0]=s(t,r),a[1]=s(e,n)};var p=[],g=[];a.fromCubic=function(t,e,r,n,a,l,h,u,c,f){var d,v=i.cubicExtrema,m=i.cubicAt,x=v(t,r,a,h,p);for(c[0]=1/0,c[1]=1/0,f[0]=-(1/0),f[1]=-(1/0),d=0;d<x;d++){var y=m(t,r,a,h,p[d]);c[0]=o(y,c[0]),f[0]=s(y,f[0])}for(x=v(e,n,l,u,g),d=0;d<x;d++){var _=m(e,n,l,u,g[d]);c[1]=o(_,c[1]),f[1]=s(_,f[1])}c[0]=o(t,c[0]),f[0]=s(t,f[0]),c[0]=o(h,c[0]),f[0]=s(h,f[0]),c[1]=o(e,c[1]),f[1]=s(e,f[1]),c[1]=o(u,c[1]),f[1]=s(u,f[1])},a.fromQuadratic=function(t,e,r,n,a,l,h,u){var c=i.quadraticExtremum,f=i.quadraticAt,d=s(o(c(t,r,a),1),0),p=s(o(c(e,n,l),1),0),g=f(t,r,a,d),v=f(e,n,l,p);h[0]=o(t,a,g),h[1]=o(e,l,v),u[0]=s(t,a,g),u[1]=s(e,l,v)},a.fromArc=function(t,e,r,i,a,o,s,p,g){var v=n.min,m=n.max,x=Math.abs(a-o);if(x%d<1e-4&&x>1e-4)return p[0]=t-r,p[1]=e-i,g[0]=t+r,void(g[1]=e+i);if(u[0]=h(a)*r+t,u[1]=l(a)*i+e,c[0]=h(o)*r+t,c[1]=l(o)*i+e,v(p,u,c),m(g,u,c),a%=d,a<0&&(a+=d),o%=d,o<0&&(o+=d),a>o&&!s?o+=d:a<o&&s&&(a+=d),s){var y=o;o=a,a=y}for(var _=0;_<o;_+=Math.PI/2)_>a&&(f[0]=h(_)*r+t,f[1]=l(_)*i+e,v(p,f,p),m(g,f,g))},t.exports=a},function(t,e){var r=2311;t.exports=function(){return r++}},function(t,e,r){var n=r(17);t.exports=function(){if(0!==n.debugMode)if(1==n.debugMode)for(var t in arguments)throw new Error(arguments[t]);else if(n.debugMode>1)for(var t in arguments)console.log(arguments[t])}},function(t,e,r){var n=r(2);t.exports=n.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,r=0;r<e.length;r++)t=t||e[r].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(