Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/school.picotech.app/public_html/public/assets/amchart/ drwxr-xr-x |
Viewing file: Select action/file-type: !function(){var e,t,i,r,n,a={3145:function(e,t,i){"use strict";i.d(t,{UZ:function(){return a},cP:function(){return n},i_:function(){return r}});var r=new(function(){return function(){Object.defineProperty(this,"licenses",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"entitiesById",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"rootElements",{enumerable:!0,configurable:!0,writable:!0,value:[]})}}());function n(e){r.licenses.push(e)}function a(){for(var e;e=r.rootElements.pop();)e.dispose()}},6493:function(e,t,i){"use strict";i.d(t,{f:function(){return Ce}});var r=i(8777),n=i(2036),a=i(4431),o=i(1706),s=i(6881),l=i(7449),u=i(5071),c=i(7652),h=function(){function e(){var e=this;Object.defineProperty(this,"_observer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_targets",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this._observer=new ResizeObserver((function(t){u.each(t,(function(t){u.each(e._targets,(function(e){e.target===t.target&&e.callback()}))}))}))}return Object.defineProperty(e.prototype,"addTarget",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._observer.observe(e,{box:"border-box"}),this._targets.push({target:e,callback:t})}}),Object.defineProperty(e.prototype,"removeTarget",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._observer.unobserve(e),u.keepIf(this._targets,(function(t){return t.target!==e}))}}),e}(),f=function(){function e(){Object.defineProperty(this,"_timer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"_targets",{enumerable:!0,configurable:!0,writable:!0,value:[]})}return Object.defineProperty(e.prototype,"addTarget",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){var r=this;if(null===this._timer){var n=null,a=function(){var t=Date.now();(null===n||t>n+e.delay)&&(n=t,u.each(r._targets,(function(e){var t=e.target.getBoundingClientRect();t.width===e.size.width&&t.height===e.size.height||(e.size=t,e.callback())}))),0===r._targets.length?r._timer=null:r._timer=requestAnimationFrame(a)};this._timer=requestAnimationFrame(a)}this._targets.push({target:t,callback:i,size:{width:0,height:0,left:0,right:0,top:0,bottom:0,x:0,y:0}})}}),Object.defineProperty(e.prototype,"removeTarget",{enumerable:!1,configurable:!0,writable:!0,value:function(e){u.keepIf(this._targets,(function(t){return t.target!==e})),0===this._targets.length&&null!==this._timer&&(cancelAnimationFrame(this._timer),this._timer=null)}}),Object.defineProperty(e,"delay",{enumerable:!0,configurable:!0,writable:!0,value:200}),e}(),p=null,d=function(){function e(e,t){Object.defineProperty(this,"_sensor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_listener",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),this._sensor=(null===p&&(p="undefined"!=typeof ResizeObserver?new h:new f),p),this._element=e,this._listener=c.onZoom(t),this._sensor.addTarget(e,t)}return Object.defineProperty(e.prototype,"isDisposed",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._disposed}}),Object.defineProperty(e.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._disposed||(this._disposed=!0,this._sensor.removeTarget(this._element),this._listener.dispose())}}),Object.defineProperty(e.prototype,"sensor",{get:function(){return this._sensor},enumerable:!1,configurable:!0}),e}(),b=i(9821),g=i(1479),y=i(7142),v=i(2876),m=i(780),_=i(6460),w=i(798),P=i(5125),O=i(6331),x=i(3100),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"_setDefaults",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.setPrivate("defaultLocale",x.Z),e.prototype._setDefaults.call(this)}}),Object.defineProperty(t.prototype,"translate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];t||(t=this._root.locale||this.getPrivate("defaultLocale"));var n=e,a=t[e];if(null===a)n="";else if(null!=a)a&&(n=a);else if(t!==this.getPrivate("defaultLocale"))return this.translate.apply(this,(0,P.ev)([e,this.getPrivate("defaultLocale")],(0,P.CR)(i),!1));if(i.length)for(var o=i.length,s=0;s<o;++s)n=n.split("%"+(s+1)).join(i[s]);return n}}),Object.defineProperty(t.prototype,"translateAny",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return this.translate.apply(this,(0,P.ev)([e,t],(0,P.CR)(i),!1))}}),Object.defineProperty(t.prototype,"setTranslationAny",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){(i||this._root.locale)[e]=t}}),Object.defineProperty(t.prototype,"translateEmpty",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var n=this.translate.apply(this,(0,P.ev)([e,t],(0,P.CR)(i),!1));return n==e?"":n}}),Object.defineProperty(t.prototype,"translateFunc",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return this._root.locale[e]?this._root.locale[e]:t!==this.getPrivate("defaultLocale")?this.translateFunc(e,this.getPrivate("defaultLocale")):function(){return""}}}),Object.defineProperty(t.prototype,"translateAll",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this;return this.isDefault()?e:u.map(e,(function(e){return i.translate(e,t)}))}}),Object.defineProperty(t.prototype,"isDefault",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.getPrivate("defaultLocale")===this._root.locale}}),t}(O.JH),k=i(9770),T=i(3783),D=i(4680),C=i(1112),S=function(){function e(e,t,i,r,n,a){void 0===e&&(e=1),void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=1),void 0===n&&(n=0),void 0===a&&(a=0),Object.defineProperty(this,"a",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"b",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"c",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"d",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tx",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ty",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.a=e,this.b=t,this.c=i,this.d=r,this.tx=n,this.ty=a}return Object.defineProperty(e.prototype,"setTransform",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r,n,a){void 0===a&&(a=1),this.a=Math.cos(n)*a,this.b=Math.sin(n)*a,this.c=-Math.sin(n)*a,this.d=Math.cos(n)*a,this.tx=e-(i*this.a+r*this.c),this.ty=t-(i*this.b+r*this.d)}}),Object.defineProperty(e.prototype,"apply",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return{x:this.a*e.x+this.c*e.y+this.tx,y:this.b*e.x+this.d*e.y+this.ty}}}),Object.defineProperty(e.prototype,"applyInverse",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=1/(this.a*this.d+this.c*-this.b);return{x:this.d*t*e.x+-this.c*t*e.y+(this.ty*this.c-this.tx*this.d)*t,y:this.a*t*e.y+-this.b*t*e.x+(-this.ty*this.a+this.tx*this.b)*t}}}),Object.defineProperty(e.prototype,"append",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.a,i=this.b,r=this.c,n=this.d;this.a=e.a*t+e.b*r,this.b=e.a*i+e.b*n,this.c=e.c*t+e.d*r,this.d=e.c*i+e.d*n,this.tx=e.tx*t+e.ty*r+this.tx,this.ty=e.tx*i+e.ty*n+this.ty}}),Object.defineProperty(e.prototype,"prepend",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.tx;if(1!==e.a||0!==e.b||0!==e.c||1!==e.d){var i=this.a,r=this.c;this.a=i*e.a+this.b*e.c,this.b=i*e.b+this.b*e.d,this.c=r*e.a+this.d*e.c,this.d=r*e.b+this.d*e.d}this.tx=t*e.a+this.ty*e.c+e.tx,this.ty=t*e.b+this.ty*e.d+e.ty}}),Object.defineProperty(e.prototype,"copyFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.a=e.a,this.b=e.b,this.c=e.c,this.d=e.d,this.tx=e.tx,this.ty=e.ty}}),e}(),M=i(6245),E=i(7255),A=i(256),R=i(5040),B=i(751),N=2*Math.PI,L=function(e,t,i,r,n,a,o){var s=e.x,l=e.y;return{x:r*(s*=t)-n*(l*=i)+a,y:n*s+r*l+o}},I=function(e,t){var i=1.5707963267948966===t?.551915024494:-1.5707963267948966===t?-.551915024494:4/3*Math.tan(t/4),r=Math.cos(e),n=Math.sin(e),a=Math.cos(e+t),o=Math.sin(e+t);return[{x:r-n*i,y:n+r*i},{x:a+o*i,y:o-a*i},{x:a,y:o}]},H=function(e,t,i,r){var n=e*i+t*r;return n>1&&(n=1),n<-1&&(n=-1),(e*r-t*i<0?-1:1)*Math.acos(n)},F=function(e){var t=e.px,i=e.py,r=e.cx,n=e.cy,a=e.rx,o=e.ry,s=e.xAxisRotation,l=void 0===s?0:s,u=e.largeArcFlag,c=void 0===u?0:u,h=e.sweepFlag,f=void 0===h?0:h,p=[];if(0===a||0===o)return[];var d=Math.sin(l*N/360),b=Math.cos(l*N/360),g=b*(t-r)/2+d*(i-n)/2,y=-d*(t-r)/2+b*(i-n)/2;if(0===g&&0===y)return[];a=Math.abs(a),o=Math.abs(o);var v=Math.pow(g,2)/Math.pow(a,2)+Math.pow(y,2)/Math.pow(o,2);v>1&&(a*=Math.sqrt(v),o*=Math.sqrt(v));var m=function(e,t,i,r,n,a,o,s,l,u,c,h){var f=Math.pow(n,2),p=Math.pow(a,2),d=Math.pow(c,2),b=Math.pow(h,2),g=f*p-f*b-p*d;g<0&&(g=0),g/=f*b+p*d;var y=(g=Math.sqrt(g)*(o===s?-1:1))*n/a*h,v=g*-a/n*c,m=u*y-l*v+(e+i)/2,_=l*y+u*v+(t+r)/2,w=(c-y)/n,P=(h-v)/a,O=(-c-y)/n,x=(-h-v)/a,j=H(1,0,w,P),k=H(w,P,O,x);return 0===s&&k>0&&(k-=N),1===s&&k<0&&(k+=N),[m,_,j,k]}(t,i,r,n,a,o,c,f,d,b,g,y),_=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var i=[],r=!0,n=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(i.push(o.value),!t||i.length!==t);r=!0);}catch(e){n=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(n)throw a}}return i}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(m,4),w=_[0],P=_[1],O=_[2],x=_[3],j=Math.abs(x)/(N/4);Math.abs(1-j)<1e-7&&(j=1);var k=Math.max(Math.ceil(j),1);x/=k;for(var T=0;T<k;T++)p.push(I(O,x)),O+=x;return p.map((function(e){var t=L(e[0],a,o,b,d,w,P),i=t.x,r=t.y,n=L(e[1],a,o,b,d,w,P),s=n.x,l=n.y,u=L(e[2],a,o,b,d,w,P);return{x1:i,y1:r,x2:s,y2:l,x:u.x,y:u.y}}))};function z(e,t,i){if(t!==i)throw new Error("Required "+i+" arguments for "+e+" but got "+t)}function V(e,t,i){if(t<i)throw new Error("Required at least "+i+" arguments for "+e+" but got "+t)}function Y(e,t,i){if(V(e,t,i),t%i!=0)throw new Error("Arguments for "+e+" must be in pairs of "+i)}function G(e){if(0===e||1===e)return e;throw new Error("Flag must be 0 or 1")}function U(e,t){for(;(!e.interactive||t(e))&&e._parent;)e=e._parent}function W(e,t,i){return c.addEventListener(e,c.getRendererEvent(t),(function(e){var t=e.touches;t?(0==t.length&&(t=e.changedTouches),i(u.copy(t))):i([e])}))}function Z(e){var t=document.createElement("canvas");t.width=1,t.height=1;var i=t.getContext("2d");i.drawImage(e,0,0,1,1);try{return i.getImageData(0,0,1,1),!1}catch(t){return console.warn('Image "'+e.src+'" is loaded from different host and is not covered by CORS policy. For more information about the implications read here: https://www.amcharts.com/docs/v5/concepts/cors'),!0}}function X(e){e.width=0,e.height=0,e.style.width="0px",e.style.height="0px"}var K=function(){function e(){Object.defineProperty(this,"_x",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_y",{enumerable:!0,configurable:!0,writable:!0,value:0})}return Object.defineProperty(e.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e},enumerable:!1,configurable:!0}),e}(),$=function(e){function t(t){var i=e.call(this)||this;return Object.defineProperty(i,"_layer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"mask",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(i,"visible",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(i,"exportable",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(i,"interactive",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(i,"inactive",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(i,"wheelable",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(i,"cancelTouch",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(i,"isMeasured",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(i,"buttonMode",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(i,"alpha",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(i,"compoundAlpha",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(i,"angle",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(i,"scale",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(i,"x",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(i,"y",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(i,"pivot",{enumerable:!0,configurable:!0,writable:!0,value:new K}),Object.defineProperty(i,"filter",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"cursorOverStyle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"_replacedCursorStyle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"_localMatrix",{enumerable:!0,configurable:!0,writable:!0,value:new S}),Object.defineProperty(i,"_matrix",{enumerable:!0,configurable:!0,writable:!0,value:new S}),Object.defineProperty(i,"_uMatrix",{enumerable:!0,configurable:!0,writable:!0,value:new S}),Object.defineProperty(i,"_renderer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"_parent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"_localBounds",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"_bounds",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"_colorId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),i._renderer=t,i}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._renderer._removeObject(this)}}),Object.defineProperty(t.prototype,"getCanvas",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.getLayer().view}}),Object.defineProperty(t.prototype,"getLayer",{enumerable:!1,configurable:!0,writable:!0,value:function(){for(var e=this;;){if(e._layer)return e._layer;if(!e._parent)return this._renderer.defaultLayer;e=e._parent}}}),Object.defineProperty(t.prototype,"setLayer",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=!0),null==e?this._layer=void 0:(this._layer=this._renderer.getLayer(e,t),this._layer.visible=t,this._parent&&this._parent.registerChildLayer(this._layer))}}),Object.defineProperty(t.prototype,"markDirtyLayer",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.getLayer().dirty=!0}}),Object.defineProperty(t.prototype,"clear",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.invalidateBounds()}}),Object.defineProperty(t.prototype,"invalidateBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._localBounds=void 0}}),Object.defineProperty(t.prototype,"_addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),Object.defineProperty(t.prototype,"_getColorId",{enumerable:!1,configurable:!0,writable:!0,value:function(){return void 0===this._colorId&&(this._colorId=this._renderer.paintId(this)),this._colorId}}),Object.defineProperty(t.prototype,"_isInteractive",{enumerable:!1,configurable:!0,writable:!0,value:function(){return 0==this.inactive&&(this.interactive||this._renderer._forceInteractive>0)}}),Object.defineProperty(t.prototype,"_isInteractiveMask",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._isInteractive()}}),Object.defineProperty(t.prototype,"contains",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(;;){if(e===this)return!0;if(!e._parent)return!1;e=e._parent}}}),Object.defineProperty(t.prototype,"toGlobal",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._matrix.apply(e)}}),Object.defineProperty(t.prototype,"toLocal",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._matrix.applyInverse(e)}}),Object.defineProperty(t.prototype,"getLocalMatrix",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._uMatrix.setTransform(0,0,this.pivot.x,this.pivot.y,this.angle*Math.PI/180,this.scale),this._uMatrix}}),Object.defineProperty(t.prototype,"getLocalBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(!this._localBounds){var e=1e7;this._localBounds={left:e,top:e,right:-e,bottom:-e},this._addBounds(this._localBounds)}return this._localBounds}}),Object.defineProperty(t.prototype,"getAdjustedBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._setMatrix();var t=this.getLocalMatrix(),i=t.apply({x:e.left,y:e.top}),r=t.apply({x:e.right,y:e.top}),n=t.apply({x:e.right,y:e.bottom}),a=t.apply({x:e.left,y:e.bottom});return{left:Math.min(i.x,r.x,n.x,a.x),top:Math.min(i.y,r.y,n.y,a.y),right:Math.max(i.x,r.x,n.x,a.x),bottom:Math.max(i.y,r.y,n.y,a.y)}}}),Object.defineProperty(t.prototype,"on",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){return this.interactive?this._renderer._addEvent(this,e,t,i):new l.ku((function(){}))}}),Object.defineProperty(t.prototype,"_setMatrix",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._localMatrix.setTransform(this.x,this.y,this.pivot.x,this.pivot.y,this.angle*Math.PI/180,this.scale),this._matrix.copyFrom(this._localMatrix),this._parent&&this._matrix.prepend(this._parent._matrix)}}),Object.defineProperty(t.prototype,"_transform",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._matrix;e.setTransform(i.a*t,i.b*t,i.c*t,i.d*t,i.tx*t,i.ty*t)}}),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;if(this.visible&&(!1!==this.exportable||!this._renderer._omitTainted)){this._setMatrix();var i=this._renderer.resolution,r=this._renderer.layers,n=this._renderer._ghostContext,a=this.mask;a&&a._setMatrix(),u.each(r,(function(e){if(e){var r=e.context;r.save(),a&&(a._transform(r,e.scale||i),a._runPath(r),r.clip()),r.globalAlpha=t.compoundAlpha*t.alpha,t._transform(r,e.scale||i),t.filter&&(r.filter=t.filter)}})),n.save(),a&&this._isInteractiveMask()&&(a._transform(n,i),a._runPath(n),n.clip()),this._transform(n,i),this._render(e),n.restore(),u.each(r,(function(e){e&&e.context.restore()}))}}}),Object.defineProperty(t.prototype,"_render",{enumerable:!1,configurable:!0,writable:!0,value:function(e){!1===this.exportable&&((this._layer||e).tainted=!0)}}),Object.defineProperty(t.prototype,"hovering",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._renderer._hovering.has(this)}}),Object.defineProperty(t.prototype,"dragging",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;return this._renderer._dragging.some((function(t){return t.value===e}))}}),Object.defineProperty(t.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.getLayer().dirty=!0}}),Object.defineProperty(t.prototype,"shouldCancelTouch",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this._renderer;return!(e.tapToActivate&&!e._touchActive)&&(!!this.cancelTouch||!!this._parent&&this._parent.shouldCancelTouch())}}),t}(l.KK),q=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"interactiveChildren",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(t,"_childLayers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_children",{enumerable:!0,configurable:!0,writable:!0,value:[]}),t}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"_isInteractiveMask",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.interactiveChildren||e.prototype._isInteractiveMask.call(this)}}),Object.defineProperty(t.prototype,"addChild",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e._parent=this,this._children.push(e),e._layer&&this.registerChildLayer(e._layer)}}),Object.defineProperty(t.prototype,"addChildAt",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e._parent=this,this._children.splice(t,0,e),e._layer&&this.registerChildLayer(e._layer)}}),Object.defineProperty(t.prototype,"removeChild",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e._parent=void 0,u.removeFirst(this._children,e)}}),Object.defineProperty(t.prototype,"_render",{enumerable:!1,configurable:!0,writable:!0,value:function(t){var i=this;e.prototype._render.call(this,t);var r=this._renderer;this.interactive&&this.interactiveChildren&&++r._forceInteractive;var n=this._layer||t;u.each(this._children,(function(e){e.compoundAlpha=i.compoundAlpha*i.alpha,e.render(n)})),this.interactive&&this.interactiveChildren&&--r._forceInteractive}}),Object.defineProperty(t.prototype,"registerChildLayer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._childLayers||(this._childLayers=[]),u.pushOne(this._childLayers,e),this._parent&&this._parent.registerChildLayer(e)}}),Object.defineProperty(t.prototype,"markDirtyLayer",{enumerable:!1,configurable:!0,writable:!0,value:function(t){void 0===t&&(t=!1),e.prototype.markDirtyLayer.call(this),t&&this._childLayers&&u.each(this._childLayers,(function(e){return e.dirty=!0}))}}),Object.defineProperty(t.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype.dispose.call(this),this._childLayers&&u.each(this._childLayers,(function(e){e.dirty=!0}))}}),t}($);function J(e,t){e.left=Math.min(e.left,t.x),e.top=Math.min(e.top,t.y),e.right=Math.max(e.right,t.x),e.bottom=Math.max(e.bottom,t.y)}var Q=function(){function e(){}return Object.defineProperty(e.prototype,"colorize",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){}}),Object.defineProperty(e.prototype,"path",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),Object.defineProperty(e.prototype,"addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),e}(),ee=function(e){function t(t){var i=e.call(this)||this;return Object.defineProperty(i,"color",{enumerable:!0,configurable:!0,writable:!0,value:t}),i}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"colorize",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e.fillStyle=void 0!==t?t:this.color}}),t}(Q),te=function(e){function t(t){var i=e.call(this)||this;return Object.defineProperty(i,"clearShadow",{enumerable:!0,configurable:!0,writable:!0,value:t}),i}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"colorize",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e.fill(),this.clearShadow&&(e.shadowColor="",e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0)}}),t}(Q),ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"colorize",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e.stroke()}}),t}(Q),re=function(e){function t(t,i,r){var n=e.call(this)||this;return Object.defineProperty(n,"width",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(n,"color",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(n,"lineJoin",{enumerable:!0,configurable:!0,writable:!0,value:r}),n}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"colorize",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e.strokeStyle=void 0!==t?t:this.color,e.lineWidth=this.width,this.lineJoin&&(e.lineJoin=this.lineJoin)}}),t}(Q),ne=function(e){function t(t){var i=e.call(this)||this;return Object.defineProperty(i,"dash",{enumerable:!0,configurable:!0,writable:!0,value:t}),i}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"colorize",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e.setLineDash(this.dash)}}),t}(Q),ae=function(e){function t(t){var i=e.call(this)||this;return Object.defineProperty(i,"dashOffset",{enumerable:!0,configurable:!0,writable:!0,value:t}),i}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"colorize",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e.lineDashOffset=this.dashOffset}}),t}(Q),oe=function(e){function t(t,i,r,n){var a=e.call(this)||this;return Object.defineProperty(a,"x",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(a,"y",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(a,"width",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(a,"height",{enumerable:!0,configurable:!0,writable:!0,value:n}),a}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"path",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.rect(this.x,this.y,this.width,this.height)}}),Object.defineProperty(t.prototype,"addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.x,i=this.y,r=t+this.width,n=i+this.height;J(e,{x:t,y:i}),J(e,{x:r,y:i}),J(e,{x:t,y:n}),J(e,{x:r,y:n})}}),t}(Q),se=function(e){function t(t,i,r){var n=e.call(this)||this;return Object.defineProperty(n,"x",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(n,"y",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(n,"radius",{enumerable:!0,configurable:!0,writable:!0,value:r}),n}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"path",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.moveTo(this.x+this.radius,this.y),e.arc(this.x,this.y,this.radius,0,2*Math.PI)}}),Object.defineProperty(t.prototype,"addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){J(e,{x:this.x-this.radius,y:this.y-this.radius}),J(e,{x:this.x+this.radius,y:this.y+this.radius})}}),t}(Q),le=function(e){function t(t,i,r,n){var a=e.call(this)||this;return Object.defineProperty(a,"x",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(a,"y",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(a,"radiusX",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(a,"radiusY",{enumerable:!0,configurable:!0,writable:!0,value:n}),a}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"path",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.ellipse(0,0,this.radiusX,this.radiusY,0,0,2*Math.PI)}}),Object.defineProperty(t.prototype,"addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){J(e,{x:this.x-this.radiusX,y:this.y-this.radiusY}),J(e,{x:this.x+this.radiusX,y:this.y+this.radiusY})}}),t}(Q),ue=function(e){function t(t,i,r,n,a,o){var s=e.call(this)||this;return Object.defineProperty(s,"cx",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(s,"cy",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(s,"radius",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(s,"startAngle",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(s,"endAngle",{enumerable:!0,configurable:!0,writable:!0,value:a}),Object.defineProperty(s,"anticlockwise",{enumerable:!0,configurable:!0,writable:!0,value:o}),s}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"path",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.radius>0&&e.arc(this.cx,this.cy,this.radius,this.startAngle,this.endAngle,this.anticlockwise)}}),Object.defineProperty(t.prototype,"addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=B.getArcBounds(this.cx,this.cy,this.startAngle*B.DEGREES,this.endAngle*B.DEGREES,this.radius);J(e,{x:t.left,y:t.top}),J(e,{x:t.right,y:t.bottom})}}),t}(Q),ce=function(e){function t(t,i,r,n,a){var o=e.call(this)||this;return Object.defineProperty(o,"x1",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(o,"y1",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(o,"x2",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(o,"y2",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(o,"radius",{enumerable:!0,configurable:!0,writable:!0,value:a}),o}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"path",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.radius>0&&e.arcTo(this.x1,this.y1,this.x2,this.y2,this.radius)}}),Object.defineProperty(t.prototype,"addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),t}(Q),he=function(e){function t(t,i){var r=e.call(this)||this;return Object.defineProperty(r,"x",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(r,"y",{enumerable:!0,configurable:!0,writable:!0,value:i}),r}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"path",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.lineTo(this.x,this.y)}}),Object.defineProperty(t.prototype,"addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){J(e,{x:this.x,y:this.y})}}),t}(Q),fe=function(e){function t(t,i){var r=e.call(this)||this;return Object.defineProperty(r,"x",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(r,"y",{enumerable:!0,configurable:!0,writable:!0,value:i}),r}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"path",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.moveTo(this.x,this.y)}}),Object.defineProperty(t.prototype,"addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){J(e,{x:this.x,y:this.y})}}),t}(Q),pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"path",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.closePath()}}),t}(Q),de=function(e){function t(t,i,r,n,a,o){var s=e.call(this)||this;return Object.defineProperty(s,"cpX",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(s,"cpY",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(s,"cpX2",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(s,"cpY2",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(s,"toX",{enumerable:!0,configurable:!0,writable:!0,value:a}),Object.defineProperty(s,"toY",{enumerable:!0,configurable:!0,writable:!0,value:o}),s}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"path",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.bezierCurveTo(this.cpX,this.cpY,this.cpX2,this.cpY2,this.toX,this.toY)}}),Object.defineProperty(t.prototype,"addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){J(e,{x:this.cpX,y:this.cpY}),J(e,{x:this.cpX2,y:this.cpY2}),J(e,{x:this.toX,y:this.toY})}}),t}(Q),be=function(e){function t(t,i,r,n){var a=e.call(this)||this;return Object.defineProperty(a,"cpX",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(a,"cpY",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(a,"toX",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(a,"toY",{enumerable:!0,configurable:!0,writable:!0,value:n}),a}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"path",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.quadraticCurveTo(this.cpX,this.cpY,this.toX,this.toY)}}),Object.defineProperty(t.prototype,"addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){J(e,{x:this.cpX,y:this.cpY}),J(e,{x:this.toX,y:this.toY})}}),t}(Q),ge=function(e){function t(t,i,r,n,a){var o=e.call(this)||this;return Object.defineProperty(o,"color",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(o,"blur",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(o,"offsetX",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(o,"offsetY",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(o,"opacity",{enumerable:!0,configurable:!0,writable:!0,value:a}),o}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"colorize",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this.opacity&&(e.fillStyle=this.color),e.shadowColor=this.color,e.shadowBlur=this.blur,e.shadowOffsetX=this.offsetX,e.shadowOffsetY=this.offsetY}}),t}(Q),ye=function(e){function t(t,i,r,n,a){var o=e.call(this)||this;return Object.defineProperty(o,"image",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(o,"width",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(o,"height",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(o,"x",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(o,"y",{enumerable:!0,configurable:!0,writable:!0,value:a}),o}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"path",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.drawImage(this.image,this.x,this.y,this.width,this.height)}}),Object.defineProperty(t.prototype,"addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){J(e,{x:this.x,y:this.y}),J(e,{x:this.width,y:this.height})}}),t}(Q),ve=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_operations",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(t,"blendMode",{enumerable:!0,configurable:!0,writable:!0,value:D.b.NORMAL}),Object.defineProperty(t,"_hasShadows",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_fillAlpha",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_strokeAlpha",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),t}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"clear",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype.clear.call(this),this._operations.length=0}}),Object.defineProperty(t.prototype,"_pushOp",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._operations.push(e)}}),Object.defineProperty(t.prototype,"beginFill",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=1),this._fillAlpha=t,e?e instanceof C.Il?this._pushOp(new ee(e.toCSS(t))):(this.isMeasured=!0,this._pushOp(new ee(e))):this._pushOp(new ee("rgba(0, 0, 0, "+t+")"))}}),Object.defineProperty(t.prototype,"endFill",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._pushOp(new te(this._hasShadows))}}),Object.defineProperty(t.prototype,"endStroke",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._pushOp(new ie)}}),Object.defineProperty(t.prototype,"lineStyle",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r){void 0===e&&(e=0),void 0===i&&(i=1),this._strokeAlpha=i,t?t instanceof C.Il?this._pushOp(new re(e,t.toCSS(i),r)):this._pushOp(new re(e,t,r)):this._pushOp(new re(e,"rgba(0, 0, 0, "+i+")",r))}}),Object.defineProperty(t.prototype,"setLineDash",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._pushOp(new ne(e||[]))}}),Object.defineProperty(t.prototype,"setLineDashOffset",{enumerable:!1,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=0),this._pushOp(new ae(e))}}),Object.defineProperty(t.prototype,"drawRect",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r){this._pushOp(new oe(e,t,i,r))}}),Object.defineProperty(t.prototype,"drawCircle",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){this._pushOp(new se(e,t,i))}}),Object.defineProperty(t.prototype,"drawEllipse",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r){this._pushOp(new le(e,t,i,r))}}),Object.defineProperty(t.prototype,"arc",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r,n,a){void 0===a&&(a=!1),this._pushOp(new ue(e,t,i,r,n,a))}}),Object.defineProperty(t.prototype,"arcTo",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r,n){this._pushOp(new ce(e,t,i,r,n))}}),Object.defineProperty(t.prototype,"lineTo",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._pushOp(new he(e,t))}}),Object.defineProperty(t.prototype,"moveTo",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._pushOp(new fe(e,t))}}),Object.defineProperty(t.prototype,"bezierCurveTo",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r,n,a){this._pushOp(new de(e,t,i,r,n,a))}}),Object.defineProperty(t.prototype,"quadraticCurveTo",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r){this._pushOp(new be(e,t,i,r))}}),Object.defineProperty(t.prototype,"closePath",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._pushOp(new pe)}}),Object.defineProperty(t.prototype,"shadow",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r,n){void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),this._hasShadows=!0,this._pushOp(new ge(n?e.toCSS(n):e.toCSS(this._fillAlpha||this._strokeAlpha),t,i,r))}}),Object.defineProperty(t.prototype,"image",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r,n){this._pushOp(new ye(e,t,i,r,n))}}),Object.defineProperty(t.prototype,"svgPath",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(var t,i=this,r=0,n=0,a=null,o=null,s=null,l=null,c=/([MmZzLlHhVvCcSsQqTtAa])([^MmZzLlHhVvCcSsQqTtAa]*)/g,h=/[\u0009\u0020\u000A\u000C\u000D]*([\+\-]?[0-9]*\.?[0-9]+(?:[eE][\+\-]?[0-9]+)?)[\u0009\u0020\u000A\u000C\u000D]*,?/g;null!==(t=c.exec(e));){for(var f=t[1],p=t[2],d=[];null!==(t=h.exec(p));)d.push(+t[1]);switch("S"!==f&&"s"!==f&&"C"!==f&&"c"!==f&&(a=null,o=null),"Q"!==f&&"q"!==f&&"T"!==f&&"t"!==f&&(s=null,l=null),f){case"M":Y(f,d.length,2),r=d[0],n=d[1],this.moveTo(r,n);for(var b=2;b<d.length;b+=2)r=d[b],n=d[b+1],this.lineTo(r,n);break;case"m":for(Y(f,d.length,2),r+=d[0],n+=d[1],this.moveTo(r,n),b=2;b<d.length;b+=2)r+=d[b],n+=d[b+1],this.lineTo(r,n);break;case"L":for(Y(f,d.length,2),b=0;b<d.length;b+=2)r=d[b],n=d[b+1],this.lineTo(r,n);break;case"l":for(Y(f,d.length,2),b=0;b<d.length;b+=2)r+=d[b],n+=d[b+1],this.lineTo(r,n);break;case"H":for(V(f,d.length,1),b=0;b<d.length;++b)r=d[b],this.lineTo(r,n);break;case"h":for(V(f,d.length,1),b=0;b<d.length;++b)r+=d[b],this.lineTo(r,n);break;case"V":for(V(f,d.length,1),b=0;b<d.length;++b)n=d[b],this.lineTo(r,n);break;case"v":for(V(f,d.length,1),b=0;b<d.length;++b)n+=d[b],this.lineTo(r,n);break;case"C":for(Y(f,d.length,6),b=0;b<d.length;b+=6){var g=d[b],y=d[b+1];a=d[b+2],o=d[b+3],r=d[b+4],n=d[b+5],this.bezierCurveTo(g,y,a,o,r,n)}break;case"c":for(Y(f,d.length,6),b=0;b<d.length;b+=6)g=d[b]+r,y=d[b+1]+n,a=d[b+2]+r,o=d[b+3]+n,r+=d[b+4],n+=d[b+5],this.bezierCurveTo(g,y,a,o,r,n);break;case"S":for(Y(f,d.length,4),null!==a&&null!==o||(a=r,o=n),b=0;b<d.length;b+=4)g=2*r-a,y=2*n-o,a=d[b],o=d[b+1],r=d[b+2],n=d[b+3],this.bezierCurveTo(g,y,a,o,r,n);break;case"s":for(Y(f,d.length,4),null!==a&&null!==o||(a=r,o=n),b=0;b<d.length;b+=4)g=2*r-a,y=2*n-o,a=d[b]+r,o=d[b+1]+n,r+=d[b+2],n+=d[b+3],this.bezierCurveTo(g,y,a,o,r,n);break;case"Q":for(Y(f,d.length,4),b=0;b<d.length;b+=4)s=d[b],l=d[b+1],r=d[b+2],n=d[b+3],this.quadraticCurveTo(s,l,r,n);break;case"q":for(Y(f,d.length,4),b=0;b<d.length;b+=4)s=d[b]+r,l=d[b+1]+n,r+=d[b+2],n+=d[b+3],this.quadraticCurveTo(s,l,r,n);break;case"T":for(Y(f,d.length,2),null!==s&&null!==l||(s=r,l=n),b=0;b<d.length;b+=2)s=2*r-s,l=2*n-l,r=d[b],n=d[b+1],this.quadraticCurveTo(s,l,r,n);break;case"t":for(Y(f,d.length,2),null!==s&&null!==l||(s=r,l=n),b=0;b<d.length;b+=2)s=2*r-s,l=2*n-l,r+=d[b],n+=d[b+1],this.quadraticCurveTo(s,l,r,n);break;case"A":case"a":var v="a"===f;for(Y(f,d.length,7),b=0;b<d.length;b+=7){var m=d[b+5],_=d[b+6];v&&(m+=r,_+=n);var w=F({px:r,py:n,rx:d[b],ry:d[b+1],xAxisRotation:d[b+2],largeArcFlag:G(d[b+3]),sweepFlag:G(d[b+4]),cx:m,cy:_});u.each(w,(function(e){i.bezierCurveTo(e.x1,e.y1,e.x2,e.y2,e.x,e.y),r=e.x,n=e.y}))}break;case"Z":case"z":z(f,d.length,0),this.closePath()}}}}),Object.defineProperty(t.prototype,"_runPath",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.beginPath(),u.each(this._operations,(function(t){t.path(e)}))}}),Object.defineProperty(t.prototype,"_render",{enumerable:!1,configurable:!0,writable:!0,value:function(t){e.prototype._render.call(this,t);var i=this._layer||t,r=i.dirty,n=this._isInteractive();if(r||n){var a,o=i.context,s=this._renderer._ghostContext;r&&(o.globalCompositeOperation=this.blendMode,o.beginPath()),n&&(s.beginPath(),a=this._getColorId()),u.each(this._operations,(function(e){r&&(e.path(o),e.colorize(o,void 0)),n&&(e.path(s),e.colorize(s,a))}))}}}),Object.defineProperty(t.prototype,"renderDetached",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this.visible){this._setMatrix(),e.save();var t=this.mask;t&&(t._setMatrix(),t._transform(e,1),t._runPath(e),e.clip()),e.globalAlpha=this.compoundAlpha*this.alpha,this._transform(e,1),this.filter&&(e.filter=this.filter),e.globalCompositeOperation=this.blendMode,e.beginPath(),u.each(this._operations,(function(t){t.path(e),t.colorize(e,void 0)})),e.restore()}}}),Object.defineProperty(t.prototype,"_addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.visible&&this.isMeasured&&u.each(this._operations,(function(t){t.addBounds(e)}))}}),t}($),me=function(e){function t(t,i,r){var n=e.call(this,t)||this;return Object.defineProperty(n,"text",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"style",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"resolution",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(n,"_textInfo",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"_textVisible",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(n,"_originalScale",{enumerable:!0,configurable:!0,writable:!0,value:1}),n.text=i,n.style=r,n}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"invalidateBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype.invalidateBounds.call(this),this._textInfo=void 0}}),Object.defineProperty(t.prototype,"_shared",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.style.textAlign&&(e.textAlign=this.style.textAlign),this.style.direction&&(e.direction=this.style.direction),this.style.textBaseline&&(e.textBaseline=this.style.textBaseline)}}),Object.defineProperty(t.prototype,"_prerender",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i,r){void 0===i&&(i=!1),void 0===r&&(r=!1),e.prototype._render.call(this,t);var n=t.context,a=this._renderer._ghostContext,o=this.style,s=this._getFontStyle(void 0,r);n.font=s,this._isInteractive()&&!i&&(a.font=s),o.fill&&(o.fill instanceof C.Il?n.fillStyle=o.fill.toCSS():n.fillStyle=o.fill),o.shadowColor&&(t.context.shadowColor=o.shadowColor.toCSS(o.shadowOpacity||1)),o.shadowBlur&&(t.context.shadowBlur=o.shadowBlur),o.shadowOffsetX&&(t.context.shadowOffsetX=o.shadowOffsetX),o.shadowOffsetY&&(t.context.shadowOffsetY=o.shadowOffsetY),this._shared(n),this._isInteractive()&&!i&&(a.fillStyle=this._getColorId(),this._shared(a))}}),Object.defineProperty(t.prototype,"_getFontStyle",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=!1);var i=this.style,r=[];return e&&e.fontVariant?r.push(e.fontVariant):i.fontVariant&&r.push(i.fontVariant),t||(e&&e.fontWeight?r.push(e.fontWeight):i.fontWeight&&r.push(i.fontWeight)),e&&e.fontStyle?r.push(e.fontStyle):i.fontStyle&&r.push(i.fontStyle),e&&e.fontSize?(R.isNumber(e.fontSize)&&(e.fontSize=e.fontSize+"px"),r.push(e.fontSize)):i.fontSize&&(R.isNumber(i.fontSize)&&(i.fontSize=i.fontSize+"px"),r.push(i.fontSize)),e&&e.fontFamily?r.push(e.fontFamily):i.fontFamily?r.push(i.fontFamily):r.length&&r.push("Arial"),r.join(" ")}}),Object.defineProperty(t.prototype,"_render",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,i=this._layer||e;if(this._textInfo||this._measure(i),this._textVisible){var r=this._isInteractive(),n=i.context,a=i.dirty,o=this._renderer._ghostContext;n.save(),o.save(),this._prerender(i),u.each(this._textInfo,(function(e,i){u.each(e.textChunks,(function(i,s){if(i.style&&(n.save(),o.save(),n.font=i.style,t._isInteractive()&&(o.font=i.style)),i.fill&&(n.save(),n.fillStyle=i.fill.toCSS()),a&&n.fillText(i.text,i.offsetX,e.offsetY+i.offsetY),"underline"==i.textDecoration||"line-through"==i.textDecoration){var l=1,u=1,c=i.height,h=i.offsetX;switch(t.style.textAlign){case"right":case"end":h-=i.width;break;case"center":h-=i.width/2}if(i.style)switch(E.V.getTextStyle(i.style).fontWeight){case"bolder":case"bold":case"700":case"800":case"900":l=2}c&&(u=c/20);var f;f="line-through"==i.textDecoration?l+e.offsetY+i.offsetY-i.height/2:l+1.5*u+e.offsetY+i.offsetY,n.save(),n.beginPath(),i.fill?n.strokeStyle=i.fill.toCSS():t.style.fill&&t.style.fill instanceof C.Il&&(n.strokeStyle=t.style.fill.toCSS()),n.lineWidth=l*u,n.moveTo(h,f),n.lineTo(h+i.width,f),n.stroke(),n.restore()}r&&t.interactive&&o.fillText(i.text,i.offsetX,e.offsetY+i.offsetY),i.fill&&n.restore(),i.style&&(n.restore(),o.restore())}))})),n.restore(),o.restore()}}}),Object.defineProperty(t.prototype,"_addBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this.visible&&this.isMeasured){var t=this._measure(this.getLayer());J(e,{x:t.left,y:t.top}),J(e,{x:t.right,y:t.bottom})}}}),Object.defineProperty(t.prototype,"_measure",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,i=e.context,r=this._renderer._ghostContext,n="rtl"==this.style.direction;this._textInfo=[];var a=this.style.oversizedBehavior,o=this.style.maxWidth,s=R.isNumber(o)&&"truncate"==a,l=R.isNumber(o)&&"wrap"==a;i.save(),r.save(),this._prerender(e,!0,!0);var h,f="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ",p=this.text.toString().replace(/\r/g,"").split(/\n/),d=!0,b=0,g=0,y=0;u.each(p,(function(e,n){var a;a=""==e?[{type:"value",text:""}]:E.V.chunk(e,!1,t.style.ignoreFormatting);for(var p=function(){var e,n={offsetY:y,ascent:0,width:0,height:0,left:0,right:0,textChunks:[]},p=t._measureText(f,i),v=p.actualBoundingBoxAscent+p.actualBoundingBoxDescent;n.height=v,n.ascent=p.actualBoundingBoxAscent;var m,_,w,P=t.style.textDecoration,O=!1,x=!0,j=[];u.eachContinue(a,(function(u,p){if("format"==u.type)if("[/]"==u.text)d||(i.restore(),r.restore(),d=!0),m=void 0,h=void 0,_=void 0,P=t.style.textDecoration,w=void 0,e=u.text;else{d||(i.restore(),r.restore());var b=E.V.getTextStyle(u.text),g=t._getFontStyle(b);i.save(),r.save(),i.font=g,h=g,e=u.text,b.textDecoration&&(P=b.textDecoration),b.fill&&(m=b.fill),b.width&&(_=R.toNumber(b.width)),b.verticalAlign&&(w=b.verticalAlign),d=!1;var y=t._measureText(f,i),v=y.actualBoundingBoxAscent+y.actualBoundingBoxDescent;v>n.height&&(n.height=v),y.actualBoundingBoxAscent>n.ascent&&(n.ascent=y.actualBoundingBoxAscent)}else if("value"==u.type&&!O){var k=t._measureText(u.text,i),T=k.actualBoundingBoxLeft+k.actualBoundingBoxRight;if(s){var D=x||t.style.breakWords||!1,C=t.style.ellipsis||"",S=t._measureText(C,i),M=S.actualBoundingBoxLeft+S.actualBoundingBoxRight;if(n.width+T>o){var A=o-n.width-M;u.text=t._truncateText(i,u.text,A,D),u.text+=C,O=!0}}else if(l&&n.width+T>o){A=o-n.width;var B=t._truncateText(i,u.text,A,!1,x);if(""==B)return t._textVisible=!0,!1;j=a.slice(p+1),c.trim(B)!=c.trim(u.text)&&(j.unshift({type:"value",text:u.text.substr(B.length)}),e&&j.unshift({type:"format",text:e})),u.text=c.trim(B),a=[],O=!0}var N=1,L=1;if(h&&_&&_>T){var I=T/_;switch(t.style.textAlign){case"right":case"end":N=I;break;case"center":N=I,L=I;break;default:L=I}T=_}var H=k.actualBoundingBoxAscent+k.actualBoundingBoxDescent;H>n.height&&(n.height=H),k.actualBoundingBoxAscent>n.ascent&&(n.ascent=k.actualBoundingBoxAscent),n.width+=T,n.left+=k.actualBoundingBoxLeft/N,n.right+=k.actualBoundingBoxRight/L,n.textChunks.push({style:h,fill:m,text:u.text,width:T,height:H,left:k.actualBoundingBoxLeft,right:k.actualBoundingBoxRight,ascent:k.actualBoundingBoxAscent,offsetX:0,offsetY:0,textDecoration:P,verticalAlign:w}),x=!1}return!0})),t.style.lineHeight instanceof M.gG?(n.height*=t.style.lineHeight.value,n.ascent*=t.style.lineHeight.value):(n.height*=t.style.lineHeight||1.2,n.ascent*=t.style.lineHeight||1.2),b<n.left&&(b=n.left),g<n.right&&(g=n.right),t._textInfo.push(n),y+=n.height,a=j||[]};a.length>0;)p()})),d||(i.restore(),r.restore()),u.each(this._textInfo,(function(e,i){var r=0;u.each(e.textChunks,(function(i){if(i.offsetX=r+i.left-e.left,i.offsetY+=e.height-e.height*(t.style.baselineRatio||.19),r+=i.width,i.verticalAlign)switch(i.verticalAlign){case"super":i.offsetY-=e.height/2-i.height/2;break;case"sub":i.offsetY+=i.height/2}}))}));var v={left:n?-g:-b,top:0,right:n?b:g,bottom:y};if("none"!==a){var m=this._fitRatio(v);if(m<1)if("fit"==a)R.isNumber(this.style.minScale)&&m<this.style.minScale?this._textVisible=!1:(this._originalScale&&1!=this._originalScale||(this._originalScale=this.scale),this.scale=m,this._textVisible=!0);else if("hide"==a)this._textVisible=!1;else{switch(this.style.textAlign){case"right":case"end":v.left=-o,v.right=0;break;case"center":v.left=-o/2,v.right=o/2;break;default:v.left=0,v.right=o}this.scale=this._originalScale||1,this._originalScale=void 0,this._textVisible=!0}else this.scale=this._originalScale||1,this._originalScale=void 0,this._textVisible=!0}return i.restore(),r.restore(),v}}),Object.defineProperty(t.prototype,"_fitRatio",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.style.maxWidth,i=this.style.maxHeight;if(!R.isNumber(t)&&!R.isNumber(i))return 1;var r=e.right-e.left,n=e.bottom-e.top;return Math.min(t/r||1,i/n||1)}}),Object.defineProperty(t.prototype,"_truncateText",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r,n){var a;void 0===r&&(r=!1),void 0===n&&(n=!0);do{if(r)t=t.slice(0,-1);else{var o=t.replace(/[^,;:!?\\\/\s]+[,;:!?\\\/\s]*$/g,"");""==o&&n?r=!0:t=o}var s=this._measureText(t,e);a=s.actualBoundingBoxLeft+s.actualBoundingBoxRight}while(a>i&&""!=t);return t}}),Object.defineProperty(t.prototype,"_measureText",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=t.measureText(e),r={};if(null==i.actualBoundingBoxAscent){var n=document.createElement("div");n.innerText=e,n.style.visibility="hidden",n.style.position="absolute",n.style.top="-1000000px;",n.style.fontFamily=this.style.fontFamily||"",n.style.fontSize=this.style.fontSize+"",document.body.appendChild(n);var a=n.getBoundingClientRect();document.body.removeChild(n);var o=a.height,s=i.width;r={actualBoundingBoxAscent:o,actualBoundingBoxDescent:0,actualBoundingBoxLeft:0,actualBoundingBoxRight:s,fontBoundingBoxAscent:o,fontBoundingBoxDescent:0,width:s}}else r={actualBoundingBoxAscent:i.actualBoundingBoxAscent,actualBoundingBoxDescent:i.actualBoundingBoxDescent,actualBoundingBoxLeft:i.actualBoundingBoxLeft,actualBoundingBoxRight:i.actualBoundingBoxRight,fontBoundingBoxAscent:i.actualBoundingBoxAscent,fontBoundingBoxDescent:i.actualBoundingBoxDescent,width:i.width};var l=i.width;switch(this.style.textAlign){case"right":case"end":r.actualBoundingBoxLeft=l,r.actualBoundingBoxRight=0;break;case"center":r.actualBoundingBoxLeft=l/2,r.actualBoundingBoxRight=l/2;break;default:r.actualBoundingBoxLeft=0,r.actualBoundingBoxRight=l}return r}}),t}($),_e=function(){return function(){Object.defineProperty(this,"fill",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"textAlign",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontFamily",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontWeight",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontVariant",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"textDecoration",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowColor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowBlur",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOffsetX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOffsetY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOpacity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"lineHeight",{enumerable:!0,configurable:!0,writable:!0,value:(0,M.aQ)(120)}),Object.defineProperty(this,"baselineRatio",{enumerable:!0,configurable:!0,writable:!0,value:.19}),Object.defineProperty(this,"direction",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"textBaseline",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"oversizedBehavior",{enumerable:!0,configurable:!0,writable:!0,value:"none"}),Object.defineProperty(this,"breakWords",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"ellipsis",{enumerable:!0,configurable:!0,writable:!0,value:"…"}),Object.defineProperty(this,"maxWidth",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"maxHeight",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"minScale",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ignoreFormatting",{enumerable:!0,configurable:!0,writable:!0,value:!1})}}(),we=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"textType",{enumerable:!0,configurable:!0,writable:!0,value:"circular"}),Object.defineProperty(t,"radius",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"startAngle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"inside",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"orientation",{enumerable:!0,configurable:!0,writable:!0,value:"auto"}),Object.defineProperty(t,"kerning",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"_textReversed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),t}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"_render",{enumerable:!1,configurable:!0,writable:!0,value:function(t){"circular"===this.textType?this._renderCircular(t):e.prototype._render.call(this,t)}}),Object.defineProperty(t.prototype,"_renderCircular",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this._layer||e;this._prerender(t);var i=this._isInteractive(),r=t.context,n=t.dirty,a=this._renderer._ghostContext;r.save(),i&&a.save();var o=this.radius||0,s=this.startAngle||0,l=0,c=this.orientation,h="auto"==c?"auto":"inward"==c,f=this.inside,p=this.style.textAlign||"left",d=this.kerning||0,b="left"==p?1:-1,g=!this._textReversed;if(this._textInfo||this._measure(t),"auto"==h){var y=0,v=0;u.each(this._textInfo,(function(e,t){var i=s+e.width/(o-e.height)/2*-b;i>y&&(y=i)})),v="left"==p?(y+l/2)*B.DEGREES:"right"==p?(y-l/2)*B.DEGREES:s*B.DEGREES,v=B.normalizeAngle(v),h=v>=270||v<=90}1==h&&g&&(this._textInfo.reverse(),this._textReversed=!0),u.each(this._textInfo,(function(e,t){var c=e.height;f||(o+=c),(-1==b&&h||1==b&&!h)&&g&&e.textChunks.reverse();var y=s;l=0,"center"==p&&(y+=e.width/(o-c)/2*-b,l=y-s),y+=Math.PI*(h?0:1),r.save(),i&&a.save(),r.rotate(y),i&&a.rotate(y);var v=0;u.each(e.textChunks,(function(e,t){var s=e.text,l=e.width;v=l/2/(o-c)*b,r.rotate(v),i&&a.rotate(v),e.style&&(r.save(),a.save(),r.font=e.style,i&&(a.font=e.style)),e.fill&&(r.save(),r.fillStyle=e.fill.toCSS()),r.textBaseline="middle",r.textAlign="center",i&&(a.textBaseline="middle",a.textAlign="center"),n&&r.fillText(s,0,(h?1:-1)*(0-o+c/2)),i&&a.fillText(s,0,(h?1:-1)*(0-o+c/2)),e.fill&&r.restore(),e.style&&(r.restore(),a.restore()),v=(l/2+d)/(o-c)*b,r.rotate(v),i&&a.rotate(v)})),r.restore(),i&&a.restore(),f&&(o-=c)})),r.restore(),i&&a.restore()}}),Object.defineProperty(t.prototype,"_measure",{enumerable:!1,configurable:!0,writable:!0,value:function(t){return"circular"===this.textType?this._measureCircular(t):e.prototype._measure.call(this,t)}}),Object.defineProperty(t.prototype,"_measureCircular",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,i=e.context,r=this._renderer._ghostContext,n="rtl"==this.style.direction;this._textInfo=[],this._textReversed=!1,i.save(),r.save(),this._prerender(e,!0);var a=this.text.toString().replace(/\r/g,"").split(/\n/),o=!0,s=0;return u.each(a,(function(e,a){var l,c,h,f=E.V.chunk(e,!1,t.style.ignoreFormatting),p={offsetY:s,ascent:0,width:0,height:0,left:0,right:0,textChunks:[]};u.each(f,(function(e,a){if("format"==e.type)if("[/]"==e.text)o||(i.restore(),r.restore(),o=!0),c=void 0,l=void 0,h=void 0;else{var s=E.V.getTextStyle(e.text),u=t._getFontStyle(s);i.save(),r.save(),i.font=u,l=u,s.fill&&(c=s.fill),s.width&&(h=R.toNumber(s.width)),o=!1}else if("value"==e.type){var f=e.text.match(/./gu)||[];n&&f.reverse();for(var d=0;d<f.length;d++){var b=f[d],g=t._measureText(b,i),y=g.width;l&&h&&h>y&&(y=h);var v=g.actualBoundingBoxAscent+g.actualBoundingBoxDescent;if(v>p.height&&(p.height=v),g.actualBoundingBoxAscent>p.ascent&&(p.ascent=g.actualBoundingBoxAscent),p.width+=y,p.left+=g.actualBoundingBoxLeft,p.right+=g.actualBoundingBoxRight,p.textChunks.push({style:l,fill:c,text:b,width:y,height:v+g.actualBoundingBoxDescent,left:g.actualBoundingBoxLeft,right:g.actualBoundingBoxRight,ascent:g.actualBoundingBoxAscent,offsetX:0,offsetY:v,textDecoration:void 0}),n)break}}})),t.style.lineHeight instanceof M.gG?p.height*=t.style.lineHeight.value:p.height*=t.style.lineHeight||1.2,t._textInfo.push(p),s+=p.height})),o||(i.restore(),r.restore()),u.each(this._textInfo,(function(e){u.each(e.textChunks,(function(t){t.offsetY+=Math.round((e.height-t.height+(e.ascent-t.ascent))/2)}))})),i.restore(),r.restore(),{left:0,top:0,right:0,bottom:0}}}),t}(me),Pe=function(e){function t(t,i){var r=e.call(this,t)||this;return Object.defineProperty(r,"width",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"height",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"image",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"tainted",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"shadowColor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"shadowBlur",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"shadowOffsetX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"shadowOffsetY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"shadowOpacity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"_imageMask",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),r.image=i,r}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._dispose.call(this),this._imageMask&&X(this._imageMask)}}),Object.defineProperty(t.prototype,"getLocalBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(!this._localBounds){var e=0,t=0;this.width&&(e=this.width),this.height&&(t=this.height),this._localBounds={left:0,top:0,right:e,bottom:t},this._addBounds(this._localBounds)}return this._localBounds}}),Object.defineProperty(t.prototype,"_render",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(e.prototype._render.call(this,t),this.image){var i=this._layer||t;if(void 0===this.tainted&&(this.tainted=Z(this.image),i.tainted=!0),this.tainted&&this._renderer._omitTainted)return;if(i.dirty){this.shadowColor&&(i.context.shadowColor=this.shadowColor.toCSS(this.shadowOpacity||1)),this.shadowBlur&&(i.context.shadowBlur=this.shadowBlur),this.shadowOffsetX&&(i.context.shadowOffsetX=this.shadowOffsetX),this.shadowOffsetY&&(i.context.shadowOffsetY=this.shadowOffsetY);var r=this.width||this.image.naturalWidth,n=this.height||this.image.naturalHeight;i.context.drawImage(this.image,0,0,r,n)}if(this.interactive&&this._isInteractive()){var a=this._getMask(this.image);this._renderer._ghostContext.drawImage(a,0,0)}}}}),Object.defineProperty(t.prototype,"clear",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype.clear.call(this),this.image=void 0,this._imageMask=void 0}}),Object.defineProperty(t.prototype,"_getMask",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(void 0===this._imageMask){var t=this.width||e.naturalWidth,i=this.height||e.naturalHeight,r=document.createElement("canvas");r.width=t,r.height=i;var n=r.getContext("2d");n.imageSmoothingEnabled=!1,n.fillStyle=this._getColorId(),n.fillRect(0,0,t,i),Z(e)||(n.globalCompositeOperation="destination-in",n.drawImage(e,0,0,t,i)),this._imageMask=r}return this._imageMask}}),t}($),Oe=function(){return function(e,t,i){Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"point",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"bbox",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"simulated",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"native",{enumerable:!0,configurable:!0,writable:!0,value:!0}),c.supports("touchevents")&&e instanceof Touch?this.id=e.identifier:this.id=null}}(),xe=function(e){function t(t){var i=e.call(this)||this;if(Object.defineProperty(i,"view",{enumerable:!0,configurable:!0,writable:!0,value:document.createElement("div")}),Object.defineProperty(i,"_layerDom",{enumerable:!0,configurable:!0,writable:!0,value:document.createElement("div")}),Object.defineProperty(i,"layers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(i,"_dirtyLayers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(i,"defaultLayer",{enumerable:!0,configurable:!0,writable:!0,value:i.getLayer(0)}),Object.defineProperty(i,"_ghostView",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"_ghostContext",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"_patternCanvas",{enumerable:!0,configurable:!0,writable:!0,value:document.createElement("canvas")}),Object.defineProperty(i,"_patternContext",{enumerable:!0,configurable:!0,writable:!0,value:i._patternCanvas.getContext("2d")}),Object.defineProperty(i,"_width",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(i,"_height",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(i,"_clientWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(i,"_clientHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(i,"resolution",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"interactionsEnabled",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(i,"_listeners",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(i,"_events",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(i,"_colorId",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(i,"_colorMap",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(i,"_forceInteractive",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(i,"_omitTainted",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(i,"_hovering",{enumerable:!0,configurable:!0,writable:!0,value:new Set}),Object.defineProperty(i,"_dragging",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(i,"_mousedown",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(i,"_lastPointerMoveEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"tapToActivate",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(i,"tapToActivateTimeout",{enumerable:!0,configurable:!0,writable:!0,value:3e3}),Object.defineProperty(i,"_touchActive",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(i,"_touchActiveTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),i.resolution=null==t?window.devicePixelRatio:t,i.view.style.position="absolute",i.view.appendChild(i._layerDom),i._disposers.push(new l.ku((function(){A.each(i._events,(function(e,t){t.disposer.dispose()})),u.each(i.layers,(function(e){X(e.view),e.exportableView&&X(e.exportableView)})),X(i._ghostView),X(i._patternCanvas)}))),i._ghostView=document.createElement("canvas"),i._ghostContext=i._ghostView.getContext("2d",{alpha:!1}),i._ghostContext.imageSmoothingEnabled=!1,i._ghostView.style.position="absolute",i._ghostView.style.top="0px",i._ghostView.style.left="0px",i._disposers.push(c.addEventListener(i._ghostView,"click",(function(e){var t=i.getEvent(e),r=i._getHitTarget(t.point,t.bbox);console.debug(r)}))),i._disposers.push(c.onZoom((function(){null==t&&(i.resolution=window.devicePixelRatio)}))),c.supports("touchevents")){var r=function(e){0!==i._dragging.length&&u.eachContinue(i._dragging,(function(t){return!t.value.shouldCancelTouch()||(e.preventDefault(),!1)})),i._touchActiveTimeout&&i._delayTouchDeactivate()};i._disposers.push(c.addEventListener(window,"touchstart",r,{passive:!1})),i._disposers.push(c.addEventListener(i.view,"touchstart",r,{passive:!1})),i._disposers.push(c.addEventListener(i.view,"touchmove",(function(){i._touchActiveTimeout&&i._delayTouchDeactivate()}),{passive:!0})),i._disposers.push(c.addEventListener(window,"click",(function(e){i._touchActive=!1}),{passive:!0})),i._disposers.push(c.addEventListener(i.view,"click",(function(e){window.setTimeout((function(){i._touchActive=!0,i._delayTouchDeactivate()}),100)}),{passive:!0}))}return c.supports("wheelevents")&&i._disposers.push(c.addEventListener(i.view,"wheel",(function(e){var t=!1;i._hovering.forEach((function(e){if(e.wheelable)return t=!0,!1})),t&&e.preventDefault()}),{passive:!1})),i}return(0,P.ZT)(t,e),Object.defineProperty(t.prototype,"_delayTouchDeactivate",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this._touchActiveTimeout&&clearTimeout(this._touchActiveTimeout),this.tapToActivateTimeout>0&&(this._touchActiveTimeout=window.setTimeout((function(){e._touchActive=!1}),this.tapToActivateTimeout))}}),Object.defineProperty(t.prototype,"debugGhostView",{get:function(){return!!this._ghostView.parentNode},set:function(e){e?this._ghostView.parentNode||this.view.appendChild(this._ghostView):this._ghostView.parentNode&&this._ghostView.parentNode.removeChild(this._ghostView)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"createLinearGradient",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r){return this.defaultLayer.context.createLinearGradient(e,t,i,r)}}),Object.defineProperty(t.prototype,"createRadialGradient",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r,n,a){return this.defaultLayer.context.createRadialGradient(e,t,i,r,n,a)}}),Object.defineProperty(t.prototype,"createPattern",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r,n){return this._patternCanvas.width=r,this._patternCanvas.height=n,this._patternContext.clearRect(0,0,r,n),t.renderDetached(this._patternContext),e.renderDetached(this._patternContext),this._patternContext.createPattern(this._patternCanvas,i)}}),Object.defineProperty(t.prototype,"makeContainer",{enumerable:!1,configurable:!0,writable:!0,value:function(){return new q(this)}}),Object.defineProperty(t.prototype,"makeGraphics",{enumerable:!1,configurable:!0,writable:!0,value:function(){return new ve(this)}}),Object.defineProperty(t.prototype,"makeText",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return new me(this,e,t)}}),Object.defineProperty(t.prototype,"makeTextStyle",{enumerable:!1,configurable:!0,writable:!0,value:function(){return new _e}}),Object.defineProperty(t.prototype,"makeRadialText",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return new we(this,e,t)}}),Object.defineProperty(t.prototype,"makePicture",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return new Pe(this,e)}}),Object.defineProperty(t.prototype,"resize",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this;this._clientWidth=e,this._clientHeight=t,this._width=Math.floor(e*this.resolution),this._height=Math.floor(t*this.resolution),u.each(this.layers,(function(r){r&&(r.dirty=!0,null!=r.width?(r.view.width=r.width,r.view.style.width=r.width+"px"):(r.view.width=i._width,r.view.style.width=e+"px"),null!=r.height?(r.view.height=r.height,r.view.style.height=r.height+"px"):(r.view.height=i._height,r.view.style.height=t+"px"))})),this._ghostView.width=this._width,this._ghostView.height=this._height,this._ghostView.style.width=e+"px",this._ghostView.style.height=t+"px",this.view.style.width=e+"px",this.view.style.height=t+"px"}}),Object.defineProperty(t.prototype,"createDetachedLayer",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=document.createElement("canvas"),t=e.getContext("2d"),i={view:e,context:t,order:0,visible:!0,width:void 0,height:void 0,dirty:!0,tainted:!1};return e.style.position="absolute",e.style.top="0px",e.style.left="0px",i}}),Object.defineProperty(t.prototype,"getLayerByOrder",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(var t=this.layers,i=t.length,r=0;r<i;r++){var n=t[r];if(n.order==e)return n}}}),Object.defineProperty(t.prototype,"getLayer",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=!0);var i=this.getLayerByOrder(e);if(i)return i;var r=this.createDetachedLayer();r.order=e,r.visible=t,r.visible&&this._width&&(r.view.width=this._width,r.view.style.width=this._clientWidth+"px",r.view.height=this._height,r.view.style.height=this._clientHeight+"px");var n=this.layers;n.push(r),n.sort((function(e,t){return e.order>t.order?1:e.order<t.order?-1:0}));for(var a,o=n.length,s=u.indexOf(n,r)+1;s<o;s++)if(n[s].visible){a=n[s];break}return r.visible&&(void 0===a?this._layerDom.appendChild(r.view):this._layerDom.insertBefore(r.view,a.view)),r}}),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;if(this._dirtyLayers.length=0,u.each(this.layers,(function(e){if(e&&e.dirty&&e.visible){var i=e.context;t._dirtyLayers.push(e),i.save(),i.clearRect(0,0,t._width,t._height)}})),this._ghostContext.save(),this._ghostContext.fillStyle="#000",this._ghostContext.fillRect(0,0,this._width,this._height),e.render(this.defaultLayer),this._ghostContext.restore(),u.each(this.layers,(function(e){if(e){var t=e.context;t.beginPath(),t.moveTo(0,0),t.stroke()}})),u.each(this._dirtyLayers,(function(e){e.context.restore(),e.dirty=!1})),this._hovering.size&&this._lastPointerMoveEvent){var i=this._lastPointerMoveEvent.native;u.each(this._lastPointerMoveEvent.events,(function(e){t._dispatchGlobalMousemove(e,i)}))}}}),Object.defineProperty(t.prototype,"paintId",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=function(e){for(var t=[0,0,0],i=0;i<24;i++)t[i%3]<<=1,t[i%3]|=1&e,e>>=1;return(0|t[2])+(t[1]<<8)+(t[0]<<16)}(++this._colorId),i=C.Il.fromHex(t).toCSS();return this._colorMap[i]=e,i}}),Object.defineProperty(t.prototype,"_removeObject",{enumerable:!1,configurable:!0,writable:!0,value:function(e){void 0!==e._colorId&&delete this._colorMap[e._colorId]}}),Object.defineProperty(t.prototype,"getEvent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=!0);var i=t?this.view.getBoundingClientRect():new DOMRect(0,0,0,0);return new Oe(e,e.clientX||e.clientY?{x:e.clientX-(e.clientX?i.left:0),y:e.clientY-(e.clientY?i.top:0)}:{x:0,y:0},i)}}),Object.defineProperty(t.prototype,"_getHitTarget",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(!(e.x<0||e.x>t.width||e.y<0||e.y>t.height)){var i=this._ghostContext.getImageData(Math.round(e.x/t.width*this._width),Math.round(e.y/t.height*this._height),1,1);if(0===i.data[0]&&0===i.data[1]&&0===i.data[2])return!1;var r=C.Il.fromRGB(i.data[0],i.data[1],i.data[2]).toCSS();return this._colorMap[r]}}}),Object.defineProperty(t.prototype,"_withEvents",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._events[e];if(void 0!==i){i.dispatching=!0;try{t(i)}finally{i.dispatching=!1,i.cleanup&&(i.cleanup=!1,u.keepIf(i.callbacks,(function(e){return!e.disposed})),0===i.callbacks.length&&(i.disposer.dispose(),delete this._events[e]))}}}}),Object.defineProperty(t.prototype,"_dispatchEventAll",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this.interactionsEnabled&&this._withEvents(e,(function(e){u.each(e.callbacks,(function(e){e.disposed||e.callback.call(e.context,t)}))}))}}),Object.defineProperty(t.prototype,"_dispatchEvent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){if(!this.interactionsEnabled)return!1;var r=!1;return this._withEvents(e,(function(e){u.each(e.callbacks,(function(e){e.disposed||e.object!==t||(e.callback.call(e.context,i),r=!0)}))})),r}}),Object.defineProperty(t.prototype,"_dispatchMousedown",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,i=e.button;if(0==i||2==i||1==i||void 0===i){var r=this.getEvent(e),n=this._getHitTarget(r.point,r.bbox);if(n){var a=r.id,o=!1;U(n,(function(e){var i={id:a,value:e};return t._mousedown.push(i),!o&&t._dispatchEvent("pointerdown",e,r)&&(o=!0,t._dragging.some((function(t){return t.value===e&&t.id===a}))||t._dragging.push(i)),!0}))}}}}),Object.defineProperty(t.prototype,"_dispatchGlobalMousemove",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=this.getEvent(e),n=this._getHitTarget(r.point,r.bbox);r.native=t,n?(this._hovering.forEach((function(e){e.contains(n)||(i._hovering.delete(e),e.cursorOverStyle&&c.setStyle(document.body,"cursor",e._replacedCursorStyle),i._dispatchEvent("pointerout",e,r))})),r.native&&U(n,(function(e){return i._hovering.has(e)||(i._hovering.add(e),e.cursorOverStyle&&(e._replacedCursorStyle=c.getStyle(document.body,"cursor"),c.setStyle(document.body,"cursor",e.cursorOverStyle)),i._dispatchEvent("pointerover",e,r)),!0}))):(this._hovering.forEach((function(e){e.cursorOverStyle&&c.setStyle(document.body,"cursor",e._replacedCursorStyle),i._dispatchEvent("pointerout",e,r)})),this._hovering.clear()),this._dispatchEventAll("globalpointermove",r)}}),Object.defineProperty(t.prototype,"_dispatchGlobalMouseup",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this.getEvent(e);i.native=t,this._dispatchEventAll("globalpointerup",i)}}),Object.defineProperty(t.prototype,"_dispatchDragMove",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;if(0!==this._dragging.length){var i=this.getEvent(e),r=i.id;this._dragging.forEach((function(e){e.id===r&&t._dispatchEvent("pointermove",e.value,i)}))}}}),Object.defineProperty(t.prototype,"_dispatchDragEnd",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t,i=this,r=e.button;if(0==r||void 0===r)t="click";else if(2==r)t="rightclick";else{if(1!=r)return;t="middleclick"}var n=this.getEvent(e),a=n.id;if(0!==this._mousedown.length){var o=this._getHitTarget(n.point,n.bbox);o&&this._mousedown.forEach((function(e){e.id===a&&e.value.contains(o)&&i._dispatchEvent(t,e.value,n)})),this._mousedown.length=0}0!==this._dragging.length&&(this._dragging.forEach((function(e){e.id===a&&i._dispatchEvent("pointerup",e.value,n)})),this._dragging.length=0)}}),Object.defineProperty(t.prototype,"_dispatchDoubleClick",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,i=this.getEvent(e),r=this._getHitTarget(i.point,i.bbox);r&&U(r,(function(e){return!t._dispatchEvent("dblclick",e,i)}))}}),Object.defineProperty(t.prototype,"_dispatchWheel",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,i=this.getEvent(e),r=this._getHitTarget(i.point,i.bbox);r&&U(r,(function(e){return!t._dispatchEvent("wheel",e,i)}))}}),Object.defineProperty(t.prototype,"_makeSharedEvent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this;if(void 0===this._listeners[e]){var r=t();this._listeners[e]=new l.DM((function(){delete i._listeners[e],r.dispose()}))}return this._listeners[e].increment()}}),Object.defineProperty(t.prototype,"_onPointerEvent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=!1,r=null;function n(){r=null,i=!1}return new l.FV([new l.ku((function(){null!==r&&clearTimeout(r),n()})),c.addEventListener(this.view,c.getRendererEvent(e),(function(e){i=!0,null!==r&&clearTimeout(r),r=window.setTimeout(n,0)})),W(window,e,(function(e){null!==r&&(clearTimeout(r),r=null),t(e,i),i=!1}))])}}),Object.defineProperty(t.prototype,"_initEvent",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;switch(e){case"globalpointermove":case"pointerover":case"pointerout":return this._makeSharedEvent("pointermove",(function(){var e=function(e,i){t._lastPointerMoveEvent={events:e,native:i},u.each(e,(function(e){t._dispatchGlobalMousemove(e,i)}))};return new l.FV([t._onPointerEvent("pointerdown",e),t._onPointerEvent("pointermove",e)])}));case"globalpointerup":return this._makeSharedEvent("pointerup",(function(){var e=t._onPointerEvent("pointerup",(function(e,i){u.each(e,(function(e){t._dispatchGlobalMouseup(e,i)})),t._lastPointerMoveEvent={events:e,native:i}})),i=t._onPointerEvent("pointercancel",(function(e,i){u.each(e,(function(e){t._dispatchGlobalMouseup(e,i)})),t._lastPointerMoveEvent={events:e,native:i}}));return new l.ku((function(){e.dispose(),i.dispose()}))}));case"click":case"rightclick":case"middleclick":case"pointerdown":case"pointermove":case"pointerup":return this._makeSharedEvent("pointerdown",(function(){var e=W(t.view,"pointerdown",(function(e){u.each(e,(function(e){t._dispatchMousedown(e)}))})),i=t._onPointerEvent("pointermove",(function(e){u.each(e,(function(e){t._dispatchDragMove(e)}))})),r=t._onPointerEvent("pointerup",(function(e){u.each(e,(function(e){t._dispatchDragEnd(e)}))})),n=t._onPointerEvent("pointercancel",(function(e){u.each(e,(function(e){t._dispatchDragEnd(e)}))}));return new l.ku((function(){e.dispose(),i.dispose(),r.dispose(),n.dispose()}))}));case"dblclick":return this._makeSharedEvent("dblclick",(function(){return t._onPointerEvent("dblclick",(function(e){u.each(e,(function(e){t._dispatchDoubleClick(e)}))}))}));case"wheel":return this._makeSharedEvent("wheel",(function(){return c.addEventListener(window,c.getRendererEvent("wheel"),(function(e){t._dispatchWheel(e)}),{passive:!1})}))}}}),Object.defineProperty(t.prototype,"_addEvent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r){var n=this,a=this._events[t];void 0===a&&(a=this._events[t]={disposer:this._initEvent(t),callbacks:[],dispatching:!1,cleanup:!1});var o={object:e,context:r,callback:i,disposed:!1};return a.callbacks.push(o),new l.ku((function(){o.disposed=!0,a.dispatching?a.cleanup=!0:(u.removeFirst(a.callbacks,o),0===a.callbacks.length&&(a.disposer.dispose(),delete n._events[t]))}))}}),Object.defineProperty(t.prototype,"getCanvas",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this;this.render(e),t||(t={});var r,n,a=this.resolution;t.minWidth&&t.minWidth>this._width&&(r=t.minWidth/this._width)>a&&(a=r*this.resolution),t.minHeight&&t.minHeight>this._height&&(r=t.minHeight/this._height)>a&&(a=r*this.resolution),t.maxWidth&&t.maxWidth<this._width&&(n=t.maxWidth/this._width)<a&&(a=n*this.resolution),t.maxHeight&&t.maxHeight>this._height&&(n=t.maxHeight/this._height)<a&&(a=n*this.resolution),t.maintainPixelRatio&&(a/=this.resolution);var o=[],s=!1,l=this._width,c=this._height,h=document.createElement("canvas");a!=this.resolution&&(s=!0,l=this._width*a/this.resolution,c=this._height*a/this.resolution),h.width=l,h.height=c,h.style.position="fixed",h.style.top="-10000px",this.view.appendChild(h),o.push(h);var f=h.getContext("2d"),p=0,d=0,b=!1;return u.each(this.layers,(function(e){e&&e.visible&&(e.tainted||s)&&(b=!0,e.exportableView=e.view,e.exportableContext=e.context,e.view=document.createElement("canvas"),e.view.style.position="fixed",e.view.style.top="-10000px",i.view.appendChild(e.view),o.push(e.view),e.view.width=l,e.view.height=c,e.context=e.view.getContext("2d"),e.dirty=!0,e.scale=a)})),b&&(this._omitTainted=!0,this.render(e),this._omitTainted=!1),u.each(this.layers,(function(e){e&&e.visible&&(f.drawImage(e.view,0,0),e.exportableView&&(e.view=e.exportableView,e.exportableView=void 0),e.exportableContext&&(e.context=e.exportableContext,e.exportableContext=void 0),p<e.view.clientWidth&&(p=e.view.clientWidth),d<e.view.clientHeight&&(d=e.view.clientHeight),e.scale=void 0)})),h.style.width=p+"px",h.style.height=d+"px",u.each(o,(function(e){e.style.position="",e.style.top="",i.view.removeChild(e)})),h}}),t}(l.rk),je=i(2132),ke=i(3145),Te=i(3540);function De(e,t){null==e?requestAnimationFrame(t):setTimeout((function(){requestAnimationFrame(t)}),1e3/e)}var Ce=function(){function e(e,t,i){if(void 0===t&&(t={}),Object.defineProperty(this,"dom",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_inner",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isDirtyParents",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dirty",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirtyParents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirtyBounds",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirtyPositions",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_ticker",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"_tickers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new k.p}),Object.defineProperty(this,"animationTime",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"_animations",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_renderer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rootContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tooltipContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltip",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"language",{enumerable:!0,configurable:!0,writable:!0,value:j.new(this,{})}),Object.defineProperty(this,"locale",{enumerable:!0,configurable:!0,writable:!0,value:x.Z}),Object.defineProperty(this,"utc",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"timezone",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fps",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"numberFormatter",{enumerable:!0,configurable:!0,writable:!0,value:m.e.new(this,{})}),Object.defineProperty(this,"dateFormatter",{enumerable:!0,configurable:!0,writable:!0,value:_.C.new(this,{})}),Object.defineProperty(this,"durationFormatter",{enumerable:!0,configurable:!0,writable:!0,value:w.$.new(this,{})}),Object.defineProperty(this,"tabindex",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tabindexes",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_focusElementDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_focusElementContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_focusedSprite",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isShift",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_keyboardDragPoint",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipElementContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_readerAlertElement",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_logo",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"nonce",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"interfaceColors",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"verticalLayout",{enumerable:!0,configurable:!0,writable:!0,value:o.Z.new(this,{})}),Object.defineProperty(this,"horizontalLayout",{enumerable:!0,configurable:!0,writable:!0,value:a.G.new(this,{})}),Object.defineProperty(this,"gridLayout",{enumerable:!0,configurable:!0,writable:!0,value:s.M.new(this,{})}),Object.defineProperty(this,"autoResize",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_fontHash",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"_isDisposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_resizeSensorDisposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltips",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_htmlElementContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_htmlEnabledContainers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),!i)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");var r,n;if(null==t.useSafeResolution&&(t.useSafeResolution=!0),t.useSafeResolution&&(r=c.getSafeResolution()),this._renderer=new xe(r),n=e instanceof HTMLElement?e:document.getElementById(e),u.each(ke.i_.rootElements,(function(e){if(e.dom===n)throw new Error("You cannot have multiple Roots on the same DOM node")})),this.interfaceColors=b.v.new(this,{}),null===n)throw new Error("Could not find HTML element with id `"+e+"`");this.dom=n;var l=document.createElement("div");l.style.position="relative",l.style.height="100%",n.appendChild(l),this._inner=l,this._updateComputedStyles(),ke.i_.rootElements.push(this)}return Object.defineProperty(e,"new",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){var r=new e(t,i,!0);return r._init(),r}}),Object.defineProperty(e.prototype,"moveDOM",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t;if(t=e instanceof HTMLElement?e:document.getElementById(e)){for(;this.dom.childNodes.length>0;)t.appendChild(this.dom.childNodes[0]);this.dom=t,this._initResizeSensor(),this.resize()}}}),Object.defineProperty(e.prototype,"_handleLogo",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this._logo){var e=this.dom.offsetWidth,t=this.dom.offsetHeight;e<=150||t<=60?this._logo.hide():this._logo.show()}}}),Object.defineProperty(e.prototype,"_showBranding",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(!this._logo){var e=this.tooltipContainer.children.push(r.W.new(this,{interactive:!0,interactiveChildren:!1,position:"absolute",setStateOnChildren:!0,paddingTop:9,paddingRight:9,paddingBottom:9,paddingLeft:9,scale:.6,y:(0,M.aQ)(100),centerY:M.AQ,tooltipText:"Created using amCharts 5",tooltipX:M.AQ,cursorOverStyle:"pointer",background:y.A.new(this,{fill:(0,C.$_)(4671320),fillOpacity:0,tooltipY:5})})),t=v.u.new(this,{pointerOrientation:"horizontal",paddingTop:4,paddingRight:7,paddingBottom:4,paddingLeft:7});t.label.setAll({fontSize:12}),t.get("background").setAll({fill:this.interfaceColors.get("background"),stroke:this.interfaceColors.get("grid"),strokeOpacity:.3}),e.set("tooltip",t),e.events.on("click",(function(){window.open("https://www.amcharts.com/","_blank")})),e.states.create("hover",{}),e.children.push(g.T.new(this,{stroke:(0,C.$_)(13421772),strokeWidth:3,svgPath:"M5 25 L13 25h13.6c3.4 0 6 0 10.3-4.3s5.2-12 8.6-12c3.4 0 4.3 8.6 7.7 8.6M83.4 25H79.8c-3.4 0-6 0-10.3-4.3s-5.2-12-8.6-12-4.3 8.6-7.7 8.6"})).states.create("hover",{stroke:(0,C.$_)(3976191)}),e.children.push(g.T.new(this,{stroke:(0,C.$_)(8947848),strokeWidth:3,svgPath:"M83.4 25h-31C37 25 39.5 4.4 28.4 4.4S18.9 24.2 4.3 25H0"})).states.create("hover",{stroke:(0,C.$_)(4671320)}),this._logo=e,this._handleLogo()}}}),Object.defineProperty(e.prototype,"_init",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this,t=this._renderer,i=this.dom.getBoundingClientRect(),n=Math.floor(i.width),a=Math.floor(i.height),o=r.W.new(this,{visible:!0,width:n,height:a});this._rootContainer=o,this._rootContainer._defaultThemes.push(T.X.new(this));var s=o.children.push(r.W.new(this,{visible:!0,width:M.AQ,height:M.AQ}));this.container=s,t.resize(n,a),this._inner.appendChild(t.view),this._initResizeSensor(),this._htmlElementContainer=document.createElement("div"),this._htmlElementContainer.style.overflow="hidden",this._inner.appendChild(this._htmlElementContainer);var l=document.createElement("div");l.setAttribute("role","alert"),l.style.zIndex="-100000",l.style.opacity="0",l.style.position="absolute",l.style.top="0",this._readerAlertElement=l,this._inner.appendChild(this._readerAlertElement);var u=document.createElement("div");u.style.position="absolute",u.style.pointerEvents="none",u.style.top="0px",u.style.left="0px",u.style.overflow="hidden",u.style.width=n+"px",u.style.height=a+"px",u.setAttribute("role","application"),c.setInteractive(u,!1),this._focusElementContainer=u,this._inner.appendChild(this._focusElementContainer),this._tooltipElementContainer=document.createElement("div"),this._inner.appendChild(this._tooltipElementContainer),c.supports("keyboardevents")&&(this._disposers.push(c.addEventListener(window,"keydown",(function(t){16==t.keyCode&&(e._isShift=!0)}))),this._disposers.push(c.addEventListener(window,"keyup",(function(t){16==t.keyCode&&(e._isShift=!1)}))),this._disposers.push(c.addEventListener(u,"keydown",(function(i){var r=e._focusedSprite;if(r){27==i.keyCode&&(c.blur(),e._focusedSprite=void 0);var n=0,a=0;switch(i.keyCode){case 13:i.preventDefault();var o=t.getEvent(new MouseEvent("click"));return void r.events.dispatch("click",{type:"click",originalEvent:o.event,point:o.point,simulated:!0,target:r});case 37:n=-6;break;case 39:n=6;break;case 38:a=-6;break;case 40:a=6;break;default:return}if(0!=n||0!=a){i.preventDefault(),r.isDragging()||(e._keyboardDragPoint={x:0,y:0},o=t.getEvent(new MouseEvent("mousedown",{clientX:0,clientY:0})),r.events.isEnabled("pointerdown")&&r.events.dispatch("pointerdown",{type:"pointerdown",originalEvent:o.event,point:o.point,simulated:!0,target:r}));var s=e._keyboardDragPoint;s.x+=n,s.y+=a;var l=t.getEvent(new MouseEvent("mousemove",{clientX:s.x,clientY:s.y}),!1);r.events.isEnabled("globalpointermove")&&r.events.dispatch("globalpointermove",{type:"globalpointermove",originalEvent:l.event,point:l.point,simulated:!0,target:r})}}}))),this._disposers.push(c.addEventListener(u,"keyup",(function(i){if(e._focusedSprite){var r=e._focusedSprite,n=i.keyCode;switch(n){case 37:case 39:case 38:case 40:if(r.isDragging()){var a=e._keyboardDragPoint,o=t.getEvent(new MouseEvent("mouseup",{clientX:a.x,clientY:a.y}));return r.events.isEnabled("globalpointerup")&&r.events.dispatch("globalpointerup",{type:"globalpointerup",originalEvent:o.event,point:o.point,simulated:!0,target:r}),void(e._keyboardDragPoint=void 0)}if(r.get("focusableGroup")){var s=r.get("focusableGroup"),l=e._tabindexes.filter((function(e){return e.get("focusableGroup")==s})),u=l.indexOf(r),h=l.length-1;(u+=39==n||40==n?1:-1)<0?u=h:u>h&&(u=0),c.focus(l[u].getPrivate("focusElement").dom)}}}})))),this._startTicker(),this.setThemes([]),this._addTooltip(),this._hasLicense()||this._showBranding()}}),Object.defineProperty(e.prototype,"_initResizeSensor",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this._resizeSensorDisposer&&this._resizeSensorDisposer.dispose(),this._resizeSensorDisposer=new d(this.dom,(function(){e.autoResize&&e.resize()})),this._disposers.push(this._resizeSensorDisposer)}}),Object.defineProperty(e.prototype,"resize",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.dom.getBoundingClientRect(),t=Math.floor(e.width),i=Math.floor(e.height);if(t>0&&i>0){var r=this._htmlElementContainer;r.style.width=t+"px",r.style.height=i+"px";var n=this._focusElementContainer;n.style.width=t+"px",n.style.height=i+"px",this._renderer.resize(t,i);var a=this._rootContainer;a.setPrivate("width",t),a.setPrivate("height",i),this._render(),this._handleLogo()}}}),Object.defineProperty(e.prototype,"_render",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._renderer.render(this._rootContainer._display),this._focusElementDirty&&(this._updateCurrentFocus(),this._focusElementDirty=!1)}}),Object.defineProperty(e.prototype,"_runTickers",{enumerable:!1,configurable:!0,writable:!0,value:function(e){u.each(this._tickers,(function(t){t(e)}))}}),Object.defineProperty(e.prototype,"_runAnimations",{enumerable:!1,configurable:!0,writable:!0,value:function(e){u.keepIf(this._animations,(function(t){return t._runAnimation(e)}))}}),Object.defineProperty(e.prototype,"_runDirties",{enumerable:!1,configurable:!0,writable:!0,value:function(){for(var e=this,t={};this._isDirtyParents;)this._isDirtyParents=!1,A.keys(this._dirtyParents).forEach((function(i){var r=e._dirtyParents[i];delete e._dirtyParents[i],r.isDisposed()||(t[r.uid]=r,r._prepareChildren())}));A.keys(t).forEach((function(e){t[e]._updateChildren()}));var i=[];A.keys(this._dirty).forEach((function(t){var r=e._dirty[t];r.isDisposed()?delete e._dirty[r.uid]:(i.push(r),r._beforeChanged())})),i.forEach((function(t){t._changed(),delete e._dirty[t.uid],t._clearDirty()})),this._isDirty=!1;var r={},n=[];A.keys(this._dirtyBounds).forEach((function(t){var i=e._dirtyBounds[t];delete e._dirtyBounds[t],i.isDisposed()||(r[i.uid]=i.depth(),n.push(i))})),n.sort((function(e,t){return Te.qu(r[t.uid],r[e.uid])})),n.forEach((function(e){e._updateBounds()}));var a=this._dirtyPositions;A.keys(a).forEach((function(e){var t=a[e];delete a[e],t.isDisposed()||t._updatePosition()})),i.forEach((function(e){e._afterChanged()}))}}),Object.defineProperty(e.prototype,"_renderFrame",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.events.isEnabled("framestarted")&&this.events.dispatch("framestarted",{type:"framestarted",target:this,timestamp:e}),this._checkComputedStyles(),this._runTickers(e),this._runAnimations(e),this._runDirties(),this._render(),this._positionHTMLElements(),this.events.isEnabled("frameended")&&this.events.dispatch("frameended",{type:"frameended",target:this,timestamp:e}),0===this._tickers.length&&0===this._animations.length&&!this._isDirty}}),Object.defineProperty(e.prototype,"_runTicker",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.isDisposed()||(this.animationTime=e,this._renderFrame(e)?(this._ticker=null,this.animationTime=null):De(this.fps,this._ticker))}}),Object.defineProperty(e.prototype,"_runTickerNow",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(!this.isDisposed())for(;;){var e=performance.now();if(this.animationTime=e,this._renderFrame(e)){this.animationTime=null;break}}}}),Object.defineProperty(e.prototype,"_startTicker",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;null===this._ticker&&(this.animationTime=null,this._ticker=function(t){e._runTicker(t)},De(this.fps,this._ticker))}}),Object.defineProperty(e.prototype,"_addDirtyEntity",{enumerable:!1,configurable:!0,writable:!0,value:function(e){void 0===this._dirty[e.uid]&&(this._isDirty=!0,this._dirty[e.uid]=e,this._startTicker())}}),Object.defineProperty(e.prototype,"_addDirtyParent",{enumerable:!1,configurable:!0,writable:!0,value:function(e){void 0===this._dirtyParents[e.uid]&&(this._isDirty=!0,this._isDirtyParents=!0,this._dirtyParents[e.uid]=e,this._startTicker())}}),Object.defineProperty(e.prototype,"_addDirtyBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){void 0===this._dirtyBounds[e.uid]&&(this._isDirty=!0,this._dirtyBounds[e.uid]=e,this._startTicker())}}),Object.defineProperty(e.prototype,"_addDirtyPosition",{enumerable:!1,configurable:!0,writable:!0,value:function(e){void 0===this._dirtyPositions[e.uid]&&(this._isDirty=!0,this._dirtyPositions[e.uid]=e,this._startTicker())}}),Object.defineProperty(e.prototype,"_addAnimation",{enumerable:!1,configurable:!0,writable:!0,value:function(e){-1===this._animations.indexOf(e)&&(this._animations.push(e),this._startTicker())}}),Object.defineProperty(e.prototype,"_markDirty",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._isDirty=!0}}),Object.defineProperty(e.prototype,"_markDirtyRedraw",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this.events.once("frameended",(function(){e._isDirty=!0,e._startTicker()}))}}),Object.defineProperty(e.prototype,"eachFrame",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;return this._tickers.push(e),this._startTicker(),new l.ku((function(){u.removeFirst(t._tickers,e)}))}}),Object.defineProperty(e.prototype,"markDirtyGlobal",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;e||(e=this.container),console.log(this.width()),e.walkChildren((function(e){e instanceof r.W&&t.markDirtyGlobal(e),e.markDirty(),e.markDirtyBounds()}))}}),Object.defineProperty(e.prototype,"width",{enumerable:!1,configurable:!0,writable:!0,value:function(){return Math.floor(this.dom.getBoundingClientRect().width)}}),Object.defineProperty(e.prototype,"height",{enumerable:!1,configurable:!0,writable:!0,value:function(){return Math.floor(this.dom.getBoundingClientRect().height)}}),Object.defineProperty(e.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._isDisposed||(this._isDisposed=!0,this._rootContainer.dispose(),this._renderer.dispose(),this.horizontalLayout.dispose(),this.verticalLayout.dispose(),this.interfaceColors.dispose(),u.each(this._disposers,(function(e){e.dispose()})),this._inner&&c.removeElement(this._inner),u.remove(ke.i_.rootElements,this))}}),Object.defineProperty(e.prototype,"isDisposed",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._isDisposed}}),Object.defineProperty(e.prototype,"readerAlert",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._readerAlertElement.innerHTML=c.stripTags(e)}}),Object.defineProperty(e.prototype,"setThemes",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._rootContainer.set("themes",e);var t=this.tooltipContainer;t&&t._applyThemes();var i=this.interfaceColors;i&&i._applyThemes()}}),Object.defineProperty(e.prototype,"_addTooltip",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(!this.tooltipContainer){var e=this._rootContainer.children.push(r.W.new(this,{position:"absolute",isMeasured:!1,width:M.AQ,height:M.AQ,layer:30}));this.tooltipContainer=e;var t=v.u.new(this,{});this.container.set("tooltip",t),t.hide(0),this._tooltip=t}}}),Object.defineProperty(e.prototype,"_registerTabindexOrder",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.get("focusable")?u.pushOne(this._tabindexes,e):u.remove(this._tabindexes,e),this._invalidateTabindexes()}}),Object.defineProperty(e.prototype,"_unregisterTabindexOrder",{enumerable:!1,configurable:!0,writable:!0,value:function(e){u.remove(this._tabindexes,e),this._invalidateTabindexes()}}),Object.defineProperty(e.prototype,"_invalidateTabindexes",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this._tabindexes.sort((function(e,t){var i=e.get("tabindexOrder",0),r=t.get("tabindexOrder",0);return i==r?0:i>r?1:-1}));var t=[];u.each(this._tabindexes,(function(i,r){i.getPrivate("focusElement")?e._moveFocusElement(r,i):e._makeFocusElement(r,i);var n=i.get("focusableGroup");n&&(-1!==t.indexOf(n)?i.getPrivate("focusElement").dom.setAttribute("tabindex","-1"):t.push(n))}))}}),Object.defineProperty(e.prototype,"_updateCurrentFocus",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._focusedSprite&&(this._decorateFocusElement(this._focusedSprite),this._positionFocusElement(this._focusedSprite))}}),Object.defineProperty(e.prototype,"_decorateFocusElement",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(t||(t=e.getPrivate("focusElement").dom),t){e.get("visible")&&"tooltip"!=e.get("role")&&!e.isHidden()?"-1"!=t.getAttribute("tabindex")&&t.setAttribute("tabindex",""+this.tabindex):t.removeAttribute("tabindex");var i=e.get("role");i?t.setAttribute("role",i):t.removeAttribute("role");var r=e.get("ariaLabel");if(r){var n=(0,je.q)(e,r);t.setAttribute("aria-label",n)}else t.removeAttribute("aria-label");var a=e.get("ariaLive");a?t.setAttribute("aria-live",a):t.removeAttribute("aria-live");var o=e.get("ariaChecked");null!=o?t.setAttribute("aria-checked",o?"true":"false"):t.removeAttribute("aria-checked"),e.get("ariaHidden")?t.setAttribute("aria-hidden","hidden"):t.removeAttribute("aria-hidden");var s=e.get("ariaOrientation");s?t.setAttribute("aria-orientation",s):t.removeAttribute("aria-orientation");var l=e.get("ariaValueNow");l?t.setAttribute("aria-valuenow",l):t.removeAttribute("aria-valuenow");var u=e.get("ariaValueMin");u?t.setAttribute("aria-valuemin",u):t.removeAttribute("aria-valuemin");var c=e.get("ariaValueMax");c?t.setAttribute("aria-valuemax",c):t.removeAttribute("aria-valuemax");var h=e.get("ariaValueText");h?t.setAttribute("aria-valuetext",h):t.removeAttribute("aria-valuetext");var f=e.get("ariaControls");f?t.setAttribute("aria-controls",f):t.removeAttribute("aria-controls")}}}),Object.defineProperty(e.prototype,"_makeFocusElement",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this;if(!t.getPrivate("focusElement")){var r=document.createElement("div");"tooltip"!=t.get("role")&&(r.tabIndex=this.tabindex),r.style.position="absolute",c.setInteractive(r,!1);var n=[];t.setPrivate("focusElement",{dom:r,disposers:n}),this._decorateFocusElement(t),n.push(c.addEventListener(r,"focus",(function(t){i._handleFocus(t,e)}))),n.push(c.addEventListener(r,"blur",(function(t){i._handleBlur(t,e)}))),this._moveFocusElement(e,t)}}}),Object.defineProperty(e.prototype,"_removeFocusElement",{enumerable:!1,configurable:!0,writable:!0,value:function(e){u.remove(this._tabindexes,e);var t=e.getPrivate("focusElement");t&&(this._focusElementContainer.removeChild(t.dom),u.each(t.disposers,(function(e){e.dispose()})))}}),Object.defineProperty(e.prototype,"_hideFocusElement",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.getPrivate("focusElement").dom.style.display="none"}}),Object.defineProperty(e.prototype,"_moveFocusElement",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._focusElementContainer,r=t.getPrivate("focusElement").dom;if(r!==this._focusElementContainer.children[e]){var n=this._focusElementContainer.children[e+1];n?i.insertBefore(r,n):i.append(r)}}}),Object.defineProperty(e.prototype,"_positionFocusElement",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e.globalBounds(),i=t.right==t.left?e.width():t.right-t.left,r=t.top==t.bottom?e.height():t.bottom-t.top,n=e.getPrivate("focusElement").dom;n.style.top=t.top-2+"px",n.style.left=t.left-2+"px",n.style.width=i+4+"px",n.style.height=r+4+"px"}}),Object.defineProperty(e.prototype,"_handleFocus",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._tabindexes[t];i.isVisibleDeep()?(this._positionFocusElement(i),this._focusedSprite=i,i.events.isEnabled("focus")&&i.events.dispatch("focus",{type:"focus",originalEvent:e,target:i})):this._focusNext(e.target,this._isShift?-1:1)}}),Object.defineProperty(e.prototype,"_focusNext",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=Array.from(document.querySelectorAll(["a[href]","area[href]","button:not([disabled])","details","input:not([disabled])","iframe:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contentEditable=""]','[contentEditable="true"]','[contentEditable="TRUE"]','[tabindex]:not([tabindex^="-"])'].join(","))),r=i.indexOf(e)+t;r<0?r=i.length-1:r>=i.length&&(r=0),i[r].focus()}}),Object.defineProperty(e.prototype,"_handleBlur",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._focusedSprite;i&&i.events.isEnabled("blur")&&i.events.dispatch("blur",{type:"blur",originalEvent:e,target:i}),this._focusedSprite=void 0}}),Object.defineProperty(e.prototype,"updateTooltip",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=c.stripTags(e._getText()),i=e.getPrivate("tooltipElement");"tooltip"==e.get("role")&&""!=t?(i||(i=this._makeTooltipElement(e)),i.innerHTML!=t&&(i.innerHTML=t)):i&&(i.remove(),e.removePrivate("tooltipElement"))}}),Object.defineProperty(e.prototype,"_makeTooltipElement",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this._tooltipElementContainer,i=document.createElement("div");return i.style.position="absolute",i.style.top="-1000000px",i.style.opacity="0.0000001",c.setInteractive(i,!1),this._decorateFocusElement(e,i),t.append(i),e.setPrivate("tooltipElement",i),i}}),Object.defineProperty(e.prototype,"_invalidateAccessibility",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._focusElementDirty=!0;var t=e.getPrivate("focusElement");e.get("focusable")?t&&(this._decorateFocusElement(e),this._positionFocusElement(e)):t&&this._removeFocusElement(e)}}),Object.defineProperty(e.prototype,"focused",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._focusedSprite===e}}),Object.defineProperty(e.prototype,"documentPointToRoot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.dom.getBoundingClientRect();return{x:e.x-t.left,y:e.y-t.top}}}),Object.defineProperty(e.prototype,"rootPointToDocument",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.dom.getBoundingClientRect();return{x:e.x+t.left,y:e.y+t.top}}}),Object.defineProperty(e.prototype,"addDisposer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._disposers.push(e),e}}),Object.defineProperty(e.prototype,"_updateComputedStyles",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=window.getComputedStyle(this.dom),t="";A.each(e,(function(e,i){R.isString(e)&&e.match(/^font/)&&(t+=i)}));var i=t!=this._fontHash;return i&&(this._fontHash=t),i}}),Object.defineProperty(e.prototype,"_checkComputedStyles",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._updateComputedStyles()&&this._invalidateLabelBounds(this.container)}}),Object.defineProperty(e.prototype,"_invalidateLabelBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;e instanceof r.W?e.children.each((function(e){t._invalidateLabelBounds(e)})):e instanceof n.x&&e.markDirtyBounds()}}),Object.defineProperty(e.prototype,"_hasLicense",{enumerable:!1,configurable:!0,writable:!0,value:function(){for(var e=0;e<ke.i_.licenses.length;e++)if(ke.i_.licenses[e].match(/^AM5C.{5,}/i))return!0;return!1}}),Object.defineProperty(e.prototype,"_licenseApplied",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._logo&&this._logo.set("forceHidden",!0)}}),Object.defineProperty(e.prototype,"debugGhostView",{get:function(){return this._renderer.debugGhostView},set:function(e){this._renderer.debugGhostView=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tapToActivate",{get:function(){return this._renderer.tapToActivate},set:function(e){this._renderer.tapToActivate=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tapToActivateTimeout",{get:function(){return this._renderer.tapToActivateTimeout},set:function(e){this._renderer.tapToActivateTimeout=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_makeHTMLElement",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,i=this._htmlElementContainer,r=document.createElement("div");return e.setPrivate("htmlElement",r),r.style.position="absolute",r.style.overflow="auto",r.style.boxSizing="border-box",e.events.isEnabled("click")&&this._disposers.push(c.addEventListener(r,"click",(function(i){var r=t._renderer.getEvent(i);e.events.dispatch("click",{type:"click",originalEvent:r.event,point:r.point,simulated:!1,target:e})}))),this._positionHTMLElement(e),i.append(r),u.pushOne(this._htmlEnabledContainers,e),r}}),Object.defineProperty(e.prototype,"_positionHTMLElements",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;u.each(this._htmlEnabledContainers,(function(t){e._positionHTMLElement(t)}))}}),Object.defineProperty(e.prototype,"_positionHTMLElement",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e.getPrivate("htmlElement");if(t){u.each(["paddingTop","paddingRight","paddingBottom","paddingLeft","minWidth","minHeight","maxWidth","maxHeight"],(function(i){var r=e.get(i);t.style[i]=r?r+"px":""}));var i=e.compositeOpacity();t.style.opacity=i+"";var r=e.isVisibleDeep();r&&(t.style.display="block");var n=e.globalBounds();t.style.top=n.top+"px",t.style.left=n.left+"px";var a=e.get("width"),o=e.get("height"),s=0,l=0;if(a&&(s=e.width()),o&&(l=e.height()),a&&o)e.removePrivate("minWidth"),e.removePrivate("minHeight");else{t.style.width="",t.style.height="";var c=t.getBoundingClientRect();s=c.width,l=c.height,e._adjustedLocalBounds={left:0,right:0,top:0,bottom:0},e.setPrivate("minWidth",s),e.setPrivate("minHeight",l)}s>0&&(t.style.minWidth=s+"px"),l>0&&(t.style.minHeight=l+"px"),r&&0!=i||(t.style.display="none")}}}),Object.defineProperty(e.prototype,"_setHTMLContent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=e.getPrivate("htmlElement");i||(i=this._makeHTMLElement(e)),i.innerHTML!=t&&(i.innerHTML=t)}}),Object.defineProperty(e.prototype,"_removeHTMLContent",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e.getPrivate("htmlElement");t&&this._htmlElementContainer.removeChild(t),u.remove(this._htmlEnabledContainers,e)}}),e}()},3409:function(e,t,i){"use strict";i.d(t,{Q:function(){return o}});var r=i(5769),n=i(3540),a=i(5071),o=function(){function e(e,t){if(Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rules",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}return Object.defineProperty(e,"new",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=new this(e,!0);return t.setupDefaultRules(),t}}),Object.defineProperty(e.prototype,"setupDefaultRules",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(e.prototype,"_lookupRules",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._rules[e]}}),Object.defineProperty(e.prototype,"ruleRaw",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=[]);var i=this._rules[e];i||(i=this._rules[e]=[]),t.sort(n.qu);var o=a.getSortedIndex(i,(function(e){var i=n.qu(e.tags.length,t.length);return 0===i?n.wq(e.tags,t,n.qu):i})),s=o.index;if(o.found)return i[s].template;var l=r.YS.new({});return i.splice(s,0,{tags:t,template:l}),l}}),Object.defineProperty(e.prototype,"rule",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return void 0===t&&(t=[]),this.ruleRaw(e,t)}}),e}()},5108:function(e,t,i){"use strict";i.d(t,{g:function(){return a}});var r=i(5125),n=i(6331),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_index",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"series",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._afterNewApplyThemes.call(this)}}),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._beforeChanged.call(this),this.isDirty("sprite")){var t=this.get("sprite");t&&(t.setAll({position:"absolute",role:"figure"}),this._disposers.push(t))}(this.isDirty("locationX")||this.isDirty("locationY"))&&this.series&&this.series._positionBullet(this)}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Bullet"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.JH.classNames.concat([t.className])}),t}(n.JH)},8054:function(e,t,i){"use strict";i.d(t,{z:function(){return s}});var r=i(5125),n=i(3497),a=i(8777),o=i(7652),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._settings.themeTags=o.mergeTags(this._settings.themeTags,["button"]),e.prototype._afterNew.call(this),this._settings.background||this.set("background",n.c.new(this._root,{themeTags:o.mergeTags(this._settings.themeTags,["background"])}))}}),Object.defineProperty(t.prototype,"_prepareChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._prepareChildren.call(this),this.isDirty("icon")){var t=this._prevSettings.icon,i=this.get("icon");i!==t&&(this._disposeProperty("icon"),t&&t.dispose(),i&&this.children.push(i),this._prevSettings.icon=i)}if(this.isDirty("label")){t=this._prevSettings.label;var r=this.get("label");r!==t&&(this._disposeProperty("label"),t&&t.dispose(),r&&this.children.push(r),this._prevSettings.label=r)}}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Button"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:a.W.classNames.concat([t.className])}),t}(a.W)},1337:function(e,t,i){"use strict";i.d(t,{k:function(){return o}});var r=i(5125),n=i(8777),a=i(6245),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"chartContainer",{enumerable:!0,configurable:!0,writable:!0,value:t.children.push(n.W.new(t._root,{width:a.AQ,height:a.AQ,interactiveChildren:!1}))}),Object.defineProperty(t,"bulletsContainer",{enumerable:!0,configurable:!0,writable:!0,value:n.W.new(t._root,{interactiveChildren:!1,isMeasured:!1,position:"absolute",width:a.AQ,height:a.AQ})}),t}return(0,r.ZT)(t,e),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Chart"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.W.classNames.concat([t.className])}),t}(n.W)},8035:function(e,t,i){"use strict";i.d(t,{C:function(){return a}});var r=i(5125),n=i(1479),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),this.isDirty("radius")&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._changed.call(this),this._clear&&this._display.drawCircle(0,0,this.get("radius",10))}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Circle"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.T.classNames.concat([t.className])}),t}(n.T)},9361:function(e,t,i){"use strict";i.d(t,{w:function(){return c},z:function(){return u}});var r=i(5125),n=i(6331),a=i(8777),o=i(9582),s=i(5071),l=i(256),u=function(e){function t(t,i,r){var n=e.call(this,r)||this;return Object.defineProperty(n,"component",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"dataContext",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"bullets",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"open",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"close",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),n.dataContext=i,n.component=t,n._settings.visible=!0,n._checkDirty(),n}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"markDirty",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.component.markDirtyValues(this)}}),Object.defineProperty(t.prototype,"_startAnimation",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.component._root._addAnimation(this)}}),Object.defineProperty(t.prototype,"_animationTime",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.component._root.animationTime}}),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.component&&this.component.disposeDataItem(this),e.prototype._dispose.call(this)}}),Object.defineProperty(t.prototype,"show",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.setRaw("visible",!0),this.component&&this.component.showDataItem(this,e)}}),Object.defineProperty(t.prototype,"hide",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.setRaw("visible",!1),this.component&&this.component.hideDataItem(this,e)}}),Object.defineProperty(t.prototype,"isHidden",{enumerable:!1,configurable:!0,writable:!0,value:function(){return!this.get("visible")}}),t}(n.Zr),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_data",{enumerable:!0,configurable:!0,writable:!0,value:new o.k}),Object.defineProperty(t,"_dataItems",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(t,"_mainDataItems",{enumerable:!0,configurable:!0,writable:!0,value:t._dataItems}),Object.defineProperty(t,"valueFields",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(t,"fields",{enumerable:!0,configurable:!0,writable:!0,value:["id"]}),Object.defineProperty(t,"_valueFields",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_valueFieldsF",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_fields",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_fieldsF",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_valuesDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_dataChanged",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_dataGrouped",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"inited",{enumerable:!0,configurable:!0,writable:!0,value:!1}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this._data},set:function(e){e.incrementRef(),this._data.decrementRef(),this._data=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._dispose.call(this),this._data.decrementRef()}}),Object.defineProperty(t.prototype,"_onDataClear",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;e.prototype._afterNew.call(this),this._data.incrementRef(),this._updateFields(),this._disposers.push(this.data.events.onAll((function(e){var i=t._mainDataItems;if(t.markDirtyValues(),t._markDirtyGroup(),t._dataChanged=!0,"clear"===e.type)s.each(i,(function(e){e.dispose()})),i.length=0,t._onDataClear();else if("push"===e.type){var r=new u(t,e.newValue,t._makeDataItem(e.newValue));i.push(r),t.processDataItem(r)}else if("setIndex"===e.type){var n=i[e.index],a=t._makeDataItem(e.newValue);l.keys(a).forEach((function(e){n.animate({key:e,to:a[e],duration:t.get("interpolationDuration",0),easing:t.get("interpolationEasing")})})),n.dataContext=e.newValue}else if("insertIndex"===e.type)r=new u(t,e.newValue,t._makeDataItem(e.newValue)),i.splice(e.index,0,r),t.processDataItem(r);else if("removeIndex"===e.type)(r=i[e.index]).dispose(),i.splice(e.index,1);else{if("moveIndex"!==e.type)throw new Error("Unknown IStreamEvent type");r=i[e.oldIndex],i.splice(e.oldIndex,1),i.splice(e.newIndex,0,r)}t._afterDataChange()})))}}),Object.defineProperty(t.prototype,"_updateFields",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this.valueFields&&(this._valueFields=[],this._valueFieldsF={},s.each(this.valueFields,(function(t){e.get(t+"Field")&&(e._valueFields.push(t),e._valueFieldsF[t]={fieldKey:t+"Field",workingKey:t+"Working"})}))),this.fields&&(this._fields=[],this._fieldsF={},s.each(this.fields,(function(t){e.get(t+"Field")&&(e._fields.push(t),e._fieldsF[t]=t+"Field")})))}}),Object.defineProperty(t.prototype,"dataItems",{get:function(){return this._dataItems},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"processDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),Object.defineProperty(t.prototype,"_makeDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,i={};return this._valueFields&&s.each(this._valueFields,(function(r){var n=t.get(t._valueFieldsF[r].fieldKey);i[r]=e[n],i[t._valueFieldsF[r].workingKey]=i[r]})),this._fields&&s.each(this._fields,(function(r){var n=t.get(t._fieldsF[r]);i[r]=e[n]})),i}}),Object.defineProperty(t.prototype,"makeDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=new u(this,void 0,e);return this.processDataItem(t),t}}),Object.defineProperty(t.prototype,"pushDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.makeDataItem(e);return this._mainDataItems.push(t),t}}),Object.defineProperty(t.prototype,"disposeDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),Object.defineProperty(t.prototype,"showDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return(0,r.mG)(this,void 0,void 0,(function(){return(0,r.Jh)(this,(function(t){return e.set("visible",!0),[2]}))}))}}),Object.defineProperty(t.prototype,"hideDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return(0,r.mG)(this,void 0,void 0,(function(){return(0,r.Jh)(this,(function(t){return e.set("visible",!1),[2]}))}))}}),Object.defineProperty(t.prototype,"_clearDirty",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._clearDirty.call(this),this._valuesDirty=!1}}),Object.defineProperty(t.prototype,"_afterDataChange",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(t.prototype,"_afterChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._afterChanged.call(this),this._dataChanged){var t="datavalidated";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this}),this._dataChanged=!1}this.inited=!0}}),Object.defineProperty(t.prototype,"markDirtyValues",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.markDirty(),this._valuesDirty=!0}}),Object.defineProperty(t.prototype,"_markDirtyGroup",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._dataGrouped=!1}}),Object.defineProperty(t.prototype,"markDirtySize",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._sizeDirty=!0,this.markDirty()}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Component"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:a.W.classNames.concat([t.className])}),t}(a.W)},8777:function(e,t,i){"use strict";i.d(t,{W:function(){return g}});var r=i(5125),n=i(7144),a=i(5071),o=function(e){function t(t){var i=e.call(this)||this;return Object.defineProperty(i,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(i,"_container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"_events",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),i._container=t,i._events=i.events.onAll((function(e){if("clear"===e.type)a.each(e.oldValues,(function(e){i._onRemoved(e)}));else if("push"===e.type)i._onInserted(e.newValue);else if("setIndex"===e.type)i._onRemoved(e.oldValue),i._onInserted(e.newValue,e.index);else if("insertIndex"===e.type)i._onInserted(e.newValue,e.index);else if("removeIndex"===e.type)i._onRemoved(e.oldValue);else{if("moveIndex"!==e.type)throw new Error("Unknown IListEvent type");i._onRemoved(e.value),i._onInserted(e.value,e.newIndex)}})),i}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_onInserted",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e._setParent(this._container,!0);var i=this._container._childrenDisplay;void 0===t?i.addChild(e._display):i.addChildAt(e._display,t)}}),Object.defineProperty(t.prototype,"_onRemoved",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._container._childrenDisplay.removeChild(e._display),this._container.markDirtyBounds(),this._container.markDirty()}}),Object.defineProperty(t.prototype,"isDisposed",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._disposed}}),Object.defineProperty(t.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._disposed||(this._disposed=!0,this._events.dispose(),a.each(this.values,(function(e){e.dispose()})))}}),t}(n.aV),s=i(6245),l=i(4596),u=i(7142),c=i(4431),h=i(1706),f=i(6881),p=i(2132),d=i(5040),b=i(7652),g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_display",{enumerable:!0,configurable:!0,writable:!0,value:t._root._renderer.makeContainer()}),Object.defineProperty(t,"_childrenDisplay",{enumerable:!0,configurable:!0,writable:!0,value:t._root._renderer.makeContainer()}),Object.defineProperty(t,"children",{enumerable:!0,configurable:!0,writable:!0,value:new o(t)}),Object.defineProperty(t,"_percentageSizeChildren",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(t,"_percentagePositionChildren",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(t,"_prevWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"_prevHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"_contentWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"_contentHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"_contentMask",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_vsbd0",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_vsbd1",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._afterNew.call(this),this._display.addChild(this._childrenDisplay)}}),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){a.eachReverse(this.allChildren(),(function(e){e.dispose()})),this.getPrivate("htmlElement")&&this._root._removeHTMLContent(this),e.prototype._dispose.call(this)}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._changed.call(this),this.isDirty("interactiveChildren")&&(this._display.interactiveChildren=this.get("interactiveChildren",!1)),this.isDirty("layout")&&(this._prevWidth=0,this._prevHeight=0,this.markDirtyBounds(),this._prevSettings.layout&&this.children.each((function(e){e.removePrivate("x"),e.removePrivate("y")}))),(this.isDirty("paddingTop")||this.isDirty("paddingBottom")||this.isDirty("paddingLeft")||this.isDirty("paddingRight"))&&this.children.each((function(e){e.markDirtyPosition()})),this.isDirty("maskContent")){var t=this._childrenDisplay,i=this._contentMask;this.get("maskContent")?i||(i=u.A.new(this._root,{width:this.width(),height:this.height()}),this._contentMask=i,t.addChildAt(i._display,0),t.mask=i._display):i&&(t.removeChild(i._display),t.mask=null,i.dispose(),this._contentMask=void 0)}}}),Object.defineProperty(t.prototype,"_updateSize",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._updateSize.call(this),a.each(this._percentageSizeChildren,(function(e){e._updateSize()})),a.each(this._percentagePositionChildren,(function(e){e.markDirtyPosition(),e._updateSize()})),this.updateBackground()}}),Object.defineProperty(t.prototype,"updateBackground",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("background"),t=this._localBounds;if(t&&!this.isHidden()){var i=t.left,r=t.top,n=t.right-i,a=t.bottom-r,o=this.get("maxWidth"),s=this.get("maxHeight");s&&a>s&&(a=s),o&&n>o&&(n=o);var l=this.width(),u=this.height();e&&(e.setAll({width:n,height:a,x:i,y:r}),this._display.interactive&&(e._display.interactive=!0));var c=this._contentMask;c&&c.setAll({width:l,height:u});var h=this.get("verticalScrollbar");if(h){h.set("height",u),h.set("x",l-h.width()-h.get("marginRight",0)),h.set("end",h.get("start",0)+u/this._contentHeight);var f=h.get("background");f&&f.setAll({width:h.width(),height:u});var p=!0;this._contentHeight<=u&&(p=!1),h.setPrivate("visible",p)}}}}),Object.defineProperty(t.prototype,"_applyThemes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return!!e.prototype._applyThemes.call(this)&&(this.eachChildren((function(e){e._applyThemes()})),!0)}}),Object.defineProperty(t.prototype,"_applyState",{enumerable:!1,configurable:!0,writable:!0,value:function(t){e.prototype._applyState.call(this,t),this.get("setStateOnChildren")&&this.eachChildren((function(e){e.states.apply(t)}))}}),Object.defineProperty(t.prototype,"_applyStateAnimated",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){e.prototype._applyStateAnimated.call(this,t,i),this.get("setStateOnChildren")&&this.eachChildren((function(e){e.states.applyAnimate(t,i)}))}}),Object.defineProperty(t.prototype,"innerWidth",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.width()-this.get("paddingRight",0)-this.get("paddingLeft",0)}}),Object.defineProperty(t.prototype,"innerHeight",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.height()-this.get("paddingTop",0)-this.get("paddingBottom",0)}}),Object.defineProperty(t.prototype,"_getBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("width"),t=this.get("height"),i=this.getPrivate("width"),r=this.getPrivate("height"),n={left:0,top:0,right:this.width(),bottom:this.height()},a=this.get("layout"),o=!1,s=!1;if((a instanceof c.G||a instanceof f.M)&&(o=!0),a instanceof h.Z&&(s=!0),null==e&&null==i||null==t&&null==r||this.get("verticalScrollbar")){var l=Number.MAX_VALUE,u=l,p=-l,b=l,g=-l,y=this.get("paddingLeft",0),v=this.get("paddingTop",0),m=this.get("paddingRight",0),_=this.get("paddingBottom",0);this.children.each((function(e){if("absolute"!=e.get("position")&&e.get("isMeasured")){var t=e.adjustedLocalBounds(),i=e.x(),r=e.y(),n=i+t.left,a=i+t.right,l=r+t.top,c=r+t.bottom;o&&(n-=e.get("marginLeft",0),a+=e.get("marginRight",0)),s&&(l-=e.get("marginTop",0),c+=e.get("marginBottom",0)),n<u&&(u=n),a>p&&(p=a),l<b&&(b=l),c>g&&(g=c)}})),u==l&&(u=0),p==-l&&(p=0),b==l&&(b=0),g==-l&&(g=0),n.left=u-y,n.top=b-v,n.right=p+m,n.bottom=g+_}this._contentWidth=n.right-n.left,this._contentHeight=n.bottom-n.top,d.isNumber(e)&&(n.left=0,n.right=e),d.isNumber(i)&&(n.left=0,n.right=i),d.isNumber(t)&&(n.top=0,n.bottom=t),d.isNumber(r)&&(n.top=0,n.bottom=r),this._localBounds=n}}),Object.defineProperty(t.prototype,"_updateBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this.get("layout");t&&t.updateContainer(this),e.prototype._updateBounds.call(this),this.updateBackground()}}),Object.defineProperty(t.prototype,"markDirty",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype.markDirty.call(this),this._root._addDirtyParent(this)}}),Object.defineProperty(t.prototype,"_prepareChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.innerWidth(),t=this.innerHeight();if(e!=this._prevWidth||t!=this._prevHeight){var i=this.get("layout"),r=!1,n=!1;i&&((i instanceof c.G||i instanceof f.M)&&(r=!0),i instanceof h.Z&&(n=!0)),a.each(this._percentageSizeChildren,(function(i){if(!r){var a=i.get("width");a instanceof s.gG&&i.setPrivate("width",a.value*e)}if(!n){var o=i.get("height");o instanceof s.gG&&i.setPrivate("height",o.value*t)}})),a.each(this._percentagePositionChildren,(function(e){e.markDirtyPosition(),e.markDirtyBounds()})),this._prevWidth=e,this._prevHeight=t,this._sizeDirty=!0,this.updateBackground()}this._handleStates()}}),Object.defineProperty(t.prototype,"_updateChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;if(this.isDirty("html")){var t=this.get("html");t&&""!==t?this._root._setHTMLContent(this,(0,p.q)(this,this.get("html",""))):this._root._removeHTMLContent(this),this._root._positionHTMLElement(this)}if(this.isDirty("verticalScrollbar")){var i,r=this.get("verticalScrollbar");r?(r._setParent(this),r.children.removeValue(r.startGrip),r.children.removeValue(r.endGrip),this.set("maskContent",!0),this.set("paddingRight",r.width()+r.get("marginRight",0)+r.get("marginLeft",0)),(i=this.get("background"))||(i=this.set("background",u.A.new(this._root,{themeTags:["background"],fillOpacity:0,fill:this._root.interfaceColors.get("alternativeBackground")}))),this._vsbd0=this.events.on("wheel",(function(t){var i=t.originalEvent;if(b.isLocalEvent(i,e)){i.preventDefault();var n=i.deltaY/5e3,a=r.get("start",0),o=r.get("end",1);a+n>0&&o+n<1&&(r.set("start",a+n),r.set("end",o+n))}})),this._disposers.push(this._vsbd0),this._vsbd1=r.events.on("rangechanged",(function(){var t=e._contentHeight,i=e._childrenDisplay,n=e._contentMask;i.y=-r.get("start")*t,i.markDirtyLayer(),n&&(n._display.y=-i.y,i.mask=n._display)})),this._disposers.push(this._vsbd1),this._display.addChild(r._display)):(n=this._prevSettings.verticalScrollbar)&&(this._display.removeChild(n._display),this._vsbd0&&this._vsbd0.dispose(),this._vsbd1&&this._vsbd1.dispose(),this._childrenDisplay.y=0,this.setPrivate("height",void 0),this.set("maskContent",!1),this.set("paddingRight",void 0))}if(this.isDirty("background")&&((n=this._prevSettings.background)&&this._display.removeChild(n._display),(i=this.get("background"))instanceof l.j&&(i.set("isMeasured",!1),i._setParent(this),this._display.addChildAt(i._display,0))),this.isDirty("mask")){var n,a=this.get("mask");if((n=this._prevSettings.mask)&&(this._display.removeChild(n._display),n!=a&&n.dispose()),a){var o=a.parent;o&&o.children.removeValue(a),a._setParent(this),this._display.addChildAt(a._display,0),this._childrenDisplay.mask=a._display}}}}),Object.defineProperty(t.prototype,"_processTemplateField",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._processTemplateField.call(this),this.children.each((function(e){e._processTemplateField()}))}}),Object.defineProperty(t.prototype,"walkChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.children.each((function(i){i instanceof t&&i.walkChildren(e),e(i)}))}}),Object.defineProperty(t.prototype,"eachChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.get("background");t&&e(t);var i=this.get("verticalScrollbar");i&&e(i);var r=this.get("mask");r&&e(r),this.children.values.forEach((function(t){e(t)}))}}),Object.defineProperty(t.prototype,"allChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=[];return this.eachChildren((function(t){e.push(t)})),e}}),Object.defineProperty(t.prototype,"_setDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(t){var i=t!==this._dataItem;e.prototype._setDataItem.call(this,t);var r=this.get("html","");r&&""!==r&&i&&this._root._setHTMLContent(this,(0,p.q)(this,r))}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Container"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:l.j.classNames.concat([t.className])}),t}(l.j)},2433:function(e,t,i){"use strict";i.d(t,{P:function(){return a}});var r=i(5125),n=i(1479),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),(this.isDirty("radiusX")||this.isDirty("radiusY")||this.isDirty("rotation"))&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._changed.call(this),this._clear&&this._display.drawEllipse(0,0,Math.abs(this.get("radiusX")),Math.abs(this.get("radiusY")))}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Ellipse"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.T.classNames.concat([t.className])}),t}(n.T)},1479:function(e,t,i){"use strict";i.d(t,{T:function(){return c},u:function(){return u}});var r=i(5125),n=i(4429),a=i(4596),o=i(4680),s=i(5040),l=i(5071),u=["fill","fillOpacity","stroke","strokeWidth","strokeOpacity","fillPattern","strokePattern","fillGradient","strokeGradient","strokeDasharray","strokeDashoffset"],c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_display",{enumerable:!0,configurable:!0,writable:!0,value:t._root._renderer.makeGraphics()}),Object.defineProperty(t,"_clear",{enumerable:!0,configurable:!0,writable:!0,value:!1}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t,i,r=this;e.prototype._beforeChanged.call(this),(this.isDirty("draw")||this.isDirty("svgPath"))&&this.markDirtyBounds(),(this.isDirty("fill")||this.isDirty("stroke")||this.isDirty("visible")||this.isDirty("forceHidden")||this.isDirty("fillGradient")||this.isDirty("strokeGradient")||this.isDirty("fillPattern")||this.isDirty("strokePattern")||this.isDirty("fillOpacity")||this.isDirty("strokeOpacity")||this.isDirty("strokeWidth")||this.isDirty("draw")||this.isDirty("blendMode")||this.isDirty("strokeDasharray")||this.isDirty("strokeDashoffset")||this.isDirty("svgPath")||this.isDirty("lineJoin")||this.isDirty("shadowColor")||this.isDirty("shadowBlur")||this.isDirty("shadowOffsetX")||this.isDirty("shadowOffsetY"))&&(this._clear=!0),this.isDirty("fillGradient")&&(t=this.get("fillGradient"))&&(this._display.isMeasured=!0,(i=t.get("target"))&&(this._disposers.push(i.events.on("boundschanged",(function(){r._markDirtyKey("fill")}))),this._disposers.push(i.events.on("positionchanged",(function(){r._markDirtyKey("fill")}))))),this.isDirty("strokeGradient")&&(t=this.get("strokeGradient"))&&(this._display.isMeasured=!0,(i=t.get("target"))&&(this._disposers.push(i.events.on("boundschanged",(function(){r._markDirtyKey("stroke")}))),this._disposers.push(i.events.on("positionchanged",(function(){r._markDirtyKey("stroke")})))))}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._changed.call(this),this._clear){this.markDirtyLayer(),this._display.clear();var t=this.get("strokeDasharray");s.isNumber(t)&&(t=t<.5?[0]:[t]),this._display.setLineDash(t);var i=this.get("strokeDashoffset");i&&this._display.setLineDashOffset(i);var r=this.get("blendMode",o.b.NORMAL);this._display.blendMode=r;var n=this.get("draw");n&&n(this._display,this);var a=this.get("svgPath");null!=a&&this._display.svgPath(a)}}}),Object.defineProperty(t.prototype,"_afterChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;if(e.prototype._afterChanged.call(this),this._clear){var i=this.get("fill"),r=this.get("fillGradient"),a=this.get("fillPattern"),o=this.get("fillOpacity"),s=this.get("stroke"),u=this.get("strokeGradient"),c=this.get("strokePattern"),h=this.get("shadowColor"),f=this.get("shadowBlur"),p=this.get("shadowOffsetX"),d=this.get("shadowOffsetY"),b=this.get("shadowOpacity");if(h&&(f||p||d)&&this._display.shadow(h,f,p,d,b),a){var g=!1;!i||a.get("fill")&&!a.get("fillInherited")||(a.set("fill",i),a.set("fillInherited",!0),g=!0),!s||a.get("color")&&!a.get("colorInherited")||(a.set("color",s),a.set("colorInherited",!0),g=!0),g&&a._changed(),(y=a.pattern)&&(this._display.beginFill(y,o),this._display.endFill(),a instanceof n.v&&a.events.once("loaded",(function(){t._clear=!0,t.markDirty()})))}else r?(i&&(w=r.get("stops",[])).length&&l.each(w,(function(e){e.color&&!e.colorInherited||!i||(e.color=i,e.colorInherited=!0),(null==e.opacity||e.opacityInherited)&&(e.opacity=o,e.opacityInherited=!0)})),(P=r.getFill(this))&&(this._display.beginFill(P,o),this._display.endFill())):i&&(this._display.beginFill(i,o),this._display.endFill());if(s||u||c){var y,v=this.get("strokeOpacity"),m=this.get("strokeWidth",1),_=this.get("lineJoin");if(c)g=!1,!s||c.get("color")&&!c.get("colorInherited")||(c.set("color",s),c.set("colorInherited",!0),g=!0),g&&c._changed(),(y=c.pattern)&&(this._display.lineStyle(m,y,v,_),this._display.endStroke(),c instanceof n.v&&c.events.once("loaded",(function(){t._clear=!0,t.markDirty()})));else if(u){var w,P;(w=u.get("stops",[])).length&&l.each(w,(function(e){e.color&&!e.colorInherited||!s||(e.color=s,e.colorInherited=!0),(null==e.opacity||e.opacityInherited)&&(e.opacity=v,e.opacityInherited=!0)})),(P=u.getFill(this))&&(this._display.lineStyle(m,P,v,_),this._display.endStroke())}else s&&(this._display.lineStyle(m,s,v,_),this._display.endStroke())}}this._clear=!1}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Graphics"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:a.j.classNames.concat([t.className])}),t}(a.j)},6881:function(e,t,i){"use strict";i.d(t,{M:function(){return s}});var r=i(5125),n=i(2010),a=i(5071),o=i(751),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._setRawDefault("maxColumns",Number.MAX_VALUE),e.prototype._afterNew.call(this)}}),Object.defineProperty(t.prototype,"updateContainer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e.get("paddingLeft",0),i=e.get("paddingRight",0),r=e.get("paddingTop",0),a=e.maxWidth()-t-i,s=a,l=1;(0,n.j)(e,(function(e){if(e.get("visible")&&e.getPrivate("visible")&&!e.get("forceHidden")&&"absolute"!=e.get("position")){var t=e.width();t<s&&(s=t),t>l&&(l=t)}})),s=o.fitToRange(s,1,a),l=o.fitToRange(l,1,a);var u=1;u=this.get("fixedWidthGrid")?a/l:a/s,u=Math.max(1,Math.floor(u)),u=Math.min(this.get("maxColumns",Number.MAX_VALUE),u);var c=this.getColumnWidths(e,u,l,a),h=r,f=0,p=0;u=c.length;var d=t;(0,n.j)(e,(function(e){if("relative"==e.get("position")&&e.isVisible()){var i=e.get("marginTop",0),r=e.get("marginBottom",0),n=e.adjustedLocalBounds(),a=e.get("marginLeft",0),o=e.get("marginRight",0),s=d+a-n.left,l=h+i-n.top;e.setPrivate("x",s),e.setPrivate("y",l),d+=c[f]+o,p=Math.max(p,e.height()+i+r),++f>=u&&(f=0,d=t,h+=p)}}))}}),Object.defineProperty(t.prototype,"getColumnWidths",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r){var o=this,s=0,l=[],u=0;return(0,n.j)(e,(function(r){var n=r.adjustedLocalBounds();"absolute"!=r.get("position")&&r.isVisible()&&(o.get("fixedWidthGrid")?l[u]=i:l[u]=Math.max(0|l[u],n.right-n.left+r.get("marginLeft",0)+r.get("marginRight",0)),u<e.children.length-1&&++u==t&&(u=0))})),a.each(l,(function(e){s+=e})),s>r?t>2?(t-=1,this.getColumnWidths(e,t,i,r)):[r]:l}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"GridLayout"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.A.classNames.concat([t.className])}),t}(n.A)},4431:function(e,t,i){"use strict";i.d(t,{G:function(){return s}});var r=i(5125),n=i(2010),a=i(5040),o=i(6245),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"updateContainer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e.get("paddingLeft",0),i=e.innerWidth(),r=0;(0,n.j)(e,(function(e){if(e.isVisible()&&"relative"==e.get("position")){var t=e.get("width");if(t instanceof o.gG){r+=t.value;var n=i*t.value,s=e.get("minWidth",e.getPrivate("minWidth",-1/0));s>n&&(i-=s,r-=t.value);var l=e.get("maxWidth",e.getPrivate("maxWidth",1/0));n>l&&(i-=l,r-=t.value)}else a.isNumber(t)||(t=e.width()),i-=t+e.get("marginLeft",0)+e.get("marginRight",0)}})),i<0&&(i=.01),(0,n.j)(e,(function(e){if(e.isVisible()&&"relative"==e.get("position")){var t=e.get("width");if(t instanceof o.gG){var n=i*t.value/r-e.get("marginLeft",0)-e.get("marginRight",0),a=e.get("minWidth",e.getPrivate("minWidth",-1/0)),s=e.get("maxWidth",e.getPrivate("maxWidth",1/0));n=Math.min(Math.max(a,n),s),e.setPrivate("width",n)}}}));var s=t;(0,n.j)(e,(function(e){if("relative"==e.get("position"))if(e.isVisible()){var t=e.adjustedLocalBounds(),i=e.get("marginLeft",0),r=e.get("marginRight",0),n=e.get("maxWidth"),a=t.left,o=t.right;n&&o-a>n&&(o=a+n);var l=s+i-a;e.setPrivate("x",l),s=l+o+r}else e.setPrivate("x",void 0)}))}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"HorizontalLayout"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.A.classNames.concat([t.className])}),t}(n.A)},962:function(e,t,i){"use strict";i.d(t,{_:function(){return u}});var r=i(5125),n=i(2036),a=i(6245),o=i(8777),s=i(5071),l=i(5040),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_text",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_textKeys",{enumerable:!0,configurable:!0,writable:!0,value:["text","fill","textAlign","fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","shadowOpacity","lineHeight","baselineRatio","direction","textBaseline","oversizedBehavior","breakWords","ellipsis","minScale","populateText","role","ignoreFormatting"]}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"text",{get:function(){return this._text},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;e.prototype._afterNew.call(this),this._makeText(),s.each(this._textKeys,(function(e){var i=t.get(e);null!=i&&t._text.set(e,i)})),""!==this.get("html","")&&this._text.set("text",""),this.onPrivate("maxWidth",(function(){t._setMaxDimentions()})),this.onPrivate("maxHeight",(function(){t._setMaxDimentions()}))}}),Object.defineProperty(t.prototype,"_makeText",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._text=this.children.push(n.x.new(this._root,{}))}}),Object.defineProperty(t.prototype,"_updateChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;if(e.prototype._updateChildren.call(this),s.each(this._textKeys,(function(e){t._text.set(e,t.get(e))})),this.isDirty("maxWidth")&&this._setMaxDimentions(),this.isDirty("maxHeight")&&this._setMaxDimentions(),this.isDirty("rotation")&&this._setMaxDimentions(),""!==this.get("html","")?this._text.set("text",""):this._text.set("text",this.get("text")),this.isDirty("textAlign")||this.isDirty("width")){var i=this.get("textAlign"),r=void 0;null!=this.get("width")?r="right"==i?a.AQ:"center"==i?a.CI:0:"left"==i||"start"==i?r=this.get("paddingLeft"):"right"!=i&&"end"!=i||(r=-this.get("paddingRight")),this.text.set("x",r)}}}),Object.defineProperty(t.prototype,"_setMaxDimentions",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("rotation"),t=90==e||270==e||-90==e,i=this.get("maxWidth",this.getPrivate("maxWidth",1/0));l.isNumber(i)?this.text.set(t?"maxHeight":"maxWidth",i-this.get("paddingLeft",0)-this.get("paddingRight",0)):this.text.set(t?"maxHeight":"maxWidth",void 0);var r=this.get("maxHeight",this.getPrivate("maxHeight",1/0));l.isNumber(r)?this.text.set(t?"maxWidth":"maxHeight",r-this.get("paddingTop",0)-this.get("paddingBottom",0)):this.text.set(t?"maxWidth":"maxHeight",void 0)}}),Object.defineProperty(t.prototype,"_setDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(t){e.prototype._setDataItem.call(this,t),this._markDirtyKey("text"),this.text.get("populateText")&&this.text.markDirtyText()}}),Object.defineProperty(t.prototype,"getText",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._text._getText()}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Label"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:o.W.classNames.concat([t.className])}),t}(o.W)},2010:function(e,t,i){"use strict";i.d(t,{A:function(){return o},j:function(){return a}});var r=i(5125),n=i(6331);function a(e,t){e.get("reverseChildren",!1)?e.children.eachReverse(t):e.children.each(t)}var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Layout"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.JH.classNames.concat([t.className])}),t}(n.JH)},3105:function(e,t,i){"use strict";i.d(t,{D:function(){return h}});var r=i(5125),n=i(3399),a=i(8777),o=i(962),s=i(3497),l=i(5769),u=i(7144),c=i(7652),h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"itemContainers",{enumerable:!0,configurable:!0,writable:!0,value:new u.o(l.YS.new({}),(function(){return a.W._new(t._root,{themeTags:c.mergeTags(t.itemContainers.template.get("themeTags",[]),["legend","item"]),themeTagsSelf:c.mergeTags(t.itemContainers.template.get("themeTagsSelf",[]),["itemcontainer"]),background:s.c.new(t._root,{themeTags:c.mergeTags(t.itemContainers.template.get("themeTags",[]),["legend","item","background"]),themeTagsSelf:c.mergeTags(t.itemContainers.template.get("themeTagsSelf",[]),["itemcontainer"])})},[t.itemContainers.template])}))}),Object.defineProperty(t,"markers",{enumerable:!0,configurable:!0,writable:!0,value:new u.o(l.YS.new({}),(function(){return a.W._new(t._root,{themeTags:c.mergeTags(t.markers.template.get("themeTags",[]),["legend","marker"])},[t.markers.template])}))}),Object.defineProperty(t,"labels",{enumerable:!0,configurable:!0,writable:!0,value:new u.o(l.YS.new({}),(function(){return o._._new(t._root,{themeTags:c.mergeTags(t.labels.template.get("themeTags",[]),["legend","label"])},[t.labels.template])}))}),Object.defineProperty(t,"valueLabels",{enumerable:!0,configurable:!0,writable:!0,value:new u.o(l.YS.new({}),(function(){return o._._new(t._root,{themeTags:c.mergeTags(t.valueLabels.template.get("themeTags",[]),["legend","label","value"])},[t.valueLabels.template])}))}),Object.defineProperty(t,"markerRectangles",{enumerable:!0,configurable:!0,writable:!0,value:new u.o(l.YS.new({}),(function(){return s.c._new(t._root,{themeTags:c.mergeTags(t.markerRectangles.template.get("themeTags",[]),["legend","marker","rectangle"])},[t.markerRectangles.template])}))}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._settings.themeTags=c.mergeTags(this._settings.themeTags,["legend"]),this.fields.push("name","stroke","fill"),e.prototype._afterNew.call(this)}}),Object.defineProperty(t.prototype,"makeItemContainer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.children.push(this.itemContainers.make());return t._setDataItem(e),this.itemContainers.push(t),t.states.create("disabled",{}),t}}),Object.defineProperty(t.prototype,"makeMarker",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.markers.make();return this.markers.push(e),e.states.create("disabled",{}),e}}),Object.defineProperty(t.prototype,"makeLabel",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.labels.make();return e.states.create("disabled",{}),e}}),Object.defineProperty(t.prototype,"makeValueLabel",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.valueLabels.make();return e.states.create("disabled",{}),e}}),Object.defineProperty(t.prototype,"makeMarkerRectangle",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.markerRectangles.make();return e.states.create("disabled",{}),e}}),Object.defineProperty(t.prototype,"processDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(t){var i=this;e.prototype.processDataItem.call(this,t);var r=this.makeItemContainer(t),n=this.get("nameField"),a=this.get("fillField"),o=this.get("strokeField");if(r){var s=this.get("clickTarget","itemContainer"),l=t.dataContext;l&&l.set&&l.set("legendDataItem",t),r._setDataItem(t),t.set("itemContainer",r);var u=this.makeMarker();if(u){r.children.push(u),u._setDataItem(t),t.set("marker",u);var c=this.get("useDefaultMarker"),h=u.children.push(this.makeMarkerRectangle()),f=t.get("fill"),p=t.get("stroke");t.set("markerRectangle",h),l&&l.get&&(f=l.get(a,f),p=l.get(o,p)),p||(p=f),c?l.on&&(l.on(a,(function(){h.set("fill",l.get(a))})),l.on(o,(function(){h.set("stroke",l.get(o))}))):l&&l.createLegendMarker&&l.createLegendMarker(),h.setAll({fill:f,stroke:p});var d=l.component;d&&d.updateLegendMarker&&d.updateLegendMarker(l)}var b=this.makeLabel();if(b){r.children.push(b),b._setDataItem(t),t.set("label",b),b.text.on("text",(function(){r.set("ariaLabel",b.text._getText()+"; "+i._t("Press ENTER to toggle"))})),l&&l.get&&t.set("name",l.get(n));var g=t.get("name");g&&b.set("text",g)}var y=this.makeValueLabel();if(y&&(r.children.push(y),y._setDataItem(t),t.set("valueLabel",y)),l&&l.show&&(this._disposers.push(l.on("visible",(function(e){r.set("disabled",!e)}))),l.get("visible")||r.set("disabled",!0),"none"!=s)){var v=r;"marker"==s&&(v=u),this._addClickEvents(v,l,t)}this.children.values.sort((function(e,t){var r=e.dataItem.dataContext,n=t.dataItem.dataContext;if(r&&n){var a=i.data.indexOf(r),o=i.data.indexOf(n);if(a>o)return 1;if(a<o)return-1}return 0}))}}}),Object.defineProperty(t.prototype,"_addClickEvents",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){var r=this;e.set("cursorOverStyle","pointer"),e.events.on("pointerover",(function(){var e=t.component;e&&e.hoverDataItem&&e.hoverDataItem(t)})),e.events.on("pointerout",(function(){var e=t.component;e&&e.hoverDataItem&&e.unhoverDataItem(t)})),e.events.on("click",(function(){var n=i.get("label").text._getText();t.show&&t.isHidden&&(t.isHidden()||!1===t.get("visible"))?(t.show(),e.set("disabled",!1),r._root.readerAlert(r._t("%1 shown",r._root.locale,n))):t.hide&&(t.hide(),e.set("disabled",!0),r._root.readerAlert(r._t("%1 hidden",r._root.locale,n)))}))}}),Object.defineProperty(t.prototype,"disposeDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(t){e.prototype.disposeDataItem.call(this,t);var i=t.dataContext;i&&i.get&&i.get("legendDataItem")==t&&i.set("legendDataItem",void 0);var r=t.get("itemContainer");r&&(this.itemContainers.removeValue(r),r.dispose());var n=t.get("marker");n&&(this.markers.removeValue(n),n.dispose());var a=t.get("markerRectangle");a&&(this.markerRectangles.removeValue(a),a.dispose());var o=t.get("label");o&&(this.labels.removeValue(o),o.dispose());var s=t.get("valueLabel");s&&(this.valueLabels.removeValue(s),s.dispose())}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Legend"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.F.classNames.concat([t.className])}),t}(n.F)},2077:function(e,t,i){"use strict";i.d(t,{x:function(){return s}});var r=i(5125),n=i(1479);function a(e,t){for(var i=0,r=t.length;i<r;i++){var n=t[i];if(n.length>0){var a=n[0];if(a.length>0){var s=a[0];e.moveTo(s.x,s.y);for(var l=0,u=n.length;l<u;l++)o(e,n[l])}}}}function o(e,t){for(var i=0,r=t.length;i<r;i++){var n=t[i];e.lineTo(n.x,n.y)}}var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),(this.isDirty("points")||this.isDirty("segments")||this._sizeDirty||this.isPrivateDirty("width")||this.isPrivateDirty("height"))&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._changed.call(this),this._clear){var t=this.get("points"),i=this.get("segments");if(t&&t.length>0){var r=t[0];this._display.moveTo(r.x,r.y),a(this._display,[[t]])}else if(i)a(this._display,i);else if(!this.get("draw")){var n=this.width(),o=this.height();this._display.moveTo(0,0),this._display.lineTo(n,o)}}}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Line"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.T.classNames.concat([t.className])}),t}(n.T)},8289:function(e,t,i){"use strict";i.d(t,{G:function(){return n}});var r=function(){function e(e,t){Object.defineProperty(this,"_line",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_point",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_context",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_x0",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_x1",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_y0",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_y1",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_t0",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tension",{enumerable:!0,configurable:!0,writable:!0,value:0}),this._context=e,this._tension=t}return Object.defineProperty(e.prototype,"areaStart",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._line=0}}),Object.defineProperty(e.prototype,"areaEnd",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._line=NaN}}),Object.defineProperty(e.prototype,"lineStart",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0}}),Object.defineProperty(e.prototype,"lineEnd",{enumerable:!1,configurable:!0,writable:!0,value:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:l(this,this._t0,s(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}}),Object.defineProperty(e.prototype,"point",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,l(this,s(this,i=o(this,e,t)),i);break;default:l(this,this._t0,i=o(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=i}}}),e}();function n(e){return function(t){return new r(t,e)}}function a(e){return e<0?-1:1}function o(e,t,i){var r=e._x1-e._x0,n=t-e._x1,o=(e._y1-e._y0)/(r||n<0&&-0),s=(i-e._y1)/(n||r<0&&-0),l=(o*n+s*r)/(r+n);return(a(o)+a(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(l))||0}function s(e,t){var i=e._x1-e._x0;return i?(3*(e._y1-e._y0)/i-t)/2:t}function l(e,t,i){var r=e._x0,n=e._y0,a=e._x1,o=e._y1,s=(a-r)/1.5*(1-e._tension);e._context.bezierCurveTo(r+s,n+s*t,a-s,o-s*i,a,o)}},5892:function(e,t,i){"use strict";i.d(t,{$:function(){return a}});var r=i(5125),n=function(){function e(e,t){Object.defineProperty(this,"_line",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_point",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_context",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_x0",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_x1",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_y0",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_y1",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_t0",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tension",{enumerable:!0,configurable:!0,writable:!0,value:0}),this._context=e,this._tension=t}return Object.defineProperty(e.prototype,"areaStart",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._line=0}}),Object.defineProperty(e.prototype,"areaEnd",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._line=NaN}}),Object.defineProperty(e.prototype,"lineStart",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0}}),Object.defineProperty(e.prototype,"lineEnd",{enumerable:!1,configurable:!0,writable:!0,value:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:u(this,this._t0,l(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}}),Object.defineProperty(e.prototype,"point",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i;e=(i=(0,r.CR)([t,e],2))[0];var n=NaN;if(t=+(t=i[1]),(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,u(this,l(this,n=s(this,e,t)),n);break;default:u(this,this._t0,n=s(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}}),e}();function a(e){function t(t){return new n(t,e)}return t.tension=function(e){return a(+e)},t}function o(e){return e<0?-1:1}function s(e,t,i){var r=e._x1-e._x0,n=t-e._x1,a=(e._y1-e._y0)/(r||n<0&&-0),s=(i-e._y1)/(n||r<0&&-0),l=(a*n+s*r)/(r+n);return(o(a)+o(s))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs(l))||0}function l(e,t){var i=e._x1-e._x0;return i?(3*(e._y1-e._y0)/i-t)/2:t}function u(e,t,i){var r=e._x0,n=e._y0,a=e._x1,o=e._y1,s=(a-r)/1.5*(1-e._tension);e._context.bezierCurveTo(n+s*t,r+s,o-s*i,a-s,o,a)}},5021:function(e,t,i){"use strict";i.d(t,{t:function(){return o}});var r=i(5125),n=i(4596),a=i(5040),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_display",{enumerable:!0,configurable:!0,writable:!0,value:t._root._renderer.makePicture(void 0)}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._changed.call(this),this.isDirty("width")){var t=this.get("width");this._display.width=a.isNumber(t)?t:void 0}if(this.isDirty("height")){var i=this.get("height");this._display.height=a.isNumber(i)?i:void 0}if(this.isDirty("shadowColor")){this._display.clear();var r=this.get("shadowColor");this._display.shadowColor=null==r?void 0:r}this.isDirty("shadowBlur")&&(this._display.clear(),this._display.shadowBlur=this.get("shadowBlur")),this.isDirty("shadowOffsetX")&&(this._display.clear(),this._display.shadowOffsetX=this.get("shadowOffsetX")),this.isDirty("shadowOffsetY")&&(this._display.clear(),this._display.shadowOffsetY=this.get("shadowOffsetY")),this.isDirty("shadowOpacity")&&(this._display.clear(),this._display.shadowOpacity=this.get("shadowOpacity")),this.isDirty("src")&&(this._display.clear(),this._load())}}),Object.defineProperty(t.prototype,"_load",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this,t=this.get("src");if(t){var i=new Image;i.src=t,i.decode().then((function(){e._display.image=i,e._updateSize()})).catch((function(e){}))}}}),Object.defineProperty(t.prototype,"_updateSize",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._updateSize.call(this);var t=this._display.image;if(t){var i=this.getPrivate("width",this.get("width")),r=this.getPrivate("height",this.get("height")),n=t.width&&t.height?t.width/t.height:0;a.isNumber(i)&&a.isNumber(r)?(this._display.width=i,this._display.height=r):a.isNumber(i)&&n?r=i/n:a.isNumber(r)&&n?i=r*n:(i=t.width,r=t.height),a.isNumber(i)&&(this._display.width=i),a.isNumber(r)&&(this._display.height=r),this.markDirtyBounds(),this.markDirty()}}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Picture"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.j.classNames.concat([t.className])}),t}(n.j)},8931:function(e,t,i){"use strict";i.d(t,{i:function(){return o}});var r=i(5125),n=i(1479),a=i(751),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),(this.isDirty("pointerBaseWidth")||this.isDirty("cornerRadius")||this.isDirty("pointerLength")||this.isDirty("pointerX")||this.isDirty("pointerY")||this.isDirty("width")||this.isDirty("height"))&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._changed.call(this),this._clear){this.markDirtyBounds();var t=this.width(),i=this.height();if(t>0&&i>0){var r=this.get("cornerRadius",8);r=a.fitToRange(r,0,Math.min(t/2,i/2));var n=this.get("pointerX",0),o=this.get("pointerY",0),s=this.get("pointerBaseWidth",15)/2,l=(n-0)*(i-0)-(o-0)*(t-0),u=(n-0)*(0-i)-(o-i)*(t-0),c=this._display;if(c.moveTo(r,0),l>0&&u>0){var h=Math.round(a.fitToRange(n,r+s,t-s-r));o=a.fitToRange(o,-1/0,0),c.lineTo(h-s,0),c.lineTo(n,o),c.lineTo(h+s,0)}if(c.lineTo(t-r,0),c.arcTo(t,0,t,r,r),l>0&&u<0){var f=Math.round(a.fitToRange(o,r+s,i-s-r));n=a.fitToRange(n,t,1/0),c.lineTo(t,r),c.lineTo(t,Math.max(f-s,r)),c.lineTo(n,o),c.lineTo(t,f+s)}c.lineTo(t,i-r),c.arcTo(t,i,t-r,i,r),l<0&&u<0&&(h=Math.round(a.fitToRange(n,r+s,t-s-r)),o=a.fitToRange(o,i,1/0),c.lineTo(t-r,i),c.lineTo(h+s,i),c.lineTo(n,o),c.lineTo(h-s,i)),c.lineTo(r,i),c.arcTo(0,i,0,i-r,r),l<0&&u>0&&(f=Math.round(a.fitToRange(o,r+s,i-r-s)),n=a.fitToRange(n,-1/0,0),c.lineTo(0,i-r),c.lineTo(0,f+s),c.lineTo(n,o),c.lineTo(0,Math.max(f-s,r))),c.lineTo(0,r),c.arcTo(0,0,r,0,r)}}}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PointedRectangle"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.T.classNames.concat([t.className])}),t}(n.T)},815:function(e,t,i){"use strict";i.d(t,{x:function(){return u}});var r=i(5125),n=i(6245),a=i(962),o=i(4244),s=i(751),l=i(7652),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_flipped",{enumerable:!0,configurable:!0,writable:!0,value:!1}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._textKeys.push("textType","kerning"),e.prototype._afterNew.call(this)}}),Object.defineProperty(t.prototype,"_makeText",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._text=this.children.push(o.f.new(this._root,{}))}}),Object.defineProperty(t.prototype,"baseRadius",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.getPrivate("radius",0),t=this.getPrivate("innerRadius",0),i=this.get("baseRadius",0);return t+l.relativeToValue(i,e-t)}}),Object.defineProperty(t.prototype,"radius",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("inside",!1);return this.baseRadius()+this.get("radius",0)*(e?-1:1)}}),Object.defineProperty(t.prototype,"_updateChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._updateChildren.call(this),this.isDirty("baseRadius")||this.isPrivateDirty("radius")||this.isPrivateDirty("innerRadius")||this.isDirty("labelAngle")||this.isDirty("radius")||this.isDirty("inside")||this.isDirty("orientation")||this.isDirty("textType")){var t=this.get("textType","adjusted"),i=this.get("inside",!1),r=this.get("orientation"),a=s.normalizeAngle(this.get("labelAngle",0));this._text.set("startAngle",this.get("labelAngle",0)),this._text.set("inside",i);var o=s.sin(a),l=s.cos(a),u=this.baseRadius(),c=this.radius();if(this._display.angle=0,"circular"==t)this.setAll({paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}),this._text.set("orientation",r),this._text.set("radius",c);else{0==u&&(a=0,c=0);var h=c*l,f=c*o;"radial"==t?(this.setRaw("x",h),this.setRaw("y",f),a<90||a>270||"auto"!=r?(this._display.angle=a,this._flipped=!1):(this._display.angle=a+180,this._flipped=!0),this._dirty.rotation=!1):"adjusted"==t?(this.setRaw("centerX",n.CI),this.setRaw("centerY",n.CI),this.setRaw("x",h),this.setRaw("y",f)):"regular"==t&&(this.setRaw("x",h),this.setRaw("y",f))}this.markDirtyPosition(),this.markDirtyBounds()}}}),Object.defineProperty(t.prototype,"_updatePosition",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this.get("textType","regular"),i=this.get("inside",!1),r=0,a=0,o=this.get("labelAngle",0),l=this.localBounds(),u=l.right-l.left,c=l.bottom-l.top;if("radial"==t){if(this._flipped){var h=this.get("centerX");h instanceof n.gG&&(u*=1-2*h.value),r=u*s.cos(o),a=u*s.sin(o)}}else i||"adjusted"!=t||(r=u/2*s.cos(o),a=c/2*s.sin(o));this.setRaw("dx",r),this.setRaw("dy",a),e.prototype._updatePosition.call(this)}}),Object.defineProperty(t.prototype,"text",{get:function(){return this._text},enumerable:!1,configurable:!0}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RadialLabel"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:a._.classNames.concat([t.className])}),t}(a._)},4244:function(e,t,i){"use strict";i.d(t,{f:function(){return o}});var r=i(5125),n=i(2036),a=i(751),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_display",{enumerable:!0,configurable:!0,writable:!0,value:t._root._renderer.makeRadialText("",t.textStyle)}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._afterNew.call(this)}}),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),this._display.clear(),this.isDirty("textType")&&(this._display.textType=this.get("textType"),this.markDirtyBounds()),this.isDirty("radius")&&(this._display.radius=this.get("radius"),this.markDirtyBounds()),this.isDirty("startAngle")&&(this._display.startAngle=(this.get("startAngle",0)+90)*a.RADIANS,this.markDirtyBounds()),this.isDirty("inside")&&(this._display.inside=this.get("inside"),this.markDirtyBounds()),this.isDirty("orientation")&&(this._display.orientation=this.get("orientation"),this.markDirtyBounds()),this.isDirty("kerning")&&(this._display.kerning=this.get("kerning"),this.markDirtyBounds())}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RadialText"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.x.classNames.concat([t.className])}),t}(n.x)},7142:function(e,t,i){"use strict";i.d(t,{A:function(){return a}});var r=i(5125),n=i(1479),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),(this.isDirty("width")||this.isDirty("height")||this.isPrivateDirty("width")||this.isPrivateDirty("height"))&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._changed.call(this),this._clear&&!this.get("draw")&&this._draw()}}),Object.defineProperty(t.prototype,"_draw",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._display.drawRect(0,0,this.width(),this.height())}}),Object.defineProperty(t.prototype,"_updateSize",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.markDirty(),this._clear=!0}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Rectangle"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.T.classNames.concat([t.className])}),t}(n.T)},3497:function(e,t,i){"use strict";i.d(t,{c:function(){return l}});var r=i(5125),n=i(5040),a=i(751),o=i(7652),s=i(7142),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_draw",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.width(),t=this.height(),i=e,r=t,s=i/Math.abs(e),l=r/Math.abs(t);if(n.isNumber(i)&&n.isNumber(r)){var u=Math.min(i,r)/2,c=o.relativeToValue(this.get("cornerRadiusTL",8),u),h=o.relativeToValue(this.get("cornerRadiusTR",8),u),f=o.relativeToValue(this.get("cornerRadiusBR",8),u),p=o.relativeToValue(this.get("cornerRadiusBL",8),u),d=Math.min(Math.abs(i/2),Math.abs(r/2));c=a.fitToRange(c,0,d),h=a.fitToRange(h,0,d),f=a.fitToRange(f,0,d),p=a.fitToRange(p,0,d),this._display.moveTo(c*s,0),this._display.lineTo(i-h*s,0),h>0&&this._display.arcTo(i,0,i,h*l,h),this._display.lineTo(i,r-f*l),f>0&&this._display.arcTo(i,r,i-f*s,r,f),this._display.lineTo(p*s,r),p>0&&this._display.arcTo(0,r,0,r-p*l,p),this._display.lineTo(0,c*l),c>0&&this._display.arcTo(0,0,c*s,0,c)}}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RoundedRectangle"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.A.classNames.concat([t.className])}),t}(s.A)},6001:function(e,t,i){"use strict";i.d(t,{L:function(){return c}});var r=i(5125),n=i(3497),a=i(8777),o=i(1479),s=i(8054),l=i(5040),u=i(7652),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"thumb",{enumerable:!0,configurable:!0,writable:!0,value:t._makeThumb()}),Object.defineProperty(t,"startGrip",{enumerable:!0,configurable:!0,writable:!0,value:t._makeButton()}),Object.defineProperty(t,"endGrip",{enumerable:!0,configurable:!0,writable:!0,value:t._makeButton()}),Object.defineProperty(t,"_thumbBusy",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_startDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_endDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_thumbDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_gripDown",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_addOrientationClass",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._settings.themeTags=u.mergeTags(this._settings.themeTags,["scrollbar",this._settings.orientation]),this._settings.background||(this._settings.background=n.c.new(this._root,{themeTags:u.mergeTags(this._settings.themeTags,["main","background"])}))}}),Object.defineProperty(t.prototype,"_makeButton",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.children.push(s.z.new(this._root,{themeTags:["resize","button",this.get("orientation")],icon:o.T.new(this._root,{themeTags:["icon"]})}))}}),Object.defineProperty(t.prototype,"_makeThumb",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.children.push(n.c.new(this._root,{themeTags:["thumb",this.get("orientation")]}))}}),Object.defineProperty(t.prototype,"_handleAnimation",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;e&&this._disposers.push(e.events.on("stopped",(function(){t.setPrivateRaw("isBusy",!1),t._thumbBusy=!1})))}}),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;this._addOrientationClass(),e.prototype._afterNew.call(this);var i=this.startGrip,r=this.endGrip,n=this.thumb,a=this.get("background");a&&this._disposers.push(a.events.on("click",(function(e){t.setPrivateRaw("isBusy",!0);var i,r,a,o=t._display.toLocal(e.point),s=t.width(),l=t.height(),u=t.get("orientation");i="vertical"==u?(o.y-n.height()/2)/l:(o.x-n.width()/2)/s,"vertical"==u?(r=i*l,a="y"):(r=i*s,a="x");var c=t.get("animationDuration",0);c>0?(t._thumbBusy=!0,t._handleAnimation(t.thumb.animate({key:a,to:r,duration:c,easing:t.get("animationEasing")}))):(t.thumb.set(a,r),t._root.events.once("frameended",(function(){t.setPrivateRaw("isBusy",!1)})))}))),this._disposers.push(n.events.on("dblclick",(function(e){if(u.isLocalEvent(e.originalEvent,t)){var i=t.get("animationDuration",0),r=t.get("animationEasing");t.animate({key:"start",to:0,duration:i,easing:r}),t.animate({key:"end",to:1,duration:i,easing:r})}}))),this._disposers.push(i.events.on("pointerdown",(function(){t.setPrivateRaw("isBusy",!0),t._startDown=!0,t._gripDown="start"}))),this._disposers.push(r.events.on("pointerdown",(function(){t.setPrivateRaw("isBusy",!0),t._endDown=!0,t._gripDown="end"}))),this._disposers.push(n.events.on("pointerdown",(function(){t.setPrivateRaw("isBusy",!0),t._thumbDown=!0,t._gripDown=void 0}))),this._disposers.push(i.events.on("globalpointerup",(function(){t._startDown&&t.setPrivateRaw("isBusy",!1),t._startDown=!1}))),this._disposers.push(r.events.on("globalpointerup",(function(){t._endDown&&t.setPrivateRaw("isBusy",!1),t._endDown=!1}))),this._disposers.push(n.events.on("globalpointerup",(function(){t._thumbDown&&t.setPrivateRaw("isBusy",!1),t._thumbDown=!1}))),this._disposers.push(i.on("x",(function(){t._updateThumb()}))),this._disposers.push(r.on("x",(function(){t._updateThumb()}))),this._disposers.push(i.on("y",(function(){t._updateThumb()}))),this._disposers.push(r.on("y",(function(){t._updateThumb()}))),this._disposers.push(n.events.on("positionchanged",(function(){t._updateGripsByThumb()}))),"vertical"==this.get("orientation")?(i.set("x",0),r.set("x",0),this._disposers.push(n.adapters.add("y",(function(e){return Math.max(Math.min(Number(e),t.height()-n.height()),0)}))),this._disposers.push(n.adapters.add("x",(function(e){return t.width()/2}))),this._disposers.push(i.adapters.add("x",(function(e){return t.width()/2}))),this._disposers.push(r.adapters.add("x",(function(e){return t.width()/2}))),this._disposers.push(i.adapters.add("y",(function(e){return Math.max(Math.min(Number(e),t.height()),0)}))),this._disposers.push(r.adapters.add("y",(function(e){return Math.max(Math.min(Number(e),t.height()),0)})))):(i.set("y",0),r.set("y",0),this._disposers.push(n.adapters.add("x",(function(e){return Math.max(Math.min(Number(e),t.width()-n.width()),0)}))),this._disposers.push(n.adapters.add("y",(function(e){return t.height()/2}))),this._disposers.push(i.adapters.add("y",(function(e){return t.height()/2}))),this._disposers.push(r.adapters.add("y",(function(e){return t.height()/2}))),this._disposers.push(i.adapters.add("x",(function(e){return Math.max(Math.min(Number(e),t.width()),0)}))),this._disposers.push(r.adapters.add("x",(function(e){return Math.max(Math.min(Number(e),t.width()),0)}))))}}),Object.defineProperty(t.prototype,"_updateChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._updateChildren.call(this),(this.isDirty("end")||this.isDirty("start")||this._sizeDirty)&&this.updateGrips()}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._changed.call(this),this.isDirty("start")||this.isDirty("end")){var t="rangechanged";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this,start:this.get("start",0),end:this.get("end",1),grip:this._gripDown})}}}),Object.defineProperty(t.prototype,"updateGrips",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.startGrip,t=this.endGrip,i=this.get("orientation"),r=this.height(),n=this.width();"vertical"==i?(e.set("y",r*this.get("start",0)),t.set("y",r*this.get("end",1))):(e.set("x",n*this.get("start",0)),t.set("x",n*this.get("end",1)));var a,o,s=this.getPrivate("positionTextFunction"),l=Math.round(100*this.get("start",0)),u=Math.round(100*this.get("end",0));s?(a=s.call(this,this.get("start",0)),o=s.call(this,this.get("end",0))):(a=l+"%",o=u+"%"),e.set("ariaLabel",this._t("From %1",void 0,a)),e.set("ariaValueNow",""+l),e.set("ariaValueText",l+"%"),e.set("ariaValueMin","0"),e.set("ariaValueMax","100"),t.set("ariaLabel",this._t("To %1",void 0,o)),t.set("ariaValueNow",""+u),t.set("ariaValueText",u+"%"),t.set("ariaValueMin","0"),t.set("ariaValueMax","100")}}),Object.defineProperty(t.prototype,"_updateThumb",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.thumb,t=this.startGrip,i=this.endGrip,r=this.height(),n=this.width(),a=t.x(),o=i.x(),s=t.y(),u=i.y(),c=0,h=1;"vertical"==this.get("orientation")?l.isNumber(s)&&l.isNumber(u)&&(this._thumbBusy||e.isDragging()||(e.set("height",u-s),e.set("y",s)),c=s/r,h=u/r):l.isNumber(a)&&l.isNumber(o)&&(this._thumbBusy||e.isDragging()||(e.set("width",o-a),e.set("x",a)),c=a/n,h=o/n),!this.getPrivate("isBusy")||this.get("start")==c&&this.get("end")==h||(this.set("start",c),this.set("end",h));var f,p,d=this.getPrivate("positionTextFunction"),b=Math.round(100*this.get("start",0)),g=Math.round(100*this.get("end",0));d?(f=d.call(this,this.get("start",0)),p=d.call(this,this.get("end",0))):(f=b+"%",p=g+"%"),e.set("ariaLabel",this._t("From %1 to %2",void 0,f,p)),e.set("ariaValueNow",""+b),e.set("ariaValueText",b+"%")}}),Object.defineProperty(t.prototype,"_updateGripsByThumb",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.thumb,t=this.startGrip,i=this.endGrip;if("vertical"==this.get("orientation")){var r=e.height();t.set("y",e.y()),i.set("y",e.y()+r)}else r=e.width(),t.set("x",e.x()),i.set("x",e.x()+r)}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Scrollbar"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:a.W.classNames.concat([t.className])}),t}(a.W)},5829:function(e,t,i){"use strict";i.d(t,{j:function(){return u}});var r=i(5125),n=i(1337),a=i(8777),o=i(7144),s=i(6245),l=i(5071),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"seriesContainer",{enumerable:!0,configurable:!0,writable:!0,value:a.W.new(t._root,{width:s.AQ,height:s.AQ,isMeasured:!1})}),Object.defineProperty(t,"series",{enumerable:!0,configurable:!0,writable:!0,value:new o.dn}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;e.prototype._afterNew.call(this),this._disposers.push(this.series);var i=this.seriesContainer.children;this._disposers.push(this.series.events.onAll((function(e){if("clear"===e.type){l.each(e.oldValues,(function(e){t._removeSeries(e)}));var r=t.get("colors");r&&r.reset()}else if("push"===e.type)i.moveValue(e.newValue),t._processSeries(e.newValue);else if("setIndex"===e.type)i.setIndex(e.index,e.newValue),t._processSeries(e.newValue);else if("insertIndex"===e.type)i.insertIndex(e.index,e.newValue),t._processSeries(e.newValue);else if("removeIndex"===e.type)t._removeSeries(e.oldValue);else{if("moveIndex"!==e.type)throw new Error("Unknown IListEvent type");i.moveValue(e.value,e.newIndex),t._processSeries(e.value)}})))}}),Object.defineProperty(t.prototype,"_processSeries",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.chart=this,e._placeBulletsContainer(this)}}),Object.defineProperty(t.prototype,"_removeSeries",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.isDisposed()||(this.seriesContainer.children.removeValue(e),e._removeBulletsContainer())}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SerialChart"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.k.classNames.concat([t.className])}),t}(n.k)},3399:function(e,t,i){"use strict";i.d(t,{F:function(){return d}});var r=i(5125),n=i(9361),a=i(7144),o=i(1112),s=i(6490),l=i(6245),u=i(5071),c=i(5040),h=i(1926),f=i(8777),p=i(962),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_aggregatesCalculated",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_selectionAggregatesCalculated",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_dataProcessed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_psi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_pei",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"chart",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"bullets",{enumerable:!0,configurable:!0,writable:!0,value:new a.aV}),Object.defineProperty(t,"bulletsContainer",{enumerable:!0,configurable:!0,writable:!0,value:f.W.new(t._root,{width:l.AQ,height:l.AQ,position:"absolute"})}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;this.valueFields.push("value"),e.prototype._afterNew.call(this),this.setPrivate("customData",{}),this._disposers.push(this.bullets.events.onAll((function(e){if("clear"===e.type)t._handleBullets(t.dataItems);else if("push"===e.type)t._handleBullets(t.dataItems);else if("setIndex"===e.type)t._handleBullets(t.dataItems);else if("insertIndex"===e.type)t._handleBullets(t.dataItems);else if("removeIndex"===e.type)t._handleBullets(t.dataItems);else{if("moveIndex"!==e.type)throw new Error("Unknown IListEvent type");t._handleBullets(t.dataItems)}})))}}),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.bulletsContainer.dispose(),e.prototype._dispose.call(this)}}),Object.defineProperty(t.prototype,"startIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.dataItems.length;return Math.min(this.getPrivate("startIndex",0),e)}}),Object.defineProperty(t.prototype,"endIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.dataItems.length;return Math.min(this.getPrivate("endIndex",e),e)}}),Object.defineProperty(t.prototype,"_handleBullets",{enumerable:!1,configurable:!0,writable:!0,value:function(e){u.each(e,(function(e){var t=e.bullets;t&&(u.each(t,(function(e){e.dispose()})),e.bullets=void 0)})),this.markDirtyValues()}}),Object.defineProperty(t.prototype,"getDataItemById",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return u.find(this.dataItems,(function(t){return t.get("id")==e}))}}),Object.defineProperty(t.prototype,"_makeBullets",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;this._shouldMakeBullet(e)&&(e.bullets=[],this.bullets.each((function(i){t._makeBullet(e,i)})))}}),Object.defineProperty(t.prototype,"_shouldMakeBullet",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return!0}}),Object.defineProperty(t.prototype,"_makeBullet",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){var r=t(this._root,this,e);if(r){var n=r.get("sprite");n&&(n._setDataItem(e),n.setRaw("position","absolute"),this.bulletsContainer.children.push(n)),r._index=i,r.series=this,e.bullets.push(r)}return r}}),Object.defineProperty(t.prototype,"_clearDirty",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._clearDirty.call(this),this._aggregatesCalculated=!1,this._selectionAggregatesCalculated=!1}}),Object.defineProperty(t.prototype,"_prepareChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;e.prototype._prepareChildren.call(this);var i=this.startIndex(),r=this.endIndex();if(this.isPrivateDirty("baseValueSeries")){var n=this.getPrivate("baseValueSeries");n&&this._disposers.push(n.onPrivate("startIndex",(function(){t.markDirtyValues()})))}if(this.get("calculateAggregates")&&(this._valuesDirty&&!this._dataProcessed&&(this._aggregatesCalculated||(this._calculateAggregates(0,this.dataItems.length),this._aggregatesCalculated=!0)),this._psi==i&&this._pei==r||this._selectionAggregatesCalculated||(0===i&&r===this.dataItems.length&&this._aggregatesCalculated||this._calculateAggregates(i,r),this._selectionAggregatesCalculated=!0)),this.isDirty("tooltip")){var a=this.get("tooltip");a&&(a.hide(0),a.set("tooltipTarget",this))}if(this.isDirty("fill")||this.isDirty("stroke")){var o=void 0,s=this.get("legendDataItem");if(s&&(o=s.get("markerRectangle"))&&this.isVisible()){if(this.isDirty("stroke")){var l=this.get("stroke");o.set("stroke",l)}if(this.isDirty("fill")){var u=this.get("fill");o.set("fill",u)}}this.updateLegendMarker(void 0)}if(this.bullets.length>0)for(var c=this.startIndex(),h=this.endIndex(),f=c;f<h;f++){var p=this.dataItems[f];p.bullets||this._makeBullets(p)}}}),Object.defineProperty(t.prototype,"_calculateAggregates",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=this._valueFields;if(!r)throw new Error("No value fields are set for the series.");var n={},a={},o={},s={},l={},c={},h={},f={},p={};u.each(r,(function(e){n[e]=0,a[e]=0,o[e]=0})),u.each(r,(function(r){var u=r+"Change",d=r+"ChangePercent",b=r+"ChangePrevious",g=r+"ChangePreviousPercent",y=r+"ChangeSelection",v=r+"ChangeSelectionPercent",m="valueY";"valueX"!=r&&"openValueX"!=r&&"lowValueX"!=r&&"highValueX"!=r||(m="valueX");for(var _=i.getPrivate("baseValueSeries"),w=e;w<t;w++){var P=i.dataItems[w],O=P.get(r);null!=O&&(o[r]++,n[r]+=O,a[r]+=Math.abs(O),f[r]=n[r]/o[r],(s[r]>O||null==s[r])&&(s[r]=O),(l[r]<O||null==l[r])&&(l[r]=O),h[r]=O,null==c[r]&&(c[r]=O,p[r]=O,_&&(c[m]=_._getBase(m))),0===e&&(P.setRaw(u,O-c[m]),P.setRaw(d,(O-c[m])/c[m]*100)),P.setRaw(b,O-p[m]),P.setRaw(g,(O-p[m])/p[m]*100),P.setRaw(y,O-c[m]),P.setRaw(v,(O-c[m])/c[m]*100),p[r]=O)}})),u.each(r,(function(e){i.setPrivate(e+"AverageSelection",f[e]),i.setPrivate(e+"CountSelection",o[e]),i.setPrivate(e+"SumSelection",n[e]),i.setPrivate(e+"AbsoluteSumSelection",a[e]),i.setPrivate(e+"LowSelection",s[e]),i.setPrivate(e+"HighSelection",l[e]),i.setPrivate(e+"OpenSelection",c[e]),i.setPrivate(e+"CloseSelection",h[e])})),0===e&&t===this.dataItems.length&&u.each(r,(function(e){i.setPrivate(e+"Average",f[e]),i.setPrivate(e+"Count",o[e]),i.setPrivate(e+"Sum",n[e]),i.setPrivate(e+"AbsoluteSum",a[e]),i.setPrivate(e+"Low",s[e]),i.setPrivate(e+"High",l[e]),i.setPrivate(e+"Open",c[e]),i.setPrivate(e+"Close",h[e])}))}}),Object.defineProperty(t.prototype,"_updateChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;if(e.prototype._updateChildren.call(this),this._psi=this.startIndex(),this._pei=this.endIndex(),this.isDirty("visible")&&this.bulletsContainer.set("visible",this.get("visible")),this._valuesDirty&&null!=this.get("heatRules")){var i=this.get("heatRules",[]);u.each(i,(function(e){var i=e.minValue||t.getPrivate(e.dataField+"Low")||0,r=e.maxValue||t.getPrivate(e.dataField+"High")||0;u.each(e.target._entities,(function(n){var a,u,h=n.dataItem.get(e.dataField);c.isNumber(h)&&(a=e.logarithmic?(Math.log(h)*Math.LOG10E-Math.log(i)*Math.LOG10E)/(Math.log(r)*Math.LOG10E-Math.log(i)*Math.LOG10E):(h-i)/(r-i),!c.isNumber(h)||c.isNumber(a)&&Math.abs(a)!=1/0||(a=.5),c.isNumber(e.min)?u=e.min+(e.max-e.min)*a:e.min instanceof o.Il?u=o.Il.interpolate(a,e.min,e.max):e.min instanceof l.gG&&(u=(0,s.Wn)(a,e.min,e.max)),e.customFunction?e.customFunction.call(t,n,i,r,h):n.set(e.key,u))}))}))}if(this.bullets.length>0){var r=this.dataItems.length,n=this.startIndex(),a=this.endIndex();a<r&&a++,n>0&&n--;for(var h=0;h<n;h++)this._hideBullets(this.dataItems[h]);for(h=n;h<a;h++)this._positionBullets(this.dataItems[h]);for(h=a;h<r;h++)this._hideBullets(this.dataItems[h])}}}),Object.defineProperty(t.prototype,"_positionBullets",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;e.bullets&&u.each(e.bullets,(function(e){t._positionBullet(e);var i=e.get("sprite");e.get("dynamic")&&(i&&(i._markDirtyKey("fill"),i.markDirtySize()),i instanceof f.W&&i.walkChildren((function(e){e._markDirtyKey("fill"),e.markDirtySize(),e instanceof p._&&e.text.markDirtyText()}))),i instanceof p._&&i.get("populateText")&&i.text.markDirtyText()}))}}),Object.defineProperty(t.prototype,"_hideBullets",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.bullets&&u.each(e.bullets,(function(e){var t=e.get("sprite");t&&t.setPrivate("visible",!1)}))}}),Object.defineProperty(t.prototype,"_positionBullet",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),Object.defineProperty(t.prototype,"_placeBulletsContainer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e.bulletsContainer.children.moveValue(this.bulletsContainer)}}),Object.defineProperty(t.prototype,"_removeBulletsContainer",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.bulletsContainer;e.parent&&e.parent.children.removeValue(e)}}),Object.defineProperty(t.prototype,"disposeDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e.bullets;t&&u.each(t,(function(e){e.dispose()}))}}),Object.defineProperty(t.prototype,"_getItemReaderLabel",{enumerable:!1,configurable:!0,writable:!0,value:function(){return""}}),Object.defineProperty(t.prototype,"showDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){return(0,r.mG)(this,void 0,void 0,(function(){var n,a;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return n=[e.prototype.showDataItem.call(this,t,i)],(a=t.bullets)&&u.each(a,(function(e){n.push(e.get("sprite").show(i))})),[4,Promise.all(n)];case 1:return r.sent(),[2]}}))}))}}),Object.defineProperty(t.prototype,"hideDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){return(0,r.mG)(this,void 0,void 0,(function(){var n,a;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return n=[e.prototype.hideDataItem.call(this,t,i)],(a=t.bullets)&&u.each(a,(function(e){n.push(e.get("sprite").hide(i))})),[4,Promise.all(n)];case 1:return r.sent(),[2]}}))}))}}),Object.defineProperty(t.prototype,"_sequencedShowHide",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return(0,r.mG)(this,void 0,void 0,(function(){var i,n,a=this;return(0,r.Jh)(this,(function(o){switch(o.label){case 0:return this.get("sequencedInterpolation")?(c.isNumber(t)||(t=this.get("interpolationDuration",0)),t>0?(i=this.startIndex(),n=this.endIndex(),[4,Promise.all(u.map(this.dataItems,(function(o,s){return(0,r.mG)(a,void 0,void 0,(function(){var a,l;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return a=t||0,(s<i-10||s>n+10)&&(a=0),l=this.get("sequencedDelay",0)+a/(n-i),[4,h.sleep(l*(s-i))];case 1:return r.sent(),e?[4,this.showDataItem(o,a)]:[3,3];case 2:return r.sent(),[3,5];case 3:return[4,this.hideDataItem(o,a)];case 4:r.sent(),r.label=5;case 5:return[2]}}))}))})))]):[3,2]):[3,4];case 1:return o.sent(),[3,4];case 2:return[4,Promise.all(u.map(this.dataItems,(function(t){return e?a.showDataItem(t,0):a.hideDataItem(t,0)})))];case 3:o.sent(),o.label=4;case 4:return[2]}}))}))}}),Object.defineProperty(t.prototype,"updateLegendValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e.get("legendDataItem");if(t){var i=t.get("valueLabel");if(i){var r=i.text,n="";i._setDataItem(e),n=this.get("legendValueText",r.get("text","")),i.set("text",n),r.markDirtyText()}var a=t.get("label");a&&(r=a.text,n="",a._setDataItem(e),n=this.get("legendLabelText",r.get("text","")),a.set("text",n),r.markDirtyText())}}}),Object.defineProperty(t.prototype,"updateLegendMarker",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),Object.defineProperty(t.prototype,"_onHide",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._onHide.call(this);var t=this.getTooltip();t&&t.hide()}}),Object.defineProperty(t.prototype,"hoverDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),Object.defineProperty(t.prototype,"unhoverDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),Object.defineProperty(t.prototype,"_getBase",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.dataItems[this.startIndex()];return t?t.get(e):0}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Series"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.w.classNames.concat([t.className])}),t}(n.w)},5863:function(e,t,i){"use strict";i.d(t,{p:function(){return u}});var r=i(5125),n=i(1479),a=i(5040),o=i(6245),s=i(832),l=i(751),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"ix",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"iy",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"_generator",{enumerable:!0,configurable:!0,writable:!0,value:(0,s.Z)()}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_getTooltipPoint",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("tooltipX"),t=this.get("tooltipY"),i=0,r=0;a.isNumber(e)&&(i=e),a.isNumber(t)&&(r=t);var n=this.get("radius",0),s=this.get("innerRadius",0);return n+=this.get("dRadius",0),(s+=this.get("dInnerRadius",0))<0&&(s=n+s),e instanceof o.gG&&(i=this.ix*(s+(n-s)*e.value)),t instanceof o.gG&&(r=this.iy*(s+(n-s)*t.value)),this.get("arc")>=360&&0==s&&(i=0,r=0),{x:i,y:r}}}),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),(this.isDirty("radius")||this.isDirty("arc")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("dRadius")||this.isDirty("dInnerRadius")||this.isDirty("cornerRadius"))&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._changed.call(this),this._clear){var t=this.get("startAngle",0),i=this.get("arc",0),r=this._generator;i<0&&(t+=i,i*=-1),i>.1&&r.cornerRadius(this.get("cornerRadius",0)),r.context(this._display);var n=this.get("radius",0),a=this.get("innerRadius",0);n+=this.get("dRadius",0),(a+=this.get("dInnerRadius",0))<0&&(a=n+a),r({innerRadius:a,outerRadius:n,startAngle:(t+90)*l.RADIANS,endAngle:(t+i+90)*l.RADIANS});var o=t+i/2;this.ix=l.cos(o),this.iy=l.sin(o)}if(this.isDirty("shiftRadius")){var s=this.get("shiftRadius",0);this.setRaw("dx",this.ix*s),this.setRaw("dy",this.iy*s),this.markDirtyPosition()}}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Slice"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.T.classNames.concat([t.className])}),t}(n.T)},4596:function(e,t,i){"use strict";i.d(t,{j:function(){return g}});var r=i(5125),n=i(6331),a=i(5769),o=i(6245),s=i(9770),l=i(7449),u=i(6490),c=i(7652),h=i(5071),f=i(5040),p=i(256),d=i(751),b=function(e){function t(t){var i=e.call(this)||this;return Object.defineProperty(i,"_sprite",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(i,"_rendererDisposers",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(i,"_dispatchParents",{enumerable:!0,configurable:!0,writable:!0,value:!0}),i._sprite=t,i}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_makePointerEvent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return{type:e,originalEvent:t.event,point:t.point,simulated:t.simulated,native:t.native,target:this._sprite}}}),Object.defineProperty(t.prototype,"_onRenderer",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this;this._sprite.set("interactive",!0),this._sprite._display.interactive=!0;var r=this._rendererDisposers[e];if(void 0===r){var n=this._sprite._display.on(e,(function(e){t.call(i,e)}));r=this._rendererDisposers[e]=new l.DM((function(){delete i._rendererDisposers[e],n.dispose()}))}return r.increment()}}),Object.defineProperty(t.prototype,"_on",{enumerable:!1,configurable:!0,writable:!0,value:function(i,r,n,a,o,s){var u=e.prototype._on.call(this,i,r,n,a,o,s),c=t.RENDERER_EVENTS[r];return void 0!==c&&(u.disposer=new l.FV([u.disposer,this._onRenderer(r,c)])),u}}),Object.defineProperty(t.prototype,"stopParentDispatch",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._dispatchParents=!1}}),Object.defineProperty(t.prototype,"dispatchParents",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._dispatchParents;this._dispatchParents=!0;try{this.dispatch(e,t),this._dispatchParents&&this._sprite.parent&&this._sprite.parent.events.dispatchParents(e,t)}finally{this._dispatchParents=i}}}),Object.defineProperty(t,"RENDERER_EVENTS",{enumerable:!0,configurable:!0,writable:!0,value:{click:function(e){this.isEnabled("click")&&!this._sprite.isDragging()&&this._sprite._hasDown()&&!this._sprite._hasMoved(this._makePointerEvent("click",e))&&this.dispatch("click",this._makePointerEvent("click",e))},rightclick:function(e){this.isEnabled("rightclick")&&this.dispatch("rightclick",this._makePointerEvent("rightclick",e))},middleclick:function(e){this.isEnabled("middleclick")&&this.dispatch("middleclick",this._makePointerEvent("middleclick",e))},dblclick:function(e){this.dispatchParents("dblclick",this._makePointerEvent("dblclick",e))},pointerover:function(e){this.isEnabled("pointerover")&&this.dispatch("pointerover",this._makePointerEvent("pointerover",e))},pointerout:function(e){this.isEnabled("pointerout")&&this.dispatch("pointerout",this._makePointerEvent("pointerout",e))},pointerdown:function(e){this.dispatchParents("pointerdown",this._makePointerEvent("pointerdown",e))},pointerup:function(e){this.isEnabled("pointerup")&&this.dispatch("pointerup",this._makePointerEvent("pointerup",e))},globalpointerup:function(e){this.isEnabled("globalpointerup")&&this.dispatch("globalpointerup",this._makePointerEvent("globalpointerup",e))},globalpointermove:function(e){this.isEnabled("globalpointermove")&&this.dispatch("globalpointermove",this._makePointerEvent("globalpointermove",e))},wheel:function(e){this.dispatchParents("wheel",{type:"wheel",target:this._sprite,originalEvent:e.event,point:e.point})}}}),t}(s.p),g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_adjustedLocalBounds",{enumerable:!0,configurable:!0,writable:!0,value:{left:0,right:0,top:0,bottom:0}}),Object.defineProperty(t,"_localBounds",{enumerable:!0,configurable:!0,writable:!0,value:{left:0,right:0,top:0,bottom:0}}),Object.defineProperty(t,"_parent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_dataItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_templateField",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_sizeDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_isDragging",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_dragEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_dragPoint",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_isHidden",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_isShowing",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_isHiding",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_isDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_downPoint",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_downPoints",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(t,"_toggleDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_dragDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_tooltipDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_hoverDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_focusDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_tooltipMoveDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_tooltipPointerDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_statesHandled",{enumerable:!0,configurable:!0,writable:!0,value:!1}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.setPrivateRaw("visible",!0),e.prototype._afterNew.call(this)}}),Object.defineProperty(t.prototype,"_markDirtyKey",{enumerable:!1,configurable:!0,writable:!0,value:function(t){e.prototype._markDirtyKey.call(this,t),"x"!=t&&"y"!=t&&"dx"!=t&&"dy"!=t||(this.markDirtyBounds(),this._addPercentagePositionChildren(),this.markDirtyPosition())}}),Object.defineProperty(t.prototype,"_markDirtyPrivateKey",{enumerable:!1,configurable:!0,writable:!0,value:function(t){e.prototype._markDirtyPrivateKey.call(this,t),"x"!=t&&"y"!=t||this.markDirtyPosition()}}),Object.defineProperty(t.prototype,"_removeTemplateField",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._templateField&&this._templateField._removeObjectTemplate(this)}}),Object.defineProperty(t.prototype,"_createEvents",{enumerable:!1,configurable:!0,writable:!0,value:function(){return new b(this)}}),Object.defineProperty(t.prototype,"_processTemplateField",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e,t=this.get("templateField");if(t){var i=this.dataItem;if(i){var r=i.dataContext;r&&((e=r[t])instanceof a.YS||!e||(e=a.YS.new(e)))}}this._templateField!==e&&(this._removeTemplateField(),this._templateField=e,e&&e._setObjectTemplate(this),this._applyTemplates())}}),Object.defineProperty(t.prototype,"_setDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this._dataItem;this._dataItem=e,this._processTemplateField();var i="dataitemchanged";this.events.isEnabled(i)&&this.events.dispatch(i,{type:i,target:this,oldDataItem:t,newDataItem:e})}}),Object.defineProperty(t.prototype,"dataItem",{get:function(){if(this._dataItem)return this._dataItem;for(var e=this._parent;e;){if(e._dataItem)return e._dataItem;e=e._parent}},set:function(e){this._setDataItem(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_addPercentageSizeChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.parent;e&&(this.get("width")instanceof o.gG||this.get("height")instanceof o.gG?h.pushOne(e._percentageSizeChildren,this):h.removeFirst(e._percentageSizeChildren,this))}}),Object.defineProperty(t.prototype,"_addPercentagePositionChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.parent;e&&(this.get("x")instanceof o.gG||this.get("y")instanceof o.gG?h.pushOne(e._percentagePositionChildren,this):h.removeFirst(e._percentagePositionChildren,this))}}),Object.defineProperty(t.prototype,"markDirtyPosition",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._root._addDirtyPosition(this)}}),Object.defineProperty(t.prototype,"updatePivotPoint",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this._localBounds;if(e){var t=this.get("centerX");null!=t&&(this._display.pivot.x=e.left+c.relativeToValue(t,e.right-e.left));var i=this.get("centerY");null!=i&&(this._display.pivot.y=e.top+c.relativeToValue(i,e.bottom-e.top))}}}),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;if(e.prototype._beforeChanged.call(this),this._handleStates(),this.isDirty("tooltip")){var i=this._prevSettings.tooltip;i&&i.dispose()}if(this.isDirty("layer")&&(this._display.setLayer(this.get("layer")),this.markDirtyLayer()),this.isDirty("tooltipPosition")){var r=this._tooltipMoveDp;r&&(r.dispose(),this._tooltipMoveDp=void 0);var n=this._tooltipPointerDp;n&&(n.dispose(),this._tooltipPointerDp=void 0),"pointer"==this.get("tooltipPosition")&&(this._tooltipPointerDp=new l.FV([this.events.on("pointerover",(function(){t._tooltipMoveDp=t.events.on("globalpointermove",(function(e){t.showTooltip(e.point)}))})),this.events.on("pointerout",(function(){var e=t._tooltipMoveDp;e&&(e.dispose(),t._tooltipMoveDp=void 0)}))]))}}}),Object.defineProperty(t.prototype,"_handleStates",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._statesHandled||(this.isDirty("active")&&(this.get("active")?(this.states.applyAnimate("active"),this.set("ariaChecked",!0)):(this.isHidden()||this.states.applyAnimate("default"),this.set("ariaChecked",!1)),this.markDirtyAccessibility()),this.isDirty("disabled")&&(this.get("disabled")?(this.states.applyAnimate("disabled"),this.set("ariaChecked",!1)):(this.isHidden()||this.states.applyAnimate("default"),this.set("ariaChecked",!0)),this.markDirtyAccessibility()),this._statesHandled=!0)}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;e.prototype._changed.call(this);var i=this._display,r=this.events;if(this.isDirty("draggable")){var n=this.get("draggable");n?(this.set("interactive",!0),this._dragDp=new l.FV([r.on("pointerdown",(function(e){t.dragStart(e)})),r.on("globalpointermove",(function(e){t.dragMove(e)})),r.on("globalpointerup",(function(e){t.dragStop(e)}))])):this._dragDp&&(this._dragDp.dispose(),this._dragDp=void 0),i.cancelTouch=!!n}if(this.isDirty("tooltipText")||this.isDirty("tooltipHTML")){var a=this.get("tooltipText"),s=this.get("tooltipHTML");a||s?this._tooltipDp||(this._tooltipDp=new l.FV([r.on("pointerover",(function(){t.showTooltip()})),r.on("pointerout",(function(){"always"!=t.get("showTooltipOn")&&t.hideTooltip()}))])):this._tooltipDp&&(this._tooltipDp.dispose(),this._tooltipDp=void 0)}if(this.isDirty("toggleKey")){var u=this.get("toggleKey");u&&"none"!=u?this._toggleDp=r.on("click",(function(){t._isDragging||t.set(u,!t.get(u))})):this._toggleDp&&(this._toggleDp.dispose(),this._toggleDp=void 0)}if(this.isDirty("opacity")&&(i.alpha=Math.max(0,this.get("opacity",1))),this.isDirty("rotation")&&(this.markDirtyBounds(),i.angle=this.get("rotation",0)),this.isDirty("scale")&&(this.markDirtyBounds(),i.scale=this.get("scale",0)),(this.isDirty("centerX")||this.isDirty("centerY"))&&(this.markDirtyBounds(),this.updatePivotPoint()),(this.isDirty("visible")||this.isPrivateDirty("visible")||this.isDirty("forceHidden"))&&(this.get("visible")&&this.getPrivate("visible")&&!this.get("forceHidden")?i.visible=!0:(i.visible=!1,this.hideTooltip()),this.markDirtyBounds(),this.get("focusable")&&this.markDirtyAccessibility()),this.isDirty("width")||this.isDirty("height")){this.markDirtyBounds(),this._addPercentageSizeChildren();var h=this.parent;h&&(this.isDirty("width")&&this.get("width")instanceof o.gG||this.isDirty("height")&&this.get("height")instanceof o.gG)&&(h.markDirty(),h._prevWidth=0),this._sizeDirty=!0}if((this.isDirty("maxWidth")||this.isDirty("maxHeight")||this.isPrivateDirty("width")||this.isPrivateDirty("height")||this.isDirty("minWidth")||this.isDirty("minHeight")||this.isPrivateDirty("maxWidth")||this.isPrivateDirty("maxHeight")||this.isPrivateDirty("minWidth")||this.isPrivateDirty("minHeight"))&&(this.markDirtyBounds(),this._sizeDirty=!0),this._sizeDirty&&this._updateSize(),this.isDirty("wheelable")){var f=this.get("wheelable");f&&this.set("interactive",!0),i.wheelable=!!f}if((this.isDirty("tabindexOrder")||this.isDirty("focusableGroup"))&&(this.get("focusable")?this._root._registerTabindexOrder(this):this._root._unregisterTabindexOrder(this)),this.isDirty("filter")&&(i.filter=this.get("filter")),this.isDirty("cursorOverStyle")&&(i.cursorOverStyle=this.get("cursorOverStyle")),this.isDirty("hoverOnFocus")&&(this.get("hoverOnFocus")?this._focusDp=new l.FV([r.on("focus",(function(){t.showTooltip()})),r.on("blur",(function(){t.hideTooltip()}))]):this._focusDp&&(this._focusDp.dispose(),this._focusDp=void 0)),this.isDirty("focusable")&&(this.get("focusable")?this._root._registerTabindexOrder(this):this._root._unregisterTabindexOrder(this),this.markDirtyAccessibility()),(this.isDirty("role")||this.isDirty("ariaLive")||this.isDirty("ariaChecked")||this.isDirty("ariaHidden")||this.isDirty("ariaOrientation")||this.isDirty("ariaValueNow")||this.isDirty("ariaValueMin")||this.isDirty("ariaValueMax")||this.isDirty("ariaValueText")||this.isDirty("ariaLabel")||this.isDirty("ariaControls"))&&this.markDirtyAccessibility(),this.isDirty("exportable")&&(i.exportable=this.get("exportable")),this.isDirty("interactive")){var p=this.events;this.get("interactive")?this._hoverDp=new l.FV([p.on("click",(function(e){c.isTouchEvent(e.originalEvent)&&(t.getPrivate("touchHovering")||t.setTimeout((function(){t._handleOver(),(t.get("tooltipText")||t.get("tooltipHTML"))&&t.showTooltip(),t.setPrivateRaw("touchHovering",!0),t.events.dispatch("pointerover",{type:"pointerover",target:e.target,originalEvent:e.originalEvent,point:e.point,simulated:e.simulated})}),10))})),p.on("globalpointerup",(function(e){c.isTouchEvent(e.originalEvent)&&(t.getPrivate("touchHovering")&&(t._handleOut(),(t.get("tooltipText")||t.get("tooltipHTML"))&&t.hideTooltip()),t.setPrivateRaw("touchHovering",!1),t.events.dispatch("pointerout",{type:"pointerout",target:e.target,originalEvent:e.originalEvent,point:e.point,simulated:e.simulated})),t._isDown&&t._handleUp(e)})),p.on("pointerover",(function(){t._handleOver()})),p.on("pointerout",(function(){t._handleOut()})),p.on("pointerdown",(function(e){t._handleDown(e)}))]):(this._display.interactive=!1,this._hoverDp&&(this._hoverDp.dispose(),this._hoverDp=void 0))}this.isDirty("forceInactive")&&(this._display.inactive=this.get("forceInactive",!1)),"always"==this.get("showTooltipOn")&&this._display.visible&&this.showTooltip()}}),Object.defineProperty(t.prototype,"dragStart",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._dragEvent=e,this.events.stopParentDispatch()}}),Object.defineProperty(t.prototype,"dragStop",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this._dragEvent=void 0,this._dragPoint=void 0,this.events.stopParentDispatch(),this._isDragging){this._isDragging=!1;var t="dragstop";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this,originalEvent:e.originalEvent,point:e.point,simulated:e.simulated})}}}),Object.defineProperty(t.prototype,"_handleOver",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.isHidden()||(this.get("active")&&this.states.lookup("hoverActive")?this.states.applyAnimate("hoverActive"):this.get("disabled")&&this.states.lookup("hoverDisabled")?this.states.applyAnimate("hoverDisabled"):this.states.applyAnimate("hover"))}}),Object.defineProperty(t.prototype,"_handleOut",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.isHidden()||(this.get("active")&&this.states.lookup("active")?this.states.applyAnimate("active"):this.get("disabled")&&this.states.lookup("disabled")?this.states.applyAnimate("disabled"):(this.states.lookup("hover")||this.states.lookup("hoverActive"))&&this.states.applyAnimate("default"))}}),Object.defineProperty(t.prototype,"_handleUp",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(!this.isHidden()){this.get("active")&&this.states.lookup("active")?this.states.applyAnimate("active"):this.get("disabled")&&this.states.lookup("disabled")?this.states.applyAnimate("disabled"):this.states.lookup("down")&&(this.isHover()?this.states.applyAnimate("hover"):this.states.applyAnimate("default")),this._downPoint=void 0;var t=c.getPointerId(e.originalEvent);delete this._downPoints[t],0==p.keys(this._downPoints).length&&(this._isDown=!1)}}}),Object.defineProperty(t.prototype,"_hasMoved",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=c.getPointerId(e.originalEvent),i=this._downPoints[t];if(i){var r=Math.abs(i.x-e.point.x),n=Math.abs(i.y-e.point.y);return r>5||n>5}return!1}}),Object.defineProperty(t.prototype,"_hasDown",{enumerable:!1,configurable:!0,writable:!0,value:function(){return p.keys(this._downPoints).length>0}}),Object.defineProperty(t.prototype,"_handleDown",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.parent;if(t&&!this.get("draggable")&&t._handleDown(e),this.get("interactive")&&!this.isHidden()){this.states.lookup("down")&&this.states.applyAnimate("down"),this._downPoint={x:e.point.x,y:e.point.y},this._isDown=!0;var i=c.getPointerId(e.originalEvent);this._downPoints[i]={x:e.point.x,y:e.point.y}}}}),Object.defineProperty(t.prototype,"dragMove",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this._dragEvent;if(t){for(var i=0,r=this.parent;null!=r;)i+=r.get("rotation",0),r=r.parent;var n=e.point.x-t.point.x,a=e.point.y-t.point.y,o=this.events;if(t.simulated&&!this._isDragging){this._isDragging=!0,this._dragEvent=e,this._dragPoint={x:this.x(),y:this.y()};var s="dragstart";o.isEnabled(s)&&o.dispatch(s,{type:s,target:this,originalEvent:e.originalEvent,point:e.point,simulated:e.simulated})}if(this._isDragging){var l=this._dragPoint;this.set("x",l.x+n*d.cos(i)+a*d.sin(i)),this.set("y",l.y+a*d.cos(i)-n*d.sin(i)),s="dragged",o.isEnabled(s)&&o.dispatch(s,{type:s,target:this,originalEvent:e.originalEvent,point:e.point,simulated:e.simulated})}else Math.hypot(n,a)>5&&(this._isDragging=!0,this._dragEvent=e,this._dragPoint={x:this.x(),y:this.y()},s="dragstart",o.isEnabled(s)&&o.dispatch(s,{type:s,target:this,originalEvent:e.originalEvent,point:e.point,simulated:e.simulated}))}}}),Object.defineProperty(t.prototype,"_updateSize",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(t.prototype,"_getBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._localBounds=this._display.getLocalBounds()}}),Object.defineProperty(t.prototype,"depth",{enumerable:!1,configurable:!0,writable:!0,value:function(){for(var e=this.parent,t=0;;){if(!e)return t;++t,e=e.parent}}}),Object.defineProperty(t.prototype,"markDirtySize",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._sizeDirty=!0,this.markDirty()}}),Object.defineProperty(t.prototype,"markDirtyBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this._display;if(this.get("isMeasured")){this._root._addDirtyBounds(this),e.isMeasured=!0,e.invalidateBounds();var t=this.parent;t&&"absolute"!=this.get("position")&&(null==t.get("width")||null==t.get("height")||t.get("layout"))&&t.markDirtyBounds(),this.get("focusable")&&this.isFocus()&&this.markDirtyAccessibility()}}}),Object.defineProperty(t.prototype,"markDirtyAccessibility",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._root._invalidateAccessibility(this)}}),Object.defineProperty(t.prototype,"markDirtyLayer",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._display.markDirtyLayer(!0)}}),Object.defineProperty(t.prototype,"markDirty",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype.markDirty.call(this),this.markDirtyLayer()}}),Object.defineProperty(t.prototype,"_updateBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e,t=this._adjustedLocalBounds;if(this.get("visible")&&this.getPrivate("visible")&&!this.get("forceHidden")?(this._getBounds(),this._fixMinBounds(this._localBounds),this.updatePivotPoint(),this._adjustedLocalBounds=this._display.getAdjustedBounds(this._localBounds),e=this._adjustedLocalBounds):(e={left:0,right:0,top:0,bottom:0},this._localBounds=e,this._adjustedLocalBounds=e),!t||t.left!==e.left||t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom){var i="boundschanged";this.events.isEnabled(i)&&this.events.dispatch(i,{type:i,target:this}),this.parent&&(this.parent.markDirty(),this.parent.markDirtyBounds())}}}),Object.defineProperty(t.prototype,"_fixMinBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.get("minWidth",this.getPrivate("minWidth")),i=this.get("minHeight",this.getPrivate("minHeight"));f.isNumber(t)&&e.right-e.left<t&&(e.right=e.left+t),f.isNumber(i)&&e.bottom-e.top<i&&(e.bottom=e.top+i);var r=this.getPrivate("width"),n=this.getPrivate("height");f.isNumber(r)&&(e.right=e.left+r),f.isNumber(n)&&(e.bottom=e.top+n)}}),Object.defineProperty(t.prototype,"_removeParent",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e&&(e.children.removeValue(this),h.removeFirst(e._percentageSizeChildren,this),h.removeFirst(e._percentagePositionChildren,this))}}),Object.defineProperty(t.prototype,"_clearDirty",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._clearDirty.call(this),this._sizeDirty=!1,this._statesHandled=!1}}),Object.defineProperty(t.prototype,"hover",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.showTooltip(),this._handleOver()}}),Object.defineProperty(t.prototype,"unhover",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.hideTooltip(),this._handleOut()}}),Object.defineProperty(t.prototype,"showTooltip",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.getTooltip(),i=this.get("tooltipText"),r=this.get("tooltipHTML");if((i||r)&&t){var n=this.get("tooltipPosition"),a=this.getPrivate("tooltipTarget",this);"fixed"!=n&&e||(this._display._setMatrix(),e=this.toGlobal(a._getTooltipPoint())),t.set("pointTo",e),t.set("tooltipTarget",a),t.get("x")||t.set("x",e.x),t.get("y")||t.set("y",e.y),i&&t.label.set("text",i),r&&t.label.set("html",r);var o=this.dataItem;if(o&&t.label._setDataItem(o),"always"==this.get("showTooltipOn")&&(e.x<0||e.x>this._root.width()||e.y<0||e.y>this._root.height()))return void this.hideTooltip();t.label.text.markDirtyText();var s=t.show();return this.setPrivateRaw("showingTooltip",!0),s}}}),Object.defineProperty(t.prototype,"hideTooltip",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.getTooltip();if(e){var t=e.get("keepTargetHover")&&0==e.get("stateAnimationDuration",0)?400:void 0,i=e.hide(t);return this.setPrivateRaw("showingTooltip",!1),i}}}),Object.defineProperty(t.prototype,"_getTooltipPoint",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this._localBounds;if(e){var t=0,i=0;return this.get("isMeasured")?(t=e.left+c.relativeToValue(this.get("tooltipX",0),e.right-e.left),i=e.top+c.relativeToValue(this.get("tooltipY",0),e.bottom-e.top)):(t=c.relativeToValue(this.get("tooltipX",0),this.width()),i=c.relativeToValue(this.get("tooltipY",0),this.height())),{x:t,y:i}}return{x:0,y:0}}}),Object.defineProperty(t.prototype,"getTooltip",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("tooltip");if(e)return e;var t=this.parent;return t?t.getTooltip():void 0}}),Object.defineProperty(t.prototype,"_updatePosition",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.parent,t=this.get("dx",0),i=this.get("dy",0),r=this.get("x"),n=this.getPrivate("x"),a=0,s=0,l=this.get("position");r instanceof o.gG&&(r=e?e.innerWidth()*r.value+e.get("paddingLeft",0):0),f.isNumber(r)?a=r+t:null!=n?a=n:e&&"relative"==l&&(a=e.get("paddingLeft",0)+t);var u=this.get("y"),c=this.getPrivate("y");u instanceof o.gG&&(u=e?e.innerHeight()*u.value+e.get("paddingTop",0):0),f.isNumber(u)?s=u+i:null!=c?s=c:e&&"relative"==l&&(s=e.get("paddingTop",0)+i);var h=this._display;if(h.x!=a||h.y!=s){h.invalidateBounds(),h.x=a,h.y=s;var p="positionchanged";this.events.isEnabled(p)&&this.events.dispatch(p,{type:p,target:this})}this.getPrivate("showingTooltip")&&this.showTooltip()}}),Object.defineProperty(t.prototype,"x",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("x"),t=this.getPrivate("x"),i=this.parent;return i?e instanceof o.gG?c.relativeToValue(e,i.innerWidth())+i.get("paddingLeft",0):f.isNumber(e)?e:null!=t?t:i.get("paddingLeft",this._display.x):this._display.x}}),Object.defineProperty(t.prototype,"y",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.getPrivate("y");if(null!=e)return e;var t=this.get("y"),i=this.parent;return i?t instanceof o.gG?c.relativeToValue(t,i.innerHeight())+i.get("paddingTop",0):f.isNumber(t)?t:null!=e?e:i.get("paddingTop",this._display.y):this._display.y}}),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._dispose.call(this),this._display.dispose(),this._removeTemplateField(),this._removeParent(this.parent),this._root._removeFocusElement(this);var t=this.get("tooltip");t&&t.dispose(),this.markDirty()}}),Object.defineProperty(t.prototype,"adjustedLocalBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._fixMinBounds(this._adjustedLocalBounds),this._adjustedLocalBounds}}),Object.defineProperty(t.prototype,"localBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._localBounds}}),Object.defineProperty(t.prototype,"bounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this._adjustedLocalBounds,t=this.x(),i=this.y();return{left:e.left+t,right:e.right+t,top:e.top+i,bottom:e.bottom+i}}}),Object.defineProperty(t.prototype,"globalBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.localBounds(),t=this.toGlobal({x:e.left,y:e.top}),i=this.toGlobal({x:e.right,y:e.top}),r=this.toGlobal({x:e.right,y:e.bottom}),n=this.toGlobal({x:e.left,y:e.bottom});return{left:Math.min(t.x,i.x,r.x,n.x),top:Math.min(t.y,i.y,r.y,n.y),right:Math.max(t.x,i.x,r.x,n.x),bottom:Math.max(t.y,i.y,r.y,n.y)}}}),Object.defineProperty(t.prototype,"_onShow",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),Object.defineProperty(t.prototype,"_onHide",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),Object.defineProperty(t.prototype,"appear",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return(0,r.mG)(this,void 0,void 0,(function(){var i=this;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return[4,this.hide(0)];case 1:return r.sent(),t?[2,new Promise((function(r,n){i.setTimeout((function(){r(i.show(e))}),t)}))]:[2,this.show(e)]}}))}))}}),Object.defineProperty(t.prototype,"show",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return(0,r.mG)(this,void 0,void 0,(function(){var t;return(0,r.Jh)(this,(function(i){switch(i.label){case 0:return this._isShowing?[3,2]:(this._isHidden=!1,this._isShowing=!0,this._isHiding=!1,this.states.lookup("default").get("visible")&&this.set("visible",!0),this._onShow(e),t=this.states.applyAnimate("default",e),[4,(0,u.ne)(t)]);case 1:i.sent(),this._isShowing=!1,i.label=2;case 2:return[2]}}))}))}}),Object.defineProperty(t.prototype,"hide",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return(0,r.mG)(this,void 0,void 0,(function(){var t;return(0,r.Jh)(this,(function(i){switch(i.label){case 0:return this._isHiding||this._isHidden?[3,2]:(this._isHiding=!0,this._isShowing=!1,this.states.lookup("hidden")||this.states.create("hidden",{opacity:0,visible:!1}),this._isHidden=!0,this._onHide(e),t=this.states.applyAnimate("hidden",e),[4,(0,u.ne)(t)]);case 1:i.sent(),this._isHiding=!1,i.label=2;case 2:return[2]}}))}))}}),Object.defineProperty(t.prototype,"isHidden",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._isHidden}}),Object.defineProperty(t.prototype,"isShowing",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._isShowing}}),Object.defineProperty(t.prototype,"isHiding",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._isHiding}}),Object.defineProperty(t.prototype,"isHover",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._display.hovering()}}),Object.defineProperty(t.prototype,"isFocus",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._root.focused(this)}}),Object.defineProperty(t.prototype,"isDragging",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._isDragging}}),Object.defineProperty(t.prototype,"isVisible",{enumerable:!1,configurable:!0,writable:!0,value:function(){return!(!this.get("visible")||!this.getPrivate("visible")||this.get("forceHidden"))}}),Object.defineProperty(t.prototype,"isVisibleDeep",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._parent?this._parent.isVisibleDeep()&&this.isVisible():this.isVisible()}}),Object.defineProperty(t.prototype,"compositeOpacity",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("opacity",1);return this._parent?this._parent.compositeOpacity()*e:e}}),Object.defineProperty(t.prototype,"width",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("width"),t=this.get("maxWidth",this.getPrivate("maxWidth")),i=this.get("minWidth",this.getPrivate("minWidth")),r=this.getPrivate("width"),n=0;if(f.isNumber(r))n=r;else if(null==e)this._adjustedLocalBounds&&(n=this._adjustedLocalBounds.right-this._adjustedLocalBounds.left);else if(e instanceof o.gG){var a=this.parent;n=a?a.innerWidth()*e.value:this._root.width()*e.value}else f.isNumber(e)&&(n=e);return f.isNumber(i)&&(n=Math.max(i,n)),f.isNumber(t)&&(n=Math.min(t,n)),n}}),Object.defineProperty(t.prototype,"maxWidth",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("maxWidth",this.getPrivate("maxWidth"));if(f.isNumber(e))return e;var t=this.get("width");if(f.isNumber(t))return t;var i=this.parent;return i?i.innerWidth():this._root.width()}}),Object.defineProperty(t.prototype,"maxHeight",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("maxHeight",this.getPrivate("maxHeight"));if(f.isNumber(e))return e;var t=this.get("height");if(f.isNumber(t))return t;var i=this.parent;return i?i.innerHeight():this._root.height()}}),Object.defineProperty(t.prototype,"height",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("height"),t=this.get("maxHeight",this.getPrivate("maxHeight")),i=this.get("minHeight",this.getPrivate("minHeight")),r=this.getPrivate("height"),n=0;if(f.isNumber(r))n=r;else if(null==e)this._adjustedLocalBounds&&(n=this._adjustedLocalBounds.bottom-this._adjustedLocalBounds.top);else if(e instanceof o.gG){var a=this.parent;n=a?a.innerHeight()*e.value:this._root.height()*e.value}else f.isNumber(e)&&(n=e);return f.isNumber(i)&&(n=Math.max(i,n)),f.isNumber(t)&&(n=Math.min(t,n)),n}}),Object.defineProperty(t.prototype,"_findStaticTemplate",{enumerable:!1,configurable:!0,writable:!0,value:function(t){return this._templateField&&t(this._templateField)?this._templateField:e.prototype._findStaticTemplate.call(this,t)}}),Object.defineProperty(t.prototype,"_walkParents",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._parent&&this._walkParent(e)}}),Object.defineProperty(t.prototype,"_walkParent",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._parent&&this._parent._walkParent(e),e(this)}}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_setParent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=!1);var i=this._parent;e!==i&&(this.markDirtyBounds(),e.markDirty(),this._parent=e,t&&(this._removeParent(i),e&&(this._addPercentageSizeChildren(),this._addPercentagePositionChildren())),this.markDirtyPosition(),this._applyThemes())}}),Object.defineProperty(t.prototype,"getNumberFormatter",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.get("numberFormatter",this._root.numberFormatter)}}),Object.defineProperty(t.prototype,"getDateFormatter",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.get("dateFormatter",this._root.dateFormatter)}}),Object.defineProperty(t.prototype,"getDurationFormatter",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.get("durationFormatter",this._root.durationFormatter)}}),Object.defineProperty(t.prototype,"toGlobal",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._display.toGlobal(e)}}),Object.defineProperty(t.prototype,"toLocal",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._display.toLocal(e)}}),Object.defineProperty(t.prototype,"_getDownPoint",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this._getDownPointId();if(e)return this._downPoints[e]}}),Object.defineProperty(t.prototype,"_getDownPointId",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this._downPoints)return p.keysOrdered(this._downPoints,(function(e,t){return e>t?1:e<t?-1:0}))[0]}}),Object.defineProperty(t.prototype,"toFront",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.parent;e&&e.children.moveValue(this,e.children.length-1)}}),Object.defineProperty(t.prototype,"toBack",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.parent;e&&e.children.moveValue(this,0)}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Sprite"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.JH.classNames.concat([t.className])}),t}(n.JH)},1195:function(e,t,i){"use strict";i.d(t,{b:function(){return c}});var r=i(5125),n=i(8777),a=i(6245),o=i(3497),s=i(7142),l=i(1112),u=i(751),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"rectangle",{enumerable:!0,configurable:!0,writable:!0,value:t.children.push(s.A.new(t._root,{themeTags:["rectangle"],fillOpacity:0,fill:(0,l.$_)(16777215)}))}),Object.defineProperty(t,"gripL",{enumerable:!0,configurable:!0,writable:!0,value:t._createGrip("left")}),Object.defineProperty(t,"gripR",{enumerable:!0,configurable:!0,writable:!0,value:t._createGrip("right")}),Object.defineProperty(t,"gripT",{enumerable:!0,configurable:!0,writable:!0,value:t._createGrip("top")}),Object.defineProperty(t,"gripB",{enumerable:!0,configurable:!0,writable:!0,value:t._createGrip("bottom")}),Object.defineProperty(t,"_is",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(t,"_ix",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"_iw",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"_positionDP",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_isHover",{enumerable:!0,configurable:!0,writable:!0,value:!1}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;e.prototype._afterNew.call(this),this.addTag("resizer"),this.set("visible",!1),this.gripL.events.on("dragged",(function(e){t._resize(e.target,-1)})),this.gripR.events.on("dragged",(function(e){t._resize(e.target,1)})),this.gripL.events.on("dragstart",(function(e){t._resizeStart(e.target)})),this.gripR.events.on("dragstart",(function(e){t._resizeStart(e.target)})),this.gripT.events.on("dragged",(function(e){t._rotate(e,90)})),this.gripB.events.on("dragged",(function(e){t._rotate(e,-90)})),this.gripT.events.on("dragstart",(function(e){t._resizeStart(e.target)})),this.gripB.events.on("dragstart",(function(e){t._resizeStart(e.target)}))}}),Object.defineProperty(t.prototype,"_resizeStart",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.get("sprite");t&&(this._is=t.get("scale",1),this._ix=e.x(),this._iw=this.width()/2)}}),Object.defineProperty(t.prototype,"_resize",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this.get("sprite");i&&(i.set("scale",Math.max(.01,this._is*(1+t*(e.x()-this._ix)/this._iw))),this._updatePositions())}}),Object.defineProperty(t.prototype,"_rotate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this.get("sprite");if(i){var r=this.parent;if(r){var n=this.get("rotationStep",10),a=Math.round((u.getAngle({x:this.x(),y:this.y()},r.toLocal(e.point))+t)/n)*n;i.set("rotation",a),this._updatePositions()}}}}),Object.defineProperty(t.prototype,"_createGrip",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.children.push(n.W.new(this._root,{themeTags:["grip",e],setStateOnChildren:!0,draggable:!0}));return t.children.push(o.c.new(this._root,{themeTags:["outline"],centerX:a.CI,centerY:a.CI})),t.children.push(o.c.new(this._root,{centerX:a.CI,centerY:a.CI})),t}}),Object.defineProperty(t.prototype,"_updateChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;if(e.prototype._updateChildren.call(this),this.isDirty("sprite")){var i=this.get("sprite");if(i){this.show(0),this.setPrivate("visible",!0),this._updatePositions();var r=i.parent;r&&r.children.moveValue(this,0),this._positionDP=i.events.on("positionchanged",(function(){t._updatePositions()}))}else this.hide(0),this.setPrivate("visible",!1),this._positionDP&&this._positionDP.dispose()}(this.isDirty("width")||this.isDirty("height")||this.isDirty("rotation"))&&this._updatePositions()}}),Object.defineProperty(t.prototype,"_updatePositions",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("sprite");if(e){var t=e.localBounds(),i=e.get("scale",1),r=20,n=(t.right-t.left)*i+r,o=(t.bottom-t.top)*i+r,s=e.get("rotation",0),l=this.rectangle,c=e.get("centerX",a.CI),h=e.get("centerY",a.CI),f=0;c instanceof a.gG&&(f=c.value);var p=0;h instanceof a.gG&&(p=h.value),l.setAll({centerX:c,centerY:h,width:n,height:o}),this.setAll({x:e.x()+r*(f-.5)*u.cos(s)-r*(p-.5)*u.sin(s),y:e.y()+r*(p-.5)*u.cos(s)+r*(f-.5)*u.sin(s),width:n,height:o,rotation:s}),this.gripT.setAll({x:(.5-f)*n,y:-p*o}),this.gripB.setAll({x:(.5-f)*n,y:(1-p)*o}),this.gripL.setAll({x:-f*n,y:(.5-p)*o}),this.gripR.setAll({x:(1-f)*n,y:(.5-p)*o}),this.rectangle.setAll({width:n,height:o})}}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SpriteResizer"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.W.classNames.concat([t.className])}),t}(n.W)},2036:function(e,t,i){"use strict";i.d(t,{x:function(){return s}});var r=i(5125),n=i(4596),a=i(2132),o=i(5071),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"textStyle",{enumerable:!0,configurable:!0,writable:!0,value:t._root._renderer.makeTextStyle()}),Object.defineProperty(t,"_display",{enumerable:!0,configurable:!0,writable:!0,value:t._root._renderer.makeText("",t.textStyle)}),Object.defineProperty(t,"_textStyles",{enumerable:!0,configurable:!0,writable:!0,value:["textAlign","fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","shadowOpacity","lineHeight","baselineRatio","direction","textBaseline","oversizedBehavior","breakWords","ellipsis","minScale"]}),Object.defineProperty(t,"_originalScale",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_updateBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.get("text")?e.prototype._updateBounds.call(this):this._adjustedLocalBounds={left:0,right:0,top:0,bottom:0}}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;e.prototype._changed.call(this),this._display.clear();var i=this.textStyle;if(this.isDirty("opacity")){var r=this.get("opacity",1);this._display.alpha=r}if((this.isDirty("text")||this.isDirty("populateText"))&&(this._display.text=this._getText(),this.markDirtyBounds(),"tooltip"==this.get("role")&&this._root.updateTooltip(this)),this.isDirty("width")&&(i.wordWrapWidth=this.width(),this.markDirtyBounds()),this.isDirty("oversizedBehavior")&&(i.oversizedBehavior=this.get("oversizedBehavior","none"),this.markDirtyBounds()),this.isDirty("breakWords")&&(i.breakWords=this.get("breakWords",!1),this.markDirtyBounds()),this.isDirty("ellipsis")&&(i.ellipsis=this.get("ellipsis"),this.markDirtyBounds()),this.isDirty("ignoreFormatting")&&(i.ignoreFormatting=this.get("ignoreFormatting",!1),this.markDirtyBounds()),this.isDirty("minScale")&&(i.minScale=this.get("minScale",0),this.markDirtyBounds()),this.isDirty("fill")){var n=this.get("fill");n&&(i.fill=n)}(this.isDirty("maxWidth")||this.isPrivateDirty("maxWidth"))&&(i.maxWidth=this.get("maxWidth",this.getPrivate("maxWidth")),this.markDirtyBounds()),(this.isDirty("maxHeight")||this.isPrivateDirty("maxHeight"))&&(i.maxHeight=this.get("maxHeight",this.getPrivate("maxHeight")),this.markDirtyBounds()),o.each(this._textStyles,(function(e){t._dirty[e]&&(i[e]=t.get(e),t.markDirtyBounds())})),i.fontSize=this.get("fontSize"),i.fontFamily=this.get("fontFamily"),this._display.style=i,this.isDirty("role")&&"tooltip"==this.get("role")&&this._root.updateTooltip(this)}}),Object.defineProperty(t.prototype,"_getText",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.get("text","");return this.get("populateText")?(0,a.q)(this,e):e}}),Object.defineProperty(t.prototype,"markDirtyText",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._display.text=this._getText(),"tooltip"==this.get("role")&&this._root.updateTooltip(this),this.markDirtyBounds(),this.markDirty()}}),Object.defineProperty(t.prototype,"_setDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(t){e.prototype._setDataItem.call(this,t),this.get("populateText")&&this.markDirtyText()}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Text"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.j.classNames.concat([t.className])}),t}(n.j)},2438:function(e,t,i){"use strict";i.d(t,{d:function(){return a}});var r=i(5125),n=i(2077),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Tick"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.x.classNames.concat([t.className])}),t}(n.x)},2876:function(e,t,i){"use strict";i.d(t,{u:function(){return p}});var r=i(5125),n=i(7449),a=i(962),o=i(8931),s=i(8777),l=i(6245),u=i(1112),c=i(751),h=i(5071),f=i(7652),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_arrangeDisposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_fx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"_fy",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"_label",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_fillDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_strokeDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_labelDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_w",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"_h",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(t,"_keepHoverDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;this._settings.themeTags=f.mergeTags(this._settings.themeTags,["tooltip"]),e.prototype._afterNew.call(this),this.set("background",o.i.new(this._root,{themeTags:["tooltip","background"]})),this._label=this.children.push(a._.new(this._root,{})),this._disposers.push(this._label.events.on("boundschanged",(function(){t._updateBackground()}))),this.on("bounds",(function(){t._updateBackground()})),this._updateTextColor(),this._root.tooltipContainer.children.push(this),this.hide(0),this._root._tooltips.push(this)}}),Object.defineProperty(t.prototype,"label",{get:function(){return this._label},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype.dispose.call(this),h.remove(this._root._tooltips,this)}}),Object.defineProperty(t.prototype,"_updateChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._updateChildren.call(this),null!=this.get("labelText")&&this.label.set("text",this.get("labelText")),null!=this.get("labelHTML")&&this.label.set("html",this.get("labelHTML"))}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;if(e.prototype._changed.call(this),this.isDirty("pointTo")&&this._updateBackground(),this.isDirty("tooltipTarget")&&this.updateBackgroundColor(),this.isDirty("keepTargetHover"))if(this.get("keepTargetHover")){var i=this.get("background");this._keepHoverDp=new n.FV([i.events.on("pointerover",(function(e){var i=t.get("tooltipTarget");i&&i.hover()})),i.events.on("pointerout",(function(e){var i=t.get("tooltipTarget");i&&i.unhover()}))])}else this._keepHoverDp&&(this._keepHoverDp.dispose(),this._keepHoverDp=void 0)}}),Object.defineProperty(t.prototype,"_onShow",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._onShow.call(this),this.updateBackgroundColor()}}),Object.defineProperty(t.prototype,"updateBackgroundColor",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e,t,i=this,r=this.get("tooltipTarget"),n=this.get("background");r&&n&&(e=r.get("fill"),t=r.get("stroke"),null==e&&(e=t),this.get("getFillFromSprite")&&(this._fillDp&&this._fillDp.dispose(),null!=e&&n.set("fill",e),this._fillDp=r.on("fill",(function(e){null!=e&&(n.set("fill",e),i._updateTextColor(e))}))),this.get("getStrokeFromSprite")&&(this._strokeDp&&this._strokeDp.dispose(),null!=e&&n.set("stroke",e),this._strokeDp=r.on("fill",(function(e){null!=e&&n.set("stroke",e)}))),this.get("getLabelFillFromSprite")&&(this._labelDp&&this._labelDp.dispose(),null!=e&&this.label.set("fill",e),this._labelDp=r.on("fill",(function(e){null!=e&&i.label.set("fill",e)})))),this._updateTextColor(e)}}),Object.defineProperty(t.prototype,"_updateTextColor",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.get("autoTextColor")&&(null==e&&(e=this.get("background").get("fill")),null==e&&(e=this._root.interfaceColors.get("background")),e instanceof u.Il&&this.label.set("fill",u.Il.alternative(e,this._root.interfaceColors.get("alternativeText"),this._root.interfaceColors.get("text"))))}}),Object.defineProperty(t.prototype,"_setDataItem",{enumerable:!1,configurable:!0,writable:!0,value:function(t){e.prototype._setDataItem.call(this,t),this.label._setDataItem(t)}}),Object.defineProperty(t.prototype,"_updateBackground",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype.updateBackground.call(this);var t=this._root.container;if(t){var i=.5,r=.5,n=this.get("centerX");n instanceof l.gG&&(i=n.value);var a=this.get("centerY");a instanceof l.gG&&(r=a.value);var s=t.width(),u=t.height(),h=this.get("bounds",{left:0,top:0,right:s,bottom:u});this._updateBounds();var f=this.width(),p=this.height();0===f&&(f=this._w),0===p&&(p=this._h);var d=this.get("pointTo",{x:s/2,y:u/2}),b=d.x,g=d.y,y=this.get("pointerOrientation"),v=this.get("background"),m=0,_=0,w=0;v instanceof o.i&&(m=v.get("pointerLength",0),w=_=v.get("strokeWidth",0)/2);var P,O,x=h.right-h.left,j=h.bottom-h.top;"horizontal"==y||"left"==y||"right"==y?(_=0,"horizontal"==y?b>h.left+x/2?(b-=f*(1-i)+m,w*=-1):b+=f*i+m:"left"==y?b+=f*(1-i)+m:(b-=f*i+m,w*=-1)):(w=0,"vertical"==y?g>h.top+p/2+m?g-=p*(1-r)+m:(g+=p*r+m,_*=-1):"down"==y?g-=p*(1-r)+m:(g+=p*r+m,_*=-1)),b=c.fitToRange(b,h.left+f*i,h.left+x-f*(1-i))+w,g=c.fitToRange(g,h.top+p*r,h.top+j-p*(1-r))-_,P=d.x-b+f*i+w,O=d.y-g+p*r-_,this._fx=b,this._fy=g;var k=this.get("animationDuration",0);if(k>0&&this.get("visible")&&this.get("opacity")>.1){var T=this.get("animationEasing");this.animate({key:"x",to:b,duration:k,easing:T}),this.animate({key:"y",to:g,duration:k,easing:T})}else this.set("x",b),this.set("y",g);v instanceof o.i&&(v.set("pointerX",P),v.set("pointerY",O)),f>0&&(this._w=f),p>0&&(this._h=p)}}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Tooltip"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.W.classNames.concat([t.className])}),t}(s.W)},1706:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});var r=i(5125),n=i(2010),a=i(5040),o=i(6245),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"updateContainer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e.get("paddingTop",0),i=e.innerHeight(),r=0;(0,n.j)(e,(function(e){if(e.isVisible()&&"relative"==e.get("position")){var t=e.get("height");if(t instanceof o.gG){r+=t.value;var n=i*t.value,s=e.get("minHeight",e.getPrivate("minHeight",-1/0));s>n&&(i-=s,r-=t.value);var l=e.get("maxHeight",e.getPrivate("maxHeight",1/0));n>l&&(i-=l,r-=t.value)}else a.isNumber(t)||(t=e.height()),i-=t+e.get("marginTop",0)+e.get("marginBottom",0)}})),i<0&&(i=.01),(0,n.j)(e,(function(e){if(e.isVisible()&&"relative"==e.get("position")){var t=e.get("height");if(t instanceof o.gG){var n=i*t.value/r-e.get("marginTop",0)-e.get("marginBottom",0),a=e.get("minHeight",e.getPrivate("minHeight",-1/0)),s=e.get("maxHeight",e.getPrivate("maxHeight",1/0));n=Math.min(Math.max(a,n),s),e.setPrivate("height",n)}}}));var s=t;(0,n.j)(e,(function(e){if("relative"==e.get("position"))if(e.isVisible()){var t=e.adjustedLocalBounds(),i=e.get("marginTop",0),r=t.top,n=t.bottom,a=e.get("maxHeight");a&&n-r>a&&(n=r+a);var o=e.get("marginBottom",0),l=s+i-r;e.setPrivate("y",l),s=l+n+o}else e.setPrivate("y",void 0)}))}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"VerticalLayout"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.A.classNames.concat([t.className])}),t}(n.A)},4680:function(e,t,i){"use strict";var r;i.d(t,{b:function(){return r}}),function(e){e.ADD="lighter",e.COLOR="color",e.COLOR_BURN="color-burn",e.COLOR_DODGE="color-dodge",e.DARKEN="darken",e.DIFFERENCE="difference",e.DST_OVER="destination-over",e.EXCLUSION="exclusion",e.HARD_LIGHT="hard-light",e.HUE="hue",e.LIGHTEN="lighten",e.LUMINOSITY="luminosity",e.MULTIPLY="multiply",e.NORMAL="source-over",e.OVERLAY="overlay",e.SATURATION="saturation",e.SCREEN="screen",e.SOFT_LIGHT="soft-light",e.SRC_ATOP="source-atop",e.XOR="xor"}(r||(r={}))},1437:function(e,t,i){"use strict";i.d(t,{p:function(){return a}});var r=i(5125),n=i(6331),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._afterNewApplyThemes.call(this)}}),Object.defineProperty(t.prototype,"getFill",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return{addColorStop:function(e,t){}}}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._changed.call(this)}}),Object.defineProperty(t.prototype,"getBounds",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.get("target");if(t){var i=t.globalBounds(),r=e.toLocal({x:i.left,y:i.top}),n=e.toLocal({x:i.right,y:i.top}),a=e.toLocal({x:i.right,y:i.bottom}),o=e.toLocal({x:i.left,y:i.bottom});return{left:Math.min(r.x,n.x,a.x,o.x),top:Math.min(r.y,n.y,a.y,o.y),right:Math.max(r.x,n.x,a.x,o.x),bottom:Math.max(r.y,n.y,a.y,o.y)}}return e._display.getLocalBounds()}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Gradient"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.JH.classNames.concat([t.className])}),t}(n.JH)},1747:function(e,t,i){"use strict";i.d(t,{o:function(){return u}});var r=i(5125),n=i(1437),a=i(1112),o=i(5071),s=i(5040),l=i(751),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"getFill",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.get("rotation",0),i=this.getBounds(e),r=i.left||0,n=i.right||0,u=i.top||0,c=i.bottom||0,h=l.cos(t),f=l.sin(t),p=h*(n-r),d=f*(c-u),b=Math.max(p,d),g=this._root._renderer.createLinearGradient(r,u,r+b*h,u+b*f),y=this.get("stops");if(y){var v=0;o.each(y,(function(e){var t=e.offset;s.isNumber(t)||(t=v/(y.length-1));var i=e.opacity;s.isNumber(i)||(i=1);var r=e.color;if(r){var n=e.lighten;n&&(r=a.Il.lighten(r,n));var o=e.brighten;o&&(r=a.Il.brighten(r,o)),g.addColorStop(t,"rgba("+r.r+","+r.g+","+r.b+","+i+")")}v++}))}return g}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"LinearGradient"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.p.classNames.concat([t.className])}),t}(n.p)},3437:function(e,t,i){"use strict";i.d(t,{c:function(){return a}});var r=i(5125),n=i(6331),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_display",{enumerable:!0,configurable:!0,writable:!0,value:t._root._renderer.makeGraphics()}),Object.defineProperty(t,"_backgroundDisplay",{enumerable:!0,configurable:!0,writable:!0,value:t._root._renderer.makeGraphics()}),Object.defineProperty(t,"_clear",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_pattern",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._afterNewApplyThemes.call(this)}}),Object.defineProperty(t.prototype,"pattern",{get:function(){return this._pattern},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_draw",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),(this.isDirty("repetition")||this.isDirty("width")||this.isDirty("height")||this.isDirty("rotation")||this.isDirty("color")||this.isDirty("strokeWidth")||this.isDirty("strokeDasharray")||this.isDirty("strokeDashoffset")||this.isDirty("colorOpacity")||this.isDirty("fill")||this.isDirty("fillOpacity"))&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._changed.call(this),this._clear){var t=this.get("repetition",""),i=this.get("width",100),r=this.get("height",100),n=this.get("fill"),a=this.get("fillOpacity",1);this._display.clear(),this._backgroundDisplay.clear(),n&&a>0&&(this._backgroundDisplay.beginFill(n,a),this._backgroundDisplay.drawRect(0,0,i,r),this._backgroundDisplay.endFill()),this._display.angle=this.get("rotation",0),this._draw(),this._pattern=this._root._renderer.createPattern(this._display,this._backgroundDisplay,t,i,r)}}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Pattern"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.JH.classNames.concat([t.className])}),t}(n.JH)},4429:function(e,t,i){"use strict";i.d(t,{v:function(){return a}});var r=i(5125),n=i(3437),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_image",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),this._clear=!0,this.isDirty("src")&&this._load()}}),Object.defineProperty(t.prototype,"_draw",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._draw.call(this);var t=this._image;if(t){var i=this.get("width",100),r=this.get("height",100),n=this.get("fit","image"),a=0,o=0;"pattern"==n?(a=i,o=r):(a=t.width,o=t.height,"image"==n&&(this.set("width",a),this.set("height",o)));var s=0,l=0;this.get("centered",!0)&&(s=i/2-a/2,l=r/2-o/2),this._display.image(t,a,o,s,l)}}}),Object.defineProperty(t.prototype,"_load",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this,t=this.get("src");if(t){var i=new Image;i.src=t,i.decode().then((function(){e._image=i,e._draw(),e.events.isEnabled("loaded")&&e.events.dispatch("loaded",{type:"loaded",target:e})})).catch((function(e){}))}}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PicturePattern"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.c.classNames.concat([t.className])}),t}(n.c)},6490:function(e,t,i){"use strict";i.d(t,{Wn:function(){return c},XG:function(){return f},ne:function(){return s},w6:function(){return l}});var r=i(5125),n=i(6245),a=i(1112),o=i(256);function s(e){return(0,r.mG)(this,void 0,void 0,(function(){var t;return(0,r.Jh)(this,(function(i){switch(i.label){case 0:return void 0===e?[3,2]:(t=[],o.each(e,(function(e,i){t.push(i.waitForStop())})),[4,Promise.all(t)]);case 1:i.sent(),i.label=2;case 2:return[2]}}))}))}function l(e,t,i){return t+e*(i-t)}function u(e,t,i){return e>=1?i:t}function c(e,t,i){return new n.gG(l(e,t.percent,i.percent))}function h(e,t,i){return a.Il.interpolate(e,t,i)}function f(e,t){return"number"==typeof e&&"number"==typeof t?l:e instanceof n.gG&&t instanceof n.gG?c:e instanceof a.Il&&t instanceof a.Il?h:u}},5071:function(e,t,i){"use strict";i.r(t),i.d(t,{add:function(){return m},any:function(){return a},copy:function(){return x},each:function(){return s},eachContinue:function(){return u},eachReverse:function(){return l},find:function(){return S},findIndex:function(){return D},findIndexReverse:function(){return C},findMap:function(){return E},findReverse:function(){return M},first:function(){return f},getFirstSortedIndex:function(){return B},getSortedIndex:function(){return R},has:function(){return O},indexOf:function(){return n},insert:function(){return p},insertIndex:function(){return k},keepIf:function(){return N},last:function(){return h},map:function(){return o},move:function(){return v},pushAll:function(){return b},pushOne:function(){return _},remove:function(){return g},removeFirst:function(){return y},removeIndex:function(){return T},replace:function(){return w},setIndex:function(){return d},shiftLeft:function(){return c},shuffle:function(){return A},slice:function(){return j},toArray:function(){return P}});var r=i(5040);function n(e,t){for(var i=e.length,r=0;r<i;++r)if(e[r]===t)return r;return-1}function a(e,t){for(var i=e.length,r=0;r<i;++r)if(t(e[r]))return!0;return!1}function o(e,t){for(var i=e.length,r=new Array(i),n=0;n<i;++n)r[n]=t(e[n],n);return r}function s(e,t){for(var i=e.length,r=0;r<i;++r)t(e[r],r)}function l(e,t){for(var i=e.length;i>0;)t(e[--i],i)}function u(e,t){for(var i=e.length,r=0;r<i&&t(e[r],r);++r);}function c(e,t){for(var i=e.length,r=t;r<i;++r)e[r-t]=e[r];e.length=i-t}function h(e){var t=e.length;return t?e[t-1]:void 0}function f(e){return e[0]}function p(e,t,i){i=Math.max(0,Math.min(i,e.length)),e.splice(i,0,t)}function d(e,t,i){g(e,t),p(e,t,i)}function b(e,t){for(var i=t.length,r=0;r<i;++r)e.push(t[r])}function g(e,t){for(var i=!1,r=0;;){if(-1===(r=e.indexOf(t,r)))return i;i=!0,e.splice(r,1)}}function y(e,t){var i=e.indexOf(t);return-1!==i&&(e.splice(i,1),!0)}function v(e,t,i){var r=n(e,t);-1!==r&&T(e,r),null==i?e.push(t):k(e,i,t)}function m(e,t,i){r.isNumber(i)?0===i?e.unshift(t):e.splice(i,0,t):e.push(t)}function _(e,t){-1===e.indexOf(t)&&e.push(t)}function w(e,t,i){var n=e.indexOf(t);-1!==n&&e.splice(n,1),r.isNumber(i)?e.splice(i,0,t):e.push(t)}function P(e){return Array.isArray(e)?e:[e]}function O(e,t){return-1!==n(e,t)}function x(e){for(var t=e.length,i=new Array(t),r=0;r<t;++r)i[r]=e[r];return i}function j(e,t,i){void 0===i&&(i=e.length);for(var r=new Array(i-t),n=t;n<i;++n)r[n-t]=e[n];return r}function k(e,t,i){e.splice(t,0,i)}function T(e,t){e.splice(t,1)}function D(e,t){for(var i=e.length,r=0;r<i;++r)if(t(e[r],r))return r;return-1}function C(e,t){for(var i=e.length;i>0;)if(t(e[--i],i))return i;return-1}function S(e,t){var i=D(e,t);if(-1!==i)return e[i]}function M(e,t){var i=C(e,t);if(-1!==i)return e[i]}function E(e,t){for(var i=e.length,r=0;r<i;++r){var n=t(e[r],r);if(void 0!==n)return n}}function A(e){for(var t,i,r=e.length;0!==r;)i=Math.floor(Math.random()*r),t=e[r-=1],e[r]=e[i],e[i]=t}function R(e,t){for(var i=0,r=e.length,n=!1;i<r;){var a=i+r>>1,o=t(e[a]);o<0?i=a+1:0===o?(n=!0,i=a+1):r=a}return{found:n,index:n?i-1:i}}function B(e,t){for(var i=0,r=e.length,n=!1;i<r;){var a=i+r>>1,o=t(e[a]);o<0?i=a+1:0===o?(n=!0,r=a):r=a}return{found:n,index:i}}function N(e,t){for(var i=e.length;i>0;)t(e[--i])||e.splice(i,1)}},1112:function(e,t,i){"use strict";i.d(t,{$_:function(){return s},Il:function(){return l}});var r=i(6490),n=i(7652),a=i(5040);function o(e){return"#"===e[0]&&(e=e.substr(1)),3==e.length&&(e=e[0].repeat(2)+e[1].repeat(2)+e[2].repeat(2)),parseInt(e,16)}function s(e){return l.fromAny(e)}var l=function(){function e(e){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=0|e}return Object.defineProperty(e.prototype,"hex",{get:function(){return this._hex},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"r",{get:function(){return this._hex>>>16},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"g",{get:function(){return this._hex>>8&255},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"b",{get:function(){return 255&this._hex},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"toCSS",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return void 0===e&&(e=1),"rgba("+this.r+", "+this.g+", "+this.b+", "+e+")"}}),Object.defineProperty(e.prototype,"toCSSHex",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"#"+n.padString(this.r.toString(16),2)+n.padString(this.g.toString(16),2)+n.padString(this.b.toString(16),2)}}),Object.defineProperty(e.prototype,"toHSL",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return void 0===e&&(e=1),n.rgbToHsl({r:this.r,g:this.g,b:this.b,a:e})}}),Object.defineProperty(e,"fromHSL",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){var r=n.hslToRgb({h:e,s:t,l:i});return this.fromRGB(r.r,r.g,r.b)}}),Object.defineProperty(e.prototype,"toString",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.toCSSHex()}}),Object.defineProperty(e,"fromHex",{enumerable:!1,configurable:!0,writable:!0,value:function(t){return new e(t)}}),Object.defineProperty(e,"fromRGB",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i,r){return new e((0|r)+(i<<8)+(t<<16))}}),Object.defineProperty(e,"fromString",{enumerable:!1,configurable:!0,writable:!0,value:function(t){return new e(o(t))}}),Object.defineProperty(e,"fromCSS",{enumerable:!1,configurable:!0,writable:!0,value:function(t){return new e(function(e){var t=(e=e.replace(/[ ]/g,"")).match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(t)t.push("1");else if(!(t=e.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i)))return 0;for(var i="",r=1;r<=3;r++){var n=parseInt(t[r]).toString(16);1==n.length&&(n="0"+n),i+=n}return o(i)}(t))}}),Object.defineProperty(e,"fromAny",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(a.isString(t)){if("#"==t[0])return e.fromString(t);if("rgb"==t.substr(0,3))return e.fromCSS(t)}else{if(a.isNumber(t))return e.fromHex(t);if(t instanceof e)return e.fromHex(t.hex)}throw new Error("Unknown color syntax: "+t)}}),Object.defineProperty(e,"alternative",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){var r=n.alternativeColor({r:e.r,g:e.g,b:e.b},t?{r:t.r,g:t.g,b:t.b}:void 0,i?{r:i.r,g:i.g,b:i.b}:void 0);return this.fromRGB(r.r,r.g,r.b)}}),Object.defineProperty(e,"interpolate",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i,n,a){if(void 0===a&&(a="rgb"),"hsl"==a){var o=i.toHSL(),s=n.toHSL();return e.fromHSL((0,r.w6)(t,o.h,s.h),(0,r.w6)(t,o.s,s.s),(0,r.w6)(t,o.l,s.l))}return e.fromRGB((0,r.w6)(t,i.r,n.r),(0,r.w6)(t,i.g,n.g),(0,r.w6)(t,i.b,n.b))}}),Object.defineProperty(e,"lighten",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){var r=n.lighten({r:t.r,g:t.g,b:t.b},i);return e.fromRGB(r.r,r.g,r.b)}}),Object.defineProperty(e,"brighten",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){var r=n.brighten({r:t.r,g:t.g,b:t.b},i);return e.fromRGB(r.r,r.g,r.b)}}),Object.defineProperty(e,"saturate",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){var r=n.saturate({r:t.r,g:t.g,b:t.b},i);return e.fromRGB(r.r,r.g,r.b)}}),e}()},2754:function(e,t,i){"use strict";i.d(t,{U:function(){return o}});var r=i(5125),n=i(6331),a=i(1112),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._afterNewApplyThemes.call(this)}}),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.isDirty("colors")&&this.reset()}}),Object.defineProperty(t.prototype,"generateColors",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.setPrivate("currentPass",this.getPrivate("currentPass",0)+1);var e=this.getPrivate("currentPass"),t=this.get("colors",[this.get("baseColor",a.Il.fromHex(16711680))]);this.getPrivate("numColors")||this.setPrivate("numColors",t.length);for(var i=this.getPrivate("numColors"),r=this.get("passOptions"),n=this.get("reuse"),o=0;o<i;o++)if(n)t.push(t[o]);else{for(var s=t[o].toHSL(),l=s.h+(r.hue||0)*e;l>1;)l-=1;var u=s.s+(r.saturation||0)*e;u>1&&(u=1),u<0&&(u=0);for(var c=s.l+(r.lightness||0)*e;c>1;)c-=1;t.push(a.Il.fromHSL(l,u,c))}}}),Object.defineProperty(t.prototype,"getIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.get("colors",[]),i=this.get("saturation");return e>=t.length?(this.generateColors(),this.getIndex(e)):null!=i?a.Il.saturate(t[e],i):t[e]}}),Object.defineProperty(t.prototype,"next",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.getPrivate("currentStep",this.get("startIndex",0));return this.setPrivate("currentStep",e+this.get("step",1)),this.getIndex(e)}}),Object.defineProperty(t.prototype,"reset",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.setPrivate("currentStep",this.get("startIndex",0)),this.setPrivate("currentPass",0)}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ColorSet"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.JH.classNames.concat([t.className])}),t}(n.JH)},9582:function(e,t,i){"use strict";i.d(t,{Q:function(){return a},k:function(){return n}});var r=i(5125),n=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"processor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"incrementRef",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(t.prototype,"decrementRef",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(t.prototype,"_onPush",{enumerable:!1,configurable:!0,writable:!0,value:function(t){this.processor&&this.processor.processRow(t),e.prototype._onPush.call(this,t)}}),Object.defineProperty(t.prototype,"_onInsertIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){this.processor&&this.processor.processRow(i),e.prototype._onInsertIndex.call(this,t,i)}}),Object.defineProperty(t.prototype,"_onSetIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i,r){this.processor&&this.processor.processRow(r),e.prototype._onSetIndex.call(this,t,i,r)}}),t}(i(7144).aV),a=function(){function e(e){Object.defineProperty(this,"processor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._value=e}return Object.defineProperty(e.prototype,"incrementRef",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(e.prototype,"decrementRef",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),e}()},6460:function(e,t,i){"use strict";i.d(t,{C:function(){return l}});var r=i(5125),n=i(6331),a=i(7255),o=i(5040),s=i(7652),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_setDefaults",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._setDefault("capitalize",!0),this._setDefault("dateFormat","yyyy-MM-dd"),e.prototype._setDefaults.call(this)}}),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this)}}),Object.defineProperty(t.prototype,"format",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i;void 0!==t&&""!==t||(t=this.get("dateFormat","yyyy-MM-dd"));var r=e;if(o.isObject(t))try{var n=this.get("intlLocales");return n?new Intl.DateTimeFormat(n,t).format(r):new Intl.DateTimeFormat(void 0,t).format(r)}catch(e){return"Invalid"}var a=this.parseFormat(t),s=this._root.timezone;return s&&!this._root.utc&&(r=s.convertLocal(r)),o.isNumber(r.getTime())?(i=this.applyFormat(r,a),this.get("capitalize")&&(i=i.replace(/^.{1}/,i.substr(0,1).toUpperCase())),i):"Invalid date"}}),Object.defineProperty(t.prototype,"applyFormat",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i,r,n,a,l,u,c,h,f=t.template,p=e.getTimezoneOffset(),d=e.getTime();this._root.utc?(i=e.getUTCFullYear(),r=e.getUTCMonth(),n=e.getUTCDay(),a=e.getUTCDate(),l=e.getUTCHours(),u=e.getUTCMinutes(),c=e.getUTCSeconds(),h=e.getUTCMilliseconds()):(i=e.getFullYear(),r=e.getMonth(),n=e.getDay(),a=e.getDate(),l=e.getHours(),u=e.getMinutes(),c=e.getSeconds(),h=e.getMilliseconds());for(var b=0,g=t.parts.length;b<g;b++){var y="";switch(t.parts[b]){case"G":y=this._t(i<0?"_era_bc":"_era_ad");break;case"yyyy":y=Math.abs(i).toString(),i<0&&(y+=this._t("_era_bc"));break;case"yyy":case"yy":case"y":y=Math.abs(i).toString().substr(-t.parts[b].length),i<0&&(y+=this._t("_era_bc"));break;case"YYYY":case"YYY":case"YY":case"Y":var v=i;1==s.getWeek(e)&&n>4&&v--,y="YYYY"==t.parts[b]?Math.abs(v).toString():Math.abs(v).toString().substr(-t.parts[b].length),v<0&&(y+=this._t("_era_bc"));break;case"u":case"F":case"g":break;case"q":y=""+Math.ceil((e.getMonth()+1)/3);break;case"MMMMM":y=this._t(this._getMonth(r)).substr(0,1);break;case"MMMM":y=this._t(this._getMonth(r));break;case"MMM":y=this._t(this._getShortMonth(r));break;case"MM":y=s.padString(r+1,2,"0");break;case"M":y=(r+1).toString();break;case"ww":y=s.padString(s.getWeek(e,this._root.utc),2,"0");break;case"w":y=s.getWeek(e,this._root.utc).toString();break;case"W":y=s.getMonthWeek(e,this._root.utc).toString();break;case"dd":y=s.padString(a,2,"0");break;case"d":y=a.toString();break;case"DD":case"DDD":y=s.padString(s.getYearDay(e,this._root.utc).toString(),t.parts[b].length,"0");break;case"D":y=s.getYearDay(e,this._root.utc).toString();break;case"t":y=this._root.language.translateFunc("_dateOrd").call(this,a);break;case"E":y=(n||7).toString();break;case"EE":y=s.padString((n||7).toString(),2,"0");break;case"EEE":case"eee":y=this._t(this._getShortWeekday(n));break;case"EEEE":case"eeee":y=this._t(this._getWeekday(n));break;case"EEEEE":case"eeeee":y=this._t(this._getShortWeekday(n)).substr(0,1);break;case"e":case"ee":y=(n-(this._root.locale.firstDayOfWeek||1)+1).toString(),"ee"==t.parts[b]&&(y=s.padString(y,2,"0"));break;case"a":y=l>=12?this._t("PM"):this._t("AM");break;case"aa":y=l>=12?this._t("P.M."):this._t("A.M.");break;case"aaa":y=l>=12?this._t("P"):this._t("A");break;case"h":y=s.get12Hours(l).toString();break;case"hh":y=s.padString(s.get12Hours(l),2,"0");break;case"H":y=l.toString();break;case"HH":y=s.padString(l,2,"0");break;case"K":y=s.get12Hours(l,0).toString();break;case"KK":y=s.padString(s.get12Hours(l,0),2,"0");break;case"k":y=(l+1).toString();break;case"kk":y=s.padString(l+1,2,"0");break;case"m":y=u.toString();break;case"mm":y=s.padString(u,2,"0");break;case"s":y=c.toString();break;case"ss":y=s.padString(c,2,"0");break;case"S":case"SS":case"SSS":y=Math.round(h/1e3*Math.pow(10,t.parts[b].length)).toString();break;case"x":y=d.toString();break;case"n":case"nn":case"nnn":y=s.padString(h,t.parts[b].length,"0");break;case"z":y=s.getTimeZone(e,!1,!1,this._root.utc);break;case"zz":y=s.getTimeZone(e,!0,!1,this._root.utc);break;case"zzz":y=s.getTimeZone(e,!1,!0,this._root.utc);break;case"zzzz":y=s.getTimeZone(e,!0,!0,this._root.utc);break;case"Z":case"ZZ":var m=Math.abs(p)/60,_=Math.floor(m),w=60*m-60*_;this._root.utc&&(_=0,w=0),"Z"==t.parts[b]?(y="GMT",y+=p>0?"-":"+",y+=s.padString(_,2)+":"+s.padString(w,2)):(y=p>0?"-":"+",y+=s.padString(_,2)+s.padString(w,2));break;case"i":y=e.toISOString();break;case"I":y=e.toUTCString()}f=f.replace(o.PLACEHOLDER,y)}return f}}),Object.defineProperty(t.prototype,"parseFormat",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(var t={template:"",parts:[]},i=a.V.chunk(e,!0),r=0;r<i.length;r++){var n=i[r];if("value"===n.type){if(n.text.match(/^date$/i)){var s=this.get("dateFormat","yyyy-MM-dd");o.isString(s)||(s="yyyy-MM-dd"),n.text=s}var l=n.text.match(/G|yyyy|yyy|yy|y|YYYY|YYY|YY|Y|u|q|MMMMM|MMMM|MMM|MM|M|ww|w|W|dd|d|DDD|DD|D|F|g|EEEEE|EEEE|EEE|EE|E|eeeee|eeee|eee|ee|e|aaa|aa|a|hh|h|HH|H|KK|K|kk|k|mm|m|ss|s|SSS|SS|S|A|zzzz|zzz|zz|z|ZZ|Z|t|x|nnn|nn|n|i|I/g);if(l)for(var u=0;u<l.length;u++)t.parts.push(l[u]),n.text=n.text.replace(l[u],o.PLACEHOLDER)}t.template+=n.text}return t}}),Object.defineProperty(t.prototype,"_months",{enumerable:!1,configurable:!0,writable:!0,value:function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]}}),Object.defineProperty(t.prototype,"_getMonth",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._months()[e]}}),Object.defineProperty(t.prototype,"_shortMonths",{enumerable:!1,configurable:!0,writable:!0,value:function(){return["Jan","Feb","Mar","Apr","May(short)","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}}),Object.defineProperty(t.prototype,"_getShortMonth",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._shortMonths()[e]}}),Object.defineProperty(t.prototype,"_weekdays",{enumerable:!1,configurable:!0,writable:!0,value:function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}}),Object.defineProperty(t.prototype,"_getWeekday",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._weekdays()[e]}}),Object.defineProperty(t.prototype,"_shortWeekdays",{enumerable:!1,configurable:!0,writable:!0,value:function(){return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}}),Object.defineProperty(t.prototype,"_getShortWeekday",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._shortWeekdays()[e]}}),Object.defineProperty(t.prototype,"parse",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(e instanceof Date)return e;if(o.isNumber(e))return new Date(e);var i;o.isString(e)||(e=e.toString());var r="";t=(t=s.cleanFormat(t)).substr(0,e.length);for(var n=this.parseFormat(t),a={year:-1,year3:-1,year2:-1,year1:-1,month:-1,monthShort:-1,monthLong:-1,weekdayShort:-1,weekdayLong:-1,day:-1,yearDay:-1,week:-1,hourBase0:-1,hour12Base0:-1,hourBase1:-1,hour12Base1:-1,minute:-1,second:-1,millisecond:-1,millisecondDigits:-1,am:-1,zone:-1,timestamp:-1,iso:-1},l={year:1970,month:0,day:1,hour:0,minute:0,second:0,millisecond:0,timestamp:null,offset:0,utc:this._root.utc},u=0,c=0,h=0;h<n.parts.length;h++){switch(c=h+u+1,n.parts[h]){case"yyyy":case"YYYY":r+="([0-9]{4})",a.year=c;break;case"yyy":case"YYY":r+="([0-9]{3})",a.year3=c;break;case"yy":case"YY":r+="([0-9]{2})",a.year2=c;break;case"y":case"Y":r+="([0-9]{1})",a.year1=c;break;case"MMMM":r+="("+this.getStringList(this._months()).join("|")+")",a.monthLong=c;break;case"MMM":r+="("+this.getStringList(this._shortMonths()).join("|")+")",a.monthShort=c;break;case"MM":case"M":r+="([0-9]{2}|[0-9]{1})",a.month=c;break;case"ww":case"w":r+="([0-9]{2}|[0-9]{1})",a.week=c;break;case"dd":case"d":r+="([0-9]{2}|[0-9]{1})",a.day=c;break;case"DDD":case"DD":case"D":r+="([0-9]{3}|[0-9]{2}|[0-9]{1})",a.yearDay=c;break;case"dddd":r+="("+this.getStringList(this._weekdays()).join("|")+")",a.weekdayLong=c;break;case"ddd":r+="("+this.getStringList(this._shortWeekdays()).join("|")+")",a.weekdayShort=c;break;case"aaa":case"aa":case"a":r+="("+this.getStringList(["AM","PM","A.M.","P.M.","A","P"]).join("|")+")",a.am=c;break;case"hh":case"h":r+="([0-9]{2}|[0-9]{1})",a.hour12Base1=c;break;case"HH":case"H":r+="([0-9]{2}|[0-9]{1})",a.hourBase0=c;break;case"KK":case"K":r+="([0-9]{2}|[0-9]{1})",a.hour12Base0=c;break;case"kk":case"k":r+="([0-9]{2}|[0-9]{1})",a.hourBase1=c;break;case"mm":case"m":r+="([0-9]{2}|[0-9]{1})",a.minute=c;break;case"ss":case"s":r+="([0-9]{2}|[0-9]{1})",a.second=c;break;case"SSS":case"SS":case"S":r+="([0-9]{3}|[0-9]{2}|[0-9]{1})",a.millisecond=c,a.millisecondDigits=n.parts[h].length;break;case"nnn":case"nn":case"n":r+="([0-9]{3}|[0-9]{2}|[0-9]{1})",a.millisecond=c;break;case"x":r+="([0-9]{1,})",a.timestamp=c;break;case"Z":r+="GMT([-+]+[0-9]{2}:[0-9]{2})",a.zone=c;break;case"ZZ":r+="([\\-+]+[0-9]{2}[0-9]{2})",a.zone=c;break;case"i":r+="([0-9]{4})-?([0-9]{2})-?([0-9]{2})T?([0-9]{2}):?([0-9]{2}):?([0-9]{2})\\.?([0-9]{0,3})([zZ]|[+\\-][0-9]{2}:?[0-9]{2}|$)",a.iso=c,u+=7;break;case"G":case"YYYY":case"YYY":case"YY":case"Y":case"MMMMM":case"W":case"EEEEE":case"EEEE":case"EEE":case"EE":case"E":case"eeeee":case"eeee":case"eee":case"ee":case"e":case"zzzz":case"zzz":case"zz":case"z":case"t":u--}r+="[^0-9]*"}var f=new RegExp(r),p=e.match(f);if(p){if(a.year>-1&&(l.year=parseInt(p[a.year])),a.year3>-1){var d=parseInt(p[a.year3]);d+=1e3,l.year=d}if(a.year2>-1&&(d=parseInt(p[a.year2]),d+=d>50?1e3:2e3,l.year=d),a.year1>-1&&(d=parseInt(p[a.year1]),d=10*Math.floor((new Date).getFullYear()/10)+d,l.year=d),a.monthLong>-1&&(l.month=this.resolveMonth(p[a.monthLong])),a.monthShort>-1&&(l.month=this.resolveShortMonth(p[a.monthShort])),a.month>-1&&(l.month=parseInt(p[a.month])-1),a.week>-1&&-1===a.day&&(l.month=0,l.day=s.getDayFromWeek(parseInt(p[a.week]),l.year,1,this._root.utc)),a.day>-1&&(l.day=parseInt(p[a.day])),a.yearDay>-1&&(l.month=0,l.day=parseInt(p[a.yearDay])),a.hourBase0>-1&&(l.hour=parseInt(p[a.hourBase0])),a.hourBase1>-1&&(l.hour=parseInt(p[a.hourBase1])-1),a.hour12Base0>-1&&(11==(d=parseInt(p[a.hour12Base0]))&&(d=0),a.am>-1&&!this.isAm(p[a.am])&&(d+=12),l.hour=d),a.hour12Base1>-1&&(12==(d=parseInt(p[a.hour12Base1]))&&(d=0),a.am>-1&&!this.isAm(p[a.am])&&(d+=12),l.hour=d),a.minute>-1&&(l.minute=parseInt(p[a.minute])),a.second>-1&&(l.second=parseInt(p[a.second])),a.millisecond>-1&&(d=parseInt(p[a.millisecond]),2==a.millisecondDigits?d*=10:1==a.millisecondDigits&&(d*=100),l.millisecond=d),a.timestamp>-1){l.timestamp=parseInt(p[a.timestamp]);var b=new Date(l.timestamp);l.year=b.getUTCFullYear(),l.month=b.getUTCMonth(),l.day=b.getUTCDate(),l.hour=b.getUTCHours(),l.minute=b.getUTCMinutes(),l.second=b.getUTCSeconds(),l.millisecond=b.getUTCMilliseconds()}a.zone>-1&&(l.offset=this.resolveTimezoneOffset(new Date(l.year,l.month,l.day),p[a.zone])),a.iso>-1&&(l.year=o.toNumber(p[a.iso+0]),l.month=o.toNumber(p[a.iso+1])-1,l.day=o.toNumber(p[a.iso+2]),l.hour=o.toNumber(p[a.iso+3]),l.minute=o.toNumber(p[a.iso+4]),l.second=o.toNumber(p[a.iso+5]),l.millisecond=o.toNumber(p[a.iso+6]),"Z"==p[a.iso+7]||"z"==p[a.iso+7]?l.utc=!0:""!=p[a.iso+7]&&(l.offset=this.resolveTimezoneOffset(new Date(l.year,l.month,l.day),p[a.iso+7]))),i=l.utc?new Date(Date.UTC(l.year,l.month,l.day,l.hour,l.minute,l.second,l.millisecond)):new Date(l.year,l.month,l.day,l.hour,l.minute+l.offset,l.second,l.millisecond)}else i=new Date(e);return i}}),Object.defineProperty(t.prototype,"resolveTimezoneOffset",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(t.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)){var i=t.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/),r=i[1],n=i[2],a=i[3],o=60*parseInt(n)+parseInt(a);return"+"==r&&(o*=-1),o-(e||new Date).getTimezoneOffset()}return 0}}),Object.defineProperty(t.prototype,"resolveMonth",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this._months().indexOf(e);return t>-1||!this._root.language.isDefault()&&(t=this._root.language.translateAll(this._months()).indexOf(e))>-1?t:0}}),Object.defineProperty(t.prototype,"resolveShortMonth",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this._shortMonths().indexOf(e);return t>-1||(t=this._months().indexOf(e))>-1||this._root.language&&!this._root.language.isDefault()&&(t=this._root.language.translateAll(this._shortMonths()).indexOf(e))>-1?t:0}}),Object.defineProperty(t.prototype,"isAm",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.getStringList(["AM","A.M.","A"]).indexOf(e.toUpperCase())>-1}}),Object.defineProperty(t.prototype,"getStringList",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(var t=[],i=0;i<e.length;i++)this._root.language?t.push(s.escapeForRgex(this._t(e[i]))):t.push(s.escapeForRgex(e[i]));return t}}),t}(n.JH)},7449:function(e,t,i){"use strict";i.d(t,{DM:function(){return c},FV:function(){return l},KK:function(){return a},cx:function(){return u},ku:function(){return o},rk:function(){return s}});var r=i(5125),n=i(5071),a=function(){function e(){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1}return Object.defineProperty(e.prototype,"isDisposed",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._disposed}}),Object.defineProperty(e.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._disposed||(this._disposed=!0,this._dispose())}}),e}(),o=function(){function e(e){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dispose",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1,this._dispose=e}return Object.defineProperty(e.prototype,"isDisposed",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._disposed}}),Object.defineProperty(e.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._disposed||(this._disposed=!0,this._dispose())}}),e}(),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){n.each(this._disposers,(function(e){e.dispose()}))}}),t}(a),l=function(e){function t(t){var i=e.call(this)||this;return Object.defineProperty(i,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),i._disposers=t,i}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){n.each(this._disposers,(function(e){e.dispose()}))}}),t}(a),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_disposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(t,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){null!=this._disposer&&(this._disposer.dispose(),this._disposer=void 0)}}),Object.defineProperty(t.prototype,"get",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._value}}),Object.defineProperty(t.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){null!=this._disposer&&this._disposer.dispose(),this._disposer=t,this._value=e}}),Object.defineProperty(t.prototype,"reset",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.set(void 0,void 0)}}),t}(a),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_counter",{enumerable:!0,configurable:!0,writable:!0,value:0}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"increment",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;return++this._counter,new o((function(){--e._counter,0===e._counter&&e.dispose()}))}}),t}(o)},798:function(e,t,i){"use strict";i.d(t,{$:function(){return u}});var r=i(5125),n=i(6331),a=i(7255),o=i(256),s=i(7652),l=i(5040),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_unitAliases",{enumerable:!0,configurable:!0,writable:!0,value:{Y:"y",D:"d",H:"h",K:"h",k:"h",n:"S"}}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_setDefaults",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t="_duration_millisecond",i="_duration_second",r="_duration_minute",n="_duration_hour",a="_duration_day",o="_duration_week",s="_duration_month",l="_minute",u="_hour",c="_day",h="_week",f="_week",p="_year";this._setDefault("negativeBase",0),this._setDefault("baseUnit","second"),this._setDefault("durationFormats",{millisecond:{millisecond:this._t(t),second:this._t(t+"_second"),minute:this._t(t+l),hour:this._t(t+u),day:this._t(t+c),week:this._t(t+h),month:this._t(t+f),year:this._t(t+p)},second:{second:this._t(i),minute:this._t(i+l),hour:this._t(i+u),day:this._t(i+c),week:this._t(i+h),month:this._t(i+f),year:this._t(i+p)},minute:{minute:this._t(r),hour:this._t(r+u),day:this._t(r+c),week:this._t(r+h),month:this._t(r+f),year:this._t(r+p)},hour:{hour:this._t(n),day:this._t(n+c),week:this._t(n+h),month:this._t(n+f),year:this._t(n+p)},day:{day:this._t(a),week:this._t(a+h),month:this._t(a+f),year:this._t(a+p)},week:{week:this._t(o),month:this._t(o+f),year:this._t(o+p)},month:{month:this._t(s),year:this._t(s+p)},year:{year:this._t("_duration_year")}}),e.prototype._setDefaults.call(this)}}),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this)}}),Object.defineProperty(t.prototype,"format",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){var r=i||this.get("baseUnit");void 0!==t&&""!==t||(t=null!=this.get("durationFormat")?this.get("durationFormat"):this.getFormat(l.toNumber(e),void 0,r)),t=s.cleanFormat(t);var n,a=this.parseFormat(t,r),o=Number(e);n=o>this.get("negativeBase")?a.positive:o<this.get("negativeBase")?a.negative:a.zero;var u=this.applyFormat(o,n);return""!==n.color&&(u="["+n.color+"]"+u+"[/]"),u}}),Object.defineProperty(t.prototype,"parseFormat",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=t||this.get("baseUnit"),n={positive:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1},negative:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1},zero:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1}},s=(e=e.replace("||",l.PLACEHOLDER2)).split("|");return n.positive.source=s[0],void 0===s[2]?n.zero=n.positive:n.zero.source=s[2],void 0===s[1]?n.negative=n.positive:n.negative.source=s[1],o.each(n,(function(e,t){if(!t.parsed){var r,n=t.source;(r=t.source.match(/^\[([^\]]*)\]/))&&r.length&&""!==r[0]&&(n=t.source.substr(r[0].length),t.color=r[1]);for(var o=a.V.chunk(n,!0),s=0;s<o.length;s++){var u=o[s];if(u.text=u.text.replace(l.PLACEHOLDER2,"|"),"value"===u.type){u.text.match(/[yYMdDwhHKkmsSn]+a/)&&(t.absolute=!0,u.text=u.text.replace(/([yYMdDwhHKkmsSn]+)a/,"$1"));var c=u.text.match(/y+|Y+|M+|d+|D+|w+|h+|H+|K+|k+|m+|s+|S+|n+/g);if(c)for(var h=0;h<c.length;h++)null==c[h]&&(c[h]=i._unitAliases[c[h]]),t.parts.push(c[h]),u.text=u.text.replace(c[h],l.PLACEHOLDER)}t.template+=u.text}t.parsed=!0}})),n}}),Object.defineProperty(t.prototype,"applyFormat",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=!t.absolute&&e<this.get("negativeBase");e=Math.abs(e);for(var r=this.toTimeStamp(e,t.baseUnit),n=t.template,a=0,o=t.parts.length;a<o;a++){var u=t.parts[a],c=this._toTimeUnit(u.substr(0,1)),h=u.length,f=Math.floor(r/this._getUnitValue(c));n=n.replace(l.PLACEHOLDER,s.padString(f,h,"0")),r-=f*this._getUnitValue(c)}return i&&(n="-"+n),n}}),Object.defineProperty(t.prototype,"toTimeStamp",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return e*this._getUnitValue(t)}}),Object.defineProperty(t.prototype,"_toTimeUnit",{enumerable:!1,configurable:!0,writable:!0,value:function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year"}}}),Object.defineProperty(t.prototype,"getFormat",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){if(null!=this.get("durationFormat"))return this.get("durationFormat");if(i||(i=this.get("baseUnit")),null!=t&&e!=t){e=Math.abs(e),t=Math.abs(t);var r=this.getValueUnit(Math.max(e,t),i);return this.get("durationFormats")[i][r]}var n=this.getValueUnit(e,i);return this.get("durationFormats")[i][n]}}),Object.defineProperty(t.prototype,"getValueUnit",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i;t||(t=this.get("baseUnit"));var r=this.getMilliseconds(e,t);return o.eachContinue(this._getUnitValues(),(function(e,n){if(e==t||i){if(r/n<=1)return i||(i=e),!1;i=e}return!0})),i}}),Object.defineProperty(t.prototype,"getMilliseconds",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return t||(t=this.get("baseUnit")),e*this._getUnitValue(t)}}),Object.defineProperty(t.prototype,"_getUnitValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._getUnitValues()[e]}}),Object.defineProperty(t.prototype,"_getUnitValues",{enumerable:!1,configurable:!0,writable:!0,value:function(){return{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6}}}),t}(n.JH)},9395:function(e,t,i){"use strict";i.r(t),i.d(t,{bounce:function(){return b},circle:function(){return c},cubic:function(){return o},elastic:function(){return v},exp:function(){return l},inOut:function(){return p},linear:function(){return n},out:function(){return f},pow:function(){return s},quad:function(){return a},sine:function(){return u},yoyo:function(){return h}});var r=i(751);function n(e){return e}function a(e){return e*e}function o(e){return e*e*e}function s(e,t){return Math.pow(e,t)}function l(e){return Math.pow(2,10*e-10)}function u(e){return 1-Math.cos(e*r.HALFPI)}function c(e){return 1-Math.sqrt(1-e*e)}function h(e){return function(t){return e(t<.5?2*t:2*(1-t))}}function f(e){return function(t){return 1-e(1-t)}}function p(e){return function(t){return t<=.5?e(2*t)/2:1-e(2*(1-t))/2}}var d=7.5625;function b(e){return 1-function(e){return e<.36363636363636365?d*e*e:e<.7272727272727273?d*(e-=.5454545454545454)*e+.75:e<.9090909090909091?d*(e-=.8181818181818182)*e+.9375:d*(e-=.9545454545454546)*e+.984375}(1-e)}var g=.3/(2*Math.PI),y=Math.asin(1)*g;function v(e){var t=e;return 1*Math.pow(2,10*--t)*Math.sin((y-t)/g)}},6331:function(e,t,i){"use strict";i.d(t,{JH:function(){return v},Zr:function(){return y}});var r=i(5125),n=i(7449),a=i(9770),o=i(6490),s=i(256),l=i(9395),u=function(){function e(e,t){Object.defineProperty(this,"_entity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_userSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._entity=e,this._settings=t}return Object.defineProperty(e.prototype,"get",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._settings[e];return void 0!==i?i:t}}),Object.defineProperty(e.prototype,"setRaw",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._settings[e]=t}}),Object.defineProperty(e.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._userSettings[e]=!0,this.setRaw(e,t)}}),Object.defineProperty(e.prototype,"remove",{enumerable:!1,configurable:!0,writable:!0,value:function(e){delete this._userSettings[e],delete this._settings[e]}}),Object.defineProperty(e.prototype,"setAll",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;s.keys(e).forEach((function(i){t.set(i,e[i])}))}}),Object.defineProperty(e.prototype,"_eachSetting",{enumerable:!1,configurable:!0,writable:!0,value:function(e){s.each(this._settings,e)}}),Object.defineProperty(e.prototype,"apply",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this,t={stateAnimationEasing:!0,stateAnimationDuration:!0},i=this._entity.states.lookup("default");this._eachSetting((function(r,n){t[r]||(t[r]=!0,e!==i&&(r in i._settings||(i._settings[r]=e._entity.get(r))),e._entity.set(r,n))}))}}),Object.defineProperty(e.prototype,"applyAnimate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;null==e&&(e=this._settings.stateAnimationDuration),null==e&&(e=this.get("stateAnimationDuration",this._entity.get("stateAnimationDuration",0)));var i=this._settings.stateAnimationEasing;null==i&&(i=this.get("stateAnimationEasing",this._entity.get("stateAnimationEasing",l.cubic)));var r=this._entity.states.lookup("default"),n={stateAnimationEasing:!0,stateAnimationDuration:!0},a={};return this._eachSetting((function(o,s){if(!n[o]){n[o]=!0,t!=r&&(o in r._settings||(r._settings[o]=t._entity.get(o)));var l=t._entity.animate({key:o,to:s,duration:e,easing:i});l&&(a[o]=l)}})),a}}),e}(),c=function(){function e(e){Object.defineProperty(this,"_states",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_entity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._entity=e}return Object.defineProperty(e.prototype,"lookup",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._states[e]}}),Object.defineProperty(e.prototype,"create",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._states[e];if(i)return i.setAll(t),i;var r=new u(this._entity,t);return this._states[e]=r,r}}),Object.defineProperty(e.prototype,"remove",{enumerable:!1,configurable:!0,writable:!0,value:function(e){delete this._states[e]}}),Object.defineProperty(e.prototype,"apply",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this._states[e];t&&t.apply(),this._entity._applyState(e)}}),Object.defineProperty(e.prototype,"applyAnimate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i,r=this._states[e];return r&&(i=r.applyAnimate(t)),this._entity._applyStateAnimated(e,t),i}}),e}(),h=i(3145),f=i(5071),p=i(3540),d=function(){function e(e){Object.defineProperty(this,"_entity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_callbacks",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_disabled",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._entity=e}return Object.defineProperty(e.prototype,"add",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=this._callbacks[e];return void 0===r&&(r=this._callbacks[e]=[]),r.push(t),this._entity._markDirtyKey(e),new n.ku((function(){f.removeFirst(r,t)&&i._entity._markDirtyKey(e)}))}}),Object.defineProperty(e.prototype,"remove",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this._callbacks[e];void 0!==t&&(delete this._callbacks[e],0!==t.length&&this._entity._markDirtyKey(e))}}),Object.defineProperty(e.prototype,"enable",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._disabled[e]&&(delete this._disabled[e],this._entity._markDirtyKey(e))}}),Object.defineProperty(e.prototype,"disable",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._disabled[e]||(this._disabled[e]=!0,this._entity._markDirtyKey(e))}}),Object.defineProperty(e.prototype,"fold",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(!this._disabled[e]){var i=this._callbacks[e];if(void 0!==i)for(var r=0,n=i.length;r<n;++r)t=i[r](t,this._entity,e)}return t}}),e}(),b=function(){function e(e,t,i,r,n,s,l){Object.defineProperty(this,"_animation",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_from",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_to",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_duration",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_easing",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_loops",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_interpolate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_oldTime",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_time",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_stopped",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_playing",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new a.p}),this._animation=e,this._from=t,this._to=i,this._duration=r,this._easing=n,this._loops=s,this._interpolate=(0,o.XG)(t,i),this._oldTime=l}return Object.defineProperty(e.prototype,"to",{get:function(){return this._to},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"from",{get:function(){return this._from},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"playing",{get:function(){return this._playing},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stopped",{get:function(){return this._stopped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stop",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._stopped||(this._stopped=!0,this._playing=!1,this.events.isEnabled("stopped")&&this.events.dispatch("stopped",{type:"stopped",target:this}))}}),Object.defineProperty(e.prototype,"pause",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._playing=!1,this._oldTime=null}}),Object.defineProperty(e.prototype,"play",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._stopped||this._playing||(this._playing=!0,this._animation._startAnimation())}}),Object.defineProperty(e.prototype,"percentage",{get:function(){return this._time/this._duration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"waitForStop",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;return new Promise((function(t,i){if(e._stopped)t();else var r=e.events.on("stopped",(function(){r.dispose(),t()}))}))}}),Object.defineProperty(e.prototype,"_checkEnded",{enumerable:!1,configurable:!0,writable:!0,value:function(){return!(this._loops>1&&(--this._loops,1))}}),Object.defineProperty(e.prototype,"_run",{enumerable:!1,configurable:!0,writable:!0,value:function(e){null!==this._oldTime&&(this._time+=e-this._oldTime,this._time>this._duration&&(this._time=this._duration)),this._oldTime=e}}),Object.defineProperty(e.prototype,"_reset",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._oldTime=e,this._time=0}}),Object.defineProperty(e.prototype,"_value",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._interpolate(this._easing(e),this._from,this._to)}}),e}(),g=0,y=function(){function e(e){Object.defineProperty(this,"uid",{enumerable:!0,configurable:!0,writable:!0,value:++g}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_privateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_settingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_privateSettingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_prevSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_prevPrivateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_animatingSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_animatingPrivateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_userProperties",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._settings=e}return Object.defineProperty(e.prototype,"_checkDirty",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;s.keys(this._settings).forEach((function(t){e._userProperties[t]=!0,e._markDirtyKey(t)}))}}),Object.defineProperty(e.prototype,"_runAnimation",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;if(this.isDisposed())return!1;var i=!1;return s.each(this._animatingSettings,(function(r,n){if(n._stopped)t._stopAnimation(r);else if(n._playing){n._run(e);var a=n.percentage;a>=1?n._checkEnded()?t.set(r,n._value(1)):(i=!0,n._reset(e),t._set(r,n._value(1))):(i=!0,t._set(r,n._value(a)))}})),s.each(this._animatingPrivateSettings,(function(r,n){if(n._stopped)t._stopAnimationPrivate(r);else if(n._playing){n._run(e);var a=n.percentage;a>=1?n._checkEnded()?t.setPrivate(r,n._value(1)):(i=!0,n._reset(e),t._setPrivate(r,n._value(1))):(i=!0,t._setPrivate(r,n._value(a)))}})),i}}),Object.defineProperty(e.prototype,"_markDirtyKey",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.markDirty()}}),Object.defineProperty(e.prototype,"_markDirtyPrivateKey",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.markDirty()}}),Object.defineProperty(e.prototype,"on",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=this._settingEvents[e];return void 0===r&&(r=this._settingEvents[e]=[]),r.push(t),new n.ku((function(){f.removeFirst(r,t),0===r.length&&delete i._settingEvents[e]}))}}),Object.defineProperty(e.prototype,"onPrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=this._privateSettingEvents[e];return void 0===r&&(r=this._privateSettingEvents[e]=[]),r.push(t),new n.ku((function(){f.removeFirst(r,t),0===r.length&&delete i._privateSettingEvents[e]}))}}),Object.defineProperty(e.prototype,"getRaw",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._settings[e];return void 0!==i?i:t}}),Object.defineProperty(e.prototype,"get",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return this.getRaw(e,t)}}),Object.defineProperty(e.prototype,"_sendKeyEvent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=this._settingEvents[e];void 0!==r&&f.each(r,(function(r){r(t,i,e)}))}}),Object.defineProperty(e.prototype,"_sendPrivateKeyEvent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=this._privateSettingEvents[e];void 0!==r&&f.each(r,(function(r){r(t,i,e)}))}}),Object.defineProperty(e.prototype,"_setRaw",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){this._prevSettings[e]=t,this._sendKeyEvent(e,i)}}),Object.defineProperty(e.prototype,"setRaw",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._settings[e];this._settings[e]=t,i!==t&&this._setRaw(e,i,t)}}),Object.defineProperty(e.prototype,"_set",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._settings[e];this._settings[e]=t,i!==t&&(this._setRaw(e,i,t),this._markDirtyKey(e))}}),Object.defineProperty(e.prototype,"_stopAnimation",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this._animatingSettings[e];t&&(delete this._animatingSettings[e],t.stop())}}),Object.defineProperty(e.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return this._set(e,t),this._stopAnimation(e),t}}),Object.defineProperty(e.prototype,"remove",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e in this._settings&&(this._prevSettings[e]=this._settings[e],delete this._settings[e],this._sendKeyEvent(e,void 0),this._markDirtyKey(e)),this._stopAnimation(e)}}),Object.defineProperty(e.prototype,"removeAll",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;f.each(s.keys(this._settings),(function(t){e.remove(t)}))}}),Object.defineProperty(e.prototype,"getPrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._privateSettings[e];return void 0!==i?i:t}}),Object.defineProperty(e.prototype,"_setPrivateRaw",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){this._prevPrivateSettings[e]=t,this._sendPrivateKeyEvent(e,i)}}),Object.defineProperty(e.prototype,"setPrivateRaw",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._privateSettings[e];this._privateSettings[e]=t,i!==t&&this._setPrivateRaw(e,i,t)}}),Object.defineProperty(e.prototype,"_setPrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._privateSettings[e];this._privateSettings[e]=t,i!==t&&(this._setPrivateRaw(e,i,t),this._markDirtyPrivateKey(e))}}),Object.defineProperty(e.prototype,"_stopAnimationPrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this._animatingPrivateSettings[e];t&&(t.stop(),delete this._animatingPrivateSettings[e])}}),Object.defineProperty(e.prototype,"setPrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return this._setPrivate(e,t),this._stopAnimationPrivate(e),t}}),Object.defineProperty(e.prototype,"removePrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e in this._privateSettings&&(this._prevPrivateSettings[e]=this._privateSettings[e],delete this._privateSettings[e],this._markDirtyPrivateKey(e)),this._stopAnimationPrivate(e)}}),Object.defineProperty(e.prototype,"setAll",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;s.each(e,(function(e,i){t.set(e,i)}))}}),Object.defineProperty(e.prototype,"animate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e.key,i=e.to,r=e.duration||0,n=e.loops||1,a=void 0===e.from?this.get(t):e.from,o=void 0===e.easing?l.linear:e.easing;if(0===r)this.set(t,i);else{if(void 0!==a&&a!==i){this.set(t,a);var s=this._animatingSettings[t]=new b(this,a,i,r,o,n,this._animationTime());return this._startAnimation(),s}this.set(t,i)}var u=new b(this,a,i,r,o,n,null);return u.stop(),u}}),Object.defineProperty(e.prototype,"animatePrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e.key,i=e.to,r=e.duration||0,n=e.loops||1,a=void 0===e.from?this.getPrivate(t):e.from,o=void 0===e.easing?l.linear:e.easing;if(0===r)this.setPrivate(t,i);else{if(void 0!==a&&a!==i){this.setPrivate(t,a);var s=this._animatingPrivateSettings[t]=new b(this,a,i,r,o,n,this._animationTime());return this._startAnimation(),s}this.setPrivate(t,i)}var u=new b(this,a,i,r,o,n,null);return u.stop(),u}}),Object.defineProperty(e.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(e.prototype,"isDisposed",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._disposed}}),Object.defineProperty(e.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._disposed||(this._disposed=!0,this._dispose())}}),e}(),v=function(e){function t(t,i,r,n){void 0===n&&(n=[]);var a=e.call(this,i)||this;if(Object.defineProperty(a,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"_user_id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"states",{enumerable:!0,configurable:!0,writable:!0,value:new c(a)}),Object.defineProperty(a,"adapters",{enumerable:!0,configurable:!0,writable:!0,value:new d(a)}),Object.defineProperty(a,"events",{enumerable:!0,configurable:!0,writable:!0,value:a._createEvents()}),Object.defineProperty(a,"_userPrivateProperties",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(a,"_dirty",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(a,"_dirtyPrivate",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(a,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"_templates",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(a,"_internalTemplates",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(a,"_defaultThemes",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(a,"_templateDisposers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(a,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(a,"_runSetup",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(a,"_disposerProperties",{enumerable:!0,configurable:!0,writable:!0,value:{}}),!r)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");return a._root=t,a._internalTemplates=n,i.id&&a._registerId(i.id),a}return(0,r.ZT)(t,e),Object.defineProperty(t,"new",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){var r=new this(e,t,!0);return r._template=i,r._afterNew(),r}}),Object.defineProperty(t,"_new",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){void 0===i&&(i=[]);var r=new this(e,t,!0,i);return r._afterNew(),r}}),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this._checkDirty();var t=!1,i=this._template;i&&(t=!0,i._setObjectTemplate(this)),f.each(this._internalTemplates,(function(i){t=!0,i._setObjectTemplate(e)})),t&&this._applyTemplates(!1),this.states.create("default",{}),this._setDefaults()}}),Object.defineProperty(t.prototype,"_afterNewApplyThemes",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this._checkDirty();var t=this._template;t&&t._setObjectTemplate(this),f.each(this._internalTemplates,(function(t){t._setObjectTemplate(e)})),this.states.create("default",{}),this._setDefaults(),this._applyThemes()}}),Object.defineProperty(t.prototype,"_createEvents",{enumerable:!1,configurable:!0,writable:!0,value:function(){return new a.p}}),Object.defineProperty(t.prototype,"classNames",{get:function(){return this.constructor.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return this.constructor.className},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_setDefaults",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(t.prototype,"_setDefault",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){t in this._settings||e.prototype.set.call(this,t,i)}}),Object.defineProperty(t.prototype,"_setRawDefault",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){t in this._settings||e.prototype.setRaw.call(this,t,i)}}),Object.defineProperty(t.prototype,"_clearDirty",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;s.keys(this._dirty).forEach((function(t){e._dirty[t]=!1})),s.keys(this._dirtyPrivate).forEach((function(t){e._dirtyPrivate[t]=!1}))}}),Object.defineProperty(t.prototype,"isDirty",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return!!this._dirty[e]}}),Object.defineProperty(t.prototype,"isPrivateDirty",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return!!this._dirtyPrivate[e]}}),Object.defineProperty(t.prototype,"_markDirtyKey",{enumerable:!1,configurable:!0,writable:!0,value:function(t){this._dirty[t]=!0,e.prototype._markDirtyKey.call(this,t)}}),Object.defineProperty(t.prototype,"_markDirtyPrivateKey",{enumerable:!1,configurable:!0,writable:!0,value:function(t){this._dirtyPrivate[t]=!0,e.prototype._markDirtyKey.call(this,t)}}),Object.defineProperty(t.prototype,"isType",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return-1!==this.classNames.indexOf(e)}}),Object.defineProperty(t.prototype,"_pushPropertyDisposer",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._disposerProperties[e];return void 0===i&&(i=this._disposerProperties[e]=[]),i.push(t),t}}),Object.defineProperty(t.prototype,"_disposeProperty",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this._disposerProperties[e];void 0!==t&&(f.each(t,(function(e){e.dispose()})),delete this._disposerProperties[e])}}),Object.defineProperty(t.prototype,"template",{get:function(){return this._template},set:function(e){var t=this._template;t!==e&&(this._template=e,t&&t._removeObjectTemplate(this),e&&e._setObjectTemplate(this),this._applyTemplates())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"markDirty",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._root._addDirtyEntity(this)}}),Object.defineProperty(t.prototype,"_startAnimation",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._root._addAnimation(this)}}),Object.defineProperty(t.prototype,"_animationTime",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._root.animationTime}}),Object.defineProperty(t.prototype,"_applyState",{enumerable:!1,configurable:!0,writable:!0,value:function(e){}}),Object.defineProperty(t.prototype,"_applyStateAnimated",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){}}),Object.defineProperty(t.prototype,"get",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this.adapters.fold(e,this._settings[e]);return void 0!==i?i:t}}),Object.defineProperty(t.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){return this._userProperties[t]=!0,e.prototype.set.call(this,t,i)}}),Object.defineProperty(t.prototype,"setRaw",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){this._userProperties[t]=!0,e.prototype.setRaw.call(this,t,i)}}),Object.defineProperty(t.prototype,"_setSoft",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){return this._userProperties[t]?i:e.prototype.set.call(this,t,i)}}),Object.defineProperty(t.prototype,"remove",{enumerable:!1,configurable:!0,writable:!0,value:function(e){delete this._userProperties[e],this._removeTemplateProperty(e)}}),Object.defineProperty(t.prototype,"setPrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){return this._userPrivateProperties[t]=!0,e.prototype.setPrivate.call(this,t,i)}}),Object.defineProperty(t.prototype,"setPrivateRaw",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){this._userPrivateProperties[t]=!0,e.prototype.setPrivateRaw.call(this,t,i)}}),Object.defineProperty(t.prototype,"removePrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){delete this._userPrivateProperties[e],this._removeTemplatePrivateProperty(e)}}),Object.defineProperty(t.prototype,"_setTemplateProperty",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i,r){this._userProperties[i]||t===this._findTemplateByKey(i)&&e.prototype.set.call(this,i,r)}}),Object.defineProperty(t.prototype,"_setTemplatePrivateProperty",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i,r){this._userPrivateProperties[i]||t===this._findTemplateByPrivateKey(i)&&e.prototype.setPrivate.call(this,i,r)}}),Object.defineProperty(t.prototype,"_removeTemplateProperty",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(!this._userProperties[t]){var i=this._findTemplateByKey(t);i?e.prototype.set.call(this,t,i._settings[t]):e.prototype.remove.call(this,t)}}}),Object.defineProperty(t.prototype,"_removeTemplatePrivateProperty",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(!this._userPrivateProperties[t]){var i=this._findTemplateByPrivateKey(t);i?e.prototype.setPrivate.call(this,t,i._privateSettings[t]):e.prototype.removePrivate.call(this,t)}}}),Object.defineProperty(t.prototype,"_walkParents",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e(this._root._rootContainer),e(this)}}),Object.defineProperty(t.prototype,"_applyStateByKey",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.states.create(e,{}),i={};this._eachTemplate((function(r){var n=r.states.lookup(e);n&&n._apply(t,i)})),s.each(t._settings,(function(e){i[e]||t._userSettings[e]||t.remove(e)}))}}),Object.defineProperty(t.prototype,"_applyTemplate",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){var r=this;this._templateDisposers.push(t._apply(this,i)),s.each(t._settings,(function(t,n){i.settings[t]||r._userProperties[t]||(i.settings[t]=!0,e.prototype.set.call(r,t,n))})),s.each(t._privateSettings,(function(t,n){i.privateSettings[t]||r._userPrivateProperties[t]||(i.privateSettings[t]=!0,e.prototype.setPrivate.call(r,t,n))})),this._runSetup&&t.setup&&(this._runSetup=!1,t.setup(this))}}),Object.defineProperty(t.prototype,"_findStaticTemplate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this._template&&e(this._template))return this._template}}),Object.defineProperty(t.prototype,"_eachTemplate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._findStaticTemplate((function(t){return e(t),!1})),f.eachReverse(this._internalTemplates,e),f.each(this._templates,e)}}),Object.defineProperty(t.prototype,"_applyTemplates",{enumerable:!1,configurable:!0,writable:!0,value:function(t){var i=this;void 0===t&&(t=!0),t&&this._disposeTemplates();var r={settings:{},privateSettings:{},states:{}};this._eachTemplate((function(e){i._applyTemplate(e,r)})),t&&(s.each(this._settings,(function(t){i._userProperties[t]||r.settings[t]||e.prototype.remove.call(i,t)})),s.each(this._privateSettings,(function(t){i._userPrivateProperties[t]||r.privateSettings[t]||e.prototype.removePrivate.call(i,t)})))}}),Object.defineProperty(t.prototype,"_findTemplate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this._findStaticTemplate(e);if(void 0===t){var i=f.findReverse(this._internalTemplates,e);return void 0===i?f.find(this._templates,e):i}return t}}),Object.defineProperty(t.prototype,"_findTemplateByKey",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._findTemplate((function(t){return e in t._settings}))}}),Object.defineProperty(t.prototype,"_findTemplateByPrivateKey",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._findTemplate((function(t){return e in t._privateSettings}))}}),Object.defineProperty(t.prototype,"_disposeTemplates",{enumerable:!1,configurable:!0,writable:!0,value:function(){f.each(this._templateDisposers,(function(e){e.dispose()})),this._templateDisposers.length=0}}),Object.defineProperty(t.prototype,"_removeTemplates",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;f.each(this._templates,(function(t){t._removeObjectTemplate(e)})),this._templates.length=0}}),Object.defineProperty(t.prototype,"_applyThemes",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this,t=!1,i=[],r=[],n=new Set,a=this.get("themeTagsSelf");return a&&f.each(a,(function(e){n.add(e)})),this._walkParents((function(a){a===e._root._rootContainer&&(t=!0),a._defaultThemes.length>0&&i.push(a._defaultThemes);var o=a.get("themes");o&&r.push(o);var s=a.get("themeTags");s&&f.each(s,(function(e){n.add(e)}))})),r=i.concat(r),this._removeTemplates(),t&&f.eachReverse(this.classNames,(function(t){var i=[];f.each(r,(function(e){f.each(e,(function(e){var r=e._lookupRules(t);r&&f.eachReverse(r,(function(e){if(e.tags.every((function(e){return n.has(e)}))){var t=f.getFirstSortedIndex(i,(function(t){var i=p.qu(e.tags.length,t.tags.length);return 0===i?p.wq(e.tags,t.tags,p.qu):i}));i.splice(t.index,0,e)}}))}))})),f.each(i,(function(t){e._templates.push(t.template),t.template._setObjectTemplate(e)}))})),this._applyTemplates(),t&&(this._runSetup=!1),t}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this.isDirty("id")){var e=this.get("id");e&&this._registerId(e);var t=this._prevSettings.id;t&&delete h.i_.entitiesById[t]}}}),Object.defineProperty(t.prototype,"_registerId",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(h.i_.entitiesById[e]&&h.i_.entitiesById[e]!==this)throw new Error('An entity with id "'+e+'" already exists.');h.i_.entitiesById[e]=this}}),Object.defineProperty(t.prototype,"_afterChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(t.prototype,"addDisposer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._disposers.push(e),e}}),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;e.prototype._dispose.call(this);var i=this._template;i&&i._removeObjectTemplate(this),f.each(this._internalTemplates,(function(e){e._removeObjectTemplate(t)})),this._removeTemplates(),this._disposeTemplates(),this.events.dispose(),this._disposers.forEach((function(e){e.dispose()})),s.each(this._disposerProperties,(function(e,t){f.each(t,(function(e){e.dispose()}))}));var r=this.get("id");r&&delete h.i_.entitiesById[r]}}),Object.defineProperty(t.prototype,"setTimeout",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=setTimeout((function(){i.removeDispose(a),e()}),t),a=new n.ku((function(){clearTimeout(r)}));return this._disposers.push(a),a}}),Object.defineProperty(t.prototype,"removeDispose",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(!this.isDisposed()){var t=f.indexOf(this._disposers,e);t>-1&&this._disposers.splice(t,1)}e.dispose()}}),Object.defineProperty(t.prototype,"hasTag",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return-1!==f.indexOf(this.get("themeTags",[]),e)}}),Object.defineProperty(t.prototype,"addTag",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(!this.hasTag(e)){var t=this.get("themeTags",[]);t.push(e),this.set("themeTags",t)}}}),Object.defineProperty(t.prototype,"removeTag",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this.hasTag(e)){var t=this.get("themeTags",[]);f.remove(t,e),this.set("themeTags",t)}}}),Object.defineProperty(t.prototype,"_t",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){for(var i,n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];return(i=this._root.language).translate.apply(i,(0,r.ev)([e,t],(0,r.CR)(n),!1))}}),Object.defineProperty(t.prototype,"root",{get:function(){return this._root},enumerable:!1,configurable:!0}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Entity"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:["Entity"]}),t}(y)},9770:function(e,t,i){"use strict";i.d(t,{p:function(){return o}});var r=i(7449),n=i(5071),a=i(5040),o=function(){function e(){Object.defineProperty(this,"_listeners",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_killed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_iterating",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_enabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}return Object.defineProperty(e.prototype,"isDisposed",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._disposed}}),Object.defineProperty(e.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(!this._disposed){this._disposed=!0;var e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{n.each(e,(function(e){e.disposer.dispose()}))}finally{this._killed=null,this._iterating=null}}}}),Object.defineProperty(e.prototype,"hasListeners",{enumerable:!1,configurable:!0,writable:!0,value:function(){return 0!==this._listeners.length}}),Object.defineProperty(e.prototype,"hasListenersByType",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return n.any(this._listeners,(function(t){return(null===t.type||t.type===e)&&!t.killed}))}}),Object.defineProperty(e.prototype,"enable",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._enabled=!0}}),Object.defineProperty(e.prototype,"disable",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._enabled=!1}}),Object.defineProperty(e.prototype,"enableType",{enumerable:!1,configurable:!0,writable:!0,value:function(e){delete this._disabled[e]}}),Object.defineProperty(e.prototype,"disableType",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=1/0),this._disabled[e]=t}}),Object.defineProperty(e.prototype,"_removeListener",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(0===this._iterating){var t=this._listeners.indexOf(e);if(-1===t)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}}),Object.defineProperty(e.prototype,"_removeExistingListener",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener((function(n){n.once!==e||n.type!==t||void 0!==i&&n.callback!==i||n.context!==r||n.disposer.dispose()}))}}),Object.defineProperty(e.prototype,"isEnabled",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&void 0===this._disabled[e]}}),Object.defineProperty(e.prototype,"removeType",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener((function(t){t.type===e&&t.disposer.dispose()}))}}),Object.defineProperty(e.prototype,"has",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){return-1!==n.findIndex(this._listeners,(function(r){return!0!==r.once&&r.type===e&&(void 0===t||r.callback===t)&&r.context===i}))}}),Object.defineProperty(e.prototype,"_shouldDispatch",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this._disposed)throw new Error("EventDispatcher is disposed");var t=this._disabled[e];return a.isNumber(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}}),Object.defineProperty(e.prototype,"_eachListener",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;++this._iterating;try{n.each(this._listeners,e)}finally{--this._iterating,0===this._iterating&&0!==this._killed.length&&(n.each(this._killed,(function(e){t._removeListener(e)})),this._killed.length=0)}}}),Object.defineProperty(e.prototype,"dispatch",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._shouldDispatch(e)&&this._eachListener((function(i){i.killed||null!==i.type&&i.type!==e||i.dispatch(e,t)}))}}),Object.defineProperty(e.prototype,"_on",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,n,a,o){var s=this;if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,i,n);var l={type:t,callback:i,context:n,shouldClone:a,dispatch:o,killed:!1,once:e,disposer:new r.ku((function(){l.killed=!0,s._removeListener(l)}))};return this._listeners.push(l),l}}),Object.defineProperty(e.prototype,"onAll",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){return void 0===i&&(i=!0),this._on(!1,null,e,t,i,(function(i,r){return e.call(t,r)})).disposer}}),Object.defineProperty(e.prototype,"on",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r){return void 0===r&&(r=!0),this._on(!1,e,t,i,r,(function(e,r){return t.call(i,r)})).disposer}}),Object.defineProperty(e.prototype,"once",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r){void 0===r&&(r=!0);var n=this._on(!0,e,t,i,r,(function(e,r){n.disposer.dispose(),t.call(i,r)}));return n.disposer}}),Object.defineProperty(e.prototype,"off",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){this._removeExistingListener(!1,e,t,i)}}),Object.defineProperty(e.prototype,"copyFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");var i=[];return n.each(e._listeners,(function(e){!e.killed&&e.shouldClone&&(null===e.type?i.push(t.onAll(e.callback,e.context)):e.once?i.push(t.once(e.type,e.callback,e.context)):i.push(t.on(e.type,e.callback,e.context)))})),new r.FV(i)}}),e}()},9821:function(e,t,i){"use strict";i.d(t,{v:function(){return a}});var r=i(5125),n=i(6331),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"InterfaceColors"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.JH.classNames.concat([t.className])}),t}(n.JH)},7144:function(e,t,i){"use strict";i.d(t,{aV:function(){return s},dn:function(){return l},o:function(){return u}});var r=i(5125),n=i(9770),a=i(5071);function o(e,t){if(!(e>=0&&e<t))throw new Error("Index out of bounds: "+e)}var s=function(){function e(e){void 0===e&&(e=[]),Object.defineProperty(this,"_values",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new n.p}),this._values=e}return Object.defineProperty(e.prototype,"values",{get:function(){return this._values},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"contains",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return-1!==this._values.indexOf(e)}}),Object.defineProperty(e.prototype,"removeValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(var t=0,i=this._values.length;t<i;)this._values[t]===e?(this.removeIndex(t),--i):++t}}),Object.defineProperty(e.prototype,"indexOf",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return a.indexOf(this._values,e)}}),Object.defineProperty(e.prototype,"length",{get:function(){return this._values.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e>=0&&e<this._values.length}}),Object.defineProperty(e.prototype,"getIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._values[e]}}),Object.defineProperty(e.prototype,"_onPush",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.events.isEnabled("push")&&this.events.dispatch("push",{type:"push",target:this,newValue:e})}}),Object.defineProperty(e.prototype,"_onInsertIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this.events.isEnabled("insertIndex")&&this.events.dispatch("insertIndex",{type:"insertIndex",target:this,index:e,newValue:t})}}),Object.defineProperty(e.prototype,"_onSetIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){this.events.isEnabled("setIndex")&&this.events.dispatch("setIndex",{type:"setIndex",target:this,index:e,oldValue:t,newValue:i})}}),Object.defineProperty(e.prototype,"_onRemoveIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this.events.isEnabled("removeIndex")&&this.events.dispatch("removeIndex",{type:"removeIndex",target:this,index:e,oldValue:t})}}),Object.defineProperty(e.prototype,"_onMoveIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){this.events.isEnabled("moveIndex")&&this.events.dispatch("moveIndex",{type:"moveIndex",target:this,oldIndex:e,newIndex:t,value:i})}}),Object.defineProperty(e.prototype,"_onClear",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.events.isEnabled("clear")&&this.events.dispatch("clear",{type:"clear",target:this,oldValues:e})}}),Object.defineProperty(e.prototype,"setIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){o(e,this._values.length);var i=this._values[e];return i!==t&&(this._values[e]=t,this._onSetIndex(e,i,t)),i}}),Object.defineProperty(e.prototype,"insertIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return o(e,this._values.length+1),a.insertIndex(this._values,e,t),this._onInsertIndex(e,t),t}}),Object.defineProperty(e.prototype,"swap",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._values.length;if(o(e,i),o(t,i),e!==t){var r=this._values[e],n=this._values[t];this._values[e]=n,this._onSetIndex(e,r,n),this._values[t]=r,this._onSetIndex(t,n,r)}}}),Object.defineProperty(e.prototype,"removeIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(e){o(e,this._values.length);var t=this._values[e];return a.removeIndex(this._values,e),this._onRemoveIndex(e,t),t}}),Object.defineProperty(e.prototype,"moveValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this.indexOf(e);if(-1!==i)if(a.removeIndex(this._values,i),null==t){var r=this._values.length;this._values.push(e),this._onMoveIndex(i,r,e)}else a.insertIndex(this._values,t,e),this._onMoveIndex(i,t,e);else null==t?(this._values.push(e),this._onPush(e)):(a.insertIndex(this._values,t,e),this._onInsertIndex(t,e));return e}}),Object.defineProperty(e.prototype,"push",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._values.push(e),this._onPush(e),e}}),Object.defineProperty(e.prototype,"unshift",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.insertIndex(0,e),e}}),Object.defineProperty(e.prototype,"pushAll",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;a.each(e,(function(e){t.push(e)}))}}),Object.defineProperty(e.prototype,"copyFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.pushAll(e._values)}}),Object.defineProperty(e.prototype,"pop",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._values.length-1<0?void 0:this.removeIndex(this._values.length-1)}}),Object.defineProperty(e.prototype,"shift",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._values.length?this.removeIndex(0):void 0}}),Object.defineProperty(e.prototype,"setAll",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,i=this._values;this._values=[],this._onClear(i),a.each(e,(function(e){t._values.push(e),t._onPush(e)}))}}),Object.defineProperty(e.prototype,"clear",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.setAll([])}}),Object.defineProperty(e.prototype,Symbol.iterator,{enumerable:!1,configurable:!0,writable:!0,value:function(){var e,t;return(0,r.Jh)(this,(function(i){switch(i.label){case 0:e=this._values.length,t=0,i.label=1;case 1:return t<e?[4,this._values[t]]:[3,4];case 2:i.sent(),i.label=3;case 3:return++t,[3,1];case 4:return[2]}}))}}),Object.defineProperty(e.prototype,"each",{enumerable:!1,configurable:!0,writable:!0,value:function(e){a.each(this._values,e)}}),Object.defineProperty(e.prototype,"eachReverse",{enumerable:!1,configurable:!0,writable:!0,value:function(e){a.eachReverse(this._values,e)}}),e}(),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"autoDispose",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(t,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),t}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_onSetIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i,r){this.autoDispose&&i.dispose(),e.prototype._onSetIndex.call(this,t,i,r)}}),Object.defineProperty(t.prototype,"_onRemoveIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i){this.autoDispose&&i.dispose(),e.prototype._onRemoveIndex.call(this,t,i)}}),Object.defineProperty(t.prototype,"_onClear",{enumerable:!1,configurable:!0,writable:!0,value:function(t){this.autoDispose&&a.each(t,(function(e){e.dispose()})),e.prototype._onClear.call(this,t)}}),Object.defineProperty(t.prototype,"isDisposed",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._disposed}}),Object.defineProperty(t.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._disposed||(this._disposed=!0,this.autoDispose&&a.each(this._values,(function(e){e.dispose()})))}}),t}(s),u=function(e){function t(t,i){var r=e.call(this)||this;return Object.defineProperty(r,"template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"make",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),r.template=t,r.make=i,r}return(0,r.ZT)(t,e),t}(l)},751:function(e,t,i){"use strict";i.r(t),i.d(t,{DEGREES:function(){return s},HALFPI:function(){return a},PI:function(){return n},RADIANS:function(){return o},boundsOverlap:function(){return k},ceil:function(){return u},closest:function(){return j},cos:function(){return b},fitAngleToRange:function(){return _},fitToRange:function(){return f},getAngle:function(){return P},getArcBounds:function(){return y},getArcPoint:function(){return v},getCubicControlPointA:function(){return c},getCubicControlPointB:function(){return h},getPointOnLine:function(){return x},getPointOnQuadraticCurve:function(){return O},inBounds:function(){return w},mergeBounds:function(){return m},normalizeAngle:function(){return g},round:function(){return l},sin:function(){return p},tan:function(){return d}});var r=i(5040),n=Math.PI,a=n/2,o=n/180,s=180/n;function l(e,t,i){if(!(0,r.isNumber)(t)||t<=0){var n=Math.round(e);return i&&n-e==.5&&n--,n}var a=Math.pow(10,t);return Math.round(e*a)/a}function u(e,t){if(!(0,r.isNumber)(t)||t<=0)return Math.ceil(e);var i=Math.pow(10,t);return Math.ceil(e*i)/i}function c(e,t,i,r,n){return{x:(-e.x+t.x/r+i.x)*r,y:(-e.y+t.y/n+i.y)*n}}function h(e,t,i,r,n){return{x:(e.x+t.x/r-i.x)*r,y:(e.y+t.y/n-i.y)*n}}function f(e,t,i){return Math.min(Math.max(e,t),i)}function p(e){return Math.sin(o*e)}function d(e){return Math.tan(o*e)}function b(e){return Math.cos(o*e)}function g(e){return(e%=360)<0&&(e+=360),e}function y(e,t,i,r,n){var a=Number.MAX_VALUE,o=Number.MAX_VALUE,s=-Number.MAX_VALUE,l=-Number.MAX_VALUE,u=[];u.push(v(n,i)),u.push(v(n,r));for(var c=Math.min(90*Math.floor(i/90),90*Math.floor(r/90)),h=Math.max(90*Math.ceil(i/90),90*Math.ceil(r/90)),f=c;f<=h;f+=90)f>=i&&f<=r&&u.push(v(n,f));for(var p=0;p<u.length;p++){var d=u[p];d.x<a&&(a=d.x),d.y<o&&(o=d.y),d.x>s&&(s=d.x),d.y>l&&(l=d.y)}return{left:e+a,top:t+o,right:e+s,bottom:t+l}}function v(e,t){return{x:e*b(t),y:e*p(t)}}function m(e){var t=e.length;if(t>0){var i=e[0],r=i.left,n=i.top,a=i.right,o=i.bottom;if(t>1)for(var s=1;s<t;s++)i=e[s],r=Math.min(i.left,r),a=Math.max(i.right,a),n=Math.min(i.top,n),o=Math.max(i.bottom,o);return{left:r,right:a,top:n,bottom:o}}return{left:0,right:0,top:0,bottom:0}}function _(e,t,i){if(t>i){var r=t;t=i,i=r}e=g(e);var n=(t-g(t))/360;return e<t&&(e+=360*(n+1)),e>i&&(e-360>t?e-=360:e=e<t+(i-t)/2+180?i:t),e<t&&(e=e>t+(i-t)/2-180?t:i),e}function w(e,t){return e.x>=t.left&&e.y>=t.top&&e.x<=t.right&&e.y<=t.bottom}function P(e,t){t||(t={x:2*e.x,y:2*e.y});var i=t.x-e.x,r=t.y-e.y,n=Math.atan2(r,i)*s;return n<0&&(n+=360),g(n)}function O(e,t,i,r){return{x:(1-r)*(1-r)*e.x+2*(1-r)*r*i.x+r*r*t.x,y:(1-r)*(1-r)*e.y+2*(1-r)*r*i.y+r*r*t.y}}function x(e,t,i){return{x:e.x+(t.x-e.x)*i,y:e.y+(t.y-e.y)*i}}function j(e,t){return e.reduce((function(e,i){return Math.abs(i-t)<Math.abs(e-t)?i:e}))}function k(e,t){return!(e.bottom<t.top||t.bottom<e.top||e.right<t.left||t.right<e.left)}},8219:function(e,t,i){"use strict";i.d(t,{u:function(){return l}});var r,n=i(5125),a=i(6331),o=i(7652),s=i(7449),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;e.prototype._afterNewApplyThemes.call(this),this._setRawDefault("deactivateRoot",!0),function(e,t,i){var n=t.interfaceColors,a=n.get("secondaryButton").toCSS(),l=n.get("text").toCSS(),u=n.get("alternativeBackground").toCSS(.45);if(!r){var c=new s.FV([new o.StyleRule(e,".am5-modal",{width:"100%",height:"100%",position:"absolute","z-index":"100000",top:"0",left:"0"}),new o.StyleRule(e,".am5-modal-curtain",{top:"0",left:"0",width:"100%",height:"100%",position:"absolute",background:n.get("background").toCSS(.5),"z-index":"100"}),new o.StyleRule(e,".am5-modal-wrapper",{top:"0",left:"0",width:"100%",height:"100%",position:"absolute","text-align":"center","white-space":"nowrap",background:n.get("background").toCSS(.5),"z-index":"101"}),new o.StyleRule(e,".am5-modal-wrapper:before",{content:"''",display:"inline-block",height:"100%","vertical-align":"middle","margin-right":"-0.25em"}),new o.StyleRule(e,".am5-modal-content",{display:"inline-block",padding:"1.2em","vertical-align":"middle","text-align":"left","white-space":"normal",background:n.get("background").toCSS(),"border-radius":"4px","-webkit-box-shadow":"0px 0px 36px 0px "+u,"box-shadow":"0px 0px 36px 0px "+u,color:l}),new o.StyleRule(e,".am5-modal-content h1",{"font-size":"1em",margin:"0 0 0.5em 0"}),new o.StyleRule(e,".am5-modal-table",{display:"table",margin:"1em 0"}),new o.StyleRule(e,".am5-modal-table-row",{display:"table-row"}),new o.StyleRule(e,".am5-modal-table-heading",{display:"table-heading",padding:"3px 10px 3px 0"}),new o.StyleRule(e,".am5-modal-table-cell",{display:"table-cell",padding:"3px 0 3px 0"}),new o.StyleRule(e,".am5-modal-table-cell > *",{"vertical-align":"middle"}),new o.StyleRule(e,".am5-modal-content input[type=text], .am5-modal-content input[type=number], .am5-modal-content select",{border:"1px solid "+a,"border-radius":"4px",padding:"3px 5px",margin:"2px"}),new o.StyleRule(e,".am5-modal-input-narrow",{width:"50px"}),new o.StyleRule(e,".am5-modal-button",{"font-weight":"400",color:n.get("secondaryButtonText").toCSS(),"line-height":"1.5","text-align":"center","text-decoration":"none","vertical-align":"middle",cursor:"pointer",padding:"0.2em 0.8em","font-size":"1em","border-radius":"0.25em",margin:"0 0.25em 0 0",border:"1px solid "+n.get("secondaryButtonStroke").toCSS(),background:n.get("secondaryButton").toCSS()}),new o.StyleRule(e,".am5-modal-button:hover",{background:n.get("secondaryButtonHover").toCSS()}),new o.StyleRule(e,".am5-modal-button.am5-modal-primary",{color:n.get("primaryButtonText").toCSS(),border:"1px solid "+n.get("primaryButtonStroke").toCSS(),background:n.get("primaryButton").toCSS()}),new o.StyleRule(e,".am5-modal-button.am5-modal-primary:hover",{background:n.get("primaryButtonHover").toCSS()})]);r=new s.DM((function(){r=void 0,c.dispose()}))}r.increment()}(o.getShadowRoot(this._root.dom),this._root);var i=document.createElement("div");i.className="am5-modal",i.style.display="none",this.root._inner.appendChild(i),this.setPrivate("container",i);var n=document.createElement("div");n.className="am5-modal-curtain",i.appendChild(n),this.setPrivate("curtain",n),o.addEventListener(n,"click",(function(){t.cancel()}));var a=document.createElement("div");a.className="am5-modal-wrapper",i.appendChild(a),this.setPrivate("wrapper",a);var l=document.createElement("div");l.className="am5-modal-content",a.appendChild(l),this.setPrivate("content",l);var u=this.get("content");u&&(l.innerHTML=u),o.supports("keyboardevents")&&this._disposers.push(o.addEventListener(document,"keydown",(function(e){t.isOpen()&&27==e.keyCode&&t.cancel()})))}}),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),this.isDirty("content")&&(this.getPrivate("content").innerHTML=this.get("content",""))}}),Object.defineProperty(t.prototype,"isOpen",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"none"!=this.getPrivate("container").style.display}}),Object.defineProperty(t.prototype,"open",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this.getPrivate("container").style.display="block",this.get("deactivateRoot")&&this.setTimeout((function(){e._root._renderer.interactionsEnabled=!1}),10),this.events.dispatch("opened",{type:"opened",target:this})}}),Object.defineProperty(t.prototype,"close",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.getPrivate("container").style.display="none",this.get("deactivateRoot")&&(this._root._renderer.interactionsEnabled=!0),this.events.dispatch("closed",{type:"closed",target:this})}}),Object.defineProperty(t.prototype,"cancel",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.getPrivate("container").style.display="none",this.get("deactivateRoot")&&(this._root._renderer.interactionsEnabled=!0),this.events.dispatch("cancelled",{type:"cancelled",target:this})}}),Object.defineProperty(t.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype.dispose.call(this),this.root.dom.removeChild(this.getPrivate("container"))}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Modal"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:a.JH.classNames.concat([t.className])}),t}(a.JH)},780:function(e,t,i){"use strict";i.d(t,{e:function(){return u}});var r=i(5125),n=i(6331),a=i(7255),o=i(256),s=i(7652),l=i(5040),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"_setDefaults",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._setDefault("negativeBase",0),this._setDefault("numberFormat","#,###.#####"),this._setDefault("smallNumberThreshold",1);var t="_big_number_suffix_",i="_small_number_suffix_",r="_byte_suffix_";this._setDefault("bigNumberPrefixes",[{number:1e3,suffix:this._t(t+"3")},{number:1e6,suffix:this._t(t+"6")},{number:1e9,suffix:this._t(t+"9")},{number:1e12,suffix:this._t(t+"12")},{number:1e15,suffix:this._t(t+"15")},{number:1e18,suffix:this._t(t+"18")},{number:1e21,suffix:this._t(t+"21")},{number:1e24,suffix:this._t(t+"24")}]),this._setDefault("smallNumberPrefixes",[{number:1e-24,suffix:this._t(i+"24")},{number:1e-21,suffix:this._t(i+"21")},{number:1e-18,suffix:this._t(i+"18")},{number:1e-15,suffix:this._t(i+"15")},{number:1e-12,suffix:this._t(i+"12")},{number:1e-9,suffix:this._t(i+"9")},{number:1e-6,suffix:this._t(i+"6")},{number:.001,suffix:this._t(i+"3")}]),this._setDefault("bytePrefixes",[{number:1,suffix:this._t(r+"B")},{number:1024,suffix:this._t(r+"KB")},{number:1048576,suffix:this._t(r+"MB")},{number:1073741824,suffix:this._t(r+"GB")},{number:1099511627776,suffix:this._t(r+"TB")},{number:0x4000000000000,suffix:this._t(r+"PB")}]),e.prototype._setDefaults.call(this)}}),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this)}}),Object.defineProperty(t.prototype,"format",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){var r;(null==t||l.isString(t)&&"number"===t.toLowerCase())&&(t=this.get("numberFormat",""));var n=Number(e);if(l.isObject(t))try{return this.get("intlLocales")?new Intl.NumberFormat(this.get("intlLocales"),t).format(n):new Intl.NumberFormat(void 0,t).format(n)}catch(e){return"Invalid"}else{t=s.cleanFormat(t);var a=this.parseFormat(t,this._root.language),u=void 0;u=n>this.get("negativeBase")?a.positive:n<this.get("negativeBase")?a.negative:a.zero,null==i||u.mod||((u=o.copy(u)).decimals.active=0==n?0:i),r=u.template.split(l.PLACEHOLDER).join(this.applyFormat(n,u))}return r}}),Object.defineProperty(t.prototype,"parseFormat",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=t.translateEmpty("_thousandSeparator"),n=t.translateEmpty("_decimalSeparator"),s={positive:{thousands:{active:-1,passive:-1,interval:-1,separator:r},decimals:{active:-1,passive:-1,separator:n},template:"",source:"",parsed:!1},negative:{thousands:{active:-1,passive:-1,interval:-1,separator:r},decimals:{active:-1,passive:-1,separator:n},template:"",source:"",parsed:!1},zero:{thousands:{active:-1,passive:-1,interval:-1,separator:r},decimals:{active:-1,passive:-1,separator:n},template:"",source:"",parsed:!1}},u=(e=e.replace("||",l.PLACEHOLDER2)).split("|");return s.positive.source=u[0],void 0===u[2]?s.zero=s.positive:s.zero.source=u[2],void 0===u[1]?s.negative=s.positive:s.negative.source=u[1],o.each(s,(function(e,t){if(!t.parsed){var r=t.source;"number"===r.toLowerCase()&&(r=i.get("numberFormat","#,###.#####"));for(var n=a.V.chunk(r,!0),o=0;o<n.length;o++){var s=n[o];if(s.text=s.text.replace(l.PLACEHOLDER2,"|"),"value"===s.type){var u=s.text.match(/[#0.,]+[ ]?[abesABES%!]?[abesABES‰!]?/);if(u)if(null===u||""===u[0])t.template+=s.text;else{var c=u[0].match(/[abesABES%‰!]{2}|[abesABES%‰]{1}$/);c&&(t.mod=c[0].toLowerCase(),t.modSpacing=!!u[0].match(/[ ]{1}[abesABES%‰!]{1}$/));var h=u[0].split(".");if(""===h[0]);else{t.thousands.active=(h[0].match(/0/g)||[]).length,t.thousands.passive=(h[0].match(/\#/g)||[]).length+t.thousands.active;var f=h[0].split(",");1===f.length||(t.thousands.interval=(f.pop()||"").length,0===t.thousands.interval&&(t.thousands.interval=-1))}void 0===h[1]||(t.decimals.active=(h[1].match(/0/g)||[]).length,t.decimals.passive=(h[1].match(/\#/g)||[]).length+t.decimals.active),t.template+=s.text.split(u[0]).join(l.PLACEHOLDER)}}else t.template+=s.text}t.parsed=!0}})),s}}),Object.defineProperty(t.prototype,"applyFormat",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=e<0;e=Math.abs(e);var r="",n="",a=t.mod?t.mod.split(""):[];if(-1!==a.indexOf("b")){var o=this.applyPrefix(e,this.get("bytePrefixes"),-1!==a.indexOf("!"));e=o[0],r=o[1],n=o[2],t.modSpacing&&(n=" "+n)}else if(-1!==a.indexOf("a")){var s=this.applyPrefix(e,e<this.get("smallNumberThreshold")?this.get("smallNumberPrefixes"):this.get("bigNumberPrefixes"),-1!==a.indexOf("!"));e=s[0],r=s[1],n=s[2],t.modSpacing&&(n=" "+n)}else if(-1!==a.indexOf("%")){var u=Math.min(e.toString().length+2,21);e*=100,e=parseFloat(e.toPrecision(u)),n="%"}else-1!==a.indexOf("‰")&&(u=Math.min(e.toString().length+3,21),e*=1e3,e=parseFloat(e.toPrecision(u)),n="‰");if(-1!==a.indexOf("e")){var c;c=t.decimals.passive>=0?e.toExponential(t.decimals.passive).split("e"):e.toExponential().split("e"),e=Number(c[0]),n="e"+c[1],t.modSpacing&&(n=" "+n)}else if(0===t.decimals.passive)e=Math.round(e);else if(t.decimals.passive>0){var h=Math.pow(10,t.decimals.passive);e=Math.round(e*h)/h}var f="",p=l.numberToString(e).split("."),d=p[0];if(d.length<t.thousands.active&&(d=Array(t.thousands.active-d.length+1).join("0")+d),t.thousands.interval>0){for(var b=[],g=d.split("").reverse().join(""),y=0,v=d.length;y<=v;y+=t.thousands.interval){var m=g.substr(y,t.thousands.interval).split("").reverse().join("");""!==m&&b.unshift(m)}d=b.join(t.thousands.separator)}f+=d,1===p.length&&p.push("");var _=p[1];return _.length<t.decimals.active&&(_+=Array(t.decimals.active-_.length+1).join("0")),""!==_&&(f+=t.decimals.separator+_),""===f&&(f="0"),0!==e&&i&&-1===a.indexOf("s")&&(f="-"+f),r&&(f=r+f),n&&(f+=n),f}}),Object.defineProperty(t.prototype,"applyPrefix",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){void 0===i&&(i=!1);for(var r=e,n="",a="",o=!1,s=1,l=0,u=t.length;l<u;l++)t[l].number<=e&&(0===t[l].number?r=0:(r=e/t[l].number,s=t[l].number),n=t[l].prefix,a=t[l].suffix,o=!0);return!o&&i&&t.length&&0!=e&&(r=e/t[0].number,n=t[0].prefix,a=t[0].suffix,o=!0),o&&(r=parseFloat(r.toPrecision(Math.min(s.toString().length+Math.floor(r).toString().replace(/[^0-9]*/g,"").length,21)))),[r,n,a]}}),Object.defineProperty(t.prototype,"escape",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.replace("||",l.PLACEHOLDER2)}}),Object.defineProperty(t.prototype,"unescape",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.replace(l.PLACEHOLDER2,"|")}}),t}(n.JH)},256:function(e,t,i){"use strict";i.r(t),i.d(t,{copy:function(){return o},each:function(){return s},eachContinue:function(){return l},eachOrdered:function(){return u},hasKey:function(){return c},keys:function(){return n},keysOrdered:function(){return a},softCopyProperties:function(){return h}});var r=i(5071);function n(e){return Object.keys(e)}function a(e,t){return n(e).sort(t)}function o(e){return Object.assign({},e)}function s(e,t){n(e).forEach((function(i){t(i,e[i])}))}function l(e,t){for(var i in e)if(c(e,i)&&!t(i,e[i]))break}function u(e,t,i){r.each(a(e,i),(function(i){t(i,e[i])}))}function c(e,t){return{}.hasOwnProperty.call(e,t)}function h(e,t){return s(e,(function(e,i){null!=i&&null==t[e]&&(t[e]=i)})),t}},3540:function(e,t,i){"use strict";function r(e,t){return e===t?0:e<t?-1:1}function n(e,t,i){for(var n=e.length,a=t.length,o=Math.min(n,a),s=0;s<o;++s){var l=i(e[s],t[s]);if(0!==l)return l}return r(n,a)}function a(e,t){return e===t?0:e<t?-1:1}i.d(t,{HO:function(){return a},qu:function(){return r},wq:function(){return n}})},6245:function(e,t,i){"use strict";i.d(t,{AQ:function(){return o},CI:function(){return s},aQ:function(){return n},gG:function(){return r},p0:function(){return a}});var r=function(){function e(e){Object.defineProperty(this,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._value=e}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value/100},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"percent",{get:function(){return this._value},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"toString",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._value+"%"}}),Object.defineProperty(e.prototype,"interpolate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return e+this.value*(t-e)}}),Object.defineProperty(e,"normalize",{enumerable:!1,configurable:!0,writable:!0,value:function(t,i,r){return t instanceof e?t:new e(i===r?0:100*Math.min(Math.max(1/(r-i)*(t-i),0),1))}}),e}();function n(e){return new r(e)}var a=n(0),o=n(100),s=n(50)},2132:function(e,t,i){"use strict";i.d(t,{q:function(){return s}});var r=i(5040),n=i(7652),a=i(4596),o=i(7255);function s(e,t){if(null!=t){t=""+t;var i=(t=o.V.escape(t)).match(/\{([^}]+)\}/g),r=void 0;if(i)for(r=0;r<i.length;r++){var n=l(e,i[r].replace(/\{([^}]+)\}/,"$1"),"");null==n&&(n=""),t=t.split(i[r]).join(n)}t=o.V.unescape(t)}else t="";return t}function l(e,t,i){for(var a,o,s=e.dataItem,u=[],h=/([^.]+)\(([^)]*)\)|([^.]+)/g;null!==(o=h.exec(t));)if(o[3]){u.push({prop:o[3]});var f=e.getDateFormatter().get("dateFields",[]),p=e.getNumberFormatter().get("numericFields",[]),d=e.getDurationFormatter().get("durationFields",[]);-1!==f.indexOf(o[3])?u.push({method:"formatDate",params:[]}):-1!==p.indexOf(o[3])?u.push({method:"formatNumber",params:[]}):-1!==d.indexOf(o[3])&&u.push({method:"formatDuration",params:[]})}else{var b=[];if(""!=n.trim(o[2]))for(var g=/'([^']*)'|"([^"]*)"|([0-9\-]+)/g,y=void 0;null!==(y=g.exec(o[2]));)b.push(y[1]||y[2]||y[3]);u.push({method:o[1],params:b})}if(s){(null==(a=c(e,u,s._settings))||r.isObject(a))&&(a=c(e,u,s));var v=s.dataContext;null==a&&v&&(null==(a=c(e,u,v))&&(a=c(e,[{prop:t}],v)),null==a&&v.dataContext&&(a=c(e,u,v.dataContext))),null==a&&s.component&&s.component.dataItem!==s&&(a=l(s.component,t,i))}return null==a&&(a=c(e,u,e)),null==a&&e.parent&&(a=l(e.parent,t,i)),a}function u(e,t){var i=e.getPrivate("customData");if(r.isObject(i))return i[t]}function c(e,t,i,o){for(var s=i,l=!1,h=0,f=t.length;h<f;h++){var p=t[h];if(p.prop){if(s instanceof a.j)null==(d=s.get(p.prop))&&(d=s.getPrivate(p.prop)),null==d&&(d=s[p.prop]),null==d&&(d=u(s,p.prop)),s=d;else if(s.get){var d;null==(d=s.get(p.prop))&&(d=s[p.prop]),s=d}else s=s[p.prop];if(null==s)return}else switch(p.method){case"formatNumber":var b=r.toNumber(s);null!=b&&(s=e.getNumberFormatter().format(b,o||p.params[0]||void 0),l=!0);break;case"formatDate":var g=r.toDate(s);if(!r.isDate(g)||r.isNaN(g.getTime()))return;null!=g&&(s=e.getDateFormatter().format(g,o||p.params[0]||void 0),l=!0);break;case"formatDuration":var y=r.toNumber(s);null!=y&&(s=e.getDurationFormatter().format(y,o||p.params[0]||void 0,p.params[1]||void 0),l=!0);break;case"urlEncode":case"encodeURIComponent":s=encodeURIComponent(s);break;default:s[p.method]&&s[p.method].apply(i,p.params)}}if(!l){var v=[{method:"",params:o}];if(null==o)r.isNumber(s)?(v[0].method="formatNumber",v[0].params=""):r.isDate(s)&&(v[0].method="formatDate",v[0].params="");else{var m=n.getFormat(o);"number"===m?v[0].method="formatNumber":"date"===m?v[0].method="formatDate":"duration"===m&&(v[0].method="formatDuration")}v[0].method&&(s=c(e,v,s))}return s}},5769:function(e,t,i){"use strict";i.d(t,{YS:function(){return c}});var r=i(9770),n=i(7449),a=i(5071),o=i(256),s=function(){function e(e,t,i){Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._name=e,this._template=t,this._settings=i}return Object.defineProperty(e.prototype,"get",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._settings[e];return void 0!==i?i:t}}),Object.defineProperty(e.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}}),Object.defineProperty(e.prototype,"remove",{enumerable:!1,configurable:!0,writable:!0,value:function(e){delete this._settings[e],this._template._stateChanged(this._name)}}),Object.defineProperty(e.prototype,"setAll",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;o.keys(e).forEach((function(i){t._settings[i]=e[i]})),this._template._stateChanged(this._name)}}),Object.defineProperty(e.prototype,"_apply",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){o.each(this._settings,(function(i,r){t[i]||e._userSettings[i]||(t[i]=!0,e.setRaw(i,r))}))}}),e}(),l=function(){function e(e){Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_states",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._template=e}return Object.defineProperty(e.prototype,"lookup",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._states[e]}}),Object.defineProperty(e.prototype,"create",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._states[e];if(i)return i.setAll(t),i;var r=new s(e,this._template,t);return this._states[e]=r,this._template._stateChanged(e),r}}),Object.defineProperty(e.prototype,"remove",{enumerable:!1,configurable:!0,writable:!0,value:function(e){delete this._states[e],this._template._stateChanged(e)}}),Object.defineProperty(e.prototype,"_apply",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){o.each(this._states,(function(i,r){var n=t.states[i];null==n&&(n=t.states[i]={});var a=e.states.create(i,{});r._apply(a,n)}))}}),e}(),u=function(){function e(){Object.defineProperty(this,"_callbacks",{enumerable:!0,configurable:!0,writable:!0,value:{}})}return Object.defineProperty(e.prototype,"add",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=this._callbacks[e];return void 0===r&&(r=this._callbacks[e]=[]),r.push(t),new n.ku((function(){a.removeFirst(r,t),0===r.length&&delete i._callbacks[e]}))}}),Object.defineProperty(e.prototype,"remove",{enumerable:!1,configurable:!0,writable:!0,value:function(e){void 0!==this._callbacks[e]&&delete this._callbacks[e]}}),Object.defineProperty(e.prototype,"_apply",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=[];return o.each(this._callbacks,(function(i,r){a.each(r,(function(r){t.push(e.adapters.add(i,r))}))})),new n.FV(t)}}),e}(),c=function(){function e(e,t){if(Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_privateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_settingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_privateSettingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_entities",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"states",{enumerable:!0,configurable:!0,writable:!0,value:new l(this)}),Object.defineProperty(this,"adapters",{enumerable:!0,configurable:!0,writable:!0,value:new u}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new r.p}),Object.defineProperty(this,"setup",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}return Object.defineProperty(e,"new",{enumerable:!1,configurable:!0,writable:!0,value:function(t){return new e(t,!0)}}),Object.defineProperty(e.prototype,"get",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._settings[e];return void 0!==i?i:t}}),Object.defineProperty(e.prototype,"setRaw",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._settings[e]=t}}),Object.defineProperty(e.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this;this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEach((function(r){r._setTemplateProperty(i,e,t)})))}}),Object.defineProperty(e.prototype,"remove",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e in this._settings&&(delete this._settings[e],this._entities.forEach((function(t){t._removeTemplateProperty(e)})))}}),Object.defineProperty(e.prototype,"removeAll",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;o.each(this._settings,(function(t,i){e.remove(t)}))}}),Object.defineProperty(e.prototype,"getPrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._privateSettings[e];return void 0!==i?i:t}}),Object.defineProperty(e.prototype,"setPrivateRaw",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return this._privateSettings[e]=t,t}}),Object.defineProperty(e.prototype,"setPrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this;return this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach((function(r){r._setTemplatePrivateProperty(i,e,t)}))),t}}),Object.defineProperty(e.prototype,"removePrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach((function(t){t._removeTemplatePrivateProperty(e)})))}}),Object.defineProperty(e.prototype,"setAll",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;o.each(e,(function(e,i){t.set(e,i)}))}}),Object.defineProperty(e.prototype,"on",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=this._settingEvents[e];return void 0===r&&(r=this._settingEvents[e]=[]),r.push(t),new n.ku((function(){a.removeFirst(r,t),0===r.length&&delete i._settingEvents[e]}))}}),Object.defineProperty(e.prototype,"onPrivate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this,r=this._privateSettingEvents[e];return void 0===r&&(r=this._privateSettingEvents[e]=[]),r.push(t),new n.ku((function(){a.removeFirst(r,t),0===r.length&&delete i._privateSettingEvents[e]}))}}),Object.defineProperty(e.prototype,"_apply",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=[];return o.each(this._settingEvents,(function(t,r){a.each(r,(function(r){i.push(e.on(t,r))}))})),o.each(this._privateSettingEvents,(function(t,r){a.each(r,(function(r){i.push(e.onPrivate(t,r))}))})),this.states._apply(e,t),i.push(this.adapters._apply(e)),i.push(e.events.copyFrom(this.events)),new n.FV(i)}}),Object.defineProperty(e.prototype,"_setObjectTemplate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._entities.push(e)}}),Object.defineProperty(e.prototype,"_removeObjectTemplate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){a.remove(this._entities,e)}}),Object.defineProperty(e.prototype,"_stateChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._entities.forEach((function(t){t._applyStateByKey(e)}))}}),e}()},7255:function(e,t,i){"use strict";i.d(t,{V:function(){return a}});var r=i(1112),n=i(5040),a=function(){function e(){}return Object.defineProperty(e,"escape",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.replace(/\[\[/g,this.prefix+"1").replace(/([^\/\]]{1})\]\]/g,"$1"+this.prefix+"2").replace(/\]\]/g,this.prefix+"2").replace(/\{\{/g,this.prefix+"3").replace(/\}\}/g,this.prefix+"4").replace(/\'\'/g,this.prefix+"5")}}),Object.defineProperty(e,"unescape",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.replace(new RegExp(this.prefix+"1","g"),"[[").replace(new RegExp(this.prefix+"2","g"),"]]").replace(new RegExp(this.prefix+"3","g"),"{{").replace(new RegExp(this.prefix+"4","g"),"}}").replace(new RegExp(this.prefix+"5","g"),"''")}}),Object.defineProperty(e,"cleanUp",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")}}),Object.defineProperty(e,"chunk",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var r=[];e=this.escape(e);for(var a=t?e.split("'"):[e],o=0;o<a.length;o++){var s=a[o];if(""!==s)if(o%2==0)for(var l=(s=(s=s.replace(/\]\[/g,"]"+n.PLACEHOLDER+"[")).replace(/\[\]/g,"[ ]")).split(/[\[\]]+/),u=0;u<l.length;u++)(c=this.cleanUp(this.unescape(l[u])))!==n.PLACEHOLDER&&""!==c&&(u%2==0?r.push({type:"value",text:c}):r.push({type:i?"value":"format",text:"["+c+"]"}));else for(l=s.split(/[\[\]]+/),u=0;u<l.length;u++){var c;""!==(c=this.cleanUp(this.unescape(l[u])))&&(u%2==0?r.push({type:"text",text:c}):this.isImage(c)?r.push({type:"image",text:"["+c+"]"}):r.push({type:"format",text:"["+c+"]"}))}}return r}}),Object.defineProperty(e,"isImage",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return!!e.match(/img[ ]?:/)}}),Object.defineProperty(e,"getTextStyle",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t={};if(""==e||"[ ]"==e)return{};var i=e.match(/('[^']*')|("[^"]*")/gi);if(i)for(var n=0;n<i.length;n++)e=e.replace(i[n],i[n].replace(/['"]*/g,"").replace(/[ ]+/g,"+"));var a=e.match(/([\w\-]*:[\s]?[^;\s\]]*)|(\#[\w]{1,6})|([\w\-]+)|(\/)/gi);if(!a)return{};for(n=0;n<a.length;n++)if(a[n].match(/^(normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900)$/i))t.fontWeight=a[n];else if(a[n].match(/^(underline|line-through)$/i))t.textDecoration=a[n];else if("/"==a[n]);else if(a[n].match(/:/)){var o=a[n].replace("+"," ").split(/:[ ]*/);t[o[0]]=o[1]}else t.fill=r.Il.fromString(a[n]);return t}}),Object.defineProperty(e,"prefix",{enumerable:!0,configurable:!0,writable:!0,value:"__amcharts__"}),e}()},1926:function(e,t,i){"use strict";i.r(t),i.d(t,{add:function(){return g},checkChange:function(){return b},chooseInterval:function(){return v},copy:function(){return d},getDateIntervalDuration:function(){return h},getDuration:function(){return u},getIntervalDuration:function(){return c},getNextUnit:function(){return l},getTime:function(){return p},getUnitValue:function(){return m},now:function(){return f},round:function(){return y},sleep:function(){return o},timeUnitDurations:function(){return s}});var r=i(5125),n=i(5040),a=i(7652);function o(e){return new Promise((function(t,i){setTimeout(t,e)}))}var s={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2629742400,year:31536e6};function l(e){switch(e){case"year":return;case"month":return"year";case"week":case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function u(e,t){return null==t&&(t=1),s[e]*t}function c(e){return e?s[e.timeUnit]*e.count:0}function h(e,t,i,r,n){var a=e.timeUnit,o=e.count;if("hour"==a||"minute"==a||"second"==a||"millisecond"==a)return s[e.timeUnit]*e.count;var l=y(new Date(t.getTime()),a,o,i,r,void 0,n).getTime();return g(new Date(l),a,o,r).getTime()-l}function f(){return new Date}function p(){return f().getTime()}function d(e){return new Date(e.getTime())}function b(e,t,i,r,n){if(t-e>u(i,1.2))return!0;var a=new Date(e),o=new Date(t);n&&(a=n.convertLocal(a),o=n.convertLocal(o));var s=0,c=0;r||"millisecond"==i||(s=a.getTimezoneOffset(),a.setUTCMinutes(a.getUTCMinutes()-s),c=o.getTimezoneOffset(),o.setUTCMinutes(o.getUTCMinutes()-c));var h=!1;switch(i){case"year":a.getUTCFullYear()!=o.getUTCFullYear()&&(h=!0);break;case"month":(a.getUTCFullYear()!=o.getUTCFullYear()||a.getUTCMonth()!=o.getUTCMonth())&&(h=!0);break;case"day":(a.getUTCMonth()!=o.getUTCMonth()||a.getUTCDate()!=o.getUTCDate())&&(h=!0);break;case"hour":a.getUTCHours()!=o.getUTCHours()&&(h=!0);break;case"minute":a.getUTCMinutes()!=o.getUTCMinutes()&&(h=!0);break;case"second":a.getUTCSeconds()!=o.getUTCSeconds()&&(h=!0);break;case"millisecond":a.getTime()!=o.getTime()&&(h=!0)}if(h)return h;var f=l(i);return!!f&&b(e,t,f,r,n)}function g(e,t,i,r){var n=0;switch(r||"millisecond"==t||(n=e.getTimezoneOffset(),e.setUTCMinutes(e.getUTCMinutes()-n)),t){case"day":var a=e.getUTCDate();e.setUTCDate(a+i);break;case"second":var o=e.getUTCSeconds();e.setUTCSeconds(o+i);break;case"millisecond":var s=e.getUTCMilliseconds();e.setUTCMilliseconds(s+i);break;case"hour":var l=e.getUTCHours();e.setUTCHours(l+i);break;case"minute":var u=e.getUTCMinutes();e.setUTCMinutes(u+i);break;case"year":var c=e.getUTCFullYear();e.setUTCFullYear(c+i);break;case"month":var h=e.getUTCMonth();e.setUTCMonth(h+i);break;case"week":var f=e.getUTCDate();e.setUTCDate(f+7*i)}if(!r&&"millisecond"!=t&&(e.setUTCMinutes(e.getUTCMinutes()+n),"day"==t||"week"==t||"month"==t||"year"==t)){var p=e.getTimezoneOffset();if(p!=n){var d=p-n;e.setUTCMinutes(e.getUTCMinutes()+d),e.getTimezoneOffset()!=p&&e.setUTCMinutes(e.getUTCMinutes()-d)}}return e}function y(e,t,i,r,a,o,s){if(!s||a){var l=0;switch(a||"millisecond"==t||(l=e.getTimezoneOffset(),e.setUTCMinutes(e.getUTCMinutes()-l)),t){case"day":var c=e.getUTCDate();if(i>1){if(o){o=y(o,"day",1);var h=e.getTime()-o.getTime(),f=Math.floor(h/u("day")/i),p=u("day",f*i);e.setTime(o.getTime()+p-l*u("minute"))}}else e.setUTCDate(c);e.setUTCHours(0,0,0,0);break;case"second":var d=e.getUTCSeconds();i>1&&(d=Math.floor(d/i)*i),e.setUTCSeconds(d,0);break;case"millisecond":if(1==i)return e;var b=e.getUTCMilliseconds();b=Math.floor(b/i)*i,e.setUTCMilliseconds(b);break;case"hour":var g=e.getUTCHours();i>1&&(g=Math.floor(g/i)*i),e.setUTCHours(g,0,0,0);break;case"minute":var v=e.getUTCMinutes();b=e.getUTCMilliseconds(),i>1&&(v=Math.floor(v/i)*i),e.setUTCMinutes(v,0,0);break;case"month":var m=e.getUTCMonth();i>1&&(m=Math.floor(m/i)*i),e.setUTCMonth(m,1),e.setUTCHours(0,0,0,0);break;case"year":var _=e.getUTCFullYear();i>1&&(_=Math.floor(_/i)*i),e.setUTCFullYear(_,0,1),e.setUTCHours(0,0,0,0);break;case"week":var w=e.getUTCDate(),P=e.getUTCDay();n.isNumber(r)||(r=1),w=P>=r?w-P+r:w-(7+P)+r,e.setUTCDate(w),e.setUTCHours(0,0,0,0)}if(!a&&"millisecond"!=t&&(e.setUTCMinutes(e.getUTCMinutes()+l),"day"==t||"week"==t||"month"==t||"year"==t)){var O=e.getTimezoneOffset();if(O!=l){var x=O-l;e.setUTCMinutes(e.getUTCMinutes()+x)}}return e}if(isNaN(e.getTime()))return e;var j=s.offsetUTC(e),k=(l=e.getTimezoneOffset(),s.parseDate(e)),T=(_=k.year,m=k.month,c=k.day,k.hour),D=k.minute,C=k.second,S=k.millisecond,M=k.weekday;switch(t){case"day":o&&(o=y(o,"day",1),h=e.getTime()-o.getTime(),f=Math.floor(h/u("day")/i),p=u("day",f*i),e.setTime(o.getTime()+p-l*u("minute")),_=(k=s.parseDate(e)).year,m=k.month,c=k.day),T=0,D=0,C=0,S=0;break;case"second":i>1&&(C=Math.floor(C/i)*i),S=0;break;case"millisecond":i>1&&(S=Math.floor(S/i)*i);break;case"hour":i>1&&(T=Math.floor(T/i)*i),D=0,C=0,S=0;break;case"minute":i>1&&(D=Math.floor(D/i)*i),C=0,S=0;break;case"month":i>1&&(m=Math.floor(m/i)*i),c=1,T=0,D=0,C=0,S=0;break;case"year":i>1&&(_=Math.floor(_/i)*i),m=0,c=1,T=0,D=0,C=0,S=0;break;case"week":n.isNumber(r)||(r=1),c=M>=r?c-M+r:c-(7+M)+r,T=0,D=0,C=0,S=0}D+=j-l;var E=(e=new Date(_,m,c,T,D,C,S)).getTimezoneOffset();return E!=l&&e.setTime(e.getTime()+6e4*(l-E)),e}function v(e,t,i,n){var a=c(n[e]),o=n.length-1;if(e>=o)return(0,r.pi)({},n[o]);var s=Math.ceil(t/a);return t<a&&e>0?(0,r.pi)({},n[e-1]):s<=i?(0,r.pi)({},n[e]):e+1<n.length?v(e+1,t,i,n):(0,r.pi)({},n[e])}function m(e,t){switch(t){case"day":return e.getDate();case"second":return e.getSeconds();case"millisecond":return e.getMilliseconds();case"hour":return e.getHours();case"minute":return e.getMinutes();case"month":return e.getMonth();case"year":return e.getFullYear();case"week":return a.getWeek(e)}}},5040:function(e,t,i){"use strict";function r(e){return Number(e)!==e}function n(e){return{}.toString.call(e)}function a(e){if(null!=e&&!h(e)){var t=Number(e);return r(t)&&c(e)&&""!=e?a(e.replace(/[^0-9.\-]+/g,"")):t}return e}function o(e){if(u(e))return new Date(e);if(h(e))return new Date(e);var t=Number(e);return h(t)?new Date(t):new Date(e)}function s(e){if(r(e))return"NaN";if(e===1/0)return"Infinity";if(e===-1/0)return"-Infinity";if(0===e&&1/e==-1/0)return"-0";var t=e<0;e=Math.abs(e);var i,n=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+e),a=n[1],o=n[2]||"";if(void 0===n[3])i=""===o?a:a+"."+o;else{var s,u=+n[3];i=e<1?"0."+l("0",s=u-1)+a+o:0==(s=u-o.length)?a+o:s<0?a+o.slice(0,s)+"."+o.slice(s):a+o+l("0",s)}return t?"-"+i:i}function l(e,t){return new Array(t+1).join(e)}function u(e){return"[object Date]"===n(e)}function c(e){return"string"==typeof e}function h(e){return"number"==typeof e&&Number(e)==e}function f(e){return"object"==typeof e&&null!==e}function p(e){return Array.isArray(e)}i.r(t),i.d(t,{PLACEHOLDER:function(){return d},PLACEHOLDER2:function(){return b},getType:function(){return n},isArray:function(){return p},isDate:function(){return u},isNaN:function(){return r},isNumber:function(){return h},isObject:function(){return f},isString:function(){return c},numberToString:function(){return s},repeat:function(){return l},toDate:function(){return o},toNumber:function(){return a}});var d="__§§§__",b="__§§§§__"},7652:function(e,t,i){"use strict";i.r(t),i.d(t,{StyleRule:function(){return j},StyleSheet:function(){return k},addClass:function(){return T},addEventListener:function(){return h},alternativeColor:function(){return re},blur:function(){return b},brighten:function(){return Q},capitalizeFirst:function(){return X},cleanFormat:function(){return I},contains:function(){return w},decimalPlaces:function(){return E},escapeForRgex:function(){return z},focus:function(){return g},get12Hours:function(){return W},getBrightnessStep:function(){return ee},getDayFromWeek:function(){return U},getFormat:function(){return L},getLightnessStep:function(){return J},getMonthWeek:function(){return G},getPointerId:function(){return d},getRendererEvent:function(){return y},getSafeResolution:function(){return S},getShadowRoot:function(){return x},getStyle:function(){return _},getTimeZone:function(){return Z},getWeek:function(){return Y},getYearDay:function(){return V},hslToRgb:function(){return K},iOS:function(){return C},isLight:function(){return te},isLocalEvent:function(){return P},isTouchEvent:function(){return v},lighten:function(){return q},mergeTags:function(){return ne},onZoom:function(){return f},padString:function(){return A},plainText:function(){return F},ready:function(){return u},relativeToValue:function(){return M},removeClass:function(){return D},removeElement:function(){return c},rgbToHsl:function(){return $},sameBounds:function(){return ae},saturate:function(){return ie},setInteractive:function(){return O},setStyle:function(){return m},stripTags:function(){return H},supports:function(){return p},trim:function(){return N},trimLeft:function(){return R},trimRight:function(){return B}});var r,n=i(5125),a=i(5040),o=i(5071),s=i(256),l=i(7449);function u(e){if("loading"!==document.readyState)e();else{var t=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",t),e())};document.addEventListener("readystatechange",t)}}function c(e){e.parentNode&&e.parentNode.removeChild(e)}function h(e,t,i,r){return e.addEventListener(t,i,r||!1),new l.ku((function(){e.removeEventListener(t,i,r||!1)}))}function f(e){return h(window,"resize",(function(t){e()}))}function p(e){switch(e){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function d(e){return e.pointerId||0}function b(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{var e=document.createElement("button");e.style.position="fixed",e.style.top="0px",e.style.left="-10000px",document.body.appendChild(e),e.focus(),e.blur(),document.body.removeChild(e)}}function g(e){e&&e.focus()}function y(e){if(p("pointerevents"))return e;if(p("touchevents"))switch(e){case"pointerover":case"pointerdown":return"touchstart";case"pointerout":case"pointerup":return"touchend";case"pointermove":return"touchmove";case"click":return"click";case"dblclick":return"dblclick"}else if(p("mouseevents"))switch(e){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return e}function v(e){if("undefined"!=typeof Touch&&e instanceof Touch)return!0;if("undefined"!=typeof PointerEvent&&e instanceof PointerEvent&&null!=e.pointerType)switch(e.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(e instanceof MouseEvent)}else if(null!=e.type&&e.type.match(/^mouse/))return!1;return!0}function m(e,t,i){e.style[t]=i}function _(e,t){return e.style[t]}function w(e,t){for(var i=t;;){if(e===i)return!0;if(null===i.parentNode){if(null==i.host)return!1;i=i.host}else i=i.parentNode}}function P(e,t){return e.target&&w(t.root.dom,e.target)}function O(e,t){e.style.pointerEvents=t?"":"none"}function x(e){for(var t=e;;){if(null===t.parentNode)return null!=t.host?t:null;t=t.parentNode}}var j=function(e){function t(t,i,n,a){void 0===a&&(a="");var o=e.call(this)||this;return Object.defineProperty(o,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(o,"_rule",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),o._root=function(e,t){return void 0===t&&(t=""),null===e?(null==r&&((i=document.createElement("style")).type="text/css",""!=t&&i.setAttribute("nonce",t),document.head.appendChild(i),r=i.sheet),r):((i=document.createElement("style")).type="text/css",""!=t&&i.setAttribute("nonce",t),e.appendChild(i),i.sheet);var i}(t,a),o._rule=function(e,t){var i=e.cssRules.length;return e.insertRule(t+"{}",i),e.cssRules[i]}(o._root,i),s.each(n,(function(e,t){o.setStyle(e,t)})),o}return(0,n.ZT)(t,e),Object.defineProperty(t.prototype,"selector",{get:function(){return this._rule.selectorText},set:function(e){this._rule.selectorText=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=o.indexOf(this._root.cssRules,this._rule);if(-1===e)throw new Error("Could not dispose StyleRule");this._root.deleteRule(e)}}),Object.defineProperty(t.prototype,"_setVendorPrefixName",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this._rule.style;i.setProperty("-webkit-"+e,t,""),i.setProperty("-moz-"+e,t,""),i.setProperty("-ms-"+e,t,""),i.setProperty("-o-"+e,t,""),i.setProperty(e,t,"")}}),Object.defineProperty(t.prototype,"setStyle",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){"transition"===e?this._setVendorPrefixName(e,t):this._rule.style.setProperty(e,t,"")}}),t}(l.KK),k=function(e){function t(t,i,r){void 0===r&&(r="");var n=e.call(this)||this;return Object.defineProperty(n,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),n._element=function(e,t,i){void 0===i&&(i="");var r=document.createElement("style");return r.type="text/css",""!=i&&r.setAttribute("nonce",i),r.textContent=t,null===e?document.head.appendChild(r):e.appendChild(r),r}(t,i,r),n}return(0,n.ZT)(t,e),Object.defineProperty(t.prototype,"_dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}}),t}(l.KK);function T(e,t){if(e)if(e.classList){var i=t.split(" ");o.each(i,(function(t){e.classList.add(t)}))}else{var r=e.getAttribute("class");r?e.setAttribute("class",r.split(" ").filter((function(e){return e!==t})).join(" ")+" "+t):e.setAttribute("class",t)}}function D(e,t){if(e)if(e.classList)e.classList.remove(t);else{var i=e.getAttribute("class");i&&e.setAttribute("class",i.split(" ").filter((function(e){return e!==t})).join(" "))}}function C(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function S(){return C()?1:void 0}function M(e,t){return a.isNumber(e)?e:null!=e&&a.isNumber(e.value)&&a.isNumber(t)?t*e.value:0}function E(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function A(e,t,i){return void 0===t&&(t=0),void 0===i&&(i="0"),"string"!=typeof e&&(e=e.toString()),t>e.length?Array(t-e.length+1).join(i)+e:e}function R(e){return e.replace(/^[\s]*/,"")}function B(e){return e.replace(/[\s]*$/,"")}function N(e){return R(B(e))}function L(e){if(void 0===e)return"string";var t=(e=(e=(e=e.toLowerCase().replace(/^\[[^\]]*\]/,"")).replace(/\[[^\]]+\]/,"")).trim()).match(/\/(date|number|duration)$/);return t?t[1]:"number"===e?"number":"date"===e?"date":"duration"===e?"duration":e.match(/[#0]/)?"number":e.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function I(e){return e.replace(/\/(date|number|duration)$/i,"")}function H(e){return e?e.replace(/<[^>]*>/g,""):e}function F(e){return e?H((""+e).replace(/[\n\r]+/g,". ")):e}function z(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function V(e,t){void 0===t&&(t=!1);var i=new Date(e.getFullYear(),0,0),r=e.getTime()-i.getTime()+60*(i.getTimezoneOffset()-e.getTimezoneOffset())*1e3;return Math.floor(r/864e5)}function Y(e,t){void 0===t&&(t=!1);var i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),r=i.getUTCDay()||7;i.setUTCDate(i.getUTCDate()+4-r);var n=new Date(Date.UTC(i.getUTCFullYear(),0,1));return Math.ceil(((i.getTime()-n.getTime())/864e5+1)/7)}function G(e,t){void 0===t&&(t=!1);var i=Y(new Date(e.getFullYear(),e.getMonth(),1),t),r=Y(e,t);return 1==r&&(r=53),r-i+1}function U(e,t,i,r){void 0===i&&(i=1),void 0===r&&(r=!1);var n=new Date(t,0,4,0,0,0,0);return r&&n.setUTCFullYear(t),7*e+i-((n.getDay()||7)+3)}function W(e,t){return e>12?e-=12:0===e&&(e=12),null!=t?e+(t-1):e}function Z(e,t,i,r){if(void 0===t&&(t=!1),void 0===i&&(i=!1),void 0===r&&(r=!1),r)return t?"Coordinated Universal Time":"UTC";var n=e.toLocaleString("UTC"),a=e.toLocaleString("UTC",{timeZoneName:t?"long":"short"}).substr(n.length);return!1===i&&(a=a.replace(/ (standard|daylight|summer|winter) /i," ")),a}function X(e){return e.charAt(0).toUpperCase()+e.slice(1)}function K(e){var t,i,r,n=e.h,a=e.s,o=e.l;if(0==a)t=i=r=o;else{var s=function(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+6*(t-e)*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e},l=o<.5?o*(1+a):o+a-o*a,u=2*o-l;t=s(u,l,n+1/3),i=s(u,l,n),r=s(u,l,n-1/3)}return{r:Math.round(255*t),g:Math.round(255*i),b:Math.round(255*r)}}function $(e){var t=e.r/255,i=e.g/255,r=e.b/255,n=Math.max(t,i,r),a=Math.min(t,i,r),o=0,s=0,l=(n+a)/2;if(n===a)o=s=0;else{var u=n-a;switch(s=l>.5?u/(2-n-a):u/(n+a),n){case t:o=(i-r)/u+(i<r?6:0);break;case i:o=(r-t)/u+2;break;case r:o=(t-i)/u+4}o/=6}return{h:o,s:s,l:l}}function q(e,t){return e?{r:Math.max(0,Math.min(255,e.r+J(e.r,t))),g:Math.max(0,Math.min(255,e.g+J(e.g,t))),b:Math.max(0,Math.min(255,e.b+J(e.b,t))),a:e.a}:e}function J(e,t){var i=t>0?255-e:e;return Math.round(i*t)}function Q(e,t){if(e){var i=J(Math.min(Math.max(e.r,e.g,e.b),230),t);return{r:Math.max(0,Math.min(255,Math.round(e.r+i))),g:Math.max(0,Math.min(255,Math.round(e.g+i))),b:Math.max(0,Math.min(255,Math.round(e.b+i))),a:e.a}}return e}function ee(e,t){return Math.round(255*t)}function te(e){return(299*e.r+587*e.g+114*e.b)/1e3>=128}function ie(e,t){if(void 0===e||1==t)return e;var i=$(e);return i.s=t,K(i)}function re(e,t,i){void 0===t&&(t={r:255,g:255,b:255}),void 0===i&&(i={r:255,g:255,b:255});var r=t,n=i;return te(i)&&(r=i,n=t),te(e)?n:r}function ne(e,t){return e||(e=[]),(0,n.ev)((0,n.ev)([],(0,n.CR)(e),!1),(0,n.CR)(t),!1).filter((function(e,t,i){return i.indexOf(e)===t}))}function ae(e,t){return!!t&&e.left==t.left&&e.right==t.right&&e.top==t.top&&e.bottom==t.bottom}},3783:function(e,t,i){"use strict";i.d(t,{X:function(){return c},v:function(){return u}});var r=i(5125),n=i(3409),a=i(6245),o=i(1112),s=i(6881),l=i(9395);function u(e,t,i,r){e.set(t,i.get(r)),i.on(r,(function(i){e.set(t,i)}))}var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"setupDefaultRules",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype.setupDefaultRules.call(this);var t,i=this._root.language,r=this._root.interfaceColors,n=this._root.horizontalLayout,c=this._root.verticalLayout,h=this.rule.bind(this);h("InterfaceColors").setAll({stroke:o.Il.fromHex(15066597),fill:o.Il.fromHex(15987699),primaryButton:o.Il.fromHex(6788316),primaryButtonHover:o.Il.fromHex(6779356),primaryButtonDown:o.Il.fromHex(6872182),primaryButtonActive:o.Il.fromHex(6872182),primaryButtonText:o.Il.fromHex(16777215),primaryButtonStroke:o.Il.fromHex(16777215),secondaryButton:o.Il.fromHex(14277081),secondaryButtonHover:o.Il.fromHex(10724259),secondaryButtonDown:o.Il.fromHex(9276813),secondaryButtonActive:o.Il.fromHex(15132390),secondaryButtonText:o.Il.fromHex(0),secondaryButtonStroke:o.Il.fromHex(16777215),grid:o.Il.fromHex(0),background:o.Il.fromHex(16777215),alternativeBackground:o.Il.fromHex(0),text:o.Il.fromHex(0),alternativeText:o.Il.fromHex(16777215),disabled:o.Il.fromHex(11382189),positive:o.Il.fromHex(5288704),negative:o.Il.fromHex(11730944)}),(t=h("ColorSet")).setAll({passOptions:{hue:.05,saturation:0,lightness:0},colors:[o.Il.fromHex(6797276)],step:1,reuse:!1,startIndex:0}),t.setPrivate("currentStep",0),t.setPrivate("currentPass",0),h("Entity").setAll({stateAnimationDuration:0,stateAnimationEasing:l.out(l.cubic)}),h("Component").setAll({interpolationDuration:0,interpolationEasing:l.out(l.cubic)}),h("Sprite").setAll({visible:!0,scale:1,opacity:1,rotation:0,position:"relative",tooltipX:a.CI,tooltipY:a.CI,tooltipPosition:"fixed",isMeasured:!0}),h("Sprite").states.create("default",{visible:!0,opacity:1}),h("Container").setAll({interactiveChildren:!0,setStateOnChildren:!1}),h("Graphics").setAll({strokeWidth:1}),h("Chart").setAll({width:a.AQ,height:a.AQ,interactiveChildren:!1}),h("Sprite",["horizontal","center"]).setAll({centerX:a.CI,x:a.CI}),h("Sprite",["vertical","center"]).setAll({centerY:a.CI,y:a.CI}),h("Container",["horizontal","layout"]).setAll({layout:n}),h("Container",["vertical","layout"]).setAll({layout:c}),h("Pattern").setAll({repetition:"repeat",width:50,height:50,rotation:0,fillOpacity:1}),h("LinePattern").setAll({gap:6,colorOpacity:1,width:49,height:49}),h("RectanglePattern").setAll({gap:6,checkered:!1,centered:!0,maxWidth:5,maxHeight:5,width:48,height:48,strokeWidth:0}),h("CirclePattern").setAll({gap:5,checkered:!1,centered:!1,radius:3,strokeWidth:0,width:45,height:45}),h("LinearGradient").setAll({rotation:90}),h("Legend").setAll({fillField:"fill",strokeField:"stroke",nameField:"name",layout:s.M.new(this._root,{}),layer:30,clickTarget:"itemContainer"}),h("Container",["legend","item","itemcontainer"]).setAll({paddingLeft:5,paddingRight:5,paddingBottom:5,paddingTop:5,layout:n,setStateOnChildren:!0,interactiveChildren:!1,ariaChecked:!0,focusable:!0,ariaLabel:i.translate("Press ENTER to toggle")}),(t=h("Rectangle",["legend","item","background"])).setAll({fillOpacity:0}),u(t,"fill",r,"background"),h("Container",["legend","marker"]).setAll({setStateOnChildren:!0,centerY:a.CI,paddingLeft:0,paddingRight:0,paddingBottom:0,paddingTop:0,width:18,height:18}),h("RoundedRectangle",["legend","marker","rectangle"]).setAll({width:a.AQ,height:a.AQ,cornerRadiusBL:3,cornerRadiusTL:3,cornerRadiusBR:3,cornerRadiusTR:3}),u(t=h("RoundedRectangle",["legend","marker","rectangle"]).states.create("disabled",{}),"fill",r,"disabled"),u(t,"stroke",r,"disabled"),h("Label",["legend","label"]).setAll({centerY:a.CI,marginLeft:5,paddingRight:0,paddingLeft:0,paddingTop:0,paddingBottom:0,populateText:!0}),u(t=h("Label",["legend","label"]).states.create("disabled",{}),"fill",r,"disabled"),h("Label",["legend","value","label"]).setAll({centerY:a.CI,marginLeft:5,paddingRight:0,paddingLeft:0,paddingTop:0,paddingBottom:0,width:50,centerX:a.AQ,populateText:!0}),u(t=h("Label",["legend","value","label"]).states.create("disabled",{}),"fill",r,"disabled"),h("HeatLegend").setAll({stepCount:1}),h("RoundedRectangle",["heatlegend","marker"]).setAll({cornerRadiusTR:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusBL:0}),h("RoundedRectangle",["vertical","heatlegend","marker"]).setAll({height:a.AQ,width:15}),h("RoundedRectangle",["horizontal","heatlegend","marker"]).setAll({width:a.AQ,height:15}),h("HeatLegend",["vertical"]).setAll({height:a.AQ}),h("HeatLegend",["horizontal"]).setAll({width:a.AQ}),h("Label",["heatlegend","start"]).setAll({paddingLeft:5,paddingRight:5,paddingTop:5,paddingBottom:5}),h("Label",["heatlegend","end"]).setAll({paddingLeft:5,paddingRight:5,paddingTop:5,paddingBottom:5}),(t=h("Label")).setAll({paddingTop:8,paddingBottom:8,paddingLeft:10,paddingRight:10,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontSize:"1em",populateText:!1}),u(t,"fill",r,"text"),h("RadialLabel").setAll({textType:"regular",centerY:a.CI,centerX:a.CI,inside:!1,radius:0,baseRadius:a.AQ,orientation:"auto",textAlign:"center"}),h("RoundedRectangle").setAll({cornerRadiusTL:8,cornerRadiusBL:8,cornerRadiusTR:8,cornerRadiusBR:8}),h("PointedRectangle").setAll({pointerBaseWidth:15,pointerLength:10,cornerRadius:8}),h("Slice").setAll({shiftRadius:0,dRadius:0,dInnerRadius:0}),(t=h("Tick")).setAll({strokeOpacity:.15,isMeasured:!1,length:5,position:"absolute"}),u(t,"stroke",r,"grid"),h("Bullet").setAll({locationX:.5,locationY:.5}),h("Tooltip").setAll({position:"absolute",getFillFromSprite:!0,getStrokeFromSprite:!1,autoTextColor:!0,paddingTop:9,paddingBottom:8,paddingLeft:10,paddingRight:10,marginBottom:5,pointerOrientation:"vertical",centerX:a.CI,centerY:a.CI,animationEasing:l.out(l.cubic),exportable:!1}),(t=h("PointedRectangle",["tooltip","background"])).setAll({strokeOpacity:.9,cornerRadius:4,pointerLength:4,pointerBaseWidth:8,fillOpacity:.9,stroke:o.Il.fromHex(16777215)}),(t=h("Label",["tooltip"])).setAll({role:"tooltip",populateText:!0,paddingRight:0,paddingTop:0,paddingLeft:0,paddingBottom:0}),u(t,"fill",r,"alternativeText"),h("Button").setAll({paddingTop:8,paddingBottom:8,paddingLeft:10,paddingRight:10,interactive:!0,layout:n,interactiveChildren:!1,setStateOnChildren:!0,focusable:!0}),h("Button").states.create("hover",{}),h("Button").states.create("down",{stateAnimationDuration:0}),h("Button").states.create("active",{}),u(t=h("RoundedRectangle",["button","background"]),"fill",r,"primaryButton"),u(t,"stroke",r,"primaryButtonStroke"),u(t=h("RoundedRectangle",["button","background"]).states.create("hover",{}),"fill",r,"primaryButtonHover"),u(t=h("RoundedRectangle",["button","background"]).states.create("down",{stateAnimationDuration:0}),"fill",r,"primaryButtonDown"),u(t=h("RoundedRectangle",["button","background"]).states.create("active",{}),"fill",r,"primaryButtonActive"),u(t=h("Graphics",["button","icon"]),"stroke",r,"primaryButtonText"),u(t=h("Label",["button"]),"fill",r,"primaryButtonText"),h("Button",["zoom"]).setAll({paddingTop:18,paddingBottom:18,paddingLeft:12,paddingRight:12,centerX:46,centerY:-10,y:0,x:a.AQ,role:"button",ariaLabel:i.translate("Zoom Out"),layer:30}),(t=h("RoundedRectangle",["background","button","zoom"])).setAll({cornerRadiusBL:40,cornerRadiusBR:40,cornerRadiusTL:40,cornerRadiusTR:40}),u(t,"fill",r,"primaryButton"),u(t=h("RoundedRectangle",["background","button","zoom"]).states.create("hover",{}),"fill",r,"primaryButtonHover"),u(t=h("RoundedRectangle",["background","button","zoom"]).states.create("down",{stateAnimationDuration:0}),"fill",r,"primaryButtonDown"),(t=h("Graphics",["icon","button","zoom"])).setAll({strokeOpacity:.7,draw:function(e){e.moveTo(0,0),e.lineTo(12,0)}}),u(t,"stroke",r,"primaryButtonText"),h("Button",["resize"]).setAll({paddingTop:9,paddingBottom:9,paddingLeft:13,paddingRight:13,draggable:!0,centerX:a.CI,centerY:a.CI,position:"absolute",role:"slider",ariaValueMin:"0",ariaValueMax:"100",ariaLabel:i.translate("Use up and down arrows to move selection")}),(t=h("RoundedRectangle",["background","resize","button"])).setAll({cornerRadiusBL:40,cornerRadiusBR:40,cornerRadiusTL:40,cornerRadiusTR:40}),u(t,"fill",r,"secondaryButton"),u(t,"stroke",r,"secondaryButtonStroke"),u(t=h("RoundedRectangle",["background","resize","button"]).states.create("hover",{}),"fill",r,"secondaryButtonHover"),u(t=h("RoundedRectangle",["background","resize","button"]).states.create("down",{stateAnimationDuration:0}),"fill",r,"secondaryButtonDown"),(t=h("Graphics",["resize","button","icon"])).setAll({strokeOpacity:.7,draw:function(e){e.moveTo(0,0),e.lineTo(0,12),e.moveTo(4,0),e.lineTo(4,12)}}),u(t,"stroke",r,"secondaryButtonText"),h("Button",["resize","vertical"]).setAll({rotation:90,cursorOverStyle:"ns-resize"}),h("Button",["resize","horizontal"]).setAll({cursorOverStyle:"ew-resize"}),h("Button",["play"]).setAll({paddingTop:13,paddingBottom:13,paddingLeft:14,paddingRight:14,ariaLabel:i.translate("Play"),toggleKey:"active"}),(t=h("RoundedRectangle",["play","background"])).setAll({strokeOpacity:.5,cornerRadiusBL:100,cornerRadiusBR:100,cornerRadiusTL:100,cornerRadiusTR:100}),u(t,"fill",r,"primaryButton"),(t=h("Graphics",["play","icon"])).setAll({stateAnimationDuration:0,dx:1,draw:function(e){e.moveTo(0,-5),e.lineTo(8,0),e.lineTo(0,5),e.lineTo(0,-5)}}),u(t,"fill",r,"primaryButtonText"),h("Graphics",["play","icon"]).states.create("default",{stateAnimationDuration:0}),h("Graphics",["play","icon"]).states.create("active",{stateAnimationDuration:0,draw:function(e){e.moveTo(-4,-5),e.lineTo(-1,-5),e.lineTo(-1,5),e.lineTo(-4,5),e.lineTo(-4,-5),e.moveTo(4,-5),e.lineTo(1,-5),e.lineTo(1,5),e.lineTo(4,5),e.lineTo(4,-5)}}),h("Button",["switch"]).setAll({paddingTop:4,paddingBottom:4,paddingLeft:4,paddingRight:4,ariaLabel:i.translate("Press ENTER to toggle"),toggleKey:"active",width:40,height:24,layout:null}),(t=h("RoundedRectangle",["switch","background"])).setAll({strokeOpacity:.5,cornerRadiusBL:100,cornerRadiusBR:100,cornerRadiusTL:100,cornerRadiusTR:100}),u(t,"fill",r,"primaryButton"),(t=h("Circle",["switch","icon"])).setAll({radius:8,centerY:0,centerX:0,dx:0}),u(t,"fill",r,"primaryButtonText"),h("Graphics",["switch","icon"]).states.create("active",{dx:16}),h("Scrollbar").setAll({start:0,end:1,layer:30,animationEasing:l.out(l.cubic)}),h("Scrollbar",["vertical"]).setAll({marginRight:13,marginLeft:13,minWidth:12,height:a.AQ}),h("Scrollbar",["horizontal"]).setAll({marginTop:13,marginBottom:13,minHeight:12,width:a.AQ}),this.rule("Button",["scrollbar"]).setAll({exportable:!1}),(t=h("RoundedRectangle",["scrollbar","main","background"])).setAll({cornerRadiusTL:8,cornerRadiusBL:8,cornerRadiusTR:8,cornerRadiusBR:8,fillOpacity:.8}),u(t,"fill",r,"fill"),(t=h("RoundedRectangle",["scrollbar","thumb"])).setAll({role:"slider",ariaLive:"polite",position:"absolute",draggable:!0}),u(t,"fill",r,"secondaryButton"),u(t=h("RoundedRectangle",["scrollbar","thumb"]).states.create("hover",{}),"fill",r,"secondaryButtonHover"),u(t=h("RoundedRectangle",["scrollbar","thumb"]).states.create("down",{stateAnimationDuration:0}),"fill",r,"secondaryButtonDown"),h("RoundedRectangle",["scrollbar","thumb","vertical"]).setAll({x:a.CI,width:a.AQ,centerX:a.CI,ariaLabel:i.translate("Use up and down arrows to move selection")}),h("RoundedRectangle",["scrollbar","thumb","horizontal"]).setAll({y:a.CI,centerY:a.CI,height:a.AQ,ariaLabel:i.translate("Use left and right arrows to move selection")}),(t=h("PointedRectangle",["axis","tooltip","background"])).setAll({cornerRadius:0}),u(t,"fill",r,"alternativeBackground"),h("Label",["axis","tooltip"]).setAll({role:void 0}),h("Label",["axis","tooltip","y"]).setAll({textAlign:"right"}),h("Label",["axis","tooltip","y","opposite"]).setAll({textAlign:"left"}),h("Label",["axis","tooltip","x"]).setAll({textAlign:"center"}),h("Tooltip",["categoryaxis"]).setAll({labelText:"{category}"}),h("Star").setAll({spikes:5,innerRadius:5,radius:10}),h("Tooltip",["stock"]).setAll({paddingTop:6,paddingBottom:5,paddingLeft:7,paddingRight:7}),h("PointedRectangle",["tooltip","stock","axis"]).setAll({pointerLength:0,pointerBaseWidth:0,cornerRadius:3}),h("Label",["tooltip","stock"]).setAll({fontSize:"0.8em"}),h("SpriteResizer").setAll({rotationStep:10}),(t=h("Container",["resizer","grip"])).states.create("hover",{}),(t=h("RoundedRectangle",["resizer","grip"])).setAll({strokeOpacity:.7,strokeWidth:1,fillOpacity:1,width:12,height:12}),u(t,"fill",r,"background"),u(t,"stroke",r,"alternativeBackground"),(t=h("RoundedRectangle",["resizer","grip","outline"])).setAll({strokeOpacity:0,fillOpacity:0,width:20,height:20}),t.states.create("hover",{fillOpacity:.3}),u(t,"fill",r,"alternativeBackground"),h("RoundedRectangle",["resizer","grip","left"]).setAll({cornerRadiusBL:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusTR:0}),h("RoundedRectangle",["resizer","grip","right"]).setAll({cornerRadiusBL:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusTR:0}),(t=h("Rectangle",["resizer","rectangle"])).setAll({strokeDasharray:[2,2],strokeOpacity:.5,strokeWidth:1}),u(t,"stroke",r,"alternativeBackground")}}),t}(n.Q)},7187:function(e,t,i){"use strict";i.r(t),i.d(t,{ArrayDisposer:function(){return c.rk},Bullet:function(){return h.g},Button:function(){return f.z},CSVParser:function(){return pe},Chart:function(){return W.k},Circle:function(){return p.C},CirclePattern:function(){return ae},Color:function(){return k.Il},ColorSet:function(){return ue.U},Component:function(){return v.w},Container:function(){return m.W},CounterDisposer:function(){return c.DM},DataItem:function(){return v.z},DataProcessor:function(){return de},DateFormatter:function(){return be.C},Disposer:function(){return c.ku},DurationFormatter:function(){return ge.$},Ellipse:function(){return d.P},Entity:function(){return u.JH},Gradient:function(){return ee.p},Graphics:function(){return g.T},GridLayout:function(){return _.M},HeatLegend:function(){return S},HorizontalLayout:function(){return M.G},InterfaceColors:function(){return ye.v},JSONParser:function(){return fe},JsonData:function(){return ce.Q},Label:function(){return w._},Layout:function(){return E.A},Legend:function(){return A.D},Line:function(){return R.x},LinePattern:function(){return oe},LinearGradient:function(){return D.o},ListData:function(){return ce.k},Modal:function(){return l.u},MultiDisposer:function(){return c.FV},MutableValueDisposer:function(){return c.cx},NumberFormatter:function(){return ve.e},Pattern:function(){return re.c},Percent:function(){return P.gG},Picture:function(){return B.t},PicturePattern:function(){return se.v},PointedRectangle:function(){return N.i},RadialGradient:function(){return ie},RadialLabel:function(){return L.x},RadialText:function(){return I.f},Rectangle:function(){return H.A},RectanglePattern:function(){return le},Root:function(){return n.f},RoundedRectangle:function(){return O.c},Scrollbar:function(){return z.L},SerialChart:function(){return Z.j},Series:function(){return U.F},Slice:function(){return Y.p},Slider:function(){return V},Sprite:function(){return G.j},SpriteResizer:function(){return _e.b},Star:function(){return y},Template:function(){return x.YS},Text:function(){return X.x},TextFormatter:function(){return me.V},Theme:function(){return a.Q},Tick:function(){return K.d},Timezone:function(){return Q},Tooltip:function(){return T.u},Triangle:function(){return F},VerticalLayout:function(){return $.Z},addLicense:function(){return o.cP},array:function(){return te},color:function(){return k.$_},disposeAllRootElements:function(){return o.UZ},ease:function(){return we},math:function(){return ne},net:function(){return r},object:function(){return he},p0:function(){return P.p0},p100:function(){return P.AQ},p50:function(){return P.CI},percent:function(){return P.aQ},ready:function(){return s.ready},registry:function(){return o.i_},time:function(){return xe},type:function(){return C},utils:function(){return s}});var r={};i.r(r),i.d(r,{load:function(){return Pe},readBlob:function(){return Oe}});var n=i(6493),a=i(3409),o=i(3145),s=i(7652),l=i(8219),u=i(6331),c=i(7449),h=i(5108),f=i(8054),p=i(8035),d=i(2433),b=i(5125),g=i(1479),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),(this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("spikes"))&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(e.prototype._changed.call(this),this._clear){var t=this._display,i=this.get("radius",0),r=s.relativeToValue(this.get("innerRadius",0),i),n=this.get("spikes",0),a=Math.PI/n,o=Math.PI/2*3;t.moveTo(0,-i);for(var l=0;l<n;l++)t.lineTo(Math.cos(o)*i,Math.sin(o)*i),o+=a,t.lineTo(Math.cos(o)*r,Math.sin(o)*r),o+=a;t.lineTo(0,-i)}}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Star"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:g.T.classNames.concat([t.className])}),t}(g.T),v=i(9361),m=i(8777),_=i(6881),w=i(962),P=i(6245),O=i(3497),x=i(5769),j=i(7144),k=i(1112),T=i(2876),D=i(1747),C=i(5040),S=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"labelContainer",{enumerable:!0,configurable:!0,writable:!0,value:t.children.push(m.W.new(t._root,{}))}),Object.defineProperty(t,"markerContainer",{enumerable:!0,configurable:!0,writable:!0,value:t.children.push(m.W.new(t._root,{}))}),Object.defineProperty(t,"startLabel",{enumerable:!0,configurable:!0,writable:!0,value:t.labelContainer.children.push(w._.new(t._root,{themeTags:["start"]}))}),Object.defineProperty(t,"endLabel",{enumerable:!0,configurable:!0,writable:!0,value:t.labelContainer.children.push(w._.new(t._root,{themeTags:["end"]}))}),Object.defineProperty(t,"markers",{enumerable:!0,configurable:!0,writable:!0,value:new j.o(x.YS.new({}),(function(){return O.c._new(t._root,{themeTags:s.mergeTags(t.markers.template.get("themeTags",[]),[t.get("orientation"),"heatlegend","marker"])},[t.markers.template])}))}),t}return(0,b.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._settings.themeTags=s.mergeTags(this._settings.themeTags,["heatlegend",this._settings.orientation]),e.prototype._afterNew.call(this),this.set("tooltip",T.u.new(this._root,{themeTags:["heatlegend"]}))}}),Object.defineProperty(t.prototype,"makeMarker",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.markers.make();return e.states.create("disabled",{}),e}}),Object.defineProperty(t.prototype,"showValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){var r=this.getTooltip();if(r&&C.isNumber(e)){var n=this.get("startValue",0),a=(e-n)/(this.get("endValue",1)-n),o=this.get("startColor"),s=this.get("endColor");t||(t=this.getNumberFormatter().format(e)),i||(i=k.Il.interpolate(a,o,s)),r.label.set("text",t);var l;l="vertical"==this.get("orientation")?this.markerContainer.toGlobal({x:0,y:this.innerHeight()*(1-a)}):this.markerContainer.toGlobal({x:this.innerWidth()*a,y:0});var u=r.get("background");u&&u.set("fill",k.Il.interpolate(a,o,s)),r.set("pointTo",l),r.show()}}}),Object.defineProperty(t.prototype,"_prepareChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._prepareChildren.call(this);var t=this.labelContainer,i=this.get("orientation"),r=this.startLabel,n=this.endLabel,a=this.getTooltip();if(this.isDirty("orientation")&&("vertical"==i?(this.markerContainer.setAll({layout:this._root.verticalLayout,height:P.AQ}),this.set("layout",this._root.horizontalLayout),r.setAll({y:P.AQ,x:void 0,centerY:P.AQ,centerX:P.AQ}),n.setAll({y:0,x:void 0,centerY:0,centerX:P.AQ}),t.setAll({height:P.AQ,width:void 0}),a&&a.set("pointerOrientation","horizontal")):(this.markerContainer.setAll({layout:this._root.horizontalLayout,width:P.AQ}),this.set("layout",this._root.verticalLayout),r.setAll({x:0,y:void 0,centerX:0,centerY:0}),n.setAll({x:P.AQ,y:void 0,centerX:P.AQ,centerY:0}),t.setAll({width:P.AQ,height:void 0}),a&&a.set("pointerOrientation","vertical"))),this.isDirty("stepCount")){var o=this.get("stepCount",1),s=this.get("startColor"),l=this.get("endColor");if(this.markerContainer.children.clear(),o>1)for(var u=0;u<o;u++){var c=this.makeMarker();"vertical"==i?this.markerContainer.children.moveValue(c,0):this.markerContainer.children.push(c),s&&l&&c.set("fill",k.Il.interpolate(u/o,s,l))}else if(1==o){c=this.makeMarker(),this.markerContainer.children.push(c);var h=D.o.new(this._root,{stops:[{color:s},{color:l}]});if("vertical"==i){h.set("rotation",90);var f=h.get("stops");f&&f.reverse()}else h.set("rotation",0);s&&l&&c.set("fillGradient",h)}}(this.isDirty("startText")||this.isDirty("startValue"))&&r.set("text",this.get("startText",this.getNumberFormatter().format(this.get("startValue",0)))),(this.isDirty("endText")||this.isDirty("endValue"))&&n.set("text",this.get("endText",this.getNumberFormatter().format(this.get("endValue",1))))}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"HeatLegend"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:m.W.classNames.concat([t.className])}),t}(m.W),M=i(4431),E=i(2010),A=i(3105),R=i(2077),B=i(5021),N=i(8931),L=i(815),I=i(4244),H=i(7142),F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),(this.isDirty("width")||this.isDirty("height")||this.isPrivateDirty("width")||this.isPrivateDirty("height"))&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_changed",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._changed.call(this),this._clear&&!this.get("draw")&&this._draw()}}),Object.defineProperty(t.prototype,"_draw",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.width(),t=this.height(),i=this._display;i.moveTo(-e/2,t/2),i.lineTo(0,-t/2),i.lineTo(e/2,t/2),i.lineTo(-e/2,t/2)}}),Object.defineProperty(t.prototype,"_updateSize",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.markDirty(),this._clear=!0}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Triangle"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:g.T.classNames.concat([t.className])}),t}(g.T),z=i(6001),V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._addOrientationClass(),e.prototype._afterNew.call(this),this.endGrip.setPrivate("visible",!1),this.thumb.setPrivate("visible",!1)}}),Object.defineProperty(t.prototype,"updateGrips",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype.updateGrips.call(this);var t=this.startGrip;this.endGrip.setAll({x:t.x(),y:t.y()}),this.setRaw("end",this.get("start"))}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Slider"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:z.L.classNames.concat([t.className])}),t}(z.L),Y=i(5863),G=i(4596),U=i(3399),W=i(1337),Z=i(5829),X=i(2036),K=i(2438),$=i(1706);function q(e,t){var i=0,r=0,n=1,a=0,o=0,s=0,l=0,u=0;return e.formatToParts(t).forEach((function(e){switch(e.type){case"year":i=+e.value;break;case"month":r=+e.value-1;break;case"day":n=+e.value;break;case"hour":a=+e.value;break;case"minute":o=+e.value;break;case"second":s=+e.value;break;case"fractionalSecond":l=+e.value;break;case"weekday":switch(e.value){case"Sun":u=0;break;case"Mon":u=1;break;case"Tue":u=2;break;case"Wed":u=3;break;case"Thu":u=4;break;case"Fri":u=5;break;case"Sat":u=6}}})),24===a&&(a=0),{year:i,month:r,day:n,hour:a,minute:o,second:s,millisecond:l,weekday:u}}function J(e,t){var i=q(e,t),r=i.year,n=i.month,a=i.day,o=i.hour,s=i.minute,l=i.second,u=i.millisecond;return Date.UTC(r,n,a,o,s,l,u)}var Q=function(){function e(e,t){if(Object.defineProperty(this,"_utc",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dtf",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this.name=e,this._utc=new Intl.DateTimeFormat("UTC",{hour12:!1,timeZone:"UTC",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"short",fractionalSecondDigits:3}),this._dtf=new Intl.DateTimeFormat("UTC",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"short",fractionalSecondDigits:3})}return Object.defineProperty(e,"new",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return new this(e,!0)}}),Object.defineProperty(e.prototype,"convertLocal",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.offsetUTC(e),i=e.getTimezoneOffset(),r=new Date(e);r.setUTCMinutes(r.getUTCMinutes()-(t-i));var n=r.getTimezoneOffset();return i!=n&&r.setUTCMinutes(r.getUTCMinutes()+n-i),r}}),Object.defineProperty(e.prototype,"offsetUTC",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return(J(this._utc,e)-J(this._dtf,e))/6e4}}),Object.defineProperty(e.prototype,"parseDate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return q(this._dtf,e)}}),e}(),ee=i(1437),te=i(5071),ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),Object.defineProperty(t.prototype,"getFill",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.getBounds(e),i=0,r=0,n=t.left||0,a=t.right||0,o=t.top||0,l=a-n,u=(t.bottom||0)-o,c=e.get("radius");C.isNumber(c)?(i=0,r=0):(c=Math.min(l,u)/2,i=l/2,r=u/2);var h=this.get("x"),f=this.get("y");null!=h&&(i=s.relativeToValue(h,l)),null!=f&&(r=s.relativeToValue(f,u));var p=this._root._renderer.createRadialGradient(i,r,0,i,r,c),d=this.get("stops");if(d){var b=0;te.each(d,(function(e){var t=e.offset;C.isNumber(t)||(t=b/(d.length-1));var i=e.opacity;C.isNumber(i)||(i=1);var r=e.color;if(r){var n=e.lighten;n&&(r=k.Il.lighten(r,n));var a=e.brighten;a&&(r=k.Il.brighten(r,a)),p.addColorStop(t,"rgba("+r.r+","+r.g+","+r.b+","+i+")")}b++}))}return p}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RadialGradient"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ee.p.classNames.concat([t.className])}),t}(ee.p),re=i(3437),ne=i(751),ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),this.isDirty("gap")&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_draw",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._draw.call(this);var t=this.get("checkered",!1),i=this.get("centered",!0),r=this.get("gap",0),n=this.get("rotation",0),a=this.get("width",100),o=this.get("height",100),s=this.get("radius",3),l=2*s+r,u=2*s+r,c=Math.round(a/l),h=Math.round(o/u);l=a/c,u=o/h,0!=n&&(this._display.x=l*ne.cos(n),this._display.y=u*ne.sin(n));var f=this.get("color"),p=this.get("colorOpacity");(f||p)&&this._display.beginFill(f,p);for(var d=0==n?0:2*-h;d<2*h;d++)for(var b=0==n?0:2*-c;b<2*c;b++)if(!t||1!=(1&d)&&1!=(1&b)||1==(1&d)&&1==(1&b)){var g=b*l,y=d*u;i&&(g+=l+r/2,y+=u+r/2),this._display.drawCircle(g-s,y-s,s)}t?(a=a/2-2*r,o=o/2-2*r):(a-=r,o-=r),(f||p)&&this._display.endFill()}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"CirclePattern"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:re.c.classNames.concat([t.className])}),t}(re.c),oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),this.isDirty("gap")&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_draw",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._draw.call(this);var t=this.get("width",100),i=this.get("height",100),r=this.get("gap",0),n=this.get("strokeWidth",1);if(r)for(var a=r+n,o=i/a,s=-o;s<2*o;s++){var l=Math.round(s*a-a/2)+.5;this._display.moveTo(-t,l),this._display.lineTo(2*t,l)}else this._display.moveTo(0,0),this._display.lineTo(t,0);this._display.lineStyle(n,this.get("color"),this.get("colorOpacity"));var u=this.get("strokeDasharray");C.isNumber(u)&&(u=u<.5?[0]:[u]),this._display.setLineDash(u);var c=this.get("strokeDashoffset");c&&this._display.setLineDashOffset(c),this._display.endStroke()}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"LinePattern"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:re.c.classNames.concat([t.className])}),t}(re.c),se=i(4429),le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),Object.defineProperty(t.prototype,"_beforeChanged",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._beforeChanged.call(this),this.isDirty("gap")&&(this._clear=!0)}}),Object.defineProperty(t.prototype,"_draw",{enumerable:!1,configurable:!0,writable:!0,value:function(){e.prototype._draw.call(this);var t=this.get("checkered",!1),i=this.get("centered",!0),r=this.get("gap",0),n=this.get("rotation",0),a=this.get("width",100),o=this.get("height",100),s=this.get("maxWidth",5),l=this.get("maxHeight",5),u=s+r,c=l+r,h=Math.round(a/u),f=Math.round(o/c);u=a/h,c=o/f,0!=n&&(this._display.x=u/2*ne.cos(n),this._display.y=-c/2*ne.sin(n));for(var p=0==n?0:2*-f;p<2*f;p++)for(var d=0==n?0:2*-h;d<2*h;d++)if(!t||1!=(1&p)&&1!=(1&d)||1==(1&p)&&1==(1&d)){var b=d*u,g=p*c;i&&(b+=(u-s)/2,g+=(c-l)/2),this._display.drawRect(b,g,s,l)}t?(a=a/2-2*r,o=o/2-2*r):(a-=r,o-=r);var y=this.get("color"),v=this.get("colorOpacity");(y||v)&&(this._display.beginFill(y,v),this._display.endFill())}}),Object.defineProperty(t,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RectanglePattern"}),Object.defineProperty(t,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:re.c.classNames.concat([t.className])}),t}(re.c),ue=i(2754),ce=i(9582),he=i(256),fe=function(){function e(){}return Object.defineProperty(e,"parse",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){t=this._applyDefaults(t);try{if(C.isString(e)){var i=JSON.parse(e);return t.reverse&&C.isArray(i)&&i.reverse(),i}if(C.isArray(e)||C.isObject(e))return e;throw"Unable to parse JSON data"}catch(e){return}}}),Object.defineProperty(e,"_applyDefaults",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t={};return e||(e={}),he.each({reverse:!1},(function(i,r){t[i]=e[i]||r})),t}}),e}(),pe=function(){function e(){}return Object.defineProperty(e,"parse",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){t=this._applyDefaults(t);var i,r,n,a=this.CSVToArray(e,t.delimiter),o=[],s=[];for(r=0;r<t.skipRows;r++)a.shift();if(t.useColumnNames){s=a.shift();for(var l=0;l<s.length;l++)""===(i=null!=s[l]?s[l].replace(/^\s+|\s+$/gm,""):"")&&(i="col"+l),s[l]=i}for(;n=t.reverse?a.pop():a.shift();)if(!t.skipEmpty||1!==n.length||""!==n[0]){var u={};for(r=0;r<n.length;r++)u[i=void 0===s[r]?"col"+r:s[r]]=n[r];o.push(u)}return o}}),Object.defineProperty(e,"CSVToArray",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){t=t||",";for(var i=new RegExp("(\\"+t+'|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\'+t+"\\r\\n]*))","gi"),r=[[]],n=null;n=i.exec(e);){var a=n[1];a.length&&a!==t&&r.push([]);var o;o=n[2]?n[2].replace(new RegExp('""',"g"),'"'):n[3],r[r.length-1].push(o)}return r}}),Object.defineProperty(e,"_applyDefaults",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t={};return e||(e={}),he.each({delimiter:",",reverse:!1,skipRows:0,skipEmpty:!0,useColumnNames:!1},(function(i,r){t[i]=e[i]||r})),t}}),e}(),de=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return Object.defineProperty(t,"_checkDates",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_checkNumbers",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_checkColors",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_checkEmpty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(t,"_checkDeep",{enumerable:!0,configurable:!0,writable:!0,value:!1}),t}return(0,b.ZT)(t,e),Object.defineProperty(t.prototype,"_afterNew",{enumerable:!1,configurable:!0,writable:!0,value:function(){var t=this;e.prototype._afterNew.call(this),this._checkFeatures(),this.on("dateFields",(function(){return t._checkFeatures()})),this.on("dateFormat",(function(){return t._checkFeatures()})),this.on("numericFields",(function(){return t._checkFeatures()})),this.on("colorFields",(function(){return t._checkFeatures()})),this.on("emptyAs",(function(){return t._checkFeatures()}))}}),Object.defineProperty(t.prototype,"_checkFeatures",{enumerable:!1,configurable:!0,writable:!0,value:function(){(this.isDirty("dateFields")||this.isDirty("dateFormat"))&&(this._checkDates=this.get("dateFields")&&this.get("dateFields").length>0),this.isDirty("numericFields")&&(this._checkNumbers=this.get("numericFields")&&this.get("numericFields").length>0),this.isDirty("colorFields")&&(this._checkColors=this.get("colorFields")&&this.get("colorFields").length>0),this.isDirty("emptyAs")&&(this._checkEmpty=null!=this.get("emptyAs")),this._checkDeepFeatures()}}),Object.defineProperty(t.prototype,"_checkDeepFeatures",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this,t=[];te.each(["dateFields","numericFields","colorFields"],(function(i){te.each(e.get(i,[]),(function(e){var i=e.split(".");for(i.pop();i.length>0;)t.push(i.join(".")),i.pop()}))})),this._checkDeep=t.length>0,this.setPrivate("deepFields",t)}}),Object.defineProperty(t.prototype,"processMany",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;C.isArray(e)&&(this._checkDates||this._checkNumbers||this._checkColors||this._checkEmpty)&&te.each(e,(function(e){t.processRow(e)}))}}),Object.defineProperty(t.prototype,"processRow",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i=this;void 0===t&&(t=""),he.each(e,(function(r,n){var a=t+r;i._checkEmpty&&(e[r]=i._maybeToEmpty(e[r])),i._checkNumbers&&(e[r]=i._maybeToNumber(a,e[r])),i._checkDates&&(e[r]=i._maybeToDate(a,e[r])),i._checkColors&&(e[r]=i._maybeToColor(a,e[r])),i._checkDeep&&-1!==i.getPrivate("deepFields",[]).indexOf(a)&&C.isObject(e[r])&&i.processRow(e[r],a+".")}))}}),Object.defineProperty(t.prototype,"_maybeToNumber",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return-1!==this.get("numericFields").indexOf(e)?C.toNumber(t):t}}),Object.defineProperty(t.prototype,"_maybeToDate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return-1!==this.get("dateFields").indexOf(e)?this._root.dateFormatter.parse(t,this.get("dateFormat","")).getTime():t}}),Object.defineProperty(t.prototype,"_maybeToEmpty",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return null!=e&&""!=e||null==this.get("emptyAs")?e:this.get("emptyAs")}}),Object.defineProperty(t.prototype,"_maybeToColor",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return-1!==this.get("colorFields").indexOf(e)?k.Il.fromAny(t):t}}),t}(u.JH),be=i(6460),ge=i(798),ye=i(9821),ve=i(780),me=i(7255),_e=i(1195),we=i(9395);function Pe(e,t,i){return new Promise((function(r,n){var a=null!=i&&"blob"==i.responseType,o=new XMLHttpRequest;if(o.onload=function(){if(200===o.status){var e,i;if(a)return void Oe(e=o.response).then((function(i){var n={xhr:o,error:!1,response:i,blob:e,type:o.getResponseHeader("Content-Type"),target:t};r(n)}));i=o.responseText||o.response;var s={xhr:o,error:!1,response:i,blob:e,type:o.getResponseHeader("Content-Type"),target:t};r(s)}else n({xhr:o,error:!0,type:o.getResponseHeader("Content-Type"),target:t})},o.onerror=function(){n({xhr:o,error:!0,type:o.getResponseHeader("Content-Type"),target:t})},o.open("GET",e,!0),i&&i.withCredentials&&(o.withCredentials=!0),null!=i){if(null!=i.requestHeaders)for(var s=0;s<i.requestHeaders.length;s++){var l=i.requestHeaders[s];o.setRequestHeader(l.key,l.value)}null!=i.responseType&&(o.responseType=i.responseType)}o.send()}))}function Oe(e){return new Promise((function(t,i){var r=new FileReader;r.onload=function(e){t(r.result)},r.onerror=function(e){i(e)},r.readAsText(e)}))}var xe=i(1926)},3100:function(e,t){"use strict";t.Z={firstDayOfWeek:1,_decimalSeparator:".",_thousandSeparator:",",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"μ",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(e){var t="th";if(e<11||e>13)switch(e%10){case 1:t="st";break;case 2:t="nd";break;case 3:t="rd"}return t},"Zoom Out":"",Play:"",Stop:"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:""}},9629:function(e){var t=function(e){"use strict";var t,i=Object.prototype,r=i.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function l(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,i){return e[t]=i}}function u(e,t,i,r){var n=t&&t.prototype instanceof g?t:g,a=Object.create(n.prototype),o=new D(r||[]);return a._invoke=function(e,t,i){var r=h;return function(n,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===n)throw a;return S()}for(i.method=n,i.arg=a;;){var o=i.delegate;if(o){var s=j(o,i);if(s){if(s===b)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===h)throw r=d,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=p;var l=c(e,t,i);if("normal"===l.type){if(r=i.done?d:f,l.arg===b)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(r=d,i.method="throw",i.arg=l.arg)}}}(e,i,o),a}function c(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var h="suspendedStart",f="suspendedYield",p="executing",d="completed",b={};function g(){}function y(){}function v(){}var m={};l(m,a,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(C([])));w&&w!==i&&r.call(w,a)&&(m=w);var P=v.prototype=g.prototype=Object.create(m);function O(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function i(n,a,o,s){var l=c(e[n],e,a);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==typeof h&&r.call(h,"__await")?t.resolve(h.__await).then((function(e){i("next",e,o,s)}),(function(e){i("throw",e,o,s)})):t.resolve(h).then((function(e){u.value=e,o(u)}),(function(e){return i("throw",e,o,s)}))}s(l.arg)}var n;this._invoke=function(e,r){function a(){return new t((function(t,n){i(e,r,t,n)}))}return n=n?n.then(a,a):a()}}function j(e,i){var r=e.iterator[i.method];if(r===t){if(i.delegate=null,"throw"===i.method){if(e.iterator.return&&(i.method="return",i.arg=t,j(e,i),"throw"===i.method))return b;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var n=c(r,e.iterator,i.arg);if("throw"===n.type)return i.method="throw",i.arg=n.arg,i.delegate=null,b;var a=n.arg;return a?a.done?(i[e.resultName]=a.value,i.next=e.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):a:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function C(e){if(e){var i=e[a];if(i)return i.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function i(){for(;++n<e.length;)if(r.call(e,n))return i.value=e[n],i.done=!1,i;return i.value=t,i.done=!0,i};return o.next=o}}return{next:S}}function S(){return{value:t,done:!0}}return y.prototype=v,l(P,"constructor",v),l(v,"constructor",y),y.displayName=l(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,s,"GeneratorFunction")),e.prototype=Object.create(P),e},e.awrap=function(e){return{__await:e}},O(x.prototype),l(x.prototype,o,(function(){return this})),e.AsyncIterator=x,e.async=function(t,i,r,n,a){void 0===a&&(a=Promise);var o=new x(u(t,i,r,n),a);return e.isGeneratorFunction(i)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},O(P),l(P,s,"Generator"),l(P,a,(function(){return this})),l(P,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var i in e)t.push(i);return t.reverse(),function i(){for(;t.length;){var r=t.pop();if(r in e)return i.value=r,i.done=!1,i}return i.done=!0,i}},e.values=C,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var i in this)"t"===i.charAt(0)&&r.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var i=this;function n(r,n){return s.type="throw",s.arg=e,i.next=r,n&&(i.method="next",i.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),u=r.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,b):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),T(i),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var r=i.completion;if("throw"===r.type){var n=r.arg;T(i)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,i,r){return this.delegate={iterator:C(e),resultName:i,nextLoc:r},"next"===this.method&&(this.arg=t),b}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},5125:function(e,t,i){"use strict";i.d(t,{CR:function(){return u},Jh:function(){return s},XA:function(){return l},ZT:function(){return n},ev:function(){return c},mG:function(){return o},pi:function(){return a}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},r(e,t)};function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var a=function(){return a=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},a.apply(this,arguments)};function o(e,t,i,r){return new(i||(i=Promise))((function(n,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))}function s(e,t){var i,r,n,a,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,r&&(n=2&a[0]?r.return:a[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,a[1])).done)return n;switch(r=0,n&&(a=[2&a[0],n.value]),a[0]){case 0:case 1:n=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((n=(n=o.trys).length>0&&n[n.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]<n[3])){o.label=a[1];break}if(6===a[0]&&o.label<n[1]){o.label=n[1],n=a;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(a);break}n[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{i=n=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function l(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,a=i.call(e),o=[];try{for(;(void 0===t||t-->0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}function c(e,t,i){if(i||2===arguments.length)for(var r,n=0,a=t.length;n<a;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create},8494:function(e,t,i){"use strict";i.r(t),i.d(t,{am5:function(){return b}});const r=window.Promise,n=r&&r.prototype.then,a=r&&r.prototype.catch,o=r&&r.prototype.finally,s=r&&r.reject,l=r&&r.resolve,u=r&&r.allSettled,c=r&&r.all,h=r&&r.race,f=window.fetch,p=String.prototype.startsWith,d=String.prototype.endsWith;i(9629);const b=i(7187);var g;i.p=(g=function(){if(document.currentScript)return document.currentScript;var e=document.getElementsByTagName("script");return e[e.length-1]}().src,/(.*\/)[^\/]*$/.exec(g)[1]),r&&(window.Promise=r,n&&(r.prototype.then=n),a&&(r.prototype.catch=a),o&&(r.prototype.finally=o),s&&(r.reject=s),l&&(r.resolve=l),u&&(r.allSettled=u),c&&(r.all=c),h&&(r.race=h)),f&&(window.fetch=f),p&&(String.prototype.startsWith=p),d&&(String.prototype.endsWith=d)},4138:function(e,t){"use strict";var i={value:()=>{}};function r(){for(var e,t=0,i=arguments.length,r={};t<i;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new n(r)}function n(e){this._=e}function a(e,t){return e.trim().split(/^|\s+/).map((function(e){var i="",r=e.indexOf(".");if(r>=0&&(i=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:i}}))}function o(e,t){for(var i,r=0,n=e.length;r<n;++r)if((i=e[r]).name===t)return i.value}function s(e,t,r){for(var n=0,a=e.length;n<a;++n)if(e[n].name===t){e[n]=i,e=e.slice(0,n).concat(e.slice(n+1));break}return null!=r&&e.push({name:t,value:r}),e}n.prototype=r.prototype={constructor:n,on:function(e,t){var i,r=this._,n=a(e+"",r),l=-1,u=n.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++l<u;)if(i=(e=n[l]).type)r[i]=s(r[i],e.name,t);else if(null==t)for(i in r)r[i]=s(r[i],e.name,null);return this}for(;++l<u;)if((i=(e=n[l]).type)&&(i=o(r[i],e.name)))return i},copy:function(){var e={},t=this._;for(var i in t)e[i]=t[i].slice();return new n(e)},call:function(e,t){if((i=arguments.length-2)>0)for(var i,r,n=new Array(i),a=0;a<i;++a)n[a]=arguments[a+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(a=0,i=(r=this._[e]).length;a<i;++a)r[a].value.apply(t,n)},apply:function(e,t,i){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],n=0,a=r.length;n<a;++n)r[n].value.apply(t,i)}},t.Z=r},5493:function(e,t){"use strict";const i=Math.PI,r=2*i,n=1e-6,a=r-n;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new o}o.prototype=s.prototype={constructor:o,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,i,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+i)+","+(this._y1=+r)},bezierCurveTo:function(e,t,i,r,n,a){this._+="C"+ +e+","+ +t+","+ +i+","+ +r+","+(this._x1=+n)+","+(this._y1=+a)},arcTo:function(e,t,r,a,o){e=+e,t=+t,r=+r,a=+a,o=+o;var s=this._x1,l=this._y1,u=r-e,c=a-t,h=s-e,f=l-t,p=h*h+f*f;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(p>n)if(Math.abs(f*u-c*h)>n&&o){var d=r-s,b=a-l,g=u*u+c*c,y=d*d+b*b,v=Math.sqrt(g),m=Math.sqrt(p),_=o*Math.tan((i-Math.acos((g+p-y)/(2*v*m)))/2),w=_/m,P=_/v;Math.abs(w-1)>n&&(this._+="L"+(e+w*h)+","+(t+w*f)),this._+="A"+o+","+o+",0,0,"+ +(f*d>h*b)+","+(this._x1=e+P*u)+","+(this._y1=t+P*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t)},arc:function(e,t,o,s,l,u){e=+e,t=+t,u=!!u;var c=(o=+o)*Math.cos(s),h=o*Math.sin(s),f=e+c,p=t+h,d=1^u,b=u?s-l:l-s;if(o<0)throw new Error("negative radius: "+o);null===this._x1?this._+="M"+f+","+p:(Math.abs(this._x1-f)>n||Math.abs(this._y1-p)>n)&&(this._+="L"+f+","+p),o&&(b<0&&(b=b%r+r),b>a?this._+="A"+o+","+o+",0,1,"+d+","+(e-c)+","+(t-h)+"A"+o+","+o+",0,1,"+d+","+(this._x1=f)+","+(this._y1=p):b>n&&(this._+="A"+o+","+o+",0,"+ +(b>=i)+","+d+","+(this._x1=e+o*Math.cos(l))+","+(this._y1=t+o*Math.sin(l))))},rect:function(e,t,i,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +i+"v"+ +r+"h"+-i+"Z"},toString:function(){return this._}},t.Z=s},832:function(e,t,i){"use strict";i.d(t,{Z:function(){return j}});var r=i(5493),n=i(3141);const a=Math.abs,o=Math.atan2,s=Math.cos,l=Math.max,u=Math.min,c=Math.sin,h=Math.sqrt,f=1e-12,p=Math.PI,d=p/2,b=2*p;function g(e){return e>1?0:e<-1?p:Math.acos(e)}function y(e){return e>=1?d:e<=-1?-d:Math.asin(e)}function v(e){return e.innerRadius}function m(e){return e.outerRadius}function _(e){return e.startAngle}function w(e){return e.endAngle}function P(e){return e&&e.padAngle}function O(e,t,i,r,n,a,o,s){var l=i-e,u=r-t,c=o-n,h=s-a,p=h*l-c*u;if(!(p*p<f))return[e+(p=(c*(t-a)-h*(e-n))/p)*l,t+p*u]}function x(e,t,i,r,n,a,o){var s=e-i,u=t-r,c=(o?a:-a)/h(s*s+u*u),f=c*u,p=-c*s,d=e+f,b=t+p,g=i+f,y=r+p,v=(d+g)/2,m=(b+y)/2,_=g-d,w=y-b,P=_*_+w*w,O=n-a,x=d*y-g*b,j=(w<0?-1:1)*h(l(0,O*O*P-x*x)),k=(x*w-_*j)/P,T=(-x*_-w*j)/P,D=(x*w+_*j)/P,C=(-x*_+w*j)/P,S=k-v,M=T-m,E=D-v,A=C-m;return S*S+M*M>E*E+A*A&&(k=D,T=C),{cx:k,cy:T,x01:-f,y01:-p,x11:k*(n/O-1),y11:T*(n/O-1)}}function j(){var e=v,t=m,i=(0,n.Z)(0),l=null,j=_,k=w,T=P,D=null;function C(){var n,v,m=+e.apply(this,arguments),_=+t.apply(this,arguments),w=j.apply(this,arguments)-d,P=k.apply(this,arguments)-d,C=a(P-w),S=P>w;if(D||(D=n=(0,r.Z)()),_<m&&(v=_,_=m,m=v),_>f)if(C>b-f)D.moveTo(_*s(w),_*c(w)),D.arc(0,0,_,w,P,!S),m>f&&(D.moveTo(m*s(P),m*c(P)),D.arc(0,0,m,P,w,S));else{var M,E,A=w,R=P,B=w,N=P,L=C,I=C,H=T.apply(this,arguments)/2,F=H>f&&(l?+l.apply(this,arguments):h(m*m+_*_)),z=u(a(_-m)/2,+i.apply(this,arguments)),V=z,Y=z;if(F>f){var G=y(F/m*c(H)),U=y(F/_*c(H));(L-=2*G)>f?(B+=G*=S?1:-1,N-=G):(L=0,B=N=(w+P)/2),(I-=2*U)>f?(A+=U*=S?1:-1,R-=U):(I=0,A=R=(w+P)/2)}var W=_*s(A),Z=_*c(A),X=m*s(N),K=m*c(N);if(z>f){var $,q=_*s(R),J=_*c(R),Q=m*s(B),ee=m*c(B);if(C<p&&($=O(W,Z,Q,ee,q,J,X,K))){var te=W-$[0],ie=Z-$[1],re=q-$[0],ne=J-$[1],ae=1/c(g((te*re+ie*ne)/(h(te*te+ie*ie)*h(re*re+ne*ne)))/2),oe=h($[0]*$[0]+$[1]*$[1]);V=u(z,(m-oe)/(ae-1)),Y=u(z,(_-oe)/(ae+1))}}I>f?Y>f?(M=x(Q,ee,W,Z,_,Y,S),E=x(q,J,X,K,_,Y,S),D.moveTo(M.cx+M.x01,M.cy+M.y01),Y<z?D.arc(M.cx,M.cy,Y,o(M.y01,M.x01),o(E.y01,E.x01),!S):(D.arc(M.cx,M.cy,Y,o(M.y01,M.x01),o(M.y11,M.x11),!S),D.arc(0,0,_,o(M.cy+M.y11,M.cx+M.x11),o(E.cy+E.y11,E.cx+E.x11),!S),D.arc(E.cx,E.cy,Y,o(E.y11,E.x11),o(E.y01,E.x01),!S))):(D.moveTo(W,Z),D.arc(0,0,_,A,R,!S)):D.moveTo(W,Z),m>f&&L>f?V>f?(M=x(X,K,q,J,m,-V,S),E=x(W,Z,Q,ee,m,-V,S),D.lineTo(M.cx+M.x01,M.cy+M.y01),V<z?D.arc(M.cx,M.cy,V,o(M.y01,M.x01),o(E.y01,E.x01),!S):(D.arc(M.cx,M.cy,V,o(M.y01,M.x01),o(M.y11,M.x11),!S),D.arc(0,0,m,o(M.cy+M.y11,M.cx+M.x11),o(E.cy+E.y11,E.cx+E.x11),S),D.arc(E.cx,E.cy,V,o(E.y11,E.x11),o(E.y01,E.x01),!S))):D.arc(0,0,m,N,B,S):D.lineTo(X,K)}else D.moveTo(0,0);if(D.closePath(),n)return D=null,n+""||null}return C.centroid=function(){var i=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+j.apply(this,arguments)+ +k.apply(this,arguments))/2-p/2;return[s(r)*i,c(r)*i]},C.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,n.Z)(+t),C):e},C.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,n.Z)(+e),C):t},C.cornerRadius=function(e){return arguments.length?(i="function"==typeof e?e:(0,n.Z)(+e),C):i},C.padRadius=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:(0,n.Z)(+e),C):l},C.startAngle=function(e){return arguments.length?(j="function"==typeof e?e:(0,n.Z)(+e),C):j},C.endAngle=function(e){return arguments.length?(k="function"==typeof e?e:(0,n.Z)(+e),C):k},C.padAngle=function(e){return arguments.length?(T="function"==typeof e?e:(0,n.Z)(+e),C):T},C.context=function(e){return arguments.length?(D=null==e?null:e,C):D},C}},3794:function(e,t,i){"use strict";i.d(t,{Z:function(){return u}});var r=i(5493),n=i(8457),a=i(3141),o=i(964),s=i(774),l=i(6758);function u(e,t,i){var u=null,c=(0,a.Z)(!0),h=null,f=o.Z,p=null;function d(a){var o,s,l,d,b,g=(a=(0,n.Z)(a)).length,y=!1,v=new Array(g),m=new Array(g);for(null==h&&(p=f(b=(0,r.Z)())),o=0;o<=g;++o){if(!(o<g&&c(d=a[o],o,a))===y)if(y=!y)s=o,p.areaStart(),p.lineStart();else{for(p.lineEnd(),p.lineStart(),l=o-1;l>=s;--l)p.point(v[l],m[l]);p.lineEnd(),p.areaEnd()}y&&(v[o]=+e(d,o,a),m[o]=+t(d,o,a),p.point(u?+u(d,o,a):v[o],i?+i(d,o,a):m[o]))}if(b)return p=null,b+""||null}function b(){return(0,s.Z)().defined(c).curve(f).context(h)}return e="function"==typeof e?e:void 0===e?l.x:(0,a.Z)(+e),t="function"==typeof t?t:void 0===t?(0,a.Z)(0):(0,a.Z)(+t),i="function"==typeof i?i:void 0===i?l.y:(0,a.Z)(+i),d.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.Z)(+t),u=null,d):e},d.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.Z)(+t),d):e},d.x1=function(e){return arguments.length?(u=null==e?null:"function"==typeof e?e:(0,a.Z)(+e),d):u},d.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.Z)(+e),i=null,d):t},d.y0=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.Z)(+e),d):t},d.y1=function(e){return arguments.length?(i=null==e?null:"function"==typeof e?e:(0,a.Z)(+e),d):i},d.lineX0=d.lineY0=function(){return b().x(e).y(t)},d.lineY1=function(){return b().x(e).y(i)},d.lineX1=function(){return b().x(u).y(t)},d.defined=function(e){return arguments.length?(c="function"==typeof e?e:(0,a.Z)(!!e),d):c},d.curve=function(e){return arguments.length?(f=e,null!=h&&(p=f(h)),d):f},d.context=function(e){return arguments.length?(null==e?h=p=null:p=f(h=e),d):h},d}},8457:function(e,t,i){"use strict";function r(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}i.d(t,{Z:function(){return r}}),Array.prototype.slice},3141:function(e,t,i){"use strict";function r(e){return function(){return e}}i.d(t,{Z:function(){return r}})},964:function(e,t,i){"use strict";function r(e){this._context=e}function n(e){return new r(e)}i.d(t,{Z:function(){return n}}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}}},774:function(e,t,i){"use strict";i.d(t,{Z:function(){return l}});var r=i(5493),n=i(8457),a=i(3141),o=i(964),s=i(6758);function l(e,t){var i=(0,a.Z)(!0),l=null,u=o.Z,c=null;function h(a){var o,s,h,f=(a=(0,n.Z)(a)).length,p=!1;for(null==l&&(c=u(h=(0,r.Z)())),o=0;o<=f;++o)!(o<f&&i(s=a[o],o,a))===p&&((p=!p)?c.lineStart():c.lineEnd()),p&&c.point(+e(s,o,a),+t(s,o,a));if(h)return c=null,h+""||null}return e="function"==typeof e?e:void 0===e?s.x:(0,a.Z)(e),t="function"==typeof t?t:void 0===t?s.y:(0,a.Z)(t),h.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.Z)(+t),h):e},h.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.Z)(+e),h):t},h.defined=function(e){return arguments.length?(i="function"==typeof e?e:(0,a.Z)(!!e),h):i},h.curve=function(e){return arguments.length?(u=e,null!=l&&(c=u(l)),h):u},h.context=function(e){return arguments.length?(null==e?l=c=null:c=u(l=e),h):l},h}},6758:function(e,t,i){"use strict";function r(e){return e[0]}function n(e){return e[1]}i.d(t,{x:function(){return r},y:function(){return n}})},7738:function(e,t,i){"use strict";i.d(t,{B7:function(){return b},HT:function(){return g},zO:function(){return p}});var r,n,a=0,o=0,s=0,l=0,u=0,c=0,h="object"==typeof performance&&performance.now?performance:Date,f="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function p(){return u||(f(d),u=h.now()+c)}function d(){u=0}function b(){this._call=this._time=this._next=null}function g(e,t,i){var r=new b;return r.restart(e,t,i),r}function y(){u=(l=h.now())+c,a=o=0;try{!function(){p(),++a;for(var e,t=r;t;)(e=u-t._time)>=0&&t._call.call(void 0,e),t=t._next;--a}()}finally{a=0,function(){for(var e,t,i=r,a=1/0;i;)i._call?(a>i._time&&(a=i._time),e=i,i=i._next):(t=i._next,i._next=null,i=e?e._next=t:r=t);n=e,m(a)}(),u=0}}function v(){var e=h.now(),t=e-l;t>1e3&&(c-=t,l=e)}function m(e){a||(o&&(o=clearTimeout(o)),e-u>24?(e<1/0&&(o=setTimeout(y,e-h.now()-c)),s&&(s=clearInterval(s))):(s||(l=h.now(),s=setInterval(v,1e3)),a=1,f(y)))}b.prototype=g.prototype={constructor:b,restart:function(e,t,i){if("function"!=typeof e)throw new TypeError("callback is not a function");i=(null==i?p():+i)+(null==t?0:+t),this._next||n===this||(n?n._next=this:r=this,n=this),this._call=e,this._time=i,m()},stop:function(){this._call&&(this._call=null,this._time=1/0,m())}}},7896:function(e,t,i){"use strict";function r(){}function n(e){return null==e?r:function(){return this.querySelector(e)}}function a(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}function o(){return[]}function s(e){return null==e?o:function(){return this.querySelectorAll(e)}}function l(e){return function(){return this.matches(e)}}function u(e){return function(t){return t.matches(e)}}var c=Array.prototype.find;function h(){return this.firstElementChild}var f=Array.prototype.filter;function p(){return Array.from(this.children)}function d(e){return new Array(e.length)}function b(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function g(e){return function(){return e}}function y(e,t,i,r,n,a){for(var o,s=0,l=t.length,u=a.length;s<u;++s)(o=t[s])?(o.__data__=a[s],r[s]=o):i[s]=new b(e,a[s]);for(;s<l;++s)(o=t[s])&&(n[s]=o)}function v(e,t,i,r,n,a,o){var s,l,u,c=new Map,h=t.length,f=a.length,p=new Array(h);for(s=0;s<h;++s)(l=t[s])&&(p[s]=u=o.call(l,l.__data__,s,t)+"",c.has(u)?n[s]=l:c.set(u,l));for(s=0;s<f;++s)u=o.call(e,a[s],s,a)+"",(l=c.get(u))?(r[s]=l,l.__data__=a[s],c.delete(u)):i[s]=new b(e,a[s]);for(s=0;s<h;++s)(l=t[s])&&c.get(p[s])===l&&(n[s]=l)}function m(e){return e.__data__}function _(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function w(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}b.prototype={constructor:b,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var P="http://www.w3.org/1999/xhtml",O={svg:"http://www.w3.org/2000/svg",xhtml:P,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function x(e){var t=e+="",i=t.indexOf(":");return i>=0&&"xmlns"!==(t=e.slice(0,i))&&(e=e.slice(i+1)),O.hasOwnProperty(t)?{space:O[t],local:e}:e}function j(e){return function(){this.removeAttribute(e)}}function k(e){return function(){this.removeAttributeNS(e.space,e.local)}}function T(e,t){return function(){this.setAttribute(e,t)}}function D(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function C(e,t){return function(){var i=t.apply(this,arguments);null==i?this.removeAttribute(e):this.setAttribute(e,i)}}function S(e,t){return function(){var i=t.apply(this,arguments);null==i?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,i)}}function M(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function E(e){return function(){this.style.removeProperty(e)}}function A(e,t,i){return function(){this.style.setProperty(e,t,i)}}function R(e,t,i){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,i)}}function B(e,t){return e.style.getPropertyValue(t)||M(e).getComputedStyle(e,null).getPropertyValue(t)}function N(e){return function(){delete this[e]}}function L(e,t){return function(){this[e]=t}}function I(e,t){return function(){var i=t.apply(this,arguments);null==i?delete this[e]:this[e]=i}}function H(e){return e.trim().split(/^|\s+/)}function F(e){return e.classList||new z(e)}function z(e){this._node=e,this._names=H(e.getAttribute("class")||"")}function V(e,t){for(var i=F(e),r=-1,n=t.length;++r<n;)i.add(t[r])}function Y(e,t){for(var i=F(e),r=-1,n=t.length;++r<n;)i.remove(t[r])}function G(e){return function(){V(this,e)}}function U(e){return function(){Y(this,e)}}function W(e,t){return function(){(t.apply(this,arguments)?V:Y)(this,e)}}function Z(){this.textContent=""}function X(e){return function(){this.textContent=e}}function K(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function $(){this.innerHTML=""}function q(e){return function(){this.innerHTML=e}}function J(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function Q(){this.nextSibling&&this.parentNode.appendChild(this)}function ee(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function te(e){return function(){var t=this.ownerDocument,i=this.namespaceURI;return i===P&&t.documentElement.namespaceURI===P?t.createElement(e):t.createElementNS(i,e)}}function ie(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function re(e){var t=x(e);return(t.local?ie:te)(t)}function ne(){return null}function ae(){var e=this.parentNode;e&&e.removeChild(this)}function oe(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function se(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function le(e){return e.trim().split(/^|\s+/).map((function(e){var t="",i=e.indexOf(".");return i>=0&&(t=e.slice(i+1),e=e.slice(0,i)),{type:e,name:t}}))}function ue(e){return function(){var t=this.__on;if(t){for(var i,r=0,n=-1,a=t.length;r<a;++r)i=t[r],e.type&&i.type!==e.type||i.name!==e.name?t[++n]=i:this.removeEventListener(i.type,i.listener,i.options);++n?t.length=n:delete this.__on}}}function ce(e,t,i){return function(){var r,n=this.__on,a=function(e){return function(t){e.call(this,t,this.__data__)}}(t);if(n)for(var o=0,s=n.length;o<s;++o)if((r=n[o]).type===e.type&&r.name===e.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=a,r.options=i),void(r.value=t);this.addEventListener(e.type,a,i),r={type:e.type,name:e.name,value:t,listener:a,options:i},n?n.push(r):this.__on=[r]}}function he(e,t,i){var r=M(e),n=r.CustomEvent;"function"==typeof n?n=new n(t,i):(n=r.document.createEvent("Event"),i?(n.initEvent(t,i.bubbles,i.cancelable),n.detail=i.detail):n.initEvent(t,!1,!1)),e.dispatchEvent(n)}function fe(e,t){return function(){return he(this,e,t)}}function pe(e,t){return function(){return he(this,e,t.apply(this,arguments))}}z.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var de=[null];function be(e,t){this._groups=e,this._parents=t}function ge(){return new be([[document.documentElement]],de)}be.prototype=ge.prototype={constructor:be,select:function(e){"function"!=typeof e&&(e=n(e));for(var t=this._groups,i=t.length,r=new Array(i),a=0;a<i;++a)for(var o,s,l=t[a],u=l.length,c=r[a]=new Array(u),h=0;h<u;++h)(o=l[h])&&(s=e.call(o,o.__data__,h,l))&&("__data__"in o&&(s.__data__=o.__data__),c[h]=s);return new be(r,this._parents)},selectAll:function(e){e="function"==typeof e?function(e){return function(){return a(e.apply(this,arguments))}}(e):s(e);for(var t=this._groups,i=t.length,r=[],n=[],o=0;o<i;++o)for(var l,u=t[o],c=u.length,h=0;h<c;++h)(l=u[h])&&(r.push(e.call(l,l.__data__,h,u)),n.push(l));return new be(r,n)},selectChild:function(e){return this.select(null==e?h:function(e){return function(){return c.call(this.children,e)}}("function"==typeof e?e:u(e)))},selectChildren:function(e){return this.selectAll(null==e?p:function(e){return function(){return f.call(this.children,e)}}("function"==typeof e?e:u(e)))},filter:function(e){"function"!=typeof e&&(e=l(e));for(var t=this._groups,i=t.length,r=new Array(i),n=0;n<i;++n)for(var a,o=t[n],s=o.length,u=r[n]=[],c=0;c<s;++c)(a=o[c])&&e.call(a,a.__data__,c,o)&&u.push(a);return new be(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,m);var i=t?v:y,r=this._parents,n=this._groups;"function"!=typeof e&&(e=g(e));for(var a=n.length,o=new Array(a),s=new Array(a),l=new Array(a),u=0;u<a;++u){var c=r[u],h=n[u],f=h.length,p=_(e.call(c,c&&c.__data__,u,r)),d=p.length,b=s[u]=new Array(d),w=o[u]=new Array(d),P=l[u]=new Array(f);i(c,h,b,w,P,p,t);for(var O,x,j=0,k=0;j<d;++j)if(O=b[j]){for(j>=k&&(k=j+1);!(x=w[k])&&++k<d;);O._next=x||null}}return(o=new be(o,r))._enter=s,o._exit=l,o},enter:function(){return new be(this._enter||this._groups.map(d),this._parents)},exit:function(){return new be(this._exit||this._groups.map(d),this._parents)},join:function(e,t,i){var r=this.enter(),n=this,a=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(n=t(n))&&(n=n.selection()),null==i?a.remove():i(a),r&&n?r.merge(n).order():n},merge:function(e){for(var t=e.selection?e.selection():e,i=this._groups,r=t._groups,n=i.length,a=r.length,o=Math.min(n,a),s=new Array(n),l=0;l<o;++l)for(var u,c=i[l],h=r[l],f=c.length,p=s[l]=new Array(f),d=0;d<f;++d)(u=c[d]||h[d])&&(p[d]=u);for(;l<n;++l)s[l]=i[l];return new be(s,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,i=e.length;++t<i;)for(var r,n=e[t],a=n.length-1,o=n[a];--a>=0;)(r=n[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(e){function t(t,i){return t&&i?e(t.__data__,i.__data__):!t-!i}e||(e=w);for(var i=this._groups,r=i.length,n=new Array(r),a=0;a<r;++a){for(var o,s=i[a],l=s.length,u=n[a]=new Array(l),c=0;c<l;++c)(o=s[c])&&(u[c]=o);u.sort(t)}return new be(n,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,i=e.length;t<i;++t)for(var r=e[t],n=0,a=r.length;n<a;++n){var o=r[n];if(o)return o}return null},size:function(){let e=0;for(const t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,i=0,r=t.length;i<r;++i)for(var n,a=t[i],o=0,s=a.length;o<s;++o)(n=a[o])&&e.call(n,n.__data__,o,a);return this},attr:function(e,t){var i=x(e);if(arguments.length<2){var r=this.node();return i.local?r.getAttributeNS(i.space,i.local):r.getAttribute(i)}return this.each((null==t?i.local?k:j:"function"==typeof t?i.local?S:C:i.local?D:T)(i,t))},style:function(e,t,i){return arguments.length>1?this.each((null==t?E:"function"==typeof t?R:A)(e,t,null==i?"":i)):B(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?N:"function"==typeof t?I:L)(e,t)):this.node()[e]},classed:function(e,t){var i=H(e+"");if(arguments.length<2){for(var r=F(this.node()),n=-1,a=i.length;++n<a;)if(!r.contains(i[n]))return!1;return!0}return this.each(("function"==typeof t?W:t?G:U)(i,t))},text:function(e){return arguments.length?this.each(null==e?Z:("function"==typeof e?K:X)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?$:("function"==typeof e?J:q)(e)):this.node().innerHTML},raise:function(){return this.each(Q)},lower:function(){return this.each(ee)},append:function(e){var t="function"==typeof e?e:re(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var i="function"==typeof e?e:re(e),r=null==t?ne:"function"==typeof t?t:n(t);return this.select((function(){return this.insertBefore(i.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(ae)},clone:function(e){return this.select(e?se:oe)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,i){var r,n,a=le(e+""),o=a.length;if(!(arguments.length<2)){for(s=t?ce:ue,r=0;r<o;++r)this.each(s(a[r],t,i));return this}var s=this.node().__on;if(s)for(var l,u=0,c=s.length;u<c;++u)for(r=0,l=s[u];r<o;++r)if((n=a[r]).type===l.type&&n.name===l.name)return l.value},dispatch:function(e,t){return this.each(("function"==typeof t?pe:fe)(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,i=e.length;t<i;++t)for(var r,n=e[t],a=0,o=n.length;a<o;++a)(r=n[a])&&(yield r)}};var ye=ge,ve=i(4138),me=i(7738);function _e(e,t,i){var r=new me.B7;return t=null==t?0:+t,r.restart((i=>{r.stop(),e(i+t)}),t,i),r}var we=(0,ve.Z)("start","end","cancel","interrupt"),Pe=[];function Oe(e,t,i,r,n,a){var o=e.__transition;if(o){if(i in o)return}else e.__transition={};!function(e,t,i){var r,n=e.__transition;function a(l){var u,c,h,f;if(1!==i.state)return s();for(u in n)if((f=n[u]).name===i.name){if(3===f.state)return _e(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete n[u]):+u<t&&(f.state=6,f.timer.stop(),f.on.call("cancel",e,e.__data__,f.index,f.group),delete n[u])}if(_e((function(){3===i.state&&(i.state=4,i.timer.restart(o,i.delay,i.time),o(l))})),i.state=2,i.on.call("start",e,e.__data__,i.index,i.group),2===i.state){for(i.state=3,r=new Array(h=i.tween.length),u=0,c=-1;u<h;++u)(f=i.tween[u].value.call(e,e.__data__,i.index,i.group))&&(r[++c]=f);r.length=c+1}}function o(t){for(var n=t<i.duration?i.ease.call(null,t/i.duration):(i.timer.restart(s),i.state=5,1),a=-1,o=r.length;++a<o;)r[a].call(e,n);5===i.state&&(i.on.call("end",e,e.__data__,i.index,i.group),s())}function s(){for(var r in i.state=6,i.timer.stop(),delete n[t],n)return;delete e.__transition}n[t]=i,i.timer=(0,me.HT)((function(e){i.state=1,i.timer.restart(a,i.delay,i.time),i.delay<=e&&a(e-i.delay)}),0,i.time)}(e,i,{name:t,index:r,group:n,on:we,tween:Pe,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function xe(e,t){var i=ke(e,t);if(i.state>0)throw new Error("too late; already scheduled");return i}function je(e,t){var i=ke(e,t);if(i.state>3)throw new Error("too late; already running");return i}function ke(e,t){var i=e.__transition;if(!i||!(i=i[t]))throw new Error("transition not found");return i}function Te(e,t){return e=+e,t=+t,function(i){return e*(1-i)+t*i}}var De,Ce=180/Math.PI,Se={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Me(e,t,i,r,n,a){var o,s,l;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(l=e*i+t*r)&&(i-=e*l,r-=t*l),(s=Math.sqrt(i*i+r*r))&&(i/=s,r/=s,l/=s),e*r<t*i&&(e=-e,t=-t,l=-l,o=-o),{translateX:n,translateY:a,rotate:Math.atan2(t,e)*Ce,skewX:Math.atan(l)*Ce,scaleX:o,scaleY:s}}function Ee(e,t,i,r){function n(e){return e.length?e.pop()+" ":""}return function(a,o){var s=[],l=[];return a=e(a),o=e(o),function(e,r,n,a,o,s){if(e!==n||r!==a){var l=o.push("translate(",null,t,null,i);s.push({i:l-4,x:Te(e,n)},{i:l-2,x:Te(r,a)})}else(n||a)&&o.push("translate("+n+t+a+i)}(a.translateX,a.translateY,o.translateX,o.translateY,s,l),function(e,t,i,a){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:i.push(n(i)+"rotate(",null,r)-2,x:Te(e,t)})):t&&i.push(n(i)+"rotate("+t+r)}(a.rotate,o.rotate,s,l),function(e,t,i,a){e!==t?a.push({i:i.push(n(i)+"skewX(",null,r)-2,x:Te(e,t)}):t&&i.push(n(i)+"skewX("+t+r)}(a.skewX,o.skewX,s,l),function(e,t,i,r,a,o){if(e!==i||t!==r){var s=a.push(n(a)+"scale(",null,",",null,")");o.push({i:s-4,x:Te(e,i)},{i:s-2,x:Te(t,r)})}else 1===i&&1===r||a.push(n(a)+"scale("+i+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,l),a=o=null,function(e){for(var t,i=-1,r=l.length;++i<r;)s[(t=l[i]).i]=t.x(e);return s.join("")}}}var Ae=Ee((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Se:Me(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),Re=Ee((function(e){return null==e?Se:(De||(De=document.createElementNS("http://www.w3.org/2000/svg","g")),De.setAttribute("transform",e),(e=De.transform.baseVal.consolidate())?Me((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):Se)}),", ",")",")");function Be(e,t){var i,r;return function(){var n=je(this,e),a=n.tween;if(a!==i)for(var o=0,s=(r=i=a).length;o<s;++o)if(r[o].name===t){(r=r.slice()).splice(o,1);break}n.tween=r}}function Ne(e,t,i){var r,n;if("function"!=typeof i)throw new Error;return function(){var a=je(this,e),o=a.tween;if(o!==r){n=(r=o).slice();for(var s={name:t,value:i},l=0,u=n.length;l<u;++l)if(n[l].name===t){n[l]=s;break}l===u&&n.push(s)}a.tween=n}}function Le(e,t,i){var r=e._id;return e.each((function(){var e=je(this,r);(e.value||(e.value={}))[t]=i.apply(this,arguments)})),function(e){return ke(e,r).value[t]}}function Ie(e,t,i){e.prototype=t.prototype=i,i.constructor=e}function He(e,t){var i=Object.create(e.prototype);for(var r in t)i[r]=t[r];return i}function Fe(){}var ze=.7,Ve=1/ze,Ye="\\s*([+-]?\\d+)\\s*",Ge="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ue="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",We=/^#([0-9a-f]{3,8})$/,Ze=new RegExp(`^rgb\\(${Ye},${Ye},${Ye}\\)$`),Xe=new RegExp(`^rgb\\(${Ue},${Ue},${Ue}\\)$`),Ke=new RegExp(`^rgba\\(${Ye},${Ye},${Ye},${Ge}\\)$`),$e=new RegExp(`^rgba\\(${Ue},${Ue},${Ue},${Ge}\\)$`),qe=new RegExp(`^hsl\\(${Ge},${Ue},${Ue}\\)$`),Je=new RegExp(`^hsla\\(${Ge},${Ue},${Ue},${Ge}\\)$`),Qe={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function et(){return this.rgb().formatHex()}function tt(){return this.rgb().formatRgb()}function it(e){var t,i;return e=(e+"").trim().toLowerCase(),(t=We.exec(e))?(i=t[1].length,t=parseInt(t[1],16),6===i?rt(t):3===i?new st(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===i?nt(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===i?nt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Ze.exec(e))?new st(t[1],t[2],t[3],1):(t=Xe.exec(e))?new st(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ke.exec(e))?nt(t[1],t[2],t[3],t[4]):(t=$e.exec(e))?nt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=qe.exec(e))?pt(t[1],t[2]/100,t[3]/100,1):(t=Je.exec(e))?pt(t[1],t[2]/100,t[3]/100,t[4]):Qe.hasOwnProperty(e)?rt(Qe[e]):"transparent"===e?new st(NaN,NaN,NaN,0):null}function rt(e){return new st(e>>16&255,e>>8&255,255&e,1)}function nt(e,t,i,r){return r<=0&&(e=t=i=NaN),new st(e,t,i,r)}function at(e){return e instanceof Fe||(e=it(e)),e?new st((e=e.rgb()).r,e.g,e.b,e.opacity):new st}function ot(e,t,i,r){return 1===arguments.length?at(e):new st(e,t,i,null==r?1:r)}function st(e,t,i,r){this.r=+e,this.g=+t,this.b=+i,this.opacity=+r}function lt(){return`#${ft(this.r)}${ft(this.g)}${ft(this.b)}`}function ut(){const e=ct(this.opacity);return`${1===e?"rgb(":"rgba("}${ht(this.r)}, ${ht(this.g)}, ${ht(this.b)}${1===e?")":`, ${e})`}`}function ct(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ht(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ft(e){return((e=ht(e))<16?"0":"")+e.toString(16)}function pt(e,t,i,r){return r<=0?e=t=i=NaN:i<=0||i>=1?e=t=NaN:t<=0&&(e=NaN),new bt(e,t,i,r)}function dt(e){if(e instanceof bt)return new bt(e.h,e.s,e.l,e.opacity);if(e instanceof Fe||(e=it(e)),!e)return new bt;if(e instanceof bt)return e;var t=(e=e.rgb()).r/255,i=e.g/255,r=e.b/255,n=Math.min(t,i,r),a=Math.max(t,i,r),o=NaN,s=a-n,l=(a+n)/2;return s?(o=t===a?(i-r)/s+6*(i<r):i===a?(r-t)/s+2:(t-i)/s+4,s/=l<.5?a+n:2-a-n,o*=60):s=l>0&&l<1?0:o,new bt(o,s,l,e.opacity)}function bt(e,t,i,r){this.h=+e,this.s=+t,this.l=+i,this.opacity=+r}function gt(e){return(e=(e||0)%360)<0?e+360:e}function yt(e){return Math.max(0,Math.min(1,e||0))}function vt(e,t,i){return 255*(e<60?t+(i-t)*e/60:e<180?i:e<240?t+(i-t)*(240-e)/60:t)}function mt(e,t,i,r,n){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*i+(1+3*e+3*a-3*o)*r+o*n)/6}Ie(Fe,it,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:et,formatHex:et,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return dt(this).formatHsl()},formatRgb:tt,toString:tt}),Ie(st,ot,He(Fe,{brighter(e){return e=null==e?Ve:Math.pow(Ve,e),new st(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?ze:Math.pow(ze,e),new st(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new st(ht(this.r),ht(this.g),ht(this.b),ct(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:lt,formatHex:lt,formatHex8:function(){return`#${ft(this.r)}${ft(this.g)}${ft(this.b)}${ft(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:ut,toString:ut})),Ie(bt,(function(e,t,i,r){return 1===arguments.length?dt(e):new bt(e,t,i,null==r?1:r)}),He(Fe,{brighter(e){return e=null==e?Ve:Math.pow(Ve,e),new bt(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?ze:Math.pow(ze,e),new bt(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,i=this.l,r=i+(i<.5?i:1-i)*t,n=2*i-r;return new st(vt(e>=240?e-240:e+120,n,r),vt(e,n,r),vt(e<120?e+240:e-120,n,r),this.opacity)},clamp(){return new bt(gt(this.h),yt(this.s),yt(this.l),ct(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=ct(this.opacity);return`${1===e?"hsl(":"hsla("}${gt(this.h)}, ${100*yt(this.s)}%, ${100*yt(this.l)}%${1===e?")":`, ${e})`}`}}));var _t=e=>()=>e;function wt(e,t){var i=t-e;return i?function(e,t){return function(i){return e+i*t}}(e,i):_t(isNaN(e)?t:e)}var Pt=function e(t){var i=function(e){return 1==(e=+e)?wt:function(t,i){return i-t?function(e,t,i){return e=Math.pow(e,i),t=Math.pow(t,i)-e,i=1/i,function(r){return Math.pow(e+r*t,i)}}(t,i,e):_t(isNaN(t)?i:t)}}(t);function r(e,t){var r=i((e=ot(e)).r,(t=ot(t)).r),n=i(e.g,t.g),a=i(e.b,t.b),o=wt(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=n(t),e.b=a(t),e.opacity=o(t),e+""}}return r.gamma=e,r}(1);function Ot(e){return function(t){var i,r,n=t.length,a=new Array(n),o=new Array(n),s=new Array(n);for(i=0;i<n;++i)r=ot(t[i]),a[i]=r.r||0,o[i]=r.g||0,s[i]=r.b||0;return a=e(a),o=e(o),s=e(s),r.opacity=1,function(e){return r.r=a(e),r.g=o(e),r.b=s(e),r+""}}}Ot((function(e){var t=e.length-1;return function(i){var r=i<=0?i=0:i>=1?(i=1,t-1):Math.floor(i*t),n=e[r],a=e[r+1],o=r>0?e[r-1]:2*n-a,s=r<t-1?e[r+2]:2*a-n;return mt((i-r/t)*t,o,n,a,s)}})),Ot((function(e){var t=e.length;return function(i){var r=Math.floor(((i%=1)<0?++i:i)*t),n=e[(r+t-1)%t],a=e[r%t],o=e[(r+1)%t],s=e[(r+2)%t];return mt((i-r/t)*t,n,a,o,s)}}));var xt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,jt=new RegExp(xt.source,"g");function kt(e,t){var i,r,n,a=xt.lastIndex=jt.lastIndex=0,o=-1,s=[],l=[];for(e+="",t+="";(i=xt.exec(e))&&(r=jt.exec(t));)(n=r.index)>a&&(n=t.slice(a,n),s[o]?s[o]+=n:s[++o]=n),(i=i[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,l.push({i:o,x:Te(i,r)})),a=jt.lastIndex;return a<t.length&&(n=t.slice(a),s[o]?s[o]+=n:s[++o]=n),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var i,r=0;r<t;++r)s[(i=l[r]).i]=i.x(e);return s.join("")})}function Tt(e,t){var i;return("number"==typeof t?Te:t instanceof it?Pt:(i=it(t))?(t=i,Pt):kt)(e,t)}function Dt(e){return function(){this.removeAttribute(e)}}function Ct(e){return function(){this.removeAttributeNS(e.space,e.local)}}function St(e,t,i){var r,n,a=i+"";return function(){var o=this.getAttribute(e);return o===a?null:o===r?n:n=t(r=o,i)}}function Mt(e,t,i){var r,n,a=i+"";return function(){var o=this.getAttributeNS(e.space,e.local);return o===a?null:o===r?n:n=t(r=o,i)}}function Et(e,t,i){var r,n,a;return function(){var o,s,l=i(this);if(null!=l)return(o=this.getAttribute(e))===(s=l+"")?null:o===r&&s===n?a:(n=s,a=t(r=o,l));this.removeAttribute(e)}}function At(e,t,i){var r,n,a;return function(){var o,s,l=i(this);if(null!=l)return(o=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:o===r&&s===n?a:(n=s,a=t(r=o,l));this.removeAttributeNS(e.space,e.local)}}function Rt(e,t){return function(i){this.setAttribute(e,t.call(this,i))}}function Bt(e,t){return function(i){this.setAttributeNS(e.space,e.local,t.call(this,i))}}function Nt(e,t){var i,r;function n(){var n=t.apply(this,arguments);return n!==r&&(i=(r=n)&&Bt(e,n)),i}return n._value=t,n}function Lt(e,t){var i,r;function n(){var n=t.apply(this,arguments);return n!==r&&(i=(r=n)&&Rt(e,n)),i}return n._value=t,n}function It(e,t){return function(){xe(this,e).delay=+t.apply(this,arguments)}}function Ht(e,t){return t=+t,function(){xe(this,e).delay=t}}function Ft(e,t){return function(){je(this,e).duration=+t.apply(this,arguments)}}function zt(e,t){return t=+t,function(){je(this,e).duration=t}}function Vt(e,t){if("function"!=typeof t)throw new Error;return function(){je(this,e).ease=t}}function Yt(e,t,i){var r,n,a=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?xe:je;return function(){var o=a(this,e),s=o.on;s!==r&&(n=(r=s).copy()).on(t,i),o.on=n}}var Gt=ye.prototype.constructor;function Ut(e){return function(){this.style.removeProperty(e)}}function Wt(e,t,i){return function(r){this.style.setProperty(e,t.call(this,r),i)}}function Zt(e,t,i){var r,n;function a(){var a=t.apply(this,arguments);return a!==n&&(r=(n=a)&&Wt(e,a,i)),r}return a._value=t,a}function Xt(e){return function(t){this.textContent=e.call(this,t)}}function Kt(e){var t,i;function r(){var r=e.apply(this,arguments);return r!==i&&(t=(i=r)&&Xt(r)),t}return r._value=e,r}var $t=0;function qt(e,t,i,r){this._groups=e,this._parents=t,this._name=i,this._id=r}function Jt(){return++$t}var Qt=ye.prototype;qt.prototype=function(e){return ye().transition(e)}.prototype={constructor:qt,select:function(e){var t=this._name,i=this._id;"function"!=typeof e&&(e=n(e));for(var r=this._groups,a=r.length,o=new Array(a),s=0;s<a;++s)for(var l,u,c=r[s],h=c.length,f=o[s]=new Array(h),p=0;p<h;++p)(l=c[p])&&(u=e.call(l,l.__data__,p,c))&&("__data__"in l&&(u.__data__=l.__data__),f[p]=u,Oe(f[p],t,i,p,f,ke(l,i)));return new qt(o,this._parents,t,i)},selectAll:function(e){var t=this._name,i=this._id;"function"!=typeof e&&(e=s(e));for(var r=this._groups,n=r.length,a=[],o=[],l=0;l<n;++l)for(var u,c=r[l],h=c.length,f=0;f<h;++f)if(u=c[f]){for(var p,d=e.call(u,u.__data__,f,c),b=ke(u,i),g=0,y=d.length;g<y;++g)(p=d[g])&&Oe(p,t,i,g,d,b);a.push(d),o.push(u)}return new qt(a,o,t,i)},selectChild:Qt.selectChild,selectChildren:Qt.selectChildren,filter:function(e){"function"!=typeof e&&(e=l(e));for(var t=this._groups,i=t.length,r=new Array(i),n=0;n<i;++n)for(var a,o=t[n],s=o.length,u=r[n]=[],c=0;c<s;++c)(a=o[c])&&e.call(a,a.__data__,c,o)&&u.push(a);return new qt(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,i=e._groups,r=t.length,n=i.length,a=Math.min(r,n),o=new Array(r),s=0;s<a;++s)for(var l,u=t[s],c=i[s],h=u.length,f=o[s]=new Array(h),p=0;p<h;++p)(l=u[p]||c[p])&&(f[p]=l);for(;s<r;++s)o[s]=t[s];return new qt(o,this._parents,this._name,this._id)},selection:function(){return new Gt(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,i=Jt(),r=this._groups,n=r.length,a=0;a<n;++a)for(var o,s=r[a],l=s.length,u=0;u<l;++u)if(o=s[u]){var c=ke(o,t);Oe(o,e,i,u,s,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new qt(r,this._parents,e,i)},call:Qt.call,nodes:Qt.nodes,node:Qt.node,size:Qt.size,empty:Qt.empty,each:Qt.each,on:function(e,t){var i=this._id;return arguments.length<2?ke(this.node(),i).on.on(e):this.each(Yt(i,e,t))},attr:function(e,t){var i=x(e),r="transform"===i?Re:Tt;return this.attrTween(e,"function"==typeof t?(i.local?At:Et)(i,r,Le(this,"attr."+e,t)):null==t?(i.local?Ct:Dt)(i):(i.local?Mt:St)(i,r,t))},attrTween:function(e,t){var i="attr."+e;if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==t)return this.tween(i,null);if("function"!=typeof t)throw new Error;var r=x(e);return this.tween(i,(r.local?Nt:Lt)(r,t))},style:function(e,t,i){var r="transform"==(e+="")?Ae:Tt;return null==t?this.styleTween(e,function(e,t){var i,r,n;return function(){var a=B(this,e),o=(this.style.removeProperty(e),B(this,e));return a===o?null:a===i&&o===r?n:n=t(i=a,r=o)}}(e,r)).on("end.style."+e,Ut(e)):"function"==typeof t?this.styleTween(e,function(e,t,i){var r,n,a;return function(){var o=B(this,e),s=i(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=B(this,e)),o===l?null:o===r&&l===n?a:(n=l,a=t(r=o,s))}}(e,r,Le(this,"style."+e,t))).each(function(e,t){var i,r,n,a,o="style."+t,s="end."+o;return function(){var l=je(this,e),u=l.on,c=null==l.value[o]?a||(a=Ut(t)):void 0;u===i&&n===c||(r=(i=u).copy()).on(s,n=c),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,i){var r,n,a=i+"";return function(){var o=B(this,e);return o===a?null:o===r?n:n=t(r=o,i)}}(e,r,t),i).on("end.style."+e,null)},styleTween:function(e,t,i){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,Zt(e,t,null==i?"":i))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(Le(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,Kt(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var i in this.__transition)if(+i!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var i=this._id;if(e+="",arguments.length<2){for(var r,n=ke(this.node(),i).tween,a=0,o=n.length;a<o;++a)if((r=n[a]).name===e)return r.value;return null}return this.each((null==t?Be:Ne)(i,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?It:Ht)(t,e)):ke(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?Ft:zt)(t,e)):ke(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(Vt(t,e)):ke(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each(function(e,t){return function(){var i=t.apply(this,arguments);if("function"!=typeof i)throw new Error;je(this,e).ease=i}}(this._id,e))},end:function(){var e,t,i=this,r=i._id,n=i.size();return new Promise((function(a,o){var s={value:o},l={value:function(){0==--n&&a()}};i.each((function(){var i=je(this,r),n=i.on;n!==e&&((t=(e=n).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),i.on=t})),0===n&&a()}))},[Symbol.iterator]:Qt[Symbol.iterator]};var ei={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function ti(e,t){for(var i;!(i=e.__transition)||!(i=i[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return i}ye.prototype.interrupt=function(e){return this.each((function(){!function(e,t){var i,r,n,a=e.__transition,o=!0;if(a){for(n in t=null==t?null:t+"",a)(i=a[n]).name===t?(r=i.state>2&&i.state<5,i.state=6,i.timer.stop(),i.on.call(r?"interrupt":"cancel",e,e.__data__,i.index,i.group),delete a[n]):o=!1;o&&delete e.__transition}}(this,e)}))},ye.prototype.transition=function(e){var t,i;e instanceof qt?(t=e._id,e=e._name):(t=Jt(),(i=ei).time=(0,me.zO)(),e=null==e?null:e+"");for(var r=this._groups,n=r.length,a=0;a<n;++a)for(var o,s=r[a],l=s.length,u=0;u<l;++u)(o=s[u])&&Oe(o,e,t,u,s,i||ti(o,t));return new qt(r,this._parents,e,t)}}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={exports:{}};return a[e].call(i.exports,i,i.exports,s),i.exports}s.m=a,e=[],s.O=function(t,i,r,n){if(!i){var a=1/0;for(c=0;c<e.length;c++){i=e[c][0],r=e[c][1],n=e[c][2];for(var o=!0,l=0;l<i.length;l++)(!1&n||a>=n)&&Object.keys(s.O).every((function(e){return s.O[e](i[l])}))?i.splice(l--,1):(o=!1,n<a&&(a=n));if(o){e.splice(c--,1);var u=r();void 0!==u&&(t=u)}}return t}n=n||0;for(var c=e.length;c>0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[i,r,n]},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},i=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},s.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var n=Object.create(null);s.r(n);var a={};t=t||[null,i({}),i([]),i(i)];for(var o=2&r&&e;"object"==typeof o&&!~t.indexOf(o);o=i(o))Object.getOwnPropertyNames(o).forEach((function(t){a[t]=function(){return e[t]}}));return a.default=function(){return e},s.d(n,a),n},s.d=function(e,t){for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce((function(t,i){return s.f[i](e,t),t}),[]))},s.u=function(e){return"deps/"+{643:"pdfmake",4297:"xlsx",4384:"markerjs2"}[e]+".js"},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},n="@amcharts/amcharts5:",s.l=function(e,t,i,a){if(r[e])r[e].push(t);else{var o,l;if(void 0!==i)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var h=u[c];if(h.getAttribute("src")==e||h.getAttribute("data-webpack")==n+i){o=h;break}}o||(l=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-webpack",n+i),o.src=e),r[e]=[t];var f=function(t,i){o.onerror=o.onload=null,clearTimeout(p);var n=r[e];if(delete r[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach((function(e){return e(i)})),t)return t(i)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload),l&&document.head.appendChild(o)}},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.p="",function(){var e={4826:0};s.f.j=function(t,i){var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)i.push(r[2]);else{var n=new Promise((function(i,n){r=e[t]=[i,n]}));i.push(r[2]=n);var a=s.p+s.u(t),o=new Error;s.l(a,(function(i){if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var n=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;o.message="Loading chunk "+t+" failed.\n("+n+": "+a+")",o.name="ChunkLoadError",o.type=n,o.request=a,r[1](o)}}),"chunk-"+t,t)}},s.O.j=function(t){return 0===e[t]};var t=function(t,i){var r,n,a=i[0],o=i[1],l=i[2],u=0;if(a.some((function(t){return 0!==e[t]}))){for(r in o)s.o(o,r)&&(s.m[r]=o[r]);if(l)var c=l(s)}for(t&&t(i);u<a.length;u++)n=a[u],s.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return s.O(c)},i=self.webpackChunk_am5=self.webpackChunk_am5||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))}();var l=s(8494);l=s.O(l);var u=window;for(var c in l)u[c]=l[c];l.__esModule&&Object.defineProperty(u,"__esModule",{value:!0})}(); |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0114 ]-- |