UNPKG

inmarkx

Version:
1 lines 315 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("inMark",[],e):"object"==typeof exports?exports.inMark=e():t.inMark=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=190)}([function(t,e,n){var r=n(2),i=n(22),o=n(13),a=n(14),s=n(23),u=function(t,e,n){var c,h,l,f,d=t&u.F,p=t&u.G,v=t&u.S,g=t&u.P,_=t&u.B,y=p?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,m=p?i:i[e]||(i[e]={}),x=m.prototype||(m.prototype={});p&&(n=e);for(c in n)h=!d&&y&&void 0!==y[c],l=(h?y:n)[c],f=_&&h?s(l,r):g&&"function"==typeof l?s(Function.call,l):l,y&&a(y,c,l,t&u.U),m[c]!=l&&o(m,c,f),g&&x[c]!=l&&(x[c]=l)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){function n(t,e){"createCanvas"===t&&(J=null),Q[t]=e}function r(t){if(null==t||"object"!=typeof t)return t;var e=t,n=G.call(t);if("[object Array]"===n){if(!z(t)){e=[];for(var i=0,o=t.length;i<o;i++)e[i]=r(t[i])}}else if(H[n]){if(!z(t)){var a=t.constructor;if(t.constructor.from)e=a.from(t);else{e=new a(t.length);for(var i=0,o=t.length;i<o;i++)e[i]=r(t[i])}}}else if(!W[n]&&!z(t)&&!T(t)){e={};for(var s in t)t.hasOwnProperty(s)&&(e[s]=r(t[s]))}return e}function i(t,e,n){if(!S(e)||!S(t))return n?r(e):t;for(var o in e)if(e.hasOwnProperty(o)){var a=t[o],s=e[o];!S(s)||!S(a)||x(s)||x(a)||T(s)||T(a)||M(s)||M(a)||z(s)||z(a)?!n&&o in t||(t[o]=r(e[o],!0)):i(a,s,n)}return t}function o(t,e){for(var n=t[0],r=1,o=t.length;r<o;r++)n=i(n,t[r],e);return n}function a(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function s(t,e,n){for(var r in e)e.hasOwnProperty(r)&&(n?null!=e[r]:null==t[r])&&(t[r]=e[r]);return t}function u(){return J||(J=$().getContext("2d")),J}function c(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n}return-1}function h(t,e){function n(){}var r=t.prototype;n.prototype=e.prototype,t.prototype=new n;for(var i in r)r.hasOwnProperty(i)&&(t.prototype[i]=r[i]);t.prototype.constructor=t,t.superClass=e}function l(t,e,n){t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,s(t,e,n)}function f(t){if(t)return"string"!=typeof t&&"number"==typeof t.length}function d(t,e,n){if(t&&e)if(t.forEach&&t.forEach===U)t.forEach(e,n);else if(t.length===+t.length)for(var r=0,i=t.length;r<i;r++)e.call(n,t[r],r,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function p(t,e,n){if(t&&e){if(t.map&&t.map===q)return t.map(e,n);for(var r=[],i=0,o=t.length;i<o;i++)r.push(e.call(n,t[i],i,t));return r}}function v(t,e,n,r){if(t&&e){if(t.reduce&&t.reduce===Z)return t.reduce(e,n,r);for(var i=0,o=t.length;i<o;i++)n=e.call(r,n,t[i],i,t);return n}}function g(t,e,n){if(t&&e){if(t.filter&&t.filter===V)return t.filter(e,n);for(var r=[],i=0,o=t.length;i<o;i++)e.call(n,t[i],i,t)&&r.push(t[i]);return r}}function _(t,e,n){if(t&&e)for(var r=0,i=t.length;r<i;r++)if(e.call(n,t[r],r,t))return t[r]}function y(t,e){var n=X.call(arguments,2);return function(){return t.apply(e,n.concat(X.call(arguments)))}}function m(t){var e=X.call(arguments,1);return function(){return t.apply(this,e.concat(X.call(arguments)))}}function x(t){return"[object Array]"===G.call(t)}function b(t){return"function"==typeof t}function w(t){return"[object String]"===G.call(t)}function S(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function M(t){return!!W[G.call(t)]}function k(t){return!!H[G.call(t)]}function T(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function P(t){return t!==t}function E(t){for(var e=0,n=arguments.length;e<n;e++)if(null!=arguments[e])return arguments[e]}function C(t,e){return null!=t?t:e}function A(t,e,n){return null!=t?t:null!=e?e:n}function O(){return Function.call.apply(X,arguments)}function I(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function D(t,e){if(!t)throw new Error(e)}function L(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function R(t){t[K]=!0}function z(t){return t[K]}function N(t){function e(t,e){n?r.set(t,e):r.set(e,t)}var n=x(t);this.data={};var r=this;t instanceof N?t.each(e):t&&d(t,e)}function F(t){return new N(t)}function j(t,e){for(var n=new t.constructor(t.length+e.length),r=0;r<t.length;r++)n[r]=t[r];var i=t.length;for(r=0;r<e.length;r++)n[r+i]=e[r];return n}function B(){}var W={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},H={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},G=Object.prototype.toString,Y=Array.prototype,U=Y.forEach,V=Y.filter,X=Y.slice,q=Y.map,Z=Y.reduce,Q={},$=function(){return Q.createCanvas()};Q.createCanvas=function(){return document.createElement("canvas")};var J,K="__ec_primitive__";N.prototype={constructor:N,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){void 0!==e&&(t=y(t,e));for(var n in this.data)this.data.hasOwnProperty(n)&&t(this.data[n],n)},removeKey:function(t){delete this.data[t]}},e.$override=n,e.clone=r,e.merge=i,e.mergeAll=o,e.extend=a,e.defaults=s,e.createCanvas=$,e.getContext=u,e.indexOf=c,e.inherits=h,e.mixin=l,e.isArrayLike=f,e.each=d,e.map=p,e.reduce=v,e.filter=g,e.find=_,e.bind=y,e.curry=m,e.isArray=x,e.isFunction=b,e.isString=w,e.isObject=S,e.isBuiltInObject=M,e.isTypedArray=k,e.isDom=T,e.eqNaN=P,e.retrieve=E,e.retrieve2=C,e.retrieve3=A,e.slice=O,e.normalizeCssArray=I,e.assert=D,e.trim=L,e.setAsPrimitive=R,e.isPrimitive=z,e.createHashMap=F,e.concatArray=j,e.noop=B},function(t,e,n){var r=n(61)("wks"),i=n(46),o=n(2).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(25),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){t.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){function r(t){i.call(this,t),this.path=null}var i=n(64),o=n(5),a=n(52),s=n(404),u=n(119),c=u.prototype.getCanvasPattern,h=Math.abs,l=new a(!0);r.prototype={constructor:r,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n=this.style,r=this.path||l,i=n.hasStroke(),o=n.hasFill(),a=n.fill,s=n.stroke,u=o&&!!a.colorStops,h=i&&!!s.colorStops,f=o&&!!a.image,d=i&&!!s.image;if(n.bind(t,this,e),this.setTransform(t),this.__dirty){var p;u&&(p=p||this.getBoundingRect(),this._fillGradient=n.getGradient(t,a,p)),h&&(p=p||this.getBoundingRect(),this._strokeGradient=n.getGradient(t,s,p))}u?t.fillStyle=this._fillGradient:f&&(t.fillStyle=c.call(a,t)),h?t.strokeStyle=this._strokeGradient:d&&(t.strokeStyle=c.call(s,t));var v=n.lineDash,g=n.lineDashOffset,_=!!t.setLineDash,y=this.getGlobalScale();if(r.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||v&&!_&&i?(r.beginPath(t),v&&!_&&(r.setLineDash(v),r.setLineDashOffset(g)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o)if(null!=n.fillOpacity){var m=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,r.fill(t),t.globalAlpha=m}else r.fill(t);if(v&&_&&(t.setLineDash(v),t.lineDashOffset=g),i)if(null!=n.strokeOpacity){var m=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,r.stroke(t),t.globalAlpha=m}else r.stroke(t);v&&_&&t.setLineDash([]),null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new a},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var r=this.path;r||(r=this.path=new a),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),t=r.getBoundingRect()}if(this._rect=t,e.hasStroke()){var i=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){i.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(i.width+=o/s,i.height+=o/s,i.x-=o/s/2,i.y-=o/s/2)}return i}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var o=this.path.data;if(i.hasStroke()){var a=i.lineWidth,u=i.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(i.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),s.containStroke(o,a/u,t,e)))return!0}if(i.hasFill())return s.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(o.isObject(t))for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1}},r.extend=function(t){var e=function(e){r.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var o in n)!i.hasOwnProperty(o)&&n.hasOwnProperty(o)&&(i[o]=n[o])}t.init&&t.init.call(this,e)};o.inherits(e,r);for(var n in t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},o.inherits(r,i);var f=r;t.exports=f},function(t,e,n){var r=n(1),i=n(138),o=n(29),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(27);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(10),i=n(42);t.exports=n(8)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(2),i=n(13),o=n(16),a=n(46)("src"),s=n(198),u=(""+s).split("toString");n(22).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,a)||i(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(t,e,n){var r=n(0),i=n(3),o=n(27),a=/"/g,s=function(t,e,n,r){var i=String(o(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+i+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(60),i=n(42),o=n(19),a=n(29),s=n(16),u=n(138),c=Object.getOwnPropertyDescriptor;e.f=n(8)?c:function(t,e){if(t=o(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(16),i=n(11),o=n(107)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(59),i=n(27);t.exports=function(t){return r(i(t))}},function(t,e){function n(t,e){var n=new S(2);return null==t&&(t=0),null==e&&(e=0),n[0]=t,n[1]=e,n}function r(t,e){return t[0]=e[0],t[1]=e[1],t}function i(t){var e=new S(2);return e[0]=t[0],e[1]=t[1],e}function o(t,e,n){return t[0]=e,t[1]=n,t}function a(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function s(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function c(t){return Math.sqrt(h(t))}function h(t){return t[0]*t[0]+t[1]*t[1]}function l(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function d(t,e){return t[0]*e[0]+t[1]*e[1]}function p(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function v(t,e){var n=c(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function g(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function _(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}function y(t,e){return t[0]=-e[0],t[1]=-e[1],t}function m(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t}function x(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}function b(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function w(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var S="undefined"==typeof Float32Array?Array:Float32Array,M=c,k=h,T=g,P=_;e.create=n,e.copy=r,e.clone=i,e.set=o,e.add=a,e.scaleAndAdd=s,e.sub=u,e.len=c,e.length=M,e.lenSquare=h,e.lengthSquare=k,e.mul=l,e.div=f,e.dot=d,e.scale=p,e.normalize=v,e.distance=g,e.dist=T,e.distanceSquare=_,e.distSquare=P,e.negate=y,e.lerp=m,e.applyTransform=x,e.min=b,e.max=w},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(12);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(23),i=n(59),o=n(11),a=n(7),s=n(91);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,h=4==t,l=6==t,f=5==t||l,d=e||s;return function(e,s,p){for(var v,g,_=o(e),y=i(_),m=r(s,p,3),x=a(y.length),b=0,w=n?d(e,x):u?d(e,0):void 0;x>b;b++)if((f||b in y)&&(v=y[b],g=m(v,b,_),t))if(n)w[b]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return b;case 2:w.push(v)}else if(h)return!1;return l?-1:c||h?h:w}}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(0),i=n(22),o=n(3);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){function r(t,e,n,r){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r),this.x=t,this.y=e,this.width=n,this.height=r}var i=n(20),o=n(54),a=i.applyTransform,s=Math.min,u=Math.max;r.prototype={constructor:r,union:function(t){var e=s(t.x,this.x),n=s(t.y,this.y);this.width=u(t.x+t.width,this.x+this.width)-e,this.height=u(t.y+t.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:function(){var t=[],e=[],n=[],r=[];return function(i){if(i){t[0]=n[0]=this.x,t[1]=r[1]=this.y,e[0]=r[0]=this.x+this.width,e[1]=n[1]=this.y+this.height,a(t,t,i),a(e,e,i),a(n,n,i),a(r,r,i),this.x=s(t[0],e[0],n[0],r[0]),this.y=s(t[1],e[1],n[1],r[1]);var o=u(t[0],e[0],n[0],r[0]),c=u(t[1],e[1],n[1],r[1]);this.width=o-this.x,this.height=c-this.y}}}(),calculateTransform:function(t){var e=this,n=t.width/e.width,r=t.height/e.height,i=o.create();return o.translate(i,i,[-e.x,-e.y]),o.scale(i,i,[n,r]),o.translate(i,i,[t.x,t.y]),i},intersect:function(t){if(!t)return!1;t instanceof r||(t=r.create(t));var e=this,n=e.x,i=e.x+e.width,o=e.y,a=e.y+e.height,s=t.x,u=t.x+t.width,c=t.y,h=t.y+t.height;return!(i<s||u<n||a<c||h<o)},contain:function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new r(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},r.create=function(t){return new r(t.x,t.y,t.width,t.height)};var c=r;t.exports=c},function(t,e,n){var r=n(160),i=n(0),o=n(61)("metadata"),a=o.store||(o.store=new(n(164))),s=function(t,e,n){var i=a.get(t);if(!i){if(!n)return;a.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o},u=function(t,e,n){var r=s(e,n,!1);return void 0!==r&&r.has(t)},c=function(t,e,n){var r=s(e,n,!1);return void 0===r?void 0:r.get(t)},h=function(t,e,n,r){s(n,r,!0).set(t,e)},l=function(t,e){var n=s(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},f=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},d=function(t){i(i.S,"Reflect",t)};t.exports={store:a,map:s,has:u,get:c,set:h,keys:l,key:f,exp:d}},function(t,e,n){"use strict";if(n(8)){var r=n(34),i=n(2),o=n(3),a=n(0),s=n(77),u=n(112),c=n(23),h=n(37),l=n(42),f=n(13),d=n(43),p=n(25),v=n(7),g=n(158),_=n(45),y=n(29),m=n(16),x=n(48),b=n(4),w=n(11),S=n(98),M=n(39),k=n(18),T=n(40).f,P=n(114),E=n(46),C=n(6),A=n(26),O=n(65),I=n(62),D=n(115),L=n(49),R=n(70),z=n(44),N=n(90),F=n(130),j=n(10),B=n(17),W=j.f,H=B.f,G=i.RangeError,Y=i.TypeError,U=i.Uint8Array,V=Array.prototype,X=u.ArrayBuffer,q=u.DataView,Z=A(0),Q=A(2),$=A(3),J=A(4),K=A(5),tt=A(6),et=O(!0),nt=O(!1),rt=D.values,it=D.keys,ot=D.entries,at=V.lastIndexOf,st=V.reduce,ut=V.reduceRight,ct=V.join,ht=V.sort,lt=V.slice,ft=V.toString,dt=V.toLocaleString,pt=C("iterator"),vt=C("toStringTag"),gt=E("typed_constructor"),_t=E("def_constructor"),yt=s.CONSTR,mt=s.TYPED,xt=s.VIEW,bt=A(1,function(t,e){return Tt(I(t,t[_t]),e)}),wt=o(function(){return 1===new U(new Uint16Array([1]).buffer)[0]}),St=!!U&&!!U.prototype.set&&o(function(){new U(1).set({})}),Mt=function(t,e){var n=p(t);if(n<0||n%e)throw G("Wrong offset!");return n},kt=function(t){if(b(t)&&mt in t)return t;throw Y(t+" is not a typed array!")},Tt=function(t,e){if(!(b(t)&&gt in t))throw Y("It is not a typed array constructor!");return new t(e)},Pt=function(t,e){return Et(I(t,t[_t]),e)},Et=function(t,e){for(var n=0,r=e.length,i=Tt(t,r);r>n;)i[n]=e[n++];return i},Ct=function(t,e,n){W(t,e,{get:function(){return this._d[n]}})},At=function(t){var e,n,r,i,o,a,s=w(t),u=arguments.length,h=u>1?arguments[1]:void 0,l=void 0!==h,f=P(s);if(void 0!=f&&!S(f)){for(a=f.call(s),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);s=r}for(l&&u>2&&(h=c(h,arguments[2],2)),e=0,n=v(s.length),i=Tt(this,n);n>e;e++)i[e]=l?h(s[e],e):s[e];return i},Ot=function(){for(var t=0,e=arguments.length,n=Tt(this,e);e>t;)n[t]=arguments[t++];return n},It=!!U&&o(function(){dt.call(new U(1))}),Dt=function(){return dt.apply(It?lt.call(kt(this)):kt(this),arguments)},Lt={copyWithin:function(t,e){return F.call(kt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(kt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return N.apply(kt(this),arguments)},filter:function(t){return Pt(this,Q(kt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return K(kt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(kt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Z(kt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(kt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(kt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(kt(this),arguments)},lastIndexOf:function(t){return at.apply(kt(this),arguments)},map:function(t){return bt(kt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(kt(this),arguments)},reduceRight:function(t){return ut.apply(kt(this),arguments)},reverse:function(){for(var t,e=this,n=kt(e).length,r=Math.floor(n/2),i=0;i<r;)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return $(kt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ht.call(kt(this),t)},subarray:function(t,e){var n=kt(this),r=n.length,i=_(t,r);return new(I(n,n[_t]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===e?r:_(e,r))-i))}},Rt=function(t,e){return Pt(this,lt.call(kt(this),t,e))},zt=function(t){kt(this);var e=Mt(arguments[1],1),n=this.length,r=w(t),i=v(r.length),o=0;if(i+e>n)throw G("Wrong length!");for(;o<i;)this[e+o]=r[o++]},Nt={entries:function(){return ot.call(kt(this))},keys:function(){return it.call(kt(this))},values:function(){return rt.call(kt(this))}},Ft=function(t,e){return b(t)&&t[mt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},jt=function(t,e){return Ft(t,e=y(e,!0))?l(2,t[e]):H(t,e)},Bt=function(t,e,n){return!(Ft(t,e=y(e,!0))&&b(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?W(t,e,n):(t[e]=n.value,t)};yt||(B.f=jt,j.f=Bt),a(a.S+a.F*!yt,"Object",{getOwnPropertyDescriptor:jt,defineProperty:Bt}),o(function(){ft.call({})})&&(ft=dt=function(){return ct.call(this)});var Wt=d({},Lt);d(Wt,Nt),f(Wt,pt,Nt.values),d(Wt,{slice:Rt,set:zt,constructor:function(){},toString:ft,toLocaleString:Dt}),Ct(Wt,"buffer","b"),Ct(Wt,"byteOffset","o"),Ct(Wt,"byteLength","l"),Ct(Wt,"length","e"),W(Wt,vt,{get:function(){return this[mt]}}),t.exports=function(t,e,n,u){u=!!u;var c=t+(u?"Clamped":"")+"Array",l="get"+t,d="set"+t,p=i[c],_=p||{},y=p&&k(p),m=!p||!s.ABV,w={},S=p&&p.prototype,P=function(t,n){var r=t._d;return r.v[l](n*e+r.o,wt)},E=function(t,n,r){var i=t._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[d](n*e+i.o,r,wt)},C=function(t,e){W(t,e,{get:function(){return P(this,e)},set:function(t){return E(this,e,t)},enumerable:!0})};m?(p=n(function(t,n,r,i){h(t,p,c,"_d");var o,a,s,u,l=0,d=0;if(b(n)){if(!(n instanceof X||"ArrayBuffer"==(u=x(n))||"SharedArrayBuffer"==u))return mt in n?Et(p,n):At.call(p,n);o=n,d=Mt(r,e);var _=n.byteLength;if(void 0===i){if(_%e)throw G("Wrong length!");if((a=_-d)<0)throw G("Wrong length!")}else if((a=v(i)*e)+d>_)throw G("Wrong length!");s=a/e}else s=g(n),a=s*e,o=new X(a);for(f(t,"_d",{b:o,o:d,l:a,e:s,v:new q(o)});l<s;)C(t,l++)}),S=p.prototype=M(Wt),f(S,"constructor",p)):o(function(){p(1)})&&o(function(){new p(-1)})&&R(function(t){new p,new p(null),new p(1.5),new p(t)},!0)||(p=n(function(t,n,r,i){h(t,p,c);var o;return b(n)?n instanceof X||"ArrayBuffer"==(o=x(n))||"SharedArrayBuffer"==o?void 0!==i?new _(n,Mt(r,e),i):void 0!==r?new _(n,Mt(r,e)):new _(n):mt in n?Et(p,n):At.call(p,n):new _(g(n))}),Z(y!==Function.prototype?T(_).concat(T(y)):T(_),function(t){t in p||f(p,t,_[t])}),p.prototype=S,r||(S.constructor=p));var A=S[pt],O=!!A&&("values"==A.name||void 0==A.name),I=Nt.values;f(p,gt,!0),f(S,mt,c),f(S,xt,!0),f(S,_t,p),(u?new p(1)[vt]==c:vt in S)||W(S,vt,{get:function(){return c}}),w[c]=p,a(a.G+a.W+a.F*(p!=_),w),a(a.S,c,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*o(function(){_.of.call(p,1)}),c,{from:At,of:Ot}),"BYTES_PER_ELEMENT"in S||f(S,"BYTES_PER_ELEMENT",e),a(a.P,c,Lt),z(c),a(a.P+a.F*St,c,{set:zt}),a(a.P+a.F*!O,c,Nt),r||S.toString==ft||(S.toString=ft),a(a.P+a.F*o(function(){new p(1).slice()}),c,{slice:Rt}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!o(function(){S.toLocaleString.call([1,2])})),c,{toLocaleString:Dt}),L[c]=O?A:I,r||O||f(S,pt,I)}}else t.exports=function(){}},function(t,e,n){var r=n(6)("unscopables"),i=Array.prototype;void 0==i[r]&&n(13)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e){t.exports=!1},function(t,e,n){var r=n(46)("meta"),i=n(4),o=n(16),a=n(10).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(3)(function(){return u(Object.preventExtensions({}))}),h=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},l=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";h(t)}return t[r].i},f=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;h(t)}return t[r].w},d=function(t){return c&&p.NEED&&u(t)&&!o(t,r)&&h(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:f,onFreeze:d}},function(t,e){var n={};n="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:function(t){var e={},n={},r=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(t);return r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1]),a&&(n.weChat=!0),{browser:n,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!=typeof document}}(navigator.userAgent);var r=n;t.exports=r},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(23),i=n(141),o=n(98),a=n(1),s=n(7),u=n(114),c={},h={},e=t.exports=function(t,e,n,l,f){var d,p,v,g,_=f?function(){return t}:u(t),y=r(n,l,e?2:1),m=0;if("function"!=typeof _)throw TypeError(t+" is not iterable!");if(o(_)){for(d=s(t.length);d>m;m++)if((g=e?y(a(p=t[m])[0],p[1]):y(t[m]))===c||g===h)return g}else for(v=_.call(t);!(p=v.next()).done;)if((g=i(v,y,p.value,e))===c||g===h)return g};e.BREAK=c,e.RETURN=h},function(t,e,n){var r=n(1),i=n(147),o=n(94),a=n(107)("IE_PROTO"),s=function(){},u=function(){var t,e=n(93)("iframe"),r=o.length;for(e.style.display="none",n(96).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(149),i=n(94).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(149),i=n(94);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(14);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){"use strict";var r=n(2),i=n(10),o=n(8),a=n(6)("species");t.exports=function(t){var e=r[t];o&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(25),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(21),i=n(6)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e){t.exports={}},function(t,e,n){var r=n(10).f,i=n(16),o=n(6)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(0),i=n(27),o=n(3),a=n(110),s="["+a+"]",u="​…",c=RegExp("^"+s+s+"*"),h=RegExp(s+s+"*$"),l=function(t,e,n){var i={},s=o(function(){return!!a[t]()||u[t]()!=u}),c=i[t]=s?e(f):a[t];n&&(i[n]=c),r(r.P+r.F*s,"String",i)},f=l.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(h,"")),t};t.exports=l},function(t,e,n){var r=n(53),i=n(20),o=n(409),a=n(30),s=n(80),u=s.devicePixelRatio,c={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},h=[],l=[],f=[],d=[],p=Math.min,v=Math.max,g=Math.cos,_=Math.sin,y=Math.sqrt,m=Math.abs,x="undefined"!=typeof Float32Array,b=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};b.prototype={constructor:b,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){n=n||0,this._ux=m(n/u/t)||0,this._uy=m(n/u/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(c.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=m(t-this._xi)>this._ux||m(e-this._yi)>this._uy||this._len<5;return this.addData(c.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,r,i,o){return this.addData(c.C,t,e,n,r,i,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,r,i,o):this._ctx.bezierCurveTo(t,e,n,r,i,o)),this._xi=i,this._yi=o,this},quadraticCurveTo:function(t,e,n,r){return this.addData(c.Q,t,e,n,r),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,r):this._ctx.quadraticCurveTo(t,e,n,r)),this._xi=n,this._yi=r,this},arc:function(t,e,n,r,i,o){return this.addData(c.A,t,e,n,n,r,i-r,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,r,i,o),this._xi=g(i)*n+t,this._yi=_(i)*n+e,this},arcTo:function(t,e,n,r,i){return this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},rect:function(t,e,n,r){return this._ctx&&this._ctx.rect(t,e,n,r),this.addData(c.R,t,e,n,r),this},closePath:function(){this.addData(c.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;n<t.length;n++)e+=t[n];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length===e||!x||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,r=this._len,i=0;i<e;i++)n+=t[i].len();x&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(var i=0;i<e;i++)for(var o=t[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var n=0;n<arguments.length;n++)e[this._len++]=arguments[n];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var n,r,i=this._dashSum,o=this._dashOffset,a=this._lineDash,s=this._ctx,u=this._xi,c=this._yi,h=t-u,l=e-c,f=y(h*h+l*l),d=u,g=c,_=a.length;for(h/=f,l/=f,o<0&&(o=i+o),o%=i,d-=o*h,g-=o*l;h>0&&d<=t||h<0&&d>=t||0===h&&(l>0&&g<=e||l<0&&g>=e);)r=this._dashIdx,n=a[r],d+=h*n,g+=l*n,this._dashIdx=(r+1)%_,h>0&&d<u||h<0&&d>u||l>0&&g<c||l<0&&g>c||s[r%2?"moveTo":"lineTo"](h>=0?p(d,t):v(d,t),l>=0?p(g,e):v(g,e));h=d-t,l=g-e,this._dashOffset=-y(h*h+l*l)},_dashedBezierTo:function(t,e,n,i,o,a){var s,u,c,h,l,f=this._dashSum,d=this._dashOffset,p=this._lineDash,v=this._ctx,g=this._xi,_=this._yi,m=r.cubicAt,x=0,b=this._dashIdx,w=p.length,S=0;for(d<0&&(d=f+d),d%=f,s=0;s<1;s+=.1)u=m(g,t,n,o,s+.1)-m(g,t,n,o,s),c=m(_,e,i,a,s+.1)-m(_,e,i,a,s),x+=y(u*u+c*c);for(;b<w&&!((S+=p[b])>d);b++);for(s=(S-d)/x;s<=1;)h=m(g,t,n,o,s),l=m(_,e,i,a,s),b%2?v.moveTo(h,l):v.lineTo(h,l),s+=p[b]/x,b=(b+1)%w;b%2!=0&&v.lineTo(o,a),u=o-h,c=a-l,this._dashOffset=-y(u*u+c*c)},_dashedQuadraticTo:function(t,e,n,r){var i=n,o=r;n=(n+2*t)/3,r=(r+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,r,i,o)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){h[0]=h[1]=f[0]=f[1]=Number.MAX_VALUE,l[0]=l[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,r=0,s=0,u=0;u<t.length;){var p=t[u++];switch(1===u&&(e=t[u],n=t[u+1],r=e,s=n),p){case c.M:r=t[u++],s=t[u++],e=r,n=s,f[0]=r,f[1]=s,d[0]=r,d[1]=s;break;case c.L:o.fromLine(e,n,t[u],t[u+1],f,d),e=t[u++],n=t[u++];break;case c.C:o.fromCubic(e,n,t[u++],t[u++],t[u++],t[u++],t[u],t[u+1],f,d),e=t[u++],n=t[u++];break;case c.Q:o.fromQuadratic(e,n,t[u++],t[u++],t[u],t[u+1],f,d),e=t[u++],n=t[u++];break;case c.A:var v=t[u++],y=t[u++],m=t[u++],x=t[u++],b=t[u++],w=t[u++]+b;u+=1;var S=1-t[u++];1===u&&(r=g(b)*m+v,s=_(b)*x+y),o.fromArc(v,y,m,x,b,w,S,f,d),e=g(w)*m+v,n=_(w)*x+y;break;case c.R:r=e=t[u++],s=n=t[u++];var M=t[u++],k=t[u++];o.fromLine(r,s,r+M,s+k,f,d);break;case c.Z:e=r,n=s}i.min(h,h,f),i.max(l,l,d)}return 0===u&&(h[0]=h[1]=l[0]=l[1]=0),new a(h[0],h[1],l[0]-h[0],l[1]-h[1])},rebuildPath:function(t){for(var e,n,r,i,o,a,s=this.data,u=this._ux,h=this._uy,l=this._len,f=0;f<l;){var d=s[f++];switch(1===f&&(r=s[f],i=s[f+1],e=r,n=i),d){case c.M:e=r=s[f++],n=i=s[f++],t.moveTo(r,i);break;case c.L:o=s[f++],a=s[f++],(m(o-r)>u||m(a-i)>h||f===l-1)&&(t.lineTo(o,a),r=o,i=a);break;case c.C:t.bezierCurveTo(s[f++],s[f++],s[f++],s[f++],s[f++],s[f++]),r=s[f-2],i=s[f-1];break;case c.Q:t.quadraticCurveTo(s[f++],s[f++],s[f++],s[f++]),r=s[f-2],i=s[f-1];break;case c.A:var p=s[f++],v=s[f++],y=s[f++],x=s[f++],b=s[f++],w=s[f++],S=s[f++],M=s[f++],k=y>x?y:x,T=y>x?1:y/x,P=y>x?x/y:1,E=Math.abs(y-x)>.001,C=b+w;E?(t.translate(p,v),t.rotate(S),t.scale(T,P),t.arc(0,0,k,b,C,1-M),t.scale(1/T,1/P),t.rotate(-S),t.translate(-p,-v)):t.arc(p,v,k,b,C,1-M),1===f&&(e=g(b)*y+p,n=_(b)*x+v),r=g(C)*y+p,i=_(C)*x+v;break;case c.R:e=r=s[f],n=i=s[f+1],t.rect(s[f++],s[f++],s[f++],s[f++]);break;case c.Z:t.closePath(),r=e,i=n}}}},b.CMD=c;var w=b;t.exports=w},function(t,e,n){function r(t){return t>-w&&t<w}function i(t){return t>w||t<-w}function o(t,e,n,r,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*r+3*o*n)}function a(t,e,n,r,i){var o=1-i;return 3*(((e-t)*o+2*(n-e)*i)*o+(r-n)*i*i)}function s(t,e,n,i,o,a){var s=i+3*(e-n)-t,u=3*(n-2*e+t),c=3*(e-t),h=t-o,l=u*u-3*s*c,f=u*c-9*s*h,d=c*c-3*u*h,p=0;if(r(l)&&r(f))if(r(u))a[0]=0;else{var v=-c/u;v>=0&&v<=1&&(a[p++]=v)}else{var g=f*f-4*l*d;if(r(g)){var _=f/l,v=-u/s+_,y=-_/2;v>=0&&v<=1&&(a[p++]=v),y>=0&&y<=1&&(a[p++]=y)}else if(g>0){var m=b(g),w=l*u+1.5*s*(-f+m),S=l*u+1.5*s*(-f-m);w=w<0?-x(-w,k):x(w,k),S=S<0?-x(-S,k):x(S,k);var v=(-u-(w+S))/(3*s);v>=0&&v<=1&&(a[p++]=v)}else{var T=(2*l*u-3*s*f)/(2*b(l*l*l)),P=Math.acos(T)/3,E=b(l),C=Math.cos(P),v=(-u-2*E*C)/(3*s),y=(-u+E*(C+M*Math.sin(P)))/(3*s),A=(-u+E*(C-M*Math.sin(P)))/(3*s);v>=0&&v<=1&&(a[p++]=v),y>=0&&y<=1&&(a[p++]=y),A>=0&&A<=1&&(a[p++]=A)}}return p}function u(t,e,n,o,a){var s=6*n-12*e+6*t,u=9*e+3*o-3*t-9*n,c=3*e-3*t,h=0;if(r(u)){if(i(s)){var l=-c/s;l>=0&&l<=1&&(a[h++]=l)}}else{var f=s*s-4*u*c;if(r(f))a[0]=-s/(2*u);else if(f>0){var d=b(f),l=(-s+d)/(2*u),p=(-s-d)/(2*u);l>=0&&l<=1&&(a[h++]=l),p>=0&&p<=1&&(a[h++]=p)}}return h}function c(t,e,n,r,i,o){var a=(e-t)*i+t,s=(n-e)*i+e,u=(r-n)*i+n,c=(s-a)*i+a,h=(u-s)*i+s,l=(h-c)*i+c;o[0]=t,o[1]=a,o[2]=c,o[3]=l,o[4]=l,o[5]=h,o[6]=u,o[7]=r}function h(t,e,n,r,i,a,s,u,c,h,l){var f,d,p,v,g,_=.005,y=1/0;T[0]=c,T[1]=h;for(var x=0;x<1;x+=.05)P[0]=o(t,n,i,s,x),P[1]=o(e,r,a,u,x),(v=m(T,P))<y&&(f=x,y=v);y=1/0;for(var w=0;w<32&&!(_<S);w++)d=f-_,p=f+_,P[0]=o(t,n,i,s,d),P[1]=o(e,r,a,u,d),v=m(P,T),d>=0&&v<y?(f=d,y=v):(E[0]=o(t,n,i,s,p),E[1]=o(e,r,a,u,p),g=m(E,T),p<=1&&g<y?(f=p,y=g):_*=.5);return l&&(l[0]=o(t,n,i,s,f),l[1]=o(e,r,a,u,f)),b(y)}function l(t,e,n,r){var i=1-r;return i*(i*t+2*r*e)+r*r*n}function f(t,e,n,r){return 2*((1-r)*(e-t)+r*(n-e))}function d(t,e,n,o,a){var s=t-2*e+n,u=2*(e-t),c=t-o,h=0;if(r(s)){if(i(u)){var l=-c/u;l>=0&&l<=1&&(a[h++]=l)}}else{var f=u*u-4*s*c;if(r(f)){var l=-u/(2*s);l>=0&&l<=1&&(a[h++]=l)}else if(f>0){var d=b(f),l=(-u+d)/(2*s),p=(-u-d)/(2*s);l>=0&&l<=1&&(a[h++]=l),p>=0&&p<=1&&(a[h++]=p)}}return h}function p(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r}function v(t,e,n,r,i){var o=(e-t)*r+t,a=(n-e)*r+e,s=(a-o)*r+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function g(t,e,n,r,i,o,a,s,u){var c,h=.005,f=1/0;T[0]=a,T[1]=s;for(var d=0;d<1;d+=.05){P[0]=l(t,n,i,d),P[1]=l(e,r,o,d);var p=m(T,P);p<f&&(c=d,f=p)}f=1/0;for(var v=0;v<32&&!(h<S);v++){var g=c-h,_=c+h;P[0]=l(t,n,i,g),P[1]=l(e,r,o,g);var p=m(P,T);if(g>=0&&p<f)c=g,f=p;else{E[0]=l(t,n,i,_),E[1]=l(e,r,o,_);var y=m(E,T);_<=1&&y<f?(c=_,f=y):h*=.5}}return u&&(u[0]=l(t,n,i,c),u[1]=l(e,r,o,c)),b(f)}var _=n(20),y=_.create,m=_.distSquare,x=Math.pow,b=Math.sqrt,w=1e-8,S=1e-4,M=b(3),k=1/3,T=y(),P=y(),E=y();e.cubicAt=o,e.cubicDerivativeAt=a,e.cubicRootAt=s,e.cubicExtrema=u,e.cubicSubdivide=c,e.cubicProjectPoint=h,e.quadraticAt=l,e.quadraticDerivativeAt=f,e.quadraticRootAt=d,e.quadraticExtremum=p,e.quadraticSubdivide=v,e.quadraticProjectPoint=g},function(t,e){function n(){var t=new l(6);return r(t),t}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function i(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 o(t,e,n){var r=e[0]*n[0]+e[2]*n[1],i=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],u=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=r,t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=u,t}function a(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function s(t,e,n){var r=e[0],i=e[2],o=e[4],a=e[1],s=e[3],u=e[5],c=Math.sin(n),h=Math.cos(n);return t[0]=r*h+a*c,t[1]=-r*c+a*h,t[2]=i*h+s*c,t[3]=-i*c+h*s,t[4]=h*o+c*u,t[5]=h*u-c*o,t}function u(t,e,n){var r=n[0],i=n[1];return t[0]=e[0]*r,t[1]=e[1]*i,t[2]=e[2]*r,t[3]=e[3]*i,t[4]=e[4]*r,t[5]=e[5]*i,t}function c(t,e){var n=e[0],r=e[2],i=e[4],o=e[1],a=e[3],s=e[5],u=n*a-o*r;return u?(u=1/u,t[0]=a*u,t[1]=-o*u,t[2]=-r*u,t[3]=n*u,t[4]=(r*s-a*i)*u,t[5]=(o*i-n*s)*u,t):null}function h(t){var e=n();return i(e,t),e}var l="undefined"==typeof Float32Array?Array:Float32Array;e.create=n,e.identity=r,e.copy=i,e.mul=o,e.translate=a,e.rotate=s,e.scale=u,e.invert=c,e.clone=h},function(t,e,n){function r(t){i.call(this,t)}var i=n(64),o=n(30),a=n(5),s=n(121);r.prototype={constructor:r,type:"image",brush:function(t,e){var n=this.style,r=n.image;n.bind(t,this,e);var i=this._image=s.createOrUpdateImage(r,this._image,this,this.onload);if(i&&s.isImageReady(i)){var o=n.x||0,a=n.y||0,u=n.width,c=n.height,h=i.width/i.height;if(null==u&&null!=c?u=c*h:null==c&&null!=u?c=u/h:null==u&&null==c&&(u=i.width,c=i.height),this.setTransform(t),n.sWidth&&n.sHeight){var l=n.sx||0,f=n.sy||0;t.drawImage(i,l,f,n.sWidth,n.sHeight,o,a,u,c)}else if(n.sx&&n.sy){var l=n.sx,f=n.sy,d=u-l,p=c-f;t.drawImage(i,l,f,d,p,o,a,u,c)}else t.drawImage(i,o,a,u,c);null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new o(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},a.inherits(r,i);var u=r;t.exports=u},function(t,e,n){var r=n(64),i=n(5),o=n(81),a=n(84),s=n(83),u=s.ContextCachedBy,c=function(t){r.call(this,t)};c.prototype={constructor:c,type:"text",brush:function(t,e){var n=this.style;this.__dirty&&a.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var r=n.text;if(null!=r&&(r+=""),!a.needDrawText(r,n))return void(t.__attrCachedBy=u.NONE);this.setTransform(t),a.renderText(this,t,r,n,null,e),this.restoreTransform(t)},getBoundingRect:function(){var t=this.style;if(this.__dirty&&a.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var n=o.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(n.x+=t.x||0,n.y+=t.y||0,a.getStroke(t.textStroke,t.textStrokeWidth)){var r=t.textStrokeWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect}},i.inherits(c,r);var h=c;t.exports=h},function(t,e,n){"use strict";function r(){var t=Array.prototype.slice.call(arguments);return s.default.all(t,{arrayMerge:function(t,e){return e.length>0?e:t}})}function i(t,e){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2))}function o(t,e,n){return(Math.pow(e,2)+Math.pow(n,2)-Math.pow(t,2))/(2*e*n)}Object.defineProperty(e,"__esModule",{value:!0}),e.merge=r,e.calcHypotenuse=i,e.cosA=o;var a=n(393),s=function(t){return t&&t.__esModule?t:{default:t}}(a)},function(t,e,n){"use strict";var r=n(1);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(21);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(22),i=n(2),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(34)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(1),i=n(12),o=n(6)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},function(t,e,n){var r=n(80),i=r.debugMode,o=function(){};1===i&&(o=console.error);var a=o;t.exports=a},function(t,e,n){function r(t){t=t||{},a.call(this,t);for(var e in t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new o(t.style,this),this._rect=null,this.__clipPaths=null}var i=n(5),o=n(120),a=n(165),s=n(177);r.prototype={constructor:r,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?a.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new o(t,this),this.dirty(!1),this},calculateTextPosition:null},i.inherits(r,a),i.mixin(r,s);var u=r;t.exports=u},function(t,e,n){var r=n(19),i=n(7),o=n(45);t.exports=function(t){return function(e,n,a){var s,u=r(e),c=i(u.length),h=o(a,c);if(t&&n!=n){for(;c>h;)if((s=u[h++])!=s)return!0}else for(;c>h;h++)if((t||h in u)&&u[h]===n)return t||h||0;return!t&&-1}}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(14),a=n(43),s=n(35),u=n(38),c=n(37),h=n(4),l=n(3),f=n(70),d=n(50),p=n(97);t.exports=function(t,e,n,v,g,_){var y=r[t],m=y,x=g?"set":"add",b=m&&m.prototype,w={},S=function(t){var e=b[t];o(b,t,"delete"==t?function(t){return!(_&&!h(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(_&&!h(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return _&&!h(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof m&&(_||b.forEach&&!l(function(){(new m).entries().next()}))){var M=new m,k=M[x](_?{}:-0,1)!=M,T=l(function(){M.has(1)}),P=f(function(t){new m(t)}),E=!_&&l(function(){for(var t=new m,e=5;e--;)t[x](e,e);return!t.has(-0)});P||(m=e(function(e,n){c(e,m,t);var r=p(new y,e,m);return void 0!=n&&u(n,g,r[x],r),r}),m.prototype=b,b.constructor=m),(T||E)&&(S("delete"),S("has"),g&&S("get")),(E||k)&&S(x),_&&b.clear&&delete b.clear}else m=v.getConstructor(e,t,g,x),a(m.prototype,n),s.NEED=!0;return d(m,t),w[t]=m,i(i.G+i.W+i.F*(m!=y),w),_||v.setStrong(m,t,g),m}},function(t,e,n){"use strict";n(161);var r=n(14),i=n(13),o=n(3),a=n(27),s=n(6),u=n(105),c=s("species"),h=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),l=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=s(t),d=!o(function(){var e={};return e[f]=function(){return 7},7!=""[t](e)}),p=d?!o(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!e}):void 0;if(!d||!p||"replace"===t&&!h||"split"===t&&!l){var v=/./[f],g=n(a,f,""[t],function(t,e,n,r,i){return e.exec===u?d&&!i?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),_=g[0],y=g[1];r(String.prototype,t,_),i(RegExp.prototype,f,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},function(t,e,n){var r=n(21);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(4),i=n(21),o=n(6)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(6)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},function(t,e,n){"use strict";t.exports=n(34)||!n(3)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(2)[t]})},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";var r=n(48),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},function(t,e,n){"use strict";var r=n(0),i=n(12),o=n(23),a=n(38);t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,s,u=arguments[1];return i(this),e=void 0!==u,e&&i(u),void 0==t?new this:(n=[],e?(r=0,s=o(u,arguments[2],2),a(t,!1,function(t){n.push(s(t,r++))})):a(t,!1,n.push,n),new this(n))}})}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){var r=n(25),i=n(27);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536)}}},function(t,e,n){for(var r,i=n(2),o=n(13),a=n(46),s=a("typed_array"),u=a("view"),c=!(!i.ArrayBuffer||!i.DataView),h=c,l=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=i[f[l++]])?(o(r.prototype,s,!0),o(r.prototype,u,!0)):h=!1;t.exports={ABV:c,CONSTR:h,TYPED:s,VIEW:u}},function(t,e,n){var r=n(2),i=r.navigator;t.exports=i&&i.userAgent||""},function(t,e,n){var r=n(125);!function(){for(var t in r){if(null==r||!r.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=r[t]}}();var i=n(412);!function(){for(var t in i){if(null==i||!i.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=i[t]}}(),n(436),n(441)},function(t,e){var n=1;"undefined"!=typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var r=n;e.debugMode=0,e.devicePixelRatio=r},function(t,e,n){function r(t,e){R[t]=e}function i(t,e){e=e||L;var n=t+":"+e;if(A[n])return A[n];for(var r=(t+"").split("\n"),i=0,o=0,a=r.length;o<a;o++)i=Math.max(_(r[o],e).width,i);return O>I&&(O=0,A={}),O++,A[n]=i,i}function o(t,e,n,r,i,o,u,c){return u?s(t,e,n,r,i,o,u,c):a(t,e,n,r,i,o,c)}function a(t,e,n,r,o,a,s){var h=y(t,e,o,a,s),l=i(t,e);o&&(l+=o[1]+o[3]);var f=h.outerHeight,d=u(0,l,n),p=c(0,f,r),v=new w(d,p,l,f);return v.lineHeight=h.lineHeight,v}function s(t,e,n,r,i,o,a,s){var h=m(t,{rich:a,truncate:s,font:e,textAlign:n,textPadding:i,textLineHeight:o}),l=h.outerWidth,f=h.outerHeight,d=u(0,l,n),p=c(0,f,r);return new w(d,p,l,f)}function u(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function c(t,e,n){return"middle"===n?t-=e/2:"bottom"===