PageSourceSearch

https://wenku.it/_nuxt/7a74798.js

js wenku.it collected 2026-09-25 22:08:17 UTC 116,076 bytes, 1 lines download raw bytes

vendor: 8,688 bytes, line 1
1(window.webpackJsonp=window.webpackJsonp||[]).push([[271],{0:function(t,e,r){"use strict";r.r(e),r.d(e,"guid",(function(){return O})),r.d(e,"logError",(function(){return S})),r.d(e,"clone",(function(){return j})),r.d(e,"merge",(function(){return k})),r.d(e,"mergeAll",(function(){return T})),r.d(e,"extend",(function(){return M})),r.d(e,"defaults",(function(){return P})),r.d(e,"createCanvas",(function(){return C})),r.d(e,"indexOf",(function(){return A})),r.d(e,"inherits",(function(){return D})),r.d(e,"mixin",(function(){return L})),r.d(e,"isArrayLike",(function(){return R})),r.d(e,"each",(function(){return z})),r.d(e,"map",(function(){return map})),r.d(e,"reduce",(function(){return W})),r.d(e,"filter",(function(){return filter})),r.d(e,"find",(function(){return B})),r.d(e,"keys",(function(){return E})),r.d(e,"bind",(function(){return F})),r.d(e,"curry",(function(){return X})),r.d(e,"isArray",(function(){return N})),r.d(e,"isFunction",(function(){return I})),r.d(e,"isString",(function(){return H})),r.d(e,"isStringSafe",(function(){return Y})),r.d(e,"isNumber",(function(){return V})),r.d(e,"isObject",(function(){return Z})),r.d(e,"isBuiltInObject",(function(){return U})),r.d(e,"isTypedArray",(function(){return G})),r.d(e,"isDom",(function(){return $})),r.d(e,"isGradientObject",(function(){return Q})),r.d(e,"isImagePatternObject",(function(){return K})),r.d(e,"isRegExp",(function(){return J})),r.d(e,"eqNaN",(function(){return tt})),r.d(e,"retrieve",(function(){return et})),r.d(e,"retrieve2",(function(){return nt})),r.d(e,"retrieve3",(function(){return it})),r.d(e,"slice",(function(){return ot})),r.d(e,"normalizeCssArray",(function(){return at})),r.d(e,"assert",(function(){return st})),r.d(e,"trim",(function(){return ut})),r.d(e,"setAsPrimitive",(function(){return ct})),r.d(e,"isPrimitive",(function(){return lt})),r.d(e,"HashMap",(function(){return yt})),r.d(e,"createHashMap",(function(){return vt})),r.d(e,"concatArray",(function(){return gt})),r.d(e,"createObject",(function(){return bt})),r.d(e,"disableUserSelect",(function(){return _t})),r.d(e,"hasOwn",(function(){return mt})),r.d(e,"noop",(function(){return xt})),r.d(e,"RADIAN_TO_DEGREE",(function(){return wt}));var n=r(55),o=W(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),h=W(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),c=Object.prototype.toString,l=Array.prototype,f=l.forEach,d=l.filter,y=l.slice,v=l.map,_=function(){}.constructor,m=_?_.prototype:null,x="__proto__",w=2311;function O(){return w++}function S(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function j(source){if(null==source||"object"!=typeof source)return source;var t=source,e=c.call(source);if("[object Array]"===e){if(!lt(source)){t=[];for(var i=0,r=source.length;i<r;i++)t[i]=j(source[i])}}else if(h[e]){if(!lt(source)){var n=source.constructor;if(n.from)t=n.from(source);else{t=new n(source.length);for(i=0,r=source.length;i<r;i++)t[i]=source[i]}}}else if(!o[e]&&!lt(source)&&!$(source))for(var l in t={},source)source.hasOwnProperty(l)&&l!==x&&(t[l]=j(source[l]));return t}function k(t,source,e){if(!Z(source)||!Z(t))return e?j(source):t;for(var r in source)if(source.hasOwnProperty(r)&&r!==x){var n=t[r],o=source[r];!Z(o)||!Z(n)||N(o)||N(n)||$(o)||$(n)||U(o)||U(n)||lt(o)||lt(n)?!e&&r in t||(t[r]=j(source[r])):k(n,o,e)}return t}function T(t,e){for(var r=t[0],i=1,n=t.length;i<n;i++)r=k(r,t[i],e);return r}function M(t,source){if(Object.assign)Object.assign(t,source);else for(var e in source)source.hasOwnProperty(e)&&e!==x&&(t[e]=source[e]);return t}function P(t,source,e){for(var r=E(source),i=0;i<r.length;i++){var n=r[i];(e?null!=source[n]:null==t[n])&&(t[n]=source[n])}return t}var C=n.d.createCanvas;function A(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,r=t.length;i<r;i++)if(t[i]===e)return i}return-1}function D(t,e){var r=t.prototype;function n(){}for(var o in n.prototype=e.prototype,t.prototype=new n,r)r.hasOwnProperty(o)&&(t.prototype[o]=r[o]);t.prototype.constructor=t,t.superClass=e}function L(t,source,e){if(t="prototype"in t?t.prototype:t,source="prototype"in source?source.prototype:source,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(source),i=0;i<r.length;i++){var n=r[i];"constructor"!==n&&(e?null!=source[n]:null==t[n])&&(t[n]=source[n])}else P(t,source,e)}function R(data){return!!data&&("string"!=typeof data&&"number"==typeof data.length)}function z(t,e,r){if(t&&e)if(t.forEach&&t.forEach===f)t.forEach(e,r);else if(t.length===+t.length)for(var i=0,n=t.length;i<n;i++)e.call(r,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(r,t[o],o,t)}function map(t,e,r){if(!t)return[];if(!e)return ot(t);if(t.map&&t.map===v)return t.map(e,r);for(var n=[],i=0,o=t.length;i<o;i++)n.push(e.call(r,t[i],i,t));return n}function W(t,e,r,n){if(t&&e){for(var i=0,o=t.length;i<o;i++)r=e.call(n,r,t[i],i,t);return r}}function filter(t,e,r){if(!t)return[];if(!e)return ot(t);if(t.filter&&t.filter===d)return t.filter(e,r);for(var n=[],i=0,o=t.length;i<o;i++)e.call(r,t[i],i,t)&&n.push(t[i]);return n}function B(t,e,r){if(t&&e)for(var i=0,n=t.length;i<n;i++)if(e.call(r,t[i],i,t))return t[i]}function E(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r);return e}var F=m&&I(m.bind)?m.call.bind(m.bind):function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return function(){return t.apply(e,r.concat(y.call(arguments)))}};function X(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return function(){return t.apply(this,e.concat(y.call(arguments)))}}function N(t){return Array.isArray?Array.isArray(t):"[object Array]"===c.call(t)}function I(t){return"function"==typeof t}function H(t){return"string"==typeof t}function Y(t){return"[object String]"===c.call(t)}function V(t){return"number"==typeof t}function Z(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function U(t){return!!o[c.call(t)]}function G(t){return!!h[c.call(t)]}function $(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function Q(t){return null!=t.colorStops}function K(t){return null!=t.image}function J(t){return"[object RegExp]"===c.call(t)}function tt(t){return t!=t}function et(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var i=0,r=t.length;i<r;i++)if(null!=t[i])return t[i]}function nt(t,e){return null!=t?t:e}function it(t,e,r){return null!=t?t:null!=e?e:r}function ot(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return y.apply(t,e)}function at(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 st(t,e){if(!t)throw new Error(e)}function ut(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ht="__ec_primitive__";function ct(t){t[ht]=!0}function lt(t){return t[ht]}var ft=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return E(this.data)},t.prototype.forEach=function(t){var data=this.data;for(var e in data)data.hasOwnProperty(e)&&t(data[e],e)},t}(),pt="function"==typeof Map;var yt=function(){function t(e){var r=N(e);this.data=pt?new Map:new ft;var n=this;function o(t,e){r?n.set(t,e):n.set(e,t)}e instanceof t?e.each(o):e&&z(e,o)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(r,n){t.call(e,r,n)}))},t.prototype.keys=function(){var t=this.data.keys();return pt?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function vt(t){return new yt(t)}function gt(a,b){for(var t=new a.constructor(a.length+b.length),i=0;i<a.length;i++)t[i]=a[i];var e=a.length;for(i=0;i<b.length;i++)t[i+e]=b[i];return t}function bt(t,e){var r;if(Object.create)r=Object.create(t);else{var n=function(){};n.prototype=t,r=new n}return e&&M(r,e),r}function _t(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function mt(t,e){return t.hasOwnProperty(e)}
1function xt(){}var wt=180/Math.PI},101:function(t,e,r){"use strict";r.d(e,"e",(function(){return o})),r.d(e,"b",(function(){return h})),r.d(e,"a",(function(){return c})),r.d(e,"d",(function(){return l})),r.d(e,"c",(function(){return f}));var n=1;r(23).a.hasGlobalWindow&&(n=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=n,h=.4,c="#333",l="#ccc",f="#eee"},124:function(t,e,r){"use strict";var n=r(29),o=r(18),h=r(239),c={},l=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},f=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var r,n,o,l;if(this.subPixelOptimize){var f=Object(h.b)(c,e,this.style);r=f.x1,n=f.y1,o=f.x2,l=f.y2}else r=e.x1,n=e.y1,o=e.x2,l=e.y2;var d=e.percent;0!==d&&(t.moveTo(r,n),d<1&&(o=r*(1-d)+o*d,l=n*(1-d)+l*d),t.lineTo(o,l))},e.prototype.pointAt=function(p){var t=this.shape;return[t.x1*(1-p)+t.x2*p,t.y1*(1-p)+t.y2*p]},e}(o.b);f.prototype.type="line",e.a=f},14:function(t,e,r){"use strict";var n=r(20),o=r(28),h=Math.min,c=Math.max,l=new o.a,f=new o.a,d=new o.a,rt=new o.a,y=new o.a,v=new o.a,_=function(){function t(t,e,r,n){r<0&&(t+=r,r=-r),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=r,this.height=n}return t.prototype.union=function(t){var e=h(t.x,this.x),r=h(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=c(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=c(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=e,this.y=r},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(b){var a=this,t=b.width/a.width,e=b.height/a.height,r=n.create();return n.translate(r,r,[-a.x,-a.y]),n.scale(r,r,[t,e]),n.translate(r,r,[b.x,b.y]),r},t.prototype.intersect=function(b,e){if(!b)return!1;b instanceof t||(b=t.create(b));var a=this,r=a.x,n=a.x+a.width,h=a.y,c=a.y+a.height,l=b.x,f=b.x+b.width,d=b.y,_=b.y+b.height,m=!(n<l||f<r||c<d||_<h);if(e){var x=1/0,w=0,O=Math.abs(n-l),S=Math.abs(f-r),j=Math.abs(c-d),k=Math.abs(_-h),T=Math.min(O,S),M=Math.min(j,k);n<l||f<r?T>w&&(w=T,O<S?o.a.set(v,-O,0):o.a.set(v,S,0)):T<x&&(x=T,O<S?o.a.set(y,O,0):o.a.set(y,-S,0)),c<d||_<h?M>w&&(w=M,j<k?o.a.set(v,0,-j):o.a.set(v,0,k)):T<x&&(x=T,j<k?o.a.set(y,0,j):o.a.set(y,0,-k))}return e&&o.a.copy(e,m?y:v),m},t.prototype.contain=function(t,e){var rect=this;return t>=rect.x&&t<=rect.x+rect.width&&e>=rect.y&&e<=rect.y+rect.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(rect){return new t(rect.x,rect.y,rect.width,rect.height)},t.copy=function(t,source){t.x=source.x,t.y=source.y,t.width=source.width,t.height=source.height},t.applyTransform=function(e,source,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var n=r[0],o=r[3],y=r[4],v=r[5];return e.x=source.x*n+y,e.y=source.y*o+v,e.width=source.width*n,e.height=source.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}l.x=d.x=source.x,l.y=rt.y=source.y,f.x=rt.x=source.x+source.width,f.y=d.y=source.y+source.height,l.transform(r),rt.transform(r),f.transform(r),d.transform(r),e.x=h(l.x,f.x,d.x,rt.x),e.y=h(l.y,f.y,d.y,rt.y);var _=c(l.x,f.x,d.x,rt.x),m=c(l.y,f.y,d.y,rt.y);e.width=_-e.x,e.height=m-e.y}else e!==source&&t.copy(e,source)},t}();e.a=_},144:function(t,e,r){"use strict";r.d(e,"d",(function(){return m})),r.d(e,"c",(function(){return x})),r.d(e,"b",(function(){return S})),r.d(e,"e",(function(){return j})),r.d(e,"a",(function(){return k}));var n=r(7),o=r(22),h=Math.min,c=Math.max,l=Math.sin,f=Math.cos,d=2*Math.PI,y=n.create(),v=n.create(),_=n.create();function m(t,e,r){if(0!==t.length){for(var p=t[0],n=p[0],o=p[0],l=p[1],f=p[1],i=1;i<t.length;i++)p=t[i],n=h(n,p[0]),o=c(o,p[0]),l=h(l,p[1]),f=c(f,p[1]);e[0]=n,e[1]=l,r[0]=o,r[1]=f}}function x(t,e,r,n,o,l){o[0]=h(t,r),o[1]=h(e,n),l[0]=c(t,r),l[1]=c(e,n)}var w=[],O=[];function S(t,e,r,n,l,f,d,y,v,_){var m=o.c,x=o.a,S=m(t,r,l,d,w);v[0]=1/0,v[1]=1/0,_[0]=-1/0,_[1]=-1/0;for(var i=0;i<S;i++){var j=x(t,r,l,d,w[i]);v[0]=h(j,v[0]),_[0]=c(j,_[0])}S=m(e,n,f,y,O);for(i=0;i<S;i++){var k=x(e,n,f,y,O[i]);v[1]=h(k,v[1]),_[1]=c(k,_[1])}v[0]=h(t,v[0]),_[0]=c(t,_[0]),v[0]=h(d,v[0]),_[0]=c(d,_[0]),v[1]=h(e,v[1]),_[1]=c(e,_[1]),v[1]=h(y,v[1]),_[1]=c(y,_[1])}function j(t,e,r,n,l,f,d,y){var v=o.j,_=o.h,m=c(h(v(t,r,l),1),0),x=c(h(v(e,n,f),1),0),w=_(t,r,l,m),O=_(e,n,f,x);d[0]=h(t,l,w),d[1]=h(e,f,O),y[0]=c(t,l,w),y[1]=c(e,f,O)}function k(t,e,r,o,h,c,m,x,w){var O=n.min,S=n.max,j=Math.abs(h-c);if(j%d<1e-4&&j>
11e-4)return x[0]=t-r,x[1]=e-o,w[0]=t+r,void(w[1]=e+o);if(y[0]=f(h)*r+t,y[1]=l(h)*o+e,v[0]=f(c)*r+t,v[1]=l(c)*o+e,O(x,y,v),S(w,y,v),(h%=d)<0&&(h+=d),(c%=d)<0&&(c+=d),h>c&&!m?c+=d:h<c&&m&&(h+=d),m){var k=c;c=h,h=k}for(var T=0;T<c;T+=Math.PI/2)T>h&&(_[0]=f(T)*r+t,_[1]=l(T)*o+e,O(x,_,x),S(w,_,w))}},163:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=2*Math.PI;function o(t){return(t%=n)<0&&(t+=n),t}},176:function(t,e,r){"use strict";function n(t,e,r,n,o,h){if(h>e&&h>n||h<e&&h<n)return 0;if(n===e)return 0;var c=(h-e)/(n-e),l=n<e?1:-1;1!==c&&0!==c||(l=n<e?.5:-.5);var f=c*(r-t)+t;return f===o?1/0:f>o?l:0}r.d(e,"a",(function(){return n}))},18:function(t,e,r){"use strict";r.d(e,"a",(function(){return L}));var n=r(29),o=r(53),h=r(92),line=r(196),c=r(22);function l(t,e,r,n,o,h,l,f,d,y,v){if(0===d)return!1;var _=d;return!(v>e+_&&v>n+_&&v>h+_&&v>f+_||v<e-_&&v<n-_&&v<h-_&&v<f-_||y>t+_&&y>r+_&&y>o+_&&y>l+_||y<t-_&&y<r-_&&y<o-_&&y<l-_)&&c.e(t,e,r,n,o,h,l,f,y,v,null)<=_/2}var f=r(428),d=r(163),y=2*Math.PI;function v(t,e,r,n,o,h,c,l,f){if(0===c)return!1;var v=c;l-=t,f-=e;var _=Math.sqrt(l*l+f*f);if(_-v>r||_+v<r)return!1;if(Math.abs(n-o)%y<1e-4)return!0;if(h){var m=n;n=Object(d.a)(o),o=Object(d.a)(m)}else n=Object(d.a)(n),o=Object(d.a)(o);n>o&&(o+=y);var x=Math.atan2(f,l);return x<0&&(x+=y),x>=n&&x<=o||x+y>=n&&x+y<=o}var _=r(176),m=h.a.CMD,x=2*Math.PI;var w=[-1,-1,-1],O=[-1,-1];function S(t,e,r,n,o,h,l,f,d,y){if(y>e&&y>n&&y>h&&y>f||y<e&&y<n&&y<h&&y<f)return 0;var v,_=c.f(e,n,h,f,y,w);if(0===_)return 0;for(var m=0,x=-1,S=void 0,j=void 0,i=0;i<_;i++){var k=w[i],T=0===k||1===k?.5:1;c.a(t,r,o,l,k)<d||(x<0&&(x=c.c(e,n,h,f,O),O[1]<O[0]&&x>1&&(v=void 0,v=O[0],O[0]=O[1],O[1]=v),S=c.a(e,n,h,f,O[0]),x>1&&(j=c.a(e,n,h,f,O[1]))),2===x?k<O[0]?m+=S<e?T:-T:k<O[1]?m+=j<S?T:-T:m+=f<j?T:-T:k<O[0]?m+=S<e?T:-T:m+=f<S?T:-T)}return m}function j(t,e,r,n,o,h,l,f){if(f>e&&f>n&&f>h||f<e&&f<n&&f<h)return 0;var d=c.m(e,n,h,f,w);if(0===d)return 0;var y=c.j(e,n,h);if(y>=0&&y<=1){for(var v=0,_=c.h(e,n,h,y),i=0;i<d;i++){var m=0===w[i]||1===w[i]?.5:1;c.h(t,r,o,w[i])<l||(w[i]<y?v+=_<e?m:-m:v+=h<_?m:-m)}return v}m=0===w[0]||1===w[0]?.5:1;return c.h(t,r,o,w[0])<l?0:h<e?m:-m}function k(t,e,r,n,o,h,c,l){if((l-=e)>r||l<-r)return 0;var f=Math.sqrt(r*r-l*l);w[0]=-f,w[1]=f;var d=Math.abs(n-o);if(d<1e-4)return 0;if(d>=x-1e-4){n=0,o=x;var y=h?1:-1;return c>=w[0]+t&&c<=w[1]+t?y:0}if(n>o){var v=n;n=o,o=v}n<0&&(n+=x,o+=x);for(var _=0,i=0;i<2;i++){var m=w[i];if(m+t>c){var O=Math.atan2(l,m);y=h?1:-1;O<0&&(O=x+O),(O>=n&&O<=o||O+x>=n&&O+x<=o)&&(O>Math.PI/2&&O<1.5*Math.PI&&(y=-y),_+=y)}}return _}function T(path,t,e,r,n){for(var o,h,a,b,data=path.data,c=path.len(),d=0,y=0,x=0,w=0,O=0,i=0;i<c;){var T=data[i++],M=1===i;switch(T===m.M&&i>1&&(e||(d+=Object(_.a)(y,x,w,O,r,n))),M&&(w=y=data[i],O=x=data[i+1]),T){case m.M:y=w=data[i++],x=O=data[i++];break;case m.L:if(e){if(line.a(y,x,data[i],data[i+1],t,r,n))return!0}else d+=Object(_.a)(y,x,data[i],data[i+1],r,n)||0;y=data[i++],x=data[i++];break;case m.C:if(e){if(l(y,x,data[i++],data[i++],data[i++],data[i++],data[i],data[i+1],t,r,n))return!0}else d+=S(y,x,data[i++],data[i++],data[i++],data[i++],data[i],data[i+1],r,n)||0;y=data[i++],x=data[i++];break;case m.Q:if(e){if(f.a(y,x,data[i++],data[i++],data[i],data[i+1],t,r,n))return!0}else d+=j(y,x,data[i++],data[i++],data[i],data[i+1],r,n)||0;y=data[i++],x=data[i++];break;case m.A:var P=data[i++],C=data[i++],A=data[i++],D=data[i++],L=data[i++],R=data[i++];i+=1;var z=!!(1-data[i++]);o=Math.cos(L)*A+P,h=Math.sin(L)*D+C,M?(w=o,O=h):d+=Object(_.a)(y,x,o,h,r,n);var W=(r-P)*D/A+P;if(e){if(v(P,C,D,L,L+R,z,t,W,n))return!0}else d+=k(P,C,D,L,L+R,z,W,n);y=Math.cos(L+R)*A+P,x=Math.sin(L+R)*D+C;break;case m.R:if(w=y=data[i++],O=x=data[i++],o=w+data[i++],h=O+data[i++],e){if(line.a(w,O,o,O,t,r,n)||line.a(o,O,o,h,t,r,n)||line.a(o,h,w,h,t,r,n)||line.a(w,h,w,O,t,r,n))return!0}else d+=Object(_.a)(o,O,o,h,r,n),d+=Object(_.a)(w,h,w,O,r,n);break;case m.Z:if(e){if(line.a(y,x,w,O,t,r,n))return!0}else d+=Object(_.a)(y,x,w,O,r,n);y=w,x=O}}return e||(a=x,b=O,Math.abs(a-b)<1e-4)||(d+=Object(_.a)(y,x,w,O,r,n)||0),0!==d}var M=r(0),P=r(37),C=r(101),A=r(56),D=r(72),L=Object(M.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},o.b),R={style:Object(M.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},o.a.style)},z=D.a.concat(["invisible","culling","z","z2","zlevel","parent"]),W=function(t){function e(e){return t.call(this,e)||this}var r;return Object(n.a)(e,t),e.prototype.update=function(){var r=this;t.prototype.update.call(this);var style=this.style;if(style.decal){var n=this._decalEl=this._decalEl||new e;n.buildPath===e.prototype.buildPath&&(n.buildPath=function(t){r.buildPath(t,r.shape)}),n.silent=!0;var o=n.style;for(var h in style)o[h]!==style[h]&&(o[h]=style[h]);o.fill=style.fill?style.decal:null,o.decal=null,o.shadowColor=null,style.strokeFirst&&(o.stroke=null);for(var i=0;i<z.length;++i)n[z[i]]=this[z[i]];n.__dirty|=A.a}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var r=Object(M.keys)(e);this.shape=this.getDefaultShape();var n=this.getDefaultStyle();n&&this.useStyle(n);for(var i=0;i<r.length;i++){var o=r[i],h=e[o];"style"===o?this.style?Object(M.extend)(this.style,h):this.useStyle(h):"shape"===o?Object(M.extend)(this.shape,h):t.prototype.attrKV.call(this,o,h)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(Object(M.isString)(t)){var e=Object(P.lum)(t,0);return e>.5?C.a:e>.2?C.c:C.d}if(t)return C.d}return C.a},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(M.isString)(e)){var r=this.__zr;if(!(!r||!r.isDarkMode())===Object(P.lum)(t,0)<C.b)return e}},e.prototype.buildPath=function(t,e,r){},e.prototype.pathUpdated=function(){this.__dirty&=~A.b},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new h.a(!1)},e.prototype.hasStroke=function(){var style=this.style,t=style.stroke;return!(null==t||"none"===t||!(style.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var rect=this._rect,style=this.style,t=!rect;if(t){var e=!1;this.path||(e=!0,this.createPathProxy());var path=this.path;(e||this.__dirty&A.b)&&(path.beginPath(),this.buildPath(path,this.shape,!1),this.pathUpdated()),rect=path.getBoundingRect
1()}if(this._rect=rect,this.hasStroke()&&this.path&&this.path.len()>0){var r=this._rectStroke||(this._rectStroke=rect.clone());if(this.__dirty||t){r.copy(rect);var n=style.strokeNoScale?this.getLineScale():1,o=style.lineWidth;if(!this.hasFill()){var h=this.strokeContainThreshold;o=Math.max(o,null==h?4:h)}n>1e-10&&(r.width+=o/n,r.height+=o/n,r.x-=o/n/2,r.y-=o/n/2)}return r}return rect},e.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e),rect=this.getBoundingRect(),style=this.style;if(t=r[0],e=r[1],rect.contain(t,e)){var n=this.path;if(this.hasStroke()){var o=style.lineWidth,h=style.strokeNoScale?this.getLineScale():1;if(h>1e-10&&(this.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),function(t,e,r,n){return T(t,e,!0,r,n)}(n,o/h,t,e)))return!0}if(this.hasFill())return function(t,e,r){return T(t,0,!1,e,r)}(n,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=A.b,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,r){"shape"===e?this.setShape(r):t.prototype.attrKV.call(this,e,r)},e.prototype.setShape=function(t,e){var r=this.shape;return r||(r=this.shape={}),"string"==typeof t?r[t]=e:Object(M.extend)(r,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&A.b)},e.prototype.createStyle=function(t){return Object(M.createObject)(L,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=Object(M.extend)({},this.shape))},e.prototype._applyStateObj=function(e,r,n,o,h,c){t.prototype._applyStateObj.call(this,e,r,n,o,h,c);var l,f=!(r&&o);if(r&&r.shape?h?o?l=r.shape:(l=Object(M.extend)({},n.shape),Object(M.extend)(l,r.shape)):(l=Object(M.extend)({},o?this.shape:n.shape),Object(M.extend)(l,r.shape)):f&&(l=n.shape),l)if(h){this.shape=Object(M.extend)({},this.shape);for(var d={},y=Object(M.keys)(l),i=0;i<y.length;i++){var v=y[i];"object"==typeof l[v]?this.shape[v]=l[v]:d[v]=l[v]}this._transitionState(e,{shape:d},c)}else this.shape=l,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var r,n=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.shape&&(r=r||{},this._mergeStyle(r,o.shape))}return r&&(n.shape=r),n},e.prototype.getAnimationStyleProps=function(){return R},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var r=function(e){function r(r){var n=e.call(this,r)||this;return t.init&&t.init.call(n,r),n}return Object(n.a)(r,e),r.prototype.getDefaultStyle=function(){return Object(M.clone)(t.style)},r.prototype.getDefaultShape=function(){return Object(M.clone)(t.shape)},r}(e);for(var o in t)"function"==typeof t[o]&&(r.prototype[o]=t[o]);return r},e.initDefaultProps=((r=e.prototype).type="path",r.strokeContainThreshold=5,r.segmentIgnoreThreshold=0,r.subPixelOptimize=!1,r.autoBatch=!1,void(r.__dirty=A.a|A.c|A.b)),e}(o.c);e.b=W},182:function(t,e,r){"use strict";var n=function(t){this.value=t},o=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new n(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,r=t.next;e?e.next=r:this.head=r,r?r.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),h=function(){function t(t){this._list=new o,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var r=this._list,map=this._map,o=null;if(null==map[t]){var h=r.len(),c=this._lastRemovedEntry;if(h>=this._maxSize&&h>0){var l=r.head;r.remove(l),delete map[l.key],o=l.value,this._lastRemovedEntry=l}c?c.value=e:c=new n(e),c.key=t,r.insertEntry(c),map[t]=c}return o},t.prototype.get=function(t){var e=this._map[t],r=this._list;if(null!=e)return e!==r.tail&&(r.remove(e),r.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e.a=h},190:function(t,e,r){"use strict";r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return l})),r.d(e,"c",(function(){return d}));var n=r(182),o=r(55),h=new n.a(50);function c(t){if("string"==typeof t){var e=h.get(t);return e&&e.image}return t}function l(t,image,e,r,n){if(t){if("string"==typeof t){if(image&&image.__zrImageSrc===t||!e)return image;var c=h.get(t),l={hostEl:e,cb:r,cbPayload:n};return c?!d(image=c.image)&&c.pending.push(l):((image=o.d.loadImage(t,f,f)).__zrImageSrc=t,h.put(t,image.__cachedImgObj={image:image,pending:[l]})),image}return t}return image}function f(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var i=0;i<t.pending.length;i++){var e=t.pending[i],r=e.cb;r&&r(this,e.cbPayload),e.hostEl.dirty()}t.pending.length=0}function d(image){return image&&image.width&&image.height}},196:function(t,e,r){"use strict";function n(t,e,r,n,o,h,c){if(0===o)return!1;var l=o,f=0;if(c>e+l&&c>n+l||c<e-l&&c<n-l||h>t+l&&h>r+l||h<t-l&&h<r-l)return!1;if(t===r)return Math.abs(h-t)<=l/2;var d=(f=(e-n)/(t-r))*h-c+(t*n-r*e)/(t-r);return d*d/(f*f+1)<=l/2*l/2}r.d(e,"a",(function(){return n}))},20:function(t,e,r){"use strict";function n(){return[1,0,0,1,0,0]}function o(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function h(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function c(t,e,r){var n=e[0]*r[0]+e[2]*r[1],o=e[1]*r[0]+e[3]*r[1],h=e[0]*r[2]+e[2]*r[3],c=e[1]*r[2]+e[3]*r[3],l=e[0]*r[4]+e[2]*r[5]+e[4],f=e[1]*r[4]+e[3]*r[5]+e[5];return t[0]=n,t[1]=o,t[2]=h,t[3]=c,t[4]=l,t[5]=f,t}function l(t,a,e){return t[0]=a[0],t[1]=a[1],t[2]=a[2],t[3]=a[3],t[4]=a[4]+e[0],t[5]=a[5]+e[1],t}function f(t,a,e){var r=a[0],n=a[2],o=a[4],h=a[1],c=a[3],l=a[5],f=Math.sin(e),d=Math.cos(e);return t[0]=r*d+h*f,t[1]=-r*f+h*d,t[2]=n*d+c*f,t[3]=-n*f+d*c,t[4]=d*o+f*l,t[5]=d*l-f*o,t}function d(t,a,e){var r=e[0],n=e[1];return t[0]=a[0]*r,t[1]=a[1]*n,t[2]=a[2]*r,t[3]=a[3]*n,t[4]=a[4]*r,t[5]=a[5]*n,t}function y(t,a){var e=a[0],r=a[2],n=a[4],o=a[1],h=a[3],c=a[5],l=e*h-o*r;return l?(l=1/l,t[0]=h*l,t[1]=-o*l,t[2]=-r*l,t[3]=e*l,t[4]=(r*c-
1h*n)*l,t[5]=(o*n-e*c)*l,t):null}function v(a){var b=[1,0,0,1,0,0];return h(b,a),b}r.r(e),r.d(e,"create",(function(){return n})),r.d(e,"identity",(function(){return o})),r.d(e,"copy",(function(){return h})),r.d(e,"mul",(function(){return c})),r.d(e,"translate",(function(){return l})),r.d(e,"rotate",(function(){return f})),r.d(e,"scale",(function(){return d})),r.d(e,"invert",(function(){return y})),r.d(e,"clone",(function(){return v}))},209:function(t,e,r){"use strict";var n=r(29),o=r(53),h=r(26),c=r(18),l=r(0),f=r(55),d=Object(l.defaults)({strokeFirst:!0,font:f.a,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},c.a),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(n.a)(e,t),e.prototype.hasStroke=function(){var style=this.style,t=style.stroke;return null!=t&&"none"!==t&&style.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return Object(l.createObject)(d,t)},e.prototype.setBoundingRect=function(rect){this._rect=rect},e.prototype.getBoundingRect=function(){var style=this.style;if(!this._rect){var text=style.text;null!=text?text+="":text="";var rect=Object(h.d)(text,style.font,style.textAlign,style.textBaseline);if(rect.x+=style.x||0,rect.y+=style.y||0,this.hasStroke()){var t=style.lineWidth;rect.x-=t/2,rect.y-=t/2,rect.width+=t,rect.height+=t}this._rect=rect}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(o.c);y.prototype.type="tspan",e.a=y},210:function(t,e,r){"use strict";var n=r(29),o=r(18),h=r(456),c=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},l=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultShape=function(){return new c},e.prototype.buildPath=function(t,e){h.a(t,e,!0)},e}(o.b);l.prototype.type="polygon",e.a=l},217:function(t,e,r){"use strict";var n=r(29),o=r(18),h=function(){this.cx=0,this.cy=0,this.r=0},c=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(o.b);c.prototype.type="circle",e.a=c},218:function(t,e,r){"use strict";var n=r(29),o=r(18),h=r(456),c=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},l=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new c},e.prototype.buildPath=function(t,e){h.a(t,e,!1)},e}(o.b);l.prototype.type="polyline",e.a=l},22:function(t,e,r){"use strict";r.d(e,"a",(function(){return w})),r.d(e,"b",(function(){return O})),r.d(e,"f",(function(){return S})),r.d(e,"c",(function(){return j})),r.d(e,"g",(function(){return k})),r.d(e,"e",(function(){return T})),r.d(e,"d",(function(){return M})),r.d(e,"h",(function(){return P})),r.d(e,"i",(function(){return C})),r.d(e,"m",(function(){return A})),r.d(e,"j",(function(){return D})),r.d(e,"n",(function(){return L})),r.d(e,"l",(function(){return R})),r.d(e,"k",(function(){return z}));var n=r(7),o=Math.pow,h=Math.sqrt,c=1e-8,l=1e-4,f=h(3),d=1/3,y=Object(n.create)(),v=Object(n.create)(),_=Object(n.create)();function m(t){return t>-1e-8&&t<c}function x(t){return t>c||t<-1e-8}function w(t,e,r,n,o){var h=1-o;return h*h*(h*t+3*o*e)+o*o*(o*n+3*h*r)}function O(t,e,r,n,o){var h=1-o;return 3*(((e-t)*h+2*(r-e)*o)*h+(n-r)*o*o)}function S(t,e,r,n,c,l){var a=n+3*(e-r)-t,b=3*(r-2*e+t),y=3*(e-t),v=t-c,_=b*b-3*a*y,x=b*y-9*a*v,w=y*y-3*b*v,O=0;if(m(_)&&m(x)){if(m(b))l[0]=0;else(R=-y/b)>=0&&R<=1&&(l[O++]=R)}else{var S=x*x-4*_*w;if(m(S)){var j=x/_,k=-j/2;(R=-b/a+j)>=0&&R<=1&&(l[O++]=R),k>=0&&k<=1&&(l[O++]=k)}else if(S>0){var T=h(S),M=_*b+1.5*a*(-x+T),P=_*b+1.5*a*(-x-T);(R=(-b-((M=M<0?-o(-M,d):o(M,d))+(P=P<0?-o(-P,d):o(P,d))))/(3*a))>=0&&R<=1&&(l[O++]=R)}else{var C=(2*_*b-3*a*x)/(2*h(_*_*_)),A=Math.acos(C)/3,D=h(_),L=Math.cos(A),R=(-b-2*D*L)/(3*a),z=(k=(-b+D*(L+f*Math.sin(A)))/(3*a),(-b+D*(L-f*Math.sin(A)))/(3*a)
vendor: 5,680 bytes, line 1
1);R>=0&&R<=1&&(l[O++]=R),k>=0&&k<=1&&(l[O++]=k),z>=0&&z<=1&&(l[O++]=z)}}return O}function j(t,e,r,n,o){var b=6*r-12*e+6*t,a=9*e+3*n-3*t-9*r,c=3*e-3*t,l=0;if(m(a)){if(x(b))(d=-c/b)>=0&&d<=1&&(o[l++]=d)}else{var f=b*b-4*a*c;if(m(f))o[0]=-b/(2*a);else if(f>0){var d,y=h(f),v=(-b-y)/(2*a);(d=(-b+y)/(2*a))>=0&&d<=1&&(o[l++]=d),v>=0&&v<=1&&(o[l++]=v)}}return l}function k(t,e,r,n,o,h){var c=(e-t)*o+t,l=(r-e)*o+e,f=(n-r)*o+r,d=(l-c)*o+c,y=(f-l)*o+l,v=(y-d)*o+d;h[0]=t,h[1]=c,h[2]=d,h[3]=v,h[4]=v,h[5]=y,h[6]=f,h[7]=n}function T(t,e,r,o,c,f,d,m,x,O,S){var j,k,T,M,P,C=.005,A=1/0;y[0]=x,y[1]=O;for(var D=0;D<1;D+=.05)v[0]=w(t,r,c,d,D),v[1]=w(e,o,f,m,D),(M=Object(n.distSquare)(y,v))<A&&(j=D,A=M);A=1/0;for(var i=0;i<32&&!(C<l);i++)k=j-C,T=j+C,v[0]=w(t,r,c,d,k),v[1]=w(e,o,f,m,k),M=Object(n.distSquare)(v,y),k>=0&&M<A?(j=k,A=M):(_[0]=w(t,r,c,d,T),_[1]=w(e,o,f,m,T),P=Object(n.distSquare)(_,y),T<=1&&P<A?(j=T,A=P):C*=.5);return S&&(S[0]=w(t,r,c,d,j),S[1]=w(e,o,f,m,j)),h(A)}function M(t,e,r,n,o,h,c,l,f){for(var d=t,y=e,v=0,_=1/f,i=1;i<=f;i++){var m=i*_,x=w(t,r,o,c,m),O=w(e,n,h,l,m),S=x-d,j=O-y;v+=Math.sqrt(S*S+j*j),d=x,y=O}return v}function P(t,e,r,n){var o=1-n;return o*(o*t+2*n*e)+n*n*r}function C(t,e,r,n){return 2*((1-n)*(e-t)+n*(r-e))}function A(t,e,r,n,o){var a=t-2*e+r,b=2*(e-t),c=t-n,l=0;if(m(a)){if(x(b))(d=-c/b)>=0&&d<=1&&(o[l++]=d)}else{var f=b*b-4*a*c;if(m(f))(d=-b/(2*a))>=0&&d<=1&&(o[l++]=d);else if(f>0){var d,y=h(f),v=(-b-y)/(2*a);(d=(-b+y)/(2*a))>=0&&d<=1&&(o[l++]=d),v>=0&&v<=1&&(o[l++]=v)}}return l}function D(t,e,r){var n=t+r-2*e;return 0===n?.5:(t-e)/n}function L(t,e,r,n,o){var h=(e-t)*n+t,c=(r-e)*n+e,l=(c-h)*n+h;o[0]=t,o[1]=h,o[2]=l,o[3]=l,o[4]=c,o[5]=r}function R(t,e,r,o,c,f,d,m,x){var w,O=.005,S=1/0;y[0]=d,y[1]=m;for(var j=0;j<1;j+=.05){v[0]=P(t,r,c,j),v[1]=P(e,o,f,j),(M=Object(n.distSquare)(y,v))<S&&(w=j,S=M)}S=1/0;for(var i=0;i<32&&!(O<l);i++){var k=w-O,T=w+O;v[0]=P(t,r,c,k),v[1]=P(e,o,f,k);var M=Object(n.distSquare)(v,y);if(k>=0&&M<S)w=k,S=M;else{_[0]=P(t,r,c,T),_[1]=P(e,o,f,T);var C=Object(n.distSquare)(_,y);T<=1&&C<S?(w=T,S=C):O*=.5}}return x&&(x[0]=P(t,r,c,w),x[1]=P(e,o,f,w)),h(S)}function z(t,e,r,n,o,h,c){for(var l=t,f=e,d=0,y=1/c,i=1;i<=c;i++){var v=i*y,_=P(t,r,o,v),m=P(e,n,h,v),x=_-l,w=m-f;d+=Math.sqrt(x*x+w*w),l=_,f=m}return d}},221:function(t,e,r){"use strict";var n=r(29),o=r(18),h=r(0),c=Math.PI,l=2*c,f=Math.sin,d=Math.cos,y=Math.acos,v=Math.atan2,_=Math.abs,m=Math.sqrt,x=Math.max,w=Math.min,O=1e-4;function S(t,e,r,n,o,h,c){var l=t-r,f=e-n,d=(c?h:-h)/m(l*l+f*f),y=d*f,v=-d*l,_=t+y,w=e+v,O=r+y,S=n+v,j=(_+O)/2,k=(w+S)/2,T=O-_,M=S-w,P=T*T+M*M,C=o-h,s=_*S-O*w,A=(M<0?-1:1)*m(x(0,C*C*P-s*s)),D=(s*M-T*A)/P,L=(-s*T-M*A)/P,R=(s*M+T*A)/P,z=(-s*T+M*A)/P,W=D-j,B=L-k,E=R-j,F=z-k;return W*W+B*B>E*E+F*F&&(D=R,L=z),{cx:D,cy:L,x0:-y,y0:-v,x1:D*(o/C-1),y1:L*(o/C-1)}}function j(t,e){var r,n=x(e.r,0),o=x(e.r0||0,0),j=n>0;if(j||o>0){if(j||(n=o,o=0),o>n){var k=n;n=o,o=k}var T=e.startAngle,M=e.endAngle;if(!isNaN(T)&&!isNaN(M)){var P=e.cx,C=e.cy,A=!!e.clockwise,D=_(M-T),L=D>l&&D%l;if(L>O&&(D=L),n>O)if(D>l-O)t.moveTo(P+n*d(T),C+n*f(T)),t.arc(P,C,n,T,M,!A),o>O&&(t.moveTo(P+o*d(M),C+o*f(M)),t.arc(P,C,o,M,T,A));else{var R=void 0,z=void 0,W=void 0,B=void 0,E=void 0,F=void 0,X=void 0,N=void 0,I=void 0,H=void 0,Y=void 0,V=void 0,Z=void 0,U=void 0,G=void 0,$=void 0,Q=n*d(T),K=n*f(T),J=o*d(M),tt=o*f(M),et=D>O;if(et){var nt=e.cornerRadius;nt&&(R=(r=function(t){var e;if(Object(h.isArray)(t)){var r=t.length;if(!r)return t;e=1===r?[t[0],t[0],0,0]:2===r?[t[0],t[0],t[1],t[1]]:3===r?t.concat(t[2]):t}else e=[t,t,t,t];return e}(nt))[0],z=r[1],W=r[2],B=r[3]);var it=_(n-o)/2;if(E=w(it,W),F=w(it,B),X=w(it,R),N=w(it,z),Y=I=x(E,F),V=H=x(X,N),(I>O||H>O)&&(Z=n*d(M),U=n*f(M),G=o*d(T),$=o*f(T),D<c)){var ot=function(t,e,r,n,o,h,c,l){var f=r-t,d=n-e,y=c-o,v=l-h,_=v*f-y*d;if(!(_*_<O))return[t+(_=(y*(e-h)-v*(t-o))/_)*f,e+_*d]}(Q,K,G,$,Z,U,J,tt);if(ot){var at=Q-ot[0],st=K-ot[1],ut=Z-ot[0],ht=U-ot[1],a=1/f(y((at*ut+st*ht)/(m(at*at+st*st)*m(ut*ut+ht*ht)))/2),b=m(ot[0]*ot[0]+ot[1]*ot[1]);Y=w(I,(n-b)/(a+1)),V=w(H,(o-b)/(a-1))}}}if(et)if(Y>O){var ct=w(W,Y),lt=w(B,Y),ft=S(G,$,Q,K,n,ct,A),pt=S(Z,U,J,tt,n,lt,A);t.moveTo(P+ft.cx+ft.x0,C+ft.cy+ft.y0),Y<I&&ct===lt?t.arc(P+ft.cx,C+ft.cy,Y,v(ft.y0,ft.x0),v(pt.y0,pt.x0),!A):(ct>0&&t.arc(P+ft.cx,C+ft.cy,ct,v(ft.y0,ft.x0),v(ft.y1,ft.x1),!A),t.arc(P,C,n,v(ft.cy+ft.y1,ft.cx+ft.x1),v(pt.cy+pt.y1,pt.cx+pt.x1),!A),lt>0&&t.arc(P+pt.cx,C+pt.cy,lt,v(pt.y1,pt.x1),v(pt.y0,pt.x0),!A))}else t.moveTo(P+Q,C+K),t.arc(P,C,n,T,M,!A);else t.moveTo(P+Q,C+K);if(o>O&&et)if(V>O){ct=w(R,V),ft=S(J,tt,Z,U,o,-(lt=w(z,V)),A),pt=S(Q,K,G,$,o,-ct,A);t.lineTo(P+ft.cx+ft.x0,C+ft.cy+ft.y0),V<H&&ct===lt?t.arc(P+ft.cx,C+ft.cy,V,v(ft.y0,ft.x0),v(pt.y0,pt.x0),!A):(lt>0&&t.arc(P+ft.cx,C+ft.cy,lt,v(ft.y0,ft.x0),v(ft.y1,ft.x1),!A),t.arc(P,C,o,v(ft.cy+ft.y1,ft.cx+ft.x1),v(pt.cy+pt.y1,pt.cx+pt.x1),A),ct>0&&t.arc(P+pt.cx,C+pt.cy,ct,v(pt.y1,pt.x1),v(pt.y0,pt.x0),!A))}else t.lineTo(P+J,C+tt),t.arc(P,C,o,M,T,A);else t.lineTo(P+J,C+tt)}else t.moveTo(P,C);t.closePath()}}}var k=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},T=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultShape=function(){return new k},e.prototype.buildPath=function(t,e){j(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(o.b);T.prototype.type="sector";e.a=T},222:function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r(176);function o(a,b){return Math.abs(a-b)<1e-8}function h(t,e,r){var h=0,p=t[0];if(!p)return!1;for(var i=1;i<t.length;i++){var c=t[i];
vendor: 14,835 bytes, line 1
1h+=Object(n.a)(p[0],p[1],c[0],c[1],e,r),p=c}var l=t[0];return o(p[0],l[0])&&o(p[1],l[1])||(h+=Object(n.a)(p[0],p[1],l[0],l[1],e,r)),0!==h}},23:function(t,e,r){"use strict";var n=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},o=new function(){this.browser=new n,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?o.worker=!0:"undefined"==typeof navigator?(o.node=!0,o.svgSupported=!0):function(t,e){var r=e.browser,n=t.match(/Firefox\/([\d.]+)/),o=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),h=t.match(/Edge?\/([\d.]+)/),c=/micromessenger/i.test(t);n&&(r.firefox=!0,r.version=n[1]);o&&(r.ie=!0,r.version=o[1]);h&&(r.edge=!0,r.version=h[1],r.newEdge=+h[1].split(".")[0]>18);c&&(r.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,e.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),e.domSupported="undefined"!=typeof document;var style=document.documentElement.style;e.transform3dSupported=(r.ie&&"transition"in style||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in style)&&!("OTransition"in style),e.transformSupported=e.transform3dSupported||r.ie&&+r.version>=9}(navigator.userAgent,o),e.a=o},239:function(t,e,r){"use strict";r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return h})),r.d(e,"a",(function(){return c}));var n=Math.round;function o(t,e,style){if(e){var r=e.x1,o=e.x2,h=e.y1,l=e.y2;t.x1=r,t.x2=o,t.y1=h,t.y2=l;var f=style&&style.lineWidth;return f?(n(2*r)===n(2*o)&&(t.x1=t.x2=c(r,f,!0)),n(2*h)===n(2*l)&&(t.y1=t.y2=c(h,f,!0)),t):t}}function h(t,e,style){if(e){var r=e.x,n=e.y,o=e.width,h=e.height;t.x=r,t.y=n,t.width=o,t.height=h;var l=style&&style.lineWidth;return l?(t.x=c(r,l,!0),t.y=c(n,l,!0),t.width=Math.max(c(r+o,l,!1)-t.x,0===o?0:1),t.height=Math.max(c(n+h,l,!1)-t.y,0===h?0:1),t):t}}function c(t,e,r){if(!e)return t;var o=n(2*t);return(o+n(e))%2==0?o/2:(o+(r?1:-1))/2}},26:function(t,e,r){"use strict";r.d(e,"f",(function(){return l})),r.d(e,"d",(function(){return d})),r.d(e,"a",(function(){return y})),r.d(e,"b",(function(){return v})),r.d(e,"e",(function(){return _})),r.d(e,"g",(function(){return m})),r.d(e,"c",(function(){return x}));var n=r(14),o=r(182),h=r(55),c={};function l(text,t){t=t||h.a;var e=c[t];e||(e=c[t]=new o.a(500));var r=e.get(text);return null==r&&(r=h.d.measureText(text,t).width,e.put(text,r)),r}function f(text,t,e,r){var o=l(text,t),h=_(t),c=y(0,o,e),f=v(0,h,r);return new n.a(c,f,o,h)}function d(text,t,e,r){var o=((text||"")+"").split("\n");if(1===o.length)return f(o[0],t,e,r);for(var h=new n.a(0,0,0,0),i=0;i<o.length;i++){var rect=f(o[i],t,e,r);0===i?h.copy(rect):h.union(rect)}return h}function y(t,e,r){return"right"===r?t-=e:"center"===r&&(t-=e/2),t}function v(t,e,r){return"middle"===r?t-=e/2:"bottom"===r&&(t-=e),t}function _(t){return l("国",t)}function m(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function x(t,e,rect){var r=e.position||"inside",n=null!=e.distance?e.distance:5,o=rect.height,h=rect.width,c=o/2,l=rect.x,f=rect.y,d="left",y="top";if(r instanceof Array)l+=m(r[0],rect.width),f+=m(r[1],rect.height),d=null,y=null;else switch(r){case"left":l-=n,f+=c,d="right",y="middle";break;case"right":l+=n+h,f+=c,y="middle";break;case"top":l+=h/2,f-=n,d="center",y="bottom";break;case"bottom":l+=h/2,f+=o+n,d="center";break;case"inside":l+=h/2,f+=c,d="center",y="middle";break;case"insideLeft":l+=n,f+=c,y="middle";break;case"insideRight":l+=h-n,f+=c,d="right",y="middle";break;case"insideTop":l+=h/2,f+=n,d="center";break;case"insideBottom":l+=h/2,f+=o-n,d="center",y="bottom";break;case"insideTopLeft":l+=n,f+=n;break;case"insideTopRight":l+=h-n,f+=n,d="right";break;case"insideBottomLeft":l+=n,f+=o-n,y="bottom";break;case"insideBottomRight":l+=h-n,f+=o-n,d="right",y="bottom"}return(t=t||{}).x=l,t.y=f,t.align=d,t.verticalAlign=y,t}},28:function(t,e,r){"use strict";var n=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,r=this.y-t.y;return Math.sqrt(e*e+r*r)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,r=this.y-t.y;return e*e+r*r},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,r=this.y;return this.x=t[0]*e+t[2]*r+t[4],this.y=t[1]*e+t[3]*r+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(input){this.x=input[0],this.y=input[1]},t.set=function(p,t,e){p.x=t,p.y=e},t.copy=function(p,t){p.x=t.x,p.y=t.y},t.len=function(p){return Math.sqrt(p.x*p.x+p.y*p.y)},t.lenSquare=function(p){return p.x*p.x+p.y*p.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,r){t.x=e.x+r.x,t.y=e.y+r.y},t.sub=function(t,e,r){t.x=e.x-r.x,t.y=e.y-r.y},t.scale=function(t,e,r){t.x=e.x*r,t.y=e.y*r},t.scaleAndAdd=function(t,e,r,n){t.x=e.x+r.x*n,t.y=e.y+r.y*n},t.lerp=function(t,e,r,n){var o=1-n;t.x=o*e.x+n*r.x,t.y=o*e.y+n*r.y},t}();e.a=n},286:function(t,e,r){"use strict";var n=r(29),o=function(t){function e(e,r,n,o,h,c){var l=t.call(this,h)||this;return l.x=null==e?0:e,l.y=null==r?0:r,l.x2=null==n?1:n,l.y2=null==o?0:o,l.type="linear",l.global=c||!1,l}return Object(n.a)(e,t),e}(r(432).a);e.a=o},304:function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));function n(t,e,r,n){var o=e+1;if(o===r)return 1;if(n(t[o++],t[e])<0){for(;o<r&&n(t[o],t[o-1])<0;)o++;!function(t,e,r){r--;for(;e<r;){var n=t[e];t[e++]=t[r],t[r--]=n}}(t,e,o)}else for(;o<r&&n(t[o],t[o-1])>=0;)o++;return o-e}function o(t,e,r,n,o){for(n===e&&n++;n<r;n++){for(var h,c=t[n],l=e,f=n;l<f;)o(c,t[h=l+f>>>1])<0?f=h:l=h+1;var d=n-l;switch(d){case 3:t[l+3]=t[l+2];case 2:t[l+2]=t[l+1];case 1:t[l+1]=t[l];break;default:for(;d>0;)t[l+d]=t[l+d-1],d--}t[l]=c}}function h(t,e,r,n,o,h){var c=0,l=0,f=1;if(h(t,e[r+o])>0){for(l=n-o;f<l&&h(t,e[r+o+f])>0;)c=f,(f=1+(f<<1))<=0&&(f=l);f>l&&(f=l),c+=o,f+=o}else{for(l=o+1;f<l&&h(t,e[r+o-f])<=0;)c=f,(f=1+(f<<1))<=0&&(f=l);f>l&&(f=l);var d=c;c=o-f,f=o-d}for(c++;c<f;){var y=c+(f-c>>>1);h(t,e[r+y])>0?c=y+1:f=y}return f}function c(t,e,r,n,o,h){var c=0,l=0,f=1;if(h(t,e[r+o])<0){for(l=o+1;f<l&&h(t,e[r+o-f])<0;)c=f,(f=1+(f<<1))<=0&&(f=l);f>l&&(f=l);var d=c;c=o-f,f=o-d}else{for(l=n-o;f<l&&h(t,e[r+o+f])>=0;)c=f,(f=1+(f<<1))<=0&&(f=l);f>l&&(f=l),c+=o,f+=o}for(c++;c<f;){var y=c+(f-c>>>1);h(t,e[r+y])<0?f=y:c=y+1}return f}function l(t,e){var r,n,o,l=7,f=0;r=t.length;var d=[];function y(i){var r=n[i],y=o[i],v=n[i+1],_=o[i+1];o[i]=y+_,i===f-3&&(n[i+1]=n[i+2],o[i+1]=o[i+2]),f--;var m=c(t[v],t,r,y,0,e);r+=m,0!==(y-=m)&&0!==(_=h(t[r+y-1],t,v,_,_-1,e))&&(y<=_?function(r,n,o,f){var i=0;for(i=0;i<n;i++)d[i]=t[r+i];var y=0,v=o,_=r;if(t[_++]=t[v++],0==--f){for(i=0;i<n;i++)t[_+i]=d[y+i];return}if(1===n){for(i=0;i<f;i++)t[_+i]=t[v+i];return void(t[_+f]=d[y])}var m,x,w,O=l;for(;;){m=0,x=0,w=!1;do{if(e(t[v],d[y])<0){if(t[_++]=t[v++],x++,m=0,0==--f){w=!0;break}}else if(t[_++]=d[y++],m++,x=0,1==--n){w=!0;break}}while((m|x)<O);if(w)break;do{if(0!==(m=c(t[v],d,y,n,0,e))){for(i=0;i<m;i++)t[_+i]=d[y+i];if(_+=m,y+=m,(n-=m)<=1){w=!0;break}}if(t[_++]=t[v++],0==--f){w=!0;break}if(0!==(x=h(d[y],t,v,f,0,e))){for(i=0;i<x;i++)t[_+i]=t[v+i];if(_+=x,v+=x,0===(f-=x)){w=!0;break}}if(t[_++]=d[y++],1==--n){w=!0;break}O--}while(m>=7||x>=7);if(w)break;O<0&&(O=0),O+=2}if((l=O)<1&&(l=1),1===n){for(i=0;i<f;i++)t[_+i]=t[v+i];t[_+f]=d[y]}else{if(0===n)throw new Error;for(i=0;i<n;i++)t[_+i]=d[y+i]}}(r,y,v,_):function(r,n,o,f){var i=0;for(i=0;i<f;i++)d[i]=t[o+i];var y=r+n-1,v=f-1,_=o+f-1,m=0,x=0;if(t[_--]=t[y--],0==--n){for(m=_-(f-1),i=0;i<f;i++)t[m+i]=d[i];return}if(1===f){for(x=(_-=n)+1,m=(y-=n)+1,i=n-1;i>=0;i--)t[x+i]=t[m+i];return void(t[_]=d[v])}var w=l;for(;;){var O=0,S=0,j=!1;do{if(e(d[v],t[y])<0){if(t[_--]=t[y--],O++,S=0,0==--n){j=!0;break}}else if(t[_--]=d[v--],S++,O=0,1==--f){j=!0;break}}while((O|S)<w);if(j)break;do{if(0!==(O=n-c(d[v],t,r,n,n-1,e))){for(n-=O,x=(_-=O)+1,m=(y-=O)+1,i=O-1;i>=0;i--)t[x+i]=t[m+i];if(0===n){j=!0;break}}if(t[_--]=d[v--],1==--f){j=!0;break}if(0!==(S=f-h(t[y],d,0,f,f-1,e))){for(f-=S,x=(_-=S)+1,m=(v-=S)+1,i=0;i<S;i++)t[x+i]=d[m+i];if(f<=1){j=!0;break}}if(t[_--]=t[y--],0==--n){j=!0;break}w--}while(O>=7||S>=7);if(j)break;w<0&&(w=0),w+=2}(l=w)<1&&(l=1);if(1===f){for(x=(_-=n)+1,m=(y-=n)+1,i=n-1;i>=0;i--)t[x+i]=t[m+i];t[_]=d[v]}else{if(0===f)throw new Error;for(m=_-(f-1),i=0;i<f;i++)t[m+i]=d[i]}}(r,y,v,_))}return r<120?5:r<1542?10:r<119151?19:40,n=[],o=[],{mergeRuns:function(){for(;f>1;){var t=f-2;if(t>=1&&o[t-1]<=o[t]+o[t+1]||t>=2&&o[t-2]<=o[t]+o[t-1])o[t-1]<o[t+1]&&t--;else if(o[t]>o[t+1])break;y(t)}},forceMergeRuns:function(){for(;f>1;){var t=f-2;t>0&&o[t-1]<o[t+1]&&t--,y(t)}},pushRun:function(t,e){n[f]=t,o[f]=e,f+=1}}}function f(t,e,r,h){r||(r=0),h||(h=t.length);var c=h-r;if(!(c<2)){var f=0;if(c<32)o(t,r,h,r+(f=n(t,r,h,e)),e);else{var d=l(t,e),y=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(c);do{if((f=n(t,r,h,e))<y){var v=c;v>y&&(v=y),o(t,r,r+v,r+f,e),f=v}d.pushRun(r,f),d.mergeRuns(),c-=f,r+=f}while(0!==c);d.forceMergeRuns()}}}},344:function(t,e,r){"use strict";r.d(e,"c",(function(){return l})),r.d(e,"a",(function(){return v})),r.d(e,"b",(function(){return w}));var n=r(190),o=r(0),h=r(26),c=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(text,t,e,r,n){if(!t)return"";var o=(text+"").split("\n");n=f(t,e,r,n);for(var i=0,h=o.length;i<h;i++)o[i]=d(o[i],n);return o.join("\n")}function f(t,e,r,n){n=n||{};var c=Object(o.extend)({},n);c.font=e,r=Object(o.retrieve2)(r,"..."),c.maxIterations=Object(o.retrieve2)(n.maxIterations,2);var l=c.minChar=Object(o.retrieve2)(n.minChar,0);c.cnCharWidth=Object(h.f)("国",e);var f=c.ascCharWidth=Object(h.f)("a",e);c.placeholder=Object(o.retrieve2)(n.placeholder,"");for(var d=t=Math.max(0,t-1),i=0;i<l&&d>=f;i++)d-=f;var y=Object(h.f)(r,e);return y>d&&(r="",y=0),d=t-y,c.ellipsis=r,c.ellipsisWidth=y,c.contentWidth=d,c.containerWidth=t,c}function d(t,e){var r=e.containerWidth,n=e.font,o=e.contentWidth;if(!r)return"";var c=Object(h.f)(t,n);if(c<=r)return t;for(var l=0;;l++){if(c<=o||l>=e.maxIterations){t+=e.ellipsis;break}var f=0===l?y(t,o,e.ascCharWidth,e.cnCharWidth):c>0?Math.floor(t.length*o/c):0;t=t.substr(0,f),c=Object(h.f)(t,n)}return""===t&&(t=e.placeholder),t}function y(text,t,e,r){for(var n=0,i=0,o=text.length;i<o&&n<t;i++){var h=text.charCodeAt(i);n+=0<=h&&h<=127?e:r}return i}function v(text,style){null!=text&&(text+="");var t,e=style.overflow,r=style.padding,n=style.font,c="truncate"===e,l=Object(h.e)(n),y=Object(o.retrieve2)(style.lineHeight,l),v=!!style.backgroundColor,_="truncate"===style.lineOverflow,m=style.width,x=(t=null==m||"break"!==e&&"breakAll"!==e?text?text.split("\n"):[]:text?k(text,style.font,m,"breakAll"===e,0).lines:[]).length*y,w=Object(o.retrieve2)(style.height,x);if(x>w&&_){var O=Math.floor(w/y);t=t.slice(0,O)}if(text&&c&&null!=m)for(var S=f(m,n,style.ellipsis,{minChar:style.truncateMinChar,placeholder:style.placeholder}),i=0;i<t.length;i++)t[i]=d(t[i],S);var j=w,T=0;for(i=0;i<t.length;i++)T=Math.max(Object(h.f)(t[i],n),T);null==m&&(m=T);var M=T;return r&&(j+=r[0]+r[2],M+=r[1]+r[3],m+=r[1]+r[3]),v&&(M=m),{lines:t,height:w,outerWidth:M,outerHeight:j,lineHeight:y,calculatedLineHeight:l,contentWidth:T,contentHeight:x,width:m}}var _=function(){},m=function(t){this.tokens=[],t&&(this.tokens=t)},x=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function w(text,style){var t=new x;if(null!=text&&(text+=""),!text)return t;for(var e,r=style.width,f=style.height,d=style.overflow,y="break"!==d&&"breakAll"!==d||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===d},v=c.lastIndex=0;null!=(e=c.exec(text));){var _=e.index;_>v&&O(t,text.substring(v,_),style,y),O(t,e[2],style,y,e[1]),v=c.lastIndex}v<text.length&&O(t,text.substring(v,text.length),style,y);var m=[],w=0,S=0,j=style.padding,k="truncate"===d,T="truncate"===style.lineOverflow;function M(line,t,e){line.width=t,line.lineHeight=e,w+=e,S=Math.max(S,t)}t:for(var i=0;i<t.lines.length;i++){for(var line=t.lines[i],P=0,C=0,A=0;A<line.tokens.length;A++){var D=(I=line.tokens[A]).styleName&&style.rich[I.styleName]||{},L=I.textPadding=D.padding,R=L?L[1]+L[3]:0,z=I.font=D.font||style.font;I.contentHeight=Object(h.e)(z);var W=Object(o.retrieve2)(D.height,I.contentHeight);if(I.innerHeight=W,L&&(W+=L[0]+L[2]),I.height=W,I.lineHeight=Object(o.retrieve3)(D.lineHeight,style.lineHeight,W),I.align=D&&D.align||style.align,I.verticalAlign=D&&D.verticalAlign||"middle",T&&null!=f&&w+I.lineHeight>f){A>0?(line.tokens=line.tokens.slice(0,A),M(line,C,P),t.lines=t.lines.slice(0,i+1)):t.lines=t.lines.slice(0,i);break t}var B=D.width,E=null==B||"auto"===B;if("string"==typeof B&&"%"===B.charAt(B.length-1))I.percentWidth=B,m.push(I),I.contentWidth=Object(h.f)(I.text,z);else{if(E){var F=D.backgroundColor,X=F&&F.image;X&&(X=n.b(X),n.c(X)&&(I.width=Math.max(I.width,X.width*W/X.height)))}var N=k&&null!=r?r-C:null;null!=N&&N<I.width?!E||N<R?(I.text="",I.width=I.contentWidth=0):(I.text=l(I.text,N-R,z,style.ellipsis,{minChar:style.truncateMinChar}),I.width=I.contentWidth=Object(h.f)(I.text,z)):I.contentWidth=Object(h.f)(I.text,z)}I.width+=R,C+=I.width,D&&(P=Math.max(P,I.lineHeight))}M(line,C,P)}t.outerWidth=t.width=Object(o.retrieve2)(r,S),t.outerHeight=t.height=Object(o.retrieve2)(f,w),t.contentHeight=w,t.contentWidth=S,j&&(t.outerWidth+=j[1]+j[3],t.outerHeight+=j[0]+j[2]);for(i=0;i<m.length;i++){var I,H=(I=m[i]).percentWidth;I.width=parseInt(H,10)/100*t.width}return t}function O(t,e,style,r,n){var o,c,l=""===e,f=n&&style.rich[n]||{},d=t.lines,y=f.font||style.font,v=!1;if(r){var x=f.padding,w=x?x[1]+x[3]:0;
1if(null!=f.width&&"auto"!==f.width){var O=Object(h.g)(f.width,r.width)+w;d.length>0&&O+r.accumWidth>r.width&&(o=e.split("\n"),v=!0),r.accumWidth=O}else{var S=k(e,y,r.width,r.breakAll,r.accumWidth);r.accumWidth=S.accumWidth+w,c=S.linesWidths,o=S.lines}}else o=e.split("\n");for(var i=0;i<o.length;i++){var text=o[i],j=new _;if(j.styleName=n,j.text=text,j.isLineHolder=!text&&!l,"number"==typeof f.width?j.width=f.width:j.width=c?c[i]:Object(h.f)(text,y),i||v)d.push(new m([j]));else{var T=(d[d.length-1]||(d[0]=new m)).tokens,M=T.length;1===M&&T[0].isLineHolder?T[0]=j:(text||!M||l)&&T.push(j)}}}var S=Object(o.reduce)(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function j(t){return!function(t){var code=t.charCodeAt(0);return code>=32&&code<=591||code>=880&&code<=4351||code>=4608&&code<=5119||code>=7680&&code<=8303}(t)||!!S[t]}function k(text,t,e,r,n){for(var o=[],c=[],line="",l="",f=0,d=0,i=0;i<text.length;i++){var y=text.charAt(i);if("\n"!==y){var v=Object(h.f)(y,t),_=!r&&!j(y);(o.length?d+v>e:n+d+v>e)?d?(line||l)&&(_?(line||(line=l,l="",d=f=0),o.push(line),c.push(d-f),l+=y,line="",d=f+=v):(l&&(line+=l,l="",f=0),o.push(line),c.push(d),line=y,d=v)):_?(o.push(l),c.push(f),l=y,f=v):(o.push(y),c.push(v)):(d+=v,_?(l+=y,f+=v):(l&&(line+=l,l="",f=0),line+=y))}else l&&(line+=l,d+=f),o.push(line),c.push(d),line="",l="",f=0,d=0}return o.length||line||(line=text,l="",f=0),l&&(line+=l),line&&(o.push(line),c.push(d)),1===o.length&&(d+=n),{accumWidth:d,lines:o,linesWidths:c}}},345:function(t,e,r){"use strict";var n=r(29),o=r(18),h=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},c=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){var r=.5522848,n=e.cx,o=e.cy,a=e.rx,b=e.ry,h=a*r,c=b*r;t.moveTo(n-a,o),t.bezierCurveTo(n-a,o-c,n-h,o-b,n,o-b),t.bezierCurveTo(n+h,o-b,n+a,o-c,n+a,o),t.bezierCurveTo(n+a,o+c,n+h,o+b,n,o+b),t.bezierCurveTo(n-h,o+b,n-a,o+c,n-a,o),t.closePath()},e}(o.b);c.prototype.type="ellipse",e.a=c},346:function(t,e,r){"use strict";var n=r(29),o=r(18),h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return Object(n.a)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),i=0;i<t.length;i++)e=e||t[i].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t.length;i++)t[i].path||t[i].createPathProxy(),t[i].path.setScale(e[0],e[1],t[i].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var r=e.paths||[],i=0;i<r.length;i++)r[i].buildPath(t,r[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],i=0;i<t.length;i++)t[i].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),o.b.prototype.getBoundingRect.call(this)},e}(o.b);e.a=h},350:function(t,e,r){"use strict";var n=r(28),o=[0,0],h=[0,0],c=new n.a,l=new n.a,f=function(){function t(rect,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var i=0;i<4;i++)this._corners[i]=new n.a;for(i=0;i<2;i++)this._axes[i]=new n.a;rect&&this.fromBoundingRect(rect,t)}return t.prototype.fromBoundingRect=function(rect,t){var e=this._corners,r=this._axes,o=rect.x,h=rect.y,c=o+rect.width,l=h+rect.height;if(e[0].set(o,h),e[1].set(c,h),e[2].set(c,l),e[3].set(o,l),t)for(var i=0;i<4;i++)e[i].transform(t);n.a.sub(r[0],e[1],e[0]),n.a.sub(r[1],e[3],e[0]),r[0].normalize(),r[1].normalize();for(i=0;i<2;i++)this._origin[i]=r[i].dot(e[0])},t.prototype.intersect=function(t,e){var r=!0,o=!e;return c.set(1/0,1/0),l.set(0,0),!this._intersectCheckOneSide(this,t,c,l,o,1)&&(r=!1,o)||!this._intersectCheckOneSide(t,this,c,l,o,-1)&&(r=!1,o)||o||n.a.copy(e,r?c:l),r},t.prototype._intersectCheckOneSide=function(t,e,r,c,l,f){for(var d=!0,i=0;i<2;i++){var y=this._axes[i];if(this._getProjMinMaxOnAxis(i,t._corners,o),this._getProjMinMaxOnAxis(i,e._corners,h),o[1]<h[0]||o[0]>h[1]){if(d=!1,l)return d;var v=Math.abs(h[0]-o[1]),_=Math.abs(o[0]-h[1]);Math.min(v,_)>c.len()&&(v<_?n.a.scale(c,y,-v*f):n.a.scale(c,y,_*f))}else if(r){v=Math.abs(h[0]-o[1]),_=Math.abs(o[0]-h[1]);Math.min(v,_)<r.len()&&(v<_?n.a.scale(r,y,v*f):n.a.scale(r,y,-_*f))}}return d},t.prototype._getProjMinMaxOnAxis=function(t,e,r){for(var n=this._axes[t],o=this._origin,h=e[0].dot(n)+o[t],c=h,l=h,i=1;i<e.length;i++){var f=e[i].dot(n)+o[t];c=Math.min(f,c),l=Math.max(f,l)}r[0]=c,r[1]=l},t}();e.a=f},409:function(t,e,r){"use strict";var n=r(29),o=function(t){function e(e,r,n,o,h){var c=t.call(this,o)||this;return c.x=null==e?.5:e,c.y=null==r?.5:r,c.r=null==n?.5:n,c.type="radial",c.global=h||!1,c}return Object(n.a)(e,t),e}(r(432).a);e.a=o},428:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}
1));var n=r(22);function o(t,e,r,o,h,c,l,f,d){if(0===l)return!1;var y=l;return!(d>e+y&&d>o+y&&d>c+y||d<e-y&&d<o-y&&d<c-y||f>t+y&&f>r+y&&f>h+y||f<t-y&&f<r-y&&f<h-y)&&Object(n.l)(t,e,r,o,h,c,f,d,null)<=y/2}},430:function(t,e,r){"use strict";var n=r(29),o=r(18),h=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},c=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){var r=e.cx,n=e.cy,o=2*Math.PI;t.moveTo(r+e.r,n),t.arc(r,n,e.r,0,o,!1),t.moveTo(r+e.r0,n),t.arc(r,n,e.r0,0,o,!0)},e}(o.b);c.prototype.type="ring",e.a=c},431:function(t,e,r){"use strict";var n=r(29),o=r(18),h=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},c=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){var r=e.cx,n=e.cy,o=Math.max(e.r,0),h=e.startAngle,c=e.endAngle,l=e.clockwise,f=Math.cos(h),d=Math.sin(h);t.moveTo(f*o+r,d*o+n),t.arc(r,n,o,h,c,!l)},e}(o.b);c.prototype.type="arc",e.a=c},432:function(t,e,r){"use strict";var n=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}();e.a=n},437:function(t,e,r){"use strict";var n=r(40),o=Math.sin,h=Math.cos,c=Math.PI,l=2*Math.PI,f=180/c,d=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,r,n,o,h){this._add("C",t,e,r,n,o,h)},t.prototype.quadraticCurveTo=function(t,e,r,n){this._add("Q",t,e,r,n)},t.prototype.arc=function(t,e,r,n,o,h){this.ellipse(t,e,r,r,0,n,o,h)},t.prototype.ellipse=function(t,e,r,d,y,v,_,m){var x=_-v,w=!m,O=Math.abs(x),S=Object(n.j)(O-l)||(w?x>=l:-x>=l),j=x>0?x%l:x%l+l,k=!1;k=!!S||!Object(n.j)(O)&&j>=c==!!w;var T=t+r*h(v),M=e+d*o(v);this._start&&this._add("M",T,M);var P=Math.round(y*f);if(S){var p=1/this._p,C=(w?1:-1)*(l-p);this._add("A",r,d,P,1,+w,t+r*h(v+C),e+d*o(v+C)),p>.01&&this._add("A",r,d,P,0,+w,T,M)}else{var A=t+r*h(_),D=e+d*o(_);this._add("A",r,d,P,+k,+w,A,D)}},t.prototype.rect=function(t,e,r,n){this._add("M",t,e),this._add("l",r,0),this._add("l",0,n),this._add("l",-r,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,a,b,e,r,n,o,g,h){for(var c=[],p=this._p,i=1;i<arguments.length;i++){var l=arguments[i];if(isNaN(l))return void(this._invalid=!0);c.push(Math.round(l*p)/p)}this._d.push(t+c.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}();e.a=d},44:function(t,e,r){"use strict";var n=r(29),o=r(0),h=r(425),c=r(14),l=function(t){function e(e){var r=t.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(e),r}return Object(n.a)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,i=0;i<e.length;i++)if(e[i].name===t)return e[i]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.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},e.prototype.replace=function(t,e){var r=o.indexOf(this._children,t);return r>=0&&this.replaceAt(e,r),this},e.prototype.replaceAt=function(t,e){var r=this._children,n=r[e];if(t&&t!==this&&t.parent!==this&&t!==n){r[e]=t,n.parent=null;var o=this.__zr;o&&n.removeSelfFromZr(o),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,r=this._children,n=o.indexOf(r,t);return n<0||(r.splice(n,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,i=0;i<t.length;i++){var r=t[i];e&&r.removeSelfFromZr(e),r.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var r=this._children,i=0;i<r.length;i++){var n=r[i];t.call(e,n,i)}return this},e.prototype.traverse=function(t,e){for(var i=0;i<this._children.length;i++){var r=this._children[i],n=t.call(e,r);r.isGroup&&!n&&r.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var i=0;i<this._children.length;i++){this._children[i].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var i=0;i<this._children.length;i++){this._children[i].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new c.a(0,0,0,0),r=t||this._children,n=[],rect=null,i=0;i<r.length;i++){var o=r[i];
1if(!o.ignore&&!o.invisible){var h=o.getBoundingRect(),l=o.getLocalTransform(n);l?(c.a.applyTransform(e,h,l),(rect=rect||e.clone()).union(e)):(rect=rect||h.clone()).union(h)}}return rect||e},e}(h.a);l.prototype.type="group",e.a=l},456:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(7);function o(t,e,r){var o=e.smooth,h=e.points;if(h&&h.length>=2){if(o){var c=function(t,e,r,o){var h,c,l,f,d=[],y=[],v=[],_=[];if(o){l=[1/0,1/0],f=[-1/0,-1/0];for(var i=0,m=t.length;i<m;i++)Object(n.min)(l,l,t[i]),Object(n.max)(f,f,t[i]);Object(n.min)(l,l,o[0]),Object(n.max)(f,f,o[1])}for(i=0,m=t.length;i<m;i++){var x=t[i];if(r)h=t[i?i-1:m-1],c=t[(i+1)%m];else{if(0===i||i===m-1){d.push(Object(n.clone)(t[i]));continue}h=t[i-1],c=t[i+1]}Object(n.sub)(y,c,h),Object(n.scale)(y,y,e);var w=Object(n.distance)(x,h),O=Object(n.distance)(x,c),S=w+O;0!==S&&(w/=S,O/=S),Object(n.scale)(v,y,-w),Object(n.scale)(_,y,O);var j=Object(n.add)([],x,v),k=Object(n.add)([],x,_);o&&(Object(n.max)(j,j,l),Object(n.min)(j,j,f),Object(n.max)(k,k,l),Object(n.min)(k,k,f)),d.push(j),d.push(k)}return r&&d.push(d.shift()),d}(h,o,r,e.smoothConstraint);t.moveTo(h[0][0],h[0][1]);for(var l=h.length,i=0;i<(r?l:l-1);i++){var f=c[2*i],d=c[2*i+1],p=h[(i+1)%l];t.bezierCurveTo(f[0],f[1],d[0],d[1],p[0],p[1])}}else{t.moveTo(h[0][0],h[0][1]);i=1;for(var y=h.length;i<y;i++)t.lineTo(h[i][0],h[i][1])}r&&t.closePath()}}},47:function(t,e,r){"use strict";r.d(e,"b",(function(){return f})),r.d(e,"c",(function(){return y})),r.d(e,"e",(function(){return v})),r.d(e,"a",(function(){return _})),r.d(e,"f",(function(){return m})),r.d(e,"g",(function(){return x})),r.d(e,"d",(function(){return w}));var n=r(23),o=r(90),h=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c=[],l=n.a.browser.firefox&&+n.a.browser.version.split(".")[0]<39;function f(t,e,r,n){return r=r||{},n?d(t,e,r):l&&null!=e.layerX&&e.layerX!==e.offsetX?(r.zrX=e.layerX,r.zrY=e.layerY):null!=e.offsetX?(r.zrX=e.offsetX,r.zrY=e.offsetY):d(t,e,r),r}function d(t,e,r){if(n.a.domSupported&&t.getBoundingClientRect){var h=e.clientX,l=e.clientY;if(Object(o.b)(t)){var f=t.getBoundingClientRect();return r.zrX=h-f.left,void(r.zrY=l-f.top)}if(Object(o.c)(c,t,h,l))return r.zrX=c[0],void(r.zrY=c[1])}r.zrX=r.zrY=0}function y(t){return t||window.event}function v(t,e,r){if(null!=(e=y(e)).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var o="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];o&&f(t,o,e,r)}else{f(t,e,e,r);var c=function(t){var e=t.wheelDelta;if(e)return e;var r=t.deltaX,n=t.deltaY;if(null==r||null==n)return e;return 3*(0!==n?Math.abs(n):Math.abs(r))*(n>0?-1:n<0?1:r>0?-1:1)}(e);e.zrDelta=c?c/120:-(e.detail||0)/3}var button=e.button;return null==e.which&&void 0!==button&&h.test(e.type)&&(e.which=1&button?1:2&button?3:4&button?2:0),e}function _(t,e,r,n){t.addEventListener(e,r,n)}function m(t,e,r,n){t.removeEventListener(e,r,n)}var x=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function w(t){return 2===t.which||3===t.which}},53:function(t,e,r){"use strict";r.d(e,"b",(function(){return d})),r.d(e,"a",(function(){return y}));var n=r(29),o=r(425),h=r(14),c=r(0),l=r(56),f="__zr_style_"+Math.round(10*Math.random()),d={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},y={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};d[f]=!0;var v=["z","z2","invisible"],_=["invisible"],m=function(t){function e(e){return t.call(this,e)||this}var r;return Object(n.a)(e,t),e.prototype._init=function(e){for(var r=Object(c.keys)(e),i=0;i<r.length;i++){var n=r[i];"style"===n?this.useStyle(e[n]):t.prototype.attrKV.call(this,n,e[n])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,r,n){var o=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,r){x.copy(t.getBoundingRect()),t.transform&&x.applyTransform(t.transform);
1return w.width=e,w.height=r,!x.intersect(w)}(this,t,e)||o&&!o[0]&&!o[3])return!1;if(r&&this.__clipPaths)for(var i=0;i<this.__clipPaths.length;++i)if(this.__clipPaths[i].isZeroArea())return!1;if(n&&this.parent)for(var h=this.parent;h;){if(h.ignore)return!1;h=h.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var r=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(r[0],r[1])},e.prototype.getPaintRect=function(){var rect=this._paintRect;if(!this._paintRect||this.__dirty){var t=this.transform,e=this.getBoundingRect(),style=this.style,r=style.shadowBlur||0,n=style.shadowOffsetX||0,o=style.shadowOffsetY||0;rect=this._paintRect||(this._paintRect=new h.a(0,0,0,0)),t?h.a.applyTransform(rect,e,t):rect.copy(e),(r||n||o)&&(rect.width+=2*r+Math.abs(n),rect.height+=2*r+Math.abs(o),rect.x=Math.min(rect.x,rect.x+n-r),rect.y=Math.min(rect.y,rect.y+o-r));var c=this.dirtyRectTolerance;rect.isZero()||(rect.x=Math.floor(rect.x-c),rect.y=Math.floor(rect.y-c),rect.width=Math.ceil(rect.width+1+2*c),rect.height=Math.ceil(rect.height+1+2*c))}return rect},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new h.a(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,r){"style"!==e?t.prototype.attrKV.call(this,e,r):this.style?this.setStyle(r):this.useStyle(r)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:Object(c.extend)(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=l.c,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&l.c)},e.prototype.styleUpdated=function(){this.__dirty&=~l.c},e.prototype.createStyle=function(t){return Object(c.createObject)(d,t)},e.prototype.useStyle=function(t){t[f]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[f]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,r,v)},e.prototype._applyStateObj=function(e,r,n,o,h,l){t.prototype._applyStateObj.call(this,e,r,n,o,h,l);var f,d=!(r&&o);if(r&&r.style?h?o?f=r.style:(f=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(f,r.style)):(f=this._mergeStyle(this.createStyle(),o?this.style:n.style),this._mergeStyle(f,r.style)):d&&(f=n.style),f)if(h){var y=this.style;if(this.style=this.createStyle(d?{}:y),d)for(var m=Object(c.keys)(y),i=0;i<m.length;i++){(w=m[i])in f&&(f[w]=f[w],this.style[w]=y[w])}var x=Object(c.keys)(f);for(i=0;i<x.length;i++){var w=x[i];this.style[w]=this.style[w]}this._transitionState(e,{style:f},l,this.getAnimationStyleProps())}else this.useStyle(f);var O=this.__inHover?_:v;for(i=0;i<O.length;i++){w=O[i];r&&null!=r[w]?this[w]=r[w]:d&&null!=n[w]&&(this[w]=n[w])}},e.prototype._mergeStates=function(e){for(var r,n=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.style&&(r=r||{},this._mergeStyle(r,o.style))}return r&&(n.style=r),n},e.prototype._mergeStyle=function(t,e){return Object(c.extend)(t,e),t},e.prototype.getAnimationStyleProps=function(){return y},e.initDefaultProps=((r=e.prototype).type="displayable",r.invisible=!1,r.z=0,r.z2=0,r.zlevel=0,r.culling=!1,r.cursor="pointer",r.rectHover=!1,r.incremental=!1,r._rect=null,r.dirtyRectTolerance=0,void(r.__dirty=l.a|l.c)),e}(o.a),x=new h.a(0,0,0,0),w=new h.a(0,0,0,0);e.c=m},546:function(t,e,r){"use strict";var n=r(29),o=r(18),h=r(7),c=r(22),l=[],f=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function d(t,e,r){var n=t.cpx2,o=t.cpy2;return null!=n||null!=o?[(r?c.b:c.a)(t.x1,t.cpx1,t.cpx2,t.x2,e),(r?c.b:c.a)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(r?c.i:c.h)(t.x1,t.cpx1,t.x2,e),(r?c.i:c.h)(t.y1,t.cpy1,t.y2,e)]}var y=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new f},e.prototype.buildPath=function(t,e){var r=e.x1,n=e.y1,o=e.x2,h=e.y2,f=e.cpx1,d=e.cpy1,y=e.cpx2,v=e.cpy2,_=e.percent;0!==_&&(t.moveTo(r,n),null==y||null==v?(_<1&&(Object(c.n)(r,f,o,_,l),f=l[1],o=l[2],Object(c.n)(n,d,h,_,l),d=l[1],h=l[2]),t.quadraticCurveTo(f,d,o,h)):(_<1&&(Object(c.g)(r,f,y,o,_,l),f=l[1],y=l[2],o=l[3],Object(c.g)(n,d,v,h,_,l),d=l[1],v=l[2],h=l[3]),t.bezierCurveTo(f,d,y,v,o,h)))},e.prototype.pointAt=function(t){return d(this.shape,t,!1)},e.prototype.tangentAt=function(t){var p=d(this.shape,t,!0);return h.normalize(p,p)},e}(o.b);y.prototype.type="bezier-curve",e.a=y},55:function(t,e,r){"use strict";r.d(e,"c",(function(){return n})),r.d(e,"b",(function(){return o}
1)),r.d(e,"a",(function(){return h})),r.d(e,"d",(function(){return d})),r.d(e,"e",(function(){return y}));var n=12,o="sans-serif",h=n+"px "+o;var c,l,f=function(t){var map={};if("undefined"==typeof JSON)return map;for(var i=0;i<t.length;i++){var e=String.fromCharCode(i+32),r=(t.charCodeAt(i)-20)/100;map[e]=r}return map}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),d={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(text,t){if(!c){var canvas=d.createCanvas();c=canvas&&canvas.getContext("2d")}if(c)return l!==t&&(l=c.font=t||h),c.measureText(text);text=text||"";var e=/(\d+)px/.exec(t=t||h),r=e&&+e[1]||n,o=0;if(t.indexOf("mono")>=0)o=r*text.length;else for(var i=0;i<text.length;i++){var y=f[text[i]];o+=null==y?r:y*r}return{width:o}},loadImage:function(t,e,r){var image=new Image;return image.onload=e,image.onerror=r,image.src=t,image}};function y(t){for(var e in d)t[e]&&(d[e]=t[e])}},56:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"c",(function(){return o})),r.d(e,"b",(function(){return h}));var n=1,o=2,h=4},7:function(t,e,r){"use strict";function n(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function o(t,e){return t[0]=e[0],t[1]=e[1],t}function h(t){return[t[0],t[1]]}function c(t,a,b){return t[0]=a,t[1]=b,t}function l(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t}function f(t,e,r,a){return t[0]=e[0]+r[0]*a,t[1]=e[1]+r[1]*a,t}function sub(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t}function d(t){return Math.sqrt(v(t))}r.r(e),r.d(e,"create",(function(){return n})),r.d(e,"copy",(function(){return o})),r.d(e,"clone",(function(){return h})),r.d(e,"set",(function(){return c})),r.d(e,"add",(function(){return l})),r.d(e,"scaleAndAdd",(function(){return f})),r.d(e,"sub",(function(){return sub})),r.d(e,"len",(function(){return d})),r.d(e,"length",(function(){return y})),r.d(e,"lenSquare",(function(){return v})),r.d(e,"lengthSquare",(function(){return _})),r.d(e,"mul",(function(){return m})),r.d(e,"div",(function(){return div})),r.d(e,"dot",(function(){return x})),r.d(e,"scale",(function(){return w})),r.d(e,"normalize",(function(){return O})),r.d(e,"distance",(function(){return S})),r.d(e,"dist",(function(){return j})),r.d(e,"distanceSquare",(function(){return k})),r.d(e,"distSquare",(function(){return T})),r.d(e,"negate",(function(){return M})),r.d(e,"lerp",(function(){return P})),r.d(e,"applyTransform",(function(){return C})),r.d(e,"min",(function(){return A})),r.d(e,"max",(function(){return D}));var y=d;function v(t){return t[0]*t[0]+t[1]*t[1]}var _=v;function m(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t}function div(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t}function x(t,e){return t[0]*e[0]+t[1]*e[1]}function w(t,e,s){return t[0]=e[0]*s,t[1]=e[1]*s,t}function O(t,e){var r=d(e);return 0===r?(t[0]=0,t[1]=0):(t[0]=e[0]/r,t[1]=e[1]/r),t}function S(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var j=S;function k(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var T=k;function M(t,e){return t[0]=-e[0],t[1]=-e[1],t}function P(t,e,r,n){return t[0]=e[0]+n*(r[0]-e[0]),t[1]=e[1]+n*(r[1]-e[1]),t}function C(t,e,r){var n=e[0],o=e[1];return t[0]=r[0]*n+r[2]*o+r[4],t[1]=r[1]*n+r[3]*o+r[5],t}function A(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t}function D(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t}},72:function(t,e,r){"use strict";r.d(e,"a",(function(){return m})),r.d(e,"b",(function(){return x}));var n=r(20),o=r(7),h=n.identity,c=5e-5;function l(t){return t>c||t<-5e-5}var f=[],d=[],y=n.create(),v=Math.abs,_=function(){function t(){}var e;return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return l(this.rotation)||l(this.x)||l(this.y)||l(this.scaleX-1)||l(this.scaleY-1)||l(this.skewX)||l(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),r=this.transform;e||t?(r=r||n.create(),e?this.getLocalTransform(r):h(r),t&&(e?n.mul(r,t,r):n.copy(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)):r&&h(r)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(f);var r=f[0]<0?-1:1,o=f[1]<0?-1:1,h=((f[0]-r)*e+r)/f[0]||0,c=((f[1]-o)*e+o)/f[1]||0;t[0]*=h,t[1]*=h,t[2]*=c,t[3]*=c}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),o=Math.PI/2+n-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(o),e=Math.sqrt(e),this.skewX=o,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=r,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n.mul(d,t.invTransform,e),e=d);var r=this.originX,o=this.originY;
1(r||o)&&(y[4]=r,y[5]=o,n.mul(d,e,y),d[4]-=r,d[5]-=o,e=d),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var r=[t,e],n=this.invTransform;return n&&o.applyTransform(r,r,n),r},t.prototype.transformCoordToGlobal=function(t,e){var r=[t,e],n=this.transform;return n&&o.applyTransform(r,r,n),r},t.prototype.getLineScale=function(){var t=this.transform;return t&&v(t[0]-1)>1e-10&&v(t[3]-1)>1e-10?Math.sqrt(v(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(source){x(this,source)},t.getLocalTransform=function(t,e){e=e||[];var r=t.originX||0,o=t.originY||0,h=t.scaleX,c=t.scaleY,l=t.anchorX,f=t.anchorY,d=t.rotation||0,y=t.x,v=t.y,_=t.skewX?Math.tan(t.skewX):0,m=t.skewY?Math.tan(-t.skewY):0;if(r||o||l||f){var x=r+l,w=o+f;e[4]=-x*h-_*w*c,e[5]=-w*c-m*x*h}else e[4]=e[5]=0;return e[0]=h,e[3]=c,e[1]=m*h,e[2]=_*c,d&&n.rotate(e,e,d),e[4]+=r+y,e[5]+=o+v,e},t.initDefaultProps=((e=t.prototype).scaleX=e.scaleY=e.globalScaleRatio=1,void(e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0)),t}(),m=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function x(t,source){for(var i=0;i<m.length;i++){var e=m[i];t[e]=source[e]}}e.c=_},73:function(t,e,r){"use strict";var n=r(29),o=r(18);var h=r(239),c=function(){this.x=0,this.y=0,this.width=0,this.height=0},l={},f=function(t){function e(e){return t.call(this,e)||this}return Object(n.a)(e,t),e.prototype.getDefaultShape=function(){return new c},e.prototype.buildPath=function(t,e){var r,n,o,c;if(this.subPixelOptimize){var f=Object(h.c)(l,e,this.style);r=f.x,n=f.y,o=f.width,c=f.height,f.r=e.r,e=f}else r=e.x,n=e.y,o=e.width,c=e.height;e.r?function(t,e){var r,n,o,h,c,l=e.x,f=e.y,d=e.width,y=e.height,v=e.r;d<0&&(l+=d,d=-d),y<0&&(f+=y,y=-y),"number"==typeof v?r=n=o=h=v:v instanceof Array?1===v.length?r=n=o=h=v[0]:2===v.length?(r=o=v[0],n=h=v[1]):3===v.length?(r=v[0],n=h=v[1],o=v[2]):(r=v[0],n=v[1],o=v[2],h=v[3]):r=n=o=h=0,r+n>d&&(r*=d/(c=r+n),n*=d/c),o+h>d&&(o*=d/(c=o+h),h*=d/c),n+o>y&&(n*=y/(c=n+o),o*=y/c),r+h>y&&(r*=y/(c=r+h),h*=y/c),t.moveTo(l+r,f),t.lineTo(l+d-n,f),0!==n&&t.arc(l+d-n,f+n,n,-Math.PI/2,0),t.lineTo(l+d,f+y-o),0!==o&&t.arc(l+d-o,f+y-o,o,0,Math.PI/2),t.lineTo(l+h,f+y),0!==h&&t.arc(l+h,f+y-h,h,Math.PI/2,Math.PI),t.lineTo(l,f+r),0!==r&&t.arc(l+r,f+r,r,Math.PI,1.5*Math.PI)}(t,e):t.rect(r,n,o,c)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(o.b);f.prototype.type="rect";e.a=f},74:function(t,e,r){"use strict";r.d(e,"c",(function(){return k})),r.d(e,"b",(function(){return M}));var n=r(29),o=r(344),h=r(209),c=r(0),l=r(26),f=r(76),d=r(73),y=r(14),v=r(53),_=r(55),m={fill:"#000"},x={style:Object(c.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},v.a.style)},w=function(t){function e(e){var r=t.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=m,r.attr(e),r}return Object(n.a)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var i=0;i<this._children.length;i++){var e=this._children[i];e.zlevel=this.zlevel,e.z=this.z,e.z2=this.z2,e.culling=this.culling,e.cursor=this.cursor,e.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var r=this.innerTransformable;return r?r.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var style;this._childCursor=0,P(style=this.style),Object(c.each)(style.rich,P),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new y.a(0,0,0,0),e=this._children,r=[],rect=null,i=0;i<e.length;
vendor: 4,624 bytes, line 1
1i++){var n=e[i],o=n.getBoundingRect(),h=n.getLocalTransform(r);h?(t.copy(o),t.applyTransform(h),(rect=rect||t.clone()).union(t)):(rect=rect||o.clone()).union(o)}this._rect=rect||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||m},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var r=e.rich,n=t.rich||r&&{};return Object(c.extend)(t,e),r&&n?(this._mergeRich(n,r),t.rich=n):n&&(t.rich=n),t},e.prototype._mergeRich=function(t,e){for(var r=Object(c.keys)(e),i=0;i<r.length;i++){var n=r[i];t[n]=t[n]||{},Object(c.extend)(t[n],e[n])}},e.prototype.getAnimationStyleProps=function(){return x},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var style=this.style,t=style.font||_.a,e=style.padding,text=L(style),r=Object(o.a)(text,style),n=R(style),c=!!style.backgroundColor,f=r.outerHeight,d=r.outerWidth,v=r.contentWidth,m=r.lines,x=r.lineHeight,w=this._defaultStyle,O=style.x||0,S=style.y||0,j=style.align||w.align||"left",k=style.verticalAlign||w.verticalAlign||"top",M=O,P=Object(l.b)(S,r.contentHeight,k);if(n||e){var z=Object(l.a)(O,d,j),W=Object(l.b)(S,f,k);n&&this._renderBackground(style,style,z,W,d,f)}P+=x/2,e&&(M=D(O,j,e),"top"===k?P+=e[0]:"bottom"===k&&(P-=e[2]));for(var B=0,E=!1,F=(A("fill"in style?style.fill:(E=!0,w.fill))),X=(C("stroke"in style?style.stroke:c||w.autoStroke&&!E?null:(B=2,w.stroke))),N=style.textShadowBlur>0,I=null!=style.width&&("truncate"===style.overflow||"break"===style.overflow||"breakAll"===style.overflow),H=r.calculatedLineHeight,i=0;i<m.length;i++){var Y=this._getOrCreateChild(h.a),V=Y.createStyle();Y.useStyle(V),V.text=m[i],V.x=M,V.y=P,j&&(V.textAlign=j),V.textBaseline="middle",V.opacity=style.opacity,V.strokeFirst=!0,N&&(V.shadowBlur=style.textShadowBlur||0,V.shadowColor=style.textShadowColor||"transparent",V.shadowOffsetX=style.textShadowOffsetX||0,V.shadowOffsetY=style.textShadowOffsetY||0),V.stroke=X,V.fill=F,X&&(V.lineWidth=style.lineWidth||B,V.lineDash=style.lineDash,V.lineDashOffset=style.lineDashOffset||0),V.font=t,T(V,style),P+=x,I&&Y.setBoundingRect(new y.a(Object(l.a)(V.x,style.width,V.textAlign),Object(l.b)(V.y,H,V.textBaseline),v,H))}},e.prototype._updateRichTexts=function(){var style=this.style,text=L(style),t=Object(o.b)(text,style),e=t.width,r=t.outerWidth,n=t.outerHeight,h=style.padding,c=style.x||0,f=style.y||0,d=this._defaultStyle,y=style.align||d.align,v=style.verticalAlign||d.verticalAlign,_=Object(l.a)(c,r,y),m=Object(l.b)(f,n,v),x=_,w=m;h&&(x+=h[3],w+=h[0]);var O=x+e;R(style)&&this._renderBackground(style,style,_,m,r,n);for(var S=!!style.backgroundColor,i=0;i<t.lines.length;i++){for(var line=t.lines[i],j=line.tokens,k=j.length,T=line.lineHeight,M=line.width,P=0,C=x,A=O,D=k-1,z=void 0;P<k&&(!(z=j[P]).align||"left"===z.align);)this._placeToken(z,style,T,w,C,"left",S),M-=z.width,C+=z.width,P++;for(;D>=0&&"right"===(z=j[D]).align;)this._placeToken(z,style,T,w,A,"right",S),M-=z.width,A-=z.width,D--;for(C+=(e-(C-x)-(O-A)-M)/2;P<=D;)z=j[P],this._placeToken(z,style,T,w,C+z.width/2,"center",S),C+=z.width,P++;w+=T}},e.prototype._placeToken=function(t,style,e,r,n,o,f){var d=style.rich[t.styleName]||{};d.text=t.text;var v=t.verticalAlign,m=r+e/2;"top"===v?m=r+t.height/2:"bottom"===v&&(m=r+e-t.height/2),!t.isLineHolder&&R(d)&&this._renderBackground(d,style,"right"===o?n-t.width:"center"===o?n-t.width/2:n,m-t.height/2,t.width,t.height);var x=!!d.backgroundColor,w=t.textPadding;w&&(n=D(n,o,w),m-=t.height/2-w[0]-t.innerHeight/2);var O=this._getOrCreateChild(h.a),S=O.createStyle();O.useStyle(S);var j=this._defaultStyle,k=!1,M=0,P=A("fill"in d?d.fill:"fill"in style?style.fill:(k=!0,j.fill)),L=C("stroke"in d?d.stroke:"stroke"in style?style.stroke:x||f||j.autoStroke&&!k?null:(M=2,j.stroke)),z=d.textShadowBlur>0||style.textShadowBlur>0;S.text=t.text,S.x=n,S.y=m,z&&(S.shadowBlur=d.textShadowBlur||style.textShadowBlur||0,S.shadowColor=d.textShadowColor||style.textShadowColor||"transparent",S.shadowOffsetX=d.textShadowOffsetX||style.textShadowOffsetX||0,S.shadowOffsetY=d.textShadowOffsetY||style.textShadowOffsetY||0),S.textAlign=o,S.textBaseline="middle",S.font=t.font||_.a,S.opacity=Object(c.retrieve3)(d.opacity,style.opacity,1),T(S,d),L&&(S.lineWidth=Object(c.retrieve3)(d.lineWidth,style.lineWidth,M),S.lineDash=Object(c.retrieve2)(d.lineDash,style.lineDash),S.lineDashOffset=style.lineDashOffset||0,S.stroke=L),P&&(S.fill=P);var W=t.contentWidth,B=t.contentHeight;
1O.setBoundingRect(new y.a(Object(l.a)(S.x,W,S.textAlign),Object(l.b)(S.y,B,S.textBaseline),W,B))},e.prototype._renderBackground=function(style,t,e,r,n,o){var h,l,y,v=style.backgroundColor,_=style.borderWidth,m=style.borderColor,x=v&&v.image,w=v&&!x,O=style.borderRadius,S=this;if(w||style.lineHeight||_&&m){(h=this._getOrCreateChild(d.a)).useStyle(h.createStyle()),h.style.fill=null;var j=h.shape;j.x=e,j.y=r,j.width=n,j.height=o,j.r=O,h.dirtyShape()}if(w)(y=h.style).fill=v||null,y.fillOpacity=Object(c.retrieve2)(style.fillOpacity,1);else if(x){(l=this._getOrCreateChild(f.a)).onload=function(){S.dirtyStyle()};var k=l.style;k.image=v.image,k.x=e,k.y=r,k.width=n,k.height=o}_&&m&&((y=h.style).lineWidth=_,y.stroke=m,y.strokeOpacity=Object(c.retrieve2)(style.strokeOpacity,1),y.lineDash=style.borderDash,y.lineDashOffset=style.borderDashOffset||0,h.strokeContainThreshold=0,h.hasFill()&&h.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2));var T=(h||l).style;T.shadowBlur=style.shadowBlur||0,T.shadowColor=style.shadowColor||"transparent",T.shadowOffsetX=style.shadowOffsetX||0,T.shadowOffsetY=style.shadowOffsetY||0,T.opacity=Object(c.retrieve3)(style.opacity,t.opacity,1)},e.makeFont=function(style){var t="";return M(style)&&(t=[style.fontStyle,style.fontWeight,k(style.fontSize),style.fontFamily||"sans-serif"].join(" ")),t&&Object(c.trim)(t)||style.textFont||style.font},e}(v.c),O={left:!0,right:1,center:1},S={top:1,bottom:1,middle:1},j=["fontStyle","fontWeight","fontSize","fontFamily"];function k(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?_.c+"px":t+"px":t}function T(t,e){for(var i=0;i<j.length;i++){var r=j[i],n=e[r];null!=n&&(t[r]=n)}}function M(style){return null!=style.fontSize||style.fontFamily||style.fontWeight}function P(style){if(style){style.font=w.makeFont(style);var t=style.align;"middle"===t&&(t="center"),style.align=null==t||O[t]?t:"left";var e=style.verticalAlign;"center"===e&&(e="middle"),style.verticalAlign=null==e||S[e]?e:"top",style.padding&&(style.padding=Object(c.normalizeCssArray)(style.padding))}}function C(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function A(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function D(t,e,r){return"right"===e?t-r[1]:"center"===e?t+r[3]/2-r[1]/2:t+r[3]}function L(style){var text=style.text;return null!=text&&(text+=""),text}function R(style){return!!(style.backgroundColor||style.lineHeight||style.borderWidth&&style.borderColor)}e.a=w},76:function(t,e,r){"use strict";var n=r(29),o=r(53),h=r(14),c=r(0),l=Object(c.defaults)({x:0,y:0},o.b),f={style:Object(c.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},o.a.style)};var d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(n.a)(e,t),e.prototype.createStyle=function(t){return Object(c.createObject)(l,t)},e.prototype._getSize=function(t){var style=this.style,e=style[t];if(null!=e)return e;var source,r=(source=style.image)&&"string"!=typeof source&&source.width&&source.height?style.image:this.__image;if(!r)return 0;var n="width"===t?"height":"width",o=style[n];return null==o?r[t]:r[t]/r[n]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return f},e.prototype.getBoundingRect=function(){var style=this.style;return this._rect||(this._rect=new h.a(style.x||0,style.y||0,this.getWidth(),this.getHeight())),this._rect},e}(o.c);d.prototype.type="image",e.a=d},764:function(t,e,r){"use strict";var n=r(29),o=r(53),h=r(14),c=[],l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return Object(n.a)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i<t.length;i++)this.addDisplayable(t[i],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var i=this._cursor;i<this._displayables.length;i++)t&&t(this._displayables[i]);for(i=0;i<this._temporaryDisplayables.length;i++)t&&t(this._temporaryDisplayables[i])},e.prototype.update=function(){this.updateTransform();for(var i=this._cursor;i<this._displayables.length;
1i++){(t=this._displayables[i]).parent=this,t.update(),t.parent=null}for(i=0;i<this._temporaryDisplayables.length;i++){var t;(t=this._temporaryDisplayables[i]).parent=this,t.update(),t.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var rect=new h.a(1/0,1/0,-1/0,-1/0),i=0;i<this._displayables.length;i++){var t=this._displayables[i],e=t.getBoundingRect().clone();t.needLocalTransform()&&e.applyTransform(t.getLocalTransform(c)),rect.union(e)}this._rect=rect}return this._rect},e.prototype.contain=function(t,e){var r=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(r[0],r[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(t,e))return!0}return!1},e}(o.c);e.a=l},82:function(t,e,r){"use strict";var n=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,r,n){this._$handlers||(this._$handlers={});var o=this._$handlers;if("function"==typeof e&&(n=r,r=e,e=null),!r||!t)return this;var h=this._$eventProcessor;null!=e&&h&&h.normalizeQuery&&(e=h.normalizeQuery(e)),o[t]||(o[t]=[]);for(var i=0;i<o[t].length;i++)if(o[t][i].h===r)return this;var c={h:r,query:e,ctx:n||this,callAtLast:r.zrEventfulCallAtLast},l=o[t].length-1,f=o[t][l];return f&&f.callAtLast?o[t].splice(l,0,c):o[t].push(c),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var r=this._$handlers;if(!r)return this;if(!t)return this._$handlers={},this;if(e){if(r[t]){for(var n=[],i=0,o=r[t].length;i<o;i++)r[t][i].h!==e&&n.push(r[t][i]);r[t]=n}r[t]&&0===r[t].length&&delete r[t]}else delete r[t];return this},t.prototype.trigger=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[t],o=this._$eventProcessor;if(n)for(var h=e.length,c=n.length,i=0;i<c;i++){var l=n[i];if(!o||!o.filter||null==l.query||o.filter(t,l.query))switch(h){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return o&&o.afterTrigger&&o.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[t],o=this._$eventProcessor;if(n)for(var h=e.length,c=e[h-1],l=n.length,i=0;i<l;i++){var f=n[i];if(!o||!o.filter||null==f.query||o.filter(t,f.query))switch(h){case 0:f.h.call(c);break;case 1:f.h.call(c,e[0]);break;case 2:f.h.call(c,e[0],e[1]);break;default:f.h.apply(c,e.slice(1,h-1))}}return o&&o.afterTrigger&&o.afterTrigger(t),this},t}();e.a=n},833:function(t,e,r){"use strict";var n,o,h=r(29),c=r(47),l=r(0),f=r(82),d=r(23),y=d.a.domSupported,v=(o={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:n=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:l.map(n,(function(t){var e=t.replace("mouse","pointer");return o.hasOwnProperty(e)?e:t}))}),_=["mousemove","mouseup"],m=["pointermove","pointerup"],x=!1;function w(t){var e=t.pointerType;return"pen"===e||"touch"===e}function O(t){t&&(t.zrByTouch=!0)}function S(t,e){for(var r=e,n=!1;r&&9!==r.nodeType&&!(n=r.domBelongToZr||r!==e&&r===t.painterRoot);)r=r.parentNode;return n}var j=function(t,e){this.stopPropagation=l.noop,this.stopImmediatePropagation=l.noop,this.preventDefault=l.noop,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},k={mousedown:function(t){t=Object(c.e)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Object(c.e)(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=Object(c.e)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){S(this,(t=Object(c.e)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){x=!0,t=Object(c.e)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){x||(t=Object(c.e)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){O(t=Object(c.e)(this.dom,t)),this.__lastTouchMoment=ne
1w Date,this.handler.processGesture(t,"start"),k.mousemove.call(this,t),k.mousedown.call(this,t)},touchmove:function(t){O(t=Object(c.e)(this.dom,t)),this.handler.processGesture(t,"change"),k.mousemove.call(this,t)},touchend:function(t){O(t=Object(c.e)(this.dom,t)),this.handler.processGesture(t,"end"),k.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&k.click.call(this,t)},pointerdown:function(t){k.mousedown.call(this,t)},pointermove:function(t){w(t)||k.mousemove.call(this,t)},pointerup:function(t){k.mouseup.call(this,t)},pointerout:function(t){w(t)||k.mouseout.call(this,t)}};l.each(["click","dblclick","contextmenu"],(function(t){k[t]=function(e){e=Object(c.e)(this.dom,e),this.trigger(t,e)}}));var T={pointermove:function(t){w(t)||T.mousemove.call(this,t)},pointerup:function(t){T.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function M(t,e){var r=e.domHandlers;d.a.pointerEventsSupported?l.each(v.pointer,(function(n){C(e,n,(function(e){r[n].call(t,e)}))})):(d.a.touchEventsSupported&&l.each(v.touch,(function(n){C(e,n,(function(o){r[n].call(t,o),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),l.each(v.mouse,(function(n){C(e,n,(function(o){o=Object(c.c)(o),e.touching||r[n].call(t,o)}))})))}function P(t,e){function r(r){C(e,r,(function(n){n=Object(c.c)(n),S(t,n.target)||(n=function(t,e){return Object(c.e)(t.dom,new j(t,e),!0)}(t,n),e.domHandlers[r].call(t,n))}),{capture:!0})}d.a.pointerEventsSupported?l.each(m,r):d.a.touchEventsSupported||l.each(_,r)}function C(t,e,r,n){t.mounted[e]=r,t.listenerOpts[e]=n,Object(c.a)(t.domTarget,e,r,n)}function A(t){var e=t.mounted;for(var r in e)e.hasOwnProperty(r)&&Object(c.f)(t.domTarget,r,e[r],t.listenerOpts[r]);t.mounted={}}var D=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},L=function(t){function e(e,r){var n=t.call(this)||this;return n.__pointerCapturing=!1,n.dom=e,n.painterRoot=r,n._localHandlerScope=new D(e,k),y&&(n._globalHandlerScope=new D(document,T)),M(n,n._localHandlerScope),n}return Object(h.a)(e,t),e.prototype.dispose=function(){A(this._localHandlerScope),y&&A(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,y&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?P(this,e):A(e)}},e}(f.a);e.a=L},835:function(t,e,r){"use strict";var n=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},o=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new n(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var r=t.offsetX,o=t.offsetY,h=r-this._x,c=o-this._y;this._x=r,this._y=o,e.drift(h,c,t),this.handler.dispatchToElement(new n(e,t),"drag",t.event);var l=this.handler.findHover(r,o,e).target,f=this._dropTarget;this._dropTarget=l,e!==l&&(f&&l!==f&&this.handler.dispatchToElement(new n(f,t),"dragleave",t.event),l&&l!==f&&this.handler.dispatchToElement(new n(l,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new n(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new n(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}();e.a=o},836:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(47),o=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,r){return this._doTrack(t,e,r),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,r){var o=t.touches;if(o){for(var h={points:[],touches:[],target:e,event:t},i=0,c=o.length;i<c;i++){var l=o[i],f=n.b(r,l,{});h.points.push([f.zrX,f.zrY]),h.touches.push(l)}this._track.push(h)}},t.prototype._recognize=function(t){for(var e in c)if(c.hasOwnProperty(e)){var r=c[e](this._track,t);if(r)return r}},t}();function h(t){var e=t[1][0]-t[0][0],r=t[1][1]-t[0][1];return Math.sqrt(e*e+r*r)}var c={pinch:function(t,e){var r=t.length;if(r){var n,o=(t[r-1]||{}).points,c=(t[r-2]||{}).points||o;if(c&&c.length>1&&o&&o.length>1){var l=h(o)/h(c);!isFinite(l)&&(l=1),e.pinchScale=l;var f=[((n=o)[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2];return e.pinchX=f[0],e.pinchY=f[1],{type:"pinch",target:t[0].target,event:e}}}}}},841:function(t,e,r){"use strict";var n=Math.round(9*Math.random()),o="function"==typeof Object.defineProperty,h=function(){function t(){this._id="__ec_inner_"+n++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var r=this._guard(t);return o?Object.defineProperty(r,this._id,{value:e,enumerable:!1,
1configurable:!0}):r[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}();e.a=h},848:function(t,e,r){"use strict";var n=r(314),o=r(50),h=r(40),c=r(0),l=r(570),f=r(130),d=0,y=function(){function t(t,e,r){if(this.type="svg",this.refreshHover=function(){0},this.configLayer=function(){0},this.storage=e,this._opts=r=Object(c.extend)({},r),this.root=t,this._id="zr"+d++,this._oldVNode=Object(o.f)(r.width,r.height),t&&!r.ssr){var n=this._viewport=document.createElement("div");n.style.cssText="position:relative;overflow:hidden";var h=this._svgDom=this._oldVNode.elm=Object(o.e)("svg");Object(l.b)(null,this._oldVNode),n.appendChild(h),t.appendChild(n)}this.resize(r.width,r.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",Object(l.a)(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Object(n.a)(t,Object(o.d)(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),r=this._width,l=this._height,f=Object(o.d)(this._id);f.animation=t.animation,f.willUpdate=t.willUpdate,f.compress=t.compress;var d=[],y=this._bgVNode=function(t,e,r,l){var f;if(r&&"none"!==r)if(f=Object(o.g)("rect","bg",{width:t,height:e,x:"0",y:"0",id:"0"}),Object(h.k)(r))Object(n.c)({fill:r},f.attrs,"fill",l);else if(Object(h.n)(r))Object(n.d)({style:{fill:r},dirty:c.noop,getBoundingRect:function(){return{width:t,height:e}}},f.attrs,"fill",l);
1else{var d=Object(h.p)(r),y=d.color,v=d.opacity;f.attrs.fill=y,v<1&&(f.attrs["fill-opacity"]=v)}return f}(r,l,this._backgroundColor,f);y&&d.push(y);var v=t.compress?null:this._mainVNode=Object(o.g)("g","main",{},[]);this._paintList(e,f,v?v.children:d),v&&d.push(v);var defs=Object(c.map)(Object(c.keys)(f.defs),(function(t){return f.defs[t]}));if(defs.length&&d.push(Object(o.g)("defs","defs",{},defs)),t.animation){var _=Object(o.h)(f.cssNodes,f.cssAnims,{newline:!0});if(_){var m=Object(o.g)("style","stl",{},[],_);d.push(m)}}return Object(o.f)(r,l,d,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},Object(o.i)(this.renderToVNode({animation:Object(c.retrieve2)(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(c.retrieve2)(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,r){for(var h,c,l=t.length,f=[],d=0,y=0,i=0;i<l;i++){var v=t[i];if(!v.invisible){var _=v.__clipPaths,m=_&&_.length||0,x=c&&c.length||0,w=void 0;for(w=Math.max(m-1,x-1);w>=0&&(!_||!c||_[w]!==c[w]);w--);for(var O=x-1;O>w;O--)h=f[--d-1];for(var S=w+1;S<m;S++){var j={};Object(n.b)(_[S],j,e);var g=Object(o.g)("g","clip-g-"+y++,j,[]);(h?h.children:r).push(g),f[d++]=g,h=g}c=_;var k=Object(n.a)(v,e);k&&(h?h.children:r).push(k)}}},t.prototype.resize=function(t,e){var r=this._opts,n=this.root,o=this._viewport;if(null!=t&&(r.width=t),null!=e&&(r.height=e),n&&o&&(o.style.display="none",t=Object(f.b)(n,0,r),e=Object(f.b)(n,1,r),o.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,o){var c=o.style;c.width=t+"px",c.height=e+"px"}if(Object(h.n)(this._backgroundColor))this.refresh();else{var l=this._svgDom;l&&(l.setAttribute("width",t),l.setAttribute("height",e));var d=this._bgVNode&&this._bgVNode.elm;d&&(d.setAttribute("width",t),d.setAttribute("height",e))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=this.renderToString(),r="data:image/svg+xml;";return t?(e=Object(h.c)(e))&&r+"base64,"+e:r+"charset=UTF-8,"+encodeURIComponent(e)},t}();e.a=y},90:function(t,e,r){"use strict";r.d(e,"d",(function(){return f})),r.d(e,"c",(function(){return d})),r.d(e,"b",(function(){return y})),r.d(e,"a",(function(){return m}));var n=r(23),o=Math.log(2);function h(t,e,r,n,c,l){var f=n+"-"+c,d=t.length;if(l.hasOwnProperty(f))return l[f];if(1===e){var y=Math.round(Math.log((1<<d)-1&~c)/o);return t[r][y]}for(var v=n|1<<r,_=r+1;n&1<<_;)_++;for(var m=0,x=0,w=0;x<d;x++){var O=1<<x;O&c||(m+=(w%2?-1:1)*t[r][x]*h(t,e-1,_,v,c|O,l),w++)}return l[f]=m,m}function c(t,e){var r=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],n={},o=h(r,8,0,0,0,n);if(0!==o){for(var c=[],i=0;i<8;i++)for(var l=0;l<8;l++)null==c[l]&&(c[l]=0),c[l]+=((i+l)%2?-1:1)*h(r,7,0===i?1:0,1<<i,1<<l,n)/o*e[i];return function(t,e,r){var n=e*c[6]+r*c[7]+1;t[0]=(e*c[0]+r*c[1]+c[2])/n,t[1]=(e*c[3]+r*c[4]+c[5])/n}}}var l=[];function f(t,e,r,n,o){return d(l,e,n,o,!0)&&d(t,r,l[0],l[1])}function d(t,e,r,o,h){if(e.getBoundingClientRect&&n.a.domSupported&&!y(e)){var l=e.___zrEVENTSAVED||(e.___zrEVENTSAVED={}),f=function(t,e){var r=e.markers;if(r)return r;r=e.markers=[];for(var n=["left","right"],o=["top","bottom"],i=0;i<4;i++){var marker=document.createElement("div"),h=i%2,c=(i>>1)%2;marker.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[h]+":0",o[c]+":0",n[1-h]+":auto",o[1-c]+":auto",""].join("!important;"),t.appendChild(marker),r.push(marker)}return r}(e,l),d=function(t,e,r){for(var n=r?"invTrans":"trans",o=e[n],h=e.srcCoords,l=[],f=[],d=!0,i=0;i<4;i++){var rect=t[i].getBoundingClientRect(),y=2*i,v=rect.left,_=rect.top;l.push(v,_),d=d&&h&&v===h[y]&&_===h[y+1],f.push(t[i].offsetLeft,t[i].offsetTop)}return d&&o?o:(e.srcCoords=l,e[n]=r?c(f,l):c(l,f))}(f,l,h);if(d)return d(t,r,o),!0}return!1}function y(t){return"CANVAS"===t.nodeName.toUpperCase()}var v=/([&<>"'])/g,_={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function m(source){return null==source?"":(source+"").replace(v,(function(t,e){return _[e]}))}},92:function(t,e,r){"use strict";r.d(e,"b",(function(){return D}));var n=r(7),o=r(14),h=r(101),c=r(144),l=r(22),f={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},d=[],y=[],v=[],_=[],m=[],x=[],w=Math.min,O=Math.max,S=Math.cos,j=Math.sin,k=Math.abs,T=Math.PI,M=2*T,P="undefined"!=typeof Float32Array,C=[];function A(t){return Math.round(t/T*1e8)/1e8%2*T}function D(t,e){var r=A(t[0]);r<0&&(r+=M);var n=r-t[0],o=t[1];o+=n,!e&&o-r>=M?o=r+M:e&&r-o>=M?o=r-M:!e&&r>o?o=r+(M-A(r-o)):e&&r<o&&(o=r-(M-A(o-r))),t[0]=r,t[1]=o}var L=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}var e;return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,r){(r=r||0)>0&&(this._ux=k(r/h.e/t)||0,this._uy=k(r/h.e/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(f.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var r=k(t-this._xi),n=k(e-this._yi),o=r>this._ux||n>this._uy;if(this.addData(f.L,t,e),this._ctx&&o&&this._ctx.lineTo(t,e),o)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var h=r*r+n*n;h>
vendor: 6,573 bytes, line 1
1this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=h)}return this},t.prototype.bezierCurveTo=function(t,e,r,n,o,h){return this._drawPendingPt(),this.addData(f.C,t,e,r,n,o,h),this._ctx&&this._ctx.bezierCurveTo(t,e,r,n,o,h),this._xi=o,this._yi=h,this},t.prototype.quadraticCurveTo=function(t,e,r,n){return this._drawPendingPt(),this.addData(f.Q,t,e,r,n),this._ctx&&this._ctx.quadraticCurveTo(t,e,r,n),this._xi=r,this._yi=n,this},t.prototype.arc=function(t,e,r,n,o,h){this._drawPendingPt(),C[0]=n,C[1]=o,D(C,h),n=C[0];var c=(o=C[1])-n;return this.addData(f.A,t,e,r,r,n,c,0,h?0:1),this._ctx&&this._ctx.arc(t,e,r,n,o,h),this._xi=S(o)*r+t,this._yi=j(o)*r+e,this},t.prototype.arcTo=function(t,e,r,n,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,r,n,o),this},t.prototype.rect=function(t,e,r,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,r,n),this.addData(f.R,t,e,r,n),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(f.Z);var t=this._ctx,e=this._x0,r=this._y0;return t&&t.closePath(),this._xi=e,this._yi=r,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(data){var t=data.length;this.data&&this.data.length===t||!P||(this.data=new Float32Array(t));for(var i=0;i<t;i++)this.data[i]=data[i];this._len=t},t.prototype.appendPath=function(path){path instanceof Array||(path=[path]);for(var t=path.length,e=0,r=this._len,i=0;i<t;i++)e+=path[i].len();P&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+e));for(i=0;i<t;i++)for(var n=path[i].data,o=0;o<n.length;o++)this.data[r++]=n[o];this._len=r},t.prototype.addData=function(t,a,b,e,r,n,o,g,h){if(this._saveData){var data=this.data;this._len+arguments.length>data.length&&(this._expandData(),data=this.data);for(var i=0;i<arguments.length;i++)data[this._len++]=arguments[i]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],i=0;i<this._len;i++)t[i]=this.data[i];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var data=this.data;data instanceof Array&&(data.length=this._len,P&&this._len>11&&(this.data=new Float32Array(data)))}},t.prototype.getBoundingRect=function(){v[0]=v[1]=m[0]=m[1]=Number.MAX_VALUE,_[0]=_[1]=x[0]=x[1]=-Number.MAX_VALUE;var i,data=this.data,t=0,e=0,r=0,h=0;for(i=0;i<this._len;){var l=data[i++],d=1===i;switch(d&&(r=t=data[i],h=e=data[i+1]),l){case f.M:t=r=data[i++],e=h=data[i++],m[0]=r,m[1]=h,x[0]=r,x[1]=h;break;case f.L:Object(c.c)(t,e,data[i],data[i+1],m,x),t=data[i++],e=data[i++];break;case f.C:Object(c.b)(t,e,data[i++],data[i++],data[i++],data[i++],data[i],data[i+1],m,x),t=data[i++],e=data[i++];break;case f.Q:Object(c.e)(t,e,data[i++],data[i++],data[i],data[i+1],m,x),t=data[i++],e=data[i++];break;case f.A:var y=data[i++],w=data[i++],O=data[i++],k=data[i++],T=data[i++],M=data[i++]+T;i+=1;var P=!data[i++];d&&(r=S(T)*O+y,h=j(T)*k+w),Object(c.a)(y,w,O,k,T,M,P,m,x),t=S(M)*O+y,e=j(M)*k+w;break;case f.R:r=t=data[i++],h=e=data[i++];var C=data[i++],A=data[i++];Object(c.c)(r,h,r+C,h+A,m,x);break;case f.Z:t=r,e=h}n.min(v,v,m),n.max(_,_,x)}return 0===i&&(v[0]=v[1]=_[0]=_[1]=0),new o.a(v[0],v[1],_[0]-v[0],_[1]-v[1])},t.prototype._calculateLength=function(){var data=this.data,t=this._len,e=this._ux,r=this._uy,n=0,o=0,h=0,c=0;this._pathSegLen||(this._pathSegLen=[]);for(var d=this._pathSegLen,y=0,v=0,i=0;i<t;){var _=data[i++],m=1===i;m&&(h=n=data[i],c=o=data[i+1]);var x=-1;switch(_){case f.M:n=h=data[i++],o=c=data[i++];break;case f.L:var T=data[i++],P=(D=data[i++])-o;(k(I=T-n)>e||k(P)>r||i===t-1)&&(x=Math.sqrt(I*I+P*P),n=T,o=D);break;case f.C:var C=data[i++],A=data[i++],D=(T=data[i++],data[i++]),L=data[i++],R=data[i++];x=Object(l.d)(n,o,C,A,T,D,L,R,10),n=L,o=R;break;case f.Q:C=data[i++],A=data[i++],T=data[i++],D=data[i++];x=Object(l.k)(n,o,C,A,T,D,10),n=T,o=D;break;case f.A:var z=data[i++],W=data[i++],B=data[i++],E=data[i++],F=data[i++],X=data[i++],N=X+F;i+=1;data[i++];m&&(h=S(F)*B+z,c=j(F)*E+W),x=O(B,E)*w(M,Math.abs(X)),n=S(N)*B+z,o=j(N)*E+W;break;case f.R:h=n=data[i++],c=o=data[i++],x=2*data[i++]+2*data[i++];break;case f.Z:var I=h-n;P=c-o;x=Math.sqrt(I*I+P*P),n=h,o=c}x>=0&&(d[v++]=x,y+=x)}return this._pathLen=y,y},t.prototype.rebuildPath=function(t,e){var r,n,o,h,c,v,_,m,x,T,M=this.data,P=this._ux,C=this._uy,A=this._len,D=e<1,L=0,R=0,z=0;if(!D||(this._pathSegLen||this._calculateLength(),_=this._pathSegLen,m=e*this._pathLen))t:for(var i=0;i<A;){var W=M[i++],B=1===i;switch(B&&(r=o=M[i],n=h=M[i+1]),W!==f.L&&z>0&&(t.lineTo(x,T),z=0),W){case f.M:r=o=M[i++],n=h=M[i++],t.moveTo(o,h);break;case f.L:c=M[i++],v=M[i++];var E=k(c-o),F=k(v-h);if(E>P||F>C){if(D){if(L+(lt=_[R++])>m){var X=(m-L)/lt;t.lineTo(o*(1-X)+c*X,h*(1-X)+v*X);break t}L+=lt}t.lineTo(c,v),o=c,h=v,z=0}else{var N=E*E+F*F;N>z&&(x=c,T=v,z=N)}break;case f.C:var I=M[i++],H=M[i++],Y=M[i++],V=M[i++],Z=M[i++],U=M[i++];if(D){if(L+(lt=_[R++])>m){X=(m-L)/lt;Object(l.g)(o,I,Y,Z,X,d),Object(l.g)(h,H,V,U,X,y),t.bezierCurveTo(d[1],y[1],d[2],y[2],d[3],y[3]);break t}L+=lt}t.bezierCurveTo(I,H,Y,V,Z,U),o=Z,h=U;break;case f.Q:I=M[i++],H=M[i++],Y=M[i++],V=M[i++];if(D){if(L+(lt=_[R++])>m){X=(m-L)/lt;Object(l.n)(o,I,Y,X,d),Object(l.n)(h,H,V,X,y),t.quadraticCurveTo(d[1],y[1],d[2],y[2]);break t}L+=lt}t.quadraticCurveTo(I,H,Y,V),o=Y,h=V;break;case f.A:var G=M[i++],$=M[i++],Q=M[i++],K=M[i++],J=M[i++],tt=M[i++],et=M[i++],nt=!M[i++],it=Q>K?Q:K,ot=k(Q-K)>.001,at=J+tt,st=!1;if(D)L+(lt=_[R++])>m&&(at=J+tt*(m-L)/lt,st=!0),L+=lt;if(ot&&t.ellipse?t.ellipse(G,$,Q,K,et,J,at,nt):t.arc(G,$,it,J,at,nt),st)break t;B&&(r=S(J)*Q+G,n=j(J)*K+$),o=S(at)*Q+G,h=j(at)*K+$;break;case f.R:r=o=M[i],n=h=M[i+1],c=M[i++],v=M[i++];var ut=M[i++],ht=M[i++];if(D){if(L+(lt=_[R++])>m){var ct=m-L;t.moveTo(c,v),t.lineTo(c+w(ct,ut),v),(ct-=ut)>0&&t.lineTo(c+ut,v+w(ct,ht)),(ct-=ht)>0&&t.lineTo(c+O(ut-ct,0),v+ht),(ct-=ut)>0&&t.lineTo(c,v+O(ht-ct,0));break t}L+=lt}t.rect(c,v,ut,ht);break;case f.Z:if(D){var lt;if(L+(lt=_[R++])>m){X=(m-L)/lt;t.lineTo(o*(1-X)+r*X,h*(1-X)+n*X);break t}L+=lt}t.closePath(),o=r,h=n}}},t.prototype.clone=function(){var e=new t,data=this.data;return e.data=data.slice?data.slice():Array.prototype.slice.call(data),e._len=this._len,e},t.CMD=f,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}();e.a=L}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.